:root{color-scheme:light;--background:#f3f5f8;--foreground:#172035;--primary:#2349e8;--card:#fff;--muted:#59647a;--border:#dce1e9;--accent:#eaf0ff;--orange:#c44512;--orange-soft:#fff0e7;--success:#176647;--danger:#b2343d;font-family:'DM Sans',Arial,sans-serif;color:var(--foreground);background:var(--background);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #91a8ff;outline-offset:4px}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}.site-header{height:96px;max-width:1360px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:-1px}.brand-mark{background:var(--foreground);color:white;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-family:Georgia,serif;font-size:28px;letter-spacing:-2px;padding-right:3px}.brand-light{font-weight:400;color:#697186}.edition{font-size:12px;letter-spacing:1.8px;display:flex;align-items:center;gap:15px;color:#677187}.edition-line{height:1px;width:30px;background:#aab2c2}.demo-badge{font-size:12px;border:1px solid #bec8db;padding:7px 11px;border-radius:7px;white-space:nowrap;color:#4d5971}.workspace{max-width:1128px;margin:auto;padding:34px 24px 20px}.game-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:28px}.game-tab{display:flex;align-items:center;gap:16px;border:1px solid var(--border);border-radius:14px;background:transparent;text-align:left;padding:18px 24px}.game-tab.active{background:white;border-color:var(--primary);box-shadow:0 3px 0 var(--primary)}.game-tab[data-game=wordport].active{border-color:var(--orange);box-shadow:0 3px 0 var(--orange)}.game-symbol{font-size:34px;line-height:1;font-family:Arial,sans-serif;color:var(--primary)}.game-tab[data-game=wordport] .game-symbol{color:var(--orange)}.game-tab strong{font-size:20px;font-weight:600;display:block;letter-spacing:-.5px}.game-tab small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.tab-index{margin-left:auto;font-family:Georgia,serif;font-size:23px;color:#a1aabb}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px;align-items:start}.game-card{background:white;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 6px 25px #13245004}.board-bar{display:flex;align-items:center;justify-content:space-between;padding:19px 26px;border-bottom:1px solid var(--border);gap:12px}.board-select{border:0;background:#fff;color:var(--muted);font-size:14px;max-width:62%;padding:3px 0;cursor:pointer}.round-status{display:flex;align-items:center;gap:8px;font-size:13px;color:#59647a;white-space:nowrap}.pips{display:flex;gap:4px}.pip{width:6px;height:6px;border-radius:50%;background:#cdd4e1}.pip.used{background:var(--primary)}.cue-area{text-align:center;padding:30px 24px 23px}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:12px;font-weight:600;color:var(--muted)}.cue{font-family:'Instrument Serif',Georgia,serif;font-size:80px;font-weight:400;line-height:1.08;letter-spacing:-2px;margin:4px 0 10px}.cue-description{font-size:15px;margin:0;color:var(--muted)}.slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 26px}.slot{background:#fff;border:1px solid var(--border);border-radius:12px;text-align:left;min-height:122px;padding:13px 14px;position:relative}.slot.selected{background:var(--accent);border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.slot.locked{background:#edf8f2;border-color:#97c5ae}.slot-header{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#707b91;margin-bottom:11px}.slot.selected .slot-header{color:var(--primary)}.slot-type{display:block;font-size:16px;font-weight:600;margin-bottom:3px}.slot-band{font-size:13px;color:var(--muted)}.slot.locked .slot-band{color:var(--success);font-size:16px}.slot-icon{font-size:15px}.mini-track{height:3px;margin-top:12px;background:#e0e5ef;position:relative;border-radius:2px}.mini-zone{position:absolute;top:0;height:3px;background:#758de7;border-radius:2px}.slot.selected .mini-zone{background:var(--primary)}.play-area{padding:24px 26px 26px}.field-label{display:block;font-size:14px;font-weight:500;margin-bottom:9px}.input-row{display:flex;gap:8px}.word-input{min-width:0;flex:1;background:#f9faff;border:1px solid #ccd3e2;border-radius:9px;padding:14px 16px;font-size:17px;outline:none;color:var(--foreground)}.word-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2349e81a}.primary-button{border:0;background:var(--primary);color:white;padding:13px 21px;font-weight:600;border-radius:9px;font-size:15px;white-space:nowrap}.primary-button:hover{filter:brightness(.94)}.input-note{font-size:12px;color:#778195;margin-top:8px}.meter-wrap{margin-top:25px}.meter-head{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:8px}.meter{height:14px;border-radius:5px;background:repeating-linear-gradient(90deg,#e6eaf1 0,#e6eaf1 calc(10% - 2px),#fff calc(10% - 2px),#fff 10%);position:relative;margin:9px 2px}.meter-zone{position:absolute;top:-4px;height:22px;border:1px solid #7088f2;border-radius:5px;background:#2349e824}.meter-marker{position:absolute;top:-6px;bottom:-6px;width:3px;background:#142961;transform:translateX(-50%);z-index:1}.meter-marker:before{content:'';position:absolute;top:-4px;left:-4px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #142961}.meter-caption{font-size:12px;color:var(--primary);text-align:center;margin:10px 0 0}.feedback{margin-top:20px;padding:14px 16px;background:#f4f6fb;border:1px solid #e3e7f0;border-radius:9px;font-size:14px;line-height:1.5;display:flex;gap:10px;align-items:flex-start}.feedback.hit,.feedback.accepted{background:#eef8f2;border-color:#c4e1d1;color:#1d6348}.feedback.predictable,.feedback.remote,.feedback.type,.feedback.edge,.feedback.passport,.feedback.gap{background:#fff6e8;border-color:#f0dcc0;color:#805122}.feedback .feedback-icon{font-size:17px;font-weight:600}.history{border-top:1px solid var(--border);margin-top:22px;padding-top:17px}.history-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#69748a;text-transform:uppercase;letter-spacing:1.2px;margin-bottom:10px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;padding:8px 0;border-top:1px solid #f0f2f6}.history-word{font-size:14px;font-weight:500}.history-type{color:#7b8393;font-size:12px;margin-left:8px}.history-status{font-size:12px;color:#677389}.history-status.hit{color:var(--success)}.sidebar{padding-top:9px}.side-kicker{font-size:12px;letter-spacing:1.7px;color:#758095;margin:0 0 18px}.sidebar h2{font-family:'Instrument Serif',Georgia,serif;font-size:33px;line-height:1.08;font-weight:400;margin:0 0 16px;letter-spacing:-.5px}.sidebar p{font-size:14px;color:var(--muted);line-height:1.65;margin:0 0 16px}.rules{display:grid;gap:15px;margin:25px 0;padding:0;list-style:none}.rules li{display:flex;gap:12px;font-size:14px;line-height:1.5;color:#566177}.rule-number{display:grid;place-items:center;height:24px;width:24px;flex-shrink:0;background:#e5eaf5;color:#4a5b7a;border-radius:50%;font-size:12px}.side-divider{border:0;border-top:1px solid var(--border);margin:24px 0}.note-title{font-size:13px;font-weight:600;color:#566077;margin-bottom:8px}.side-note{font-size:12px!important;line-height:1.6!important}.text-button{border:0;background:transparent;color:#65718a;padding:3px 0;font-size:13px;text-decoration:underline;text-underline-offset:3px}.site-footer{display:flex;justify-content:space-between;align-items:center;color:#8590a3;font-size:12px;padding:24px 2px;gap:16px}.result{background:#edf7f1;border:1px solid #c3dfce;padding:24px;border-radius:12px;margin-bottom:20px;text-align:center}.result h2{font-family:'Instrument Serif',Georgia,serif;font-size:39px;letter-spacing:-.5px;font-weight:400;line-height:1.1;margin:6px 0 10px}.result p{font-size:14px;color:#486657;margin:0 0 17px;line-height:1.5}.result.failed{background:#f6f7fc;border-color:#d8deee}.result.failed p{color:var(--muted)}.result-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.secondary-button{background:white;border:1px solid #cdd5e3;border-radius:8px;padding:10px 14px;font-size:14px;font-weight:500}.alternatives{margin-top:18px;font-size:13px;line-height:1.8;text-align:left;border-top:1px solid #c8decf;padding-top:14px}.alternatives strong{font-weight:600}.wordport{--primary:var(--orange);--accent:var(--orange-soft)}.journey-heading{background:#19253b;color:#fff;padding:25px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px}.endpoint small{display:block;color:#adbad0;font-size:11px;letter-spacing:1.8px;margin-bottom:6px}.endpoint strong{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:42px;line-height:1.1}.endpoint.arrival{text-align:right}.route-dash{height:1px;background:#66728a;flex:1;min-width:15px;position:relative}.route-dash:after{content:'';position:absolute;width:6px;height:6px;border:1px solid #a7b8d6;border-radius:50%;top:-3px;right:0}.passport{margin:22px 26px 0;padding:16px;background:#fffaf6;border:1px dashed #dcb89f;border-radius:10px}.passport-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.passport-head .eyebrow{color:#88664e;font-size:11px}.passport-stamps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stamp{border:1px dashed #d9b99e;border-radius:6px;padding:10px 8px;text-align:center;color:#8b7565}.stamp span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:1px;margin-bottom:4px}.stamp strong{font-size:14px;font-weight:500}.stamp em{display:block;font-size:12px;font-style:normal;margin-top:5px;color:#a1836a}.stamp.earned{background:#fff0e5;border-style:solid;border-color:#d78a55;color:#9b4114}.stamp.earned em{color:#a05328}.passport-note{font-size:11px;color:#997963;margin:10px 0 0;text-align:center}.chains{display:grid;grid-template-columns:1fr 24px 1fr;gap:10px;margin:24px 26px 19px;align-items:start}.chain-label{font-size:11px;letter-spacing:1.2px;color:#6d788d;margin-bottom:10px;text-transform:uppercase}.chain-label.right{text-align:right}.chain-items{display:flex;flex-direction:column;gap:7px}.word-tile{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--border);border-radius:7px;padding:9px 11px;background:#fbfcfe;font-size:14px;min-width:0}.word-tile small{font-size:10px;color:#828ca0;letter-spacing:.4px;text-transform:uppercase;max-width:55%;overflow-wrap:anywhere}.word-tile.frontier{border-color:#d88a5d;background:#fff7f0;box-shadow:inset 3px 0 #dc7b42}.chain-gap{align-self:center;text-align:center;color:#b4a08f;font-size:19px}.chain-direction{font-size:11px;color:#8b96a7;text-align:center;margin:7px 0}.side-choice{display:flex;background:#f0f3f8;padding:4px;border-radius:8px;gap:4px;margin-bottom:17px}.side-choice button{flex:1;border:0;padding:9px 6px;background:transparent;color:#758098;font-size:13px;border-radius:5px}.side-choice button.selected{color:#853b19;background:white;box-shadow:0 1px 4px #18203012}.wordport .play-area{padding-top:2px}.wordport .word-input:focus{box-shadow:0 0 0 3px #c445121a}.route-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:13px;flex-wrap:wrap}.route-tools .text-button{color:#89634d;font-size:12px}.connect-button{width:100%;margin-top:20px;padding:12px;border-radius:8px;font-size:14px;background:#fff4ed;border:1px solid #d49e7d;color:#974616;font-weight:600}.neighbors{margin-top:17px}.neighbor-title{font-size:12px;color:#876752;margin-bottom:9px}.neighbor-list{display:flex;flex-wrap:wrap;gap:7px}.neighbor{border:1px solid #e0c4b3;background:#fffaf7;border-radius:6px;font-size:13px;padding:7px 10px}.neighbor small{display:inline;margin-left:5px;font-size:10px;color:#8b7568}.result.medal{background:#fffaeb;border-color:#e7d3a2;margin:22px 26px}.result.medal p{color:#856b35}.medal-mark{display:inline-grid;place-items:center;width:48px;height:48px;border:1px solid #bc9942;border-radius:50%;font-size:23px;color:#9a761f;background:#faedbc}.completed-route{font-size:14px;line-height:2;margin:15px 0;color:#805b2d}.loading{background:#fff;padding:45px;border:1px solid var(--border);border-radius:16px}.loading h1{font-family:Georgia,serif;font-weight:400}dialog{max-width:560px;width:calc(100% - 32px);border:1px solid var(--border);border-radius:18px;padding:34px;color:var(--foreground);box-shadow:0 20px 100px #19243b33}dialog::backdrop{background:#14243e66;backdrop-filter:blur(3px)}dialog h2{font-family:'Instrument Serif',Georgia,serif;font-size:40px;font-weight:400;letter-spacing:-.7px;margin:15px 0}dialog p{font-size:15px;line-height:1.65;color:var(--muted)}.dialog-close{float:right;border:0;background:#eef1f6;border-radius:50%;font-size:22px;height:30px;width:30px;line-height:1}.message-note{font-size:12px;color:var(--muted);text-align:center;margin:16px 0 0}.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}@media(max-width:980px){.edition{display:none}.site-header{padding:0 28px}.game-layout{grid-template-columns:minmax(0,1fr) 220px;gap:23px}.game-tab{padding:16px 20px}.slots{padding:0 20px;gap:8px}.play-area{padding-left:20px;padding-right:20px}.slot{padding:12px 10px}.game-tab small{font-size:13px}.board-bar{padding:17px 20px}.sidebar h2{font-size:30px}}@media(max-width:760px){.site-header{height:76px;padding:0 20px}.brand{font-size:21px}.workspace{padding:22px 16px 12px}.game-layout{grid-template-columns:1fr}.sidebar{display:none}.game-nav{gap:10px;margin-bottom:23px}.game-tab{gap:10px;padding:14px 12px}.game-symbol{font-size:28px}.game-tab strong{font-size:18px}.game-tab small{font-size:11px}.tab-index{display:none}.game-card{border-radius:14px}.cue-area{padding-top:22px;padding-bottom:20px}.cue{font-size:70px}.cue-description{font-size:14px}.board-bar{padding:15px 18px}.cue-area .eyebrow{font-size:11px}.round-status{font-size:12px}.slots{padding:0 18px}.slot{min-height:110px}.slot-type{font-size:15px}.slot-band{font-size:12px}.slot-header{margin-bottom:9px}.play-area{padding:21px 18px}.primary-button{padding:12px 16px}.meter-wrap{margin-top:21px}.site-footer{font-size:11px;align-items:baseline}.site-footer .text-button{font-size:11px}.journey-heading{padding:22px 20px}.endpoint strong{font-size:38px}.passport{margin:20px 18px 0}.chains{margin:22px 18px 18px}.result.medal{margin:18px}.wordport .play-area{padding-top:0}.word-tile{font-size:13px;padding:9px}.word-tile small{font-size:9px}.pips{gap:3px}.pip{width:5px;height:5px}}@media(max-width:380px){.game-tab small{display:none}.slot-type{font-size:14px}.slot-band{font-size:11px}.word-input{padding:13px 10px}.primary-button{padding:12px}.stamp strong{font-size:12px}.brand{font-size:19px}.demo-badge{font-size:11px}.pips{display:none}.passport{padding:12px}.endpoint strong{font-size:33px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.game-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.game-tab{padding:16px 14px;gap:9px}.game-tab strong{font-size:17px}.game-tab small{font-size:11px}.game-symbol{font-size:29px}.tab-index{display:none}.game-tab[data-game=samebrain] .game-symbol{color:#7450c8}.game-tab[data-game=samebrain].active{border-color:#7450c8;box-shadow:0 3px 0 #7450c8}.game-tab[data-game=wordroast] .game-symbol{color:#be385d}.game-tab[data-game=wordroast].active{border-color:#be385d;box-shadow:0 3px 0 #be385d}@media(max-width:850px){.game-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-tab{min-width:0;padding:12px 14px}.game-tab small{font-size:12px}}@media(max-width:380px){.game-tab small{display:none}}

.rules-button{flex-shrink:0;display:grid;place-items:center;width:25px;height:25px;border:1px solid #ccd3e0;border-radius:50%;background:white;font-size:13px;color:#6b7890}.remove-word{border:0;border-radius:4px;background:#fae9df;color:#974616;width:22px;height:24px;padding:0;flex-shrink:0;font-size:16px}.word-tile small{margin-left:auto}.board-bar{gap:8px}.board-select{max-width:54%}#rules-dialog .side-kicker{margin-top:12px}#rules-dialog .side-note{font-size:14px!important}

.rank-contract{font-size:12px;line-height:1.5;color:var(--muted,#666);max-width:460px;margin:14px auto 0}.resonance-bank{margin:14px 0}.resonance-bank summary{font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.resonance-bank p{font-size:12px;line-height:1.5;margin:12px 0;color:var(--muted,#666)}.bank-words{display:flex;flex-wrap:wrap;gap:6px}.bank-words button{font:inherit;font-size:13px;padding:8px 10px;border:1px solid #bbb;border-radius:4px;background:transparent;color:inherit;cursor:pointer}.bank-words button:hover{background:#f0f0e8}

.res-save-status{font-size:12px;line-height:1.5;color:var(--muted,#666);margin:16px 0 8px}.res-save-status p{margin:0}.res-save-status button{margin-top:8px;text-decoration:underline}

.wordport-contract{font-size:12px;line-height:1.5;color:var(--muted,#666);padding:0 24px;margin:18px 0 0}.direction-note{font-size:12px;line-height:1.5;color:var(--muted,#666);margin:6px 0 12px}

.wordport-recovery{font-size:12px;line-height:1.5;color:var(--muted,#666);margin:20px 24px}.wordport-recovery p{margin:0 0 8px}.wordport-recovery button{text-decoration:underline}
.wordport .stamp em{overflow-wrap:anywhere}

/* At the narrowest phone width, retain game names and omit decorative symbols. */
@media(max-width:380px){.site-header{gap:8px}.game-tab .game-symbol{display:none}}

/* Keep full endpoints readable and four passport stamps paired on phones. */
@media(max-width:480px){.wordport .journey-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.wordport .endpoint{min-width:0}.wordport .endpoint.arrival{text-align:left}.wordport .endpoint strong{overflow-wrap:anywhere}.wordport .route-dash{display:none}.wordport .passport-stamps.extended{grid-template-columns:repeat(2,minmax(0,1fr))}}
.wordport .stamp em,.wordport .passport-note{color:#755a46}.wordport .stamp.earned em{color:#86441c}

/* Keep the complete Resonance board name separate from its attempt display on phones. */
@media(max-width:480px){#app .game-layout.resonance .board-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}#app .game-layout.resonance .board-select{grid-column:1/-1;width:100%;max-width:100%;min-width:0}#app .game-layout.resonance .rules-button{justify-self:end}}

.wordport h1.journey-heading{margin:0;font:inherit}
@media(max-width:480px){.wordport .word-tile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px}.wordport .word-tile>span{grid-column:1/-1;overflow-wrap:anywhere}.wordport .word-tile small{max-width:none;margin-left:0;overflow-wrap:normal;white-space:nowrap}.wordport .word-tile .remove-word{grid-column:2;grid-row:2}}
@media(max-width:380px){.wordport .passport-stamps{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Wordport: required categories belong between the two endpoints. */
.wordport-title{font-family:'Instrument Serif',Georgia,serif;font-size:32px;line-height:1.15;font-weight:400;letter-spacing:-.4px;margin:22px 26px 16px}
.wordport .passport{margin:0 26px;padding:16px 0;background:transparent;border:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0}
.wordport .passport-head{align-items:baseline;font-size:13px;color:#755a46;margin-bottom:16px;flex-wrap:wrap}
.wordport .passport-head strong{font-weight:600;color:#19253b}
.passport-route{display:grid;grid-template-columns:repeat(var(--route-stops),minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.passport-route>li{position:relative;min-width:0;text-align:center;align-content:center}
.passport-route>li+li:before{content:'→';position:absolute;left:-15px;top:50%;transform:translateY(-50%);color:#755a46;font-size:15px}
.passport-route .route-endpoint{color:#19253b}
.route-endpoint>span{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;color:#566177}
.route-endpoint>strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}
.wordport .passport-route .stamp{padding:10px 4px;background:#fffaf6;border:1px dashed #dcb89f;border-radius:6px;color:#755a46}
.wordport .passport-route .stamp.earned{background:#fff0e5;border-style:solid;border-color:#bd662f;color:#853b19}
.wordport .passport-route .stamp strong{font-size:13px;font-weight:600}
.wordport .passport-route .stamp em{font-size:11px}
.wordport .passport-note{text-align:left;font-size:12px;line-height:1.5;margin-top:14px}
.wordport-example{font-size:14px;line-height:1.5;color:#853b19;background:#fff7f0;padding:12px;margin:10px 0}
.wordport-input-help{font-size:12px;line-height:1.5;color:#566177;margin:8px 0 12px}
.wordport .direction-note{font-size:14px;color:#39475d;margin:6px 0 10px}
.wordport #wp-planning-focus{margin:0 26px 16px}
html[lang="de"] .wordport .passport-route .stamp strong{overflow-wrap:anywhere;hyphens:auto}
@media(max-width:760px){.wordport #wp-planning-focus{margin:0 18px 14px}}
@media(max-width:760px){.wordport-title{margin:20px 18px 14px;font-size:29px}.wordport .passport{margin:0 18px}}
@media(max-width:600px){
 .passport-route{grid-template-columns:minmax(0,1fr);gap:16px}
 .passport-route>li{display:flex;align-items:center;gap:12px;text-align:left;min-height:30px}
 .passport-route>li+li:before{content:'↓';left:12px;top:-16px;transform:none;line-height:16px}
 .passport-route .route-endpoint{padding:0 8px}
 .route-endpoint>span{margin:0;min-width:40px}
 .wordport .passport-route .stamp{padding:8px 10px}
 .wordport .passport-route .stamp span{margin:0;min-width:14px}
 .wordport .passport-route .stamp em{margin:0 0 0 auto;text-align:right;max-width:45%}
 .wordport .passport-head{gap:6px}
}
/* German edition label wraps beside the brand on narrow phones. */
@media(max-width:380px){html[lang="de"] .site-header{gap:12px}html[lang="de"] .site-header .demo-badge{min-width:0;white-space:normal;text-align:center}}

@media(max-width:480px){html[lang="de"] .game-layout.resonance .slots{grid-template-columns:minmax(0,1fr)}html[lang="de"] .game-layout.resonance .slot{min-height:0}html[lang="de"] .game-layout.resonance .slot-type,html[lang="de"] .game-layout.resonance .slot-band{overflow-wrap:anywhere}}

/* Experience candidate: the actual comparison precedes optional onward sharing. */
.samebrain .sb-experience-result .sb-result-head{background:#f7f3fc;border-bottom:0;padding-bottom:20px}
.samebrain .sb-experience-result .sb-result-head h1{font-size:clamp(32px,4vw,44px);text-wrap:balance;margin-top:0}
.samebrain .sb-experience-result .sb-comparison{padding-top:0}
.samebrain .sb-experience-result .sb-reveal{gap:0}
.samebrain .sb-experience-result .sb-row{border:0;border-top:1px solid #ded6e8;border-radius:0;padding:20px 0;background:transparent}
.samebrain .sb-experience-result .sb-row:first-child{background:#f2edfb;padding:24px 18px;margin-bottom:10px;border-top:0;border-bottom:1px solid #ded6e8}
.samebrain .sb-experience-result .sb-row-heading{font-size:12px;letter-spacing:0;text-transform:none;color:#625b70;flex-wrap:wrap}
.samebrain .sb-experience-result .sb-badge{font-size:11px;white-space:normal;color:#55377f}
.samebrain .sb-experience-result .sb-answer-pair{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:12px}
.samebrain .sb-experience-result .sb-answer-pair small{font-size:11px;color:#625b70;overflow-wrap:anywhere}
.samebrain .sb-experience-result .sb-answer-pair strong{font-family:'Instrument Serif',Georgia,serif;font-size:29px;line-height:1.15;font-weight:400;color:#172035}
.samebrain .sb-experience-result .sb-row:first-child .sb-answer-pair{padding:12px 0;text-align:center}
.samebrain .sb-experience-result .sb-row:first-child .sb-answer-pair strong{font-size:clamp(32px,5vw,52px)}
.samebrain .sb-experience-result .sb-scoreline{border-top:1px solid #ded6e8;margin:10px 0 12px;padding-top:20px}
.samebrain .sb-experience-result .sb-match-explanation{font-size:14px;line-height:1.6;max-width:65ch;margin-bottom:15px}
.samebrain .sb-experience-result .sb-score{font-size:21px;letter-spacing:0}
.samebrain .sb-experience-result .sb-share{margin-top:0}
.samebrain .sb-finish-note{font-size:14px;line-height:1.6;color:#625b70;margin:20px 0 0}
.samebrain .sb-share .sb-finish-note{margin:18px 0 0;padding-top:14px;border-top:1px solid #ded6e8;font-size:13px}
.samebrain .sb-experience-result .sb-result-sharing{padding-top:0}
.samebrain .sb-experience-result .sb-result-sharing p{margin-top:12px}
.samebrain .sb-experience-result .sb-result-actions{justify-content:flex-start}

/* Experience candidate: private trials and deliberate publication are separate actions. */
.wordroast .game-card .wr-heading{background:#fff7f0}
.wordroast .wr-workspace .wr-section-title{font-family:'Instrument Serif',Georgia,serif;font-size:30px;line-height:1.15;font-weight:400;text-wrap:balance;margin-bottom:14px}
.wordroast .wr-workspace .wr-private-title{font-size:18px;font-weight:600;margin:26px 0 8px}
.wordroast .wr-workspace .wr-small{font-size:13px;line-height:1.6;color:#66554e;max-width:65ch}
.wordroast .wr-workspace .wr-answer-help{font-size:14px;margin-bottom:18px}
.wordroast .wr-workspace #wr-private-form .input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.wordroast .wr-workspace #wr-private-form .word-input{width:100%}
.wordroast .wr-workspace #wr-try{min-height:44px;white-space:normal;color:#793a28;border-color:#c5a99a;background:#fff8f2}
.wordroast .wr-workspace .wr-answer-error{margin:12px 0}
.wordroast .wr-workspace .wr-explore{margin:14px 0 22px}
.wordroast .wr-workspace .wr-explore summary{color:#793a28;text-decoration:underline;text-underline-offset:3px}
.wordroast .wr-workspace .wr-shortlist{margin:16px 0 24px}
.wordroast .wr-workspace .wr-shortlist-list strong{font-family:'Instrument Serif',Georgia,serif;font-size:29px;font-weight:400}
.wordroast .wr-workspace .wr-shortlist-list li{border-color:#e3d4cc;padding:17px 0}
.wordroast .wr-workspace .wr-publication{padding:22px 0;margin:24px 0 16px;border-top:1px solid #decfc5;border-bottom:1px solid #decfc5}
.wordroast .wr-workspace .wr-publication h3{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 10px}
.wordroast .wr-workspace .wr-publication-prompt{font-size:14px;line-height:1.6;color:#66554e;margin:0 0 12px}
.wordroast .wr-workspace .wr-publication-pair{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap;margin:0 0 20px;color:#793a28}
.wordroast .wr-workspace .wr-publication-pair strong{font-family:'Instrument Serif',Georgia,serif;font-size:31px;line-height:1.2;font-weight:400;overflow-wrap:anywhere;max-width:100%}
.wordroast .wr-workspace .wr-publication-pair span{font-family:Georgia,serif;font-size:18px;font-style:italic}
.wordroast .wr-workspace #wr-publish{white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:44px;line-height:1.4}
.wordroast .wr-workspace .wr-publication .wr-small{margin:12px 0 0}
.wordroast .wr-workspace .wr-finish-note{font-size:14px;line-height:1.6;color:#66554e;margin:22px 0 0}
@media(max-width:600px){
 .samebrain .sb-experience-result .sb-row:first-child{padding:20px 12px}
 .samebrain .sb-experience-result .sb-answer-pair strong{font-size:25px}
 .samebrain .sb-experience-result .sb-row:first-child .sb-answer-pair strong{font-size:36px}
 .wordroast .wr-workspace #wr-private-form .input-row{grid-template-columns:minmax(0,1fr)}
 .wordroast .wr-workspace #wr-try{justify-self:start}
 .wordroast .wr-workspace .wr-section-title{font-size:28px}
 .wordroast .wr-workspace .wr-publication-pair{gap:10px}
}

/* Experience rounds 3–4: one violet word-led language across private and revealed states. */
.samebrain .game-card .sb-topline{flex-wrap:wrap;row-gap:10px}
.samebrain .game-card .sb-prompt{margin:24px 26px;padding:24px 18px;background:#f7f3fc;border-top:1px solid #ded6e8;border-bottom:1px solid #ded6e8}
.samebrain .game-card .sb-prompt .cue{font-family:'Instrument Serif',Georgia,serif;font-size:72px;line-height:1.06;font-weight:400;letter-spacing:-.03em;margin:0 0 12px;overflow-wrap:anywhere}
.samebrain .game-card .sb-prompt .sb-type{display:block;padding:0;background:transparent;border:0;border-radius:0;color:#55377f;font-size:16px;line-height:1.5}
.samebrain .game-card #sb-answer{font-family:'Instrument Serif',Georgia,serif;font-size:24px;line-height:1.2;color:#342149}
.samebrain .game-card #sb-answer::placeholder{font-family:Arial,sans-serif;font-size:15px;color:#625b70}
.samebrain .game-card .sb-review h1,.samebrain .game-card .sb-result-head h1{font-family:'Instrument Serif',Georgia,serif;font-size:40px;line-height:1.08;font-weight:400;letter-spacing:-.02em;text-wrap:balance}
.samebrain .game-card .sb-review-list li{padding:18px 0;border-color:#ded6e8}
.samebrain .game-card .sb-review-list strong{font-family:'Instrument Serif',Georgia,serif;font-size:30px;line-height:1.15;font-weight:400;color:#342149}
.samebrain .game-card .sb-review-list span{font-size:13px;color:#625b70}
.samebrain .game-card .sb-result-head{background:#f7f3fc;border-color:#ded6e8}
.samebrain .game-card .sb-share{background:transparent;border:0;border-top:1px solid #ded6e8;border-radius:0;padding:24px 0;margin:18px 26px}
.samebrain .game-card .sb-share h2{font-family:'Instrument Serif',Georgia,serif;font-size:28px;line-height:1.15;font-weight:400;letter-spacing:-.02em}
.samebrain .game-card.sb-completed-history .sb-friends{padding-top:24px}
.samebrain .game-card.sb-completed-history .sb-friend{border-color:#ded6e8}
.samebrain .game-card.sb-completed-history .sb-friend>summary{min-height:44px;align-items:center;flex-wrap:wrap;font-size:14px;color:#55377f}
.samebrain .game-card.sb-completed-history .sb-reveal{gap:0}
.samebrain .game-card.sb-completed-history .sb-row{border:0;border-top:1px solid #ded6e8;border-radius:0;padding:20px 0;background:transparent}
.samebrain .game-card.sb-completed-history .sb-row:first-child{background:#f2edfb;padding:24px 18px;margin-bottom:10px;border-top:0;border-bottom:1px solid #ded6e8}
.samebrain .game-card.sb-completed-history .sb-row-heading{font-size:12px;letter-spacing:0;text-transform:none;color:#625b70;flex-wrap:wrap}
.samebrain .game-card.sb-completed-history .sb-badge{font-size:11px;white-space:normal;color:#55377f}
.samebrain .game-card.sb-completed-history .sb-answer-pair{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:12px}
.samebrain .game-card.sb-completed-history .sb-answer-pair small{font-size:11px;color:#625b70;overflow-wrap:anywhere}
.samebrain .game-card.sb-completed-history .sb-answer-pair strong{font-family:'Instrument Serif',Georgia,serif;font-size:29px;line-height:1.15;font-weight:400;color:#172035}
.samebrain .game-card.sb-completed-history .sb-row:first-child .sb-answer-pair{padding:12px 0;text-align:center}
.samebrain .game-card.sb-completed-history .sb-row:first-child .sb-answer-pair strong{font-size:44px}
.samebrain .game-card.sb-completed-history .sb-match-explanation{font-size:14px;line-height:1.6;max-width:65ch;margin:20px 0 0;color:#625b70}

/* Word Roast: warm comparison columns, from private draft to a real vote. */
.wordroast .game-card #wr-reply-workspace[hidden]{display:none}
.wordroast .game-card .wr-heading{border-bottom:1px solid #e3d4cc}
.wordroast .game-card .wr-pair{padding:24px 26px;gap:16px;border-bottom:1px solid #e3d4cc}
.wordroast .game-card .wr-entry{border:0;border-radius:0;background:transparent;padding:18px 12px;gap:12px}
.wordroast .game-card .wr-entry.picked{border:0;background:#fff0e6}
.wordroast .game-card .wr-word{font-size:42px;color:#793a28}
.wordroast .game-card .wr-kind{color:#66554e;font-size:12px}
.wordroast .game-card .wr-entry details{border-top:1px solid #decfc5;padding-top:12px}
.wordroast .game-card .wr-entry summary{min-height:28px;color:#793a28}
.wordroast .game-card .wr-score{color:#4f633f}
.wordroast .game-card .wr-workspace #wr-answer{font-family:'Instrument Serif',Georgia,serif;font-size:25px;line-height:1.2;color:#793a28}
.wordroast .game-card .wr-workspace #wr-answer::placeholder{font-family:Arial,sans-serif;font-size:15px;color:#66554e}
.wordroast .game-card .wr-workspace .wr-publication-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;text-align:center;align-items:center;background:#fff7f0;border-top:1px solid #decfc5;border-bottom:1px solid #decfc5;padding:22px 12px}
.wordroast .game-card .wr-workspace .wr-publication-pair strong{font-size:34px}
.wordroast .game-card .wr-workspace .wr-publication-pair span{font-size:20px}
.wordroast .game-card .wr-share h2{font-family:'Instrument Serif',Georgia,serif;font-size:29px;line-height:1.15;font-weight:400;letter-spacing:-.02em}
.wordroast .game-card .wr-share{background:#fff7f0;border-color:#e3d4cc}
.wordroast .game-card .wr-vote-note{margin-top:20px}
.wordroast .game-card .wr-vote-actions{margin-top:18px}
@media(max-width:600px){
 .samebrain .game-card .sb-prompt{margin:20px 18px;padding:24px 12px}
 .samebrain .game-card .sb-prompt .cue{font-size:58px}
 .samebrain .game-card .sb-prompt .sb-type{font-size:15px}
 .samebrain .game-card .sb-review h1,.samebrain .game-card .sb-result-head h1{font-size:34px}
 .samebrain .game-card .sb-share{margin:18px;padding:22px 0}
 .samebrain .game-card .sb-share h2{font-size:27px}
 .samebrain .game-card.sb-completed-history .sb-answer-pair strong{font-size:25px}
 .samebrain .game-card.sb-completed-history .sb-row:first-child{padding:20px 12px}
 .samebrain .game-card.sb-completed-history .sb-row:first-child .sb-answer-pair strong{font-size:36px}
 .wordroast .game-card .wr-pair{padding:20px 16px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:6px}
 .wordroast .game-card .wr-entry{padding:16px 8px}
 .wordroast .game-card .wr-word{font-size:32px}
 .wordroast .game-card .wr-workspace .wr-publication-pair{gap:8px;padding:20px 8px}
 .wordroast .game-card .wr-workspace .wr-publication-pair strong{font-size:28px}
 .wordroast .game-card .wr-share h2{font-size:27px}
}
@media(max-width:380px){.wordroast .game-card .wr-pair{grid-template-columns:minmax(0,1fr);gap:10px}}

/* Keep the private review’s programmatic focus in its violet character. */
.samebrain .game-card #sb-review-title:focus{outline:2px solid #7250bd;outline-offset:5px}

.site-footer #about-button{min-height:44px}

/* German compounds stay readable at narrow widths. */
html[lang="de"] .samebrain .game-card .sb-prompt .cue { hyphens:auto; }
@media(max-width:600px){html[lang="de"] .samebrain .game-card .sb-prompt .cue{font-size:clamp(32px,8.2vw,44px);line-height:1.12;}}

/* Source-owned Resonance saving controls; long legal normalized words stay readable. */
.resonance .res-server-panel{margin-block:1.2rem;padding-block-start:1rem;border-top:1px solid var(--line,#d9e2e5)}
.resonance .res-server-status{font-weight:650}.resonance .res-server-actions,.resonance .res-editions{display:flex;gap:.6rem;flex-wrap:wrap;margin-block:.7rem}.resonance .res-server-actions>*{min-height:44px;max-width:100%;white-space:normal}.resonance .res-editions a{text-decoration:underline;text-underline-offset:3px;padding-block:.4rem}.resonance .res-round-list,.resonance .res-match-list{display:grid;gap:.3rem}.resonance .res-saved-rounds summary{cursor:pointer;min-height:44px;padding-block:.5rem}.resonance .res-saved-rounds button{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:44px}.resonance .history-word,.resonance .feedback,.resonance .meter-caption{overflow-wrap:anywhere;min-width:0}.resonance .history-row>span{min-width:0}.resonance .board-select{min-width:0;max-width:100%}
@media(max-width:600px){.resonance .res-server-actions{display:grid;grid-template-columns:minmax(0,1fr)}.resonance .res-editions{display:grid}.resonance .board-bar{flex-wrap:wrap}.resonance .board-select{flex:1 1 100%;width:100%}}

.wordport .wp-server-panel{margin-block:1.2rem;padding-block-start:1rem;border-top:1px solid var(--line,#d9e2e5)}
.wordport .wp-server-status{font-weight:650}.wordport .wp-server-actions,.wordport .wp-editions{display:flex;gap:.6rem;flex-wrap:wrap;margin-block:.7rem}.wordport .wp-server-actions>*{min-height:44px;max-width:100%;white-space:normal}.wordport .wp-editions a{text-decoration:underline;text-underline-offset:3px;padding-block:.4rem}.wordport .wp-round-list,.wordport .wp-match-list{display:grid;gap:.3rem}.wordport .wp-saved-rounds summary{cursor:pointer;min-height:44px;padding-block:.5rem}.wordport .wp-saved-rounds button{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:44px}.wordport .history-word,.wordport .feedback,.wordport .meter-caption{overflow-wrap:anywhere;min-width:0}.wordport .history-row>span{min-width:0}.wordport .board-select{min-width:0;max-width:100%}
@media(max-width:600px){.wordport .wp-server-actions{display:grid;grid-template-columns:minmax(0,1fr)}.wordport .wp-editions{display:grid}.wordport .board-bar{flex-wrap:wrap}.wordport .board-select{flex:1 1 100%;width:100%}}
