:root{--ink:#f2e7cd;--muted:#b5bbae;--paper:#161314;--line:#6e6040;--green:#433a3c;--gold:#dfb65b}body{background:linear-gradient(#470f1580,#470f15b8),url(/wanxiang/v3.1.0/brand/table-bg-wide.webp) 50%/cover fixed;color:var(--ink)}body:before{display:none}html body .masthead,html body .masthead.in-game{background:#4a1016f5;border-bottom:2px solid #b28b43}html body .table-status h1{color:#f4d68d}html body .table-status>small{color:#c3cabc}html body .table .sidebar .log.event-feed{background:#4f1117ed;color:#dfdfcc;border-color:#746340}html body .table .sidebar .log.event-feed p{color:#d3dfde;background:transparent}html body .table .sidebar .log.event-feed p:first-child{background:#302a2b;color:#f1e2b9}html body .tutorial-coach{background:#221e1f;color:#eee4c7;border-color:#ad8b45}html body .tutorial-coach p{color:#cfdedd}html body .physical-piles .physical-pile strong b{color:#efce81}html body .cycle-caption{color:#b8c8c7}.log.event-feed p:first-child{background:#302a2b;color:#f1e2b9}.home .card.full-face>.card-top{display:none}.music-controls>span{max-width:120px;font-size:11px}.table .player>div:not(.seat-social):not(.opponent-play){flex:1 1;min-width:90px}.masthead.in-game{background:#4a1016f5;padding:8px 18px;min-height:68px}.table-status h1{color:#f4d68d}.table-status>small{color:#c3cabc}.table .turn-controls{position:static;gap:7px}.table .turn-controls .phase-panel{padding:7px}.table .turn-controls .phase-panel p{font-size:12px;line-height:1.5}.table .turn-controls .phase-panel h2{font-size:15px;margin-bottom:4px}.table .turn-controls .action-bar button{font-size:13px;padding:8px;min-height:44px}.table .turn-controls .resources{padding:7px 0}.table .hand-header{margin-bottom:5px}.table .hand-panel .in-play{margin-top:0}.table .duration-area:not(:has(.duration-tile)){display:none}.table .player>div:not(.seat-social){min-width:0}.table .player small{font-size:12px;line-height:1.5}.table .player strong{font-size:15px}.basic-group>h3,.home-copy,.lobby>.section-title,.supply-area>.panel-title,.table .sidebar,.tutorial-page{background:#201c1ded;border-color:#816b40;color:#ede2c4}.table .sidebar{padding:0;border:0}.supply-area>.panel-title{padding:5px 8px}.basic-group>h3{padding:2px 5px}.music-popover,.music-settings summary{background:#252021;color:#e9d6ac}.music-popover small{color:#bdc9bd}button,input,select,textarea{background:#231e1f;color:#f4e7c7;border-color:#736344}button:hover:not(:disabled){background:#871e28;border-color:#e8c36c}.gold-button,.primary{background:linear-gradient(#c02a39,#8a1e29);color:#fff0bc;border-color:#c4a35a}.gold-button{background:linear-gradient(#826b35,#4c3b1c)}button:disabled{opacity:.45}.masthead{height:72px;padding:8px 18px;background:#4a1016f5;border-bottom:2px solid #b28b43;gap:12px}.brand{color:#e8c875}.header-right{gap:8px}.header-right button{font-size:13px;padding:7px 10px}.muted,.preview,small{color:#b6c1b8}.eyebrow{color:#d8b968}.chat-panel,.hand-panel,.kingdom-presets,.panel,.phase-panel,.player,.recommended-kingdoms article,.resources,.voice-panel,dialog{background:#1b1718ed;color:#efe6d1;border-color:#867043;box-shadow:0 6px 20px #0004}.panel-title h2,h2,h3{color:#f1d99b}.alert,.choice-pending,.notice{background:#45341b;color:#fff0c9}.player.active{background:linear-gradient(110deg,#342d2f,#61151d);border-color:#e4be5d;box-shadow:0 0 10px #d4af5040}.connection.online,.seat-online{color:#8fc9c6}.avatar{background:#701821;color:#e6c879;border:2px solid #b69b60}.player small{color:#c0c9c1}.table{max-width:none;padding:12px 14px;margin:0;position:relative}.table .panel-title{margin-bottom:8px}.table h2{font-size:18px}.table .supply{gap:7px}.table .supply .card.full-face{height:auto;padding:0;min-height:0}.card.full-face{box-shadow:0 4px 10px #0008}.card.full-face>.card-top{bottom:2px;left:2px;right:2px;padding:2px 4px}.card.full-face>.card-top .cost,.card.full-face>.card-top small{font-size:11px}.basic-supply{margin:10px 0!important;gap:8px!important}.basic-group h3{font-size:12px;margin:0 0 4px;color:#d6c299}.basic-group>div{gap:6px}.basic-supply .basic.short-face{border-width:1px;max-width:150px}.basic-supply .basic.short-face>small{font-size:11px}.basic-group{min-width:0}.hand-panel{margin:0;padding:10px 12px;border:1px solid #846a36;border-radius:7px}.hand-header{margin:0 0 5px}.hand-header h2{margin:0;font-size:18px}.hand-header small{color:#bbc8bd;font-size:12px}.hand-workspace{gap:12px}.hand{padding:5px 4px 10px;gap:8px;align-items:end}.hand .card.full-face{width:clamp(100px,9vw,146px);height:auto;min-width:100px;max-height:none}.hand .card:hover{z-index:2}.turn-controls{background:transparent}.resources{padding:8px 0;margin-bottom:8px}.resources b{font-size:27px;color:#f7d57e}.resources span{color:#c9d7d6;letter-spacing:0}.resources>div{border-color:#716341}.phase-panel{padding:8px;margin-bottom:8px}.phase-panel h2{font-size:15px;margin-bottom:4px}.phase-panel p{color:#bcc8c1;font-size:12px;line-height:1.5}.action-bar{gap:6px}.action-bar button{min-height:44px;font-size:13px}.turn-controls>.text-button{color:#d6c08f;font-size:12px}.hand-cards-area{display:flex;flex-direction:column;min-width:0}.in-play{order:-1;min-height:76px;padding:6px;border:1px solid #827047;background:#131011b8;margin-bottom:6px;color:#d8c290}.in-play button{padding:0;border:1px solid #a38b51;overflow:hidden;position:relative;width:48px;height:68px}.in-play button img{width:100%;height:100%;object-fit:contain}.in-play button span{position:absolute;bottom:0;left:0;right:0;background:#131111dd;font-size:10px;color:#fff0ca}.duration-area{padding:7px 0!important;margin:6px 0 0!important}.duration-area h2{font-size:14px!important}.duration-area .muted,.duration-area small{color:#bac9c8}.duration-owner{background:#221e1f!important;border-color:#6c6546!important;padding:7px!important}.duration-owner h3{font-size:13px}.duration-owner>p{margin:0;font-size:12px}.physical-piles{padding:8px!important;gap:12px}.physical-piles>.physical-pile{min-width:72px;padding:4px}.pile-layers{width:64px;height:96px}.pile-layers .card-back{padding:0;border:0;background:#511218}.card-back img,.discard-face img{width:100%;height:100%;object-fit:contain}.discard-face small{display:none}.physical-pile strong{font-size:14px}.physical-pile strong b{color:#efce81}.cycle-caption,.physical-pile>small{color:#b4c2b9;font-size:11px}.cycle-caption{line-height:1.5}.pile-hand{display:none}.cycle-arrow{font-size:24px}.sidebar .event-feed,.sidebar .log{background:#4f1117ed;border:1px solid #746340;padding:12px;border-radius:6px}.sidebar .event-feed p,.sidebar .log p{font-size:14px;line-height:1.65;color:#d3dfde;border-color:#423a3c}.event-feed time{color:#c6b790!important}.sidebar .mats{margin-top:8px;color:#d0c29f}.sidebar{min-width:0}.table .purchase-unavailable{background:transparent!important}.table .purchase-unavailable .complete-card-face{filter:saturate(.68);opacity:.85}.purchase-available{outline-color:#e5bc58!important}.hand-jump{background:#231f20;color:#e8cb87}.chat-panel{border:1px solid #97763b}.chat-panel form,.chat-panel header{background:#211c1d;color:#f3dfac}.chat-messages>div,.chat-messages>div.mine{background:#2d2729;color:#e5e9da}.chat-messages strong{color:#e9cc7f}.chat-toggle{background:#2a2425;color:#efdaa8}.voice-toolbar{background:#221d1e!important;color:#e2cca0}.seat-bubble{color:#2e2829}.kingdom-presets>summary,.kingdom-presets>summary small{color:#e0ca98}.kingdom-preset-cards,.recommended-kingdoms p{color:#c2cfc4}.card-detail p,.detail-types{color:#dfdfcf}.detail-bonuses p{background:#342d2f}.card-detail{gap:24px}.feature p,.home-copy p{color:#c4cabe}.home{padding-top:55px}.home .hero-cards .card.full-face{height:auto}.lobby{max-width:1500px}.seat{background:#211c1d}.lock,.seat small,.set-filters{color:#c5cbbb}footer{background:#4a1016dc;color:#b6a780;border-color:#765d30;padding:10px 18px}@media(min-width:1200px){.table{display:grid;grid-template-columns:170px minmax(0,1fr) 250px;gap:10px;align-items:start;min-height:calc(100dvh - 116px)}.table>.players{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;padding:0;gap:8px;overflow:visible}.table .player{min-width:0;min-height:82px;padding:10px 8px;flex:none;flex-wrap:wrap;gap:8px}.table .player small{white-space:normal;line-height:1.65}.table .avatar{width:38px;height:38px;font-size:23px}.table>.board-grid{display:contents}.table .supply-area{grid-column:2;grid-row:1;background:#181516a8;border:1px solid #7a623b;padding:9px;border-radius:7px}.table .supply{grid-template-columns:repeat(10,minmax(0,1fr))}.table .sidebar{grid-column:3;grid-row:1/4}.table .event-feed>div,.table .log>div{max-height:40vh;overflow:auto}.table>.hand-panel{grid-column:2;grid-row:2}.table .hand-workspace{grid-template-columns:minmax(0,1fr) 190px}.table .physical-piles{position:absolute;left:12px;top:620px;width:174px;align-items:start;gap:4px}.table .physical-pile{min-width:65px}.table .cycle-arrow,.table .physical-pile>small{display:none}.table .cycle-caption{margin-top:6px}.table>.alert,.table>.notice,.table>.results{grid-column:1/-1}.table>.results{grid-row:auto}.table .supply-switch{display:none}.chat-panel{right:14px;bottom:58px;width:250px;max-height:40vh}.chat-toggle{right:14px;bottom:12px}.hand-jump{display:none}.table:has(.results) .physical-piles{position:static;width:auto}.table .basic-group{flex:3 1}.table .basic-group:last-child{flex:1 1}.table .basic-supply .basic.short-face{max-width:none}}@media(min-width:1600px){.table{grid-template-columns:210px minmax(0,1fr) 285px}.table .physical-piles{width:205px;top:650px}.chat-panel{width:285px}.hand .card.full-face{width:150px}}@media(max-width:1199px){.table .players{padding-bottom:10px}.table .player{min-width:150px}.table .board-grid{grid-template-columns:minmax(0,1fr) 230px;gap:12px}.table .supply{grid-template-columns:repeat(5,minmax(0,1fr))}.hand-panel{margin-top:12px}.table .hand-workspace{grid-template-columns:minmax(0,1fr) 190px}}@media(max-width:800px){.masthead{height:auto;min-height:72px;padding:8px 12px}.header-right,.masthead{flex-wrap:wrap}.brand{font-size:20px}.table{padding:10px}.table .board-grid{display:block}.table .supply{grid-template-columns:repeat(3,minmax(0,1fr))}.table .sidebar{margin-top:10px}.table .log>div{max-height:180px}.table .hand-workspace{display:flex;flex-direction:column}.hand-cards-area{order:0}.turn-controls{order:1}.hand .card.full-face{width:116px;min-width:116px}.hand-header{display:block}.physical-piles{position:static}.basic-supply .basic.short-face{max-width:150px}.card-detail>.card.full-face{max-width:260px}.chat-panel{max-width:calc(100vw - 24px)}.hand-panel{padding:10px}.table .resources{padding:7px}.phase-panel{padding:8px}.action-bar{flex-wrap:wrap}}@media(max-width:480px){.table .supply{grid-template-columns:repeat(2,minmax(0,1fr))}.header-right .preview{display:block;font-size:10px}.table .basic-supply{flex-wrap:wrap}.basic-group>div{display:flex}.basic-supply .basic.short-face,.card-detail>div{min-width:0}.result-row{grid-template-columns:1fr 1fr}.home{padding:24px 16px}.kingdom-presets>summary{font-size:17px}}@media(min-width:1200px){.table .turn-controls .phase-panel p,.table .turn-controls>.text-button{display:none}.table .turn-controls .animation-settings{padding:0;font-size:11px;gap:4px}.table .turn-controls .animation-settings button,.table .turn-controls .animation-settings select{font-size:11px;min-height:30px;padding:4px}.table .player{min-height:85px}.table .physical-piles{top:auto;bottom:18px}.table{align-content:start}.table:not(.tutorial-table .table) .turn-controls [data-tutorial-id="control.endAction"]:disabled{display:none}.table .physical-piles>.physical-pile{min-width:65px;width:75px;padding:3px}.table .physical-piles .pile-layers{width:60px;height:90px}.table .physical-piles{flex-wrap:wrap!important;flex-direction:row!important;justify-content:center!important}.table .physical-piles .cycle-caption{flex-basis:100%}}@media(max-width:800px){.masthead.in-game{grid-template-columns:minmax(125px,1fr) auto;padding:8px 10px;gap:6px}.masthead.in-game .brand{min-width:125px;white-space:nowrap}.masthead.in-game .header-right{max-width:200px;min-width:0}.masthead.in-game .music-controls>span,.masthead.in-game .preview{display:none}.masthead.in-game .music-controls{gap:4px}.masthead.in-game .music-controls button,.masthead.in-game .music-settings summary{font-size:11px;padding:6px}.table .player{min-width:160px;flex-shrink:0}.table .player small{white-space:normal}.table-status{gap:4px 8px}.table-status h1{font-size:15px}}