@charset "UTF-8";
:root{color-scheme:dark;--bg:#0a1226;--panel:rgba(15,25,47,.82);--line:rgba(171,194,237,.12);--muted:#8492ad;--text:#eef2ff;--mint:#a1efdb;--lav:#c5b5ff;--soft:#aab7d4;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);font-family:Inter,"Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}body{touch-action:none;-webkit-tap-highlight-color:transparent;user-select:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--mint);outline-offset:4px}button:disabled{cursor:wait;opacity:.6}button,input,select{touch-action:manipulation}input{user-select:text}button{transition:background .18s,color .18s,transform .18s,box-shadow .18s}button:active{transform:scale(.97)}.hidden{display:none!important}#game{display:block;position:fixed;inset:0;width:100%;height:100%;cursor:crosshair}.vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 180px rgba(2,6,21,.25)}.panel{background:var(--panel);border:1px solid var(--line);box-shadow:0 12px 40px #0002;border-radius:17px}.topbar{height:76px;position:fixed;left:29px;right:29px;top:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:5}.topbar>*{pointer-events:auto}.wordmark{color:#cbd5ee;text-decoration:none;font-size:13px;font-weight:700;letter-spacing:2.1px;white-space:nowrap}.wordmark b{color:#f5f6ff}.brand-star{font-size:24px;color:var(--mint);vertical-align:-3px;margin-right:9px}.session-chip{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:9px 15px;border-radius:30px;border:1px solid var(--line);background:#101c32c9;font-size:10px;font-weight:650;letter-spacing:1.4px;color:#c4d0e8;white-space:nowrap}.session-chip i,.live-dot{width:5px;height:5px;display:inline-block;border-radius:100%;background:#9ee8c6;box-shadow:0 0 9px #83f3c950}.session-chip.online i{background:#9ebeff}.session-chip.warn i{background:#ffca86}.tools{display:flex;align-items:center;gap:7px}.icon-button{width:36px;height:36px;background:#101a2cbb;border:1px solid var(--line);border-radius:11px;display:inline-flex;justify-content:center;align-items:center;color:#b3c0da}.icon-button:hover{background:#243048;color:#fff}.icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.help-button{font-size:17px;font-weight:650}.sound-waves{display:none}.sound-off{display:block}body.sound-on .sound-waves{display:block}body.sound-on .sound-off{display:none}.leaderboard{position:fixed;left:28px;top:88px;width:226px;padding:18px 16px 0;z-index:3;pointer-events:none}.panel-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:650;letter-spacing:1.5px;color:#d2d9eb}.tiny-star{font-size:15px;color:#e6c890;margin-right:4px}.board-columns{display:grid;grid-template-columns:26px 1fr 43px;gap:3px;font-size:9px;color:#65738e;margin:20px 0 8px}.board-columns span:last-child{text-align:right}#rankList{list-style:none;padding:0;margin:0}#rankList li{display:grid;grid-template-columns:26px 1fr 47px;align-items:center;gap:3px;height:29px;font-size:11px;color:#aab9d3;border-radius:5px}.rank-number{color:#697b9c;font-size:10px;font-variant-numeric:tabular-nums}.rank-number.top{color:#e5c783}.rank-name{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.rank-name .name{overflow:hidden;text-overflow:ellipsis}.country-tag{font-size:8px;color:#8392b2;background:#ffffff07;padding:3px;border-radius:3px;min-width:18px;text-align:center}.rank-score{text-align:right;font-size:11px;font-variant-numeric:tabular-nums}.rank-self{background:#b2a1f614;color:#dcd2ff!important}.rank-self .name{color:#ded4ff}.my-rank{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:11px;padding:12px 0;font-size:10px;color:#798cae}.my-rank strong{font-size:11px;color:#c7b5ff}.minimap-wrap{position:fixed;right:25px;bottom:35px;z-index:3;width:175px;padding:13px 13px 10px;pointer-events:none}.minimap-title{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#a1afc8;margin-bottom:7px}.minimap-title span:last-child{color:#7182a0;font-variant-numeric:tabular-nums}#minimap{width:147px;height:147px;display:block}.minimap-footer{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#75849f;margin-top:7px}.minimap-footer i{display:inline-block;width:5px;height:5px;background:#d0c3ff;border-radius:50%;margin-right:4px}.telemetry{position:fixed;right:30px;bottom:15px;font-size:9px;letter-spacing:.4px;font-variant-numeric:tabular-nums;color:#657391;z-index:3;pointer-events:none}.play-hud{position:fixed;bottom:39px;left:50%;transform:translateX(-50%);z-index:4;text-align:center;pointer-events:none}.score-pill{padding:12px 21px;display:flex;align-items:center;gap:10px;border-radius:50px;font-size:12px;min-width:225px;justify-content:center}.score-star{color:#f7d88a;font-size:19px}.score-pill strong{font-size:19px;font-weight:700;min-width:38px;font-variant-numeric:tabular-nums}.score-pill time{font-size:10px;letter-spacing:.7px;color:#899ab7;font-variant-numeric:tabular-nums}.hud-separator{width:1px;height:15px;background:var(--line);margin:0 3px}.kill-mark{color:#a8b4ff;font-size:19px}.boost-meter{height:3px;background:#fff1;border-radius:5px;width:120px;margin:13px auto 5px;overflow:hidden}.boost-meter div{height:100%;background:linear-gradient(90deg,#a896f0,#b3f8da);width:100%;border-radius:5px;transition:width .2s}.boost-label{font-size:8px;letter-spacing:1.4px;color:#8998b6}.hint{position:fixed;left:29px;bottom:27px;display:flex;gap:8px;align-items:center;font-size:9px;color:#8090aa;z-index:3;transition:opacity 1s;pointer-events:none}.hint kbd{font-family:inherit;font-size:8px;border:1px solid #ffffff19;border-radius:4px;padding:4px 5px;margin-left:4px}.toast-stack{position:fixed;top:83px;left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:7px;z-index:35;pointer-events:none}.toast{background:#17223beb;border:1px solid #b5a4ff34;box-shadow:0 8px 30px #0002;border-radius:14px;padding:10px 17px;color:#d8dded;font-size:12px;animation:toast-in .35s var(--ease);white-space:nowrap;max-width:90vw;overflow:hidden;text-overflow:ellipsis}.toast.out{opacity:0;transform:translateY(-6px);transition:all .3s}.overlay{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:10;padding:64px 24px 35px;animation:overlay-in .3s var(--ease)}.lobby-overlay{background:radial-gradient(ellipse at center,#070d1a36 20%,#080f1d14 62%);flex-direction:column;gap:21px}.lobby-card{display:grid;grid-template-columns:340px 355px;max-width:100%;border:1px solid #9aa9d024;box-shadow:0 32px 110px #02071588,0 0 0 5px #18203c19;border-radius:25px;overflow:hidden;background:#121c31;animation:card-in .6s var(--ease)}.lobby-art{position:relative;min-height:565px;overflow:hidden;padding:33px 30px;background:radial-gradient(ellipse at 65% 56%,#9d82dd1c,transparent 64%),linear-gradient(145deg,#222442,#19233c 70%,#14283a);border-right:1px solid #d2d7ff0a}.eyebrow{font-size:8px;color:#a2a4c3;letter-spacing:1.7px;font-weight:500;display:flex;align-items:center;gap:7px;position:relative;z-index:1}.eyebrow>span{height:4px;width:4px;background:#b6f3e0;border-radius:50%}.lobby-art h1{font-size:55px;line-height:1.04;letter-spacing:-2.7px;font-weight:850;margin:28px 0 0;position:relative;z-index:1;color:#e9e8ff}.lobby-art h1>span{color:#c5b7fa;position:relative}.title-star{position:absolute;color:#e6d8a5;font-size:24px;right:-35px;top:3px;display:inline-block;transform:rotate(13deg)}.tagline{font-size:12px;color:#9199b7;margin-top:13px;position:relative;z-index:1;letter-spacing:.2px}#alpacaPreview{width:300px;height:240px;position:absolute;left:20px;bottom:53px;z-index:1}.art-caption{position:absolute;bottom:28px;left:30px;right:30px;display:flex;align-items:center;gap:12px;font-size:7px;letter-spacing:1.3px;color:#a3a5c0;z-index:1}.art-caption>span:first-child{color:#cdc5ed;font-size:8px}.art-line{flex:1;height:1px;background:#c5b1ff25}.art-orbit{position:absolute;border:1px solid #bec9fa0d;border-radius:50%;width:340px;height:340px;left:30px;bottom:-20px;transform:rotate(-28deg) scaleY(.6);pointer-events:none}.orbit-two{width:520px;height:520px;left:-80px;bottom:-105px}.profile-form{padding:31px 30px 25px;display:flex;flex-direction:column;z-index:2;background:linear-gradient(130deg,#142039,#111b2e);min-width:0}.form-title{display:flex;align-items:center;justify-content:space-between;gap:9px}.form-title h2{font-size:20px;letter-spacing:-.65px;margin:0;font-weight:700}.best-badge{font-size:8px;letter-spacing:.7px;padding:5px 7px;background:#b9a0f510;border:1px solid #b9a0f51c;color:#bba9e8;border-radius:6px;white-space:nowrap}.form-subtitle{font-size:10px;color:#72849f;margin:8px 0 22px}.profile-form label{font-size:10px;color:#9cacc7;display:block;margin-bottom:7px}.profile-form input,.profile-form select{width:100%;background:#0d1729;border:1px solid #aabef01c;border-radius:9px;color:#e4eafa;outline:0;height:40px;font-size:12px;padding:0 12px;transition:border-color .2s,box-shadow .2s}.profile-form input:focus,.profile-form select:focus{border-color:#a899f2aa;box-shadow:0 0 0 3px #aa95ef0a}.profile-form input::placeholder{color:#50607a}.name-field{position:relative;margin-bottom:15px}.name-field input{padding-right:48px}.name-field span{position:absolute;right:12px;top:14px;font-size:8px;color:#536482}.select-wrap{position:relative;margin-bottom:17px}.select-wrap select{appearance:none;padding-right:32px}.select-wrap>span{position:absolute;right:14px;top:7px;color:#8494b2;pointer-events:none;font-size:19px}.field-title{display:flex;align-items:center;justify-content:space-between}.field-title>span{font-size:9px;color:#667b99}.skin-options{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:5px 0 18px}.skin-swatch{height:25px;width:25px;border:3px solid #142039;border-radius:50%;padding:0;position:relative;outline:1px solid transparent;outline-offset:3px}.skin-swatch[aria-checked=true]{outline-color:#d5c6ff;box-shadow:0 0 16px #b298f62b}.skin-swatch[aria-checked=true]:after{content:"";position:absolute;left:6px;top:4px;width:5px;height:8px;border:solid #233353;border-width:0 2px 2px 0;transform:rotate(45deg)}.skin-swatch:hover{transform:translateY(-2px)}.ear-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}.ear-options button{height:40px;border:1px solid #aabef018;background:#0e192d;border-radius:9px;color:#788ca9;font-size:10px;display:flex;align-items:center;justify-content:center;gap:6px}.ear-options button[aria-checked=true]{background:#b8a1f714;border-color:#bca3fa65;color:#d4c3ff}.ear-options svg{width:24px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.mode-options{display:flex;gap:4px;border-radius:9px;background:#0b1628;padding:4px;margin-bottom:12px}.mode-options button{width:50%;border-radius:6px;background:transparent;color:#6a7e9e;font-size:10px;height:30px;display:flex;align-items:center;justify-content:center;gap:6px}.mode-options button[aria-checked=true]{background:#20304b;color:#d5def2;box-shadow:0 2px 5px #0002}.mode-dot{width:4px;height:4px;border-radius:50%;background:#7284a3}.mode-options button[aria-checked=true] .mode-dot{background:#afe5ce}.primary-button{width:100%;min-height:46px;border:1px solid #ddcaff38;background:linear-gradient(100deg,#c0adf5,#9aaceb);box-shadow:0 4px 24px #a394ed12;color:#202a4b;border-radius:10px;font-size:13px;font-weight:750;display:flex;justify-content:space-between;align-items:center;padding:0 17px;letter-spacing:.2px}.primary-button:hover{box-shadow:0 4px 26px #c5a9ff42;filter:brightness(1.06);transform:translateY(-1px)}.button-arrow{font-size:20px}.save-note{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#526780;margin-top:12px;gap:5px}.save-note>span:last-child{color:#7184a3}.server-field{padding:1px 0 13px}.server-field input{font-size:11px}.server-field>span{display:block;font-size:9px;color:#657a98;margin:6px 0 0}.lobby-footer{display:flex;align-items:center;justify-content:center;gap:15px;color:#6c7d99;font-size:9px;letter-spacing:.2px}.lobby-footer>i{font-style:normal;font-size:7px;color:#8884ad}.lobby-footer button{background:none;color:#92a0bf;font-size:9px;padding:0}.lobby-footer button>span{margin-left:3px}.dialog-overlay{background:#050a17a8;z-index:22;padding:24px;backdrop-filter:blur(7px)}.dialog-card{background:#131e34;border:1px solid #adbef12b;border-radius:21px;box-shadow:0 25px 90px #0006;width:430px;max-width:100%;padding:25px 27px;max-height:90vh;overflow:auto;overscroll-behavior:contain;animation:card-in .3s var(--ease);touch-action:pan-y}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.dialog-heading h2{font-size:19px;margin:0;letter-spacing:-.3px}.close-button{font-size:24px;width:30px;height:30px;background:none;border-color:transparent;color:#7d90ae}.setting-row{display:flex;align-items:center;justify-content:space-between;margin:19px 0;gap:15px}.setting-label{font-size:12px;color:#d0d9eb}.setting-label small{display:block;font-size:10px;color:#7386a5;margin-top:6px;line-height:1.6}.setting-row select{padding:7px 9px;background:#0c1729;border:1px solid #adbef124;border-radius:7px;font-size:11px;max-width:160px}.toggle{position:relative;width:36px;height:21px;border-radius:20px;background:#34415b;flex:none}.toggle:before{content:"";position:absolute;width:15px;height:15px;background:#9bacc9;border-radius:50%;left:3px;top:3px;transition:transform .2s}.toggle[aria-checked=true]{background:#9f8fce}.toggle[aria-checked=true]:before{background:#fff;transform:translateX(15px)}.dialog-note{font-size:10px;line-height:1.75;color:#7d8da8;padding:13px 14px;background:#0b172973;border:1px solid #8294ba14;border-radius:9px;margin:18px 0}.dialog-divider{height:1px;background:var(--line);margin:20px 0}.text-button{display:block;background:none;font-size:11px;color:#8e9dbb;padding:13px;text-align:center;width:100%}.text-button:hover{color:#d5dffa}.secondary-button{width:100%;background:#25324e;border:1px solid #a1b3df1e;color:#cbd6ed;padding:12px;border-radius:9px;font-size:12px}.help-grid{display:grid;gap:18px}.help-item{display:flex;gap:13px;align-items:flex-start}.help-icon{height:36px;width:36px;border-radius:10px;background:#b2a1f414;display:flex;justify-content:center;align-items:center;color:#c0b3f0;font-size:19px;flex:none}.help-item b{font-size:12px;color:#d4def2;font-weight:600}.help-item p{font-size:11px;color:#8193b1;margin:5px 0 0;line-height:1.8}.help-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:10px;color:#8093b3;margin:19px 0}.help-shortcuts span{display:flex;align-items:center;gap:8px}.help-shortcuts kbd{font-size:9px;background:#0b1425;border:1px solid #8ca0c326;border-radius:4px;padding:4px 6px;min-width:26px;text-align:center}.guide-link{color:#baabf1;font-size:11px;text-decoration:none;display:inline-block;margin-top:2px}.guide-link:hover{color:#ece6ff}.result-overlay{background:#0610207d;z-index:15;backdrop-filter:blur(4px)}.result-card{background:linear-gradient(145deg,#1d2542,#142035);border:1px solid #b9b4ed29;border-radius:24px;box-shadow:0 25px 90px #0005;padding:28px 32px 15px;text-align:center;width:370px;max-width:100%;animation:card-in .4s var(--ease)}.result-emblem{color:#e1c6ff;font-size:35px;line-height:1.2;margin-bottom:12px;text-shadow:0 0 30px #c9a9ff55}.result-card .eyebrow{display:block;font-size:8px;letter-spacing:2px;color:#8690b0}.result-card h2{font-size:23px;letter-spacing:-.7px;margin:13px 0 9px}.result-card>p{font-size:11px;line-height:1.7;color:#919dbb;margin:0;min-height:18px}.result-score{position:relative;margin:27px 0 22px}.result-score small{display:block;font-size:10px;color:#8594b0}.result-score strong{font-size:57px;font-weight:800;letter-spacing:-2px;line-height:1.25;color:#edeaff}.new-best{display:block;margin:4px auto 0;font-size:8px;letter-spacing:1.8px;color:#ecd39e}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding:17px 0 22px;gap:10px}.result-stats span{font-size:9px;display:block;color:#6f83a4;margin-bottom:7px}.result-stats strong{font-size:15px;color:#becbea}.connection-card{width:365px;padding:34px 30px 18px;text-align:center;background:#131e35}.connection-card h2{font-size:19px;margin:21px 0 10px}.connection-card p{font-size:11px;line-height:1.8;color:#8c9dbb}.loading-overlay{background:#071021a8;z-index:20;backdrop-filter:blur(5px)}.loader{height:30px;width:30px;margin:0 auto;border:2px solid #a6a4cf29;border-top-color:#c4b0fb;border-radius:50%;animation:spin 1s linear infinite}.connection-actions{margin-top:23px}.touch-controls{position:fixed;inset:0;pointer-events:none;z-index:5}.joystick{position:absolute;left:30px;bottom:55px;width:110px;height:110px;border:1px solid #bec8eb26;border-radius:50%;background:#abbfff08;pointer-events:auto;touch-action:none}.joystick-nub{position:absolute;left:35px;top:35px;width:40px;height:40px;border:1px solid #cbbafe55;border-radius:50%;background:#b4a1ed35;pointer-events:none}.boost-touch{position:absolute;right:37px;bottom:57px;border:1px solid #e1c9a240;border-radius:50%;background:#c5adf622;width:65px;height:65px;pointer-events:auto;touch-action:none;box-shadow:0 4px 20px #050a1d44}.boost-touch svg{width:25px;height:25px;fill:#cfbff4;stroke:#e0d2fb;stroke-width:.7}.boost-touch.pressed{background:#c8b5ff70;transform:scale(.94)}body.is-playing .lobby-only{display:none}body.is-lobby .leaderboard{opacity:.55}body.is-lobby .minimap-wrap{opacity:.55}body.is-lobby .telemetry{opacity:.5}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes card-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes overlay-in{from{opacity:0}to{opacity:1}}@keyframes toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.lobby-card{grid-template-columns:370px 370px}.lobby-art{min-height:585px}#alpacaPreview{left:35px;bottom:58px}.lobby-art h1{font-size:61px}.profile-form{padding:35px}.leaderboard{width:238px}.topbar{left:35px;right:35px}.leaderboard{left:35px}}
@media(max-width:1100px){.lobby-card{grid-template-columns:300px 330px}.lobby-art{padding:30px 24px}.lobby-art h1{font-size:50px}#alpacaPreview{width:280px;height:224px;left:10px}.profile-form{padding:28px 25px}.leaderboard{width:190px;left:18px;padding:15px 13px 0}.topbar{left:20px;right:20px}.wordmark{font-size:11px;letter-spacing:1.5px}.minimap-wrap{right:18px;width:150px;padding:12px}#minimap{width:124px;height:124px}body.is-lobby .leaderboard{opacity:.2}body.is-lobby .minimap-wrap{opacity:.3}.hint{font-size:8px;gap:5px;left:20px}}
@media(max-height:760px) and (min-width:701px){.lobby-card{grid-template-columns:300px 330px}.lobby-art{min-height:520px}.profile-form{padding:24px 26px 20px}.form-subtitle{margin-bottom:17px}.name-field{margin-bottom:12px}.select-wrap{margin-bottom:13px}.skin-options{margin-bottom:15px}.ear-options{margin-bottom:14px}.lobby-footer{font-size:8px}.lobby-overlay{gap:14px;padding-top:69px;padding-bottom:20px}.lobby-art h1{font-size:50px;margin-top:22px}#alpacaPreview{bottom:39px;width:280px;height:224px;left:10px}.lobby-art .art-caption{bottom:23px}.leaderboard{top:80px}.leaderboard #rankList li{height:27px}.minimap-wrap{bottom:28px}}
@media(max-width:700px){.topbar{left:17px;right:17px;height:61px}.wordmark{font-size:10px;letter-spacing:1px}.brand-star{font-size:20px;margin-right:4px}.session-chip{top:65px;padding:6px 10px;font-size:8px;letter-spacing:1px;left:auto;right:0;transform:none}.tools{gap:5px}.icon-button{width:31px;height:31px;border-radius:9px}.icon-button svg{width:15px;height:15px}.desktop-tool{display:none}.lobby-overlay{padding:66px 18px 14px;gap:14px;justify-content:center;background:#080f2170;overflow:auto;touch-action:pan-y}.lobby-card{display:block;width:355px;overflow:visible;border-radius:20px;flex-shrink:0}.lobby-art{min-height:140px;height:140px;padding:20px 22px;border-right:0;border-bottom:1px solid #d2d7ff09;border-radius:20px 20px 0 0}.eyebrow{font-size:6px;letter-spacing:1px}.lobby-art h1{font-size:31px;line-height:1.0;letter-spacing:-1.2px;margin:13px 0 0}.title-star{font-size:15px;right:-23px}.tagline{font-size:8px;margin:8px 0 0}.lobby-art #alpacaPreview{width:164px;height:132px;left:auto;right:1px;bottom:-3px}.art-caption{display:none}.profile-form{padding:20px 22px 19px;border-radius:0 0 20px 20px}.form-title h2{font-size:17px}.form-subtitle{font-size:9px;margin:7px 0 16px}.profile-form input,.profile-form select{height:37px;font-size:12px}.name-field{margin-bottom:12px}.name-field span{top:13px}.select-wrap{margin-bottom:13px}.skin-options{margin-bottom:14px}.ear-options{margin-bottom:14px}.ear-options button{height:35px}.primary-button{min-height:43px}.save-note{margin-top:11px;font-size:7px}.lobby-footer{font-size:7px;gap:8px;flex-shrink:0}.lobby-footer button{font-size:7px}.lobby-footer>i{font-size:6px}.leaderboard{left:14px;top:75px;width:156px;padding:12px 11px 0;border-radius:13px}.panel-heading{font-size:8px;letter-spacing:1px}.tiny-star{font-size:12px}.board-columns{margin-top:13px;grid-template-columns:20px 1fr 32px;font-size:8px}.leaderboard #rankList li{grid-template-columns:20px 1fr 34px;font-size:9px;height:25px}.rank-score{font-size:9px}.rank-number{font-size:8px}.rank-name{gap:4px}.country-tag{font-size:7px;padding:2px;min-width:16px}.my-rank{font-size:9px;padding:10px 0}.my-rank strong{font-size:9px}.leaderboard li:nth-child(n+7){display:none!important}.minimap-wrap{right:14px;bottom:157px;width:120px;border-radius:13px;padding:10px}.minimap-title{font-size:6px;letter-spacing:1px}#minimap{width:98px;height:98px}.minimap-footer{font-size:7px}.play-hud{bottom:26px}.score-pill{padding:9px 14px;min-width:185px;gap:7px;font-size:11px}.score-pill strong{font-size:16px;min-width:28px}.score-pill time{font-size:9px}.boost-meter{margin-top:9px;width:95px}.boost-label{font-size:7px}.hint{display:none}.telemetry{right:17px;bottom:139px;font-size:8px}.toast-stack{top:109px;width:90%}.toast{font-size:10px;white-space:normal;text-align:center}.dialog-card{padding:23px}.result-card{width:340px;padding:25px 27px 15px}.result-card h2{font-size:21px}body.is-lobby .leaderboard,body.is-lobby .minimap-wrap,body.is-lobby .telemetry,body.is-lobby .session-chip{display:none}}
@media(max-height:760px) and (max-width:700px){.lobby-art{height:114px;min-height:114px;padding:16px 22px}.lobby-art h1{font-size:26px;margin-top:10px}.lobby-art .tagline{display:none}.lobby-art #alpacaPreview{width:145px;height:116px;right:8px;bottom:0}.profile-form{padding:16px 22px}.form-subtitle{margin-bottom:12px}.profile-form label{margin-bottom:6px}.profile-form input,.profile-form select{height:34px}.name-field{margin-bottom:10px}.name-field span{top:12px}.select-wrap{margin-bottom:11px}.skin-options{margin-bottom:12px}.ear-options{margin-bottom:12px}.ear-options button{height:32px}.form-title h2{font-size:16px}.lobby-footer{margin-bottom:6px}}
@media(max-height:620px) and (min-width:701px){.lobby-overlay{overflow:auto;justify-content:flex-start;padding-top:65px}.lobby-card{flex-shrink:0}.lobby-footer{padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


.embedded-guide{font:400 14px/1.85 -apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#cbd6ec;overflow-wrap:anywhere;text-align:left}
.embedded-guide *{box-sizing:border-box}
.embedded-guide h1,.embedded-guide h2,.embedded-guide h3,.embedded-guide h4{color:#f1f3ff;line-height:1.45;letter-spacing:-.025em;scroll-margin-top:100px}
.embedded-guide h1{font-size:clamp(23px,3vw,34px);margin:0 0 25px;font-weight:800}
.embedded-guide h2{font-size:22px;border-top:1px solid #ffffff14;padding-top:28px;margin:43px 0 16px;font-weight:750}
.embedded-guide h3{font-size:17px;margin:28px 0 12px}.embedded-guide h4{font-size:15px;margin:24px 0 10px}
.embedded-guide p{margin:0 0 18px;color:#cbd6ec}.embedded-guide strong{color:#f3edff;font-weight:750}
.embedded-guide a{color:#c7b3ff;text-decoration:underline;text-underline-offset:3px;word-break:break-word}.embedded-guide a:hover{color:#e7dbff}
.embedded-guide ul,.embedded-guide ol{padding-left:25px;margin:14px 0 21px}.embedded-guide li{padding-left:3px;margin:7px 0}
.embedded-guide li::marker{color:#bba6f5}.embedded-guide code{font:12.5px/1.7 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;color:#dfd2ff;background:#ffffff0a;border:1px solid #ffffff0a;border-radius:5px;padding:2px 5px;white-space:normal}
.embedded-guide .guide-code{margin:18px 0 24px;border:1px solid #ffffff12;border-radius:13px;background:#080e1e;overflow:hidden}
.embedded-guide .code-label{display:block;padding:8px 15px;background:#ffffff04;border-bottom:1px solid #ffffff0c;color:#8494b1;font:700 10px/1.6 ui-monospace,Consolas,monospace;letter-spacing:.14em;text-transform:uppercase}
.embedded-guide pre{margin:0;padding:17px 18px;max-width:100%;overflow:auto;tab-size:4;text-align:left;background:transparent;white-space:pre}
.embedded-guide pre code{display:block;padding:0;border:0;border-radius:0;background:none;color:#d7e2f6;font-size:12.5px;line-height:1.7;white-space:pre;overflow-wrap:normal;word-break:normal}
.embedded-guide .guide-table{width:100%;overflow-x:auto;margin:18px 0 25px;border:1px solid #ffffff12;border-radius:12px}
.embedded-guide table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.75;text-align:left}
.embedded-guide th{background:#bca6f512;color:#eee6ff;font-weight:700;padding:12px 14px;vertical-align:top;border-bottom:1px solid #ffffff16}
.embedded-guide td{padding:11px 14px;vertical-align:top;border-bottom:1px solid #ffffff0b;color:#cbd6ec;min-width:105px}
.embedded-guide tr:last-child td{border-bottom:0}.embedded-guide tbody tr:nth-child(even){background:#ffffff02}
.embedded-guide td:first-child{color:#e5e8f6}.embedded-guide th:first-child{min-width:130px}
.embedded-guide blockquote{margin:20px 0;padding:13px 19px;border-left:3px solid #b9a6ef;background:#b9a6ef0a;border-radius:0 10px 10px 0}.embedded-guide blockquote p:last-child{margin-bottom:0}
.embedded-guide hr{border:0;border-top:1px solid #ffffff18;margin:34px 0}
.embedded-guide .guide-toc{margin:27px 0 32px;padding:19px 23px;border:1px solid #b9a6ef20;border-radius:14px;background:#b9a6ef07}
.embedded-guide .guide-toc>strong{font-size:12px;letter-spacing:.08em;color:#aa99d3}.embedded-guide .guide-toc ol{margin:10px 0 0;padding:0;list-style:none;columns:2;column-gap:24px}
.embedded-guide .guide-toc li{margin:4px 0;break-inside:avoid;font-size:12px;padding:0}.embedded-guide .guide-toc a{color:#c6c9e3;text-decoration:none}.embedded-guide .guide-toc a:hover{color:#e5d8ff}
@media(max-width:620px){.embedded-guide{font-size:13px}.embedded-guide h1{font-size:23px}.embedded-guide h2{font-size:19px}.embedded-guide th,.embedded-guide td{padding:10px}.embedded-guide .guide-toc ol{columns:1}.embedded-guide pre{padding:13px}.embedded-guide pre code{font-size:11.5px}}

/* The global human roster is separate from the AI-inclusive leaderboard. */
.player-roster{position:fixed;top:88px;right:25px;width:226px;z-index:6;overflow:hidden;pointer-events:auto}
.player-roster summary{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 13px;cursor:pointer;list-style:none;user-select:none;touch-action:manipulation}
.player-roster summary::-webkit-details-marker{display:none}
.player-roster summary:focus-visible{outline:2px solid #bca6f5;outline-offset:-3px;border-radius:14px}
.roster-title{flex:1;min-width:0;font-size:12px;line-height:1.35;font-weight:700;color:#e3dcfa}
.roster-count{flex-shrink:0;min-width:23px;padding:3px 6px;border-radius:20px;background:#bca6f51c;color:#d9caff;font-size:11px;text-align:center;font-variant-numeric:tabular-nums}
.roster-chevron{color:#a597be;font-size:14px;line-height:1;transition:transform .15s}
.player-roster[open] .roster-chevron{transform:rotate(180deg)}
.roster-note{margin:0;padding:0 13px 9px;color:#91a0bc;font-size:10px;line-height:1.4}
#activePlayerList{margin:0;padding:0 7px 7px;list-style:none;max-height:min(280px,calc(100dvh - 410px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8d78bb55 transparent;touch-action:pan-y}
#activePlayerList li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:6px;min-height:32px;padding:4px 6px;border-radius:6px;font-size:11px}
.roster-label{display:flex;align-items:center;gap:4px;min-width:0}
.roster-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c6d0e5}
.roster-self{background:#bca6f512}
.roster-self .roster-name{color:#e5d9ff}
.roster-self-label{flex-shrink:0;border-radius:4px;padding:1px 3px;background:#bca6f521;color:#d3c2f8;font-size:8px}
.roster-self-label[hidden]{display:none}
.roster-score{font-variant-numeric:tabular-nums;color:#c3b4e5;font-size:10px}
.roster-empty{margin:0;padding:0 13px 14px;color:#91a0bc;font-size:11px;line-height:1.5}
@media(max-width:1100px){.player-roster{right:18px;width:190px}}
@media(max-width:700px){.player-roster{top:100px;right:14px;width:clamp(126px,calc(100vw - 196px),190px);border-radius:13px}.player-roster summary{padding:9px 8px;gap:5px}.roster-title{font-size:10px}.roster-note{display:none}#activePlayerList{padding:0 4px 5px;max-height:min(230px,calc(100dvh - 480px))}#activePlayerList li{gap:4px;padding:4px 3px;font-size:10px;min-height:30px}.roster-score{font-size:9px}.roster-self-label{font-size:7px}}
@media(min-width:701px) and (max-height:500px){.player-roster{top:80px;left:230px;right:auto;width:210px}#activePlayerList{max-height:100px}}

/* Generated wool artwork, shared flag atlas and multilingual layout. */
.topbar{z-index:18}
@media(max-width:350px){.wordmark{font-size:8px!important;letter-spacing:.4px!important}.brand-star{font-size:18px;margin-right:4px}#languageSelect{max-width:74px!important}.tools{gap:3px!important}.icon-button{width:27px!important;height:29px!important}}
.country-flag,.country-tag{display:inline-block;flex:none;width:20px;height:15px;min-width:20px;padding:0;background-image:url('assets/flags.png');background-repeat:no-repeat;background-size:320px 105px;border-radius:2px;vertical-align:middle}
#countryFlag{position:absolute;top:13px;left:12px;z-index:1}#country{padding-left:40px}
#languageSelect{max-width:106px;height:34px;background:#101a2c;color:#cbd5ee;border:1px solid #ffffff20;border-radius:9px;font-size:11px;padding:0 5px}
.lobby-art{background-image:linear-gradient(180deg,#111b30dd 0%,#111b3050 52%,#111b30d9 100%),url('assets/cover.webp');background-size:cover;background-position:42% center}
.lobby-art canvas{filter:drop-shadow(0 14px 14px #0006)}.form-subtitle{line-height:1.5}.lobby-footer{flex-wrap:wrap;text-align:center}.profile-form label{line-height:1.4}
@media(max-width:700px){.topbar{left:14px;right:14px}.wordmark{font-size:10px;letter-spacing:1px}.tools{gap:4px}.icon-button{width:30px;height:30px}#languageSelect{max-width:84px}.lobby-overlay{padding-bottom:28px;overflow-y:auto}.lobby-card{flex-shrink:0}.lobby-art{background-position:35% 48%}#countryFlag{top:10px}.session-chip{max-width:90vw;overflow:hidden;text-overflow:ellipsis}}

.site-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin:4px 0 12px;font-size:11px;flex-shrink:0}.site-links a{color:#c4b5fd;text-decoration:none;padding:5px}.site-links a:hover{text-decoration:underline}.site-links a:focus-visible{outline:2px solid #c4b5fd;outline-offset:3px;border-radius:4px}

/* Account rankings share the existing dialog and remain scrollable on phones. */
.site-links button{color:#c4b5fd;background:none;border:0;padding:0;font:inherit;cursor:pointer}
.site-links button:hover{color:#fff}
.record-status{color:#9baac6;font-size:10px;line-height:1.5;text-align:center;max-width:360px;margin:0;flex-shrink:0}
.ranking-dialog{width:650px}
.record-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}
.record-actions .secondary-button{width:auto}
.record-actions [hidden]{display:none}
.record-table-wrap{overflow-x:auto}
.record-table{width:100%;border-collapse:collapse;font-size:11px;color:#cfdaed}
.record-table th,.record-table td{padding:12px 7px;text-align:left;border-bottom:1px solid #aabef01c}
.record-table th{color:#a1b1ce;font-weight:500;white-space:nowrap}
.record-table td:nth-child(2){overflow-wrap:anywhere;min-width:70px}
.record-table td:not(:nth-child(2)){white-space:nowrap}
.record-table .record-self{background:#b8a1f71a;color:#e0ceff}
@media(max-width:700px){.record-table th,.record-table td{padding:10px 4px;font-size:10px}.record-status{font-size:9px}.ranking-dialog{padding:20px 14px}}
