.cg-wrap {
  box-sizing: content-box;
  position: relative;
  display: block;
}

cg-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
}

cg-board {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height: 0;
  background-size: cover;
}

.cg-wrap.manipulable cg-board {
  cursor: pointer;
}

cg-board square {
  position: absolute;
  top: 0;
  left: 0;
  width: 12.5%;
  height: 12.5%;
  pointer-events: none;
}

cg-board square.move-dest {
  pointer-events: auto;
}

cg-board square.last-move {
  will-change: transform;
}

.cg-wrap piece {
  position: absolute;
  top: 0;
  left: 0;
  width: 12.5%;
  height: 12.5%;
  background-size: cover;
  z-index: 2;
  will-change: transform;
  pointer-events: none;
}

cg-board piece.dragging {
  cursor: move;
  /* !important to override z-index from 3D piece inline style */
  z-index: 11 !important;
}

piece.anim {
  z-index: 8;
}

piece.fading {
  z-index: 1;
  opacity: 0.5;
}

.cg-wrap piece.ghost {
  opacity: 0.3;
}

.cg-wrap piece svg {
  overflow: hidden;
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

.cg-wrap cg-auto-pieces,
.cg-wrap .cg-shapes,
.cg-wrap .cg-custom-svgs {
  overflow: visible;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cg-wrap cg-auto-pieces {
  z-index: 2;
}

.cg-wrap cg-auto-pieces piece {
  opacity: 0.3;
}

.cg-wrap .cg-shapes {
  overflow: hidden;
  opacity: 0.6;
  z-index: 2;
}

.cg-wrap .cg-custom-svgs {
  /* over piece.anim = 8, but under piece.dragging = 11 */
  z-index: 9;
}

.cg-wrap .cg-custom-svgs svg {
  overflow: visible;
}

.cg-wrap coords {
  position: absolute;
  display: flex;
  pointer-events: none;
  opacity: 0.8;
  font-family: sans-serif;
  font-size: 9px;
}

.cg-wrap coords.ranks {
  left: 4px;
  top: -20px;
  flex-flow: column-reverse;
  height: 100%;
  width: 12px;
}

.cg-wrap coords.ranks.black {
  flex-flow: column;
}

.cg-wrap coords.ranks.left {
  left: -15px;
  align-items: flex-end;
}

.cg-wrap coords.files {
  bottom: -4px;
  left: 24px;
  flex-flow: row;
  width: 100%;
  height: 16px;
  text-transform: uppercase;
  text-align: center;
}

.cg-wrap coords.files.black {
  flex-flow: row-reverse;
}

.cg-wrap coords coord {
  flex: 1 1 auto;
}

.cg-wrap coords.ranks coord {
  transform: translateY(39%);
}

.cg-wrap coords.squares {
  bottom: 0;
  left: 0;
  text-transform: uppercase;
  text-align: right;
  flex-flow: column-reverse;
  height: 100%;
  width: 12.5%;
}

.cg-wrap coords.squares.black {
  flex-flow: column;
}

.cg-wrap coords.squares.left {
  text-align: left;
}

.cg-wrap coords.squares coord {
  padding: 6% 4%;
}

.cg-wrap coords.squares.rank2 {
  transform: translateX(100%);
}

.cg-wrap coords.squares.rank3 {
  transform: translateX(200%);
}

.cg-wrap coords.squares.rank4 {
  transform: translateX(300%);
}

.cg-wrap coords.squares.rank5 {
  transform: translateX(400%);
}

.cg-wrap coords.squares.rank6 {
  transform: translateX(500%);
}

.cg-wrap coords.squares.rank7 {
  transform: translateX(600%);
}

.cg-wrap coords.squares.rank8 {
  transform: translateX(700%);
}
/** Colored board squares as an embedded SVG */
cg-board {
  background-color: #f0d9b5;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4PSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+CjxnIGlkPSJhIj4KICA8ZyBpZD0iYiI+CiAgICA8ZyBpZD0iYyI+CiAgICAgIDxnIGlkPSJkIj4KICAgICAgICA8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZSIgb3BhY2l0eT0iMCIvPgogICAgICAgIDx1c2UgeD0iMSIgeT0iMSIgaHJlZj0iI2UiIHg6aHJlZj0iI2UiLz4KICAgICAgICA8cmVjdCB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZiIgb3BhY2l0eT0iMC4yIi8+CiAgICAgICAgPHVzZSB4PSIxIiB5PSItMSIgaHJlZj0iI2YiIHg6aHJlZj0iI2YiLz4KICAgICAgPC9nPgogICAgICA8dXNlIHg9IjIiIGhyZWY9IiNkIiB4OmhyZWY9IiNkIi8+CiAgICA8L2c+CiAgICA8dXNlIHg9IjQiIGhyZWY9IiNjIiB4OmhyZWY9IiNjIi8+CiAgPC9nPgogIDx1c2UgeT0iMiIgaHJlZj0iI2IiIHg6aHJlZj0iI2IiLz4KPC9nPgo8dXNlIHk9IjQiIGhyZWY9IiNhIiB4OmhyZWY9IiNhIi8+Cjwvc3ZnPg==');
}

/** Interactive board square colors */
cg-board square.move-dest {
  background: radial-gradient(rgba(20, 85, 30, 0.5) 22%, #208530 0, rgba(0, 0, 0, 0.3) 0, rgba(0, 0, 0, 0) 0);
}
cg-board square.premove-dest {
  background: radial-gradient(rgba(20, 30, 85, 0.5) 22%, #203085 0, rgba(0, 0, 0, 0.3) 0, rgba(0, 0, 0, 0) 0);
}
cg-board square.oc.move-dest {
  background: radial-gradient(transparent 0%, transparent 80%, rgba(20, 85, 0, 0.3) 80%);
}
cg-board square.oc.premove-dest {
  background: radial-gradient(transparent 0%, transparent 80%, rgba(20, 30, 85, 0.2) 80%);
}
cg-board square.move-dest:hover {
  background: rgba(20, 85, 30, 0.3);
}
cg-board square.premove-dest:hover {
  background: rgba(20, 30, 85, 0.2);
}
cg-board square.last-move {
  background-color: rgba(155, 199, 0, 0.41);
}
cg-board square.selected {
  background-color: rgba(20, 85, 30, 0.5);
}
cg-board square.check {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 0, 0, 1) 0%,
    rgba(231, 0, 0, 1) 25%,
    rgba(169, 0, 0, 0) 89%,
    rgba(158, 0, 0, 0) 100%
  );
}
cg-board square.current-premove {
  background-color: rgba(20, 30, 85, 0.5);
}

/** Alternating colors in rank/file/square labels */
.orientation-white .ranks :nth-child(odd),
.orientation-white .files :nth-child(even),
.orientation-black .ranks :nth-child(even),
.orientation-black .files :nth-child(odd),
coords.squares:nth-of-type(odd) :nth-child(even),
coords.squares:nth-of-type(even) :nth-child(odd) {
  color: rgba(72, 72, 72, 0.8);
}

.orientation-white .ranks :nth-child(even),
.orientation-white .files :nth-child(odd),
.orientation-black .ranks :nth-child(odd),
.orientation-black .files :nth-child(even),
coords.squares:nth-of-type(odd) :nth-child(odd),
coords.squares:nth-of-type(even) :nth-child(even) {
  color: rgba(255, 255, 255, 0.8);
}
/** Embedded SVGs for all chess pieces */
.cg-wrap piece.pawn.white {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==');
}
.cg-wrap piece.bishop.white {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzIDEwLjExIDEuMDMgMTMuNSAyIDAgMCAxLjY1LjU0IDMgMi0uNjguOTctMS42NS45OS0zIC41LTMuMzktLjk3LTEwLjExLjQ2LTEzLjUtMS0zLjM5IDEuNDYtMTAuMTEuMDMtMTMuNSAxLTEuMzU0LjQ5LTIuMzIzLjQ3LTMtLjUgMS4zNTQtMS45NCAzLTIgMy0yeiIvPjxwYXRoIGQ9Ik0xNSAzMmMyLjUgMi41IDEyLjUgMi41IDE1IDAgLjUtMS41IDAtMiAwLTIgMC0yLjUtMi41LTQtMi41LTQgNS41LTEuNSA2LTExLjUtNS0xNS41LTExIDQtMTAuNSAxNC01IDE1LjUgMCAwLTIuNSAxLjUtMi41IDQgMCAwLS41LjUgMCAyeiIvPjxwYXRoIGQ9Ik0yNSA4YTIuNSAyLjUgMCAxIDEtNSAwIDIuNSAyLjUgMCAxIDEgNSAweiIvPjwvZz48cGF0aCBkPSJNMTcuNSAyNmgxME0xNSAzMGgxNW0tNy41LTE0LjV2NU0yMCAxOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==');
}
.cg-wrap piece.knight.white {
  background-image: url('data:image/svg+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TYuNS0xMy41LTMuNS0xNiA0VjI3di0zLjVjLTMuNS03LjUtMTMtMTAuNS0xNi00LTMgNiA1IDEwIDUgMTBWMzd6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTExLjUgMzBjNS41LTMgMTUuNS0zIDIxIDBtLTIxIDMuNWM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwIi8+PC9nPjwvc3ZnPg==');
}
.cg-wrap piece.pawn.black {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==');
}
.cg-wrap piece.bishop.black {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam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zVjYiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMjIuNSAyNXM0LjUtNy41IDMtMTAuNWMwIDAtMS0yLjUtMy0yLjVzLTMgMi41LTMgMi41Yy0xLjUgMyAzIDEwLjUgMyAxMC41IiBmaWxsPSIjMDAwIiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjxwYXRoIGQ9Ik0xMS41IDM3YzUuNSAzLjUgMTUuNSAzLjUgMjEgMHYtN3M5LTQuNSA2LTEwLjVjLTQtNi41LTEzLjUtMy41LTE2IDRWMjd2LTMuNWMtMy41LTcuNS0xMy0xMC41LTE2LTQtMyA2IDUgMTAgNSAxMFYzN3oiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMyIDI5LjVzOC41LTQgNi4wMy05LjY1QzM0LjE1IDE0IDI1IDE4IDIyLjUgMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4=');
}
:root{--bg:#05070f;--panel:#0c1222;--line:#1d2b4a;--cy:#22e6ff;--mg:#ff3ea5;--gold:#ffd166;--tx:#dbe7ff;--dim:#7d8db0}
*{box-sizing:border-box}html,body{margin:0;background:radial-gradient(1200px 600px at 50% -10%,#0d2244,var(--bg));color:var(--tx);font:15px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;min-height:100%}
a{color:var(--cy)}button,.btn{font:inherit;cursor:pointer;background:#13203b;color:var(--tx);border:1px solid #2a3d66;border-radius:10px;padding:8px 14px;text-decoration:none;display:inline-block}
button:hover,.btn:hover{border-color:var(--cy);box-shadow:0 0 10px #22e6ff55}button:disabled{opacity:.5}
.pri{background:linear-gradient(135deg,#00b7d6,#7b2cff);border-color:#7fe8ff;color:#fff;font-weight:700}
.top{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line);background:#060b18cc;position:sticky;top:0;z-index:5}
.brand{display:flex;gap:10px;align-items:center}.logo{font-size:30px;color:var(--cy);text-shadow:0 0 12px var(--cy)}
.brand strong{letter-spacing:.12em;font-size:14px;color:#fff;text-shadow:0 0 8px #22e6ff99}.brand small{display:block;color:var(--dim);font-size:11px}
.me{margin-left:auto;font-size:13px;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.x{display:none}body.embed .x{display:inline-block}
.tabs{display:flex;gap:6px;padding:8px 14px;overflow-x:auto}.tabs button{border-radius:999px;white-space:nowrap}.tabs .on{border-color:var(--cy);color:#fff;box-shadow:inset 0 0 0 1px var(--cy)}
main{max-width:1100px;margin:0 auto;padding:6px 14px 40px}h2{margin:10px 0;font-size:20px}h3{margin:4px 0 8px;font-size:16px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tcb{display:flex;flex-direction:column;align-items:center;padding:16px 6px;background:linear-gradient(180deg,#101b33,#0a1224);border-radius:14px}
.tcb .tt{font-size:26px;font-weight:800;color:#fff}.tcb .tk{color:var(--dim);font-size:13px}.tcb .tr{color:var(--gold);font-size:12px;min-height:16px}.tcb .tw{color:var(--mg);font-size:11px;min-height:14px}
.seeking{display:flex;align-items:center;gap:12px;margin:12px 0;padding:12px;border:1px solid var(--mg);border-radius:12px;background:#2a0b22}
.spin{width:22px;height:22px;border:3px solid #ff3ea555;border-top-color:var(--mg);border-radius:50%;animation:sp 1s linear infinite}@keyframes sp{to{transform:rotate(360deg)}}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px}
label{display:inline-block;margin:4px 8px 8px 0}select,input{font:inherit;background:#0a1020;color:var(--tx);border:1px solid #2a3d66;border-radius:8px;padding:7px}
form label{display:block}form input{width:100%;max-width:320px}.ck input{width:auto}
.dim{color:var(--dim)}.small{font-size:12px}.err{color:#ff7a8a}.resume{width:100%;margin:6px 0 10px;border-color:var(--gold);color:var(--gold)}
.rg{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #15203a;text-decoration:none;color:var(--tx)}.rg span{color:var(--dim)}
.seg{display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap}.seg .on{border-color:var(--gold);color:var(--gold)}
table.lb{width:100%;border-collapse:collapse}.lb th,.lb td{padding:8px;border-bottom:1px solid #15203a;text-align:left}.lb th{color:var(--dim);font-weight:600}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.chip{background:#101b33;border:1px solid var(--line);border-radius:999px;padding:5px 10px;font-size:13px}
.hg{padding:8px 0;border-bottom:1px solid #15203a}.hg span{color:var(--dim);font-size:13px}.pgn{float:right;font-size:12px}
.up{color:#4ade80;font-style:normal}.dn{color:#f87171;font-style:normal}
.gwrap{display:flex;gap:16px;align-items:flex-start}.bcol{flex:0 0 auto;width:min(92vw,560px)}.side{flex:1;min-width:240px}
.pl{display:flex;justify-content:space-between;align-items:center;padding:6px 2px}.pn{font-weight:700}.pr{color:var(--dim)}
.clock{font:700 22px ui-monospace,Menlo,monospace;background:#0b1326;border:1px solid #2a3d66;border-radius:8px;padding:3px 10px;min-width:92px;text-align:right}.clock:empty{display:none}
.clock.run{background:#06323d;border-color:var(--cy);color:#fff;box-shadow:0 0 12px #22e6ff66}.clock.run.low{background:#3d0620;border-color:var(--mg)}
.bwrap{position:relative;width:100%;padding-bottom:100%;border-radius:6px;box-shadow:0 0 0 2px #22e6ff55,0 0 30px #22e6ff33}#board{position:absolute;inset:0}
.promo{position:absolute;inset:0;background:#000a;display:flex;align-items:center;justify-content:center;gap:8px;z-index:9}.promo .pp{width:22%;height:22%;position:relative;padding:0;background:#e9e3d0}.promo piece{position:absolute;inset:0;background-size:cover}
.status{min-height:24px;margin-bottom:8px}.status input{width:100%;margin:6px 0}.offer{margin-top:8px;padding:8px;border:1px solid var(--gold);border-radius:10px}
.acts{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.moves{max-height:220px;overflow:auto;background:#0a1020;border:1px solid var(--line);border-radius:10px;padding:6px;font:14px ui-monospace,Menlo,monospace}
.mr{display:grid;grid-template-columns:40px 1fr 1fr;padding:1px 4px}.mn{color:var(--dim)}
.chat{margin-top:10px;background:#0a1020;border:1px solid var(--line);border-radius:10px;padding:8px}.ch{display:flex;justify-content:space-between}.lnk{background:none;border:0;color:var(--mg);padding:0;font-size:12px}
.log{height:150px;overflow:auto;font-size:14px;margin:6px 0}.cm{padding:2px 0}.cm.me b{color:var(--cy)}.cm b{color:var(--gold)}.rep{background:none;border:0;color:var(--dim);padding:0 4px;font-size:12px}
#chatform{display:flex;gap:6px}#chatform input{flex:1}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(40px);opacity:0;background:#111c36;border:1px solid var(--cy);padding:10px 16px;border-radius:12px;transition:.25s;z-index:99;pointer-events:none}.toast.on{opacity:1;transform:translateX(-50%)}
@media (max-width:760px){.grid{grid-template-columns:repeat(2,1fr)}.row2{grid-template-columns:1fr}.gwrap{flex-direction:column}.bcol{width:100%}.side{width:100%}.top .me{flex-wrap:nowrap;gap:4px;font-size:12px}.top .me>span[title],.top .me>b{display:none}}
.ctr{text-align:center}.ctrs{justify-content:center}.bigr{font-size:20px;margin:14px 0 8px}.bigr b{font-size:38px;margin-left:6px}
.stg{margin-top:4px}.prog{font-size:22px;font-weight:800;margin-top:0}.g2{display:grid;grid-template-columns:1fr 1fr;gap:14px;text-align:center}.g2 b{display:block;font-size:20px}.g2 small{display:block;color:var(--tx)}
.svgc{width:100%;height:auto}.gl{stroke:#22e6ff22}.gt{fill:#7d8db0;font-size:11px}.gp{fill:none;stroke:#22e6ff;stroke-width:2}.ga{fill:#22e6ff22}
.sets label{display:block;margin:8px 0}.clock.flash{animation:fl .5s 4}@keyframes fl{50%{background:#ff3ea5}}
cg-board square.current-premove{background-color:rgba(255,62,165,.5)!important}
[hidden]{display:none!important}
.wg{display:grid;grid-template-columns:150px 1fr auto;gap:10px;padding:12px;margin-bottom:8px;background:var(--panel);border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--tx)}.wg:hover{border-color:var(--cy)}.wg em{color:var(--gold);font-style:normal}.wt,.wv{color:var(--dim)}
@media (max-width:760px){.wg{grid-template-columns:1fr}}
.tv{margin:4px 0 14px}.tvrow{display:grid;grid-template-columns:minmax(260px,1.15fr) 1.6fr;gap:14px;align-items:start}
.tvhd{color:var(--cy);font-weight:700;margin-bottom:6px;text-shadow:0 0 8px #22e6ff66}
.tvc{display:block;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:6px;text-decoration:none;color:var(--tx)}.tvc:hover{border-color:var(--cy);box-shadow:0 0 12px #22e6ff44}
.tvp{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:3px 2px;gap:6px;white-space:nowrap;overflow:hidden}.tvp em{color:var(--gold);font-style:normal}.big .tvp{font-size:14px}
.tvk{font:700 12px ui-monospace,Menlo,monospace;background:#0b1326;border:1px solid #2a3d66;border-radius:6px;padding:1px 6px}.tvk.run{border-color:var(--cy);color:#fff;background:#06323d}.big .tvk{font-size:16px}
.tvb{position:relative;width:100%;padding-bottom:100%}.tvbi{position:absolute;inset:0}.tvc cg-board{cursor:pointer}.tvm{color:var(--dim);font-size:13px;padding:4px 2px 0}
.tvg{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tvempty{background:var(--panel);border:1px dashed #2a3d66;border-radius:12px;padding:18px;text-align:center}.tvempty.solo{padding:26px}
@media (max-width:760px){.tvrow{grid-template-columns:1fr}.tvg{grid-template-columns:repeat(2,1fr)}}
.nog{color:#ffcf5a;font-size:13px;margin:4px 0}
.x.snd{display:inline-block;background:none;border:0;font-size:18px;cursor:pointer;margin-left:6px}
.pzwrap{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-start}.pzboardw{flex:1 1 420px;max-width:640px;min-width:0;width:100%}.pzboard{position:absolute;inset:0}
.pzside{flex:1 1 260px;max-width:380px}.pzhead{display:flex;gap:10px;justify-content:space-between;margin-bottom:8px}.pzhead>div{display:flex;flex-direction:column}.pzhead b{font-size:22px}
.pzstatus{font-size:15px;min-height:40px;margin:10px 0}.pzstatus.up{color:#5f5}.pzstatus.dn{color:#f77}.credit a{color:inherit}
#board,.pzboard,.promo{top:0;right:0;bottom:0;left:0}
.onlinec{text-align:center;font-size:13px;opacity:.9;margin:4px 0 10px;min-height:18px}.onlinec .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#3c6;box-shadow:0 0 6px #3c6;margin-right:6px;vertical-align:middle}
.logout{margin-left:6px;background:transparent;border:1px solid #ff5c8a88;color:#ff9db8;border-radius:999px;padding:2px 9px;font-size:12px;cursor:pointer}
.acct{position:relative;display:inline-block;margin-left:4px}.acctbtn{background:transparent;border:1px solid #ffffff33;color:inherit;border-radius:8px;padding:2px 7px;font-size:12px;cursor:pointer;opacity:.75}.acctmenu{position:absolute;right:0;top:calc(100% + 4px);z-index:50;display:flex;flex-direction:column;min-width:170px;background:#0d1626;border:1px solid #2b4a6b;border-radius:10px;padding:4px;box-shadow:0 8px 24px #000a}.acctmenu[hidden]{display:none}.acctmenu button{background:transparent;border:0;color:#d8ecff;text-align:left;padding:8px 10px;border-radius:7px;font-size:14px;cursor:pointer}.acctmenu button:hover{background:#ffffff14}

/* avatar frames (from pool.css) */
/* avatar frames */
.avf{display:inline-flex;border-radius:50%;padding:2px;margin-right:5px;vertical-align:middle;flex:none;position:relative}
.avf.big{padding:4px}
.fr-neon{background:#22e6ff;box-shadow:0 0 8px #22e6ff}
.fr-lime{background:#39ff88;box-shadow:0 0 8px #39ff88}
.fr-silver{background:repeating-conic-gradient(#e8eef8 0 15deg,#7d8899 15deg 30deg);box-shadow:0 0 8px #c0c8d8}
.fr-plasma{background:conic-gradient(#7a3cff,#22e6ff,#ff3ea5,#7a3cff);box-shadow:0 0 12px #7a3cff;animation:frspin 4s linear infinite}
.fr-halo{background:conic-gradient(#fff,#ffd166,#ff7a00,#ffd166,#fff);box-shadow:0 0 16px #ffd166,0 0 30px #ff7a0088;animation:frspin 2.5s linear infinite}
.fr-prism>.avi{animation-duration:3s}
html.lowq .avf,html.lowq .avf>.avi{animation:none!important}
.fr-plus{background:conic-gradient(#ffd54f,#fff6c4,#ff9f1c,#ffd54f);box-shadow:0 0 10px #ffd54faa}
.plusb{font-style:normal;font-size:10px;margin:0 3px 0 -3px;vertical-align:middle;filter:drop-shadow(0 0 2px #ffd54f)}
@keyframes frspin{to{transform:rotate(1turn)}}
/* ── Chess Social lobby glow-up (Pool Arena style) ── */
.top{background:linear-gradient(90deg,#071228ee,#170a2eee);border-bottom:1px solid #22e6ff44;box-shadow:0 4px 24px #22e6ff1a}
.brand strong{font-size:17px;letter-spacing:.16em;background:linear-gradient(90deg,#7df3ff,#b18cff);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 0 8px #22e6ff88)}
.brand small{color:#b9c8ff;letter-spacing:.06em;font-size:12px}
.logo{background:linear-gradient(135deg,#22e6ff,#b18cff);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 0 10px #22e6ffaa)}
.tabs button{background:linear-gradient(180deg,#14233f,#0c1528);border-color:#2a3d66}
.tabs .on{background:linear-gradient(180deg,#1a4a6b,#13203b);box-shadow:0 0 14px #22e6ff66,inset 0 0 0 1px var(--cy)}
.hero{position:relative;margin:12px 0 18px;padding:18px;border-radius:20px;border:1px solid #22e6ff66;overflow:hidden;
  background:radial-gradient(500px 220px at 85% -20%,#b18cff44,transparent),radial-gradient(500px 240px at 0% 120%,#22e6ff33,transparent),linear-gradient(135deg,#0b1a36,#1a0c33);box-shadow:0 0 30px #22e6ff2a,inset 0 0 40px #22e6ff10}
.hero:before{content:"";position:absolute;inset:0;background:repeating-conic-gradient(#ffffff06 0 25%,transparent 0 50%) 0 0/44px 44px;mask:linear-gradient(90deg,transparent,#000 60%);pointer-events:none}
.herot{position:relative;display:flex;flex-direction:column;gap:3px;margin-bottom:14px}.herot b{font-size:24px;color:#fff;text-shadow:0 0 14px #22e6ff99}.herot span{color:#a9c4dd;font-size:13px}
.camplay{position:relative;display:flex;align-items:center;gap:16px;width:100%;padding:18px 20px;border:0;border-radius:18px;text-align:left;color:#fff;
  background:linear-gradient(135deg,#ff3ea5,#b18cff 55%,#22e6ff);box-shadow:0 0 26px #ff3ea577,0 8px 0 #5a1d6e,inset 0 2px 0 #ffffff55;animation:cpg 2.6s ease-in-out infinite}
.camplay:hover{transform:translateY(-1px);box-shadow:0 0 36px #ff3ea5aa,0 9px 0 #5a1d6e,inset 0 2px 0 #ffffff66}.camplay:active{transform:translateY(5px);box-shadow:0 0 20px #ff3ea577,0 3px 0 #5a1d6e}
.camplay .ci{font-size:40px;filter:drop-shadow(0 2px 4px #0006)}.camplay b{display:block;font-size:26px;font-weight:900;letter-spacing:.02em;text-shadow:0 2px 6px #0007}
.camplay small{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:13px;color:#fff}.camplay select{padding:3px 6px;border-radius:8px;background:#0008;color:#fff;border:1px solid #fff6;font-size:13px}
@keyframes cpg{50%{box-shadow:0 0 40px #b18cffaa,0 8px 0 #5a1d6e,inset 0 2px 0 #ffffff55}}
.heros{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.hs{padding:13px;border-radius:14px;font-weight:800;font-size:16px;background:linear-gradient(180deg,#16305a,#0d1a33);border:1px solid #22e6ff77;box-shadow:0 0 12px #22e6ff33,0 4px 0 #071022}
.hs:active{transform:translateY(3px);box-shadow:0 0 12px #22e6ff33,0 1px 0 #071022}
.tcb{background:linear-gradient(160deg,#122347,#0b1430)!important;border:1px solid #2f4f86!important;transition:transform .12s,box-shadow .12s}
.tcb:hover{transform:translateY(-2px);border-color:var(--cy)!important;box-shadow:0 0 18px #22e6ff55}
.tcb .tt{text-shadow:0 0 10px #22e6ff88}
#play h2{font-size:18px;letter-spacing:.04em;color:#cfe9ff;text-shadow:0 0 10px #22e6ff55}
.card{background:linear-gradient(160deg,#0f1a33,#0b1124);border-color:#22e6ff2e;box-shadow:0 0 16px #22e6ff12}
.tv{border-radius:16px}
@media (max-width:560px){.hero{padding:14px}.herot b{font-size:20px}.camplay{padding:15px 16px;gap:12px}.camplay b{font-size:22px}.camplay .ci{font-size:34px}}
/* ── Bot ladder ── */
.ladder{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}
.lbot{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:8px;border-radius:16px;text-align:left;background:linear-gradient(160deg,#122347,#0b1430);border:1px solid #2f4f86;transition:transform .12s,box-shadow .12s}
.lbot:hover{transform:translateY(-2px)}.lbot.on{border-color:var(--bc);box-shadow:0 0 18px color-mix(in srgb,var(--bc) 60%,transparent),inset 0 0 0 1px var(--bc)}
.lbot .bav.big{width:100%;height:auto;aspect-ratio:1;border-radius:12px;border:1px solid color-mix(in srgb,var(--bc) 50%,transparent)}
.lbn b{font-size:16px;color:#fff}.lbn em{font-style:normal;color:var(--gold);font-weight:700;font-size:13px}.lbot small{color:var(--dim);font-size:12px;line-height:1.3}
.btag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.03em;color:var(--bc);background:color-mix(in srgb,var(--bc) 14%,#0a1020);border:1px solid color-mix(in srgb,var(--bc) 55%,transparent);white-space:nowrap}
.bav{width:30px;height:30px;border-radius:8px;vertical-align:middle;margin-right:6px;border:1px solid var(--bc)}
.lvsel{display:none}
@media (max-width:700px){.ladder{grid-template-columns:repeat(4,1fr);gap:6px}.lbot{padding:5px;border-radius:12px}.lbot small{display:none}.lbn b{font-size:13px}.lbn em{font-size:11px}.btag{font-size:9px;padding:1px 5px}}
@media (max-width:380px){.ladder{grid-template-columns:repeat(4,1fr)}.lbn{font-size:12px}}
/* ── Phone: whole game on one screen (portrait 360x740 … 430x930, and landscape) ── */
.chinst small span{display:inline}
@media (max-width:760px){
  body.ingame .top,body.ingame .tabs,body.ingame #chinstbar,body.ingame #onlinec{display:none!important}
  body.ingame main{padding:4px 4px 8px}
  body.ingame{--bh:min(calc(100vw - 8px),calc(100dvh - 236px))}
  body.ingame:has(#campanel:not(.min)){--bh:min(calc(100vw - 8px),calc(100dvh - 236px - 128px))}
  body.ingame .gwrap{gap:4px;align-items:center}
  body.ingame .bcol{width:var(--bh);margin:0 auto}
  body.ingame .pl{padding:2px 2px;min-height:34px}body.ingame .pl .pn{font-size:14px}body.ingame .clock{font-size:20px;padding:3px 10px}
  body.ingame .side{min-width:0;width:100%}
  body.ingame #gtitle{font-size:12px;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--dim);font-weight:600}
  body.ingame #viewers{display:none}
  body.ingame .status{font-size:14px;margin:2px 0 4px;min-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.ingame .acts{flex-wrap:nowrap;overflow-x:auto;gap:5px;margin-bottom:4px}body.ingame .acts button{padding:9px 11px;white-space:nowrap;flex:1 0 auto;font-size:14px}
  body.ingame .moves{max-height:34px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;padding:5px 6px;font-size:13px}
  body.ingame .moves *{display:inline}
  body.ingame #campanel:not(.min){left:4px;right:4px;bottom:4px;width:auto;max-width:none;padding:5px}
  body.ingame #campanel:not(.min) .cbody{display:flex;gap:5px;position:relative}body.ingame #campanel video{height:96px;width:50%;object-fit:cover;margin-top:4px;position:static!important}
}
@media (max-height:500px) and (orientation:landscape){
  body.ingame .top,body.ingame .tabs,body.ingame #chinstbar,body.ingame #onlinec{display:none!important}
  body.ingame main{max-width:none;padding:4px 8px}
  body.ingame .gwrap{flex-direction:row;gap:10px;align-items:flex-start}
  body.ingame .bcol{width:calc(100dvh - 84px);flex:0 0 auto}
  body.ingame .side{flex:1;min-width:0}body.ingame .pl{padding:2px;min-height:30px}body.ingame .clock{font-size:18px}
  body.ingame .moves{max-height:30dvh}body.ingame #gtitle{font-size:12px}
  body.ingame #campanel:not(.min){width:min(260px,34vw);right:6px;bottom:6px}
}
/* ── Phone lobby: compact ── */
@media (max-width:760px){
  .top{padding:6px 10px;gap:8px}.logo{font-size:24px}.brand strong{font-size:14px;letter-spacing:.12em}.brand small{font-size:10px}
  .tabs{padding:6px 10px}.tabs button{padding:6px 11px;font-size:14px}
  main{padding:4px 10px 30px}
  .chinstbar{margin:4px 0 2px}.chinst{padding:6px 10px 6px 6px}.chinst img{width:32px;height:32px}.chinst b{font-size:14px}.chinst small{font-size:11px}
  .hero{margin:6px 0 10px;padding:12px}.herot{margin-bottom:10px}.herot span{display:none}.herot b{font-size:18px}
  .camplay{padding:12px 14px}.camplay b{font-size:20px}.camplay .ci{font-size:30px}.heros{margin-top:8px;gap:8px}.hs{padding:10px;font-size:15px}
  .tvempty.solo{padding:10px!important;min-height:0!important}.tvempty.solo h3{font-size:14px;margin:0}.tvempty.solo p{font-size:12px;margin:4px 0 0}
  #play h2{font-size:16px;margin:8px 0 4px}.camq{font-size:13px;margin:2px 0 6px}
  .grid{gap:8px}.tcb{padding:10px 6px!important}.tcb .tt{font-size:22px}
}
/* ── Verified titles (red = verified titled players only; bots never use red) ── */
.ptt{display:inline-block;flex:none;background:#b33430;color:#fff;font-weight:800;font-size:.7em;line-height:1.4;padding:0 .34em;margin-right:.34em;border-radius:3px;vertical-align:.1em;font-variant-caps:all-small-caps;letter-spacing:.05em;white-space:nowrap;font-style:normal;text-shadow:none;cursor:help}
.ownb{display:inline-block;font-style:normal;font-size:.66em;font-weight:800;color:#ffd166;border:1px solid #ffd16688;background:#ffd16618;border-radius:999px;padding:0 .5em;margin-left:.3em;vertical-align:.12em;white-space:nowrap;letter-spacing:.03em}
.vtn{white-space:nowrap}
/* ── Game review ── */
.rvwrap{display:flex;gap:16px;align-items:flex-start}.rvbcol{flex:0 0 auto;width:min(92vw,560px)}.rvbw{display:flex;gap:6px}.rvbwrap{flex:1}
.rvbar{position:relative;flex:0 0 22px;border-radius:5px;background:#2a2f3a;overflow:hidden;border:1px solid #3a4560;display:flex;flex-direction:column;justify-content:flex-end}
.rvbar #rvbarw{background:#eef2f6;width:100%;transition:height .25s}.rvbar.fl{flex-direction:column;justify-content:flex-start}
.rvbar #rvbart{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;font:700 10px system-ui;color:#22e6ff;text-shadow:0 0 3px #000,0 0 3px #000;writing-mode:vertical-rl}
#rvboard{position:absolute;inset:0}.rvnav{display:flex;gap:6px;margin-top:8px}.rvnav button{flex:1;font-size:18px;padding:10px 0}
.rvside{flex:1;min-width:250px}.rvnote{min-height:22px;margin:4px 0 8px}#rvg{width:100%;height:80px;border-radius:8px;display:block;cursor:pointer;border:1px solid var(--line)}
.rvprog{display:inline-block;width:120px;height:8px;border-radius:4px;background:#1a2440;overflow:hidden;vertical-align:middle;margin-right:6px}.rvprog i{display:block;height:100%;background:linear-gradient(90deg,#22e6ff,#b18cff)}
.rvacc{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.rvacc>div{background:linear-gradient(160deg,#0f1a33,#0b1124);border:1px solid #22e6ff33;border-radius:12px;padding:8px 10px;display:flex;flex-direction:column}
.rvacc b{font-size:26px;color:#fff}.rvacc small{color:var(--dim)}
table.rvsum{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:8px}.rvsum td,.rvsum th{padding:3px 6px;border-bottom:1px solid #15203a;text-align:right}.rvsum td:first-child,.rvsum th:first-child{text-align:left;font-weight:700}
.rvmoves{max-height:260px;overflow:auto;background:#0a1020;border:1px solid var(--line);border-radius:10px;padding:6px;display:flex;flex-wrap:wrap;gap:3px;align-items:center;font:13px ui-monospace,Menlo,monospace}
.rvn{color:var(--dim);margin-left:4px}.rvm{padding:3px 6px;border-radius:6px;font:inherit;background:#101a30;border:1px solid transparent}.rvm i{font-style:normal;font-weight:800;margin-left:2px}.rvm.on{border-color:#22e6ff;background:#173257}
.rvm.c-brilliant{background:#0f3a3a;box-shadow:0 0 10px #1fd1c155}.rvm.c-blunder{background:#3a1212}.rvm.c-mistake{background:#3a2412}
.rva{font-size:12px;color:#9fe7c1}.brl{color:#1fd1c1!important;font-weight:800}.chip.brl{border-color:#1fd1c1;box-shadow:0 0 10px #1fd1c144}.hsub{margin:14px 0 4px}.rvl{margin-left:6px}
@media (max-width:760px){
  body:has(#review:not([hidden])) .top,body:has(#review:not([hidden])) .tabs,body:has(#review:not([hidden])) #chinstbar,body:has(#review:not([hidden])) #onlinec{display:none!important}
  .rvwrap{flex-direction:column;gap:4px}.rvbcol{width:min(100%,calc(100dvh - 290px));margin:0 auto}.rvbar{flex-basis:16px}.rvside{min-width:0;width:100%}.rvnav{margin-top:4px}.rvnav button{padding:7px 0}
  .rvside h3{font-size:14px;margin:2px 0}.rvnote{font-size:13px;margin:2px 0 4px}#rvg{height:52px}.rvacc{margin:6px 0;gap:6px}.rvacc>div{padding:5px 8px}.rvacc b{font-size:20px}
  .rvmoves{max-height:none;flex-wrap:nowrap;overflow-x:auto}.rvm{white-space:nowrap}table.rvsum{font-size:12px}
}
@media (max-height:500px) and (orientation:landscape){.rvwrap{flex-direction:row}.rvbcol{width:calc(100dvh - 70px)}}
@media (max-width:760px){
  .rvbcol{width:min(calc(100vw - 16px),calc(100dvh - 268px))}#review .rvacc{cursor:pointer}#review .rvacc>div:after{content:"▾ counts";font-size:10px;color:var(--dim)}
  #review table.rvsum{display:none}#review.sumopen table.rvsum{display:table}#review .rvmoves{margin-top:4px}
}
.tabs .tabx{align-self:center;margin-left:auto;padding:4px 10px;font-size:12px;color:var(--dim);text-decoration:none;border:1px solid #2a3d6655;border-radius:999px;white-space:nowrap;opacity:.8}.tabs .tabx:hover{color:#fff;opacity:1;border-color:#2a3d66}
/* ════════ Layout v2 (lichess/chess.com-style): PC sidebar · phone bottom bar · one-screen phone ════════ */
.tabs .morebtn,.tabs .inst{display:none}
.qph{display:flex;align-items:center;justify-content:space-between;gap:10px}.qph h2{margin:6px 0}.qph .camq{margin:0;font-size:13px;color:var(--dim)}
.grid{grid-template-columns:repeat(3,1fr)!important;gap:10px}.tcb{padding:14px 6px!important;border-radius:12px!important}.tcb .tt{font-size:24px}
.heros{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 6px}
.hero{margin:6px 0 14px}.lob{display:block}
.fcard{position:relative}.fcard .fclose{display:none}
.sheetbg{display:none}
/* player bars: tile/avatar · name · rating · clock (right) */
.pl{gap:8px;background:linear-gradient(90deg,#0d1730,#0a1124);border:1px solid #1d2b4a;border-radius:10px;padding:5px 8px!important;margin:5px 0}
.pl>div:first-of-type{flex:1;min-width:0;display:flex;align-items:center;gap:6px;overflow:hidden;white-space:nowrap}
.pl video.ptile{display:none;flex:0 0 auto;width:72px;height:54px;object-fit:cover;border-radius:8px;border:1px solid #22e6ff;background:#000;box-shadow:0 0 10px #22e6ff44}
.pl video.ptile.mine{transform:scaleX(-1);border-color:#b18cff}
.pl.camon video.ptile{display:block}.pl.camon img,.pl.camon .av,.pl.camon .avf{display:none!important}
.clock{font:700 22px ui-monospace,Menlo,monospace;background:#0a0f1e;border:1px solid #2a3d66;border-radius:8px;padding:4px 12px;min-width:86px;text-align:center}.clock.run{background:#e8f6ff;color:#06101f;border-color:#fff;box-shadow:0 0 12px #22e6ff88}.clock.low.run{background:#ff4d6a;color:#fff}
.clock:empty{display:none}
/* cam panel becomes a slim control strip; video lives in the bars */
body.camtiles #campanel video{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
body.camtiles #campanel{width:auto;max-width:min(560px,96vw);padding:5px 8px}body.camtiles #campanel .crow{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:5px}body.camtiles #campanel .crow button{white-space:nowrap;padding:5px 8px;font-size:12px}
body.camtiles #campanel .cst{font-size:11px;margin-top:3px}

/* ── PC (≥1000px): left sidebar nav, 2-column lobby, big height-fitted board ── */
@media (min-width:1000px){
  body:not(.pool) .top{position:fixed;left:0;right:0;top:0;height:56px}
  .tabs{position:fixed;top:56px;left:0;bottom:0;width:208px;flex-direction:column;gap:3px;padding:12px 10px;overflow-y:auto;background:linear-gradient(180deg,#081126,#0b0a22);border-right:1px solid #22e6ff22;z-index:4}
  .tabs button{border-radius:10px!important;text-align:left;padding:10px 12px;font-size:15px;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
  .tabs button:hover{background:#13203b!important}.tabs .on{background:linear-gradient(90deg,#173a5e,#13203b)!important;border-color:#22e6ff66!important;color:#fff}
  .tabs .tabx{margin:auto 0 0;align-self:stretch;text-align:left;padding:8px 12px;border-radius:10px}.tabs .inst{display:block;margin:4px 0 0}
  main{margin-left:208px;max-width:1240px;padding:72px 22px 30px}
  .lob{display:grid;grid-template-columns:minmax(380px,1fr) minmax(380px,1.05fr);gap:20px;align-items:start}
  .lobside .row2{grid-template-columns:1fr}.lobside .tv{margin-top:6px}
  #chinstbar{display:none!important}
  body.ingame main{max-width:none}
  .gwrap{gap:18px;justify-content:center}.bcol{width:min(calc(100vh - 150px),780px)}
  .side{max-width:420px;background:linear-gradient(160deg,#0f1a33,#0b1124);border:1px solid #22e6ff2e;border-radius:14px;padding:12px 14px;align-self:stretch;display:flex;flex-direction:column}
  .side .moves{max-height:none;flex:1;min-height:160px}
  .rvbcol{width:min(calc(100vh - 160px),720px)}
}
/* ── Phone (≤760px): bottom tab bar + More sheet, lobby on one screen ── */
@media (max-width:760px){
  .top{height:50px;padding:4px 10px}.top .brand small{display:none}.top #close{display:none}
  .tabs{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:4px 4px calc(4px + env(safe-area-inset-bottom));gap:0;overflow:visible;display:grid;grid-template-columns:repeat(5,1fr);background:#070d1fee;backdrop-filter:blur(8px);border-top:1px solid #22e6ff33;box-shadow:0 -6px 20px #0008}
  .tabs button,.tabs .morebtn{display:none;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:10px!important;padding:5px 0 3px!important;font-size:0!important;color:var(--dim);text-align:center;line-height:1.1}
  .tabs button::first-letter{font-size:21px}
  .tabs button[data-p=play],.tabs button[data-p=ai],.tabs button[data-p=puzzles],.tabs button[data-p=watch],.tabs .morebtn{display:flex;flex-direction:column;align-items:center;justify-content:center}
  .tabs button[data-p=play]::after{content:"Play"}.tabs button[data-p=ai]::after{content:"Bots"}.tabs button[data-p=puzzles]::after{content:"Puzzles"}.tabs button[data-p=watch]::after{content:"Watch"}
  .tabs button::after,.tabs .morebtn span{font-size:11px;font-weight:700;margin-top:1px}.tabs .morebtn{font-size:21px!important;cursor:pointer}
  .tabs .on{color:#22e6ff!important;background:#22e6ff14!important}
  .tabs .tabx{display:none}
  .tabs.more{grid-template-columns:repeat(4,1fr);row-gap:4px;padding-top:10px}
  .tabs.more button,.tabs.more .tabx{display:flex!important;flex-direction:column;align-items:center;justify-content:center;font-size:0!important}
  .tabs.more button[data-p=lb]::after{content:"Ranks"}.tabs.more button[data-p=stats]::after{content:"Stats"}.tabs.more button[data-p=ach]::after{content:"Awards"}.tabs.more button[data-p=hist]::after{content:"My games"}
  .tabs.more button[data-p=tourney]::after{content:"Events"}.tabs.more button[data-p=settings]::after{content:"Settings"}
  .tabs.more .tabx{font-size:11px!important;font-weight:700;color:var(--dim);border:0;padding:5px 0;margin:0;opacity:1;text-align:center;line-height:1.3}
  main{padding:4px 10px calc(70px + env(safe-area-inset-bottom))}
  #chinstbar{display:none!important}
  .hero{margin:4px 0 8px;padding:10px}.herot{display:none}.camplay{padding:12px 14px}.camplay b{font-size:20px}
  .qph h2{font-size:15px!important;margin:4px 0}.grid{gap:7px!important}.tcb{padding:9px 4px!important}.tcb .tt{font-size:20px!important}.tcb .tk{font-size:11px}.tcb .tr,.tcb .tw{min-height:0;font-size:10px}
  .heros{gap:7px;margin:8px 0 4px}.hs{padding:10px 4px;font-size:13px}
  .onlinec{margin:4px 0}
  .lobside{display:none}
  body.sheet .lobside{display:block}body.sheet .lobside>.tv,body.sheet .lobside .row2>.card:not(.fcard){display:none}
  .fcard.open{position:fixed;left:8px;right:8px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:40;box-shadow:0 0 40px #000c,0 0 0 1px #22e6ff55}.fcard .fclose{display:block;position:absolute;right:8px;top:8px;padding:2px 9px}
  body.sheet .sheetbg{display:block;position:fixed;inset:0;z-index:39;background:#0009}
  .seeking{margin:6px 0}
  /* game: bars + board + actions on one screen (360x740 … 430x930) */
  body.ingame main{padding:4px 4px 6px}
  body.ingame{--bh:min(calc(100vw - 8px),calc(100dvh - 252px))}
  body.ingame.camtiles{--bh:min(calc(100vw - 8px),calc(100dvh - 300px))}
  body.ingame .pl{margin:3px 0;padding:3px 6px!important;min-height:40px}
  body.ingame .pl video.ptile{width:60px;height:45px}
  body.ingame .clock{font-size:19px;min-width:74px;padding:3px 8px}
  body.ingame.camtiles #campanel{left:4px;right:4px;bottom:4px;max-width:none;padding:4px 6px}body.ingame.camtiles #campanel .chd,body.ingame.camtiles #campanel .cst{display:none}
  body.ingame.camtiles main{padding-bottom:48px}
}
@media (max-height:500px) and (orientation:landscape){
  .tabs{display:none!important}body.ingame main{padding:4px 8px}
  body.ingame .bcol{width:calc(100dvh - 120px)}body.ingame .pl video.ptile{width:52px;height:39px}
}
/* ── Club room (social lobby) ── */
.club{margin-top:10px;padding:10px 12px}.clubh{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}.clubh b{font-size:16px;color:#ffe2b0}.crdy{margin:0 0 0 auto;font-size:12px}
.cpls{display:flex;flex-direction:column;gap:4px;max-height:200px;overflow-y:auto}.cpl{display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:10px;background:#0a1226}.cpl img{width:30px;height:30px;border-radius:50%}
.cpn{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 5px;overflow:hidden}.cpn b{color:#fff}.cpn em{font-style:normal;color:var(--gold);font-size:12px}.cpn small{flex-basis:100%;color:var(--dim);font-size:11px}
.camr{font-style:normal;font-size:12px;padding:0 5px;border-radius:999px;background:#ff3ea522;border:1px solid #ff3ea566}
.mini{padding:4px 10px;font-size:13px;border-radius:8px}
.crec{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:8px 0 4px}.crec .chip{display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 3px;font-size:12px;cursor:pointer}.crec .chip img{width:20px;height:20px;border-radius:50%}
.cchat{margin-top:6px}.cclog{max-height:150px;overflow-y:auto;background:#070d1d;border:1px solid var(--line);border-radius:10px;padding:6px 8px;font-size:13px}.ccm{padding:2px 0}.ccm b{color:#7df3ff;margin-right:4px}.ccr{opacity:.4;font-size:11px;padding:0 3px;background:none;border:0}.ccm:hover .ccr{opacity:1}
.ccform{display:flex;gap:6px;margin-top:6px}.ccform input{flex:1;min-width:0}
.invbar{display:flex;flex-direction:column;gap:6px;margin:6px 0}.cinv{padding:10px 12px;border-radius:12px;border:1px solid #ffd166;background:linear-gradient(90deg,#2a1d05,#1a1030);box-shadow:0 0 16px #ffd16644;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cinv .mini{margin-left:4px}
.camchipw{margin-top:8px;text-align:center}.cchip{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;border:1px solid #fff4;background:#0006;color:#fff}.cchip.tr{border-color:#ffd166;color:#ffd166}.cchip.ok{border-color:#5dffb0;color:#5dffb0}.cchip.up{border-color:#ff3ea5;color:#fff;background:#ff3ea5;cursor:pointer}
/* upgrade screen */
.upgm{position:fixed;inset:0;z-index:80;background:#000b;display:flex;align-items:center;justify-content:center;padding:14px}
.upgb{position:relative;width:min(420px,100%);background:linear-gradient(160deg,#141e3d,#1c0f33);border:1px solid #b18cff88;border-radius:20px;padding:22px 20px;text-align:center;box-shadow:0 0 50px #b18cff44}
.upgb h2{margin:4px 0 6px}.upgh{font-size:46px}.upgb ul{text-align:left;margin:12px auto;padding-left:22px;line-height:1.8;max-width:300px}.upgp{margin:8px 0 12px}.upgp b{font-size:38px;color:#fff}.upgp span{color:var(--dim)}
.upgbtn{width:100%;padding:13px;font-size:17px;font-weight:800;border-radius:14px;background:linear-gradient(135deg,#ff3ea5,#b18cff);border:0;color:#fff}.upgsoon{font-weight:800;color:#ffd166}.upgx{position:absolute;right:10px;top:10px;padding:2px 9px}
html.twa .upgbtn{display:none!important}
/* enlarge button + floating opponent video */
.pl{position:relative}.tbig{position:absolute;left:52px;top:4px;z-index:2;padding:0 5px!important;font-size:13px;line-height:18px;border-radius:6px;background:#000a!important;border:1px solid #22e6ff88!important}
body.ingame .tbig{left:48px}
#bigcam{position:fixed;z-index:70;border-radius:14px;overflow:hidden;border:2px solid #22e6ff;box-shadow:0 10px 40px #000c,0 0 20px #22e6ff55;background:#000;touch-action:none;cursor:grab}
#bigcam video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}#bigcam .bgx{position:absolute;right:6px;top:6px;padding:2px 8px;background:#000a;pointer-events:none}
@media (max-width:760px){.lobside .club{display:none}.club{margin-top:6px}.cpls{max-height:120px}.cclog{max-height:96px}}
.ctour{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;margin-top:8px;padding:9px 12px;border-radius:14px;text-decoration:none;color:#fff;background:linear-gradient(90deg,#3a2306,#2a1440);border:1px solid #ffb02088;box-shadow:0 0 14px #ffb02033}.ctour b{flex:1 1 60%}.ctour span{order:3;flex-basis:100%;font-size:12px;color:#ffd9a0}.ctour em{font-style:normal;font-weight:800;color:#ffd166}
/* phone lobby: exactly one screen; the club room fills what's left and scrolls inside itself */
@media (max-width:760px){
  body:not(.ingame) #play:not([hidden]){display:flex;flex-direction:column;height:calc(100dvh - 50px - 78px - env(safe-area-inset-bottom));overflow:hidden}
  #play .lob,#play .lobmain{display:flex;flex-direction:column;flex:1;min-height:0}
  #play .club{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;margin-top:6px}
  #play .club .cpls{flex:0 1 auto;max-height:none;min-height:0;overflow-y:auto}#play .club .cchat{flex:1 1 60px;min-height:60px;display:flex;flex-direction:column}#play .club .cclog{flex:1;max-height:none;min-height:30px}
  #play .crec{flex:0 0 auto}
  #play .onlinec{margin:3px 0;font-size:12px}
}
@media (max-width:760px) and (max-height:760px){#play .crec{display:none}#play .hero{padding:8px}#play .camplay{padding:10px 12px}#play .camplay b{font-size:18px}#play .camchipw{margin-top:5px}.tcb{padding:7px 4px!important}.tcb .tt{font-size:18px!important}}
/* PC/tablet game: board sized to fit both player bars in the viewport */
@media (min-width:761px){body.ingame .bcol{width:min(100%,calc(100vh - 205px))!important;max-width:calc(100vh - 205px)}body.ingame .bcol .cg-wrap,body.ingame .bcol .board{width:100%!important;height:auto!important;aspect-ratio:1}}
/* Play Now sheet */
.playnow{width:100%}.playnow .ci{background:linear-gradient(135deg,#2bd96b,#16a34a)!important}
.pnsheet{position:fixed;inset:0;z-index:60;background:#000a;display:flex;align-items:center;justify-content:center;padding:12px}.pnsheet[hidden]{display:none}
.pncard{background:#141a2e;border:1px solid #2b3556;border-radius:16px;padding:14px 16px;width:min(560px,100%);max-height:calc(100dvh - 24px);overflow:auto;box-shadow:0 20px 60px #000c}
.pnh{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.pnh b{font-size:20px}.pnx{background:none;border:0;color:#aab;font-size:20px;cursor:pointer}
.pnagain{width:100%;padding:12px;font-size:16px;margin-bottom:8px}
.pncam{display:flex!important;gap:10px;align-items:center;padding:10px;border:1px solid #2b3556;border-radius:12px;margin:0 0 6px}.pncam input{width:22px;height:22px}.pncam span{display:flex;flex-direction:column}.pncam small{color:#99a;font-size:12px}
.tcgrp h4{margin:10px 0 5px;font-size:13px;color:#9ab;font-weight:600;letter-spacing:.3px}.tcgrp .grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.tcgrp .tcb{padding:9px 4px!important}.tcgrp .tcb .tt{font-size:18px!important}.tcgrp .tcb .tk{font-size:10px}
@media (max-width:760px){.pnsheet{align-items:flex-end;padding:0}.pncard{border-radius:18px 18px 0 0;width:100%;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.tcgrp .grid{grid-template-columns:repeat(5,1fr);gap:5px}.tcgrp .tcb .tk{display:none}.tcgrp .tcb .tr{font-size:10px}.tcgrp h4{margin:7px 0 4px}}
.topgames[hidden]{display:none}.topgames h3{margin:8px 0 4px;font-size:14px}
/* lobby extras under Play Now */
.lobx{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.lbx{padding:10px 8px;border-radius:12px;border:1px solid #2b3556;background:#182040;color:#e8ecff;font-weight:600;font-size:13px;cursor:pointer;text-align:center;line-height:1.25}.lbx:hover{border-color:#22e6ff88}
@media (max-width:760px){.lobx{gap:6px;margin:6px 0}.lbx{padding:8px 6px;font-size:12px}}
.soonc p{margin:6px 0 12px;line-height:1.45}.soonc .pri{width:100%;padding:10px}
/* hub */
.hubtabs{display:flex;gap:6px;margin:6px 0}.hubtabs button,.hubrad button{border-radius:999px;padding:6px 12px}.hubtabs .on,.hubrad .on{background:#22e6ff;color:#06101e;border-color:#22e6ff}
.hubctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}.hubrad{display:inline-flex;gap:4px;flex-wrap:wrap}.hubrad .unit{font-weight:700}
.hubcity{position:relative;flex:1;min-width:200px}.hubcity input{width:100%}.hubsug{position:absolute;z-index:20;left:0;right:0;top:100%;background:#141a2e;border:1px solid #2b3556;border-radius:10px;overflow:hidden}.hubf .hubsug{position:static}.hubsug button{display:block;width:100%;text-align:left;border:0;border-radius:0;padding:8px 10px;background:none}.hubsug button:hover{background:#22e6ff22}
.hublist{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:8px;margin:8px 0}.hubi{background:#141a2e;border:1px solid #2b3556;border-radius:12px;padding:10px 12px}.hubn{display:flex;justify-content:space-between;gap:8px}.hubd{background:#22e6ff22;color:#22e6ff;border-radius:999px;padding:1px 8px;font-size:12px;white-space:nowrap;height:fit-content}
.hubm{font-size:13px;margin-top:4px;color:#cdd3ea}.hubl{margin-top:6px;font-size:13px}.hubf label{display:block;margin:6px 0}.hubf input,.hubf select{width:100%}.hubf .ev{display:block}.hubf .ev[hidden],.hubf .cl[hidden]{display:none}
@media (max-width:760px){.hublist{grid-template-columns:1fr}}
#pnsheet .tcgrp .grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}#pnsheet .tcb{min-height:0!important;padding:8px 2px!important}#pnsheet .tcb .tt{font-size:16px!important}#pnsheet .tcb .tw:empty{display:none}
.gbug{display:block;margin:8px 0 0;font-size:12px;opacity:.75}@media (max-width:760px){body.ingame .gbug{display:none}}
/* settings rows */
.setrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.setrow select{max-width:100%}.pflag{font-size:.95em}
/* 3D board theme (opt-in) */
body.b3d .cg-wrap cg-board{background-image:url(/chess/3d/board.webp)!important;background-size:100% 100%!important;box-shadow:inset 0 0 0 1px #0006}
body.b3d .cg-wrap{filter:none;box-shadow:0 14px 34px #000a,0 0 0 3px #3b2414,0 0 0 6px #5b3a20}
body.b3d cg-board piece{height:17.1%!important;margin-top:-4.7%;background-size:100% 100%!important;will-change:transform}
body.b3d cg-board piece.dragging{transform-origin:50% 90%}
body.b3d cg-board piece.white.pawn{background-image:url(/chess/3d/wP.webp)!important}body.b3d cg-board piece.white.knight{background-image:url(/chess/3d/wN.webp?v=2)!important}body.b3d cg-board piece.white.bishop{background-image:url(/chess/3d/wB.webp)!important}
body.b3d cg-board piece.white.rook{background-image:url(/chess/3d/wR.webp)!important}body.b3d cg-board piece.white.queen{background-image:url(/chess/3d/wQ.webp)!important}body.b3d cg-board piece.white.king{background-image:url(/chess/3d/wK.webp)!important}
body.b3d cg-board piece.black.pawn{background-image:url(/chess/3d/bP.webp)!important}body.b3d cg-board piece.black.knight{background-image:url(/chess/3d/bN.webp?v=2)!important}body.b3d cg-board piece.black.bishop{background-image:url(/chess/3d/bB.webp)!important}
body.b3d cg-board piece.black.rook{background-image:url(/chess/3d/bR.webp)!important}body.b3d cg-board piece.black.queen{background-image:url(/chess/3d/bQ.webp)!important}body.b3d cg-board piece.black.king{background-image:url(/chess/3d/bK.webp)!important}
body.b3d cg-board square.last-move{background-color:#ffd54a55}body.b3d cg-board square.move-dest{background:radial-gradient(#1a1a1a55 19%,#0000 21%)}
@media (min-width:761px){body.ingame .bcol:has(.pl.camon){width:min(100%,calc(100vh - 250px))!important;max-width:calc(100vh - 250px)}}
.topgames .tgrow{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.topgames .tgrow::-webkit-scrollbar{display:none}
.topgames .tvc{flex:0 0 132px;min-width:0;font-size:11px}.topgames .tvb{width:100%}.topgames .tvp{font-size:11px;white-space:nowrap;overflow:hidden}
@media (max-width:760px){.topgames .tvc{flex-basis:96px}.topgames h3{margin:4px 0 3px;font-size:13px}.topgames .tvp em{display:none}}
/* phone tap targets: >=48px, clear gaps, nothing floating over the nav */
.chatnav,.gtools{display:none}
@media (max-width:760px){
  .tabs{gap:6px!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important}
  .tabs button[data-p=play],.tabs button[data-p=ai],.tabs button[data-p=chat],.tabs button[data-p=puzzles],.tabs .morebtn{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:52px;min-width:48px}
  .tabs:not(.more) button[data-p=watch]{display:none!important}
  .tabs button[data-p=chat]::after{content:"Chat"}.tabs.more button[data-p=watch]::after{content:"Watch"}.tabs.more button[data-p=hub]::after{content:"Clubs"}
  .tabs.more button,.tabs.more .tabx{min-height:52px}
  #mhbug{display:none!important}
  .heros{display:grid!important;grid-template-columns:repeat(4,1fr);gap:6px}.heros .hs{min-height:48px;padding:4px 2px!important;font-size:12px!important;line-height:1.2}
  .lbx{min-height:48px}.hubtabs button,.hubrad button{min-height:44px;min-width:48px}
  body.ingame .gtools{display:flex;gap:8px;margin:6px 0 0}.gtools button{min-height:48px;border-radius:12px;font-weight:700}.gtools .gtchat{flex:1}.gtools .gtbug{width:56px;flex:0 0 56px;font-size:20px}
  body.ingame .acts button{min-height:48px}
  body.ingame.gchat #chatbox,body.ingame.gchat #schatbox{position:fixed;left:6px;right:6px;bottom:6px;z-index:50;max-height:55dvh;display:flex;flex-direction:column;box-shadow:0 -10px 40px #000c}
  body.ingame.gchat #chatbox .log,body.ingame.gchat #schatbox .log{flex:1;min-height:80px;overflow:auto}
}
.heros{grid-template-columns:repeat(4,1fr)!important}
#backlobby{display:none}
body.sub #backlobby{display:inline-flex;align-items:center;gap:6px;position:sticky;top:6px;z-index:30;min-height:48px;min-width:112px;padding:0 18px;margin:6px 0 8px;border-radius:14px;font-size:17px;font-weight:800;background:linear-gradient(180deg,#1a4a6b,#13203b);border:1px solid #22e6ff88;color:#fff;box-shadow:0 4px 16px #0008}
@media (max-width:760px){body.sub #backlobby{top:4px;margin:4px 0 6px}}
@media (max-width:760px){body.ingame:not(.gchat) #chatbox,body.ingame:not(.gchat) #schatbox{display:none!important}body.ingame .gbug{display:none!important}body.ingame{overflow:hidden}}
/* phone game chat: players get a slim last-message strip + tap-to-open overlay; spectators get a compact inline chat under the board.
   Board stays full width (webcams live in the bar tiles). With the keyboard open the board shrinks to fit the visual viewport. */
@media (max-width:760px) and (orientation:portrait){
  body.ingame,body.ingame:has(#campanel:not(.min)),body.ingame.camtiles{--bh:min(calc(100vw - 8px),calc(100dvh - 236px))}
  .gtools .gtchat{display:flex;align-items:center;gap:8px;text-align:left;justify-content:flex-start;padding:0 12px;min-width:0;overflow:hidden}.gtl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;font-size:13px;color:#cfd6f0}.gti{flex:0 0 auto;font-size:18px}
  body.ingame.spect .gtools .gtchat{display:none}
  body.ingame.spect:not(.gchat) #schatbox:not([hidden]){display:flex!important;flex-direction:column;margin-top:6px;padding:6px 8px}
  body.ingame.spect #schatbox .ch{display:none}body.ingame.spect #schatbox .log{max-height:62px;min-height:40px;overflow:auto;font-size:13px}body.ingame.spect #schatbox form{display:flex;gap:6px;margin-top:4px}body.ingame.spect #schatbox input{min-height:44px;flex:1}body.ingame.spect #schatbox button{min-height:44px}
  body.ingame.spect #moves{display:none}
  body.ingame.kb{--bh:min(calc(100vw - 8px),calc(var(--vvh,100dvh) * .5 - 70px))}
  body.ingame.kb .acts,body.ingame.kb .gtools,body.ingame.kb #moves,body.ingame.kb #gstatus,body.ingame.kb #gtitle,body.ingame.kb #viewers{display:none!important}
  body.ingame.kb.gchat #chatbox:not([hidden]),body.ingame.kb.gchat #schatbox:not([hidden]),body.ingame.kb.spect #schatbox:not([hidden]){position:fixed;left:4px;right:4px;bottom:auto;top:calc(var(--vvt,0px) + var(--vvh,100dvh) * .5 + 4px);height:calc(var(--vvh,100dvh) * .5 - 12px);max-height:none;z-index:50;display:flex!important;flex-direction:column}
  body.ingame.kb #chatbox .log,body.ingame.kb #schatbox .log{flex:1;max-height:none}
}
.gtools .gtmute{width:52px;flex:0 0 52px;font-size:19px}.gtools .gtmute.on{border-color:#ffb02e99}.gtn{margin-left:auto;background:#ff3b30;color:#fff;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:800}
body.ingame.cmute.spect .gtools .gtchat{display:flex!important}body.ingame.cmute:not(.gchat) #schatbox,body.ingame.cmute:not(.gchat) #chatbox{display:none!important}
@media (min-width:761px){body.ingame .gtools{display:flex;gap:8px;margin:6px 0}.gtools button{min-height:40px}.gtools .gtchat{display:none}body.ingame.cmute .gtools .gtchat{display:flex}body.ingame .gtools .gtbug{display:none}}
@media (max-width:760px) and (orientation:portrait){body.ingame.kb .bcol{width:min(calc(100vw - 8px),calc(var(--vvh,100dvh) * .5 - 92px))!important;margin:0 auto}body.ingame.kb #campanel{display:none!important}body.ingame.kb main{padding-top:2px}
body.ingame.gchat #chatbox[hidden],body.ingame.gchat #schatbox[hidden]{display:none!important}}
.modb{font-size:13px}.modc .modr{width:100%;margin:6px 0 8px}.modc button[data-ma]{display:block;width:100%;min-height:48px;margin:6px 0;border-radius:12px}.modc .danger{background:#5a1420;border-color:#ff4d6d;color:#fff}
.modi{background:#141a2e;border:1px solid #2b3556;border-radius:12px;padding:8px 10px;margin:6px 0}.modi button{margin-top:6px;min-height:40px}.modlog div{padding:5px 0;border-bottom:1px solid #2b355644;font-size:13px}
.mutenote{background:#3a1d0c;border:1px solid #ffb02e66;color:#ffd58a;border-radius:10px;padding:8px 10px;font-size:13px;margin:6px 0}
@media (max-width:760px){.tabs.more button[data-p=mod]::after{content:"Moderate"}.tabs.more button[data-p=mod][hidden]{display:none!important}}
/* keyboard open v2: full-width bars, square board sized to what's left, compact chat docked at the bottom of the visible area */
@media (max-width:760px) and (orientation:portrait){
  body.ingame.kb{--kbb:max(120px,min(calc(100vw - 8px),calc(var(--vvh,100dvh) - 228px)))}
  body.ingame.kb .bcol{width:100%!important}
  body.ingame.kb .bwrap{width:var(--kbb);height:var(--kbb);padding-bottom:0!important;margin:0 auto}
  body.ingame.kb .pl{min-height:0;padding-top:2px;padding-bottom:2px}body.ingame.kb .pl video.ptile{width:44px!important;height:33px!important}
  body.ingame.kb.gchat #chatbox:not([hidden]),body.ingame.kb.gchat #schatbox:not([hidden]),body.ingame.kb.spect #schatbox:not([hidden]){top:auto!important;height:auto!important;bottom:auto!important;top:calc(var(--vvt,0px) + var(--vvh,100dvh) - 140px)!important;max-height:136px!important;padding:4px 8px!important}
  body.ingame.kb #chatbox .ch,body.ingame.kb #schatbox .ch{display:none}body.ingame.kb #chatbox .log,body.ingame.kb #schatbox .log{max-height:70px!important;min-height:0;font-size:13px}
}
/* phone lobby: Play Now in thumb reach, right above the bottom nav */
@media (max-width:760px){
  #play .lobmain>*{order:5}
  #play .lobx{order:1}#play #topgames{order:2}#play #onlinec{order:3}#play #camtour{order:4}#play .club{order:5}
  #play #resume,#play #seeking{order:6}#play .heros{order:7;margin:6px 0 0!important}#play .hero{order:8;margin:6px 0 2px!important;padding:6px!important}
  #play .hero .herot{display:none}#play .playnow{min-height:64px}#play .playnow b{font-size:22px}
}
@media (min-width:761px){.tabs button,.tabs .tabx{min-height:48px;display:flex;align-items:center}}
/* wide PC (≥1280): fill the right side with a lichess-style rail */
@media (min-width:1280px){
  body:not(.ingame) main{max-width:none}
  .lob{grid-template-columns:minmax(440px,1.25fr) minmax(360px,1fr) minmax(320px,400px)!important;max-width:1900px}
  .rrail{display:flex;flex-direction:column;gap:12px;position:sticky;top:72px;max-height:calc(100vh - 90px);min-height:0}
  .rrail .onlinec{margin:0;background:linear-gradient(160deg,#0f1a33,#0b1124);border:1px solid #22e6ff2e;border-radius:14px;padding:10px 12px}
  .rrail #camtour:empty{display:none}
  .rrail .club{margin:0;flex:1;min-height:0;display:flex;flex-direction:column}.rrail .club .cclog{flex:1;max-height:none;min-height:140px}
}
@media (min-width:2200px){.lob{grid-template-columns:minmax(560px,1.3fr) minmax(480px,1fr) 440px!important;max-width:2300px}}
.pnrng{margin:8px 0 6px}.pnrng>span{font-size:12px;font-weight:700;display:block;margin-bottom:5px}
.rchips{display:flex;flex-wrap:wrap;gap:6px}.rchips button{min-height:48px;min-width:48px;padding:0 12px;border-radius:24px;font-size:14px;font-weight:700;background:#0f1a33;border:1px solid #22e6ff33;color:var(--dim)}
.rchips button.on{background:linear-gradient(90deg,#22e6ff33,#a855f733);border-color:#22e6ff;color:#fff}
.widen{min-height:48px;padding:0 14px;border-radius:12px;font-weight:700;background:#22e6ff22;border:1px solid #22e6ff;color:#fff}
@media (min-width:1280px) and (max-width:1439px){.lob{grid-template-columns:minmax(360px,1.25fr) minmax(290px,1fr) minmax(270px,340px)!important;gap:14px!important}}
@media (max-width:1279px){.rrail{display:none}}
@media (max-width:760px){.rchips{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.rchips button{padding:0 2px;font-size:12.5px;line-height:1.1;border-radius:14px}.pnrng{margin:6px 0 4px}}
.copy{text-align:center;font-size:11px;opacity:.5;margin:18px 0 4px}.lnk{background:none!important;border:0!important;box-shadow:none!important;color:#22e6ff;text-decoration:underline;padding:0 2px;min-height:0;font:inherit;cursor:pointer}
@media (max-width:760px){#play .copy{display:none}}
.lnk{display:inline-flex;align-items:center;min-height:44px}
.cpl .frok{font-size:12px;color:#7be3a0;white-space:nowrap}.cpl .frok.dim{color:#9aa7c0}.cpls .onh{padding:0 4px}
