/* Capyjar design layer, shared by every page: landing (.ev-landing), dashboard and sign-in (.ev-app), Terms and Privacy (.ev-legal).
   Apple's restraint: hierarchy from type and spacing, letter-spacing that changes with size, translucent chrome instead of hard
   dividers. Emil Kowalski's motion rules: one strong ease-out curve, under 300ms, press feedback on everything pressable, and no
   animation on things people repeat all day (hover, page switches). Each page links this after its own <style>, so a rule here
   beats an equally specific rule there. Colours stay Capyjar navy and blue. */

:root{--bg:var(--c-080f20);--surface:var(--c-0e1a30);--surface-2:var(--c-132441);--surface-3:var(--c-1b3256);--line:var(--c-1f3352);--line-2:var(--c-2d4a70);--line-strong:var(--c-5d86bb);--text:var(--c-eef4ff);--text-2:var(--c-c3d2ea);--muted:var(--c-98acca);--accent:var(--c-8fbcff);--accent-hover:var(--c-a9ccff);--accent-ink:var(--c-06142b);--material:var(--c-0b1628c4);--ev-edge:var(--c-24395a);--ev-focus:var(--c-a8cdff);--ev-radius:16px;--ease-out:cubic-bezier(.23,1,.32,1);--press:160ms;--hover:150ms;--display:Manrope,'DM Sans',system-ui,sans-serif;--body:'DM Sans',system-ui,'Segoe UI',sans-serif}

/* Base */
html{color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-size-adjust:100%;scrollbar-color:var(--c-2a4366) var(--bg)}
body{background:radial-gradient(1000px 560px at 82% -12%,var(--c-15305a) 0,transparent 62%) no-repeat,var(--bg);color:var(--text);font-family:var(--body)}
::selection{background:var(--c-6fa8ff59);color:var(--c-ffffff)}
h1,h2,h3{text-wrap:balance}
p,li,dd{text-wrap:pretty}
#wallet-balance,.member-stats strong,.owner-amount,.request-meta,.activity-row,.preview-balance,.preview-row em{font-variant-numeric:tabular-nums}
button:not(:disabled),summary,label[for]{cursor:pointer}
:is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--ev-focus);outline-offset:3px}

/* Type: tight tracking on display sizes, neutral body, slightly open small caps */
:is(.ev-landing,.ev-legal) :is(h1,h2,h3){font-family:var(--display)}
:is(.ev-landing h1,.ev-legal h1,.app .heading h1,.auth-panel h1,.owner-head h1){letter-spacing:-.035em;line-height:1.05}
:is(.ev-landing h2,.ev-legal h2,.app .panel h2,.app .catalog-heading h2,.app .feature-copy h2){letter-spacing:-.022em;line-height:1.15}
:is(.ev-landing h3,.app h3){letter-spacing:-.01em}
:is(.label,.eyebrow,.balance-caption){letter-spacing:.08em}

/* Brand mark */
.brand-mark{width:34px;height:34px;flex-shrink:0}
:is(.ev-landing,.ev-legal) .brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);font:700 21px/1 var(--display);letter-spacing:-.03em;text-decoration:none}

/* Chrome: a translucent layer content scrolls under; it gains an edge only once something is under it (ui.js) */
:is(.ev-landing .site-header,.ev-legal>header,.app .site-chrome){background:var(--material);-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);border:1px solid var(--c-ffffff10);box-shadow:inset 0 1px 0 var(--c-ffffff0d)}
[data-scrolled] :is(.ev-landing .site-header,.ev-legal>header,.app .site-chrome){box-shadow:inset 0 1px 0 var(--c-ffffff0d),0 16px 32px -16px var(--c-000000dd)}
.ev-legal>header{position:sticky;top:12px;z-index:20;width:calc(100% - 56px);max-width:844px;margin:12px auto 0;padding:10px 12px 10px 18px;border-radius:18px}
.ev-legal header nav{gap:2px}
.ev-legal header nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;color:var(--text-2);text-decoration:none;font-weight:600}

/* Buttons: one flat accent primary, one quiet secondary; everything pressable answers on press */
.ev-landing .button,.app .action-button:not(.secondary),.auth-panel #login-button,.auth-panel #save-password{background:var(--accent);color:var(--accent-ink);border:1px solid transparent;box-shadow:none;font-weight:700}
.app .action-button.secondary{background:transparent;color:var(--text);border:1px solid var(--line-2);box-shadow:none}
:is(.button,.action-button,.auth-panel button,.account-chip,.profile-links button,.text-button,.app .nav button,.partner-tile button,.range-buttons button,.profile-tabs button,.logout,.profile-close,.site-nav a,.ev-legal header nav a){transition:transform var(--press) var(--ease-out),background-color var(--hover) ease,border-color var(--hover) ease,color var(--hover) ease}
:is(.button,.action-button,.auth-panel button,.account-chip,.profile-links button,.text-button,.app .nav button,.partner-tile button,.range-buttons button,.profile-tabs button,.logout,.profile-close):not(:disabled):active{transform:scale(.97)}

/* Dashboard: quiet surfaces, no decorative drawings, no hover theatre */
.app .site-chrome{border-radius:20px}
.app .site-chrome .nav button[aria-current=page]{background:var(--surface-3);border-color:var(--c-ffffff14);box-shadow:inset 0 1px 0 var(--c-ffffff12);color:var(--text)}
.app .account-chip{background:var(--surface-2);border-color:var(--line-2);box-shadow:none}
.app :is(.panel,.card,.partner-tile,.reward-option){border-color:var(--ev-edge);box-shadow:inset 0 1px 0 var(--c-ffffff08)}
.app .feature-card{border-color:var(--line-2);box-shadow:inset 0 1px 0 var(--c-ffffff0f)}
.app .feature-survey{background:var(--c-15305a)}
.app .feature-game{background:var(--surface)}
.app :is(.survey-art,.game-art){display:none}
.app .feature-copy{max-width:520px}
.app .provider-logo{box-shadow:none}
.auth-panel{background:var(--surface);border:1px solid var(--line-2);box-shadow:0 30px 80px -24px var(--c-000000cc),inset 0 1px 0 var(--c-ffffff0d)}
.auth-panel input{background:var(--c-091426);border-color:var(--c-2f4a70)}
.auth-panel input:focus-visible,.app .field-form :is(input,select,textarea):focus-visible{outline:2px solid var(--ev-focus);outline-offset:2px;box-shadow:none}

/* Icons drawn as SVG */
:is(.nav-icon,.stat-icon,.icon-tile) svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app .nav-icon{display:inline-grid;place-items:center;width:18px;height:18px;margin-right:9px;opacity:.75}
.app .nav-icon svg{width:18px;height:18px}
.app .stat-icon svg{width:22px;height:22px}
.app .site-chrome .nav button{display:inline-flex;align-items:center}
.app .site-chrome .nav button[aria-current=page] .nav-icon{opacity:1;color:var(--c-a8cdff)}

/* Readable sizes: nothing informative below 11px; touch targets at least 44px */
.app .balance-caption{font-size:10px}
.app :is(.catalog-heading .label,.reward-option-copy .label){font-size:11px}
.app :is(.partner-state,.reward-coming,.member-info [role=status],.member-info .text-button){font-size:12px}
.app :is(.status-tag,.owner-badge,.owner-table th){font-size:11px}
.app>main>.banner{font-size:12px}
.app :is(.chart-note,.profile-chart>p){font-size:12px!important}
.app .intro-grid p{font-size:13px}
.app :is(.partner-tile button,.intro-grid .text-button,.member-info .text-button){min-height:44px}

/* Terms and Privacy */
.ev-legal h2{padding-top:28px;border-top:1px solid var(--line);scroll-margin-top:110px}
.ev-legal .intro{border:1px solid var(--line-2);border-left:3px solid var(--accent);background:var(--surface);color:var(--text-2)}
.ev-legal :is(p,li){max-width:70ch}
.ev-legal main a{text-decoration-color:var(--c-6fa8ff80)}
.ev-legal footer a{text-underline-offset:4px}

/* Hover only where a real pointer hovers, and only as a colour change */
@media(hover:hover) and (pointer:fine){
 .ev-landing .button:hover,.app .action-button:not(.secondary):not(:disabled):hover,.auth-panel #login-button:not(:disabled):hover,.auth-panel #save-password:not(:disabled):hover{background:var(--accent-hover);filter:none;box-shadow:none}
 .app .action-button.secondary:not(:disabled):hover{background:var(--c-ffffff0a);border-color:var(--line-strong)}
 .ev-legal header nav a:hover{background:var(--c-ffffff0d);color:var(--c-ffffff)}
 .app :is(.feature-card,.partner-tile,.card,.reward-option,.provider-card):hover{border-color:var(--ev-edge);box-shadow:inset 0 1px 0 var(--c-ffffff08)}
 .app .feature-card:hover{border-color:var(--line-2);background-position:0 0}
 .app :is(.partner-tile:hover .partner-brand,.reward-option:hover .reward-art){filter:none}
 .auth-panel input:hover:not(:focus){border-color:var(--c-4f78ad)}
 .auth-panel .google-button:not(:disabled):hover{filter:none;background:var(--c-plate)}
}

/* Motion: popovers grow from their trigger; the landing hero enters once. Page switches and hovers stay still. */
@keyframes ev-pop{from{opacity:0;transform:scale(.97)}}
@keyframes ev-enter{from{opacity:0;transform:translateY(8px)}}
@keyframes ev-fade{from{opacity:0}}
@media(prefers-reduced-motion:no-preference){
 .app .profile-popover:popover-open{transform-origin:top right;animation:ev-pop 180ms var(--ease-out) both}
 .ev-landing .hero-copy>*{animation:ev-enter 420ms var(--ease-out) backwards}
 .ev-landing .hero-copy>:nth-child(2){animation-delay:50ms}
 .ev-landing .hero-copy>:nth-child(3){animation-delay:100ms}
 .ev-landing .hero-copy>:nth-child(n+4){animation-delay:150ms}
 .ev-landing .hero-product{animation:ev-enter 520ms var(--ease-out) 120ms backwards}
}
@media(prefers-reduced-motion:reduce){
 .ev-landing :is(.hero-copy>*,.hero-product){animation:ev-fade 200ms ease backwards}
 :is(.button,.action-button,.auth-panel button,.account-chip,.text-button):active{transform:none}
}
@media(prefers-reduced-transparency:reduce){:is(.ev-landing .site-header,.ev-legal>header,.app .site-chrome){background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-contrast:more){:is(.ev-landing .site-header,.ev-legal>header,.app .site-chrome){background:var(--surface);border-color:var(--line-strong)}:is(.app .panel,.app .card,.app .partner-tile){border-color:var(--line-strong)}}

/* Small screens */
@media(max-width:760px){
 .app .nav-icon{display:none}
 .app .site-chrome .nav button{justify-content:center;min-height:44px}
 .app .account-chip .balance-caption{font-size:9px;letter-spacing:.06em}
 .app :is(.member-stats div>span:not(.stat-icon),.profile-tabs button){font-size:12px}
}
@media(max-width:500px){
 .ev-legal>header{width:calc(100% - 40px);padding:10px 12px}
 .ev-legal header nav{margin-left:-14px}
}

/* Hover highlights: a lighter surface and a bright edge on anything you can press, as a quick colour change */
:is(.feature-card,.partner-tile,.card,.reward-option,.provider-card,.op-tile,.survey-card,.wall-tile){transition:background-color var(--hover) ease,border-color var(--hover) ease,color var(--hover) ease}
@media(hover:hover) and (pointer:fine){
 .app .site-chrome .nav button:not([aria-current=page]):hover{background:var(--hover-fill);border-color:var(--hover-line);color:var(--hover-text)}
 .app :is(.feature-card,.partner-tile,.card,.reward-option,.provider-card,.op-tile-action,.survey-card,.wall-tile):hover{border-color:var(--hover-line);background-color:var(--hover-surface)}
 .app :is(.action-button.secondary,.account-chip,.profile-links button,.logout,.text-button):not(:disabled):hover{background-color:var(--hover-fill);border-color:var(--hover-line);color:var(--hover-text)}
 .app .theme-choice label:hover{border-color:var(--hover-line);background:var(--hover-fill)}
}
/* Appearance setting */
.theme-choice{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.theme-choice label{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line-2);border-radius:12px;font-weight:600;cursor:pointer}
.theme-choice input{accent-color:var(--accent);margin:0}
.theme-choice label:has(input:checked){border-color:var(--accent);background:var(--surface-3)}

/* Survey cards: length, reward and rating at a glance, one tap to start */
.survey-browser{margin:0 0 28px}
.survey-browser-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}
.survey-browser-head h2{margin:0 0 4px;font:700 20px/1.2 var(--display);letter-spacing:-.02em}
.survey-browser-head p{margin:0;color:var(--muted);font-size:13px}
.survey-sort{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}
.survey-sort select{min-height:40px;padding:0 12px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--text);font:600 13px var(--body)}
.survey-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:12px}
.survey-strip{grid-template-columns:repeat(5,minmax(0,1fr))}
.survey-strip:empty{display:none}
.survey-card{display:grid;gap:8px;min-height:118px;padding:14px 16px 12px;text-align:left;border:1px solid var(--ev-edge);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}
.survey-card:active{transform:scale(.98)}
.survey-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}
.survey-time{display:inline-flex;align-items:center;gap:6px}
.survey-time svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.survey-provider{padding:3px 6px;border-radius:6px;background:var(--surface-3);color:var(--accent);font:800 9px/1.2 var(--display);letter-spacing:.06em}
.survey-reward{font:800 22px/1.1 var(--display);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.survey-stars{display:flex;gap:3px;padding-top:9px;border-top:1px solid var(--line)}
.survey-stars i{width:11px;height:11px;background:var(--line-2);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.survey-stars i.on{background:var(--c-f5b301)}
.survey-pager{display:flex;justify-content:center;align-items:center;gap:16px;margin:18px 0 6px;font-weight:700;font-variant-numeric:tabular-nums}
.pager-button{width:40px;height:40px;border:1px solid var(--line-2);border-radius:50%;background:var(--surface);color:var(--text);font-size:20px;line-height:1;cursor:pointer}
.pager-button:disabled{opacity:.35;cursor:default}
.survey-wall-note{text-align:center;color:var(--muted);font-size:13px}
.survey-dialog{width:min(980px,calc(100vw - 32px));height:min(780px,calc(100dvh - 32px));padding:0;border:1px solid var(--line-2);border-radius:18px;background:var(--surface);color:var(--text);overflow:hidden}
.survey-dialog[open]{display:grid;grid-template-rows:auto 1fr}
.survey-dialog::backdrop{background:var(--c-020817b3)}
.survey-dialog-bar{display:flex;align-items:center;gap:16px;padding:10px 12px 10px 18px;border-bottom:1px solid var(--line);font-weight:700;font-size:14px}
.survey-dialog-bar a{margin-left:auto;color:var(--accent);font-size:13px}
.survey-dialog-bar .action-button{min-height:38px;margin:0}
.survey-dialog iframe{width:100%;height:100%;border:0;background:var(--c-plate)}
@media(hover:hover) and (pointer:fine){.pager-button:not(:disabled):hover{border-color:var(--hover-line);background:var(--hover-fill)}}
@media(max-width:1050px){.survey-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.survey-strip .survey-card:nth-child(n+4){display:none}}
@media(max-width:620px){.survey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-strip .survey-card:nth-child(n+3){display:none}.survey-browser-head{flex-direction:column;align-items:stretch}.survey-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}}

/* Five menu items on a phone: one row of equal buttons instead of a wrapped second line */
@media(max-width:620px){.app .site-chrome .nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.app .site-chrome .nav button{min-width:0;padding:10px 2px;font-size:12px;white-space:nowrap;justify-content:center}.app .site-chrome .nav .nav-icon{display:none}}

/* The logo is a button back to Overview: no button chrome, a press like every other button */
.app .top>button.logo{margin:0;padding:0;border:0;border-radius:10px;background:none;cursor:pointer;transition:transform var(--press) var(--ease-out),opacity var(--hover) ease}
.app .top>button.logo:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){.app .top>button.logo:hover{opacity:.85}}

/* Provider logo on survey cards: small, beside an optional Webcam tag */
.survey-side{display:inline-flex;align-items:center;gap:6px}
.survey-provider-logo{display:block;width:18px;height:18px}

/* The brand mark follows the theme: its colours are written into the SVG, so they are pointed at the theme's own here. */
.brand-mark path:nth-child(1){fill:var(--c-1a3358);stroke:var(--c-6fa8ff)}.brand-mark path:nth-child(2){stroke:var(--c-a8cdff)}.brand-mark path:nth-child(3){stroke:var(--c-6fa8ff)}

/* Capyjar's cursor: a soft mint arrow, stronger over things you can click. Mouse and trackpad only, so phones never
   load it; text boxes keep the text cursor and disabled controls keep theirs. */
@media (pointer:fine){html{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cdefs%3E%3Cfilter id='g' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='1.8'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M5 3 L22.5 13.6 L14.4 15.2 L10.6 23 Z' fill='%237ceab7' opacity='.45' filter='url%28%23g%29'/%3E%3Cpath d='M5 3 L22.5 13.6 L14.4 15.2 L10.6 23 Z' fill='%237ceab7' fill-opacity='.5' stroke='%230b2a1d' stroke-opacity='.55' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3,auto}:is(a[href],button,[role=button],[role=tab],[role=option],summary,label,select,.method-tile,.quick-amount):not(:disabled):not([aria-disabled=true]){cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cdefs%3E%3Cfilter id='g' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='1.8'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M5 3 L22.5 13.6 L14.4 15.2 L10.6 23 Z' fill='%237ceab7' opacity='.7' filter='url%28%23g%29'/%3E%3Cpath d='M5 3 L22.5 13.6 L14.4 15.2 L10.6 23 Z' fill='%237ceab7' fill-opacity='.85' stroke='%230b2a1d' stroke-opacity='.55' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3,pointer!important}:is(input:not([type=checkbox]):not([type=radio]),textarea,[contenteditable=true]){cursor:text}}

/* ===== Capyjar alive layer (2026-11-21): glow, colour and press feedback on top of the dark theme. Hover effects need a
   mouse; motion goes away with prefers-reduced-motion. Second colours: violet for offers and counts, amber for payouts. */
:root{--ev-violet:var(--c-a78bfa);--ev-amber:var(--c-fbbf24);--ev-teal:var(--c-5eead4);--ev-glow:color-mix(in srgb,var(--accent) 45%,transparent);--ev-glow-soft:color-mix(in srgb,var(--accent) 18%,transparent)}
body.ev-app,body.ev-landing{background:radial-gradient(900px 520px at 88% -8%,color-mix(in srgb,var(--accent) 11%,transparent),transparent 62%),radial-gradient(760px 520px at -8% 38%,color-mix(in srgb,var(--ev-violet) 8%,transparent),transparent 60%),var(--bg);background-attachment:fixed}

/* Headings: the page title catches the light; the small label above it becomes a pill with a live dot. */
.ev-app .heading h1,.ev-app .profile-hero-name h1{background:linear-gradient(100deg,var(--text) 35%,var(--accent) 120%);-webkit-background-clip:text;background-clip:text;color:transparent}
.ev-app .heading>.label{display:inline-flex;align-items:center;gap:8px;padding:5px 11px;border:1px solid var(--ev-glow-soft);border-radius:99px;background:color-mix(in srgb,var(--accent) 8%,transparent)}
.ev-app .heading>.label::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent)}

/* Buttons: the main one is a mint-to-teal gradient with a soft glow; every button gives way a little when pressed. */
.ev-app .action-button:not(.secondary),.ev-landing .button:not(.button-quiet){background:linear-gradient(135deg,var(--accent),var(--ev-teal));color:var(--accent-ink);box-shadow:0 8px 24px -10px var(--ev-glow)}
.ev-app :is(.action-button,.text-button,.quick-amount,.max-button,.nav button,.method-tile,.dialog-close),.ev-landing .button{transition:transform 160ms var(--ease-out),box-shadow 200ms ease,border-color 200ms ease,background-color 200ms ease,color 200ms ease,filter 200ms ease}
.ev-app :is(.action-button,.quick-amount,.max-button,.nav button,.dialog-close):not(:disabled):active,.ev-landing .button:active{transform:scale(.97)}

/* Cards and tiles share one hover: the edge lights up in mint and a soft glow rises; clickable ones also lift. */
.ev-app :is(.feature-card,.survey-card,.offer-tile,.provider-card,.method-tile,.profile-stat,.settings-card,.request-row,.panel,.verify-list,.activity-list,.profile-hero){transition:border-color 200ms ease,box-shadow 240ms ease,transform 240ms var(--ease-out)}
@media (hover:hover) and (pointer:fine){
 .ev-app :is(.feature-card,.survey-card,.offer-tile,.provider-card,.method-tile,.gift-tile,.profile-stat,.settings-card,.request-row,.verify-list,.activity-list,.profile-hero):hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 0 0 1px var(--ev-glow-soft),0 18px 44px -22px var(--ev-glow)}
 .ev-app :is(.survey-card,.offer-tile,.method-tile,.gift-tile,.feature-card):hover{transform:translateY(-3px)}
 .ev-app .action-button:not(.secondary):not(:disabled):hover,.ev-landing .button:not(.button-quiet):hover{filter:brightness(1.06);box-shadow:0 10px 30px -8px var(--ev-glow)}
 .ev-app :is(.action-button.secondary,.text-button,.quick-amount,.max-button):not(:disabled):hover{box-shadow:0 0 0 1px var(--ev-glow-soft),0 6px 20px -10px var(--ev-glow)}
 .ev-app .account-chip:hover{box-shadow:0 0 0 1px var(--ev-glow-soft),0 8px 26px -12px var(--ev-glow)}
}

/* Top navigation: the page you're on is a lit mint pill; the others glow softly on hover. */
.ev-app .site-chrome .nav button[aria-current=page]{background:color-mix(in srgb,var(--accent) 13%,var(--surface));color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 38%,transparent),0 6px 22px -12px var(--ev-glow)}
.ev-app .site-chrome .nav button[aria-current=page] .nav-icon{color:var(--accent)}
@media (hover:hover) and (pointer:fine){.ev-app .site-chrome .nav button:not([aria-current=page]):hover{background:color-mix(in srgb,var(--accent) 7%,transparent);color:var(--text)}}

/* Overview: each feature card gets its own colour, mint for surveys and violet for offers. */
.ev-app .feature-card.feature-survey{background:radial-gradient(130% 150% at 100% 0%,color-mix(in srgb,var(--accent) 24%,transparent),transparent 58%),var(--surface)}
.ev-app .feature-card.feature-game{background:radial-gradient(130% 150% at 100% 0%,color-mix(in srgb,var(--ev-violet) 24%,transparent),transparent 58%),var(--surface)}
.ev-app .feature-card.feature-game .label{color:var(--ev-violet)}

/* Profile tabs: a soft pill on hover and a glowing underline on the open one. */
#member-profile .profile-tabs{gap:6px}
#member-profile .profile-tabs button{border-radius:10px 10px 0 0;transition:color 160ms ease,background-color 160ms ease}
@media (hover:hover) and (pointer:fine){#member-profile .profile-tabs button:hover{background:color-mix(in srgb,var(--accent) 8%,transparent);color:var(--text)}}
#member-profile .profile-tabs button[aria-selected="true"]::after{height:3px;box-shadow:0 0 14px var(--accent),0 0 4px var(--accent)}
#member-profile .profile-tabs button[aria-selected="true"]{background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--accent) 9%,transparent))}

/* Profile stats: each has its own colour and icon. */
.profile-stat{position:relative;overflow:hidden}
.profile-stat::after{content:"";position:absolute;inset:auto -30% -60% auto;width:160px;height:160px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--stat,var(--accent)) 16%,transparent),transparent);pointer-events:none}
.stat-chip{display:grid;place-items:center;width:38px;height:38px;margin-bottom:6px;border-radius:12px;background:color-mix(in srgb,var(--stat,var(--accent)) 16%,transparent);color:var(--stat,var(--accent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--stat,var(--accent)) 28%,transparent)}
.stat-chip svg{width:20px;height:20px}
.profile-stat strong{color:var(--stat,var(--text))!important}
.stat-mint{--stat:var(--accent)}.stat-teal{--stat:var(--ev-teal)}.stat-violet{--stat:var(--ev-violet)}.stat-amber{--stat:var(--ev-amber)}

/* Settings fill the width: cards sit side by side and wrap on smaller screens. */
.settings-stack{max-width:none!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));align-items:start}
.settings-stack>.account-privacy-note{grid-column:1/-1}

/* Cash out: the bank tile and the money figures pick up the glow. */
.method-tile[data-selected="true"]{box-shadow:0 0 0 1px var(--ev-glow-soft),0 16px 40px -22px var(--ev-glow)}
.method-art{background:radial-gradient(120% 120% at 50% 0%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 70%),var(--surface-2)!important}
#cashout-receive,.cashout-confirm-total dd{text-shadow:0 0 18px var(--ev-glow-soft)}

@media (prefers-reduced-motion:reduce){
 .ev-app *,.ev-landing *{transition-duration:0ms!important}
 .ev-app :is(.survey-card,.offer-tile,.method-tile,.feature-card):hover,.ev-app :is(.action-button,.quick-amount,.max-button,.nav button,.dialog-close):active,.ev-landing .button:active{transform:none!important}
}

/* Spark wordmark (22 Nov 2026): the dot of the i is a green spark. */
.wordmark{display:inline-flex;align-items:baseline;font:800 25px/1 var(--display);letter-spacing:-.045em;color:var(--text);white-space:nowrap}.wordmark i{position:relative;font-style:normal}.wordmark i svg{position:absolute;left:50%;top:-.13em;width:.48em;height:.48em;transform:translateX(-50%);fill:var(--accent);filter:drop-shadow(0 0 5px color-mix(in srgb,var(--accent) 50%,transparent))}.logo .wordmark,.brand .wordmark{font-size:27px}.auth-panel .logo .wordmark{font-size:30px}
/* 22 Nov 2026: while a pop-up is open (a survey, the cash-out form) the page behind it stays still. Scrolling past the
   end of a survey used to move the page underneath, and on phones the address bar then slid and resized the survey. */
html:has(dialog[open]){overflow:hidden}
/* 22 Nov 2026: the legal pages' header has five links (FAQ, About, Terms, Privacy, Contact); on a phone they wrap. */
.ev-legal header nav{flex-wrap:wrap;column-gap:18px;row-gap:4px}
/* Live earnings strip (22 Nov 2026), dashboard and home page: built by live-feed.mjs. */
.live-strip{display:flex;align-items:center;gap:12px;margin:14px auto 4px;padding:8px 10px 8px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}.live-strip[hidden]{display:none}.live-label{display:inline-flex;align-items:center;gap:7px;flex:none;font:800 12px/1 var(--display);letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}.live-label i{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:live-pulse 2s ease-out infinite}@keyframes live-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 60%,transparent)}100%{box-shadow:0 0 0 8px transparent}}.live-marquee{flex:1;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent);mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent)}.live-track{display:flex;width:max-content;animation:ev-loop-right var(--loop-time,30s) linear infinite}.live-track.is-still{animation:none}.live-marquee:hover .live-track{animation-play-state:paused}.live-group{display:flex;gap:10px;padding-right:10px}.live-chip{display:flex;align-items:center;gap:10px;flex:none;padding:7px 12px 7px 7px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.live-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent);font:800 13px/1 var(--display)}.live-text{display:grid;gap:2px;line-height:1.15}.live-text strong{font:700 13px/1.15 var(--display);color:var(--text)}.live-text span{font-size:11px;color:var(--muted);white-space:nowrap}.live-amount{font:800 14px/1 var(--display);color:var(--accent);font-variant-numeric:tabular-nums}@keyframes ev-loop-right{from{transform:translateX(calc(-1 * var(--loop,50%)))}to{transform:translateX(0)}}@media(max-width:480px){.live-strip{gap:8px;padding:7px 8px 7px 10px}.live-label{font-size:11px}}@media(prefers-reduced-motion:reduce){.live-track{animation:none}.live-label i{animation:none}.live-marquee{overflow-x:auto}}
/* Live strip on phones (22 Nov 2026, owner: show more than one person at once): compact cards, no initial circle,
   short provider name, the pulsing dot without the word. */
.live-prov-short{display:none}@media(max-width:480px){.live-strip{gap:8px;padding:6px 6px 6px 10px}.live-label{font-size:0;gap:0}.live-avatar{display:none}.live-chip{gap:8px;padding:6px 10px;border-radius:10px}.live-group{gap:6px;padding-right:6px}.live-text strong{font-size:12px}.live-text span{font-size:10px}.live-amount{font-size:12px}.live-prov-long{display:none}.live-prov-short{display:inline}}
