.wordorder-room{--wordorder-ink:#343c35;--wordorder-muted:#657064;--wordorder-paper:#fffdf3;--wordorder-stitch:#a7afa0;width:min(100%,1120px);margin-inline:auto;color:var(--wordorder-ink);text-align:left}
.game-shell .play .wordorder-room .session-banner{margin:0 0 24px;text-align:left}
.game-shell .play .wordorder-room .session-banner>:is(.meta,h2){margin-inline:0;text-align:left;max-width:none}
.game-shell .play .wordorder-room>.actions{justify-content:flex-start;gap:10px;margin:24px 0 0}
.game-shell .play .wordorder-room p{max-width:none;text-align:left;margin-inline:0;color:var(--wordorder-muted);line-height:1.65}
.wordorder-room :is(button,strong){overflow-wrap:anywhere}
.wordorder-room button{font:inherit;min-height:46px}
.wordorder-room button:focus-visible{outline:3px solid #366f63;outline-offset:4px}
.wordorder-room .button{font-size:.95rem}
.wordorder-room .button:disabled{opacity:.45;cursor:default;transform:none}
.wordorder-landing{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.75fr);align-items:center;gap:clamp(25px,5vw,70px);padding-block:30px}
.wordorder-closed-labels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:170px;align-content:center;padding:25px;background:#e7eadf;border-block:1px dashed var(--wordorder-stitch)}
.wordorder-closed-labels i{display:block;min-height:74px;border:1px solid #d7d4bd;border-radius:3px;background:var(--wordorder-paper);box-shadow:0 2px 0 #bdc1ad55}
.game-shell .play .wordorder-landing>div>.actions{justify-content:flex-start;margin:22px 0 0;gap:10px}
.wordorder-watch-meta{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:14px;color:var(--wordorder-muted)}
.wordorder-watch-meta>strong{font-size:1.5rem;font-variant-numeric:tabular-nums;color:var(--wordorder-ink)}
.wordorder-mat,.wordorder-answer-desk{padding:clamp(18px,3vw,40px);border-block:1px dashed var(--wordorder-stitch);background:#e7eadf}
.wordorder-source,.wordorder-slots,.wordorder-comparison-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.wordorder-source{grid-template-columns:repeat(3,minmax(0,1fr))}
.wordorder-source>li,.wordorder-label{position:relative;min-width:0;border:1px solid #d3ceb7;border-radius:3px;background:var(--wordorder-paper);color:var(--wordorder-ink);box-shadow:0 2px 1px #464e3820}
.wordorder-source>li{min-height:130px;padding:16px 20px;display:flex;flex-direction:column;gap:18px;justify-content:center}
.wordorder-source>li>span,.wordorder-label>span{display:block;font-size:.8rem;font-weight:500;color:var(--wordorder-muted)}
.wordorder-source strong{font-size:clamp(1.4rem,3vw,2.25rem);line-height:1.3}
.wordorder-workbench{display:grid;gap:26px}
.wordorder-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:17px}
.wordorder-room h3{margin:0;font-size:1.03rem;font-weight:650}
.wordorder-section-heading>span{font-size:.9rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.wordorder-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
.wordorder-slot{display:flex;flex-direction:column;justify-content:center;gap:12px;width:100%;min-height:105px;padding:12px 15px;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.wordorder-slot strong{font-size:clamp(1.08rem,2vw,1.55rem);line-height:1.3}
.wordorder-slot:not([data-wordorder-value]){background:#f5f6ec;border-style:dashed;box-shadow:none}
.wordorder-slot:not([data-wordorder-value]) strong{color:#788371;font-weight:500}
.wordorder-slot[data-wordorder-target=true]{border:2px solid #3e7566;padding:11px 14px;box-shadow:0 0 0 3px #3e756619}
.game-shell .play .wordorder-room .wordorder-target-hint{margin:16px 0 0;min-height:1.65em;font-size:.9rem;color:#3e6554}
.wordorder-bank-desk>h3{margin-bottom:14px}
.wordorder-bank{display:flex;flex-wrap:wrap;gap:12px}
.wordorder-pick{flex:1 1 130px;max-width:290px;padding:16px 20px;min-height:64px;font-size:1.15rem!important;text-align:center;cursor:pointer;transition:background .15s,transform .15s,border-color .15s}
.wordorder-pick:enabled:hover{background:#fff7ce;border-color:#aea16b;transform:translateY(-2px)}
.wordorder-pick:enabled:active{transform:translateY(1px)}
.wordorder-pick:disabled{color:#8a8f80;background:#edf0e8;border-style:dashed;box-shadow:none;cursor:default}
.game-shell .play .wordorder-room .wordorder-help{margin:0 0 23px;font-size:.95rem;max-width:780px}
.wordorder-record{min-width:0;border-top:2px solid #9da98d;padding-top:18px;margin-top:22px}
.wordorder-record>h3{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px}
.wordorder-record [data-wordorder-score]{font-variant-numeric:tabular-nums}
.game-shell .play .wordorder-comparison>p{font-size:.85rem;margin:17px 0 9px;font-weight:650;color:var(--wordorder-ink)}
.wordorder-comparison-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.wordorder-comparison-row>li{padding:12px 10px;display:flex;flex-direction:column;gap:10px;line-height:1.4}
.wordorder-comparison-row>li>strong{font-size:1rem}
.wordorder-comparison-row>li>em{font-size:.78rem;font-style:normal;margin-top:auto}
.wordorder-comparison-row>[data-wordorder-match=true]{border-color:#91b69a;background:#f0f7ed}
.wordorder-comparison-row>[data-wordorder-match=false]{border-color:#cfaf82;background:#fff6e8}
.wordorder-comparison-row:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.wordorder-comparison-row:has(>li:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.wordorder-archive{display:grid;gap:22px;margin-top:30px}
.wordorder-total{font-size:1.1rem;font-variant-numeric:tabular-nums}
.wordorder-total strong{font-size:2.7rem;margin-left:14px;color:var(--wordorder-ink)}
.wordorder-setup-note{grid-column:1/-1;font-size:.88rem}
@media(min-width:1100px){.wordorder-source{grid-template-columns:repeat(5,minmax(0,1fr))}.wordorder-slots{grid-template-columns:repeat(5,minmax(0,1fr))}.wordorder-room[data-wordorder-phase=review] .wordorder-comparison-row{gap:15px}.wordorder-archive{grid-template-columns:repeat(2,minmax(0,1fr))}.wordorder-source>li{min-height:180px}.wordorder-room[data-wordorder-phase=review] .wordorder-comparison-row>li{min-height:115px}}
@media(min-width:1100px){.wordorder-source:has(>li:nth-child(3):last-child),.wordorder-slots:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.wordorder-source:has(>li:nth-child(4):last-child),.wordorder-slots:has(>li:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.wordorder-landing{grid-template-columns:minmax(0,1fr);gap:22px;padding-block:10px}.wordorder-closed-labels{min-height:140px}.wordorder-source{grid-template-columns:repeat(2,minmax(0,1fr))}.wordorder-source>li{min-height:94px;padding:13px}.wordorder-answer-desk{padding:18px 12px}.wordorder-slots{gap:8px}.wordorder-slot{padding:10px;min-height:96px}.wordorder-slot[data-wordorder-target=true]{padding:9px}.wordorder-room .session-banner{margin-bottom:18px}.wordorder-comparison-row{gap:5px}.wordorder-comparison-row>li{padding:9px 5px;gap:8px}.wordorder-comparison-row>li>strong{font-size:.9rem}.wordorder-comparison-row>li>span{font-size:.75rem}.wordorder-comparison-row>li>em{font-size:.75rem}.wordorder-pick{flex-basis:110px;padding:12px;min-height:56px}.wordorder-workbench{gap:22px}.game-shell .play .wordorder-room>.actions{gap:9px}.wordorder-room .button{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.wordorder-room button{transition:none}.wordorder-pick:enabled:hover{transform:none}}

.page-game .game-shell.theme-wordorder:has(.wordorder-room) {
  --wordorder-stage:#f5ecda;--wordorder-action:#35563f;
  background:radial-gradient(ellipse at 22% 0,#fffaf0,var(--wordorder-stage) 78%);color:#283e31;
}
.page-game .game-shell.theme-wordorder:has(.wordorder-room) .game-toolbar {
  background:var(--wordorder-stage);color:#283e31;border-color:#bead8e;
}
.page-game .game-shell.theme-wordorder:has(.wordorder-room) .game-toolbar .button,
.page-game .game-shell.theme-wordorder .wordorder-room .button.secondary {
  color:#35563f;background:#fff8e8;border-color:#8b9c81;
}
.page-game .game-shell.theme-wordorder .wordorder-room .button:not(.secondary,.quiet) {
  background:var(--wordorder-action);color:white;border-color:var(--wordorder-action);
}
.game-shell.theme-wordorder .wordorder-room {
  --wordorder-ink:#28503a;--wordorder-muted:#485d46;--wordorder-paper:#fff3d8;--wordorder-stitch:#a4a071;
  width:min(100%,1180px);
}
.game-shell.theme-wordorder .play .wordorder-room .session-banner h2 {
  color:#253d2e;font-size:clamp(1.7rem,4.3vw,3.55rem);line-height:1.1;letter-spacing:-.025em;
}
.game-shell.theme-wordorder .play .wordorder-room .session-banner .meta {color:#50613d}
.wordorder-closed-labels,.wordorder-mat,.wordorder-answer-desk {
  border:1px solid #a7a37a;border-radius:11px;
  background:repeating-linear-gradient(9deg,#ffffff12 0 1px,transparent 1px 4px),linear-gradient(145deg,#e0e4ca,#cacfa9);
  box-shadow:inset 0 1px 0 #fbf5dc,0 4px 0 #a8a988,0 9px 18px #56674620;
}
.wordorder-closed-labels i,.wordorder-source>li,.wordorder-label {
  border-color:#baa77d;border-radius:7px;
  background:repeating-linear-gradient(120deg,#9b731e08 0 1px,transparent 1px 5px),linear-gradient(145deg,#fffbee,#f4e8c8);
  box-shadow:inset 0 1px 0 #fff,0 3px 0 #a7926978,0 5px 8px #74603917;
}
.wordorder-source>li>span,.wordorder-label>span {font-weight:650;color:#516045}
.wordorder-slot:not([data-wordorder-value]) {
  background:#f0efd9;border-color:#858f72;box-shadow:inset 0 2px 4px #53644a26;
}
.wordorder-slot:not([data-wordorder-value]) strong {color:#5a6c50}
.wordorder-slot[data-wordorder-target=true] {
  background:#fff2cf;border-color:#2e6650;
  box-shadow:0 0 0 2px #f7edce,inset 0 0 0 1px #2e6650;
}
.wordorder-pick:enabled:hover {background:#fff6da;border-color:#8a9d73}
.wordorder-pick:disabled {
  color:#5f6956;background:#e6e8d6;border-color:#a4ac98;
}
.wordorder-section-heading>span {
  padding:.15rem .62rem;border-radius:1rem;background:#f6efd5;font-weight:700;
}
.wordorder-bank-desk>h3 {
  display:flex;align-items:center;gap:.75rem;margin-bottom:.85rem;
}
.wordorder-bank-desk>h3:after {content:"";height:1px;background:#b8ae95;flex:1}
.wordorder-record {border-color:#a4a67f}
.wordorder-comparison-row>[data-wordorder-match=true]{background:#e9f0db}
.wordorder-comparison-row>[data-wordorder-match=false]{background:#fff1db}
.game-shell .play .wordorder-room .actions {flex-wrap:wrap}
@media(max-width:700px) {
  .page-game .game-shell.theme-wordorder.wide .play:has(.wordorder-room) {
    justify-content:flex-start;min-height:0;margin-block:0;padding-block:1.1rem 2rem;
  }
  .wordorder-room .wordorder-mat {padding:.9rem}
  .wordorder-room .wordorder-slot {min-height:74px;gap:.35rem;padding:.45rem}
  .wordorder-room .wordorder-slot strong {font-size:clamp(.93rem,4vw,1.2rem)}
  .wordorder-source>li {gap:.45rem;min-height:76px}
  .wordorder-bank {gap:.6rem}
  .wordorder-pick {flex-basis:90px;min-height:52px}
  .wordorder-comparison-row {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .wordorder-comparison-row:has(>li:nth-child(4):last-child) {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
