/* Oct 28 2026, late (Emmanuel: the small middle drawn on the felt was not symmetric with the board, and the faint LOWiSPIKE
   on the felt could not be read: throw both out): the off-centre head line, its circle at 25 % and the spot at 75 % are gone,
   and so is the LOWiSPIKE watermark. The only marking left is the middle ring, drawn round the exact centre (room-table.js).
   Oct 28 2026: the Room's Billardtisch (room-table.js). Deep-blue glass felt, a dark glass rail with soft brand-blue light, balls
   that carry each companion, and nothing of the old endless map behind it (sky, lines, field with its "Neues Bild" bubbles, the
   old energy pad) while the table is on. */
#cgGalaxy.rt-on>.cg-sky,#cgGalaxy.rt-on>svg,#cgGalaxy.rt-on>.cg-field,#cgGalaxy.rt-on>.ce-fx,#cgGalaxy.rt-on>.ce-joy,#cgGalaxy.rt-on>.ce-live{display:none!important}
#cgGalaxy.rt-on{touch-action:none}
.rt-wrap{position:absolute;inset:0;z-index:2;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.rt-rail{position:absolute;pointer-events:auto;border-radius:calc(var(--rail) + 12px);
  background:linear-gradient(160deg,rgba(40,66,120,.78),rgba(10,20,48,.92) 55%,rgba(22,40,86,.85));
  box-shadow:inset 0 .5px 0 rgba(255,255,255,.28),inset 0 0 0 .5px rgba(143,231,255,.22),0 18px 40px -16px rgba(10,132,255,.55),0 0 0 .5px rgba(0,0,0,.4);
  -webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
.rt-felt{position:absolute;overflow:hidden;border-radius:12px;touch-action:none;contain:strict;
  background:radial-gradient(120% 80% at 50% 38%,#164a9a 0%,#0f3576 42%,#0a2350 78%,#071a3d 100%);
  box-shadow:inset 0 0 0 1px rgba(143,231,255,.16),inset 0 10px 26px rgba(0,0,0,.45),inset 0 -6px 18px rgba(90,169,255,.12)}
.rt-pocket{position:absolute;width:calc(var(--rail) * 1.5);height:calc(var(--rail) * 1.5);border-radius:50%;background:radial-gradient(circle,#02060f 55%,rgba(2,6,15,.0) 72%);pointer-events:none}
.rt-pocket.p1{left:2px;top:2px}.rt-pocket.p2{right:2px;top:2px}.rt-pocket.p3{left:2px;bottom:2px}.rt-pocket.p4{right:2px;bottom:2px}
.rt-pocket.p5{left:0;top:50%;transform:translate(-20%,-50%)}.rt-pocket.p6{right:0;top:50%;transform:translate(20%,-50%)}
.rt-fx{position:absolute;left:0;top:0;pointer-events:none;z-index:1}
.rt-balls{position:absolute;inset:0;z-index:2}
.rt-ball{position:absolute;left:0;top:0;width:var(--d);height:var(--d);padding:0;margin:0;border:0;background:none;color:inherit;font:inherit;
  will-change:transform;-webkit-tap-highlight-color:transparent;touch-action:none;cursor:pointer}
.rt-orb{position:absolute;inset:0;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.55),var(--c) 38%,#0b1f4a 100%);
  background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.55),var(--c) 38%,color-mix(in srgb,var(--c) 55%,#06122e) 100%);
  box-shadow:0 3px 6px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.22) inset}
.rt-art{position:absolute;inset:8%;display:grid;place-items:center;transform-origin:50% 50%;will-change:transform;backface-visibility:hidden}
.rt-art>*{width:100%;height:100%}
.rt-art svg{width:100%;height:100%;display:block}
.rt-art *{animation:none!important;transition:none!important}
.rt-ini{display:grid;place-items:center;font:700 calc(var(--d) * .42)/1 -apple-system,system-ui,sans-serif;color:#06203f}
.rt-gloss{position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.75) 0,rgba(255,255,255,.18) 18%,transparent 34%),radial-gradient(circle at 60% 85%,transparent 50%,rgba(0,10,40,.35) 100%)}
.rt-name{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:1px;max-width:calc(var(--d) * 2.6);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:600 9.5px/1.15 -apple-system,system-ui,sans-serif;color:rgba(235,246,255,.92);text-shadow:0 1px 2px rgba(0,0,0,.85);pointer-events:none}
.rt-ball.me .rt-orb{box-shadow:0 3px 6px rgba(0,0,0,.45),0 0 0 2px #9cdac7,0 0 12px rgba(156,218,199,.7)}
.rt-ball.me .rt-name{color:#bff3e2;font-weight:700}
.rt-ball.sel .rt-orb{box-shadow:0 3px 6px rgba(0,0,0,.45),0 0 0 2px #fff,0 0 14px rgba(143,231,255,.9)}
.rt-ball:focus-visible .rt-orb{outline:2px solid #8fe7ff;outline-offset:2px}
.rt-toast{position:absolute;left:50%;transform:translate(-50%,-6px);max-width:86%;padding:7px 12px;border-radius:14px;opacity:0;transition:opacity .25s,transform .25s;
  font:600 12.5px/1.3 -apple-system,system-ui,sans-serif;color:#eaf6ff;text-align:center;pointer-events:none;z-index:4;
  background:rgba(12,32,74,.82);box-shadow:inset 0 .5px 0 rgba(255,255,255,.25),0 0 0 .5px rgba(143,231,255,.3),0 8px 22px -8px rgba(10,132,255,.6);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.rt-toast.on{opacity:1;transform:translate(-50%,0)}
.rt-toast:empty{display:none}
/* 5 Nov 2026 (Emmanuel: redesign the Billiards room: the table centred, a big reachable aim stick, use the empty space, a scoreboard):
   one control row just above the round back button (room-table.js dock / placeDock). Left: the aim stick, the table rail's glass,
   a dashed guide for the pull, a white knob with a crosshair that follows the thumb, and a gold rim that fills with the shot's
   power while you pull (--p). Right: the scoreboard in the same glass (room-table.js board). */
.rt-stick{position:absolute;border-radius:50%;pointer-events:auto;touch-action:none;cursor:grab;box-sizing:border-box;z-index:3;--p:0;
  background:radial-gradient(circle at 50% 40%,rgba(64,112,196,.55),rgba(10,22,52,.92) 72%);
  box-shadow:inset 0 .5px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(143,231,255,.28),0 14px 30px -14px rgba(10,132,255,.6)}
.rt-stick.on{cursor:grabbing}
.rt-stick:focus-visible{outline:2px solid #8fe7ff;outline-offset:3px}
.rt-pull{position:absolute;inset:-4px;border-radius:50%;pointer-events:none;opacity:0;transition:opacity .15s;
  background:conic-gradient(from 0deg,#ffd678 calc(var(--p) * 360deg),rgba(255,214,120,.14) 0);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px))}
.rt-stick.on .rt-pull{opacity:1}
.rt-well{position:absolute;inset:15%;border-radius:50%;border:1px dashed rgba(190,232,255,.32);pointer-events:none}
.rt-knob{position:absolute;left:50%;top:50%;width:44%;height:44%;margin:-22% 0 0 -22%;border-radius:50%;display:grid;place-items:center;pointer-events:none;color:#0b2a55;
  background:radial-gradient(circle at 35% 30%,#fff,#d8edff 55%,#a3cbf2);box-shadow:0 4px 10px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.55);
  transition:transform .22s cubic-bezier(.2,.9,.3,1.15)}
.rt-stick.on .rt-knob{transition:none}
.rt-knob svg{width:60%;height:60%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.rt-knob svg .rt-dot{fill:currentColor;stroke:none}
.rt-board{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:6px 14px;border-radius:22px;pointer-events:none;z-index:3;
  background:linear-gradient(160deg,rgba(40,66,120,.62),rgba(10,20,48,.88) 60%,rgba(22,40,86,.82));color:#eaf6ff;
  box-shadow:inset 0 .5px 0 rgba(255,255,255,.26),inset 0 0 0 .5px rgba(143,231,255,.24),0 14px 30px -14px rgba(10,132,255,.5);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.rt-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;flex:1}
.rt-row+.rt-row{box-shadow:inset 0 .5px 0 rgba(143,231,255,.16)}
.rt-k{display:flex;align-items:center;gap:6px;flex:none;font:700 10px/1.2 -apple-system,system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:rgba(190,225,255,.66)}
.rt-v{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font:700 13.5px/1.25 -apple-system,system-ui,sans-serif;color:#fff}
.rt-ring{width:10px;height:10px;box-sizing:border-box;border-radius:50%;border:1.5px dashed rgba(143,231,255,.65);flex:none}
.rt-board.held .rt-ring{border-style:solid;border-color:#ffd678;box-shadow:0 0 6px rgba(255,214,120,.8)}
.rt-board.held .rt-r-mid .rt-v{color:#ffd678}
.rt-board.mine .rt-r-mid .rt-v{color:#bff3e2}
/* Nov 7 2026: the middle holder's time and points under the name, never cut */
.rt-r-mid .rt-v .rt-vt{display:block;font:600 11px/1.2 -apple-system,system-ui,sans-serif;color:rgba(255,214,120,.85);white-space:nowrap}
/* Nov 6 2026 (design review point 6, tables of 24): the invite pill sits on the scoreboard's top edge, only once you have a table;
   the board itself lets taps through, the pill takes them (44 pt with its ::after) */
.rt-inv{position:absolute;right:12px;top:0;transform:translateY(-60%);pointer-events:auto;display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;
  border:1px solid rgba(143,231,255,.45);background:rgba(10,20,48,.94);color:#bff3ff;font:700 12px/1 -apple-system,system-ui,sans-serif;letter-spacing:.01em;cursor:pointer;-webkit-tap-highlight-color:transparent}
/* the Community pane's general button rules (16 px, full width from the left) must not stretch the pill */
.rt-wrap .rt-board .rt-inv{left:auto!important;width:auto!important;min-width:0!important;display:inline-flex!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;margin:0!important}
.rt-wrap .rt-board .rt-inv[hidden]{display:none!important}
.rt-inv::after{content:"";position:absolute;inset:-8px}
.rt-inv[hidden]{display:none}
.rt-inv:focus-visible{outline:2px solid #9fd8ff;outline-offset:2px}
html[data-black] .rt-stick{background:#1c1c1e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
html[data-black] .rt-board{background:#1c1c1e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);-webkit-backdrop-filter:none;backdrop-filter:none}
@media (prefers-reduced-motion:reduce){.rt-knob,.rt-pull{transition:none}}
/* Oct 28 2026: the middle (room-table.js). The holder's ball wears a gold ring; one small line on the felt under the ring says who holds it */
.rt-ball.mid .rt-orb{box-shadow:0 3px 6px rgba(0,0,0,.45),0 0 0 2px #ffd678,0 0 16px rgba(255,214,120,.8)}
.rt-ball.me.mid .rt-orb{box-shadow:0 3px 6px rgba(0,0,0,.45),0 0 0 2px #ffd678,0 0 0 4px rgba(156,218,199,.85),0 0 18px rgba(255,214,120,.85)}
.rt-mid{position:absolute;left:50%;top:60%;transform:translateX(-50%);z-index:1;white-space:nowrap;font:700 10px/1.2 -apple-system,system-ui,sans-serif;color:rgba(200,235,255,.6);pointer-events:none;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.rt-mid.on{color:#ffd678}
/* Nov 6 2026 (design review point 8: "Middle: Name" covered the ball's name): the holder's own name hides while the line names them */
.rt-ball.mid .rt-name{visibility:hidden}
@media (prefers-reduced-motion:reduce){.rt-toast{transition:none}}
