:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#171a22;--muted:#667085;--line:#d9dde8;--paper:#f7f4ec;--panel:#fff;--gold:#d89b2b;--gold-dark:#916316;--blue:#2864c9;--green:#1e7f5c;--red:#b6453d;--shadow:0 18px 50px #181f2d1f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}main{min-height:100vh}.tool-shell{color:#fff;background:linear-gradient(120deg,#171a22e0,#1a2432c2),radial-gradient(circle at 25% 20%,#d89b2b6b,#0000 28%),linear-gradient(135deg,#202532,#344050);padding:32px clamp(18px,4vw,56px) 56px}.hero-copy{max-width:1040px;margin:0 auto 28px}.top-row{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:10px;display:flex}.language-switcher{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:460px;display:flex}.language-switcher a{color:#ffffffdb;white-space:nowrap;background:#ffffff17;border:1px solid #ffffff3d;border-radius:999px;padding:7px 10px;font-size:.82rem;font-weight:800;text-decoration:none}.language-switcher a[aria-current=page]{color:#2a1d0b;background:#f3c464;border-color:#f3c464}.eyebrow,.section-kicker{color:#c08a27;letter-spacing:0;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:700}.tool-shell .section-kicker,.tool-shell .eyebrow{color:#f3c464}h1,h2,h3,p{margin-top:0}h1{letter-spacing:0;max-width:920px;margin-bottom:14px;font-size:clamp(2.5rem,7vw,5.8rem);line-height:.95}h2{letter-spacing:0;margin-bottom:14px;font-size:clamp(1.45rem,3vw,2rem);line-height:1.1}h3{letter-spacing:0;margin-bottom:8px;font-size:1.02rem}.lead{color:#ffffffd1;max-width:760px;font-size:1.12rem;line-height:1.7}.status-row{flex-wrap:wrap;gap:10px;display:flex}.status-row span{color:#ffffffe0;background:#ffffff1a;border:1px solid #ffffff3d;border-radius:999px;padding:9px 14px;font-weight:700}.tool-grid{grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:20px;max-width:1040px;margin:0 auto;display:grid}.board-panel,.compact-panel{color:var(--ink);box-shadow:var(--shadow);background:#fffffff5;border:1px solid #ffffff2e;border-radius:8px}.board-panel{padding:clamp(14px,2.4vw,24px)}.panel-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.ghost-button{border:1px solid var(--line);min-height:42px;color:var(--ink);background:#fff;border-radius:8px;padding:0 14px;font-weight:800}.king-board{aspect-ratio:1;grid-template-columns:repeat(5,minmax(42px,1fr));gap:clamp(8px,1.4vw,12px);display:grid}.card-tile{color:#f8df9a;background:linear-gradient(145deg,#ffffff29,#0000),#402c18;border:1px solid #b98b31;border-radius:8px;min-width:0;font-size:clamp(1.25rem,5vw,2.35rem);font-weight:900;box-shadow:inset 0 0 0 2px #ffffff12}.card-hidden{color:#f0cf73}.card-k{background:linear-gradient(145deg,#fff3,#0000),#8d4b22}.card-1,.card-2{background:linear-gradient(145deg,#ffffff2e,#0000),#225642}.card-3{background:linear-gradient(145deg,#ffffff2e,#0000),#24446c}.card-4,.card-5{background:linear-gradient(145deg,#ffffff2e,#0000),#6c2f31}.side-panel{gap:16px;display:grid}.compact-panel{padding:18px}.card-picker{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px;display:grid}.card-picker button{border:1px solid var(--line);min-height:48px;color:var(--ink);background:#f8fafc;border-radius:8px;font-weight:900}.card-picker button.active{border-color:var(--gold-dark);color:#2a1d0b;background:#f6d17a}.advice-box{border-left:4px solid var(--gold);background:#fff7e4;padding:14px}.advice-box p{color:#3f3526;margin:8px 0 0;line-height:1.55}.muted{font-size:.92rem;color:var(--muted)!important}.count-list{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.count-list div,.score-table div{border:1px solid var(--line);background:#f8fafc;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.reward-meter{border-top:1px solid var(--line);gap:6px;margin-top:14px;padding-top:14px;display:grid}.reward-meter span{color:var(--green);font-weight:800}.reward-meter strong{color:var(--muted);font-size:.92rem}.content-band,.guide-section,.rules-section,.mini-games-section,.faq-section{padding:clamp(36px,6vw,72px) clamp(18px,4vw,56px)}.content-grid,.guide-section,.rules-section,.mini-games-section,.faq-section{max-width:1040px;margin:0 auto}.content-grid{grid-template-columns:1fr 1fr;gap:28px;display:grid}ol{color:#394150;margin:0;padding-left:20px;line-height:1.8}.score-table{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.guide-section{border-top:1px solid var(--line);grid-template-columns:.8fr 1.2fr;gap:36px;display:grid}.guide-section p,.rules-section p,.faq-section p{color:#495466;line-height:1.72}.tips-grid,.rules-grid,.faq-grid{gap:14px;display:grid}.tips-grid{grid-template-columns:repeat(3,1fr)}.tips-grid article,.rules-grid article,.faq-grid article{border:1px solid var(--line);background:#fff;border-radius:8px;padding:18px;box-shadow:0 12px 30px #181f2d12}.rules-section{border-top:1px solid var(--line);grid-template-columns:.9fr 1.1fr;gap:34px;display:grid}.rules-section a{color:#71470b;background:#fff7e4;border:1px solid #b9811d;border-radius:8px;align-items:center;min-height:42px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.rules-grid{grid-template-columns:repeat(2,1fr)}.mini-games-section{border-top:1px solid var(--line)}.mini-games-section.secondary{padding-top:clamp(18px,3vw,34px)}.mini-games-heading{max-width:720px;margin-bottom:22px}.mini-games-heading p{color:#495466;line-height:1.7}.mini-games-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.game-card{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;gap:12px;padding:14px;text-decoration:none;display:grid;box-shadow:0 12px 30px #181f2d12}.game-card img{aspect-ratio:16/10;object-fit:cover;background:#202532;border-radius:8px;width:100%}.game-card span{color:#9d690f;text-transform:uppercase;font-size:.8rem;font-weight:900}.game-card strong,.game-card h2{color:var(--ink);margin:4px 0 8px;font-size:1.12rem;line-height:1.18;display:block}.game-card p{color:#526072;margin-bottom:0;line-height:1.58}.ad-wrap{gap:8px;max-width:1040px;min-height:96px;margin:clamp(18px,3vw,28px) auto;padding:10px clamp(18px,4vw,56px);display:grid}.ad-wrap>span{color:#7a8595;letter-spacing:0;text-transform:uppercase;font-size:.72rem;font-weight:800}.ad-wrap .adsbygoogle{min-height:90px}.ad-placeholder{color:#526072;background:#ffffff94;border:1px dashed #c4cad6;border-radius:8px}.ad-placeholder strong{color:var(--ink)}.ad-placeholder p{margin:0;line-height:1.5}.games-hero,.game-page-hero{color:#fff;background:linear-gradient(120deg,#171a22eb,#202a38d1),linear-gradient(135deg,#202532,#344050);padding:clamp(30px,6vw,72px) clamp(18px,4vw,56px)}.games-hero{align-content:center;min-height:360px;display:grid}.games-hero h1,.game-page-hero h1{max-width:920px;margin-bottom:14px}.games-hero>*,.game-page-hero>*{max-width:1040px}.games-list-section,.play-section{max-width:1040px;margin:0 auto;padding:clamp(32px,6vw,64px) clamp(18px,4vw,56px)}.games-list{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.game-card.large{padding:16px}.game-card.large h2{font-size:1.35rem}.game-card.large span{color:#71470b;background:#fff7e4;border:1px solid #b9811d;border-radius:8px;align-items:center;width:max-content;min-height:38px;margin-top:14px;padding:0 12px;display:inline-flex}.game-page-hero{grid-template-columns:240px minmax(0,1fr);align-items:center;gap:28px;display:grid}.game-page-hero img{width:100%;box-shadow:var(--shadow);border-radius:8px}.back-link{color:#fff;background:#ffffff17;border:1px solid #ffffff3d;border-radius:999px;grid-column:1/-1;width:max-content;padding:8px 12px;font-weight:800;text-decoration:none}.game-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;display:flex}.game-toolbar div,.game-toolbar button,.forge-buttons button{border:1px solid var(--line);min-height:46px;color:var(--ink);background:#fff;border-radius:8px;padding:8px 14px}.game-toolbar div{min-width:128px;display:grid}.game-toolbar strong{font-size:1.15rem}.game-toolbar span{color:var(--muted);font-size:.82rem;font-weight:800}.game-toolbar button,.forge-buttons button{background:#f6d17a;border-color:#c9932d;font-weight:900}.memory-board{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.memory-card,.chest-card{color:#f8df9a;background:linear-gradient(145deg,#ffffff29,#0000),#402c18;border:1px solid #b98b31;border-radius:8px;min-height:112px;font-size:clamp(1.05rem,3.2vw,1.55rem);font-weight:900;box-shadow:inset 0 0 0 2px #ffffff12}.memory-card.revealed{color:#fff7df;background:linear-gradient(145deg,#ffffff2e,#0000),#24446c}.chest-board{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.chest-card.open{color:#fff7df;background:linear-gradient(145deg,#ffffff2e,#0000),#225642}.chest-card.trap{color:#fff7df;background:linear-gradient(145deg,#ffffff2e,#0000),#6c2f31}.win-panel{border-left:4px solid var(--gold);color:#3f3526;background:#fff7e4;margin-top:18px;padding:16px}.win-panel p{margin:8px 0 0;line-height:1.62}.forge-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:18px;display:grid}.forge-controls,.forge-result{border:1px solid var(--line);background:#fff;border-radius:8px;padding:18px;box-shadow:0 12px 30px #181f2d12}.forge-controls label{color:#394150;gap:10px;margin-bottom:18px;font-weight:900;display:grid}.forge-controls input[type=range]{accent-color:#c9932d;width:100%}.forge-controls input:not([type=range]){border:1px solid var(--line);min-height:46px;color:var(--ink);background:#f8fafc;border-radius:8px;padding:0 12px;font-weight:800}.forge-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px;display:grid}.forge-summary div{border:1px solid var(--line);background:#f8fafc;border-radius:8px;padding:12px}.forge-summary span,.forge-result span{color:var(--muted);font-size:.82rem;font-weight:800;display:block}.forge-summary strong,.forge-result strong{margin-top:4px;font-size:1.35rem;display:block}.forge-buttons{flex-wrap:wrap;gap:10px;display:flex}.forge-result>strong{color:var(--green);font-size:clamp(3rem,8vw,5rem)}.forge-log{gap:8px;margin-top:18px;display:grid}.forge-log p{border:1px solid var(--line);color:#394150;background:#f8fafc;border-radius:8px;margin:0;padding:10px;font-weight:800}.reaction-layout{gap:18px;display:grid}.reaction-target{color:#f8df9a;min-height:clamp(220px,38vw,360px);box-shadow:var(--shadow);background:linear-gradient(145deg,#ffffff24,#0000),#402c18;border:1px solid #b98b31;border-radius:8px;font-size:clamp(2rem,7vw,5rem);font-weight:900}.reaction-target.waiting{background:linear-gradient(145deg,#ffffff29,#0000),#24446c}.reaction-target.ready,.reaction-target.done{color:#fff7df;background:linear-gradient(145deg,#ffffff29,#0000),#225642}.reaction-target.early{color:#fff7df;background:linear-gradient(145deg,#ffffff29,#0000),#6c2f31}.number-board{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.number-tile{color:#fff7df;background:linear-gradient(145deg,#ffffff2e,#0000),#24446c;border:1px solid #b98b31;border-radius:8px;min-height:112px;font-size:clamp(1.45rem,4vw,2.4rem);font-weight:900;box-shadow:inset 0 0 0 2px #ffffff12}.number-tile.done{color:#2a1d0b;background:#f6d17a;border-color:#b9811d}.number-tile.wrong{background:linear-gradient(145deg,#ffffff2e,#0000),#6c2f31}.faq-grid{grid-template-columns:repeat(2,1fr)}footer{border-top:1px solid var(--line);color:var(--muted);text-align:center;padding:28px clamp(18px,4vw,56px)}footer p{max-width:920px;margin:0 auto;line-height:1.6}@media (max-width:860px){.top-row{display:grid}.language-switcher{justify-content:flex-start}.tool-grid,.content-grid,.guide-section,.tips-grid,.rules-section,.rules-grid,.mini-games-grid,.games-list,.game-page-hero,.forge-layout,.forge-summary,.faq-grid{grid-template-columns:1fr}.tool-shell{padding-top:24px}.king-board{gap:7px}.card-tile{border-radius:6px}.memory-board,.chest-board,.number-board{grid-template-columns:repeat(4,1fr)}.memory-card,.chest-card,.number-tile{min-height:74px;font-size:.86rem}}@media (max-width:480px){.status-row span{width:100%}.panel-header{flex-direction:column;align-items:stretch}.ghost-button{width:100%}}
