/* PARLOR Premier Collection: three genuinely playable engines, accessible by default. */
.number-game,.code-game,.family-game{max-width:900px;margin:auto}
.number-game .game-toolbar,.code-game .game-toolbar,.family-game .game-toolbar{gap:9px}
.number-game .stat,.code-game .stat,.family-game .stat{font-size:15px;font-weight:650}
.number-options,.code-mode,.family-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.number-options button,.code-mode button,.family-buttons button{min-height:48px;border-radius:14px;border-color:#e4d1a064;font-size:15px}
.number-options [aria-pressed=true],.code-mode [aria-pressed=true],.family-buttons [aria-pressed=true]{background:#e4c692;color:#163429;border-color:#f7e1b1}
.number-scroll{overflow-x:auto;max-width:100%;padding:7px 3px 17px;margin:auto;scrollbar-color:#e8ca8d #173b30}
.number-board{display:grid;grid-template-columns:repeat(var(--number-cols),minmax(0,1fr));width:max-content;margin:auto;border:3px solid #f2dfbb;background:#e9d6a9;box-shadow:0 18px 45px #001b166b;border-radius:5px;overflow:hidden;gap:1px}
.number-cell{display:grid;place-items:center;width:49px;height:49px;min-width:49px;min-height:49px;background:#fbf6e7;color:#1c3b32;border:0;font:600 25px/1 Georgia,serif;border-radius:0;padding:0;transition:background .14s}
.number-size-6 .number-cell{width:62px;height:62px}
.number-cell.number-fixed{background:#e7e3d5;color:#273e34;font-weight:800}
.number-cell.number-edge-col{border-right:3px solid #6f735c}
.number-cell.number-edge-row{border-bottom:3px solid #6f735c}
.number-cell.number-selected{background:#f7d68b!important;box-shadow:inset 0 0 0 3px #416551}
.number-cell.number-conflict{background:#f4bcb1;color:#642b20}
.number-cell:focus-visible{position:relative;z-index:2;outline:4px solid #c9792e;outline-offset:-4px}
.number-pad,.code-pad{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;max-width:620px;margin:15px auto}
.number-pad button,.code-pad [data-code-digit]{width:52px;height:53px;border:1px solid #eddbaf;border-radius:11px;background:#e9d4ac;color:#19362b;font:750 22px Georgia,serif}
.number-pad button:hover,.code-pad [data-code-digit]:hover{background:#fff4d5}
.number-pad .number-erase{font:650 15px system-ui,sans-serif;width:83px}
.number-game .table-note,.code-game .table-note,.family-game .table-note{max-width:700px;margin:15px auto;line-height:1.6;font-size:14px}
.code-current{display:flex;gap:11px;justify-content:center;margin:20px 0}
.code-slot{display:grid;place-items:center;width:clamp(57px,13vw,78px);height:clamp(65px,16vw,86px);font:normal 33px Georgia,serif;border:2px solid #e1c89780;border-radius:14px;background:#112f27;color:#f2dba9}
.code-slot.filled{background:#f4e5c5;color:#25433a;border-color:#f5e3b2}
.code-pad .secondary-button,.code-pad .primary-button{min-height:53px;padding:12px 19px;font-size:15px}
.code-history{border-top:1px solid #d5be8a5b;margin-top:26px;padding-top:21px}
.code-history h2{font:normal 28px Georgia,serif;margin:0 0 7px}
.code-history>p{font-size:15px;max-width:680px;color:#d4dfd0;line-height:1.6}
.code-history ol{padding:0;list-style:none;margin:15px 0;display:grid;gap:8px}
.code-history li{padding:12px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;align-items:center;border:1px solid #d5c28e40;border-radius:12px;background:#ffffff08}
.code-past-digits{display:flex;gap:8px}
.code-past-digits span{width:39px;height:39px;display:grid;place-items:center;background:#f0e2c6;color:#234137;border-radius:8px;font:700 21px Georgia,serif}
.code-result{font-size:14px;display:flex;gap:7px;align-items:center;color:#f0e6cf}
.code-result b{color:#eecb89;font-size:22px}
.code-restart{margin:5px auto 20px;display:block}
.family-game{max-width:850px}
.family-intro,.family-turn{padding:clamp(22px,4vw,36px);border:1px solid #ddc99c70;border-radius:20px;background:linear-gradient(150deg,#22473b,#14362c)}
.family-intro h2,.family-turn h2{font:normal clamp(28px,3.4vw,43px)/1.18 Georgia,serif;margin:9px 0 14px}
.family-intro p,.family-turn p{font-size:17px;color:#e0e7d9;line-height:1.6;margin:0 0 22px}
.family-setup{display:grid;gap:13px;margin:25px 0}
.family-setup fieldset{padding:16px;border:1px solid #dbc69b70;border-radius:14px}
.family-setup legend{padding:0 7px;font-size:16px;font-weight:700}
.family-setup .family-buttons{margin:8px 0 0}
.family-setup button{border-color:#ddcaa36b}
.family-scoreboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin:12px 0 20px}
.family-scoreboard span{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;border:1px solid #d4bd8d61;border-radius:13px;padding:14px;background:#102d25;color:#ecd9b0}
.family-scoreboard span.current{border-color:#efcc85;background:#224c3d}
.family-scoreboard strong{font-size:15px}
.family-scoreboard b{font:normal 28px Georgia,serif;color:#f3d19a}
.family-turn .trivia-answers{margin-top:20px}
.family-turn .trivia-option{min-height:58px;font-size:17px}
.family-turn button.primary-button,.family-intro button.primary-button{min-height:52px}
body.light .number-game .game-notice,body.light .code-game .game-notice,body.light .family-game .game-notice{color:#244b3d}
body.light .code-history>p{color:#33584c}
body.light .code-history li{background:#e9e0c9}
body.light .code-result{color:#214236}
body.light .family-scoreboard span,.family-intro,.family-turn{color:#f7f0e1}
@media(max-width:600px){
 .number-scroll{width:100%;border-radius:8px}
 .number-board{margin:0}
 .number-size-6 .number-cell{width:48px;height:50px}
 .number-cell{width:47px;height:47px;min-height:47px;min-width:47px;font-size:23px}
 .number-pad button,.code-pad [data-code-digit]{width:48px;height:49px}
 .number-pad .number-erase{width:80px}
 .family-scoreboard{grid-template-columns:1fr 1fr}
 .family-scoreboard span{padding:10px}
 .family-intro,.family-turn{padding:18px}
 .family-turn .trivia-option{min-height:54px}
 .code-history li{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.number-cell{transition:none}}
/* Premiere membership gallery: playable proof before subscription claims. */
.premiere-collection{margin:40px 0 10px;padding:32px 0 44px;border-top:1px solid #d5bb8664;border-bottom:1px solid #d5bb8664}
.premiere-heading h2{font:normal clamp(30px,4vw,47px)/1.13 Georgia,serif;letter-spacing:-.025em;margin:9px 0 12px}
.premiere-heading p{max-width:690px;font-size:16px;color:var(--muted);line-height:1.65}
.premiere-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.premiere-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-decoration:none;border:1px solid #d1bc8961;border-radius:18px;background:#183b31;color:#f7efdf;transition:border-color .15s,transform .15s}
.premiere-card:hover{border-color:#f1d8a2;transform:translateY(-2px)}
.premiere-card:focus-visible{outline:4px solid #f5d184;outline-offset:3px}
.premiere-card img{width:100%;aspect-ratio:1.48;object-fit:cover;display:block}
.premiere-card>div{padding:20px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.premiere-card h3{font:normal 28px/1.18 Georgia,serif;margin:11px 0}
.premiere-card p{color:#d8e2d7;font-size:14px;line-height:1.55;margin-bottom:21px}
.premiere-card div>span:last-child{margin-top:auto;border-bottom:1px solid #e7c78d99;color:#f0d3a1;font-size:14px;font-weight:750;padding-bottom:4px}
.premiere-disclosure{font-size:13px;color:var(--muted);line-height:1.5;margin-top:15px}
@media(max-width:790px){.premiere-cards{grid-template-columns:1fr 1fr}.premiere-card:last-child{grid-column:1/-1}.premiere-card:last-child{flex-direction:row}.premiere-card:last-child img{width:39%;aspect-ratio:auto}}
@media(max-width:530px){.premiere-cards{grid-template-columns:1fr}.premiere-card:last-child{grid-column:auto;flex-direction:column}.premiere-card:last-child img{width:100%;aspect-ratio:1.48}.premiere-card{flex-direction:row;min-height:172px}.premiere-card img,.premiere-card:last-child img{width:40%;aspect-ratio:auto}.premiere-card:last-child{flex-direction:row}.premiere-card>div{padding:15px}.premiere-card h3{font-size:23px}.premiere-card p{font-size:13px;margin-bottom:10px}}