@font-face{font-family:Nunito;font-style:normal;font-weight:400 900;font-display:swap;src:url('/assets/ui/nunito-latin.woff2') format('woff2')}
:root{font-family:Nunito,'Trebuchet MS',sans-serif;color:#39291d;background:#d9bf98}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#d9bf98 url('/assets/landing/puzzle-pattern.svg') repeat;background-size:540px 360px}button,a{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #e89243;outline-offset:3px}[hidden]{display:none!important}.wordPage{width:min(1040px,calc(100% - 28px));margin:0 auto}.topbar{min-height:85px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.topbar a{text-decoration:none}.back,.pointsLink{font-size:13px;font-weight:900}.pointsLink{justify-self:end;text-decoration:underline!important;text-underline-offset:3px}.brand{display:flex;align-items:center;gap:8px;font-size:28px;font-weight:900;letter-spacing:-.055em}.brand img{width:34px;height:34px}.gameCard{background:#fffaf0;border:2px solid #4d3828;box-shadow:0 7px 0 #a6845b}.gameHeader{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:27px 34px 23px;background:#f1dfbc;border-bottom:2px solid #4d3828}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:#9b5937}.gameHeader h1{margin:4px 0 2px;font-size:clamp(30px,4vw,45px);letter-spacing:-.055em;line-height:1.1}.gameHeader p{margin:0;color:#70543b;font-size:14px}.helpButton{width:40px;height:40px;flex:none;border:2px solid #4d3828;background:#fff8e6;box-shadow:3px 3px 0 #4d3828;font-size:22px;font-weight:900}.infoBar{display:flex;justify-content:space-between;gap:12px;padding:12px 34px;border-bottom:1px solid #d2bb96;background:#fff2d7;color:#6b4a2c;font-size:12px;font-weight:900}.gameArea{min-height:665px;display:grid;place-items:start center;padding:25px 16px 30px}.board{display:grid;grid-template-columns:repeat(5,56px);grid-template-rows:repeat(6,56px);gap:6px;margin:0 auto}.tile{display:grid;place-items:center;border:2px solid #bca887;background:#fffdf6;font-size:28px;font-weight:900;text-transform:uppercase;line-height:1;user-select:none}.tile.filled{border-color:#6a5239}.tile.correct,.key.correct,.ruleTile.right{background:#719b78;border-color:#486a4c;color:white}.tile.present,.key.present,.ruleTile.close{background:#c99e4f;border-color:#9b7130;color:white}.tile.absent,.key.absent,.ruleTile.miss{background:#a69c8e;border-color:#71675d;color:white}.tile.reveal{animation:flip .5s ease both}.tile.bump{animation:bump .15s ease}@keyframes flip{0%{transform:rotateX(0)}50%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}@keyframes bump{50%{transform:scale(1.08)}}.gameMessage{min-height:24px;margin:13px 0 11px;text-align:center;color:#8b462e;font-size:13px;font-weight:900}.keyboard{width:min(530px,100%);display:grid;gap:6px;margin:auto}.keyRow{display:flex;justify-content:center;gap:5px}.key{height:51px;flex:1;min-width:0;max-width:43px;padding:0 2px;border:1px solid #745d42;border-bottom-width:3px;border-radius:5px;background:#e9d8bb;color:#372719;font-size:17px;font-weight:900;touch-action:manipulation}.key.wide{max-width:67px;flex:1.5;font-size:12px}.key:active{transform:translateY(2px);border-bottom-width:1px}.rulesStrip{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;padding:17px;background:#f7ecd8;border-top:1px solid #d9c6a9;color:#70563c;font-size:11px;font-weight:900}.rulesStrip span{display:flex;align-items:center;gap:6px}.ruleTile{display:grid;place-items:center;width:22px;height:22px;border:1px solid;font-size:11px}.finishedPanel{max-width:450px;margin:20px auto 0;padding:16px 19px;border:2px solid #513a28;background:#f1dfbc;text-align:center;box-shadow:4px 4px 0 #b59568}.finishedPanel strong{font-size:22px}.finishedPanel p{margin:5px 0;color:#634a34}.finishedPanel span{font-size:12px;font-weight:900}.signInGate{width:min(420px,100%);margin:90px auto;text-align:center}.gateIcon{font-size:50px;color:#bb773e}.signInGate h2{margin:8px 0;font-size:27px}.signInGate p{color:#765e46}.signInGate a{display:inline-block;padding:11px 18px;background:#ffcb66;border:2px solid #483321;box-shadow:4px 4px 0 #483321;text-decoration:none;font-size:13px;font-weight:900}.footer{display:flex;justify-content:space-between;gap:20px;padding:25px 2px;color:#6c5136;font-size:11px;font-weight:900}.footer a{text-decoration:none}.helpDialog{width:min(500px,calc(100% - 24px));padding:25px;border:2px solid #4d3828;background:#fffaf0;color:#39291d;box-shadow:7px 7px 0 #a6845b}.helpDialog::backdrop{background:#21170dc2}.helpHead{display:flex;align-items:center;justify-content:space-between}.helpHead h2{margin:0;font-size:27px}.helpHead button{border:0;background:transparent;font-size:30px}.helpDialog p{font-size:14px;line-height:1.55}
@media(max-width:600px){.topbar{min-height:70px;grid-template-columns:1fr auto}.brand{grid-column:1;grid-row:1;font-size:24px}.brand img{width:27px;height:27px}.back{grid-column:1;grid-row:2;margin-bottom:11px}.pointsLink{grid-column:2;grid-row:1;font-size:11px}.gameHeader{padding:22px 18px}.gameHeader p{font-size:12px}.infoBar{padding:11px 18px;font-size:10px}.gameArea{min-height:610px;padding:20px 9px}.board{grid-template-columns:repeat(5,min(16vw,52px));grid-template-rows:repeat(6,min(16vw,52px));gap:5px}.tile{font-size:25px}.key{height:50px;font-size:13px}.key.wide{font-size:10px}.keyboard{gap:5px}.keyRow{gap:3px}.footer{font-size:10px;flex-wrap:wrap}.rulesStrip{gap:10px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.tile.reveal,.tile.bump{animation:none}}
.wordPage{width:min(1160px,calc(100% - 28px))}
.topbar{min-height:120px}
.brand{font-size:36px}.brand img{width:39px;height:39px}
.back,.pointsLink{display:inline-flex;align-items:center;width:max-content;min-height:38px;padding:7px 10px;border:2px solid #49321f;border-radius:7px;background:#fff4de;box-shadow:0 3px 0 #49321f;font-size:12px;text-decoration:none!important}
.back:hover,.pointsLink:hover{background:#ffe4a8;transform:translateY(1px);box-shadow:0 2px 0 #49321f}
.gameCard{overflow:hidden;border-radius:15px;box-shadow:0 8px 0 #a47d4c,0 17px 35px #76552d18}
.gameHeader{padding:30px 38px;background:#f8e5bb;border-bottom-color:#d9bc84}
.gameHeader h1{font-size:clamp(35px,4vw,54px);font-weight:900}
.infoBar{background:#fff5dd}
.gameArea{background:#fffaf0}
.gameArea:has(.signInGate:not([hidden])){min-height:470px;place-items:center}
.signInGate{margin:0 auto;padding:28px 22px;border:1px dashed #d2b78c;border-radius:12px;background:#fff7e6}
.signInGate h2{font-weight:900}
.signInGate a{border-radius:7px;box-shadow:0 4px 0 #483321;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.signInGate a:hover{background:#ffdb8c;transform:translateY(2px);box-shadow:0 2px 0 #483321}
.helpButton{border-radius:7px;transition:transform .18s ease,background .18s ease}
.helpButton:hover{background:#ffdf9f;transform:translateY(2px)}
.tile{border-radius:5px;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.key{transition:background .18s ease,transform .12s ease,box-shadow .12s ease}
.key:hover{background:#f8e6c8}
@media(max-width:600px){.topbar{min-height:88px}.brand{font-size:25px}.brand img{width:28px;height:28px}.back,.pointsLink{min-height:31px;padding:5px 7px;font-size:10px}.gameHeader{padding:23px 19px}.gameArea:has(.signInGate:not([hidden])){min-height:410px}.signInGate{padding:24px 15px}}
@media(prefers-reduced-motion:reduce){.signInGate a,.helpButton,.tile,.key{transition:none}}

/* wordle-nytmechanics-20261111 */
/* Wordle-style input, keyboard feedback and tile reveal mechanics. */
#playArea{position:relative;width:100%;max-width:100%}
.board{width:min(350px,100%);height:auto;aspect-ratio:5/6;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(6,minmax(0,1fr));gap:5px;margin:0 auto}
.wordRow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;min-height:0;min-width:0}
.tile{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:2px solid #d3d6da;border-radius:0;background:#fffdf7;color:#1a1a1b;font-family:Arial,Helvetica,sans-serif;font-size:clamp(23px,5vw,32px);font-weight:700;line-height:1;text-transform:uppercase;transition:none;transform-style:preserve-3d;backface-visibility:hidden}
.tile.filled{border-color:#878a8c}
.tile.correct{background:#6aaa64;border-color:#6aaa64;color:#fff}
.tile.present{background:#c9b458;border-color:#c9b458;color:#fff}
.tile.absent{background:#787c7e;border-color:#787c7e;color:#fff}
.tile.pop{animation:wordleTilePop 100ms ease-in-out both}
.tile.flip{animation:wordleTileFlip 530ms ease-in forwards}
.wordRow.shake{animation:wordleRowShake 600ms ease-in-out}
.tile.dance{animation:wordleWinBounce 700ms ease-in-out both}
@keyframes wordleTilePop{0%{transform:scale(.88)}100%{transform:scale(1)}}
@keyframes wordleTileFlip{0%{transform:rotateX(0)}49.9%{transform:rotateX(-90deg)}50.1%{transform:rotateX(-90deg)}100%{transform:rotateX(0)}}
@keyframes wordleRowShake{0%,100%{transform:translateX(0)}10%,50%,90%{transform:translateX(-5px)}30%,70%{transform:translateX(5px)}}
@keyframes wordleWinBounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-26px)}60%{transform:translateY(-12px)}}
.keyboard{width:min(510px,100%);display:grid;gap:8px;margin:25px auto 0;padding:0 0 6px;user-select:none}
.keyRow{display:flex;justify-content:center;gap:6px;width:100%}
.key{display:flex;align-items:center;justify-content:center;max-width:none;min-width:0;flex:1 1 0;height:58px;padding:0 2px;border:0;border-radius:4px;background:#d3d6da;color:#1a1a1b;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700;text-transform:uppercase;touch-action:manipulation;transition:background 130ms ease,color 130ms ease}
.key.wide{max-width:none;flex:1.55 1 0;font-size:12px}
.key:active{transform:none;filter:brightness(.92)}
.key:hover{background:#c7cbcf}
.key.correct,.key.correct:hover{background:#6aaa64;color:white;border:0}
.key.present,.key.present:hover{background:#c9b458;color:white;border:0}
.key.absent,.key.absent:hover{background:#787c7e;color:white;border:0}
.ruleTile.right{background:#6aaa64;border-color:#6aaa64}
.ruleTile.close{background:#c9b458;border-color:#c9b458}
.ruleTile.miss{background:#787c7e;border-color:#787c7e}
.gameMessage{position:absolute;top:-8px;left:50%;transform:translate(-50%,-100%);z-index:3;min-height:0;width:max-content;max-width:calc(100% - 18px);margin:0;padding:10px 14px;border-radius:5px;background:#262626;color:white;text-align:center;box-shadow:0 4px 14px #0003;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;opacity:0;pointer-events:none;transition:opacity 100ms ease}
.gameMessage.visible{opacity:1}
.hardModeSetting{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:15px 0 0;border-top:1px solid #d9c6a9;cursor:pointer}
.hardModeSetting span{display:flex;flex-direction:column;gap:4px}
.hardModeSetting strong{font-size:15px;font-weight:900}
.hardModeSetting small{font-size:12px;line-height:1.4;color:#70563c}
.hardModeSetting input{width:23px;height:23px;flex:none;accent-color:#6aaa64;cursor:pointer}
.hardModeSetting input:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:600px){.board{width:min(350px,calc(100vw - 45px));grid-template-columns:1fr;grid-template-rows:repeat(6,minmax(0,1fr));gap:4px}.wordRow{gap:4px}.tile{font-size:clamp(23px,6vw,32px)}.keyRow{gap:3px}.keyboard{gap:8px;margin-top:20px}.key{height:56px;font-size:12px;padding:0 1px}.key.wide{font-size:10px}.gameArea{min-height:0;padding:25px 9px 28px}}
@media(prefers-reduced-motion:reduce){.tile.pop,.tile.flip,.tile.dance,.wordRow.shake{animation:none!important}.tile,.key,.gameMessage{transition:none!important}}


/* cozy-wordle-visual-20261111: CozyPuzzle identity; Wordle rules unchanged */
:root{
  --cozy-ink:#463020;
  --cozy-paper:#fff9ed;
  --cozy-latte:#f5e5c8;
  --cozy-wood:#a77e57;
  --cozy-sage:#557d67;
  --cozy-honey:#a7732b;
  --cozy-stone:#786f67;
}
.gameCard{
  background:#fff9ed;
  border-color:#60442e;
  box-shadow:0 7px 0 #a47d4c,0 18px 44px #76552d22;
}
.gameHeader{
  background:linear-gradient(115deg,#f7dfab 0%,#f8e7c3 60%,#faedce 100%);
  border-bottom-color:#cfb68b;
}
.gameHeader h1{color:var(--cozy-ink);text-shadow:0 2px 0 #fff7e5}
.gameHeader .eyebrow{color:#9a623b}
.infoBar{
  background:#fff1d6;
  color:#765338;
  border-bottom-color:#e4cfab;
}
.gameArea{
  background:radial-gradient(ellipse at 50% 13%,#fffdf7 0%,#fff9ee 62%,#fbf0de 100%);
}
.board{width:min(342px,100%);gap:7px}
.wordRow{gap:7px}
.tile{
  font-family:Nunito,'Trebuchet MS',sans-serif;
  font-size:clamp(23px,5vw,30px);
  font-weight:900;
  color:var(--cozy-ink);
  border:2px solid #cdb797;
  border-radius:10px;
  background:linear-gradient(150deg,#fffcf5,#fdf4e4);
  box-shadow:inset 0 1px 1px #ffffffd9,0 2px 0 #e8d6b8;
  letter-spacing:.012em;
}
.tile.filled{
  border-color:#957556;
  background:linear-gradient(150deg,#fffdf5,#f8ecd5);
  box-shadow:inset 0 1px 1px #ffffffcc,0 2px 0 #dcc4a1;
}
.tile.correct,.tile.present,.tile.absent{
  color:#fffaf1;
  box-shadow:inset 0 1px 1px #ffffff29,0 2px 0 #57423036;
}
.tile.correct{border-color:#42694f;background:#557d67}
.tile.present{border-color:#8d5f20;background:#a7732b}
.tile.absent{border-color:#62564f;background:#786f67}
.keyboard{
  width:min(530px,100%);
  margin:21px auto 0;
  padding:12px 11px 13px;
  gap:8px;
  background:#f8ecd5;
  border:1px solid #e4cda5;
  border-radius:17px;
  box-shadow:inset 0 1px 0 #fff9ed,0 5px 0 #e3d0af61;
}
.keyRow{gap:5px}
.key{
  height:53px;
  border:1px solid #b89a74;
  border-bottom:3px solid #a88a63;
  border-radius:9px;
  background:linear-gradient(180deg,#fff8e9 0%,#edd8b7 100%);
  box-shadow:0 2px 0 #b99b7366;
  color:#493421;
  font-family:Nunito,'Trebuchet MS',sans-serif;
  font-size:15px;
  font-weight:900;
  transition:background .14s ease,filter .14s ease,transform .12s ease;
}
.key.wide{
  flex:1.58 1 0;
  background:linear-gradient(180deg,#ead1ac,#d8b98e);
  font-size:12px;
}
.key:hover:not(.correct):not(.present):not(.absent){background:#ffe5b6}
.key:active{transform:translateY(2px);box-shadow:none;filter:brightness(.98)}
.key.correct,.key.correct:hover{
  border:1px solid #42694f;
  border-bottom:3px solid #3d624c;
  color:white;
  background:#557d67;
}
.key.present,.key.present:hover{
  border:1px solid #8d5f20;
  border-bottom:3px solid #865b21;
  color:white;
  background:#a7732b;
}
.key.absent,.key.absent:hover{
  border:1px solid #62564f;
  border-bottom:3px solid #5c514a;
  color:white;
  background:#786f67;
}
.ruleTile{border-radius:5px}
.ruleTile.right{background:#557d67;border-color:#42694f}
.ruleTile.close{background:#a7732b;border-color:#8d5f20}
.ruleTile.miss{background:#786f67;border-color:#62564f}
.rulesStrip{background:#f7e9ce;color:#705337;border-top-color:#e1cca7}
.gameMessage{
  background:#513b2c;
  color:#fff8e9;
  border:1px solid #b89264;
  border-radius:10px;
  font-family:Nunito,'Trebuchet MS',sans-serif;
  box-shadow:0 5px 16px #4c2f1d38;
}
.hardModeSetting{border-color:#dbc29b}
.hardModeSetting input{accent-color:#557d67}
.finishedPanel{
  background:#f6e5c6;
  border-color:#705138;
  border-radius:12px;
  box-shadow:4px 4px 0 #ceb089;
}
.helpDialog{border-radius:14px}
@media(max-width:600px){
  .board{width:min(342px,calc(100vw - 49px));gap:5px}
  .wordRow{gap:5px}
  .tile{border-radius:8px;font-size:clamp(22px,6vw,30px)}
  .keyboard{padding:9px 6px 11px;border-radius:12px;gap:6px}
  .keyRow{gap:3px}
  .key{height:52px;border-radius:7px;font-size:12px}
  .key.wide{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .key{transition:none}
}
