/* CANO adventure: approved island art, readable controls and a consistent game menu. */
.cano-adventure{--paper:#0d201f;--bg:#0d201f;--panel:#18332e;--ink:#f2e8cf;--muted:#bdcbbd;--line:#426055;--accent:#e8bc69;--accent-soft:#294239;background:#0d201f;color:var(--ink);font-family:'Segoe UI',sans-serif;scrollbar-color:#728c74 #0d201f;caret-color:#e8bc69}
.cano-adventure ::selection{background:#e8bc69;color:#102c25}
.cano-adventure :is(h1,h2,h3){font-family:var(--cano-display);font-weight:600;text-wrap:balance;letter-spacing:0}
.cano-adventure :focus-visible{outline:3px solid #f2cf86;outline-offset:4px}
.cano-adventure a{text-underline-offset:4px}
.cano-adventure :is(button,select,input,textarea){font-family:inherit}
.adventure-icon{width:22px;height:22px;flex:none;vertical-align:middle}
body.cano-adventure header.cano-shell{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:0 22px;min-height:0;padding:8px 3vw 0;background:#0c1c1b;border-bottom:1px solid #426055}
.cano-adventure .cano-shell .brand{grid-column:1;grid-row:1;display:block}
.cano-adventure .brand-lockup img{width:124px;height:52px}
.cano-adventure .brand-lockup small{display:none}
.cano-adventure .cano-shell nav.cano-nav{grid-column:2;grid-row:1;flex-wrap:nowrap;justify-content:flex-end;gap:2px}
.cano-adventure .cano-nav .cano-nav-group>summary{font-size:14px;padding:12px 10px}
.cano-adventure .cano-nav .cano-nav-panel{background:#18332e;border:1px solid #426055;border-radius:12px;box-shadow:0 14px 35px #0007}
.cano-adventure .cano-shell .ambient-toggle{grid-column:3;grid-row:1;font-size:12px}
.cano-adventure .cano-shell .language-control{grid-column:4;grid-row:1}
.cano-adventure .cano-shell .language-control select{max-width:112px;font-size:12px;min-height:38px;background:#18332e}
.cano-adventure .cano-shell .collection-quick-links{grid-column:1/-1;grid-row:2;display:flex;width:100%;gap:0;align-items:stretch;margin:3px 0 0;border-top:1px solid #2c433c;justify-content:flex-end}
.cano-adventure .collection-quick-links a{display:flex;align-items:center;gap:9px;font-size:12px;border:0;border-radius:0;min-height:41px;padding:8px 18px;background:transparent;text-decoration:none}
.cano-adventure .collection-quick-links a:last-child{color:#e8bc69;background:#23392f}
.cano-adventure .collection-quick-links a:hover{background:#314d40;color:#f7e6be}
.cano-adventure .collection-quick-links .adventure-icon{width:17px;height:17px}
.cano-adventure .cano-context{padding-block:14px}
.cano-adventure .page-heading h1{font-size:clamp(36px,4vw,62px);letter-spacing:0}
.cano-adventure .page-heading .eyebrow,.cano-adventure .hero .hero-intro{display:none}
.cano-adventure .page-heading{border-bottom:1px solid var(--line);margin-bottom:24px}
.cano-adventure .primary-link,.cano-adventure .hero-actions .primary-link{background:#e8bc69;color:#102c25;border:1px solid #e8bc69;border-radius:6px;font-weight:650;display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:12px 20px}
.cano-adventure .primary-link:hover{background:#f4d296;color:#102c25}
.cano-adventure :is(button,a,summary){-webkit-tap-highlight-color:#e8bc6933}
.cano-adventure button:disabled{cursor:not-allowed}
.cano-adventure .home-page .hero{padding:40px 5vw 48px;grid-template-columns:1fr 1fr;gap:6%;background:#142c25;isolation:isolate;overflow:hidden}
.cano-adventure .hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0d201ff5 20%,#10291ed9 60%,#10291eab),url('assets/adventure/island-a.webp') center 38%/cover}
.cano-adventure #helix{opacity:.3}
.cano-adventure .home-page .hero h1{font:600 clamp(48px,6.8vw,92px)/.96 var(--cano-display);letter-spacing:-.01em;margin:12px 0 18px;max-width:9ch}
.cano-adventure .hero-brand{width:150px;height:64px;margin:0}
.cano-adventure .hero .signature{font-size:12px;color:var(--muted);margin:0 0 16px}
.cano-adventure .hero-description{font-size:17px;line-height:1.6}
.cano-adventure .hero-actions{gap:12px;flex-wrap:wrap;align-items:center}
.cano-adventure .hero-actions>a:not(.primary-link){font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.cano-adventure .opening-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 15px;background:#122c25;color:#f2e8cf;border:1px solid #789075;border-radius:6px;font-size:13px;cursor:pointer}
.cano-adventure .opening-trigger:hover{background:#314d40}
.cano-adventure .hero-actions .sound-entry{min-height:44px;padding:10px 0;border:0;background:transparent;color:var(--muted);font-size:12px}
.cano-adventure .home-page .home-specimen{margin:0;border:1px solid #627662;border-radius:14px;background:#142a25;align-self:center;overflow:hidden}
.cano-adventure .home-page .home-specimen img{height:clamp(280px,27vw,390px);object-fit:contain;background:#263d33;width:100%}
.cano-adventure .home-specimen figcaption{background:#142a25;padding:16px 20px}
.cano-adventure .home-specimen figcaption p{font-size:12px;line-height:1.5;margin:6px 0}
.cano-adventure .home-specimen figcaption strong{font:600 28px var(--cano-display)}
.cano-adventure .hero-bottom{font-size:10px;opacity:.85}
.cano-adventure .hero-moods{opacity:.9}
.adventure-portal{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;background:#102721;overflow:hidden}
.portal-island{height:470px;overflow:hidden}
.portal-island img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.portal-copy{padding:48px 7vw 48px 5vw}
.portal-copy h2{font-size:clamp(38px,4.7vw,64px);line-height:1.02;margin:0 0 20px}
.portal-copy p{max-width:52ch;line-height:1.7;color:var(--muted)}
.portal-actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin:24px 0 15px}
.portal-copy small{color:var(--muted);font-size:12px;line-height:1.5}
.cano-adventure .home-paths.cano-paths{background:#192e27;border-color:#426055}
.cano-adventure .home-paths.cano-paths a{border-color:#426055}
.cano-adventure .home-paths.cano-paths h2{font:600 30px var(--cano-display)}
.cano-adventure .roots-invitation,.cano-adventure .opening-music{background:#0f2420;border-color:#426055}
.cano-adventure .roots-invitation h2{font-family:var(--cano-display);font-weight:600}
.cano-adventure .specimen,.cano-adventure .build{border-radius:12px;border:1px solid #426055}
.cano-adventure .builder-steps button[aria-selected=true]{background:#344e3e;border-bottom-color:#e8bc69}
.cano-adventure .species-choice[aria-pressed=true]{outline:2px solid #e8bc69;outline-offset:-2px}
.cano-adventure .selection-companion{border-color:#426055;background:#19352c}
.cano-adventure footer{background:#0a1916;border-color:#426055;color:#bdcbbd}
.adventure-opening{width:min(1100px,96vw);max-height:94dvh;padding:0;border:1px solid #789075;background:#0d201f;color:#f2e8cf;border-radius:14px;overflow:auto;box-shadow:0 24px 65px #0009}
.adventure-opening::backdrop{background:#030c0cef}
.opening-visible{overflow:hidden}
.opening-toolbar,.opening-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px}
.opening-toolbar strong{font:600 24px var(--cano-display)}
.opening-toolbar button{display:flex;align-items:center;gap:8px;background:transparent;border:1px solid #789075;color:inherit;padding:10px 12px;border-radius:6px;min-height:44px;cursor:pointer}
.adventure-opening video{display:block;width:100%;aspect-ratio:16/9;background:#081310;object-fit:contain}
.opening-footer p{font-size:12px;color:#bdcbbd;max-width:62ch;margin:0;line-height:1.6}
.opening-footer a{color:#e8bc69;font-size:13px;flex-shrink:0;min-height:44px;display:flex;align-items:center}
.adventure-opening.opening-cinema{width:min(1280px,96vw);max-height:94dvh;border:1px solid #526d60;background:#091b1b;border-radius:12px;color:#eee8d6}
.opening-cinema .opening-toolbar{padding:14px 24px;border-bottom:1px solid #304a40}
.opening-cinema .opening-toolbar strong{font-size:25px}
.opening-cinema .opening-toolbar button{border-color:#526d60}
.opening-film-picker{display:flex;gap:8px;padding:12px 24px;background:#102923}
.opening-film-picker button{min-height:44px;padding:10px 20px;border:1px solid #526d60;border-radius:24px;background:transparent;color:#dce7dc;font-size:14px;cursor:pointer}
.opening-film-picker button[aria-pressed=true]{color:#122c25;background:#e8c57e;border-color:#e8c57e}
.opening-film-picker button:hover{border-color:#e8c57e}
.opening-cinema video{max-height:68dvh;background:#050c0d}
.opening-chapters{display:flex;gap:0;padding:8px 24px;overflow-x:auto;border-bottom:1px solid #304a40;scrollbar-width:thin;scrollbar-color:#8ba794 #102923}
.opening-chapters button{flex:0 0 auto;display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;color:#ccdbce;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;font-size:13px;cursor:pointer}
.opening-chapters button span{font-size:11px;color:#a5beb0;font-variant-numeric:tabular-nums}
.opening-chapters button[aria-current=true]{color:#f1d398;border-bottom-color:#e8c57e}
.opening-chapters button:hover{background:#1b3830;color:#f0e8d4}
.opening-film-info{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 32px;padding:22px 24px}
.opening-film-info h2{font:500 32px/1.1 var(--cano-display);margin:0 0 10px;color:#f0e8d4}
.opening-film-info .opening-description{font-size:15px;line-height:1.6;margin:0 0 10px;color:#d3dfd2;max-width:65ch}
.opening-film-info .opening-note{font-size:12px;line-height:1.6;margin:0;color:#abc4b5;max-width:75ch}
.opening-film-actions{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px}
.opening-film-actions a{display:inline-flex;align-items:center;min-height:44px;color:#e8c57e;font-size:13px;text-underline-offset:4px}
.opening-film-actions [data-film-action]{padding:12px 18px;border:1px solid #708e7b;border-radius:7px;color:#eceddd;text-decoration:none;background:#214438}
.opening-cinema .opening-error{margin:0;padding:16px 24px;color:#f3d09e;line-height:1.5}
.opening-cinema .opening-loading{margin:0;padding:12px 24px;color:#d3dfd2;font-size:14px}
.opening-cinema :is(button,a):focus-visible{outline:3px solid #f1ce8c;outline-offset:3px}
@media(max-width:700px){
 .adventure-opening.opening-cinema{width:calc(100vw - 16px);max-height:96dvh}
 .opening-cinema .opening-toolbar{padding:12px 14px;gap:10px}
 .opening-cinema .opening-toolbar strong{font-size:21px}
 .opening-film-picker{padding:10px 14px;gap:7px}
 .opening-film-picker button{flex:1;padding:10px 12px;font-size:12px}
 .opening-chapters{padding:6px 14px}
 .opening-film-info{grid-template-columns:minmax(0,1fr);padding:18px 16px;gap:16px}
 .opening-film-info h2{font-size:28px}
 .opening-film-info .opening-description{font-size:14px}
 .opening-film-actions{flex-direction:row;flex-wrap:wrap;gap:8px 18px}
}
@media(max-width:1190px){
 body.cano-adventure header.cano-shell{grid-template-columns:1fr auto auto auto;gap:0 12px;padding-inline:20px}
 .cano-adventure .cano-shell .cano-nav-toggle{grid-column:2;grid-row:1;margin:0;display:block;font-size:13px;border-radius:6px}
 .cano-adventure .cano-shell nav.cano-nav{grid-row:3;grid-column:1/-1;flex-wrap:wrap;justify-content:flex-start}
 .cano-adventure .cano-shell.cano-nav-ready:not([data-nav-open]) nav.cano-nav{display:none}
 .cano-adventure .cano-nav .cano-nav-panel{box-shadow:none}
 .cano-adventure .cano-shell .collection-quick-links{justify-content:center}
}
@media(max-width:700px){
 body.cano-adventure header.cano-shell{padding:6px 14px 0;gap:0 8px}
 .cano-adventure .brand-lockup img{width:98px;height:48px}
 .cano-adventure .cano-shell .ambient-toggle{display:none}
 .cano-adventure .cano-shell .language-control{grid-column:4}
 .cano-adventure .cano-shell .language-control select{width:90px;max-width:90px}
 .cano-adventure .collection-quick-links a{font-size:11px;padding:8px;gap:5px;justify-content:center;flex:1}
 .cano-adventure .collection-quick-links .adventure-icon{width:15px;height:15px}
 .cano-adventure .home-page .hero{display:flex;flex-direction:column;padding:25px 22px 46px;gap:24px}
 .cano-adventure .home-page .scene-selector{position:static;order:3;display:flex;flex-wrap:wrap;gap:6px;align-self:stretch;margin:0 0 16px}
 .cano-adventure .home-page .hero h1{font-size:62px}
 .cano-adventure .hero-brand{display:none}
 .cano-adventure .hero-description{font-size:15px;max-width:34ch}
 .cano-adventure .hero-bottom{font-size:9px;padding-inline:22px}
 .cano-adventure .home-page .home-specimen{width:100%}
 .cano-adventure .home-page .home-specimen img{height:270px}
 .adventure-portal{grid-template-columns:1fr}
 .portal-island{height:280px}
 .portal-copy{padding:30px 24px}
 .portal-copy h2{font-size:44px}
 .opening-toolbar,.opening-footer{padding:12px;flex-wrap:wrap}
 .opening-toolbar strong{font-size:21px}
 .opening-toolbar button{font-size:12px}
 .opening-footer a{width:100%}
}
@media(prefers-reduced-motion:reduce){.cano-adventure *, .cano-adventure *:before,.cano-adventure *:after{scroll-behavior:auto!important}}
