*{box-sizing:border-box}@font-face{font-family:Lobster Two;src:url(/posledniy-zachet/fonts/LobsterTwo-Regular.woff2) format("woff2");font-display:swap}@font-face{font-family:Campus Display;src:url(/posledniy-zachet/fonts/DejaVuSansCondensed-Bold.woff2) format("woff2");font-weight:700 900;font-display:swap}:root{color-scheme:dark;font-family:Inter,Segoe UI,Arial,sans-serif;background:#07122f}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{background:#07122f}.game-root{position:relative;width:100%;height:100%;overflow:hidden;background:#07122f}.game-stage{position:absolute;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;height:100dvh;aspect-ratio:auto;overflow:hidden;isolation:isolate;transform:none;background:#07122f;transition:opacity .65s ease,transform .65s ease}.game-stage.screen-entering{opacity:0;transform:scale(1.012)}.is-hidden{display:none!important}.screen-transition{position:absolute;z-index:100;top:0;right:0;bottom:0;left:0;background:#030817;opacity:0;pointer-events:none;transition:opacity .45s ease}.screen-transition.is-active{opacity:1}.screen-transition.is-black-intro{background:#000;transition-duration:.65s}.campus{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-3;background-image:url(/posledniy-zachet/assets/campus-background.webp);background-position:center center;background-repeat:no-repeat;background-size:cover;transform:scale(1.005);animation:campus-enter 1.1s ease-out both}.shade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#030a249e,#030a244d 34%,#030a2400 64%),linear-gradient(0deg,rgba(3,8,27,.43) 0%,transparent 28%,transparent 76%)}.game-title{position:absolute;left:7.5%;top:15%;width:39%;transform:rotate(-5deg);display:flex;flex-direction:column;align-items:flex-start;color:#fff;font-family:Campus Display,Impact,Arial Black,sans-serif;font-weight:900;font-style:italic;text-transform:uppercase;line-height:.78;letter-spacing:-.055em;filter:drop-shadow(0 7px 5px rgba(0,0,20,.65));animation:logo-enter .8s .12s cubic-bezier(.2,.8,.2,1) both;-webkit-user-select:none;user-select:none;pointer-events:none}.title-last{font-size:clamp(2.5rem,6.2vw,6.8rem);-webkit-text-stroke:1px rgba(255,255,255,.8);text-shadow:2px 2px 0 #192b63,4px 4px 0 #101b46,7px 9px 0 rgba(0,0,0,.48)}.title-exam{margin-top:.43em;margin-left:.13em;font-size:clamp(3.55rem,8.2vw,8.9rem);color:#078eff;-webkit-text-stroke:1.4px #0b51d6;letter-spacing:-.075em;text-shadow:2px 2px 0 #071e80,4px 5px 0 #092b8f,7px 9px 0 rgba(0,0,0,.52),0 0 15px rgba(0,115,255,.22)}.title-cap{position:absolute;left:70%;top:47%;font-family:Georgia,serif;font-size:clamp(2.5rem,5vw,5rem);color:#fff;transform:rotate(20deg);text-shadow:2px 3px 0 #081747}.start-button{position:absolute;left:7.2%;top:56%;width:38%;padding:0;border:0;outline:none;background:transparent;cursor:pointer;transform-origin:center;-webkit-tap-highlight-color:transparent;animation:button-enter .7s .25s ease-out both;transition:transform .18s ease,filter .18s ease}.start-button img{display:block;width:100%;height:auto;object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none;filter:drop-shadow(0 0 7px rgba(20,70,255,.35));transition:filter .18s ease}.start-button:hover{transform:scale(1.045);filter:drop-shadow(0 0 17px rgba(31,113,255,.8))}.start-button:hover img{filter:drop-shadow(0 0 12px rgba(34,126,255,.9)) brightness(1.12)}.start-button:focus-visible,.nav-image-button:focus-visible{outline:3px solid white;outline-offset:5px}.start-button:active,.start-button.is-pressed{transform:scale(.975);filter:brightness(1.12) drop-shadow(0 0 20px rgba(30,112,255,.95));transition-duration:65ms}.credit{position:absolute;right:4%;bottom:4%;display:flex;flex-direction:column;align-items:flex-end;gap:.02em;transform:rotate(-7deg);color:#fff;text-shadow:0 2px 7px rgba(0,0,25,.95),0 0 10px rgba(0,0,35,.55);white-space:nowrap;-webkit-user-select:none;user-select:none;padding:1.05em 1.1em 1.15em;max-width:calc(100% - 2.5rem);overflow:visible}.credit-small{font-family:Lobster Two,cursive;font-style:normal;font-size:clamp(1.12rem,1.71vw,1.71rem);letter-spacing:.015em;line-height:1.05;align-self:flex-start;margin-left:.35em;color:#fff;text-shadow:0 0 2px rgba(255,255,255,.8),0 0 7px rgba(255,105,190,.85),0 0 14px rgba(255,75,170,.48)}.credit-name{position:relative;color:#08baff;font-family:Lobster Two,cursive;font-size:clamp(2.3rem,3.96vw,4.07rem);font-style:normal;font-weight:400;letter-spacing:-.035em;line-height:.95;text-shadow:0 0 3px rgba(255,255,255,.45),0 0 9px rgba(0,125,255,.95),0 0 20px rgba(0,75,255,.75),0 3px 5px #00113e}.credit-name:after{content:"";position:absolute;left:5%;right:-4%;bottom:-.13em;height:clamp(2px,.23vw,4px);border-radius:100%;background:#08baff;box-shadow:0 0 5px #08baff,0 0 13px #0069fff2;transform:rotate(-5deg) skew(-24deg)}.credit-crown{position:absolute;right:-.1em;top:-.4em;color:#fff;font-size:clamp(.65rem,1.2vw,1.2rem);text-shadow:0 0 6px rgba(255,255,255,.6)}.character-screen{background:#08142e}.selection-background{position:absolute;top:-1.5%;right:-1.5%;bottom:-1.5%;left:-1.5%;z-index:-3;background:url(/posledniy-zachet/assets/character_select_background.webp) center / cover no-repeat;transform:translateZ(0) scale(1.025);will-change:transform;animation:selection-background-float 7s ease-in-out infinite}.selection-shade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#02081c6b,#03091b14 50%,#02081c2e),linear-gradient(0deg,rgba(3,8,25,.2),transparent 28%)}.selection-heading{position:absolute;z-index:12;top:1.6%;left:1.15%;width:max-content;max-width:46vw;display:flex;flex-direction:column;align-items:flex-start;gap:.16em;transform:rotate(-4deg);filter:drop-shadow(0 5px 5px rgba(0,0,0,.48));pointer-events:none;overflow:visible}.selection-heading span{display:block;width:max-content;max-width:none;white-space:nowrap;padding:.08em .48em .16em .36em;font-family:Campus Display,Impact,Arial Black,sans-serif;font-size:clamp(1.5rem,3.45vw,3.55rem);font-weight:900;font-style:italic;line-height:1.12;letter-spacing:-.045em;text-shadow:0 2px 0 rgba(0,0,0,.1)}.heading-white{color:#10203f;background:#fff;clip-path:polygon(1.5% 0,100% 0,97% 77%,84% 100%,0 91%);transform:rotate(-1deg);padding-right:.55em!important}.heading-blue{color:#fff;background:#073cbd;clip-path:polygon(0 9%,96% 0,100% 72%,85% 100%,2% 91%);padding-left:.5em!important;padding-right:.62em!important;transform:rotate(-2deg) translate(7%)}.selector-panel{position:absolute;z-index:3;width:48.4%;height:auto;transition:opacity .24s ease,filter .24s ease,transform .24s ease}.male-panel{left:-.25%;top:18.6%;aspect-ratio:801 / 538}.female-panel{right:-.25%;top:10.4%;aspect-ratio:802 / 529}.panel-art{display:block;width:100%;height:100%;object-fit:fill;-webkit-user-select:none;user-select:none;pointer-events:none}.male-panel .character-full-sprite{position:absolute;z-index:4;left:34%;right:auto;bottom:-51vh;height:126vh;width:auto;max-width:none;object-fit:contain;object-position:center bottom;opacity:0;visibility:hidden;pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(13px 17px 0 rgba(0,0,0,.42)) drop-shadow(0 12px 22px rgba(0,0,0,.34));transform:translateY(12px) scale(.985);transform-origin:center bottom;transition:opacity .26s ease,transform .32s ease,visibility .26s ease}.male-panel .character-full-sprite.is-visible{opacity:1;visibility:visible;transform:translateY(0) scale(1)}@media(max-width:700px){.male-panel .character-full-sprite{left:23%;bottom:-47vh;height:116vh}}@media(max-height:500px)and (orientation:landscape){.male-panel .character-full-sprite{left:31%;bottom:-44vh;height:118vh}}.female-panel .character-full-sprite{position:absolute;z-index:4;left:-20%;right:auto;bottom:-51vh;height:126vh;width:auto;max-width:none;object-fit:contain;object-position:center bottom;opacity:0;visibility:hidden;pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(13px 17px 0 rgba(0,0,0,.42)) drop-shadow(0 12px 22px rgba(0,0,0,.34));transform:translateY(12px) scale(.985);transform-origin:center bottom;transition:opacity .26s ease,transform .32s ease,visibility .26s ease}.female-panel .character-full-sprite.is-visible{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.portrait-slot.has-portrait{overflow:hidden;padding:0;background:#050d23e0}.portrait-slot.has-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 32%;pointer-events:none;-webkit-user-select:none;user-select:none}.male-panel.is-dimmed .portrait-slot.has-portrait img{filter:brightness(.52) saturate(.62);opacity:.78;transition:filter .22s ease,opacity .22s ease}.male-panel:not(.is-dimmed) .portrait-slot.has-portrait img{filter:saturate(1.08) contrast(1.04);opacity:1;transition:filter .22s ease,opacity .22s ease}.male-panel .portrait-slot.has-portrait.is-selected img{filter:saturate(1.08) contrast(1.04)}.female-panel.is-dimmed .portrait-slot.has-portrait img{filter:brightness(.52) saturate(.62);opacity:.78;transition:filter .22s ease,opacity .22s ease}.female-panel:not(.is-dimmed) .portrait-slot.has-portrait img{filter:saturate(1.08) contrast(1.04);opacity:1;transition:filter .22s ease,opacity .22s ease}.female-panel .portrait-slot.has-portrait.is-selected img{filter:saturate(1.08) contrast(1.04)}@media(max-width:700px){.female-panel .character-full-sprite{left:-24%;bottom:-47vh;height:116vh}}@media(max-height:500px)and (orientation:landscape){.female-panel .character-full-sprite{left:-20%;bottom:-44vh;height:118vh}}.selector-panel:after{content:"";position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .22s ease;mix-blend-mode:screen}.male-panel:after{background:radial-gradient(ellipse at 67% 66%,rgba(0,126,255,.28),transparent 52%),linear-gradient(115deg,transparent 40%,rgba(24,115,255,.12),transparent 82%)}.female-panel:after{background:radial-gradient(ellipse at 35% 64%,rgba(255,25,142,.27),transparent 54%),linear-gradient(245deg,transparent 38%,rgba(255,40,155,.12),transparent 82%)}.male-panel.is-active:after,.female-panel.is-active:after{opacity:1}.selector-panel.is-active,.selector-panel.is-dimmed{opacity:1}.male-panel.is-active .panel-art{filter:brightness(1.06) saturate(1.1) drop-shadow(0 0 1px rgba(120,205,255,.98)) drop-shadow(0 0 5px rgba(45,145,255,.92)) drop-shadow(0 0 12px rgba(25,105,255,.72))}.female-panel.is-active .panel-art{filter:brightness(1.06) saturate(1.1) drop-shadow(0 0 1px rgba(255,175,220,.98)) drop-shadow(0 0 5px rgba(255,65,165,.92)) drop-shadow(0 0 12px rgba(255,30,145,.72))}.selector-panel.is-dimmed .panel-art{filter:brightness(.58) saturate(.72)}.panel-hit{position:absolute;z-index:1;left:12%;top:19%;width:76%;height:49%;padding:0;border:0;background:transparent;cursor:pointer}.panel-hit:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:-4px}.arrow-hit{position:absolute;z-index:5;top:76%;width:8%;height:14%;padding:0;border:0;background:transparent;cursor:pointer;border-radius:10px;transition:background .14s ease,filter .14s ease}.arrow-left{left:.4%}.arrow-right{right:.4%}.arrow-hit:hover{background:#ffffff1c;filter:drop-shadow(0 0 8px currentColor)}.male-panel .arrow-hit{color:#278aff;top:78%;height:13%;width:8%}.female-panel .arrow-hit{color:#ff3d9e;top:78%;height:13%;width:8%}.slot-hitboxes{position:absolute;z-index:6;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2%}.male-panel .slot-hitboxes{left:11.8%;top:74.5%;width:79.7%;height:22.1%}.female-panel .slot-hitboxes{left:9.8%;top:73.3%;width:78.7%;height:23.8%}.portrait-slot{position:relative;min-width:0;min-height:0;padding:0;border:2px solid transparent;border-radius:3px;background:transparent;cursor:pointer;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease,transform .15s ease}.portrait-slot:hover{background:#ffffff14;transform:translateY(-1px)}.male-panel .portrait-slot.is-selected{border-color:#65b7ff;box-shadow:inset 0 0 0 1px #ffffffc7,inset 0 0 15px #146eff80,0 0 4px 1px #6ebefff2,0 0 14px 4px #1e78ffc7;background:#2382ff2b}.female-panel .portrait-slot.is-selected{border-color:#ff72c0;box-shadow:inset 0 0 0 1px #ffffffc2,inset 0 0 15px #ff238c6b,0 0 4px 1px #ff96d7f2,0 0 14px 4px #ff2896c7;background:#ff238c29}.portrait-slot:focus-visible{outline:2px solid #fff;outline-offset:2px}.nav-image-button{position:absolute;z-index:10;padding:0;border:0;background:transparent;cursor:pointer;transition:transform .17s ease,filter .17s ease;-webkit-tap-highlight-color:transparent}.nav-image-button img{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-select:none;user-select:none}.back-button{left:1.7%;bottom:4.6%;width:16.1%}.back-button:hover{transform:scale(1.045);filter:drop-shadow(0 0 10px rgba(255,255,255,.65))}.nav-image-button:active,.nav-image-button.is-pressed{transform:scale(.97);filter:brightness(1.16) drop-shadow(0 0 13px rgba(20,105,255,.9));transition-duration:65ms}.selection-toast{position:absolute;z-index:20;left:50%;bottom:2.2%;max-width:52%;padding:.7em 1em;border:1px solid rgba(106,177,255,.8);border-radius:9px;color:#fff;background:#030d28f0;box-shadow:0 0 18px #005bff59;font-size:clamp(.7rem,1vw,1rem);text-align:center;opacity:0;transform:translate(-50%,10px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.selection-toast.is-visible{opacity:1;transform:translate(-50%)}.orientation-overlay{display:none}@keyframes campus-enter{0%{opacity:.65;transform:scale(1.035)}to{opacity:1;transform:scale(1.005)}}@keyframes selection-background-float{0%,to{transform:translate3d(0,-7px,0) scale(1.025)}50%{transform:translate3d(0,7px,0) scale(1.025)}}@media(prefers-reduced-motion:reduce){.selection-background{animation:none}}@keyframes logo-enter{0%{opacity:0;transform:translate(-22px) rotate(-5deg)}to{opacity:1;transform:rotate(-5deg)}}@keyframes button-enter{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.selection-heading{width:max-content;max-width:55vw;top:1.4%;left:1.2%;transform:rotate(-3deg)}.selection-heading span{font-size:clamp(.95rem,3.3vw,1.8rem);padding:.07em .44em .15em .34em}.male-panel{top:20%}.female-panel{top:12%}.back-button{width:15%;left:1.2%;bottom:1.2%}.selection-toast{max-width:55%;bottom:1%}.game-title{left:7.5%;top:15%;width:39%}.title-last{font-size:clamp(2rem,6vw,4rem)}.title-exam{font-size:clamp(2.7rem,7vw,5rem)}.start-button{left:7%;top:56%;width:42%}.credit{right:3%;bottom:3%;transform:rotate(-6deg) scale(.72);transform-origin:bottom right}}@media(max-height:500px)and (orientation:landscape){.selection-heading{max-width:42vw;top:1%;left:1.2%}.selection-heading span{font-size:clamp(1rem,3.2vw,2.1rem)}.male-panel{width:46%;left:0;top:18%}.female-panel{width:46%;right:0;top:9%}.back-button{width:14%;left:1.2%;bottom:.6%}.game-title{top:7%;left:7%;width:36%}.title-last{font-size:clamp(2rem,6vw,4rem)}.title-exam{font-size:clamp(2.7rem,7vw,5rem)}.start-button{top:53%;left:6%;width:36%}.credit{right:3%;bottom:2%;transform:rotate(-6deg) scale(.68);transform-origin:bottom right}}@media(orientation:portrait)and (max-width:700px){.game-stage{width:100vw;height:100vh;height:100dvh}.orientation-overlay{display:block;position:fixed;z-index:100;inset:auto 1rem 1rem;padding:.7rem 1rem;border:1px solid rgba(255,255,255,.24);border-radius:10px;color:#fff;background:#040c24e6;font-size:.85rem;text-align:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.back-button,#back-button{display:none!important}.screen-transition{transition:opacity .5s ease-in-out}.screen-transition.is-active{opacity:.97}.game-stage{transition:opacity .5s ease,transform .5s ease}.input-screen{background:#09142e}.input-background{position:absolute;top:-1.5%;right:-1.5%;bottom:-1.5%;left:-1.5%;z-index:-3;background:url(/posledniy-zachet/assets/input_screen_background.webp) center / cover no-repeat;transform:translateZ(0) scale(1.025);will-change:transform;animation:selection-background-float 7s ease-in-out infinite}.input-shade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background:linear-gradient(0deg,#02081947,#0208191f);pointer-events:none}.notebook-wrap{position:absolute;left:50%;top:50%;height:min(96%,96vh);width:auto;aspect-ratio:1312 / 1199;max-width:91%;transform:translate(-50%,-50%);filter:drop-shadow(0 12px 22px rgba(0,0,0,.28));transition:transform .22s ease,filter .22s ease;will-change:transform,filter}.notebook-wrap:hover{transform:translate(-50%,calc(-50% - 5px)) scale(1.006);filter:drop-shadow(0 20px 30px rgba(0,0,0,.38)) drop-shadow(0 0 7px rgba(40,115,255,.12))}.notebook-wrap:focus-within{transform:translate(-50%,calc(-50% - 2px)) scale(1.002);filter:drop-shadow(0 16px 25px rgba(0,0,0,.34))}.notebook-art{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.player-form{position:absolute;top:0;right:0;bottom:0;left:0}.player-field{position:absolute;display:block;margin:0;padding:0;left:29%;width:52%;height:8.4%;transform:rotate(-5.2deg);transform-origin:center;color:#182443;font-family:Segoe UI,Arial,sans-serif;font-size:clamp(13px,1.55vw,22px)}.player-field span{display:none}.player-field input{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;padding:0 .55em;border:1px solid rgba(25,59,143,.92);border-radius:3px;outline:none;background:#fff;color:#172750;box-shadow:inset 0 1px 2px #05195014;font:600 clamp(14px,1.7vw,24px)/1.2 "Segoe UI",Arial,sans-serif;text-transform:none;-moz-appearance:none;appearance:none;-webkit-appearance:none}.player-field input::placeholder{color:#4a69a0b8;opacity:1}.player-field input:hover{background:#fff;border-color:#0752d9}.player-field input:focus{background:#fff;border-color:#0752d9;box-shadow:inset 0 0 0 1px #005beb61,0 0 0 3px #1e69ff29;border-radius:3px}.surname-field{top:40%;left:28.8%;width:54.2%;height:9%}.name-field{top:52.8%;left:29.7%;width:54%;height:8.9%}.group-field{top:66.1%;left:31%;width:54%;height:8.9%}.input-back-button{position:absolute;z-index:5;left:2.4%;top:2.8%;min-width:13.5%;height:6.5%;padding:0 1.4em;border:1px solid rgba(110,190,255,.95);border-radius:4px;color:#fff;background:linear-gradient(105deg,#071c77,#0647db 58%,#0033b8);box-shadow:0 3px #07164c,inset 0 0 0 2px #ffffff24;font:800 clamp(11px,1.15vw,17px)/1 "Campus Display","Segoe UI",sans-serif;letter-spacing:.045em;cursor:pointer;transform:rotate(-5deg);transform-origin:center;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;-webkit-tap-highlight-color:transparent}.input-back-button span{display:inline-block;margin-right:.28em;font-size:1.2em}.input-back-button:hover{transform:rotate(-5deg) translateY(-2px) scale(1.04);filter:brightness(1.18) drop-shadow(0 0 5px rgba(255,255,255,.7)) drop-shadow(0 0 12px rgba(0,92,255,.8));box-shadow:0 5px #07164c,inset 0 0 0 2px #ffffff38}.input-back-button:active{transform:rotate(-5deg) scale(.97);filter:brightness(1.2)}.input-back-button:focus-visible{outline:3px solid #fff;outline-offset:3px}.input-continue{position:absolute;left:31.5%;top:81.1%;width:43%;height:13%;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;transform:rotate(-5deg);transform-origin:center;transition:transform .16s ease,filter .16s ease,background .16s ease}.input-continue:hover{transform:rotate(-5deg) translateY(-2px) scale(1.025);filter:drop-shadow(0 0 5px rgba(255,255,255,.95)) drop-shadow(0 0 13px rgba(0,92,255,.8)) brightness(1.12);background:#ffffff0b}.input-continue:active{transform:rotate(-5deg) scale(.97);filter:brightness(1.2) drop-shadow(0 0 10px rgba(0,92,255,.9));transition-duration:60ms}.input-continue:focus-visible{outline:3px solid rgba(255,255,255,.95);outline-offset:2px;box-shadow:0 0 0 6px #005aff73}.input-continue:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:8px}.input-toast{position:absolute;z-index:20;left:50%;bottom:2%;transform:translate(-50%);max-width:80%;padding:.6em 1em;border:1px solid rgba(106,177,255,.8);border-radius:9px;color:#fff;background:#030d28f0;font-size:clamp(.75rem,1vw,1rem);text-align:center;opacity:0;pointer-events:none;transition:opacity .18s ease}.input-toast.is-visible{opacity:1}@media(max-height:650px)and (orientation:landscape){.notebook-wrap{height:95%;max-width:76%}.player-field{font-size:clamp(12px,1.5vw,18px)}.player-field input{font-size:clamp(13px,1.6vw,19px)}}@media(orientation:portrait)and (max-width:700px){.notebook-wrap{width:min(94vw,68vh);height:auto;max-width:94vw}.player-field{font-size:clamp(11px,2.5vw,17px)}.player-field input{font-size:clamp(13px,3vw,19px)}.input-continue{left:31.5%;top:81.1%;width:43%;height:13%}.input-back-button{left:2%;top:2%;min-width:20%;height:7%;font-size:clamp(10px,2.2vw,15px)}}.skills-screen{color:#f4f8ff;background:#06112b;font-family:Segoe UI,Arial,sans-serif}.skills-background{position:absolute;top:-1.5%;right:-1.5%;bottom:-1.5%;left:-1.5%;z-index:-3;background:url(/posledniy-zachet/assets/character_select_background.webp) center/cover no-repeat;filter:saturate(.82);transform:translateZ(0) scale(1.025);will-change:transform;animation:selection-background-float 7s ease-in-out infinite}.skills-shade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background:linear-gradient(90deg,#020718d4,#030a1ea8 56%,#020818c7),linear-gradient(0deg,#010614ad,#0208182e)}.skills-header{position:absolute;top:2.1%;left:29%;width:48%;text-align:center}.skills-header h1{display:inline-block;margin:0;padding:.07em .35em .13em;color:#08183d;background:#f6f9ff;clip-path:polygon(2% 0,100% 0,97% 82%,89% 100%,0 88%);font:900 clamp(20px,2.65vw,43px)/1.1 "Campus Display","Segoe UI",sans-serif;font-style:italic;letter-spacing:-.035em;transform:rotate(-1deg);filter:drop-shadow(0 5px 0 #0758e8)}.skills-header p{margin:.45em 0 .4em;font-size:clamp(12px,1.35vw,21px);font-weight:600;text-shadow:0 2px 6px #000}.points-counter{display:inline-flex;align-items:center;gap:.8em;padding:.24em 1.2em;border:1px solid #167bff;background:#030e2ce6;box-shadow:0 0 15px #0068ff3d;font-weight:800;font-size:clamp(12px,1.25vw,20px);clip-path:polygon(4% 0,96% 0,100% 50%,96% 100%,4% 100%,0 50%)}.points-counter strong{color:#31c8ff;font-size:1.45em}.skills-layout{position:absolute;left:2.3%;right:2.3%;top:28%;bottom:12%;display:grid;grid-template-columns:minmax(0,3.55fr) minmax(180px,1fr);gap:1.6%}.skills-board{min-width:0;position:relative;padding:3.3% 1.5% 1.3%;border:1px solid rgba(60,139,255,.92);background:#030b1dd6;box-shadow:0 0 0 3px #004bc82b,0 12px 35px #0000003d}.skills-board:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid rgba(225,240,255,.24);pointer-events:none}.skills-board-title{position:absolute;top:-4.5%;left:2%;padding:.18em .65em;color:#0a1b43;background:#f5f8ff;clip-path:polygon(4% 0,100% 0,96% 83%,0 100%);font:900 clamp(14px,1.65vw,26px)/1.15 "Campus Display","Segoe UI",sans-serif;font-style:italic;transform:rotate(-2deg)}.skills-board-title small{position:absolute;right:0;top:100%;padding:.2em .5em;color:#eef6ff;background:#020c22d9;font:500 clamp(9px,.85vw,13px)/1.3 "Segoe UI",sans-serif;white-space:nowrap}.skills-grid{height:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:3.8% 1.5%}.skill-card{min-width:0;display:grid;grid-template-columns:17% minmax(0,1fr) 27%;align-items:center;gap:2%;padding:2.2% 2.3%;border:1px solid rgba(222,237,255,.8);background:linear-gradient(110deg,#071738f5,#020818e8);clip-path:polygon(5% 0,94% 0,100% 50%,96% 100%,5% 100%,0 50%);box-shadow:inset 0 0 20px #0064ff21;transition:background .16s ease,border-color .16s ease}.skill-card:hover{background:linear-gradient(110deg,#08275bfa,#020c21f5);border-color:#35bfff}.skill-icon-wrap{position:relative;z-index:0;width:91%;aspect-ratio:1;display:grid;place-items:center;isolation:isolate}.skill-icon-wrap:before{content:"";position:absolute;z-index:-1;top:8%;right:-18%;bottom:7%;left:-19%;background:linear-gradient(105deg,#064dff,#008cff 57%,#20cfff);clip-path:polygon(3% 22%,17% 13%,28% 20%,41% 5%,58% 15%,74% 8%,98% 18%,89% 37%,100% 49%,84% 62%,95% 78%,68% 73%,53% 96%,38% 79%,20% 92%,14% 72%,0 64%,10% 46%);filter:drop-shadow(0 0 7px rgba(0,106,255,.68))}.skill-icon{position:relative;z-index:1;width:100%;height:100%;display:grid;place-items:center;color:#10224d;background:linear-gradient(135deg,#fff,#d9e9ff);border:2px solid #2e83ff;clip-path:polygon(20% 0,80% 0,100% 30%,90% 80%,50% 100%,10% 80%,0 30%);font-size:clamp(20px,2.5vw,40px);font-weight:900;text-shadow:0 1px #fff}.skill-icon span{position:relative;z-index:1;display:block;font-size:clamp(30px,3.25vw,52px);line-height:1;transform:scale(1.04)}.skill-card[data-skill=attention] .skill-icon span{transform:translateY(-5px) scale(1.04)}.skill-copy{min-width:0}.skill-copy h2{margin:0 0 .38em;font:900 clamp(11px,1.35vw,21px)/1.05 "Campus Display","Segoe UI",sans-serif;font-style:italic}.skill-copy p{margin:0;color:#d9e4f8;font-size:clamp(9px,.95vw,15px);line-height:1.25}.skill-control{min-width:0;display:flex;flex-direction:column;gap:.75em;align-items:center}.skill-meter{display:flex;gap:4px;width:100%}.skill-meter i{display:block;flex:1;min-width:0;height:clamp(7px,.85vw,14px);border:1px solid rgba(207,222,248,.25);background:#26344f;border-radius:1px}.skill-meter i.filled{background:#35c5ff;border-color:#8ae3ff;box-shadow:0 0 7px #26b2ff66}.skill-actions{display:flex;align-items:center;justify-content:space-between;gap:.3em;width:100%}.skill-actions button{width:clamp(25px,3vw,46px);height:clamp(25px,3vw,46px);flex:0 0 auto;border:1px solid #35bfff;color:#fff;background:linear-gradient(145deg,#0b3b9e,#071c58);clip-path:polygon(22% 0,78% 0,100% 25%,100% 75%,78% 100%,22% 100%,0 75%,0 25%);font-size:clamp(18px,2vw,31px);font-weight:800;cursor:pointer;transition:filter .14s ease,transform .14s ease}.skill-actions button:first-child{color:#071a43;background:linear-gradient(145deg,#fff,#c7ddff);border-color:#fff}.skill-actions button:hover:not(:disabled){filter:brightness(1.35) drop-shadow(0 0 5px #168fff);transform:translateY(-2px)}.skill-actions button:active:not(:disabled){transform:scale(.93)}.skill-actions button:disabled{opacity:.3;cursor:not-allowed}.skill-actions strong{min-width:1ch;text-align:center;font-size:clamp(15px,1.7vw,27px)}.archetype-panel{min-width:0;padding:5% 6% 4%;border:1px solid #398aff;background:linear-gradient(160deg,#031030f7,#010617f0);box-shadow:0 0 0 3px #004cdc2e,0 0 22px #0041ff2b;text-align:center;display:flex;flex-direction:column;align-items:center;overflow:hidden}.archetype-ribbon{width:115%;padding:.45em .15em;color:#081a42;background:#f4f7ff;font:900 clamp(9px,.95vw,15px)/1.1 "Campus Display","Segoe UI",sans-serif;font-style:italic;transform:rotate(-2deg)}.archetype-emblem{margin:8% auto 4%;width:clamp(54px,6.4vw,100px);aspect-ratio:1;display:grid;place-items:center;border:3px solid #34aaff;border-radius:50%;color:#fff;font-size:clamp(28px,3.4vw,52px);box-shadow:0 0 0 6px #0063ff24,inset 0 0 15px #0072ff4d}.archetype-panel h2{margin:0 0 4%;font:900 clamp(15px,1.65vw,25px)/1.05 "Campus Display","Segoe UI",sans-serif;font-style:italic}.archetype-panel p{margin:0 0 4%;font-size:clamp(10px,1vw,15px);line-height:1.35}.archetype-bonus{width:100%;padding:.55em .4em;margin:1% 0 5%;border:1px solid rgba(45,133,255,.55);background:#051c46ad;color:#c8e4ff;font-size:clamp(9px,.9vw,13px);line-height:1.25}.archetype-panel>small{color:#48aaff;font-size:clamp(8px,.78vw,12px);margin-bottom:4%}.archetype-panel .archetype-hint{font-size:clamp(9px,.9vw,13px)}.skill-status{margin-top:auto;color:#49c8ff;font-size:clamp(10px,.9vw,14px);font-weight:700}.skills-back,.skills-continue{position:absolute;bottom:2.2%;min-height:7.2%;padding:.3em 2em;border:1px solid #c9e2ff;color:#07173e;background:linear-gradient(110deg,#fff,#d8e9ff);clip-path:polygon(7% 0,100% 0,93% 100%,0 100%);font:900 clamp(13px,1.35vw,21px)/1 "Campus Display","Segoe UI",sans-serif;font-style:italic;cursor:pointer;filter:drop-shadow(0 4px 0 rgba(0,0,0,.4));transition:transform .15s ease,filter .15s ease}.skills-back{left:2.1%;min-width:15%}.skills-back span{font-size:1.2em;margin-right:.45em}.skills-continue{right:2.1%;min-width:20%;color:#fff;background:linear-gradient(110deg,#0735a9,#034eff);border-color:#8ce7ff}.skills-back:hover,.skills-continue:hover{transform:translateY(-3px) scale(1.025);filter:brightness(1.22) drop-shadow(0 0 4px rgba(255,255,255,.95)) drop-shadow(0 0 12px rgba(0,145,255,.95)) drop-shadow(0 0 22px rgba(0,90,255,.68))}.skills-continue:disabled:hover{filter:brightness(1.08) drop-shadow(0 0 4px rgba(100,180,255,.7)) drop-shadow(0 0 12px rgba(0,90,255,.45))}.skills-back:focus-visible,.skills-continue:focus-visible{outline:3px solid #fff;outline-offset:4px;filter:brightness(1.2) drop-shadow(0 0 12px rgba(0,145,255,.95))}.skills-back:active,.skills-continue:active:not(:disabled){transform:scale(.97)}.skills-continue:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.4)}.skills-warning{position:absolute;left:21%;right:24%;bottom:4.2%;text-align:center;font-size:clamp(10px,1.1vw,17px);color:#e1eaff}.skills-toast{position:absolute;left:50%;bottom:11%;transform:translate(-50%);padding:.65em 1.2em;border:1px solid #49bdff;border-radius:7px;background:#020d27f2;box-shadow:0 0 18px #05c5;opacity:0;pointer-events:none;transition:opacity .16s ease;font-size:clamp(11px,1vw,15px)}.skills-toast.is-visible{opacity:1}@media(max-width:900px){.skills-header{top:1.5%;left:22%;width:58%}.skills-layout{top:27%;left:1.3%;right:1.3%;bottom:13%;grid-template-columns:minmax(0,3fr) minmax(155px,1fr);gap:1%}.skills-board{padding:4% 1% 1%}.skill-card{grid-template-columns:14% minmax(0,1fr) 28%;gap:1.5%;padding:2%}.skill-copy p{font-size:clamp(8px,1vw,12px)}.skill-actions button{width:clamp(21px,2.8vw,34px);height:clamp(21px,2.8vw,34px)}.skills-warning{left:18%;right:22%}}@media(max-height:560px)and (orientation:landscape){.skills-header{top:.5%}.skills-header h1{font-size:clamp(18px,2.6vw,30px)}.skills-header p{margin:.15em 0}.points-counter{padding:.1em .8em}.skills-layout{top:25%;bottom:13%}.skills-board-title{top:-6%}.skill-copy p{font-size:clamp(8px,1.2vh,11px)}.archetype-emblem{margin:3% auto 2%;width:clamp(36px,6vh,54px)}.archetype-panel p{margin-bottom:2%}.skills-back,.skills-continue{min-height:8%;bottom:1%}.skills-warning{bottom:2.7%}}@media(orientation:portrait)and (max-width:700px){.skills-header{top:4%;left:3%;width:94%}.skills-header h1{font-size:clamp(18px,5vw,28px)}.skills-header p{font-size:12px}.skills-layout{top:25%;bottom:15%;left:2%;right:2%;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:1%}.skills-board{padding:5% 2% 2%}.skills-grid{gap:2% 1%}.skill-card{grid-template-columns:13% minmax(0,1fr) 26%;padding:1.5%}.skill-copy h2{font-size:clamp(10px,2.7vw,14px)}.skill-copy p{font-size:clamp(8px,2vw,11px)}.skill-icon-wrap{width:105%}.skill-actions button{width:clamp(21px,6vw,30px);height:clamp(21px,6vw,30px)}.skill-actions strong{font-size:14px}.archetype-panel{display:grid;grid-template-columns:auto 1fr;text-align:left;gap:2% 4%;padding:2%;align-items:center}.archetype-ribbon,.archetype-panel>small,.archetype-panel .archetype-hint{display:none}.archetype-emblem{width:40px;margin:0;grid-row:span 2}.archetype-panel h2{margin:0;font-size:14px}.archetype-panel p{margin:0;font-size:10px}.archetype-bonus,.skill-status{display:none}.skills-back,.skills-continue{bottom:1.5%;min-height:6%;font-size:12px}.skills-warning{bottom:3%;left:23%;right:24%;font-size:9px}}@media(prefers-reduced-motion:reduce){.input-background,.skills-background{animation:none;transform:scale(1.025)}}.ticket-screen{color:#071b4c;font-family:Segoe UI,Arial,sans-serif;background:#07142f}.ticket-background{position:absolute;top:-1.5%;right:-1.5%;bottom:-1.5%;left:-1.5%;z-index:-3;background:url(/posledniy-zachet/assets/input_screen_background.webp) center/cover no-repeat;animation:selection-background-float 7s ease-in-out infinite;transform:scale(1.025)}.ticket-shade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background:linear-gradient(90deg,#01071980,#02091e14 48%,#0107191f),linear-gradient(0deg,rgba(1,7,25,.3),transparent 45%)}.ticket-heading{position:absolute;left:2.2%;top:2.8%;width:32%;color:#fff;z-index:2}.ticket-heading h1{display:flex;flex-direction:column;gap:.06em;margin:0;padding:.18em .5em .25em;background:linear-gradient(105deg,#fff 0%,#f4f7ff 72%,transparent 100%);clip-path:polygon(2% 0,100% 0,91% 75%,100% 90%,0 100%);color:#07183f;font:900 clamp(18px,2.25vw,35px)/1.05 "Campus Display","Segoe UI",sans-serif;font-style:italic;transform:rotate(-2deg);filter:drop-shadow(0 5px 0 #0758e8)}.ticket-heading p{margin:1.2em 0 0 5%;font-size:clamp(11px,1.15vw,18px);line-height:1.35;text-shadow:0 2px 5px #000}.ticket-wrap{position:absolute;left:50%;top:14.5%;width:min(78vw,1536px);height:auto;aspect-ratio:1804/872;transform:translate(-50%);display:block;background:transparent;filter:drop-shadow(0 16px 18px rgba(0,0,0,.48));transition:transform .24s ease,filter .24s ease;will-change:transform,filter}.ticket-wrap:hover{transform:translate(-50%,-9px) scale(1.003);filter:drop-shadow(0 25px 25px rgba(0,0,0,.56))}.ticket-wrap:focus-within{transform:translate(-50%,-5px) scale(1.001);filter:drop-shadow(0 21px 22px rgba(0,0,0,.5))}.ticket-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none;background:transparent}.ticket-photo{position:absolute;left:6.15%;top:37.5%;width:13.25%;height:34%;overflow:hidden;border:2px solid #071c50;box-shadow:0 0 0 3px #ffffffb8;background:#18294f}.ticket-photo img{width:100%;height:100%;object-fit:cover;object-position:top center}.ticket-field-value{position:absolute;left:28.6%;width:20.7%;height:7.2%;display:flex;align-items:center;padding:0 .7%;overflow:hidden;color:#071b4c;font-size:clamp(10px,.92vw,15px);font-weight:700;white-space:nowrap;text-overflow:ellipsis;line-height:1;background:transparent;transform:rotate(-1.7deg);transform-origin:left center}.ticket-surname{top:40.7%}.ticket-name{top:49.6%}.ticket-group{top:58.5%}.ticket-archetype-icon{display:none!important}.ticket-archetype-name{position:absolute;left:65%;top:26%;width:23%;height:7%;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;color:#fff;font:900 clamp(12px,1.15vw,19px)/1.05 "Campus Display","Segoe UI",sans-serif;text-shadow:0 2px 5px #06143b;z-index:2;padding:0 .5%;box-sizing:border-box;transform:rotate(-3.2deg);transform-origin:center}.ticket-archetype-description{position:absolute;left:59%;top:calc(44% + 10px);width:23%;height:22%;padding:1% 1.2%;overflow:hidden;display:flex;align-items:center;justify-content:flex-start;color:#0a1d49;font-size:clamp(18px,1.35vw,22px);line-height:1.32;text-align:left;background:transparent;border:0;border-radius:0;box-sizing:border-box;transform:rotate(-3.2deg);transform-origin:left center}.ticket-back,.ticket-start{position:absolute;bottom:2.5%;min-height:7%;padding:.3em 2em;border:1px solid #d6e8ff;clip-path:polygon(7% 0,100% 0,93% 100%,0 100%);font:900 clamp(14px,1.5vw,23px)/1 "Campus Display","Segoe UI",sans-serif;font-style:italic;cursor:pointer;filter:drop-shadow(0 4px 0 rgba(0,0,0,.45));transition:transform .15s,filter .15s}.ticket-back{left:2.2%;min-width:16%;color:#081a46;background:linear-gradient(110deg,#fff,#dbeaff)}.ticket-start{right:2.2%;min-width:22%;color:#fff;background:linear-gradient(110deg,#0735a9,#034eff);border-color:#8ce7ff}.ticket-back span,.ticket-start span{font-size:1.25em;margin:0 .3em}.ticket-back:hover,.ticket-start:hover{transform:translateY(-3px) scale(1.025);filter:brightness(1.2) drop-shadow(0 0 12px rgba(0,145,255,.8))}.ticket-start.is-confirmed{transform:scale(.97)}@media(max-width:850px){.ticket-wrap{width:88vw;top:18%}.ticket-heading{top:1.5%;width:40%}.ticket-heading p{margin-top:.6em}.ticket-field-value{font-size:clamp(8px,1.15vw,12px)}.ticket-archetype-description{font-size:clamp(12px,1vw,16px)}.ticket-back,.ticket-start{bottom:1.5%;min-height:6%}}@media(orientation:portrait)and (max-width:700px){.ticket-heading{width:65%}.ticket-wrap{width:96vw;top:24%}.ticket-photo{left:6.1%;top:29.5%;width:13.2%;height:42%}.ticket-field-value{font-size:clamp(7px,1.7vw,11px)}.ticket-archetype-description{font-size:clamp(11px,1.7vw,15px)}.ticket-back,.ticket-start{font-size:clamp(10px,2.4vw,14px);padding:.25em 1em}}@media(prefers-reduced-motion:reduce){.ticket-background{animation:none;transform:scale(1.025)}.ticket-wrap{transition:none;transform:translate(-50%)}.ticket-wrap:hover,.ticket-wrap:focus-within{transform:translate(-50%)}}.corridor-screen{background:#10172a;color:#fff}.corridor-background{position:absolute;top:0;right:0;bottom:0;left:0;background:url(/posledniy-zachet/assets/corridor-background.webp) center center/cover no-repeat;transform:scale(1.015)}.corridor-vignette{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#050d2214,#050d220d 44%,#030818b8),linear-gradient(90deg,rgba(5,12,30,.12),transparent 55%,rgba(5,12,30,.18));pointer-events:none}.corridor-topline{position:absolute;left:3.2%;top:3.5%;display:flex;gap:1rem;align-items:center;font:900 clamp(11px,.9vw,16px)/1 "Campus Display","Segoe UI",sans-serif;letter-spacing:.12em;color:#fff;text-shadow:0 2px 8px #06122e}.corridor-topline span:first-child{padding:.65em 1em;background:#0639bd;clip-path:polygon(4% 0,100% 0,96% 100%,0 100%);box-shadow:0 4px #061a52}.corridor-dialogue-layout{position:absolute;z-index:3;left:2.5%;right:2.5%;bottom:4.2%;height:clamp(210px,31vh,350px);display:grid;grid-template-columns:minmax(0,1.72fr) minmax(245px,.78fr);align-items:stretch;gap:1.5%;background:url(/posledniy-zachet/assets/corridor-dialogue-frame.webp) center center/100% 100% no-repeat;filter:drop-shadow(0 12px 20px rgba(0,0,0,.42));padding:2.2% 2.3% 2.2% 2.8%}.corridor-dialogue-left{min-width:0;display:flex;flex-direction:column;position:relative;padding:1% 2% 1% 1%;color:#fff}.corridor-player-name{align-self:flex-start;box-sizing:border-box;width:clamp(150px,22vw,330px);max-width:39%;min-width:0;height:clamp(32px,4.8vh,48px);display:flex;align-items:center;padding:.3em 1.1em .32em .7em;margin:0 0 .55em -1.2%;font:900 clamp(12px,.92vw,17px)/1.05 "Campus Display","Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.025em;color:#061943;background:linear-gradient(105deg,#fff 0%,#e8f2ff 90%,transparent 100%);clip-path:polygon(0 0,100% 0,94% 100%,0 100%);text-shadow:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 0 auto}.corridor-player-name.is-long-name{font-size:clamp(10px,.72vw,13px);letter-spacing:0;padding-right:1.5em}.corridor-dialogue-text{font-size:clamp(15px,1.45vw,25px);line-height:1.48;color:#f6f8ff;text-shadow:0 2px 4px rgba(0,0,0,.7);max-width:97%;padding:.35em .2em;overflow:auto}.corridor-dialogue-controls{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}.corridor-progress{font-size:clamp(10px,.8vw,14px);font-weight:800;letter-spacing:.08em;color:#a9c9ff;text-shadow:0 2px 3px #07112b}.corridor-next,.corridor-exit{border:1px solid #a6dfff;background:linear-gradient(110deg,#0633a8,#075cff);color:#fff;font:900 clamp(12px,1vw,18px)/1 "Campus Display","Segoe UI",sans-serif;letter-spacing:.03em;padding:.75em 1.45em;clip-path:polygon(8% 0,100% 0,92% 100%,0 100%);cursor:pointer;box-shadow:0 5px #0000004d;transition:transform .16s,filter .16s}.corridor-next:hover,.corridor-exit:hover{transform:translateY(-3px);filter:brightness(1.18) drop-shadow(0 0 8px rgba(0,113,255,.55))}.corridor-choices{display:flex;flex-direction:column;justify-content:center;gap:clamp(4px,.65vh,8px);min-width:0;min-height:0;overflow:hidden;padding:1% 1% 1% 0}.corridor-choices p{margin:0 0 .3em;text-align:center;font:900 clamp(12px,1vw,18px)/1.1 "Campus Display","Segoe UI",sans-serif;letter-spacing:.09em;color:#fff;text-shadow:0 2px 5px #06112b}.corridor-choices button{box-sizing:border-box;width:100%;min-width:0;min-height:clamp(34px,4.3vh,48px);max-height:58px;flex:0 1 auto;border:1px solid #b9d8ff;border-left:4px solid #2f75ff;background:linear-gradient(105deg,#fffffffa,#dcebfff5);color:#091c49;padding:.42em .62em;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal;font:800 clamp(10px,.78vw,14px)/1.12 "Segoe UI",Arial,sans-serif;cursor:pointer;clip-path:polygon(4% 0,100% 0,96% 100%,0 100%);transition:transform .16s,background .16s,box-shadow .16s}.corridor-choices button:hover{transform:translate(-5px);background:#fff;box-shadow:0 0 0 2px #4ba8ff,0 0 15px #0069ff73}.corridor-exit{position:absolute;right:4%;bottom:3.5%;z-index:12;pointer-events:auto;touch-action:manipulation}.corridor-exit:disabled{opacity:.9;cursor:wait}.corridor-screen .is-hidden{display:none!important}@media(max-width:850px){.corridor-dialogue-layout{left:1.5%;right:1.5%;bottom:2%;height:34vh;grid-template-columns:minmax(0,1.35fr) minmax(210px,.85fr);padding:3% 3% 2.5%}.corridor-dialogue-text{font-size:clamp(13px,1.8vw,18px)}.corridor-choices button{font-size:clamp(10px,1vw,13px);padding:.42em .55em}}@media(orientation:portrait){.corridor-dialogue-layout{height:43vh;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;background-size:100% 100%;padding:5% 6% 4%;bottom:2%}.corridor-dialogue-left{padding:0}.corridor-dialogue-text{font-size:clamp(14px,2.5vw,19px)}.corridor-choices{display:grid;grid-template-columns:1fr;gap:5px;padding:0}.corridor-choices p{text-align:left}.corridor-choices button{min-height:35px}.corridor-exit{right:5%;bottom:3%;z-index:12}}@media(prefers-reduced-motion:reduce){.corridor-next,.corridor-exit,.corridor-choices button{transition:none}}.corridor-character-sprite{position:absolute;z-index:1;left:7%;bottom:3%;height:91%;max-width:39%;width:auto;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 18px rgba(0,0,0,.48));pointer-events:none;animation:corridor-character-enter .65s cubic-bezier(.2,.8,.2,1) both}.corridor-character-sprite.is-fallback{height:34%;bottom:30%;left:8%;border:3px solid #8ccfff;border-radius:5px}@keyframes corridor-character-enter{0%{opacity:0;transform:translate(-18px) translateY(8px)}to{opacity:1;transform:translate(0) translateY(0)}}@media(max-width:850px){.corridor-player-name{max-width:45%;width:clamp(130px,30vw,260px);font-size:clamp(11px,1.5vw,15px)}.corridor-choices button{font-size:clamp(10px,1vw,13px)}.corridor-character-sprite{left:3%;height:69%;bottom:10%;max-width:38%}}@media(orientation:portrait){.corridor-player-name{max-width:72%;width:clamp(150px,55vw,330px)}.corridor-character-sprite{left:2%;height:42%;bottom:43%;max-width:45%}}.corridor-character-sprite{bottom:calc(3% - 70px)!important;z-index:2!important}.corridor-dialogue-layout{z-index:5!important}.corridor-player-name{width:clamp(220px,27vw,390px)!important;max-width:100%!important;min-height:clamp(34px,4.8vh,48px)!important;height:auto!important;padding:.3em 1.2em .32em .7em!important;margin:0 0 .55em -1.2%!important;font-size:clamp(12px,1vw,18px)!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.corridor-player-name.is-long-name{font-size:clamp(10px,.78vw,14px)!important;letter-spacing:0!important}.corridor-choices{position:relative!important;z-index:6!important;display:flex;justify-content:center!important;align-self:stretch!important;padding:2.8% 1.5% 1.5% 0!important;gap:clamp(5px,.75vh,10px)!important;overflow:visible!important;min-width:0!important}.corridor-choices button{display:flex!important;align-items:center!important;min-height:clamp(38px,5vh,56px)!important;max-height:none!important;height:auto!important;flex:1 1 0!important;color:#091c49!important;font-size:clamp(11px,.9vw,16px)!important;line-height:1.15!important;padding:.45em .8em!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-indent:0!important;opacity:1!important;visibility:visible!important}.corridor-choices button:before,.corridor-choices button:after{pointer-events:none}@media(max-width:850px){.corridor-character-sprite{bottom:calc(10% - 70px)!important}.corridor-player-name{width:clamp(190px,36vw,300px)!important;max-width:100%!important}.corridor-choices button{font-size:clamp(10px,1.2vw,14px)!important}}.corridor-dialogue-layout{height:calc(clamp(210px,31vh,350px) + 40px)!important;left:2.5%!important;right:2.5%!important;box-sizing:border-box!important;grid-template-columns:minmax(0,1.68fr) minmax(270px,.82fr)!important;padding:2.2% 2.8%!important;background-size:100% 100%!important}.corridor-dialogue-left{min-width:0!important;padding:0 1.2% 1% .8%!important}.corridor-player-name{width:clamp(240px,29vw,420px)!important;max-width:100%!important;flex-shrink:0!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;padding:.25em 1em .28em .7em!important}.corridor-choices{box-sizing:border-box!important;padding:3.2% 1.8% 1.8% 0!important;gap:clamp(5px,.7vh,9px)!important;justify-content:center!important}.corridor-choices button{min-height:clamp(36px,4.6vh,52px)!important;padding:.35em .7em!important;font-size:clamp(11px,.82vw,15px)!important;line-height:1.12!important}@media(max-width:850px){.corridor-dialogue-layout{height:calc(34vh + 40px)!important;grid-template-columns:minmax(0,1.35fr) minmax(210px,.85fr)!important}}@media(orientation:portrait){.corridor-dialogue-layout{height:calc(43vh + 40px)!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important}}.corridor-dialogue-layout{left:1%!important;right:1%!important;width:98%!important;height:calc(clamp(210px,31vh,350px) + 40px)!important;padding:2.2% 3.05%!important;grid-template-columns:minmax(0,1.72fr) minmax(300px,.78fr)!important;gap:1.2%!important;background-image:url(/posledniy-zachet/assets/corridor-dialogue-frame.webp)!important;background-position:center center!important;background-repeat:no-repeat!important;background-size:100% 100%!important}.corridor-dialogue-left{padding:0 1.4% 1% .8%!important}.corridor-player-name{width:clamp(260px,31vw,470px)!important;max-width:100%!important;min-height:clamp(36px,5vh,54px)!important;margin-left:-.5%!important;padding:.25em 1.1em .28em .8em!important;font-size:clamp(12px,1vw,18px)!important}.corridor-choices{padding:3.5% 1.8% 1.8% 0!important;gap:clamp(5px,.75vh,10px)!important;min-width:0!important}.corridor-choices p{margin-bottom:.15em!important}.corridor-choices button{width:100%!important;min-width:0!important;min-height:clamp(38px,4.8vh,56px)!important;max-width:100%!important;box-sizing:border-box!important;padding:.4em .85em!important;font-size:clamp(11px,.86vw,15px)!important;line-height:1.12!important;overflow-wrap:break-word!important}@media(max-width:850px){.corridor-dialogue-layout{left:1%!important;right:1%!important;width:98%!important;padding:3% 3.5% 2.5%!important;grid-template-columns:minmax(0,1.3fr) minmax(215px,.9fr)!important}.corridor-player-name{width:clamp(200px,36vw,330px)!important}}@media(orientation:portrait){.corridor-dialogue-layout{left:1%!important;right:1%!important;width:98%!important;padding:5% 6% 4%!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important}.corridor-choices{padding:0!important}}.corridor-player-name{position:relative!important;z-index:7!important;background:linear-gradient(105deg,#fffffffa,#ecf4fff5)!important;color:#071a43!important;box-sizing:border-box!important}.corridor-choices{position:relative!important;z-index:7!important}.corridor-choices button{background:linear-gradient(105deg,#fffffffa,#e5f0fff7)!important;color:#071a43!important;border:1px solid rgba(122,177,255,.8)!important;box-shadow:0 2px 5px #00000038!important}.corridor-player-name{width:clamp(118px,12vw,190px)!important;max-width:100%!important;min-width:118px!important;height:clamp(32px,4.4vh,44px)!important;min-height:0!important;padding:.25em .65em .28em!important;margin:0 0 .55em -1.2%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:clamp(12px,.9vw,16px)!important;letter-spacing:.015em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.corridor-player-name.is-long-name{width:clamp(150px,14vw,205px)!important;font-size:clamp(10px,.72vw,13px)!important;letter-spacing:0!important}.corridor-choices p{transform:translateY(-16px)!important;margin-bottom:-.35em!important}@media(max-width:850px){.corridor-player-name{width:clamp(118px,24vw,175px)!important;min-width:118px!important}.corridor-player-name.is-long-name{width:clamp(150px,30vw,205px)!important}.corridor-choices p{transform:translateY(-10px)!important}}.corridor-friend-sprite{position:absolute;z-index:1;right:7%;bottom:3%;height:82%;max-width:36%;width:auto;object-fit:contain;object-position:center bottom;transform:scaleX(-1);transform-origin:center bottom;filter:drop-shadow(0 12px 18px rgba(0,0,0,.48));pointer-events:none;animation:corridor-friend-enter .65s cubic-bezier(.2,.8,.2,1) both}.corridor-friend-sprite.is-hidden{display:none!important}@keyframes corridor-friend-enter{0%{opacity:0;transform:translate(18px) translateY(8px) scaleX(-1)}to{opacity:1;transform:translate(0) translateY(0) scaleX(-1)}}@media(max-width:850px){.corridor-friend-sprite{right:3%;height:66%;max-width:34%;bottom:10%}}@media(orientation:portrait){.corridor-friend-sprite{right:2%;height:40%;bottom:43%;max-width:42%}}@media(max-width:700px)and (orientation:portrait){.corridor-dialogue-layout{left:1%!important;right:1%!important;width:98%!important;bottom:1%!important;height:30vh!important;min-height:190px!important;max-height:270px!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:2%!important;padding:7% 7% 5.5%!important;background-size:100% 100%!important}.corridor-dialogue-left{min-height:0!important;padding:0!important;overflow:hidden!important}.corridor-player-name{width:clamp(92px,27vw,145px)!important;min-width:0!important;max-width:100%!important;height:27px!important;min-height:27px!important;margin:0 0 5px!important;padding:.2em .35em!important;font-size:clamp(10px,2.8vw,13px)!important}.corridor-player-name.is-long-name{width:100%!important;font-size:clamp(9px,2.3vw,11px)!important}.corridor-dialogue-text{max-width:100%!important;padding:.15em 0!important;font-size:clamp(11px,3vw,14px)!important;line-height:1.28!important;overflow:auto!important}.corridor-dialogue-controls{gap:4px!important}.corridor-progress{font-size:9px!important}.corridor-next,.corridor-exit{font-size:10px!important;padding:.5em .7em!important}.corridor-choices{min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;padding:0!important;overflow:hidden!important}.corridor-choices p{transform:none!important;margin:0 0 2px!important;text-align:center!important;font-size:clamp(8px,2.2vw,10px)!important;letter-spacing:.04em!important}.corridor-choices button{flex:0 1 auto!important;width:100%!important;min-height:27px!important;max-height:none!important;padding:.35em .42em!important;font-size:clamp(8px,2.15vw,10px)!important;line-height:1.12!important}.corridor-character-sprite{left:0!important;bottom:0!important;height:78vh!important;max-height:78vh!important;max-width:58vw!important;z-index:2!important}.corridor-friend-sprite{right:0!important;bottom:0!important;height:72vh!important;max-height:72vh!important;max-width:55vw!important;z-index:2!important}}@media(max-width:850px)and (orientation:landscape)and (max-height:500px){.corridor-dialogue-layout{left:1%!important;right:1%!important;width:98%!important;bottom:1%!important;height:30vh!important;min-height:100px!important;max-height:150px!important;grid-template-columns:minmax(0,1.5fr) minmax(0,.85fr)!important;grid-template-rows:minmax(0,1fr)!important;padding:3.5% 4% 2.5%!important;gap:1.5%!important}.corridor-dialogue-left{min-height:0!important;padding:0!important;overflow:hidden!important}.corridor-player-name{width:clamp(105px,19vw,170px)!important;min-width:0!important;height:24px!important;min-height:24px!important;margin:0 0 3px!important;font-size:clamp(10px,1.7vw,13px)!important}.corridor-player-name.is-long-name{width:100%!important;font-size:clamp(9px,1.4vw,11px)!important}.corridor-dialogue-text{font-size:clamp(11px,2.1vh,14px)!important;line-height:1.25!important;padding:0!important}.corridor-choices{padding:0!important;gap:3px!important}.corridor-choices p{transform:none!important;margin:0 0 2px!important;font-size:clamp(8px,1.8vh,10px)!important}.corridor-choices button{min-height:24px!important;padding:.25em .45em!important;font-size:clamp(8px,1.8vh,11px)!important}.corridor-character-sprite{left:2%!important;bottom:0!important;height:100vh!important;max-height:100vh!important;max-width:45vw!important}.corridor-friend-sprite{right:2%!important;bottom:0!important;height:92vh!important;max-height:92vh!important;max-width:42vw!important}}@media(max-width:950px)and (orientation:landscape)and (max-height:760px){.corridor-dialogue-layout{left:1%!important;right:1%!important;width:98%!important;bottom:.5%!important;height:25vh!important;min-height:118px!important;max-height:175px!important;grid-template-columns:minmax(0,1.55fr) minmax(0,.8fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:1.2%!important;padding:3.2% 4.3% 2.2%!important;background-size:100% 100%!important}.corridor-dialogue-left{min-height:0!important;padding:0!important;overflow:hidden!important}.corridor-player-name{width:clamp(105px,20vw,175px)!important;max-width:100%!important;height:23px!important;min-height:23px!important;margin:0 0 3px!important;padding:.15em .45em!important;font-size:clamp(10px,1.7vw,13px)!important}.corridor-player-name.is-long-name{width:100%!important;font-size:clamp(9px,1.35vw,11px)!important}.corridor-dialogue-text{max-width:100%!important;padding:0!important;font-size:clamp(11px,1.85vw,15px)!important;line-height:1.22!important;overflow:auto!important}.corridor-dialogue-controls{gap:4px!important}.corridor-progress{font-size:9px!important}.corridor-next,.corridor-exit{font-size:clamp(9px,1.4vw,12px)!important;padding:.42em .65em!important}.corridor-choices{min-height:0!important;padding:0!important;gap:3px!important;overflow:hidden!important}.corridor-choices p{margin:0 0 1px!important;font-size:clamp(8px,1.35vw,10px)!important;line-height:1!important}.corridor-choices button{min-height:23px!important;max-height:38px!important;padding:.25em .4em!important;font-size:clamp(8px,1.35vw,11px)!important;line-height:1.08!important}.corridor-character-sprite{left:1%!important;bottom:0!important;height:98vh!important;max-height:98vh!important;max-width:47vw!important;z-index:2!important}.corridor-friend-sprite{right:1%!important;bottom:0!important;height:92vh!important;max-height:92vh!important;max-width:44vw!important;z-index:2!important}}@media(max-width:950px)and (orientation:landscape)and (max-height:760px){.corridor-character-sprite{height:88vh!important;max-height:88vh!important;bottom:-34vh!important;max-width:43vw!important;object-position:center bottom!important}.corridor-friend-sprite{height:83vh!important;max-height:83vh!important;bottom:-30vh!important;max-width:40vw!important;object-position:center bottom!important}}@media(max-width:950px)and (orientation:landscape)and (max-height:760px){.corridor-character-sprite{height:105.6vh!important;max-height:none!important;bottom:calc(-34vh + 20px)!important;max-width:52vw!important}.corridor-friend-sprite{height:99.6vh!important;max-height:none!important;bottom:calc(-30vh + 20px)!important;max-width:48vw!important}.corridor-dialogue-layout{height:calc(25vh + 48px)!important;min-height:166px!important;max-height:223px!important}.corridor-dialogue-text{max-height:100%!important;overflow-y:auto!important;overflow-wrap:anywhere!important}}@media(max-width:700px)and (orientation:portrait){.corridor-character-sprite{transform:scale(1.2)!important;transform-origin:center bottom!important}.corridor-friend-sprite{transform:scaleX(-1) scale(1.2)!important;transform-origin:center bottom!important}.corridor-dialogue-layout{height:calc(43vh + 40px)!important}}@media(max-width:850px){.ticket-wrap{top:calc(18% - 10px)!important}}@media(orientation:portrait)and (max-width:700px){.ticket-wrap{top:calc(24% - 10px)!important}}@media(max-width:850px){.ticket-wrap{top:calc(18% - 40px)!important;transform:translate(-50%) scale(.88)!important}.ticket-wrap:hover{transform:translate(-50%,-9px) scale(.883)!important}.ticket-wrap:focus-within{transform:translate(-50%,-5px) scale(.881)!important}}@media(orientation:portrait)and (max-width:700px){.ticket-wrap{top:calc(24% - 40px)!important}.corridor-character-sprite{transform:translateY(10px) scale(1.2)!important;transform-origin:center bottom!important}.corridor-friend-sprite{transform:scaleX(-1) scale(1.2) translateY(10px)!important;transform-origin:center bottom!important}}@media(max-width:950px)and (orientation:landscape)and (max-height:760px){.corridor-character-sprite{bottom:calc(-34vh + 10px)!important}.corridor-friend-sprite{bottom:calc(-30vh + 10px)!important}}@media(max-width:850px){.ticket-wrap{transform:translate(-50%) scale(.616)!important}.ticket-wrap:hover{transform:translate(-50%,-9px) scale(.619)!important}.ticket-wrap:focus-within{transform:translate(-50%,-5px) scale(.617)!important}}@media(orientation:portrait)and (max-width:700px){.corridor-character-sprite{transform:translateY(20px) scale(1.2)!important;transform-origin:center bottom!important}.corridor-friend-sprite{transform:scaleX(-1) scale(1.2) translateY(20px)!important;transform-origin:center bottom!important}}@media(max-width:950px)and (orientation:landscape)and (max-height:760px){.corridor-character-sprite{bottom:-34vh!important}.corridor-friend-sprite{bottom:-30vh!important}}@media(max-width:850px){.ticket-wrap{transform:translate(-50%) scale(.4312)!important}.ticket-wrap:hover{transform:translate(-50%,-9px) scale(.4342)!important}.ticket-wrap:focus-within{transform:translate(-50%,-5px) scale(.4322)!important}}@media(orientation:portrait)and (max-width:700px){.corridor-character-sprite{transform:translateY(30px) scale(1.2)!important;transform-origin:center bottom!important}.corridor-friend-sprite{transform:scaleX(-1) scale(1.2) translateY(30px)!important;transform-origin:center bottom!important}}@media(max-width:950px)and (orientation:landscape)and (max-height:760px){.corridor-character-sprite{bottom:calc(-34vh - 10px)!important}.corridor-friend-sprite{bottom:calc(-30vh - 10px)!important}}.corridor-background{transform:scale(1.015)}.corridor-screen.corridor-scene-entered .corridor-background{animation:corridor-camera-push 1.6s cubic-bezier(.22,.61,.36,1) .8s both;will-change:transform}.corridor-screen.corridor-scene-entered .corridor-dialogue-layout{animation:corridor-dialogue-rise .72s cubic-bezier(.22,.61,.36,1) .32s both;will-change:opacity,translate}.corridor-screen.corridor-scene-entered .corridor-character-sprite,.corridor-screen.corridor-scene-entered .corridor-friend-sprite:not(.is-hidden){animation:corridor-character-enter-smooth 1.05s cubic-bezier(.22,.61,.36,1) .16s both;will-change:opacity,translate}@keyframes corridor-camera-push{0%{transform:scale(1.015)}to{transform:scale(1.055)}}@keyframes corridor-dialogue-rise{0%{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}@keyframes corridor-character-enter-smooth{0%{opacity:0;translate:0 14px}65%{opacity:.88;translate:0 2px}to{opacity:1;translate:0 0}}.corridor-character-sprite.emotion-crossfade{animation:corridor-emotion-fade .38s ease-in-out both}@keyframes corridor-emotion-fade{0%{opacity:.55}to{opacity:1}}.corridor-character-sprite.motion-happy{animation:corridor-motion-happy .5s cubic-bezier(.22,.61,.36,1)}.corridor-character-sprite.motion-confident{animation:corridor-motion-confident .5s cubic-bezier(.22,.61,.36,1)}.corridor-character-sprite.motion-thoughtful{animation:corridor-motion-thoughtful .46s cubic-bezier(.22,.61,.36,1)}.corridor-character-sprite.motion-worried{animation:corridor-motion-worried .46s cubic-bezier(.22,.61,.36,1)}@keyframes corridor-motion-happy{0%{translate:0 0;scale:1}45%{translate:0 -5px;scale:1.012}to{translate:0 0;scale:1}}@keyframes corridor-motion-confident{0%{translate:0 0;scale:1}45%{translate:0 -4px;scale:1.015}to{translate:0 0;scale:1}}@keyframes corridor-motion-thoughtful{0%{translate:0 0}35%{translate:-2px 0}to{translate:0 0}}@keyframes corridor-motion-worried{0%{translate:0 0}25%{translate:2px 0}50%{translate:-2px 0}75%{translate:1px 0}to{translate:0 0}}@media(max-width:850px){.corridor-screen.corridor-scene-entered .corridor-background{animation-duration:1.6s}.corridor-screen.corridor-scene-entered .corridor-dialogue-layout{animation-duration:.72s}.corridor-screen.corridor-scene-entered .corridor-character-sprite,.corridor-screen.corridor-scene-entered .corridor-friend-sprite:not(.is-hidden){animation-duration:1.05s}.corridor-character-sprite.motion-happy{animation-name:corridor-motion-happy-mobile}.corridor-character-sprite.motion-confident{animation-name:corridor-motion-confident-mobile}@keyframes corridor-motion-happy-mobile{0%{translate:0 0;scale:1}45%{translate:0 -3px;scale:1.006}to{translate:0 0;scale:1}}@keyframes corridor-motion-confident-mobile{0%{translate:0 0;scale:1}45%{translate:0 -2px;scale:1.008}to{translate:0 0;scale:1}}}@media(prefers-reduced-motion:reduce){.corridor-screen.corridor-scene-entered .corridor-background,.corridor-screen.corridor-scene-entered .corridor-dialogue-layout,.corridor-screen.corridor-scene-entered .corridor-character-sprite,.corridor-screen.corridor-scene-entered .corridor-friend-sprite,.corridor-character-sprite.emotion-crossfade,.corridor-character-sprite.motion-happy,.corridor-character-sprite.motion-confident,.corridor-character-sprite.motion-thoughtful,.corridor-character-sprite.motion-worried{animation:none!important}}.screen-transition{transition:opacity 1.15s cubic-bezier(.22,.61,.36,1)!important;will-change:opacity}.screen-transition.is-black-intro{background:#000!important}.screen-transition.is-revealing{opacity:0!important;pointer-events:none}@media(prefers-reduced-motion:reduce){.screen-transition{transition-duration:.25s!important}}.classroom-intro-screen{background:#171923}.classroom-intro-background{position:absolute;top:-2.5%;right:-2.5%;bottom:-2.5%;left:-2.5%;background:url(/posledniy-zachet/assets/classroom-last-exam-background.webp) center center / cover no-repeat;transform:scale(1.015);transform-origin:50% 48%;will-change:transform;animation:classroom-first-person-sway 24s ease-in-out infinite alternate}.classroom-intro-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#030919c7,#03091957 29%,#03091905 67%),linear-gradient(90deg,rgba(3,9,25,.12),transparent 65%)}.classroom-topline{position:absolute;top:2.4%;left:3%;right:3%;display:flex;justify-content:space-between;gap:1rem;color:#ffffffe0;font-size:clamp(.65rem,1vw,1rem);font-weight:800;letter-spacing:.16em;text-shadow:0 2px 8px #000}.classroom-dialogue-layout{left:2.5%;right:2.5%;bottom:4.2%;min-height:0;height:clamp(210px,31vh,350px);color:#fff}.classroom-speaker{position:relative}.classroom-dialogue-text{min-height:3.4em;max-height:6.4em;overflow:auto}.classroom-dialogue-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:auto}#classroom-next{cursor:pointer}.classroom-entered .classroom-intro-background{animation:classroom-first-person-sway 24s ease-in-out infinite alternate}.classroom-entered .classroom-dialogue-layout{animation:classroom-dialogue-in .65s cubic-bezier(.2,.75,.25,1) both}@keyframes classroom-dialogue-in{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes classroom-first-person-sway{0%{transform:scale(1.015) translate3d(-.25%,.15%,0)}50%{transform:scale(1.045) translate3d(.2%,-.15%,0)}to{transform:scale(1.025) translate3d(-.1%,.1%,0)}}@media(max-width:700px){.classroom-dialogue-layout{left:1.5%;right:1.5%;bottom:2%;height:43vh}.classroom-dialogue-text{max-height:7em}.classroom-topline{font-size:.58rem;letter-spacing:.08em}}@media(prefers-reduced-motion:reduce){.classroom-intro-background,.classroom-entered .classroom-dialogue-layout{animation:none!important;transition:none!important;transform:none!important}}.classroom-gallery-screen{background:#171923}.classroom-gallery-background{position:absolute;top:-1%;right:-1%;bottom:-1%;left:-1%;background:url(/posledniy-zachet/assets/classroom-wall-gallery-background.jpeg) center center / cover no-repeat;transform:scale(1);transform-origin:50% 48%;will-change:transform;animation:gallery-first-person-sway 26s ease-in-out infinite alternate}.classroom-gallery-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#030919cc,#0309195e 30%,#03091905 68%),linear-gradient(90deg,rgba(3,9,25,.12),transparent 65%)}.gallery-dialogue-layout{left:2.5%;right:2.5%;bottom:4.2%}.gallery-entered .gallery-dialogue-layout{animation:classroom-dialogue-in .65s cubic-bezier(.2,.75,.25,1) both}@keyframes gallery-first-person-sway{0%{transform:scale(1) translate(0)}35%{transform:scale(1.012) translate(-.2%,.1%)}70%{transform:scale(1.006) translate(.18%,-.1%)}to{transform:scale(1.02) translate(-.1%,.08%)}}@media(max-width:700px){.gallery-dialogue-layout{left:1.5%;right:1.5%;bottom:2%;height:43vh}}@media(prefers-reduced-motion:reduce){.classroom-gallery-background{animation:none!important;transform:none!important}.gallery-entered .gallery-dialogue-layout{animation:none!important}}.classroom-classmates-screen{background:#171923}.classroom-classmates-background{position:absolute;top:-1.2%;right:-1.2%;bottom:-1.2%;left:-1.2%;background:url(/posledniy-zachet/assets/classroom-classmates-background.jpeg) center center / cover no-repeat;transform:scale(1.005);transform-origin:50% 48%;will-change:transform;animation:classmates-first-person-sway 27s ease-in-out infinite alternate}.classroom-classmates-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#030919d1,#0309196b 28%,#03091908 69%),linear-gradient(90deg,rgba(3,9,25,.12),transparent 65%)}.classmates-dialogue-layout{left:2.5%;right:2.5%;bottom:4.2%}.classmates-entered .classmates-dialogue-layout{animation:classroom-dialogue-in .65s cubic-bezier(.2,.75,.25,1) both}@keyframes classmates-first-person-sway{0%{transform:scale(1.005) translate(-.28%,.04%)}25%{transform:scale(1.012) translate(.12%,-.05%)}50%{transform:scale(1.016) translate(.3%,.07%)}75%{transform:scale(1.009) translate(-.1%,-.06%)}to{transform:scale(1.018) translate(-.28%,.05%)}}@media(max-width:700px){.classmates-dialogue-layout{left:1.5%;right:1.5%;bottom:2%;height:43vh}}@media(prefers-reduced-motion:reduce){.classroom-classmates-background{animation:none!important;transform:none!important}.classmates-entered .classmates-dialogue-layout{animation:none!important}}.teacher-intro-screen{background:#171923;overflow:hidden}.teacher-intro-background{position:absolute;top:-1.5%;right:-1.5%;bottom:-1.5%;left:-1.5%;background:url(/posledniy-zachet/assets/classroom-last-exam-background.webp) center center / cover no-repeat;transform:scale(1.012);transform-origin:50% 48%;animation:teacher-room-sway 25s ease-in-out infinite alternate;will-change:transform}.teacher-intro-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#030817b3,#03081733 36%,#03081708 74%),linear-gradient(90deg,rgba(3,8,23,.13),transparent 55%,rgba(3,8,23,.12));pointer-events:none}.teacher-scene-sprite{position:absolute;z-index:2;left:4.5%;bottom:18%;height:82%;max-width:34%;width:auto;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 20px rgba(0,0,0,.45));opacity:0;transform:translate(-18px);transition:opacity .65s ease,transform .65s ease;pointer-events:none}.teacher-hero-sprite{position:absolute;z-index:2;right:4.5%;bottom:18%;height:80%;max-width:34%;width:auto;object-fit:contain;object-position:center bottom;transform:scaleX(-1) translate(-18px);transform-origin:center bottom;filter:drop-shadow(0 12px 20px rgba(0,0,0,.45));opacity:0;transition:opacity .55s ease,transform .55s ease;pointer-events:none}.teacher-entered .teacher-scene-sprite{opacity:1;transform:translate(0)}.teacher-entered .teacher-hero-sprite:not(.is-hidden){opacity:1;transform:scaleX(-1) translate(0)}.teacher-dialogue-layout{grid-template-columns:minmax(0,1fr);height:clamp(235px,36vh,390px);bottom:2.5%}.teacher-dialogue-left{padding-right:2%}.teacher-dialogue-text{max-width:100%}.teacher-choice-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(6px,.8vw,12px);margin-top:auto;padding:.35rem 0 .5rem}.teacher-choice-panel button{min-width:0;min-height:clamp(44px,6vh,68px);padding:.65em .75em;border:1px solid #b9d8ff;border-left:4px solid #2f75ff;background:linear-gradient(105deg,#fffffffa,#dcebfff5);color:#091c49;font:800 clamp(11px,.86vw,15px)/1.18 "Segoe UI",Arial,sans-serif;text-align:left;overflow-wrap:anywhere;cursor:pointer;clip-path:polygon(4% 0,100% 0,96% 100%,0 100%);transition:transform .16s,filter .16s,box-shadow .16s}.teacher-choice-panel button:hover{transform:translateY(-3px);filter:brightness(1.08);box-shadow:0 0 0 2px #4ba8ff,0 0 12px #0069ff59}.teacher-choice-panel button:disabled{opacity:.6;cursor:default}.teacher-dialogue-controls{margin-top:.15rem}.teacher-entered .teacher-dialogue-layout{animation:classroom-dialogue-in .65s cubic-bezier(.2,.75,.25,1) both}@keyframes teacher-room-sway{0%{transform:scale(1.012) translate(-.12%,.04%)}25%{transform:scale(1.016) translate(.1%,-.04%)}50%{transform:scale(1.02) translate(.16%,.05%)}75%{transform:scale(1.014) translate(-.08%,-.03%)}to{transform:scale(1.018) translate(-.12%,.04%)}}@media(max-width:850px){.teacher-scene-sprite{left:1%;height:58%;bottom:39%;max-width:45%}.teacher-hero-sprite{right:1%;height:58%;bottom:39%;max-width:45%}.teacher-dialogue-layout{height:43vh;bottom:1.5%;padding:4% 5% 3.5%}.teacher-choice-panel{grid-template-columns:1fr;gap:4px;padding:.1rem 0}.teacher-choice-panel button{min-height:32px;padding:.4em .55em;font-size:clamp(10px,1.6vw,13px)}.teacher-dialogue-text{font-size:clamp(13px,2vw,18px);line-height:1.32}.teacher-dialogue-left{padding:0}.teacher-dialogue-controls{margin-top:auto}}@media(prefers-reduced-motion:reduce){.teacher-intro-background{animation:none;transform:none}.teacher-scene-sprite,.teacher-hero-sprite{transition:none;opacity:1;transform:none}.teacher-entered .teacher-hero-sprite:not(.is-hidden){transform:scaleX(-1)}.teacher-entered .teacher-dialogue-layout{animation:none}}.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(18% - 40px)}.teacher-dialogue-layout{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:2%!important;left:1%!important;right:1%!important;width:98%!important;bottom:1%!important;height:clamp(190px,30vh,270px)!important;min-height:190px!important;max-height:270px!important;padding:5.5% 6.5% 4.5%!important;background-size:100% 100%!important}.teacher-dialogue-layout>.teacher-dialogue-left>.corridor-player-name,.teacher-dialogue-layout>.teacher-dialogue-left>.teacher-dialogue-text,.teacher-dialogue-layout>.teacher-dialogue-left>.teacher-dialogue-controls{min-width:0}.teacher-dialogue-layout .corridor-player-name{grid-column:1;grid-row:1;align-self:start}.teacher-dialogue-layout .teacher-dialogue-text{grid-column:1;grid-row:2;align-self:start;overflow:auto}.teacher-dialogue-layout .teacher-dialogue-controls{grid-column:1;grid-row:3;align-self:end}.teacher-choice-panel{grid-column:2!important;grid-row:1 / 4!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-self:stretch!important;min-height:0!important;gap:clamp(5px,.65vh,9px)!important;margin:0!important;padding:0!important;overflow:hidden!important}.teacher-choice-panel button{flex:0 1 auto!important;width:100%!important;min-height:clamp(34px,7vh,58px)!important;max-height:none!important;padding:.55em .75em!important;font-size:clamp(11px,.9vw,15px)!important;line-height:1.16!important}@media(max-width:850px){.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(39% - 40px)!important}.teacher-dialogue-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;height:43vh!important;bottom:1.5%!important;padding:4% 5% 3.5%!important}.teacher-dialogue-layout .corridor-player-name{grid-column:1;grid-row:1}.teacher-dialogue-layout .teacher-dialogue-text{grid-column:1;grid-row:2}.teacher-dialogue-layout .teacher-dialogue-controls{grid-column:1;grid-row:4;margin-top:auto!important}.teacher-choice-panel{grid-column:1!important;grid-row:3!important;display:flex!important;flex-direction:column!important;gap:4px!important}.teacher-choice-panel button{min-height:32px!important;padding:.4em .55em!important;font-size:clamp(10px,1.6vw,13px)!important}}.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(18% - 60px)!important}.teacher-dialogue-layout{grid-template-columns:minmax(0,1.72fr) minmax(220px,.78fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:1.5%!important;left:2.5%!important;right:2.5%!important;width:auto!important;bottom:4.2%!important;height:clamp(210px,29vh,300px)!important;min-height:210px!important;max-height:300px!important;padding:2.2% 2.3% 2.2% 2.8%!important;background-size:100% 100%!important}.teacher-dialogue-left{display:contents!important}.teacher-dialogue-layout .corridor-player-name{grid-column:1!important;grid-row:1!important;width:clamp(120px,17vw,250px)!important;max-width:39%!important;height:clamp(28px,4vh,40px)!important;font-size:clamp(11px,.78vw,14px)!important;margin-bottom:.35em!important}.teacher-dialogue-layout .teacher-dialogue-text{grid-column:1!important;grid-row:2!important;max-width:97%!important;font-size:clamp(14px,1.25vw,22px)!important;line-height:1.42!important;padding:.2em .15em!important}.teacher-dialogue-layout .teacher-dialogue-controls{grid-column:1!important;grid-row:3!important;align-self:end!important;margin-top:auto!important}.teacher-choice-panel{grid-column:2!important;grid-row:1 / 4!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-self:stretch!important;min-height:0!important;gap:clamp(4px,.55vh,7px)!important;margin:0!important;padding:0!important;overflow:visible!important}.teacher-choice-panel button{display:block!important;flex:0 1 auto!important;width:100%!important;min-height:clamp(32px,5.2vh,46px)!important;max-height:54px!important;padding:.45em .65em!important;font-size:clamp(10px,.78vw,13px)!important;line-height:1.14!important}@media(max-width:850px){.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(39% - 60px)!important}.teacher-dialogue-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;left:1.5%!important;right:1.5%!important;bottom:3%!important;height:43vh!important;padding:4% 5% 3.5%!important}.teacher-dialogue-layout .corridor-player-name{grid-column:1!important;grid-row:1!important;max-width:45%!important}.teacher-dialogue-layout .teacher-dialogue-text{grid-column:1!important;grid-row:2!important;font-size:clamp(13px,2vw,18px)!important}.teacher-choice-panel{grid-column:1!important;grid-row:3!important;gap:4px!important}.teacher-choice-panel button{min-height:32px!important;max-height:none!important;padding:.4em .55em!important;font-size:clamp(10px,1.6vw,13px)!important}.teacher-dialogue-layout .teacher-dialogue-controls{grid-column:1!important;grid-row:4!important}}.teacher-dialogue-layout .corridor-player-name{transform:translateY(-10px)!important;width:clamp(112px,15vw,220px)!important;max-width:34%!important;height:clamp(25px,3.4vh,34px)!important;min-height:0!important;padding-top:.25em!important;padding-bottom:.25em!important;font-size:clamp(10px,.72vw,12px)!important;line-height:1.1!important}.teacher-choice-panel.is-hidden,.teacher-choice-panel[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(18% - 110px)!important}@media(max-width:850px){.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(39% - 110px)!important}.teacher-dialogue-layout .corridor-player-name{transform:translateY(-7px)!important;width:clamp(112px,36vw,190px)!important;max-width:45%!important}}.teacher-dialogue-layout{height:clamp(250px,34vh,350px)!important;min-height:250px!important;max-height:350px!important;bottom:2.8%!important;padding:2.4% 2.6% 2.4% 2.9%!important}.teacher-dialogue-layout .corridor-player-name{width:clamp(92px,10vw,160px)!important;max-width:28%!important;height:clamp(24px,3.1vh,31px)!important;min-height:0!important;transform:translateY(-12px)!important;padding:.18em .45em!important;font-size:clamp(9px,.65vw,11px)!important;line-height:1.05!important}.teacher-dialogue-layout .teacher-dialogue-text{text-align:left!important;justify-self:stretch!important;align-self:start!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:auto!important}@media(max-width:850px){.teacher-dialogue-layout{height:48vh!important;min-height:0!important;max-height:none!important;bottom:1.8%!important;padding:4% 5% 3.5%!important}.teacher-dialogue-layout .corridor-player-name{width:clamp(88px,30vw,145px)!important;max-width:34%!important;height:clamp(23px,3vh,30px)!important;transform:translateY(-8px)!important;font-size:clamp(9px,1.4vw,11px)!important}.teacher-dialogue-layout .teacher-dialogue-text{text-align:left!important;width:100%!important;max-width:100%!important}}.teacher-dialogue-layout .teacher-dialogue-text{grid-column:1!important;justify-self:start!important;align-self:start!important;text-align:left!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:auto!important;inset-inline-start:auto!important;transform:none!important}.teacher-dialogue-layout .corridor-player-name{transform:translateY(-2px)!important;width:clamp(115px,13vw,190px)!important;max-width:34%!important;height:clamp(26px,3.4vh,35px)!important;font-size:clamp(11px,.78vw,13px)!important;padding:.22em .5em!important}.teacher-scene-sprite{height:90.2%!important;bottom:calc(18% - 150px)!important}.teacher-hero-sprite{height:88%!important;bottom:calc(18% - 150px)!important}@media(max-width:850px){.teacher-dialogue-layout .teacher-dialogue-text{grid-column:1!important;text-align:left!important;justify-self:start!important;margin-left:0!important}.teacher-dialogue-layout .corridor-player-name{transform:translateY(0)!important;width:clamp(115px,36vw,190px)!important;max-width:45%!important;font-size:clamp(11px,1.8vw,13px)!important}.teacher-scene-sprite,.teacher-hero-sprite{height:63.8%!important;bottom:calc(39% - 150px)!important}}.teacher-dialogue-layout.teacher-choice-resolved{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important}.teacher-dialogue-layout.teacher-choice-resolved .teacher-dialogue-text{grid-column:1 / -1!important;justify-self:stretch!important;text-align:left!important;width:100%!important;max-width:100%!important;margin-inline:0 auto!important;padding-right:0!important}.teacher-dialogue-layout.teacher-choice-resolved .teacher-choice-panel{display:none!important}@media(max-width:850px){.teacher-dialogue-layout.teacher-choice-resolved{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important}.teacher-dialogue-layout.teacher-choice-resolved .teacher-dialogue-text{grid-column:1!important;grid-row:2!important;text-align:left!important}}#character-screen.game-stage{transition:opacity .76s cubic-bezier(.22,.72,.24,1),transform .76s cubic-bezier(.22,.72,.24,1)!important}#character-screen.game-stage.screen-entering{opacity:0!important;transform:scale(1.018) translateY(8px)!important}#screen-transition{transition:opacity .7s cubic-bezier(.22,.72,.24,1)!important}.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(18% - 180px)!important}@media(max-width:850px){.teacher-scene-sprite,.teacher-hero-sprite{bottom:calc(39% - 180px)!important}}@media(prefers-reduced-motion:reduce){#character-screen.game-stage,#screen-transition{transition-duration:.01ms!important}#character-screen.game-stage.screen-entering{transform:none!important}}.exam-screen{background:#171923;overflow:hidden}.exam-room-background,.exam-desk-background{position:absolute;top:-2%;right:-2%;bottom:-2%;left:-2%;background-position:center center;background-size:cover;background-repeat:no-repeat;transform:scale(1.015);transform-origin:50% 48%;will-change:transform;animation:classroom-first-person-sway 24s ease-in-out infinite alternate}.exam-room-background{background-image:url(/posledniy-zachet/assets/classroom-last-exam-background.webp)}.exam-desk-background{background-image:url(/posledniy-zachet/assets/exam-desk-background.webp)}.exam-room-background.is-hidden,.exam-desk-background.is-hidden{display:none!important}.exam-room-shade{z-index:1}.exam-teacher-sprite,.exam-hero-sprite{z-index:3}.exam-dialogue-layout{z-index:5}.exam-dialogue-layout.is-hidden{display:none!important}.exam-dialogue-controls{display:flex}.exam-paper-panel{position:absolute;z-index:6;left:5%;right:5%;top:8%;bottom:5%;overflow:auto;padding:clamp(18px,2.2vw,34px) clamp(20px,3vw,48px);background:#fff8ebf0;border:2px solid rgba(111,70,39,.82);box-shadow:0 16px 50px #0000006b;color:#282019;transform:rotate(-.25deg)}.exam-paper-panel.is-hidden{display:none!important}.exam-paper-heading{font:900 clamp(17px,1.7vw,27px)/1.2 "Segoe UI",Arial,sans-serif;text-align:center;letter-spacing:.08em;padding-bottom:12px;border-bottom:1px solid rgba(65,49,34,.5)}.exam-paper-question{font:800 clamp(16px,1.55vw,24px)/1.35 "Segoe UI",Arial,sans-serif;margin:clamp(12px,2vh,24px) 0}.exam-answer-list{display:grid;gap:clamp(8px,1.1vh,14px)}.exam-answer-button{display:flex;align-items:center;gap:12px;width:100%;min-height:clamp(44px,6vh,62px);padding:12px 16px;text-align:left;color:#221b15;background:#ffffffa6;border:1px solid #9c8268;font:700 clamp(13px,1.1vw,18px)/1.3 "Segoe UI",Arial,sans-serif;cursor:pointer;transition:background .16s,transform .16s}.exam-answer-button:hover{background:#fff;transform:translate(3px)}.exam-answer-button:disabled{cursor:default;opacity:.7}.exam-paper-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(14px,2vh,24px)}.exam-paper-actions button{padding:10px 14px;border:1px solid #193d76;background:#e7effb;color:#102c58;font:800 clamp(12px,1vw,15px)/1.2 "Segoe UI",Arial,sans-serif;cursor:pointer}.exam-paper-actions button:disabled{opacity:.5;cursor:default}.exam-action-status{min-height:1.4em;margin-top:8px;font:700 13px/1.3 Segoe UI,Arial,sans-serif;color:#4b3421}.exam-screen.exam-paper-open .exam-teacher-sprite,.exam-screen.exam-paper-open .exam-hero-sprite{opacity:0;pointer-events:none}.exam-screen.exam-paper-open .exam-room-shade{opacity:0}.exam-screen.exam-paper-open .exam-room-background{display:none}.exam-screen.exam-paper-open .exam-desk-background{display:block}.exam-screen.exam-paper-open .exam-dialogue-layout{display:none}@media(max-width:760px){.exam-paper-panel{left:3%;right:3%;top:5%;bottom:3%;padding:16px 14px}.exam-paper-heading{font-size:16px}.exam-paper-question{font-size:15px}.exam-answer-button{min-height:42px;padding:9px 10px;font-size:12px}.exam-paper-actions{gap:6px}.exam-paper-actions button{padding:9px 10px;font-size:11px}}.exam-screen .exam-dialogue-layout{grid-template-columns:minmax(0,1fr)!important}.exam-screen .exam-dialogue-left{display:block!important;padding:1% 1.2% 1% .8%!important}.exam-screen .exam-dialogue-left .corridor-player-name{margin-bottom:.45em!important}.exam-screen .exam-dialogue-left .corridor-dialogue-text{position:relative;left:0!important;right:auto!important;text-align:left!important;margin-left:0!important;transform:none!important;max-width:58%}.exam-screen .exam-paper-question{display:none}.exam-screen .exam-answer-list{position:absolute;right:3.5%;top:18%;width:39%;display:grid;gap:clamp(7px,1vh,12px)}.exam-screen .exam-answer-button{min-height:clamp(42px,5.5vh,58px);padding:10px 14px;background:linear-gradient(105deg,#fff,#e1edff);border:1px solid #8caedb;color:#10264d;font:800 clamp(12px,.95vw,16px)/1.25 "Segoe UI",Arial,sans-serif}.exam-screen .exam-paper-actions{position:absolute;right:3.5%;top:72%;width:50%;display:flex;flex-wrap:wrap;gap:8px;margin:0}.exam-screen .exam-paper-actions button{padding:8px 11px;font-size:clamp(10px,.8vw,13px)}.exam-screen .exam-action-status{position:absolute;left:1%;bottom:12%;max-width:55%;color:#f6f8ff;text-shadow:0 2px 4px #000}.exam-screen.exam-paper-open .exam-dialogue-layout{display:grid!important}.exam-screen.exam-paper-open .exam-teacher-sprite,.exam-screen.exam-paper-open .exam-hero-sprite{opacity:0!important;pointer-events:none!important}.exam-screen:not(.exam-paper-open) .exam-answer-list,.exam-screen:not(.exam-paper-open) .exam-paper-actions,.exam-screen:not(.exam-paper-open) .exam-action-status{display:none!important}.exam-screen .exam-dialogue-controls{margin-top:0!important;position:absolute;left:0;right:0;bottom:0}.exam-screen.exam-paper-open .exam-dialogue-text{max-width:54%!important}@media(max-width:760px){.exam-screen .exam-dialogue-left .corridor-dialogue-text{max-width:100%}.exam-screen .exam-answer-list{top:auto;bottom:20%;right:3%;width:46%;gap:5px}.exam-screen .exam-answer-button{min-height:34px;padding:6px 8px;font-size:10px}.exam-screen .exam-paper-actions{top:auto;bottom:6%;right:3%;width:54%;gap:4px}.exam-screen .exam-paper-actions button{padding:6px;font-size:9px}.exam-screen .exam-action-status{bottom:17%;max-width:44%;font-size:11px}}.exam-screen.exam-entered .exam-teacher-sprite{opacity:1!important;transform:translate(0)!important;visibility:visible!important}.exam-screen.exam-entered .exam-hero-sprite{opacity:1!important;transform:scaleX(-1) translate(0)!important;visibility:visible!important}.exam-screen.exam-paper-open .exam-teacher-sprite,.exam-screen.exam-paper-open .exam-hero-sprite{opacity:0!important;visibility:hidden!important;pointer-events:none!important}.exam-screen .exam-paper-actions{position:absolute!important;left:50%!important;right:auto!important;top:47%!important;bottom:auto!important;transform:translate(-50%,-8%)!important;width:min(34%,440px)!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:clamp(6px,.8vh,10px)!important;margin:0!important;z-index:7!important}.exam-screen .exam-paper-actions button{width:100%!important;min-height:clamp(36px,4.2vh,48px)!important;padding:8px 12px!important;text-align:left!important;font-size:clamp(11px,.85vw,14px)!important}.exam-screen .exam-action-status{left:1.2%!important;bottom:10%!important;max-width:42%!important}@media(max-width:760px){.exam-screen .exam-paper-actions{left:50%!important;top:auto!important;bottom:15%!important;width:42%!important;transform:translate(-50%)!important;gap:4px!important}.exam-screen .exam-paper-actions button{min-height:30px!important;padding:5px 7px!important;font-size:9px!important}}.exam-screen .exam-answer-button{min-height:clamp(36px,4.5vh,48px)!important;padding:7px 11px!important;font-size:clamp(11px,.82vw,14px)!important;line-height:1.2!important}.exam-screen .exam-paper-actions{left:auto!important;right:3.5%!important;top:68%!important;bottom:auto!important;transform:none!important;width:36%!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:clamp(5px,.6vh,8px)!important}.exam-screen .exam-paper-actions button{width:100%!important;min-height:clamp(32px,3.8vh,42px)!important;padding:6px 10px!important;font-size:clamp(10px,.76vw,13px)!important;line-height:1.15!important;text-align:left!important}@media(max-width:760px){.exam-screen .exam-answer-list{top:auto!important;bottom:34%!important;right:3%!important;width:43%!important;gap:4px!important}.exam-screen .exam-answer-button{min-height:30px!important;padding:5px 7px!important;font-size:9px!important}.exam-screen .exam-paper-actions{left:auto!important;right:3%!important;top:auto!important;bottom:5%!important;width:43%!important;transform:none!important;gap:3px!important}.exam-screen .exam-paper-actions button{min-height:27px!important;padding:4px 6px!important;font-size:8px!important}}.exam-screen .exam-answer-list{right:3.5%!important;top:15%!important;width:36%!important;gap:clamp(5px,.65vh,8px)!important}.exam-screen .exam-paper-actions{left:auto!important;right:41%!important;top:15%!important;bottom:auto!important;transform:none!important;width:21%!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:clamp(5px,.65vh,8px)!important}.exam-screen .exam-paper-actions button{width:100%!important;min-height:clamp(36px,4.5vh,48px)!important;padding:7px 9px!important;font-size:clamp(10px,.72vw,12px)!important;line-height:1.15!important;text-align:left!important}@media(max-width:760px){.exam-screen .exam-answer-list{top:auto!important;bottom:34%!important;right:3%!important;width:43%!important;gap:4px!important}.exam-screen .exam-paper-actions{left:auto!important;right:47%!important;top:auto!important;bottom:34%!important;width:21%!important;transform:none!important;gap:4px!important}.exam-screen .exam-paper-actions button{min-height:30px!important;padding:5px 6px!important;font-size:8px!important}}.male-panel .male-boy6-sprite{left:34%}.male-panel .slot-hitboxes{position:absolute}.male-panel .secret-portrait-slot{position:absolute;left:40.8%;top:104%;width:18.2%;height:67%;border-color:#5bff91fa;background:#041e11f7;box-shadow:0 0 12px #19dc648c;z-index:9}.male-panel .secret-portrait-slot img{object-position:center 30%}.male-panel .secret-portrait-slot.is-selected{border-color:#a8ffc2;box-shadow:0 0 6px 2px #6eff9bfa,0 0 18px 6px #0fd25acc}#character-screen.hesoyam-scene-shake{animation:hesoyam-scene-shake .62s cubic-bezier(.36,.07,.19,.97) both}@keyframes hesoyam-scene-shake{0%,to{transform:translateZ(0)}12%,36%,60%,84%{transform:translate3d(-4px,1px,0) rotate(-.25deg)}24%,48%,72%,92%{transform:translate3d(4px,-1px,0) rotate(.25deg)}}@media(prefers-reduced-motion:reduce){#character-screen.hesoyam-scene-shake{animation-duration:1ms}}.player-field input.is-locked{opacity:.88;cursor:not-allowed;border-color:#509cffcc}@media(max-width:700px){.male-panel .secret-portrait-slot{top:103%;height:61%}}.male-panel .male-boy7-sprite{left:34%}.male-panel .devil-portrait-slot{position:absolute;left:24.8%;transform:translate(-25px);top:104%;width:18.2%;height:67%;border-color:#ff414bfa;background:#30050af7;box-shadow:0 0 12px #ff192d94;z-index:10}.male-panel .devil-portrait-slot img{object-position:center 30%}.male-panel .devil-portrait-slot.is-selected{border-color:#ffb0b5;box-shadow:0 0 6px 2px #ff4b55fa,0 0 18px 6px #dc0f23d1;background:#ff192d38}#character-screen.devil-scene-shake{animation:hesoyam-scene-shake .62s cubic-bezier(.36,.07,.19,.97) both}.now-playing-card{position:fixed;z-index:99990;top:clamp(14px,2.2vh,24px);right:clamp(14px,2.2vw,28px);display:flex;align-items:stretch;gap:13px;width:min(350px,calc(100vw - 28px));min-height:88px;padding:9px 32px 9px 9px;box-sizing:border-box;overflow:hidden;color:#f5f5f5;background:linear-gradient(115deg,#0e1012f7,#1b1d1ff0);border:1px solid rgba(255,255,255,.19);border-left:4px solid #1ed760;box-shadow:0 10px 32px #0000006b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:0;visibility:hidden;transform:translate3d(115%,-115%,0) scale(.97);transition:opacity .32s ease,transform .38s cubic-bezier(.2,.75,.2,1),visibility .32s ease;font-family:Arial,Helvetica,sans-serif;pointer-events:none}.now-playing-card.is-visible{opacity:1;visibility:visible;transform:translateZ(0) scale(1);pointer-events:auto}.now-playing-card[hidden]{display:none}.now-playing-card.np-mood-red{border-left-color:#ef3340}.now-playing-card.np-mood-blue{border-left-color:#4d9dff}.now-playing-card.np-mood-yellow{border-left-color:#ffd34e}.now-playing-card.np-mood-yellow .np-equalizer i{background:#ffd34e}.now-playing-card.np-mood-yellow .np-spotify strong,.now-playing-card.np-mood-yellow .np-spotify-dot{color:#ffd34e}.now-playing-card.np-mood-red{box-shadow:0 10px 32px #0000006b,0 0 20px #ef33402e}.now-playing-card.np-mood-blue{box-shadow:0 10px 32px #0000006b,0 0 20px #4d9dff2e}.now-playing-card.np-mood-green{box-shadow:0 10px 32px #0000006b,0 0 20px #1ed7602e}.now-playing-card.np-mood-yellow{box-shadow:0 10px 32px #0000006b,0 0 20px #ffd34e33}.np-cover{flex:0 0 68px;width:68px;height:68px;align-self:center;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 70% 20%,rgba(255,255,255,.2),transparent 30%),linear-gradient(145deg,#34383c,#0d0e10 70%);border:1px solid rgba(255,255,255,.15)}.np-cover:before{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;border:1px solid rgba(255,255,255,.18);transform:rotate(-8deg)}.np-cover{background-size:cover;background-position:center;background-repeat:no-repeat}.np-cover-image{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .16s ease}.np-cover.has-cover .np-cover-image{opacity:1}.np-cover.has-cover:before{z-index:1;pointer-events:none}.np-cover .np-equalizer{z-index:2}.np-cover .np-cover-mark{position:relative;z-index:1}.np-cover.has-cover:before{top:0;right:0;bottom:0;left:0;border:0;transform:none;background:linear-gradient(0deg,rgba(0,0,0,.34),transparent 45%)}.np-cover.has-cover .np-cover-mark{display:none}.np-cover-mark{color:#ffffffe0;font-size:34px;font-weight:800;line-height:1;text-shadow:0 2px 12px rgba(0,0,0,.5)}.np-mood-green .np-cover:not(.has-cover){background:radial-gradient(circle at 70% 20%,rgba(30,215,96,.5),transparent 35%),linear-gradient(145deg,#174c32,#101513 75%)}.np-mood-red .np-cover:not(.has-cover){background:radial-gradient(circle at 70% 20%,rgba(255,45,55,.55),transparent 35%),linear-gradient(145deg,#5b171d,#120d0e 75%)}.np-mood-blue .np-cover:not(.has-cover){background:radial-gradient(circle at 70% 20%,rgba(68,146,255,.55),transparent 35%),linear-gradient(145deg,#17365b,#101216 75%)}.np-mood-yellow .np-cover:not(.has-cover){background:radial-gradient(circle at 70% 20%,rgba(255,211,78,.55),transparent 35%),linear-gradient(145deg,#5b4a17,#101216 75%)}.np-equalizer{position:absolute;right:7px;bottom:7px;height:15px;display:flex;align-items:flex-end;gap:2px}.np-equalizer i{display:block;width:3px;height:45%;background:#1ed760;animation:np-bars .7s ease-in-out infinite alternate}.np-equalizer i:nth-child(2){height:90%;animation-delay:-.35s}.np-equalizer i:nth-child(3){height:62%;animation-delay:-.15s}.np-equalizer i:nth-child(4){height:75%;animation-delay:-.5s}.np-mood-red .np-equalizer i{background:#ff4954}.np-mood-blue .np-equalizer i{background:#6af}@keyframes np-bars{0%{transform:scaleY(.45)}to{transform:scaleY(1)}}.np-info{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px}.np-kicker{font-size:9px;letter-spacing:2px;font-weight:800;color:#b7b9bb}.np-title-link{display:block;width:100%;min-width:0;color:inherit;text-decoration:none}.np-title-link:hover .np-title{color:#1ed760;text-decoration:underline}.np-title{width:100%;font-size:12px;line-height:1.25;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;letter-spacing:.15px}.np-artist{width:100%;font-size:11px;color:#b9babe;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.np-links{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.np-yandex{color:#b8babe;font-size:8px;text-decoration:none;letter-spacing:.1px}.np-yandex:hover{color:#fff;text-decoration:underline}.np-yandex[hidden]{display:none}.np-spotify{display:inline-flex;align-items:center;gap:4px;margin-top:4px;color:#aeb2b5;font-size:8px;letter-spacing:.8px;text-decoration:none;font-weight:700}.np-spotify strong{color:#1ed760;font-size:10px;letter-spacing:0}.np-spotify:hover strong{color:#75f5a3;text-decoration:underline}.np-spotify-dot{color:#1ed760;font-size:11px}.np-external{margin-left:3px;font-size:11px}.np-close{position:absolute;right:7px;top:5px;width:23px;height:23px;border:0;border-radius:50%;color:#d8dadd;background:#ffffff14;font-size:17px;line-height:1;cursor:pointer;pointer-events:auto}.np-close:hover{color:#fff;background:#ffffff2b}@media(max-width:600px){.now-playing-card{top:8px;right:8px;width:min(320px,calc(100vw - 16px));min-height:76px;gap:8px;padding:7px 28px 7px 7px}.np-cover{flex-basis:58px;width:58px;height:58px}.np-title{font-size:11px}.np-kicker{font-size:7px}.np-artist{font-size:9px}.np-spotify{font-size:7px}.np-spotify strong{font-size:9px}}@media(prefers-reduced-motion:reduce){.now-playing-card{transition:none;transform:none}.np-equalizer i{animation:none;height:60%}}.intro-video-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:grid;place-items:center;overflow:hidden;background:#000;opacity:1;visibility:visible;transition:opacity .42s ease,visibility .42s ease}.intro-video-overlay.is-hidden{display:none!important;opacity:0;visibility:hidden;pointer-events:none}.intro-video{display:block;width:100%;height:100%;max-width:100vw;max-height:100dvh;object-fit:contain;background:#000}.intro-video-skip{position:absolute;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:1;border:1px solid rgba(255,255,255,.55);border-radius:3px;padding:11px 16px;color:#fff;background:#00000094;font:800 12px/1.2 Arial Black,Arial,sans-serif;letter-spacing:.09em;cursor:pointer;transition:background .16s ease,border-color .16s ease}.intro-video-skip:hover,.intro-video-skip:focus-visible{background:#144196d1;border-color:#fff}.intro-video-skip span{margin-left:8px}@media(max-width:640px){.intro-video-skip{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));padding:9px 12px;font-size:10px}}@media(prefers-reduced-motion:reduce){.intro-video-overlay{transition-duration:.01ms}}.disclaimer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10001;display:grid;place-items:center;overflow:hidden;background:#000;opacity:1;visibility:visible}.disclaimer-overlay.is-hidden{display:none!important;opacity:0;visibility:hidden;pointer-events:none}.disclaimer-image{display:block;width:100%;height:100%;max-width:100vw;max-height:100dvh;object-fit:contain;background:#000}.cameo-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12000;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;background:#000;color:#fff}.cameo-overlay.is-hidden{display:none!important}.cameo-scene-frame{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#000}.cameo-scene-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;transform:scale(1.025);animation:cameo-gentle-drift 12s ease-in-out infinite alternate;transform-origin:center center}@keyframes cameo-gentle-drift{0%{transform:scale(1.025) translate3d(-.35%,0,0)}to{transform:scale(1.075) translate3d(.35%,-.25%,0)}}.cameo-dialogue{position:relative;z-index:1;width:100%;margin:0}.cameo-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}.cameo-progress{white-space:nowrap}.cameo-next{flex-shrink:0}@media(max-width:640px){.cameo-scene-image{object-fit:cover}.cameo-controls{gap:8px}}@media(prefers-reduced-motion:reduce){.cameo-scene-image{animation:none;transform:none}}.cameo-scene-frame.cameo-angry-shake{animation:cameo-angry-camera-shake .42s ease-in-out infinite}@keyframes cameo-angry-camera-shake{0%,to{transform:translateZ(0)}15%{transform:translate3d(-3px,1px,0)}30%{transform:translate3d(4px,-2px,0)}45%{transform:translate3d(-4px,2px,0)}60%{transform:translate3d(3px,1px,0)}75%{transform:translate3d(-2px,-1px,0)}}@media(prefers-reduced-motion:reduce){.cameo-scene-frame.cameo-angry-shake{animation:none}}.excellent-ending{position:fixed;top:0;right:0;bottom:0;left:0;z-index:13000;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;background:#050506;color:#fff}.excellent-ending.is-hidden{display:none!important}.excellent-ending-scene{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#050506;transition:opacity .42s ease}.excellent-ending-scene.is-fading{opacity:0}.excellent-ending-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transform:scale(1.025);animation:excellent-ending-drift 14s ease-in-out infinite alternate}@keyframes excellent-ending-drift{0%{transform:scale(1.025) translate3d(-.25%,0,0)}to{transform:scale(1.075) translate3d(.25%,-.25%,0)}}.excellent-ending-vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.22),transparent 28%,transparent 58%,rgba(0,0,0,.42))}.excellent-ending-period{position:absolute;z-index:2;top:clamp(20px,4vh,48px);left:clamp(20px,4vw,64px);font-size:clamp(14px,1.5vw,22px);font-weight:800;letter-spacing:.12em;color:#fff;text-shadow:0 2px 12px #000,0 0 3px #000}.excellent-ending-dialogue{position:relative;z-index:3;width:100%;margin:0}.excellent-ending-dialogue .corridor-dialogue-left{width:100%}@media(max-width:640px){.excellent-ending-image{object-position:center}.excellent-ending-period{top:16px;left:16px}}@media(prefers-reduced-motion:reduce){.excellent-ending-image{animation:none;transform:none}.excellent-ending-scene{transition:none}}.excellent-ending-dialogue{display:block!important;left:2.5%;right:2.5%;width:auto;grid-template-columns:minmax(0,1fr)!important}.excellent-ending-dialogue>.corridor-dialogue-left,.excellent-ending-dialogue>.teacher-dialogue-left{grid-column:1 / -1!important;width:100%!important;max-width:100%!important;box-sizing:border-box;padding-right:2%!important}.excellent-ending-dialogue .corridor-dialogue-text{align-self:flex-start;width:100%;max-width:100%!important;text-align:left;margin:0;box-sizing:border-box}.excellent-ending.is-blackout{background:#000!important}.excellent-ending.is-blackout .excellent-ending-scene,.excellent-ending.is-blackout .excellent-ending-dialogue{opacity:0!important;visibility:hidden!important}.excellent-ending .excellent-ending-scene,.excellent-ending .excellent-ending-dialogue{transition:opacity .7s ease,visibility .7s ease}@media(prefers-reduced-motion:reduce){.excellent-ending .excellent-ending-scene,.excellent-ending .excellent-ending-dialogue{transition:none}}.asset-loading-status{position:fixed;z-index:2147483647;left:50%;bottom:7%;transform:translate(-50%);padding:10px 18px;border-radius:8px;background:#000c;color:#fff;font:16px system-ui,sans-serif;pointer-events:none}.asset-loading-status[hidden]{display:none}#screen-transition{background:#030817;transition:opacity .48s cubic-bezier(.22,.61,.36,1)!important;will-change:opacity}#screen-transition.is-active{opacity:1;pointer-events:auto;transition-duration:.32s!important}.game-stage,#character-screen.game-stage{transition:none!important}.game-stage.screen-entering,#character-screen.game-stage.screen-entering{opacity:1!important;transform:none!important}.corridor-screen.corridor-scene-entered .corridor-character-sprite,.corridor-screen.corridor-scene-entered .corridor-friend-sprite:not(.is-hidden){animation:none}.character-continue{z-index:8;bottom:2.2%;min-width:20%}.character-continue:disabled{cursor:wait}@media(prefers-reduced-motion:reduce){#screen-transition,#screen-transition.is-active{transition-duration:0ms!important}}.character-loading{position:fixed;z-index:2147483646;left:50%;bottom:11%;transform:translate(-50%);width:min(560px,90vw);padding:18px 24px;border:1px solid rgba(145,205,255,.65);border-radius:16px;color:#f5faff;background:linear-gradient(135deg,#061639f5,#172752f5);box-shadow:0 14px 48px #00000061,0 0 24px #127dff2e;text-align:center;pointer-events:none}.character-loading[hidden]{display:none}.character-loading p{margin:8px 0 14px;font:600 clamp(13px,1.3vw,17px)/1.5 "Segoe UI",sans-serif}.character-loading-books{display:flex;justify-content:center;gap:14px;font-size:27px;height:37px}.character-loading-books span{display:block;animation:student-book-hop 1.2s ease-in-out infinite}.character-loading-books span:nth-child(2){animation-delay:.16s}.character-loading-books span:nth-child(3){animation-delay:.32s}.character-loading-track{height:4px;overflow:hidden;border-radius:3px;background:#97cbff2e}.character-loading-track span{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#70ccff,#b0a3ff);animation:student-loading-sweep 1.6s ease-in-out infinite}.character-loading-active .asset-loading-status{visibility:hidden}@keyframes student-book-hop{0%,65%,to{transform:translateY(0) rotate(-5deg)}30%{transform:translateY(-7px) rotate(5deg)}}@keyframes student-loading-sweep{0%{transform:translate(-110%)}to{transform:translate(370%)}}@media(max-height:500px)and (orientation:landscape){.character-loading{left:36%;bottom:1.5%;padding:8px 12px;width:56vw}.character-loading-books{display:none}.character-loading p{margin:0 0 6px;font-size:12px;line-height:1.3}}@media(prefers-reduced-motion:reduce){.character-loading-books span,.character-loading-track span{animation:none}.character-loading-track span{width:100%;opacity:.65}}.disclaimer-overlay{background:radial-gradient(ellipse at center,#041e30,#020911)}.disclaimer-image{position:absolute;top:0;right:0;bottom:0;left:0;visibility:hidden}.disclaimer-overlay.has-artwork .disclaimer-image{visibility:visible}.disclaimer-copy{max-width:1100px;max-height:100%;overflow:auto;padding:3vh 5vw;text-align:center;color:#f5f3ea;font:clamp(13px,2.2vw,30px)/1.45 "Segoe UI",sans-serif}.disclaimer-copy h1{margin:0 0 3vh;font:900 clamp(24px,5vw,64px)/1.1 "Campus Display",sans-serif}.disclaimer-copy p{margin:0 0 3vh}.disclaimer-copy strong{font-size:1.25em}.disclaimer-overlay.has-artwork .disclaimer-copy{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}#achievements-page-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483646;display:grid;place-items:center;overflow:hidden;padding:20px;background:#071426;color:#f5f8ff;font-family:Segoe UI,Arial,sans-serif}.achievements-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;opacity:.45;pointer-events:none}.achievements-book{position:relative;width:min(1040px,100%);height:min(740px,100%);min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:20px;gap:16px;border:1px solid #83baff;border-radius:10px;background:#041127f5;box-shadow:0 16px 50px #0008;opacity:0;transition:opacity .3s ease}#achievements-page-overlay.is-visible .achievements-book{opacity:1}.achievement-heading{margin:0;font-size:24px;font-weight:800;line-height:1.3}.achievements-list{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5274a4 #0a162b;-webkit-overflow-scrolling:touch}.achievement-item{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px;min-height:88px;padding:12px;border:1px solid #263e5e;border-radius:6px;background:#071529}.achievement-item.is-unlocked{border-color:#67c8fa;background:linear-gradient(110deg,#143c5c,#0a223d);box-shadow:inset 3px 0 #81dfff,inset 0 0 20px #55bfff12}.achievement-item.is-locked{color:#8290a3;background:#081222}.achievement-item-icon{position:relative;display:grid;place-items:center;width:58px;height:58px;font-size:28px}.achievement-item-icon img{position:absolute;width:100%;height:100%;object-fit:contain}.is-unlocked .achievement-item-icon{filter:drop-shadow(0 0 5px #70cfff70)}.is-locked .achievement-item-icon{filter:grayscale(1) brightness(.5);opacity:.65}.achievement-item-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.achievement-item-title{font-size:16px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.is-unlocked .achievement-item-title{color:#e8faff;text-shadow:0 0 12px #61ccff50}.achievement-item-description{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.is-unlocked .achievement-item-description{color:#c2d8e9}.achievement-footer{position:relative;display:flex;align-items:center;justify-content:center;min-height:36px}.achievement-back{min-height:36px;padding:8px 28px;border:1px solid #bdeaff;border-radius:3px;color:#fff;background:#0b2442;font:700 12px Arial,sans-serif;letter-spacing:1px;cursor:pointer;touch-action:manipulation}.achievement-back:hover,.achievement-back:focus-visible{background:#164671;outline:2px solid #bdeaff;outline-offset:2px}.achievement-count{position:absolute;right:0;font-size:13px;color:#b3c9df}.menu-achievements-button{position:absolute;z-index:2;left:7.2%;top:calc(56% + 10.55vw + 14px);width:min(340px,38vw);min-height:44px;font-size:14px;background:#061a3be6;box-shadow:0 4px 18px #0006;animation:button-enter .7s .25s ease-out both}.menu-achievements-button[hidden]{display:none}@media(max-width:700px){.menu-achievements-button{left:7%;top:calc(56% + 11.66vw + 10px);width:42%}}@media(max-height:500px)and (orientation:landscape){.menu-achievements-button{left:6%;top:calc(53% + 9.99vw + 8px);width:36%;min-height:34px;font-size:12px}}@media(prefers-reduced-motion:reduce){.achievements-book{transition:none}}:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-dialogue-layout{position:absolute!important;margin:0!important;transform:none!important;left:3%!important;right:3%!important;bottom:2%!important;width:auto!important;height:32vh!important;min-height:240px!important;max-height:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;padding:2.5vh 3vw!important;gap:1.5vw!important;background-size:100% 128%!important}:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-dialogue-left{position:relative!important;display:grid!important;grid-column:1/-1!important;grid-row:1!important;width:100%!important;height:100%;min-height:0;padding:0!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;grid-template-areas:"speaker" "text" "controls";gap:1vh!important}:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-player-name{grid-area:speaker!important;position:static!important;transform:none!important;margin:0!important;width:max-content!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;padding:.3em 1.5em .3em .7em!important;font-size:clamp(16px,1.6vmin,40px)!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere;clip-path:none;border-radius:3px}:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-dialogue-text{grid-area:text!important;position:static!important;transform:none!important;width:100%!important;max-width:100%!important;min-width:0;min-height:0;margin:0!important;padding:0!important;align-self:stretch!important;font-size:clamp(18px,1.9vmin,48px)!important;line-height:1.35!important;white-space:normal;overflow-wrap:anywhere;overflow:auto}:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-dialogue-controls{grid-area:controls!important;position:static!important;transform:none!important;display:flex!important;width:100%;margin:0!important;align-items:center;justify-content:space-between;gap:1em}:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-progress{font-size:clamp(12px,1.2vmin,30px)}:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-next,:where(html:not(.phone-layout)) :is(#app,#excellent-ending) .corridor-exit{min-height:2.6em;font-size:clamp(15px,1.6vmin,40px);padding:.55em 1.4em;margin-left:auto}:where(html:not(.phone-layout)) #corridor-screen .corridor-dialogue-layout:has(#corridor-choices:not(.is-hidden)){grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important}:where(html:not(.phone-layout)) #corridor-screen .corridor-dialogue-layout:has(#corridor-choices:not(.is-hidden)) .corridor-dialogue-left{grid-column:1!important}:where(html:not(.phone-layout)) #corridor-choices{grid-column:2;grid-row:1;padding:0!important;gap:1vh!important}:where(html:not(.phone-layout)) #corridor-choices p{transform:none!important;font-size:clamp(14px,1.4vmin,34px)}:where(html:not(.phone-layout)) #corridor-choices button,:where(html:not(.phone-layout)) #teacher-choices button{font-size:clamp(15px,1.6vmin,40px)!important;min-height:2.6em!important;max-height:none!important;padding:.5em .8em!important;line-height:1.2!important}:where(html:not(.phone-layout)) #teacher-intro-screen .teacher-dialogue-left:has(#teacher-choices:not(.is-hidden)){grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important;grid-template-areas:"speaker choices" "text choices" "controls controls"}:where(html:not(.phone-layout)) #teacher-choices{grid-area:choices!important;padding:0!important;margin:0!important}:where(html:not(.phone-layout)) #final-result-screen .final-result-portrait{object-fit:cover!important;object-position:center 20%}:where(html:not(.phone-layout)) #exam-screen.exam-paper-open .exam-dialogue-layout{height:clamp(320px,48vh,860px)!important;min-height:0!important;--exam-choice-height:clamp(42px,5.1vmin,110px)}:where(html:not(.phone-layout)) #exam-screen.exam-paper-open .exam-dialogue-left{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto minmax(48px,1fr) auto auto clamp(12px,2vh,44px) auto!important;grid-template-areas:"speaker speaker" "question question" "actions answers" "status status" ". ." "controls controls";gap:.7vh 2vw!important}:where(html:not(.phone-layout)) #exam-screen.exam-paper-open #exam-dialogue-text{grid-area:question!important;font-size:clamp(20px,2.1vmin,48px)!important;font-weight:600;padding-left:clamp(10px,1.2vw,32px)!important}:where(html:not(.phone-layout)) #exam-screen.exam-paper-open .exam-answer-list,:where(html:not(.phone-layout)) #exam-screen.exam-paper-open .exam-paper-actions{position:static!important;inset:auto!important;width:100%!important;min-height:0;transform:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(3,var(--exam-choice-height));gap:.7vh!important;margin:0;padding:0;align-self:start}:where(html:not(.phone-layout)) #exam-screen.exam-paper-open .exam-answer-list{grid-area:answers!important}:where(html:not(.phone-layout)) #exam-screen.exam-paper-open .exam-paper-actions{grid-area:actions!important}:where(html:not(.phone-layout)) #exam-screen .exam-answer-button,:where(html:not(.phone-layout)) #exam-screen .exam-paper-actions button{width:100%!important;min-width:0;height:var(--exam-choice-height)!important;min-height:0!important;max-height:none!important;padding:.5em .8em!important;font-size:clamp(17px,1.65vmin,40px)!important;line-height:1.2!important;text-align:left!important;white-space:normal;overflow-wrap:anywhere}:where(html:not(.phone-layout)) #exam-screen.exam-paper-open .exam-action-status{grid-area:status!important;position:static!important;width:100%;max-width:100%!important;min-height:0;font-size:clamp(12px,1.3vmin,32px);margin:0}@media(min-width:1600px)and (min-height:900px){:where(html:not(.phone-layout)) #character-screen .character-full-sprite{height:116vh!important;bottom:auto!important}:where(html:not(.phone-layout)) #character-screen .male-panel .character-full-sprite{top:-14.6vh!important}:where(html:not(.phone-layout)) #character-screen .female-panel .character-full-sprite{top:-6.4vh!important}:where(html:not(.phone-layout)) #corridor-screen .corridor-character-sprite,:where(html:not(.phone-layout)) #corridor-screen .corridor-friend-sprite,:where(html:not(.phone-layout)) #teacher-intro-screen .teacher-scene-sprite,:where(html:not(.phone-layout)) #teacher-intro-screen .teacher-hero-sprite,:where(html:not(.phone-layout)) #exam-screen .exam-teacher-sprite,:where(html:not(.phone-layout)) #exam-screen .exam-hero-sprite{height:78vh!important;max-height:1680px!important;width:auto;bottom:0!important;object-fit:contain;object-position:center bottom}}:is(#app,#excellent-ending) .corridor-dialogue-controls .corridor-exit{position:static!important}#final-result-screen .final-result-book{width:min(94vw,calc((100dvh - 100px)*1.77577))!important;max-height:none!important;aspect-ratio:1671/941;flex:none!important;margin-bottom:54px;transform:none!important}#final-result-screen .final-result-portrait{left:10.5%!important;top:31.5%!important;width:13.8%!important;height:37%!important}#final-result-screen [data-field=surname],#final-result-screen [data-field=given-name],#final-result-screen [data-field=group]{left:28.2%!important;width:18%!important}#final-result-screen [data-field=correct]{left:70.8%!important}#final-result-screen [data-field=total]{left:75.7%!important}#final-result-screen [data-field=archetype]{left:72.4%!important;top:58.6%!important;width:17.6%!important;height:7%!important;white-space:normal!important;overflow-wrap:anywhere;font-size:1.65cqw!important;line-height:1.05!important}#final-result-screen [data-field=duration]{left:71.3%!important;width:10%!important}#final-result-screen [data-field=date]{left:61.5%!important;width:27.2%!important}.character-cheat-toggle,.character-cheat-panel{display:none}:root:where(.phone-layout){--phone-left:max(12px,env(safe-area-inset-left));--phone-right:max(12px,env(safe-area-inset-right));--phone-bottom:max(6px,env(safe-area-inset-bottom));--document-arrows:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8efff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 9 5-5 5 5M7 15l5 5 5-5'/%3E%3C/svg%3E")}html:where(.phone-layout),:where(html.phone-layout) body,:where(html.phone-layout) #app{height:100dvh;-webkit-text-size-adjust:100%;text-size-adjust:100%}:where(html.phone-layout) .game-root{height:100dvh}:where(html.phone-layout) #app .game-stage{width:100%;height:100%}:where(html.phone-layout) button,:where(html.phone-layout) a,:where(html.phone-layout) input{touch-action:manipulation;-webkit-tap-highlight-color:transparent}:where(html.phone-layout) #player-form input{font-size:16px}:where(html.phone-layout) #app button:hover{transform:none}:where(html.phone-layout) #start-screen .menu-achievements-button{left:max(6%,var(--phone-left));width:min(280px,36%);padding:6px 14px}:where(html.phone-layout) #character-screen .selection-heading{top:6px;left:var(--phone-left);width:24%;transform:none}:where(html.phone-layout) #character-screen .selection-heading span{font-size:clamp(17px,2.9vw,27px)}:where(html.phone-layout) #character-screen .selector-panel{top:18%!important;bottom:calc(56px + var(--phone-bottom))!important;width:calc((100% - var(--phone-left) - var(--phone-right) - 80px)/2)!important;height:calc(82% - 56px - var(--phone-bottom))!important;aspect-ratio:auto!important;transform:none!important}:where(html.phone-layout) #character-screen .male-panel{left:var(--phone-left)!important;right:auto!important}:where(html.phone-layout) #character-screen .female-panel{right:var(--phone-right)!important;left:auto!important}:where(html.phone-layout) #character-screen .panel-art{width:100%;height:100%;object-fit:fill}:where(html.phone-layout) #character-screen .character-full-sprite{left:calc(76.4% + 1px)!important;right:auto!important;top:calc(24px - 18dvh)!important;bottom:auto!important;height:118dvh!important;max-height:none!important;max-width:none!important;transform:translate(-50%)!important}:where(html.phone-layout) #character-screen .female-panel .character-full-sprite{left:24%!important}:where(html.phone-layout) #character-screen .slot-hitboxes{top:auto!important;bottom:5px!important;left:6%!important;right:auto!important;width:88%!important;height:54px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:54px;gap:4px!important;transform:none!important;overflow:visible;scrollbar-width:none;overscroll-behavior-x:contain}:where(html.phone-layout) #character-screen .portrait-slot{flex:0 0 calc((100% - 16px)/5);width:auto!important;min-width:0;height:100%!important;padding:1px}:where(html.phone-layout) #character-screen .portrait-slot:not([data-secret]){grid-row:1}:where(html.phone-layout) #character-screen .male-panel .slot-hitboxes:has([data-secret]:not(.is-hidden)){height:112px!important;bottom:-53px!important;grid-template-rows:repeat(2,54px)}:where(html.phone-layout) #character-screen .male-panel .portrait-slot[data-secret]{position:relative!important;inset:auto!important;width:auto!important;height:54px!important;transform:none!important;grid-row:2}:where(html.phone-layout) #character-screen .secret-portrait-slot{grid-column:3}:where(html.phone-layout) #character-screen .devil-portrait-slot{grid-column:2}:where(html.phone-layout) #character-screen .arrow-hit{top:auto!important;bottom:10px!important;height:44px!important;width:28px!important;z-index:8}:where(html.phone-layout) #character-screen .arrow-left{left:-10px!important}:where(html.phone-layout) #character-screen .arrow-right{right:-10px!important;left:auto!important}:where(html.phone-layout) #character-screen .character-continue{right:var(--phone-right);bottom:var(--phone-bottom);width:auto;min-width:170px;min-height:36px;padding:6px 22px;font-size:13px}:where(html.phone-layout) #character-loading{top:6px;bottom:auto;left:auto;right:calc(var(--phone-right) + 46px);transform:none;width:44%;padding:6px 10px}:where(html.phone-layout) #character-loading .character-loading-books{display:none}:where(html.phone-layout) #character-loading p{margin:0 0 4px;font-size:11px;line-height:1.2}:where(html.phone-layout) #character-cheat-toggle{display:grid;place-items:center;position:absolute;top:8px;right:var(--phone-right);z-index:90;width:40px;height:40px;padding:0;border:1px solid #a6dfff;border-radius:50%;color:#fff;background:#0b2546ed;box-shadow:0 2px 12px #0008;font:800 21px/1 Segoe UI,sans-serif}:where(html.phone-layout) #character-cheat-panel{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:8px var(--phone-right) 8px var(--phone-left);background:#020914bb}:where(html.phone-layout) #character-cheat-panel[hidden]{display:none}:where(html.phone-layout) .character-cheat-form{width:min(340px,100%);max-height:100%;overflow:auto;padding:12px 16px;border:1px solid #83baff;border-radius:10px;color:#eaf6ff;background:#081b34;box-shadow:0 12px 40px #0009;font:13px/1.3 Segoe UI,sans-serif}:where(html.phone-layout) .character-cheat-form header{display:flex;justify-content:space-between;align-items:center;gap:12px}:where(html.phone-layout) .character-cheat-form h2{margin:0;font-size:18px}:where(html.phone-layout) #character-cheat-close{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#203d60;color:#fff;font-size:23px}:where(html.phone-layout) .character-cheat-form label{display:block;margin:5px 0}:where(html.phone-layout) #character-cheat-input{width:100%;min-height:38px;padding:6px 9px;border:1px solid #83baff;border-radius:4px;color:#102649;background:#f4f8ff;font:16px Segoe UI,sans-serif}:where(html.phone-layout) .character-cheat-submit{width:100%;min-height:34px;margin-top:8px;border:1px solid #8cccff;border-radius:4px;background:#144f92;color:#fff;font-weight:800}:where(html.phone-layout) #character-cheat-status{min-height:0;margin:6px 0 0;color:#cdeaff;font-size:12px}:where(html.phone-layout) #character-cheat-status:empty{display:none}:where(html.phone-layout) #skills-screen .skills-header{top:7px;left:var(--phone-left);right:var(--phone-right);width:auto;display:grid;grid-template-columns:1fr auto;gap:3px 12px;text-align:left}:where(html.phone-layout) #skills-screen .skills-header h1{justify-self:start;font-size:18px;transform:none}:where(html.phone-layout) #skills-screen .skills-header p{grid-column:1;margin:0;font-size:12px}:where(html.phone-layout) #skills-screen .points-counter{grid-column:2;grid-row:1/3;font-size:12px;padding:5px 10px}:where(html.phone-layout) #skills-screen .skills-layout{top:64px;bottom:calc(48px + var(--phone-bottom));left:var(--phone-left);right:var(--phone-right);gap:12px;grid-template-columns:minmax(0,1fr) minmax(180px,25%);grid-template-rows:auto;align-items:start;overflow-y:auto;overflow-x:hidden;padding:4px;scroll-padding:8px;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}:where(html.phone-layout) #skills-screen .skills-board{padding:8px;min-height:0}:where(html.phone-layout) #skills-screen .skills-board-title{display:none}:where(html.phone-layout) #skills-screen .skills-grid{height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,minmax(92px,auto));gap:10px}:where(html.phone-layout) #skills-screen .skill-card{min-height:92px;grid-template-columns:28px minmax(0,1fr) 102px;gap:6px;padding:8px;clip-path:none;border-radius:6px}:where(html.phone-layout) #skills-screen .skill-icon-wrap{width:24px}:where(html.phone-layout) #skills-screen .skill-icon span{font-size:23px}:where(html.phone-layout) #skills-screen .skill-copy h2{margin:0 0 6px;font-size:16px;line-height:1.15;overflow-wrap:anywhere}:where(html.phone-layout) #skills-screen .skill-copy p{font-size:14px;line-height:1.3;margin:0;overflow-wrap:anywhere}:where(html.phone-layout) #skills-screen .skill-control{gap:6px}:where(html.phone-layout) #skills-screen .skill-meter i{height:5px}:where(html.phone-layout) #skills-screen .skill-actions{display:grid;grid-template-columns:40px 16px 40px;gap:3px;align-items:center}:where(html.phone-layout) #skills-screen .skill-actions button{width:40px;height:44px;clip-path:none;border-radius:5px;font-size:23px;transform:none}:where(html.phone-layout) #skills-screen .skill-actions strong{font-size:15px}:where(html.phone-layout) #skills-screen .archetype-panel{padding:12px;overflow:visible}:where(html.phone-layout) #skills-screen .archetype-ribbon{width:100%;font-size:11px;padding:5px 1px;transform:none}:where(html.phone-layout) #skills-screen .archetype-emblem{width:38px;margin:10px auto;font-size:23px;border-width:2px}:where(html.phone-layout) #skills-screen .archetype-panel h2{font-size:18px;margin-bottom:8px}:where(html.phone-layout) #skills-screen .archetype-panel p{font-size:14px;line-height:1.35;margin-bottom:8px;flex-shrink:0}:where(html.phone-layout) #skills-screen .archetype-bonus,:where(html.phone-layout) #skills-screen .skill-status{font-size:12px}:where(html.phone-layout) #skills-screen .archetype-panel>small{font-size:11px}:where(html.phone-layout) #skills-screen .skills-back,:where(html.phone-layout) #skills-screen .skills-continue{bottom:var(--phone-bottom);min-height:38px;padding:6px 20px;font-size:13px}:where(html.phone-layout) #skills-screen .skills-back{left:var(--phone-left)}:where(html.phone-layout) #skills-screen .skills-continue{right:var(--phone-right)}:where(html.phone-layout) #skills-screen .skills-warning{bottom:10px;font-size:10px;left:25%;right:25%}:where(html.phone-layout) #ticket-screen .ticket-heading{top:6px;left:var(--phone-left);right:var(--phone-right);width:auto}:where(html.phone-layout) #ticket-screen .ticket-heading h1{flex-direction:row;gap:.4em;width:max-content;max-width:100%;padding:.25em .65em;font-size:16px;transform:none;clip-path:none;border-radius:3px}:where(html.phone-layout) #ticket-screen .ticket-heading p{display:none}:where(html.phone-layout) #ticket-screen .ticket-viewport{position:absolute;inset:38px var(--phone-right) calc(48px + var(--phone-bottom)) var(--phone-left);overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;padding:4px}:where(html.phone-layout) #ticket-screen .ticket-wrap,:where(html.phone-layout) #ticket-screen .ticket-wrap:hover,:where(html.phone-layout) #ticket-screen .ticket-wrap:focus-within{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto;max-height:none;transform:none!important;transition:none!important;will-change:auto;container-type:inline-size;margin:0 auto}:where(html.phone-layout) #ticket-screen .ticket-field-value{font-size:clamp(12px,1.8cqw,18px)!important}:where(html.phone-layout) #ticket-screen .ticket-archetype-name{font-size:clamp(12px,1.9cqw,18px)!important}:where(html.phone-layout) #ticket-screen .ticket-archetype-description{left:57.5%;top:48%;width:25%;height:23.5%;padding:1% 1.2%;font-size:clamp(12px,1.75cqw,17px)!important;line-height:1.25;display:block;overflow:auto}:where(html.phone-layout) #ticket-screen .ticket-back,:where(html.phone-layout) #ticket-screen .ticket-start{bottom:var(--phone-bottom);min-height:38px;padding:6px 18px;font-size:13px}:where(html.phone-layout) #ticket-screen .ticket-back{left:var(--phone-left)}:where(html.phone-layout) #ticket-screen .ticket-start{right:var(--phone-right)}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-dialogue-layout{position:absolute!important;left:max(4vw,var(--phone-left))!important;right:max(4vw,var(--phone-right))!important;bottom:var(--phone-bottom)!important;width:auto!important;height:clamp(78px,calc(25dvh - var(--phone-bottom)),104px)!important;min-height:0!important;max-height:none!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr)!important;display:grid!important;padding:0!important;margin:0!important;transform:none!important;background-size:100% 128%!important;background-position:center!important}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-dialogue-left{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(18px,auto) minmax(0,1fr);grid-template-areas:"speaker controls" "text text";gap:4px 12px;width:100%!important;height:100%;min-height:0;padding:9px 18px!important}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-player-name{grid-area:speaker!important;position:static!important;flex:none;width:max-content!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:18px!important;transform:none!important;padding:3px 12px!important;margin:0!important;font-size:11px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere;clip-path:none}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-dialogue-text{grid-area:text!important;position:static!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important;min-height:0;flex:1;font-size:12px!important;line-height:1.3!important;transform:none!important;overflow:auto;text-align:left!important;margin:0!important}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-dialogue-controls{grid-area:controls!important;position:static!important;display:flex!important;align-items:center;justify-content:space-between;flex:none;width:auto!important;height:24px;gap:10px;min-height:0;margin:0!important}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-progress{font-size:9px}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-next,:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-exit{min-height:26px;font-size:10px;padding:4px 12px}:where(html.phone-layout) #corridor-screen .corridor-dialogue-layout:has(#corridor-choices:not(.is-hidden)){height:128px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}:where(html.phone-layout) #corridor-screen #corridor-choices{padding:10px 22px 10px 0!important;gap:4px!important}:where(html.phone-layout) #corridor-screen #corridor-choices p{display:none}:where(html.phone-layout) #corridor-screen #corridor-choices button{min-height:32px!important;max-height:none!important;padding:5px 9px!important;font-size:11px!important;line-height:1.15!important;transform:none!important}:where(html.phone-layout) #corridor-screen #corridor-exit{right:calc(var(--phone-right) + 22px);bottom:calc(var(--phone-bottom) + 12px)}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-topline,:where(html.phone-layout) #app .classroom-topline{top:8px;left:var(--phone-left);right:var(--phone-right);font-size:9px}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-character-sprite,:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-friend-sprite,:where(html.phone-layout) #teacher-intro-screen .teacher-scene-sprite,:where(html.phone-layout) #teacher-intro-screen .teacher-hero-sprite,:where(html.phone-layout) #exam-screen .exam-teacher-sprite,:where(html.phone-layout) #exam-screen .exam-hero-sprite{height:100%!important;max-height:none!important;width:auto!important;max-width:43%!important;bottom:-12px!important;transform:none!important;opacity:1;object-fit:contain;object-position:center bottom}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-character-sprite,:where(html.phone-layout) #teacher-intro-screen .teacher-scene-sprite,:where(html.phone-layout) #exam-screen .exam-teacher-sprite{left:8%!important;right:auto!important}:where(html.phone-layout) :is(#app,#excellent-ending) .corridor-friend-sprite,:where(html.phone-layout) #teacher-intro-screen .teacher-hero-sprite,:where(html.phone-layout) #exam-screen .exam-hero-sprite{right:8%!important;left:auto!important;transform:scaleX(-1)!important}:where(html.phone-layout) #teacher-intro-screen .teacher-dialogue-layout:has(#teacher-choices:not(.is-hidden)){height:108px!important}:where(html.phone-layout) #teacher-intro-screen .teacher-dialogue-left{display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:minmax(18px,auto) minmax(0,1fr)!important;grid-template-areas:"speaker controls" "text text";gap:4px}:where(html.phone-layout) #teacher-intro-screen .teacher-dialogue-left:has(#teacher-choices:not(.is-hidden)){grid-template-rows:minmax(18px,auto) minmax(0,1fr) auto!important;grid-template-areas:"speaker controls" "text text" "choices choices"}:where(html.phone-layout) #teacher-intro-screen #teacher-speaker{grid-area:speaker!important}:where(html.phone-layout) #teacher-intro-screen #teacher-dialogue-text{grid-area:text!important}:where(html.phone-layout) #teacher-intro-screen .teacher-dialogue-controls{grid-area:controls!important;margin:0!important;height:24px}:where(html.phone-layout) #teacher-intro-screen #teacher-choices{grid-area:choices!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0}:where(html.phone-layout) #teacher-intro-screen #teacher-choices.is-hidden{display:none!important}:where(html.phone-layout) #teacher-intro-screen #teacher-choices button{min-height:34px!important;padding:5px 8px!important;font-size:11px!important;line-height:1.15!important}:where(html.phone-layout) #exam-screen{touch-action:manipulation}:where(html.phone-layout) #exam-screen:not(.exam-paper-open) .exam-dialogue-controls{grid-area:controls!important}:where(html.phone-layout) #exam-screen.exam-paper-open .exam-dialogue-layout{height:min(316px,calc(100dvh - 24px))!important}:where(html.phone-layout) #exam-screen.exam-paper-open .exam-dialogue-left{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:20px minmax(38px,1fr) auto auto 20px!important;grid-template-areas:"speaker speaker" "question question" "actions answers" "status status" "controls controls";gap:5px 12px}:where(html.phone-layout) #exam-screen.exam-paper-open #exam-speaker{grid-area:speaker!important}:where(html.phone-layout) #exam-screen.exam-paper-open #exam-dialogue-text{grid-area:question!important;font-size:16px!important;font-weight:600;line-height:1.3!important}:where(html.phone-layout) #exam-screen.exam-paper-open .exam-answer-list,:where(html.phone-layout) #exam-screen.exam-paper-open .exam-paper-actions{position:static!important;inset:auto!important;width:100%!important;transform:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(3,42px);gap:6px!important;margin:0;padding:0;align-self:start}:where(html.phone-layout) #exam-screen.exam-paper-open .exam-answer-list{grid-area:answers!important}:where(html.phone-layout) #exam-screen.exam-paper-open .exam-paper-actions{grid-area:actions!important}:where(html.phone-layout) #exam-screen .exam-answer-button,:where(html.phone-layout) #exam-screen .exam-paper-actions button{width:100%!important;min-width:0;height:42px!important;min-height:0!important;max-height:none!important;padding:5px 9px!important;font-size:14px!important;line-height:1.2!important;text-align:left!important;white-space:normal;overflow-wrap:anywhere;transform:none}:where(html.phone-layout) #exam-screen.exam-paper-open .exam-action-status{grid-area:status;position:static!important;width:100%;max-width:100%;min-height:0;margin:0;font-size:11px}:where(html.phone-layout) #exam-screen.exam-paper-open .exam-dialogue-controls{grid-area:controls!important;margin:0!important;height:20px}:where(html.phone-layout) #app .classroom-gallery-background{top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center 45%;animation:none!important;transform:none!important}:where(html.phone-layout) #cameo-overlay .cameo-scene-frame,:where(html.phone-layout) #excellent-ending .excellent-ending-scene{top:0;right:0;bottom:0;left:0}:where(html.phone-layout) #cameo-overlay .cameo-scene-image,:where(html.phone-layout) #excellent-ending .excellent-ending-image{object-fit:cover;transform:none!important;animation:none!important}:where(html.phone-layout) #cameo-overlay .cameo-scene-image{object-position:center 16%}:where(html.phone-layout) #cameo-overlay .is-teacher-shot .cameo-scene-image,:where(html.phone-layout) #excellent-ending .excellent-ending-image{object-position:center 30%}:where(html.phone-layout) #excellent-ending .excellent-ending-period{top:8px;left:var(--phone-left);font-size:12px}:where(html.phone-layout) #now-playing-card{left:50%;right:auto;transform:translate(-50%,-120%)}:where(html.phone-layout) #now-playing-card.is-visible{transform:translate(-50%)}:where(html.phone-layout) .now-playing-card{top:8px;right:var(--phone-right);width:min(232px,32vw);height:56px;min-height:0;padding:6px;gap:6px;display:grid;grid-template-columns:36px minmax(0,1fr) 24px;align-items:center}:where(html.phone-layout) .now-playing-card .np-cover{width:36px;min-width:0;height:36px}:where(html.phone-layout) .now-playing-card .np-info{min-width:0;gap:2px;overflow:hidden}:where(html.phone-layout) .now-playing-card .np-kicker,:where(html.phone-layout) .now-playing-card .np-powered,:where(html.phone-layout) .now-playing-card .np-external,:where(html.phone-layout) .now-playing-card .np-spotify-dot{display:none}:where(html.phone-layout) .now-playing-card .np-title{font-size:10.5px}:where(html.phone-layout) .now-playing-card .np-artist{font-size:9px}:where(html.phone-layout) .now-playing-card .np-links{flex-wrap:nowrap;gap:6px;white-space:nowrap}:where(html.phone-layout) .now-playing-card .np-spotify{margin:0;font-size:7px}:where(html.phone-layout) .now-playing-card .np-spotify strong{font-size:8px}:where(html.phone-layout) .now-playing-card .np-yandex{font-size:7px}:where(html.phone-layout) .now-playing-card .np-close{position:static;align-self:start;width:24px;height:24px;font-size:16px}:where(html.phone-layout) #achievement-unlock-toast{top:auto!important;left:var(--phone-left)!important;bottom:calc(max(132px,25dvh) + var(--phone-bottom) + 8px)!important;width:min(220px,32vw)!important;height:48px!important;min-height:0!important;max-height:48px!important;padding:6px 8px!important;gap:7px!important;z-index:99991!important}:where(html.phone-layout) body:has(#exam-screen.exam-paper-open:not(.is-hidden)) #achievement-unlock-toast{top:6px!important;bottom:auto!important}:where(html.phone-layout) #achievement-unlock-toast .achievement-toast-icon{flex:0 0 30px!important;width:30px!important;height:30px!important}:where(html.phone-layout) #achievement-unlock-toast .achievement-toast-copy{flex:1;gap:3px!important;overflow:hidden}:where(html.phone-layout) #achievement-unlock-toast .achievement-toast-kicker{display:none}:where(html.phone-layout) #achievement-unlock-toast .achievement-toast-title{font-size:11px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:where(html.phone-layout) #achievement-unlock-toast .achievement-toast-description{font-size:9px!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:where(html.phone-layout) #final-result-screen{display:block!important;overflow-y:auto!important;scroll-padding:8px 0 calc(54px + var(--phone-bottom));padding:6px var(--phone-right) calc(54px + var(--phone-bottom)) var(--phone-left);overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch}:where(html.phone-layout) #final-result-screen .final-result-book{width:min(100%,760px)!important;max-height:none!important;flex:none!important;margin:0 auto!important;transform:none!important}:where(html.phone-layout) #final-result-screen .final-result-portrait{left:10.5%!important;top:31.5%!important;height:37%!important;object-fit:cover!important;object-position:center 20%}:where(html.phone-layout) #final-result-screen [data-field=surname],:where(html.phone-layout) #final-result-screen [data-field=given-name],:where(html.phone-layout) #final-result-screen [data-field=group]{left:28.2%!important;width:18%!important}:where(html.phone-layout) #final-result-screen [data-field=correct]{left:70.8%!important}:where(html.phone-layout) #final-result-screen [data-field=total]{left:75.7%!important}:where(html.phone-layout) #final-result-screen [data-field=archetype]{left:71.8%!important;top:58%!important;width:19.8%!important;height:8.2%!important;white-space:normal!important;overflow-wrap:anywhere;font-size:clamp(11px,1.65cqw,14px)!important;line-height:1.05!important}:where(html.phone-layout) #final-result-screen [data-field=duration]{left:71.3%!important;width:10%!important}:where(html.phone-layout) #final-result-screen [data-field=date]{left:61.5%!important;width:27.2%!important}:where(html.phone-layout) #final-result-screen>img{position:fixed!important;transform:none!important;animation:none!important;object-fit:cover!important}:where(html.phone-layout) #final-result-actions{bottom:var(--phone-bottom)!important;width:calc(100% - var(--phone-left) - var(--phone-right))!important;gap:6px!important;flex-wrap:nowrap!important}:where(html.phone-layout) #final-result-actions button{min-height:34px!important;padding:7px 10px!important;font-size:10px!important}:where(html.phone-layout) #achievements-page-overlay{padding:8px var(--phone-right) max(8px,var(--phone-bottom)) var(--phone-left)}:where(html.phone-layout) #achievements-page-overlay .achievements-book{width:100%;height:100%;padding:10px;gap:8px}:where(html.phone-layout) #achievements-page-overlay .achievement-heading{font-size:16px}:where(html.phone-layout) #achievements-page-overlay .achievements-list{gap:7px}:where(html.phone-layout) #achievements-page-overlay .achievement-item{grid-template-columns:40px minmax(0,1fr);gap:8px;min-height:65px;padding:7px}:where(html.phone-layout) #achievements-page-overlay .achievement-item-icon{width:40px;height:40px}:where(html.phone-layout) #achievements-page-overlay .achievement-item-title{font-size:12px}:where(html.phone-layout) #achievements-page-overlay .achievement-item-description{font-size:11px}:where(html.phone-layout) #achievements-page-overlay .achievement-back{min-height:32px;padding:6px 24px;font-size:11px}:where(html.phone-layout) #achievements-page-overlay .achievement-count{font-size:11px}:where(html.phone-layout) .orientation-overlay{display:none}@media(orientation:portrait){:where(html.phone-layout) #orientation-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;position:fixed;top:0;right:0;bottom:0;left:0;padding:30px;z-index:2147483647;background:#020918f7;border:0;border-radius:0;font:700 22px/1.5 Segoe UI,sans-serif;text-align:center}:where(html.phone-layout) #orientation-overlay:before{content:"";display:block;width:48px;height:86px;border:3px solid #9cd8ff;border-radius:10px;box-shadow:inset 0 -10px #1b5482;animation:phone-turn 2.8s ease-in-out infinite}:where(html.phone-layout) #orientation-overlay:after{content:"Игра рассчитана на горизонтальное положение.";max-width:290px;font:400 15px/1.5 Segoe UI,sans-serif;color:#b4c7df}}@keyframes phone-turn{0%,20%{transform:rotate(0)}55%,85%{transform:rotate(90deg)}to{transform:rotate(0)}}@media(prefers-reduced-motion:reduce){:where(html.phone-layout) #orientation-overlay:before{animation:none;transform:rotate(90deg)}}:where(html.phone-layout) #skills-screen .skills-header p:after{content:" · Листай вниз ↕";color:#8bd8ff;white-space:nowrap}:where(html.phone-layout) #skills-screen .skills-layout{scrollbar-width:thin;scrollbar-color:#47b8ff #081a35}:where(html.phone-layout) #ticket-screen .ticket-heading:after{content:"Прокрутите билет";display:inline-block;margin-top:3px;padding-right:22px;background:var(--document-arrows) right center/16px 16px no-repeat;color:#d8efff;font:11px/1.2 Segoe UI,sans-serif}:where(html.phone-layout) #final-result-screen:before{content:"Зачётку можно прокрутить";position:fixed;top:6px;right:var(--phone-right);z-index:3;padding:4px 30px 4px 8px;border-radius:4px;color:#fff;background:var(--document-arrows) right 8px center/16px 16px no-repeat,#071832d9;font:11px/1.2 Segoe UI,sans-serif;pointer-events:none}@font-face{font-family:Farewell Hand;src:url(/posledniy-zachet/fonts/CampusFarewell-Regular.woff2) format("woff2");font-display:swap}.farewell-scene{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000;box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;gap:8px;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));background:#000;color:#f4eadc;touch-action:manipulation}.farewell-writing{position:relative;width:100%;height:100%;min-height:0;max-width:1300px;overflow:visible;font-family:Farewell Hand,cursive}.farewell-paper{position:absolute;left:50%;top:50%;width:1200px;height:530px;transform:translate(-50%,-50%) scale(var(--farewell-scale,0));transform-origin:center}.farewell-line{position:absolute;height:100px;line-height:1.25}.farewell-ink{width:0;height:100%;overflow:hidden}.farewell-text{display:block;width:max-content;padding:0 5px;white-space:nowrap}.farewell-greeting{color:#f6c4d6}.farewell-signature{color:#d6dcec}.farewell-pen{position:absolute;width:5.6px;height:5.6px;border-radius:50%;background:#f6e3c8;box-shadow:0 0 3px #e8d3ab;transform:translate(-50%,-50%);opacity:0}.farewell-heart-frame{position:absolute;left:1050px;top:425px;width:80px;height:70px;overflow:visible}.farewell-heart{fill:none;stroke:#f6a8c0;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}.farewell-continue{border:1px solid #a39887;border-radius:999px;padding:9px 38px;min-height:44px;color:#f4eadc;background:#11100f;font:400 clamp(22px,2.1vw,32px)/1.2 "Farewell Hand",cursive;opacity:0;visibility:hidden;transform:translateY(8px);cursor:pointer;transition:opacity .5s ease,transform .5s ease,background .2s ease}.farewell-scene.is-written .farewell-continue{opacity:1;visibility:visible;transform:none}.farewell-continue:hover{background:#29231c}.farewell-continue:focus-visible{outline:2px solid #f6c4d6;outline-offset:5px}.farewell-continue:disabled{cursor:wait}@media(prefers-reduced-motion:reduce){.farewell-continue{transition:none}}:where(html.phone-layout) .farewell-scene{padding:max(8px,env(safe-area-inset-top)) var(--phone-right) max(8px,var(--phone-bottom)) var(--phone-left);gap:2px}:where(html.phone-layout) .farewell-continue{min-height:36px;padding:5px 30px;font-size:23px}
