.learning-rules,.learning-odds,.learning-hand-help,.learning-end,.learning-qr,.practice-island{font-family:var(--kit-font-ui,system-ui);color:var(--kit-ink);font-variant-numeric:tabular-nums}.learning-rules{gap:var(--kit-space-5);grid-template-columns:minmax(160px,.8fr) minmax(0,1.7fr);align-items:start;display:grid}.learning-rules nav{gap:var(--kit-space-2);overscroll-behavior:contain;flex-direction:column;max-height:52vh;padding:2px 4px 5px;display:flex;overflow:auto}.learning-rules nav .kit-button{text-align:left;width:100%;font-size:var(--kit-text-small);justify-content:flex-start}.learning-rules article{min-width:0;padding:var(--kit-space-4) 0}.learning-rules h3{font-size:var(--kit-text-title);line-height:var(--kit-leading-tight);margin:var(--kit-space-5) 0 var(--kit-space-3)}.learning-rules p,.learning-odds p,.learning-end p{line-height:var(--kit-leading-body)}.learning-picture{justify-content:center;align-items:center;gap:var(--kit-space-4);background:var(--kit-paper-sunken);border-radius:var(--kit-radius-sm);min-height:100px;display:flex}.learning-diagram{width:100%;height:100px;display:block;overflow:visible}.learning-diagram text{font-family:inherit;font-size:20px;font-weight:700}.learning-odds,.learning-end{text-align:center;padding:var(--kit-space-4) var(--kit-space-4) var(--kit-space-5)}.learning-number{color:var(--kit-ink);font-size:4rem;line-height:1.15}.learning-number[data-hot=true]{color:var(--kit-danger)}.learning-pips{margin:var(--kit-space-3);justify-content:center;gap:7px;display:flex}.learning-pips i{background:var(--kit-ink);border-radius:50%;width:9px;height:9px}.learning-odds small{max-width:36ch;margin:var(--kit-space-5) auto 0;color:var(--kit-ink-secondary);line-height:1.5;display:block}.learning-warning{color:var(--kit-danger);font-weight:600}.learning-help{font-family:var(--kit-font-ui,system-ui);padding:7px 12px;font-size:20px}.learning-hand-help{font-size:var(--kit-text-small);padding:var(--kit-space-2) var(--kit-space-3);background:var(--kit-paper-raised);border:1px solid var(--kit-gold-edge);border-radius:var(--kit-radius-control);box-shadow:var(--kit-shadow-paper)}.learning-income{margin:0 0 var(--kit-space-2);color:var(--kit-ink-secondary)}.learning-hint{justify-content:space-between;align-items:center;gap:var(--kit-space-2);border-top:1px solid var(--kit-line);padding:var(--kit-space-2) 0;display:flex}.learning-hint .kit-button{font-size:var(--kit-text-small);padding:6px 10px}.learning-setup-hint{margin:0 0 var(--kit-space-2)}.learning-qr{text-align:center;align-items:center;gap:var(--kit-space-4);flex-direction:column;display:flex}.learning-qr svg{border:1px solid var(--kit-line);border-radius:var(--kit-radius-sm);width:min(256px,100%);height:auto}.learning-qr strong{font-size:var(--kit-text-title);letter-spacing:.12em}.learning-qr a{overflow-wrap:anywhere;max-width:100%;color:var(--kit-focus)}.learning-qr-trigger{font-family:var(--kit-font-ui,system-ui);font-size:var(--kit-text-small)}@media (max-width:600px){.learning-rules{gap:var(--kit-space-3);grid-template-columns:minmax(0,1fr)}.learning-rules nav{white-space:nowrap;scroll-snap-type:x proximity;flex-direction:row;max-height:none;padding-bottom:8px;overflow-x:auto}.learning-rules nav .kit-control{scroll-snap-align:start;flex:none}.learning-rules article{padding-top:0}.learning-rules h3{margin-top:var(--kit-space-3)}.learning-hint{align-items:flex-start}.learning-income{font-size:12px}.learning-hint>span{padding-top:6px}.learning-hand-help{padding:0 var(--kit-space-2)}.game-header>div .learning-help{min-width:44px;min-height:44px}}.practice-island{max-width:600px;margin:auto}.practice-progress{color:var(--kit-ink-secondary);justify-content:space-between;gap:8px;font-size:11px;display:flex}.practice-progress span{text-align:center;flex-direction:column;align-items:center;gap:5px;min-width:0;display:flex}.practice-progress .kit-icon{color:var(--kit-ink-secondary)}.practice-progress .reached .kit-icon{color:var(--kit-leaf-dark)}.practice-progress [aria-current=step]{color:var(--kit-ink);font-weight:700}.practice-board-wrap{width:100%;height:min(31vh,260px);margin:var(--kit-space-3) 0;position:relative}.practice-board{border-radius:var(--kit-radius-control);background:#e5ece1;width:100%;height:100%;display:block}.practice-board-target{width:44px;height:44px;position:absolute;transform:translate(-50%,-50%)}.practice-board-target .kit-control,.practice-board-target .kit-button{width:44px;min-width:44px;height:44px;min-height:44px}.practice-board-target .kit-button{padding:0}.practice-roll-result{align-items:center;gap:var(--kit-space-2);display:flex}.practice-roll-result>span{font-size:var(--kit-text-small);color:var(--kit-ink-secondary)}.practice-instruction h3{font-size:var(--kit-text-title);margin:0 0 var(--kit-space-2)}.practice-instruction p{margin:0 0 var(--kit-space-3);line-height:1.45}.practice-step-label{color:var(--kit-ink-secondary);font-size:var(--kit-text-small)}.practice-controls{justify-content:flex-start;align-items:center;gap:var(--kit-space-3);border-top:1px solid var(--kit-line);padding:var(--kit-space-4) 0 var(--kit-space-2);flex-wrap:wrap;min-height:64px;display:flex}.practice-controls>p{margin:0}.practice-collected{align-items:center;gap:var(--kit-space-3);flex-wrap:wrap;display:flex}.practice-collected>span:last-child{font-size:var(--kit-text-small);color:var(--kit-ink-secondary)}.practice-done{color:var(--kit-leaf-dark);font-weight:600}.practice-complete{padding:var(--kit-space-6) 0;line-height:1.5}.practice-complete>strong{font-size:var(--kit-text-title)}.home-panel .learning-practice-entry{width:100%;margin-top:var(--kit-space-4);display:block}.home-panel .learning-practice-entry .kit-button{width:100%}@media (max-width:600px){.practice-board-wrap{height:220px;margin-top:var(--kit-space-3)}.practice-progress{gap:4px;font-size:10px}.practice-controls{gap:var(--kit-space-2);padding-top:var(--kit-space-3)}.practice-instruction h3{font-size:21px}.practice-instruction p,.practice-controls .kit-button{font-size:14px}.practice-controls .kit-control-reason{font-size:12px}}.practice-complete strong{font-family:var(--kit-font-display);font-weight:var(--kit-weight-display)}.board-target[data-setup-heat]:not(.build-illegal)>span{--heat-emphasis:var(--setup-heat);outline:2px solid var(--kit-gold-edge);outline-offset:2px;background:color-mix(in srgb, var(--kit-gold) calc(var(--heat-emphasis) * 100%), var(--kit-wood));box-shadow:0 0 calc(16px * var(--heat-emphasis)) calc(4px * var(--heat-emphasis)) var(--kit-gold)}.board-target[data-setup-heat].selected>span{background:var(--kit-primary)}.learning-setup-hint{font-size:var(--kit-text-small);line-height:var(--kit-leading-body)}.learning-tools{z-index:45;position:absolute;top:76px;left:20px}@media (max-width:650px){.learning-tools{top:146px;left:12px}}.learning-card-navigation{display:none}@media (max-width:600px){.learning-hand-help{padding:var(--kit-space-2)}.learning-card-navigation{justify-content:space-between;align-items:center;gap:8px;padding-top:12px;display:flex}.learning-card-navigation>span{white-space:nowrap;font-size:var(--kit-text-small)}.learning-rule-previous .kit-icon{transform:rotate(180deg)}}@media (max-width:700px) and (orientation:portrait){.hearth-turn .learning-tools{top:var(--turn-rail-bottom,calc(var(--phone-top) + 220px))}}.game.hearth-turn .dock-help-overlay .compact-coach-trigger{background:var(--kit-paper-raised);border:1px solid var(--kit-gold-edge);box-shadow:var(--kit-shadow-paper)}.practice-island [data-kit-icon=dice]>path{stroke:var(--kit-ink)}.practice-progress .kit-development-art{flex:none;width:28px;height:22px;display:block}.lobby-win-tally{font-family:var(--kit-font-ui,system-ui);font-size:var(--kit-text-caption);letter-spacing:0;white-space:nowrap;align-items:center;display:inline-flex}.lobby-win-tally>span{align-items:center;gap:var(--kit-space-1);display:inline-flex}.players-card .lobby-seats .lobby-player-name{overflow-wrap:anywhere;flex-wrap:wrap;min-width:0}.house-rules-panel{min-width:0;color:var(--kit-ink)}.house-rules-panel>.kit-card{padding:var(--kit-space-5);border-width:2px;border-color:var(--kit-gold-edge);border-radius:var(--kit-radius-sheet)}.house-rules-heading{justify-content:space-between;align-items:center;gap:var(--kit-space-3);display:flex}.house-rules-eyebrow{font-size:var(--kit-text-caption);letter-spacing:.12em;font-weight:var(--kit-weight-action);color:var(--kit-ink-secondary)}.house-rules-heading h2{margin:var(--kit-space-1) 0 0;font-family:var(--kit-font-ui);font-size:var(--kit-text-title);line-height:var(--kit-leading-tight)}.house-rules-summary{font-size:var(--kit-text-body);margin:var(--kit-space-4) 0 var(--kit-space-2)}.house-rules-note{font-size:var(--kit-text-small);color:var(--kit-ink-secondary);line-height:var(--kit-leading-body);margin:var(--kit-space-2) 0 var(--kit-space-4)}.house-rules-presets,.house-rules-choices{gap:var(--kit-space-2);flex-wrap:wrap;display:flex}.house-rules-presets>.kit-control{flex:1}.house-rules-options{outline-offset:4px}.house-rules-options fieldset{padding:var(--kit-space-4) 0;border:0;border-top:1px solid var(--kit-line);min-width:0;margin:0}.house-rules-options legend{font:inherit;font-weight:var(--kit-weight-heading);font-size:var(--kit-text-body);padding:var(--kit-space-3) 0 0;float:left;width:100%}.house-rules-options fieldset>p{clear:both;font-size:var(--kit-text-small);color:var(--kit-ink-secondary);margin:var(--kit-space-2) 0 var(--kit-space-3)}.house-rules-choices .kit-button{min-width:60px}.house-rules-readout{margin:0}.house-rules-readout>div{padding-block:var(--kit-space-4);border-bottom:1px solid var(--kit-line)}.house-rules-readout>div:first-child{padding-top:0}.house-rules-readout>div:last-child{border:0;padding-bottom:0}.house-rules-readout dt{font-weight:var(--kit-weight-heading);margin-bottom:var(--kit-space-2)}.house-rules-readout dd{margin:0}.house-rules-readout p{color:var(--kit-ink-secondary);font-size:var(--kit-text-small);margin:var(--kit-space-2) 0 0}.house-rules-game{align-items:center;gap:var(--kit-space-2);width:100%;min-width:0;max-width:100%;margin-bottom:var(--kit-space-2);display:flex}.house-rules-game>.kit-control{flex:none}.house-rules-game-window{flex:1;min-width:0;position:relative;overflow:hidden}.house-rules-game-window:after,.house-rules-game-window[data-more=true]:after{content:none}.house-rules-game-strip{gap:var(--kit-space-2);overscroll-behavior-x:contain;scrollbar-color:var(--kit-wood) var(--kit-paper-sunken);scrollbar-width:none;min-width:0;max-width:100%;padding-block:var(--kit-space-1);padding-inline-end:var(--kit-space-5);display:flex;overflow-x:auto}.house-rules-game-strip::-webkit-scrollbar{display:none}.house-rules-game-strip .kit-badge{white-space:nowrap;flex:none;max-width:none}.house-rules-game-strip .kit-badge>span{white-space:nowrap;flex:none;overflow:visible}.house-rules-game .kit-button{font-size:var(--kit-text-small)}@media (min-width:1000px){.lobby-scroll>.house-rules-panel{grid-column:1/-1}}@media (max-width:600px){.house-rules-panel>.kit-card{padding:var(--kit-space-4)}}.systems-sheet,.systems-log{color:var(--kit-ink);font-family:var(--kit-font-ui)}.systems-sheet p,.systems-log p{line-height:var(--kit-leading-body)}.systems-sheet h3,.systems-log h3{font-family:var(--kit-font-display);font-weight:400}.systems-purchase,.systems-log-filters{align-items:center;gap:var(--kit-space-3);margin-bottom:var(--kit-space-4);flex-wrap:wrap;display:flex}.systems-note{color:var(--kit-ink-secondary);margin-block:var(--kit-space-5)}.systems-devcards{gap:var(--kit-space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.systems-devcard{min-width:0;animation:systems-reveal var(--kit-time-enter) var(--kit-ease-enter) both}.systems-devcard .kit-card{flex-direction:column;height:100%;display:flex}.systems-devcard .kit-card>div{flex:1}.systems-devcard .kit-control{width:100%}.systems-card-art{min-height:108px;margin-bottom:var(--kit-space-4);border-block:1px solid var(--kit-gold);background:var(--kit-paper-sunken);justify-content:center;align-items:center;display:flex;position:relative}.systems-count{align-items:baseline;gap:var(--kit-space-2);font-variant-numeric:tabular-nums;display:flex}.systems-count strong{font-family:var(--kit-font-display);font-size:2.5rem;font-weight:400}.systems-resource-list{gap:var(--kit-space-4);margin-block:var(--kit-space-4);display:grid}.systems-resource-row{align-items:start;gap:var(--kit-space-2);padding-block:var(--kit-space-2);border-bottom:1px solid var(--kit-line);grid-template-columns:auto minmax(0,1fr) 72px 72px;display:grid}.systems-resource-name{text-transform:capitalize;font-weight:var(--kit-weight-heading)}.systems-resource-name small,.systems-victim small,.systems-pickers small{font-size:var(--kit-text-small);margin-top:var(--kit-space-1);font-weight:400;display:block}.systems-resource-row .kit-control-reason{font-size:var(--kit-text-caption);overflow-wrap:anywhere}.systems-discard .systems-resource-list{gap:4px;margin:0}.systems-discard .systems-resource-row{grid-template-columns:52px minmax(0,1fr) 64px 64px;align-items:center;gap:8px;padding-block:4px}.systems-discard .kit-resource{justify-content:center;padding:0;position:relative}.systems-discard .kit-resource>img{width:36px;height:48px}.systems-discard .kit-resource>strong{border-radius:var(--kit-radius-control);background:var(--kit-paper-raised);padding-inline:4px;position:absolute;bottom:0;right:0}.systems-discard .kit-control{align-items:center;gap:2px}.systems-discard .kit-button{width:44px;min-width:44px;height:44px;min-height:44px}.systems-discard .kit-control-reason{text-align:center;line-height:1.2}.systems-discard-footer{width:100%;min-width:0}.systems-discard-footer .systems-count{margin:0 0 8px}.systems-discard-footer .systems-count strong{font-size:1.5rem}.systems-discard-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.systems-discard-actions .kit-button{width:100%;min-height:44px;padding-inline:8px}.systems-victims,.systems-pickers{gap:var(--kit-space-4);display:grid}.systems-victims>.kit-control,.systems-pickers>.kit-control,.systems-victims .kit-button>span{width:100%}.systems-victim{align-items:center;gap:var(--kit-space-5);text-align:left;padding:var(--kit-space-2);display:flex}.systems-pickers .kit-button>span{gap:var(--kit-space-4);text-align:left;align-items:center;width:100%;display:flex}.systems-waiting{bottom:calc(var(--dock-h,230px) + 12px);z-index:6;max-width:calc(100% - 24px);position:absolute;left:50%;transform:translate(-50%)}.systems-private-reveal{bottom:calc(var(--dock-h,230px) + 16px);z-index:20;max-width:calc(100% - 24px);position:fixed;left:12px}.systems-card-flip{align-items:center;gap:var(--kit-space-3);animation:systems-flip var(--kit-time-enter) var(--kit-ease-enter);display:flex}.connection.systems-connection{text-align:center;border:2px solid var(--kit-gold-edge);border-radius:var(--kit-radius-control);background:var(--kit-paper-raised);color:var(--kit-ink);box-shadow:var(--kit-shadow-card);padding:var(--kit-space-4);display:block}.systems-connection p{margin:var(--kit-space-2) 0 0}.systems-log-filters{background:var(--kit-paper);padding:var(--kit-space-2);z-index:1;position:sticky;top:0}.systems-log-group{margin-block:var(--kit-space-5)}.systems-log-group ol,.systems-private-log ul{gap:var(--kit-space-3);margin:0;padding:0;list-style:none;display:grid}.systems-log-group li>.kit-control{width:100%}.systems-log-row{align-items:center;gap:var(--kit-space-3);text-align:left;width:100%;min-height:44px;display:flex}.systems-log-row>.portrait{flex:none;margin:4px}.systems-log-row>span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.systems-log-row .kit-resource{display:inline-flex}.systems-log-row .kit-badge{font-size:var(--kit-text-caption)}.systems-private-log{border-top:1px solid var(--kit-line);margin-top:var(--kit-space-5);padding-top:var(--kit-space-4)}.systems-highlight{z-index:8;flex-wrap:wrap;align-items:center;gap:8px;max-width:calc(100% - 24px);display:flex;position:absolute;top:140px;left:12px}.systems-error{padding:var(--kit-space-3);background:var(--kit-paper-raised);border:2px solid var(--kit-danger);color:var(--kit-danger-dark);border-radius:var(--kit-radius-control);box-shadow:var(--kit-shadow-paper)}.systems-loading .kit-card{background:var(--kit-paper-raised);max-width:340px}.systems-blocked .kit-card{text-align:center}@keyframes systems-reveal{0%{opacity:0;transform:translateY(8px)rotate(-1deg)}to{opacity:1;transform:none}}@keyframes systems-flip{0%{transform:perspective(400px)rotateY(80deg)}to{transform:perspective(400px)rotateY(0)}}@media (max-width:599px){.systems-devcards{grid-template-columns:minmax(0,1fr)}.systems-log-row{flex-wrap:wrap}.systems-log-row>.kit-badge{margin-left:44px}.systems-highlight{top:145px}}@media (prefers-reduced-motion:reduce){.systems-devcard,.systems-card-flip{animation:none}}.reduce-motion .systems-devcard,.reduce-motion .systems-card-flip{animation:none}.actions>.kit-control{flex:1;min-width:0}.actions>.kit-control .kit-button{width:100%;height:100%;padding:10px 8px}.systems-pickers .kit-button>span>.kit-icon{width:44px;height:44px}.kit-sheet:has(.systems-sheet,.systems-log){overflow:clip}.game-header>.kit-control{flex:none}.game-header .systems-room-invite{letter-spacing:1px;font-weight:700}.game-header .systems-room-invite .kit-icon{width:16px;height:16px;margin-left:4px}.game-header>.kit-control>.kit-control-reason{max-width:calc(100% - 24px);padding:var(--kit-space-3);background:var(--kit-paper-raised);border:1px solid var(--kit-danger);border-radius:var(--kit-radius-control);position:fixed;top:140px;left:12px}@media (max-width:700px){.actions>.kit-control{flex:29%}.game.top-down .actions>.kit-control{flex:1 1 0}}@media (max-width:700px) and (orientation:portrait){.hearth-turn .systems-highlight,.hearth-turn .connection.systems-connection,.hearth-turn .game-error.systems-error{top:var(--turn-rail-bottom,calc(var(--phone-top) + 220px));margin-top:0}}.kit-development-art{flex:0 200px;width:200px;max-width:100%;height:116px;display:block}
