/* ==========================================================================
   account-page.css — личный кабинет /account в стиле «Закат» (014, 07.11.2026).
   Поверх css/tool-page.css (токены .tp, кнопки .tp-btn, карточки .tp-card, тост/диалог).
   Префикс acc-. ПК: боковая панель + контент; телефон (<900 px): шапка-профиль + вкладки-ярлыки.
   Скелетоны (.acc-sk, --sk) пока грузятся данные. Без Tailwind.
   ========================================================================== */
.acc-wrap{padding-top:clamp(18px,3vw,34px);padding-bottom:clamp(40px,6vw,80px);min-height:70vh}
.acc .tp-bg{height:1100px}

/* ---- загрузка (до проверки входа) ---- */
.acc-boot{display:grid;place-items:center;min-height:52vh}
.acc-boot[hidden]{display:none}
.acc-boot__card{display:flex;align-items:center;gap:14px;padding:20px 26px;font-weight:600;color:var(--text-2)}
.acc-boot__spin{width:22px;height:22px;border-radius:50%;border:2.5px solid rgba(244,114,182,.25);border-top-color:var(--pink);animation:accSpin .8s linear infinite}
@keyframes accSpin{to{transform:rotate(360deg)}}

/* ---- каркас ---- */
.acc-layout{position:relative;z-index:1;display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(20px,2.6vw,32px);align-items:start}
.acc-layout[hidden]{display:none}
.acc-main{display:grid;gap:clamp(40px,5vw,64px);min-width:0}
.acc-sec{scroll-margin-top:90px;min-width:0}
.acc-sec__head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.acc-h2{font-size:clamp(22px,2.4vw,28px);line-height:1.15;letter-spacing:-.02em;font-weight:800;color:var(--text)}
.acc-h3{font-size:18px;line-height:1.25;letter-spacing:-.015em;font-weight:800;color:var(--text)}
.acc-h3--row{margin:28px 0 14px}
.acc-h4{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--text);margin:0 0 10px}
.acc-h4 svg{width:16px;height:16px;color:var(--pink)}
.acc-sec__d{margin-top:6px;font-size:14.5px;color:var(--text-3)}

/* ---- боковая панель ---- */
.acc-side{position:sticky;top:86px;display:grid;gap:14px}
.acc-id{padding:18px;display:grid;gap:14px}
.acc-id__row{display:flex;align-items:center;gap:12px;min-width:0}
.acc-ava{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:15px;font-size:20px;font-weight:800;color:#fff;background:var(--grad-cta);box-shadow:0 10px 24px -10px rgba(236,72,153,.7);overflow:hidden}
.acc-ava img{width:100%;height:100%;object-fit:cover}
.acc-id__txt{min-width:0;flex:1}
.acc-id__hi{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-4)}
.acc-id__name{font-size:17px;font-weight:800;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-id__txt .acc-status{margin-top:5px}
.acc-status{flex:none;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;color:var(--text-2);background:rgba(255,255,255,.05);border:1px solid var(--line-2)}
.acc-status svg{width:13px;height:13px}
.acc-status[data-tier="premium"]{color:#fde68a;background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.4)}
.acc-mini{display:flex;align-items:center;gap:8px;width:100%;padding:11px 12px;border-radius:14px;text-align:left;background:rgba(255,255,255,.035);border:1px solid var(--line);transition:border-color .2s,background .2s}
.acc-mini:hover{border-color:rgba(244,114,182,.45);background:rgba(244,114,182,.06)}
.acc-mini>svg{width:18px;height:18px;color:var(--amber)}
.acc-mini__v{font-size:18px;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums}
.acc-mini__k{font-size:13px;color:var(--text-3)}
.acc-mini__plus{margin-left:auto;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#fff;background:var(--grad-cta)}
.acc-mini__plus svg{width:14px;height:14px}
.acc-nav{display:grid;gap:4px;padding:8px;border-radius:var(--r-lg);background:var(--panel);border:1px solid var(--line)}
.acc-nav__a{display:flex;align-items:center;gap:11px;height:44px;padding:0 12px;border-radius:12px;font-size:14.5px;font-weight:600;color:var(--text-3);transition:background .2s,color .2s}
.acc-nav__a svg{width:18px;height:18px;flex:none}
.acc-nav__a:hover{color:var(--text);background:rgba(255,255,255,.04)}
.acc-nav__a.is-on{color:var(--text);background:linear-gradient(100deg,rgba(251,113,133,.16),rgba(245,158,11,.08));box-shadow:inset 0 0 0 1px rgba(251,113,133,.28)}
.acc-nav__a.is-on svg{color:var(--coral)}
.acc-nav__n{margin-left:auto;min-width:22px;padding:0 6px;height:20px;line-height:20px;border-radius:999px;font-size:11.5px;font-weight:700;text-align:center;color:var(--text-2);background:rgba(255,255,255,.07)}
.acc-nav__n:empty{display:none}
.acc-side__help{display:flex;align-items:center;gap:12px;padding:14px;border-radius:var(--r-lg);border:1px dashed var(--line-2);transition:border-color .2s,background .2s}
.acc-side__help:hover{border-color:rgba(56,189,248,.45);background:rgba(56,189,248,.05)}
.acc-side__help-ico{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#7dd3fc;background:rgba(56,189,248,.12)}
.acc-side__help-ico svg{width:18px;height:18px}
.acc-side__help b{display:block;font-size:14px;color:var(--text)}
.acc-side__help small{font-size:12.5px;color:var(--text-4)}

/* ---- обзор: кошелёк + следующий шаг ---- */
.acc-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px}
.acc-wallet{overflow:hidden;padding:22px;display:flex;flex-direction:column;gap:16px;border-color:rgba(251,113,133,.22)}
.acc-wallet__glow{position:absolute;right:-120px;top:-140px;width:340px;height:340px;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,rgba(244,114,182,.26),transparent);filter:blur(10px)}
.acc-wallet__head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.acc-wallet__k{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-3)}
.acc-wallet__k svg{width:17px;height:17px;color:var(--amber)}
.acc-wallet__note{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-4)}
.acc-wallet__note svg{width:13px;height:13px;color:var(--green)}
.acc-wallet__mid{position:relative}
.acc-wallet__v{display:flex;align-items:baseline;gap:10px;font-size:clamp(46px,6vw,64px);line-height:1;font-weight:800;letter-spacing:-.035em;color:var(--text);font-variant-numeric:tabular-nums}
.acc-wallet__v small{font-size:16px;font-weight:600;letter-spacing:0;color:var(--text-3)}
.acc-wallet__d{margin-top:10px;font-size:14.5px;line-height:1.5;color:var(--text-3);max-width:46ch}
.acc-wallet__d b{color:var(--text)}
.acc-wallet[data-state="zero"] .acc-wallet__v>span{color:var(--text-3)}
.acc-wallet[data-state="low"] .acc-wallet__v>span{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.acc-wallet[data-state="zero"]{border-color:rgba(245,158,11,.35)}
.acc-wallet__actions{position:relative;display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}
.acc-wallet__actions .tp-btn{height:46px;font-size:15px}
/* баланс 0: главная кнопка — «Купить» в карточке пакета, вторую такую же не дублируем */
.acc-wallet[data-state="zero"] #accTopupBtn{display:none}
.acc-enough{position:relative}
.acc-enough__k{display:block;margin-bottom:8px;font-size:12.5px;font-weight:600;color:var(--text-4)}
.acc-enough__list{display:flex;flex-wrap:wrap;gap:8px}
.acc-enough__list li{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:11px;font-size:13.5px;color:var(--text-2);background:rgba(255,255,255,.04);border:1px solid var(--line)}
.acc-enough__list li b{color:var(--text);font-variant-numeric:tabular-nums}
.acc-enough__list svg{width:15px;height:15px;color:var(--pink)}
.acc-offer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 16px;border-radius:16px;background:linear-gradient(110deg,rgba(251,113,133,.14),rgba(245,158,11,.1));border:1px solid rgba(251,113,133,.35)}
.acc-offer[hidden]{display:none}
.acc-offer__tag{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#fda4af}
.acc-offer__v{font-size:24px;font-weight:800;color:var(--text);line-height:1.2}
.acc-offer__v small{font-size:14px;font-weight:600;color:var(--text-3)}
.acc-offer__d{font-size:13px;color:var(--text-3)}
.acc-offer__r{display:flex;align-items:center;gap:12px}
.acc-offer__p{font-size:22px;font-weight:800;color:var(--text);white-space:nowrap}

.acc-next{display:flex;flex-direction:column;overflow:hidden;transition:transform .25s ease,border-color .25s}
.acc-next:hover{transform:translateY(-3px);border-color:rgba(244,114,182,.35)}
.acc-next__media{position:relative;display:block;height:150px;overflow:hidden;border-radius:var(--r-lg) var(--r-lg) 0 0}
.acc-next__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.acc-next:hover .acc-next__media img{transform:scale(1.05)}
.acc-next__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(10,14,26,.85))}
.acc-next__body{display:flex;flex-direction:column;gap:6px;padding:16px 20px 20px;flex:1}
.acc-next__k{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--coral)}
.acc-next__t{font-size:19px;line-height:1.25;font-weight:800;letter-spacing:-.015em;color:var(--text)}
.acc-next__d{font-size:14px;line-height:1.5;color:var(--text-3)}
.acc-next__btn{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:8px;font-size:14.5px;font-weight:700;color:var(--text)}
.acc-next__btn svg{width:16px;height:16px;color:var(--pink);transition:transform .25s}
.acc-next:hover .acc-next__btn svg{transform:translateX(4px)}
.acc-next[data-kind="loading"] .acc-next__t,.acc-next[data-kind="loading"] .acc-next__btn{opacity:.4}

/* ---- чек-лист новичка ---- */
.acc-start{margin-top:16px;padding:20px 22px}
.acc-start[hidden]{display:none}
.acc-start__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.acc-start__d{margin-top:4px;font-size:14px;color:var(--text-3)}
.acc-start__d b{color:var(--text)}
.acc-x{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--text-4);transition:background .2s,color .2s}
.acc-x:hover{color:var(--text);background:rgba(255,255,255,.06)}
.acc-x svg{width:16px;height:16px}
.acc-start__bar{height:6px;margin:14px 0 16px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden}
.acc-start__bar i{display:block;height:100%;width:0;border-radius:inherit;background:var(--grad);transition:width .6s ease}
.acc-start__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.acc-start__list a{display:flex;align-items:center;gap:10px;height:100%;padding:12px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--line);transition:border-color .2s,background .2s}
.acc-start__list a:hover{border-color:rgba(244,114,182,.4);background:rgba(244,114,182,.05)}
.acc-step__ico{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:var(--pink);background:rgba(244,114,182,.12)}
.acc-step__ico svg{width:18px;height:18px}
.acc-step__t{min-width:0;flex:1}
.acc-step__t b{display:block;font-size:14px;color:var(--text);line-height:1.3}
.acc-step__t small{display:block;font-size:12.5px;line-height:1.35;color:var(--text-4)}
.acc-step__ok{flex:none;display:none;place-items:center;width:22px;height:22px;border-radius:50%;color:#052e1c;background:var(--green)}
.acc-step__ok svg{width:13px;height:13px}
.acc-start__list li.is-done a{border-color:rgba(52,211,153,.3);background:rgba(52,211,153,.05)}
.acc-start__list li.is-done .acc-step__ok{display:grid}
.acc-start__list li.is-done .acc-step__ico{color:var(--green);background:rgba(52,211,153,.12)}
.acc-start__list li.is-done b{text-decoration:line-through;text-decoration-color:rgba(148,163,184,.5);color:var(--text-3)}

/* ---- инструменты ---- */
/* пока виден чек-лист новичка, «Инструменты» не дублируем: ведут туда же */
.acc-start:not([hidden])~.acc-h3--row,.acc-start:not([hidden])~.acc-tools{display:none}
.acc-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.acc-tool{display:flex;flex-direction:column;overflow:hidden;transition:transform .25s ease,border-color .25s}
.acc-tool:hover{transform:translateY(-3px);border-color:rgba(244,114,182,.35)}
.acc-tool__pic{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--bg-3)}
.acc-tool__pic img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.acc-tool:hover .acc-tool__pic img{transform:scale(1.06)}
.acc-tool__b{display:block;padding:12px 40px 14px 14px}
.acc-tool__b b{display:block;font-size:14.5px;line-height:1.3;color:var(--text)}
.acc-tool__b small{font-size:12.5px;color:var(--text-4)}
.acc-tool__go{position:absolute;right:12px;bottom:16px;width:16px;height:16px;color:var(--pink);transition:transform .25s}
.acc-tool:hover .acc-tool__go{transform:translateX(3px)}

/* ---- работы ---- */
.acc-works{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.acc-works[hidden]{display:none}
.acc-work{position:relative;display:block;aspect-ratio:1/1;border-radius:18px;overflow:hidden;background:var(--bg-3);border:1px solid var(--line);text-align:left}
.acc-work>img,.acc-work>video{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.acc-work:hover>img,.acc-work:hover>video{transform:scale(1.05)}
.acc-work__open{position:absolute;inset:0;z-index:1;border-radius:inherit}
.acc-work__shade{position:absolute;inset:auto 0 0 0;height:62%;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(5,8,16,.88))}
.acc-work__tag{position:absolute;left:10px;top:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:700;color:#fff;background:rgba(10,14,26,.72);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none}
.acc-work__tag svg{width:12px;height:12px}
.acc-work__meta{position:absolute;left:10px;right:10px;bottom:9px;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;pointer-events:none}
.acc-work__name{min-width:0;font-size:12.5px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-work__ttl{display:block;font-size:11px;font-weight:600;color:rgba(226,232,240,.75)}
.acc-work__ttl.is-soon{color:#fcd34d}
.acc-work__again{position:relative;z-index:3;pointer-events:auto;flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:#fff;background:rgba(10,14,26,.7);border:1px solid rgba(255,255,255,.18);opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s,background .2s}
.acc-work__again svg{width:15px;height:15px}
.acc-work:hover .acc-work__again,.acc-work:focus-within .acc-work__again{opacity:1;transform:none}
.acc-work__again:hover{background:var(--magenta)}
@media (hover:none){.acc-work__again{opacity:1;transform:none}}
.acc-work--sk,.acc-row--sk,.acc-sk{background:linear-gradient(100deg,rgba(255,255,255,.03) 30%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.03) 70%);background-size:300% 100%;animation:accSk 1.4s ease infinite}
.acc-sk{color:transparent!important;border-radius:10px;-webkit-text-fill-color:transparent}
@keyframes accSk{from{background-position:100% 0}to{background-position:0 0}}

.acc-empty{display:flex;align-items:center;gap:16px;padding:20px 22px;flex-wrap:wrap}
.acc-empty[hidden]{display:none}
.acc-empty__ico{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:var(--pink);background:rgba(244,114,182,.1);border:1px dashed rgba(244,114,182,.35)}
.acc-empty__ico svg{width:22px;height:22px}
.acc-empty>div{flex:1;min-width:200px}
.acc-empty b{display:block;font-size:15.5px;color:var(--text)}
.acc-empty p{font-size:14px;color:var(--text-3)}

.acc-prompts{margin-top:22px}
.acc-prompts[hidden]{display:none}
.acc-prompts__list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.acc-prompt{min-width:0;display:flex;align-items:center;gap:12px;padding:10px 10px 10px 14px;border-radius:14px;background:var(--panel);border:1px solid var(--line)}
.acc-prompt__t{flex:1;min-width:0;font-size:14px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-prompt__m{flex:none;font-size:12px;color:var(--text-4);white-space:nowrap}
.acc-prompt .tp-btn{height:34px;padding:0 12px;font-size:13px;border-radius:10px}


/* ---- история кредитов ---- */
.acc-sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.acc-sum__i{padding:14px 16px;border-radius:16px;background:var(--panel);border:1px solid var(--line)}
.acc-sum__k{display:block;font-size:12.5px;font-weight:600;color:var(--text-4)}
.acc-sum__v{display:block;margin-top:2px;font-size:21px;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-sum__v--plus{color:#6ee7b7}
.acc-sum__v--refund{color:#7dd3fc}
.acc-sum__v--txt{font-size:16px;line-height:1.6}
.acc-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.acc-chip{height:36px;padding:0 14px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--text-3);background:rgba(255,255,255,.03);border:1px solid var(--line);transition:all .2s}
.acc-chip:hover{color:var(--text);border-color:var(--line-2)}
.acc-chip.is-on{color:#fff;background:linear-gradient(100deg,rgba(251,113,133,.22),rgba(245,158,11,.14));border-color:rgba(251,113,133,.45)}
.acc-hist,.acc-pays{padding:6px 18px;overflow:hidden}
.acc-pays[hidden]{display:none}
.acc-day{padding:12px 0 4px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-4)}
.acc-day+.acc-row{border-top:0}
.acc-row{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 0;border-top:1px solid var(--line)}
.acc-row--sk{min-height:44px;margin:10px 0;border:0;border-radius:12px}
.acc-row__ico{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:var(--text-3);background:rgba(255,255,255,.04)}
.acc-row__ico svg{width:18px;height:18px}
.acc-row__ico--spend{color:#fda4af;background:rgba(251,113,133,.1)}
.acc-row__ico--plus{color:#6ee7b7;background:rgba(52,211,153,.1)}
.acc-row__ico--refund{color:#7dd3fc;background:rgba(56,189,248,.1)}
.acc-row__ico--fail{color:#fca5a5;background:rgba(248,113,113,.1)}
.acc-row__ico--wait{color:#fcd34d;background:rgba(245,158,11,.1)}
.acc-row__b{flex:1;min-width:0}
.acc-row__t{font-size:14.5px;font-weight:600;color:var(--text);line-height:1.35;overflow-wrap:anywhere}
.acc-row__d{font-size:12.5px;line-height:1.45;color:var(--text-4);overflow-wrap:anywhere}
.acc-row__r{flex:none;text-align:right}
.acc-row__amt{font-size:15px;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.acc-row__amt--plus{color:#6ee7b7}
.acc-row__amt--refund{color:#7dd3fc}
.acc-row__bal{font-size:12px;color:var(--text-4);white-space:nowrap}
.acc-row__badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap}
.acc-row__badge--ok{color:#6ee7b7;background:rgba(52,211,153,.12)}
.acc-row__badge--fail{color:#fca5a5;background:rgba(248,113,113,.12)}
.acc-row__badge--wait{color:#fcd34d;background:rgba(245,158,11,.12)}
.acc-hist__empty{padding:22px 4px;text-align:center;font-size:14px;color:var(--text-3)}
.acc-hist__err{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:20px 4px;font-size:14px;color:var(--text-3)}
.acc-more{display:flex;margin:12px auto 0}
.acc-more[hidden]{display:none}


/* ---- платежи и подписка ---- */
.acc-sub{padding:18px 20px;margin-bottom:12px}
.acc-sub[hidden],.acc-sub__info[hidden],.acc-sub__notice[hidden],.acc-sub__confirm[hidden],.acc-link-btn[hidden],.acc-sub__loading[hidden]{display:none}
.acc-sub__loading{font-size:14px;color:var(--text-3)}
.acc-sub__top{display:flex;align-items:center;gap:10px;font-size:15.5px;color:var(--text)}
.acc-sub__dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(52,211,153,.15)}
.acc-sub__dot--grace{background:var(--amber);box-shadow:0 0 0 4px rgba(245,158,11,.15)}
.acc-sub__dot--cancelled{background:var(--text-4);box-shadow:none}
.acc-sub__badge{margin-left:auto;height:24px;line-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;color:#6ee7b7;background:rgba(52,211,153,.12)}
.acc-sub__badge--grace{color:#fcd34d;background:rgba(245,158,11,.12)}
.acc-sub__badge--cancelled{color:var(--text-3);background:rgba(255,255,255,.06)}
.acc-sub__rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.acc-sub__rows dt{font-size:12.5px;color:var(--text-4)}
.acc-sub__rows dd{margin:0;font-size:15px;font-weight:700;color:var(--text)}
.acc-sub__notice{margin-top:12px;padding:10px 12px;border-radius:12px;font-size:13.5px;color:var(--text-2);background:rgba(255,255,255,.04)}
.acc-sub__notice--warn{color:#fde68a;background:rgba(245,158,11,.1)}
.acc-link-btn{margin-top:12px;font-size:13.5px;font-weight:600;color:var(--text-4);text-decoration:underline;text-underline-offset:3px}
.acc-link-btn:hover{color:#fca5a5}
.acc-sub__confirm{margin-top:12px;padding:12px;border-radius:12px;font-size:14px;background:rgba(248,113,113,.06);border:1px solid rgba(248,113,113,.25)}
.acc-sub__confirm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.acc-help{display:flex;align-items:center;gap:14px;margin-top:12px;padding:16px 18px;transition:border-color .2s}
.acc-help:hover{border-color:rgba(56,189,248,.4)}
.acc-help__ico{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#7dd3fc;background:rgba(56,189,248,.12)}
.acc-help__ico svg{width:19px;height:19px}
.acc-help__t{flex:1;min-width:0}
.acc-help__t b{display:block;font-size:14.5px;color:var(--text)}
.acc-help__t small{font-size:13px;line-height:1.45;color:var(--text-3)}
.acc-help__go{flex:none;width:16px;height:16px;color:#7dd3fc}

/* ---- профиль ---- */
.acc-prof{padding:6px 20px 18px}
.acc-prof__row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;padding:8px 0;border-bottom:1px solid var(--line)}
.acc-prof__row[hidden]{display:none}
.acc-prof__k{flex:none;font-size:14px;color:var(--text-4)}
.acc-prof__v{min-width:0;font-size:14.5px;font-weight:600;color:var(--text);text-align:right;overflow-wrap:anywhere}
.acc-prof__v--id{display:flex;align-items:center;gap:10px}
.acc-prof__v code{font-family:var(--mono);font-size:13px;color:var(--text-2)}
.acc-copy{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border-radius:9px;font-size:12.5px;font-weight:600;color:var(--text-3);border:1px solid var(--line-2);transition:all .2s}
.acc-copy:hover{color:var(--text);border-color:rgba(244,114,182,.45)}
.acc-copy svg{width:14px;height:14px}
.acc-copy.is-ok{color:#6ee7b7;border-color:rgba(52,211,153,.45)}
.acc-prof__note{display:flex;align-items:flex-start;gap:8px;margin-top:14px;font-size:13px;line-height:1.5;color:var(--text-4)}
.acc-prof__note svg{flex:none;width:15px;height:15px;margin-top:2px;color:var(--green)}
.acc-prof__foot{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.acc-ok{color:#6ee7b7}
.acc-prof__v--name{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.acc-verified{display:inline-flex;align-items:center;gap:4px;margin-left:8px;font-size:12px;font-weight:700;color:#6ee7b7}
.acc-verified svg{width:13px;height:13px}
.acc-verified[hidden],.acc-name[hidden],.acc-copy[hidden]{display:none}
.acc-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line)}
.acc-name__in{flex:1 1 200px;min-width:0;height:40px;padding:0 12px;border-radius:11px;font:inherit;font-size:14.5px;color:var(--text);background:rgba(255,255,255,.04);border:1px solid var(--line-2);outline:none}
.acc-name__in:focus{border-color:rgba(244,114,182,.6);box-shadow:0 0 0 3px rgba(244,114,182,.15)}
.acc-name__err{flex-basis:100%;font-size:13px;color:#fca5a5}
.acc-name__err:empty{display:none}
.acc-sum__note{margin:-4px 0 12px;font-size:12.5px;color:var(--text-4)}
.acc-sum__note[hidden]{display:none}


/* ===== АДАПТИВ ===== */
@media (max-width:1100px){
  .acc-layout{grid-template-columns:220px minmax(0,1fr)}
  .acc-top{grid-template-columns:1fr}
  .acc-next{flex-direction:row}
  .acc-next__media{width:38%;height:auto;min-height:170px;border-radius:var(--r-lg) 0 0 var(--r-lg)}
  .acc-next__media::after{background:linear-gradient(90deg,transparent 50%,rgba(10,14,26,.6))}
  .acc-start__list{grid-template-columns:1fr 1fr}
}
@media (max-width:899px){
  .acc-wrap{padding-top:12px}
  .acc-layout{grid-template-columns:1fr;gap:16px}
  .acc-side{position:sticky;top:calc(var(--navbar-height-mobile,58px) - 1px);z-index:20;gap:0;margin:0 calc(var(--gut)*-1);padding:8px var(--gut);background:rgba(10,14,26,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
  .acc-id,.acc-side__help{display:none}
  .acc-nav{display:flex;gap:6px;padding:0;overflow-x:auto;scrollbar-width:none;background:none;border:0;border-radius:0}
  .acc-nav::-webkit-scrollbar{display:none}
  .acc-nav__a{flex:none;height:38px;padding:0 13px;gap:7px;font-size:13.5px;border-radius:999px;background:rgba(255,255,255,.03);border:1px solid var(--line)}
  .acc-nav__a svg{width:15px;height:15px}
  .acc-nav__a.is-on{box-shadow:none;border-color:rgba(251,113,133,.45)}
  .acc-nav__n{margin-left:0}
  .acc-main{gap:44px}
  .acc-sec{scroll-margin-top:124px}
  .acc-tools{grid-template-columns:1fr 1fr}
  .acc-works{grid-template-columns:repeat(3,minmax(0,1fr))}
  .acc-sum{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .acc-wallet{padding:18px}
  .acc-wallet__actions .tp-btn{flex:1;padding:0 14px}
  .acc-next{flex-direction:row}
  .acc-next__media{width:96px;min-height:0;height:auto;flex:none;border-radius:var(--r-lg) 0 0 var(--r-lg)}
  .acc-next__media::after{display:none}
  .acc-next__body{padding:14px 16px;gap:4px}
  .acc-next__t{font-size:16.5px}
  .acc-next__d{font-size:13.5px}
  .acc-start{padding:16px}
  .acc-start__list{grid-template-columns:1fr 1fr;gap:8px}
  .acc-start__list a{flex-direction:column;align-items:flex-start;gap:8px;padding:11px;position:relative}
  .acc-step__ok{position:absolute;right:9px;top:9px}
  .acc-step__t small{font-size:12px}
  .acc-sum{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .acc-sum__i{padding:10px 12px;border-radius:14px}
  .acc-sum__i:last-child{display:none}
  .acc-sum__v{font-size:18px}
  .acc-works{grid-template-columns:1fr 1fr;gap:8px}
  .acc-work{border-radius:14px}
  .acc-works .acc-work:nth-child(n+5){display:none} /* телефон: 4 последние, остальное — «Вся галерея» */
  .acc-prompt:nth-child(n+3){display:none}
  .acc-tools{gap:8px}
  .acc-tool__pic{aspect-ratio:16/10}
  .acc-tool__b{padding:10px 30px 12px 12px}
  .acc-tool__b b{font-size:13.5px}
  .acc-tool__go{right:10px;bottom:14px}
  .acc-hist,.acc-pays{padding:4px 14px}
  .acc-row{gap:10px}
  .acc-row__ico{width:34px;height:34px;border-radius:10px}
  .acc-sub__rows{grid-template-columns:1fr}
  .acc-prof{padding:4px 16px 16px}
  .acc-prof__row{flex-wrap:wrap;gap:4px 14px}
  .acc-prompt__m{display:none}
  .acc-offer__r{width:100%;justify-content:space-between}
}
@media (max-width:400px){
  .acc-wallet__actions .tp-btn{flex:1 1 100%}
  .acc-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:calc(var(--gut)*-1);padding-right:var(--gut)}
  .acc-filters::-webkit-scrollbar{display:none}
  .acc-chip{flex:none}
}
@media (max-width:360px){
  .acc-wallet__v{font-size:42px}
  .acc-sum__v{font-size:16px}
  .acc-next__media{width:76px}
  .acc-tool__b small{font-size:12px}
}
@media (prefers-reduced-motion:reduce){
  .acc-work--sk,.acc-row--sk,.acc-sk,.acc-boot__spin{animation:none}
  .acc-next,.acc-tool,.acc-work>img,.acc-tool__pic img,.acc-next__media img{transition:none}
}

