.dashboard-page { --ad-ink: var(--ink, #20251e); --ad-line: var(--border, #d9dfd1); }
.dashboard-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:1.5rem; }
.dashboard-heading h1 { font-size:clamp(1.8rem,4vw,2.7rem); letter-spacing:-.06em; margin:.35rem 0 .4rem; }
.dashboard-heading p { color:var(--muted, #687064); margin:0; }
.greeting-spark { color:var(--accent, #85b335); display:inline-block; font-size:1.1em; }
.dashboard-grid { display:grid; gap:1.25rem; }
.dashboard-main, .dashboard-side { display:flex; flex-direction:column; gap:1.25rem; min-width:0; }
.dashboard-page .panel { margin-bottom:0; }
.ad-stage { text-align:center; padding:1.25rem; position:relative; overflow:hidden; }
.ad-stage-top { display:flex; justify-content:space-between; align-items:center; gap:.75rem; text-align:left; }
.ad-time { font-size:.8rem; display:flex; gap:.3rem; align-items:center; white-space:nowrap; }
.ad-stage-art { width:clamp(130px,40%,200px); height:150px; margin:.4rem auto .1rem; display:block; }
.ad-stage h2 { font-size:clamp(1.8rem,5vw,2.65rem); letter-spacing:-.055em; line-height:1.08; margin:.3rem 0 .7rem; }
.ad-stage-description { line-height:1.5; font-size:.95rem; opacity:.8; }
.ad-start { width:100%; max-width:360px; min-height:54px; display:inline-flex; align-items:center; justify-content:center; gap:1.5rem; }
.ad-stage-footnote { display:flex; align-items:center; justify-content:center; gap:.3rem; font-size:.72rem; margin:.65rem 0 1.3rem; opacity:.7; }
.ad-stage.ad-stage-ready {
  --ad-accent-line:color-mix(in srgb, var(--lime) 65%, var(--trust-green));
  padding:clamp(1rem,3vw,1.75rem); border:1.5px solid var(--ad-accent-line); border-radius:26px;
  background:radial-gradient(ellipse at 0 44%, color-mix(in srgb, var(--lime) 18%, transparent), transparent 54%),radial-gradient(ellipse at 100% 58%, color-mix(in srgb, var(--lime) 16%, transparent), transparent 50%),var(--surface);
  box-shadow:0 4px 18px color-mix(in srgb, var(--lime) 10%, transparent); isolation:isolate;
}
.ad-stage-ready::before,.ad-stage-ready::after { content:""; position:absolute; width:95%; height:35%; top:40%; z-index:-1; pointer-events:none; background:color-mix(in srgb, var(--lime) 10%, transparent); border-radius:50%; }
.ad-stage-ready::before { left:-48%; transform:rotate(30deg); }
.ad-stage-ready::after { right:-50%; top:35%; transform:rotate(-35deg); }
.ad-stage-ready .ad-stage-top { gap:.5rem; flex-wrap:wrap; }
.ad-stage-ready .pill { background:var(--lime); color:var(--art-ink); padding:.45rem .75rem; font-size:clamp(.66rem,1.8vw,.84rem); letter-spacing:.025em; font-weight:850; }
.ad-stage-ready .pill .icon { width:18px; height:18px; }
.ad-stage-ready .ad-time { background:var(--lime-soft); color:var(--ink); border-radius:100px; padding:.45rem .65rem; font-size:clamp(.67rem,1.8vw,.82rem); font-weight:750; margin-left:auto; }
.ad-stage-ready .ad-time .icon { width:19px; height:19px; }
.ad-stage-ready h2 { font-size:clamp(1.7rem,4.8vw,2.65rem); margin:1.15rem 0 .8rem; line-height:1.15; letter-spacing:-.055em; }
.ad-reward-highlight { display:inline-block; max-width:100%; padding:0 .2em .04em; background:var(--lime); color:var(--art-ink); border-radius:.35em; font:inherit; }
.ad-stage-ready .ad-stage-description { color:var(--muted); font-size:clamp(.8rem,2.3vw,.98rem); font-weight:650; line-height:1.45; margin:0; opacity:1; }
.ad-stage-ready .ad-stage-art { width:68%; max-width:260px; height:auto; margin:.4rem auto .25rem; }
.ad-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; list-style:none; padding:0; margin:.3rem 0 1.15rem; }
.ad-step { min-width:0; position:relative; display:flex; flex-direction:column; align-items:center; }
.ad-step-visual { position:relative; display:grid; place-items:center; width:58px; height:48px; margin-bottom:.4rem; border-radius:16px; background:color-mix(in srgb, var(--surface) 88%, transparent); box-shadow:0 4px 12px color-mix(in srgb, var(--lime) 16%, transparent); }
.ad-step-number { position:absolute; top:-5px; left:-6px; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--trust-green); border:1.5px solid var(--art-ink); color:var(--surface); font-size:.7rem; font-weight:850; line-height:1; }
.ad-step-symbol { display:grid; place-items:center; color:var(--art-ink); }
.ad-step-player { width:30px; height:24px; border:1.5px solid var(--art-ink); border-radius:6px; background:var(--lime); box-shadow:0 2px 0 color-mix(in srgb, var(--art-ink) 20%, transparent); }
.ad-step-player .icon { width:16px; height:16px; fill:currentColor; }
.ad-step-check { width:29px; height:29px; border:1.5px solid var(--art-ink); border-radius:50%; background:var(--lime); }
.ad-step-check .icon { width:22px; height:22px; stroke-width:2.5; }
.ad-step-coins .icon { width:34px; height:34px; fill:var(--lime); stroke-width:1.5; }
.ad-step strong { font-size:clamp(.82rem,2.5vw,1.1rem); font-weight:850; line-height:1.18; }
.ad-step-caption { display:block; margin-top:.3rem; color:var(--muted); font-size:clamp(.65rem,1.8vw,.78rem); line-height:1.35; }
.ad-step-arrow { position:absolute; top:17px; right:calc(-.5rem - 10px); width:20px; height:20px; color:var(--ad-accent-line); stroke-width:3; }
.ad-stage-ready .ad-start {
  --bs-btn-bg:var(--art-ink); --bs-btn-border-color:var(--art-ink); --bs-btn-color:var(--art-paper);
  --bs-btn-hover-bg:color-mix(in srgb, var(--art-ink) 85%, var(--lime)); --bs-btn-hover-border-color:var(--art-ink); --bs-btn-hover-color:var(--art-paper);
  --bs-btn-active-bg:var(--art-ink); --bs-btn-active-border-color:var(--art-ink); --bs-btn-active-color:var(--art-paper);
  max-width:none; min-height:52px; padding:.75rem .8rem; gap:.55rem; font-size:clamp(.85rem,2.4vw,1.1rem); border-radius:16px;
}
.ad-start > span { min-width:0; }
.ad-stage-ready .ad-start-play { color:var(--lime); width:25px; height:25px; stroke-width:2.8; }
.ad-stage-ready .ad-start > .icon:last-child { width:23px; height:23px; }
.ad-cash-note { display:flex; align-items:center; justify-content:center; gap:.5rem; padding:.65rem .75rem; margin:.7rem 0 0; border-radius:15px; background:var(--lime-soft); font-size:clamp(.7rem,1.8vw,.82rem); line-height:1.4; }
.ad-cash-note > .icon { width:20px; height:24px; fill:var(--art-butter); stroke:var(--art-ink); }
.ad-stage-ready .ad-stage-footnote { margin:.65rem 0 .8rem; color:var(--muted); font-size:.65rem; opacity:1; }
.ad-stage-ready .ad-stage-footnote .icon { width:12px; height:12px; }
.ad-stage-ready .ad-daily-progress { color:var(--muted); font-size:.65rem; font-weight:600; }
.ad-stage-ready .ad-progress { height:5px; }
.ad-stage-ready .ad-progress .progress-bar { background:var(--ad-accent-line); }
.ad-daily-progress { display:flex; justify-content:space-between; gap:.75rem; font-size:.75rem; font-weight:600; margin-bottom:.5rem; }
.ad-progress, .balance-progress { height:7px; border-radius:99px; background:color-mix(in srgb, currentColor 12%, transparent); }
.ad-progress .progress-bar, .ad-viewer-progress .progress-bar { background:var(--ad-ink, #20251e); border-radius:99px; }
.ad-stage-complete { padding-top:2rem; padding-bottom:1.5rem; }
.ad-finished-icon { display:grid; place-items:center; margin:0 auto 1rem; width:60px; height:60px; border-radius:50%; background:var(--ad-ink, #20251e); color:var(--bs-body-bg); }
.ad-finished-icon svg { width:28px; height:28px; }
.ad-reset-line { display:flex; align-items:center; justify-content:center; gap:.4rem; margin:1.1rem 0 0; font-size:.8rem; }
.ad-popup-hint { font-size:.85rem; margin:.75rem 0; }
.referral-feature { display:flex; align-items:center; position:relative; overflow:hidden; padding:1.5rem; }
.referral-feature-copy { z-index:1; flex:1; }
.referral-feature h2 { font-size:1.45rem; letter-spacing:-.045em; line-height:1.15; margin:.6rem 0; }
.referral-feature p { font-size:.88rem; max-width:290px; line-height:1.5; margin-bottom:1rem; }
.referral-feature .btn { display:inline-flex; gap:.8rem; align-items:center; }
.referral-smallprint { display:block; margin-top:.65rem; font-size:.68rem; opacity:.65; }
.dashboard-page .referral-art { width:110px; min-width:0; flex:0 0 110px; margin-right:-2.5rem; margin-left:-.5rem; align-self:center; }
.referral-feature-primary { min-height:330px; }
.referral-feature-primary h2 { font-size:clamp(1.8rem,4vw,2.5rem); }
.balance-card { padding:1.5rem; }
.balance-label { display:flex; align-items:center; justify-content:space-between; gap:1rem; font-size:.86rem; margin-bottom:.75rem; }
.balance-card .stat-value { font-size:clamp(2.4rem,4vw,3rem); line-height:1.1; letter-spacing:-.07em; font-weight:800; }
.balance-today { display:flex; align-items:center; gap:.4rem; font-size:.78rem; margin:.6rem 0 1.5rem; color:var(--muted, #687064); }
.balance-progress .progress-bar { background:var(--accent, #85b335); }
.balance-card .muted { font-size:.78rem; margin:.75rem 0 1rem; }
.balance-wallet-link { display:flex; justify-content:space-between; align-items:center; text-decoration:none; font-size:.85rem; font-weight:700; color:inherit; border-top:1px solid var(--ad-line); padding-top:1rem; }
.cashout-ready { display:flex; gap:.4rem; align-items:center; font-size:.9rem; margin:1rem 0; }
.balance-ready { border-color:var(--accent, #85b335); }
.dashboard-tip { padding:1.5rem; }
.dashboard-tip h3 { font-size:1.15rem; margin:1rem 0 .6rem; }
.dashboard-tip p { font-size:.85rem; color:var(--muted, #687064); line-height:1.6; }
.dashboard-tip a { display:inline-flex; align-items:center; gap:.5rem; font-size:.85rem; color:inherit; font-weight:600; }
.more-ways { margin-top:2rem; }
.more-ways .section-title { margin-bottom:1rem; }
.more-ways h2 { font-size:1.5rem; letter-spacing:-.045em; margin:.4rem 0; }
.earning-mini { display:flex; min-height:185px; height:100%; padding:1.4rem; text-decoration:none; color:inherit; position:relative; overflow:hidden; }
.earning-mini > div { max-width:72%; z-index:1; }
.earning-mini h3 { font-size:1.1rem; margin:.8rem 0 .35rem; }
.earning-mini p { font-size:.8rem; line-height:1.5; opacity:.8; }
.earning-mini span { font-size:.8rem; font-weight:700; display:inline-flex; align-items:center; gap:.6rem; }
.mini-art { position:absolute; width:110px; right:-10px; bottom:10px; }
.ad-viewer { max-width:1100px; margin:auto; }
.ad-viewer-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.ad-back { display:inline-flex; align-items:center; gap:.4rem; color:inherit; font-size:.85rem; text-decoration:none; }
.ad-timer-panel { padding:1.2rem; display:grid; grid-template-columns:1fr auto; align-items:center; gap:1rem; }
.ad-timer-panel h1 { font-size:clamp(1.2rem,3vw,1.8rem); letter-spacing:-.035em; margin:.4rem 0; }
.ad-timer-panel p { font-size:.8rem; margin:0; }
.ad-autostart { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:.65rem; padding:.8rem 1rem; border-radius:12px; background:color-mix(in srgb, currentColor 6%, transparent); font-size:.85rem; font-weight:700; }
.ad-autostart[hidden] { display:none; }
.ad-timer-circle { width:70px; height:70px; border:3px solid currentColor; border-radius:50%; display:flex; flex-direction:column; justify-content:center; align-items:center; }
.ad-timer-circle strong { font-size:1.8rem; line-height:1; letter-spacing:-.06em; }
.ad-timer-circle span { font-size:.6rem; }
.ad-viewer-progress { grid-column:1/-1; width:100%; height:6px; background:color-mix(in srgb, currentColor 15%, transparent); }
.ad-content-heading { display:flex; justify-content:space-between; gap:1rem; font-size:.72rem; margin:1rem .2rem .5rem; }
.ad-content-heading > span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ad-frame-wrap { border:1px solid var(--border, #d9dfd1); border-radius:16px; overflow:hidden; background:var(--bs-body-bg); }
.ad-frame { display:block; width:100%; min-height:55dvh; border:0; background:#fff; }
.ad-frame-help { padding:.9rem .2rem; }
.ad-help-toggle { background:none; border:0; color:inherit; display:inline-flex; align-items:center; gap:.4rem; font-size:.8rem; text-decoration:underline; padding:.4rem 0; }
.ad-frame-help [data-frame-fallback] { font-size:.85rem; margin-top:.7rem; }
.ad-frame-help [data-frame-fallback] .btn { margin:.25rem .25rem .25rem 0; font-size:.8rem; }
.ad-viewer-note { font-size:.75rem; color:var(--muted, #687064); text-align:center; }
.ad-viewer-message { max-width:620px; margin:2rem auto; padding:clamp(1.5rem,5vw,3rem); text-align:center; }
.ad-viewer-message > .art, .ad-viewer-message > svg { display:block; width:180px; height:150px; margin:0 auto 1.2rem; }
.ad-viewer-message h1 { font-size:clamp(1.9rem,5vw,2.7rem); letter-spacing:-.055em; margin:.6rem 0 1rem; }
.ad-viewer-message p { font-size:.95rem; line-height:1.6; }
.ad-viewer-message .btn { display:flex; align-items:center; justify-content:center; gap:.7rem; margin:.8rem auto; width:100%; }
.ad-close-countdown { font-size:.8rem!important; opacity:.7; margin:1rem 0; }
.ad-success > svg { animation:ad-celebrate 650ms ease both; }
@keyframes ad-celebrate { from { transform:scale(.75) rotate(-8deg); opacity:0; } to { transform:scale(1) rotate(0); opacity:1; } }
@media(min-width:768px) { .dashboard-grid { grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr); } .ad-stage { padding:1.6rem 2rem; } .dashboard-page .referral-art { width:155px; flex-basis:155px; margin-right:-1.2rem; } .ad-frame { min-height:60dvh; } }
@media(min-width:992px) {
  .dashboard-grid { align-items:start; }
  .dashboard-side .referral-feature { display:block; min-width:0; padding:1.15rem; }
  .dashboard-side .referral-feature-copy { min-width:0; }
  .dashboard-side .referral-feature .eyebrow { display:block; padding-right:48px; font-size:.62rem; margin:0; }
  .dashboard-side .referral-feature h2 { font-size:1.18rem; margin:.9rem 0 .55rem; }
  .dashboard-side .referral-feature p { font-size:.8rem; line-height:1.45; margin-bottom:.8rem; }
  .dashboard-side .referral-feature .btn { width:100%; min-height:44px; padding:.6rem .7rem; font-size:.82rem; }
  .dashboard-side .referral-smallprint { font-size:.62rem; margin-top:.6rem; }
  .dashboard-side .referral-art { position:absolute; width:58px; height:auto; top:.4rem; right:.7rem; margin:0; }
}
@media(max-width:767px) { .dashboard-side { order:-1; } .dashboard-side .dashboard-tip { display:none; } .balance-card { display:grid; grid-template-columns:1fr auto; gap:.2rem .8rem; padding:1.1rem 1.25rem; } .balance-label { grid-column:1/-1; margin-bottom:.2rem; } .balance-card .stat-value { font-size:2.2rem; } .balance-today { margin:0; justify-self:end; align-self:center; max-width:130px; } .balance-card .progress, .balance-card .muted, .balance-wallet-link, .balance-card > .btn, .cashout-ready { grid-column:1/-1; } .balance-card .progress { margin-top:.6rem; } .balance-card .muted { margin:.35rem 0 .2rem; } .balance-wallet-link { border-top:0; padding-top:.25rem; } .dashboard-heading { margin-bottom:1rem; } }
@media(prefers-reduced-motion:reduce) { .ad-success > svg { animation:none; } .ad-viewer-progress .progress-bar { transition:none; } }
