@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
:root{--lime:#98d376;--ink:#121522;--cream:#e7e2d5;--pixel:'Press Start 2P',monospace}*{box-sizing:border-box}body{margin:0;background:#7483b6;color:#eee;font-family:monospace;font-size:16px;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;color:#e5e4de;background:#444a64;border:3px solid #090b13;box-shadow:inset 2px 2px #747d94,inset -2px -2px #282d40;padding:13px 18px}button:hover{outline:2px solid #f5e0ad;outline-offset:0;background:#535d78}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #6fe0ee;outline-offset:3px}button.primary{background:#447b37;box-shadow:inset 2px 2px #72a05d,inset -2px -2px #25471c;color:white}.secondary{background:#353a4f}#scene,#css-scene{position:fixed;inset:0}#scene{z-index:1}#css-scene{z-index:0;pointer-events:none}#css-scene iframe{pointer-events:auto;border:0;width:960px;height:540px}canvas{display:block}header{position:fixed;z-index:5;top:20px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.brand{font:14px var(--pixel);text-shadow:3px 3px #000;pointer-events:auto;cursor:pointer;color:white}.top-right{display:flex;align-items:center;gap:12px;pointer-events:auto}.status,.pill{background:#181922b8;padding:12px;color:#eee;font-size:14px}.status i{display:inline-block;background:#83d554;width:8px;height:8px;margin-right:5px}.pill{padding:9px 12px}.vignette{pointer-events:none;position:fixed;inset:0;z-index:2;background:radial-gradient(ellipse,transparent 50%,#08081830)}#landing{position:fixed;inset:0;z-index:8;display:grid;place-items:center;background:linear-gradient(#1b1210cc,#211714ed),repeating-conic-gradient(#684329 0% 25%,#513820 0% 50%) 0 0/18px 18px}.intro{width:min(600px,92vw);text-align:center}h1{font:clamp(22px,3.5vw,42px) var(--pixel);color:#d9d9d9;letter-spacing:-1px;text-shadow:4px 4px #0d0b09,7px 7px #000;margin:0 0 25px;line-height:1.5}.subtitle{color:#f3de72;margin-bottom:26px}.intro form{margin:auto;max-width:400px}#identity-note{font-size:14px;line-height:1.6;color:#c0bbab;margin:20px 0 12px}.twitch{background:#8540d4;width:100%;font-weight:bold;box-shadow:inset 2px 2px #b678fa,inset -2px -2px #502482}.entry{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0;text-align:left}.entry label{font-size:12px;color:#d5cbb4}.entry input{margin-top:9px;width:100%;background:#14151d;border:2px solid #76725e;color:white;padding:12px 9px;font-size:16px;outline:none}.colors{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:12px;color:#d6c7a4}.colors button{width:35px;height:35px;padding:0;background:var(--c)}.colors .selected{outline:2px solid white}.intro .primary,.intro .secondary{width:100%;margin:6px 0;font-weight:bold}#join-error{color:#fa9b86;font-size:14px;line-height:1.5;margin-top:12px}.small-note{font-size:12px;color:#c4b8a6;margin-top:25px;line-height:1.8}#hud{position:fixed;inset:0;z-index:4;pointer-events:none}#hud button{pointer-events:auto}.location{position:absolute;right:24px;top:85px;text-align:right;font-size:15px;text-shadow:2px 2px black}.location small{display:block;color:#dbd9d6;font-size:12px;margin-top:7px}#crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:26px monospace;color:white;opacity:.8}#prompt{position:absolute;top:62%;left:50%;transform:translateX(-50%);background:#14141bbc;padding:12px;white-space:nowrap;font-size:16px}.hud-bottom{position:absolute;bottom:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px}.toolbar{display:flex;gap:7px}.toolbar button{font-size:13px;padding:10px 13px;background:#181b28c9}.toolbar b{color:#f6d480}#voice-button{background:#181b28d1;font-size:14px}#voice-button.on{background:#06b989;color:#061b16}#chat-feed{position:absolute;bottom:90px;left:24px;font-size:15px;line-height:1.6;max-width:450px;word-break:break-word}#chat-feed>div{background:#191015b0;padding:3px 7px;width:fit-content;margin-top:4px}#chat-feed b{color:#f4d751}#score,#parkour{position:absolute;right:24px;top:140px;background:#141723c9;padding:15px;display:none;font-size:13px}#score b,#parkour b{display:block;font:25px var(--pixel);color:#fa5b43;margin-top:12px}#parkour small{display:block;font-size:13px;margin-top:12px}#resume{position:absolute;left:50%;top:73%;transform:translateX(-50%)}#toast{position:fixed;z-index:20;top:75px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#111723ed;border:2px solid #838592;display:none;font-size:15px;max-width:85vw;text-align:center;line-height:1.6}#overlay{position:fixed;inset:0;z-index:10;background:#07081480;display:grid;place-items:center}#overlay[hidden],#landing[hidden],#hud[hidden],#resume[hidden]{display:none}#modal{position:relative;max-height:90vh;overflow:auto;width:min(680px,calc(100vw - 32px));padding:32px;background:#1c2033;border:4px solid #070b14;box-shadow:inset 3px 3px #656d89,inset -3px -3px #090d1b,0 15px 60px #0008;color:#dce2e9}#close{position:absolute;right:12px;top:10px;padding:2px 8px;font-size:26px;background:#343c52;z-index:2}#modal h2{font:18px var(--pixel);line-height:1.6;color:#f1c46c;margin:14px 25px 18px 0}#modal p{font-size:15px;line-height:1.7;color:#adbed0}.eyebrow{font-size:12px;color:#87bcd1;letter-spacing:2px}#modal input,#modal textarea,#modal select{width:100%;padding:13px;background:#111624;border:2px solid #5b637b;color:#eee;font:16px monospace}#modal .primary{margin-top:12px}#modal input:focus{border-color:#61d8e1}.map-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.map-place{padding:15px 9px;text-align:center;background:#827860}.map-place strong{display:block;font-size:14px;margin:12px 0}.map-place small{font-size:12px;color:#dcdac7}.map-place span{font-size:22px}.room-share{padding:20px;background:#131727;font:24px var(--pixel);text-align:center;color:#f1d17e}.person{display:flex;align-items:center;gap:10px;border-bottom:1px solid #555c76;padding:13px 0;font-size:16px}.person i{width:35px;height:35px;background:var(--c)}.person img,.post-avatar{width:40px;height:40px;image-rendering:auto;border:2px solid #07090e}.person button{margin-left:auto;font-size:14px;padding:8px}.messages{height:240px;overflow:auto;background:#121727;padding:15px;margin:16px 0;line-height:1.7;font-size:15px}.message{margin-bottom:14px;word-break:break-word}.message b{color:#f0d078}.message small{font-size:12px;color:#8c9cb6}.controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.controls div{background:#313951;padding:12px;font-size:14px}.controls b{color:#f1c46c;margin-right:10px}.help-note{border-top:1px solid #535b76;padding-top:15px}.phone-shell{width:min(410px,95vw);margin:auto;background:#1b2032}.phone-top{display:flex;justify-content:space-between;border-bottom:2px solid #363e58;padding-bottom:15px;color:#eed7a0}.phone-clock{font:32px var(--pixel);text-align:center;padding:28px 0;color:white}.phone-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 0}.phone-apps button{padding:14px 4px;font-size:12px}.phone-apps span{display:block;font-size:30px;margin-bottom:12px}.phone-wallpaper{height:110px;background:linear-gradient(#5497e8 0 50%,#72e0e4 50% 65%,#24664e 65% 80%,#31995c 80% 88%,#7b4e2b 88%)}#modal.phone{width:420px;position:absolute;right:22px;bottom:18px;padding:24px 18px;max-height:85vh;border:6px solid #070811;box-shadow:inset 3px 3px #687896;border-radius:24px}#overlay.phone{background:transparent;pointer-events:none}#overlay.phone #modal{pointer-events:auto}#modal.phone #close{top:4px;right:8px}.post{padding:15px;background:#29324b;border:2px solid #0a0d19;margin:12px 0;font-size:15px;word-break:break-word}.post-head{display:flex;align-items:center;gap:10px}.post time{font-size:12px;color:#8facbf}.post button{font-size:14px;padding:6px 12px}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.gallery img{width:100%;height:auto;display:block}.gallery figure{margin:0;background:#101522}.gallery figcaption{font:12px monospace;padding:8px;color:#bbc7d3}.gallery a{color:inherit}#arcade-canvas,#paint-canvas{width:100%;max-height:60vh;object-fit:contain;border:3px solid #0a0c11;image-rendering:pixelated;touch-action:none}.paint-colors{display:flex;gap:6px;margin:15px 0}.paint-colors button{width:32px;height:32px;padding:0}.xo-board{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px auto;max-width:360px}.xo-board button{height:95px;font:32px var(--pixel)}.menu-buttons{display:grid;gap:10px}.menu-buttons button{width:100%}.emotes{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.setting{display:flex;align-items:center;justify-content:space-between;margin:15px 0;gap:10px}.setting input{width:55% !important}.gallery-title{margin-bottom:20px}.camera-shot{width:100%;border:2px solid #8893a2}@media(max-width:650px){header{left:14px;right:14px}.brand{font-size:10px}.status{font-size:12px}.location{right:14px}.hud-bottom{left:12px;right:12px;flex-wrap:wrap}.toolbar button{padding:8px;font-size:11px}#voice-button{padding:8px;font-size:12px}.map-grid{grid-template-columns:1fr 1fr}#modal{padding:24px 18px}#modal.phone{right:10px;width:calc(100% - 20px)}.controls{grid-template-columns:1fr}.intro h1{font-size:22px}.gallery{grid-template-columns:1fr}}

#overlay.world-chat{background:transparent;pointer-events:none}#modal.world-chat{position:absolute;left:20px;bottom:20px;width:min(780px,calc(100vw - 40px));max-height:70vh;background:#0c0e169e;box-shadow:none;border:0;padding:15px;pointer-events:auto}#modal.world-chat h2,#modal.world-chat .eyebrow{display:none}#modal.world-chat .messages{height:300px;background:transparent;padding:0}#modal.world-chat #message-form{display:flex;gap:8px}#modal.world-chat #message-form .primary{margin:0}#modal.world-chat .message{background:#10101885;width:fit-content;padding:3px 8px;margin:5px 0}

.district-map{position:relative;max-width:560px;margin:auto;border:12px ridge #d7c69e;aspect-ratio:1;background:#6b8e31}.district-map canvas{width:100%;height:100%;image-rendering:pixelated}.district-map button{position:absolute;transform:translate(-50%,-50%);font-size:11px;padding:4px;background:#191c25d9;white-space:nowrap}.player-list button{display:flex;width:100%;align-items:center;gap:12px;text-align:left}.player-list img{width:32px;height:32px;image-rendering:pixelated}.player-list b{flex:1}.speaking{color:#35df61}

.system-message{color:#ffe843!important}

#modal.pause-menu{width:min(1600px,96vw);background:transparent;border:0;box-shadow:none;padding:24px 12px}#modal.pause-menu #close{right:16px;top:0}.pause-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(340px,1.8fr) minmax(250px,1.1fr);gap:20px}.pause-panel{background:#060706ed;border:2px solid #41413d;padding:20px;color:#ddd}.pause-panel h2{font:26px var(--pixel);color:#fff}.pause-panel h3{color:#e1e14b;font:15px var(--pixel);margin:0 0 20px}.pause-panel p{font:15px/1.6 monospace}.pause-panel button{border-radius:0;width:100%;font:700 15px monospace;padding:12px;background:#111;color:#ccc;border:2px solid #555}.pause-panel button.selected{background:#343434;border-color:#eee;color:#fff}.pause-panel .primary{background:#00bd87;color:#00150e;margin:12px 0}.pause-panel .district-map button{width:auto;font:11px monospace;padding:4px;background:#181818ad}.quality-grid,.settings-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fps-options{display:flex;gap:6px}.fps-options button{padding:8px 2px;font-size:12px}.pause-panel input[type=range]{width:100%;accent-color:#eee}.pause-panel .setting{justify-content:flex-start;font:15px monospace}.pause-panel input[type=checkbox]{width:18px!important;accent-color:#00bd87}.mode-card{display:block;background:#141414;border:2px solid #444;margin:12px 0;padding:12px;font:17px monospace}.mode-card p{font-size:13px;color:#aaa}.quiet-mode #chat-feed{display:none}#fps-display{position:fixed;right:20px;top:100px;background:#111a;color:#ddd;padding:6px;z-index:5;font:13px monospace;pointer-events:none}@media(max-width:1000px){.pause-grid{grid-template-columns:1fr 1.4fr}.pause-grid>section:last-child{grid-column:1/-1}}@media(max-width:650px){.pause-grid{grid-template-columns:1fr}.pause-grid>section:last-child{grid-column:auto}.pause-panel{padding:14px}.pause-map .district-map{border-width:8px}}

.playing .brand{display:none}.playing .location{top:20px;right:280px;background:#1119;padding:10px 14px;min-width:0}.playing .location span{font:700 17px monospace}.playing .location small{font:12px monospace;margin-top:5px;color:#ddd}.playing header .top-right{gap:6px}.playing .status{padding:10px}.playing .pill{padding:8px}.battle-badge{background:#181922b8;padding:8px 12px;font:13px monospace;color:#ddd;border:2px solid #555;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.battle-badge.active{background:#8a1b1b;border-color:#e44a4a;color:#fff;box-shadow:0 0 10px #e44a4a66}.vignette{background:radial-gradient(ellipse,transparent 65%,#08081818)}#crosshair{font:26px monospace;color:#fffc;text-shadow:none}.playing .toolbar button{background:#151515a8;padding:7px 10px;border:1px solid #444;box-shadow:none}.playing #voice-button{background:#171717ad;border:0;box-shadow:none;font:14px monospace}.playing #voice-button.on{background:#00b988;color:#03130a}.pause-panel button{box-shadow:none}.map-quick-links{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 6px}.map-quick-links button{flex:1 1 calc(33% - 6px);padding:8px 4px;font-size:12px;background:#1e2029}.quiet-mode #modal.world-chat .messages{visibility:hidden}@media(max-width:650px){.playing .location{top:75px;right:14px}.playing .location small{display:none}}

.char-picker{margin:18px 0 8px;text-align:left;font-size:12px;color:#d6c7a4}.char-options{display:flex;gap:12px;margin:8px 0 12px}.char-btn{flex:1;padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;font:11px monospace;border:3px solid #555;color:#ccc;background:#252a3c}.char-btn.selected{border-color:#f6d480;background:#2d2510;color:#f6d480}.char-preview{width:26px;height:40px;image-rendering:pixelated;border-radius:0}.steve-preview{background:linear-gradient(180deg,#3d2b14 0% 18%,#38aaaf 18% 68%,#1e3160 68% 100%)}.alex-preview{background:linear-gradient(180deg,#6b2f18 0% 18%,#e8892c 18% 68%,#5a3318 68% 100%)}#color-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 16px}#color-row span{font-size:11px;color:#b0a890;margin-right:4px}#color-row button{width:30px;height:30px;padding:0;background:var(--c);border:2px solid #555}#color-row .selected{outline:2px solid #f6d480;outline-offset:2px}
.modern-phone{background:linear-gradient(145deg,#0f172a,#1e1b4b)!important;border-radius:32px!important;border:8px solid #020617!important;box-shadow:0 25px 60px rgba(0,0,0,0.8),inset 0 0 15px rgba(255,255,255,0.08)!important;padding:18px 16px!important;position:relative;overflow:hidden}.phone-notch{width:110px;height:18px;background:#020617;border-radius:0 0 14px 14px;margin:-18px auto 8px;box-shadow:0 2px 5px rgba(0,0,0,0.5)}.modern-phone .phone-top{font-size:12px;font-weight:bold;color:#94a3b8;border:0!important;padding:0 4px 12px;display:flex;justify-content:space-between;align-items:center}.phone-banner{background:rgba(255,255,255,0.06);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.1);border-radius:16px;padding:10px 14px;margin-bottom:14px;display:flex;align-items:center;gap:12px}.phone-avatar-mini{width:36px;height:36px;background:linear-gradient(135deg,#38bdf8,#818cf8);border-radius:50%;box-shadow:0 2px 8px rgba(56,189,248,0.4)}.phone-banner strong{font-size:14px;color:#f8fafc;display:block}.phone-sub{font-size:11px;color:#38bdf8;margin-top:2px;font-family:monospace}.phone-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.phone-app-icon{background:rgba(30,41,59,0.7)!important;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.08)!important;border-radius:18px!important;padding:12px 6px!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;font-size:11px!important;font-weight:600!important;color:#cbd5e1!important;transition:all .15s ease}.phone-app-icon:hover{transform:translateY(-2px);background:rgba(51,65,85,0.9)!important;border-color:#38bdf8!important;color:#fff!important}.phone-app-icon span{font-size:24px;display:block}.phone-dock{display:flex;justify-content:center;padding-top:10px;border-top:1px solid rgba(255,255,255,0.05)}.dock-btn{width:46px;height:46px;border-radius:50%!important;background:rgba(255,255,255,0.1)!important;border:1px solid rgba(255,255,255,0.15)!important;font-size:16px!important;padding:0!important;display:grid!important;place-items:center!important}

/* ==========================================================================
   FREAKLAND MINECRAFT THEME & LOGIN DIALOG (Exact Match to Reference)
   ========================================================================== */

@font-face{
  font-family:'Minecraft Pixel';
  src:url(data:font/woff2;base64,d09GMgABAAAAAA+8AAoAAAAAVTAAAA9uAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAg1oKgY5M4C0LhCQAATYCJAOIQAQgBYd8ByAbPDszo8LGAQBKX2dU1CVJahijol4OTubs/5rcGCLaDpo2+ywJRWZio5CBVuDI1LuR2cSZkw3hZWNOXAkpcISYKl5H6+LPzFI7tGH/FZDhgzSk4Y3tEfQ+0JNkvnU+cgy4M3gaIz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HSiH5pSiGM2G5jqA+fEyoxeba1FolRH0P+DXqwKZUc/s8H0KIRlYfsC01TEF2RfqzPOFdc2oER1TC9d2TWWiraqwFGodkCVdLfttPLHs/I8IkNfi77Ei0WjXP4wcwOMKf/7v6PLuCVQKQGC5ICkUCTcuS/ACLVoKTJJrDqykMayXaxfhADZbTbZDG2m3UG7PpqWjG+kqSXTO1bSPIKD2FCnqDp6wzB9ES58EfCtyonq2s2lNOCGbl5rtpOFW2kP7jZcUnyWwlUZcjLxPdvNBToKZbn5H0tInLfEnBLKyWmvJ19Z/BH2lwxB9zkEVl1Mzllu6RdIDZI0pVAOuoJEdEa29OoOgOrQMeQ4ODg4ODg4OLbaMtDbAnrpsIabdg+r3KDVr/dItknGvkQ1XRjVf79Dorb9oLfpsiIHBOrN0z87Ozs7Ozs6uuvc2DbfSxi3Pt2Vpa+Ce663fufnx/XN9fbfwIuXODSMsMGydveqtJu0Xcp8w8Wn0LnR5+CB2KPFXMNOZ78o4FBrl7ejGyy/j/zuYxtznl9bwpEPR+H0jgz1lMH89/lUq+w3tvbclf6fzYmW0OxfZPSmfYP56YFJswtfH5L4u7o/d5QwkPCkkUdRutsDucFqjMeC95sFmtdYp9vpxvo6AsyRZn4C6ygBKflDtFe0mWWdATeyXrEyzGt0OUqsESMGqOnAisw/NoBrlbYZ1csEX/+67zbZJ+4cXy0QiFbda6fS3sQCedCgag8VFu/t0Ybtoa3MksslKl78V0PFEdTDFAgA=) format('woff2');
  font-display:swap;
}

.font-pixel{
  font-family:'Minecraft Pixel',monospace!important;
}

/* LANDING SCREEN OVERHAUL */
#landing{
  position:fixed;
  inset:0;
  z-index:8;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background-color:#14110e!important;
  background-blend-mode:normal, multiply!important;
  image-rendering:pixelated!important;
  background-image:radial-gradient(80% 70% at 50% 38%,rgba(0,0,0,0) 25%,rgba(0,0,0,0.68) 100%),url('/images/dirt.png')!important;
  background-size:auto,64px 64px!important;
  user-select:none;
}

.entry-stage{
  width:min(440px,92vw);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.entry-title{
  font-family:'Minecraft Pixel',monospace;
  font-size:clamp(38px,6vw,52px);
  color:#ffffff;
  text-shadow:3px 3px 0 #3f3f3f, 4px 4px 0 #181818;
  line-height:1.08;
  margin:0;
  letter-spacing:1px;
}

.splash-wrap{
  margin:10px 0 22px;
}

.splash{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#ffff55!important;
  text-shadow:2px 2px 0 #3f3f15!important;
  font-size:18px!important;
  padding:4px 8px!important;
  display:inline-block;
  cursor:pointer;
  transform:rotate(-3deg);
  transition:transform .12s ease;
}
.splash:hover{
  transform:rotate(-3deg) scale(1.08);
  outline:none!important;
}

[hidden]{display:none!important}
.entry-action-card[hidden],.skin-picker-panel[hidden],.modal-backdrop[hidden],#logged-out-box[hidden],#logged-in-box[hidden],#skin-picker-area[hidden],#twitch-login-modal[hidden]{display:none!important}

.entry-action-card{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.twitch-entry-btn{
  background:#772ce8!important;
  color:#ffffff!important;
  font-family:system-ui,-apple-system,sans-serif!important;
  font-weight:700!important;
  font-size:16px!important;
  border:0!important;
  border-radius:8px!important;
  padding:14px 28px!important;
  width:100%!important;
  max-width:340px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  cursor:pointer!important;
  box-shadow:0 6px 20px rgba(119,44,232,0.45)!important;
  transition:all .15s ease!important;
}
.twitch-entry-btn:hover{
  background:#9146ff!important;
  transform:translateY(-1px)!important;
  outline:none!important;
}
.twitch-entry-btn:active{
  transform:translateY(1px)!important;
}
.twitch-icon{
  font-family:monospace;
  font-size:18px;
  font-weight:900;
}

.entry-sub{
  color:rgba(255,255,255,0.65);
  font-size:13.5px;
  line-height:1.4;
  margin:14px 0 0;
  max-width:340px;
}

.entry-divider{
  width:100%;
  max-width:340px;
  height:1px;
  background:rgba(255,255,255,0.12);
  margin:18px auto;
}

.entry-online{
  font-size:15px;
  color:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.entry-online .online-box{
  font-size:14px;
}
.entry-online b{
  font-weight:800;
  color:#ffffff;
}

.entry-footer-tip{
  position:fixed;
  bottom:22px;
  left:0;
  right:0;
  text-align:center;
  font-size:12.5px;
  color:rgba(255,255,255,0.45);
  pointer-events:none;
}

/* LOGGED-IN VIEW STYLES */
.auth-user-bar{
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:12px;
  padding:10px 16px;
  width:100%;
  max-width:340px;
  margin-bottom:14px;
}
.player-head-img{
  width:44px;
  height:44px;
  image-rendering:pixelated;
  border-radius:6px;
  background:#222;
}
.auth-meta{
  text-align:left;
  flex:1;
}
.auth-nick{
  font-size:16px;
  font-weight:bold;
  color:#fff;
}
.text-link-btn{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:rgba(255,255,255,0.65)!important;
  text-decoration:underline!important;
  font-size:12px!important;
  padding:0!important;
  cursor:pointer!important;
}
.text-link-btn:hover{
  color:#fff!important;
  outline:none!important;
}

.world-go-button{
  background:#22c55e!important;
  color:#072711!important;
  font-family:'Minecraft Pixel',monospace!important;
  font-size:18px!important;
  font-weight:900!important;
  border:0!important;
  border-radius:8px!important;
  padding:15px 28px!important;
  width:100%!important;
  max-width:340px!important;
  box-shadow:0 6px 20px rgba(34,197,94,0.4)!important;
  transition:all .15s ease!important;
}
.world-go-button:hover{
  background:#16a34a!important;
  color:#fff!important;
  outline:none!important;
  transform:translateY(-1px)!important;
}

.entry-switches{
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
  max-width:340px;
  margin-top:14px;
}
.entry-switch-row{
  display:flex;
  align-items:center;
  background:rgba(20,24,33,0.85);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:8px;
  padding:8px 12px;
  font-size:13px;
  cursor:pointer;
}
.entry-switch-row input{
  display:none;
}
.switch-bullet{
  width:14px;
  height:14px;
  border-radius:3px;
  border:2px solid #666;
  margin-right:10px;
  display:inline-block;
  background:#111;
}
.entry-switch-row input:checked + .switch-bullet{
  background:#22c55e;
  border-color:#22c55e;
}
.switch-title{
  flex:1;
  text-align:left;
  color:#ddd;
}
.switch-badge{
  font-size:11px;
  color:#888;
  font-family:monospace;
}
.entry-switch-row input:checked ~ .switch-badge{
  color:#22c55e;
}

.skin-picker-panel{
  background:#1e2430;
  border:1px solid #3b4252;
  border-radius:12px;
  padding:14px;
  width:100%;
  max-width:340px;
  margin-bottom:14px;
  text-align:left;
}
.mc-nick-row{
  display:flex;
  gap:8px;
  margin-top:8px;
}
.mc-nick-row input{
  flex:1;
  background:#141720;
  border:1px solid #475569;
  color:#fff;
  padding:8px 10px;
  font-size:12px;
  border-radius:6px;
}
.mc-nick-row button{
  padding:8px 12px!important;
  font-size:12px!important;
  background:#3b4252!important;
  border:0!important;
  border-radius:6px!important;
  box-shadow:none!important;
}

/* ==========================================================================
   TWITCH LOGIN MODAL (Exact Match to Screenshot 2)
   ========================================================================== */
.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:25;
  background:rgba(0,0,0,0.74);
  backdrop-filter:blur(5px);
  display:grid;
  place-items:center;
  padding:16px;
}
.modal-backdrop[hidden]{
  display:none;
}

.login-modal-box{
  position:relative;
  background:#181c24;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:18px;
  width:min(440px,94vw);
  padding:26px 24px 22px;
  box-shadow:0 25px 60px rgba(0,0,0,0.7);
  color:#e2e8f0;
}

.modal-close-btn{
  position:absolute;
  top:14px;
  right:16px;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#94a3b8!important;
  font-size:20px!important;
  padding:4px!important;
  cursor:pointer!important;
  line-height:1;
}
.modal-close-btn:hover{
  color:#fff!important;
  outline:none!important;
}

.login-modal-heading{
  font-family:'Minecraft Pixel',monospace;
  font-size:24px;
  color:#ffffff;
  margin:0 0 6px;
  text-align:left;
  letter-spacing:1px;
}

.login-modal-sub{
  font-size:13px;
  line-height:1.45;
  color:#94a3b8;
  margin:0 0 18px;
  text-align:left;
}

.field-label{
  font-size:12px;
  font-weight:700;
  color:#cbd5e1;
  text-align:left;
  margin-bottom:8px;
}

.command-input-pill{
  background:#1e2430;
  border:1px solid #334155;
  border-radius:12px;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.command-text{
  font-family:'Minecraft Pixel',monospace;
  font-size:22px;
  color:#ffffff;
  letter-spacing:1.5px;
}
.copy-pill-btn{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#94a3b8!important;
  padding:4px 6px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  border-radius:6px!important;
  transition:all .15s ease!important;
}
.copy-pill-btn:hover{
  color:#ffffff!important;
  background:rgba(255,255,255,0.08)!important;
  outline:none!important;
}

.chat-status-indicator{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12.5px;
  color:#94a3b8;
  margin-bottom:12px;
  padding:0 2px;
}
.status-left{
  display:flex;
  align-items:center;
  gap:6px;
}
.purple-dot{
  font-size:10px;
}
.timer-digits{
  color:#e2e8f0;
  font-weight:bold;
  margin-left:4px;
}
.refresh-pill-btn{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#94a3b8!important;
  padding:4px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
}
.refresh-pill-btn:hover{
  color:#fff!important;
  outline:none!important;
}

.twitch-chat-frame-wrapper{
  background:#090a0f;
  border:1px solid #27272a;
  border-radius:12px;
  height:210px;
  overflow:hidden;
  position:relative;
}
.twitch-chat-frame-wrapper iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.popout-link-container{
  text-align:left;
  margin-top:8px;
}
.popout-link{
  color:#94a3b8;
  font-size:12px;
  text-decoration:none;
  transition:color .15s ease;
}
.popout-link:hover{
  color:#e2e8f0;
  text-decoration:underline;
}

.modal-or-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:14px 0;
  color:#64748b;
  font-size:12px;
}
.modal-or-divider::before,
.modal-or-divider::after{
  content:'';
  flex:1;
  height:1px;
  background:#334155;
}

.twitch-oauth-action{
  background:#772ce8!important;
  color:#ffffff!important;
  font-family:system-ui,-apple-system,sans-serif!important;
  font-weight:700!important;
  font-size:15px!important;
  border:0!important;
  border-radius:10px!important;
  padding:12px 20px!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  box-shadow:0 4px 15px rgba(119,44,232,0.4)!important;
  cursor:pointer!important;
  transition:all .15s ease!important;
}
.twitch-oauth-action:hover{
  background:#9146ff!important;
  outline:none!important;
}

.twitch-nick-login-area{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.twitch-nick-input{
  width:100%!important;
  box-sizing:border-box!important;
  background:#141722!important;
  border:1.5px solid #334155!important;
  border-radius:10px!important;
  color:#ffffff!important;
  padding:12px 14px!important;
  font-size:14px!important;
  font-family:system-ui,-apple-system,sans-serif!important;
  text-align:center!important;
  box-shadow:none!important;
  transition:all .15s ease!important;
}
.twitch-nick-input:focus{
  border-color:#9146ff!important;
  outline:none!important;
  box-shadow:0 0 0 3px rgba(145,70,255,0.25)!important;
}
.twitch-nick-input::placeholder{
  color:#64748b!important;
  font-family:system-ui,-apple-system,sans-serif!important;
  font-size:13.5px!important;
}
