.message-item{border:.0625rem solid var(--base-text-color);height:2rem;color:var(--base-text-color);background:var(--base-background-color);justify-content:center;align-items:center;padding:0 1rem;display:flex}.msg-toast-container{pointer-events:none;-webkit-user-select:none;user-select:none;flex-direction:column;justify-content:center;align-items:center;width:min(100dvw - 2rem,48rem);display:flex;position:fixed;top:6rem;left:50%;transform:translate(-50%)}.msg-toast-container .toast-item{opacity:1;transition:all .2s ease-in-out;display:flex;position:absolute}.msg-toast-container .toast-item.visible{animation:.2s ease-out forwards msg-slide-in}.msg-toast-container .toast-item.hidden{animation:.2s ease-out forwards msg-fade-out}@keyframes msg-slide-in{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}@keyframes msg-slide-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-100%)}}@keyframes msg-fade-in{0%{opacity:0}to{opacity:1}}@keyframes msg-fade-out{0%{opacity:1}to{opacity:0}}.achievement-item{padding:0 calc(.5rem * var(--ratio-font));height:calc(2rem * var(--ratio));justify-content:space-between;align-items:center;gap:calc(1rem * var(--ratio-font));font-size:calc(1rem * var(--ratio-font));color:var(--grade-color);background:var(--background,var(--base-background-color));cursor:pointer;-webkit-user-select:none;user-select:none;border:.0625rem solid var(--grade-color);box-sizing:border-box;transition:all .2s ease-in-out;display:flex}.achievement-item svg{fill:var(--grade-color);stroke:none;width:calc(1.2rem * var(--ratio-font));height:calc(1.2rem * var(--ratio-font));transition:fill .2s ease-in-out}.achievement-item .name{font-weight:700}.achievement-item .description{font-size:calc(.85rem * var(--ratio-font));-webkit-user-select:none;user-select:none}.achievement-item .description:before{content:"[";margin-right:.125rem}.achievement-item .description:after{content:"]";margin-left:.125rem}.achievement-item .description:before,.achievement-item .description:after{color:var(--grade-color)}.achv-toast-container{pointer-events:none;-webkit-user-select:none;user-select:none;width:min(100dvw - 2rem,48rem);position:fixed;top:6rem;left:1rem}.achv-toast-container .toast-item{opacity:1;transition:all .2s ease-in-out;display:flex;position:absolute}.achv-toast-container .toast-item.visible{animation:.2s ease-out forwards achv-slide-in}.achv-toast-container .toast-item.hidden{animation:.2s ease-out forwards achv-fade-out}@keyframes achv-slide-in{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes achv-slide-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100%)}}@keyframes achv-fade-in{0%{opacity:0}to{opacity:1}}@keyframes achv-fade-out{0%{opacity:1}to{opacity:0}}.theme-svg{transform-origin:50%;transition:transform .5s cubic-bezier(.4,0,.2,1)}.theme-svg .sun-center,.theme-svg .sun-beams,.theme-svg .mask-cutter-group{transform-origin:50%;transition:transform .5s cubic-bezier(.4,0,.2,1),opacity .5s cubic-bezier(.4,0,.2,1)}.theme-svg .mask-cutter-group{transform:translate(.75rem,-.75rem)}.theme-svg .sun-center{fill:var(--style-color);transition:fill .2s ease-in-out}.theme-svg .sun-beams{stroke:var(--style-color);transition:stroke .2s ease-in-out}@media (hover:hover){button.theme-toggle-btn:hover .theme-svg .sun-center{fill:var(--style-background)}button.theme-toggle-btn:hover .theme-svg .sun-beams{stroke:var(--style-background)}}button.theme-toggle-btn:active .theme-svg .sun-center{fill:var(--style-background)}button.theme-toggle-btn:active .theme-svg .sun-beams{stroke:var(--style-background)}html[data-theme=dark] .mask-cutter-group{transform:translate(0)}html[data-theme=dark] .theme-svg{transform:rotate(375deg)}html[data-theme=dark] .sun-center{transform:scale(1.5)}html[data-theme=dark] .sun-beams{opacity:0;transform:scale(.6)}.screen.home{gap:5rem}.screen.home .title{flex-direction:column;justify-content:center;align-items:center;display:flex}.screen.home .title .main{font-weight:700}.screen.home>.actions{gap:1rem;width:auto;display:flex;position:fixed;bottom:1rem;right:1rem}.screen.home>.actions>button{width:2.5rem;height:2.5rem;padding:.25rem}.screen.home>.controls{flex-direction:column}.screen.home>.controls>div{flex:1 0;justify-content:center;align-items:center;gap:.5rem;display:flex}.screen.home>.controls>div>button{flex:1 0}.screen.mode{gap:.9rem;width:100%;max-width:40rem}.screen.mode>button{text-align:left;border:.0625rem solid var(--color-rule);border-left:.1875rem solid color-mix(in srgb, var(--color-accent) 55%, transparent);background:0 0;flex-direction:column;justify-content:center;align-items:flex-start;gap:.5rem;height:7.5rem;padding:0 1.1rem;display:flex}.screen.mode>button .name{font-size:calc(1.55rem * var(--ratio-font));letter-spacing:.14em;font-weight:600}.screen.mode>button .description{color:var(--color-muted);flex-flow:wrap;gap:.35rem 1rem;display:flex}.screen.mode>button .description span{font-size:calc(.82rem * var(--ratio-font));letter-spacing:.05em}.screen.mode>button .description span:before,.screen.mode>button .description span:after{content:none}@media (hover:hover){.screen.mode>button:hover{border-left-color:var(--color-accent);background:color-mix(in srgb, var(--color-accent) 6%, transparent)}.screen.mode>button:hover .name{color:var(--color-accent)}}.talent{--color:var(--grade-color);width:100%;font-size:calc(1rem * var(--ratio-font));color:var(--grade-color);border:none;border-left:.1875rem solid color-mix(in srgb, var(--grade-color) 55%, transparent);border-bottom:.0625rem solid var(--color-rule);box-sizing:border-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;justify-content:space-between;align-items:baseline;gap:1rem;padding:.5rem .6rem .5rem .75rem;transition:background .18s,border-color .18s,color .18s;display:flex}.talent .talent-name{letter-spacing:.02em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.talent .talent-description{color:var(--color-muted);font-size:calc(.8rem * var(--ratio-font));letter-spacing:.04em;flex:none}@media (hover:hover){.talent:hover{background:color-mix(in srgb, var(--grade-color) 8%, transparent);border-left-color:var(--grade-color)}}.talent.selected{color:var(--color-accent);border-left-color:var(--color-accent);background:color-mix(in srgb, var(--color-accent) 9%, transparent);border-left-width:.25rem}.talent.selected .talent-name:after{content:"已选";letter-spacing:.22em;color:var(--color-accent);opacity:.75;margin-left:.5rem;font-size:.64rem;font-weight:400}.talent.selected .talent-description{color:var(--color-muted)}@media (hover:hover){.talent.selected:hover{background:color-mix(in srgb, var(--color-accent) 14%, transparent)}}.screen.chara{gap:1rem}.screen.chara>.chara-list{gap:calc(.5rem * var(--ratio));flex-direction:column;display:flex}.screen.chara>.chara-list>.character{border:.0625rem solid var(--base-text-color);box-sizing:border-box;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;display:flex}.screen.chara>.chara-list>.character>.generator>ul>li{text-align:center}.screen.chara>.chara-list>.character>.name{width:100%;font-size:calc(1rem * var(--ratio-font));height:calc(2rem * var(--ratio));justify-content:center;align-items:center;display:flex}.screen.chara>.chara-list>.character.selected{border:.0625rem solid var(--color-primary)}.screen.chara>.chara-list>.character.selected>.name{background-color:var(--color-primary);color:var(--base-background-color)}.screen.chara>.chara-list>.character.selected>.chara-details{height:auto;padding:.5rem}.screen.chara .chara-details{border-top:.0625rem solid var(--base-text-color);box-sizing:border-box;interpolate-size:allow-keywords;flex-direction:column;gap:.5rem;width:100%;height:0;padding:0 .5rem;transition:all .3s ease-in-out;display:flex;overflow-y:hidden}.screen.chara .chara-details>ul.talent-list{flex-direction:column;gap:.5rem;display:flex}.screen.chara .chara-details>ul.properties{flex-direction:row;gap:.5rem;width:100%;font-weight:700;display:flex}.screen.chara .chara-details>ul.properties>li{text-align:center;-webkit-user-select:none;user-select:none;min-width:6rem;color:var(--grade-color);flex-direction:column;flex:1 0;justify-content:space-between;display:flex}.screen.chara .chara-details>ul.properties>li span{border:.0625rem solid var(--grade-color);box-sizing:border-box;justify-content:center;align-items:center;height:2rem;display:flex}.screen.chara .chara-details>ul.properties>li span:first-child{border-bottom:none}.screen.chara .chara-details>ul.properties>li .name{color:var(--base-background-color);background-color:var(--grade-color)}.screen.chara .chara-details>ul.properties>li.charm{order:1}.screen.chara .chara-details>ul.properties>li.intelligence{order:2}.screen.chara .chara-details>ul.properties>li.strength{order:3}.screen.chara .chara-details>ul.properties>li.money{order:4}.screen.talent-pick{flex-direction:column;justify-content:center;gap:.9rem;width:100%;max-width:44rem;display:flex}.screen.talent-pick .pick-head{border-bottom:.1875rem double var(--color-rule);justify-content:space-between;align-items:baseline;padding-bottom:.45rem;display:flex}.screen.talent-pick .pick-head .label{letter-spacing:.28em;color:var(--color-muted);font-size:.72rem}.screen.talent-pick .pick-head .count{letter-spacing:.08em;color:var(--color-accent);font-size:.95rem}.screen.talent-pick ul.talent-list{flex-direction:column;width:100%;max-height:56vh;padding-right:.25rem;display:flex;overflow-y:auto}.screen.talent-pick ul.talent-list li{justify-content:center;align-items:center;gap:1rem;padding:0;display:flex}.screen.talent-pick ul.talent-list li .talent{width:100%}.screen.talent-pick>button.hint{--style-color:var(--color-muted);color:var(--color-muted);letter-spacing:.22em;border-color:#0000;height:2.2rem;font-size:.85rem;font-weight:400}.screen.talent-pick>button.hint:hover{border-color:var(--color-rule);color:var(--color-accent);background:0 0}ul.replaced{flex-direction:column;gap:.5rem;display:flex}ul.replaced li{justify-content:center;align-items:center;gap:1rem;width:100%;padding:0;display:flex}ul.replaced li .talent{width:100%}ul.replaced li:not(:first-child){position:relative}ul.replaced li:not(:first-child):before{content:"";box-sizing:border-box;border:.0625rem solid var(--base-text-color);border-left:none;width:.625rem;height:1.5rem;margin-right:-1rem;display:block;position:absolute;top:-1rem;right:0}ul.replaced li:not(:first-child):after{content:"";box-sizing:border-box;border:.0625rem solid var(--base-text-color);transform-origin:0 0;border-bottom:none;border-right:none;width:.375rem;height:.375rem;margin-top:-.03125rem;margin-right:-.6875rem;display:block;position:absolute;top:.5rem;right:0;transform:rotate(-45deg)}.screen.point-allocation{flex-direction:column;align-items:stretch;gap:1rem;width:100%;max-width:44rem;padding-top:.5rem;display:flex}.screen.point-allocation>ul.talent-list{flex-direction:column;width:100%;max-height:22vh;display:flex;overflow-y:auto}.screen.point-allocation>ul.talent-list li{width:100%}.screen.point-allocation>ul.talent-list .talent{cursor:default}.screen.point-allocation>ul.talent-list .talent .talent-name:after{content:none!important}.screen.point-allocation>ul.alloc{border-top:.1875rem double var(--color-rule);flex-direction:column;width:100%;margin:0;padding:0;list-style:none;display:flex}.screen.point-allocation>ul.alloc>li{border-bottom:.0625rem solid var(--color-rule);border-left:.125rem solid color-mix(in srgb, var(--grade-color) 55%, transparent);flex-direction:row;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem 0 .55rem .6rem;transition:border-color .2s;display:flex}.screen.point-allocation>ul.alloc>li>.name{font-size:calc(.95rem * var(--ratio-font));letter-spacing:.16em;color:var(--grade-color);font-weight:600}.screen.point-allocation>ul.alloc>li>.name .font-mono{color:var(--color-muted);margin-left:.35rem;font-size:.72rem;font-weight:400}.screen.point-allocation>ul.alloc>li .allocation-input{height:calc(2rem * var(--ratio));border:.0625rem solid var(--color-rule);box-sizing:border-box;align-items:stretch;width:10rem;transition:border-color .2s;display:flex}.screen.point-allocation>ul.alloc>li .allocation-input button{--style-color:var(--color-muted);background:0 0;border:none;border-radius:0;flex:0 0 2.2rem;height:100%;margin:0;padding:0;font-size:1rem}.screen.point-allocation>ul.alloc>li .allocation-input button:hover{color:var(--color-accent);background:color-mix(in srgb, var(--color-accent) 8%, transparent)}.screen.point-allocation>ul.alloc>li .allocation-input input{width:2rem;height:100%;font-weight:600;font-size:calc(1rem * var(--ratio-font));color:var(--grade-color);text-align:center;appearance:textfield;background:0 0;flex:auto}.screen.point-allocation>ul.alloc>li .allocation-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.screen.point-allocation>ul.alloc>li .allocation-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.screen.point-allocation>ul.alloc>li.left{border-left-color:var(--color-accent);padding-top:.7rem;padding-bottom:.7rem}.screen.point-allocation>ul.alloc>li.left>.name{color:var(--color-muted);font-weight:400}.screen.point-allocation>ul.alloc>li.left>button{--style-color:var(--color-accent);color:var(--color-accent);font-size:calc(1.35rem * var(--ratio-font));letter-spacing:.06em;border-color:#0000;height:auto;padding:0 .4rem;font-weight:600}.screen.point-allocation>ul.alloc>li.left>button:hover{background:color-mix(in srgb, var(--color-accent) 8%, transparent)}.screen.point-allocation .points-detail{z-index:2;white-space:nowrap;min-width:16rem;color:var(--color-muted);background:var(--color-paper);border:.0625rem solid var(--color-rule);flex-direction:column;margin:0;padding:.4rem .6rem;font-size:.8rem;display:flex;position:absolute;top:0;left:0;transform:translateY(-100%)}.screen.point-allocation .points-detail li{justify-content:space-between;align-items:center;gap:1rem;height:1.6rem;display:flex}.screen.point-allocation .points-detail li .font-mono{color:var(--base-text-color)}.screen.point-allocation .controls{flex-direction:row;gap:.5rem;width:100%;margin-top:.25rem;display:flex}.screen.point-allocation .controls>button{height:calc(2.5rem * var(--ratio));flex:1 0}.screen.play{gap:1.25rem;height:calc(100dvh - 2rem)}.screen.play>ul.properties{border-top:.0625rem solid var(--color-rule);border-bottom:.1875rem double var(--color-rule);grid-template-columns:repeat(5,1fr);width:100%;padding:.55rem 0 .45rem;font-weight:700;display:grid}.screen.play>ul.properties>li{border-left:.0625rem solid var(--color-rule);-webkit-user-select:none;user-select:none;flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0;padding-left:.6rem;display:flex}.screen.play>ul.properties>li>span{border:none;height:auto;display:block}.screen.play>ul.properties>li .name{letter-spacing:.22em;color:var(--color-muted);background:0 0;font-size:.72rem;font-weight:400;line-height:1}.screen.play>ul.properties>li .value{font-size:calc(1.45rem * var(--ratio-font));color:var(--grade-color);letter-spacing:.02em;font-weight:600;line-height:1.1}.screen.play>ul.properties>li.charm{order:1}.screen.play>ul.properties>li.intelligence{order:2}.screen.play>ul.properties>li.strength{order:3}.screen.play>ul.properties>li.money{order:4}.screen.play>ul.properties>li.spirit{order:5}.screen.play>ul.logs{box-sizing:border-box;border:none;flex-direction:column;flex:1 0;gap:0;min-width:0;max-width:100%;min-height:0;padding:.25rem .25rem 2rem 0;display:flex;position:relative;overflow-y:auto}.screen.play>ul.logs:before{content:"";background:var(--color-rule);pointer-events:none;width:.0625rem;position:absolute;top:.5rem;bottom:1rem;left:4.55rem}.screen.play>ul.logs>li.log-empty{letter-spacing:.22em;color:var(--color-muted);opacity:.55;pointer-events:none;-webkit-user-select:none;user-select:none;font-size:.78rem;list-style:none;position:absolute;top:45%;left:6rem;transform:translateY(-50%)}.screen.play>ul.logs>li.log{-webkit-user-select:none;user-select:none;cursor:pointer;grid-template-columns:3.5rem 1.1rem 1fr;align-items:start;gap:.4rem .5rem;width:100%;padding:.45rem 0 .5rem;line-height:1.9;animation:.36s cubic-bezier(.22,.8,.3,1) both archive-in;display:grid;position:relative}.screen.play>ul.logs>li.log>.age{text-align:right;color:var(--color-accent);letter-spacing:.04em;grid-column:1;padding-top:.15rem;padding-right:.1rem;font-size:.9rem;font-weight:600}.screen.play>ul.logs>li.log>.tick{grid-column:2;height:100%;position:relative}.screen.play>ul.logs>li.log>.tick:before{content:"";background:var(--color-accent);opacity:.8;border-radius:50%;width:.32rem;height:.32rem;position:absolute;top:1.05rem;left:50%;transform:translate(-50%,-50%)}.screen.play>ul.logs>li.log>.content{grid-column:3;position:relative}.screen.play>ul.logs>li.log>.narration{grid-column:3}.screen.play>ul.logs>li:last-child{margin-bottom:2rem}.screen.play ul.log-inner>li{color:var(--grade-color);flex-direction:row;align-items:baseline;gap:.5rem;display:flex}.screen.play ul.log-inner.log-events>li{color:var(--grade-color)}.screen.play ul.log-inner.log-talents>li,.screen.play ul.log-inner.log-achievements>li{align-items:center;font-size:.92rem}:is(.screen.play ul.log-inner.log-talents>li,.screen.play ul.log-inner.log-achievements>li)>.tag{letter-spacing:.08em;border:.0625rem solid var(--grade-color);opacity:.9;padding:0 .25rem;font-size:.7rem;line-height:1.35}:is(.screen.play ul.log-inner.log-talents>li,.screen.play ul.log-inner.log-achievements>li)>.name{font-weight:600}:is(.screen.play ul.log-inner.log-talents>li,.screen.play ul.log-inner.log-achievements>li)>.description{color:var(--color-muted);font-weight:400}.screen.play ul.log-inner.log-achievements>li>.tag{color:var(--color-accent);border-color:var(--color-accent);transform:rotate(-1.2deg)}.screen.play .narration{border-left:.125rem solid color-mix(in srgb, var(--color-accent) 45%, transparent);font-family:var(--font-serif);font-size:calc(.98rem * var(--ratio-font));color:var(--color-muted);letter-spacing:.02em;margin-top:.1rem;padding-left:.8rem;line-height:1.75}.screen.play .narration.pending{opacity:.45}.screen.play .narration.streaming .text{color:var(--base-text-color)}.screen.play .narration .mark{letter-spacing:.28em;color:var(--color-accent);vertical-align:.15em;-webkit-user-select:none;user-select:none;margin-right:.45rem;font-size:.64rem}.screen.play .narration .caret{vertical-align:-.12em;background:var(--color-accent);width:.42em;height:.95em;margin-left:.12rem;animation:1s step-end infinite caret-blink;display:inline-block}.screen.play .controls{flex-direction:column;flex:none;gap:.6rem;width:100%;display:flex}.screen.play .controls>.control-row{flex-flow:wrap;gap:.5rem;width:100%;display:flex}.screen.play .controls>.control-row>button{min-width:6rem;font-size:calc(1.05rem * var(--ratio-font));letter-spacing:.12em;height:calc(2.5rem * var(--ratio));flex:1 0}.screen.play .controls>.control-row>button.ghost{min-width:0;color:var(--color-muted);font-size:calc(.82rem * var(--ratio-font));letter-spacing:.08em;border-color:#0000;flex:none;padding:0 .55rem;font-weight:500}.screen.play .controls>.control-row>button.ghost:hover{color:var(--color-accent);border-color:var(--color-rule);background:0 0}.narration-error{color:var(--color-muted);letter-spacing:.06em;-webkit-user-select:none;user-select:none;grid-column:3;margin-top:.1rem;font-size:.75rem}.screen.play>ul.properties>li .value{transition:color .5s;position:relative}.screen.play>ul.properties>li[class*=trend-up] .value:after,.screen.play>ul.properties>li[class*=trend-down] .value:after{content:"";border-style:solid;animation:.3s cubic-bezier(.34,1.56,.64,1) forwards triangle-pop;position:absolute;top:50%;right:0;transform:translateY(-50%)}.screen.play>ul.properties>li[class*=trend-up] .value:after{border-width:0 .25rem .32rem;border-color:transparent transparent var(--color-success) transparent}.screen.play>ul.properties>li[class*=trend-down] .value:after{border-width:.32rem .25rem 0;border-color:var(--color-error) transparent transparent transparent}.screen.play>ul.properties>li[class*=trend-up-1] .value{animation:.5s ease-out forwards flash-success-odd}.screen.play>ul.properties>li[class*=trend-up-0] .value{animation:.5s ease-out forwards flash-success-even}.screen.play>ul.properties>li[class*=trend-down-1] .value{animation:.5s ease-out forwards flash-error-odd}.screen.play>ul.properties>li[class*=trend-down-0] .value{animation:.5s ease-out forwards flash-error-even}@keyframes archive-in{0%{opacity:0;transform:translateY(.35rem)}to{opacity:1;transform:none}}@keyframes caret-blink{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes flash-success-odd{0%{color:var(--color-success)}to{color:var(--grade-color)}}@keyframes flash-success-even{0%{color:var(--color-success)}to{color:var(--grade-color)}}@keyframes flash-error-odd{0%{color:var(--color-error)}to{color:var(--grade-color)}}@keyframes flash-error-even{0%{color:var(--color-error)}to{color:var(--grade-color)}}@keyframes triangle-pop{0%{opacity:0;transform:translateY(-50%)scale(.5)}to{opacity:1;transform:translateY(-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.screen.play>ul.logs>li.log{animation:none}.screen.play .narration .caret{opacity:1;animation:none}}@media (width<=40rem){.screen.play{gap:.8rem}.screen.play>ul.properties{padding:.45rem 0 .4rem}.screen.play>ul.properties>li{padding-left:.4rem}.screen.play>ul.properties>li .name{letter-spacing:.1em;font-size:.62rem}.screen.play>ul.properties>li .value{font-size:calc(1.15rem * var(--ratio-font))}.screen.play>ul.logs{padding-right:0}.screen.play>ul.logs:before{left:3.2rem}.screen.play>ul.logs>li.log{grid-template-columns:2.6rem .9rem 1fr;column-gap:.35rem}.screen.play>ul.logs>li.log>.age{letter-spacing:0;font-size:.78rem}.screen.play>ul.logs>li.log>.tick:before{width:.26rem;height:.26rem;top:.95rem}.screen.play .narration{font-size:calc(.92rem * var(--ratio-font));padding-left:.55rem}.screen.play .controls .control-row>button{min-width:0;font-size:calc(.95rem * var(--ratio-font));letter-spacing:.08em}}.choice{border:.0625rem solid var(--color-rule);border-top:.1875rem solid var(--color-accent);background:color-mix(in srgb, var(--base-background-color) 55%, transparent);box-sizing:border-box;width:100%;max-height:42vh;padding:.85rem 1rem 1rem;animation:.3s both archive-in;overflow-y:auto}.choice .choice-head{justify-content:space-between;align-items:baseline;margin-bottom:.65rem;display:flex}.choice .choice-head .label{letter-spacing:.3em;color:var(--color-accent);font-size:.7rem}.choice .choice-head .age{color:var(--color-muted);font-size:.8rem}.choice .choice-options{flex-direction:column;gap:.5rem;display:flex}.choice .choice-options>li>button{text-align:left;width:100%;height:auto;min-height:2.6rem;color:var(--grade-color);border-color:color-mix(in srgb, var(--grade-color) 45%, transparent);letter-spacing:.03em;justify-content:space-between;align-items:baseline;gap:.75rem;padding:.5rem .75rem;font-weight:500;display:flex}.choice .choice-options>li>button>.option-text{flex:auto}.choice .choice-options>li>button>.option-hint{letter-spacing:.08em;color:var(--color-muted);opacity:.85;flex:none;font-size:.68rem}.choice .choice-options>li>button>.option-hint.muted{opacity:.5;letter-spacing:.12em}.choice .choice-options>li>button:hover{background:color-mix(in srgb, var(--grade-color) 14%, transparent);border-color:var(--grade-color);color:var(--grade-color)}.choice .choice-skip{letter-spacing:.18em;height:1.9rem;color:var(--color-muted);border-color:#0000;margin-top:.6rem;font-size:.78rem}.choice .choice-skip:hover{color:var(--color-accent);background:0 0}.screen.summary{flex-direction:column;gap:1.1rem;width:100%;max-width:44rem;display:flex}.screen.summary .summary-head{border-bottom:.1875rem double var(--color-rule);justify-content:space-between;align-items:baseline;padding-bottom:.5rem;display:flex}.screen.summary .summary-head .label{letter-spacing:.3em;color:var(--color-accent);font-size:.74rem}.screen.summary .summary-head .family{letter-spacing:.12em;color:var(--color-muted);white-space:nowrap;font-size:.7rem}.screen.summary .summary-head .note{letter-spacing:.1em;color:var(--color-muted);font-size:.72rem}.screen.summary ul.judge-list{border-top:.0625rem solid var(--color-rule);grid-template-columns:repeat(7,minmax(0,1fr));width:100%;display:grid}.screen.summary ul.judge-list>li{border-left:.0625rem solid var(--color-rule);-webkit-user-select:none;user-select:none;flex-direction:column;align-items:flex-start;gap:.25rem;min-width:0;padding:.5rem .5rem .55rem;display:flex}.screen.summary ul.judge-list>li .property{letter-spacing:.16em;color:var(--color-muted);font-size:.68rem}.screen.summary ul.judge-list>li .value{font-size:calc(1.3rem * var(--ratio-font));color:var(--grade-color);letter-spacing:.02em;font-weight:600;line-height:1.15}.screen.summary ul.judge-list>li .level{letter-spacing:.14em;color:var(--color-muted);white-space:nowrap;font-size:.7rem}.screen.summary ul.judge-list>li:nth-last-child(2) .value,.screen.summary ul.judge-list>li:last-child .value{color:var(--color-accent)}.screen.summary .epitaph{box-sizing:border-box;border:.0625rem solid var(--color-rule);border-left:.1875rem solid var(--color-accent);background:color-mix(in srgb, var(--color-accent) 5%, transparent);width:100%;padding:.7rem .9rem .85rem}.screen.summary .epitaph .label{letter-spacing:.3em;color:var(--color-accent);font-size:.68rem}.screen.summary .epitaph .text{font-family:var(--font-serif);font-size:calc(1.02rem * var(--ratio-font));letter-spacing:.02em;color:var(--base-text-color);margin:.45rem 0 0;line-height:1.85}.screen.summary .epitaph .text.pending{opacity:.45}.screen.summary .epitaph .caret{vertical-align:-.12em;background:var(--color-accent);width:.4em;height:.95em;margin-left:.12rem;animation:1s step-end infinite summary-caret;display:inline-block}.screen.summary .epitaph .fallback{letter-spacing:.06em;color:var(--color-muted);margin:.4rem 0 0;font-size:.78rem}.screen.summary .section{flex-direction:column;gap:.5rem;width:100%;display:flex}.screen.summary .section .title{letter-spacing:.18em;height:auto;color:var(--color-muted);border:none;border-bottom:.0625rem solid var(--color-rule);justify-content:flex-start;padding-bottom:.4rem;font-size:.74rem;font-weight:400;display:flex}.screen.summary .section ul.talent-list{flex-direction:column;width:100%;max-height:26vh;display:flex;overflow-y:auto}.screen.summary .summary-actions{flex-flow:wrap;gap:.5rem;width:100%;display:flex}.screen.summary .summary-actions>button{height:calc(2.6rem * var(--ratio));flex:8rem}.screen.summary .summary-actions>button:disabled{opacity:.4;cursor:not-allowed}.screen.summary .card-modal{z-index:50;background:#08080acc;flex-direction:column;justify-content:center;align-items:center;gap:.9rem;padding:1.2rem;animation:.25s both archive-in;display:flex;position:fixed;inset:0}.screen.summary .card-modal .card-image{border:.0625rem solid #f2efea40;max-width:min(92vw,34rem);max-height:76vh;box-shadow:0 1.2rem 3rem #00000080}.screen.summary .card-modal .card-actions{flex-direction:row;gap:.5rem;display:flex}.screen.summary .card-modal .card-actions .card-save{height:calc(2.4rem * var(--ratio));border:.0625rem solid var(--color-accent);color:var(--color-accent);letter-spacing:.12em;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:0 1.2rem;font-size:.85rem;font-weight:600;text-decoration:none;display:inline-flex}.screen.summary .card-modal .card-actions .card-save:hover{background:color-mix(in srgb, var(--color-accent) 12%, transparent)}.screen.summary .card-modal .card-actions>button.ghost{color:var(--color-muted);height:calc(2.4rem * var(--ratio));letter-spacing:.12em;border-color:#0000;padding:0 .8rem;font-size:.85rem}.screen.summary .card-modal .card-actions>button.ghost:hover{color:var(--base-text-color);background:0 0;border-color:#f2efea40}@keyframes summary-caret{0%,49%{opacity:1}50%,to{opacity:0}}.screen.achv{gap:1rem;width:100%;max-width:44rem;height:calc(100dvh - 2rem)}.screen.achv>.stats>.details{border-top:.1875rem double var(--color-rule);grid-template-columns:1fr 1fr;display:grid}.screen.achv>.stats>.details>div{border-left:.0625rem solid var(--color-rule);border-bottom:.0625rem solid var(--color-rule);-webkit-user-select:none;user-select:none;flex-direction:column;gap:.3rem;padding:.6rem .75rem .7rem;display:flex}.screen.achv>.stats>.details>div>.title{letter-spacing:.1em;color:var(--color-muted);font-size:.74rem;font-weight:400}.screen.achv>.stats>.details>div>.value{font-size:calc(1.2rem * var(--ratio-font));letter-spacing:.03em;color:var(--grade-color);font-weight:600}.screen.achv>.stats>.details>.prg{padding-bottom:.55rem;position:relative}.screen.achv>.stats>.details>.prg:before{content:"";background:var(--color-rule);height:.0625rem;position:absolute;bottom:.28rem;left:.75rem;right:.75rem}.screen.achv>.stats>.details>.prg:after{content:"";height:.125rem;width:var(--progress,0%);background:var(--grade-color);transition:width .2s ease-in-out;position:absolute;bottom:.28rem;left:.75rem}.screen.achv>.achievement-list{flex:1 0;width:100%;min-height:0}.screen.achv>.achievement-list>ul{box-sizing:border-box;flex:1 0;grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));align-content:start;gap:0 1rem;display:grid;overflow-y:auto}.screen.achv>.achievement-list>ul>li.achievement{border-left:.125rem solid color-mix(in srgb, var(--grade-color) 55%, transparent);border-bottom:.0625rem solid var(--color-rule);color:var(--grade-color);-webkit-user-select:none;user-select:none;flex-direction:column;gap:.15rem;padding:.5rem .6rem .55rem .7rem;display:flex}.screen.achv>.achievement-list>ul>li.achievement>.name{font-size:calc(1rem * var(--ratio-font));letter-spacing:.02em;font-weight:600}.screen.achv>.achievement-list>ul>li.achievement>.description{font-size:calc(.78rem * var(--ratio-font));color:var(--color-muted)}.screen.achv>.achievement-list>ul>li.achievement:not(.colled){border-left-color:var(--color-rule)}.screen.achv>.achievement-list>ul>li.achievement:not(.colled) .name,.screen.achv>.achievement-list>ul>li.achievement:not(.colled) .description{color:var(--color-muted);opacity:.5}.screen{flex-direction:column;justify-content:center;align-items:center;min-width:32rem;max-width:min(100dvw - 2rem,48rem);margin:0;padding:0;display:flex;position:relative}.screen>*{width:100%}.screen>.section{gap:calc(.5rem * var(--ratio));box-sizing:border-box;flex-direction:column;width:100%;padding:0;display:flex}.screen>.section>.title{letter-spacing:.2em;width:100%;height:auto;color:var(--color-muted);border:none;border-bottom:.0625rem solid var(--color-rule);box-sizing:border-box;-webkit-user-select:none;user-select:none;flex-direction:row;justify-content:flex-start;align-items:center;padding-bottom:.4rem;font-size:.74rem;font-weight:400;display:flex}.screen>.controls{flex-direction:row;justify-content:center;gap:.5rem;width:100%;display:flex}.screen>.controls>button{flex:1 0}.screen.loading{justify-content:center;align-items:center;display:flex}.screen.loading>*{width:auto}.screen.loading{animation:1.8s ease-in-out infinite pulse}.saving{opacity:0;-webkit-user-select:none;user-select:none;position:fixed;bottom:0;left:0}.saving.active{animation:1.8s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}@media (width<=40rem){.screen{width:calc(100dvw - 1.5rem);min-width:0;max-width:calc(100dvw - 1.5rem)}}@media (height<=34rem){.screen{justify-content:flex-start}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--base-text-color:var(--lightningcss-light,#121314)var(--lightningcss-dark,#f9fafb);--base-background-color:var(--lightningcss-light,#f7f7f7)var(--lightningcss-dark,#121314);--base-shadow:var(--lightningcss-light,#00000010)var(--lightningcss-dark,#23456710);--color-grade-0:var(--lightningcss-light,#4e5052)var(--lightningcss-dark,#f9fafb);--color-grade-1:var(--lightningcss-light,#4aa8da)var(--lightningcss-dark,#afe3ff);--color-grade-2:var(--lightningcss-light,#a8563f)var(--lightningcss-dark,#e8a48c);--color-grade-3:var(--lightningcss-light,#ffaf2d)var(--lightningcss-dark,#ffe48d);--color-success:var(--lightningcss-light,#61b700)var(--lightningcss-dark,#b9ff69);--color-info:var(--lightningcss-light,#454ad3)var(--lightningcss-dark,#b5b7ff);--color-error:var(--lightningcss-light,#e42b2b)var(--lightningcss-dark,#ff6969);--color-primary:var(--color-success);--color-secondary:var(--color-muted);--color-accent:var(--lightningcss-light,#a83b2c)var(--lightningcss-dark,#e0705a);--color-muted:var(--lightningcss-light,#5f5c55)var(--lightningcss-dark,#9b9992);--color-rule:var(--lightningcss-light,#00000026)var(--lightningcss-dark,#ffffff24);--color-paper:var(--lightningcss-light,#efe9dc)var(--lightningcss-dark,#151517);--font-serif:"Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, "Times New Roman", serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}.grade-0{--grade-color:var(--color-grade-0)}.grade-1{--grade-color:var(--color-grade-1)}.grade-2{--grade-color:var(--color-grade-2)}.grade-3{--grade-color:var(--color-grade-3)}:root{--ratio:1;--ratio-font:1;color:var(--base-text-color)}html{transition:all .2s ease-in-out}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.hide-scrollbar,html{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;overflow:auto}:is(.hide-scrollbar,html)::-webkit-scrollbar{display:none}body{background:var(--color-paper);background-image:radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--color-accent) 7%, transparent), transparent 42%), radial-gradient(circle at 82% 92%, color-mix(in srgb, var(--color-accent) 5%, transparent), transparent 40%);place-items:center;width:calc(100dvw - 2rem);min-height:calc(100dvh - 2rem);margin:1rem;padding:0;transition:all .2s ease-in-out;display:grid}html,body,button,input,select,textarea{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,PingFang SC,Noto Sans SC,Noto Sans CJK SC,Noto Sans,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.font-mono{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:SF Mono,SFMono-Regular,Menlo,Monaco,Consolas,Noto Sans Mono CJK SC,Noto Sans Mono,Noto Code,ui-monospace,monospace}button{--style-color:var(--base-text-color);--style-background:var(--color-paper);--border-color:var(--color-rule);--background-color:transparent;--text-color:var(--style-color);color:var(--text-color);cursor:pointer;box-sizing:border-box;border:var(--border-color) .0625rem solid;background:var(--background-color);font-size:calc(1.05rem * var(--ratio-font));letter-spacing:.12em;height:calc(2.5rem * var(--ratio));-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;outline:none;justify-content:center;align-items:center;padding:0 1rem;font-weight:600;transition:all .2s ease-in-out;display:inline-flex}@media (hover:hover){button:hover{background:color-mix(in srgb, var(--style-color) 12%, transparent);border-color:var(--style-color);color:var(--style-color)}}button:active{background:var(--style-color);color:var(--base-background-color);transition:none}button.primary{--style-color:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent)}button.secondary{--style-color:var(--color-secondary)}button.info{--style-color:var(--color-info)}button.error{--style-color:var(--color-error)}button.focus{height:calc(3.5rem * var(--ratio));font-size:calc(1.35rem * var(--ratio-font));letter-spacing:.3em;justify-content:center;align-items:center;font-weight:600;display:flex}ul{margin:0;padding:0;list-style:none}input{font-size:calc(1rem * var(--ratio-font));background:var(--base-background-color);text-align:center;-moz-appearance:textfield;appearance:none;color:var(--base-text-color);border:none;margin:0;padding:0;transition:all .2s ease-in-out}input:focus{outline:none}input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{appearance:textfield}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}@media (width<=32rem){:root{font-size:2.88vw}}@media screen and (orientation:portrait) and (pointer:coarse){:root{--ratio:1.5;--ratio-font:1.2}}
