/* Game pages: clear type, welcoming color, and a direct line to the protagonist. */
.game-page{color:var(--text);min-width:0}
.back-link{display:inline-flex;align-items:center;min-height:44px;margin:0 0 10px;color:var(--muted);font-size:15px;font-weight:500}
.back-link:hover{color:var(--accent)}
.game-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:20px}
.game-heading-copy{min-width:0;max-width:830px}
.game-heading h1{font-size:clamp(34px,3.4vw,48px);line-height:1.1;letter-spacing:-1.5px;margin:12px 0}
.game-intro{font-size:18px;line-height:1.7;color:var(--muted);margin:0 0 14px;max-width:760px}
.game-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.game-tags .tag{font-size:12px;line-height:1.5;min-height:32px;padding:6px 10px;letter-spacing:.3px;color:#e7efff;border-color:#535e6d;background:#303741}
.game-tags .tag.green{background:#303b2b;border-color:#74875d;color:#e1ffb2}
.game-tags .icon{width:15px;height:15px;margin-right:4px}
.game-tags a.tag{min-height:44px;display:inline-flex;align-items:center}
.game-byline{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;line-height:1.6;color:var(--muted)}
.game-byline .author-dot{width:26px;height:26px;font-size:12px}
.game-heading-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0;padding-top:7px}
.game-heading-actions .button{font-size:16px;min-height:46px;padding:11px 14px}
.game-heading-actions .icon{width:19px;height:19px}
#like-button[aria-pressed=true]{color:#ffd0de;background:#523c59;border-color:#e6a1bf}
#like-button[aria-pressed=true] .icon{fill:#eaa2bd44}
.agent-section{border:1px solid #596650;border-radius:20px;padding:18px;background:radial-gradient(ellipse at top left,#55634442,transparent 65%),linear-gradient(115deg,#2c332c,#252b32);margin-bottom:20px;box-shadow:0 12px 30px #080c1225}
.agents-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px}
.agents-heading strong{font-size:19px;font-weight:650;color:#efffe4;letter-spacing:-.3px}
.agents-heading>span{font-size:14px;color:#d2e1d4}
.agent-strip{display:flex;flex-wrap:wrap;gap:12px}
.agent-chip{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:2px 12px;text-align:left;min-height:90px;padding:13px 16px;border:1px solid #82909f;border-radius:15px;background:#2b313b;color:var(--text);flex:0 1 270px;max-width:100%;transition:background .18s,border-color .18s,transform .18s}
.agent-chip:hover{background:#383f4a;border-color:#a4afb9;transform:translateY(-2px)}
.agent-chip:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.agent-chip>span:nth-child(2){grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0}
.agent-chip strong{font-size:18px;font-weight:650;color:#f6faff;line-height:1.4}
.agent-chip small{font-size:14px;line-height:1.5;color:#d3dfed;white-space:normal;overflow-wrap:anywhere}
.agent-avatar{grid-column:1;grid-row:1/3;width:48px;height:54px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#b9ee85,#679449);color:#173017;font-size:25px;font-weight:700;border:1px solid #d9ffae;box-shadow:0 5px 12px #08152435;transform:rotate(-4deg)}
.agent-avatar.purple{background:linear-gradient(135deg,#e0d4ff,#a392d3);border-color:#e2d9ff;color:#312547}
.agent-avatar.blue{background:linear-gradient(135deg,#b7efff,#7aadc9);border-color:#d5f6ff;color:#183848}
.agent-avatar.amber{background:linear-gradient(135deg,#ffe0a6,#d49a52);border-color:#ffe3b5;color:#4b3116;transform:rotate(4deg)}
.character-badge{grid-column:2;grid-row:2;width:max-content;max-width:100%;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:.35px;padding:3px 7px;border-radius:5px;color:#d8e7fa;background:#ffffff10;margin-top:6px}
.agent-chip.selected,.playable-contact.selected{border:2px solid var(--accent);padding:12px 15px;background:#37462e;box-shadow:0 0 0 3px #d2ff8e12}
.playable-contact{border-color:#7f9967;background:#303d2d}
.playable-contact .character-badge{color:#e5ffc4;background:#d0f99b19}
.cast-note{font-size:15px;line-height:1.7;color:#d0ded6;margin:12px 0 0}
.cast-note strong{color:#efffdb;font-weight:650}
.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:24px}
.play-layout.no-live{grid-template-columns:1fr}
.game-stage-column,.call-column{min-width:0}
.game-stage{width:100%;min-width:0;aspect-ratio:1.45;min-height:460px;position:relative;background:#1d252e;border:1px solid #526170;border-radius:22px 22px 0 0;overflow:hidden;isolation:isolate;box-shadow:0 15px 45px #080c1635}
.game-stage:fullscreen{width:100vw;height:100vh;min-height:0;border:0;border-radius:0;aspect-ratio:auto}
.game-stage iframe{width:100%;height:100%;border:0;background:#1d252e;position:absolute;inset:0}
.game-launch{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#222b34;overflow:hidden}
.game-launch>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.98) saturate(1.06)}
.game-launch>img[src*="action=thumbnail"]{object-fit:contain;background:#1d252e;object-position:center top}
.game-launch:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,#17222a33 60%,#111b2580);pointer-events:none}
.launch-content{position:relative;z-index:1;width:calc(100% - 36px);max-width:600px;margin:18px;padding:22px;border:1px solid #788890;border-radius:18px;background:linear-gradient(120deg,#232d32f5,#232b31f5);backdrop-filter:blur(10px);box-shadow:0 8px 30px #070c1240;text-align:center}
.launch-content .tag{display:inline-block;font-size:12px;line-height:1.5;letter-spacing:.5px;padding:5px 9px;color:#e2fbbf;border-color:#7c8f64;background:#35432d}
.launch-content h2{font-size:clamp(28px,2.6vw,38px);line-height:1.15;letter-spacing:-.8px;margin:12px 0;color:#fff}
.launch-content p{font-size:16px;line-height:1.65;color:#e2ebf7;margin:0 0 18px}
.launch-content .button{font-size:17px;min-height:52px;padding:13px 24px}
.launch-note{display:block;font-size:14px;line-height:1.5;color:#d0dfeb;margin-top:12px}
.stage-toolbar{min-height:64px;background:#29313a;border:1px solid #526170;border-top:0;border-radius:0 0 17px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px}
.stage-toolbar>div{display:flex;align-items:center;gap:9px;color:#dbe8fa;font-size:14px;line-height:1.5;min-width:0}
.stage-toolbar>div:first-child{flex:1}
.stage-toolbar .status-dot{width:8px;height:8px}
.stage-toolbar .icon-button{width:44px;height:44px;border:1px solid #82909f;background:#303b45;color:#f1f6ff;border-radius:11px;flex-shrink:0}
.stage-toolbar .icon-button:hover{background:#424f5a}
.stage-toolbar .icon-button .icon{width:21px;height:21px}
.keyboard-hint{font-size:13px;color:#e0ebff;white-space:nowrap;letter-spacing:1px}
.keyboard-hint span{letter-spacing:0;color:#c2d2e6;margin-left:5px}
.objective-card{display:flex;align-items:flex-start;gap:14px;border:1px solid #62724f;border-radius:16px;background:linear-gradient(110deg,#303b2c,#293132);margin-top:18px;padding:20px}
.objective-card>.icon{color:#dcffae;width:25px;height:25px;margin-top:2px}
.objective-card>div{min-width:0}
.objective-card>div>span{font-size:12px;font-weight:650;line-height:1.5;letter-spacing:.8px;color:#e0f8c4}
.objective-card p{font-size:16px;line-height:1.7;color:#eef4ee;margin:7px 0 0}
.voice-ideas{padding:25px 0 0}
.voice-ideas .eyebrow{font-size:12px;line-height:1.5;letter-spacing:1px;color:var(--cyan,#80dff0);margin-bottom:8px}
.voice-ideas h3{font-size:23px;line-height:1.3;font-weight:650;letter-spacing:-.5px;margin:0 0 15px}
.voice-idea-list{display:flex;flex-wrap:wrap;gap:10px}
.voice-idea-list>button{display:flex;align-items:center;gap:9px;min-height:48px;max-width:100%;text-align:left;border:1px solid #82909f;border-radius:12px;background:#2a3539;padding:12px 14px;color:#e7f6ee;font-size:16px;line-height:1.6}
.voice-idea-list>button>.icon{width:18px;height:18px;color:#d8ffaf}
.voice-idea-list>button:hover{background:#3a494b;border-color:#a1b7a3}
.call-column{display:flex;flex-direction:column;gap:20px}
.outside-guide{border:1px solid #5f7881;background:radial-gradient(ellipse at top right,#577b8140,transparent 75%),#29343c;border-radius:20px;padding:22px;box-shadow:0 9px 28px #080c1625}
.guide-heading>span{display:flex;align-items:center;gap:7px;color:#bdeefe;font-size:12px;line-height:1.5;font-weight:650;letter-spacing:.7px}
.guide-heading>span>.icon{width:17px;height:17px}
.guide-heading>strong{display:block;font-size:22px;line-height:1.3;letter-spacing:-.4px;font-weight:650;color:#f5f9ff;margin-top:13px}
.guide-heading>p{font-size:16px;line-height:1.7;color:#d8e5f5;margin:10px 0 17px}
.outside-guide>.agent-chip{width:100%;border-color:#829da5;background:#34454d;min-height:90px}
.outside-guide .agent-avatar.green{background:linear-gradient(135deg,#c4f1ff,#8bb5e7);border-color:#d7f6ff;color:#203e62}
.outside-guide .agent-chip.selected{border-color:#bceeff;background:#3b5158}
.outside-guide .character-badge{color:#e4f7ff;background:#a5dcff1c}
.optional-contacts{margin-top:16px;padding-top:10px;border-top:1px solid #506a72}
.optional-contacts summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;font-size:14px;color:#d7e8f9;list-style:none}
.optional-contacts summary>.icon{width:18px;height:18px}
.optional-contacts>div{display:grid;gap:10px;margin-top:12px}
.optional-contacts .agent-chip{width:100%;background:#303d45;border-color:#8298a3}
.optional-contacts>p{font-size:14px;line-height:1.7;color:#c9dcee;margin:14px 0 0}
.game-information{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:32px;margin:38px 0;padding-top:34px;border-top:1px solid var(--line)}
.about-world{min-width:0}
.about-world>.eyebrow{font-size:12px;line-height:1.5;letter-spacing:1px;color:var(--cyan,#80dff0);margin-bottom:11px}
.about-world h2{font-size:30px;line-height:1.25;letter-spacing:-.7px;margin-bottom:20px}
.about-world>p{font-size:16px;line-height:1.85;color:#d9e4f5;margin:0 0 17px}
.world-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 20px;padding:24px 0;margin:24px 0 6px;border-top:1px solid var(--line)}
.world-facts>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.world-facts span{font-size:14px;line-height:1.5;color:#c2d3e7}
.world-facts strong{font-size:16px;line-height:1.5;font-weight:650;color:#f0f6ff;overflow-wrap:anywhere}
.world-topic-tags{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0 26px}
.world-topic-tags>span{font-size:14px;line-height:1.5;padding:6px 10px;border:1px solid #596574;background:#303944;color:#e0eafb;border-radius:8px;overflow-wrap:anywhere;max-width:100%}
.original-prompt{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}
.original-prompt summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;color:#eff8ff}
.original-prompt summary>span{display:flex;align-items:center;gap:10px;min-width:0}
.original-prompt summary .icon{width:20px;height:20px;color:#d8faaa}
.original-prompt[open] summary>.icon{transform:rotate(45deg)}
.original-prompt .prompt-intro{font-size:14px;line-height:1.7;color:#c8d7ed;margin:13px 0}
.original-prompt blockquote{border:1px solid #60716a;border-left:4px solid #c5ee86;background:#2b3532;border-radius:0 13px 13px 0;padding:20px;color:#e4f1ec;font-size:16px;line-height:1.8;margin:0 0 15px;white-space:pre-wrap;overflow-wrap:anywhere}
.prompt-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
.prompt-actions .text-button{display:flex;align-items:center;gap:7px;min-height:44px;font-size:15px;color:#def3bb}
.prompt-actions .icon{width:17px;height:17px}
.world-credits{display:flex;flex-wrap:wrap;gap:7px 18px;margin-top:21px;font-size:13px;line-height:1.65;color:#c2d2e7;overflow-wrap:anywhere}
.about-world>.art-note{font-size:14px;line-height:1.8;color:#becfe5;margin-top:12px}
.controls-card{border:1px solid #535e6d;border-radius:20px;background:linear-gradient(145deg,#2c333d,#252c35);padding:25px;min-width:0;box-shadow:0 10px 28px #0c111826}
.controls-card h3{display:flex;align-items:center;gap:12px;font-size:24px;line-height:1.3;margin-bottom:24px}
.controls-card h3 .icon{width:25px;height:25px;color:#d9faaa}
.play-steps{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.play-steps>li{display:flex;align-items:flex-start;gap:13px}
.play-steps>li>span{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:10px;background:#3a492f;border:1px solid #829c61;color:#e8ffb7;font-size:13px;font-weight:650}
.play-steps>li>div{min-width:0}
.play-steps strong{display:block;font-size:17px;font-weight:650;line-height:1.5;color:#f3f7ff}
.play-steps p{font-size:16px;line-height:1.8;margin:7px 0 0;color:#d0e0f1}
.controls-divider{font-size:12px;line-height:1.5;letter-spacing:1px;font-weight:650;color:#d9edc5;border-top:1px solid #566273;padding-top:22px;margin:25px 0 18px}
.control-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #46515f}
.control-row kbd{font-size:14px;line-height:1.55;font-family:var(--font);border:1px solid #82909f;border-bottom-width:3px;background:#333d49;border-radius:8px;padding:6px 9px;color:#f3f8ff;max-width:45%;overflow-wrap:anywhere}
.control-row>span{font-size:16px;line-height:1.7;color:#d9e5f7;text-align:right;flex:1;min-width:0}
.controls-card .controls-tip{font-size:14px;line-height:1.8;margin:20px 0 0;color:#c5d8e7}
.stage-error{position:absolute;inset:auto 16px 16px;padding:18px;background:#633e5cf5;border:1px solid #ffbad0;border-radius:13px;font-size:16px;line-height:1.65;z-index:5;color:#fff0f4;overflow-wrap:anywhere}
.draft-notice{border:1px solid #bca36a;border-radius:12px;background:#534a35;color:#ffebbd;padding:17px 20px;font-size:16px;line-height:1.7;margin-bottom:24px}
.delete-world{display:inline-flex;align-items:center;min-height:44px;color:#ffc5d6;font-size:15px;margin-top:8px}
@media(max-width:1350px){.play-layout{grid-template-columns:minmax(0,1fr) 330px;gap:20px}.game-heading{display:block}.game-heading-actions{padding-top:0;margin-top:20px}.keyboard-hint{display:none}.game-stage{aspect-ratio:1.1}.controls-card{padding:22px}.game-information{gap:25px}}
@media(max-width:1120px){.play-layout{grid-template-columns:1fr}.game-stage{aspect-ratio:1.6;min-height:480px}.call-column{gap:22px}.outside-guide{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.75fr);gap:0 25px;align-items:center}.guide-heading{grid-column:1;grid-row:1/3}.guide-heading>p{margin-bottom:0}.outside-guide>.agent-chip{grid-column:2}.optional-contacts{grid-column:2}.game-information{grid-template-columns:1fr;gap:30px}.controls-card{padding:25px}.world-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.game-heading h1{font-size:40px}}
@media(max-width:700px){.back-link{font-size:15px;margin-bottom:17px}.game-heading h1{font-size:35px;letter-spacing:-1px}.game-intro{font-size:17px}.game-heading-actions .button{font-size:16px;padding:11px 13px}.agent-section{padding:18px;border-radius:17px}.agents-heading strong{font-size:19px}.agents-heading>span{font-size:14px}.agent-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:11px}.agent-chip{width:100%;max-width:none;min-height:92px;padding:13px 14px}.agent-chip.selected{padding:12px 13px}.agent-avatar{width:48px;height:54px}.cast-note{font-size:15px}.game-stage{aspect-ratio:auto;height:500px;min-height:500px;border-radius:18px 18px 0 0}.launch-content{margin:13px;width:calc(100% - 26px);padding:20px 16px}.launch-content h2{font-size:31px}.launch-content p{font-size:16px}.launch-content .tag{font-size:12px}.launch-content .button{min-height:52px;font-size:17px}.launch-note{font-size:14px}.stage-toolbar{gap:8px;padding:9px 10px;min-height:66px}.stage-toolbar>div{font-size:14px;gap:7px}.stage-toolbar>div:last-child{gap:6px}.stage-toolbar .icon-button{width:44px;height:44px}.objective-card{padding:18px;gap:11px}.objective-card p{font-size:16px}.voice-ideas h3{font-size:23px}.voice-idea-list{display:grid;grid-template-columns:1fr}.voice-idea-list>button{width:100%;font-size:16px}.outside-guide{display:block;padding:20px}.guide-heading>p{margin-bottom:18px}.outside-guide>.agent-chip{min-height:90px}.optional-contacts summary{font-size:15px}.game-information{margin:30px 0;padding-top:30px}.about-world h2{font-size:29px}.about-world>p{font-size:16px}.world-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 14px}.world-topic-tags>span{font-size:14px}.original-prompt summary{font-size:16px}.original-prompt blockquote{font-size:16px;padding:17px 15px}.prompt-actions .text-button{font-size:15px}.controls-card{padding:21px}.controls-card h3{font-size:24px}.play-steps p{font-size:16px}.play-steps>li{gap:11px}.control-row{display:block}.control-row kbd{display:inline-block;max-width:100%;font-size:14px}.control-row>span{display:block;text-align:left;font-size:16px;margin-top:10px}.stage-error{inset:auto 12px 12px;font-size:16px;padding:16px}}
@media(max-width:380px){.game-heading h1{font-size:32px}.game-tags .tag{padding:5px 8px}.agent-section{padding:16px}.agent-chip{grid-template-columns:42px minmax(0,1fr);gap:3px 10px;padding:12px}.agent-chip.selected{padding:11px}.agent-avatar{width:42px;height:50px;font-size:23px}.agent-chip strong{font-size:18px}.agent-chip small{font-size:14px}.launch-content h2{font-size:29px}.launch-content{padding:18px 14px}.stage-toolbar{padding:8px;gap:6px}.stage-toolbar>div:first-child{gap:5px}.stage-toolbar>div:last-child{gap:4px}.objective-card{padding:16px}.outside-guide{padding:18px}.controls-card{padding:18px}.about-world h2{font-size:27px}}
/* On a wide screen, reading continues under the game while the call stays alongside it. */
@media(min-width:1121px){
 .game-page{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:0 24px;align-items:start}
 .game-page>.back-link,.game-page>.draft-notice,.game-page>.game-heading,.game-page>.agent-section,.game-page>section{grid-column:1/-1}
 .game-page>.play-layout,.game-page>.game-information{display:contents}
 .game-stage-column{grid-column:1}
 .call-column{grid-column:2;grid-row:span 3;align-self:start}
 .about-world{grid-column:1;margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}
 .controls-card{grid-column:1;margin-top:27px}
 .game-page>section:not(.agent-section){margin-top:28px}
 .game-page:has(.play-layout.no-live){display:block}
}
@media(min-width:1121px) and (max-width:1350px){.game-page{grid-template-columns:minmax(0,1fr) 330px;column-gap:20px}}
.jump-to-call{display:none}
@media(max-width:1120px){.jump-to-call{display:inline-flex;align-items:center;gap:10px;min-height:48px;margin-top:17px;padding:11px 15px;border:1px solid #92afb7;border-radius:11px;background:#35494f;color:#e1f8ff;font-size:16px;line-height:1.6;font-weight:600;max-width:100%}.jump-to-call .icon{width:20px;height:20px}.jump-to-call:hover{background:#455e65}}
/* The primary entry action stays visible before the larger game and call panels. */
.game-heading-actions{max-width:320px;justify-content:flex-end}
.game-heading-actions [data-start-world]{width:100%;min-height:50px;font-size:17px}
.game-stage{scroll-margin-top:20px}
@media(max-width:1350px){.game-heading-actions{max-width:none;justify-content:flex-start}.game-heading-actions [data-start-world]{width:auto;min-width:155px}}
@media(max-width:700px){.game-heading-actions{gap:8px}.game-heading-actions [data-start-world]{width:100%;min-height:52px;font-size:18px}.game-heading-actions .button.quiet{flex:1;justify-content:center;padding-left:10px;padding-right:10px}.game-heading h1{margin-top:12px;margin-bottom:14px}}
.expedition-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:23px 25px;margin:0 0 25px;border:1px solid #79806a;border-radius:18px;background:linear-gradient(120deg,#343e2c,#2b3340)}.expedition-intro .eyebrow{margin-bottom:8px}.expedition-intro strong{font-size:23px;line-height:1.35}.expedition-intro p{font-size:16px;line-height:1.7;margin:10px 0 0;color:#dce6d9}.expedition-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.expedition-features span{padding:10px 12px;border:1px solid #7c8976;background:#29352a;border-radius:9px;font-size:14px;color:#e5f3da;line-height:1.5}@media(max-width:1000px){.expedition-intro{grid-template-columns:1fr}.expedition-features{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:620px){.expedition-intro{padding:20px}.expedition-features{grid-template-columns:repeat(2,minmax(0,1fr))}}