/* dubidu.net pages outside the landing (account, auth, legal): same tokens as the landing.
   Flat buttons, SVG icons only, no emoji. */
@font-face{font-family:"Plus Jakarta Sans";font-weight:400 800;font-display:swap;src:url(../assets/fonts/plus-jakarta-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-weight:400 800;font-display:swap;src:url(../assets/fonts/plus-jakarta-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url(../assets/fonts/fredoka-600-ro.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0A0A0F; --bg-2: #14141C; --bg-3: #1E1E29;
  --text: #fff; --muted: rgba(255,255,255,.7); --faint: rgba(255,255,255,.62); --line: rgba(255,255,255,.12);
  --brand: #E8409F; --brand-2: #2FD8C6; --brand-grad: linear-gradient(135deg, #E8409F 0%, #2FD8C6 100%);
  --ok: #34D399; --err: #FF6B81;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: "Fredoka", var(--font);
  --page: 1120px;
}
body:has(.ac-top) { --page: 1000px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column;
  background-image: radial-gradient(900px 520px at 85% -10%, rgba(232,64,159,.18), transparent 60%),
                    radial-gradient(700px 480px at -10% 10%, rgba(47,216,198,.10), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }

/* ---------- header ---------- */
body:has(.nav) { padding-top: 88px; }
.nav{position:fixed;left:0;right:0;top:env(safe-area-inset-top,0px);z-index:60;display:flex;justify-content:center;padding:14px max(14px,env(safe-area-inset-right,0px)) 0 max(14px,env(safe-area-inset-left,0px));pointer-events:none}
.nav .nbar{pointer-events:auto;position:relative;width:100%;max-width:1280px;height:60px;display:flex;align-items:center;gap:8px;padding:0 10px;border-radius:999px;
  background:rgba(18,18,26,0);box-shadow:inset 0 0 0 1px rgba(255,255,255,0);
  transition:max-width .7s cubic-bezier(.2,.8,.2,1),height .5s cubic-bezier(.2,.8,.2,1),padding .5s,background .45s,box-shadow .45s,backdrop-filter .45s}
.nav.compact .nbar{max-width:760px;height:54px;padding:0 7px 0 20px;background:rgba(18,18,26,.72);backdrop-filter:blur(18px) saturate(1.5);-webkit-backdrop-filter:blur(18px) saturate(1.5);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 18px 50px -18px rgba(0,0,0,.8)}
.brand{display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.brand>img{width:40px;height:40px}
.brand .rest{display:block;overflow:hidden;max-width:100px;transition:max-width .55s cubic-bezier(.2,.8,.2,1),opacity .35s}
.brand .rest img{width:100px;height:25px;max-width:none}
.nav.compact .brand .rest{max-width:0;opacity:0}
.links{display:flex;align-items:center;gap:2px;margin-inline:auto;font-weight:600;font-size:.94rem}
.links a{position:relative;text-decoration:none;color:var(--muted);padding:9px 14px;border-radius:99px;transition:color .2s,background .25s}
.links a:hover{color:#fff}
.links a.active{color:#fff;background:rgba(255,255,255,.1)}
.act{display:flex;align-items:center;gap:6px}
.login{text-decoration:none;font-weight:600;font-size:.94rem;color:var(--muted);padding:9px 14px;border-radius:99px;white-space:nowrap;transition:color .2s,max-width .5s,opacity .3s,padding .5s;max-width:140px;overflow:hidden}
.login:hover{color:#fff}
.nav.compact .login{max-width:0;opacity:0;padding-inline:0}
.nav .go{border-radius:99px;height:42px;padding:0 20px;font-size:.94rem;background:#D62E8C}
.burger{display:none;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;place-items:center}
.burger svg{width:20px;height:20px;stroke:#fff;stroke-width:2;stroke-linecap:round;fill:none}
.sheet{position:absolute;left:0;right:0;top:calc(100% + 8px);padding:10px;border-radius:22px;background:rgba(18,18,26,.94);backdrop-filter:blur(18px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 30px 60px -20px #000;display:grid;gap:2px;
  opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top center;pointer-events:none;transition:opacity .25s,transform .25s}
.sheet a{padding:14px 16px;border-radius:14px;text-decoration:none;font-weight:600}
.sheet a:hover{background:rgba(255,255,255,.08)}
.nav.open .sheet{opacity:1;transform:none;pointer-events:auto}
@media (max-width:860px){
  .links,.login{display:none}
  .burger{display:grid}
  .nav .nbar{padding:0 7px 0 18px}
  .nav.compact .nbar{max-width:100%}
  .act{margin-left:auto}
}
@media (max-width: 400px) { .brand .rest { max-width: 74px; } .brand .rest img { width: 74px; height: auto; } .nav .go { padding: 0 14px; } }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 36px; width: auto; }
h1, h2, h3, h4, .h1 { font-family: var(--font-title); font-weight: 600; }
.dd { font-family: var(--font-title); font-size: 1.25rem; line-height: 1; font-weight: 600; font-style: normal; color: var(--brand); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.dd i { font-style: normal; color: var(--brand-2); }
h1 .dd, h2 .dd, h3 .dd { font-size: inherit; }

/* ---------- buttons & fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; cursor: pointer;
  text-decoration: none; white-space: nowrap; font: 700 .95rem/1 var(--font); padding: 13px 20px; transition: background .2s, filter .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { filter: brightness(1.1); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-danger { background: rgba(255,107,129,.14); color: var(--err); }
.btn-danger:hover { background: rgba(255,107,129,.24); }
.btn-sm { padding: 9px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
label small { font-weight: 500; color: var(--faint); }
input[type=text], input[type=email], input[type=password], input[type=search] {
  height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(10,10,15,.6);
  color: #fff; font: 500 1rem var(--font); transition: border-color .2s;
}
input:focus { outline: none; border-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--brand); width: 16px; height: 16px; }
.err { color: var(--err); font-size: .86rem; font-weight: 600; }
.status { padding: 12px 16px; border-radius: 12px; background: rgba(52,211,153,.12); color: var(--ok); font-weight: 600; font-size: .92rem; }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: .9rem; }

/* ---------- auth pages ---------- */
.auth { flex: 1; display: grid; place-items: center; padding: 48px 16px 64px; }
.card {
  width: 100%; max-width: 440px; padding: 32px 28px; border-radius: 24px; background: rgba(20,20,28,.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -40px rgba(232,64,159,.45);
}
.card h1 { font-weight: 600; font-size: 1.7rem; letter-spacing: -.01em; line-height: 1.15; }
.card .lead { color: var(--muted); margin-top: 6px; }
.card form { margin-top: 24px; }
.card .alt { margin-top: 20px; text-align: center; color: var(--muted); font-size: .92rem; }
.card .alt a { color: #fff; font-weight: 700; }

/* ---------- account ---------- */
.account { flex: 1; padding: 36px 0 72px; }
.account-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.side { position: sticky; top: 96px; display: grid; gap: 2px; }
@media (max-width: 860px) { .side { position: static; display: flex; overflow-x: auto; gap: 6px; } }
.side a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 600; white-space: nowrap; }
.side a:hover { color: #fff; background: rgba(255,255,255,.05); }
.side a.on { color: #fff; background: rgba(255,255,255,.09); }
.side svg { width: 18px; height: 18px; flex: none; }
.h1 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; line-height: 1.1; }
.panel { border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.panel h2 { font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 14px; }
.panels { display: grid; gap: 16px; margin-top: 24px; }
.panels.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .panels.two { grid-template-columns: 1fr; } }
.minutes { background: radial-gradient(90% 90% at 100% 0%, rgba(232,64,159,.32), transparent 60%), var(--bg-2); }
.minutes .big { font-weight: 800; font-size: clamp(3rem, 7vw, 4.6rem); letter-spacing: -.05em; line-height: .95;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meter { height: 10px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 16px; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--brand-grad); }
.list { display: grid; }
.list > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: center; }
.list > div:first-child { border-top: 0; padding-top: 0; }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.1); color: var(--muted); }
.tag.ok { background: rgba(52,211,153,.14); color: var(--ok); }
.tag.brand { background: rgba(232,64,159,.2); color: #FFB6DF; }
table.t { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.t th, table.t td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
table.t th { color: var(--faint); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.empty { color: var(--faint); padding: 8px 0; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { border-radius: 20px; padding: 22px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; }
.plan.current { box-shadow: inset 0 0 0 2px var(--brand); }
.plan .hours { font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; }
.plan .hours span { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .93rem; }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan li svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--brand-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- legal ---------- */
.legal { flex: 1; padding: 40px 0 80px; }
.legal article { max-width: 760px; margin: 0 auto; }
.legal h1 { font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.01em; line-height: 1.1; }
.legal h2 { font-weight: 600; font-size: 1.2rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .meta { color: var(--faint); margin-top: 10px; font-size: .9rem; }
.legal .note { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(47,216,198,.1); color: var(--brand-2); font-size: .9rem; font-weight: 600; }

/* ---------- footer ---------- */
.foot { padding: 20px 0 24px; color: var(--faint); font-size: .84rem; }
.foot .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.foot .logo img { height: 22px; opacity: .85; transition: opacity .18s; }
.foot .logo:hover img { opacity: 1; }
.foot a { text-decoration: none; transition: color .18s; }
.foot a:hover { color: #fff; }
.foot nav:not(.social) { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.social { display: flex; gap: 2px; margin-left: 10px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #fff; opacity: .8; transition: opacity .18s, background .18s; }
.social a:hover { color: #fff; opacity: 1; background: rgba(255,255,255,.08); }
.social .ico { width: 18px; height: 18px; }
@media (max-width: 640px) { .foot nav:not(.social) { order: 3; width: 100%; margin-left: 0; } .foot nav:not(.social) a, .foot .ck-open { display: inline-block; padding-block: 8px; } .social { margin-left: auto; } .ac-back { padding-block: 6px; } }

/* ---------- thank-you page ---------- */
.thanks { flex: 1; max-width: 640px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) 24px 72px; display: grid; justify-items: center; align-content: center; gap: 16px; text-align: center; }
.thanks-label { color: var(--muted); font-weight: 600; font-size: 1.05rem; }
.thanks-number { font-family: var(--font-title); font-weight: 600; font-size: clamp(4.5rem, 16vw, 7.5rem); line-height: 1;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thanks h1 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.thanks .lead { color: var(--muted); font-size: 1.08rem; max-width: 50ch; }
.thanks-gift { padding: 10px 18px; border-radius: 99px; background: rgba(47,216,198,.14); color: var(--brand-2); font-weight: 700; }
.thanks .btn { margin-top: 10px; }
.idea { width: 100%; display: grid; gap: 12px; margin-top: 18px; padding: 24px; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); text-align: left; scroll-margin-top: 20px; }
.idea h2 { font-size: 1.45rem; line-height: 1.15; }
.idea > p:not(.status) { color: var(--muted); }
.idea form { display: grid; gap: 12px; }
.idea fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.idea legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .92rem; }
.idea-kind { display: block; cursor: pointer; }
.idea-kind input { position: absolute; opacity: 0; }
.idea-kind span { display: block; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,.08); color: var(--muted); font-size: .9rem; font-weight: 600; transition: background .18s, color .18s; }
.idea-kind:hover span { color: #fff; }
.idea-kind input:checked + span { background: var(--brand); color: #fff; }
.idea-kind input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.idea-body { display: block; }
.idea textarea { display: block; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(10,10,15,.6); color: #fff; font: 500 1rem/1.5 var(--font); resize: vertical; transition: border-color .2s; }
.idea textarea:focus { outline: none; border-color: var(--brand); }
.idea .btn { justify-self: start; margin-top: 0; }

/* ---------- account: header ---------- */
.ico { width: 22px; height: 22px; flex: none; }
.ac-top { position: sticky; top: 0; z-index: 30; background: rgba(10,10,15,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.ac-bar { display: flex; align-items: center; gap: 8px 28px; width: 100%; max-width: var(--page); min-height: 68px; margin-inline: auto; padding-inline: 20px; }
.ac-bar nav { display: flex; gap: 2px; min-width: 0; font-weight: 600; font-size: .94rem; }
.ac-bar nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .18s, background .18s; }
.ac-bar nav a:hover { color: #fff; }
.ac-bar nav a.on { color: #fff; background: rgba(255,255,255,.1); }
.ac-menu { position: relative; margin-left: auto; }
.ac-menu summary { list-style: none; cursor: pointer; }
.ac-menu summary::-webkit-details-marker { display: none; }
.ac-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--brand); color: #fff; font-family: var(--font-title); font-weight: 600; }
.ac-menu > div { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 8px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px -20px #000; animation: ac-in .18s ease-out; }
.ac-menu p { display: grid; gap: 2px; padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.ac-menu p small { color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
.ac-menu a, .ac-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 600 .92rem var(--font); text-decoration: none; cursor: pointer; transition: color .15s, background .15s; }
.ac-menu a:hover, .ac-menu button:hover { color: #fff; background: rgba(255,255,255,.07); }
.ac-menu .ico { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .ac-bar { flex-wrap: wrap; padding-block: 10px 6px; }
  .ac-bar .logo img { height: 28px; }
  .ac-bar nav { order: 3; width: calc(100% + 40px); margin-inline: -20px; padding-inline: 12px; overflow-x: auto; scrollbar-width: none; }
}

/* ---------- account: shared ---------- */
.ac { flex: 1; animation: ac-in .28s ease-out; }
@keyframes ac-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .ac, .ac-menu > div { animation: none; } }
.ac .btn { height: 40px; padding: 0 18px; border-radius: 8px; font-size: .92rem; font-weight: 600; transition: background .18s, filter .18s; }
.ac .btn-sm { height: 34px; padding: 0 12px; font-size: .85rem; }
.ac .btn-block { width: 100%; }
.btn-light { background: #fff; color: #0A0A0F; }
.btn-light:hover { background: rgba(255,255,255,.85); }
.ac input { height: 46px; border-radius: 8px; }
.ac .status { margin-bottom: 18px; border-radius: 8px; }
.status-plain { background: rgba(255,255,255,.08); color: var(--muted); }
.ac .panel { border-radius: 12px; }
.ac .h1, .ac-title-main { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; }
.ac-sub { color: var(--muted); margin: 6px 0 18px; }
.ac-group { color: var(--muted); font-weight: 600; margin: 28px 0 10px; }
.ac-note { margin-top: 12px; }
.ac-page { width: 100%; max-width: var(--page); margin-inline: auto; padding: 28px 20px 64px; }
.ac-pad { padding: 16px 18px; }

/* ---------- account: home ---------- */
.bill { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: clamp(320px, 50vh, 460px); padding: clamp(22px, 4vw, 44px); border-radius: 18px; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.bill img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,15,.88) 0%, rgba(10,10,15,.35) 60%, rgba(10,10,15,.1) 100%), linear-gradient(0deg, rgba(10,10,15,.8) 0%, transparent 50%); }
.bill-in { display: grid; gap: 12px; max-width: 560px; }
.bill-hello { color: var(--muted); font-weight: 600; }
.bill h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.bill-meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-weight: 600; font-size: .95rem; }
.bill-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px; border-radius: 50%; background: var(--muted); vertical-align: middle; }
.bill-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.bill-time { flex: 0 0 auto; width: min(260px, 100%); display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: rgba(10,10,15,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.bill-time span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.bill-time b { font-family: var(--font-title); font-weight: 600; font-size: 1.6rem; }
.bill-time .meter { height: 6px; margin-top: 6px; }
@media (max-width: 760px) { .bill { flex-direction: column; align-items: stretch; justify-content: flex-end; } .bill-time { width: 100%; } }
.ac-section { margin-top: 32px; }
.ac-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ac-section-head h2 { font-size: 1.35rem; }
.ac-section-head a { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.ac-section-head a:hover { color: #fff; }
.ac-rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.ac-rail::-webkit-scrollbar { display: none; }
.ac-title { flex: 0 0 clamp(130px, 13vw, 180px); min-width: 0; }
.ac-title img, .ac-title-blank { width: 100%; aspect-ratio: 2 / 3; border-radius: 8px; object-fit: cover; transition: transform .25s ease; }
.ac-title:hover img, .ac-title:hover .ac-title-blank { transform: scale(1.03); }
.ac-title-blank { display: grid; place-items: center; padding: 12px; text-align: center; background: var(--deep); font-family: var(--font-title); font-weight: 600; }
.ac-title h3 { margin-top: 8px; font-family: var(--font); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-title p { color: var(--faint); font-size: .82rem; }
.ac-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ac-steps li { counter-increment: step; display: grid; gap: 4px; padding: 18px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.ac-steps li::before { content: counter(step); font-family: var(--font-title); font-weight: 600; font-size: 1.5rem; color: var(--brand-2); }
.ac-steps span { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) { .ac-steps { grid-template-columns: 1fr; } }

/* ---------- account: settings ---------- */
.ac-back { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; }
.ac-back .ico { width: 18px; height: 18px; }
.ac-back:hover { color: var(--brand-2); }
.ac-back-page { margin-bottom: 14px; color: var(--muted); }
.ac-card { position: relative; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ac-card-top { border-top: 3px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--brand-grad) border-box; }
.ac-card-body { padding: 16px 18px; }
.ac-card-body h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.2rem; }
.ac-card-body p { color: var(--muted); margin-top: 4px; }
.ac-rows form { margin: 0; }
.ac-card-body + .ac-rows { border-top: 1px solid var(--line); }
.ac-rows > :not(:first-child) { border-top: 1px solid var(--line); }
.ac-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 18px; border: 0; background: none; color: #fff; font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s; }
a.ac-row:hover, button.ac-row:hover, summary.ac-row:hover { background: rgba(255,255,255,.06); }
.ac-row:focus-visible { outline-offset: -3px; }
.ac-row-static { cursor: default; }
.ac-row-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ac-row-text b { font-weight: 700; }
.ac-row-text small { color: var(--muted); font-size: .86rem; }
.ac-row > .ico:last-child { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.ac-edit summary { list-style: none; }
.ac-edit summary::-webkit-details-marker { display: none; }
.ac-edit[open] > summary > .ico:last-child { transform: rotate(90deg); }
.ac-edit > form { padding: 6px 18px 18px; animation: ac-in .2s ease-out; }
.ac-danger { display: block; width: 100%; margin-top: 16px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--err); font: 600 .95rem var(--font); text-align: center; cursor: pointer; transition: background .15s; }
.ac-danger:hover { background: rgba(255,107,129,.1); }
.ac-pay { flex: none; display: grid; justify-items: end; gap: 1px; text-align: right; }
.ac-pay b { font-weight: 700; }
.ac-pay a, .ac-pay small { color: var(--muted); font-size: .86rem; }
.ac-pay a:hover { color: #fff; }
.ac-plat { flex: none; display: grid; place-items: center start; width: 76px; height: 26px; }
.ac-plat img { max-width: 76px; max-height: 24px; width: auto; height: auto; }
.ac-plat img.mono { filter: brightness(0) invert(1); opacity: .85; }
@media (max-width: 480px) { .ac-plat { width: 56px; } .ac-plat img { max-width: 56px; max-height: 20px; } }

/* ---------- account: change plan ---------- */
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: start; margin-top: 8px; }
.pick-plan { position: relative; display: grid; gap: 12px; padding: 8px 8px 14px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .18s; }
.pick-plan:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.pick-plan.current { box-shadow: inset 0 0 0 2px var(--brand); }
.pick-now { justify-self: center; margin-top: 2px; font-size: .78rem; font-weight: 700; color: var(--brand-2); }
.pick-plan header { position: relative; padding: 12px 14px; border-radius: 9px; background: var(--brand-grad); color: #fff; }
.pick-plan header h2 { font-size: 1.15rem; }
.pick-plan header p { font-size: .88rem; font-weight: 600; }
.pick-plan header .ico { position: absolute; right: 10px; bottom: 10px; width: 18px; height: 18px; }
.pick-plan dl { margin: 0; padding-inline: 10px; }
.pick-plan dl div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.pick-plan dl div:last-child { border-bottom: 0; }
.pick-plan dt { color: var(--muted); font-size: .8rem; font-weight: 600; }
.pick-plan dd { margin: 1px 0 0; font-weight: 700; font-size: .98rem; }
.pick-plan dd small { color: var(--faint); font-weight: 500; }
.pick-plan > .btn, .pick-plan > form { width: auto; margin-inline: 10px; }
.pay-safe { display: flex; align-items: center; gap: 8px; }
.pay-safe .ico { width: 18px; height: 18px; color: var(--brand-2); }
.pay { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.pay-form { display: grid; gap: 16px; padding: 22px; }
.pay-form h2, .pay-sum h2 { font-size: 1.2rem; }
.pay-form .faint { font-size: .8rem; line-height: 1.5; }
.pay-form .btn { height: 48px; font-size: 1rem; }
.pay-skel { display: grid; gap: 12px; }
.pay-skel[hidden] { display: none; }
.pay-skel i { display: block; height: 46px; border-radius: 8px; background: var(--bg-3); animation: pay-pulse 1.1s ease-in-out infinite alternate; }
@keyframes pay-pulse { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .pay-skel i { animation: none; } }
.pay-sum { position: sticky; top: 92px; padding: 22px; }
.pay-sum dl { margin: 12px 0 0; }
.pay-sum dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.pay-sum dt { color: var(--muted); font-size: .9rem; }
.pay-sum dd { margin: 0; font-weight: 700; text-align: right; }
.pay-sum .pay-total dd { font-family: var(--font-title); font-weight: 600; font-size: 1.3rem; }
@media (max-width: 820px) { .pay { grid-template-columns: minmax(0, 1fr); } .pay-sum { position: static; } }
.ref-link { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ref-copy { display: flex; gap: 8px; }
.ref-copy input { flex: 1; min-width: 0; }
.ref-copy .btn { height: 46px; flex: none; }
.ac-pages { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }

/* ---------- help centre ---------- */
.help { flex: 1; padding: clamp(32px, 6vw, 64px) 0 72px; }
.help h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.01em; }
.help-narrow { max-width: 760px; }
.help-lead { margin: 10px 0 22px; }
.help-search { position: relative; display: block; margin: 20px 0 34px; }
.help-search .ico { position: absolute; left: 16px; top: 15px; color: var(--muted); }
.help-search input { width: 100%; height: 52px; padding-left: 50px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.help-topics { display: grid; gap: 26px; }
.help-topics h2 { font-size: 1.2rem; margin-bottom: 10px; }
.help-topics [hidden], .help-topics .ac-row[hidden] { display: none; }
.help-quick-title { font-size: 1.2rem; margin: 34px 0 12px; }
.help-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.help-quick a { padding: 9px 14px; border-radius: 8px; background: rgba(255,255,255,.08); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .18s; }
.help-quick a:hover { background: rgba(255,255,255,.15); }
.help-related { display: grid; gap: 8px; }
.help-related a { color: var(--muted); font-weight: 600; }
.help-related a:hover { color: #fff; }
.help-more { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 36px; padding: 20px 22px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.help-more h2 { font-size: 1.15rem; }
.help-more p { color: var(--muted); font-size: .92rem; }
.help-more .btn { border-radius: 8px; }
.help-article { margin-top: 4px; }
.help-article h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.help-article p, .help-article li { color: var(--muted); }
.help-article > p:first-of-type { margin-top: 12px; }
.help-article ol { display: grid; gap: 10px; margin: 14px 0 0; padding-left: 22px; }
.help-article li b { color: #fff; }
.help-article a { color: #fff; }
.help-note { margin-top: 18px; padding: 12px 16px; border-radius: 8px; background: rgba(47,216,198,.1); color: var(--muted); font-size: .92rem; }
.help-operator { margin-top: 32px; }
