.eb .eb-rep .eb-score, .ebs-mini { --sh-o: 4; }
.eb-rows { display: flex; flex-direction: column; gap: calc(10 * var(--p)); }
.eb-row { display: grid; align-items: center; min-height: calc(84 * var(--p)); background: var(--panel); border: calc(4 * var(--p)) solid var(--ink); box-shadow: calc(6 * var(--p)) calc(6 * var(--p)) 0 var(--ink); transform: skewX(-8deg); color: var(--shell); text-decoration: none; }
.eb-score .mine { box-shadow: inset 0 calc(-7 * var(--p)) 0 var(--shell); }
.eb-res { font-family: 'Titan One', sans-serif; font-size: calc(36 * var(--p)); text-align: center; }
.eb-tie { color: var(--muted); }
.eb-emptycard { display: flex; align-items: center; gap: calc(36 * var(--p)); padding: calc(34 * var(--p)) calc(40 * var(--p)); }
.eb-emptycard .pic { flex: none; width: calc(220 * var(--p)); display: flex; }
.eb-emptycard .pic.wide { width: calc(300 * var(--p)); }
.eb-emptycard .say { display: flex; flex-direction: column; gap: calc(10 * var(--p)); min-width: 0; }
@media (max-width: 700px) and (hover: hover), (max-width: 700px) and (orientation: portrait), (max-width: 700px) and (min-height: 501px) {
.eb-emptycard { align-items: flex-start; gap: calc(24 * var(--p)); padding: calc(28 * var(--p)); }
.eb-emptycard .pic, .eb-emptycard .pic.wide { width: calc(130 * var(--p)); }
}
.eb-eggs { display: grid; grid-template-columns: repeat(var(--eggs-row, 5), minmax(0, 1fr)); gap: calc(18 * var(--p)); justify-items: center; }
.eb-eggs[data-needed="8"] { --eggs-row: 4; }
.eb-eggs[data-needed="12"] { --eggs-row: 6; }
.eb-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc(620 * var(--p))); gap: calc(56 * var(--p)); align-items: start; }
.eb-check, .eb-toggle { display: flex; align-items: flex-start; gap: calc(12 * var(--p)); font-weight: 600; font-size: calc(24 * var(--p)); cursor: pointer; }
.eb-lobby { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc(560 * var(--p))); grid-template-areas: "teams side" "chat side"; gap: calc(30 * var(--p)) calc(40 * var(--p)); margin-top: calc(26 * var(--p)); align-items: start; }
.eb-lobby-teams { grid-area: teams; display: flex; flex-direction: column; gap: calc(16 * var(--p)); min-width: 0; }
.eb-lobby-side { grid-area: side; display: flex; flex-direction: column; gap: calc(26 * var(--p)); min-width: 0; }
.eb-lobby-chat { grid-area: chat; display: flex; flex-direction: column; gap: calc(12 * var(--p)); padding: calc(18 * var(--p)) calc(22 * var(--p)); }
.eb-lobby-bar { display: flex; align-items: center; gap: calc(18 * var(--p)); flex-wrap: wrap; }
.eb-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(18 * var(--p)); }
.eb-team-head { display: flex; align-items: center; gap: calc(12 * var(--p)); padding: calc(10 * var(--p)) calc(18 * var(--p)); border-bottom: calc(4 * var(--p)) solid var(--ink); font-size: calc(30 * var(--p)); }
.eb-team.red .eb-team-head { background: var(--red); }
.eb-team.blue .eb-team-head { background: var(--blue); }
.eb-team.watch .eb-team-head, .eb-team.wait .eb-team-head { background: #2A2063; }
.eb-team.all .eb-team-head { background: var(--violet); font-size: calc(24 * var(--p)); }
.eb-team-list { display: flex; flex-direction: column; min-height: calc(60 * var(--p)); }
.eb-member { display: flex; align-items: center; gap: calc(12 * var(--p)); padding: calc(8 * var(--p)) calc(14 * var(--p)); border-bottom: calc(2 * var(--p)) solid #2F2470; flex-wrap: wrap; }
.eb-member.me { background: rgba(255, 194, 26, .12); }
.eb-member .nm.signed-in { color: var(--yolk); }
.eb-lobby-game { display: flex; flex-direction: column; gap: calc(16 * var(--p)); padding: calc(26 * var(--p)) calc(30 * var(--p)); }
.eb-launch:hover, .eb-launch:focus-visible { box-shadow: calc(14 * var(--p)) calc(14 * var(--p)) 0 var(--ink); }
.eb-lobby-settings { display: flex; flex-direction: column; gap: calc(14 * var(--p)); padding: calc(24 * var(--p)) calc(28 * var(--p)); font-size: calc(24 * var(--p)); }
.eb-settings { display: flex; flex-direction: column; gap: calc(12 * var(--p)); }
.eb-setting { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: calc(14 * var(--p)); font-weight: 700; font-size: calc(23 * var(--p)); }
.eb-lobby-invite { display: inline-flex; align-items: center; gap: calc(10 * var(--p)); margin-left: calc(14 * var(--p)); font-weight: 800; font-size: calc(22 * var(--p)); }
.eb-lobby-chat { align-self: start; }
.eb-team-list { min-height: calc(110 * var(--p)); }
.eb-member { padding: calc(12 * var(--p)) calc(16 * var(--p)); gap: calc(14 * var(--p)); }
@media (max-width: 700px) and (hover: hover), (max-width: 700px) and (orientation: portrait), (max-width: 700px) and (min-height: 501px) {
.eb-lobby-invite { margin-left: 0; width: 100%; }
}
@media (max-width: 1100px) and (hover: hover), (max-width: 1100px) and (orientation: portrait), (max-width: 1100px) and (min-height: 501px) {
.eb-two { grid-template-columns: 1fr; }
.eb-lobby { grid-template-columns: 1fr; grid-template-areas: "side" "teams" "chat"; }
}
@media (max-width: 700px) and (hover: hover), (max-width: 700px) and (orientation: portrait), (max-width: 700px) and (min-height: 501px) {
.eb-teams { grid-template-columns: 1fr; }
}
.eb-rep { grid-template-columns: calc(236 * var(--p)) minmax(0, 1fr) calc(220 * var(--p)) calc(120 * var(--p)) calc(124 * var(--p)) calc(300 * var(--p)); min-height: calc(80 * var(--p)); }
.eb-rep > span:first-child > span:first-child { white-space: nowrap; }
.eb-rep-act .eb-btn.small { text-decoration: none; }
.eb-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(520 * var(--p)), 1fr)); gap: calc(30 * var(--p)); }
.eb-map { display: flex; flex-direction: column; overflow: hidden; }
.eb-map-pic { position: relative; height: calc(300 * var(--p)); padding: calc(18 * var(--p)); background: radial-gradient(ellipse at 50% 40%, #2A2068 0%, #120D30 75%); border-bottom: calc(5 * var(--p)) solid var(--ink); display: flex; align-items: center; justify-content: center; }
@supports (width: 1cqw) {
.eb-map-pic { container-type: size; }
.eb-map-pic img[style*="--ar"] { --fit: min(100cqh - calc(8 * var(--p)), (100cqw - calc(8 * var(--p))) / var(--ar)); height: calc(var(--fit) + calc(8 * var(--p))); width: calc(var(--fit) * var(--ar) + calc(8 * var(--p))); max-width: none; max-height: none; flex: none; }
}
.eb-map-mode { position: absolute; top: calc(14 * var(--p)); left: calc(14 * var(--p)); padding: calc(3 * var(--p)) calc(14 * var(--p)); background: var(--night); color: var(--shell); border: calc(3 * var(--p)) solid var(--ink); font-weight: 900; font-style: italic; font-size: calc(20 * var(--p)); transform: skewX(-10deg); }
.eb-map-mode.ranked { background: var(--yolk); color: var(--night); }
.eb-map-info { display: flex; flex-direction: column; gap: calc(8 * var(--p)); padding: calc(20 * var(--p)) calc(24 * var(--p)) calc(24 * var(--p)); font-size: calc(24 * var(--p)); flex: 1; }
.eb-map-about { margin: 0; font-weight: 700; color: var(--shell); line-height: 1.3; }
.eb-map-stat { font-weight: 700; font-size: calc(21 * var(--p)); }
@media (prefers-reduced-motion: no-preference) {
html:not(.eb-reduce) .eb-map-pic img { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
html:not(.eb-reduce) .eb-map:hover .eb-map-pic img, html:not(.eb-reduce) .eb-map:focus-within .eb-map-pic img { transform: scale(1.035); }
}
@media (max-width: 1100px) and (hover: hover), (max-width: 1100px) and (orientation: portrait), (max-width: 1100px) and (min-height: 501px) {
.eb-rep { grid-template-columns: calc(236 * var(--p)) minmax(0, 1fr) calc(170 * var(--p)) calc(124 * var(--p)) auto; }
.eb-rep .hide-sm:not(.eb-res) { display: none; }
}
.eb-clip.boat .eb-clip-kind { color: var(--yolk); }
.eb-clip.mark .eb-clip-kind { color: var(--shell); }
.eb-lobby-settings h2 { margin-top: 0; }
.eb-vote { padding: calc(16 * var(--p)) calc(24 * var(--p)); display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: calc(10 * var(--p)); }
.eb-vote[hidden] { display: none; }
.eb-vote-opts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(12 * var(--p)); }
.eb .eb-vote-opt { display: flex; flex-direction: column; align-items: stretch; gap: calc(4 * var(--p)); padding: calc(6 * var(--p)); background: var(--night); color: var(--shell); border: calc(4 * var(--p)) solid var(--ink); box-shadow: calc(5 * var(--p)) calc(5 * var(--p)) 0 var(--ink); cursor: pointer; text-align: left; }
.eb .eb-vote-opt .eb-vote-about { display: block; padding: 0 calc(4 * var(--p)); font-size: calc(13 * var(--p)); line-height: 1.25; color: var(--muted); }
.eb .eb-vote-opt:hover { border-color: var(--shell); }
.eb .eb-vote-opt.on { background: var(--yolk); color: var(--night); }
.st-switch { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: calc(66 * var(--p)); height: calc(34 * var(--p)); margin: 0; background: #120D30; border: calc(4 * var(--p)) solid var(--ink); transform: skewX(-12deg); cursor: pointer; transition: background .12s; }
.st-switch:checked { background: var(--yolk); }
.st-switch:checked::after { transform: translateX(calc(28 * var(--p))); background: var(--ink); }
.st-switch:focus-visible { outline: calc(4 * var(--p)) solid var(--shell); outline-offset: calc(3 * var(--p)); }
@media (max-width: 600px) and (hover: hover), (max-width: 600px) and (orientation: portrait), (max-width: 600px) and (min-height: 501px) {
.eb-rep { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when score" "map act"; row-gap: 8px; padding: 10px 0; }
.eb-rep .eb-res { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
.eb-eggs svg { transform-origin: 50% 90%; }
.eb-eggs svg.off { animation: eb-wait 2.4s ease-in-out infinite; }
}
@keyframes eb-wait { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.egl { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(12, 8, 32, .82); }
.egl[hidden] { display: none; }
.egl-box { display: flex; gap: 22px; width: min(1180px, 100%); height: min(940px, 100%); }
.egl-side { flex: none; width: 290px; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; background: var(--panel); border: 5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); color: var(--shell); overflow: auto; }
.egl-brand { display: flex; flex-direction: column; gap: 4px; }
.egl-level { font-weight: 800; font-style: italic; font-size: 20px; color: var(--muted); }
.egl-stat { display: flex; flex-direction: column; }
.egl-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.egl-eggs { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.egl-how { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--muted); }
.egl-queue { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; line-height: 1.2; }
.egl-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #5BE39A; box-shadow: 0 0 0 4px rgba(91, 227, 154, .25); }
.egl-close { align-self: stretch; font-size: 22px; padding: 8px 18px; }
.egl-stage { position: relative; flex: 1; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: flex-start; }
.egl-card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.egl-card[hidden] { display: none; }
.egl-card h2 { margin: 0; font-size: 52px; color: var(--yolk); }
@media (prefers-reduced-motion: no-preference) {
html:not(.eb-reduce) .egl:not([hidden]) .egl-side { animation: egl-in .35s cubic-bezier(.2, 1.3, .4, 1) both; }
html:not(.eb-reduce) .egl:not([hidden]) .egl-stage { animation: egl-in .35s .06s cubic-bezier(.2, 1.3, .4, 1) both; }
html:not(.eb-reduce) .egl-card:not([hidden]) .eb-panel { animation: egl-in .3s cubic-bezier(.2, 1.4, .4, 1) both; }
html:not(.eb-reduce) .egl-dot { animation: eb-pulse 1.4s ease-in-out infinite; }
}
@keyframes egl-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) and (min-height: 561px) {
.egl { padding: 8px; }
.egl-box { flex-direction: column; gap: 10px; }
.egl-side { width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; box-shadow: 6px 6px 0 var(--ink); }
.egl-level { font-size: 15px; }
.egl-stat.small, .egl-how, .egl-queue { display: none; }
.egl-mult { font-size: 22px; }
.egl-close { margin-left: auto; align-self: center; font-size: 18px; padding: 6px 12px; }
}
@media (max-height: 560px) {
.egl { padding: 8px; }
.egl-box { gap: 10px; }
.egl-side { width: 200px; gap: 6px; padding: 10px 12px; box-shadow: 6px 6px 0 var(--ink); }
.egl-level { font-size: 14px; }
.egl-stat.small, .egl-how, .egl-queue { display: none; }
.egl-mult { font-size: 18px; }
.egl-close { margin-top: auto; font-size: 16px; padding: 5px 10px; }
}
.eb-qwait { display: flex; flex-direction: column; gap: calc(14 * var(--p)); }
.eb-qwait-h { font-weight: 800; font-size: calc(22 * var(--p)); line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eb-qplay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(18 * var(--p)); max-width: calc(760 * var(--p)); }
.eb-qplay #eb-notify[hidden] { display: none; }
.eb-qchat { padding: calc(22 * var(--p)) calc(28 * var(--p)) calc(24 * var(--p)); display: flex; flex-direction: column; gap: calc(12 * var(--p)); }
.eb-qchat-h { display: flex; align-items: baseline; justify-content: space-between; gap: calc(12 * var(--p)); }
.eb-qchat-log { list-style: none; margin: 0; padding: calc(10 * var(--p)) calc(14 * var(--p)); height: calc(190 * var(--p)); overflow-y: auto; background: var(--night); border: calc(3 * var(--p)) solid var(--ink); display: flex; flex-direction: column; gap: calc(4 * var(--p)); font-size: calc(23 * var(--p)); line-height: 1.25; overflow-wrap: anywhere; }
.eb-qchat-log li:first-child { margin-top: auto; }
.eb-qchat-f { display: flex; gap: calc(10 * var(--p)); }
.eb-qlive { display: flex; flex-direction: column; gap: calc(12 * var(--p)); margin-top: calc(14 * var(--p)); }
.eb-qlive[hidden] { display: none; }
.eb-qlive-h { display: flex; align-items: baseline; gap: calc(16 * var(--p)); flex-wrap: wrap; }
.eb-qlive-list { display: flex; flex-direction: column; gap: calc(12 * var(--p)); padding-left: calc(6 * var(--p)); max-width: calc(820 * var(--p)); }
.eb-qnamelock { font-size: calc(26 * var(--p)); font-weight: 700; }
.eb .eb-q { margin-top: calc(34 * var(--p)); align-items: start; }
.eb-qhero { display: flex; align-items: center; gap: calc(30 * var(--p)); }
#eb-qtitle { margin: 0; font-size: calc(78 * var(--p)); font-weight: 400; line-height: 1; }
.eb-qclock { display: flex; align-items: baseline; gap: calc(18 * var(--p)); margin-top: calc(8 * var(--p)); }
.eb-qclock .eb-num { font-size: calc(120 * var(--p)); color: var(--yolk); line-height: 1; }
.eb-qclock .eb-it { font-size: calc(32 * var(--p)); }
.eb-qplayers { padding: calc(24 * var(--p)) calc(32 * var(--p)) calc(26 * var(--p)); display: flex; flex-direction: column; gap: calc(16 * var(--p)); transition: border-color .3s, box-shadow .3s; }
.eb-qph, .eb-qpn { font-size: calc(46 * var(--p)); }
.eb-qph { display: inline-block; }
.eb-qpn { color: var(--yolk); }
.eb-qall { margin: 0 auto; font-style: italic; font-weight: 800; font-size: calc(30 * var(--p)); color: var(--muted); white-space: nowrap; }
.eb-qall[hidden] { display: none; }
.eb-qpnote { font-size: calc(24 * var(--p)); }
.eb .eb-eggs svg { max-width: calc(76 * var(--p)); }
.eb-eggslot { position: relative; display: flex; justify-content: center; width: 100%; }
.eb-eggslot > svg.on { width: 100%; max-width: calc(76 * var(--p)); height: auto; }
.eb-eggbadge { position: absolute; right: 4%; bottom: -4%; pointer-events: none; }
.eb .eb-eggs .eb-eggbadge svg { width: calc(30 * var(--p)) !important; max-width: none; height: auto; animation: none; }
.eb-qplayers.almost .eb-qph { color: var(--yolk); }
.eb .eb-qchat-log { height: calc(170 * var(--p)); }
.eb-qcol:has(> .eb-vote:not([hidden])) { gap: calc(20 * var(--p)) !important; }
.eb .eb-qcol:has(> .eb-vote:not([hidden])) .eb-qchat-log { height: calc(96 * var(--p)); }
@media (min-width: 1101px), (pointer: coarse) and (hover: none) and (orientation: landscape) and (max-height: 500px) {
.eb-qplayers.row { gap: calc(10 * var(--p)); padding-top: calc(18 * var(--p)); padding-bottom: calc(18 * var(--p)); }
.eb-qplayers.row .eb-eggs[data-needed="8"] { --eggs-row: 8; }
.eb .eb-qplayers.row .eb-eggs svg, .eb .eb-qplayers.row .eb-eggslot > svg.on { max-width: calc(48 * var(--p)); }
}
@media (max-width: 700px) and (hover: hover), (max-width: 700px) and (orientation: portrait), (max-width: 700px) and (min-height: 501px) {
.eb .eb-q { margin-top: calc(20 * var(--p)); gap: calc(30 * var(--p)); }
#eb-qtitle { font-size: calc(56 * var(--p)); }
.eb-qclock .eb-num { font-size: calc(96 * var(--p)); }
.eb .eb-q { display: flex; flex-direction: column; }
.eb-q > div { display: contents !important; }
.eb-q > div > * { order: 2; }
.eb-q > div > .eb-qhero { order: 0; }
.eb-q > div > .eb-qplayers { order: 1; }
.eb-q > div > .eb-panel { width: 100%; box-sizing: border-box; }
}
.eb .st-switch { width: calc(84 * var(--p)); background: #2A2063; }
.eb .st-switch::before { content: "Off"; position: absolute; right: calc(8 * var(--p)); top: 50%; translate: 0 -50%; font: italic 900 calc(16 * var(--p))/1 'Barlow Condensed', system-ui, sans-serif; color: var(--muted); }
.eb .st-switch:checked { background: var(--yolk); }
.eb .st-switch:checked::after { transform: translateX(calc(46 * var(--p))); }
.eb-subtabs .eb-htab { font-size: calc(22 * var(--p)); }
.eb .eb-member .nm { flex: 0 1 auto; }
.lb-ready-n { font-weight: 800; font-size: calc(26 * var(--p)); color: var(--muted); white-space: nowrap; }
.lb-ready-n[hidden] { display: none; }
.lb-ready-btn > span { display: inline-flex; align-items: center; gap: calc(6 * var(--p)); }
.eb .lb-ready-btn.lb-out { position: absolute; opacity: 0; pointer-events: none; }
.eb-member .lb-leader { display: inline-flex; align-items: center; gap: calc(6 * var(--p)); }
.eb-member .lb-leader svg { width: calc(24 * var(--p)) !important; height: calc(24 * var(--p)) !important; margin: calc(-3 * var(--p)) 0; }
.eb .eb-lobby-settings { gap: calc(10 * var(--p)); padding: calc(20 * var(--p)) calc(26 * var(--p)); }
.eb .eb-lobby-settings .eb-h2 { font-size: calc(48 * var(--p)); }
.eb .eb-lobby-game { padding: calc(18 * var(--p)) calc(26 * var(--p)); }
.lb-switch { justify-content: space-between; align-items: center; font-size: calc(22 * var(--p)); }
.lb-switch .st-switch { flex: none; }
.lb-switch .st-switch:disabled { opacity: .55; cursor: default; }
.eb .lb-pick:disabled { opacity: .6; cursor: default; background-image: none; padding-right: calc(14 * var(--p)); }
.eb .eb-setting { font-size: calc(21 * var(--p)); }
@media (max-width: 1100px) and (hover: hover), (max-width: 1100px) and (orientation: portrait), (max-width: 1100px) and (min-height: 501px) {
.eb .eb-lobby { display: flex; flex-direction: column; }
.eb .eb-lobby-side { display: contents; }
.eb .eb-lobby-game { order: 0; }
.eb .eb-lobby-teams { order: 1; }
.eb .eb-lobby-chat { order: 2; }
.eb .eb-lobby-settings { order: 3; }
}
@media (max-width: 700px) and (hover: hover), (max-width: 700px) and (orientation: portrait), (max-width: 700px) and (min-height: 501px) {
.eb .eb-member { flex-wrap: wrap; }
}
@media (min-width: 1101px), (pointer: coarse) and (hover: none) and (orientation: landscape) and (max-height: 500px) {
.eb .eb-launch { height: calc(104 * var(--p)); }
.eb .eb-launch span { font-size: calc(64 * var(--p)); }
.eb .eb-lobby-settings .eb-h2 { font-size: calc(40 * var(--p)); }
.eb .eb-lobby-settings .eb-settings { gap: calc(6 * var(--p)); }
.eb .lb-pick { padding-top: calc(3 * var(--p)); padding-bottom: calc(3 * var(--p)); font-size: calc(19 * var(--p)); }
.eb .eb-setting, .eb .lb-switch { font-size: calc(19 * var(--p)); }
.eb .lb-switch .st-switch { height: calc(28 * var(--p)); }
.eb .eb-lobby-side { gap: calc(18 * var(--p)); }
}
@media (hover: none) and (pointer: coarse) {
body.eb .st-switch { zoom: 1.45; }
body.eb .eb-check input { width: 24px; height: 24px; }
}
.eb-teams.three .eb-team.watch { grid-column: 1 / -1; }
.eb-teams.three .eb-team.watch .eb-team-list { flex-direction: row; flex-wrap: wrap; min-height: calc(64 * var(--p)); }
.eb-teams.three .eb-team.watch .eb-member { border-bottom: 0; border-right: calc(2 * var(--p)) solid #2F2470; }
.eb-team-list .lb-team-none { padding: calc(12 * var(--p)) calc(16 * var(--p)); font-weight: 700; }
.eb-member.lb-open { color: #6E62A8; }
.eb-member.lb-open .nm { color: #6E62A8; font-weight: 700; }
.eb-member .lb-lv { font-weight: 800; font-size: calc(20 * var(--p)); color: var(--muted); white-space: nowrap; }
.eb-member.lb-draggable { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.eb-member.lb-lifted { opacity: .35; }
.eb-team.lb-over { outline: calc(5 * var(--p)) solid var(--yolk); outline-offset: calc(-5 * var(--p)); }
.lb-last[hidden], .lb-friends[hidden] { display: none !important; }
.lb-last-s { display: flex; gap: calc(14 * var(--p)); font-size: calc(34 * var(--p)); font-style: italic; }
.lb-friends, .eb-screen > .eb-panel.lb-friends { position: fixed; z-index: 60; width: min(420px, 92vw); max-height: 60vh; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.lb-friends-h { display: flex; align-items: center; justify-content: space-between; font-size: 22px; }
.lb-friends .pc-x { all: unset; cursor: pointer; font-size: 28px; line-height: 1; padding: 0 6px; color: var(--muted); }
.lb-friend { display: flex; align-items: center; gap: 10px; }
.eb-grp-live { display: inline-flex; align-items: center; gap: calc(8 * var(--p)); color: #2FBF71; }
.eb-lobby-settings .eb-setting, .eb-lobby-settings .lb-switch { font-size: max(16px, calc(24 * var(--p))); }
.eb-lobby-settings .eb-input { font-size: max(15px, calc(22 * var(--p))); }
.eb-lobby-settings .st-switch { zoom: 1.25; }
.eb-form #g-teams { font-size: calc(28 * var(--p)); height: auto; padding: calc(10 * var(--p)) calc(44 * var(--p)) calc(10 * var(--p)) calc(16 * var(--p)); }
.lb-phone-only { display: none !important; }
.lb-rename { cursor: text; border-bottom: calc(3 * var(--p)) dashed rgba(255, 243, 214, .45); }
.lb-rename:hover, .lb-rename:focus-visible { border-bottom-color: var(--yolk); outline: none; }
.eb-team-head .lb-start { appearance: none; -webkit-appearance: none; margin-left: calc(10 * var(--p)); padding: calc(3 * var(--p)) calc(12 * var(--p)); background: rgba(12, 8, 32, .35); color: var(--shell); border: calc(2 * var(--p)) solid rgba(12, 8, 32, .6); font: italic 800 max(13px, calc(19 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; cursor: pointer; transform: skewX(-10deg); }
.eb-team-head .lb-start:hover, .eb-team-head .lb-start:focus-visible { border-color: var(--shell); outline: none; }
.eb-team-head .lb-start option { color: #000; }
.eb-team-head .lb-start-tag { margin-left: calc(10 * var(--p)); font: italic 800 max(13px, calc(19 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; opacity: .85; }
.eb-lobby-settings { display: none; }
body.lb-rules-open .eb-lobby-settings { display: flex; flex-direction: column; gap: calc(18 * var(--p)); position: fixed; z-index: 60; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(calc(1640 * var(--p)), 94vw); max-height: 92vh; overflow-y: auto; padding: calc(26 * var(--p)) calc(36 * var(--p)) calc(32 * var(--p)); box-shadow: calc(14 * var(--p)) calc(14 * var(--p)) 0 var(--ink); }
.eb-lobby-settings h2 { display: flex; align-items: center; gap: calc(20 * var(--p)); }
.eb-lobby-settings h2 #lb-rules-note { font: 700 max(15px, calc(22 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; }
.eb-lobby-settings h2 .lb-sheet-x { margin-left: auto; }
.lb-sum { display: flex; flex-direction: column; gap: calc(10 * var(--p)); font: 800 max(15px, calc(26 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; color: var(--shell); }
.lb-phone-btns { display: flex; gap: calc(12 * var(--p)); }
.lb-phone-btns .eb-btn { flex: 1; justify-content: center; }
.lb-phone-btns .eb-btn { min-height: calc(70 * var(--p)); font-size: max(16px, calc(30 * var(--p))); }
.lb-sum-line { display: none; }
.lb-gcard { all: unset; box-sizing: border-box; position: relative; cursor: pointer; display: flex; flex-direction: column; min-width: 0; background: #16103A; border: calc(4 * var(--p)) solid var(--ink); border-radius: 12px; box-shadow: calc(6 * var(--p)) calc(6 * var(--p)) 0 var(--ink); overflow: hidden; }
.lb-gcard:hover, .lb-gcard:focus-visible { background: #221A55; }
.lb-gcard:focus-visible { outline: calc(3 * var(--p)) solid var(--shell); outline-offset: calc(3 * var(--p)); }
.lb-gcard.on { border-color: var(--yolk); box-shadow: 0 0 0 calc(3 * var(--p)) var(--yolk), calc(6 * var(--p)) calc(6 * var(--p)) 0 var(--ink); }
.lb-gpic { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 8; background: #0C0820 center / cover no-repeat; border-bottom: calc(4 * var(--p)) solid var(--ink); }
.lb-gpic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 8, 32, 0) 40%, rgba(12, 8, 32, .55)); }
.lb-gcard.party .lb-gpic::before, .lb-sum .lb-gpic:has(img)::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12, 8, 32, .78) 0%, rgba(12, 8, 32, .6) 60%, rgba(12, 8, 32, .45) 100%); }
.lb-gpic img { position: relative; z-index: 1; max-width: 82%; max-height: 58%; object-fit: contain; filter: drop-shadow(0 3px 0 rgba(12, 8, 32, .6)); }
.lb-gline { padding: calc(10 * var(--p)) calc(14 * var(--p)) calc(12 * var(--p)); font: 700 max(14px, calc(20 * var(--p))) / 1.2 'Barlow Condensed', system-ui, sans-serif; color: var(--muted); }
.lb-gcard.on .lb-gline, .lb-sum .lb-gline { color: var(--shell); }
.eb-beta { display: inline-flex; align-items: center; transform: skewX(-10deg); background: var(--ink); color: var(--shell); border: calc(3 * var(--p)) solid var(--shell); border-radius: 5px; padding: 0 7px; font: normal 800 max(12px, calc(17 * var(--p))) / 1.35 'Barlow Condensed', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.eb-beta > span { display: block; transform: skewX(10deg); }
.eb-beta[hidden] { display: none; }
.lb-beta { position: absolute; z-index: 2; top: calc(8 * var(--p)); left: calc(10 * var(--p)); }
.lb-picked { position: absolute; z-index: 2; top: calc(8 * var(--p)); right: calc(8 * var(--p)); background: var(--yolk); color: var(--ink); font: normal 800 max(13px, calc(18 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; padding: 2px 9px; border-radius: 7px; border: calc(3 * var(--p)) solid var(--ink); }
.lb-sum .lb-sum-line { display: block; font-size: max(14px, calc(22 * var(--p))); }
.lb-changed { color: var(--yolk); font-size: max(14px, calc(20 * var(--p))); }
.lb-games { display: none; }
body.lb-games-open .lb-games { display: flex; flex-direction: column; gap: calc(16 * var(--p)); position: fixed; z-index: 60; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(calc(1640 * var(--p)), 94vw); max-height: 92vh; overflow-y: auto; box-sizing: border-box; padding: calc(26 * var(--p)) calc(36 * var(--p)) calc(30 * var(--p)); box-shadow: calc(14 * var(--p)) calc(14 * var(--p)) 0 var(--ink); }
.lb-games h2 { display: flex; align-items: center; gap: calc(20 * var(--p)); }
.lb-games h2 .lb-sheet-x { margin-left: auto; }
.lb-games-h, .lb-rules-h { margin: 0; display: flex; align-items: baseline; gap: 12px; font: italic 800 max(15px, calc(26 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; color: var(--yolk); text-transform: uppercase; letter-spacing: .04em; }
.lb-games-h small { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 700; font-size: .8em; }
.lb-games-row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: calc(14 * var(--p)); margin-bottom: calc(6 * var(--p)); }
.lb-games-note { margin: 0; font-weight: 700; font-size: max(14px, calc(20 * var(--p))); }
.lb-game-chip { display: inline-flex; align-items: center; gap: calc(12 * var(--p)); }
.lb-game-chip:empty { display: none; }
.lb-chip-pic { position: relative; display: flex; align-items: center; justify-content: center; width: calc(84 * var(--p)); aspect-ratio: 16 / 8; border-radius: 7px; border: calc(3 * var(--p)) solid var(--ink); background: #0C0820 center / cover no-repeat; overflow: hidden; }
.lb-chip-pic img { max-width: 86%; max-height: 70%; object-fit: contain; }
.lb-chip-pic b { display: none; }
.lb-chip-name { font: 400 calc(32 * var(--p)) 'Titan One', system-ui, sans-serif; color: var(--shell); }
.lb-chip-x { all: unset; cursor: pointer; font: 800 max(14px, calc(22 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; color: var(--yolk); }
.lb-chip-x:hover, .lb-chip-x:focus-visible { text-decoration: underline; }
.eb-lobby-settings h2 #lb-rules-note { font-style: italic; font-weight: 800; }
.lb-rule-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(8 * var(--p)) calc(34 * var(--p)); align-items: center; }
.lb-fixed { font: italic 800 max(15px, calc(22 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; color: var(--shell); text-align: right; padding-right: calc(14 * var(--p)); }
.lb-more-rules > summary, .lb-fine > summary { cursor: pointer; list-style: none; font: 800 max(16px, calc(28 * var(--p))) 'Barlow Condensed', system-ui, sans-serif; color: var(--shell); }
.lb-more-rules > summary::-webkit-details-marker, .lb-fine > summary::-webkit-details-marker { display: none; }
.lb-more-rules > summary::before { content: '\25B8  '; }
.lb-more-rules[open] > summary::before { content: '\25BE  '; }
.lb-more-rules > summary small { margin-left: 8px; color: var(--muted); font-weight: 700; font-size: .75em; }
.lb-more-rules[open] > summary { margin-bottom: calc(10 * var(--p)); }
.lb-fine { margin-top: calc(10 * var(--p)); }
.lb-fine > summary { font-size: max(14px, calc(22 * var(--p))); color: var(--yolk); }
.lb-fine[open] > summary { margin-bottom: calc(8 * var(--p)); }
.lb-code-line { display: flex; align-items: center; flex-wrap: wrap; gap: calc(12 * var(--p)); padding-top: calc(14 * var(--p)); border-top: calc(3 * var(--p)) solid rgba(255, 243, 214, .12); font-weight: 700; font-size: max(14px, calc(20 * var(--p))); }
.lb-code-line .eb-input { flex: 1; min-width: 140px; }
.lb-more-note { grid-column: 1 / -1; margin: 0; font-weight: 700; font-size: max(14px, calc(20 * var(--p))); }
.lb-code-member { display: none; }
.lb-member .lb-code-or, .lb-member #lb-code, .lb-member #lb-code-load { display: none; }
.lb-member .lb-code-member { display: inline; }
.eb-lobby-game > #lb-last { order: -3; }
.eb-lobby-game > #lb-status { order: -2; }
.eb-lobby-game > .eb-launch, .eb-lobby-game > #lb-join, .eb-lobby-game > #lb-end { order: -1; }
.eb-mk { background: repeating-linear-gradient(135deg, var(--yolk) 0 calc(34 * var(--p)), var(--yolk-2) calc(34 * var(--p)) calc(68 * var(--p))); color: var(--night); }
.eb-mk .eb-h2 { color: var(--shell); }
.eb-mk label { color: var(--night); font-weight: 800; }
.eb-mk .eb-check input { accent-color: var(--night); }
.eb-mk .eb-check input::after { content: ""; width: calc(7 * var(--p)); height: calc(13 * var(--p)); margin-top: calc(-3 * var(--p)); border: solid var(--yolk); border-width: 0 calc(4 * var(--p)) calc(4 * var(--p)) 0; transform: rotate(45deg); opacity: 0; }
.eb .eb-mk .eb-check input:checked { background: var(--ink); }
.eb-mk .eb-check input:checked::after { opacity: 1; }
.eb-mk .eb-check input:focus-visible { outline: calc(4 * var(--p)) solid var(--ink); outline-offset: calc(3 * var(--p)); }
.eb-teams.ffa { grid-template-columns: 1fr; }
.eb-teams.ffa .eb-team.all .eb-team-head { font-size: calc(30 * var(--p)); }
.eb-teams.ffa .eb-team.all .eb-team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eb-teams.ffa .eb-team.all .eb-team-list > .lb-team-none, .eb-teams.ffa .eb-team.all .eb-team-list > .lb-open-line { grid-column: 1 / -1; }
.eb-teams.ffa .eb-team.watch .eb-team-list { flex-direction: row; flex-wrap: wrap; min-height: calc(64 * var(--p)); }
.rs-dash, .eb-tag, .bd-team header, .bd-tag, .bd-lv { border-radius: calc(7 * var(--p, 1px)); }
.cl-lab { margin: calc(10 * var(--p)) 0 calc(-4 * var(--p)); font-size: calc(26 * var(--p)); color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
@media (max-width: 1100px) {
.cg-page { display: flex; flex-direction: column; gap: calc(16 * var(--p)); }
.cg-page > section { display: contents !important; }
.cg-page > .eb-mk { order: 1; align-self: stretch !important; }
.cg-page .cg-lobbies { order: 2; }
.cg-page .cl-strip-lab, .cg-page .cl-strip { order: 3; }
.cg-page .cl-strip { align-self: stretch; }
}
.eb-clips-none { grid-column: 1 / -1; }
.eb .eb-rep .eb-score { height: auto; align-self: center; justify-self: center; display: inline-flex; gap: calc(4 * var(--p)); background: var(--ink); border: calc(4 * var(--p)) solid var(--ink); border-radius: calc(14 * var(--p)) calc(10 * var(--p)); overflow: hidden; transform: skewX(8deg) skewX(-12deg); box-shadow: var(--tile-sh); }
.eb-rep .eb-score > span { flex: 1 0 auto; min-width: calc(58 * var(--p)); height: calc(44 * var(--p)); padding: 0 calc(10 * var(--p)); font-family: 'Titan One', sans-serif; font-style: normal; font-weight: 400; font-size: calc(32 * var(--p)); color: var(--shell); }
.eb-rep .eb-score:has(.won) > .r:not(.won) { background: color-mix(in srgb, var(--red) 55%, var(--panel)); color: color-mix(in srgb, var(--shell) 55%, var(--panel)); }
.eb-rep .eb-score:has(.won) > .b:not(.won) { background: color-mix(in srgb, var(--blue) 55%, var(--panel)); color: color-mix(in srgb, var(--shell) 55%, var(--panel)); }
.eb-rep .eb-score .mine { box-shadow: inset 0 calc(-6 * var(--p)) 0 var(--shell); }
html.eb-phone .eb-rep .eb-score > span { min-width: calc(82 * var(--p)); height: calc(54 * var(--p)); font-size: calc(42 * var(--p)); }
.lb-games-h { margin-bottom: calc(10 * var(--p)); }
.lb-gcard.party .lb-beta { top: calc(5 * var(--p)); left: calc(6 * var(--p)); font-size: max(10px, calc(15 * var(--p))); }
.lb-gcard.party .lb-gpic { flex-direction: column; padding: calc(max(10px, calc(15 * var(--p))) * 1.35 + 14 * var(--p)) 0 calc(5 * var(--p)); }
.lb-gcard.party .lb-gpic img { flex: 1 1 0; width: 100%; height: 0; min-height: 0; max-height: none; }
