.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)}button.github-btn svg{width:100%;height:100%;fill:var(--style-color);transition:fill .2s ease-in-out}@media (hover:hover){button.github-btn:hover svg{fill:var(--style-background)}}button.github-btn:active svg{fill:var(--style-background)}.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:1rem}.screen.mode button{flex-direction:column;gap:.5rem;height:10rem;display:flex}.screen.mode button .name{font-size:3.5rem;font-weight:700}.screen.mode button .description{flex-direction:row;gap:1rem;display:flex}.screen.mode button .description span{font-size:1rem}.screen.mode button .description span:before{content:"["}.screen.mode button .description span:after{content:"]"}.talent{--color:var(--grade-color);height:calc(2rem * var(--ratio));font-size:calc(1rem * var(--ratio-font));color:var(--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;justify-content:space-between;align-items:center;gap:1rem;padding:0 1rem;transition:all .2s ease-in-out;display:flex}.talent.selected{--color:var(--base-background-color);--background:var(--grade-color)}@media (hover:hover){.talent.selected:hover{background:oklch(from var(--grade-color) calc(l + .1) c h)}}.talent.selected:active{background:oklch(from var(--grade-color) calc(l + .1) c h);transition:none}@media (hover:hover){.talent:hover{background:oklch(from var(--grade-color) calc(l + .5) c h)}}.talent:active{background:oklch(from var(--grade-color) calc(l + .5) c h);transition:none}.talent .talent-name{font-weight:700}.talent .talent-description{color:oklch(from var(--color) calc(l + .1) c h);font-size:calc(.85rem * var(--ratio-font));-webkit-user-select:none;user-select:none}.talent .talent-description:before{content:"[";margin-right:.125rem}.talent .talent-description:after{content:"]";margin-left:.125rem}.talent .talent-description:before,.talent .talent-description:after{color:var(--color)}@media (hover:hover){html[data-theme=dark] .talent:hover{background:oklch(from var(--grade-color) calc(l - .5) c h)}html[data-theme=dark] .talent.selected:hover{background:oklch(from var(--grade-color) calc(l - .1) c h)}}html[data-theme=dark] .talent:active{background:oklch(from var(--grade-color) calc(l - .5) c h);transition:none}html[data-theme=dark] .talent.selected:active{background:oklch(from var(--grade-color) calc(l - .1) c h);transition:none}html[data-theme=dark] .talent .talent-description{color:oklch(from var(--color) calc(l - .2) c h)}.graded{color:var(--grade-color)}.odds{cursor:default;font-size:calc(.8rem * var(--ratio-font));flex-direction:column;gap:.25rem;padding:.25rem 0 .125rem 1rem;display:flex}.odds-row{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.odds-row>.odds-label{opacity:.7;-webkit-user-select:none;user-select:none;margin-right:.25rem}.odds-row>.odds-warn{color:var(--color-error)}.odds-row>.odds-more{height:auto;font-size:inherit;border-style:dashed;padding:.0625rem .375rem;font-weight:400}button.odds-chip{--style-color:var(--grade-color,var(--base-text-color));height:auto;font-size:inherit;border-color:color-mix(in oklch, var(--style-color) 50%, transparent);gap:.375rem;padding:.0625rem .375rem;font-weight:400}button.odds-chip>.name{font-weight:700}button.odds-chip>.p{opacity:.75}button.odds-chip:disabled{cursor:default}button.odds-chip:disabled:hover{background:var(--style-background);color:var(--style-color)}button.odds-chip.impossible{opacity:.35;text-decoration:line-through}button.odds-chip.chosen{background:var(--style-color);color:var(--style-background);border-color:var(--style-color)}button.odds-chip.chosen>.p:after{content:" ✓"}.mod-prophecy{flex-direction:column;flex:1;min-height:0;font-size:.85rem;display:flex}.mod-prophecy>.bar{border-bottom:.0625rem dashed color-mix(in oklch, var(--base-text-color) 30%, transparent);align-items:center;gap:.75rem;padding:.25rem .625rem;display:flex}.mod-prophecy>.bar>span:first-child{opacity:.75;flex:1}.mod-prophecy>.bar>button{height:1.5rem;padding:0 .5rem;font-size:.8rem}.mod-prophecy>.content{-webkit-user-select:text;user-select:text;flex:1;min-height:0;overflow:auto}.mod-prophecy .tree-empty{opacity:.7;padding:.75rem}.mod-prophecy .warn{color:var(--color-error)}.browser{flex-direction:column;display:flex}.browser>.crumbs{z-index:2;background:var(--base-background-color);border-bottom:.0625rem solid color-mix(in oklch, var(--base-text-color) 20%, transparent);white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:.25rem;padding:.375rem .625rem;display:flex;position:sticky;top:0}.browser>.crumbs .crumb{flex:none;align-items:center;gap:.25rem;display:inline-flex}.browser>.crumbs>.crumb.current{flex:0 auto;min-width:0}.browser>.crumbs>.crumb.current>button{flex:0 auto;min-width:0}.browser>.crumbs>.crumb.current>button>.text{flex:0 auto;min-width:2em}.browser>.crumbs .sep{opacity:.4}.browser>.crumbs button{--style-color:var(--base-text-color);border-color:#0000;flex:none;height:1.5rem;padding:0 .375rem;font-size:.8rem;font-weight:400}.browser>.crumbs button.here{border-color:var(--color-primary)}.browser>.crumbs button.more{border-style:dashed;border-color:color-mix(in oklch, var(--base-text-color) 40%, transparent)}.browser>.crumbs button.more.open{border-color:var(--color-primary)}.browser>.crumbs button>.text{text-overflow:ellipsis;vertical-align:bottom;max-width:11rem;display:inline-block;overflow:hidden}.browser>.crumbs button>.p{opacity:.6;margin-left:.375rem}.browser>.crumbs>.crumbs-measure-box{visibility:hidden;pointer-events:none;width:0;height:0;position:absolute;top:0;left:0;overflow:hidden}.browser>.crumbs>.crumbs-measure-box>.crumbs-measure{gap:.25rem;width:max-content;display:flex}.browser>.crumbs>.crumbs-measure-box>.crumbs-measure>*{flex:none}.browser>.crumbs>.crumbs-menu{background:var(--base-background-color);border:.0625rem solid var(--base-text-color);max-height:18rem;box-shadow:0 .5rem 1rem var(--base-shadow);counter-reset:step;margin:0;padding:.25rem 0;list-style:none;position:absolute;top:100%;left:.625rem;right:.625rem;overflow-y:auto}.browser>.crumbs>.crumbs-menu>li>button{text-align:left;white-space:normal;border:none;grid-template-columns:3.25rem 1fr auto;gap:.5rem;width:100%;height:auto;min-height:1.75rem;padding:.125rem .625rem;display:grid}.browser>.crumbs>.crumbs-menu>li>button>b{white-space:nowrap}.browser>.crumbs>.crumbs-menu>li>button>.text{min-width:0}.browser>.crumbs>.crumbs-menu>li>button>.p{opacity:.6}.browser>.level-title{flex-wrap:wrap;align-items:baseline;gap:.75rem;padding:.5rem .625rem .25rem;font-weight:700;display:flex}.browser>.level-title>.abs{opacity:.7;margin-left:auto;font-size:.8rem;font-weight:400}.browser>.level-title>.warn,.browser>.level-title>.note{font-size:.8rem;font-weight:400}.browser>.level-title>.note{opacity:.7}.browser>ul.branches>li.branch{border-top:.0625rem solid color-mix(in oklch, var(--base-text-color) 8%, transparent);grid-template-columns:4.5rem 1fr auto;align-items:start;gap:.5rem;padding:.375rem .625rem;display:grid}.browser>ul.branches>li.branch>.p{text-align:right;color:var(--color-info);line-height:1.5}.browser>ul.branches>li.branch>.main{min-width:0}.browser>ul.branches>li.branch>.main>.label{line-height:1.5}.browser>ul.branches>li.branch>.main>.detail{opacity:.85;flex-wrap:wrap;gap:.125rem .625rem;font-size:.8rem;display:flex}.browser>ul.branches>li.branch>.main>.detail:empty{display:none}.browser>ul.branches>li.branch>.main>.detail>.tag{color:var(--color-grade-2);font-weight:700}.browser>ul.branches>li.branch>.main>.detail>.tag.warn,.browser>ul.branches>li.branch>.main>.detail>.death{color:var(--color-error)}.browser>ul.branches>li.branch>.main>.detail>.revive{color:var(--color-success)}.browser>ul.branches>li.branch>.side{align-items:center;gap:.375rem;display:flex}.browser>ul.branches>li.branch>.side>button.destine{--style-color:var(--color-grade-2);height:1.375rem;padding:0 .5rem;font-size:.75rem}.browser>ul.branches>li.branch>.side>.go{text-align:center;opacity:.5;width:.75rem;font-size:1rem}.browser>ul.branches>li.branch.enterable{cursor:pointer}.browser>ul.branches>li.branch.enterable:hover{background:color-mix(in oklch, var(--base-text-color) 6%, transparent)}.browser>ul.branches>li.branch.forced{background:color-mix(in oklch, var(--color-grade-2) 14%, transparent)}.browser>ul.branches>li.branch.ghost{opacity:.45}.browser>ul.branches>li.branch.error>.main>.label{-webkit-text-decoration:underline wavy var(--color-error);text-decoration:underline wavy var(--color-error)}.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:1rem;width:100%;display:flex}.screen.talent-pick ul.talent-list{gap:calc(.5rem * var(--ratio));flex-direction:column;display:flex}.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,.screen.talent-pick ul.talent-list li>.prophecy-talent{width:100%}ul.replaced{flex-direction:column;gap:.5rem;display:flex}ul.replaced li{flex-direction:column;justify-content:center;align-items:stretch;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;justify-content:center;align-items:center;gap:1rem;width:100%;display:flex}.screen.point-allocation .allocation-input{height:calc(2rem * var(--ratio));border:.0625rem solid var(--grade-color);color:var(--grade-color);box-sizing:border-box;gap:0;width:100%;transition:all .2s ease-in-out;display:flex}.screen.point-allocation .allocation-input button{--style-color:var(--grade-color);text-align:center;border:none;flex:1 0;height:100%;margin:0;padding:0}.screen.point-allocation .allocation-input input{width:2rem;height:100%;color:var(--grade-color);flex:1 0;font-weight:700;transition:all .2s ease-in-out}.screen.point-allocation .points-detail{min-width:100%;color:var(--color-primary);white-space:nowrap;background:var(--base-background-color);border:.0625rem solid var(--color-primary);box-sizing:border-box;font-size:calc(1rem * var(--ratio-font));flex-direction:column;margin:0;display:flex;position:absolute;top:0;left:0;transform:translateY(-100%)}.screen.point-allocation .points-detail li{height:calc(2rem * var(--ratio));justify-content:space-between;align-items:center;gap:.5rem;padding:0 .5rem;display:flex}.screen.point-allocation .points-detail li:not(:first-child){border-top:.0625rem solid var(--color-primary)}.screen.point-allocation>ul.alloc{width:100%;font-size:calc(1rem * var(--ratio-font));flex-direction:row;justify-content:center;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.screen.point-allocation>ul.alloc>li{flex-direction:column;flex:1 0;justify-content:center;align-items:center;gap:0;display:flex;position:relative}.screen.point-allocation>ul.alloc>li>span{width:100%;height:calc(2rem * var(--ratio));color:var(--grade-color);background:var(--base-background-color);border:.0625rem solid var(--grade-color);box-sizing:border-box;border-bottom:none;justify-content:center;align-items:center;font-weight:700;transition:all .2s ease-in-out;display:flex}.screen.point-allocation>ul.alloc>li>span.name{color:var(--base-background-color);background:var(--grade-color)}.screen.point-allocation>ul.alloc>li.left{--left-color:var(--color-error)}.screen.point-allocation>ul.alloc>li.left.left-0{--left-color:var(--color-primary)}.screen.point-allocation>ul.alloc>li.left>span{background:var(--left-color);border:.0625rem solid var(--left-color)}.screen.point-allocation>ul.alloc>li.left>button{--style-color:var(--left-color);font-size:calc(1rem * var(--ratio-font));height:calc(2rem * var(--ratio));flex:1;width:6rem;padding:0}.screen.point-allocation>ul.talent-list{flex-direction:column;gap:.5rem;width:100%;display:flex}.screen.point-allocation>ul.talent-list li{width:100%}.screen.play{gap:1rem;height:calc(100dvh - 2rem)}.screen.play>ul.properties{flex-direction:row;gap:.5rem;width:100%;font-weight:700;display:flex}.screen.play>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.play>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.play>ul.properties>li span:first-child{border-bottom:none}.screen.play>ul.properties>li .name{color:var(--base-background-color);background-color:var(--grade-color)}.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{border:.0625rem solid var(--base-text-color);box-sizing:border-box;flex-direction:column;flex:1 0;gap:.5rem;min-width:32rem;max-width:100%;height:100%;padding:0 .5rem;display:flex}.screen.play>ul.logs>li.log{-webkit-user-select:none;user-select:none;cursor:pointer;flex-direction:row;gap:.5rem;width:100%;line-height:2rem;display:flex}.screen.play>ul.logs>li.log>.age{text-align:right;width:3rem;height:2rem;color:var(--color-primary);box-sizing:border-box;flex-shrink:0;font-weight:700}.screen.play>ul.logs>li.log>.content{position:relative}.screen.play>ul.logs>li.log>.content:before{content:"";border:.0625rem solid var(--base-text-color);box-sizing:border-box;pointer-events:none;border-top:none;border-right:none;width:calc(100% + .5rem);height:calc(100% - 2rem);position:absolute;bottom:0;left:-.5rem}.screen.play>ul.logs>li.log>.content .tag,.screen.play>ul.logs>li.log>.content .name{font-weight:700}.screen.play>ul.logs>li:last-child{margin-bottom:2rem}.screen.play ul.log-inner>li{color:var(--grade-color);flex-direction:row;gap:.5rem;display:flex}.screen.play .controls{flex-direction:row;gap:.5rem;width:100%;display:flex}.screen.play .controls>button{min-width:6rem;font-size:calc(1.25rem * var(--ratio-font));height:calc(2.5rem * var(--ratio));flex:1 0}.screen.play>ul.properties>li .value{background-color:var(--base-background-color);transition:background-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:.5rem;transform:translateY(-50%)}.screen.play>ul.properties>li[class*=trend-up] .value:after{border-width:0 .3125rem .375rem;border-color:transparent transparent var(--color-success) transparent}.screen.play>ul.properties>li[class*=trend-down] .value:after{border-width:.375rem .3125rem 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 flash-success-odd{0%{background-color:color-mix(in srgb, var(--color-success) 30%, var(--base-background-color))}to{background-color:var(--base-background-color)}}@keyframes flash-success-even{0%{background-color:color-mix(in srgb, var(--color-success) 30%, var(--base-background-color))}to{background-color:var(--base-background-color)}}@keyframes flash-error-odd{0%{background-color:color-mix(in srgb, var(--color-error) 30%, var(--base-background-color))}to{background-color:var(--base-background-color)}}@keyframes flash-error-even{0%{background-color:color-mix(in srgb, var(--color-error) 30%, var(--base-background-color))}to{background-color:var(--base-background-color)}}@keyframes triangle-pop{0%{opacity:0;transform:translateY(-50%)scale(.5)}to{opacity:1;transform:translateY(-50%)scale(1)}}.screen.summary{gap:1rem}.screen.summary ul.judge-list{flex-direction:row;gap:.125rem;width:100%;display:flex}.screen.summary ul.judge-list>li{text-align:center;-webkit-user-select:none;user-select:none;flex-direction:column;flex:1 0;justify-content:space-between;min-width:4rem;display:flex}.screen.summary ul.judge-list>li span{border:.0625rem solid var(--grade-color);box-sizing:border-box;height:2rem;color:var(--grade-color);flex-direction:row;justify-content:center;align-items:center;font-weight:700;display:flex}.screen.summary ul.judge-list>li span:not(:first-child){border-top:none}.screen.summary ul.judge-list>li .level{background-color:var(--grade-color);color:var(--base-background-color);font-size:.95rem}.screen.summary ul.talent-list{gap:calc(.5rem * var(--ratio));flex-direction:column;width:100%;display:flex}.screen.achv{gap:1rem;width:min(100dvw - 2rem,48rem);height:calc(100dvh - 2rem)}.screen.achv>.stats>.details{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.screen.achv>.stats>.details>div{border:.0625rem solid var(--grade-color);color:var(--grade-color);box-sizing:border-box;transform-style:preserve-3d;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;display:flex;position:relative}.screen.achv>.stats>.details>div>span{justify-content:center;align-items:center;display:flex}.screen.achv>.stats>.details>div>.title{height:2.5rem;font-size:1.5rem;font-weight:700}.screen.achv>.stats>.details>div>.value{height:2rem}.screen.achv>.stats>.details>.prg{padding-bottom:.1875rem}.screen.achv>.stats>.details>.prg:before,.screen.achv>.stats>.details>.prg:after{content:"";height:.1875rem;display:block;position:absolute;bottom:0;left:0;transform:translateZ(-1px)}.screen.achv>.stats>.details>.prg:after{width:var(--progress,0%);background:var(--grade-color);transition:width .2s ease-in-out}.screen.achv>.stats>.details>.prg:before{border-top:.0625rem solid var(--grade-color);box-sizing:border-box;width:100%}.screen.achv>.stats>.details>.prg.prophecy:before{background:color-mix(in oklch, var(--grade-color) 25%, transparent)}.screen.achv>.achievement-list{flex:1 0;width:100%}.screen.achv>.achievement-list>ul{box-sizing:border-box;flex:1 0;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.5rem;display:grid}.screen.achv>.achievement-list>ul>li.achievement{color:var(--grade-color);border:.0625rem solid var(--grade-color);box-sizing:border-box;transform-style:preserve-3d;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;margin-right:.0625rem;padding:0 .0625rem;display:flex;position:relative}.screen.achv>.achievement-list>ul>li.achievement>.name{justify-content:center;align-items:center;height:2rem;font-size:1.2rem;font-weight:700;display:flex}.screen.achv>.achievement-list>ul>li.achievement>.description{justify-content:center;align-items:center;height:1.5rem;display:flex}.screen.achv>.achievement-list>ul>li.achievement:before{content:"";background:var(--base-background-color);opacity:.5;width:100%;height:100%;margin:-.0625rem;padding:.0625rem;display:block;position:absolute;top:0;left:0;transform:translateZ(1px)}.screen.achv>.achievement-list>ul>li.achievement.colled:before{background:var(--grade-color);opacity:.15;transform:translateZ(-1px)}.screen.thanks{gap:1rem;height:calc(100dvh - 2rem)}.screen.thanks .person{--style-color:var(--custom-color,var(--base-text-color));color:var(--style-color);background:var(--base-background-color);flex-wrap:wrap;justify-content:center;gap:.5rem;transition:background .2s ease-in-out,color .2s ease-in-out;display:flex}.screen.thanks .person>.name{text-wrap:wrap;word-break:break-all;width:12rem;min-height:2.5rem;text-shadow:-.0625rem -.0625rem .0625rem var(--base-shadow), .0625rem -.0625rem .0625rem var(--base-shadow), -.0625rem .0625rem .0625rem var(--base-shadow), .0625rem .0625rem .0625rem var(--base-shadow), 0 -.0625rem .0625rem var(--base-shadow), 0 .0625rem .0625rem var(--base-shadow), -.0625rem 0 .0625rem var(--base-shadow), .0625rem 0 .0625rem var(--base-shadow);align-items:center;font-size:1.2rem;font-weight:700;display:flex}.screen.thanks .person>.comment{word-break:break-all;white-space:pre-wrap;min-height:2.5rem;text-shadow:-.0625rem -.0625rem .0625rem var(--base-shadow), .0625rem -.0625rem .0625rem var(--base-shadow), -.0625rem .0625rem .0625rem var(--base-shadow), .0625rem .0625rem .0625rem var(--base-shadow), 0 -.0625rem .0625rem var(--base-shadow), 0 .0625rem .0625rem var(--base-shadow), -.0625rem 0 .0625rem var(--base-shadow), .0625rem 0 .0625rem var(--base-shadow);flex:1 0;align-items:center;display:flex}.screen.thanks>.group-1{border:.0625rem solid var(--base-text-color);box-sizing:border-box;flex-direction:column;flex:1;gap:.5rem;padding:.5rem 0;display:flex}.screen.thanks>.group-1>.person{border:.0625rem solid var(--style-color);box-sizing:border-box;margin:0 .5rem;padding:0 .5rem;display:flex}.screen.thanks>.group-1>.person>.comment{word-break:break-all;white-space:pre-wrap;flex:1 0;align-items:center;min-height:2.5rem;padding:0 .5rem;display:flex}.screen.thanks>.group-2{border:.0625rem solid var(--base-text-color);flex:3;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.5rem;display:grid}.screen.thanks>.group-2>.person{text-wrap:wrap;word-break:break-all;text-align:center;justify-content:center;align-items:center;margin-right:.0625rem;display:flex}.screen.thanks>.group-2>.person>.name{justify-content:center}.screen.thanks>.group-2>.person>.comment{display:none}.mod-window{--mod-scroll-thumb:color-mix(in oklch, var(--base-text-color) 28%, transparent);--mod-scroll-thumb-hover:color-mix(in oklch, var(--base-text-color) 50%, transparent);scrollbar-color:var(--mod-scroll-thumb) transparent}.mod-window,.mod-window *{scrollbar-width:thin}.mod-window ::-webkit-scrollbar{width:.375rem;height:.375rem}.mod-window ::-webkit-scrollbar-track{background:0 0}.mod-window ::-webkit-scrollbar-thumb{background:var(--mod-scroll-thumb);border-radius:0}.mod-window ::-webkit-scrollbar-thumb:hover{background:var(--mod-scroll-thumb-hover)}.mod-window ::-webkit-scrollbar-corner{background:0 0}.mod-window{z-index:1000;background:color-mix(in oklch, var(--base-background-color) 96%, transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:.0625rem solid var(--base-text-color);box-shadow:0 .75rem 2rem var(--base-shadow), 0 0 0 .0625rem var(--base-shadow);color:var(--base-text-color);flex-direction:column;display:flex;position:fixed}.mod-window>.titlebar{border-bottom:.1875rem solid var(--color-primary);-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab;flex:none;align-items:center;height:2rem;padding-left:.75rem;display:flex}.mod-window>.titlebar>.title{text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:700;overflow:hidden}.mod-window>.titlebar>.buttons{height:100%;display:flex}.mod-window>.titlebar>.buttons>button{--style-color:var(--base-text-color);background:0 0;border:none;width:2.5rem;height:100%;padding:0}.mod-window>.titlebar>.buttons>button svg{fill:none;stroke:currentColor;stroke-width:1.2px;width:.7rem;height:.7rem}.mod-window>.titlebar>.buttons>button.close{--style-color:var(--color-error)}.mod-window>.body{flex-direction:column;flex:1;min-height:0;display:flex}.mod-window.max{border:none}.mod-window.max>.titlebar{cursor:default}.mod-window.min{width:14rem;bottom:0;left:1rem}.mod-window.min>.titlebar{cursor:pointer;border-bottom:none;border-top:.1875rem solid var(--color-primary)}.mod-window.min>.body{display:none}.mod-window>.resize{touch-action:none;position:absolute}.mod-window>.resize.n,.mod-window>.resize.s{cursor:ns-resize;height:.5rem;left:.5rem;right:.5rem}.mod-window>.resize.e,.mod-window>.resize.w{cursor:ew-resize;width:.5rem;top:.5rem;bottom:.5rem}.mod-window>.resize.n{top:-.25rem}.mod-window>.resize.s{bottom:-.25rem}.mod-window>.resize.e{right:-.25rem}.mod-window>.resize.w{left:-.25rem}.mod-window>.resize.ne,.mod-window>.resize.nw,.mod-window>.resize.se,.mod-window>.resize.sw{width:.875rem;height:.875rem}.mod-window>.resize.ne{cursor:nesw-resize;top:-.25rem;right:-.25rem}.mod-window>.resize.sw{cursor:nesw-resize;bottom:-.25rem;left:-.25rem}.mod-window>.resize.nw{cursor:nwse-resize;top:-.25rem;left:-.25rem}.mod-window>.resize.se{cursor:nwse-resize;bottom:-.25rem;right:-.25rem}.mod-console{flex-direction:column;flex:1;min-height:0;font-size:.85rem;display:flex}.mod-console .graded{color:var(--grade-color)}.mod-console .dim{opacity:.55}.mod-console>.output{overscroll-behavior:contain;-webkit-user-select:text;user-select:text;cursor:text;flex:1;min-height:0;padding:.375rem .625rem;overflow-y:auto}.mod-console>.output>.line{white-space:pre-wrap;word-break:break-all;line-height:1.45}.mod-console>.output>.line.in{color:var(--color-secondary)}.mod-console>.output>.line.ok{color:var(--color-success)}.mod-console>.output>.line.warn{color:var(--color-grade-3)}.mod-console>.output>.line.err{color:var(--color-error)}.mod-console>.output>.line>.echo{opacity:.6}.mod-console>.cmd{flex:none;position:relative}.mod-console>.cmd>.hint{border-top:.0625rem dashed color-mix(in oklch, var(--base-text-color) 30%, transparent);color:color-mix(in oklch, var(--base-text-color) 55%, transparent);pointer-events:none;white-space:pre;text-overflow:ellipsis;padding:.125rem .625rem;overflow:hidden}.mod-console>.cmd>.hint.error{color:var(--color-error)}.mod-console>.cmd>.suggestions{z-index:1;background:var(--base-background-color);border:.0625rem solid var(--base-text-color);width:max-content;min-width:10rem;max-width:min(100%,36rem);max-height:min(16rem,60vh);box-shadow:0 -.25rem 1rem var(--base-shadow);margin-left:-.5625rem;position:absolute;bottom:100%;overflow-y:auto}.mod-console>.cmd>.suggestions>li{cursor:pointer;white-space:nowrap;gap:.75rem;padding:.125rem .5rem;display:flex}.mod-console>.cmd>.suggestions>li>.text{font-weight:700}.mod-console>.cmd>.suggestions>li.graded>.text{color:var(--grade-color)}.mod-console>.cmd>.suggestions>li>.tooltip{text-overflow:ellipsis;opacity:.6;overflow:hidden}.mod-console>.cmd>.suggestions>li.selected{background:color-mix(in oklch, var(--color-primary) 22%, transparent)}.mod-console>.cmd>.field{border-top:.0625rem solid var(--base-text-color);cursor:text;align-items:center;gap:.5rem;padding:.25rem .625rem;display:flex}.mod-console>.cmd>.field>.prompt{color:var(--color-primary);font-weight:700}.mod-console>.cmd>.field>.editor{flex:1;height:1.75rem;font-size:1rem;position:relative}.mod-console>.cmd>.field>.editor>.highlight,.mod-console>.cmd>.field>.editor>input{font:inherit;font-size:inherit;letter-spacing:normal;white-space:pre;margin:0;padding:0;line-height:1.75rem;position:absolute;inset:0}.mod-console>.cmd>.field>.editor>.highlight{pointer-events:none;overflow:hidden}.mod-console>.cmd>.field>.editor>.highlight>span{display:inline-block}.mod-console>.cmd>.field>.editor>.highlight .literal,.mod-console>.cmd>.field>.editor>.highlight .plain{color:var(--base-text-color)}.mod-console>.cmd>.field>.editor>.highlight .arg0{color:var(--color-grade-1)}.mod-console>.cmd>.field>.editor>.highlight .arg1{color:var(--color-grade-3)}.mod-console>.cmd>.field>.editor>.highlight .arg2{color:var(--color-success)}.mod-console>.cmd>.field>.editor>.highlight .arg3{color:var(--color-grade-2)}.mod-console>.cmd>.field>.editor>.highlight .arg4{color:var(--color-info)}.mod-console>.cmd>.field>.editor>.highlight .error{color:var(--color-error);-webkit-text-decoration:underline wavy var(--color-error);text-decoration:underline wavy var(--color-error);text-underline-offset:.2rem}.mod-console>.cmd>.field>.editor>input{text-align:left;color:#0000;width:100%;caret-color:var(--base-text-color);background:0 0}.mod-console>.cmd>.field>.editor>input::selection{background:color-mix(in oklch, var(--color-info) 35%, transparent);color:#0000}button.mod-fab{z-index:1001;touch-action:none;--style-color:var(--base-text-color);box-shadow:0 .25rem .75rem var(--base-shadow);opacity:.6;border-radius:50%;padding:0;font-size:1.4rem;position:fixed}button.mod-fab.open,button.mod-fab:active{opacity:1}button.mod-fab.prophecy{--style-color:var(--color-grade-2)}ul.mod-menu{z-index:1001;background:var(--base-background-color);border:.0625rem solid var(--base-text-color);width:16rem;box-shadow:0 .5rem 1.5rem var(--base-shadow);-webkit-user-select:none;user-select:none;flex-direction:column;gap:.25rem;padding:.5rem;display:flex;position:fixed}ul.mod-menu>li{border:.0625rem solid var(--base-text-color);cursor:pointer;grid-template-rows:auto auto;grid-template-columns:1fr auto;align-items:center;padding:.375rem .5rem;display:grid}ul.mod-menu>li>.label{font-weight:700}ul.mod-menu>li>.desc{opacity:.7;grid-row:2;font-size:.75rem}ul.mod-menu>li>.switch{grid-area:1/2/3;font-weight:700}ul.mod-menu>li.on{border-color:var(--color-primary)}ul.mod-menu>li.on>.switch{color:var(--color-primary)}ul.mod-menu>li.hide{opacity:.7;border-style:dashed;font-size:.75rem;display:block}.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{width:100%;height:calc(2rem * var(--ratio));color:var(--base-text-color);border:.0625rem solid var(--base-text-color);border-bottom:.1875rem solid var(--color-primary);box-sizing:border-box;-webkit-user-select:none;user-select:none;flex-direction:row;justify-content:center;align-items:center;font-weight:700;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}}: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,#b03fe4)var(--lightningcss-dark,#e09eff);--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-info)}@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(--base-background-color);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(--base-background-color);--border-color:var(--style-color);--background-color:var(--style-background);--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.2rem * var(--ratio-font));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:700;transition:all .2s ease-in-out;display:inline-flex}@media (hover:hover){button:hover{background:var(--style-color);color:var(--style-background)}}button:active{background:var(--style-color);color:var(--style-background);transition:none}button.primary{--style-color:var(--color-primary)}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.6rem * var(--ratio-font));justify-content:center;align-items:center;font-weight:700;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}}
