/* front2 — My account: sign in / register, cabinet */

/* ================================================================ sign in / register */
.acc-auth { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.acc-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.acc-art__splash { position: absolute; width: min(680px, 90vw); right: -12%; top: -14%; fill: color-mix(in srgb, var(--accent) 13%, transparent); animation: accMorph 18s ease-in-out infinite alternate; }
@keyframes accMorph { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(14deg) scale(1.06); } 100% { transform: rotate(-8deg) scale(.96); } }
.acc-art__drop { position: absolute; width: 14px; border-radius: 0 0 14px 14px; top: 0; background: var(--accent); opacity: .65; transform-origin: top; animation: accDrip 5.5s cubic-bezier(.5, 0, .4, 1) infinite; }
.acc-art__drop::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: inherit; }
.acc-art__drop.d1 { left: 8%; height: 90px; }
.acc-art__drop.d2 { left: 13%; height: 150px; width: 10px; background: #2B4C9B; animation-delay: 1.2s; }
.acc-art__drop.d3 { left: 46%; height: 70px; background: #F2B33D; animation-delay: 2.4s; }
@keyframes accDrip { 0% { transform: scaleY(.15); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1.06); opacity: 0; } }
.acc-art__chip { position: absolute; width: 54px; height: 54px; border-radius: 16px; box-shadow: 0 14px 30px -14px rgba(20,22,26,.45); animation: accFloat 7s ease-in-out infinite; }
.acc-art__chip.c1 { left: 4%; bottom: 14%; background: #C0392B; }
.acc-art__chip.c2 { left: 37%; bottom: 8%; background: #2E7D6B; width: 40px; height: 40px; border-radius: 12px; animation-delay: -2s; }
.acc-art__chip.c3 { right: 6%; bottom: 10%; background: #F2B33D; animation-delay: -4s; }
.acc-art__chip.c4 { right: 42%; top: 10%; background: #5FA8D8; width: 34px; height: 34px; border-radius: 50%; animation-delay: -1s; }
@keyframes accFloat { 50% { transform: translateY(-14px) rotate(8deg); } }

.acc-auth__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.acc-auth__title { margin: 14px 0 16px; }
.acc-auth__title .accent { color: var(--accent); }
.acc-perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-weight: 700; }
.acc-perks li { display: flex; align-items: center; gap: 12px; animation: accRise .6s var(--ease-out) both; }
.acc-perks li:nth-child(2) { animation-delay: .1s; } .acc-perks li:nth-child(3) { animation-delay: .2s; }
.acc-perks .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--surface, #fff); box-shadow: 0 6px 16px -10px rgba(20,22,26,.4); color: var(--accent); flex: none; }
@keyframes accRise { from { opacity: 0; transform: translateY(14px); } }

.acc-card { position: relative; background: color-mix(in srgb, var(--surface, #fff) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 26px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 30px 70px -36px rgba(20,22,26,.45), inset 0 0 0 1px rgba(255,255,255,.6); display: grid; gap: 18px; min-width: 0; animation: accRise .7s var(--ease-out) both .1s; }
.acc-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--bg, #F6F4EF); }
.acc-tabs[hidden] { display: none; }
.acc-tabs button { position: relative; z-index: 1; height: 44px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--ink-2); transition: color .25s; }
.acc-tabs button[aria-selected="true"] { color: #fff; }
.acc-tabs__ink { position: absolute; top: 5px; left: 0; height: 44px; border-radius: 999px; background: var(--ink, #15171A); transition: transform .35s var(--ease-out), width .35s var(--ease-out); }
.acc-form { display: grid; gap: 14px; }
.acc-form[hidden] { display: none; }
.acc-form.is-in { animation: accFade .35s var(--ease-out); }
.acc-form.is-shake { animation: accShake .4s; }
@keyframes accFade { from { opacity: 0; transform: translateX(10px); } }
@keyframes accShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.acc-form__title { margin: 0; font-size: 20px; }
.acc-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-names[hidden], [data-ch][hidden] { display: none; }
.acc-field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); min-width: 0; }
.acc-field input { height: 52px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--bg, #F6F4EF); box-shadow: inset 0 0 0 1px var(--line, #E6E1D8); font-size: 16px; color: var(--ink); width: 100%; box-sizing: border-box; min-width: 0; transition: box-shadow .2s, background-color .2s; }
.acc-field input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.acc-pw { position: relative; display: block; }
.acc-pw input { padding-right: 48px; }
.acc-pw__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-3); }
.acc-pw__eye.is-on { color: var(--accent); }
.acc-phone { display: flex; align-items: center; border-radius: 14px; background: var(--bg, #F6F4EF); box-shadow: inset 0 0 0 1px var(--line, #E6E1D8); }
.acc-phone b { padding: 0 4px 0 16px; font-size: 16px; color: var(--ink-2); }
.acc-phone input { box-shadow: none; background: transparent; padding-left: 6px; }
.acc-phone:focus-within { box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.acc-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-switch label { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line, #E6E1D8); font-weight: 700; font-size: 14px; cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.acc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.acc-switch label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: color-mix(in srgb, var(--accent) 7%, #fff); color: var(--accent); }
.acc-switch label.is-off { opacity: .5; cursor: not-allowed; }
.acc-note { margin: -4px 0 0; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 6px; align-items: flex-start; }
.acc-note .icon { flex: none; margin-top: 2px; }
.acc-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -4px; }
.acc-meter i { height: 5px; border-radius: 5px; background: var(--line, #E6E1D8); transition: background-color .3s; }
.acc-meter[data-s="1"] i:nth-child(-n+1) { background: #E4472B; }
.acc-meter[data-s="2"] i:nth-child(-n+2) { background: #F2B33D; }
.acc-meter[data-s="3"] i:nth-child(-n+3) { background: #7DBB4C; }
.acc-meter[data-s="4"] i { background: #2E9D5B; }
.acc-msg { margin: 0; font-size: 14px; font-weight: 600; }
.acc-msg:empty { display: none; }
.acc-msg.is-err { color: #C62828; }
.acc-go { width: 100%; justify-content: center; }
.acc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: accSpin .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes accSpin { to { transform: rotate(360deg); } }
.acc-terms { margin: 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.acc-terms a { color: var(--accent); font-weight: 700; }
.acc-sent { margin: 0; font-size: 14.5px; line-height: 1.5; }
.acc-link { color: var(--accent); font-weight: 800; font-size: 14px; }
.acc-link:disabled { color: var(--ink-3); font-weight: 600; cursor: default; }
.acc-forgot { justify-self: end; margin-top: -6px; font-size: 13px; }
.acc-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.acc-code { text-align: center; font-size: 28px !important; letter-spacing: 12px; font-weight: 800; height: 64px !important; }
.acc-polisan { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #9e0b26, #d0102f 60%, #ec3a4c); position: relative; overflow: hidden; transition: transform .25s var(--ease-out); }
.acc-polisan:hover { transform: translateY(-2px); }
.acc-polisan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #7b2cbf, #1e5fd8, #12a3d9, #19b34a, #f2d21b, #f28c1b, #e5302c); }
.acc-polisan img { width: 74px; height: auto; border-radius: 7px; box-shadow: 0 6px 14px rgba(0,0,0,.35); flex: none; }
.acc-polisan span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.acc-polisan b { font-size: 14.5px; }
.acc-polisan small { font-size: 12px; opacity: .85; line-height: 1.35; }
.acc-polisan > .icon { flex: none; }

/* ================================================================ cabinet */
.cab { padding-bottom: clamp(48px, 6vw, 88px); }
.cab-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(26px, 4vw, 52px) 0 clamp(70px, 8vw, 104px);
  background: linear-gradient(125deg, #15171A 0%, #23262D 45%, color-mix(in srgb, var(--accent) 70%, #15171A) 100%); }
.cab-hero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cab-hero__art i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: cabBlob 14s ease-in-out infinite alternate; }
.cab-hero__art .b1 { width: 380px; height: 380px; right: -60px; top: -120px; background: var(--accent); }
.cab-hero__art .b2 { width: 300px; height: 300px; left: 30%; bottom: -160px; background: #2B4C9B; animation-delay: -5s; }
.cab-hero__art .b3 { width: 220px; height: 220px; left: -60px; top: 10%; background: #F2B33D; opacity: .35; animation-delay: -9s; }
@keyframes cabBlob { 50% { transform: translate(40px, 20px) scale(1.12); } 100% { transform: translate(-20px, 30px) scale(.94); } }
.cab-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--bg, #F6F4EF); }
.cab-hero__sw { position: absolute; width: 16px; height: 46px; border-radius: 8px; top: 22%; opacity: .9; animation: cabSw 6s ease-in-out infinite; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); }
.cab-hero__sw.s1 { right: 18%; background: #E4472B; }
.cab-hero__sw.s2 { right: calc(18% + 22px); background: #F2B33D; animation-delay: -1s; top: 26%; }
.cab-hero__sw.s3 { right: calc(18% + 44px); background: #2E7D6B; animation-delay: -2s; top: 20%; }
.cab-hero__sw.s4 { right: calc(18% + 66px); background: #5FA8D8; animation-delay: -3s; top: 28%; }
.cab-hero__sw.s5 { right: calc(18% + 88px); background: #7B2D5A; animation-delay: -4s; top: 23%; }
@keyframes cabSw { 50% { transform: translateY(-10px) rotate(-6deg); } }
.cab-hero__in { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); flex-wrap: wrap; }
.cab-ava { position: relative; flex: none; }
.cab-ava__pic { position: relative; display: grid; place-items: center; width: clamp(84px, 11vw, 116px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #F2B33D); font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #fff; box-shadow: 0 18px 36px -16px rgba(0,0,0,.6); }
.cab-ava__pic img { width: 100%; height: 100%; object-fit: cover; }
.cab-ava__cam { position: absolute; inset: auto 0 0; height: 34%; display: grid; place-items: center; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.cab-ava__pic:hover .cab-ava__cam, .cab-ava.is-busy .cab-ava__cam { opacity: 1; }
.cab-ava__ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); animation: accSpin 30s linear infinite; pointer-events: none; }
.cab-ava.is-busy .cab-ava__ring { border-style: solid; border-color: #fff transparent; animation-duration: 1s; }
.cab-hero__who { flex: 1; min-width: 220px; }
.cab-hero .crumbs a, .cab-hero .crumbs span { color: rgba(255,255,255,.75); }
.cab-hello { margin: 8px 0 8px; font-size: clamp(26px, 4vw, 42px); line-height: 1.08; color: #fff; }
.cab-hello small { display: block; font-size: 15px; font-weight: 600; opacity: .7; }
.cab-badges { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.cab-level { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cab-level--loyal { background: linear-gradient(90deg, #2E7D6B, #4FB592); }
.cab-level--vip { background: linear-gradient(90deg, #C9A24A, #F2D27A); color: #2A2410; }
.cab-since { font-size: 13px; opacity: .75; }
.cab-progress { margin-top: 12px; max-width: 420px; }
.cab-progress i { display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; position: relative; }
.cab-progress i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #F2B33D, var(--accent)); animation: cabGrow 1.4s var(--ease-out) both .3s; }
@keyframes cabGrow { from { width: 0; } }
.cab-progress small { display: block; margin-top: 6px; font-size: 12.5px; opacity: .75; }
.cab-out .btn { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

.cab-toast { margin: -44px 0 18px; position: relative; z-index: 2; display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; background: #fff; box-shadow: 0 14px 30px -18px rgba(20,22,26,.5); animation: accRise .4s var(--ease-out); transition: opacity .4s, transform .4s; }
.cab-toast.is-ok { color: #1E7B45; } .cab-toast.is-err { color: #B42323; }
.cab-toast.is-gone { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.cab-toast + .cab-stats { margin-top: 0; }
.cab-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: -48px 0 22px; }
.cab-stat { position: relative; overflow: hidden; padding: 16px 18px; border-radius: 20px; background: var(--surface, #fff); box-shadow: 0 16px 34px -24px rgba(20,22,26,.55); animation: accRise .6s var(--ease-out) both; }
.cab-stat:nth-child(2) { animation-delay: .07s; } .cab-stat:nth-child(3) { animation-delay: .14s; } .cab-stat:nth-child(4) { animation-delay: .21s; }
.cab-stat::before { content: ""; position: absolute; right: -24px; top: -24px; width: 86px; height: 86px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, transparent); }
.cab-stat > .icon { position: absolute; right: 14px; top: 14px; color: var(--c); }
.cab-stat strong { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cab-stat strong b { font-weight: inherit; }
.cab-stat span { font-size: 13px; color: var(--ink-3); }
.cab-stat.is-warn strong { color: #C46A00; }

.cab-tabs { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface, #fff); box-shadow: 0 10px 24px -20px rgba(20,22,26,.5); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 18px; scroll-margin-top: 90px; }
.cab-tabs a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: color .25s; }
.cab-tabs a[aria-selected="true"] { color: #fff; }
.cab-tabs a em { font-style: normal; font-size: 11.5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--accent); color: #fff; }
.cab-tabs__ink { position: absolute; top: 5px; left: 0; height: 42px; border-radius: 999px; background: var(--ink, #15171A); transition: transform .35s var(--ease-out), width .35s var(--ease-out); }
.cab-pane[hidden] { display: none; }
.cab-pane.is-in { animation: accFade .35s var(--ease-out); }
.cab-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.cab-main, .cab-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.cab-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cab-block__head h2 { margin: 0; font-size: 20px; }
.cab-block__head a { font-weight: 800; font-size: 14px; color: var(--accent); white-space: nowrap; }

.cab-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cab-quick a { display: grid; justify-items: start; gap: 10px; padding: 16px; border-radius: 18px; background: var(--surface, #fff); box-shadow: 0 12px 28px -22px rgba(20,22,26,.5); font-weight: 800; font-size: 14px; transition: transform .25s var(--ease-out), box-shadow .25s; }
.cab-quick a:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 18px 34px -20px color-mix(in srgb, var(--c) 60%, transparent); }
.cab-quick .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }

.cab-order { border-radius: 18px; background: var(--surface, #fff); box-shadow: 0 12px 30px -24px rgba(20,22,26,.5); margin-bottom: 10px; overflow: hidden; transition: box-shadow .25s; }
.cab-order[open] { box-shadow: 0 18px 40px -26px rgba(20,22,26,.6); }
.cab-order.is-cancel { opacity: .7; }
.cab-order summary { list-style: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; cursor: pointer; }
.cab-order summary::-webkit-details-marker { display: none; }
.cab-order__no { display: grid; margin-right: auto; }
.cab-order__no small { color: var(--ink-3); font-size: 12.5px; }
.cab-order__sum { font-size: 16px; }
.cab-order__chev { transition: transform .25s; }
.cab-order[open] .cab-order__chev { transform: rotate(180deg); }
.cab-order__body { padding: 14px 16px 16px; display: grid; gap: 14px; border-top: 1px solid var(--line, #E6E1D8); }
.cab-order__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-3); }
.cab-order__meta span { display: inline-flex; gap: 6px; align-items: center; }
.cab-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); position: relative; }
.cab-track::before, .cab-track::after { content: ""; position: absolute; top: 9px; left: calc(50% / var(--n)); height: 4px; border-radius: 4px; }
.cab-track::before { right: calc(50% / var(--n)); background: var(--line, #E6E1D8); }
.cab-track::after { width: calc((100% - 100% / var(--n)) * var(--s) / (var(--n) - 1)); background: linear-gradient(90deg, #2E9D5B, var(--accent)); animation: cabGrow 1s var(--ease-out) both; }
.cab-track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 11.5px; color: var(--ink-3); font-weight: 700; }
.cab-track i { width: 22px; height: 22px; border-radius: 50%; background: var(--surface, #fff); box-shadow: inset 0 0 0 3px var(--line, #E6E1D8); }
.cab-track li.is-done i { background: #2E9D5B; box-shadow: none; }
.cab-track li.is-done { color: var(--ink-2); }
.cab-track li.is-now i { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); animation: cabPulse 1.8s ease-in-out infinite; }
@keyframes cabPulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); } }
.acc-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acc-lines li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; font-size: 14px; align-items: center; }
.acc-thumb { width: 44px; height: 44px; border-radius: 10px; background: #F2EFEA; overflow: hidden; display: grid; place-items: center; }
.acc-thumb img { width: 90%; height: 90%; object-fit: contain; }
.acc-lines a { color: inherit; } .acc-lines a:hover { color: var(--accent); }
.acc-lines small { color: var(--ink-3); }
.acc-lines em { font-style: normal; color: var(--ink-3); }
.acc-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #EEF0F3; color: #3A3D42; white-space: nowrap; }
.acc-badge--confirmed, .acc-badge--processing { background: #E3EEFB; color: #1E5FB4; }
.acc-badge--ready, .acc-badge--completed, .acc-pay--paid { background: #E2F4E8; color: #1E7B45; }
.acc-badge--cancelled, .acc-pay--failed { background: #FBE5E5; color: #B42323; }
.acc-pay--unpaid, .acc-pay--pending { background: #FFF1DA; color: #A65F00; }
.acc-pay--refunded { background: #EEE8FB; color: #5B3DB4; }

.cab-empty { position: relative; overflow: hidden; padding: 28px; border-radius: 20px; background: var(--surface, #fff); display: grid; gap: 14px; justify-items: start; color: var(--ink-2); }
.cab-empty p { margin: 0; max-width: 52ch; }
.cab-empty__art { position: absolute; right: 18px; top: 18px; display: flex; gap: 6px; }
.cab-empty__art i { width: 12px; height: 38px; border-radius: 6px; background: var(--accent); animation: cabSw 3s ease-in-out infinite; }
.cab-empty__art i:nth-child(2) { background: #F2B33D; animation-delay: -1s; } .cab-empty__art i:nth-child(3) { background: #2B4C9B; animation-delay: -2s; }

.cab-fresh { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 23%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.cab-fresh__item { position: relative; scroll-snap-align: start; display: grid; gap: 6px; padding: 10px; border-radius: 18px; background: var(--surface, #fff); box-shadow: 0 12px 28px -22px rgba(20,22,26,.5); transition: transform .3s var(--ease-out); animation: accRise .5s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
.cab-fresh__item:hover { transform: translateY(-4px); }
.cab-fresh__img { aspect-ratio: 1; border-radius: 12px; background: #F2EFEA; display: grid; place-items: center; overflow: hidden; }
.cab-fresh__img img { width: 86%; height: 86%; object-fit: contain; transition: transform .4s var(--ease-out); }
.cab-fresh__item:hover img { transform: scale(1.07) rotate(-2deg); }
.cab-fresh__new { position: absolute; top: 16px; left: 16px; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; }
.cab-fresh__item b { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cab-fresh__item em { font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--accent); }

.cab-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cab-news__item { display: grid; border-radius: 18px; overflow: hidden; background: var(--surface, #fff); box-shadow: 0 12px 28px -22px rgba(20,22,26,.5); transition: transform .3s var(--ease-out); }
.cab-news__item:hover { transform: translateY(-4px); }
.cab-news__img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #E9E5DD, #D8D2C7); overflow: hidden; }
.cab-news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.cab-news__item:hover .cab-news__img img { transform: scale(1.06); }
.cab-news__t { display: grid; gap: 4px; padding: 12px 14px 14px; }
.cab-news__t small { color: var(--ink-3); font-size: 12px; }
.cab-news__t b { font-size: 14px; line-height: 1.35; }

.acc-club { position: relative; overflow: hidden; padding: 20px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #8E0A22, #C8102E 55%, #E9374A); box-shadow: 0 22px 44px -26px rgba(160,12,38,.8); display: grid; gap: 10px; justify-items: start; }
.acc-club::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #7b2cbf, #1e5fd8, #12a3d9, #19b34a, #f2d21b, #f28c1b, #e5302c); }
.acc-club__shine { position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%); animation: cabShine 5s ease-in-out infinite; pointer-events: none; }
@keyframes cabShine { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
.acc-club__card { width: 62%; border-radius: 12px; box-shadow: 0 16px 30px -12px rgba(0,0,0,.55); transform: rotate(-4deg); margin-bottom: 6px; animation: clubCard 6s ease-in-out infinite; }
@keyframes clubCard { 50% { transform: rotate(-2deg) translateY(-6px); } }
.acc-club h3 { margin: 0; color: #fff; }
.acc-club p { margin: 0; font-size: 13.5px; opacity: .9; }
.acc-club__btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 8px 10px 8px 18px; border-radius: 999px; background: #fff; color: #B30E2A; margin-top: 4px; }
.acc-club__btn span { display: grid; line-height: 1.15; }
.acc-club__btn small { font-size: 11px; font-weight: 700; opacity: .75; }
.acc-club__btn b { font-size: 15px; }
.acc-club__btn > .icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #C8102E; color: #fff; }

.cab-card { padding: 20px; border-radius: 22px; background: var(--surface, #fff); box-shadow: 0 12px 30px -24px rgba(20,22,26,.5); display: grid; gap: 12px; align-content: start; }
.cab-card h3 { margin: 0; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.cab-card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.cab-card [data-step] { display: grid; gap: 12px; }
.cab-card [data-step][hidden] { display: none; }
.cab-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cab-cur { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 700; overflow-wrap: anywhere; }
.cab-ok { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 800; color: #1E7B45; background: #E2F4E8; padding: 2px 8px; border-radius: 999px; }
.cab-dot { width: 10px; height: 10px; border-radius: 50%; background: #B9BCC2; display: inline-block; }
.cab-dot.is-on { background: #2E9D5B; box-shadow: 0 0 0 4px rgba(46,157,91,.2); }
.cab-2fa.is-on { box-shadow: 0 12px 30px -24px rgba(20,22,26,.5), inset 0 0 0 2px rgba(46,157,91,.35); }
.cab-photo { display: flex; gap: 14px; align-items: center; }
.cab-photo__pic { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #F2B33D); color: #fff; font-weight: 800; font-size: 22px; }
.cab-photo__pic img { width: 100%; height: 100%; object-fit: cover; }
.cab-photo div { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.cab-photo small { flex-basis: 100%; color: var(--ink-3); font-size: 12px; }

@media (max-width: 1000px) {
  .cab-grid { grid-template-columns: minmax(0, 1fr); }
  .cab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) { .acc-auth__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .cab-settings { grid-template-columns: minmax(0, 1fr); }
  .cab-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab-fresh { grid-auto-columns: 46%; }
  .cab-news { grid-template-columns: minmax(0, 1fr); }
  .cab-hero__sw { display: none; }
  .cab-out { width: 100%; }
  .cab-track span { font-size: 10px; }
}
@media (max-width: 560px) {
  .acc-names { grid-template-columns: 1fr; }
  .cab-stats { gap: 8px; }
  .cab-stat { padding: 12px; }
  .acc-perks { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-art *, .cab-hero__art *, .acc-club__shine, .acc-club__card, .cab-ava__ring, .cab-track li.is-now i, .cab-empty__art i { animation: none !important; }
}
