@font-face{font-family:Pixelify;src:url('/assets/PixelifySans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Pixelify;src:url('/assets/PixelifySans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{font-family:Pixelify,monospace;color:#fff;background:#1c1d19}*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%}button{font:inherit;cursor:pointer}a{color:inherit}.game-background{position:fixed;inset:-4%;z-index:-3;background:url('/assets/minecraft-panorama.png') center 48%/cover no-repeat;filter:blur(4px) saturate(.9)}.game-shade{position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(0,0,0,.39),rgba(0,0,0,.09) 37%,rgba(0,0,0,.2) 63%,rgba(0,0,0,.65)),radial-gradient(ellipse at center,transparent 12%,rgba(0,0,0,.28) 100%)}.game-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;padding:20px 24px 11px;text-shadow:2px 2px 0 #333}.game-header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:16px;letter-spacing:.025em}.edition{font-weight:700}.edition span{color:#fff6a1}.top-hint{opacity:.8;font-size:14px}.connection{display:flex;align-items:center;gap:8px}.connection-dot{width:8px;height:8px;background:#d7b15b;box-shadow:2px 2px #3d3221}.connection-dot.online{background:#74d550}.connection-dot.offline{background:#db6252}
.brand-area{position:relative;text-align:center;margin:18px 0 27px}.brand{display:flex;align-items:center;justify-content:center;gap:14px}.brand img{width:74px;height:74px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(4px 5px 0 #202020)}.brand h1{margin:0;font-size:clamp(58px,7.7vw,112px);line-height:.95;letter-spacing:-.045em;font-weight:700;color:#e8e8e8;text-shadow:4px 4px 0 #333,7px 7px 0 #1b1b1b,10px 10px 0 #111}.brand h1 span{color:#96dc66}.splash{position:absolute;right:-44px;bottom:-5px;margin:0;color:#fff662;font-size:clamp(17px,2vw,26px);font-weight:700;white-space:nowrap;transform:rotate(-11deg);text-shadow:2px 2px 0 #383818;animation:bob 2.5s ease-in-out infinite alternate}@keyframes bob{to{transform:rotate(-8deg) scale(1.07)}}
.menu{width:min(100%,760px);background:rgba(14,14,14,.76);border:3px solid rgba(255,255,255,.25);box-shadow:0 10px 0 rgba(0,0,0,.35),0 20px 60px rgba(0,0,0,.4);padding:18px 24px 20px}.menu-title{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:26px;font-weight:700;margin-bottom:15px}.menu-edition{font-size:14px;font-weight:400;color:#ccc}.server-list{background:#090909;border:2px solid #696969;box-shadow:inset 2px 2px #000,inset -2px -2px #464646;padding:8px;margin-bottom:17px}.server-entry{min-height:88px;background:#252525;border:2px solid #8a8a8a;display:flex;gap:13px;padding:8px;color:#fff}.server-entry>img{width:64px;height:64px;flex:none;object-fit:contain;image-rendering:pixelated}.server-name{min-width:0;display:flex;flex-direction:column}.server-name strong{font-size:24px;line-height:1.1}.server-name span{font-size:18px;color:#aaa}.server-name small{font-size:15px;color:#d6d6d6}.server-count{margin-left:auto;display:flex;align-items:flex-end;flex-direction:column;gap:4px;white-space:nowrap}.server-count strong{font-size:17px;font-weight:400}.ping-bars{height:21px;display:flex;align-items:end;gap:2px}.ping-bars i{display:block;width:5px;background:#74d75b;border:1px solid #1d4416;box-shadow:1px 1px #111}.ping-bars i:nth-child(1){height:5px}.ping-bars i:nth-child(2){height:9px}.ping-bars i:nth-child(3){height:13px}.ping-bars i:nth-child(4){height:17px}.ping-bars i:nth-child(5){height:21px}.ping-bars.offline i{background:#777;border-color:#444}
.menu-content{min-height:200px}.panel{min-height:200px}.panel[hidden]{display:none}.panel h2{font-size:22px;font-weight:700;margin:0 0 7px}.panel p{font-size:17px;color:#e1e1e1;margin:0 0 13px;line-height:1.25}.ip-field{border:2px solid #747474;background:#121212;padding:8px 12px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin:11px 0 13px}.ip-field span{font-size:14px;color:#aaa}.ip-field code{font:700 22px Pixelify,monospace;color:#fcfcfc;user-select:all}.mc-button{min-height:38px;border:2px solid #000;background:#8b8b8b;color:#fff;box-shadow:inset 2px 2px #c6c6c6,inset -2px -2px #444,2px 3px 0 #050505;text-shadow:2px 2px #333;padding:5px 17px;font:700 18px Pixelify,monospace;white-space:nowrap}.mc-button:hover,.mc-button:focus-visible{background:#9b9b9b;outline:2px solid #fff}.mc-button:active{box-shadow:inset 2px 2px #444,inset -2px -2px #c6c6c6;transform:translate(1px,1px)}.mc-button--primary{background:#5a9d35;box-shadow:inset 2px 2px #9bd66d,inset -2px -2px #2c5a1e,2px 3px 0 #050505}.mc-button--primary:hover{background:#65aa40}.panel .small-note{color:#aaa;font-size:14px;margin:8px 0 0}.status-grid,.world-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 17px}.status-grid>div,.world-grid>div{background:#262626;border:2px solid #5a5a5a;padding:9px 11px;min-height:72px}.status-grid span,.world-grid span{display:block;font-size:13px;color:#aaa}.status-grid strong,.world-grid strong{display:block;font-size:20px;font-weight:700;line-height:1.1;margin-top:5px}.world-grid{grid-template-columns:repeat(2,1fr)}.guide-list{list-style:none;padding:0;margin:13px 0 16px;display:grid;gap:8px;font-size:17px}.guide-list li{background:#252525;padding:7px 10px}.guide-list li span{color:#85d268;margin-right:11px}.guide-list b{color:#fff}.menu-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;border-top:2px solid #555;padding-top:14px;margin-top:13px}
.hud{margin-top:auto;padding-top:24px;text-align:center}.hud-stats{width:546px;max-width:100%;display:flex;align-items:center;justify-content:space-between;margin:0 auto 2px;padding:0 7px;font-size:21px;line-height:1}.hearts{color:#ed4646;text-shadow:2px 2px #451515;white-space:nowrap}.hunger{color:#c58b4c;text-shadow:2px 2px #3e2916;white-space:nowrap}.hotbar{width:546px;height:66px;max-width:100%;display:grid;grid-template-columns:repeat(9,60px);padding-left:3px;margin:auto;background:url('/assets/hotbar.png') center/100% 100% no-repeat;image-rendering:pixelated}.hotbar button,.hotbar>span{position:relative;width:60px;height:66px;border:0;padding:0;background:transparent;display:grid;place-items:center}.hotbar button img{width:46px;height:46px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(2px 2px #333)}.hotbar button.active:after{content:"";position:absolute;z-index:1;inset:-3px -5px;background:url('/assets/hotbar-selection.png') center/100% 100% no-repeat;pointer-events:none;image-rendering:pixelated}.hotbar button:hover img{transform:translateY(-3px)}.hotbar-label{display:inline-block;margin-top:10px;background:rgba(20,20,20,.72);padding:3px 9px;color:#e7e7e7;font-size:15px}.game-footer{width:100%;display:flex;justify-content:space-between;gap:16px;align-items:end;margin-top:17px;font-size:13px;color:#e1e1e1}.game-footer span:last-child{text-align:right}.toast{position:fixed;z-index:10;top:20px;left:50%;transform:translate(-50%,-25px);opacity:0;pointer-events:none;background:rgba(11,11,11,.9);border:2px solid #aaa;padding:8px 17px;font:700 18px Pixelify,monospace;box-shadow:3px 3px #111;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-height:820px) and (min-width:701px){.game-screen{padding-top:10px}.brand-area{margin:8px 0 16px}.brand img{width:58px;height:58px}.brand h1{font-size:75px}.menu{padding-top:12px;padding-bottom:13px}.menu-title{margin-bottom:9px}.server-entry{min-height:75px}.server-entry>img{width:55px;height:55px}.menu-content,.panel{min-height:177px}.hud{padding-top:12px}.game-footer{margin-top:8px}}
@media(max-width:700px){.game-screen{padding:14px 14px 8px;min-height:100svh}.top-hint{display:none}.edition,.connection{font-size:13px}.brand-area{margin:35px 0 24px}.brand img{width:54px;height:54px}.brand h1{font-size:clamp(45px,10vw,70px)}.splash{right:-9px;bottom:-16px;font-size:17px}.menu{padding:13px}.menu-title{font-size:22px}.menu-edition{font-size:11px}.server-entry{gap:8px}.server-entry>img{width:51px;height:51px}.server-name strong{font-size:20px}.server-name span{font-size:15px}.server-name small{font-size:12px}.server-count strong{font-size:12px}.ping-bars{transform:scale(.75);transform-origin:right}.menu-content,.panel{min-height:214px}.menu-bottom{grid-template-columns:1fr}.mc-button{font-size:16px;min-height:33px}.ip-field{display:block}.ip-field span{display:block}.status-grid{grid-template-columns:1fr 1fr}.status-grid>div:last-child{grid-column:1/-1}.hotbar{transform:scale(.75);transform-origin:center top;margin-bottom:-14px}.hud-stats{width:410px;font-size:14px}.game-footer{font-size:11px;flex-wrap:wrap;justify-content:center;text-align:center}.game-footer span:last-child{text-align:center}}
@media(max-width:440px){.game-screen{overflow:hidden}.edition span{display:none}.connection{font-size:11px}.brand{gap:7px}.brand h1{font-size:clamp(32px,9vw,39px)}.brand img{width:38px;height:38px}.splash{right:0;bottom:-17px}.menu-title{font-size:18px}.menu-edition{display:none}.server-entry>img{width:40px;height:40px}.server-name strong{font-size:17px}.server-name small{display:none}.server-count{font-size:11px}.panel h2{font-size:19px}.panel p{font-size:15px}.ip-field code{font-size:18px}.world-grid strong{font-size:15px}.guide-list{font-size:14px}.hotbar{transform:scale(.55);margin-bottom:-27px}.hud-stats{width:300px;font-size:10px}.game-footer{font-size:9px}.menu-content,.panel{min-height:190px}}
@media(prefers-reduced-motion:reduce){.splash{animation:none}.toast{transition:none}}
