@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--wine:#561b20;--deep:#371014;--cream:#f8e8c7;--paper:#fff4da;--red:#a62327;--orange:#eea16e;--ink:#582821;--muted:#81675a;--line:#d5bb99;color-scheme:light;font-family:'DM Sans',sans-serif;font-size:16px;color:var(--cream);background:var(--wine)}
*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 30% 50%,#7a2c32 0,transparent 66%),var(--wine)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:5px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--red);outline-offset:2px}a{color:inherit}button{touch-action:manipulation}h1,h2,h3,p{margin:0}h1,h2,h3,.wordmark,.card-back-title{font-family:'Barlow Condensed',Impact,'Arial Narrow',sans-serif}h2{font-size:2.6rem;line-height:1.05;font-weight:800}h3{font-size:1.7rem}button{border:0}button svg{width:20px}.site-header{max-width:1280px;margin:auto;padding:28px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f8e8c725}.wordmark{text-decoration:none;font-size:1.5rem;font-weight:800;letter-spacing:.02em;display:flex;align-items:center;gap:12px}.brand-star{color:var(--orange);font-size:1.8rem}.text-button{color:var(--cream);background:none;font-size:.9rem;padding:10px 0}.text-button span{margin-left:12px}.setup-screen{max-width:1140px;margin:0 auto;padding:64px 32px 46px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:90px}.eyebrow{font-size:.78rem;letter-spacing:.18em;font-weight:700}.red{color:var(--red)}.intro{text-align:center}.intro h1{font-size:clamp(3.5rem,5.8vw,5.5rem);line-height:.91;letter-spacing:-.025em;margin:22px 0 0;font-weight:800}.intro h1 em{font-style:normal;color:var(--orange)}.card-fan{height:294px;position:relative;margin:38px auto 22px;max-width:360px}.card-fan img{width:169px;position:absolute;top:20px;left:calc(50% - 84px);border-radius:5px;box-shadow:0 16px 25px #22070c60}.card-fan img:first-child{transform:translate(-90px,10px) rotate(-17deg)}.card-fan img:nth-child(2){z-index:2;transform:rotate(-3deg);top:0}.card-fan img:last-child{transform:translate(88px,10px) rotate(15deg)}.intro-caption{font-size:.9rem;color:#e6c2ad}.setup-panel{background:var(--cream);color:var(--ink);padding:36px;border-radius:6px;box-shadow:8px 8px 0 #38121665}.setup-panel h2{margin:12px 0}.muted{color:var(--muted);font-size:.95rem;line-height:1.5}#players-inputs{display:grid;gap:10px;margin-top:25px;max-height:290px;overflow-y:auto;padding:3px}.player-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:3px;padding:4px 12px;min-height:51px;background:#fff7e745}.seat{font-size:.8rem;color:var(--red);font-weight:700}.player-row input{width:100%;min-width:0;background:none;border:0;color:var(--ink);padding:10px 0;font-size:1rem}.player-row input::placeholder{color:#917666}.remove-player{background:transparent;font-size:1.4rem;color:var(--muted);padding:5px}.add-player{background:transparent;color:var(--red);padding:17px 3px;font-weight:700;font-size:.95rem}.primary{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--red);color:var(--paper);font-weight:700;padding:18px 22px;width:100%;border-radius:3px;min-height:56px}.primary:hover{background:#8c1c22}.primary span{font-size:1.3rem}.form-error{color:var(--red);font-size:.9rem;line-height:1.4;margin-bottom:12px}.form-error:empty{display:none}.setup-details{display:flex;justify-content:space-between;gap:10px;font-size:.75rem;letter-spacing:.08em;font-weight:700;color:var(--muted);padding-top:21px}.site-footer{display:flex;justify-content:space-between;gap:16px;max-width:1280px;margin:auto;padding:24px 42px;color:#dfb9a7;font-size:.75rem}.site-footer>span:first-child{letter-spacing:.15em;font-weight:700}.game{max-width:1040px;margin:0 auto;padding:24px 30px 20px}.game-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.game-top .text-button{font-size:.85rem}.pint-meter{display:flex;align-items:center;gap:12px}.meter-label{font-size:.8rem;font-weight:600}.pips{display:flex;gap:5px}.pip{width:12px;height:12px;border-radius:50%;border:1px solid #e4bba3}.pip.filled{background:var(--orange);border-color:var(--orange)}.game-layout{display:grid;grid-template-columns:1fr 350px 1fr;align-items:center;gap:28px;margin-top:26px}.turn-meta .eyebrow{color:var(--orange)}.turn-meta h1{font-size:3.6rem;line-height:1;overflow-wrap:anywhere;margin-top:12px}.turn-meta .muted{color:#e5bcaa;margin-top:14px}.turn-counter{display:block;margin-top:30px;font-size:.85rem;color:#d2a898}.card-area{perspective:1200px;position:relative;max-width:350px;width:100%;margin:auto;touch-action:pan-y}.deck{position:relative;width:100%;aspect-ratio:182/253;padding:0;background:transparent;border-radius:8px;display:block;transform:rotate(-2deg);transition:transform .2s;isolation:isolate}.deck:not([aria-disabled="true"]):hover{transform:translateY(-5px) rotate(0)}.deck:before,.deck:after{content:'';position:absolute;inset:0;border:1px solid #cbae8c;border-radius:8px;background:#eed7b0;z-index:-1;transform:translate(5px,6px) rotate(2deg)}.deck:after{transform:translate(9px,11px) rotate(3deg);z-index:-2}.card-rotator{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.22,.7,.2,1)}.deck.revealed{transform:rotate(0)}.deck.revealed .card-rotator{transform:rotateY(180deg)}.card-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:6px;overflow:hidden}.card-back{background:var(--red);border:9px solid var(--cream);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--cream);box-shadow:inset 0 0 0 1px #f8e8c770;background-image:repeating-linear-gradient(45deg,transparent,transparent 9px,#f8e8c706 9px,#f8e8c706 10px)}.back-top,.back-bottom{position:absolute;font-size:.75rem;letter-spacing:.22em;left:0;right:0}.back-top{top:24px}.back-bottom{bottom:24px}.card-back-title{font-size:4.7rem;line-height:.85;letter-spacing:-.02em;text-align:center;font-weight:900;transform:rotate(-6deg)}.card-back-star{font-size:3.4rem;color:var(--orange);margin-bottom:20px}.card-back .small-star{font-size:2rem;margin:24px 0 0;color:var(--orange)}.card-front{transform:rotateY(180deg);background:var(--cream)}.card-front img{display:block;width:100%;height:100%;object-fit:fill}.corrected-rule{position:absolute;left:13.4%;right:13.4%;top:74.8%;bottom:9.6%;background:#9f1f21;color:#fff5dc;display:flex;align-items:center;justify-content:center;padding:4px 9px;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:clamp(.75rem,1.1vw,1rem);line-height:1.1}.card-hint{text-align:center;margin:23px 0 0;font-size:.8rem;color:#e5bcaa;min-height:20px}.turn-actions{min-width:0}.rule-copy{font-size:1.05rem;line-height:1.6;color:var(--cream)}.rule-copy h2{font-size:2rem;margin:0 0 14px}.turn-actions label{display:block;font-size:.9rem;margin:19px 0 8px}.turn-actions select,.turn-actions textarea{width:100%;background:var(--cream);color:var(--ink);border:1px solid var(--line);border-radius:3px;padding:12px;min-height:48px}.turn-actions textarea{resize:vertical;min-height:95px}.turn-actions .primary{margin-top:22px;background:var(--cream);color:var(--wine);font-size:.9rem;padding:16px}.turn-actions .primary:hover{background:var(--paper)}.quiet-action{display:block;background:transparent;color:#e2b9a5;text-decoration:underline;text-underline-offset:4px;font-size:.85rem;padding:16px 0;margin:auto}.waiting-copy{font-family:Georgia,serif;font-size:1.35rem;font-style:italic;line-height:1.5;color:#dfb9a7}.rule-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:32px auto 0}.rule-chip{font-size:.78rem;border:1px solid #e4bba340;border-radius:4px;padding:8px 11px;max-width:100%;overflow-wrap:anywhere;color:#edd2bb}.end-screen{max-width:520px;margin:60px auto;text-align:center;padding:0 25px}.end-screen .eyebrow{color:var(--orange)}.end-screen h1{font-size:4.6rem;line-height:.95;margin:16px 0 24px;overflow-wrap:anywhere}.end-screen img{width:150px;transform:rotate(-8deg);border-radius:3px;margin:10px 0 26px;box-shadow:8px 10px 0 #310d1450}.end-screen p{line-height:1.6}.end-screen .primary{margin:26px 0 0;background:var(--cream);color:var(--wine)}dialog{border:0;border-radius:8px;padding:28px;background:var(--cream);color:var(--ink);width:min(520px,calc(100% - 28px));max-height:85svh;box-shadow:0 25px 80px #20091080}dialog::backdrop{background:#24070dbb;backdrop-filter:blur(4px)}.sheet-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.sheet-header h2{font-size:2rem}.close-button{color:var(--ink);background:none;font-size:2rem;padding:0 8px}.sheet-content p,#sheet-content p{line-height:1.6}#sheet-content ol{padding-left:22px;line-height:1.6}#sheet-content li{margin-bottom:12px}.sheet-section{padding:18px 0;border-top:1px solid var(--line)}.sheet-section h3{margin-bottom:7px}.sheet-section p+ p{margin-top:8px}.secondary{background:transparent;color:var(--red);border:1px solid var(--red);width:100%;padding:14px;margin-top:12px;border-radius:3px}.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}
.deck[aria-disabled="true"]{opacity:1;cursor:default}.action-error{color:#ffd09d;font-size:.9rem;line-height:1.4;margin-top:12px}.action-error:empty{display:none}summary{cursor:pointer;font-weight:700;padding:12px 0}#sheet-content .primary{justify-content:center}.setup-details{font-size:.75rem}
@media(min-width:1400px){.setup-screen{padding-top:85px;padding-bottom:75px}.game-layout{margin-top:45px}}
@media(max-width:800px){.site-header{padding:18px 22px}.setup-screen{gap:38px;padding:36px 24px;grid-template-columns:1fr 1fr}.intro h1{font-size:3.6rem}.card-fan{transform:scale(.8);margin-left:-25px;margin-right:-25px;height:270px}.setup-panel{padding:25px}.game-layout{grid-template-columns:180px 290px;justify-content:center}.turn-actions{grid-column:1/-1;max-width:490px;width:100%;margin:auto}.rule-copy h2{display:none}.waiting-copy{text-align:center}.game-layout .card-area{grid-column:2;grid-row:1}.turn-meta h1{font-size:3rem}.site-footer{padding:24px}.corrected-rule{font-size:.9rem}}
@media(max-width:580px){.site-header{padding:14px 20px}.wordmark{font-size:1.3rem}.brand-star{font-size:1.5rem}.text-button{font-size:.8rem}.setup-screen{display:flex;flex-direction:column;gap:22px;padding:26px 20px}.intro{width:100%}.intro .eyebrow{font-size:.75rem}.intro h1{font-size:3rem;margin-top:13px}.intro h1 br{display:none}.intro h1 em{display:block}.card-fan{height:165px;width:220px;transform:none;margin:20px auto 4px}.card-fan img{width:105px;left:calc(50% - 52px);top:7px}.card-fan img:first-child{transform:translate(-58px,5px) rotate(-16deg)}.card-fan img:last-child{transform:translate(58px,5px) rotate(15deg)}.intro-caption{font-size:.8rem}.setup-panel{width:100%;max-width:410px;padding:25px}.setup-panel h2{font-size:2.25rem}.setup-details{font-size:.75rem}.site-footer{padding:18px 20px 25px;text-align:center;justify-content:center}.site-footer>span:first-child{display:none}.game{padding:14px 20px 8px}.game-top{gap:8px}.meter-label{font-size:.75rem}.pips{gap:4px}.pip{width:10px;height:10px}.game-layout{display:flex;flex-direction:column;gap:18px;margin-top:13px}.turn-meta{text-align:center}.turn-meta .eyebrow{font-size:.75rem}.turn-meta h1{font-size:2.2rem;margin:5px 0 0}.turn-meta .muted{display:none}.turn-counter{margin-top:6px;font-size:.75rem}.card-area{max-width:min(66vw,270px)}.card-back-title{font-size:3.9rem}.card-back-star{font-size:2.5rem;margin-bottom:15px}.card-hint{margin-top:17px;font-size:.75rem}.turn-actions{max-width:380px}.rule-copy{text-align:center;font-size:1rem;line-height:1.5}.turn-actions .primary{margin-top:15px}.turn-actions label{margin-top:13px}.waiting-copy{font-size:1rem}.quiet-action{padding:13px}.rule-strip{margin-top:18px}.corrected-rule{font-size:.8rem}.end-screen{margin:35px auto}.end-screen h1{font-size:3.7rem}.setup-screen #players-inputs{max-height:240px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.card-area{user-select:none;-webkit-user-select:none}

/* The played card leaves a real face-down deck underneath it. */
.card-underlay{z-index:0}
.card-rotator{z-index:1}
.deck.departing{pointer-events:none}
.deck.departing .card-rotator{animation:card-away .52s cubic-bezier(.45,0,.2,1) forwards}
.turn-actions.departing{opacity:0;transition:opacity .18s}
.deck.settling{animation:deck-settle .24s ease-out}
@keyframes card-away{0%{transform:rotateY(180deg);opacity:1}35%{opacity:1}100%{transform:translate3d(-120vw,-8vh,0) rotate(-19deg) rotateY(180deg);opacity:0}}
@keyframes deck-settle{from{transform:scale(.98) rotate(-2deg)}to{transform:scale(1) rotate(-2deg)}}
body{overflow-x:clip}
.turn-buttons{display:flex;align-items:center;gap:12px;margin-top:18px}
.turn-buttons .primary{margin-top:0;flex:1}
.turn-buttons .quiet-action{min-height:48px;padding:12px;flex:none;margin:0}

/* One mobile viewport: artwork takes the space left after readable controls. */
@media(max-width:580px){
  body{height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);padding-top:env(safe-area-inset-top);overflow-y:hidden}
  .site-header{width:100%;padding:6px 18px;min-height:52px}
  .site-header .text-button{min-height:40px;font-size:.875rem}
  .site-footer{display:none}
  #app{min-height:0;overflow:auto;overscroll-behavior:contain}
  .game{height:100%;min-height:0;display:grid;grid-template-rows:40px minmax(0,1fr);padding:0 18px max(12px,env(safe-area-inset-bottom));overflow:clip}
  .game-top{gap:12px;min-height:40px}
  .game-top .text-button{min-height:40px;font-size:.875rem}
  .game-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:12px;margin-top:4px;min-height:0}
  .turn-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:end;text-align:left}
  .turn-meta .eyebrow{grid-column:1/-1;font-size:.75rem;letter-spacing:.14em}
  .turn-meta h1{font-size:2rem;line-height:1.1;margin:3px 0 0;overflow-wrap:anywhere}
  .turn-counter{font-size:.75rem;margin:0 0 3px;white-space:nowrap}
  .game-layout .card-area{grid-column:auto;grid-row:auto;width:100%;max-width:none;min-height:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr) 20px;gap:10px;justify-items:center;align-items:center;margin:0}
  .deck{height:100%;width:auto;max-width:76vw;max-height:105vw;aspect-ratio:182/253;container-type:inline-size}
  .card-hint{margin:0;min-height:0;font-size:.75rem;line-height:20px}
  .card-back{border-width:7px}
  .card-back-title{font-size:26cqw}
  .card-back-star{font-size:18cqw;margin-bottom:7cqw}
  .card-back .small-star{font-size:12cqw;margin-top:8cqw}
  .back-top,.back-bottom{font-size:4.2cqw;letter-spacing:.12em}
  .back-top{top:7cqw}.back-bottom{bottom:7cqw}
  .corrected-rule{font-size:5cqw;line-height:1.06;padding:2px 6px}
  .turn-actions{width:100%;max-width:none;min-height:208px;display:flex;flex-direction:column;justify-content:flex-end}
  .rule-copy{font-size:1rem;line-height:1.4;text-align:center}
  .rule-copy h2{display:none}
  .turn-actions .primary{margin:0;min-height:50px;padding:13px 18px;font-size:1rem}
  .turn-buttons{gap:8px;margin-top:12px}
  .turn-buttons .quiet-action{font-size:.875rem;padding:12px;min-width:56px}
  .card-interaction{display:flex;gap:10px;align-items:center;margin-top:10px}
  .card-interaction label{flex:0 0 84px;font-size:.875rem;line-height:1.3;margin:0}
  .card-interaction select,.card-interaction textarea{flex:1;min-width:0;min-height:46px;padding:10px;font-size:1rem}
  .card-interaction textarea{height:58px;resize:none}
  .waiting-copy{font-family:inherit;font-style:normal;font-size:.875rem;line-height:1.4;padding:2px 0 8px}
  .waiting-copy{margin:auto}.waiting-copy br{display:none}
  .rule-strip{display:none}
  .action-error{margin-top:6px;font-size:.875rem}
  .setup-screen{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:16px;padding:20px 20px max(16px,env(safe-area-inset-bottom))}
  .intro .eyebrow,.intro-caption,.intro h1{display:none}
  .card-fan{height:145px;margin:0 auto;width:220px}
  .card-fan img{width:91px;left:calc(50% - 45px)}
  .setup-panel{min-height:0;max-width:420px;width:100%;justify-self:center;display:flex;flex-direction:column;padding:22px}
  .setup-panel h2{font-size:2.1rem;margin:8px 0}
  .setup-panel .muted{font-size:1rem}
  #setup-form{display:flex;flex-direction:column;min-height:0;flex:1}
  .setup-screen #players-inputs{min-height:54px;max-height:none;overflow:auto;flex:1;align-content:start;margin-top:16px}
  .add-player{align-self:flex-start;padding:12px 3px;min-height:44px}
  .setup-panel .primary{flex-shrink:0;min-height:50px;padding:14px 18px}
  .setup-details{padding-top:14px}
  .end-screen{height:100%;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}
  .end-screen h1{font-size:3.4rem;margin:14px 0}
  .end-screen img{width:min(140px,20dvh);margin:8px 0 20px}
  .end-screen .primary{margin-top:20px}
  dialog{max-height:calc(100dvh - 32px);padding:24px}
}
@media(max-width:580px) and (max-height:710px){
  .setup-screen{padding-top:10px;gap:10px}.card-fan{height:100px}.card-fan img{width:64px;left:calc(50% - 32px)}
  .card-fan img:first-child{transform:translate(-43px,5px) rotate(-16deg)}.card-fan img:last-child{transform:translate(43px,5px) rotate(15deg)}
  .setup-panel{padding:18px}.game-layout{gap:8px}.turn-meta h1{font-size:1.75rem}.turn-buttons{margin-top:8px}
}
/* When a keyboard or enlarged text needs more space, scroll rather than hide content. */
@media(max-width:580px) and (max-height:560px){
  .game{min-height:640px}.setup-screen{min-height:500px}
}
@media(prefers-reduced-motion:reduce){.deck.departing .card-rotator,.deck.settling{animation:none}.turn-actions.departing{transition:none}}

.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.exit-game{border:1px solid #f8e8c760;border-radius:4px;padding:8px 12px;min-height:40px;white-space:nowrap}
@media(max-width:580px){.site-header{gap:12px}.header-actions{gap:10px}.site-header .wordmark{white-space:nowrap}.header-actions #how-button span{display:none}}

/* Card-first table: a single toolbar, full-size artwork, one clear primary action. */
body[data-screen="game"]{height:100dvh;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);padding-top:env(safe-area-inset-top);overflow:hidden}
body[data-screen="game"] .site-header,body[data-screen="game"] .site-footer{display:none}
body[data-screen="game"] #app{min-height:0;overflow:auto;overscroll-behavior:contain}
body[data-screen="game"] .game{width:100%;max-width:560px;height:100%;min-height:0;margin:0 auto;padding:0 20px max(12px,env(safe-area-inset-bottom));display:grid;grid-template-rows:44px minmax(0,1fr);overflow:clip}
.game .game-top{gap:8px;min-height:44px}
.game .game-top .text-button{font-size:.875rem;min-height:44px;white-space:nowrap;padding:8px 0}
.game .pint-meter{gap:7px}.game .meter-label{font-size:.75rem}.game .pips{gap:4px}.game .pip{width:9px;height:9px}
.game .game-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) 100px;min-height:0;margin-top:0;gap:8px}
.game .turn-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;text-align:left}
.game .turn-meta .eyebrow{grid-column:1;font-size:.75rem;letter-spacing:.12em}
.game .turn-meta h1{grid-column:1;font-size:1.9rem;line-height:1.1;margin:0;overflow-wrap:anywhere}
.game .turn-counter{grid-column:2;grid-row:1/3;font-size:.8rem;white-space:nowrap;margin:0}
.game .turn-meta .muted,.game .card-hint,.game .rule-strip{display:none}
.game .game-layout .card-area{grid-column:1;grid-row:2;display:flex;align-items:center;justify-content:center;min-height:0;height:100%;width:100%;max-width:none;margin:0;padding:6px 8px 10px}
.game .deck{height:min(100%,calc((100vw - 56px) * 1.391));width:auto;max-width:100%;max-height:100%;aspect-ratio:181.4/252.3;container-type:inline-size}
.game .card-back-title{font-size:26cqw}.game .card-back-star{font-size:18cqw;margin-bottom:7cqw}.game .card-back .small-star{font-size:12cqw;margin-top:8cqw}
.game .back-top,.game .back-bottom{font-size:4.2cqw;letter-spacing:.12em}.game .back-top{top:7cqw}.game .back-bottom{bottom:7cqw}
.game .corrected-rule{font-size:5cqw;line-height:1.06;padding:2px 6px}
.game .turn-actions{grid-column:1;grid-row:3;min-height:0;max-width:none;width:100%;margin:0;display:flex;flex-direction:column;justify-content:flex-end}
.game .rule-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.action-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:40px}
.action-tools .text-button{font-size:.875rem;padding:10px 0;min-height:40px;color:#eed5ba}
.draw-hint{font-size:.875rem;color:#eed5ba;text-align:center;width:100%}
.game .turn-buttons{width:100%;margin-top:4px;display:block}
.game .turn-actions .primary{width:100%;margin:0;min-height:56px;border-radius:8px;background:#ffbd59;color:#361218;padding:15px 22px;font-size:1.125rem;font-weight:800;border:1px solid #ffcf85;box-shadow:0 4px 0 #bb6c21,0 7px 16px #220b1526}
.game .turn-actions .primary:hover{background:#ffce80}
.game .turn-actions .primary:active{transform:translateY(2px);box-shadow:0 2px 0 #bb6c21}
.game .turn-actions .primary:focus-visible{outline-color:var(--paper)}
.large-rule{font-size:1.3rem;line-height:1.6}
.choice-form{display:grid;gap:12px}.choice-form label{font-size:1rem}.choice-form select,.choice-form textarea{width:100%;font-size:1rem;padding:13px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink)}
.choice-form textarea{min-height:110px;resize:vertical}.choice-error{color:var(--red);font-size:.9rem}.choice-error:empty{display:none}
@media(max-width:360px){.game .meter-label{display:none}.game .turn-meta h1{font-size:1.7rem}}
@media(max-height:560px){body[data-screen="game"] .game{min-height:580px}}
