:root {
  --bg: #050505;
  --bg2: #101114;
  --card: #1b1c20;
  --ink: #ffffff;
  --muted: #d1d1d4;
  --dim: #bfc0c5;
  --line: #85858b;
  --btn: #151619;
  --white: #f5f5f5;
  --black: #080808;
  --silver: #c8c9ce;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: #050505 url('/assets/3TUZBACK.jpg') center / cover no-repeat fixed;
  background-image: url('/assets/3TUZBACK.jpg'), url('/assets/3TUZBACK.svg');
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
.glass-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
#app { min-height: 100dvh; }
.shell {
  width: min(480px, 100%);
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.top, .tabbar {
  position: fixed;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(448px, calc(100% - 28px));
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.18);
}
.g-blur, .g-liquid, .g-shine, .g-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.g-blur {
  z-index: 0;
  background-color: rgba(8, 8, 10, 0.28);
  backdrop-filter: blur(30px) saturate(1.7);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
}
.g-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.g-liquid {
  z-index: 1;
  opacity: 0;
}
.g-shine {
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 70%);
  height: 46%;
  bottom: auto;
}
.g-rim {
  z-index: 3;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.22) 28%, rgba(255, 255, 255, 0.08) 52%, rgba(255, 255, 255, 0.34));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.top {
  top: calc(8px + env(safe-area-inset-top));
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 8px 0 12px;
  border-radius: 24px;
}
.brand { position: relative; z-index: 4; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.brand img { width: 28px; height: 20px; object-fit: contain; filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)); }
.brand b, .brand small { display: block; white-space: nowrap; }
.brand b { font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.brand small { letter-spacing: .12em; font-size: 9px; font-weight: 600; margin-top: 1px; }
.bal {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 3px 0 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 0.5px rgba(255, 255, 255, 0.22);
}
.bal span { font-weight: 600; font-size: 13px; letter-spacing: -0.02em; }
.plus {
  width: 22px; height: 22px; border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 0 0 0.5px rgba(255, 255, 255, 0.28);
}
.main { flex: 1; padding: calc(68px + env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom)); }
.iphone-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  margin-inline: auto;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 6;
  width: min(460px, calc(100% - 16px));
  color: rgba(255, 255, 255, 0.58);
  --glass-tab-bar-height: 68px;
  --glass-tab-selection: rgba(255, 255, 255, 0.3);
  --glass-tab-selected: #fff;
  --gl-item-icon: 22px;
  --glass-item-gap: 3px;
}
glass-tab {
  color: inherit;
  min-width: 0;
}
glass-tab[aria-selected="true"] { color: #fff; }
glass-tab span {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
}
.shell.bare .main { padding: 8px 14px 18px; }
.tabbar {
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  height: 52px;
  padding: 4px;
  border-radius: 26px;
}
.tab {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  border-radius: 18px;
  padding: 0 1px;
}
.tab span { white-space: nowrap; }
.tab svg { width: 18px; height: 18px; display: block; }
.tab.on { color: #fff; }
.tab.on svg { filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.85)); }
.tab.on span, .tab.on svg { position: relative; z-index: 1; }
.tab.on::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1) 48%, rgba(255, 255, 255, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.16),
    0 1px 2px rgba(0, 0, 0, 0.16);
}
.row2 { display: grid; grid-template-columns: 1.4fr .9fr; gap: 10px; margin: 6px 0 14px; }
.btn {
  border-radius: 14px;
  border: 1px solid rgba(133,133,139,.9);
  background: linear-gradient(180deg, #2a2b30, var(--btn) 42%, #101114);
  color: white;
  min-height: 46px;
  padding: 0 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.btn.white {
  background: linear-gradient(180deg, #fff, var(--white) 40%, #d9d9dc);
  color: var(--black);
  border-color: #f5f5f5;
  font-weight: 800;
}
.btn.block { width: 100%; }
.h1 { font-size: 22px; margin: 8px 0 10px; }
.search, .field, .composer input, .select {
  width: 100%;
  background: rgba(16,17,20,.72);
  border: 1px solid rgba(133,133,139,.85);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.home .row2 { gap: 10px; margin: 4px 0 14px; }
.home .btn { min-height: 44px; border-radius: 14px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.home .h1 { font-size: 20px; margin: 4px 0 10px; font-weight: 700; letter-spacing: -0.03em; }
.home .search { padding: 12px 14px; border-radius: 14px; font-size: 15px; }
.rooms { display: flex; flex-direction: column; gap: 8px; }
.room {
  display: grid;
  grid-template-columns: 1.15fr .85fr .95fr;
  gap: 8px;
  align-items: center;
  text-align: center;
  background: rgba(22, 22, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 12px 8px;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 28px rgba(0,0,0,.28);
  color: white;
}
.room b { display: block; font-size: 12px; font-weight: 700; letter-spacing: -0.02em; }
.room small { color: rgba(255,255,255,.62); font-size: 10px; }
.room img { height: 18px; width: auto; }
.room .mid { border-left: 1px solid rgba(133,133,139,.45); border-right: 1px solid rgba(133,133,139,.45); }
.empty { text-align: center; color: var(--dim); padding: 28px 10px; }

.overlay {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(0,0,0,.62);
  display: grid; place-items: center;
  padding: 18px;
}
.modal {
  width: min(380px, 100%);
  background: rgba(16,17,20,.92);
  border: 1px solid rgba(191,192,197,.55);
  border-radius: 26px;
  padding: 18px 16px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  position: relative;
}
.modal h3 { text-align: center; margin: 8px 0 4px; }
.modal p { text-align: center; color: var(--muted); margin: 0 0 14px; font-size: 13px; }
.x {
  position: absolute; right: 12px; top: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: #151619; color: white;
}
.overlay:has(.modal.newroom) {
  align-items: flex-start;
  overflow-y: auto;
  padding: 12px;
}
.modal.newroom {
  width: min(420px, 100%);
  margin: auto;
  max-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  padding: 16px 14px 14px;
}
.modal.newroom h3 { margin: 2px 36px 12px; font-size: 22px; font-weight: 750; }
.modal.newroom .room-scroll { overflow-y: auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.modal.newroom .field { text-align: center; border-radius: 16px; font-size: 16px; }
.modal.newroom .room-label {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 2px 8px; font-size: 15px; font-weight: 650; color: #f2f2f4;
}
.modal.newroom .room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.modal.newroom .room-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 8px; }
.modal.newroom .chip {
  width: 100%;
  min-height: 38px;
  padding: 8px 2px;
  background: transparent;
  border: 1px solid rgba(220, 220, 224, .72);
  font-size: 14px;
  font-weight: 650;
}
.modal.newroom .chip.on { background: #fff; color: #111; border-color: #fff; }
.modal.newroom .room-grid.stakes .chip.wide {
  grid-column: 1 / -1;
  width: calc(25% - 6px);
  justify-self: center;
}
.modal.aff {
  width: min(420px, 100%);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: 18px 14px 14px;
}
.modal.aff h3 { margin: 8px 28px 6px; font-size: 22px; }
.modal.aff p { font-size: 13px; line-height: 1.4; }
.aff-ico {
  width: 46px; height: 46px; margin: 8px auto 0;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center;
}
.aff-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 14px;
  padding: 10px 8px; margin: 0 0 10px;
}
.aff-split div { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; font-size: 12px; }
.aff-split div + div { border-left: 1px solid rgba(255,255,255,.16); padding-left: 8px; }
.aff-split b { font-size: 13px; }
.aff-split small { color: var(--muted); }
.aff-split em { color: #7dcea0; font-style: normal; font-weight: 700; }
.aff-note {
  display: flex; gap: 8px; align-items: center;
  background: #16324d; color: #d6e8f8; border-radius: 12px;
  padding: 8px 10px; font-size: 12px; margin-bottom: 12px;
}
.aff-note span {
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; background: #2f6fed; color: white; font-weight: 800;
}
.aff-k { font-size: 13px; margin: 0 0 6px; }
.aff-link {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 14px;
  padding: 8px 8px 8px 12px; margin-bottom: 8px;
}
.aff-link input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: white;
  font-size: 13px; font-weight: 500; padding: 0; outline: none;
}
.aff-link button {
  width: auto; min-width: 84px; height: 38px; padding: 0 10px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.3); background: #fff; color: #111; font-weight: 800; font-size: 13px;
}
.aff-ready {
  text-align: center; background: #2a2c31; border-radius: 12px;
  padding: 10px; margin-bottom: 10px; color: #d7d7dc; font-weight: 650;
}
.aff-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.aff-stats div {
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  padding: 10px 8px; min-height: 92px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.aff-stats small { color: var(--muted); font-size: 11px; line-height: 1.25; }
.aff-stats b { font-size: 16px; }
.modal.aff #aff-create { margin-top: 0; margin-bottom: 10px; }
.modal.newroom .btn.white.block {
  margin-top: 14px;
  min-height: 52px;
  border-radius: 16px;
  font-size: 18px;
  flex: 0 0 auto;
}
.choices { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.chip {
  border-radius: 999px; border: 1px solid var(--line);
  background: #151619; color: white; padding: 8px 12px;
}
.chip.on { background: var(--white); color: var(--black); }

.subhead { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.subhead .ico {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  display: grid; place-items: center;
  box-shadow: 0 0 12px rgba(255,255,255,.2);
}
.subhead h2 { margin: 0; font-size: 20px; }
.subhead p { margin: 2px 0 0; color: var(--dim); font-size: 12px; }
.online {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  border: 1px solid rgba(133,133,139,.7); border-radius: 999px;
  padding: 6px 10px; font-size: 12px; background: rgba(16,17,20,.55);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.msgs { display: flex; flex-direction: column; gap: 8px; max-height: calc(100dvh - 250px); overflow: auto; padding-bottom: 8px; }
.msg {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start;
  background: rgba(27,28,32,.8);
  border: 1px solid rgba(133,133,139,.55);
  border-radius: 16px; padding: 8px;
}
.msg .who { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.msg .who b { font-weight: 800; }
.msg time { color: var(--dim); font-size: 11px; }
.msg .body { color: var(--muted); font-size: 14px; margin-top: 2px; }
.ava {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  overflow: hidden;
  background: #1b1c20;
  color: #eee;
}
span.ava {
  display: grid;
  place-items: center;
}
.ava svg { width: 18px; height: 18px; display: block; }
.composer {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(92px + env(safe-area-inset-bottom));
  width: min(452px, calc(100% - 20px));
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px;
}
.send {
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--black);
  box-shadow: inset 0 1px 0 white;
}
.ghost { width: 42px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: transparent; }
.emoji-pop {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(148px + env(safe-area-inset-bottom));
  width: min(452px, calc(100% - 20px));
  display: flex; flex-wrap: wrap; gap: 6px;
  background: rgba(16,17,20,.94); border: 1px solid var(--line); border-radius: 16px; padding: 10px;
}
.emoji-pop button { background: none; border: 0; font-size: 22px; }

.period { margin-left: auto; }
.select { width: auto; padding: 8px 12px; border-radius: 12px; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; margin: 12px 0; }
.pod {
  background: rgba(27,28,32,.78);
  border: 1px solid rgba(191,192,197,.4);
  border-radius: 18px; text-align: center; padding: 12px 6px;
  backdrop-filter: blur(8px);
}
.pod.first {
  border-color: #e6c36a;
  box-shadow: 0 0 18px rgba(230,195,106,.35), inset 0 0 18px rgba(230,195,106,.12);
  padding-top: 16px;
}
.pod.second { border-color: #d5d7de; }
.pod.third { border-color: #c4a484; }
.pod .rank { font-weight: 800; }
.pod .ava { margin: 6px auto; width: 54px; height: 54px; }
.list { display: flex; flex-direction: column; gap: 8px; }
.rankrow {
  display: grid; grid-template-columns: 28px 40px 1fr auto; gap: 8px; align-items: center;
  background: rgba(27,28,32,.78); border: 1px solid rgba(133,133,139,.45);
  border-radius: 16px; padding: 8px 10px;
}

.wd-card {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(133,133,139,.85); border-radius: 14px;
  background: rgba(16,17,20,.72); padding: 0 14px; margin: 0 0 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.wd-card svg { flex: 0 0 auto; }
.wd-card input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: white;
  padding: 12px 0; outline: none; font: inherit;
}
.profile { text-align: center; }
.profile .btn { margin-top: 10px; }
.bigava {
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 50%;
  margin: 16px auto 8px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1b1c20;
  box-shadow: none;
}
.bigava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.bigava svg { width: 52px; height: 52px; }
.pencil {
  position: absolute; right: 2px; bottom: 2px; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgba(8,8,10,.82); color: white;
}
.pinfo {
  display: flex; align-items: center; gap: 10px; text-align: left;
  border: 1px solid rgba(133,133,139,.7); border-radius: 16px;
  padding: 12px; margin: 10px 0; background: rgba(16,17,20,.55);
}
.pinfo .grow { flex: 1; }
.pinfo small { color: var(--dim); display: block; }
.back { background: none; border: 0; color: white; font-size: 20px; }

.support { text-align: center; padding-top: 18px; }
.headset {
  width: 120px; height: 120px; margin: 18px auto; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  display: grid; place-items: center;
  box-shadow: 0 0 18px rgba(255,255,255,.18);
}
.support h2 { margin-bottom: 8px; }
.support p { color: var(--muted); line-height: 1.45; }

.tx { display: flex; justify-content: space-between; gap: 8px; text-align: left; }
.tx b { display: block; }
.st { font-size: 12px; }
.st.ok { color: #3ddc84; }
.st.no { color: #ff5d5d; }
.st.wait { color: #e6c36a; }
.filters { display: flex; gap: 8px; margin: 8px 0 12px; }

.toast {
  position: fixed; left: 50%; top: calc(78px + env(safe-area-inset-top)); transform: translateX(-50%);
  z-index: 40; background: rgba(245,245,245,.95); color: #080808;
  border-radius: 999px; padding: 10px 16px; font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  max-width: min(420px, calc(100% - 24px)); text-align: center;
}

.auth {
  min-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 6px 48px;
}
.auth .brand { margin-bottom: 6px; }
.auth .brand img { width: 72px; height: 52px; }
.auth .brand b { font-size: 22px; letter-spacing: .16em; }
.auth .brand small { font-size: 12px; letter-spacing: .32em; margin-top: 4px; }
.auth .stack { gap: 12px; margin-top: 6px; }
.auth .field {
  min-height: 52px;
  border-radius: 16px;
  background: rgba(16, 16, 20, 0.55);
  border-color: rgba(255, 255, 255, 0.16);
  font-size: 16px;
}
.auth .btn.white { min-height: 52px; border-radius: 16px; font-size: 17px; letter-spacing: -0.02em; }
.auth h1 { letter-spacing: .18em; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }

.game { padding-bottom: 12px; }
.gbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
}
.gbar .meta { color: #d7efe0; font-size: 13px; }
.gbar .tools { display: flex; gap: 8px; }
.iconbtn, .exit {
  border: 1px solid rgba(133,133,139,.8); background: rgba(16,17,20,.55);
  color: white; border-radius: 999px; min-width: 40px; height: 36px; padding: 0 12px;
}
.felt-wrap { position: relative; height: 46dvh; min-height: 300px; margin: 0 8px; }
.felt {
  position: absolute; left: 8%; right: 8%; top: 8%; bottom: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #1f8f4a, #0c5a30 70%, #084425);
  border: 8px solid #1a1c20;
  box-shadow: 0 0 0 2px rgba(200,200,206,.65), inset 0 0 40px rgba(0,0,0,.35);
}
.seat {
  position: absolute; transform: translate(-50%, -50%);
  text-align: center; width: 76px; background: none; border: 0; color: white; padding: 0;
}
.seat .ava { margin: 0 auto 4px; width: 42px; height: 42px; }
.seat small { display: block; font-size: 11px; text-shadow: 0 1px 3px black; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat .t {
  position: absolute; right: 10px; top: 22px; width: 18px; height: 18px; border-radius: 50%;
  background: #2f6bff; color: white; font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.pot {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  text-align: center; color: white; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.pot .cardsmini { font-size: 28px; }
.cdnum { font-size: 42px; letter-spacing: .04em; }
.tomni {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  min-width: 140px; height: 46px; border-radius: 14px; border: 1px solid white;
  background: linear-gradient(180deg, #fff, #d9dadd);
  color: #080808; font-weight: 900; letter-spacing: .08em;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.result {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
  width: 70%; background: rgba(8,8,8,.72); border: 1px solid rgba(255,255,255,.4);
  border-radius: 16px; padding: 10px; text-align: center;
}
.banner {
  margin: 0 12px 6px; text-align: center; color: #080808; background: #f5f5f5;
  border-radius: 999px; padding: 6px 10px; font-weight: 800; font-size: 13px;
}
.dock { padding: 0 10px 8px; }
.dock-grid { display: grid; grid-template-columns: 96px 1fr 104px; gap: 8px; align-items: end; }
.col { display: flex; flex-direction: column; gap: 8px; }
.act {
  border: 0; border-radius: 12px; min-height: 36px; font-weight: 800; color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.act:disabled { opacity: .35; }
.act.blue { background: linear-gradient(180deg, #4d86ff, #2f6bff); }
.act.cyan { background: linear-gradient(180deg, #4fe0ef, #14b9d0); color: #062126; }
.act.orange { background: linear-gradient(180deg, #ffb03a, #f08a12); color: #2a1600; min-height: 42px; }
.act.red { background: linear-gradient(180deg, #ff5d5d, #e02626); }
.hand { display: flex; justify-content: center; gap: 6px; min-height: 86px; }
.card {
  width: 58px; height: 84px; border-radius: 8px; background: white; color: #111;
  display: flex; flex-direction: column; align-items: flex-start; padding: 4px 6px;
  font-weight: 800; box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
.card.red { color: #d31515; }
.card i { font-style: normal; font-size: 18px; }
.slider { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.slider button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #888; background: #1b1c20; color: white;
}
.slider input { flex: 1; accent-color: #2f6bff; }
.xal { text-align: center; font-size: 12px; line-height: 1.25; }
.xal b { display: block; }
.turnline { text-align: center; color: #d7efe0; font-size: 13px; margin: 8px 0; }
.tablechat {
  position: fixed; left: 50%; bottom: 74px; transform: translateX(-50%);
  width: min(440px, calc(100% - 20px));
  background: rgba(10,10,12,.94); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px; z-index: 6; max-height: 240px; overflow: auto;
}
.tablechat .line { font-size: 13px; margin: 4px 0; color: var(--muted); }
.deco { position: absolute; opacity: .55; pointer-events: none; }
.admin { width: min(720px, 100%); margin: 0 auto; padding: 18px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin td, .admin th { border-bottom: 1px solid rgba(133,133,139,.4); padding: 8px 4px; text-align: left; }
@media (max-width: 380px) {
  .dock-grid { grid-template-columns: 84px 1fr 92px; }
  .card { width: 50px; height: 74px; }
}
.modal.p2p {
  width: min(420px, 100%);
  max-height: min(760px, calc(100vh - 28px));
  overflow: auto;
  padding: 14px 14px 16px;
  background: #0c0d10;
  border-color: rgba(255,255,255,.72);
  border-radius: 28px;
}
.p2p-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 8px;
}
.p2p-head b { text-align: center; font-size: 18px; }
.modal.p2p .x { position: static; display: grid; place-items: center; padding: 0; }
.p2p-ico {
  width: 74px; height: 74px; margin: 6px auto 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.04);
}
.modal.p2p h3 { font-size: 22px; margin: 4px 0 8px; }
.modal.p2p p { font-size: 13px; line-height: 1.45; color: #b7b8be; }
.p2p-row, .p2p-card {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 10px 0;
  background: rgba(255,255,255,.03);
}
.p2p-row span { color: #d0d1d6; font-size: 14px; }
.p2p-row b, .p2p-card b { margin-left: auto; font-size: 18px; white-space: nowrap; }
.p2p-card b { margin-left: 0; font-size: 15px; letter-spacing: .3px; }
.p2p-card small { display: block; color: #9a9ba1; font-size: 12px; }
.p2p-mini {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center; flex: none;
}
.p2p-copy {
  margin-left: auto; flex: none;
  display: flex; align-items: center; gap: 4px;
  background: transparent; color: #fff;
  border: 0; border-left: 1px solid rgba(255,255,255,.28);
  padding: 4px 0 4px 10px; font-size: 13px;
}
.p2p-warn {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(120, 18, 28, .55);
  border: 1px solid rgba(255, 70, 80, .45);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0 12px;
}
.p2p-warn span {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #e23b3b; color: #fff; font-weight: 800; font-size: 14px;
}
.modal.p2p .p2p-warn p { margin: 0; text-align: left; color: #f3d7da; font-size: 13px; line-height: 1.35; }
.p2p-warn b { color: #ff5a5a; }
.p2p-upload {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 1.5px dashed rgba(255,255,255,.45);
  border-radius: 18px;
  padding: 18px 12px 16px;
  text-align: center;
  margin-bottom: 12px;
}
.p2p-upload b { font-size: 18px; }
.p2p-upload small { color: #9a9ba1; font-size: 12px; line-height: 1.4; }
.p2p-ok {
  background: #2a2b30;
  color: #8d8e94;
  border-color: #3a3b40;
  box-shadow: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.p2p-ok.ready {
  background: linear-gradient(180deg, #fff, #e8e8ea 40%, #d9d9dc);
  color: #111;
  border-color: #f5f5f5;
}
.p2p-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
  font-size: 12px;
}
