:is(#function-settings,#relations-window,#restart-window,#relations-editor,#login,#selection){isolation:isolate;background:transparent;border:0;border-image:none;border-radius:0;box-shadow:none;color:#e6d7ad;padding:24px 14px 18px;font-family:'MingLiU','PMingLiU',serif}:is(#function-settings,#relations-window,#restart-window,#relations-editor,#login,#selection)::before,:is(#function-settings,#relations-window,#restart-window,#relations-editor,#login,#selection)::after{display:none}.legacy-window-skin{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}:is(#function-settings,#relations-window,#restart-window) .window-title{position:relative;height:22px;min-height:22px;flex:none;margin:0 0 12px;padding:0;border:0;justify-content:center;background:transparent}:is(#function-settings,#relations-window,#restart-window) .window-title h2{width:100%;margin:0;text-align:center;font:15px/22px 'MingLiU','PMingLiU',serif;color:#e6d7ad}:is(#function-settings,#relations-window,#restart-window) .close-window{position:absolute;right:-3px;top:-10px;width:16px;height:16px;min-height:16px;padding:0;border:1px solid #89713a;background:#171710;color:#e6d7ad;border-radius:0}:is(#function-settings,#relations-window,#restart-window) .close-window svg{width:12px;height:12px}:is(#function-settings,#relations-window,#restart-window,#relations-editor,#login,#selection) button{border:1px solid #72664f;border-image:none;border-radius:0;box-shadow:none;background:#171918;color:#d8caaa;font-family:'MingLiU','PMingLiU',serif}:is(#function-settings,#relations-window,#restart-window,#relations-editor,#login,#selection) button:hover:not(:disabled){background:#2a2920;color:#ffe08b;border-color:#b59b5e;filter:none}:is(#function-settings,#relations-window,#restart-window,#relations-editor,#login,#selection) button:disabled{color:#797569;border-color:#494638;filter:none}#function-settings .settings-check{color:#d8cdb5}#function-settings fieldset{border-color:#72664f}#function-settings legend{color:#bdb399}#relations-content .relations-command{min-height:30px;padding:4px 12px}#relations-content th .relations-command{min-height:24px;padding:3px 2px}#relations-content summary{background:#25271f;color:#d2c5a3;border-color:#5b5541}#relations-content details{background:#151713;border-color:#5b5541}#relations-back{background:#171918;min-height:27px;height:27px;font-size:12px}#restart-window{padding:24px 16px 18px}#restart-window .restart-buttons button{min-height:32px;background:#171918;border:1px solid #72664f;color:#ded2b2;font:14px/1.4 'MingLiU','PMingLiU',serif;box-shadow:none}#restart-window .session-statistics{background:transparent;border:0}#login{padding:26px 28px 22px}#login .menu-brand{color:#b9aa88;font:14px/1.4 'MingLiU','PMingLiU',serif;text-align:center}#login h2{color:#e6d7ad;font:20px/1.4 'MingLiU','PMingLiU',serif;text-align:center;margin:8px 0 24px}#login label{font-size:14px;color:#d1c6ac}#login input{box-sizing:border-box;background:#0c100e;border:1px solid #72664f;border-radius:0;color:#eee8d8;font:16px/1.5 'Microsoft JhengHei',sans-serif;padding:8px 10px}#login #login-button{background:#1d2019;border:1px solid #9a824a;border-image:none;min-height:40px;color:#f1d27b;box-shadow:none;font:17px/1.4 'MingLiU','PMingLiU',serif}#selection{padding:26px 22px 20px}#selection .selection-brand{color:#b9aa88;font:14px/1.2 'MingLiU','PMingLiU',serif}#selection h2{color:#e6d7ad;font:20px/1.4 'MingLiU','PMingLiU',serif;margin:6px 0 18px}#selection #portrait-panel{background:transparent;border:0;box-shadow:none}#selection #portrait-panel::before,#selection #portrait-panel::after{display:none}#selection #characters .character{background:#141713;border:1px solid #625c45;border-image:none;box-shadow:none;color:#d9d1ba;min-height:40px;border-radius:0}#selection #characters .character.selected,#selection #characters .character[aria-selected=true]{background:#29291b;border:1px solid #c2a14e;color:#ffe083}#selection :is(#enter,#new-character){background:#1b1d17;border:1px solid #8f794a;border-image:none;min-height:36px;color:#e4d2a2;box-shadow:none}@media(max-height:520px){:is(#function-settings,#relations-window,#restart-window){padding-top:20px;padding-bottom:14px}:is(#function-settings,#relations-window,#restart-window) .window-title{margin-bottom:8px}#selection{padding:20px 18px 16px}}#app[data-presentation="menu"] :is(#login,#selection){font-family:'MingLiU','PMingLiU',serif}#app[data-presentation="menu"] :is(#login,#selection)::before,#app[data-presentation="menu"] :is(#login,#selection)::after{display:none}#app[data-presentation="menu"] :is(#login,#selection) h2{font:20px/1.4 'MingLiU','PMingLiU',serif;color:#e6d7ad;margin:6px 0 20px}#app[data-presentation="menu"] :is(#login,#selection) :is(input,select){border:1px solid #72664f;border-image:none;border-radius:0;background:#0c100e;padding:8px 10px;color:#eee8d8}#app[data-presentation="menu"] :is(#login,#selection) button{background:#171918;border:1px solid #72664f;min-height:36px;padding:7px 14px;filter:none}#app[data-presentation="menu"] :is(#login,#selection) button:hover:not(:disabled){background:#2a2920;border-color:#b59b5e;filter:none}#app[data-presentation="menu"] #selection .character.selected{background:#29291b;border:1px solid #c2a14e;filter:none}#app[data-presentation="menu"] #selection .character.selected::before{display:none}#app[data-presentation="menu"] #login #login-button{min-height:40px}#app[data-presentation="menu"] #create-stats .stat-stepper button{width:24px;height:19px;min-height:19px;padding:0}#app[data-presentation="menu"] #create-stats input{padding:0 1px;min-height:38px}#restart-window #income-items-open,#restart-window #income-items-open:hover:not(:disabled){background:#171918;border:1px solid #72664f}#function-settings button.icon{background:#171918}#selection{padding-left:38px;padding-right:38px}#function-settings{padding-left:22px;padding-right:22px}#relations-window:not([data-page="pledge"]){padding-left:22px;padding-right:22px}@media(max-width:650px){#selection{padding-left:22px;padding-right:22px}}@media(max-height:580px) and (min-width:651px){#selection{padding:22px 28px 18px;max-height:calc(100% - 12px)}#app[data-presentation="menu"] #selection h2{font-size:18px!important;margin:4px 0 10px!important}#selection .selection-layout{grid-template-columns:140px minmax(0,1fr);gap:20px;max-height:calc(100dvh - 130px);align-items:stretch}#selection #portrait-panel{width:140px;height:min(210px,calc(100dvh - 160px))}#selection #character-portrait{left:8px;top:4px;width:124px;height:calc(100% - 22px)}#selection #portrait-label{bottom:0}#selection #character-list-panel{display:flex;flex-direction:column;height:min(210px,calc(100dvh - 160px));min-height:0}#selection #characters{flex:1;min-height:0;max-height:none;overflow-y:auto;margin:0 0 4px;gap:6px}#selection #character-capacity{flex:none;min-height:16px}#selection #character-list-panel>button{flex:none;min-height:32px;margin:6px 0 0;padding:5px 10px}}#relations-editor{padding:28px 24px 22px}#relations-editor::before{display:none}#relations-editor h2{font:15px MingLiU,serif;color:#e6d7ad}#relations-edit-value{background:#1c1519;color:#fff;border:1px solid #72664f}#relations-edit-error{color:#f39783;font-size:12px;margin:4px 0 8px;white-space:pre-wrap}#relations-edit-error:empty{display:none}:is(#function-settings,#relations-window,#restart-window){padding-top:54px;padding-bottom:24px}#relations-window[data-page="pledge"]{padding-top:54px;padding-bottom:24px}:is(#function-settings,#relations-window,#restart-window) .window-title{position:absolute;top:9px;left:20px;right:20px;height:18px;min-height:18px;margin:0;padding:0;display:flex;align-items:center;justify-content:center}:is(#function-settings,#relations-window,#restart-window) .window-title h2{font:13px/18px 'MingLiU','PMingLiU',serif;margin:0;padding:0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:is(#function-settings,#relations-window,#restart-window) .close-window{top:0;right:-5px;width:14px;height:14px;min-height:14px}:is(#function-settings,#relations-window,#restart-window,#relations-editor) button:not(.icon):not(.close-window){display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:18px;padding:5px 10px;min-height:30px}#relations-content .relations-command{display:flex;align-items:center;justify-content:center;line-height:18px}#function-settings .settings-check{line-height:20px;padding-block:4px}#function-settings legend{line-height:18px;padding-inline:5px}#restart-window #session-income{margin:14px 4px 10px;line-height:18px}#restart-window #session-income>div{min-height:29px;padding-block:4px}#restart-window #session-income dt,#restart-window #session-income dd{line-height:18px}#relations-editor{padding-top:50px;padding-bottom:24px}#relations-editor h2{position:absolute;top:9px;left:24px;right:24px;height:18px;margin:0;font:13px/18px MingLiU,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#relations-edit-value{line-height:20px;padding:6px 8px;box-sizing:border-box}#login{padding-top:54px;padding-bottom:26px}#app[data-presentation="menu"] #login .menu-brand{position:absolute;top:10px;left:24px;right:24px;display:flex;justify-content:center;align-items:center;gap:8px;height:18px;margin:0;font:13px/18px MingLiU,serif}#app[data-presentation="menu"] #login .menu-brand span{display:inline;margin:0;font:12px/18px MingLiU,serif}#app[data-presentation="menu"] #login label{display:block;line-height:20px;margin-bottom:5px}#app[data-presentation="menu"] #selection{padding-top:50px}#app[data-presentation="menu"] #selection .selection-brand{position:absolute;top:10px;left:24px;right:24px;height:18px;margin:0;font:13px/18px MingLiU,serif}#app[data-presentation="menu"] :is(#login,#selection) button{line-height:20px}#character-window #character-stats{min-height:288px;grid-template-rows:repeat(9,minmax(32px,1fr))}#character-window #character-stats>div{grid-template-rows:14px 14px;padding:2px 7px}#character-window #character-stats dt,#character-window #character-stats dd{line-height:14px}@media(max-height:580px){:is(#function-settings,#relations-window,#restart-window){padding-top:48px;padding-bottom:20px}#relations-window[data-page="pledge"]{padding-top:48px;padding-bottom:20px}:is(#function-settings,#relations-window,#restart-window) .window-title{margin:0}#app[data-presentation="menu"] #selection{padding-top:48px}#restart-window #session-income{margin:0}#restart-window #session-income>div{min-height:23px;padding-block:2px}#restart-window>button:not(.close-window){line-height:18px;padding:4px 8px;min-height:28px}}#app[data-presentation="menu"] :is(#login>h2,#selection-heading,#selection-details>h3){font-family:'Noto Serif TC','DFKai-SB','KaiTi','PMingLiU',serif;font-weight:700;color:#f6e1a8;text-shadow:0 1px 1px #140e06,0 -1px 0 #fff3ce33;letter-spacing:.04em;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#login :is(label[for=account],label[for=password],#account,#password){display:block;width:min(280px,100%);margin-left:auto;margin-right:auto}#login #login-button{display:flex;width:min(200px,100%);margin-left:auto;margin-right:auto}#app[data-presentation="menu"] #login>h2{margin-bottom:8px}#app[data-presentation="menu"] #login{padding-bottom:38px}#app:not([data-menu-art-ready=true]) #login,#app[data-presentation="menu"]:not([data-menu-art-ready=true]) #viewport::before{visibility:hidden}#relations-content .relations-command.locked{color:#8a857a;filter:grayscale(1);opacity:.62}