:is(#restart-window,#income-items-window){isolation:isolate;background:transparent;border:0;border-radius:0;box-shadow:none;color:#e8e0cf;padding:20px 24px 22px}:is(#restart-window,#income-items-window)::before{content:"";position:absolute;inset:0;z-index:-1;border:30px solid transparent;border-image:url("/ui/menu380/frame.png") 18% fill/30px/0 stretch;pointer-events:none}#restart-window{width:284px;max-height:calc(100% - 8px);overflow:auto;scrollbar-width:thin;scrollbar-color:#9a8659 #171b17}:is(#restart-window,#income-items-window) .window-title{position:relative;justify-content:center;height:34px;margin:0 0 12px;padding:0 26px 0 20px;border:0;background:transparent}:is(#restart-window,#income-items-window) .window-title h2{color:#f0dca9;font:600 18px/1.4 "PMingLiU","Noto Serif TC",serif;text-align:center;margin:0;text-shadow:0 1px 2px #000}:is(#restart-window,#income-items-window) button{color:#e6dcc4;background:url("/ui/menu380/button.png") center 40%/100% 170% no-repeat;border:0;border-radius:0;box-shadow:none;padding:7px 18px;text-shadow:0 1px 2px #000}:is(#restart-window,#income-items-window) button:hover:not(:disabled){color:#ffe3a2;background:url("/ui/menu380/button.png") center 40%/100% 170% no-repeat;filter:brightness(1.3)}:is(#restart-window,#income-items-window) button:focus-visible{outline:1px solid #dfc17b;outline-offset:1px}:is(#restart-window,#income-items-window) .close-window{position:absolute;right:-5px;top:3px;width:26px;height:26px;min-height:26px;padding:4px;background:transparent}:is(#restart-window,#income-items-window) .close-window:hover:not(:disabled){background:transparent}#restart-window>:is(#restart-confirm,#restart-quit,#restart-cancel){min-height:36px;margin:6px 0 0;font-size:14px}#restart-window #restart-confirm{color:#f3d792}#restart-window #session-income{margin:18px 5px 10px;font-size:12px}#restart-window #session-income>div{min-height:27px;gap:10px}#restart-window #session-income dt{color:#c2b59b}#restart-window #session-income dd{color:#eee7d9;min-width:0;overflow-wrap:anywhere}#restart-window #income-reset{display:flex;width:100%;min-height:32px;margin:10px 0 0;font-size:12px}#restart-window #income-items-open{width:24px;height:24px;min-height:24px;padding:3px}#restart-window #income-items-open,#restart-window #income-items-open:hover:not(:disabled){background:url("/ui/menu380/frame.png") center/100% 100% no-repeat}#income-items-window{width:284px;height:310px}#income-items-window .income-row{border-color:#514937;gap:8px}@media(orientation:landscape) and (max-height:600px){#restart-window{width:420px;padding:16px 22px 18px;display:grid;grid-template-columns:140px minmax(0,1fr);gap:4px 16px}#restart-window .window-title{height:28px;margin-bottom:6px}#restart-window>:is(#restart-confirm,#restart-quit,#restart-cancel){min-height:29px;height:29px;margin:0;padding:4px 12px;font-size:12px}#restart-window #session-income{margin:0;font-size:11px}#restart-window #session-income>div{min-height:23px}#restart-window #income-reset{min-height:26px;height:26px;margin:0;width:100%;padding:4px 12px}#restart-window #income-items-open{width:21px;height:21px;min-height:21px}}