.word-game-shell{width:min(1180px,calc(100% - 2rem));margin:0 auto;padding:1.25rem 0 5rem}.word-game-header{display:flex;align-items:center;gap:1rem}.word-game-header h1{margin:.12rem 0;font-size:clamp(2.5rem,5vw,4.25rem)}.word-game-header>div:first-child>p{display:inline;max-width:none;font-size:.88rem}.word-game-example:before{content:"  ·  ";color:#aaa69d}.word-game-header-meta{display:flex;align-items:center;gap:.5rem;margin:-.3rem 0 .55rem}.word-game-date,.word-game-timer{display:inline-flex;align-items:baseline;gap:.45rem;padding:.55rem .75rem;border:1px solid #d9d6ce;border-radius:12px;background:#fff}.word-game-date span,.word-game-timer span{color:#858178;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.word-game-date strong,.word-game-timer strong{font-size:.9rem}.word-game-controls{display:flex;align-items:center;gap:.55rem}.word-game-start{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .8rem;border:0;border-radius:999px;color:#fff;background:#202329;cursor:pointer}.word-game-start>span{display:grid;width:1.45rem;height:1.45rem;place-items:center;border-radius:50%;color:#202329;background:#fff;font-size:.65rem}.word-game-start strong{font-size:.75rem}.word-game-privacy{display:flex;align-items:flex-start;gap:.65rem;margin:.5rem 0 .85rem;padding:.55rem .8rem;border-radius:12px;color:#443d67;background:#ebe6ff}.word-game-privacy p{margin:0;font-size:.8rem;line-height:1.35}

.word-chain{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(.4rem,1.2vw,.8rem);width:100%;min-height:250px;padding:clamp(1rem,3vw,2rem);overflow:visible;border:3px solid #3c3e43;border-radius:18px;background:#f5f4f0;box-shadow:0 20px 55px rgba(31,30,27,.09)}.word-chain .word-node{display:grid;justify-items:center;align-content:center;flex:0 0 auto;gap:.45rem;min-width:110px;min-height:112px;padding:.75rem;border:1px solid #d6d3cc;border-radius:14px;background:#fff}.word-chain .word-node>span{color:#858178;font-size:.62rem;font-weight:800;letter-spacing:.1em}.word-chain .word-node-fixed{color:#fff;border-color:#202329;background:#202329}.word-chain .word-node-fixed>span{color:#b9bbc0}.word-chain .word-node-fixed strong{font:800 1rem "Manrope",sans-serif;letter-spacing:.08em}.word-chain .word-connector{display:block;flex:0 0 auto;color:#706b63;font-size:clamp(1.25rem,2.5vw,2rem);font-weight:500;line-height:1}.letter-row{display:flex;gap:.22rem}.letter-square{width:clamp(30px,3vw,40px);height:clamp(38px,3.6vw,47px);padding:0;border:2px solid #d6d3cc;border-radius:8px;outline:0;background:#fff;font:800 clamp(.9rem,1.4vw,1.1rem) "Manrope",sans-serif;text-align:center;text-transform:uppercase}.letter-square:focus{border-color:#6b51e3;box-shadow:0 0 0 3px rgba(107,81,227,.13)}.letter-square:disabled{color:#8c8981;cursor:not-allowed;opacity:.65}.hint-letter{color:#5e49cd;background:#eeeaff}.word-game-shell[data-game-started="0"] .hint-letter{color:transparent}.word-feedback{max-width:185px;color:#7b7d83;font-size:.62rem;text-align:center}.word-entry.is-correct{background:#e8f6ee}.word-entry.is-correct .letter-square{color:#205f43;border-color:#4e9a72}.word-entry.is-correct .word-feedback{color:#26704f;font-weight:800}.word-entry.is-wrong{animation:wordShake .35s ease;background:#fff0ec}.word-entry.is-wrong .letter-square{border-color:#c75c47}

.word-game-result{display:grid;justify-items:start;gap:.35rem;margin-top:1rem;padding:1.25rem;border-radius:16px;color:#fff;background:#202329}.word-game-result[hidden]{display:none}.word-game-result>span{color:#a99aff;font-size:.65rem;font-weight:800;letter-spacing:.12em}.word-game-result h2,.word-game-result p{margin:0}.word-game-lower{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}.word-game-archive,.word-game-history{padding:1.25rem;border:1px solid #dcd9d1;border-radius:16px;background:#fff}.word-game-archive h2,.word-game-history h2{margin:.25rem 0 .35rem;font-size:1.2rem}.word-game-history p{margin:0 0 .8rem;color:#73767d;font-size:.75rem}.archive-links{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.8rem}.archive-links a{padding:.45rem .65rem;border:1px solid #d7d4cc;border-radius:999px;color:#50535a;font-size:.72rem;font-weight:700;text-decoration:none}.archive-links a.active,.archive-links a:hover{color:#fff;border-color:#202329;background:#202329}.game-history-list{display:grid}.game-history-list>div{display:grid;grid-template-columns:1fr auto;gap:.1rem .8rem;padding:.55rem 0;border-top:1px solid #eceae4}.game-history-list strong,.game-history-list span{font-size:.78rem}.game-history-list small{grid-column:1/-1;color:#85888f;font-size:.65rem}.empty-history{padding:.7rem;border-radius:9px;background:#f4f3ef}@keyframes wordShake{25%{transform:translateX(-4px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}

@media(max-width:900px){.word-game-header>div:first-child>p{display:block}.word-game-example:before{content:none}}@media(max-width:680px){.word-game-shell{width:min(100% - 1rem,1180px);padding-top:.8rem}.word-game-header h1{font-size:2.4rem}.word-game-header-meta{flex-wrap:wrap}.word-chain{justify-content:flex-start;min-height:0;padding:.8rem;border-width:2px;border-radius:12px}.word-chain .word-node{min-width:0;min-height:88px;padding:.55rem}.word-chain .word-connector{font-size:1.2rem}.letter-square{width:min(34px,8vw);height:41px}.word-game-lower{grid-template-columns:1fr}}@media(max-width:430px){.word-chain{gap:.35rem}.word-chain .word-node{width:auto}.word-chain .word-node-fixed{min-width:82px}.letter-row{gap:.12rem}.letter-square{width:min(31px,7.5vw);height:38px;border-radius:6px}}

/* Use one connector only; legacy global styles also draw an arrowhead. */
.word-chain .word-connector{position:static;width:auto;height:auto;margin:0 .08rem;color:#595c64;background:none;font-size:clamp(1.8rem,3.2vw,2.6rem);font-weight:800;line-height:.8}
.word-chain .word-connector:after{display:none}
@media(max-width:680px){.word-chain .word-connector{width:100%;margin:.05rem 0;font-size:0;text-align:center}.word-chain .word-connector:before{content:"⬇";font-size:1.65rem;font-weight:800;line-height:.8}}

.word-share{display:grid;gap:.55rem;width:100%;margin-top:.55rem;padding-top:.8rem;border-top:1px solid rgba(255,255,255,.18)}.word-share>strong{font-size:.82rem}.word-share-instructions{margin:0!important;color:#d8d9dc!important;font-size:.74rem}.word-share-actions{display:flex;flex-wrap:wrap;gap:.45rem}.word-share-actions button{padding:.5rem .8rem;border:1px solid rgba(255,255,255,.42);border-radius:999px;color:#fff;background:transparent;font-size:.75rem;font-weight:700;cursor:pointer}.word-share-actions .word-share-copy,.word-share-actions .word-share-image{color:#202329;background:#fff}.word-share-actions button:hover,.word-share-actions button:focus-visible{color:#202329;background:#fff}.word-share small{min-height:1em;color:#cfd1d6;font-size:.68rem}

/* Keep the complete word chain on one compact row on wide screens. */
@media(min-width:901px){.word-chain{flex-wrap:wrap;gap:.35rem;padding:1rem}.word-chain .word-node{min-width:88px;min-height:96px;gap:.3rem;padding:.55rem}.word-chain .word-node-fixed{min-width:88px}.letter-row{gap:.22rem}.letter-square{width:clamp(30px,3vw,40px);height:clamp(38px,3.6vw,47px);border-radius:8px}.word-chain .word-connector{margin:0;font-size:1.55rem}.word-feedback{font-size:.58rem}}
@media(min-width:901px) and (max-width:1200px){.word-chain{gap:.3rem;padding:.75rem}.word-chain .word-node{min-width:76px;min-height:92px;gap:.25rem;padding:.42rem}.word-chain .word-node-fixed{min-width:76px}.word-chain .word-connector{font-size:1.3rem}.word-feedback{font-size:.55rem}}
