@font-face{font-family:Bricolage;src:url('/fonts/bricolage.ttf') format('truetype');font-weight:200 800;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{color-scheme:dark;--bg:#211b2d;--surface:#2c2539;--text:#f9f5ee;--muted:#bdb5c8;--line:#4b4259;--accent:#d4ee7b;--accent-ink:#263016;--coral:#f3a697;--paper:#faf5e9;--paper-ink:#292334;--paper-muted:#685e70;--success:#c7e8b5;--danger:#ffc2b6;--radius:18px}
[data-theme=light]{color-scheme:light;--bg:#f1edf7;--surface:#fffaff;--text:#292334;--muted:#665b73;--line:#cfc4d9;--accent:#425d24;--accent-ink:#fff;--coral:#8e3828;--success:#265c2c;--danger:#8d302a}
*{box-sizing:border-box}html{min-width:320px;scrollbar-color:var(--line) var(--bg)}body{margin:0;background:var(--bg);color:var(--text);font:500 1rem/1.55 Manrope,sans-serif}::selection{background:var(--accent);color:var(--accent-ink)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-underline-offset:4px}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}input{caret-color:var(--coral)}h1,h2,h3,p{margin:0}h1,h2,h3,.brand,.target,.timer,.score-number{font-family:Bricolage,sans-serif}h1,h2,h3{line-height:1.08;letter-spacing:-.035em;text-wrap:balance}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.topbar,.footer{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between}.topbar{height:102px;border-bottom:1px solid var(--line);margin:0 auto;padding:0 8px}.brand{display:flex;align-items:center;gap:11px;font-size:29px;font-weight:800;letter-spacing:-.035em;text-decoration:none}.brand svg{width:37px;height:37px;stroke:none;color:var(--accent)}.brand-bang{color:var(--coral)}nav{display:flex;gap:24px;align-items:center}.text-button{border:0;background:none;padding:10px 0;color:var(--muted);font-size:.9rem;font-weight:650}.text-button:hover{color:var(--text);text-decoration:underline;text-underline-offset:5px}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;display:inline-grid;place-items:center;background:transparent}.icon-button:hover{background:var(--surface)}.footer{padding:23px 8px 28px;color:var(--muted);font-size:.85rem;border-top:1px solid var(--line)}main{max-width:1160px;margin:auto;padding:0 8px;min-height:calc(100svh - 190px)}.home{display:grid;grid-template-columns:1.08fr .92fr;gap:86px;padding:52px 0 45px;align-items:center}.intro h1{font-size:clamp(2.7rem,4.6vw,4.25rem);font-weight:750;max-width:650px}.intro h1 span{color:var(--coral)}.intro>p{color:var(--muted);max-width:460px;margin:20px 0 28px;line-height:1.75}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border:1px solid var(--line);padding:5px;border-radius:13px;gap:5px}.mode-switch button{border:0;border-radius:9px;background:none;padding:13px 10px;font-weight:750;font-size:.95rem}.mode-switch button[aria-pressed=true]{background:var(--paper);color:var(--paper-ink)}.mode-description{min-height:42px;margin:13px 0 17px;color:var(--muted);font-size:.9rem}.settings-line{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px;font-size:.875rem;color:var(--muted)}select,input{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:11px 14px;color:var(--text);font-weight:600}input::placeholder{color:var(--muted);font-weight:400}select{appearance:none;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23988caa' stroke-width='2'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat}.deck-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}.deck-settings summary{list-style:none;padding:15px 0;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:.9rem;font-weight:650;gap:10px}.deck-settings summary::-webkit-details-marker{display:none}.deck-settings summary>span{display:flex;gap:8px;align-items:center}.deck-settings summary small{font-size:.8rem;color:var(--muted);margin-left:auto}.deck-settings[open] summary svg{transform:rotate(180deg)}.categories{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 17px}.chip{position:relative;display:inline-flex}.chip input{position:absolute;opacity:0;width:1px;height:1px}.chip span{border:1px solid var(--line);border-radius:24px;padding:8px 12px;font-size:.8rem;cursor:pointer}.chip input:checked+span{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.chip input:focus-visible+span{outline:3px solid var(--coral);outline-offset:3px}.primary,.secondary,.danger-button{border-radius:11px;min-height:52px;padding:13px 21px;font-weight:800;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}.primary{background:var(--accent);color:var(--accent-ink)}.primary:hover{filter:brightness(.94)}.secondary{border-color:var(--line);background:var(--surface);color:var(--text)}.secondary:hover{border-color:var(--muted)}.danger-button{background:transparent;border-color:var(--line);color:var(--danger)}.start-button{width:100%;font-size:1.05rem;min-height:58px}.start-note{display:flex;gap:8px;align-items:center;justify-content:center;color:var(--muted);font-size:.8rem;margin-top:12px}.start-note svg{width:15px;height:15px}.resume{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:13px 16px;margin-bottom:23px;gap:12px;font-size:.85rem}.resume button{white-space:nowrap;padding:8px 13px;min-height:40px}.demo{padding:12px 12px 25px;position:relative;max-width:410px;width:100%;justify-self:center}.demo .playing-card{transform:rotate(4deg)}.demo::before{content:'';position:absolute;inset:24px 10px 34px;background:#8270a5;border:1px solid #a699bd;border-radius:22px;transform:rotate(-5deg)}.demo-tag{position:absolute;z-index:2;right:-8px;top:-7px;background:var(--coral);color:var(--bg);border-radius:50%;height:88px;width:88px;display:grid;place-items:center;font-family:Bricolage,sans-serif;font-size:18px;font-weight:800;line-height:1.05;text-align:center;transform:rotate(12deg)}.demo-footer{margin-top:34px;text-align:center;color:var(--muted);font-size:.85rem;position:relative}.demo-footer button{color:var(--accent);padding-left:7px}.playing-card{background:var(--paper);color:var(--paper-ink);border-radius:20px;position:relative;overflow:hidden;box-shadow:0 22px 45px -18px #0e091845;border:1px solid #ffffff24;isolation:isolate}.card-head{background:#b7a3da;padding:24px 28px 26px;border-bottom:1px solid #29233424;min-height:151px;display:flex;flex-direction:column;justify-content:center}.category-line{font-size:.78rem;display:flex;justify-content:space-between;gap:12px;color:#453354;font-weight:750}.target{font-size:clamp(2rem,3.5vw,2.9rem);font-weight:800;line-height:1.07;margin-top:12px;overflow-wrap:anywhere;letter-spacing:-.03em}.card-body{padding:23px 28px 20px}.forbidden-label{display:flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.08em;color:#8b3d32;font-size:.75rem;font-weight:800}.forbidden-label svg{width:17px;height:17px}.forbidden-list{list-style:none;margin:12px 0 0;padding:0}.forbidden-list li{padding:9px 0;border-bottom:1px solid #2923341c;font-size:1.2rem;font-weight:650}.forbidden-list li:last-child{border:0}.card-bottom{padding:0 28px 18px;display:flex;justify-content:space-between;font-size:.75rem;color:var(--paper-muted)}.mini-brand{font-family:Bricolage,sans-serif;font-weight:800;font-size:1rem;color:var(--paper-ink)}.team-settings{margin:18px 0}.team-inputs{display:grid;gap:9px}.team-input{display:flex;gap:8px}.team-input .icon-button{border-radius:10px}.team-options{margin-top:13px}.check{display:flex;align-items:center;gap:9px;font-size:.875rem;color:var(--muted);margin:13px 0}.check input{width:18px;height:18px;accent-color:var(--accent)}.game-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:25px 0 17px}.game-header>div{display:flex;align-items:center;gap:10px}.game-title{font-weight:800}.game-meta{font-size:.8rem;color:var(--muted)}.game-layout{display:grid;grid-template-columns:1fr minmax(300px,430px) 1fr;gap:44px;align-items:start;max-width:1040px;margin:0 auto;padding:8px 0 28px}.game-center{min-width:0}.game-side{padding-top:64px}.game-side h2{font-size:1.25rem;margin-bottom:16px}.game-side p{font-size:.875rem;color:var(--muted)}.game-side .little-rule{border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.counter{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:.875rem;color:var(--muted)}.counter strong{color:var(--text);font-size:1.15rem;font-variant-numeric:tabular-nums}.timer-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:15px}.timer{font-size:2rem;line-height:1;font-weight:750;font-variant-numeric:tabular-nums}.timer.low{color:var(--coral)}.timer-label{font-size:.8rem;color:var(--muted)}.clock-control{display:flex;align-items:center;gap:10px}.game-actions{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:9px;margin-top:17px}.game-actions button{padding:13px 8px;min-height:60px;border-radius:11px;font-size:.9rem;font-weight:800;border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.game-actions svg{width:20px;height:20px}.action-forbidden{background:var(--surface);color:var(--danger)}.action-skip{background:var(--surface);color:var(--text)}.action-correct{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)!important}.under-actions{display:flex;justify-content:space-between;align-items:center;margin-top:7px;gap:10px}.under-actions button{font-size:.8rem;display:flex;align-items:center;gap:6px}.under-actions svg{width:17px;height:17px}.game-card-wrap{position:relative}.privacy-cover{position:absolute;inset:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);z-index:4;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:17px;text-align:center;padding:30px}.privacy-cover h2{font-size:2rem}.privacy-cover p{color:var(--muted)}.hidden-card .card-content{visibility:hidden}.score-row{display:grid;grid-template-columns:1fr auto;gap:9px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.score-name{font-size:.9rem;overflow-wrap:anywhere}.score-tools{display:flex;align-items:center;gap:8px}.score-tools button{border:1px solid var(--line);width:30px;height:32px;background:var(--surface);border-radius:7px}.score-number{font-size:1.5rem;min-width:30px;text-align:center;font-variant-numeric:tabular-nums}.score-row.active .score-name{color:var(--accent);font-weight:800}.mobile-score{display:none}.state-screen{max-width:600px;margin:0 auto;padding:55px 0 60px;text-align:center}.state-screen h1{font-size:clamp(2.3rem,5vw,3.6rem)}.state-screen>p{color:var(--muted);margin:19px auto 28px;max-width:440px}.state-screen .primary{min-width:240px;margin-top:22px}.state-screen .secondary{margin-top:12px}.state-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:24px}.state-actions .primary,.state-actions .secondary{margin:0}.large-mark{display:inline-grid;place-items:center;width:78px;height:78px;border-radius:24px;background:var(--accent);color:var(--accent-ink);margin-bottom:24px}.large-mark svg{width:38px;height:38px}.results{margin:25px 0;text-align:left}.event-list{margin:22px 0;text-align:left;max-height:230px;overflow:auto}.event{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.875rem}.event span:last-child{color:var(--muted)}.turn-stats{display:flex;justify-content:center;gap:35px;margin:29px 0}.turn-stats div{display:flex;flex-direction:column;font-size:.8rem;color:var(--muted)}.turn-stats strong{font-family:Bricolage,sans-serif;font-size:2.7rem;line-height:1.2;color:var(--text)}dialog{border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--text);padding:28px;width:min(92vw,590px);max-height:85svh;box-shadow:0 20px 70px #0006}dialog::backdrop{background:#100b1ac7}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.dialog-top h2{font-size:1.9rem}dialog p{color:var(--muted);margin:13px 0}dialog h3{font-size:1.25rem;margin:24px 0 10px}dialog li{padding:7px 0;color:var(--muted)}dialog strong{color:var(--text)}.notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;background:var(--paper);color:var(--paper-ink);padding:13px 18px;border-radius:11px;font-size:.875rem;box-shadow:0 8px 28px #0004;z-index:20;display:none}.notice.show{display:block}.skip-link{position:fixed;top:-100px;left:20px;z-index:30;background:var(--accent);color:var(--accent-ink);padding:12px}.skip-link:focus{top:12px}.new-card{animation:deal .23s cubic-bezier(.16,1,.3,1)}@keyframes deal{from{transform:translateY(8px) rotate(-1.5deg);filter:brightness(.94)}to{transform:translateY(0) rotate(0);filter:brightness(1)}}
@media(min-width:1280px){.home{min-height:690px}.demo .playing-card{min-height:467px}.demo .forbidden-list li{padding:11px 0}}
@media(max-width:1200px){.topbar,.footer,main{margin-left:32px;margin-right:32px}.home{gap:50px}.game-layout{gap:25px;grid-template-columns:1fr minmax(300px,410px) 1fr}}
@media(max-width:940px){.home{gap:36px;grid-template-columns:1.1fr .9fr}.intro h1{font-size:3rem}.demo{padding-left:0;padding-right:0}.demo-tag{right:-8px;width:70px;height:70px;font-size:16px}.card-head{padding:23px}.card-body{padding:21px 23px}.card-bottom{padding-left:23px;padding-right:23px}.game-layout{grid-template-columns:minmax(300px,430px) 210px;justify-content:center;gap:32px}.game-side:first-child{display:none}.game-center{grid-column:1;grid-row:1}.game-side:last-child{grid-column:2}.game-side{padding-top:64px}}
@media(max-width:700px){.topbar,.footer,main{margin-left:20px;margin-right:20px}.topbar{height:78px;padding:0}.brand{font-size:25px;gap:8px}.brand svg{width:31px;height:31px}nav{gap:17px}.home{grid-template-columns:1fr;padding:32px 0;gap:40px}.intro h1{font-size:clamp(2.5rem,9vw,3.6rem)}.intro>p{margin:16px 0 24px;font-size:.95rem;line-height:1.65;max-width:100%}.demo{max-width:330px;order:2;display:none}.home .mode-description{min-height:0}.footer{font-size:.75rem;padding:17px 0;gap:15px}.footer .text-button{font-size:.75rem}.game-header{padding:18px 0 12px}.game-title{font-size:.9rem}.game-meta{font-size:.75rem}.game-header .secondary{min-height:40px;padding:8px 12px;font-size:.8rem}.game-layout{display:block;padding:0 0 20px}.game-center{max-width:430px;margin:auto}.game-side{display:none}.mobile-score{display:block;margin-top:10px;border-top:1px solid var(--line)}.mobile-score summary{cursor:pointer;padding:13px 0;color:var(--muted);font-size:.9rem}.timer{font-size:1.85rem}.card-head{min-height:125px;padding:19px 23px}.card-body{padding:18px 23px 14px}.target{font-size:clamp(1.8rem,7vw,2.7rem)}.forbidden-list{margin-top:10px}.forbidden-list li{padding:8px 0;font-size:1.16rem}.card-bottom{padding-bottom:16px}.game-actions{margin-top:14px}.game-actions button{min-height:58px}.under-actions{margin-top:2px}.game-header .icon-button{width:39px;height:39px}.state-screen{padding:38px 0}.state-screen h1{font-size:2.6rem}.state-screen>p{font-size:.95rem}.category-line{font-size:.75rem}.timer-bar{margin-bottom:11px}.state-actions{flex-direction:column}.state-actions button{width:100%}.check{font-size:.8rem}}
@media(max-height:740px) and (max-width:700px){body.in-game .topbar{height:61px}body.in-game .footer{display:none}.game-header{padding:11px 0 9px}.timer-bar{margin-bottom:9px}.card-head{min-height:99px;padding:14px 21px}.target{margin-top:7px}.card-body{padding:13px 21px 9px}.forbidden-list li{padding:5px 0;font-size:1.08rem}.card-bottom{padding:0 21px 12px}.game-actions{margin-top:11px}.game-actions button{min-height:52px}.game-layout{padding-bottom:8px}}
.topbar{height:86px}.home{padding-top:32px;padding-bottom:32px}.intro>p{margin:16px 0 21px}.mode-description{min-height:0;margin:11px 0 17px}.mode-switch button{padding:11px 10px}.deck-settings{margin:16px 0}.in-game .footer{display:none}.in-game main{min-height:0}
@media(min-width:701px) and (max-height:850px){.in-game .topbar{height:62px}.game-header{padding:10px 0;min-height:56px}.game-header .secondary{min-height:40px;padding:8px 14px}.game-layout{padding:0 0 10px}.timer-bar{margin-bottom:10px}.timer{font-size:1.8rem}.in-game .card-head{min-height:90px;padding:15px 24px}.in-game .target{font-size:2.3rem;margin-top:8px}.in-game .card-body{padding:14px 24px 8px}.in-game .forbidden-list{margin-top:8px}.in-game .forbidden-list li{padding:5px 0;font-size:1.15rem;line-height:1.35}.in-game .card-bottom{padding:0 24px 12px}.game-actions{margin-top:12px}.game-actions button{min-height:55px;padding:9px 8px}.game-side{padding-top:53px}.under-actions{margin-top:2px}}
@media(max-width:700px){.topbar{height:78px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
