@font-face{font-family:Krillion Pixel;src:url(/krillion/krillion-pixel.woff2)format("woff2");font-display:swap}@font-face{font-family:Krillion VT;src:url(/krillion/vt323.ttf)format("truetype");font-display:swap}.krillion-home{--shore:#edf7fa;--shore-deep:#dceef4;--ink:#092238;--accent:#007f9c;--on-accent:#f4fcfe;--masthead-height:70px;--dive-height:min(920px, calc(100dvh - var(--masthead-height)));min-height:100dvh;color:var(--ink);background:linear-gradient(var(--shore), var(--shore-deep))}@media (prefers-color-scheme:dark){.krillion-home{--shore:#06111e;--shore-deep:#071827;--ink:#e7f5f8;--accent:#38b8d1;--on-accent:#031119}}.krillion-masthead{border-bottom:1px solid color-mix(in srgb, var(--ink) 16%, transparent)}.krillion-masthead nav,.krillion-home>.dive{width:min(1180px,100% - 40px);margin-inline:auto}.krillion-masthead nav{height:calc(var(--masthead-height) - 1px);justify-content:space-between;align-items:center;font:700 14px/1.2 Avenir Next,Segoe UI,sans-serif;display:flex}.krillion-brand{letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:10px;display:flex}.krillion-open{background:var(--accent);color:var(--on-accent);border-radius:999px;padding:13px 20px}.krillion-masthead a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.krillion-home>.dive{border:1px solid color-mix(in srgb, var(--accent) 55%, transparent);border-radius:16px;box-shadow:0 20px 60px #07283e29}.krillion-home>.dive .dive-shell{min-height:calc(var(--dive-height) - 2px)}.dive{--foam:#e8f1ff;--dim:#a0b6cd;--cyan:#4de3ff;--pink:#ff5d8f;--gold:#ffd166;isolation:isolate;min-height:var(--dive-height,100dvh);color:var(--foam);-webkit-font-smoothing:auto;background:#081628;font-family:Krillion VT,monospace;font-size:20px;position:relative;overflow:hidden}.dive ::selection{background:var(--cyan);color:#081628}.dive:before{--clear-water:calc(54% - 31% * var(--dive-pressure,0));content:"";z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 43%, transparent var(--clear-water), #02050e99 calc(var(--clear-water) + 30%), #02040af7 100%);opacity:0;transition:opacity .2s;position:absolute;inset:0;box-shadow:inset 0 0 clamp(54px,11vmin,90px) clamp(8px,2vmin,18px) #ff5d8fb8}.dive[data-pressure=warning]:before{--edge-opacity:calc(.75 + .25 * var(--dive-pressure));opacity:var(--edge-opacity)}.dive[data-pressure=miss]:before{opacity:.65}@media (prefers-reduced-motion:no-preference){.dive[data-pressure=warning]:before{animation:1.25s ease-in-out 4 dive-pressure-breath}@keyframes dive-pressure-breath{0%,to{opacity:calc(.8 * var(--edge-opacity))}50%{opacity:var(--edge-opacity)}}}.dive:after{content:"";z-index:2;pointer-events:none;background:repeating-linear-gradient(0deg,#010c181f 0 1px,#0000 1px 3px);position:absolute;inset:0}.dive-mascot{width:58px;image-rendering:pixelated;pointer-events:none;filter:drop-shadow(0 0 8px #ff4f8d61);animation:2.6s ease-in-out infinite alternate dive-swim;position:absolute;top:72%;right:25%}.dive[data-phase=answering] .dive-mascot{top:73%;left:3%;right:auto}.dive[data-submerged] .dive-mascot{top:24%;left:14%;right:auto}.dive--complete .dive-mascot{display:none}@keyframes dive-swim{0%{transform:translateY(-4px)rotate(-3deg)}to{transform:translateY(5px)rotate(3deg)}}.dive-shell{width:min(720px,100% - 32px);min-height:var(--dive-height,100dvh);padding:0 0 max(20px, env(safe-area-inset-bottom));margin:auto;position:relative}.dive[data-phase=intro] .dive-shell{flex-direction:column;justify-content:space-between;gap:clamp(68px,16vh,140px);padding-top:clamp(48px,17dvh,155px);display:flex}.dive-heading{text-align:center}.dive-heading h1{color:#d7f1f3;letter-spacing:.1em;text-shadow:-3px 1px #ff4f8d,3px -1px #40d7e7;flex-direction:column;align-items:center;gap:.12em;margin:0;font:400 clamp(48px,8vw,104px)/1 Krillion Pixel,monospace;display:flex;transform:scaleY(1.25)}.wordmark{text-transform:uppercase}.wordmark-tag,.wordmark-word{text-align:center;display:block}.wordmark-tag{letter-spacing:.22em;margin-right:-.22em;font-size:.34em}.dive-heading p{color:#155369;letter-spacing:.34em;margin:24px 0 12px;font-size:clamp(22px,3vw,30px)}.dive-heading div{color:#28485e;letter-spacing:.05em;text-wrap:balance;font-size:clamp(17px,2vw,21px)}.dive-intro,.dive-state{background:linear-gradient(#0000,#030c19eb 35%);width:min(606px,100%);margin:0 auto;padding:12px 7px 0}.dive-intro-meta{color:var(--dim);letter-spacing:.1em;justify-content:space-between;gap:8px;margin-top:12px;font-size:15px;display:flex}.dive button{border:2px solid var(--cyan);min-height:48px;color:var(--foam);font:inherit;letter-spacing:.1em;cursor:pointer;background:#101d33;padding:8px 22px;font-size:22px;transition:background .15s,border-color .15s}.dive button:hover:not(:disabled){background:#173650;border-color:#a1f3ff}.dive button:disabled{opacity:.55;cursor:wait}.dive button:focus-visible,.dive input:focus-visible,.dive summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.dive .dive-primary{letter-spacing:.17em;width:100%;min-height:64px;box-shadow:0 0 0 3px #050a14, 0 0 0 6px var(--cyan), 0 5px 0 6px #123048;background:#101d33;border:0;font-size:clamp(22px,3vw,28px)}.dive-howto{color:var(--foam);margin-bottom:12px;font-size:18px}.dive-howto summary{color:#e3f5ff;cursor:pointer;letter-spacing:.1em;background:#051120d6;width:fit-content;padding:4px 8px}.dive-howto ul{background:#0c2033;margin:3px 0 8px;padding:8px 12px 8px 28px;line-height:1.35;list-style:outside}.dive-state{text-align:center;background:#051120eb;padding:18px 12px 14px;font-size:21px}.dive-state h2{color:var(--foam);font-size:30px}.dive-state p{margin:10px 0 15px}.dive--playing .dive-shell{padding-top:14px}.dive--playing:not(.dive--complete) .dive-heading{display:none}.dive--complete .dive-heading h1{color:var(--foam);flex-direction:row;align-items:baseline;gap:.35em;font-size:28px}.dive--complete .wordmark-tag,.dive--complete .wordmark-word{display:inline}.dive--complete .wordmark-tag{font-size:.6em}.dive--complete .dive-heading p,.dive--complete .dive-heading div{display:none}.dive--playing:not(.dive--complete) .dive-shell{padding-bottom:max(18px, env(safe-area-inset-bottom));flex-direction:column;display:flex}.dive-hud{text-align:center;grid-template-columns:96px minmax(0,1fr) 96px;align-items:start;gap:12px;width:100%;margin:0 auto;padding:0 8px;display:grid}.dive-hud>div:not(.dive-progress){background:linear-gradient(#101d33eb,#0b1526eb);min-height:58px;padding:7px 4px;box-shadow:0 0 0 2px #060d1a,0 0 0 4px #1b3050,inset 0 2px #e8f1ff0f}.dive-hud small{color:var(--dim);letter-spacing:.14em;font-size:14px;display:block}.dive-hud strong{color:var(--cyan);text-shadow:0 0 12px #4de3ff8c;margin-top:3px;font-size:28px;font-weight:400;line-height:1;display:block}.dive-hud>div:last-child strong{color:var(--pink);text-shadow:0 0 12px #ff5d8f80}.dive-hud em{font-size:16px;font-style:normal}.dive-progress>div{justify-content:center;gap:6px;padding:9px 0;display:flex}.dive-progress>small{background:#0b1526e6;padding:1px 5px;display:inline-block}.dive-progress i{background:#12233d;width:10px;height:10px;box-shadow:0 0 0 2px #060d1a}.dive-progress i.active{background:var(--pink)}.dive-progress i.done{background:var(--gold);box-shadow:0 0 0 2px #060d1a,0 0 8px #ffd166b3}.dive-prompt{text-align:center;background:#101d33ed;width:min(480px,100%);margin:max(24px,34dvh - 84px) auto 24px;padding:18px 20px 16px;box-shadow:0 0 0 3px #4de3ff40,0 0 50px #0009,inset 0 0 34px #050a1499}.dive-prompt small{color:var(--pink);letter-spacing:.32em;font-size:14px}.dive-prompt h2{color:var(--foam);overflow-wrap:anywhere;text-wrap:balance;text-shadow:0 0 16px #e8f1ff40,2px 0 #ff5d8f2e,-2px 0 #4de3ff2e;margin:9px 0 7px;font-size:clamp(25px,4vw,36px);font-weight:400;line-height:1.05}.dive-prompt p{color:var(--dim);letter-spacing:.12em;margin:4px 0 0;font-size:16px}.dive-prompt p strong{color:var(--cyan);font-size:22px;font-weight:400}.dive-dock{background:linear-gradient(#0000,#050a14eb 65%);grid-template-columns:58px minmax(0,1fr) auto;align-items:end;gap:10px;width:min(600px,100%);margin:auto auto 0;padding-top:28px;display:grid}.dive-dock>div:has(input){position:relative}.dive-fuse{top:calc(100% + 3px);background:var(--cyan);pointer-events:none;transform-origin:0;height:4px;transition:transform .2s linear;position:absolute;inset-inline:0}.dive[data-pressure=warning] .dive-fuse{background:var(--pink)}.dive-timer{isolation:isolate;height:58px;color:var(--cyan);font-variant-numeric:tabular-nums;text-shadow:0 0 12px #4de3ffb3;background:radial-gradient(circle,#0b1526 40%,#101d33 100%);place-items:center;font-size:28px;line-height:1;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 2px #060d1a,0 0 0 4px #1b3050,0 0 18px #4de3ff33}.dive-timer:before,.dive-timer:after{z-index:-1;content:"";position:absolute}.dive-timer:before{opacity:.26;border:1px solid;border-radius:50%;inset:8px}.dive-timer:after{transform-origin:0;background:linear-gradient(90deg,currentColor,#0000);width:50%;height:2px;animation:2.4s linear infinite dive-sonar;top:50%;left:50%}@keyframes dive-sonar{to{transform:rotate(360deg)}}.dive-timer.is-danger{color:var(--pink);box-shadow:0 0 0 2px #060d1a,0 0 0 4px #5b2034,0 0 22px #ff5d8f59}.dive-timer.is-danger:after{animation-duration:.7s}.dive-dock input{width:100%;min-width:0;height:50px;color:var(--foam);font:inherit;caret-color:var(--pink);background:#0b1526f0;border:2px solid #4de3ffa6;border-radius:0;padding:8px 12px 6px;font-size:22px}.dive-dock input::placeholder{color:var(--dim);opacity:1}.dive-dock:has(.is-danger) input{border-color:var(--pink)}.dive-dock button{background:var(--pink);color:#050a14;border:0;min-height:50px;padding-inline:16px;font-size:21px;box-shadow:0 0 0 2px #050a14,0 3px 0 2px #7d1d3c,0 0 16px #ff5d8f73}.dive .dive-dock button:hover:not(:disabled){background:#ff8bb0}.dive-message{color:#ff9f43;text-align:center;background:#0b1526;margin:0 0 4px;font-size:18px;line-height:1.1;position:absolute;bottom:100%;left:0;right:0}.dive-feedback{--tier:var(--cyan);text-align:center;flex-direction:column;flex:1;align-items:center;width:min(600px,100%);margin:max(20px,36dvh - 84px) auto 0;display:flex}.dive-feedback[data-tier=plankton],.dive-feedback[data-tier=miss]{--tier:#8fa3c4}.dive-feedback[data-tier=tooclever]{--tier:#ff9f43}.dive-feedback[data-tier=rare]{--tier:#ff5252}.dive-feedback[data-tier=deepcut]{--tier:#9d7bff}.dive-feedback[data-tier=krillion]{--tier:var(--gold)}.dive-feedback img{object-fit:contain;width:72px;height:72px;image-rendering:pixelated;filter:drop-shadow(0 0 16px var(--tier))}.dive-feedback h2{color:var(--tier);letter-spacing:.12em;text-shadow:0 0 18px color-mix(in srgb, var(--tier) 60%, transparent);margin:6px 0 5px;font-size:clamp(28px,5vw,38px);font-weight:400;line-height:1}.dive-feedback p{color:var(--dim);margin:8px 0 20px;font-size:18px}.dive-feedback .dive-quote{color:var(--foam);overflow-wrap:anywhere;margin:0 0 5px;font-size:22px}.dive-feedback strong{color:var(--tier);font-size:22px;font-weight:400}.dive-feedback button,.dive-summary button{min-width:174px;min-height:48px;box-shadow:0 0 0 3px #050a14, 0 0 0 6px var(--cyan), 0 5px 0 6px #123048;background:#101d33;border:0}.dive-feedback button{margin:auto 0 8px}.dive-summary{background:linear-gradient(#050a14db,#050a14c7);width:min(448px,100%);margin:12px auto 0;padding:12px 16px 30px}.dive-summary>p{color:var(--cyan);letter-spacing:.12em;margin:8px 0}.dive-summary>p:first-child{color:var(--dim)}.dive-summary button{margin:24px 6px 0}.dive-score{color:var(--foam);font-size:clamp(68px,10vw,80px);line-height:1}.dive-score small{color:var(--dim);font-size:24px}.dive-log{margin:22px 0 0;padding:0;list-style:none;display:grid}.dive-log li{border-bottom:1px solid #53729e52;align-items:center;gap:10px;min-height:56px;padding:8px 0;display:flex}.dive-log li span{color:var(--dim)}.dive-log img{object-fit:contain;width:32px;height:32px;image-rendering:pixelated}.dive-log strong{color:var(--foam);overflow-wrap:anywhere;flex:1;font-size:20px;font-weight:400}.dive-log em{color:var(--pink);white-space:nowrap;font-style:normal}.dive-error{text-align:center;color:#ffadc5;margin:22px auto}@media (width<=600px){.krillion-home{--masthead-height:54px}.krillion-masthead nav,.krillion-home>.dive{width:calc(100% - 16px)}.krillion-masthead nav{padding-inline:4px;font-size:13px}.krillion-open{padding:10px 14px}.krillion-home>.dive{border-radius:10px}.dive-mascot{width:50px;top:69%;right:22%}.dive-heading h1{font-size:clamp(43px,13vw,66px)}.dive-heading p{margin:22px 0 12px}.dive-intro-meta{letter-spacing:.06em;font-size:14px}.dive .dive-primary{min-height:52px}.dive-hud{grid-template-columns:70px minmax(0,1fr) 70px;gap:5px;padding:0}.dive-hud strong{font-size:24px}.dive-hud small{font-size:12px}.dive-progress>div{gap:5px}.dive-progress i{width:8px;height:8px}.dive-dock{grid-template-columns:50px minmax(0,1fr) 62px;gap:6px}.dive-dock input,.dive-dock button{padding-inline:5px}}@media (prefers-reduced-motion:reduce){.dive[data-pressure=warning]:before{--clear-water:46%;opacity:.8}.dive:before,.dive-fuse{transition:none}.dive-mascot,.dive-timer:after{animation:none}}@media (width<=360px){.dive .dive-primary{letter-spacing:.1em;white-space:nowrap;padding-inline:8px;font-size:20px}}.dive-resuming{color:var(--dim);letter-spacing:.1em;text-align:center;margin:12px 0 -18px;font-size:16px}.pa-lockup-link{color:inherit;outline-offset:4px;align-items:center;text-decoration:none;display:inline-flex}.pa-lockup-link:focus-visible{border-radius:6px;outline:3px solid #0089a3}.pa-lockup{align-items:center;gap:10px;font-family:Krillion VT,monospace;display:inline-flex}.pa-lockup--stack{flex-direction:row;gap:12px}.pa-lockup-mark{width:32px;height:32px;image-rendering:pixelated;border-radius:7px;flex-shrink:0;box-shadow:0 1px #04070e2e}.pa-lockup--md .pa-lockup-mark{border-radius:9px;width:44px;height:44px}.pa-lockup-text{flex-direction:column;align-items:flex-start;line-height:1;display:inline-flex}.pa-lockup-house{letter-spacing:.14em;text-transform:uppercase;color:inherit;font-size:20px}.pa-lockup--md .pa-lockup-house{font-size:28px}.pa-lockup-game{letter-spacing:.22em;text-transform:uppercase;color:color-mix(in srgb, currentColor 58%, transparent);margin-top:4px;font-size:12px}.pa-lockup--md .pa-lockup-game{font-size:14px}.kr-world-header{z-index:10;background:var(--shore);position:relative}.kr-nav-actions,.kr-switch-trigger,.kr-switch-library,.kr-poster-open{align-items:center;display:inline-flex}.kr-nav-actions{gap:18px}.kr-theme-switch{position:relative}.kr-switch-trigger{min-height:42px;color:var(--ink);cursor:pointer;border-radius:5px;gap:8px;padding:4px 9px}.kr-switch-trigger:hover,.kr-switch-trigger[aria-expanded=true]{background:color-mix(in srgb, var(--accent) 11%, transparent)}.kr-switch-trigger[aria-expanded=true] svg:last-child{transform:rotate(180deg)}.kr-world-header :is(a,button):focus-visible,.kr-library a:focus-visible{outline-offset:2px;outline:3px solid #0089a3}.kr-switch-panel{z-index:3;overscroll-behavior:contain;color:#eef5f4;width:min(500px,100vw - 24px);max-height:calc(100dvh - 88px);font:550 15px/1.2 var(--font-sans), sans-serif;background:#101e2b;border:1px solid #3b5264;border-radius:12px;position:absolute;top:calc(100% + 5px);right:0;overflow:auto;box-shadow:0 16px 45px #02101e55}.kr-switch-panel[hidden]{display:none}.kr-switch-collections{grid-template-columns:1fr 1fr;gap:12px;padding:14px;display:grid}.kr-switch-collections h2,.kr-library-groups h2{text-transform:uppercase;color:#a9c2c7;letter-spacing:.11em;font:400 18px/1.15 Krillion VT,monospace}.kr-switch-collections h2{margin:4px 6px 8px}.kr-switch-collections ul,.kr-library-groups ul{margin:0;padding:0;list-style:none}.kr-switch-collections a{border-radius:5px;align-items:center;gap:8px;min-height:40px;padding:4px 6px;display:flex}.kr-switch-collections a:hover,.kr-switch-collections a[aria-current]{background:#213a46}.kr-switch-collections a[aria-current] svg{color:#84e1dc;margin-left:auto}.kr-switch-collections img,.kr-library-item img{object-fit:cover;image-rendering:pixelated;border-radius:3px;flex:none}.kr-switch-collections img{width:38px;height:26px}.kr-switch-library{color:#a1ece7;border-top:1px solid #334951;justify-content:space-between;gap:10px;width:100%;padding:14px 20px}.kr-switch-library:hover{background:#1d3240}.kr-world-frame>.dive{width:100%;box-shadow:none;--dive-height:calc(100dvh - var(--masthead-height));border:0;border-radius:0}.kr-library{color:#e9f1f3;max-width:1180px;min-height:min(730px, calc(100dvh - var(--masthead-height)));background:#0b1926;margin:0 auto;padding:clamp(20px,3vw,36px) clamp(16px,3.3vw,48px) clamp(28px,4vw,56px)}.kr-library h1{color:#f4f1d9;margin:0 0 24px;font:400 clamp(36px,5vw,58px)/1.1 Krillion VT,monospace}.kr-library-layout{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(18px,3.5vw,46px);display:grid}.kr-library-poster{isolation:isolate;background:#0a1b30;min-height:400px;position:relative;overflow:hidden}.kr-poster-img{object-fit:cover;width:100%;height:100%;image-rendering:pixelated;position:absolute;inset:0}.kr-library-poster[data-theme-id=general]{background:#0e2c45 url(/krillion/ocean/bg-top.png) bottom/cover}.kr-library-poster[data-theme-id=general] .kr-poster-img{object-position:center bottom;height:53%}.kr-poster-caption{background:linear-gradient(#0000,#040d18e8 55%,#071221);padding:80px clamp(16px,2.3vw,30px) 26px;position:absolute;inset:auto 0 0}.kr-poster-caption h2{color:#fff5d9;margin:0 0 8px;font:400 clamp(36px,4vw,52px)/.96 Krillion VT,monospace}.kr-poster-caption p{color:#c8d9df;max-width:37ch;margin:0;font-size:15px}.kr-poster-open{color:#10252d;background:#c3efea;gap:14px;min-height:40px;margin-top:18px;padding-inline:14px;font-size:14px;font-weight:700}.kr-library-groups section+section{margin-top:28px}.kr-library-groups h2{margin:0 0 8px}.kr-library-groups ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;display:grid}.kr-library-item{color:#e1ebee;border-bottom:1px solid #2a3d49;align-items:center;gap:9px;min-height:55px;padding:6px 5px;font:400 clamp(19px,2vw,23px)/1 Krillion VT,monospace;display:flex}.kr-library-item[data-preview=true],.kr-library-item:hover{color:#fff;background:#192e3b}.kr-library-item img{width:clamp(43px,4vw,60px);height:35px}.kr-library-item svg{color:#91aeb9;flex:none;margin-left:auto}@media (width<=780px){.kr-library-layout{grid-template-columns:1fr}.kr-library-poster{min-height:clamp(188px,29vh,260px)}.kr-library-poster[data-theme-id=general] .kr-poster-img{object-fit:fill;height:68%}.kr-poster-caption{background:linear-gradient(90deg,#05111ee8,#05111e80 55%,#0000);padding:24px 18px 16px}.kr-poster-caption h2{font-size:34px}.kr-poster-caption p{color:#ecf3f4}.kr-poster-open{margin-top:10px}.kr-library h1{margin-bottom:15px}}@media (width<=600px){.kr-nav-actions{gap:4px}.kr-switch-trigger{gap:5px}.kr-theme-switch{position:static}.kr-switch-panel{width:calc(100vw - 16px);top:calc(100% + 2px);right:8px}.kr-switch-collections{gap:6px;padding:8px}.kr-switch-collections a{min-height:44px;font-size:13px}.kr-switch-collections img{width:26px;height:23px}.kr-library-groups ul{column-gap:8px}.kr-library-item{gap:6px;padding-inline:2px}.kr-library-item img{width:38px;height:32px}}@media (width<=390px){.kr-library-item svg,.kr-switch-trigger>svg:last-child{display:none}}.kr-world-library{background:#0b1926}
