body{font-family:Nunito Sans,Noto Sans SC,sans-serif}.score-main,.scoring-layout>aside{min-width:0}.leaderboard>.section-title,.score-panel>.section-title{flex-wrap:wrap}.brand-tile{position:relative;overflow:hidden;padding:2px}.brand-tile img{position:absolute;inset:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:contain;border-radius:0}.tile-scene{gap:8px}.art-tile{flex:0 0 76px}.tile-scene .tile-two{position:relative;display:grid;place-items:center;padding:0;overflow:hidden}.tile-scene .tile-one{transform:rotate(-10deg)}.tile-scene .tile-two{transform:none}.tile-scene .tile-three{transform:rotate(10deg)}.tile-scene .art-tile{width:76px;height:104px;flex-basis:76px}.tile-two img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain;border-radius:0}.tile-one,.tile-three{color:#176653}.tile-scene .art-tile:not(.tile-two){font-family:"Noto Serif TC",serif}.tile-scene .tile-one,.tile-scene .tile-three{font-size:52px}.mahjong-table-stage{--table-size:238px;--seat-height:78px;position:relative;width:100%;max-width:760px;height:calc(var(--table-size) + var(--seat-height));margin:8px auto 18px}.mahjong-felt{position:absolute;z-index:0;width:var(--table-size);height:var(--table-size);left:50%;top:calc(var(--seat-height) / 2);transform:translateX(-50%);display:block}.mahjong-felt .table-artwork{display:block;width:100%;height:100%;object-fit:fill}.mahjong-felt .table-bird-mark{position:absolute;left:50%;top:50%;width:28px;height:40px;object-fit:contain;display:block;transform:translate(-50%,-50%)}.seat-label{position:absolute;z-index:2;box-sizing:border-box;border:1px solid #dbad8f;border-radius:14px;background:#fff1d5;color:#233d38;padding:6px 12px;width:var(--seat-width,132px);max-width:none;height:var(--seat-height);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;box-shadow:0 2px 0 #dfb89b;font:inherit;text-align:center;line-height:1.22}button.seat-label{cursor:pointer}button.seat-label:hover:not(:disabled){border-color:#084f48}button.seat-label:disabled{opacity:1;cursor:default}.seat-label.is-selected{color:#fff1d5;background:#084f48;border-color:#084f48;box-shadow:0 2px 0 #063f39,0 0 0 2px #ffc4a2}.seat-label-number{width:100%;display:flex;align-items:center;justify-content:center;gap:5px;color:#668075;font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap}.seat-label-name{display:block;width:100%;font-family:Nunito Sans,Noto Sans SC,system-ui,sans-serif;font-size:18px;font-weight:500;line-height:1.16;white-space:nowrap}.seat-label-name.legacy-name{white-space:normal;overflow-wrap:anywhere}.seat-label-points{display:block;color:#688077;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.seat-label.is-selected .seat-label-number,.seat-label.is-selected .seat-label-points{color:#d6e6cf}.seat-selection-slot{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px}.seat-2{left:50%;top:0;transform:translateX(-50%)}.seat-3{left:calc(50% - var(--table-size) / 2 - var(--seat-width) / 2)}.seat-1,.seat-3{top:50%;transform:translateY(-50%)}.seat-1{left:calc(50% + var(--table-size) / 2 - var(--seat-width) / 2)}.seat-0{left:50%;bottom:0;transform:translateX(-50%)}.round-progress{font-size:13px;color:#547064;background:#edf0e5;border-radius:20px;padding:6px 11px;font-weight:700;white-space:nowrap}.stats .stats-total-hands strong{display:block;margin:0 0 3px;font-size:clamp(26px,3vw,30px);line-height:1.05}.stats .stats-total-hands small{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:#697870}.method-picker[role=group]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 20px}.method-picker[role=group] button{min-width:0;min-height:96px;display:grid;grid-template-rows:22px 1fr 20px;justify-items:center;align-items:center;gap:4px;padding:9px 6px;border:1px solid #d0dace;border-radius:12px;background:#fffdf7;color:#084f48;text-align:center}.method-picker[role=group] button.selected{background:#edf2e5;border-color:#084f48}.method-picker[role=group] button:disabled{cursor:not-allowed}.method-icon,.method-indicator{width:20px;height:20px;display:flex;align-items:center;justify-content:center}.method-copy{min-width:0;width:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}.method-copy strong{display:block;font-size:15px;line-height:1.2;font-weight:800;white-space:nowrap}.method-copy small{display:block;font-size:12px;font-weight:500;color:#697870;line-height:1.2;margin-top:4px;white-space:normal}.method-picker[role=group] button:focus-visible{outline:3px solid #e87959;outline-offset:3px}.seat-label:focus-visible{outline:2px solid #e87959;outline-offset:2px}.modal fieldset{min-width:0;border:0;padding:0;margin:0}.nickname-counter{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#697870;margin-top:5px;font-weight:500}.nickname-counter.error,.nickname-error{color:#a34c37}.nickname-error{margin:5px 0 0;font-size:13px}.round-limit-choices{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 4px}.round-limit-choices label{display:flex;align-items:center;gap:7px;margin:0;padding:9px 12px;border:1px solid #cdd8ce;border-radius:10px;background:#fffdf7;font-size:14px}.round-limit-choices input{width:16px;min-height:16px;margin:0;accent-color:#084f48}.table-option-wrap{position:relative;min-width:0}.table-option-wrap .table-option{width:100%;height:100%;padding-right:54px}.table-delete{position:absolute;right:13px;top:13px;z-index:2}.table-delete:hover{color:#a34c37;background:#fff0e9}.ref-code-row{display:flex;align-items:center;gap:10px}.ref-code-row code{min-width:128px;letter-spacing:3px;font-size:16px}.history .audit-detail{display:block;color:#745747;white-space:normal}.history tr.corrected td{background:#fbf2e5}.history .result-draw{font-weight:700;color:#6c766e}.history .hand-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.history .hand-actions button{font-size:12px}.seat-inputs input{text-overflow:clip}.scoring-confirm-summary{background:#edf2e7;border-radius:14px;padding:14px 16px}.radio-hint{color:#697870;font-size:13px;margin:6px 0}.leaderboard{min-width:0}.leaderboard .standings-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end;padding:14px 4px 0;border-radius:14px;background:linear-gradient(180deg,#fff8e9,#f8eee0)}.leaderboard .podium-entry{min-width:0;display:flex;flex-direction:column;align-items:stretch;text-align:center}.leaderboard .podium-name{min-width:0;min-height:3.3em;display:flex;align-items:flex-end;justify-content:center;margin:0 auto 5px;width:100%;color:#233d38;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;word-break:normal}.leaderboard .podium-rank{min-height:22px;margin-bottom:5px;color:#547064;font-size:12px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}.leaderboard .podium-bar{box-sizing:border-box;min-width:0;height:110px;flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 3px;border:1px solid #d7cfc0;border-bottom:0;border-radius:10px 10px 3px 3px;background:#f5d9c7;color:#084f48}.leaderboard .podium-bar[data-rank="1"]{height:220px;background:#084f48;color:#fff1d5;border-color:#084f48}.leaderboard .podium-bar[data-rank="2"]{height:165px;background:#d9e6d9}.leaderboard .podium-bar[data-rank="3"]{height:110px;background:#f5d9c7}.leaderboard .podium-points{font-family:Bricolage Grotesque,Noto Sans SC,system-ui,sans-serif;font-size:clamp(26px,6vw,32px);font-variant-numeric:tabular-nums;font-weight:750;line-height:1.25;overflow-wrap:anywhere}.leaderboard .podium-table{font-size:12px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.leaderboard .podium-points-unit{font-size:12px;line-height:1.4;font-weight:600}.leaderboard .standings-status{margin:-6px 0 10px;color:#547064;font-size:12px;line-height:1.4}.leaderboard .standings-awaiting{margin:14px 0 8px;color:#547064;font-size:14px}.leaderboard .standings-list{list-style:none;margin:14px 0 0;padding:0;border-top:1px solid #e5e3d8}.leaderboard .standings-row{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) 88px 44px;align-items:center;gap:8px;padding:10px 2px;border-bottom:1px solid #e9eade;color:#233d38;font-size:14px}.leaderboard .standings-rank{color:#547064;font-size:14px;font-weight:750}.leaderboard .standings-name{min-width:0;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.leaderboard .standings-table{color:#697870;font-size:14px;white-space:nowrap;text-align:center}.leaderboard .standings-points{color:#084f48;font-size:17px;font-variant-numeric:tabular-nums;text-align:right}.leaderboard .standings-timing-note{margin:12px 0 0;padding:9px 11px;border-radius:9px;background:#fff0e6;color:#834c39;font-size:13px;font-weight:650;line-height:1.4}.leaderboard .standings-footnote{margin:16px 0 0;font-size:12px;line-height:1.55}@media(max-width:380px){.leaderboard .standings-podium{gap:5px;padding-right:1px;padding-left:1px}.leaderboard .podium-name{font-size:14px}.leaderboard .standings-row{gap:5px}}@media(max-width:800px){.scoring-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:700px){.mahjong-table-stage{--seat-height:62px;width:calc(100% + 16px);max-width:none;margin:8px -8px 18px}.seat-label{padding:3px 6px}.seat-label-name{font-size:14px;font-weight:500;line-height:1.5}.seat-label-number{font-size:11px}.mahjong-felt .table-bird-mark{width:22px;height:32px}.modal .method-picker[role=group] button,.score-panel .method-picker[role=group] button{min-height:94px;padding:8px 4px}.method-copy strong{font-size:14px}.method-copy small{font-size:11px}.table-option-wrap .table-option{padding-right:48px}}@media(max-width:380px){.mahjong-table-stage{width:calc(100vw - 8px);margin-right:0;margin-left:calc((100% - (100vw - 8px)) / 2)}.score-panel{padding:12px}}