.ebabon{--ink:#f6efd1;--gold:#ffd56b;--panel:#162d45;--line:#537591;color:var(--ink);font-family:var(--font-body),system-ui,sans-serif;background:#0c1d31;border:2px solid #50758a;border-radius:12px;max-width:1200px;margin:0 auto;overflow:hidden;box-shadow:0 0 0 5px #081323,0 24px 80px #0005}.ebabon *{box-sizing:border-box}.ebabon button,.ebabon select,.ebabon input{font:inherit}.ebabon button,.ebabon a{touch-action:manipulation}.ebabon button{cursor:pointer;color:#fff3d5;background:#28455b;border:2px solid #87a0b2;border-radius:8px;min-height:44px;padding:9px 15px;font-weight:800;box-shadow:inset 0 -3px #0b1b2d,0 3px #06101c}.ebabon button:hover{filter:brightness(1.12);transform:translateY(-1px)}.ebabon button:active{box-shadow:none;transform:translateY(2px)}.ebabon button:disabled{opacity:.4;cursor:default}:is(.ebabon button:focus-visible,.ebabon a:focus-visible){outline-offset:3px;outline:3px solid #fff386}.ebabon a{color:#ffe297}.ebabon canvas{image-rendering:pixelated;image-rendering:crisp-edges}.eb-header{background:linear-gradient(#213950,#142437);border-bottom:3px solid #629a78;flex-wrap:wrap;align-items:center;gap:16px;padding:10px 20px;display:flex}.ebabon .eb-brand{box-shadow:none;color:#ffdc65;letter-spacing:-2px;text-shadow:2px 3px #6a3d20;background:0 0;border:0;align-items:center;padding:0;font-size:27px;display:flex}.eb-tagline{letter-spacing:1px;color:#adc9cb;flex:1;font-size:12px}.eb-header>a{font-size:13px}.eb-header>button:not(.eb-brand){min-height:34px;font-size:13px}.eb-hero{background:#214831;height:450px;position:relative}.eb-hero>img{object-fit:cover;width:100%;height:100%;image-rendering:pixelated}.eb-hero:after{content:"";background:linear-gradient(90deg,#081e2bee 0%,#081e2b66 45%,#0000 75%);position:absolute;inset:0}.eb-hero-copy{z-index:1;max-width:440px;position:absolute;top:80px;left:5%}.eb-hero-copy>span,.eb-eyebrow{letter-spacing:3px;color:#ace6b7;font-size:11px;font-weight:800}.eb-hero-copy h1{letter-spacing:-5px;color:#ffe06c;text-shadow:3px 3px #89501d,5px 5px #091e25;margin:12px 0;font-size:clamp(50px,7vw,88px);line-height:1.1}.eb-hero-copy p{margin:20px 0 28px;font-size:20px;font-weight:800}.ebabon .eb-primary{color:#382713;background:linear-gradient(#ffe690,#f3b43f);border-color:#fff1b5;padding:14px 26px;font-size:17px;box-shadow:inset 0 -4px #aa6f28,0 4px #081725}.eb-mode-grid{grid-template-columns:repeat(4,1fr);gap:14px;padding:28px;display:grid}.ebabon .eb-mode{text-align:left;background:linear-gradient(140deg,#254938,#173142);border-color:#5e8d7b;min-height:195px;padding:20px;position:relative}.eb-mode>span{color:#82b395;letter-spacing:3px;font-size:12px;display:block}.eb-mode strong{color:#ffe5a1;margin:10px 0;font-size:20px;display:block}.eb-mode p{color:#b9d1d2;font-size:13px;font-weight:400;line-height:1.7}.eb-mode b{letter-spacing:3px;font-size:11px}.eb-toolbar{flex-wrap:wrap;gap:10px;padding:12px 0;display:flex}.eb-mode-grid+.eb-toolbar{justify-content:center}.eb-footer{text-align:center;letter-spacing:2px;color:#92aebd;border-top:1px solid #476079;margin-top:24px;padding:22px;font-size:10px}.eb-panel{max-width:1080px;margin:0 auto;padding:32px}.eb-panel h1{margin:10px 0;font-size:32px}.eb-panel h2{color:#ffe39a;font-size:24px}.eb-panel>p{color:#bad1da;line-height:1.8}.eb-panel>button{margin:10px 10px 0 0}.eb-characters{grid-template-columns:repeat(5,1fr);gap:12px;margin:26px 0;display:grid}.ebabon .eb-character{border-color:var(--accent);background:linear-gradient(#263d53,#10273d);flex-direction:column;align-items:center;padding:14px 10px;display:flex}.eb-character canvas{max-width:100%;height:auto}.eb-character strong{min-height:38px;font-size:15px}.eb-character small{color:#c5d4da;min-height:30px;font-size:10px;font-weight:400}.eb-character dl{grid-template-columns:auto auto;gap:5px 8px;margin:6px 0 12px;font-size:12px;display:grid}.eb-character dt{color:#9db1bf}.eb-character dd{margin:0}.eb-character>span{color:#e9d388;font-size:10px}.ebabon .selected{background:#406349;border:3px solid #ffe277;box-shadow:0 0 0 2px #182d21,0 0 20px #ffe27725}.eb-settings-grid{background:#091b2b;border:1px solid #36566a;border-radius:10px;flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;padding:20px;display:flex}.ebabon label{color:#bbd1d9;flex-direction:column;gap:8px;margin:14px 0;font-size:13px;display:flex}.ebabon input,.ebabon select{color:#fff2d2;background:#233c51;border:1px solid #71899b;border-radius:6px;max-width:100%;min-height:44px;padding:10px}.ebabon input[type=number]{width:100px}.eb-cpu-row{align-items:center;gap:8px;width:100%;display:flex}.eb-cpu-row>strong{min-width:55px;font-size:13px}.eb-note{background:#254535;border:1px solid #59936b;border-radius:8px;margin:20px;padding:16px;font-size:14px;line-height:1.8}.eb-resume{margin:20px auto;display:block}.eb-room-card{background:#183147;border:1px solid #47647b;justify-content:space-between;align-items:center;gap:20px;margin:12px 0;padding:16px;display:flex}.eb-room-card h3{margin:5px 0}.eb-room-card span{color:#b3c8cc;font-size:12px}.eb-roster{flex-wrap:wrap;gap:14px;display:flex}.eb-roster>div{background:#203d4d;border:1px solid #688697;border-radius:6px;flex-direction:column;align-items:center;min-width:110px;padding:12px;display:flex}.eb-roster small{color:#a2e3ab;margin-top:8px}.eb-roster span{margin:6px;font-size:12px}.eb-hud{background:#122539;border-bottom:3px solid #628c93;justify-content:space-between;align-items:center;gap:12px;padding:8px 16px;font-size:13px;display:flex}.eb-hud b{color:#ffe494;font-family:monospace;font-size:22px}.eb-danger{color:#ff8794!important}.eb-player-strip{background:#0b1927;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:6px;display:flex}.eb-player-strip>span{background:#223a4d;border:1px solid #5c798a;border-radius:5px;align-items:center;gap:5px;padding:2px 9px;font-size:11px;display:flex}.eb-player-strip small{color:#bcd4d4;font-size:10px}.eb-player-strip .out{opacity:.4}.eb-stage{background:radial-gradient(#1b593e,#0a1e29);justify-content:center;align-items:center;min-height:220px;padding:12px;display:flex;position:relative}.eb-stage>canvas{width:min(100%,calc(62vh * var(--board-ratio,1.3)));aspect-ratio:auto;max-width:100%;height:auto;max-height:62vh;image-rendering:pixelated;touch-action:none;outline:none;display:block;box-shadow:0 0 0 3px #0a1b26,0 0 0 5px #659179}.eb-playing .eb-header{padding:4px 14px}.eb-playing .eb-tagline,.eb-playing .eb-footer{display:none}.eb-playing .eb-brand{font-size:22px}.eb-item-strip{color:#fff0b0;background:#132539;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:6px;font-size:11px;display:flex}.eb-item-strip>span{align-items:center;gap:4px;display:flex}.eb-controls{touch-action:none;-webkit-user-select:none;user-select:none;background:#0d2336;justify-content:space-between;align-items:center;padding:6px 24px 12px;display:flex;position:relative}.eb-dpad{grid-template:repeat(3,45px)/repeat(3,45px);gap:0;display:grid}.ebabon .eb-dir{box-shadow:none;touch-action:none;background:0 0;border:0;justify-content:center;align-items:center;min-height:0;padding:0;display:flex}.eb-dir.up{grid-area:1/2}.eb-dir.left{grid-area:2/1}.eb-dir.down{grid-area:3/2}.eb-dir.right{grid-area:2/3}.eb-actions{align-items:center;gap:10px;display:flex}.ebabon .eb-bomb,.ebabon .eb-special{box-shadow:none;touch-action:none;background:0 0;border:0;padding:0}.eb-special{flex-direction:column;align-items:center;display:flex}.eb-special span{font-size:10px}.ebabon .eb-switch{padding:6px;font-size:10px}.eb-stick{touch-action:none;text-align:center;background:radial-gradient(#547580,#142b40);border:4px solid #708694;border-radius:50%;flex:none;width:180px;height:180px;position:relative;box-shadow:inset 0 0 15px #000a}.eb-stick span{color:#a4b6be;font-size:9px;position:absolute;bottom:8px;left:0;right:0}.eb-stick i{background:linear-gradient(#d1dfdf,#607a8b);border:3px solid #102739;border-radius:50%;width:76px;height:76px;display:block;position:absolute;top:calc(50% - 38px);left:calc(50% - 38px);box-shadow:0 4px 8px #0008}.eb-overlay,.eb-countdown{z-index:5;text-align:center;background:#061523dd;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:20px;display:flex;position:absolute;inset:0;overflow:auto}.eb-overlay h2{color:#ffdc75;margin:4px;font-size:clamp(20px,4vw,34px)}.eb-overlay p{margin:3px;font-size:13px}.eb-overlay canvas{width:80px;height:80px}.eb-countdown{color:#fff2ab;pointer-events:none;background:#04162977;font-size:70px;font-weight:900}.eb-modal{z-index:1100;background:#041321e8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.eb-modal>.eb-panel{background:#173449;border:3px solid #8ca5ab;border-radius:12px;width:min(760px,100%);max-height:92dvh;overflow:auto}.eb-modal button{margin:10px}.eb-help-items{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.eb-help-items>span{flex-direction:column;align-items:center;font-size:12px;display:flex}.eb-error,.eb-connection{z-index:15;color:#fff;text-align:center;background:#642d3e;padding:12px;font-size:14px;position:relative}.eb-error button{margin-left:15px}.eb-ranking{padding:0;list-style:none}.eb-ranking li{background:#20394c;border-bottom:1px solid #567386;align-items:center;gap:18px;padding:18px;display:flex}.eb-ranking li b{color:#ffdb7d}.eb-ranking li strong{flex:1}.eb-ranking li span{font-size:13px}.eb-panel details{border:1px solid #4b6579;border-radius:8px;margin-top:20px;padding:14px}.eb-panel summary{cursor:pointer;color:#ffe08b;font-weight:800}@media (max-width:800px){.eb-mode-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding:18px}.eb-characters{grid-template-columns:repeat(3,1fr);gap:8px}.eb-panel{padding:20px}.eb-header{gap:10px;padding:10px}.eb-tagline{display:none}.eb-header>a{margin-left:auto}.eb-hero{height:380px}.eb-hero-copy{top:65px}.eb-hero-copy p{font-size:16px}.eb-character dl{font-size:11px}.eb-ranking li{flex-wrap:wrap;gap:10px}.eb-ranking li span{width:100%;padding-left:40px}.eb-roster>div{min-width:80px}.eb-player-strip>span{max-width:32%;padding:2px}.eb-player-strip strong{text-overflow:ellipsis;white-space:nowrap;max-width:64px;overflow:hidden}}@media (max-width:480px){.eb-characters{grid-template-columns:repeat(2,1fr)}.eb-hero{height:320px}.eb-hero-copy{top:42px;left:7%}.eb-hero-copy>span{letter-spacing:2px;font-size:8px}.eb-mode{min-height:175px!important;padding:14px!important}.eb-mode strong{font-size:17px}.eb-stage>canvas{width:100%;height:auto}.eb-help-items{grid-template-columns:repeat(2,1fr)}}body:has(.eb-playing){overscroll-behavior:none}.eb-playing{touch-action:none}.ebabon .eb-check{flex-direction:row;align-items:center;gap:10px}.ebabon .eb-check input{accent-color:#8dd484;width:20px;min-height:20px}.eb-movement{flex-direction:column;flex:none;align-items:center;gap:5px;display:flex}.ebabon .eb-control-mode{white-space:nowrap;min-height:44px;padding:7px 9px;font-size:12px}.eb-dpad{grid-template:repeat(3,48px)/repeat(3,48px)}.eb-dir canvas{pointer-events:none;width:100%;height:100%}.ebabon .eb-dir:hover,.ebabon .eb-dir:active,.ebabon .eb-bomb:hover,.ebabon .eb-bomb:active{transform:none}.eb-controls{-webkit-touch-callout:none}.eb-special-group{flex-direction:column;align-items:center;gap:8px;max-width:108px;display:flex}.eb-no-special{color:#c0d2dd;text-align:center;font-size:11px;line-height:1.6}.ebabon .eb-switch{white-space:normal;min-height:44px;font-size:11px}.ebabon .eb-bomb{min-width:var(--eb-bomb-size,120px);flex-direction:column;flex:none;align-items:center;gap:3px;display:flex}.eb-bomb canvas{width:var(--eb-bomb-size,120px);height:var(--eb-bomb-size,120px);flex:none}.eb-bomb>span{font-size:12px}.eb-stick i{pointer-events:none;will-change:transform}.eb-controls canvas{pointer-events:none}@media (max-width:900px),(max-height:600px){body:has(.eb-playing){overscroll-behavior:none;overflow:hidden}body:has(.eb-playing) .game-top-nav{visibility:hidden}.eb-playing{--eb-safe-top:env(safe-area-inset-top,0px);--eb-safe-bottom:env(safe-area-inset-bottom,0px);--eb-safe-left:env(safe-area-inset-left,0px);--eb-safe-right:env(safe-area-inset-right,0px);inset:var(--visual-top,0px) 0 auto;z-index:1000;box-sizing:border-box;width:100%;height:var(--visual-height,100dvh);max-width:none;padding:max(8px,var(--eb-safe-top)) max(8px,var(--eb-safe-right)) max(8px,var(--eb-safe-bottom)) max(8px,var(--eb-safe-left));background:#0b1e30;border:0;border-radius:0;flex-direction:column;margin:0;display:flex;position:fixed;overflow:hidden}.eb-playing .eb-header,.eb-playing .eb-footer{display:none}.eb-playing .eb-hud{flex:none;gap:8px;min-height:48px;padding:4px 6px;font-size:11px}.eb-playing .eb-hud strong{white-space:nowrap}.eb-playing .eb-hud>span{min-width:0;font-size:10px}.eb-playing .eb-hud>b{white-space:nowrap;font-size:20px}.eb-playing .eb-hud button{flex:none;min-height:40px;padding:6px 10px}.eb-playing .eb-player-strip{flex:none;gap:3px;min-height:32px;padding:3px}.eb-playing .eb-player-strip>span:only-child{max-width:100%}.eb-playing .eb-player-strip small{white-space:nowrap}.eb-playing .eb-stage{flex:1;min-height:0;padding:6px;overflow:hidden}.eb-playing .eb-stage>canvas{flex:none;max-width:100%;max-height:100%;box-shadow:0 0 0 2px #659179}.eb-playing .eb-item-strip{flex:none;gap:8px;min-height:28px;padding:5px 2px;font-size:10px}.eb-playing .eb-controls{flex:none;gap:8px;padding:6px 4px 2px}.eb-playing .eb-special canvas{width:40px;height:40px}.eb-playing .eb-actions{gap:6px}.eb-playing .eb-special-group{max-width:88px}.eb-playing .eb-error,.eb-playing .eb-connection{left:10%;right:10%;top:calc(max(8px,var(--eb-safe-top)) + 50px);position:absolute}.eb-playing .eb-modal{padding:max(12px,var(--eb-safe-top)) max(12px,var(--eb-safe-right)) max(12px,var(--eb-safe-bottom)) max(12px,var(--eb-safe-left))}.eb-playing .eb-modal>.eb-panel{max-height:100%;padding:18px}}@media (orientation:landscape) and (max-height:600px){.eb-playing .eb-hud{min-height:38px;padding:2px 8px}.eb-playing .eb-hud button{min-height:34px;padding:3px 10px}.eb-playing .eb-player-strip{flex-wrap:nowrap;min-height:28px}.eb-playing .eb-stage{padding:4px 172px 4px 192px}.eb-playing .eb-item-strip{white-space:nowrap;flex-wrap:nowrap;justify-content:center;height:28px;padding-block:2px;overflow:auto hidden}.eb-playing .eb-controls{bottom:calc(max(8px,var(--eb-safe-bottom)) + 4px);left:max(8px,var(--eb-safe-left));right:max(8px,var(--eb-safe-right));pointer-events:none;background:0 0;padding:0;position:absolute}.eb-playing .eb-controls>*{pointer-events:auto}.eb-playing .eb-dpad{grid-template:repeat(3,40px)/repeat(3,40px)}.eb-playing .eb-control-mode{min-height:36px;font-size:11px}.eb-playing .eb-actions{flex-direction:column-reverse;gap:5px;width:120px}.eb-playing .eb-special-group{gap:3px}.eb-playing .eb-special{flex-direction:row;gap:4px}.eb-playing .eb-special canvas{width:30px;height:30px}.eb-playing .eb-switch{min-height:36px;padding:4px;font-size:10px}.eb-playing .eb-controls{--eb-bomb-size:108px}.eb-playing .eb-bomb>span{display:none}.eb-playing .eb-overlay{padding:8px}.eb-playing .eb-overlay canvas{display:none}.eb-playing .eb-overlay h2{font-size:22px}.eb-playing .eb-overlay p{font-size:11px}.eb-playing .eb-overlay>div{max-height:100%;overflow:auto}}@media (max-width:600px) and (orientation:portrait){.eb-playing .eb-actions{flex:0 0 var(--eb-bomb-size,120px);flex-direction:column-reverse;gap:8px}:is(.eb-playing .eb-special-group,.eb-playing:has(.eb-stick) .eb-special-group){max-width:120px}}@media (max-width:360px) and (orientation:portrait){.eb-playing .eb-dpad{grid-template:repeat(3,42px)/repeat(3,42px)}.eb-playing .eb-control-mode{font-size:10px}.eb-playing .eb-actions{gap:3px}.eb-playing .eb-special-group{max-width:70px}.eb-playing .eb-controls{--eb-bomb-size:104px}.eb-playing .eb-hud>span{display:none}.eb-playing .eb-stick{width:156px;height:156px}.eb-playing .eb-stick i{width:68px;height:68px;top:calc(50% - 34px);left:calc(50% - 34px)}.eb-playing:has(.eb-stick) .eb-special-group{max-width:62px}}.eb-cheers{touch-action:pan-y;z-index:7;background:#153044;border:1px solid #6b8e9b;border-radius:8px;flex:none;margin:4px 0}.eb-cheers summary{cursor:pointer;color:#ffdf8a;padding:10px 14px;font-weight:700}.eb-cheers-content{overscroll-behavior:contain;max-height:32dvh;padding:6px 12px 12px;overflow:auto}.eb-cheer-buttons{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.eb-cheer-buttons button{min-width:60px;min-height:44px}.eb-playing:has(.eb-cheers)>.eb-note{margin:2px;padding:3px;font-size:11px}@media (orientation:landscape) and (max-height:600px){.eb-playing:has(.eb-cheers) .eb-controls{bottom:calc(max(8px,var(--eb-safe-bottom)) + 42px)}.eb-cheers summary{padding:5px 12px;font-size:12px}.eb-playing:has(.eb-cheers) .eb-cheers[open]{width:min(480px,80%);position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.eb-playing:has(.eb-cheers) .eb-cheers-content{max-height:55dvh}.eb-playing:not(:has(.eb-controls)) .eb-stage{padding-inline:6px}}.eb-performance{z-index:42;top:calc(env(safe-area-inset-top,0px) + 58px);color:#e2f5ea;pointer-events:none;text-align:center;background:#10202ce6;border-radius:7px;width:max-content;max-width:calc(100vw - 24px);padding:5px 9px;font:11px/1.5 monospace;position:fixed;left:50%;transform:translate(-50%)}
