/* CITYKi 4.9: spacious public screens, automatic location, split-flap clock. */
#client.common-client{height:auto;min-height:100svh;max-width:480px;overflow:visible;display:flex;flex-direction:column}
#client.common-client .client-languages{margin-top:auto;padding:18px 20px max(18px,env(safe-area-inset-bottom));gap:12px;background:var(--ivory)}
#client.common-client .client-languages button{height:54px;font-size:18px;font-weight:750}
#client.common-client .common-idle{min-height:calc(100svh - 90px);flex:none;padding:18px 20px 0;gap:16px;justify-content:flex-start}
#client.common-client .common-idle-brand{position:relative;align-self:stretch;align-items:center}
#client.common-client .common-idle-brand .client-logo{font-size:42px;line-height:1.1}
#client.common-client .common-idle-brand>small{font-size:15px;color:var(--green);margin-top:6px}
#client.common-client .common-idle .client-hero-idle{flex:1;min-height:230px;height:clamp(260px,55svh,570px);max-height:590px}
#client.common-client .common-idle .client-hero-idle img{height:100%;max-height:100%;max-width:100%;object-fit:contain}
#client.common-client .common-idle .client-slogan{font-size:clamp(24px,6.5vw,31px);line-height:1.15;margin:0;max-width:100%}
#client.common-client .common-get{font-size:18px;min-height:56px;padding:14px 20px;border-radius:18px;line-height:1.3}
#client.common-client .common-get:disabled{color:#7e866e;background:#e7e9df}
#client.common-client .common-install{padding:0;gap:10px;border:0;background:none;justify-content:center}
#client.common-client .common-install>img{display:none}
#client.common-client .common-install>button[data-common-install]{flex:0 1 auto;text-align:center;padding:2px 8px}
#client.common-client .common-install strong{display:none}
#client.common-client .common-install span{font-size:13px;line-height:1.5;color:#52694f}
#client.common-client .common-install [data-install-dismiss]{font-size:23px;width:30px;height:36px}
#client.common-client .client-head{display:flex;align-items:center;height:270px;min-height:270px;max-height:none;padding:24px 20px;background:var(--green);overflow:visible;isolation:isolate}
#client.common-client .common-head-brand{position:relative;width:51%;z-index:1}
#client.common-client .client-head .cityline{height:38px}
#client.common-client .client-head .client-skyline{width:133px;height:38px}
#client.common-client .client-head .client-logo{font-size:44px;line-height:1.15;color:#fff}
#client.common-client .client-head .client-brand-slogan{font-size:9px;line-height:1.5;letter-spacing:.8px;max-width:100%;margin-top:10px}
#client.common-client .client-network-city{font-size:18px;color:var(--gold);font-weight:750;margin-top:12px;overflow-wrap:anywhere}
#client.common-client .client-head .common-head-mascot{position:absolute;height:250px;width:49%;max-width:none;object-fit:contain;object-position:bottom;right:4px;top:auto;bottom:0;z-index:0}
#client.common-client .common-wallet-icon{position:absolute;right:0;top:0;min-width:46px;height:46px;border-radius:50%;border:1px solid #d6decd;background:#f4f5ed;display:flex;align-items:center;justify-content:center;color:var(--green);padding:10px;z-index:3}
#client.common-client .client-head .common-wallet-icon{right:14px;top:12px;background:#fff}
.common-wallet-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.common-wallet-icon span{position:absolute;right:-3px;top:-4px;background:var(--gold);border-radius:50%;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;font-size:11px;font-weight:800}
#client.common-client .client-offer{margin:0;padding:20px 18px 0;gap:16px;flex:none;overflow:visible;min-height:auto}
#client.common-client .client-card{border-radius:24px;overflow:hidden;min-height:auto;flex:none}
#client.common-client .client-card-content{padding:22px}
#client.common-client .client-card h2{font-size:28px;line-height:1.16;letter-spacing:-.6px;overflow-wrap:anywhere;margin-bottom:12px}
#client.common-client .client-card p{font-size:18px;line-height:1.5;margin-bottom:16px;white-space:pre-line;overflow-wrap:anywhere}
#client.common-client .client-card small{font-size:15px;line-height:1.5;display:block;color:#5e7169;overflow-wrap:anywhere}
#client.common-client .common-media{position:relative;background:#edf0e8;overflow:hidden;min-height:200px}
#client.common-client .common-media>img,#client.common-client .common-media>video{display:block;width:100%;height:clamp(220px,65vw,310px);max-height:none;object-fit:cover}
#client.common-client .common-media>video{object-fit:contain;background:var(--green)}
#client.common-client .common-media>[hidden],#client.common-client .common-media-fallback[hidden]{display:none}
#client.common-client .common-media-fallback{min-height:230px;display:flex;align-items:center;justify-content:center;gap:16px;padding:20px;color:#536b5c;font-size:16px;line-height:1.5}
#client.common-client .common-media-fallback img{height:185px;width:90px;object-fit:contain}
#client.common-client .common-media-fallback span{max-width:150px}
#client.common-client .client-decisions{gap:12px}
#client.common-client .client-decisions button{min-height:56px;font-size:18px;border-radius:17px}
#client.common-client .common-saved-note{border:0;background:#e8eee1;color:var(--green);font-size:17px;font-weight:650;border-radius:16px;padding:16px;min-height:54px;width:100%}
#client.common-client .common-cooldown{display:flex;flex-direction:column;gap:18px;background:none;border:0;border-radius:0;padding:20px 0 8px;min-height:auto}
#client.common-client [data-common-clock-label]{font-size:18px;text-align:center;line-height:1.4;margin:0;color:#496456;font-weight:600}
#client.common-client .common-cooldown .common-get{width:100%;max-width:none;font-size:18px}
.common-flip-clock{display:flex;align-items:flex-start;justify-content:center;gap:12px;width:100%;font-variant-numeric:tabular-nums}
.common-flip-group{text-align:center;min-width:0}
.common-flip-group>small{display:block;margin-top:12px;color:#627467;letter-spacing:2px;font-size:11px;font-weight:750}
.common-flip{position:relative;width:114px;height:110px;perspective:500px;border-radius:14px;color:#f9df9f;background:linear-gradient(#124d42 49.5%,#082e28 50%);box-shadow:0 8px 0 #061f1b,0 15px 22px #073d3525;isolation:isolate}
.common-flip:after{content:'';position:absolute;top:50%;left:0;right:0;height:2px;background:#021e1a;z-index:3;box-shadow:0 1px #ffffff0c}
.common-flip:before{content:'';position:absolute;left:-3px;right:-3px;top:calc(50% - 5px);height:10px;border-left:6px solid #d1aa56;border-right:6px solid #d1aa56;z-index:4}
.flip-value,.flip-leaf{position:absolute;inset:0;display:grid;place-items:center;font-weight:800;font-size:72px;letter-spacing:-4px;line-height:1;backface-visibility:hidden}
.flip-leaf{clip-path:inset(0 0 50% 0);background:linear-gradient(#124d42 49.5%,transparent 50%);transform-origin:center center}
.flip-leaf.turn{animation:common-flap .55s cubic-bezier(.42,0,.6,1) forwards}
.flip-colon{font-size:54px;font-weight:650;line-height:110px;color:#a9b6a5}
@keyframes common-flap{0%{transform:rotateX(0)}100%{transform:rotateX(-100deg)}}
.common-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#client.common-client .common-cooldown.is-ready{background:none}
#client.common-client .common-cooldown.is-ready .common-flip{color:#ffe7a9;box-shadow:0 8px 0 #061f1b,0 14px 25px #d7a84c33}
#client.common-client .common-ad-entry{padding:22px 18px 8px;font-size:15px}
#client.common-client .common-ad-entry>button{font-size:17px;max-width:100%;width:100%;padding:16px;min-height:56px;border:0;background:var(--gold);font-weight:750;border-radius:18px}
#client.common-client .common-ad-entry>span{display:none}
#client.common-client .client-wallet{display:block;flex:none;padding:24px 18px 0;min-height:calc(100svh - 90px)}
#client.common-client .wallet-top{gap:15px;margin-bottom:22px}
#client.common-client .wallet-top .client-logo{font-size:38px;margin:0}
#client.common-client .wallet-top button{font-size:17px;min-height:48px;padding:8px}
#client.common-client .wallet-scroll{overflow:visible;min-height:0;padding:0}
#client.common-client .wallet-scroll>h2{font-size:29px;margin:0 0 22px}
#client.common-client .saved-card{padding:0;border-radius:24px;overflow:hidden;margin-bottom:24px;box-shadow:0 10px 30px #073d350b}
#client.common-client .saved-card-copy{padding:22px}
#client.common-client .saved-card h3{font-size:28px;line-height:1.2;margin-bottom:14px;overflow-wrap:anywhere}
#client.common-client .saved-card p{font-size:18px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
#client.common-client .saved-card small{display:block;font-size:15px;line-height:1.6;color:#5c7166}
#client.common-client .saved-card .client-note{font-size:16px;margin:14px 0;line-height:1.5}
#client.common-client .review-hint{font-size:18px;font-weight:700;line-height:1.45;margin:24px 0 16px}
#client.common-client .saved-card .client-decisions{grid-template-columns:1fr;gap:10px}
#client.common-client .saved-card .client-decisions button{font-size:19px;min-height:58px;border-radius:17px;background:var(--gold);color:var(--green);border:0}
#client.common-client .saved-card .client-decisions button:first-child{background:var(--green);color:#fff}
#client.common-client .ad-screen{overflow:visible;flex:none;min-height:calc(100svh - 90px);padding:24px 18px 0}
#client.common-client .ad-creative{overflow:visible;flex:none;min-height:0}
#client.common-client .ad-copy p{font-size:18px}
#client.common-client .ad-copy h2{font-size:28px}
#client.common-client .ad-link{font-size:18px;min-height:56px;background:var(--gold);color:var(--green);font-weight:750}
#client.common-client .ad-badge{font-size:13px}
#client.common-client .ad-pager button{font-size:16px;min-height:48px}
#client.common-client .ad-location{font-size:15px}
#client.common-client .common-dialog>p,#client.common-client .common-dialog .common-dialog-status{font-size:16px;line-height:1.5}
#client.common-client .common-city-form label{font-size:16px}
#client.common-client .common-city-form select{font-size:18px;min-height:54px}
#client.common-client .common-dialog-head button{height:40px;width:40px;min-width:40px}
@media(max-width:350px){#client.common-client .client-head{height:250px;min-height:250px;padding:20px 16px}#client.common-client .client-head .common-head-mascot{height:225px}#client.common-client .client-head .client-logo{font-size:37px}#client.common-client .client-head .client-brand-slogan{font-size:8px}#client.common-client .common-idle{padding-left:16px;padding-right:16px}#client.common-client .client-languages{padding-left:16px;padding-right:16px;gap:8px}.common-flip{width:100px;height:100px}.flip-value,.flip-leaf{font-size:64px}.flip-colon{line-height:100px}#client.common-client .client-card-content,#client.common-client .saved-card-copy{padding:18px}}
@media(prefers-reduced-motion:reduce){.flip-leaf.turn{animation:none;opacity:0}}
#client.common-client .common-idle{height:calc(100svh - 90px);min-height:650px}
#client.common-client .common-idle>*{flex-shrink:0}
#client.common-client .common-idle .client-hero-idle{flex:1 1 0;height:auto;min-height:220px;max-height:none}
#client.common-client .common-idle .client-hero-idle img{position:absolute;inset:0;margin:auto;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.flip-leaf{border-radius:14px}
#client.common-client .common-idle-brand.has-wallet{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;text-align:left}
#client.common-client .common-idle-brand.has-wallet>small{grid-column:1/-1;margin:0}
#client.common-client .common-wallet-link{display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:#edf0e5;color:var(--green);font-size:15px;font-weight:700;min-height:46px;padding:10px 12px;border-radius:15px;max-width:175px;line-height:1.25}
.common-wallet-link svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#client.common-client .common-home-link{position:absolute;top:12px;left:14px;padding:10px 12px;min-height:44px;font-size:16px;background:#ffffff14;color:#fff;border:1px solid #ffffff25;border-radius:14px;z-index:2}
#client.common-client .common-open-gift{border:0;background:#e8eee1;color:var(--green);padding:12px 18px;font-size:18px;font-weight:650;border-radius:16px;min-height:48px;width:100%}
#client.common-client[data-screen="idle"] .common-cooldown{padding:0;gap:15px}
#client.common-client .common-home-status{font-size:17px;line-height:1.4;margin:0;text-align:center;color:var(--green)}
@media(max-width:350px){#client.common-client .common-idle-brand.has-wallet .client-logo{font-size:34px}#client.common-client .common-wallet-link{font-size:14px;max-width:158px;padding:9px}.common-wallet-link svg{display:none}}
/* 4.11: saved gifts as full-media stories; all rules stay scoped to the wallet. */
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]){height:100dvh;min-height:100dvh;overflow:hidden}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) :is(.client-wallet,.issued-gift){display:flex;flex:1;min-height:0;padding:12px 12px 0;gap:12px;overflow:hidden}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .wallet-top{flex:none;min-height:40px;margin:0;gap:12px;padding:0 4px}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .wallet-top .client-logo{font-size:32px;line-height:1}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .wallet-top button{font-size:16px;min-height:40px;padding:6px 0}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card.wallet-story{position:relative;isolation:isolate;flex:1;min-height:0;margin:0;padding:0;display:block;overflow:hidden;border:0;border-radius:26px;background:#073d35;color:#fff;box-shadow:0 6px 22px #073d3520;touch-action:pan-y}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .wallet-story:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#03251fe8 0%,#03251f50 17%,#03251f00 30%,#03251f6b 46%,#03251fe8 67%,#03251f 100%)}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media{position:absolute;inset:0;height:100%;min-height:0;width:100%;background:radial-gradient(ellipse at 50% 25%,#487859,#073d35 70%)}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media>img,#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media>video{height:100%;width:100%;max-height:none;object-fit:cover;display:block;background:none}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media>[hidden],#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media-fallback[hidden]{display:none}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media-fallback{height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:80px 20px 0;gap:12px;font-size:14px;color:#e2ebdd;line-height:1.4;text-align:center}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media-fallback img{height:38%;max-height:270px;width:70%;object-fit:contain;filter:drop-shadow(0 12px 20px #021c1b44)}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .common-media-fallback span{max-width:200px}
#client.common-client .story-top{position:absolute;z-index:3;top:12px;left:16px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px}
#client.common-client .story-top h2{font-size:17px;font-weight:650;letter-spacing:-.2px;color:#f5df9f;margin:0;line-height:1.2;max-width:calc(100% - 122px);overflow-wrap:anywhere}
#client.common-client .common-wallet-pager{display:flex;align-items:center;gap:5px;flex:none;color:#fff}
#client.common-client .common-wallet-pager button{border:1px solid #ffffff35;border-radius:50%;width:40px;height:44px;background:#062c2866;color:#fff;font-size:27px;line-height:1;padding:0}
#client.common-client .common-wallet-pager button:disabled{opacity:.35}
#client.common-client .common-wallet-pager span{font-size:14px;font-weight:700;min-width:34px;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card-copy{position:absolute;z-index:3;bottom:22px;left:20px;right:98px;padding:0;display:flex;flex-direction:column;gap:7px;min-height:0;overflow:hidden;color:#fff;pointer-events:none}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card-copy>button{pointer-events:auto}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card h3{font-size:28px;line-height:1.12;letter-spacing:-.45px;margin:0;color:#fff;text-shadow:0 2px 12px #021f1a50;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:none}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .wallet-terms{font-size:18px;line-height:1.35;margin:0;color:#f5f7ef;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;flex:none}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .wallet-location{font-size:16px;line-height:1.35;color:#e3ecdc;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;flex:none}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .wallet-valid{font-size:16px;line-height:1.35;margin:0;color:#f4dd9b;display:flex;align-items:flex-start;gap:6px;flex:none}
.wallet-valid svg{width:17px;height:17px;flex:none;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#client.common-client .wallet-details-link{background:none;border:0;border-radius:8px;color:#f5d884;font-weight:700;align-self:flex-start;font-size:18px;line-height:1.3;min-height:44px;padding:8px 0;text-align:left;flex:none}
#client.common-client .story-expired{color:#ffe7bd;font-size:14px;line-height:1.35}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .wallet-review{position:absolute;z-index:4;right:10px;bottom:24px;width:74px;margin:0}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions{display:flex;flex-direction:column;gap:20px;align-items:center}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions button{background:none;border:0;color:#fff;border-radius:12px;padding:0;display:flex;flex-direction:column;align-items:center;gap:6px;width:74px;min-height:84px;font-size:13px;line-height:1.2;font-weight:600;white-space:normal}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions button svg{width:60px;height:60px;padding:12px;fill:#e4b25324;stroke:#f5d884;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;background:#092f29a6;border:1px solid #f5d88466;border-radius:50%;box-shadow:0 4px 14px #021f1a22}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions button[data-common-rate="disliked"] svg{transform:rotate(180deg)}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions button:active svg{background:#d9ab48;stroke:#073d35}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .client-languages{flex:none;margin:0;padding:12px 16px max(12px,env(safe-area-inset-bottom))}
#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .client-languages button{height:46px;font-size:17px}
#client.common-client .story-video-controls{position:absolute;top:76px;right:12px;z-index:4;display:flex;gap:8px}
#client.common-client .story-video-controls[hidden]{display:none}
.story-video-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff50;border-radius:50%;background:#062c28b3;color:#fff;padding:10px}
.story-video-controls svg{height:24px;width:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#client.common-client .wallet-details-dialog .wallet-full-terms{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;color:var(--ink)}
#client.common-client .wallet-details-dialog p{overflow-wrap:anywhere}
@media(max-height:700px){
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) :is(.client-wallet,.issued-gift){padding:8px 10px 0;gap:8px}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card-copy{bottom:16px;left:16px;right:90px;gap:5px}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card h3{-webkit-line-clamp:2}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .wallet-terms{-webkit-line-clamp:1}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .client-languages{padding:9px 12px max(9px,env(safe-area-inset-bottom));gap:8px}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .client-languages button{height:42px;font-size:16px}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .wallet-review{right:7px;bottom:20px;width:70px}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions{gap:16px}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions button{width:70px;min-height:78px}
 #client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions button svg{width:56px;height:56px;padding:11px}
 #client.common-client .story-top{left:14px;right:10px;top:10px}
 #client.common-client .story-top h2{font-size:16px}
}


#client.common-client:is([data-screen="wallet"],[data-screen="gift"]) .saved-card .client-decisions button span{max-width:74px;overflow-wrap:anywhere;text-align:center}
/* 4.12: every newly issued gift uses the same media canvas as saved gifts. */
#client.common-client[data-screen="gift"] .issued-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:calc(100% - 52px)}
#client.common-client[data-screen="gift"] .issued-heading .issued-intro{font-size:20px;max-width:none;font-weight:750;color:#f5dd98;line-height:1.2;letter-spacing:-.3px}
#client.common-client .issued-gift-mark{font-size:25px;color:var(--gold);line-height:1}
#client.common-client[data-screen="gift"] .issued-heading .common-bonus{font-size:12px;line-height:1.25;flex-basis:100%;width:max-content;max-width:100%;margin:0;padding:4px 8px;background:#e4b25324;color:#f5dd98;border:1px solid #e4b25355;border-radius:8px}
#client.common-client[data-screen="gift"] .saved-card-copy{left:20px;right:20px;bottom:90px;gap:7px}
#client.common-client[data-screen="gift"] .issued-story.has-partner-offers .saved-card-copy{bottom:152px}
#client.common-client[data-screen="gift"] .gift-title{font-size:28px;line-height:1.12;letter-spacing:-.45px;margin:0;color:#fff;text-shadow:0 2px 12px #021f1a50;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:none}
#client.common-client[data-screen="gift"] .issued-actions{position:absolute;z-index:4;bottom:16px;left:16px;right:16px;display:flex;flex-direction:column;gap:10px}
.issued-decisions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#client.common-client[data-screen="gift"] .issued-decisions button{border:1px solid #ffffff45;background:#ffffff12;color:#fff;min-height:54px;padding:10px 12px;border-radius:17px;font-size:18px;font-weight:650;line-height:1.2}
#client.common-client[data-screen="gift"] .issued-decisions [data-common-accept]{background:var(--gold);color:var(--green);border-color:var(--gold);font-weight:800}
#client.common-client[data-screen="gift"] .issued-decisions button:disabled{opacity:.55}
#client.common-client[data-screen="gift"] .issued-partner-offers{display:flex;align-items:center;gap:10px;justify-content:center;width:100%;border:1px solid #e4b253b0;border-radius:17px;min-height:52px;padding:10px 14px;background:#073d35e8;color:#f5d884;font-size:17px;font-weight:700;line-height:1.25}
.issued-partner-offers svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.issued-partner-offers span:first-of-type{flex:1;text-align:center}
#client.common-client[data-screen="gift"] .common-saved-note{min-height:54px;font-size:17px;background:#e4b253;color:var(--green);margin:0}
#client.common-client[data-screen="gift"] .client-campaign-timer{color:#f5dd98;font-size:13px;line-height:1.3;margin:0;flex:none}
#client.common-client[data-screen="gift"] .client-campaign-timer strong{font-size:15px}
@media(max-height:700px){
 #client.common-client[data-screen="gift"] .saved-card-copy{left:16px;right:16px;bottom:82px;gap:5px}
 #client.common-client[data-screen="gift"] .issued-story.has-partner-offers .saved-card-copy{bottom:142px}
 #client.common-client[data-screen="gift"] .issued-actions{left:12px;right:12px;bottom:12px;gap:8px}
 #client.common-client[data-screen="gift"] .issued-decisions button{min-height:50px;font-size:17px}
 #client.common-client[data-screen="gift"] .issued-partner-offers{min-height:52px;font-size:16px;padding:8px 12px}
 #client.common-client[data-screen="gift"] .issued-heading .issued-intro{font-size:18px}
}
#client.common-client[data-screen="gift"] .issued-gift{flex-direction:column;width:100%;min-width:0}
/* 4.13: contextual help, exceptional-state actions and explicit media health. */
.common-coach{position:fixed;z-index:25;top:60px;left:50%;transform:translateX(-50%);width:min(390px,calc(100vw - 32px));display:flex;align-items:flex-start;gap:12px;background:#fff9e8;color:#173e32;border:1px solid #d8b970;box-shadow:0 10px 30px #03251f33;border-radius:16px;padding:14px 12px 14px 16px;font-size:15px;line-height:1.4}
.common-coach button{flex:none;display:grid;place-items:center;border:0;background:none;color:#335d40;font-size:25px;line-height:1;width:32px;height:32px;padding:0}
.common-empty-city{background:none;border:1px solid #bacbb6;border-radius:14px;min-height:44px;padding:10px 18px;color:var(--green);font-size:16px}
.ckb-media-warning{color:#8e482a;background:#fff1df;border:1px solid #eed4b3;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.5;white-space:normal;max-width:100%;margin:8px 0}
.ckb-gift-item:has(.ckb-media-warning){flex-wrap:wrap}
.ckb-gift-item>.ckb-media-warning{order:10;flex-basis:100%;margin:0}
#client.common-client[data-demo="1"]::before{top:48px;font-size:9px;z-index:10;padding:4px 8px;pointer-events:none}
#client.common-client[data-demo="1"]:has(.ad-screen) .ad-screen{padding-top:24px}
/* Preview on a phone uses the actual phone viewport, with one close control. */
@media(max-width:600px){
 .ad-preview-dialog{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;border:0;border-radius:0;margin:0;inset:0;overflow:hidden}
 .ad-preview-dialog iframe{width:100%;height:100dvh;min-height:0;flex:1}
 .ad-preview-dialog header{position:absolute;z-index:20;left:50%;top:3px;transform:translateX(-50%);width:44px;height:44px;padding:0;background:none;display:block}
 .ad-preview-dialog header strong,.ad-preview-dialog footer{display:none}
 .ad-preview-dialog header button{width:44px;height:44px;background:#edf1e8;border:1px solid #d9e0d1;box-shadow:0 3px 12px #073d3515}
}
.common-coach button{width:40px;height:40px}

.common-link-arrow{display:inline-block;width:18px;height:18px;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Sharing is a small home action; it never occupies gift or timer space. */
#client.common-client .common-home-actions{display:flex;align-items:stretch;gap:12px;width:100%}
#client.common-client .common-home-actions>.common-get{flex:1 1 0;width:auto;min-width:0;max-width:none}
#client.common-client .common-home-actions>.common-share{flex:0 0 56px;width:56px;min-height:56px;border:1px solid #d8aa4c;border-radius:18px;background:#e6b553;color:#073e34;display:grid;place-items:center;padding:14px;cursor:pointer}
.common-share svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.common-share:focus-visible{outline:3px solid #073e34;outline-offset:4px}.common-share:disabled{opacity:.65}
.cityki-share-dialog{width:min(92vw,440px);max-height:90dvh;overflow:auto;margin:auto;border:1px solid #d7dfd7;border-radius:24px;padding:20px;background:#faf8f1;color:#073e34;font-family:inherit;box-sizing:border-box}.cityki-share-dialog::backdrop{background:#082e24a8}.cityki-share-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.cityki-share-dialog h2{font-size:22px;margin:0}.cityki-share-dialog header button{font-size:28px;border:0;background:none;color:#073e34;min-width:44px;min-height:44px}.cityki-share-dialog>img{display:block;width:100%;height:auto;border-radius:14px;margin:12px 0}.cityki-share-dialog p{font-size:15px;line-height:1.45}.cityki-share-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #d7dfd7;border-radius:12px;padding:12px;background:#fff;color:#073e34;font:inherit;font-size:15px;resize:vertical}.cityki-share-actions{display:grid;gap:8px;margin-top:12px}.cityki-share-actions button,.cityki-share-links a{min-height:44px;padding:12px;border:0;border-radius:14px;background:#e6b553;color:#073e34;font:inherit;font-weight:700;text-align:center;text-decoration:none}.cityki-share-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.cityki-share-links a{background:#e8eee4;flex:1;font-size:14px}.cityki-share-dialog [role="status"]{margin-bottom:0}

/* CITYKi v5 — one-row city and gift actions, remove share icon on home */
#client.common-client .common-home-actions.cityki-dual-actions{display:flex!important;align-items:stretch;gap:10px;width:100%;margin:0 auto;max-width:480px;box-sizing:border-box}
#client.common-client .cityki-dual-actions .cityki-city-button,#client.common-client .cityki-dual-actions .common-get{flex:1 1 0;min-width:0;width:50%;min-height:56px;border-radius:18px;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;padding:10px 7px;font-size:clamp(13px,3.9vw,17px);font-weight:800;line-height:1.15;text-decoration:none;white-space:normal}
#client.common-client .cityki-dual-actions .cityki-city-button{background:#0a4a3b;color:#ffdfa0;border:1px solid #b9914c}
#client.common-client .cityki-dual-actions .common-get{background:#e6b553;color:#073e34;border:0}
#client.common-client .cityki-dual-actions .common-get:disabled{opacity:.67}
#client.common-client .common-idle .client-hero-idle img{max-height:min(36dvh,310px);object-fit:contain}
#client.common-client .common-idle .discover-home-link{display:none}
@media(max-height:770px){#client.common-client .common-idle .client-hero-idle img{max-height:min(32dvh,245px)}}

/* v6: idle home must fit the usable phone viewport; other screens unchanged. */
#client.common-client[data-screen="idle"]{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden}
#client.common-client[data-screen="idle"] .common-idle{height:auto!important;min-height:0!important;flex:1 1 0;overflow:hidden;display:flex;flex-direction:column;padding:clamp(8px,1.6dvh,16px) 16px 6px;gap:clamp(5px,1.3dvh,12px)}
#client.common-client[data-screen="idle"] .common-idle>*{min-height:0;flex-shrink:0}
#client.common-client[data-screen="idle"] .common-idle .client-hero-idle{flex:1 1 0!important;height:0!important;min-height:42px!important;max-height:none;position:relative}
#client.common-client[data-screen="idle"] .common-idle .client-hero-idle img{max-height:100%!important;width:100%;height:100%;object-fit:contain}
#client.common-client[data-screen="idle"] .common-idle-brand .client-logo{font-size:clamp(30px,5.8dvh,42px)}
#client.common-client[data-screen="idle"] .common-idle-brand>small{font-size:clamp(11px,1.9dvh,15px)}
#client.common-client[data-screen="idle"] .client-languages{padding:6px 16px max(7px,env(safe-area-inset-bottom));gap:10px;margin:0;flex:none}
#client.common-client[data-screen="idle"] .client-languages button{height:clamp(36px,5.6dvh,48px);font-size:clamp(13px,2.2dvh,18px)}
#client.common-client[data-screen="idle"] .common-cooldown{gap:clamp(5px,1dvh,11px);padding:0}
#client.common-client[data-screen="idle"] [data-common-clock-label]{font-size:clamp(14px,2.25dvh,18px)}
#client.common-client[data-screen="idle"] .common-flip{width:clamp(65px,12.5dvh,104px);height:clamp(63px,12dvh,99px)}
#client.common-client[data-screen="idle"] .flip-value,#client.common-client[data-screen="idle"] .flip-leaf{font-size:clamp(42px,8.4dvh,67px)}
#client.common-client[data-screen="idle"] .flip-colon{font-size:clamp(32px,6dvh,48px);line-height:clamp(63px,12dvh,99px)}
#client.common-client[data-screen="idle"] .common-flip-group>small{margin-top:7px;font-size:10px}
#client.common-client[data-screen="idle"] .cityki-dual-actions .cityki-city-button,#client.common-client[data-screen="idle"] .cityki-dual-actions .common-get{min-height:clamp(44px,6.8dvh,56px);font-size:clamp(12px,2.2dvh,17px);border-radius:16px}
#client.common-client[data-screen="idle"] .client-slogan{font-size:clamp(16px,3.2dvh,25px)}
@media(max-height:680px){#client.common-client[data-screen="idle"] .common-idle{gap:4px;padding-top:6px}#client.common-client[data-screen="idle"] .common-idle-brand>small{margin-top:2px}#client.common-client[data-screen="idle"] .common-flip-group>small{margin-top:5px}}

/* v7: ensure MINUTES and SECONDS never touch flip-card edges. */
#client.common-client[data-screen="idle"] .common-flip-clock{padding-bottom:10px;align-items:flex-start}
#client.common-client[data-screen="idle"] .common-flip-group{display:flex;flex-direction:column;align-items:center;gap:0;padding-bottom:4px}
#client.common-client[data-screen="idle"] .common-flip-group>small{position:static;display:block!important;margin:17px 0 0!important;line-height:1.4!important;font-size:clamp(11px,1.55dvh,13px)!important;letter-spacing:1.2px;white-space:nowrap;color:#53675e}
#client.common-client[data-screen="idle"] .common-cooldown{gap:3px}
@media(max-height:690px){#client.common-client[data-screen="idle"] .common-flip-group>small{margin-top:13px!important}#client.common-client[data-screen="idle"] .common-flip-clock{padding-bottom:5px}}

/* Mobile layout repair: the clock owns its labels and reserves their full height. */
#client.common-client[data-screen="idle"] .common-cooldown{flex:none;gap:14px;overflow:visible}
#client.common-client[data-screen="idle"] [data-common-clock-label]{position:static;margin:0;line-height:1.4;flex:none}
#client.common-client[data-screen="idle"] .common-flip-clock{flex:none;padding:0 4px 4px;gap:14px}
#client.common-client[data-screen="idle"] .common-flip-group{flex:none;min-height:0;gap:0;padding:0}
#client.common-client[data-screen="idle"] .common-flip-group>small{margin:18px 0 0!important;line-height:18px!important;min-height:18px}
#client.common-client[data-screen="idle"] .common-idle-brand{isolation:isolate;flex:none;z-index:2}
#client.common-client .common-wallet-link,#client.common-client .story-top .common-wallet-icon{position:relative;inset:auto;z-index:5;pointer-events:auto;flex:none}
#client.common-client .common-idle .client-hero-idle{z-index:0;pointer-events:none}
#client.common-client .common-home-actions{position:relative;z-index:1}
#client.common-client .story-top .common-wallet-icon{min-width:44px;min-height:44px}
@media(max-height:640px){#client.common-client[data-screen="idle"] .common-cooldown{gap:10px}#client.common-client[data-screen="idle"] .common-flip{height:66px;width:70px}#client.common-client[data-screen="idle"] .flip-value,#client.common-client[data-screen="idle"] .flip-leaf{font-size:46px}#client.common-client[data-screen="idle"] .flip-colon{line-height:66px}}

/* The home screen is bound to the visible viewport, including installed mode. */
html:has(#client.common-client[data-screen="idle"]),body:has(#client.common-client[data-screen="idle"]){height:100%;overflow:hidden;overscroll-behavior-y:none}
#client.common-client[data-screen="idle"]{position:fixed;inset:0;margin:0 auto;width:100%;height:100dvh;min-height:0;max-height:100dvh;overflow:hidden;padding:0}
#client.common-client[data-screen="idle"] .cityki-dual-actions .common-get:disabled{background:#e7e9df;color:#778273;border:1px solid #dce1d5;opacity:1;cursor:default}
#client.common-client[data-screen="idle"] .cityki-dual-actions .common-get:not(:disabled){background:#e6b553;color:#073e34;opacity:1}

/* Stable footer: reserve its own grid row inside the actual visible viewport. */
#client.common-client[data-screen="idle"]{height:var(--ck-screen-height,100svh);max-height:var(--ck-screen-height,100svh);bottom:auto;display:grid;grid-template-rows:minmax(0,1fr) auto}
#client.common-client[data-screen="idle"] .common-idle{height:auto!important;min-height:0!important;max-height:100%;overflow:hidden;align-self:stretch}
#client.common-client[data-screen="idle"] .common-idle .client-hero-idle{min-height:0!important}
#client.common-client[data-screen="idle"]>.client-languages{position:relative;inset:auto;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-height:64px;margin:0;align-self:end;padding:8px 16px max(10px,env(safe-area-inset-bottom));background:var(--ivory);overflow:visible}
#client.common-client[data-screen="idle"] .cityki-dual-actions{gap:8px}
#client.common-client[data-screen="idle"] .cityki-dual-actions>.common-share{display:grid;flex:0 0 48px;width:48px;min-width:48px;min-height:48px;padding:12px;border-radius:16px;background:#e6b553;color:#073e34;border:1px solid #d8aa4c;align-self:stretch}
#client.common-client[data-screen="idle"] .cityki-dual-actions>.common-share svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#client.common-client[data-screen="idle"] .common-idle-brand>small{color:#b98525;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:700;font-size:clamp(19px,2.7vh,24px);line-height:1.25;letter-spacing:.3px;margin-top:4px}

/* Longer intervals use three clock cards rather than overflowing minute digits. */
#client.common-client[data-screen="idle"] .common-flip-clock.has-hours{gap:7px}
#client.common-client[data-screen="idle"] .has-hours .common-flip{width:clamp(60px,18vw,87px);height:clamp(64px,10vh,90px)}
#client.common-client[data-screen="idle"] .has-hours .flip-value,#client.common-client[data-screen="idle"] .has-hours .flip-leaf{font-size:clamp(40px,10vw,57px);letter-spacing:-2px}
#client.common-client[data-screen="idle"] .has-hours .flip-colon{font-size:32px;line-height:clamp(64px,10vh,90px)}
#client.common-client[data-screen="idle"] .has-hours .common-flip-group>small{letter-spacing:.8px;font-size:11px!important}

/* Optional home animation: video never controls the gift timer or page loading. */
#client.common-client[data-screen="idle"] .common-idle .client-hero-idle.home-motion{pointer-events:auto;isolation:isolate;border-radius:24px;overflow:hidden;background:#d0c4a4}
.home-motion::before{content:'';position:absolute;inset:-18px;background:url('/assets/cityki_home_walk_v7.jpg') center/cover no-repeat;filter:blur(14px);opacity:.85;z-index:-1}
#client.common-client[data-screen="idle"] .home-motion>video,#client.common-client[data-screen="idle"] .home-motion>.home-motion-poster{position:absolute;inset:0;margin:auto;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
#client.common-client[data-screen="idle"] .home-motion>video[hidden]{display:none}
#client.common-client[data-screen="idle"] .home-motion-toggle{position:absolute;z-index:3;top:8px;right:8px;width:44px;height:44px;display:grid;place-items:center;padding:11px;border:1px solid #f0ce7c66;border-radius:50%;background:#073d35b8;color:#ffe2a0;backdrop-filter:blur(6px)}
.home-motion-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-motion-toggle[hidden]{display:none!important}

/* Native portrait framing: no artificial side strips and no crop of the mascot. */
#client.common-client[data-screen="idle"] .common-idle .client-hero-idle.home-motion{background:none;border-radius:0;overflow:visible}
.home-motion::before{display:none}
.home-motion-frame{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);height:100%;aspect-ratio:1/2;width:auto;max-width:100%;overflow:hidden;border-radius:22px;background:#e9e6dd;isolation:isolate}
#client.common-client[data-screen="idle"] .home-motion-frame>video,#client.common-client[data-screen="idle"] .home-motion-frame>.home-motion-poster{position:absolute;inset:0;margin:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
#client.common-client[data-screen="idle"] .home-motion-frame>video[hidden]{display:none}
#client.common-client[data-screen="idle"] .home-motion-frame>.home-motion-toggle{top:6px;right:6px;width:40px;height:40px;padding:10px}

/* Full home background: one unblurred city scene behind all controls. */
#client.common-client[data-screen="idle"]:has(.home-motion-background){background:#073d35;isolation:isolate}
#client.common-client[data-screen="idle"]>.home-motion-background{position:absolute;inset:0;z-index:0;pointer-events:none;background:#073d35;overflow:hidden}
#client.common-client[data-screen="idle"]>.home-motion-background .home-motion-frame{position:absolute;inset:0;transform:none;width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0;background:#073d35}
#client.common-client[data-screen="idle"]>.home-motion-background .home-motion-frame>video,#client.common-client[data-screen="idle"]>.home-motion-background .home-motion-poster{width:100%;height:100%;object-fit:cover;object-position:center center;border-radius:0}
.home-motion-background::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#032f286b 0%,#032f2810 21%,#032f2800 37%,#032f2870 54%,#032f28d9 73%,#032f28f2 100%)}
#client.common-client[data-screen="idle"]:has(.home-motion-background)>.common-idle{position:relative;z-index:1;background:transparent}
#client.common-client[data-screen="idle"]:has(.home-motion-background) .home-motion-spacer{pointer-events:none}
#client.common-client[data-screen="idle"]:has(.home-motion-background) .client-logo{color:#fff9e9;text-shadow:0 2px 12px #032f2880}
#client.common-client[data-screen="idle"]:has(.home-motion-background) .common-idle-brand>small{color:#ffdc83;text-shadow:0 2px 8px #002e26}
#client.common-client[data-screen="idle"]:has(.home-motion-background) [data-common-clock-label],#client.common-client[data-screen="idle"]:has(.home-motion-background) .common-home-status{color:#fff7dd;text-shadow:0 1px 6px #032f28}
#client.common-client[data-screen="idle"]:has(.home-motion-background) .common-flip-group>small{color:#fff0c6;text-shadow:0 1px 5px #032f28}
#client.common-client[data-screen="idle"]:has(.home-motion-background)>.client-languages{background:transparent}
#client.common-client[data-screen="idle"]:has(.home-motion-background) .common-install span,#client.common-client[data-screen="idle"]:has(.home-motion-background) .common-install [data-install-dismiss]{color:#f4e7bd}
#client.common-client[data-screen="idle"]>.home-background-toggle{position:absolute;z-index:10;right:14px;top:112px;width:40px;height:40px;display:grid;place-items:center;padding:10px;border:1px solid #f0ce7c66;border-radius:50%;background:#073d35b8;color:#ffe2a0;pointer-events:auto}

/* Home only: keep the saved-gift count separate from the localized label. */
#client.common-client[data-screen="idle"] .common-idle-brand.has-wallet{grid-template-columns:auto minmax(0,190px);gap:6px 10px;justify-content:space-between}
#client.common-client[data-screen="idle"] .common-wallet-link{width:190px;max-width:100%;gap:6px;padding:10px;justify-self:end;text-align:left}
#client.common-client[data-screen="idle"] .common-wallet-name{min-width:0;flex:1;line-height:1.25;word-break:normal;overflow-wrap:normal}
#client.common-client[data-screen="idle"] .common-wallet-count{flex:none;white-space:nowrap;line-height:1.25;font-variant-numeric:tabular-nums}
#client.common-client[data-screen="idle"]>.client-languages button.on{box-shadow:inset 0 0 0 1.5px #e4b253}
@media(max-width:350px){#client.common-client[data-screen="idle"] .common-wallet-link{font-size:14px;padding:9px;gap:5px}}

/* City is the home location control; keep the gold brand styling. */
#client.common-client[data-screen="idle"] .common-idle-brand>.common-city-trigger{grid-column:1/-1;justify-self:center;max-width:100%;min-height:38px;padding:4px 10px;margin:0;border:0;border-radius:12px;background:transparent;color:#ffdc83;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:700;font-size:clamp(19px,2.7vh,24px);line-height:1.25;letter-spacing:.3px;text-shadow:0 2px 8px #002e26;cursor:pointer}
#client.common-client[data-screen="idle"] .common-idle-brand>.common-city-trigger:focus-visible{outline:2px solid #e4b253;outline-offset:2px}
.common-city-trigger span{font-family:system-ui,sans-serif;font-style:normal;font-size:.8em}
.common-dialog .common-city-note{font-size:14px;color:#52665b}

/* Keep the city directly below the logo at the left edge. */
#client.common-client[data-screen="idle"] .common-idle-brand>.common-city-trigger{justify-self:start;text-align:left;padding-left:0}
#client.common-client[data-screen="idle"] .common-idle-brand:not(.has-wallet){display:grid;grid-template-columns:1fr;justify-items:start;text-align:left}

/* Optional radio: no player frame and no extra row in the home layout. */
#client.common-client[data-screen="idle"]>.home-background-radio{position:absolute;z-index:10;right:14px;top:160px;width:40px;height:40px;min-height:40px;display:grid;place-items:center;padding:10px;border:1px solid #f0ce7c99;border-radius:50%;background:#073d35b8;color:#ffe2a0;pointer-events:auto;box-shadow:0 2px 8px #073d3526}
.home-background-radio svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
#client.common-client[data-screen="idle"]>.home-background-radio[data-state="on"]{background:#e4b253;color:#073d35;border-color:#ffdc83}
#client.common-client[data-screen="idle"]>.home-background-radio[data-state="loading"]{border-style:dashed}
.home-background-radio:focus-visible{outline:2px solid #ffdc83;outline-offset:3px}

/* A matching microphone starts the short, optional introduction. */
#client.common-client[data-screen="idle"]>.home-background-intro{position:absolute;z-index:10;right:14px;top:208px;width:40px;height:40px;min-height:40px;display:grid;place-items:center;padding:10px;border:1px solid #f0ce7c99;border-radius:50%;background:#073d35b8;color:#ffe2a0;pointer-events:auto;box-shadow:0 2px 8px #073d3526}
.home-background-intro svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
#client.common-client[data-screen="idle"]>.home-background-intro[data-state="on"]{background:#e4b253;color:#073d35;border-color:#ffdc83}
#client.common-client[data-screen="idle"]>.home-background-intro[data-state="loading"]{border-style:dashed}
.home-background-intro:focus-visible{outline:2px solid #ffdc83;outline-offset:3px}

/* Same-company paid cards, one stable batch per draw. */
#client .bundle-pager{position:absolute;top:76px;left:12px;z-index:5;display:flex;align-items:center;gap:9px;padding:4px 6px;border:1px solid #e9c36b80;border-radius:24px;background:#073b32c9;color:#fff1bf}
#client .bundle-pager button{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#e5b451;color:#073b32;font-size:27px;line-height:1}
#client .bundle-pager button:disabled{opacity:.4}#client .bundle-pager span{font-weight:700;font-size:14px}
#client.common-client[data-screen="ads"]{height:100dvh;min-height:100dvh;overflow:hidden}#client.common-client[data-screen="ads"] .ad-screen{flex:1;min-height:0;height:auto;overflow:hidden;padding:12px 12px 0}#client.common-client[data-screen="ads"] .ad-creative{flex:1;min-height:0;overflow:auto}#client.common-client[data-screen="ads"] .ad-creative>img,#client.common-client[data-screen="ads"] .ad-creative>video{height:clamp(130px,32dvh,300px)}#client.common-client[data-screen="ads"] .ad-pager{flex:none;padding:8px 12px}#client.common-client[data-screen="ads"] .ad-copy h2{font-size:24px}#client.common-client[data-screen="ads"] .client-languages{flex:none}
