@font-face{font-family:Shippori;src:url(./ShipporiMinchoB1-Regular-CjplqXx9.ttf)}@font-face{font-family:Shippori;font-weight:700;src:url(./ShipporiMinchoB1-Bold-Bg0lB9Ze.ttf)}@font-face{font-family:ZenAntique;src:url(./ZenAntique-Regular-COcovo54.ttf)}:root{--gold:#d8b45a;--gold-light:#f3dc97;--bronze:#7a5426;--ink:#1a120d;--panel:#140c08c7;--panel-line:#d8b45a8c;--highlight:#ffd76a;--antique:"ZenAntique", serif}html,body{-webkit-user-select:none;user-select:none;background:#000;width:100%;height:100%;margin:0;overflow:hidden}#scene{image-rendering:pixelated;touch-action:none;outline:none;display:block;position:fixed}.stage{transform-origin:0 0;pointer-events:none;width:1920px;height:1080px;position:fixed;top:0;left:0}.loading{color:#f1e6cc;background:#000;justify-content:center;align-items:center;font:28px ZenAntique,serif;display:flex;position:fixed;inset:0}.loading.done{display:none}.title-screen{pointer-events:auto;cursor:pointer;background:#000;width:1920px;height:1080px;transition:opacity .6s ease-out;position:absolute;top:0;left:0;overflow:hidden}.title-screen.hidden{opacity:0;pointer-events:none}.title-screen.gone{display:none}.title-name{text-align:center;color:#fff;letter-spacing:8px;font-family:ZenAntique,serif;font-size:140px;line-height:1;position:absolute;top:400px;left:0;right:0}.title-press{text-align:center;letter-spacing:8px;color:#fff;font-family:ZenAntique,serif;font-size:40px;animation:1.6s ease-in-out infinite title-blink;position:absolute;bottom:260px;left:0;right:0}.title-press.loading{opacity:.7;animation:none}@keyframes title-blink{0%,to{opacity:1}50%{opacity:.25}}:where(.root div,.root button,.root span){box-sizing:border-box;flex-direction:column;flex-shrink:1;min-width:0;display:flex;position:relative}:where(.root span){white-space:normal}.root{color:#fff;pointer-events:none;width:1920px;height:1080px;font-family:Shippori,serif;font-size:24px;line-height:1.3;display:flex;position:absolute;top:0;left:0}.root *{pointer-events:auto}.root .ignore{pointer-events:none}.title-font{font-family:var(--antique)}.panel{background-color:var(--panel);border:2px solid var(--panel-line);border-radius:10px;flex-direction:column;padding:14px 18px}.row{flex-direction:row;align-items:center}.grow{flex-grow:1}.icon{background:50%/contain no-repeat;flex-shrink:0;width:40px;height:40px}.icon.parent{background-image:url(./icon_parent-CrxqE3qc.png)}.icon.child{background-image:url(./icon_child-C08MtwAF.png)}.icon.wait{background-image:url(./icon_wait-B3t8Cw4M.png)}.icon.takeflag{background-image:url(./icon_takeflag-B0G3gvYp.png)}.icon.move{background-image:url(./icon_move-CDAa3OKk.png)}.icon.thinking{background-image:url(./icon_thinking-Drg3IaSd.png)}.icon.big{width:64px;height:64px}.cpu-medal{background:url(./cpu_green-C6W4GxY2.png) 50%/contain no-repeat;flex-shrink:0;width:64px;height:64px}.cpu-orange .cpu-medal{background-image:url(./cpu_orange-CzEbW_wl.png)}.cpu-purple .cpu-medal{background-image:url(./cpu_purple-DAYtUmI0.png)}.player-medal{background:url(./player_medal-wjCVDa8G.png) 50%/contain no-repeat;flex-shrink:0;width:64px;height:64px}.cpu-medal.small,.player-medal.small{width:48px;height:48px}button.btn{text-align:center;white-space:nowrap;color:#fff;cursor:pointer;background:url(./ui_button_normal-BpqNCn8R.png) 50%/100% 100% no-repeat;border:none;border-radius:0;flex-shrink:0;justify-content:center;align-items:center;width:330px;height:110px;margin:0;padding:0 70px;font-family:Shippori,serif;font-size:22px;font-weight:700}button.btn:hover{background-image:url(./ui_button_hover-DWB_S8t2.png)}button.btn:active{background-image:url(./ui_button_pressed--uoSoEFH.png)}button.btn:disabled{cursor:default;background-image:url(./ui_button_disabled-vqQPenot.png)}button.btn.wide{width:450px;height:150px;padding:0 96px}button.btn.small{width:252px;height:84px;padding:0 52px;font-size:18px}.cpu-thinking{flex-direction:row;justify-content:center;align-items:center;width:800px;font-size:22px;display:none;position:absolute;top:104px;left:560px}.cpu-thinking .icon{margin-right:8px}.is-cpu-thinking .cpu-thinking{display:flex}.hud-status{text-shadow:0 2px 6px #000;flex-direction:row;align-items:flex-end;position:absolute;top:28px;right:32px}.status-set{font-family:var(--antique);white-space:nowrap;font-size:34px}.status-turn{white-space:nowrap;margin-bottom:3px;margin-left:20px;font-size:26px}.scoreboard{text-shadow:0 2px 6px #000;flex-direction:column;width:420px;position:absolute;bottom:24px;right:24px}.score-row{flex-direction:row;align-items:center;height:64px}.score-who{flex-direction:row;flex-grow:1;align-items:center}.badge{flex-direction:row;flex-shrink:0;align-items:center;width:76px;margin-right:10px;font-size:20px}.score-col{flex-direction:row;flex-shrink:0;justify-content:flex-end;align-items:flex-end;width:90px}.score-sep{font-family:var(--antique);margin:0 4px 0 14px;font-size:36px}.score-col .value{font-family:var(--antique);font-size:44px;line-height:1.1}.score-col .unit{margin-bottom:6px;margin-left:4px;font-size:20px}.speech{text-shadow:0 2px 6px #000;cursor:pointer;flex-direction:row;align-items:flex-start;width:800px;padding:8px 18px;position:absolute;top:16px;left:560px}.speech .who{font-family:var(--antique);flex-shrink:0;margin-right:16px;font-size:20px;line-height:32px}.speech .line{font-family:var(--antique);flex-grow:1;flex-shrink:1;font-size:22px;line-height:32px;display:block}.log{width:430px;display:none;position:absolute;top:92px;bottom:152px;right:24px}.log-open .log{display:flex}.log-title{text-align:center;align-items:center;font-size:18px}.log-entries{flex-grow:1;margin-top:4px;display:block;overflow-y:auto}.log-foot{justify-content:center;margin-top:8px}button.btn.small.log-close{flex-shrink:0;width:150px;height:50px;padding:0 32px;font-size:15px}button.btn.small.log-toggle{position:absolute;bottom:24px;left:24px}.log-open button.btn.small.log-toggle{background-image:url(./ui_button_pressed--uoSoEFH.png)}.log-turn{font-family:var(--antique);opacity:.7;border-bottom:1px solid var(--panel-line);margin:10px 0 2px;font-size:16px;display:block}.log-entry{margin:3px 0;font-size:18px;display:block}.log-entries::-webkit-scrollbar{width:8px}.log-entries::-webkit-scrollbar-thumb{background:var(--panel-line);border-radius:4px}.turn-report{cursor:pointer;border-color:var(--highlight);width:430px;max-height:760px;display:none;position:absolute;top:92px;right:24px}.turn-report-open .turn-report{display:flex}.turn-report-open .log,.turn-report-open .card-detail{display:none}.turn-report:hover{background-color:#281a0edb}.turn-report-title{font-family:var(--antique);text-align:center;border-bottom:1px solid var(--panel-line);margin-bottom:8px;padding-bottom:6px;font-size:28px}.turn-report-lines{display:block;overflow-y:auto}.turn-report-line{text-indent:-14px;margin:5px 0;padding-left:14px;font-size:19px;display:block}.turn-report-hint{opacity:.75;text-align:center;margin-top:12px;font-size:16px}.hand-cards{flex-direction:row;justify-content:center;width:780px;margin-left:-390px;position:absolute;bottom:20px;left:50%}.card{border:3px solid var(--bronze);width:140px;height:210px;image-rendering:pixelated;cursor:pointer;background:50%/100% 100% no-repeat;border-radius:8px;flex-shrink:0;margin:0 6px}.card:hover{border-color:var(--highlight);translate:0 -16px}.card.selected{border-color:var(--highlight);translate:0 -24px}.card.unplayable{opacity:.45}.card-detail{flex-direction:column;align-items:center;width:430px;display:none;position:absolute;top:200px;right:24px}.card-detail-open .card-detail{display:flex}.log-open .card-detail{display:none}.card-detail-image{border:3px solid var(--bronze);width:240px;height:360px;image-rendering:pixelated;background:50%/100% 100% no-repeat;border-radius:12px;flex-shrink:0}.card-detail-text{border-width:0;border-radius:0;width:430px;margin-top:12px}.card-name{font-family:var(--antique);font-size:30px}.card-desc{margin-top:8px;font-size:20px}.setup-column{flex-direction:column;justify-content:center;width:460px;display:none;position:absolute;top:0;bottom:0;left:24px}.phase-setup-pieces .setup-column,.phase-setup-flags .setup-column{display:flex}.setup-pieces,.setup-flags{width:460px;display:none}.phase-setup-pieces .setup-pieces,.phase-setup-flags .setup-flags{display:flex}.phase-setup-pieces .hand-cards,.phase-setup-flags .hand-cards{display:none}.chips{flex-flow:wrap;margin:4px 0 10px}.chip{border:2px solid var(--panel-line);min-width:72px;height:48px;font-family:var(--antique);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;margin:0 8px 8px 0;padding:0 6px;font-size:20px}.chip:hover{border-color:var(--highlight)}.chip.current{border-color:var(--highlight);background-color:#ffd76a40}.chip.used{opacity:.3}.flag-slots{flex-direction:row}.flag-slot{border:2px solid var(--panel-line);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:76px;height:76px;margin-right:8px}.flag-slot:hover,.flag-slot.current{border-color:var(--highlight)}.flag-slot-num{text-align:center;font-size:16px}.flag-slot-what{font-family:var(--antique);text-align:center;font-size:22px}.setup-flags .plan-buttons button.btn{width:270px;height:90px;margin:0 6px;padding:0 56px}.setup-flags .plan-buttons button.btn.small{width:150px;height:50px;padding:0 30px;font-size:16px}.flag-labels{width:1920px;height:1080px;position:absolute;top:0;left:0}.flag-label{text-align:center;width:120px;height:34px;font-family:var(--antique);-webkit-text-stroke:3px #000;paint-order:stroke fill;text-shadow:0 2px 4px #000;justify-content:flex-end;margin-left:-60px;font-size:26px;position:absolute}.plan-column{flex-direction:column;justify-content:center;width:420px;display:none;position:absolute;top:0;bottom:0;left:24px}.phase-plan .plan-column{display:flex}.plan-heading{margin-bottom:8px;font-size:22px}.slot{border:2px solid var(--panel-line);cursor:pointer;border-radius:8px;flex-direction:row;align-items:center;height:72px;margin:4px 0;padding:0 12px}.slot:hover{border-color:var(--highlight)}.slot.current{border-color:var(--highlight);background-color:#ffd76a1f}.slot.locked{opacity:.45;cursor:default}.slot.locked:hover{border-color:var(--panel-line)}.slot.locked.current:hover{border-color:var(--highlight)}.slot-num{white-space:nowrap;flex-shrink:0;width:120px;font-size:20px}.slot-what{flex-shrink:1;font-size:22px}.slot-what.empty{font-size:20px}.plan-hint{margin:10px 0;font-size:18px}.plan-buttons{flex-direction:row;justify-content:center}.dialog-back{background-color:#00000073;justify-content:center;align-items:center;width:1920px;height:1080px;display:none;position:absolute;top:0;left:0}.plan-dialog-open .plan-dialog-back,.card-dialog-open .card-dialog-back,.choice-open .choice-dialog-back{display:flex}.dialog{background-color:#140c08f5;align-items:center;width:640px;padding:22px 30px}.dialog-title{font-family:var(--antique);text-align:center;align-items:center;font-size:34px}.dialog-buttons{flex-direction:row;justify-content:center;margin-top:12px}.dialog-buttons button.btn{margin:0 12px}.kinds-row{flex-direction:row;justify-content:center;margin:18px 0 8px}.kind-choice{opacity:.8;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;min-width:140px;margin:0 14px;padding:8px 10px;font-size:22px}.kind-choice:hover{opacity:1}.kind-choice .icon{width:80px;height:80px;margin-bottom:6px}.kind-choice span{text-align:center}.choice-list{flex-flow:wrap;justify-content:center;margin:14px 0 4px}button.choice{border:2px solid var(--panel-line);color:#fff;text-align:center;cursor:pointer;background-color:#0000;border-radius:8px;justify-content:center;align-items:center;min-width:150px;height:56px;margin:0 8px 10px 0;padding:0 16px;font-family:Shippori,serif;font-size:20px}button.choice:hover{border-color:var(--highlight);background-color:#ffd76a1f}.board-guide{flex-direction:row;align-items:center;width:960px;margin-left:-480px;padding:4px 18px;display:none;position:absolute;bottom:236px;left:50%}.board-picking .board-guide{display:flex}.board-guide button.btn.small{width:180px;height:60px;padding:0 38px;font-size:16px}.guide-text{white-space:nowrap;flex-grow:1;font-size:22px}.guide-keys{flex-shrink:0;width:300px;margin:0 12px;font-size:15px}.card-phase{align-items:center;width:660px;margin-left:-330px;display:none;position:absolute;bottom:270px;left:50%}.phase-card .card-phase{display:flex}.card-dialog-open .card-phase{display:none}.card-heading{text-align:center;font-size:24px}.card-this-turn{margin:6px 0 4px;font-size:22px}.card-hint{margin-bottom:8px;font-size:18px}.card-big{border:3px solid var(--highlight);width:180px;height:270px;image-rendering:pixelated;background:50%/100% 100% no-repeat;border-radius:10px;flex-shrink:0}.card-dialog-text{flex-grow:1;flex-shrink:1;margin-left:24px}.card-dialog-text .card-name{margin-bottom:12px;font-size:32px}.card-question{text-align:center;margin-top:20px;font-size:24px}.overlay{background-color:#000000b8;flex-direction:column;justify-content:center;align-items:center;width:1920px;height:1080px;display:none;position:absolute;top:0;left:0}.phase-parent .overlay.parent,.phase-dice .overlay.dice,.phase-flag .overlay.flag,.phase-setresult .overlay.setresult,.phase-matchresult .overlay.matchresult{display:flex}.ornament{background:url(./overlay_ornament-CYgdLvUj.png) 50%/contain no-repeat;justify-content:center;align-items:center;width:1000px;height:500px;margin:10px 0}.ov-title{font-family:var(--antique);font-size:40px}.ov-result{font-family:var(--antique);text-align:center;font-size:64px}.ov-sum{font-family:var(--antique);font-size:40px}.ov-gain{font-family:var(--antique);font-size:96px}.ov-gain.lose{font-size:80px}.ov-button{margin-top:30px}.dice-row{flex-direction:row;align-items:center;margin:18px 0}.die{border:4px solid var(--bronze);background-color:var(--gold-light);width:120px;height:120px;color:var(--ink);font-family:var(--antique);text-align:center;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;margin:0 18px;font-size:64px}.die.small{border-radius:12px;width:88px;height:88px;margin:0 10px;font-size:46px}.parent-row{flex-direction:row;align-items:center;margin:10px 0}.parent-who{flex-direction:row;justify-content:center;width:140px}.parent-sum{width:180px;font-family:var(--antique);margin-left:20px;font-size:36px}.after-roll{visibility:hidden}.rolled .after-roll{visibility:visible}button.btn.after-roll{display:none}.rolled button.btn.after-roll{display:flex}.rolled button.btn.roll-btn{display:none}.turn-banner{width:1920px;height:200px;font-family:var(--antique);text-align:center;text-shadow:0 2px 8px #000;opacity:1;background-color:#0000008c;justify-content:center;align-items:center;font-size:96px;display:none;position:absolute;top:440px;left:0}.banner-show .turn-banner{display:flex}.turn-banner.fading{opacity:0;transition:opacity 1.2s ease-out}.overlay.setresult{color:var(--ink);background:url(./set_result_bg-Xd8rdDK5.png) 50%/cover no-repeat}.setresult .ov-result{margin-top:10px;font-size:96px}.sr-reason{margin:4px 0 16px;font-size:22px}.sr-table{flex-direction:column;margin-top:6px}.sr-row{flex-direction:row;align-items:center;height:44px}.sr-label{flex-shrink:0;width:260px;font-size:22px}.sr-col{width:130px;font-family:var(--antique);text-align:right;flex-direction:row;flex-shrink:0;justify-content:flex-end;align-items:center;font-size:30px}.overlay.matchresult{flex-direction:row}.mr-poster{border:3px solid var(--bronze);background:50%/100% 100% no-repeat;flex-shrink:0;width:960px;height:640px;margin-right:40px}.matchresult.win .mr-poster{background-image:url(./result_win-CqYPT3Kq.png)}.matchresult.lose .mr-poster{background-image:url(./result_lose-CG9DK-2b.png)}.mr-panel{background-color:#140c08db;align-items:center;width:560px;padding:26px 30px}.mr-panel .ov-result{margin:6px 0 14px;font-size:56px}.mr-panel .sr-label{width:280px}.mr-panel .sr-col{width:110px}.mr-head{opacity:.7;font-size:18px}.mr-total{border-top:1px solid var(--panel-line);margin-top:6px}.mr-buttons{flex-direction:column;align-items:center;margin-top:18px}.mr-buttons button.btn{margin:4px 0}
