/* V5.9 FOUNDATION — consolidated cascade: design system + polish + font floor + mature UI */


/* ==========================================================
   DOUVI V5.2 — UNIFIED DESIGN SYSTEM
   Loaded after legacy styles.css to provide one visual grammar.
   ========================================================== */

:root{
  --ds-space-2xs:4px;
  --ds-space-xs:8px;
  --ds-space-sm:12px;
  --ds-space-md:16px;
  --ds-space-lg:24px;
  --ds-space-xl:32px;
  --ds-space-2xl:48px;
  --ds-space-3xl:72px;

  --ds-radius-sm:12px;
  --ds-radius-md:16px;
  --ds-radius-lg:22px;
  --ds-radius-xl:28px;
  --ds-radius-round:999px;

  --ds-control-h:46px;
  --ds-content:1180px;
  --ds-reading:760px;
  --ds-accent:#91e7b6;
  --ds-accent-rgb:145,231,182;
  --ds-accent-soft:rgba(var(--ds-accent-rgb),.10);
  --ds-accent-line:rgba(var(--ds-accent-rgb),.22);
  --ds-focus:0 0 0 3px rgba(var(--ds-accent-rgb),.24);
}

html[data-theme="light"]{
  --ds-accent:#168f59;
  --ds-accent-rgb:22,143,89;
}

/* Product personality stays inside the same green/teal/mint family. */
body[data-ds-context="life"]{
  --ds-accent:#78dfc3;
  --ds-accent-rgb:120,223,195;
}
html[data-theme="light"] body[data-ds-context="life"]{
  --ds-accent:#138b72;
  --ds-accent-rgb:19,139,114;
}
body[data-ds-context="work"]{
  --ds-accent:#8ddd9f;
  --ds-accent-rgb:141,221,159;
}
html[data-theme="light"] body[data-ds-context="work"]{
  --ds-accent:#238d51;
  --ds-accent-rgb:35,141,81;
}
body[data-ds-context="play"]{
  --ds-accent:#7fd4d4;
  --ds-accent-rgb:127,212,212;
}
html[data-theme="light"] body[data-ds-context="play"]{
  --ds-accent:#147e83;
  --ds-accent-rgb:20,126,131;
}
body[data-ds-context="experiment"]{
  --ds-accent:#b4df91;
  --ds-accent-rgb:180,223,145;
}
html[data-theme="light"] body[data-ds-context="experiment"]{
  --ds-accent:#628e35;
  --ds-accent-rgb:98,142,53;
}

/* Bridge new context tokens into old component variables. */
body[data-ds-context]{
  --accent:var(--ds-accent);
  --accent-soft:var(--ds-accent-soft);
  --accent-line:var(--ds-accent-line);
}

/* Baseline */
html{scroll-padding-top:82px}
body{
  min-height:100vh;
  font-size:15px;
  line-height:1.55;
}
.shell{width:min(calc(100% - 32px),var(--ds-content))}
.section{padding:var(--ds-space-3xl) 0}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
:focus-visible{
  outline:none!important;
  box-shadow:var(--ds-focus)!important;
}

/* Header: intentionally quiet and reusable everywhere. */
.labs-header{
  background:color-mix(in srgb,var(--bg) 88%,transparent);
  border-bottom:1px solid var(--line-2);
}
.labs-nav{height:66px;gap:16px}
.labs-brand{gap:10px;font-size:16px}
.labs-brand img{
  width:38px;height:38px;border-radius:13px;
  box-shadow:none;
}
.labs-public-nav{gap:22px;font-size:12px}
.labs-public-nav a:after{background:var(--ds-accent)}
.labs-public-nav a.is-active{color:var(--text)}
.labs-navtools{gap:7px}
.labs-account-chip,.tool-btn,.lang,.menu-btn{
  min-height:42px;
  border-radius:var(--ds-radius-sm);
}
.labs-account-chip{
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  background:var(--surface);
  font-size:10px;
  font-weight:800;
}
.labs-account-chip.is-signed-in:before{
  content:"";
  width:7px;height:7px;border-radius:50%;
  background:var(--ds-accent);
  box-shadow:0 0 0 4px var(--ds-accent-soft);
  margin-right:8px;
}

/* One button grammar */
.btn{
  min-height:48px;
  padding:0 17px;
  border-radius:var(--ds-radius-md);
  font-size:12px;
  font-weight:800;
  letter-spacing:-.01em;
  box-shadow:none;
}
.btn:after{display:none}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--text);
  color:var(--bg);
}
.btn-secondary{
  background:var(--surface);
  border-color:var(--line);
}
.btn-secondary:hover{border-color:var(--ds-accent-line)}
.btn:disabled{opacity:.48;cursor:not-allowed;transform:none}

/* One badge grammar */
.eyebrow,.kicker,.portfolio-status,.work-detail-badges>span,
.mind-tool-top>span:last-child,.daily-tool-top>span:last-child{
  letter-spacing:.08em;
}
.eyebrow{
  min-height:34px;
  padding:0 11px;
  border-radius:var(--ds-radius-round);
  font-size:10px;
  font-weight:850;
}
.eyebrow i{
  width:7px;height:7px;
  background:var(--ds-accent);
  box-shadow:0 0 0 5px var(--ds-accent-soft);
}
.kicker{
  color:var(--ds-accent);
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
}

/* Cards share structure; context changes accent, not layout. */
.portfolio-card,
.labs-v5-category,
.labs-product-row,
.labs-game-card,
.labs-experiment-card,
.labs-principles article,
.work-detail-panel,
.mind-tool-card,.money-tool-card,.life-tool-card,.daily-tool-card,
.mind-history-card,.money-history-card,.life-history-card,.daily-history-card,
.mind-game-card,.money-game-card,.life-game-card,.daily-game-card,
.weekly-challenge-card,.weekly-board,.season-board,
.progress-panel,.achievement-card{
  border-radius:var(--ds-radius-lg)!important;
  box-shadow:none!important;
}
.portfolio-card:hover,
.labs-product-row:hover,
.labs-game-card:hover,
.labs-experiment-card:hover{
  border-color:var(--ds-accent-line);
}

/* Public portfolio hero */
.labs-v5-hero,
.labs-hub-hero,
.work-detail-hero{
  position:relative;
  overflow:hidden;
}
.labs-v5-hero:before,
.labs-hub-hero:before,
.work-detail-hero:before{
  content:"";
  position:absolute;
  width:520px;height:520px;
  border-radius:50%;
  right:-260px;top:-260px;
  pointer-events:none;
  background:radial-gradient(circle,rgba(var(--ds-accent-rgb),.13),rgba(var(--ds-accent-rgb),0) 70%);
}
.labs-v5-hero .shell,
.labs-hub-hero .shell,
.work-detail-hero .shell{position:relative;z-index:1}

.labs-v5-hero h1{
  max-width:1000px;
  font-size:clamp(52px,7.5vw,90px);
  line-height:.94;
}
.labs-hub-hero h1,
.work-detail-copy h1{
  font-size:clamp(44px,6.5vw,72px);
  line-height:.96;
}
.labs-v5-hero .lead,.labs-hub-hero .lead,.work-detail-copy .lead{
  max-width:var(--ds-reading);
  font-size:17px;
}

/* Portfolio cards */
.portfolio-card{
  min-height:294px;
  padding:18px;
}
.portfolio-visual{
  border-radius:var(--ds-radius-md);
  color:var(--ds-accent);
}
.portfolio-card h3{font-size:26px}
.portfolio-card p{font-size:11px}
.portfolio-card-foot b{color:var(--ds-accent)}
.portfolio-status.is-live{
  color:var(--ds-accent);
  border-color:var(--ds-accent-line);
  background:var(--ds-accent-soft);
}

/* Detail pages */
.work-detail-grid{gap:32px}
.work-detail-visual{
  border-radius:32px;
  background:
    radial-gradient(circle at 25% 20%,var(--ds-accent-soft),transparent 11rem),
    var(--surface-2);
  color:var(--ds-accent);
}
.work-summary{font-size:18px}
.work-tags span{border-radius:var(--ds-radius-round)}

/* Existing Product pages get same chrome, but preserve product-specific content. */
.labs-origin-strip{
  padding:10px 0;
  background:color-mix(in srgb,var(--bg) 94%,transparent);
}
.labs-origin-strip a{color:var(--ds-accent)}

/* Experiments: clean and focused. */
.mind-game-page,.money-game-page,.life-game-page,.daily-game-page,
.mind-hub-page,.money-hub-page,.life-hub-page,.daily-hub-page{
  --accent:var(--ds-accent);
}
.mind-game-hero,.money-game-hero,.life-game-hero,.daily-game-hero{
  padding-top:32px;
}
.mind-game-hero h1,.money-game-hero h1,.life-game-hero h1,.daily-game-hero h1{
  font-size:clamp(38px,6vw,64px);
  max-width:820px;
}
.mind-back,.money-back,.life-back,.daily-back{
  display:inline-flex;
  min-height:40px;
  align-items:center;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
}
.mind-meta,.money-meta,.life-meta,.daily-meta{
  color:var(--muted);
  font-size:10px;
}

/* Forms and interactive choices */
input,select,textarea{
  border-radius:var(--ds-radius-md)!important;
}
input:not([type="checkbox"]):not([type="radio"]),
select,textarea{
  min-height:46px;
}
.weekly-option,.logic-option,.money-option,.life-option,
.mind-choice,.daily-choice{
  border-radius:var(--ds-radius-md)!important;
}

/* Identity/progression pages */
body[data-ds-context="identity"] .progress-hero,
body[data-ds-context="identity"] .weekly-hero,
body[data-ds-context="identity"] .season-hero{
  background:
    radial-gradient(circle at 86% 12%,var(--ds-accent-soft),transparent 23rem);
}
.progress-panel-head h2,.weekly-board-head h2,.season-board-head h2{
  letter-spacing:-.035em;
}

/* Game mode: game content gets priority over company navigation. */
body[data-ds-context="play"].protected-game-body .labs-public-nav{display:none}
body[data-ds-context="play"].protected-game-body .labs-nav{height:58px}
body[data-ds-context="play"].protected-game-body .game-origin-label{
  background:var(--surface);
  color:var(--ds-accent);
  border-bottom:1px solid var(--line-2);
}
body[data-ds-context="play"].protected-game-body .protected-player{
  min-height:calc(100vh - 86px);
}

/* Account menu is part of the same component system. */
.labs-account-panel{
  border-radius:var(--ds-radius-lg);
  box-shadow:0 26px 80px rgba(0,0,0,.26);
}
.labs-account-avatar,.labs-menu-icon,.labs-account-close{
  border-radius:var(--ds-radius-sm);
}
.labs-menu-icon{color:var(--ds-accent)}
.labs-account-links>a{border-radius:var(--ds-radius-sm)}
.labs-signout{border-radius:var(--ds-radius-sm)}

/* Context chip injected by design-system.js.
   It stays subtle and only appears on detail/experience pages. */
.ds-context-strip{
  border-bottom:1px solid var(--line-2);
  background:color-mix(in srgb,var(--bg) 95%,transparent);
}
.ds-context-strip>.shell{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.ds-context-label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:8px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.ds-context-label:before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--ds-accent);
}
.ds-context-back{
  color:var(--muted);
  font-size:8px;
  font-weight:800;
}
.ds-context-back:hover{color:var(--text)}

/* Mobile-first reductions */
@media(max-width:980px){
  .labs-public-nav{display:none}
  .labs-menu-btn{display:grid}
}

@media(max-width:720px){
  :root{--ds-control-h:44px}
  html{scroll-padding-top:68px}
  .shell{width:min(calc(100% - 24px),var(--ds-content))}
  .section{padding:50px 0}

  .labs-nav{height:60px;gap:7px}
  .labs-brand img{width:35px;height:35px;border-radius:12px}
  .labs-brand span{font-size:13px}
  .labs-theme,.labs-lang{display:none}
  .labs-account-chip{
    min-height:38px;
    max-width:112px;
    padding:0 9px;
    font-size:9px;
  }
  .labs-menu-btn{width:38px;min-width:38px;height:38px;padding:0}

  .labs-v5-hero{padding:48px 0 43px}
  .labs-v5-hero h1{font-size:43px;line-height:.96}
  .labs-v5-hero .lead{font-size:15px}
  .labs-hub-hero{padding:44px 0 22px}
  .labs-hub-hero h1{font-size:40px}

  .btn{width:auto;min-height:46px}
  .hero-actions{display:grid;grid-template-columns:1fr}
  .hero-actions .btn{width:100%}

  .portfolio-card{min-height:235px;padding:16px}
  .portfolio-card-meta{margin-top:24px}
  .portfolio-card h3{font-size:24px}
  .portfolio-visual{width:52px;height:52px}

  .work-detail-grid{grid-template-columns:1fr;gap:18px}
  .work-detail-visual{width:104px;height:104px;border-radius:25px}
  .work-detail-copy h1{font-size:43px}
  .work-summary{font-size:16px}

  .mind-game-hero,.money-game-hero,.life-game-hero,.daily-game-hero{padding-top:22px}
  .mind-game-hero h1,.money-game-hero h1,.life-game-hero h1,.daily-game-hero h1{font-size:39px}

  .ds-context-strip>.shell{min-height:34px}
  .ds-context-back{display:none}

  body[data-ds-context="play"].protected-game-body .labs-brand span{display:none}
  body[data-ds-context="play"].protected-game-body .labs-account-chip{max-width:96px}
}

@media(max-width:390px){
  .labs-brand span{display:none}
  .labs-v5-hero h1{font-size:39px}
  .labs-hub-hero h1{font-size:37px}
  .portfolio-grid{grid-template-columns:1fr!important}
}

/* Respect users who prefer less motion. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}


/* ===== V5.3 — Analytics / Experiment Funnel ===== */
.analytics-privacy-section{padding-top:28px}
.analytics-privacy-section .privacy-card{padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--surface-2)}
.analytics-privacy-section h2{font-size:30px;margin:7px 0 9px}
.analytics-privacy-section p{max-width:820px;color:var(--muted);line-height:1.65}
.analytics-privacy-section [data-analytics-toggle][data-enabled="0"]{border-color:var(--accent-line);color:var(--text)}

.analytics-dashboard-page{min-height:100vh}
.analytics-dashboard-hero{padding:58px 0 20px}
.analytics-dashboard-hero h1{font-size:clamp(48px,7vw,76px)}
.analytics-toolbar{display:flex;align-items:end;gap:8px;margin-top:22px}
.analytics-toolbar label{display:grid;gap:5px}
.analytics-toolbar label span{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:850}
.analytics-toolbar select{min-width:150px;padding:0 12px;border:1px solid var(--line);background:var(--surface);color:var(--text)}
.analytics-state{margin-top:15px;color:var(--muted);font-size:11px;line-height:1.6}
.analytics-state b{color:var(--text)}
.analytics-section-tight{padding-top:18px}
.analytics-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.analytics-metrics article{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface-2)}
.analytics-metrics span{display:block;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:850}
.analytics-metrics strong{display:block;margin-top:7px;font-size:31px;letter-spacing:-.04em}
.analytics-panel{padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface-2)}
.analytics-panel-head h2{font-size:28px;margin:6px 0 15px}
.analytics-funnel{display:grid;grid-template-columns:repeat(7,auto);align-items:center;gap:9px}
.analytics-funnel>div{min-width:120px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.analytics-funnel span{display:block;color:var(--muted);font-size:8px;letter-spacing:.08em;font-weight:850}
.analytics-funnel strong{display:block;margin-top:6px;font-size:27px}
.analytics-funnel small{display:block;margin-top:3px;color:var(--accent);font-size:9px;font-weight:800}
.analytics-funnel>i{font-style:normal;color:var(--muted)}
.analytics-table-wrap{overflow:auto}
.analytics-table{width:100%;border-collapse:collapse;min-width:680px}
.analytics-table th,.analytics-table td{padding:11px 10px;border-bottom:1px solid var(--line-2);text-align:left;font-size:10px}
.analytics-table th{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.06em}
.analytics-two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.analytics-day{display:grid;gap:5px;margin-bottom:9px}
.analytics-day-label{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted)}
.analytics-day-label b{color:var(--text)}
.analytics-day-track{height:6px;border-radius:999px;background:var(--surface);overflow:hidden}
.analytics-day-track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}
.analytics-empty{color:var(--muted);font-size:10px}
@media(max-width:800px){
  .analytics-metrics{grid-template-columns:1fr 1fr}
  .analytics-funnel{display:flex;overflow:auto;padding-bottom:4px}
  .analytics-funnel>i{display:none}
  .analytics-funnel>div{min-width:128px}
  .analytics-two-col{grid-template-columns:1fr}
}
@media(max-width:430px){
  .analytics-toolbar{display:grid;grid-template-columns:1fr}
  .analytics-toolbar select,.analytics-toolbar .btn{width:100%}
  .analytics-metrics article{padding:14px}
  .analytics-metrics strong{font-size:26px}
}


/* ===== V5.5 — Growth Loop ===== */
.growth-incoming{
  border-bottom:1px solid var(--accent-line);
  background:color-mix(in srgb,var(--accent-soft) 68%,var(--bg));
}
.growth-incoming-inner{
  min-height:58px;
  display:grid;
  grid-template-columns:36px 1fr 34px;
  gap:10px;
  align-items:center;
}
.growth-incoming-icon{
  width:34px;height:34px;border-radius:11px;
  display:grid;place-items:center;
  background:var(--surface);
  border:1px solid var(--accent-line);
  color:var(--accent);
  font-size:13px;
}
.growth-incoming small{
  display:block;color:var(--accent);font-size:7px;font-weight:900;letter-spacing:.09em;
}
.growth-incoming b{
  display:block;margin-top:3px;font-size:11px;
}
.growth-incoming-close,.growth-modal-close{
  border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;
}
.growth-incoming-close{
  width:32px;height:32px;border-radius:10px;font-size:18px;
}
.growth-modal{
  position:fixed;inset:0;z-index:900;
  display:grid;place-items:center;padding:18px;
  background:rgba(1,8,5,.62);backdrop-filter:blur(7px);
}
.growth-modal-card{
  width:min(520px,100%);
  position:relative;
  padding:25px;
  border:1px solid var(--accent-line);
  border-radius:25px;
  background:radial-gradient(circle at 88% 12%,var(--accent-soft),transparent 15rem),var(--bg);
  box-shadow:0 30px 100px rgba(0,0,0,.38);
}
.growth-modal-close{
  position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:11px;font-size:19px;
}
.growth-modal-card h2{
  font-size:31px;line-height:1.04;margin:9px 38px 10px 0;
}
.growth-modal-card>p{
  color:var(--muted);line-height:1.6;margin:0;
}
.growth-modal-actions{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;
}
.growth-modal-actions .btn{width:100%}
.growth-outcome{
  margin-top:16px;padding:12px 13px;border:1px solid var(--line);border-radius:14px;
  background:var(--surface);font-size:10px;font-weight:800;line-height:1.5;
}
.growth-outcome.is-win{border-color:var(--accent-line);background:var(--accent-soft);color:var(--text)}
.growth-outcome.is-draw{color:var(--text)}
.growth-outcome.is-try{color:var(--muted)}

.analytics-growth-grid{
  display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:12px;
}
.analytics-growth-grid>div{
  padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--surface);
}
.analytics-growth-grid span{
  display:block;color:var(--muted);font-size:7px;text-transform:uppercase;letter-spacing:.07em;font-weight:850;
}
.analytics-growth-grid strong{display:block;margin-top:5px;font-size:23px}
.analytics-growth-grid small{display:block;margin-top:3px;color:var(--accent);font-size:8px}

.analytics-retention-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.analytics-retention-card{
  padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);
}
.analytics-retention-card span{
  display:block;color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.07em;
}
.analytics-retention-card strong{display:block;margin-top:7px;font-size:28px}
.analytics-retention-card small{display:block;margin-top:3px;color:var(--muted);font-size:8px;line-height:1.45}

@media(max-width:800px){
  .analytics-growth-grid{grid-template-columns:1fr 1fr}
  .analytics-growth-grid>div:last-child{grid-column:1/-1}
}
@media(max-width:620px){
  .growth-modal{align-items:end;padding:0}
  .growth-modal-card{
    width:100%;border-radius:24px 24px 0 0;
    padding:22px 14px calc(16px + env(safe-area-inset-bottom));
  }
  .growth-modal-card h2{font-size:27px}
  .growth-modal-actions{grid-template-columns:1fr}
  .analytics-retention-grid{grid-template-columns:1fr}
}

.analytics-retention-note{margin:12px 0 0;color:var(--muted);font-size:8px;line-height:1.55}


/* ===== V5.6 — Retention Engine / Today ===== */
.today-page{background:var(--bg)}
.today-hero{padding:54px 0 22px;position:relative;overflow:hidden}
.today-hero:after{
  content:"";position:absolute;width:520px;height:520px;border-radius:50%;
  right:-270px;top:-280px;background:radial-gradient(circle,var(--accent-soft),transparent 70%);
  pointer-events:none;
}
.today-hero .shell{position:relative;z-index:1}
.today-date{color:var(--accent);font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.today-hero h1{font-size:clamp(46px,6.5vw,72px);max-width:900px;margin:13px 0 13px}
.today-hero .lead{font-size:16px;max-width:730px}
.today-state{min-height:18px;margin-top:13px;color:var(--muted);font-size:10px}

.today-gate{padding:40px 0 80px}
.today-gate-card{
  max-width:620px;padding:28px;border:1px solid var(--line);border-radius:25px;
  background:radial-gradient(circle at 90% 10%,var(--accent-soft),transparent 15rem),var(--surface-2);
}
.today-gate-card img{width:52px;height:52px;border-radius:16px;margin-bottom:20px}
.today-gate-card h2{font-size:33px;margin:8px 0}
.today-gate-card p{color:var(--muted);line-height:1.6;max-width:500px}

.today-overview-section{padding:12px 0 0}
.today-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.today-overview>div{
  min-height:92px;padding:15px;border:1px solid var(--line);border-radius:17px;background:var(--surface-2);
}
.today-overview span{display:block;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:850}
.today-overview strong{display:block;margin-top:6px;font-size:27px;letter-spacing:-.04em}

.today-section-head{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:end;margin-bottom:18px}
.today-section-head h2{font-size:clamp(31px,4.4vw,45px);line-height:1.02;margin:6px 0 0}
.today-section-head>p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}

.today-primary-section{padding-top:42px}
.today-primary-card{
  min-height:220px;padding:24px;border:1px solid var(--accent-line);border-radius:25px;
  background:radial-gradient(circle at 90% 15%,var(--accent-soft),transparent 19rem),var(--surface-2);
  display:grid;grid-template-columns:1fr auto;gap:20px;align-items:end;transition:.18s;
}
.today-primary-card:hover{transform:translateY(-2px);border-color:var(--accent)}
.today-primary-reward{
  display:inline-flex;min-height:28px;align-items:center;padding:0 9px;border:1px solid var(--accent-line);
  border-radius:999px;color:var(--accent);font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;
}
.today-primary-card h3{font-size:38px;margin:42px 0 7px;letter-spacing:-.045em}
.today-primary-card p{margin:0;color:var(--muted);max-width:650px}
.today-primary-arrow{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--text);color:var(--bg);font-size:20px}
.today-bars{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.today-bars>div{padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.today-bar-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;color:var(--muted)}
.today-bar-label b{color:var(--text)}
.today-bar{height:7px;margin-top:9px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.today-bar i{display:block;width:0;height:100%;border-radius:inherit;background:var(--accent);transition:width .35s ease}

.today-missions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.today-mission{
  min-height:112px;padding:14px;border:1px solid var(--line);border-radius:17px;background:var(--surface-2);
  display:grid;grid-template-columns:31px 1fr 15px;gap:9px;align-items:center;
}
.today-mission.is-complete{opacity:.68}
.today-mission-check{
  width:30px;height:30px;border-radius:10px;display:grid;place-items:center;border:1px solid var(--line);
  background:var(--surface);color:var(--accent);font-weight:900;
}
.today-mission b{display:block;font-size:11px}
.today-mission small{display:block;margin-top:4px;color:var(--muted);font-size:8px}
.today-mission i{font-style:normal;color:var(--accent)}

.today-secondary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.today-secondary-card{
  min-height:190px;padding:17px;border:1px solid var(--line);border-radius:19px;background:var(--surface-2);
  display:flex;flex-direction:column;transition:.18s;
}
.today-secondary-card:hover{transform:translateY(-2px);border-color:var(--accent-line)}
.today-secondary-card>span{color:var(--accent);font-size:8px;font-weight:900;letter-spacing:.08em}
.today-secondary-card>b{font-size:22px;margin-top:38px}
.today-secondary-card>small{margin-top:5px;color:var(--muted);font-size:9px;line-height:1.5}
.today-secondary-card>i{margin-top:auto;color:var(--accent);font-style:normal}

.today-two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.today-panel{padding:20px;border:1px solid var(--line);border-radius:21px;background:var(--surface-2)}
.today-panel h2{font-size:28px;margin:7px 0 16px}
.today-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.today-day{
  min-height:66px;border:1px solid var(--line);border-radius:13px;background:var(--surface);
  display:grid;place-items:center;align-content:center;gap:3px;color:var(--muted);
}
.today-day span{font-size:8px}
.today-day strong{font-size:13px}
.today-day.is-active{border-color:var(--accent-line);background:var(--accent-soft);color:var(--text)}
.today-day.is-active:after{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent)}
.today-recent{display:grid;gap:6px}
.today-recent-row{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:9px;border-bottom:1px solid var(--line-2)}
.today-recent-row:last-child{border-bottom:0}
.today-recent-row>span{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:var(--surface);color:var(--accent);font-size:9px}
.today-recent-row b{display:block;font-size:10px;text-transform:capitalize}
.today-recent-row small{display:block;color:var(--muted);font-size:7px;margin-top:2px}
.today-recent-row>strong{font-size:13px}
.today-empty{padding:18px;color:var(--muted);font-size:9px}

.today-context-section{padding-top:10px}
.today-context-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.today-context-card{
  padding:15px;border:1px solid var(--line);border-radius:17px;background:var(--surface);
  display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;gap:3px;
}
.today-context-card>span{font-size:7px;color:var(--accent);font-weight:900;letter-spacing:.08em}
.today-context-card>b{grid-column:1;font-size:17px;text-transform:capitalize}
.today-context-card>small{grid-column:1;color:var(--muted);font-size:8px}
.today-context-card>i{grid-column:2;grid-row:1/-1;align-self:center;color:var(--accent);font-style:normal}

.retention-home-strip{
  border-bottom:1px solid var(--accent-line);
  background:color-mix(in srgb,var(--accent-soft) 55%,var(--bg));
}
.retention-home-inner{
  min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.retention-home-inner span{display:block;color:var(--accent);font-size:7px;font-weight:900;letter-spacing:.09em}
.retention-home-inner b{display:block;margin-top:2px;font-size:10px}
.retention-home-inner .btn{min-height:38px;padding:0 12px;font-size:9px}

.daily-today-shortcut{margin-top:14px}

@media(max-width:800px){
  .today-missions,.today-secondary-grid{grid-template-columns:1fr}
  .today-two-col{grid-template-columns:1fr}
}
@media(max-width:680px){
  .today-hero{padding:38px 0 17px}
  .today-hero h1{font-size:40px}
  .today-overview{grid-template-columns:1fr 1fr}
  .today-overview>div{min-height:78px;padding:13px}
  .today-overview strong{font-size:24px}
  .today-section-head{display:block}
  .today-section-head>p{margin-top:8px}
  .today-primary-card{min-height:190px;padding:18px}
  .today-primary-card h3{font-size:30px;margin-top:30px}
  .today-primary-arrow{width:45px;height:45px}
  .today-bars{grid-template-columns:1fr}
  .today-calendar{gap:4px}
  .today-day{min-height:56px;border-radius:11px}
  .today-context-grid{grid-template-columns:1fr}
  .retention-home-inner{min-height:62px}
  .retention-home-inner .btn{white-space:nowrap}
}
@media(max-width:390px){
  .retention-home-inner{display:grid;grid-template-columns:1fr auto}
  .retention-home-inner b{font-size:9px}
}


/* ===== V5.7 — Experiment Decision System ===== */
.decision-system-page{background:var(--bg)}
.decision-hero{padding:58px 0 24px;position:relative;overflow:hidden}
.decision-hero:after{
  content:"";position:absolute;width:540px;height:540px;border-radius:50%;
  right:-280px;top:-280px;background:radial-gradient(circle,var(--accent-soft),transparent 70%);
  pointer-events:none;
}
.decision-hero .shell{position:relative;z-index:1}
.decision-hero h1{font-size:clamp(48px,6.8vw,78px);max-width:1040px}
.decision-hero .lead{max-width:820px;font-size:16px}
.decision-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:22px}
.decision-toolbar label{display:grid;gap:5px}
.decision-toolbar label span{font-size:8px;color:var(--muted);font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.decision-toolbar select{
  min-width:150px;padding:0 12px;border:1px solid var(--line);background:var(--surface);color:var(--text)
}
.decision-state{min-height:20px;margin-top:15px;color:var(--muted);font-size:10px;line-height:1.6}

.decision-summary-section{padding:18px 0 0}
.decision-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.decision-summary-card{
  min-height:92px;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);
  display:flex;flex-direction:column;justify-content:space-between;gap:8px;
}
.decision-summary-card strong{font-size:26px}
.decision-rule-note{margin-top:9px;padding:14px 16px;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}
.decision-rule-note b{color:var(--text);font-size:10px}
.decision-rule-note p{margin:4px 0 0;font-size:9px;line-height:1.55}

.decision-list{display:grid;gap:10px}
.decision-card{
  padding:21px;border:1px solid var(--line);border-radius:22px;background:var(--surface-2);
}
.decision-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.decision-group{font-size:8px;color:var(--accent);font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.decision-card h2{font-size:29px;margin:6px 0 0}
.decision-head-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}

.decision-badge{
  display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border:1px solid var(--line);
  border-radius:999px;font-size:7px;font-weight:900;letter-spacing:.07em;
}
.decision-badge.is-needs_data{color:var(--muted);background:var(--surface)}
.decision-badge.is-keep{color:var(--accent);border-color:var(--accent-line);background:var(--accent-soft)}
.decision-badge.is-improve{color:#e9c989;border-color:rgba(233,201,137,.22);background:rgba(233,201,137,.08)}
.decision-badge.is-promote{color:#94d9ff;border-color:rgba(94,180,235,.24);background:rgba(94,180,235,.08)}
.decision-badge.is-archive{color:#e4a0a0;border-color:rgba(220,100,100,.22);background:rgba(220,100,100,.07)}

.decision-signal-row{display:flex;gap:7px;margin-top:16px}
.decision-signal{
  min-width:126px;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface);
}
.decision-signal span{display:block;color:var(--muted);font-size:7px;font-weight:850;letter-spacing:.08em}
.decision-signal strong{display:inline-block;margin-top:4px;font-size:24px}
.decision-signal small{color:var(--muted);font-size:8px}

.decision-metrics{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:9px}
.decision-metric{padding:11px;border:1px solid var(--line-2);border-radius:13px;background:var(--surface)}
.decision-metric span{display:block;color:var(--muted);font-size:7px;line-height:1.25}
.decision-metric b{display:block;margin-top:5px;font-size:15px}

.decision-why{margin-top:14px;padding:14px;border:1px solid var(--line-2);border-radius:15px;background:var(--surface)}
.decision-why ul{margin:8px 0 0;padding-left:18px;color:var(--muted);font-size:9px;line-height:1.6}
.decision-why li+li{margin-top:4px}

.decision-editor{
  display:grid;grid-template-columns:220px 1fr auto;gap:9px;align-items:end;margin-top:14px;
  padding-top:14px;border-top:1px solid var(--line-2);
}
.decision-editor-field{display:grid;gap:5px}
.decision-editor-field label{font-size:7px;color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.decision-editor-field select,.decision-editor-field textarea{
  width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);
}
.decision-editor-field select{padding:0 10px}
.decision-editor-field textarea{min-height:72px;padding:10px;resize:vertical}
.decision-editor-actions{display:grid;gap:5px}
.decision-editor-actions small{max-width:180px;color:var(--muted);font-size:7px;line-height:1.4}

@media(max-width:980px){
  .decision-summary{grid-template-columns:repeat(3,1fr)}
  .decision-metrics{grid-template-columns:repeat(4,1fr)}
  .decision-editor{grid-template-columns:1fr}
  .decision-editor-actions .btn{width:100%}
}
@media(max-width:680px){
  .decision-hero{padding:40px 0 18px}
  .decision-hero h1{font-size:40px}
  .decision-toolbar{display:grid;grid-template-columns:1fr}
  .decision-toolbar select,.decision-toolbar .btn{width:100%}
  .decision-summary{grid-template-columns:1fr 1fr}
  .decision-summary-card:last-child{grid-column:1/-1}
  .decision-card{padding:16px}
  .decision-card-head{display:block}
  .decision-head-badges{justify-content:flex-start;margin-top:10px}
  .decision-signal-row{display:grid;grid-template-columns:1fr 1fr}
  .decision-signal{min-width:0}
  .decision-metrics{grid-template-columns:1fr 1fr}
}



/* ==========================================================
   DOUVI V5.8 — UI POLISH
   Content is unchanged. This file intentionally overrides
   legacy spacing / micro typography / mobile game shell only.
   ========================================================== */

:root{
  --v58-section-y:56px;
  --v58-section-y-mobile:36px;
  --v58-body:16px;
  --v58-small:13px;
  --v58-micro:12px;
  --v58-header-h:62px;
}

/* ---------- Core rhythm ---------- */
body{
  font-size:var(--v58-body);
  line-height:1.58;
}
.shell{
  width:min(calc(100% - 40px),1160px);
}
.section{
  padding:var(--v58-section-y) 0!important;
}
.footer{
  padding:38px 0 48px!important;
}
.footer-grid{
  gap:20px!important;
}
.footer a{
  font-size:13px!important;
  line-height:1.45;
}
.footer h4{
  font-size:13px;
}

/* Large heroes: less dead space, same content. */
.labs-v5-hero{
  padding:68px 0 52px!important;
}
.labs-hub-hero{
  padding:50px 0 24px!important;
}
.work-detail-hero{
  padding:42px 0 28px!important;
}
.acq-hero{
  padding:48px 0 34px!important;
}
.today-hero,
.decision-hero,
.analytics-dashboard-hero{
  padding:42px 0 18px!important;
}
.mind-hub-hero,.money-hub-hero,.life-hub-hero,.daily-hub-hero{
  padding:50px 0 22px!important;
}
.mind-game-hero,.money-game-hero,.life-game-hero,.daily-game-hero{
  padding:28px 0 12px!important;
}

/* Avoid double-large spacing between a hero and first section. */
.labs-hub-hero + .section,
.work-detail-hero + .section,
.acq-hero + .section,
.today-hero + section,
.decision-hero + *,
.analytics-dashboard-hero + *{
  padding-top:30px!important;
}

/* ---------- Header ---------- */
.labs-nav{
  height:var(--v58-header-h)!important;
}
.labs-brand{
  font-size:15px!important;
}
.labs-brand img{
  width:36px!important;
  height:36px!important;
  border-radius:12px!important;
}
.labs-public-nav{
  gap:20px!important;
}
.labs-public-nav a{
  font-size:13px!important;
  font-weight:700!important;
}
.labs-account-chip{
  min-height:40px!important;
  font-size:12px!important;
}
.tool-btn,.lang,.menu-btn{
  min-height:40px!important;
}
.labs-lang{
  font-size:12px!important;
}

/* ---------- Typography: stop using unreadable 7–10px UI text ---------- */
.kicker,
.eyebrow,
.portfolio-status,
.portfolio-card-meta,
.portfolio-card-foot,
.labs-v5-category-top span,
.labs-v5-category-top b,
.labs-v5-current>small,
.labs-v5-category-link,
.labs-v5-hero-note,
.portfolio-home-all,
.work-detail-badges>span,
.work-back,
.labs-origin-strip a,
.game-origin-label,
.acq-badges span,
.acq-trust,
.acq-related-card span,
.acq-related-card small,
.acq-discover-meta,
.acq-discover-card>b,
.today-date,
.today-overview span,
.today-primary-reward,
.today-mission small,
.today-secondary-card>span,
.today-context-card>span,
.today-context-card>small,
.today-recent-row small,
.decision-group,
.decision-badge,
.decision-signal span,
.decision-signal small,
.decision-metric span,
.decision-editor-field label,
.analytics-toolbar label span,
.analytics-metrics span,
.analytics-panel .kicker,
.analytics-table th,
.analytics-day-label,
.analytics-retention-note,
.analytics-growth-grid span,
.analytics-growth-grid small,
.analytics-retention-card span,
.analytics-retention-card small{
  font-size:var(--v58-micro)!important;
  line-height:1.35!important;
}

/* Secondary text */
.portfolio-card p,
.labs-v5-category>p,
.labs-v5-current span,
.labs-account-person small,
.labs-account-links small,
.profile-toggle-box small,
.work-detail-panel dt,
.work-detail-panel dd,
.acq-discover-card p,
.acq-note p,
.today-section-head>p,
.today-primary-card p,
.today-secondary-card>small,
.today-recent-row b,
.today-context-card>small,
.decision-why ul,
.decision-rule-note p,
.decision-state,
.analytics-state,
.analytics-table td{
  font-size:var(--v58-small)!important;
  line-height:1.5!important;
}

/* Body copy in important surfaces */
.lead,
.labs-v5-hero .lead,
.labs-hub-hero .lead,
.work-detail-copy .lead,
.acq-hero .lead,
.today-hero .lead,
.decision-hero .lead{
  line-height:1.58!important;
}
.mind-disclaimer,.money-disclaimer,.life-disclaimer,.daily-disclaimer{
  font-size:13px!important;
  line-height:1.6!important;
}

/* Control text should be readable, not micro. */
.btn{
  min-height:46px!important;
  padding:0 16px!important;
  font-size:13px!important;
}
.portfolio-filterbar button{
  min-height:40px!important;
  font-size:12px!important;
  padding:0 13px!important;
}

/* Cards: cleaner, more deliberate, less "everything is a giant block". */
.labs-v5-category{
  min-height:350px!important;
  padding:22px!important;
}
.labs-v5-category h3{
  margin-top:52px!important;
}
.portfolio-card{
  min-height:270px!important;
  padding:17px!important;
}
.portfolio-card-meta{
  margin-top:25px!important;
}
.labs-product-row,.labs-game-card{
  padding:20px!important;
}
.labs-experiment-card,.labs-principles article{
  min-height:220px!important;
}
.labs-experiment-card h2,.labs-principles h2{
  margin-top:34px!important;
}
.labs-v5-platform-card,
.labs-v5-about{
  padding:26px!important;
}
.labs-v5-ai-card{
  padding:22px!important;
}

/* Section headers: tighter */
.labs-v5-section-head,
.today-section-head{
  margin-bottom:18px!important;
}
.section-head{
  margin-bottom:22px!important;
}

/* Account sheet/dropdown: readable */
.labs-account-panel{
  width:min(405px,calc(100vw - 24px))!important;
}
.labs-account-person b{
  font-size:14px!important;
}
.labs-account-links b{
  font-size:13px!important;
}
.labs-account-links>a{
  min-height:55px;
  padding:10px 11px!important;
}
.labs-menu-icon{
  width:34px!important;
  height:34px!important;
}
.labs-signout{
  min-height:46px!important;
  font-size:12px!important;
}

/* ---------- Mobile game shell ---------- */
html.game-shell-active,
html.game-shell-active body{
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden!important;
  overscroll-behavior:none;
}

.protected-game-body{
  --game-viewport-height:100dvh;
  width:100%;
  height:var(--game-viewport-height)!important;
  min-height:100svh!important;
  max-height:var(--game-viewport-height)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:54px 34px minmax(0,1fr)!important;
  background:#050a08;
  overscroll-behavior:none;
}

.protected-game-body .labs-header{
  position:relative!important;
  top:auto!important;
  height:54px!important;
  min-height:54px!important;
  overflow:hidden;
}
.protected-game-body .labs-nav{
  height:54px!important;
  min-height:54px!important;
  width:min(calc(100% - 20px),1160px)!important;
}
.protected-game-body .labs-public-nav{
  display:none!important;
}
.protected-game-body .labs-theme,
.protected-game-body .labs-lang,
.protected-game-body .labs-menu-btn{
  display:none!important;
}
.protected-game-body .labs-account-chip{
  min-height:36px!important;
  max-width:135px;
}
.protected-game-body .labs-brand img{
  width:34px!important;
  height:34px!important;
}
.protected-game-body .labs-brand span{
  font-size:13px!important;
}

.protected-game-body .game-origin-label{
  min-height:34px;
  height:34px;
  padding:0 10px!important;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#07110f!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  color:rgba(255,255,255,.72)!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.06em!important;
  overflow:hidden;
  white-space:nowrap;
}

.game-shell-actions{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:auto;
}
.game-shell-btn{
  min-height:26px;
  height:26px;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.85);
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}

.protected-game-body .protected-player{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  inset:auto!important;
  overscroll-behavior:none;
  contain:layout paint size;
}
.protected-game-body .protected-game-frame{
  position:absolute!important;
  inset:0!important;
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  border:0!important;
  overflow:hidden;
  touch-action:manipulation;
  overscroll-behavior:none;
}

.protected-game-body .player-loading,
.protected-game-body .player-login-card{
  max-height:calc(var(--game-viewport-height) - 100px);
}
.protected-game-body .player-login-card{
  width:min(calc(100% - 24px),430px)!important;
  padding:24px!important;
}
.protected-game-body .player-login-card p,
.protected-game-body .player-loading span{
  font-size:13px!important;
}

.game-focus-exit{
  display:none;
  position:fixed;
  z-index:9999;
  right:max(10px,env(safe-area-inset-right));
  top:max(10px,env(safe-area-inset-top));
  min-width:42px;
  height:42px;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:13px;
  background:rgba(4,10,8,.78);
  backdrop-filter:blur(10px);
  color:#fff;
  font-size:12px;
  font-weight:850;
  box-shadow:0 8px 30px rgba(0,0,0,.28);
}

.protected-game-body.game-focus-mode{
  grid-template-rows:0 0 minmax(0,1fr)!important;
}
.protected-game-body.game-focus-mode .labs-header,
.protected-game-body.game-focus-mode .game-origin-label{
  visibility:hidden;
  pointer-events:none;
}
.protected-game-body.game-focus-mode .game-focus-exit{
  display:block;
}
.protected-player:fullscreen,
.protected-player:-webkit-full-screen{
  width:100vw!important;
  height:100dvh!important;
  min-height:100dvh!important;
  background:#000!important;
}
.protected-player:fullscreen .protected-game-frame,
.protected-player:-webkit-full-screen .protected-game-frame{
  width:100%!important;
  height:100%!important;
}

/* ---------- Mobile ---------- */
@media(max-width:720px){
  :root{
    --v58-section-y-mobile:34px;
    --v58-micro:12px;
    --v58-small:13px;
  }

  .shell{
    width:min(calc(100% - 24px),1160px)!important;
  }
  .section{
    padding:var(--v58-section-y-mobile) 0!important;
  }
  .footer{
    padding:30px 0 38px!important;
  }

  .labs-nav{
    height:58px!important;
  }
  .labs-brand span{
    font-size:13px!important;
  }
  .labs-account-chip{
    font-size:11px!important;
  }

  .labs-v5-hero{
    padding:36px 0 34px!important;
  }
  .labs-v5-hero h1{
    font-size:40px!important;
    margin:14px 0 14px!important;
  }
  .labs-v5-hero .lead{
    font-size:15px!important;
  }
  .labs-v5-hero-note{
    margin-top:14px!important;
  }

  .labs-hub-hero{
    padding:34px 0 18px!important;
  }
  .labs-hub-hero h1{
    font-size:38px!important;
    margin:13px 0!important;
  }
  .work-detail-hero,
  .acq-hero,
  .today-hero,
  .decision-hero,
  .analytics-dashboard-hero{
    padding:30px 0 16px!important;
  }

  .labs-v5-category{
    min-height:300px!important;
    padding:17px!important;
  }
  .labs-v5-category h3{
    margin-top:34px!important;
    font-size:29px!important;
  }
  .labs-v5-current{
    padding-top:18px!important;
  }
  .labs-v5-platform-card,
  .labs-v5-about{
    padding:18px!important;
  }
  .labs-v5-ai-card{
    padding:16px!important;
  }

  .portfolio-card{
    min-height:220px!important;
    padding:15px!important;
  }
  .portfolio-card-meta{
    margin-top:19px!important;
  }
  .portfolio-card h3{
    font-size:24px!important;
  }

  /* Keep readable text even when old styles had 7–10px. */
  .portfolio-card p,
  .labs-v5-category>p,
  .labs-v5-current span,
  .acq-discover-card p,
  .today-section-head>p,
  .today-primary-card p,
  .decision-why ul,
  .analytics-table td{
    font-size:13px!important;
  }

  .labs-account-panel{
    max-height:min(86dvh,780px)!important;
  }
  .labs-account-links small{
    display:block!important;
    font-size:11px!important;
  }

  /* Game: use the actually visible mobile viewport. */
  .protected-game-body{
    grid-template-rows:50px 32px minmax(0,1fr)!important;
  }
  .protected-game-body .labs-header{
    height:50px!important;
    min-height:50px!important;
  }
  .protected-game-body .labs-nav{
    height:50px!important;
    min-height:50px!important;
  }
  .protected-game-body .labs-brand span{
    display:none!important;
  }
  .protected-game-body .game-origin-label{
    min-height:32px;
    height:32px;
    font-size:10px!important;
  }
  .game-shell-btn{
    min-height:25px;
    height:25px;
    padding:0 8px;
    font-size:10px;
  }
}

@media(max-width:390px){
  .labs-v5-hero h1{
    font-size:37px!important;
  }
  .labs-hub-hero h1{
    font-size:35px!important;
  }
  .game-origin-title{
    max-width:120px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* Motion restraint = more polished */
@media(prefers-reduced-motion:no-preference){
  .portfolio-card,
  .labs-v5-category,
  .labs-product-row,
  .labs-game-card,
  .labs-experiment-card,
  .today-primary-card,
  .today-secondary-card{
    transition:transform .16s ease,border-color .16s ease,background-color .16s ease!important;
  }
}


/* ==========================================================
   DOUVI V5.8.3 — MINIMUM READABLE FONT FLOOR

   Requirement:
   No UI text on Douvi Labs site pages may render below 0.75rem
   (12px at the 16px root size).

   This stylesheet is loaded LAST on non-game pages only.
   Protected games remain intentionally untouched.
   ========================================================== */

:root{
  --douvi-font-floor:0.75rem;
}

/* Explicit legacy selectors audited below 12px. */
.status-row .tag,
.id-flow-card .id-num,
.id-state,
.id-save-version,
.auth-priority-note small,
.auth-small,
.auth-privacy,
.mind-overview span,
.mind-tool-top,
.mind-tool-score span,
.mind-home-card>span,
.mind-meta,
.mind-intro-points b,
.mind-result-grid span,
.focus-topbar span,
.mind-profile-overview span,
.money-overview span,
.money-tool-top,
.money-tool-score span,
.money-home-card>span,
.money-meta,
.money-result-grid span,
.survival-start-stats span,
.survival-stats span,
.money-profile-overview span,
.douvi-score-cats span,
.life-overview span,
.life-tool-top,
.life-tool-score span,
.life-home-card>span,
.life-meta,
.life-result-grid span,
.life-profile-overview span,
.daily-overview span,
.daily-tool-top,
.daily-tool-score span,
.daily-home-card>span,
.daily-meta,
.daily-stage-meta,
.daily-result-grid span,
.lunar-solar-panel>span,
.lunar-lunar-panel>span,
.can-chi-grid span,
.daily-profile-overview span,
.level-orbit span,
.level-copy small,
.progress-panel-head>small,
.score-category-grid span,
.streak-metrics span,
.streak-metrics small,
.progress-day span,
.progress-day small,
.achievement-top span,
.achievement-copy p,
.xp-source-list span,
.progress-note,
.progress-recent-row small,
.progress-empty,
.progress-mini-grid span,
.mission-summary span,
.mission-copy small,
.mission-reward small,
.leaderboard-privacy,
.leaderboard-tabs button,
.leaderboard-state,
.leaderboard-person small,
.leaderboard-categories i,
.leaderboard-score small,
.progress-xp-toast span,
.progress-achievement-toast small,
.level-up-ring small,
.weekly-countdown span,
.my-weekly-tier span,
.my-weekly-stats span,
.my-weekly-main>small,
.tier-card span,
.weekly-privacy,
.weekly-state,
.weekly-person small,
.weekly-tier span{
  font-size:0.75rem!important;
}

.weekly-douvi small,
.weekly-points small,
.weekly-test-meta,
.weekly-result-details span,
.weekly-save-state,
.dashboard-weekly-grid span,
.season-countdown span,
.season-badge-large span,
.my-season-stats span,
.season-movement,
.my-season-main>small,
.season-tier-card span,
.season-explain span,
.season-privacy,
.season-state,
.season-person small,
.season-tier span,
.season-douvi small,
.season-points small,
.dashboard-season-grid span,
.dashboard-season-movement,
.profile-season-badge>span,
.profile-season-badge>a,
.public-season-badge span,
.public-season-badge small,
.public-season-badge b,
.achievement-share,
.home-hero-trust,
.home-welcome-stats span,
.home-card-top>span,
.home-card-top>small,
.home-try-card>b,
.home-area span,
.home-journey-step>span,
.home-journey-step small,
.home-product-card span,
.home-product-card a,
.home-play-card span,
.home-play-card b,
.home-about-links a,
.home-account-person small,
.home-account-progress span,
.home-menu-icon,
.home-account-links b,
.home-account-links small,
.home-signout,
.home-v471 .home-account-chip,
.home-try-card p,
.home-member-nav b,
.labs-mobile-tools button,
.labs-mobile-tools a,
.labs-v5-hero-note,
.labs-v5-category-top span,
.labs-v5-category-top b,
.labs-v5-current>small,
.labs-v5-current span,
.labs-v5-category-link,
.platform-items span,
.labs-v5-about-links a,
.labs-product-row span,
.labs-future-note span,
.labs-game-card span,
.labs-game-card b,
.labs-experiment-card>span,
.labs-experiment-card b,
.labs-principles span,
.labs-origin-strip a,
.game-origin-label,
.labs-account-person small,
.labs-account-progress span,
.labs-menu-icon,
.labs-account-links b,
.labs-account-links small,
.labs-signout,
.labs-account-chip,
.labs-product-row p,
.portfolio-status,
.portfolio-card-meta,
.portfolio-card p,
.portfolio-card-foot{
  font-size:0.75rem!important;
}

.portfolio-filterbar button,
.portfolio-home-all,
.portfolio-latest-item .portfolio-visual,
.portfolio-latest-item small,
.portfolio-latest-item .portfolio-status,
.work-back,
.work-detail-badges>span:not(.portfolio-status),
.work-detail-panel dt,
.work-detail-panel dd,
.work-tags span,
.eyebrow,
.kicker,
.mind-back,
.money-back,
.life-back,
.daily-back,
.ds-context-label,
.ds-context-back,
.analytics-toolbar label span,
.analytics-state,
.analytics-metrics span,
.analytics-funnel span,
.analytics-funnel small,
.analytics-table th,
.analytics-table td,
.analytics-day-label,
.analytics-empty,
.growth-incoming small,
.growth-incoming b,
.growth-outcome,
.analytics-growth-grid span,
.analytics-growth-grid small,
.analytics-retention-card span,
.analytics-retention-card small,
.analytics-retention-note,
.today-date,
.today-state,
.today-overview span,
.today-section-head>p,
.today-primary-reward,
.today-bar-label,
.today-mission b,
.today-mission small,
.today-secondary-card>span,
.today-secondary-card>small,
.today-day span,
.today-recent-row>span,
.today-recent-row b,
.today-recent-row small,
.today-empty,
.today-context-card>span,
.today-context-card>small,
.retention-home-inner span,
.retention-home-inner b,
.retention-home-inner .btn,
.decision-toolbar label span,
.decision-state,
.decision-rule-note b,
.decision-rule-note p,
.decision-group,
.decision-badge,
.decision-signal span,
.decision-signal small,
.decision-metric span,
.decision-why ul,
.decision-editor-field label,
.decision-editor-actions small,
.acq-back,
.acq-badges span,
.acq-trust,
.acq-bullets i,
.acq-related-card span,
.acq-related-card small,
.acq-discover-meta,
.acq-discover-card p,
.acq-discover-card>b,
.protected-game-body .game-origin-label,
.game-shell-btn{
  font-size:0.75rem!important;
}

/* Shared controls that may be injected dynamically. */
body:not(.protected-game-body) .labs-account-panel,
body:not(.protected-game-body) .labs-account-panel *,
body:not(.protected-game-body) .labs-mobile-tools,
body:not(.protected-game-body) .labs-mobile-tools *,
body:not(.protected-game-body) [data-douvi-toast],
body:not(.protected-game-body) [data-douvi-toast] *,
body:not(.protected-game-body) [role="dialog"] small{
  --douvi-dynamic-floor:0.75rem;
}

/* Native form controls: browser defaults can otherwise fall below the design floor. */
body:not(.protected-game-body) button,
body:not(.protected-game-body) input,
body:not(.protected-game-body) select,
body:not(.protected-game-body) textarea{
  font-size:max(0.75rem,1em);
}



/* ==========================================================
   DOUVI V5.9 — MATURE PRODUCT UI
   Product-first homepage + stricter density + fewer decorative cards.
   ========================================================== */

:root{
  --v59-max:1160px;
  --v59-reading:720px;
  --v59-section:52px;
  --v59-section-mobile:34px;
  --v59-radius-sm:12px;
  --v59-radius-md:18px;
  --v59-radius-lg:26px;
}

body:not(.protected-game-body){
  text-rendering:optimizeLegibility;
}

body:not(.protected-game-body) .shell{
  width:min(calc(100% - 40px),var(--v59-max));
}

/* Public chrome is quiet. */
body:not(.protected-game-body) .labs-header{
  backdrop-filter:blur(14px);
}
body:not(.protected-game-body) .labs-nav{
  height:60px!important;
}
body:not(.protected-game-body) .labs-public-nav a{
  font-weight:650!important;
}
body:not(.protected-game-body) .labs-account-chip{
  border-radius:12px!important;
}

/* Section rhythm: less empty vertical space. */
body:not(.protected-game-body) .section{
  padding:var(--v59-section) 0!important;
}
body:not(.protected-game-body) .section + .section{
  border-top:0;
}

/* Avoid "everything is a card". */
.v59-plain-section{
  border-top:1px solid var(--line-2);
}
.v59-section-head{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  gap:28px;
  align-items:end;
  margin-bottom:26px;
}
.v59-section-head h2{
  margin:7px 0 0;
  font-size:clamp(32px,4.2vw,48px);
  line-height:1;
  letter-spacing:-.045em;
}
.v59-section-head p{
  margin:0;
  color:var(--muted);
  max-width:560px;
  line-height:1.65;
}

/* ---------- Flagship homepage ---------- */
.v59-home-hero{
  padding:64px 0 48px;
  position:relative;
  overflow:hidden;
}
.v59-home-hero:after{
  content:"";
  position:absolute;
  width:580px;height:580px;
  right:-300px;top:-310px;
  border-radius:50%;
  background:radial-gradient(circle,var(--accent-soft),transparent 70%);
  pointer-events:none;
}
.v59-home-hero .shell{position:relative;z-index:1}
.v59-home-hero h1{
  max-width:900px;
  margin:18px 0 18px;
  font-size:clamp(54px,7.8vw,92px);
  line-height:.93;
  letter-spacing:-.065em;
}
.v59-home-hero .lead{
  max-width:720px;
  margin:0;
  font-size:17px;
  line-height:1.62;
}
.v59-home-hero .hero-actions{
  margin-top:25px;
}
.v59-home-proof{
  margin-top:24px;
  display:flex;
  gap:8px 18px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:.75rem;
  font-weight:750;
}
.v59-home-proof span{
  display:flex;align-items:center;gap:7px;
}
.v59-home-proof span:before{
  content:"";
  width:6px;height:6px;border-radius:50%;background:var(--accent);
}

/* Products first */
.v59-flagship-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px;
}
.v59-flagship{
  position:relative;
  min-height:460px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--v59-radius-lg);
  background:var(--surface-2);
  display:grid;
  grid-template-rows:minmax(230px,1fr) auto;
}
.v59-flagship:hover{
  border-color:var(--accent-line);
}
.v59-flagship-visual{
  position:relative;
  overflow:hidden;
  min-height:250px;
  background:
    radial-gradient(circle at 78% 12%,var(--accent-soft),transparent 18rem),
    var(--surface);
}
.v59-flagship-copy{
  padding:22px;
  border-top:1px solid var(--line-2);
}
.v59-flagship-meta{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  color:var(--muted);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.v59-flagship h3{
  margin:12px 0 8px;
  font-size:34px;
  letter-spacing:-.045em;
}
.v59-flagship p{
  margin:0;
  color:var(--muted);
  max-width:520px;
  font-size:14px;
}
.v59-flagship-cta{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:800;
}

/* Visual signatures: all generated with CSS and existing brand icons. */
.v59-signature{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}
.v59-signature>img{
  position:absolute;
  width:58px;height:58px;
  left:24px;top:24px;
  border-radius:17px;
  filter:drop-shadow(0 12px 30px rgba(0,0,0,.16));
}
.v59-phone{
  width:184px;height:310px;
  border:1px solid var(--line);
  border-radius:34px;
  background:var(--bg);
  padding:16px 12px;
  transform:rotate(4deg) translate(30px,12px);
  box-shadow:0 28px 70px rgba(0,0,0,.18);
}
.v59-phone-bar{
  width:52px;height:5px;border-radius:999px;background:var(--line);margin:0 auto 20px;
}
.v59-transaction{
  height:48px;border:1px solid var(--line-2);border-radius:14px;background:var(--surface);
  margin:8px 0;position:relative;
}
.v59-transaction:before{
  content:"";position:absolute;left:11px;top:12px;width:24px;height:24px;border-radius:8px;background:var(--accent-soft);
}
.v59-transaction:after{
  content:"";position:absolute;left:46px;right:12px;top:15px;height:5px;border-radius:6px;background:var(--line);
  box-shadow:0 11px 0 var(--line-2);
}

.v59-pos-board{
  width:min(76%,390px);
  min-height:230px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--bg);
  padding:16px;
  transform:translate(22px,8px);
  box-shadow:0 28px 70px rgba(0,0,0,.16);
}
.v59-pos-top{
  display:flex;gap:7px;margin-bottom:13px;
}
.v59-pos-top i{
  width:62px;height:23px;border-radius:8px;background:var(--accent-soft);border:1px solid var(--accent-line);
}
.v59-pos-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
}
.v59-pos-grid i{
  height:58px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);
}
.v59-pos-receipt{
  width:72%;height:14px;border-radius:8px;background:var(--line);margin:14px 0 0;
  box-shadow:0 24px 0 var(--line-2),0 48px 0 var(--line-2);
}

.v59-rise-stage{
  width:78%;height:230px;position:relative;transform:translate(18px,16px);
}
.v59-rise-stage:before{
  content:"";position:absolute;inset:0;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,var(--surface),var(--bg));
}
.v59-rise-bars{
  position:absolute;left:11%;right:11%;bottom:13%;height:68%;display:flex;align-items:end;gap:6px;
}
.v59-rise-bars i{
  flex:1;border-radius:7px 7px 3px 3px;background:var(--accent-soft);border:1px solid var(--accent-line);
}
.v59-rise-bars i:nth-child(1){height:28%}
.v59-rise-bars i:nth-child(2){height:42%}
.v59-rise-bars i:nth-child(3){height:57%}
.v59-rise-bars i:nth-child(4){height:70%}
.v59-rise-bars i:nth-child(5){height:86%}
.v59-rise-bars i:nth-child(6){height:100%}

.v59-space{
  width:100%;height:100%;position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 22% 30%,rgba(255,255,255,.55) 0 1px,transparent 1.5px),
    radial-gradient(circle at 72% 20%,rgba(255,255,255,.35) 0 1px,transparent 1.5px),
    radial-gradient(circle at 82% 60%,rgba(255,255,255,.25) 0 1px,transparent 1.5px),
    linear-gradient(180deg,rgba(10,34,56,.62),rgba(4,12,20,.9));
  background-size:90px 90px,130px 130px,170px 170px,auto;
}
.v59-space-planet{
  position:absolute;width:360px;height:360px;border-radius:50%;left:50%;bottom:-230px;transform:translateX(-50%);
  background:radial-gradient(circle at 38% 28%,#6599bb,#285477 58%,#142d48 76%);
  box-shadow:0 -2px 34px rgba(120,210,255,.26);
}
.v59-space-orbit{
  position:absolute;width:310px;height:118px;border:1px solid rgba(145,231,182,.36);border-radius:50%;
  left:50%;top:49%;transform:translate(-50%,-50%) rotate(-9deg);
}
.v59-space-ship{
  position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);
  width:46px;height:64px;border-radius:24px 24px 18px 18px;background:#e4ece8;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}
.v59-space-ship:after{
  content:"";position:absolute;width:20px;height:8px;border-radius:999px;background:#153a50;left:13px;top:16px;
}

/* Experiments are compact, not competing with flagship products. */
.v59-experiment-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.v59-experiment{
  min-height:190px;
  padding:17px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
}
.v59-experiment:first-child{border-top-color:var(--accent-line)}
.v59-experiment span{
  color:var(--accent);
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.v59-experiment h3{
  margin:28px 0 7px;
  font-size:22px;
  letter-spacing:-.035em;
}
.v59-experiment p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.v59-experiment b{
  margin-top:auto;
  padding-top:18px;
  font-size:13px;
}

/* Architecture is explanatory and secondary. */
.v59-architecture{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.v59-architecture article{
  padding:24px 18px;
  min-height:180px;
  border-right:1px solid var(--line);
}
.v59-architecture article:last-child{border-right:0}
.v59-architecture span{
  color:var(--muted);
  font-size:.75rem;
  font-weight:850;
}
.v59-architecture h3{
  margin:28px 0 7px;
  font-size:24px;
}
.v59-architecture p{
  margin:0;color:var(--muted);font-size:13px;
}

/* How we build: platform and AI are kept, but no longer dominate the homepage. */
.v59-build-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.v59-build-block{
  padding:24px;
  min-height:250px;
  border:1px solid var(--line);
  border-radius:var(--v59-radius-md);
  background:var(--surface-2);
}
.v59-build-block h3{
  margin:32px 0 8px;
  font-size:28px;
}
.v59-build-block p{
  margin:0;color:var(--muted);max-width:520px;
}
.v59-build-links{
  margin-top:22px;display:flex;gap:14px;flex-wrap:wrap;
}
.v59-build-links a{
  font-size:13px;font-weight:800;
}

/* Footer: lighter visual weight. */
body:not(.protected-game-body) .labs-footer{
  border-top:1px solid var(--line-2);
}
body:not(.protected-game-body) .footer-grid{
  grid-template-columns:1.3fr repeat(3,1fr)!important;
}

/* Shared shell active state */
.labs-public-nav a.is-active{
  color:var(--text)!important;
}
.labs-public-nav a.is-active:after{
  transform:scaleX(1)!important;
}

/* ---------- Mobile: designed separately ---------- */
@media(max-width:760px){
  body:not(.protected-game-body) .shell{
    width:min(calc(100% - 24px),var(--v59-max));
  }
  body:not(.protected-game-body) .section{
    padding:var(--v59-section-mobile) 0!important;
  }
  .v59-home-hero{
    padding:36px 0 34px;
  }
  .v59-home-hero h1{
    font-size:42px;
    max-width:360px;
    margin:15px 0 15px;
  }
  .v59-home-hero .lead{
    font-size:15px;
  }
  .v59-home-proof{
    margin-top:18px;
  }
  .v59-section-head{
    display:block;
    margin-bottom:18px;
  }
  .v59-section-head h2{font-size:34px}
  .v59-section-head p{margin-top:9px}

  .v59-flagship-grid{grid-template-columns:1fr}
  .v59-flagship{
    min-height:390px;
    grid-template-rows:210px auto;
  }
  .v59-flagship-visual{min-height:210px}
  .v59-flagship-copy{padding:17px}
  .v59-flagship h3{font-size:28px}
  .v59-phone{width:132px;height:226px;border-radius:27px;padding:13px 9px;transform:rotate(4deg) translate(20px,15px)}
  .v59-transaction{height:34px;margin:6px 0}
  .v59-transaction:before{width:18px;height:18px;left:8px;top:8px}
  .v59-transaction:after{left:34px;top:10px;box-shadow:0 8px 0 var(--line-2)}
  .v59-pos-board{min-height:165px;padding:12px}
  .v59-pos-grid i{height:40px}
  .v59-rise-stage{height:170px}
  .v59-space-planet{width:280px;height:280px;bottom:-190px}

  .v59-experiment-row{grid-template-columns:1fr 1fr}
  .v59-experiment{min-height:165px;padding:14px 4px 14px 0}
  .v59-experiment:nth-child(even){padding-left:12px}
  .v59-experiment h3{margin-top:20px;font-size:20px}

  .v59-architecture{
    grid-template-columns:1fr 1fr;
  }
  .v59-architecture article{
    min-height:150px;
    padding:18px 12px;
  }
  .v59-architecture article:nth-child(2){border-right:0}
  .v59-architecture article:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .v59-architecture h3{margin-top:18px;font-size:21px}

  .v59-build-grid{grid-template-columns:1fr}
  .v59-build-block{min-height:auto;padding:18px}
  .v59-build-block h3{margin-top:22px;font-size:25px}

  body:not(.protected-game-body) .footer-grid{
    grid-template-columns:1fr 1fr!important;
  }
}

@media(max-width:430px){
  .v59-home-hero h1{font-size:39px}
  .v59-experiment-row{grid-template-columns:1fr}
  .v59-experiment:nth-child(even){padding-left:0}
  .v59-experiment{min-height:140px}
  body:not(.protected-game-body) .footer-grid{
    grid-template-columns:1fr!important;
  }
}


/* ===== V5.10 — Douvi Empire public landing ===== */
.empire-hero{
  padding:58px 0 36px;
  border-bottom:1px solid var(--line-2);
}
.empire-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr);
  gap:34px;
  align-items:center;
}
.empire-hero h1{
  margin:14px 0 14px;
  font-size:clamp(52px,7vw,82px);
  line-height:.92;
  letter-spacing:-.06em;
}
.empire-hero .lead{
  max-width:650px;
  font-size:16px;
  line-height:1.65;
}
.empire-badges{
  display:flex;gap:7px;flex-wrap:wrap;margin-top:18px
}
.empire-badges span{
  min-height:30px;display:inline-flex;align-items:center;padding:0 10px;
  border:1px solid var(--line);border-radius:999px;
  font-size:.75rem;font-weight:850;color:var(--muted)
}
.empire-preview{
  min-height:420px;border:1px solid var(--line);border-radius:26px;overflow:hidden;
  background:
    radial-gradient(circle at 50% 20%,rgba(66,245,161,.11),transparent 19rem),
    linear-gradient(180deg,#0b1914,#06100d);
  padding:24px;position:relative
}
.empire-preview-board{
  position:absolute;inset:34px;
  display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr);
  gap:6px;
}
.empire-preview-board i{
  border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#0d1b16;
  position:relative;
}
.empire-preview-board i:nth-child(n+2):nth-child(-n+5){border-top-color:#57d99c}
.empire-preview-board i:nth-child(n+6):nth-child(-n+9){border-top-color:#75b8ff}
.empire-preview-board i:nth-child(n+10):nth-child(-n+13){border-top-color:#ba8cff}
.empire-preview-board i:nth-child(n+14){border-top-color:#f4c86b}
.empire-preview-center{
  position:absolute;left:21%;right:21%;top:22%;bottom:22%;
  border:1px solid rgba(255,255,255,.09);border-radius:20px;background:#08130f;
  display:flex;align-items:flex-end;justify-content:center;gap:6px;padding:20px;
}
.empire-preview-center i{
  width:28px;border-radius:6px 6px 2px 2px;
  background:linear-gradient(180deg,rgba(66,245,161,.55),rgba(66,245,161,.11));
  border:1px solid rgba(66,245,161,.18)
}
.empire-preview-center i:nth-child(1){height:38%}
.empire-preview-center i:nth-child(2){height:55%}
.empire-preview-center i:nth-child(3){height:76%}
.empire-preview-center i:nth-child(4){height:47%}
.empire-preview-center i:nth-child(5){height:88%}
.empire-preview-token{
  position:absolute;width:18px;height:18px;border-radius:50%;background:#42f5a1;
  right:13%;bottom:13%;box-shadow:0 0 20px rgba(66,245,161,.45)
}
.empire-feature-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px
}
.empire-feature{
  padding:21px;border-top:1px solid var(--line);
}
.empire-feature span{
  color:var(--accent);font-size:.75rem;font-weight:900;letter-spacing:.07em
}
.empire-feature h3{margin:24px 0 7px;font-size:23px}
.empire-feature p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.empire-note{
  margin-top:20px;color:var(--muted);font-size:.75rem
}
@media(max-width:820px){
  .empire-hero{padding:36px 0 26px}
  .empire-hero-grid{grid-template-columns:1fr}
  .empire-preview{min-height:320px}
  .empire-feature-grid{grid-template-columns:1fr}
  .empire-feature{padding:18px 0}
}
@media(max-width:430px){
  .empire-hero h1{font-size:42px}
  .empire-preview{min-height:270px;padding:14px}
  .empire-preview-board{inset:20px;gap:4px}
  .empire-preview-center{left:20%;right:20%;top:21%;bottom:21%;padding:12px}
}


/* V5.10 Empire flagship */
.v59-flagship.slug-empire{
  grid-column:1/-1;
  min-height:360px;
  grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);
  grid-template-rows:none;
}
.v59-flagship.slug-empire .v59-flagship-visual{
  min-height:360px;
}
.v59-flagship.slug-empire .v59-flagship-copy{
  border-top:0;
  border-left:1px solid var(--line-2);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.v510-empire-city{
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 24%,rgba(66,245,161,.12),transparent 17rem);
}
.v510-empire-grid{
  position:absolute;inset:13%;
  display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);gap:7px
}
.v510-empire-grid i{
  border:1px solid var(--line);border-radius:10px;background:var(--bg)
}
.v510-empire-grid i:nth-child(4n+1){border-top-color:#57d99c}
.v510-empire-grid i:nth-child(4n+2){border-top-color:#75b8ff}
.v510-empire-grid i:nth-child(4n+3){border-top-color:#ba8cff}
.v510-empire-grid i:nth-child(4n){border-top-color:#f4c86b}
.v510-empire-core{
  position:absolute;left:25%;right:25%;top:28%;bottom:24%;
  border:1px solid var(--line);border-radius:20px;background:#07120e;
  display:flex;align-items:end;justify-content:center;gap:5px;padding:17px
}
.v510-empire-core i{
  width:22px;border-radius:5px 5px 2px 2px;
  background:linear-gradient(180deg,rgba(66,245,161,.6),rgba(66,245,161,.12))
}
.v510-empire-core i:nth-child(1){height:36%}
.v510-empire-core i:nth-child(2){height:57%}
.v510-empire-core i:nth-child(3){height:83%}
.v510-empire-core i:nth-child(4){height:49%}
.v510-empire-core i:nth-child(5){height:70%}
.v510-empire-city>span{
  position:absolute;width:15px;height:15px;border-radius:50%;background:#42f5a1;
  right:17%;bottom:17%;box-shadow:0 0 18px rgba(66,245,161,.4)
}
@media(max-width:760px){
  .v59-flagship.slug-empire{
    grid-column:auto;
    min-height:390px;
    grid-template-columns:1fr;
    grid-template-rows:210px auto;
  }
  .v59-flagship.slug-empire .v59-flagship-visual{min-height:210px}
  .v59-flagship.slug-empire .v59-flagship-copy{border-left:0;border-top:1px solid var(--line-2)}
}
/* ==========================================================
   DOUVI LABS V6.0 — PRODUCT ECOSYSTEM
   Public homepage and product catalog only.
   ========================================================== */

.product-ecosystem-v2,
.products-ecosystem-v2{
  --eco-accent:#78e1a8;
  --eco-accent-rgb:120,225,168;
  --eco-blue:#80b8ff;
  --eco-violet:#b394ff;
  --eco-orange:#ffbb73;
}

html[data-theme="light"] .product-ecosystem-v2,
html[data-theme="light"] .products-ecosystem-v2{
  --eco-accent:#087f49;
  --eco-accent-rgb:8,127,73;
  --eco-blue:#256bbf;
  --eco-violet:#6846b8;
  --eco-orange:#a95d0b;
}

.product-ecosystem-v2 .ecosystem-header,
.products-ecosystem-v2 .ecosystem-header{
  background:color-mix(in srgb,var(--bg) 92%,transparent);
}

.product-ecosystem-v2 .labs-public-nav a,
.products-ecosystem-v2 .labs-public-nav a{font-size:13px;letter-spacing:0}
.product-ecosystem-v2 .labs-brand,
.products-ecosystem-v2 .labs-brand{font-size:17px}

.ecosystem-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(72px,9vw,126px) 0 clamp(64px,8vw,112px);
  border-bottom:1px solid var(--line-2);
}
.ecosystem-hero:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 76% 34%,rgba(var(--eco-accent-rgb),.12),transparent 31%),
    linear-gradient(90deg,transparent 0 49.9%,color-mix(in srgb,var(--line-2) 42%,transparent) 50%,transparent 50.1%);
}
.ecosystem-hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(380px,.76fr);
  align-items:center;
  gap:clamp(48px,7vw,104px);
}
.ecosystem-hero-copy h1{
  margin:24px 0 22px;
  max-width:850px;
  font-size:clamp(52px,7.4vw,96px);
  line-height:.93;
  letter-spacing:-.065em;
}
.ecosystem-hero-copy h1 span{color:var(--eco-accent)}
.ecosystem-hero-copy .lead{max-width:690px;font-size:18px;line-height:1.65}
.ecosystem-hero-copy .hero-actions{margin-top:30px}
.ecosystem-proof{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:26px}
.ecosystem-proof span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:750}
.ecosystem-proof span:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--eco-accent);box-shadow:0 0 0 4px rgba(var(--eco-accent-rgb),.09)}

.ecosystem-showcase{
  position:relative;
  padding:16px;
  border:1px solid var(--line);
  border-radius:28px;
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  box-shadow:0 30px 80px rgba(0,0,0,.16);
}
.ecosystem-showcase:after{
  content:"";
  position:absolute;
  inset:8px -10px -12px 10px;
  z-index:-1;
  border:1px solid color-mix(in srgb,var(--eco-accent) 26%,transparent);
  border-radius:28px;
}
.ecosystem-showcase-head,.ecosystem-showcase-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 5px 15px}
.ecosystem-showcase-head span{color:var(--eco-accent);font-size:9px;font-weight:900;letter-spacing:.12em}
.ecosystem-showcase-head b{font-size:10px;color:var(--muted)}
.ecosystem-showcase-list{display:grid;gap:9px}
.ecosystem-mini-product{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px;border:1px solid var(--line-2);border-radius:18px;background:var(--bg)}
.ecosystem-mini-product i{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:rgba(var(--eco-accent-rgb),.11);color:var(--eco-accent);font-size:10px;font-style:normal;font-weight:950}
.ecosystem-mini-product>img{width:50px;height:50px;border:1px solid var(--line-2);border-radius:15px;object-fit:cover;background:var(--surface)}
.ecosystem-mini-product.is-pos i{background:color-mix(in srgb,var(--eco-blue) 12%,transparent);color:var(--eco-blue)}
.ecosystem-mini-product.is-print i{background:color-mix(in srgb,var(--eco-violet) 12%,transparent);color:var(--eco-violet)}
.ecosystem-mini-product span{display:grid;gap:3px;min-width:0}
.ecosystem-mini-product b{font-size:14px}
.ecosystem-mini-product small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.ecosystem-mini-product em{padding:5px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:8px;font-style:normal;font-weight:800}
.ecosystem-showcase-foot{padding:15px 5px 2px;color:var(--muted);font-size:9px;font-weight:750}

.ecosystem-products-section{background:color-mix(in srgb,var(--surface) 44%,var(--bg))}
.ecosystem-section-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr);gap:48px;align-items:end;margin-bottom:34px}
.ecosystem-section-head.compact{grid-template-columns:minmax(0,820px);margin-bottom:28px}
.ecosystem-section-head h2{margin:10px 0 0;max-width:780px;font-size:clamp(36px,5vw,60px);line-height:1.02;letter-spacing:-.045em}
.ecosystem-section-head>div:last-child{display:grid;gap:14px}
.ecosystem-section-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.ecosystem-section-head a{width:max-content;color:var(--eco-accent);font-size:12px;font-weight:850}

.ecosystem-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ecosystem-product-card{position:relative;display:flex;min-height:310px;flex-direction:column;padding:18px;border:1px solid var(--line-2);border-radius:22px;background:var(--bg);color:var(--text);transition:border-color .2s ease,transform .2s ease}
.ecosystem-product-card[href]:hover{transform:translateY(-3px);border-color:rgba(var(--eco-accent-rgb),.42)}
.ecosystem-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:25px}
.ecosystem-card-icon{display:grid;place-items:center;width:62px;height:62px;border:1px solid rgba(var(--eco-accent-rgb),.18);border-radius:19px;background:rgba(var(--eco-accent-rgb),.09);color:var(--eco-accent)}
.ecosystem-card-icon img{width:38px;height:38px;object-fit:contain}
.ecosystem-card-icon img.is-product-icon{width:100%;height:100%;border-radius:inherit;object-fit:cover}
.ecosystem-card-icon span{font-size:12px;font-weight:950;letter-spacing:-.03em}
.ecosystem-card-icon.slug-douvi-pos,.ecosystem-card-icon.slug-douvi-finder{color:var(--eco-blue);border-color:color-mix(in srgb,var(--eco-blue) 20%,transparent);background:color-mix(in srgb,var(--eco-blue) 9%,transparent)}
.ecosystem-card-icon.slug-douvi-print,.ecosystem-card-icon.slug-douvi-id-photo{color:var(--eco-violet);border-color:color-mix(in srgb,var(--eco-violet) 20%,transparent);background:color-mix(in srgb,var(--eco-violet) 9%,transparent)}
.ecosystem-card-icon.slug-douvi-uvc-camera{color:var(--eco-orange);border-color:color-mix(in srgb,var(--eco-orange) 20%,transparent);background:color-mix(in srgb,var(--eco-orange) 9%,transparent)}
.ecosystem-card-status{max-width:122px;padding:6px 8px;border:1px solid var(--line-2);border-radius:999px;color:var(--muted);font-size:8px;font-weight:850;line-height:1.25;text-align:center}
.ecosystem-card-status.is-live{border-color:rgba(var(--eco-accent-rgb),.24);background:rgba(var(--eco-accent-rgb),.07);color:var(--eco-accent)}
.ecosystem-card-group{margin-bottom:7px;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.ecosystem-product-card h3{margin:0 0 8px;font-size:25px;letter-spacing:-.035em}
.ecosystem-product-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}
.ecosystem-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:24px;color:var(--muted);font-size:9px}
.ecosystem-card-foot b{color:var(--text);font-size:9px;text-align:right}

.ecosystem-groups-section{border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.ecosystem-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ecosystem-groups article{position:relative;min-height:330px;padding:24px;border:1px solid var(--line-2);border-radius:24px;background:var(--surface)}
.ecosystem-groups article>span{position:absolute;right:22px;top:20px;color:var(--muted);font-size:10px;font-weight:850}
.ecosystem-group-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:42px;border-radius:18px;background:rgba(var(--eco-accent-rgb),.1);color:var(--eco-accent);font-size:15px;font-weight:950}
.ecosystem-groups article:nth-child(2) .ecosystem-group-icon{background:color-mix(in srgb,var(--eco-blue) 11%,transparent);color:var(--eco-blue)}
.ecosystem-groups article:nth-child(3) .ecosystem-group-icon{background:color-mix(in srgb,var(--eco-violet) 11%,transparent);color:var(--eco-violet)}
.ecosystem-groups h3{margin:0 0 10px;font-size:26px;letter-spacing:-.035em}
.ecosystem-groups p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}
.ecosystem-groups b{display:block;margin-top:24px;color:var(--muted);font-size:9px;letter-spacing:.02em}

.ecosystem-games-section{background:color-mix(in srgb,var(--surface) 32%,var(--bg))}
.ecosystem-game-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ecosystem-game-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:132px;padding:16px;border:1px solid var(--line-2);border-radius:22px;background:var(--bg);color:var(--text);transition:transform .2s ease,border-color .2s ease}
.ecosystem-game-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--eco-violet) 34%,transparent)}
.ecosystem-game-card .ecosystem-card-icon{width:64px;height:64px;margin:0;color:var(--eco-violet);border-color:color-mix(in srgb,var(--eco-violet) 18%,transparent);background:color-mix(in srgb,var(--eco-violet) 8%,transparent)}
.ecosystem-game-card>span{display:grid;gap:4px;min-width:0}
.ecosystem-game-card small{color:var(--eco-accent);font-size:8px;font-weight:850;text-transform:uppercase}
.ecosystem-game-card b{font-size:18px}
.ecosystem-game-card em{overflow:hidden;color:var(--muted);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.ecosystem-game-card>i{font-style:normal;color:var(--muted)}

.ecosystem-principles{display:grid;grid-template-columns:minmax(0,.72fr) minmax(420px,1fr);gap:80px;align-items:start}
.ecosystem-principles h2{margin:10px 0 0;font-size:clamp(36px,4.5vw,58px);line-height:1.02;letter-spacing:-.045em}
.ecosystem-principle-list{display:grid}
.ecosystem-principle-list article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:18px;padding:22px 0;border-bottom:1px solid var(--line-2)}
.ecosystem-principle-list article:first-child{padding-top:0}
.ecosystem-principle-list i{color:var(--eco-accent);font-size:10px;font-style:normal;font-weight:900}
.ecosystem-principle-list span{display:grid;gap:6px}
.ecosystem-principle-list b{font-size:17px}
.ecosystem-principle-list small{color:var(--muted);font-size:11px;line-height:1.65}

.ecosystem-final-cta{padding:26px 0 72px}
.ecosystem-final-cta .shell{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:34px;border:1px solid rgba(var(--eco-accent-rgb),.24);border-radius:28px;background:linear-gradient(135deg,rgba(var(--eco-accent-rgb),.1),color-mix(in srgb,var(--surface) 85%,transparent))}
.ecosystem-final-cta h2{margin:8px 0 0;font-size:clamp(28px,4vw,46px);letter-spacing:-.04em}
.ecosystem-footer{border-top:1px solid var(--line-2)}

/* Products hub */
.products-v2-hero{position:relative;overflow:hidden;padding:90px 0 70px;border-bottom:1px solid var(--line-2)}
.products-v2-hero:before{content:"";position:absolute;right:-220px;top:-320px;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(var(--eco-accent-rgb),.13),transparent 68%);pointer-events:none}
.products-v2-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:72px;align-items:end}
.products-v2-hero h1{margin:22px 0 16px;max-width:800px;font-size:clamp(52px,7vw,88px);line-height:.94;letter-spacing:-.06em}
.products-v2-hero .lead{max-width:680px;font-size:17px;line-height:1.65}
.products-v2-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.products-v2-summary span{display:grid;gap:8px;min-height:116px;padding:16px;border:1px solid var(--line-2);border-radius:18px;background:var(--surface)}
.products-v2-summary b{font-size:18px;letter-spacing:-.03em}
.products-v2-summary small{align-self:end;color:var(--muted);font-size:9px;line-height:1.4}
.products-v2-list{background:color-mix(in srgb,var(--surface) 36%,var(--bg))}
.products-v2-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.products-v2-grid .portfolio-card{min-height:330px;background:var(--bg)}
.products-v2-grid .portfolio-card.is-static{cursor:default}
.products-v2-grid .portfolio-card.is-static:hover{transform:none;border-color:var(--line-2)}
.products-v2-grid .portfolio-card-meta span:last-child{color:var(--muted)}
.products-v2-meaning{border-top:1px solid var(--line-2)}
.products-v2-meaning>.shell{display:grid;grid-template-columns:minmax(0,.8fr) minmax(420px,1fr);gap:80px}
.products-v2-meaning h2{margin:10px 0 0;font-size:clamp(34px,4vw,52px);line-height:1.04;letter-spacing:-.045em}
.products-v2-statuses{display:grid;gap:8px}
.products-v2-statuses article{display:grid;grid-template-columns:12px minmax(0,1fr);align-items:start;gap:14px;padding:17px;border:1px solid var(--line-2);border-radius:17px;background:var(--surface)}
.products-v2-statuses i{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--eco-accent);box-shadow:0 0 0 5px rgba(var(--eco-accent-rgb),.08)}
.products-v2-statuses i.is-review{background:var(--eco-blue);box-shadow:0 0 0 5px color-mix(in srgb,var(--eco-blue) 9%,transparent)}
.products-v2-statuses i.is-building{background:var(--eco-orange);box-shadow:0 0 0 5px color-mix(in srgb,var(--eco-orange) 9%,transparent)}
.products-v2-statuses span{display:grid;gap:4px}
.products-v2-statuses b{font-size:13px}
.products-v2-statuses small{color:var(--muted);font-size:10px}

@media(max-width:1080px){
  .ecosystem-hero-grid{grid-template-columns:1fr minmax(340px,.72fr);gap:45px}
  .ecosystem-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ecosystem-game-row{grid-template-columns:1fr}
  .products-v2-hero-grid{grid-template-columns:1fr;gap:38px}
  .products-v2-summary{max-width:680px}
}

@media(max-width:780px){
  .ecosystem-hero{padding:54px 0 64px}
  .ecosystem-hero:before{background:radial-gradient(circle at 80% 25%,rgba(var(--eco-accent-rgb),.1),transparent 35%)}
  .ecosystem-hero-grid{grid-template-columns:1fr;gap:42px}
  .ecosystem-hero-copy h1{font-size:clamp(45px,13vw,72px)}
  .ecosystem-hero-copy .lead{font-size:15px}
  .ecosystem-showcase{max-width:560px}
  .ecosystem-section-head{grid-template-columns:1fr;gap:18px;align-items:start}
  .ecosystem-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ecosystem-groups{grid-template-columns:1fr}
  .ecosystem-groups article{min-height:270px}
  .ecosystem-group-icon{margin-bottom:30px}
  .ecosystem-principles{grid-template-columns:1fr;gap:42px}
  .ecosystem-final-cta .shell{align-items:flex-start;flex-direction:column}
  .products-v2-hero{padding:56px 0}
  .products-v2-hero h1{font-size:clamp(45px,12vw,68px)}
  .products-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .products-v2-meaning>.shell{grid-template-columns:1fr;gap:38px}
}

@media(max-width:520px){
  .product-ecosystem-v2 .shell,.products-ecosystem-v2 .shell{width:min(calc(100% - 24px),var(--ds-content))}
  .product-ecosystem-v2 .labs-nav,.products-ecosystem-v2 .labs-nav{height:62px}
  .product-ecosystem-v2 .labs-brand img,.products-ecosystem-v2 .labs-brand img{width:35px;height:35px}
  .ecosystem-hero-copy h1{font-size:clamp(42px,13.4vw,62px);letter-spacing:-.06em}
  .ecosystem-hero-copy h1 br{display:none}
  .ecosystem-hero-copy .hero-actions{display:grid;grid-template-columns:1fr}
  .ecosystem-hero-copy .btn{width:100%;justify-content:center}
  .ecosystem-proof{display:grid;gap:11px}
  .ecosystem-showcase{padding:11px;border-radius:22px}
  .ecosystem-showcase:after{display:none}
  .ecosystem-showcase-head{align-items:flex-start;flex-direction:column;gap:5px}
  .ecosystem-mini-product{grid-template-columns:44px minmax(0,1fr);padding:11px}
  .ecosystem-mini-product i{width:44px;height:44px}
  .ecosystem-mini-product>img{width:44px;height:44px;border-radius:13px}
  .ecosystem-mini-product em{display:none}
  .ecosystem-showcase-foot{font-size:8px}
  .ecosystem-section-head h2{font-size:36px}
  .ecosystem-product-grid,.products-v2-grid{grid-template-columns:1fr}
  .ecosystem-product-card{min-height:285px}
  .ecosystem-groups h3{font-size:24px}
  .ecosystem-game-card{grid-template-columns:56px minmax(0,1fr) auto;padding:13px}
  .ecosystem-game-card .ecosystem-card-icon{width:56px;height:56px}
  .ecosystem-final-cta{padding-bottom:48px}
  .ecosystem-final-cta .shell{padding:26px}
  .products-v2-summary{grid-template-columns:1fr}
  .products-v2-summary span{min-height:88px}
  .products-v2-hero h1{font-size:43px}
}

@media(prefers-reduced-motion:reduce){
  .ecosystem-product-card,.ecosystem-game-card{transition:none}
}

/* ==========================================================
   DOUVI LABS V6.2 — INVESTOR-READY MINIMAL PRODUCT COMPANY
   Scoped to the public home, products and investor pages.
   ========================================================== */

.investor-home-v62,
.products-ecosystem-v62,
.investor-overview-v62{
  --v62-green:#64e7a4;
  --v62-green-rgb:100,231,164;
  --v62-ink:#06100d;
  --v62-panel:color-mix(in srgb,var(--surface) 76%,var(--bg));
}
html[data-theme="light"] .investor-home-v62,
html[data-theme="light"] .products-ecosystem-v62,
html[data-theme="light"] .investor-overview-v62{
  --v62-green:#087b49;
  --v62-green-rgb:8,123,73;
}

.v62-header{border-bottom:1px solid color-mix(in srgb,var(--line-2) 70%,transparent);backdrop-filter:blur(18px)}
.v62-header .labs-nav{height:70px}
.v62-header .labs-brand img{width:38px;height:38px}
.v62-header .labs-public-nav{gap:28px}
.v62-header .labs-public-nav a{position:relative;padding:26px 0;font-size:12px;font-weight:700;color:var(--muted)}
.v62-header .labs-public-nav a:hover,.v62-header .labs-public-nav a.is-active{color:var(--text)}
.v62-header .labs-public-nav a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--v62-green)}

.v62-label{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.v62-label i{width:7px;height:7px;border-radius:50%;background:var(--v62-green);box-shadow:0 0 0 6px rgba(var(--v62-green-rgb),.09),0 0 22px rgba(var(--v62-green-rgb),.35)}
.v62-hero{position:relative;overflow:hidden;padding:clamp(72px,9vw,126px) 0 0;border-bottom:1px solid var(--line-2)}
.v62-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 73% 34%,rgba(var(--v62-green-rgb),.13),transparent 28%),linear-gradient(90deg,transparent 0 49.92%,color-mix(in srgb,var(--line-2) 45%,transparent) 50%,transparent 50.08%)}
.v62-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(430px,.8fr);gap:clamp(52px,8vw,118px);align-items:center;min-height:510px}
.v62-hero-copy h1{margin:25px 0 24px;max-width:920px;font-size:clamp(60px,7.35vw,102px);line-height:.91;letter-spacing:-.072em}
.v62-hero-copy h1 em,.v62-thesis-copy h2 em,.v62-products-hero h1 em,.v62-investor-hero h1 em{color:var(--v62-green);font-style:normal}
.v62-hero-copy>p{max-width:650px;margin:0;color:var(--muted);font-size:17px;line-height:1.7}
.v62-hero-copy .hero-actions,.v62-investor-hero .hero-actions{display:flex;align-items:center;gap:26px;margin-top:32px}
.v62-text-link{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-size:12px;font-weight:800}
.v62-text-link span{color:var(--v62-green)}

.v62-product-stage{position:relative;min-height:485px}
.v62-stage-glow{position:absolute;inset:12% 8%;border:1px solid rgba(var(--v62-green-rgb),.12);border-radius:50%;background:radial-gradient(circle,rgba(var(--v62-green-rgb),.13),transparent 63%)}
.v62-stage-glow:after{content:"";position:absolute;inset:15%;border:1px solid rgba(var(--v62-green-rgb),.1);border-radius:50%}
.v62-stage-card{position:absolute;display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:14px;width:230px;padding:13px;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:23px;background:color-mix(in srgb,var(--bg) 90%,transparent);box-shadow:0 28px 70px rgba(0,0,0,.24);backdrop-filter:blur(16px)}
.v62-stage-card img{width:70px;height:70px;border-radius:18px;object-fit:cover;box-shadow:0 12px 28px rgba(0,0,0,.18)}
.v62-stage-card span{display:grid;gap:4px;min-width:0}
.v62-stage-card b{font-size:14px;letter-spacing:-.02em}
.v62-stage-card small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.v62-stage-card.card-nfc{left:1%;top:4%;transform:rotate(-5deg)}
.v62-stage-card.card-pos{right:0;top:20%;transform:rotate(4deg)}
.v62-stage-card.card-print{left:5%;bottom:9%;transform:rotate(3deg)}
.v62-stage-card.card-finder{right:4%;bottom:-1%;transform:rotate(-4deg)}

.v62-facts{position:relative;display:grid;grid-template-columns:repeat(4,1fr);margin-top:72px;border-top:1px solid var(--line-2)}
.v62-facts span{display:flex;align-items:baseline;gap:7px;padding:22px 18px;border-right:1px solid var(--line-2);color:var(--muted);font-size:10px;font-weight:700}
.v62-facts span:first-child{padding-left:0}
.v62-facts span:last-child{border-right:0}
.v62-facts b{color:var(--text);font-size:17px;letter-spacing:-.03em}

.v62-selected{padding:clamp(82px,10vw,140px) 0;background:color-mix(in srgb,var(--surface) 30%,var(--bg))}
.v62-section-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;margin-bottom:42px}
.v62-section-heading>span{grid-column:1/-1;margin-bottom:14px;color:var(--v62-green);font-size:9px;font-weight:900;letter-spacing:.14em}
.v62-section-heading h2{margin:0;font-size:clamp(44px,5.3vw,70px);line-height:.98;letter-spacing:-.055em}
.v62-section-heading>a{align-self:end;color:var(--text);font-size:11px;font-weight:800}
.v62-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v62-product-grid .ecosystem-product-card{min-height:318px;padding:16px;border-radius:20px;background:var(--bg)}
.v62-product-grid .ecosystem-card-icon{width:78px;height:78px;border-radius:21px}
.v62-product-grid .ecosystem-card-group{display:none}
.v62-product-grid .ecosystem-product-card h3{margin-top:1px;font-size:23px}
.v62-product-grid .ecosystem-product-card p{font-size:10px;line-height:1.6}
.v62-product-grid .ecosystem-card-status{max-width:102px;padding:5px 7px;font-size:7px}

.v62-thesis{position:relative;padding:clamp(88px,11vw,150px) 0;border-top:1px solid var(--line-2);overflow:hidden}
.v62-thesis:after{content:"DOUVI";position:absolute;left:-.04em;bottom:-.28em;color:rgba(var(--v62-green-rgb),.025);font-size:31vw;font-weight:950;letter-spacing:-.12em;pointer-events:none}
.v62-thesis-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.78fr);gap:clamp(64px,10vw,150px)}
.v62-thesis-copy>span,.v62-products-heading>span,.v62-validation-grid>div>span,.v62-investor-cta span{color:var(--v62-green);font-size:9px;font-weight:900;letter-spacing:.14em}
.v62-thesis-copy h2{margin:16px 0 23px;font-size:clamp(44px,5.4vw,72px);line-height:.98;letter-spacing:-.06em}
.v62-thesis-copy p{max-width:580px;margin:0;color:var(--muted);font-size:14px;line-height:1.75}
.v62-thesis-points{display:grid;border-top:1px solid var(--line)}
.v62-thesis-points article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:18px;padding:23px 0;border-bottom:1px solid var(--line)}
.v62-thesis-points article>b{color:var(--v62-green);font-size:9px}
.v62-thesis-points article span{display:grid;gap:5px}
.v62-thesis-points strong{font-size:15px}
.v62-thesis-points small{color:var(--muted);font-size:10px}
.v62-thesis-points>a{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:15px 17px;border:1px solid rgba(var(--v62-green-rgb),.22);border-radius:14px;background:rgba(var(--v62-green-rgb),.07);color:var(--text);font-size:11px;font-weight:800}
.v62-thesis-points>a span{color:var(--v62-green)}

.v62-footer{padding-top:50px}
.v62-footer-main{display:flex;align-items:flex-start;justify-content:space-between;gap:48px;padding-bottom:50px}
.v62-footer-main>div p{margin:12px 0 0;color:var(--muted);font-size:11px}
.v62-footer-main nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:16px 27px;padding-top:9px}
.v62-footer-main nav a{color:var(--muted);font-size:10px;font-weight:700}
.v62-footer-main nav a:hover{color:var(--text)}

/* Product catalog */
.v62-products-hero{position:relative;overflow:hidden;padding:clamp(84px,10vw,142px) 0 58px;border-bottom:1px solid var(--line-2)}
.v62-products-hero:after{content:"07";position:absolute;right:3vw;top:-.12em;color:rgba(var(--v62-green-rgb),.045);font-size:min(32vw,420px);font-weight:950;line-height:1;letter-spacing:-.1em;pointer-events:none}
.v62-products-hero .shell{position:relative;z-index:1}
.v62-products-hero h1{margin:24px 0 21px;max-width:900px;font-size:clamp(58px,7.7vw,104px);line-height:.91;letter-spacing:-.072em}
.v62-products-hero>div>p{max-width:650px;margin:0;color:var(--muted);font-size:16px;line-height:1.7}
.v62-products-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:38px}
.v62-products-facts span{display:flex;align-items:baseline;gap:6px;padding:10px 13px;border:1px solid var(--line-2);border-radius:999px;color:var(--muted);font-size:9px}
.v62-products-facts b{color:var(--text);font-size:11px}
.v62-products-list{padding:clamp(70px,8vw,110px) 0;background:color-mix(in srgb,var(--surface) 27%,var(--bg))}
.v62-products-heading{display:flex;justify-content:space-between;gap:28px;margin-bottom:26px}
.v62-products-heading p{margin:0;color:var(--muted);font-size:11px}
.products-ecosystem-v62 .products-v2-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.products-ecosystem-v62 .products-v2-grid .portfolio-card{min-height:308px;border-radius:21px}

/* Investor overview */
.v62-investor-hero{position:relative;overflow:hidden;padding:clamp(80px,10vw,140px) 0 0;border-bottom:1px solid var(--line-2)}
.v62-investor-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 77% 38%,rgba(var(--v62-green-rgb),.12),transparent 28%);pointer-events:none}
.v62-investor-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.7fr);gap:80px;align-items:center;min-height:430px}
.v62-investor-hero h1{margin:24px 0 22px;font-size:clamp(56px,7.1vw,94px);line-height:.92;letter-spacing:-.07em}
.v62-investor-hero p{max-width:680px;margin:0;color:var(--muted);font-size:16px;line-height:1.7}
.v62-investor-icons{display:grid;grid-template-columns:repeat(2,150px);gap:15px;justify-content:end;transform:rotate(3deg)}
.v62-investor-icons img{width:150px;height:150px;border:1px solid var(--line-2);border-radius:35px;object-fit:cover;box-shadow:0 26px 60px rgba(0,0,0,.2)}
.v62-investor-icons img:nth-child(2),.v62-investor-icons img:nth-child(3){transform:translateY(22px)}
.v62-investor-thesis{padding:clamp(80px,10vw,135px) 0;background:color-mix(in srgb,var(--surface) 28%,var(--bg))}
.v62-investor-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.v62-investor-cards article{min-height:285px;padding:25px;border:1px solid var(--line-2);border-radius:22px;background:var(--bg)}
.v62-investor-cards article>span{display:block;margin-bottom:72px;color:var(--v62-green);font-size:9px;font-weight:900}
.v62-investor-cards h3{margin:0 0 11px;font-size:25px;letter-spacing:-.04em}
.v62-investor-cards p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}
.v62-validation{padding:clamp(80px,10vw,135px) 0;border-top:1px solid var(--line-2)}
.v62-validation-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.75fr);gap:clamp(60px,10vw,150px)}
.v62-validation-grid h2{margin:16px 0 18px;font-size:clamp(42px,5vw,66px);line-height:.98;letter-spacing:-.055em}
.v62-validation-grid>div>p{max-width:570px;margin:0;color:var(--muted);font-size:13px;line-height:1.75}
.v62-validation-grid ul{margin:16px 0 0;padding:0;border-top:1px solid var(--line);list-style:none}
.v62-validation-grid li{display:grid;gap:5px;padding:20px 0;border-bottom:1px solid var(--line)}
.v62-validation-grid li b{font-size:14px}
.v62-validation-grid li small{color:var(--muted);font-size:10px}
.v62-investor-cta{padding:0 0 70px}
.v62-investor-cta>.shell{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:40px;border:1px solid rgba(var(--v62-green-rgb),.24);border-radius:27px;background:linear-gradient(135deg,rgba(var(--v62-green-rgb),.1),var(--v62-panel))}
.v62-investor-cta h2{margin:12px 0 0;font-size:clamp(32px,4.3vw,54px);line-height:1;letter-spacing:-.05em}

@media(max-width:1050px){
  .v62-hero-grid{grid-template-columns:minmax(0,1fr) minmax(380px,.7fr);gap:42px}
  .v62-stage-card{width:205px;grid-template-columns:60px minmax(0,1fr)}
  .v62-stage-card img{width:60px;height:60px}
  .v62-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v62-thesis-grid{grid-template-columns:1fr 420px;gap:55px}
  .v62-investor-hero-grid{grid-template-columns:1fr 315px;gap:45px}
  .v62-investor-icons{grid-template-columns:repeat(2,138px)}
  .v62-investor-icons img{width:138px;height:138px}
}

@media(max-width:780px){
  .v62-header .labs-nav{height:64px}
  .v62-hero{padding-top:64px}
  .v62-hero:before{background:radial-gradient(circle at 77% 24%,rgba(var(--v62-green-rgb),.1),transparent 30%)}
  .v62-hero-grid{grid-template-columns:1fr;min-height:0;gap:46px}
  .v62-hero-copy h1{font-size:clamp(53px,12vw,78px)}
  .v62-product-stage{min-height:410px;max-width:590px;width:100%;margin:0 auto}
  .v62-facts{grid-template-columns:repeat(2,1fr);margin-top:46px}
  .v62-facts span:nth-child(2){border-right:0}
  .v62-facts span:nth-child(-n+2){border-bottom:1px solid var(--line-2)}
  .v62-section-heading{grid-template-columns:1fr;gap:20px}
  .v62-section-heading>a{justify-self:start}
  .v62-thesis-grid{grid-template-columns:1fr;gap:48px}
  .v62-footer-main{flex-direction:column}
  .v62-footer-main nav{justify-content:flex-start;padding-top:0}
  .products-ecosystem-v62 .products-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v62-investor-hero-grid{grid-template-columns:1fr;gap:52px}
  .v62-investor-icons{justify-content:start;margin-left:8px}
  .v62-investor-cards{grid-template-columns:1fr}
  .v62-investor-cards article{min-height:230px}
  .v62-investor-cards article>span{margin-bottom:45px}
  .v62-validation-grid{grid-template-columns:1fr;gap:58px}
  .v62-investor-cta>.shell{align-items:flex-start;flex-direction:column}
}

@media(max-width:520px){
  .investor-home-v62 .shell,.products-ecosystem-v62 .shell,.investor-overview-v62 .shell{width:min(calc(100% - 26px),var(--ds-content))}
  .v62-hero-copy h1{font-size:clamp(47px,13.4vw,66px)}
  .v62-hero-copy h1 br{display:none}
  .v62-hero-copy>p,.v62-investor-hero p{font-size:14px}
  .v62-hero-copy .hero-actions,.v62-investor-hero .hero-actions{align-items:flex-start;flex-direction:column;gap:19px}
  .v62-product-stage{min-height:380px}
  .v62-stage-glow{inset:13% 0}
  .v62-stage-card{width:187px;grid-template-columns:53px minmax(0,1fr);gap:10px;padding:10px;border-radius:18px}
  .v62-stage-card img{width:53px;height:53px;border-radius:14px}
  .v62-stage-card b{font-size:12px}
  .v62-stage-card small{font-size:8px}
  .v62-stage-card.card-nfc{left:0;top:4%}
  .v62-stage-card.card-pos{right:0;top:27%}
  .v62-stage-card.card-print{left:0;bottom:22%}
  .v62-stage-card.card-finder{right:0;bottom:0}
  .v62-facts span{padding:16px 7px;font-size:8px}
  .v62-facts span:nth-child(odd){padding-left:0}
  .v62-facts b{font-size:14px}
  .v62-selected,.v62-thesis{padding:74px 0}
  .v62-section-heading h2,.v62-thesis-copy h2{font-size:42px}
  .v62-product-grid,.products-ecosystem-v62 .products-v2-grid{grid-template-columns:1fr}
  .v62-product-grid .ecosystem-product-card{min-height:285px}
  .v62-footer-main{padding-bottom:34px}
  .v62-footer-main nav{gap:15px 20px}
  .v62-products-hero{padding:70px 0 48px}
  .v62-products-hero h1{font-size:49px}
  .v62-products-hero h1 br{display:none}
  .v62-products-list{padding:60px 0}
  .v62-products-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .v62-investor-hero{padding-top:70px}
  .v62-investor-hero h1{font-size:47px}
  .v62-investor-hero h1 br{display:none}
  .v62-investor-icons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;transform:none}
  .v62-investor-icons img{width:100%;height:auto;border-radius:25px}
  .v62-investor-icons img:nth-child(2),.v62-investor-icons img:nth-child(3){transform:none}
  .v62-investor-thesis,.v62-validation{padding:74px 0}
  .v62-investor-cards article{min-height:220px;padding:22px}
  .v62-investor-cta{padding-bottom:45px}
  .v62-investor-cta>.shell{padding:27px}
}

@media(prefers-reduced-motion:reduce){
  .v62-stage-card{transform:none!important}
}

/* ==========================================================
   DOUVI V6.3 — GLOBAL PRODUCT VISION + RESTRAINED MOTION
   ========================================================== */

.product-vision-v63{
  --v63-glow:rgba(var(--v62-green-rgb),.18);
  --v63-ease:cubic-bezier(.2,.75,.25,1);
}

.product-vision-v63 .v62-header{
  background:color-mix(in srgb,var(--bg) 78%,transparent);
  transition:background .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.product-vision-v63 .v62-header.v63-scrolled{
  background:color-mix(in srgb,var(--bg) 92%,transparent);
  border-color:color-mix(in srgb,var(--v62-green) 18%,var(--line-2));
  box-shadow:0 14px 44px rgba(0,0,0,.12);
}
.product-vision-v63 .v62-label i{animation:v63Signal 2.8s ease-in-out infinite}
.product-vision-v63 .v62-hero:after,
.product-vision-v63 .v62-investor-hero:after{
  content:"";
  position:absolute;
  width:min(46vw,680px);
  aspect-ratio:1;
  right:-13%;
  top:-25%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(var(--v62-green-rgb),.12),rgba(var(--v62-green-rgb),.025) 42%,transparent 68%);
  filter:blur(8px);
  pointer-events:none;
  animation:v63Ambient 10s ease-in-out infinite alternate;
}

.product-vision-v63 .v62-product-stage{
  isolation:isolate;
  transition:transform .7s var(--v63-ease);
  will-change:transform;
}
.product-vision-v63 .v62-stage-glow{
  box-shadow:inset 0 0 80px rgba(var(--v62-green-rgb),.045),0 0 90px rgba(var(--v62-green-rgb),.035);
  animation:v63Breathe 7s ease-in-out infinite;
}
.product-vision-v63 .v62-stage-glow:before{
  content:"";
  position:absolute;
  inset:-8%;
  border:1px dashed rgba(var(--v62-green-rgb),.11);
  border-radius:50%;
  animation:v63Orbit 38s linear infinite;
}
.product-vision-v63 .v62-stage-card{
  box-shadow:0 28px 70px rgba(0,0,0,.23),0 0 0 1px rgba(var(--v62-green-rgb),.025);
  transition:border-color .35s ease,box-shadow .35s ease,background .35s ease;
  will-change:transform;
}
.product-vision-v63 .v62-stage-card:hover{
  border-color:rgba(var(--v62-green-rgb),.34);
  background:color-mix(in srgb,var(--bg) 84%,rgba(var(--v62-green-rgb),.16));
  box-shadow:0 34px 86px rgba(0,0,0,.3),0 0 42px rgba(var(--v62-green-rgb),.1);
}
.product-vision-v63 .v62-stage-card.card-nfc{animation:v63FloatNfc 6.2s ease-in-out infinite}
.product-vision-v63 .v62-stage-card.card-pos{animation:v63FloatPos 7.1s ease-in-out .5s infinite}
.product-vision-v63 .v62-stage-card.card-print{animation:v63FloatPrint 6.8s ease-in-out 1s infinite}
.product-vision-v63 .v62-stage-card.card-finder{animation:v63FloatFinder 7.5s ease-in-out .2s infinite}

.product-vision-v63 .btn-primary{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(var(--v62-green-rgb),.12);
  transition:transform .25s var(--v63-ease),box-shadow .25s ease;
}
.product-vision-v63 .btn-primary:after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-80% -45%;
  background:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.3) 50%,transparent 62%);
  transform:translateX(-72%) rotate(8deg);
  transition:transform .75s var(--v63-ease);
}
.product-vision-v63 .btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(var(--v62-green-rgb),.2)}
.product-vision-v63 .btn-primary:hover:after{transform:translateX(72%) rotate(8deg)}
.product-vision-v63 .v62-text-link span{transition:transform .25s ease}
.product-vision-v63 .v62-text-link:hover span{transform:translate(2px,-2px)}

.product-vision-v63 .ecosystem-product-card,
.product-vision-v63 .portfolio-card,
.product-vision-v63 .v62-investor-cards article{
  transition:transform .42s var(--v63-ease),border-color .3s ease,box-shadow .42s ease;
}
.product-vision-v63 .ecosystem-product-card:hover,
.product-vision-v63 .portfolio-card:hover,
.product-vision-v63 .v62-investor-cards article:hover{
  transform:translateY(-7px);
  border-color:rgba(var(--v62-green-rgb),.26);
  box-shadow:0 24px 60px rgba(0,0,0,.13);
}
.product-vision-v63 .v62-investor-icons img{animation:v63IconFloat 7s ease-in-out infinite;will-change:transform}
.product-vision-v63 .v62-investor-icons img:nth-child(2){animation-delay:.7s}
.product-vision-v63 .v62-investor-icons img:nth-child(3){animation-delay:1.4s}
.product-vision-v63 .v62-investor-icons img:nth-child(4){animation-delay:2.1s}
.product-vision-v63 .v62-products-hero:after{content:"100+";right:2vw;font-size:min(25vw,340px);top:.02em}

.product-vision-v63 [data-v63-reveal]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s var(--v63-ease),transform .8s var(--v63-ease);
}
.product-vision-v63 [data-v63-reveal].is-visible{opacity:1;transform:translateY(0)}
.product-vision-v63 [data-v63-reveal-delay="1"]{transition-delay:.08s}
.product-vision-v63 [data-v63-reveal-delay="2"]{transition-delay:.16s}

@keyframes v63Signal{0%,100%{box-shadow:0 0 0 6px rgba(var(--v62-green-rgb),.08),0 0 18px rgba(var(--v62-green-rgb),.25)}50%{box-shadow:0 0 0 10px rgba(var(--v62-green-rgb),0),0 0 30px rgba(var(--v62-green-rgb),.48)}}
@keyframes v63Ambient{from{transform:translate3d(-2%,0,0) scale(.94);opacity:.62}to{transform:translate3d(3%,5%,0) scale(1.07);opacity:1}}
@keyframes v63Breathe{0%,100%{transform:scale(.98);opacity:.72}50%{transform:scale(1.025);opacity:1}}
@keyframes v63Orbit{to{transform:rotate(360deg)}}
@keyframes v63FloatNfc{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-11px) rotate(-3.5deg)}}
@keyframes v63FloatPos{0%,100%{transform:translateY(0) rotate(4deg)}50%{transform:translateY(10px) rotate(2.5deg)}}
@keyframes v63FloatPrint{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-9px) rotate(4.5deg)}}
@keyframes v63FloatFinder{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(10px) rotate(-2.5deg)}}
@keyframes v63IconFloat{0%,100%{translate:0 0}50%{translate:0 -9px}}

@media(max-width:780px){
  .product-vision-v63 .v62-products-hero:after{font-size:38vw;top:.18em;opacity:.65}
  .product-vision-v63 .v62-facts span{line-height:1.45}
}

@media(prefers-reduced-motion:reduce){
  .product-vision-v63 *,
  .product-vision-v63 *:before,
  .product-vision-v63 *:after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
  .product-vision-v63 [data-v63-reveal]{opacity:1;transform:none}
}

/* V6.3.1 — visible contact path */
.product-vision-v63 .v62-header .labs-public-nav .v63-contact-link{
  padding:10px 16px;
  border:1px solid rgba(var(--v62-green-rgb),.3);
  border-radius:999px;
  background:rgba(var(--v62-green-rgb),.07);
  color:var(--text);
  transition:color .25s ease,background .25s ease,border-color .25s ease,transform .25s ease;
}
.product-vision-v63 .v62-header .labs-public-nav .v63-contact-link:hover,
.product-vision-v63 .v62-header .labs-public-nav .v63-contact-link.is-active{
  border-color:rgba(var(--v62-green-rgb),.55);
  background:rgba(var(--v62-green-rgb),.14);
  color:var(--text);
  transform:translateY(-1px);
}
.product-vision-v63 .v62-header .labs-public-nav .v63-contact-link:after{display:none}

.v631-contact-hero{
  position:relative;
  min-height:calc(100vh - 70px);
  overflow:hidden;
  padding:clamp(78px,10vw,142px) 0 clamp(82px,10vw,138px);
}
.v631-contact-hero:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 76% 30%,rgba(var(--v62-green-rgb),.12),transparent 28%),linear-gradient(90deg,transparent 0 49.92%,color-mix(in srgb,var(--line-2) 45%,transparent) 50%,transparent 50.08%);
}
.v631-contact-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(430px,.78fr);
  gap:clamp(65px,10vw,145px);
  align-items:start;
}
.v631-contact-copy{padding-top:18px}
.v631-contact-copy h1{
  margin:25px 0 24px;
  max-width:860px;
  font-size:clamp(56px,6.8vw,92px);
  line-height:.93;
  letter-spacing:-.068em;
}
.v631-contact-copy h1 em{color:var(--v62-green);font-style:normal}
.v631-contact-copy>p{max-width:620px;margin:0;color:var(--muted);font-size:16px;line-height:1.75}
.v631-contact-panel{display:grid;border-top:1px solid var(--line)}
.v631-contact-card{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:20px;
  padding:28px 0;
  border-bottom:1px solid var(--line);
  color:var(--text);
  transition:padding .35s var(--v63-ease),border-color .3s ease;
}
.v631-contact-card>span{padding-top:4px;color:var(--v62-green);font-size:9px;font-weight:900}
.v631-contact-card>div{display:grid;gap:9px}
.v631-contact-card small{color:var(--v62-green);font-size:8px;font-weight:900;letter-spacing:.13em}
.v631-contact-card h2{margin:0;font-size:clamp(24px,2.4vw,34px);line-height:1.06;letter-spacing:-.045em}
.v631-contact-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}
.v631-contact-card strong{margin-top:8px;font-size:11px}
.v631-contact-card:hover{padding-left:13px;border-color:rgba(var(--v62-green-rgb),.42)}

@media(max-width:780px){
  .v631-contact-grid{grid-template-columns:1fr;gap:55px}
  .v631-contact-hero{min-height:auto;padding-top:72px}
  .v631-contact-copy{padding-top:0}
}

@media(max-width:520px){
  .contact-v631 .shell{width:min(calc(100% - 26px),var(--ds-content))}
  .v631-contact-copy h1{font-size:48px}
  .v631-contact-copy h1 br{display:none}
  .v631-contact-copy>p{font-size:14px}
  .v631-contact-card{grid-template-columns:28px minmax(0,1fr);gap:12px;padding:24px 0}
}

/* V7.0 — Douvi Mini Store */
.mini-store-v7{
  --mini-accent:#72f2ae;
  --mini-accent-rgb:114,242,174;
  --mini-panel:color-mix(in srgb,var(--surface) 82%,transparent);
  background:
    radial-gradient(circle at 78% 8%,rgba(var(--mini-accent-rgb),.075),transparent 27%),
    var(--bg);
}
.mini-store-v7 .shell{width:min(calc(100% - 48px),1180px)}
.mini-store-header{background:color-mix(in srgb,var(--bg) 86%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.mini-store-header .labs-public-nav a{font-size:11px;letter-spacing:.01em}
.mini-store-header .labs-public-nav a.is-active{color:var(--text)}
.mini-store-header .mini-contact-link{padding:9px 14px;border:1px solid var(--line);border-radius:999px}
.mini-store-header .mini-contact-link:after{display:none}

.mini-store-intro{padding:clamp(70px,9vw,118px) 0 32px}
.mini-store-title{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.48fr);gap:60px;align-items:end}
.mini-store-title>div>span,.mini-section-head span,.mini-store-vision>div>div>span{
  display:block;margin-bottom:16px;color:var(--mini-accent);font-size:9px;font-weight:900;letter-spacing:.18em
}
.mini-store-title h1{margin:0;font-size:clamp(54px,7.5vw,98px);line-height:.9;letter-spacing:-.068em}
.mini-store-title h1 em{color:var(--mini-accent);font-style:normal}
.mini-store-title>p{max-width:310px;margin:0 0 8px;color:var(--muted);font-size:16px;line-height:1.6}
.mini-store-search{
  display:grid;grid-template-columns:30px 1fr auto;align-items:center;max-width:720px;height:58px;margin-top:46px;padding:0 18px;
  border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--surface) 70%,transparent);box-shadow:0 18px 55px rgba(0,0,0,.09);
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease
}
.mini-store-search:focus-within{border-color:rgba(var(--mini-accent-rgb),.52);box-shadow:0 20px 70px rgba(0,0,0,.14),0 0 0 3px rgba(var(--mini-accent-rgb),.08);transform:translateY(-1px)}
.mini-store-search>span{color:var(--mini-accent);font-size:24px;transform:rotate(-20deg)}
.mini-store-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:14px}
.mini-store-search input::placeholder{color:var(--muted)}
.mini-store-search kbd{padding:4px 8px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:transparent;font:inherit;font-size:10px}
.mini-store-filters{display:flex;gap:8px;margin-top:18px;overflow:auto;scrollbar-width:none}
.mini-store-filters::-webkit-scrollbar{display:none}
.mini-store-filters button{flex:0 0 auto;padding:10px 15px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:10px;font-weight:800;cursor:pointer;transition:.22s ease}
.mini-store-filters button:hover{color:var(--text);border-color:rgba(var(--mini-accent-rgb),.35)}
.mini-store-filters button.is-active{border-color:var(--mini-accent);background:var(--mini-accent);color:#062b18;box-shadow:0 8px 24px rgba(var(--mini-accent-rgb),.16)}

.mini-store-section,.mini-search-section{padding:44px 0}
.mini-featured-section{padding-top:54px}
.mini-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.mini-section-head span{margin-bottom:7px}
.mini-section-head h2{margin:0;font-size:clamp(24px,3vw,38px);line-height:1;letter-spacing:-.045em}
.mini-section-head>a{padding-bottom:3px;color:var(--muted);font-size:10px;font-weight:800}
.mini-section-head>a:hover{color:var(--mini-accent)}
.mini-featured-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mini-feature-card{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) 150px;min-height:295px;padding:34px;overflow:hidden;border:1px solid var(--line);border-radius:28px;
  background:linear-gradient(135deg,rgba(var(--mini-accent-rgb),.16),color-mix(in srgb,var(--surface) 86%,transparent) 54%,rgba(28,92,66,.12));color:var(--text);
  box-shadow:0 22px 70px rgba(0,0,0,.11);transition:transform .38s cubic-bezier(.2,.8,.2,1),border-color .3s ease,box-shadow .3s ease
}
.mini-feature-card:before{content:"";position:absolute;width:250px;height:250px;right:-80px;top:-100px;border-radius:50%;background:rgba(var(--mini-accent-rgb),.13);filter:blur(1px)}
.mini-feature-card:hover{transform:translateY(-6px);border-color:rgba(var(--mini-accent-rgb),.38);box-shadow:0 30px 90px rgba(0,0,0,.17)}
.mini-feature-card .mini-feature-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start}
.mini-card-type{color:var(--mini-accent);font-size:9px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.mini-feature-card h3{margin:22px 0 9px;font-size:clamp(29px,3.5vw,48px);line-height:.95;letter-spacing:-.055em}
.mini-feature-card p{max-width:270px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.mini-feature-action{margin-top:auto;padding-top:30px;font-size:10px;font-weight:900}
.mini-app-icon{position:relative;display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:17px;background:linear-gradient(145deg,#122a20,#07130e);box-shadow:0 14px 30px rgba(0,0,0,.19)}
.mini-app-icon img{width:100%;height:100%;object-fit:cover}
.mini-app-icon b{font-size:15px;letter-spacing:-.04em;color:var(--mini-accent)}
.mini-app-icon.is-large{align-self:end;justify-self:end;width:132px;height:132px;border-radius:30px;transform:rotate(4deg);box-shadow:0 25px 50px rgba(0,0,0,.28);transition:transform .38s cubic-bezier(.2,.8,.2,1)}
.mini-feature-card:hover .mini-app-icon.is-large{transform:rotate(0) scale(1.035)}

.mini-store-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(305px,1fr);gap:12px;overflow-x:auto;padding:3px 1px 16px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:rgba(var(--mini-accent-rgb),.26) transparent}
.mini-product-card{display:grid;grid-template-columns:68px minmax(0,1fr) 24px;gap:16px;align-items:center;min-height:108px;padding:19px;border:1px solid var(--line);border-radius:21px;background:color-mix(in srgb,var(--surface) 65%,transparent);color:var(--text);scroll-snap-align:start;transition:transform .27s ease,border-color .27s ease,background .27s ease}
.mini-product-card:hover{transform:translateY(-3px);border-color:rgba(var(--mini-accent-rgb),.32);background:color-mix(in srgb,var(--surface) 84%,transparent)}
.mini-card-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.mini-card-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;letter-spacing:-.02em}
.mini-card-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}
.mini-card-copy em{margin-top:3px;color:var(--mini-accent);font-size:8px;font-style:normal;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.mini-card-open{color:var(--muted);font-size:15px;transition:transform .2s ease,color .2s ease}
.mini-product-card:hover .mini-card-open{color:var(--mini-accent);transform:translateX(3px)}
.mini-store-all-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mini-empty{grid-column:1/-1;padding:50px 0;color:var(--muted);text-align:center}

.mini-games-section{position:relative}
.mini-games-section:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent,rgba(52,139,109,.035),transparent)}
.mini-coming-section .mini-product-card{opacity:.88}
.mini-store-vision{padding:70px 0 90px}
.mini-store-vision>.shell{display:flex;align-items:end;justify-content:space-between;gap:40px;padding:42px;border:1px solid rgba(var(--mini-accent-rgb),.23);border-radius:28px;background:linear-gradient(110deg,rgba(var(--mini-accent-rgb),.1),color-mix(in srgb,var(--surface) 63%,transparent))}
.mini-store-vision h2{margin:0;font-size:clamp(29px,4vw,48px);letter-spacing:-.055em}
.mini-store-vision p{margin:12px 0 0;color:var(--muted);font-size:12px}
.mini-store-vision>.shell>div:last-child{display:flex;align-items:center;gap:22px;flex:0 0 auto}
.mini-plain-link{color:var(--muted);font-size:10px;font-weight:800}
.mini-plain-link:hover{color:var(--mini-accent)}
.mini-store-footer .v62-footer-main p{color:var(--muted)}

@keyframes miniStoreReveal{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.mini-store-v7 .mini-store-title,.mini-store-v7 .mini-store-search,.mini-store-v7 .mini-store-filters{animation:miniStoreReveal .65s both cubic-bezier(.2,.8,.2,1)}
.mini-store-v7 .mini-store-search{animation-delay:.08s}.mini-store-v7 .mini-store-filters{animation-delay:.14s}

@media(max-width:900px){
  .mini-store-title{grid-template-columns:1fr;gap:22px}.mini-store-title>p{max-width:430px}.mini-featured-grid{grid-template-columns:1fr}.mini-store-all-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-store-vision>.shell{align-items:flex-start;flex-direction:column}.mini-store-vision>.shell>div:last-child{width:100%}
}
@media(max-width:640px){
  .mini-store-v7 .shell{width:min(calc(100% - 28px),1180px)}.mini-store-intro{padding-top:62px}.mini-store-title h1{font-size:50px}.mini-store-title>p{font-size:14px}.mini-store-search{height:54px;margin-top:32px}.mini-store-search kbd{display:none}.mini-store-section,.mini-search-section{padding:34px 0}.mini-featured-section{padding-top:42px}.mini-feature-card{grid-template-columns:minmax(0,1fr) 92px;min-height:245px;padding:25px;border-radius:23px}.mini-app-icon.is-large{width:86px;height:86px;border-radius:21px}.mini-feature-card p{font-size:10px}.mini-store-rail{grid-auto-columns:minmax(280px,88vw)}.mini-store-all-grid{grid-template-columns:1fr}.mini-store-vision{padding:52px 0 70px}.mini-store-vision>.shell{padding:28px}.mini-store-vision>.shell>div:last-child{align-items:flex-start;flex-direction:column}.mini-section-head h2{font-size:27px}.mini-section-head>a{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .mini-store-v7 *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* V7.1 — product-first refinement */
.mini-store-v71 .mini-store-intro{padding:clamp(48px,6vw,76px) 0 18px}
.mini-store-v71 .mini-store-title{grid-template-columns:minmax(0,1fr) minmax(320px,430px);align-items:center;gap:70px}
.mini-store-v71 .mini-store-title>div>span{margin-bottom:13px}
.mini-store-v71 .mini-store-title h1{font-size:clamp(48px,5.8vw,76px);line-height:.91}
.mini-store-v71 .mini-store-title>div>p{margin:18px 0 0;color:var(--muted);font-size:14px}
.mini-store-v71 .mini-store-title>.mini-store-search{width:100%;max-width:none;margin:0}
.mini-store-v71 .mini-store-filters{margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}
.mini-store-v71 .mini-featured-section{padding-top:28px}
.mini-store-v71 .mini-featured-grid{grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr)}
.mini-store-v71 .mini-feature-card{grid-template-columns:minmax(0,1fr) 130px;min-height:270px;padding:31px;background:linear-gradient(130deg,rgba(var(--mini-accent-rgb),.18),rgba(12,37,26,.66) 55%,rgba(5,10,8,.92))}
.mini-store-v71 .mini-feature-card:nth-child(2){background:linear-gradient(135deg,rgba(132,113,255,.15),rgba(19,17,39,.75) 56%,rgba(7,8,12,.95))}
.mini-store-v71 .mini-feature-card:nth-child(2) .mini-card-type,.mini-store-v71 .mini-feature-card:nth-child(2) .mini-feature-action{color:#b9aaff}
.mini-store-v71 .mini-feature-card h3{font-size:clamp(34px,3.7vw,52px)}
.mini-store-v71 .mini-feature-action{display:inline-grid;place-items:center;min-height:34px;padding:0 14px;border:1px solid currentColor;border-radius:999px}
.mini-store-v71 .mini-app-icon.is-large{width:118px;height:118px;border-radius:27px}
.mini-store-v71 .mini-store-section{padding:39px 0}
.mini-store-v71 .mini-store-rail{grid-auto-columns:minmax(330px,1fr)}
.mini-store-v71 .mini-product-card{grid-template-columns:68px minmax(0,1fr) auto;min-height:112px;padding:18px 16px 18px 18px}
.mini-store-v71 .mini-card-copy small{font-size:9.5px}
.mini-store-v71 .mini-card-copy em{color:var(--muted);font-size:7.5px}
.mini-store-v71 .mini-card-open{display:grid;place-items:center;min-width:70px;min-height:30px;padding:0 11px;border-radius:999px;background:rgba(var(--mini-accent-rgb),.1);color:var(--mini-accent);font-size:8px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.mini-store-v71 .mini-product-card:hover .mini-card-open{transform:none;background:var(--mini-accent);color:#062b18}
.mini-store-v71 .mini-games-section{--mini-accent:#aa98ff;--mini-accent-rgb:170,152,255}
.mini-store-v71 .mini-games-section:before{background:radial-gradient(circle at 25% 40%,rgba(var(--mini-accent-rgb),.055),transparent 35%)}
.mini-store-v71 .mini-coming-section{--mini-accent:#f1bd69;--mini-accent-rgb:241,189,105}
.mini-store-v71 .mini-coming-section .mini-product-card{opacity:1}
.mini-store-v71 .mini-store-vision>.shell{padding:38px 42px;background:linear-gradient(110deg,rgba(var(--mini-accent-rgb),.13),rgba(11,23,17,.7) 55%,rgba(8,10,9,.9))}

html[data-theme="light"] .mini-store-v71 .mini-feature-card{background:linear-gradient(130deg,#d9f7e6,#effaf3 62%,#ffffff)}
html[data-theme="light"] .mini-store-v71 .mini-feature-card:nth-child(2){background:linear-gradient(135deg,#ebe7ff,#f7f5ff 58%,#ffffff)}
html[data-theme="light"] .mini-store-v71 .mini-store-vision>.shell{background:linear-gradient(110deg,rgba(var(--mini-accent-rgb),.12),#fff)}

@media(max-width:900px){
  .mini-store-v71 .mini-store-title{grid-template-columns:1fr;gap:28px}.mini-store-v71 .mini-store-title>.mini-store-search{max-width:620px}.mini-store-v71 .mini-featured-grid{grid-template-columns:1fr 1fr}.mini-store-v71 .mini-feature-card{grid-template-columns:minmax(0,1fr) 92px;min-height:255px}.mini-store-v71 .mini-app-icon.is-large{width:88px;height:88px;border-radius:22px}
}
@media(max-width:640px){
  .mini-store-v71 .mini-store-intro{padding-top:42px}.mini-store-v71 .mini-store-title h1{font-size:45px}.mini-store-v71 .mini-store-title>div>p{margin-top:14px;font-size:12px}.mini-store-v71 .mini-store-title{gap:24px}.mini-store-v71 .mini-store-filters{margin-top:21px;padding-top:14px}.mini-store-v71 .mini-featured-section{padding-top:24px}.mini-store-v71 .mini-featured-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 1px 12px;scrollbar-width:none}.mini-store-v71 .mini-featured-grid::-webkit-scrollbar{display:none}.mini-store-v71 .mini-feature-card{flex:0 0 88%;min-height:238px;scroll-snap-align:start}.mini-store-v71 .mini-store-rail{grid-auto-columns:minmax(300px,90vw)}.mini-store-v71 .mini-card-open{min-width:62px;padding:0 9px}.mini-store-v71 .mini-store-vision>.shell{padding:27px}
}

/* V7.4 — one compact, consistent account control across public surfaces. */
.mini-account-chip{
  max-width:150px;
  min-height:36px!important;
  padding:0 13px!important;
  overflow:hidden;
  border-color:rgba(var(--mini-accent-rgb,52,211,153),.24)!important;
  background:rgba(var(--mini-accent-rgb,52,211,153),.08)!important;
  color:var(--text)!important;
  text-overflow:ellipsis;
  white-space:nowrap;
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}
.mini-account-chip:hover{
  border-color:rgba(var(--mini-accent-rgb,52,211,153),.48)!important;
  background:rgba(var(--mini-accent-rgb,52,211,153),.14)!important;
  transform:translateY(-1px);
}
.mini-account-chip.is-signed-in{color:var(--mini-accent,var(--ds-accent))!important}
.labs-mobile-tools .mini-account-chip{max-width:none;width:100%;justify-content:flex-start}
@media(max-width:720px){
  .labs-navtools>.mini-account-chip{max-width:96px}
}
