






.eb-turnme { display: none; }
@media (orientation: portrait) {
  html.eb-phone body:not([data-upright]) { overflow: hidden; height: 100dvh; }
  html.eb-phone body:not([data-upright]) .eb-turnme { display: grid; position: fixed; inset: 0; z-index: 900; place-items: center; padding: 24px; background: rgba(24, 18, 58, .96); text-align: center; color: var(--shell); }

  html.eb-phone body:not([data-upright]) .eb-screen > :not(.eb-showcase):not(.eb-beam):not(.eb-pitch), html.eb-phone body:not([data-upright]) .eb-bar { visibility: hidden; }
  html.eb-phone body:not([data-upright]) .eb-screen > .eb-showcase { position: fixed !important; bottom: -4vh; width: 330vw; transform: translateX(-50%) perspective(900px) rotateX(50deg); }
  html.eb-phone body:not([data-upright]) .eb-showcase.on { opacity: 1; }
  html.eb-phone body:not([data-upright]) .eb-showcase::after { background: linear-gradient(to bottom, var(--night) 0%, rgba(22, 16, 58, 0) 25%); }
  html.eb-phone .eb-turnme.home { background: linear-gradient(to bottom, rgba(24, 18, 58, .97) 0%, rgba(24, 18, 58, .9) 52%, rgba(24, 18, 58, .1) 74%); }
  html.eb-phone .eb-turnme .tm-in { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 320px; }
  html.eb-phone .eb-turnme .eb-logo { font-size: 58px; transform: rotate(-4deg); margin-bottom: 18px; pointer-events: none; }

  html.eb-phone .eb-turnme .tm-ring { position: relative; display: grid; place-items: center; width: 220px; height: 220px; }
  html.eb-phone .eb-turnme:not(.home) .tm-ring { width: 170px; height: 170px; }
  html.eb-phone .eb-turnme .tm-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: eb-tm-tip 3.2s cubic-bezier(.5, -0.3, .3, 1.35) infinite; }
  html.eb-phone .eb-turnme .tm-egg { width: 172px; height: 172px; filter: drop-shadow(0 6px 0 #0C0820); animation: eb-tm-tip 3.2s cubic-bezier(.5, -0.3, .3, 1.35) infinite; }
  html.eb-phone .eb-turnme:not(.home) .tm-egg { width: 132px; height: 132px; }
  html.eb-phone .eb-turnme .tm-say { font-size: 26px; line-height: 1.1; color: var(--yolk); text-shadow: 0 3px 0 #0C0820; margin-top: 8px; }
  html.eb-phone .eb-turnme .tm-sub { font: 700 17px "Barlow Condensed", system-ui, sans-serif; color: var(--muted); }
}

@keyframes eb-tm-tip { 0%, 18% { transform: rotate(0); } 38%, 78% { transform: rotate(90deg); } 96%, 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { html.eb-phone .eb-turnme .tm-egg, html.eb-phone .eb-turnme .tm-ring svg { animation: none; } }



html.eb-phone .eb-bar .keys { display: flex; }


html.eb-phone .eb-screen > .eb-top { position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: 40px; padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); margin: 0; display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; background: var(--ink); border-bottom: 3px solid var(--yolk); }
html.eb-phone .eb-top > div:first-child, html.eb-phone .eb-top-left { display: flex; align-items: center; gap: 10px !important; flex-wrap: nowrap !important; min-width: 0; }
html.eb-phone .eb-top .eb-logo, html.eb-phone .eb-top-left .eb-logo { font-size: 22px !important; transform: rotate(-3deg); text-shadow: 0 2px 0 #000; }
html.eb-phone body:has(.eb-bar [data-esc]) .eb-screen > .eb-top, html.eb-phone body:has(#lb-leave) .eb-screen > .eb-top { padding-left: calc(max(12px, env(safe-area-inset-left)) + 84px); }
html.eb-phone .eb-top .eb-tag, html.eb-phone .eb-top .eb-chip:not(.eb-party-open) { font-size: 14px; padding: 2px 10px; border-width: 2px; box-shadow: 2px 2px 0 #000; }
html.eb-phone .eb-top h1, html.eb-phone .eb-top .eb-h1 { font-size: 20px; margin: 0; white-space: nowrap; }
html.eb-phone .eb-top-right { width: auto !important; display: flex !important; flex-wrap: nowrap; gap: 10px; margin: 0 0 0 auto; }
html.eb-phone .eb-top-right > :not(.eb-party-chip):not(.eb-me) { display: none; }

html.eb-phone body:has(.eb-menu, .eb-first) .eb-top-right > .eb-chip[href="/login"] { display: inline-flex; align-items: center; height: 32px; min-height: 0; padding: 0 14px; border-width: 2px; box-shadow: 3px 3px 0 #000; }
html.eb-phone .eb-top-right > .eb-chip[href="/login"] > span { font-size: 16px !important; }
html.eb-phone .eb-sbug, html.eb-phone .eb-logotag { display: none; }

html.eb-phone .eb-party-open { height: 32px; min-width: 44px; padding: 0 10px !important; justify-content: center; border-width: 2px !important; box-shadow: 3px 3px 0 #000 !important; }
html.eb-phone .eb-party-open > span { font-size: 0 !important; gap: 6px !important; }
html.eb-phone .eb-party-open .eb-party-balls svg { width: 20px !important; height: 20px !important; }
html.eb-phone .eb-party-open small { font-size: 13px; }

html.eb-phone body:not(:has(.eb-menu, .eb-first)) .eb-top .eb-me { display: none; }
html.eb-phone .eb-top .eb-me { height: 32px; padding: 0 14px 0 6px; border-width: 2px; box-shadow: 3px 3px 0 #000; }
html.eb-phone .eb-top .eb-me > span { gap: 8px !important; }
html.eb-phone .eb-top .eb-me svg:first-child, html.eb-phone .eb-top .eb-me .eb-sdecal { width: 22px !important; height: 22px !important; }
html.eb-phone .eb-top .eb-me > span > span:last-child { display: flex; align-items: baseline; gap: 8px; }
html.eb-phone .eb-top .eb-me .name { font-size: 16px; }
html.eb-phone .eb-top .eb-me .rank { font-size: 13px; margin: 0; gap: 4px; }
html.eb-phone .eb-top .eb-me .rank svg { width: 14px !important; height: 16px !important; }
html.eb-phone .eb-top .eb-me .lv { display: none; }


html.eb-phone .eb-bar { position: static !important; min-height: 0; margin: 18px 0 0; padding: 0; background: none; border: 0; }
html.eb-phone .eb-bar .tip { display: none; }
html.eb-phone body:has(.eb-screen > .lk) .eb-bar { margin-top: 0; }
html.eb-phone .eb-bar .keys [data-esc] { position: fixed; z-index: 31; top: 4px; left: max(10px, env(safe-area-inset-left)); height: 32px; min-height: 0 !important; padding: 0 12px 0 10px; background: var(--panel); border: 2px solid #000; box-shadow: 3px 3px 0 #000; transform: skewX(-10deg); font-size: 15px; }
html.eb-phone .eb-bar .keys [data-esc]::before { content: "\2039"; font-size: 22px; line-height: 1; margin-right: 2px; color: var(--yolk); }
html.eb-phone .eb-bar .keys [data-esc] { width: 70px; justify-content: center; font-size: 0; color: var(--shell); }
html.eb-phone .eb-bar .keys [data-esc]::after { content: "Back"; font: italic 800 16px "Barlow Condensed", system-ui, sans-serif; transform: skewX(10deg); }

html.eb-phone .eb-bar .keys #lb-leave { position: fixed; z-index: 31; top: 4px; left: max(10px, env(safe-area-inset-left)); width: 70px; height: 32px; min-height: 0 !important; padding: 0 12px 0 10px; justify-content: center; background: var(--panel); border: 2px solid #000; box-shadow: 3px 3px 0 #000; transform: skewX(-10deg); font-size: 0; color: var(--shell); }
html.eb-phone .eb-bar .keys #lb-leave::before { content: "\2039"; font-size: 22px; line-height: 1; margin-right: 2px; color: var(--yolk); }
html.eb-phone .eb-bar .keys #lb-leave::after { content: "Leave"; font: italic 800 16px "Barlow Condensed", system-ui, sans-serif; transform: skewX(10deg); }

html.eb-phone .eb-h1 { font-size: 30px !important; }

html.eb-phone .eb-bar-legal { margin: 0 auto; gap: 0 16px; flex-wrap: wrap; justify-content: center; }
html.eb-phone .eb-bar-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 16px; }
html.eb-phone .eb-bar:has(.eb-bar-legal) { justify-content: center; }





html.eb-phone .eb-bar .keys :is([data-esc], #lb-leave)::after { padding: 12px 10px 18px 44px; margin: -12px -10px -18px -44px; }

html.eb-phone .eb-top :is(.eb-logo, .eb-party-open, .eb-me, .eb-chip[href="/login"])::before { content: ""; position: absolute; inset: -4px -4px -10px; font-style: italic; }







@media (hover: none) and (pointer: coarse) {
  body.eb :is(.eb-htab, .eb-party-x, .pf-seg a, .lk-search, .hx-wish summary, a.pf-h2h, .as-x, .st-sounds-x, .lb-friends .pc-x, .st-credits a, summary.st-gh) { position: relative; }
  body.eb :is(.eb-htab, .eb-period, .lk-chip, .st-chip, .ebs-ctab, .lk-card-b, .eb-party-x, .sn-arrow, .as-sw, .st-flip, .pf-seg a, .pf-drop summary, .lk-search, .hx-wish summary, a.pf-h2h, .as-x, .st-sounds-x, .pc-x, .h-u, .st-credits a)::before { content: ""; position: absolute; inset: min(0px, calc((100% - 44px) / 2)); }

  body.eb summary.st-gh::after { content: ""; position: absolute; inset: -13px 0; }


  body.eb .eb-mk .eb-check input { width: 24px; height: 24px; border-width: 3px; }
  body.eb .eb-mk .eb-check input::after { width: 6px; height: 11px; margin-top: -2px; border-width: 0 3px 3px 0; }
  body.eb .eb-check { position: relative; }
  body.eb .eb-check::before { content: ""; position: absolute; inset: -10px 0; }
  .eb-party-x .eb-key { display: none; }


  body.eb .eb-vote-opt .eb-vote-about { font-size: max(10px, calc(13 * var(--p))); line-height: 1.2; }
  body.eb .eb-vote-opt span { font-size: max(10px, calc(16 * var(--p))); }

  body.eb .ebs-find input, body.eb .ebs-filter { font-size: max(16px, calc(22 * var(--p))); }
}

@media (orientation: portrait) { html.eb-phone body:not([data-upright]) > .eb-party { visibility: hidden; } }
@media (orientation: landscape) {

  html.eb-phone .eb-errart { width: auto; max-width: 92%; height: max(110px, calc(100dvh - 214px)); }


  html.eb-phone .eb button.hl-go { white-space: nowrap; padding: 6px 14px; gap: 7px; }
  html.eb-phone .eb .hl-go5 { padding: 6px 10px; gap: 5px; }
  html.eb-phone .hl-gos { gap: 6px; }


  html.eb-phone :is(.eb-lobby-bar, .lb-phone-btns, .eb-lobby-invite) .eb-btn > span { position: relative; }
  html.eb-phone :is(.eb-lobby-bar, .lb-phone-btns, .eb-lobby-invite) .eb-btn > span::before { content: ""; position: absolute; inset: -14px -12px; }

  html.eb-phone .eb-team-head .n { white-space: nowrap; }
  html.eb-phone .eb-team-head .eb-mini { position: relative; }
  html.eb-phone .eb-team-head .eb-mini::before { content: ""; position: absolute; inset: -12px -4px; }

  html.eb-phone .lk-slot-l { letter-spacing: 0; }
}





@media (orientation: landscape) {
  html.eb-phone .lk-wear, html.eb-phone .lk-new { font-size: max(9px, calc(14 * var(--p))); }
  html.eb-phone .lb-th { font-size: max(10px, calc(17 * var(--p))); letter-spacing: .04em; }


  html.eb-phone body.lb-rules-open .eb-lobby-settings :is(select, input).eb-input { font-size: 16px; }
  html.eb-phone .eb-form #g-teams { font-size: 16px; }
}


@media (orientation: landscape) and (max-width: 700px) {
  html.eb-phone .eb button.hl-go, html.eb-phone .eb .hl-go5 { flex-direction: column; gap: 0; padding: 3px 14px; }
  html.eb-phone .eb .hl-go5 { padding: 3px 10px; }


  html.eb-phone body .eb-team-head { padding: 3px 6px; gap: 5px; font-size: 15px; }
  html.eb-phone body .eb-team-head :is(.lb-start, .lb-start-tag) { font-size: 11px; padding: 1px 3px; margin-left: 0; }
  html.eb-phone body .eb-team-head .eb-mini { font-size: 12px !important; padding: 2px 6px !important; }
}


@media (orientation: portrait) { html.eb-phone body[data-upright] .eb-screen { padding-top: 54px; } }




@media (orientation: portrait) {
  html.eb-phone body[data-upright] .eb-screen:has(.eb-cdown) { padding: 0; }
  html.eb-phone .eb-cdown { --k: min(calc(100vw / 800), calc(100vh / 1100)); gap: calc(40 * var(--k)); }
  html.eb-phone .eb-cdown-when { font-size: calc(46 * var(--k)); }
  html.eb-phone .eb-cdown-line { max-width: 19em; font-size: calc(34 * var(--k)); }
  html.eb-phone .eb-cdown-notes { font-size: calc(40 * var(--k)); }

  html.eb-phone .eb-cdown-clock:not(.no-days) .u { min-width: 0; padding-left: calc(18 * var(--k)); padding-right: calc(18 * var(--k)); }
}


@media (orientation: landscape) {

  html.eb-phone .eb { --p: clamp(0.42px, min(calc((100vh - 40px) / 560), calc(100vw / 1480)), 0.6px); }
  html.eb-phone .eb-screen { padding: 50px max(14px, env(safe-area-inset-right)) 18px max(14px, env(safe-area-inset-left)); min-height: 100dvh; }


  html.eb-phone .eb-menu { grid-template-columns: 108px 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr 58px; grid-auto-rows: auto; height: calc(100dvh - 64px); min-height: 250px; gap: 9px; margin: 0 6px 0 10px; transform: skewX(var(--skew)); }
  html.eb-phone .eb-menu > .eb-side { order: 0; min-height: 0; }
  html.eb-phone .eb .eb-menu > .eb-tile, html.eb-phone .eb .eb-side > .eb-tile { height: auto; min-height: 0; }
  html.eb-phone .eb-side { grid-row: 1 / 4; grid-column: auto; flex-direction: column; gap: 7px; }
  html.eb-phone .eb .eb-menu > .eb-tile.ranked { grid-row: 1 / 4; grid-column: auto; height: auto; min-height: 0; }
  html.eb-phone .eb-tile { border-width: 3px; --sh-u: 1px; --sh-o: 4; }
  html.eb-phone .eb-tile .in { inset: 0 -20px; transform: skewX(var(--unskew)); }
  html.eb-phone .eb-tile.small .in { inset: 0; padding: 0 0 6px 10px; flex-direction: row; align-items: center; gap: 6px; justify-content: flex-start; }
  html.eb-phone .eb-tile.small .in svg { width: 22px !important; height: 22px !important; }
  html.eb-phone .eb-tile.small .t { font-size: 15px; margin: 0; }
  html.eb-phone .eb-tile .label { left: 30px; right: 26px; bottom: 10px; gap: 2px; }
  html.eb-phone .eb-tile .label .t { font-size: 25px !important; }
  html.eb-phone .eb-tile .label .s { font-size: 12px !important; }
  html.eb-phone .eb-tile .art { width: 40%; top: 8px; right: 30px; }
  html.eb-phone .eb-tile.ranked .label { left: 34px; bottom: 14px; gap: 5px; }
  html.eb-phone .eb-tile.ranked .label .t { font-size: 44px !important; }
  html.eb-phone .eb-tile.ranked .label .s { font-size: 14px !important; }
  html.eb-phone .eb-tile.ranked .art { width: 52%; right: 34px; top: 6px; }
  html.eb-phone .eb-tile.strip .label { bottom: 6px; right: 34%; }
  html.eb-phone .eb-tile.strip .label .t { font-size: 18px !important; }
  html.eb-phone .eb-tile.strip .label .s { font-size: 11px !important; }
  html.eb-phone .eb-tile.strip .art { height: 66%; top: 17%; }
}

@media (orientation: landscape) and (max-width: 700px), (orientation: landscape) and (max-height: 320px) {
  html.eb-phone .eb-side { flex-wrap: nowrap; }
  html.eb-phone .eb-side .eb-tile.small { flex: 1 1 0; min-height: 0; }
  html.eb-phone .eb-menu { grid-template-columns: 92px 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr 46px; min-height: 220px; gap: 7px; }
  html.eb-phone .eb-tile.small .t { font-size: 14px; }
  html.eb-phone .eb-tile .label { left: 26px; right: 22px; bottom: 7px; }
  html.eb-phone .eb-tile .label .t { font-size: 20px !important; }
  html.eb-phone .eb-tile .label .s { font-size: 11px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.eb-phone .eb-tile.ranked .label .t { font-size: 34px !important; }
  html.eb-phone .eb-tile.ranked .label .s { font-size: 12px !important; }
  html.eb-phone .eb-tile.ranked .art { width: 46%; }
  html.eb-phone .eb-tile.strip .label .t { font-size: 15px !important; }
  html.eb-phone .eb-tile.strip .label .s { display: none; }
  html.eb-phone .eb-top .eb-me .rank { display: none; }
}

@media (orientation: landscape) {

  html.eb-phone .eb .eb-q { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 18px; margin-top: 4px; }
  html.eb-phone .eb .eb-q > div { display: block !important; }

  html.eb-phone .eb-screen:has(> .lk) { height: 100dvh; display: flex; flex-direction: column; padding-bottom: 0; }
  html.eb-phone .eb .lk { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 16px; margin-top: 0; flex: 1; min-height: 0; }
  html.eb-phone .eb .lk-stage { flex: 1; height: auto; min-height: 0; }
  html.eb-phone .eb .lk-scroll { overflow: auto; padding-bottom: 16px; }
  html.eb-phone .eb .lk-filters { flex-wrap: wrap; row-gap: 6px; }
  html.eb-phone .eb .lk-filters { position: relative; }

  html.eb-phone .eb .lk-who { right: 12px; }
  html.eb-phone .eb .lk-trying { top: auto; bottom: 10px; right: auto; left: 50%; translate: -50% 0; }
  html.eb-phone .eb .lk-rbtn { display: inline-flex !important; }
  html.eb-phone .eb .lk-rars { display: none; position: absolute; z-index: 20; top: 100%; margin-top: 6px; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; background: #1C1548; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
  html.eb-phone .eb .lk-rars.open { display: flex; }
  html.eb-phone .eb-screen:has(> .lk) .eb-bar { display: contents; }
}



@media (orientation: landscape) {
  html.eb-phone .eb-watch-strip { display: flex; top: max(6px, env(safe-area-inset-top)); padding: 3px 12px; gap: 0; }
  html.eb-phone .eb-watch-strip b { font-size: 15px; }
  html.eb-phone .eb-watch-strip > span { display: none; }
  html.eb-phone a.eb-btn.eb-watch-join { right: max(10px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); font-size: 15px; padding: 4px 12px; --bw: 2px; --bs: 3px 3px 0 #0C0820; }
}





html.eb-phone .st-cols { grid-template-columns: 1fr; }


html.eb-phone .st-cols:empty { min-height: 100vh; }
html.eb-phone .st-top { gap: 10px 16px; }
html.eb-phone .st-top h1 { font-size: 34px; }
html.eb-phone .st-find { width: auto; flex: 1; min-width: 0; }
html.eb-phone .st-tabs { order: 3; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 6px 6px 4px; }
html.eb-phone .st-tabs .eb-htab { font-size: 18px; padding: 6px 16px; }
html.eb-phone .st-tabkey { display: none; }

html.eb-phone .as-wrap { padding: 0; display: block; }
html.eb-phone .as { width: 100%; height: 100%; border: 0; box-shadow: none; }
html.eb-phone .as-head { padding: 6px 14px 4px max(14px, env(safe-area-inset-left)); }
html.eb-phone .as-head h2 { font-size: 24px; }
html.eb-phone .as-x { font-size: 30px; }
html.eb-phone .as-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); }
html.eb-phone .as-stage { gap: 6px; }
html.eb-phone .as-fieldbox { min-height: 0; }
html.eb-phone .as-looks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 5px; }
html.eb-phone .as-looks .as-l { display: none; }
html.eb-phone .as-looks .st-chip { font-size: 13px; padding: 4px 9px; white-space: nowrap; }
html.eb-phone .as-tabs .eb-htab { font-size: 15px; padding: 5px 12px; }
html.eb-phone .as-blk { padding: 2px 0 10px; }
html.eb-phone .as-bh { font-size: 14px; margin-bottom: 5px; }
html.eb-phone .as-tiles { gap: 6px; }
html.eb-phone .eb .as-tile { width: 62px; padding: 4px 2px; font-size: 11px; gap: 2px; }
html.eb-phone .eb .as-tile svg { width: 48px; }
html.eb-phone .as-slider { width: 150px; height: 16px; }
html.eb-phone .as-sl output { font-size: 15px; min-width: 44px; }
html.eb-phone .as-sln { width: 62px; font-size: 13px; }
html.eb-phone .as-sls .as-slider { width: 110px; }
html.eb-phone .as-pair { gap: 12px; }
html.eb-phone .eb .as-sw { width: 28px; height: 28px; }
html.eb-phone .eb .as-sw.team { width: 50px; }
html.eb-phone .eb .as-sw > span { font-size: 12px; }
html.eb-phone .as-colors { gap: 6px; }
html.eb-phone .as-tabs .eb-htab svg { width: 16px; height: 16px; }
html.eb-phone .as-foot { padding: 6px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left)); gap: 8px; }
html.eb-phone .as-tools { gap: 6px; }
html.eb-phone .as-code, html.eb-phone .as-paste { width: 372px; font-size: 16px; }
html.eb-phone .as-code { letter-spacing: 0; }
html.eb-phone .eb-qchat-f, html.eb-phone .eb-qchat-log > li.sys:first-child { display: none; }
html.eb-phone .eb-bar [data-esc] .eb-key { display: none !important; }
@media (orientation: landscape) { html.eb-phone .eb-qwait { margin-top: 12px; } }


@media (orientation: landscape) { html.eb-phone .hx-how-panel { position: fixed; top: 48px; right: max(10px, env(safe-area-inset-right)); left: auto; width: min(400px, calc(100vw - 20px)); max-height: calc(100dvh - 60px); overflow: auto; padding: 10px 14px; gap: 6px; } html.eb-phone .hx-how-panel p { font-size: 13px; } html.eb-phone .hx-earn-panel { --pad: 14px; --pad-t: 22px; bottom: auto; top: 64px; z-index: 50; width: min(440px, calc(100vw - 20px)) !important; max-height: none; overflow: visible; padding-top: 22px; } html.eb-phone .hx-earn-panel .eb-yolkplate { min-height: 56px; padding-left: 86px; } html.eb-phone .hx-earn-panel .eb-yolkplate > svg { width: 66px !important; height: 66px !important; top: -16px; } html.eb-phone .hx-earn-panel .eb-yolkplate > b { font-size: 24px; } }




@media all {

  html.eb-phone .eb-touch-btns, html.eb-phone .eb-tchat, html.eb-phone .eb-arena #eb-chat-box, html.eb-phone #eb-celebrate-hint { display: none !important; }

  html.eb-phone #eb-hud { cursor: pointer; pointer-events: auto; transform: translateX(-50%) scale(.46); transform-origin: bottom center; bottom: max(2px, env(safe-area-inset-bottom)); }

  html.eb-phone .eb-arena .eb-leave-wrap { top: max(5px, env(safe-area-inset-top)) !important; right: calc(max(8px, env(safe-area-inset-right)) + 40px) !important; transform: none; }
  html.eb-phone .eb-arena #eb-share { margin-right: 8px; }
  html.eb-phone .eb-arena #eb-leave, html.eb-phone .eb-arena #eb-share { position: relative; font-size: 12px; padding: 1px 8px 2px; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
  html.eb-phone .eb-arena #eb-leave::after, html.eb-phone .eb-arena #eb-share::after { content: ""; position: absolute; inset: -11px -7px; }
  html.eb-phone .eb-arena #eb-sound { top: max(5px, env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); }
  html.eb-phone .eb-arena #eb-music { display: none; }


  html.eb-phone .eb-arena #eb-sound-open { display: none; }
  html.eb-phone .eb-arena #eb-sound-panel { position: static; display: flex; width: auto; }
  html.eb-phone .eb-arena #eb-sound-panel > input { display: none !important; }
  html.eb-phone .eb-arena .eb-song-line { display: none; }
  html.eb-phone .eb-arena #eb-sound-panel { padding: 2px 4px; gap: 0; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
  html.eb-phone .eb-arena #eb-sound-panel > button { position: relative; width: 18px; height: 18px; }
  html.eb-phone .eb-arena #eb-sound-panel > button::after { content: ""; position: absolute; inset: -12px -5px; }

  html.eb-phone .eb-arena #eb-chat-log { position: fixed !important; top: calc(max(5px, env(safe-area-inset-top)) + 26px) !important; right: max(8px, env(safe-area-inset-right)) !important; left: auto !important; bottom: auto !important; width: min(200px, 26vw); height: auto; max-height: none; margin: 0; align-items: flex-end; pointer-events: none; font-size: 11px !important; line-height: 1.1; }
  html.eb-phone .eb-arena #eb-chat-log > div { text-align: right; }
  html.eb-phone .eb-arena #eb-chat-log > div:nth-child(n + 3) { display: none; }

  html.eb-phone .eb-gametip { top: max(5px, env(safe-area-inset-top)); left: max(8px, env(safe-area-inset-left)); max-width: min(220px, 30vw) !important; padding: 3px 8px 4px 6px; gap: 5px; font-size: 11px; line-height: 1.2; }
  html.eb-phone .eb-gametip b { font-size: 10px; padding: 0 5px; }

  html.eb-phone .eb-powerup { top: auto !important; right: auto !important; left: max(14px, env(safe-area-inset-left)) !important; bottom: calc(var(--eb-stick-top, 160px) + 14px) !important; min-width: 0 !important; min-height: 28px !important; padding: 2px 9px 2px 6px !important; gap: 5px !important; border-width: 2px !important; box-shadow: 2px 2px 0 var(--ink, #0C0820) !important; transform: skewX(-10deg) !important; }
  html.eb-phone .eb-powerup::after { content: ""; position: absolute; inset: -11px -10px; }

  html.eb-phone .eb-powerup.eb-right { left: auto !important; right: max(calc(env(safe-area-inset-right) + 14px), calc(14vw - 45px)) !important; bottom: calc(var(--eb-stick-mid, 85px) - 14px) !important; }
  html.eb-phone .eb-powerup.eb-right::after { inset: -14px -16px; }
  html.eb-phone .eb-powerup b { font-size: 12px !important; }
  html.eb-phone .eb-powerup kbd { display: none !important; }
  html.eb-phone .eb-powerup i { width: 12px !important; height: 12px !important; border-width: 2px !important; }

  html.eb-phone .eb-board { background: rgba(12, 8, 32, .35); }
  html.eb-phone .bd-panel { width: min(400px, 52vw); max-height: 90vh; padding: 6px 8px 5px; gap: 3px; border-width: 3px; box-shadow: 5px 5px 0 var(--ink); }
  html.eb-phone .bd-team .wide { display: none; }
  html.eb-phone .bd-team header { padding: 0 9px; margin-bottom: 2px; }
  html.eb-phone .bd-team header b { font-size: 14px; -webkit-text-stroke: 3px var(--ink); }
  html.eb-phone .bd-team header .sc { font-size: 15px; -webkit-text-stroke: 3px var(--ink); }
  html.eb-phone .bd-team th { font-size: 11px; padding: 0 4px; }
  html.eb-phone .bd-team td { font-size: 12px; padding: 0 4px; border-top-width: 1px; }
  html.eb-phone .bd-team td.n { width: 38px; }
  html.eb-phone .bd-team td.nm button { font-size: 12px; gap: 5px; }
  html.eb-phone .bd-team td.nm button span { max-width: 110px; }
  html.eb-phone .bd-ball { width: 12px; height: 12px; }
  html.eb-phone .bd-team tr.lead td.nm button::before { width: 15px; height: 11px; }
  html.eb-phone .bd-tag, html.eb-phone .bd-lv { font-size: 10px; padding: 0 4px; border-width: 1px; }
  html.eb-phone .bd-panel footer { font-size: 11px; }
}






html.eb-phone .eb-phone-bar { position: fixed; z-index: 49; left: 0; right: 0; top: 0; height: calc(max(4px, env(safe-area-inset-top)) + 46px); background: #16103A; border-bottom: 3px solid #0C0820; pointer-events: none; }
html.eb-phone #eb-hud { top: max(4px, env(safe-area-inset-top)) !important; bottom: auto !important; transform: translateX(-50%) scale(.5) !important; transform-origin: top center !important; }
html.eb-phone .eb-phone-menu { position: fixed; z-index: 86; top: calc(max(4px, env(safe-area-inset-top)) + 5px); right: max(8px, env(safe-area-inset-right)); min-width: 58px; height: 32px; padding: 0 10px; background: #2E2470; color: #FFF3D6; border: 2px solid #0C0820; border-radius: 7px; box-shadow: 2px 2px 0 #0C0820; font: italic 800 14px "Barlow Condensed", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .02em; -webkit-tap-highlight-color: transparent; }
html.eb-phone .eb-phone-menu::after { content: ""; position: absolute; inset: -7px -8px -9px; }
html.eb-phone.eb-menu-open .eb-phone-menu { background: #FFC21A; color: #0C0820; }
html.eb-phone .eb-arena .eb-leave-wrap, html.eb-phone .eb-arena #eb-sound { display: none !important; }
html.eb-phone.eb-menu-open .eb-arena .eb-leave-wrap { display: flex !important; top: calc(max(4px, env(safe-area-inset-top)) + 56px) !important; right: max(8px, env(safe-area-inset-right)) !important; z-index: 86; }
html.eb-phone.eb-menu-open .eb-arena #eb-sound { display: block !important; top: calc(max(4px, env(safe-area-inset-top)) + 102px) !important; right: max(8px, env(safe-area-inset-right)) !important; z-index: 86; }
html.eb-phone.eb-menu-open .eb-arena #eb-leave, html.eb-phone.eb-menu-open .eb-arena #eb-share { font-size: 15px; padding: 5px 12px 6px; }
html.eb-phone.eb-menu-open .eb-arena #eb-sound-panel > button { width: 30px; height: 30px; }


html.eb-phone.eb-menu-open .eb-arena #eb-leave::after, html.eb-phone.eb-menu-open .eb-arena #eb-share::after { inset: -7px -8px; }
html.eb-phone.eb-menu-open .eb-arena #eb-sound-panel > button::after { inset: -8px -8px; }

html.eb-phone .eb-arena #eb-chat-log { top: calc(max(4px, env(safe-area-inset-top)) + 54px) !important; width: min(200px, 44vw); }
@media (orientation: portrait) { html.eb-phone .eb-arena #eb-chat-log { top: calc(max(4px, env(safe-area-inset-top)) + 92px) !important; } }
html.eb-phone.eb-menu-open .eb-arena #eb-chat-log { visibility: hidden; }
html.eb-phone .eb-goalfeed { top: calc(max(4px, env(safe-area-inset-top)) + 54px) !important; }
html.eb-phone .eb-gametip { top: calc(max(4px, env(safe-area-inset-top)) + 54px) !important; }
@media (orientation: portrait) {
  html.eb-phone .bd-panel { width: min(400px, 94vw); }
  html.eb-phone .eb-gametip { left: 10px !important; right: 10px; bottom: auto !important; max-width: none !important; }

  html.eb-phone #eb-calls { top: calc(max(4px, env(safe-area-inset-top)) + 54px); }
  html.eb-phone body:has(.eb-gametip.on) #eb-calls { top: calc(max(4px, env(safe-area-inset-top)) + 132px); }
  html.eb-phone .eb-powerup { bottom: calc(var(--eb-stick-top, 200px) + 14px) !important; }
}


body.eb-arena-page.eb-phone-surround { background: var(--eb-surround, #18123A) !important; }
body.eb-arena-page.eb-phone-surround::before, body.eb-arena-page.eb-phone-surround::after { display: none !important; }

html.eb-touch .eb-stick { background: rgba(12, 8, 32, .22); border: 2px solid rgba(255, 243, 214, .62); }
html.eb-touch .eb-stick.rest { opacity: 1; }
html.eb-touch .eb-stick:not(.rest) { background: rgba(255, 194, 26, .16); border-color: rgba(255, 194, 26, .8); }
html.eb-touch .eb-stick i { width: 58px; height: 58px; background: rgba(255, 243, 214, .26); border: 2px solid rgba(255, 243, 214, .75); }
html.eb-touch .eb-stick:not(.rest) i { background: rgba(255, 194, 26, .9); border-color: #0C0820; }
html.eb-touch .eb-stick.stick.rest::after { content: "Move"; position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; font: italic 800 12px/1 "Barlow Condensed", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 243, 214, .72); }

.eb-throw { display: none; }
html.eb-touch .eb-throw { display: grid; place-items: center; align-content: center; position: fixed; z-index: 81; right: calc(var(--eb-stick-x, 118px) - 50px); bottom: calc(var(--eb-stick-mid, 117px) - 50px); width: 100px; height: 100px; padding: 0; border-radius: 50%; background: rgba(255, 194, 26, .24); border: 2.5px solid rgba(255, 194, 26, .95); color: #FFF3D6; text-shadow: 0 2px 0 #0C0820; font: italic 800 16px/1 "Barlow Condensed", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; touch-action: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
html.eb-touch .eb-throw svg { width: 34px; height: 34px; fill: #FFF3D6; stroke: #0C0820; stroke-width: 1.7; stroke-linejoin: round; pointer-events: none; }
html.eb-touch .eb-throw b { margin-top: 2px; font-weight: 800; pointer-events: none; }
html.eb-touch .eb-throw.down { background: #FFC21A; color: #0C0820; text-shadow: none; transform: scale(.95); }
html.eb-touch.eb-stick-right .eb-throw { right: auto; left: calc(var(--eb-stick-x, 118px) - 50px); }
html.eb-touch.eb-no-steer .eb-throw, html.eb-touch body:has(.eb-coach.done) .eb-throw, html.eb-touch body:has(.eb-results) .eb-throw { display: none; }


@media (orientation: landscape) and (max-height: 340px) {
  html.eb-phone .eb-powerup:not(.eb-right) { left: calc(var(--eb-stick-x, 118px) + 88px) !important; bottom: calc(var(--eb-stick-mid, 117px) - 14px) !important; }
  html.eb-phone.eb-stick-right .eb-powerup:not(.eb-right) { left: auto !important; right: calc(var(--eb-stick-x, 118px) + 88px) !important; }
}

html.eb-phone .eb-powerup.eb-right { bottom: calc(var(--eb-stick-mid, 117px) + 66px) !important; }



html.eb-phone .htp-tabs, html.eb-phone #htp-p-keys, html.eb-phone #htp-p-pad { display: none; }
html.eb-phone #htp-p-touch { display: block !important; }


html.eb-phone .eb-coach-skip { min-height: 40px; padding: 0 16px !important; font-size: 15px !important; display: inline-flex; align-items: center; top: calc(100% + 6px) !important; bottom: auto !important; right: 0 !important; }



html.eb-phone .eb .rs-band, html.eb-phone .eb .rs-row { grid-template-columns: minmax(0, 1fr) repeat(4, calc(84 * var(--p))); }
html.eb-phone .rs-band > :is(:nth-child(5), :nth-child(6), :nth-child(8)),
html.eb-phone .rs-row > :is(:nth-child(5), :nth-child(6), :nth-child(8)) { display: none; }
html.eb-phone .rs-band > :nth-child(7), html.eb-phone .rs-row > :nth-child(7) { display: revert; }
@media (orientation: portrait) {

  html.eb-phone .eb .rs-band, html.eb-phone .eb .rs-row { grid-template-columns: minmax(0, 1fr) repeat(4, 46px); }
  html.eb-phone .rs-row .eb-tag { font-size: 11px; padding: 0 4px; }
  html.eb-phone .rs-row .n { font-size: 17px; gap: 6px; }
  html.eb-phone .rs-band > span:not(.n) { font-size: 13px; }
}
@media (orientation: landscape) {
  html.eb-phone .eb .rs-body { grid-template-columns: minmax(0, 1fr) calc(620 * var(--p)); gap: calc(34 * var(--p)); }
}

html.eb-phone .rs-chat-in { display: none !important; }


@media (orientation: landscape) {
  html.eb-phone .ebr { left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); bottom: max(6px, env(safe-area-inset-bottom)); gap: 3px; padding: 4px 8px 5px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink, #0C0820); font-size: 12px; }
  html.eb-phone .ebr-track { height: 16px; }
  html.eb-phone .ebr-track::before, html.eb-phone .ebr-fill { top: 6px; height: 4px; }
  html.eb-phone .ebr-mark { height: 14px; width: 9px; margin-left: -4px; border-width: 2px; }
  html.eb-phone .ebr-row { flex-wrap: nowrap; gap: 5px; }
  html.eb-phone .ebr-row [data-skip="-15"], html.eb-phone .ebr-row [data-skip="15"], html.eb-phone .ebr-step, html.eb-phone .ebr-sel > span:first-child { display: none; }
  html.eb-phone .ebr-b { min-width: 34px; height: 28px; padding: 0 7px; border-width: 2px; }

  html.eb-phone .ebr-discord { display: none; }
  html.eb-phone .ebr-play { width: 38px; }
  html.eb-phone .ebr-play svg { width: 14px; height: 14px; }
  html.eb-phone .ebr-clock { min-width: 52px; font-size: 15px; }
  html.eb-phone .ebr-sp { min-width: 0 !important; height: 28px; padding: 0 6px !important; font-size: 12px; border-width: 2px !important; }
  html.eb-phone .ebr-sel select { height: 28px; max-width: 120px; border-width: 2px; font-size: 12px; }
  html.eb-phone .ebr-share { min-width: 0; }
}

@media (orientation: landscape) {
  html.eb-phone .eb-coach:not(.done) { top: max(5px, env(safe-area-inset-top)) !important; left: max(8px, env(safe-area-inset-left)) !important; max-width: min(330px, 44vw) !important; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
  html.eb-phone .eb-coach-step { padding: 0 8px; font-size: 13px; border-right-width: 2px; }
  html.eb-phone .eb-coach-body { padding: 4px 9px 6px; gap: 2px; }
  html.eb-phone .eb-coach-body .eb-display { font-size: 15px; }
  html.eb-phone .eb-coach .eb-coach-body p { font-size: 12px; line-height: 1.2; }
  html.eb-phone .eb-coach-skip { min-height: 40px; font-size: 14px !important; padding: 0 12px !important; }
  html.eb-phone .eb-coach-say { font-size: 13px; padding: 4px 10px; bottom: auto; top: calc(100% + 52px); left: 0; max-width: 100%; }
}




.eb-stick svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.eb-stick svg path { transform-box: fill-box; transform-origin: center; }
.eb-stick.stick svg path { fill: rgba(255, 194, 26, .38); stroke: none; opacity: 0; }
.eb-stick.stick svg path.on { opacity: 1; }
.eb-stick.pad, .eb-stick.dpad { background: none; border: 0; border-radius: 0; }
.eb-stick.pad i, .eb-stick.dpad i { display: none; }
.eb-stick.pad svg path, .eb-stick.dpad svg path { fill: rgba(36, 27, 87, .62); stroke: #0C0820; stroke-width: 3; stroke-linejoin: round; }
.eb-stick.pad svg path:nth-child(odd) { fill: rgba(46, 36, 112, .7); }
.eb-stick.pad svg path.on, .eb-stick.dpad svg path.on { fill: #FFC21A; }
.eb-stick.pad.rest, .eb-stick.dpad.rest { opacity: .55; }
@keyframes eb-stick-pop { 0% { scale: 1.18; } 100% { scale: 1; } }
.eb-stick.stick.pop i, .eb-stick.pad.pop svg path.on { animation: eb-stick-pop .12s ease-out; }
@media (prefers-reduced-motion: reduce) { .eb-stick.pop i, .eb-stick.pop svg path.on { animation: none; } }

@media (orientation: landscape) {
  html.eb-phone.eb-stick-right .eb-powerup { left: auto !important; right: max(14px, env(safe-area-inset-right)) !important; }
  html.eb-phone.eb-stick-right .eb-powerup.eb-right { right: auto !important; left: max(calc(env(safe-area-inset-left) + 14px), calc(14vw - 45px)) !important; }
}


html.eb-touch .eb-results { padding-left: max(calc(72 * var(--p)), env(safe-area-inset-left)); padding-right: max(calc(72 * var(--p)), env(safe-area-inset-right)); }





@media (orientation: landscape) {
  html.eb-phone body:has(.eb-lobby) .lb-phone-only { display: revert !important; }
  html.eb-phone body:has(.eb-lobby) .lb-sheet-h.lb-phone-only { display: flex !important; }
  html.eb-phone body:has(.eb-lobby) .lb-phone-only[hidden] { display: none !important; }

  html.eb-phone body:has(.eb-lobby) .eb-top .eb-logo, html.eb-phone .eb-lobby-invite > span:first-child, html.eb-phone #lb-invite { display: none !important; }
  html.eb-phone .eb-lobby-invite { margin-left: 0; }
  html.eb-phone .eb-lobby-invite .eb-btn { height: 30px; min-height: 0; padding: 0 14px; font-size: 15px; }
  html.eb-phone body:has(.eb-lobby) .eb-screen { padding-bottom: 8px; }
  html.eb-phone body:has(.eb-lobby) .eb-bar { display: none; }
  html.eb-phone body:has(.eb-lobby) .eb-bar:has(#lb-leave) { display: block; height: 0; margin: 0; }
  html.eb-phone .eb-lobby { grid-template-columns: minmax(0, 1fr) 236px; grid-template-areas: "teams side"; gap: 12px; margin: 0; height: calc(100dvh - 58px); align-items: stretch; }

  html.eb-phone .eb-lobby-teams { gap: 6px; min-height: 0; overflow-y: auto; }
  html.eb-phone .eb-lobby-bar { gap: 8px; flex-wrap: nowrap; }
  html.eb-phone .eb-lobby-bar h1 { display: none; }
  html.eb-phone #lb-count { font-size: 15px !important; white-space: nowrap; }
  html.eb-phone .eb-lobby-bar .eb-btn { height: 28px; min-height: 0; padding: 0 12px; font-size: 14px; white-space: nowrap; }
  html.eb-phone .eb-teams { gap: 8px; }
  html.eb-phone .eb-team { border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
  html.eb-phone .eb-team-head { padding: 3px 10px; font-size: 17px; border-bottom-width: 3px; min-height: 30px; }
  html.eb-phone .eb-team-head .eb-mini { font-size: 13px !important; padding: 2px 10px !important; }
  html.eb-phone .eb-team-list { min-height: 0; }
  html.eb-phone .eb-member { padding: 3px 10px; gap: 8px; flex-wrap: nowrap; border-bottom-width: 1px; min-height: 32px; }
  html.eb-phone .eb-member > svg, html.eb-phone .eb-member > .eb-sdecal { width: 22px !important; height: 22px !important; }
  html.eb-phone .eb-member .nm { font-size: 17px; }
  html.eb-phone .eb-member .lb-lv { font-size: 12px; }
  html.eb-phone .eb-member .nm i:not(.eb-ctag) { display: none; }
  html.eb-phone .eb-member .eb-tag { font-size: 11px; padding: 1px 6px; }
  html.eb-phone .eb-member .lb-leader svg { width: 15px !important; height: 15px !important; }
  html.eb-phone .lb-ready-btn svg { width: 11px; height: 11px; }



  html.eb-phone .eb-member { position: relative; }
  html.eb-phone .eb-member .eb-tag.lb-ready { position: absolute; left: 24px; top: calc(50% + 1px); width: 14px; height: 14px; padding: 0; gap: 0; border-width: 1.5px; border-radius: 50%; font-size: 0; justify-content: center; }
  html.eb-phone .eb-member .lb-ready svg { width: 8px; height: 8px; }
  html.eb-phone .lb-ready-n { font-size: 14px; }
  html.eb-phone .lb-open-line { padding: 5px 12px; font: italic 700 14px 'Barlow Condensed', system-ui, sans-serif; color: #6E62A8; }
  html.eb-phone .eb-teams.three .eb-team.watch.lb-team-empty { display: none; }
  html.eb-phone .eb-teams.three .eb-team.watch .eb-team-list { min-height: 0; }
  html.eb-phone .eb-team-list .lb-team-none { padding: 6px 10px; font-size: 14px; }

  html.eb-phone .eb-lobby-side { gap: 0; min-height: 0; }
  html.eb-phone .eb-lobby-game { height: 100%; box-sizing: border-box; padding: 10px; gap: 8px; border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
  html.eb-phone .lb-last { padding: 6px 10px; gap: 2px 10px; }
  html.eb-phone .lb-last-h { font-size: 11px; } html.eb-phone .lb-last-s { font-size: 18px; } html.eb-phone .lb-last-m { font-size: 12px; }
  html.eb-phone .lb-sum { flex-direction: column; gap: 4px; font: 800 14px 'Barlow Condensed', system-ui, sans-serif; color: var(--shell); }
  html.eb-phone .lb-phone-btns { gap: 8px; }
  html.eb-phone .lb-phone-btns .eb-btn { flex: 1; justify-content: center; height: 32px; min-height: 0; padding: 0 8px; font-size: 15px; position: relative; }
  html.eb-phone .lb-badge { position: absolute; top: -8px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; background: var(--red); color: #fff; border: 2px solid var(--ink); font: 900 11px/14px 'Barlow Condensed', system-ui, sans-serif; text-align: center; font-style: normal; transform: skewX(10deg); }
  html.eb-phone #lb-status { font-size: 15px !important; line-height: 1.15; }
  html.eb-phone .eb-lobby-game .eb-launch { margin-top: auto; height: 58px; border-width: 4px; box-shadow: 5px 5px 0 var(--ink); flex: none; }
  html.eb-phone .eb-lobby-game .eb-launch span { font-size: 32px; }
  html.eb-phone .eb-lobby-game #lb-join, html.eb-phone .eb-lobby-game #lb-end { margin-top: auto; height: 40px; min-height: 0; font-size: 17px; }
  html.eb-phone .eb-lobby-game #lb-join + #lb-end { margin-top: 0; }

  html.eb-phone .eb-lobby-settings, html.eb-phone .eb-lobby-chat { display: none; }

  html.eb-phone body.lb-rules-open .eb-lobby-settings { display: flex; flex-direction: column; gap: 8px; position: fixed; z-index: 60; top: 40px; left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); width: auto; transform: none; height: calc(100dvh - 40px); max-height: none; box-sizing: border-box; overflow-y: auto; padding: 10px 18px 18px; border-width: 3px; font-size: 15px; box-shadow: none; }
  html.eb-phone body.lb-rules-open::after { display: none; }
  html.eb-phone body.lb-rules-open .eb-lobby-settings h2 { font-size: 22px; }
  html.eb-phone body.lb-rules-open .eb-lobby-settings h2 #lb-rules-note { font-size: 13px; }
  html.eb-phone body.lb-rules-open .eb-lobby-settings .eb-setting, html.eb-phone body.lb-rules-open .eb-lobby-settings .lb-switch { font-size: 15px; gap: 8px; }
  html.eb-phone body.lb-rules-open .eb-lobby-settings .eb-input { font-size: 14px; min-height: 30px; }
  html.eb-phone body.lb-rules-open .eb-lobby-settings .st-switch { zoom: 1; }
  html.eb-phone body.lb-chat-open .eb-lobby-chat { display: flex; position: fixed; z-index: 45; top: 40px; height: calc(100dvh - 40px); box-sizing: border-box; right: max(14px, env(safe-area-inset-right)); width: min(470px, 60vw); padding: 10px 14px 12px; border-width: 3px; }
  html.eb-phone body.lb-chat-open .eb-lobby-chat .eb-chatlog { flex: 1; height: auto; font-size: 16px; }
  html.eb-phone .lb-sheet-h { align-items: center; justify-content: space-between; font-size: 22px; }
  html.eb-phone .lb-sheet-x { height: 30px; min-height: 0; padding: 0 14px; font-size: 15px; }
}

@media (orientation: landscape) {
  html.eb-phone .lb-peek { display: flex !important; flex-direction: column; gap: 2px; min-height: 0; overflow: hidden; padding: 6px 8px; background: rgba(12, 8, 32, .45); font: 700 13px/1.2 'Barlow Condensed', system-ui, sans-serif; color: var(--shell); cursor: pointer; }
  html.eb-phone body:has(.eb-lobby) .lb-peek:empty { display: none !important; }
  html.eb-phone .lb-peek div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.eb-phone .lb-peek b { color: var(--muted); margin-right: 4px; } html.eb-phone .lb-peek b.signed-in { color: var(--yolk); }
}


@media (orientation: landscape) {
  html.eb-phone .hx-double { font-size: 30px; margin-bottom: 0; }
  html.eb-phone .hx-pair .hx-rarity.small { font-size: 24px; }
  html.eb-phone .hx-pair .hx-name.small { font-size: 20px; }
  html.eb-phone .hx-one { gap: 4px; }
  html.eb-phone .hx-one .hx-item { min-height: 0; }
  html.eb-phone .hx-reveal { gap: 6px; }
}
@media (orientation: landscape) {
  html.eb-phone .eb-team-head .lb-start, html.eb-phone .eb-team-head .lb-start-tag { font-size: 12px; padding: 1px 6px; margin-left: 6px; }
  html.eb-phone .lb-rename-box { font-size: 16px; padding: 2px 8px; }
}
@media (orientation: landscape) { html.eb-phone body:has(.eb-lobby) #lb-chat-open { display: inline-flex !important; } }
@media (orientation: landscape) {
  html.eb-phone .lb-sum-line { display: block; }
}
@media (orientation: landscape) { html.eb-phone .eb-lobby-game > * { order: 0 !important; } }
@media (orientation: landscape) { html.eb-phone .eb-teams.ffa .eb-team.watch.lb-team-empty { display: none; } }

@media (orientation: landscape) {
  html.eb-phone .lb-sum .lb-gcard { border-width: 2px; box-shadow: 3px 3px 0 var(--ink); border-radius: 7px; }
  html.eb-phone .lb-sum .lb-gpic { aspect-ratio: auto; height: 62px; border-bottom-width: 2px; }
  html.eb-phone .lb-sum .lb-gline, html.eb-phone .lb-changed { display: none; }
  html.eb-phone .lb-gpic b { font-size: 17px; -webkit-text-stroke: 4px var(--ink); }
  html.eb-phone .lb-sum .lb-sum-line { font-size: 14px; }
  html.eb-phone .lb-phone-btns .eb-btn { white-space: nowrap; }
  html.eb-phone .lb-phone-btns { flex-wrap: wrap; }
  html.eb-phone .lb-phone-btns #lb-game-open { flex-basis: 100%; }
  html.eb-phone .lb-games { display: none; }
  html.eb-phone body.lb-games-open .lb-games { display: flex; gap: 8px; position: fixed; z-index: 60; top: 40px; left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); width: auto; transform: none; height: calc(100dvh - 40px); max-height: none; box-sizing: border-box; padding: 10px 16px 12px; border-width: 3px; overflow-y: auto; }
  html.eb-phone body.lb-games-open::after { display: none; }
  html.eb-phone .lb-games h2 { font-size: 22px; }
  html.eb-phone .lb-games .lb-gline { display: none; }
  html.eb-phone .lb-games .lb-gcard { border-width: 2px; border-radius: 7px; box-shadow: 3px 3px 0 var(--ink); }
  html.eb-phone .lb-games .lb-gpic { border-bottom: 0; }
  html.eb-phone .lb-games-row { gap: 8px; margin-bottom: 2px; }
  html.eb-phone .lb-games-h, html.eb-phone .lb-rules-h { font-size: 14px; }
  html.eb-phone .lb-games-note { font-size: 13px; }
  html.eb-phone .lb-picked { font-size: 11px; padding: 1px 6px; top: 4px; right: 4px; border-width: 2px; }
  html.eb-phone .lb-rule-grid { grid-template-columns: 1fr 1fr; gap: 6px 22px; }
  html.eb-phone .lb-chip-pic { width: 46px; border-width: 2px; }
  html.eb-phone .lb-chip-name { font-size: 18px; }
  html.eb-phone .lb-chip-x { font-size: 14px; }
  html.eb-phone .lb-more-rules > summary { font-size: 16px; }
  html.eb-phone .lb-fine > summary, html.eb-phone .lb-code-line { font-size: 13px; }
  html.eb-phone .lb-code-line { padding-top: 8px; gap: 8px; }
  html.eb-phone .lb-fixed { font-size: 14px; }
}

html.eb-phone .eb-beta { font-size: 11px; padding: 0 5px; border-width: 2px; border-radius: 4px; }
html.eb-phone .lb-beta { top: 4px; left: 5px; }

html.eb-phone .lb-games .eb-beta { font-size: 10px; padding: 0 4px; border-width: 1.5px; }
html.eb-phone .lb-games .lb-beta { top: 3px; left: 4px; }




@media (orientation: landscape) {
  html.eb-phone .eb-arena .eb-leave-wrap { right: calc(max(8px, env(safe-area-inset-right)) + 52px) !important; }
  html.eb-phone .eb-arena #eb-leave::after, html.eb-phone .eb-arena #eb-share::after { inset: -14px -7px -20px; }
  html.eb-phone .eb-arena #eb-sound-panel > button::after { inset: -14px -14px -20px -15px; }
}


html.eb-phone #eb-hud::after { content: ""; position: absolute; left: 22px; right: 22px; top: -8px; bottom: -24px; }
