/* Shift each complete side-panel column (artwork AND live contents) outward by 20% of its own width. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel{transform:translateX(-20%)!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel{transform:translateX(20%)!important;}
}

/* Premium Option C: transparent dual-panel PNG as decorative backing.
   Existing avatar, score, clock, turn and bonus elements remain live DOM. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel){
  position:relative!important;isolation:isolate!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel)::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:12px;left:-15%;width:130%;height:757.5px;
  background-image:url("/Ornate%20Gold%20and%20Blue%20Dual%20UI%20Panels.png");
  background-repeat:no-repeat;
  background-size:390% 100%;
  filter:drop-shadow(0 0 8px #ffc34266);
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel::before{background-position:left center}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel::before{background-position:right center}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > :is(#playerCard,#clock,#turnCard,.bonus-card),
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > :is(#opponentCard,#opponentClock,#opponentTurnCard,.bonus-card){
  background:transparent!important;border-color:transparent!important;
  box-shadow:none!important;position:relative;z-index:1;
 }
 /* Keep all gameplay status information above the decorative artwork. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock{
  background:transparent!important;
 }
 /* Timed play's urgent countdown must remain unmistakable. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .timer-card.countdown-danger{
  background:linear-gradient(145deg,#8f1326,#3e0711)!important;
  border-color:#ff425d!important;
 }
}

/* The supplied artwork was 505px high: increase its display height by 50%.
   Fit the original live content into the four decorative regions, without
   changing any score, timer, turn, or bonus event handlers. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel){
  gap:0!important;
  min-height:790px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > :is(#playerCard,#clock,#turnCard,.bonus-card),
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > :is(#opponentCard,#opponentClock,#opponentTurnCard,.bonus-card){
  width:92%!important;max-width:92%!important;
  margin:0!important;box-sizing:border-box!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #playerCard,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentCard{
  height:306px!important;min-height:306px!important;max-height:306px!important;
  justify-content:center!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock{
  height:94px!important;min-height:94px!important;max-height:94px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #turnCard,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentTurnCard{
  height:116px!important;min-height:116px!important;max-height:116px!important;
  overflow:visible!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card{
  height:170px!important;min-height:170px!important;max-height:170px!important;
  padding:22px 12px!important;
 }
 /* Other controls (including Exit Game) retain their original functionality. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #exitGame{
  margin-top:6.4px!important; /* 60% less than previous 16px clearance. */
 }
}

/* Reposition only the two live avatar cards toward the board by 15% of their own width.
   The ornate artwork, parent columns, timers, turns, bonuses and gameplay stay fixed. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #playerCard{transform:translateX(15%)!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentCard{transform:translateX(-15%)!important;}
}

/* Keep the existing announcement frame present throughout active games.
   Preserve the game message text and event styling; reserve the same height
   even when the status element is cleared between announcements.
   No changes to either ornate panel's position or dimensions. */
body:not(.wd-gate):has(#game:not([hidden])) #status{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;height:58px!important;min-height:58px!important;
 box-sizing:border-box!important;margin:6px auto 9px!important;
 padding:6px 14px!important;border:2px solid #eab94f!important;
 border-radius:13px!important;
 background:linear-gradient(110deg,rgba(3,15,40,.95),rgba(12,38,86,.96) 50%,rgba(3,15,40,.95))!important;
 box-shadow:inset 0 1px 2px #ffffff24,0 0 10px #eab94f33!important;
}
body:not(.wd-gate):has(#game:not([hidden])) #status:empty{
 height:58px!important;min-height:58px!important;margin:6px auto 9px!important;
 padding:6px 14px!important;border:2px solid #eab94f!important;
 background:linear-gradient(110deg,rgba(3,15,40,.95),rgba(12,38,86,.96) 50%,rgba(3,15,40,.95))!important;
 box-shadow:inset 0 1px 2px #ffffff24,0 0 10px #eab94f33!important;
}
body:not(.wd-gate):has(#game:not([hidden])) #status:empty::after{
 content:"Let's Play Word Dome!";color:#ffeb83;
 -webkit-text-stroke:1.725px #1645bb;paint-order:stroke fill;
 font-size:clamp(15.3px,1.8vw,22.5px);font-weight:950;
 text-shadow:0 2px 2px #001b55,0 0 9px #ffd34b;
}

/* Only message lettering: 10% smaller, with frame size and position unchanged. */
body:not(.wd-gate):has(#game:not([hidden])) #status{
 font-size:clamp(15.3px,1.8vw,22.5px)!important;
}

/* Swap only Timer and Turn positions in both player columns.
   All dimensions, artwork, controls and behavior remain unchanged. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #turnCard,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentTurnCard{order:2!important;}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock{order:4!important;}

/* Requested cosmetic-only changes: no DOM removal or gameplay event changes. */
/* Suppress the colored active-turn rectangle around either avatar card. */
body:has(#game:not([hidden])) #playerCard.turn-glow-active,
body:has(#game:not([hidden])) #opponentCard.turn-glow-active{
 outline:none!important;outline-offset:0!important;box-shadow:none!important;
}
/* Center timer text/clock within its existing box, regardless of game mode. */
body:has(#game:not([hidden])) #clock,
body:has(#game:not([hidden])) #opponentClock{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;text-align:center!important;
}
/* Leave both Turn boxes visually empty, preserving their elements for later use. */
body:has(#game:not([hidden])) #turnCard > *,
body:has(#game:not([hidden])) #opponentTurnCard > *{
 visibility:hidden!important;
}

/* Center the timer readout in the gold artwork's timer compartment.
   Existing #clock boxes are taller than their visible text, and the artwork
   is independent of those transparent boxes. A visual-only upward offset
   moves the readout without changing layout flow, panel art or game logic. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock{
  transform:translateY(-28px)!important;
 }
}

/* Tighten the horizontal space between the clock icon and timer wording
   by approximately 50%, while keeping the combined readout centered.
   This only adjusts internal padding and the clock pseudo-elements;
   existing timer box placement, dimensions and countdown behavior stay intact. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock{
  padding-left:12px!important;
  padding-right:12px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock::before,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock::after,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock::before,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock::after{
  left:19px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock::after,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock::after{
  left:21px!important;
 }
}

/* Active countdown needs breathing room: the longer "Time: 23s" label
   sits nearer the clock than "Waiting". Shift ONLY the player's clock
   graphic 9px left; leave timer text centering and opponent waiting alone. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock::before{left:10px!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock::after{left:12px!important;}
}

/* At the existing 12-second danger threshold, pulse the countdown lettering
   dark red. Only text color/glow animates; clock hands, boxes and positions
   retain their existing behavior. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #clock.timer-active.countdown-danger,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentClock.timer-active.countdown-danger{
 animation:wd-clock-urgent-blink .32s ease-in-out infinite alternate,wd-countdown-letter-pulse .65s ease-in-out infinite alternate!important;
}
@keyframes wd-countdown-letter-pulse{
 from{color:#7b0712;text-shadow:0 0 3px #c21b2a,0 0 7px #8b001899;}
 to{color:#b31929;text-shadow:0 0 8px #b41225,0 0 18px #890013,0 0 26px #79000fcc;}
}
@media(prefers-reduced-motion:reduce){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #clock.timer-active.countdown-danger,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentClock.timer-active.countdown-danger{
  animation:none!important;color:#990f20!important;text-shadow:0 0 10px #850014!important;
 }
}

/* Force genuinely red glyph fills during the final 12 seconds.
   Earlier timer rules use color:#fff!important, which overrides animated
   color declarations. Set the actual fill to red with !important, and pulse
   only a dark-red glow. No white highlight, outline or text stroke. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #clock.timer-active.countdown-danger,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentClock.timer-active.countdown-danger{
 color:#c11222!important;
 -webkit-text-fill-color:#c11222!important;
 -webkit-text-stroke:0 transparent!important;
 text-shadow:0 0 2px #6c0010,0 0 6px #a00019!important;
 animation:wd-clock-urgent-blink .32s ease-in-out infinite alternate,wd-solid-red-letter-pulse .65s ease-in-out infinite alternate!important;
}
@keyframes wd-solid-red-letter-pulse{
 from{text-shadow:0 0 1px #67000d,0 0 3px #8b0015;}
 to{text-shadow:0 0 5px #a50018,0 0 12px #a50018;}
}
@media(prefers-reduced-motion:reduce){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #clock.timer-active.countdown-danger,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentClock.timer-active.countdown-danger{
  animation:none!important;color:#c11222!important;
  -webkit-text-fill-color:#c11222!important;
  text-shadow:0 0 4px #870015!important;
 }
}

/* Royal Red Alert + Heartbeat Countdown.
   At the existing 12-second danger state, retain high-contrast WHITE numbers
   and make the timer compartment pulse crimson. The final five seconds are
   more urgent. No transform: ornate artwork and panel geometry never move. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #clock.timer-active.countdown-danger,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentClock.timer-active.countdown-danger{
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 -webkit-text-stroke:0 transparent!important;
 animation:wd-royal-heartbeat 1.05s ease-in-out infinite!important;
}
@keyframes wd-royal-heartbeat{
 0%,100%{background:rgba(7,24,56,.88);border-color:#cf2640;box-shadow:0 0 3px #ad102a66,inset 0 0 5px #78001844;text-shadow:0 1px 2px #050b1e;}
 18%{background:rgba(106,10,30,.95);border-color:#ff3851;box-shadow:0 0 14px #ff173f,inset 0 0 14px #a4003b88;text-shadow:0 0 8px #ff4767,0 0 2px #fff;}
 33%{background:rgba(28,8,35,.93);border-color:#d42743;box-shadow:0 0 5px #a90c29aa,inset 0 0 6px #86002655;text-shadow:0 1px 2px #050b1e;}
 48%{background:rgba(113,10,32,.95);border-color:#ff3851;box-shadow:0 0 16px #ff173f,inset 0 0 16px #b3003588;text-shadow:0 0 9px #ff4767,0 0 2px #fff;}
 68%{background:rgba(28,8,35,.93);border-color:#d42743;box-shadow:0 0 5px #a90c29aa,inset 0 0 6px #86002655;text-shadow:0 1px 2px #050b1e;}
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #clock.timer-active.countdown-danger.wd-timer-critical,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentClock.timer-active.countdown-danger.wd-timer-critical{
 animation-duration:.52s!important;
}
@media(prefers-reduced-motion:reduce){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #clock.timer-active.countdown-danger,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentClock.timer-active.countdown-danger{
  animation:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:rgba(94,9,29,.95)!important;border-color:#ff3851!important;
  box-shadow:0 0 10px #f21b3a,inset 0 0 8px #a4003b88!important;
  text-shadow:0 0 5px #ff4767!important;
 }
}

/* Show the EXISTING live score values inside the previously blank second
   compartments; keep all original IDs, scoring logic and panel geometry. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard{
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 text-align:center!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
 display:block!important;
 visibility:visible!important;
 position:static!important;
 transform:none!important;
 margin:0!important;
 padding:0!important;
 width:auto!important;
 height:auto!important;
 line-height:1.1!important;
 text-align:center!important;
 align-self:center!important;
}

/* Score-only second compartments: hidden legacy turn labels must not occupy
   layout space, so the preserved live scores are truly centered. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > :is(span,strong:not(#playerScore)),
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > :is(span,strong:not(#opponentScore)){
 display:none!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
 font-size:30px!important;
 font-weight:800!important;
 color:#fff!important;
 text-shadow:0 2px 5px #001537!important;
}

/* Align score lettering to the visible center of the ornate score compartment.
   The decorative artwork sits above the center of its underlying turn-card
   layout region. Offset only the glyphs, never the panel or card itself. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
  position:relative!important;
  top:-33px!important;
 }
}

/* Final optical alignment of score glyphs inside the existing gold frames.
   Adjust text only; do not move the underlying score cards or artwork. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore{
  top:-23px!important;
  left:20px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
  top:-23px!important;
  left:-30px!important;
 }
}

/* Center the bonus heading and its three label/value rows as one block
   inside each existing ornate bonus compartment. Keep the numeric values
   right-aligned within a compact, centered breakdown column. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > span,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > span{
  width:100%!important;
  text-align:center!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > div,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > div{
  width:136px!important; /* roughly halves the open space between label and value */
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
 }
}

/* 30% larger Bonus Points lettering and scores, with row widths, spacing,
   position, and ornate artwork unchanged. Fixed line heights prevent the
   three existing rows from moving vertically when the glyphs grow. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > span{
  font-size:16.9px!important;
  line-height:17px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div{
  font-size:14.3px!important;
  line-height:16px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div > strong{
  font-size:15.6px!important;
  line-height:16px!important;
 }
}

/* Move only the Bonus Points interior headings and scoring rows 5% of
   their containing box width toward the game board. A positioned offset
   uses the same physical shift for every child without moving the frame. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > :is(span,div){
  position:relative!important;
  left:5%!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > :is(span,div){
  position:relative!important;
  left:-5%!important;
 }
}

/* Increase only the three bonus scoring rows by 15%.
   Transform scales text and numbers together without changing row layout,
   the inward 5% offset, the BONUS POINTS title or ornate frame geometry. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > div,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > div{
  transform:scale(1.15)!important;
  transform-origin:center center!important;
 }
}

/* New Total Bonus banner only, immediately after 7-Letter Moves.
   Exclude this banner from existing 15%-enlarged scoring-row selectors. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:166px!important;max-width:calc(100% - 12px)!important;
  min-height:26px!important;height:26px!important;box-sizing:border-box!important;
  margin:11px auto 0!important;padding:3px 9px!important;
  border:1px solid #e7b748!important;border-radius:14px!important;
  background:linear-gradient(180deg,#12386f,#041b43)!important;
  box-shadow:inset 0 0 4px #178cff55!important;
  color:#fff!important;line-height:18px!important;
  transform:none!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > span{
  font-size:11px!important;font-weight:900!important;white-space:nowrap!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > strong{
  font-size:15px!important;font-weight:900!important;line-height:18px!important;color:#ffd44e!important;
 }
}

/* In-game account details occupy the existing blue inset below each gold avatar
   frame. Keep their original IDs/hidden states so ratings and Stats still work.
   The spacer preserves the avatar/name vertical layout from before the move. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard)::after{
  content:"";display:block!important;flex:0 0 62px!important;pointer-events:none!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard) > .wd-avatar-account-bar{
  position:absolute!important;bottom:21px!important;left:4%!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:center!important;gap:7px!important;
  width:92%!important;height:39px!important;box-sizing:border-box!important;
  padding:0 4px!important;margin:0!important;z-index:5!important;
  white-space:nowrap!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > .wd-rating:not([hidden]){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 1 auto!important;min-width:0!important;margin:0!important;
  padding:4px 6px!important;font-size:11px!important;line-height:15px!important;
  white-space:nowrap!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > .wd-stat-button:not([hidden]){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;margin:0!important;padding:5px 7px!important;
  font-size:11px!important;line-height:15px!important;white-space:nowrap!important;
 }
}

/* Approved royal-blue STATS button. Styling only; keep the account bar's
   existing placement and original Stats button IDs/click handlers. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > .wd-stat-button:not([hidden]){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:5px!important;padding:5px 9px!important;margin:0!important;
 min-height:28px!important;box-sizing:border-box!important;
 color:#fff!important;font-size:11px!important;font-weight:900!important;
 line-height:15px!important;letter-spacing:.3px!important;white-space:nowrap!important;
 border:2px solid #ffd35c!important;border-radius:9px!important;
 background:linear-gradient(180deg,#174f9a 0%,#0c377a 47%,#061b46 100%)!important;
 box-shadow:inset 0 1px 0 #9fd6ff66,0 0 7px #168aff66,0 2px 4px #0009!important;
 text-shadow:0 1px 2px #001432!important;
 cursor:pointer!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > .wd-stat-button:not([hidden]):hover{
 background:linear-gradient(180deg,#2369bd,#0e438c,#092752)!important;
 box-shadow:inset 0 1px 0 #9fd6ff88,0 0 10px #43aaff99!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar .wd-stats-chart-icon{
 display:inline-block!important;position:relative!important;flex:0 0 15px!important;
 width:15px!important;height:13px!important;border-bottom:2px solid #ffd35c!important;
 background:linear-gradient(to top,#ffd35c 0 100%) 2px bottom/3px 5px no-repeat,
            linear-gradient(to top,#ffd35c 0 100%) 7px bottom/3px 9px no-repeat,
            linear-gradient(to top,#ffd35c 0 100%) 12px bottom/3px 12px no-repeat!important;
}

/* Anchor each portrait and its name together inside the ornate gold avatar
   compartment, leaving approximately 1% of the 306px card's height as
   clearance above the compartment's lower boundary. The existing blue
   Rating/STATS inset and its position are left untouched. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard) > .wd-avatar-identity{
  position:absolute!important;left:0!important;bottom:calc(76px + 1%)!important;
  width:100%!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-end!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  z-index:3!important;pointer-events:none!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-identity > .score-avatar{
  flex-shrink:0!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-identity > small{
  display:block!important;text-align:center!important;
 }
}

/* Gold player-name banners directly above the ornate avatar frames.
   Names are the existing live elements; opponent keeps COMPUTER in AI games.
   The portrait stays at its former height after the name is moved. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard) > .wd-player-name-banner{
  display:flex!important;position:absolute!important;top:-66.3px!important;left:-10%!important;
  width:120%!important;height:109.62px!important;box-sizing:border-box!important;
  align-items:center!important;justify-content:center!important;
  margin:0!important;padding:2px 9px!important;z-index:8!important;
  border:0!important;border-radius:0!important;
  background-image:url("/Glossy%20Gold-Trimmed%20Royal%20Blue%20Nameplate.png")!important;
  background-color:transparent!important;background-repeat:no-repeat!important;
  background-position:center!important;background-size:100% 100%!important;
  box-shadow:none!important;
  overflow:hidden!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-player-name-banner > small{
  display:block!important;max-width:100%!important;margin:0!important;
  padding:0!important;color:#ffdc64!important;font-weight:950!important;
  font-size:19.25px!important;line-height:28.875px!important;letter-spacing:.5px!important;
  text-align:center!important;white-space:nowrap!important;overflow:hidden!important;
  text-overflow:ellipsis!important;text-shadow:0 1px 2px #001337,0 0 3px #6b4200!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard) > .wd-avatar-identity{
  bottom:calc(94px + 1%)!important;
 }
}

/* Fit both live avatar background portraits neatly inside the fixed ornate
   gold square apertures. Scope to desktop in-game cards only; the ornate art,
   nameplates, score/status panels and avatar selection UI are untouched. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard) > .wd-avatar-identity{
  bottom:calc(82px + 1%)!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard) > .wd-avatar-identity > .score-avatar{
  width:128px!important;height:128px!important;min-width:128px!important;min-height:128px!important;
  box-sizing:border-box!important;flex:0 0 128px!important;
  margin:0 auto!important;border-width:4px!important;
  border-radius:12px!important;
  background-size:cover!important;background-position:center center!important;
  background-repeat:no-repeat!important;
 }
}

/* Position only the live avatar portraits: 8.5% outward horizontally and
   6% upward vertically, each relative to its own 128px dimensions.
   Do not move ornate frames, the nameplates or account controls. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #playerCard .wd-avatar-identity > #playerAvatar{
  transform:translate(-8.5%,-6%)!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentCard .wd-avatar-identity > #opponentAvatar{
  transform:translate(8.5%,-6%)!important;
 }
}

/* Computer difficulty in the existing blue inset beneath the ornate avatar.
   Hidden during online matches; no effect on the player's Rating/STATS bar. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentCard .wd-avatar-account-bar > .wd-computer-mode-label:not([hidden]){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 1 auto!important;max-width:100%!important;box-sizing:border-box!important;
 margin:0!important;padding:3px 9px!important;border:0!important;
 background:transparent!important;color:#ffdc64!important;
 font-size:25.2px!important;font-weight:900!important;line-height:41.4px!important;
 letter-spacing:.45px!important;white-space:nowrap!important;
 /* Narrow glyphs 10%; raise text 5% of the 39px inset box (1.95px). */
 transform:translateY(-1.95px) scaleX(.9)!important;transform-origin:center center!important;
 text-shadow:0 1px 2px #00112e,0 0 5px #f4b32b55!important;
}

/* MEDIUM only: 10% smaller to fit the computer's existing blue inset.
   EASY/HARD retain their approved font sizes and positioning. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentCard .wd-avatar-account-bar > .wd-computer-mode-label.wd-mode-medium:not([hidden]){
 font-size:22.68px!important;
 line-height:37.26px!important;
}

/* Lower every visible bonus-box item (heading, scoring rows and total)
   by 10% of the fixed 170px bonus compartment height, without moving the
   ornamental frame or disturbing existing horizontal offsets/scales. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > :is(span,div){
  top:17px!important;
 }
}

/* In-game player and opponent rating badges: return to their original
   displayed size, retaining the approved gold frame. No home-page change. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > :is(#playerRatingBadge,#opponentRatingBadge):not([hidden]){
 transform:scale(1)!important;
 transform-origin:center center!important;
 outline:2px solid #ffd45e!important;
 outline-offset:1px!important;
}

/* Both games: put the active-turn green INSIDE the existing avatar's
   gold square, never outside it. The game still supplies the same turn-state
   classes to the avatars and synchronized name banners. No avatar geometry,
   gold border, artwork or screen positioning is changed. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerAvatar,#opponentAvatar):is(.wd-active-turn-p1,.wd-active-turn-p2){
 outline:none!important;
 outline-offset:0!important;
 position:relative!important;
 overflow:hidden!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerAvatar,#opponentAvatar):is(.wd-active-turn-p1,.wd-active-turn-p2)::after{
 content:"";
 display:block;
 position:absolute;
 inset:5px;
 border:4px solid #41e568;
 border-radius:7px;
 box-sizing:border-box;
 box-shadow:inset 0 0 6px rgba(65,229,104,.5);
 pointer-events:none;
 z-index:2;
}

/* Lift only the visible in-game RATING and STATS controls by 10% of
   their existing 39px inset height (3.9px). Do not move the inset,
   computer difficulty label, avatars, or other game elements. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > :is(#playerRatingBadge,#opponentRatingBadge,#playerPublicStats,#opponentPublicStats):not([hidden]){
 position:relative!important;
 top:-3.9px!important;
}

/* Game board only: increase the existing Unrated badge width by another 25%, centered.
   Transform does not change layout dimensions or move adjacent controls.
   The home-page rating badge, rated badges and ornate frames are untouched. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > .wd-rating-unrated:not([hidden]){
 transform:scaleX(3)!important;
 transform-origin:center center!important;
}

/* Move only the two game-board name banners 5% outward (relative to each banner's width).
   Preserve ornate artwork, player cards, avatars, vertical positioning, and all other controls. */
@media(min-width:700px){
  body:not(.wd-gate):has(#game:not([hidden])) .game-grid #playerCard > .wd-player-name-banner{
    transform:translateX(-5%)!important;
  }
  body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentCard > .wd-player-name-banner{
    transform:translateX(5%)!important;
  }
}

/* Royal membership placement preview: retain the exact nameplate and parent layout. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#wdGameRoyalNameBadge,#wdOpponentRoyalNameBadge):not([hidden]){
  display:block!important;position:absolute!important;z-index:9!important;
  left:-11.875%!important;bottom:6%!important;width:123.75%!important;height:41.47%!important;
  object-fit:contain!important;pointer-events:none!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-player-name-banner:has(>:is(#wdGameRoyalNameBadge,#wdOpponentRoyalNameBadge):not([hidden]))>small{
  transform:translateY(-12px)!important;
 }
}
:is(#wdGameRoyalNameBadge,#wdOpponentRoyalNameBadge)[hidden]{display:none!important;}

/* Compact game layouts: show the same Royal Member plate below its owner's
   name without changing the avatar or its enclosing card dimensions. */
@media(max-width:699px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-player-name-banner{
  position:relative;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-player-name-banner > :is(#wdGameRoyalNameBadge,#wdOpponentRoyalNameBadge):not([hidden]){
  display:block!important;position:absolute!important;
  width:88%!important;height:12px!important;left:6%!important;bottom:-7px!important;
  object-fit:contain!important;z-index:9!important;pointer-events:none!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-player-name-banner:has(>:is(#wdGameRoyalNameBadge,#wdOpponentRoyalNameBadge):not([hidden])) > small{
  transform:translateY(-4px)!important;
 }
}

/* In-game Unrated only: size the actual badge to fit the blue account inset.
   The earlier scaleX was overridden by the ID-specific rating reset. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > :is(#playerRatingBadge,#opponentRatingBadge).wd-rating-unrated:not([hidden]){
 width:80%!important;max-width:100%!important;flex:0 0 80%!important;
 box-sizing:border-box!important;transform:none!important;transform-origin:center center!important;
}

/* Raise only the visible computer difficulty text by 10% of its 39px
   blue inset height; preserve the inset artwork, card and other controls. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentCard .wd-avatar-account-bar > #opponentModeLabel:not([hidden]){
  position:relative!important;top:-3.9px!important;
 }
}

/* Desktop game: extend both avatar portraits vertically by 1% (128px to
   129.28px), preserving width and bottom alignment. The existing active-turn
   green outline follows the element's new height automatically. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#playerCard,#opponentCard) > .wd-avatar-identity > .score-avatar{
  height:129.28px!important;min-height:129.28px!important;
  flex:0 0 129.28px!important;
 }
}

/* Match computer/opponent clock glyph spacing to player clock. The player
   already uses 10px/12px offsets; previous opponent 19px/21px offsets made
   its icon nearly touch the 'Time' label. No timer geometry or logic changes. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock::before{left:10px!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock::after{left:12px!important;}
}

/* Two-player rooms only: keep Player 1 TOTAL BONUS banner clear of the
   lower ornate-frame accent. It had inherited the 17px downward shift
   intended for bonus rows; lift just this banner by 9px. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])):has(#activeRoomLabel:not([hidden]))
 .game-grid > .left-panel > .bonus-card > .wd-simple-bonus-total{
  top:8px!important;
 }
}

/* Active timer box remains red during the final twelve seconds. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock).timer-active.countdown-danger{
 background:#950f2c!important;background-image:none!important;
 animation:wd-red-timer-box 1.05s ease-in-out infinite!important;
}
@keyframes wd-red-timer-box{0%,100%{background:#780d23;box-shadow:inset 0 0 8px #400818,0 0 5px #9b1730}50%{background:#b11432;box-shadow:inset 0 0 9px #68091f,0 0 12px #e53450}}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock).timer-active.countdown-danger.wd-timer-critical{animation-duration:.52s!important}
@media(prefers-reduced-motion:reduce){body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock).timer-active.countdown-danger{animation:none!important;background:#950f2c!important}}

/* The side-panel ornament is an IMAGE behind the transparent timer text.
   Do not paint the entire timer element: its rectangular bounds are larger
   than the ornate blue inset. Instead paint a rounded SVG inset, preserving
   the clock pseudo-elements and all panel/frame dimensions. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#clock,#opponentClock).timer-active.countdown-danger{
 background-color:transparent!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 76' preserveAspectRatio='none'%3E%3Crect x='0' y='0' width='200' height='76' rx='22' fill='%239a1230'/%3E%3C/svg%3E")!important;
 background-position:left 14px center!important;
 background-size:calc(100% + 12px) calc(100% - 14px)!important;
 background-repeat:no-repeat!important;
 animation:none!important;
 border-color:transparent!important;
 box-shadow:none!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
@media(prefers-reduced-motion:reduce){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#clock,#opponentClock).timer-active.countdown-danger{
  background-color:transparent!important;animation:none!important;
 }
}

@media(min-width:700px){
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#clock,#opponentClock).timer-active.countdown-danger{
width:calc(92% + 34px)!important;max-width:none!important;box-sizing:border-box!important;padding-right:46px!important;
background-position:left calc(14px + 10%) center!important;background-size:calc(100% - 14px) calc(100% - 14px)!important;
}}

/* Enlarge only the complete TOTAL BONUS banner and its contents by 15%.
   Visual scaling does not alter bonus-panel layout or adjacent rows. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total{
 transform:scale(1.15)!important;transform-origin:center center!important;
}

/* Final 12 seconds: keep the original blue/gold compartment and make only
   countdown lettering solid overlay-red, 50% larger, without white effects.
   The timer-active/countdown-danger classes clear at the end of each turn. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#clock,#opponentClock).timer-active.countdown-danger{
 background:transparent!important;background-image:none!important;
 background-color:transparent!important;
 animation:none!important;filter:none!important;
 color:#9a1230!important;-webkit-text-fill-color:#9a1230!important;
 -webkit-text-stroke:0 transparent!important;
 text-shadow:none!important;
 font-size:33px!important;
 border-color:transparent!important;box-shadow:none!important;
}
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#clock,#opponentClock).timer-active.countdown-danger{
  width:92%!important;max-width:92%!important;
  padding-left:12px!important;padding-right:12px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > :is(#clock,#opponentClock).timer-active.countdown-danger{
  background:transparent!important;color:#9a1230!important;-webkit-text-fill-color:#9a1230!important;
  text-shadow:none!important;animation:none!important;
 }
}

/* Increase BONUS POINTS heading and only the three score rows 10% visually.
   Preserve their layout footprint, the TOTAL BONUS capsule and panel artwork. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > span:first-child{
 transform:scale(1.10)!important;transform-origin:center center!important;
}
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div:not(.wd-simple-bonus-total){
  transform:scale(1.265)!important;transform-origin:center center!important;
 }
}

/* At 12 seconds retain the 50%-larger single-line countdown.
   Time stays pure white, only seconds turn solid overlay red. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock).timer-active.countdown-danger{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
 text-shadow:none!important;-webkit-text-stroke:0 transparent!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock) .wd-countdown-line{
 display:inline-block!important;white-space:nowrap!important;
 font:inherit!important;line-height:inherit!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock).timer-active.countdown-danger .wd-countdown-label{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
 -webkit-text-stroke:0 transparent!important;text-shadow:none!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock).timer-active.countdown-danger .wd-countdown-seconds{
 color:#9a1230!important;-webkit-text-fill-color:#9a1230!important;
 -webkit-text-stroke:0 transparent!important;text-shadow:none!important;
}
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock.timer-active.countdown-danger::before,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock.timer-active.countdown-danger::before{left:3px!important}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock.timer-active.countdown-danger::after,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock.timer-active.countdown-danger::after{left:5px!important}
}

/* Only the enlarged danger countdown: separate icon and Time by 5% of the timer width. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#clock,#opponentClock).timer-active.countdown-danger .wd-countdown-line{
 position:relative!important;left:5%!important;
}

/* Shift complete timer readouts (clock and lettering together) 15% inward
   toward the board. These timer nodes have transparent backgrounds over the
   fixed ornate panel art, so the gold frames stay in place. Retain -28px Y. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #clock{
  transform:translate(15%,-28px)!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentClock{
  transform:translate(-15%,-28px)!important;
 }
}

/* Game board only: show UNRATED as 50% larger plain text, without its oval.
   Leave the status-bar position, homepage and rated badges unchanged. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-avatar-account-bar > :is(#playerRatingBadge,#opponentRatingBadge).wd-rating-unrated:not([hidden]){
 border:0!important;border-radius:0!important;outline:0!important;
 background:transparent!important;background-image:none!important;
 box-shadow:none!important;
 font-size:150%!important;
}

/* Symmetrical game-board status alignment for either seat.
   Unrated: one truly centered label without a pill.
   Royal: rating + STATS centered as a single flex group.
   Do not touch lobby/home badges or the status box/artwork. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard) > .wd-avatar-account-bar{
 justify-content:center!important;align-items:center!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard) > .wd-avatar-account-bar > :is(#playerRatingBadge,#opponentRatingBadge).wd-rating-unrated:not([hidden]){
 flex:0 0 auto!important;width:auto!important;max-width:none!important;
 min-width:0!important;margin:0!important;padding:0!important;
 transform:none!important;position:static!important;
 text-align:center!important;
 border:0!important;outline:0!important;box-shadow:none!important;
 background:transparent!important;background-image:none!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard) > .wd-avatar-account-bar > :is(#playerRatingBadge,#opponentRatingBadge):not(.wd-rating-unrated):not([hidden]),
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard) > .wd-avatar-account-bar > :is(#playerPublicStats,#opponentPublicStats):not([hidden]){
 flex:0 0 auto!important;width:auto!important;position:static!important;
 margin:0!important;transform:none!important;
}

/* Rated game-board badges only: raise Rating and STATS together by
   5% of their existing 39px status-bar height (~2px). Preserve centering,
   unchanged Unrated text, and all surrounding artwork/geometry. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard) > .wd-avatar-account-bar > :is(#playerRatingBadge,#opponentRatingBadge):not(.wd-rating-unrated):not([hidden]),
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard) > .wd-avatar-account-bar > :is(#playerPublicStats,#opponentPublicStats):not([hidden]){
 transform:translateY(-1.95px)!important;
}

/* Center contents inward by 5% of bonus box width, without moving frames.
   Opposite directions for both sides. Preserve previous total-pill scale. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > :is(span,div){
 position:relative!important;left:5%!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > :is(span,div){
 position:relative!important;left:-5%!important;
}

/* Center each bonus-box content group symmetrically. Keep the three
   label/value rows aligned and preserve the enlarged TOTAL BONUS bar. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > :is(span,div){
 left:0!important;right:auto!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > span:first-child{
 display:block!important;width:100%!important;text-align:center!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div:not(.wd-simple-bonus-total){
 width:82%!important;margin-left:auto!important;margin-right:auto!important;
 box-sizing:border-box!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > .wd-simple-bonus-total{
 left:0!important;right:auto!important;margin-left:auto!important;margin-right:auto!important;
}

/* Score compartments: raise live score figures by 20% of the existing
   116px compartment height. Preserve all other sizes and horizontal offsets. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
  top:-46.2px!important;
 }
}
/* Centered ornate gold filigree rule, in both score compartments.
   The bar is decorative only and doesn't participate in layout. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#turnCard,#opponentTurnCard)::after{
 content:""!important;display:block!important;position:absolute!important;
 left:19%!important;top:50%!important;width:62%!important;height:6px!important;
 transform:translateY(-50%)!important;pointer-events:none!important;
 border-radius:12px!important;
 background:linear-gradient(to bottom,#fff0a1 0%,#fbd65f 20%,#c67a12 47%,#fff5a7 60%,#a26008 100%)!important;
 box-shadow:0 0 2px #ffdf70,0 1px 4px #081631,0 -1px 3px #c27b1c!important;
 z-index:2!important;
}

/* Visual center corrections measured against the rendered ornate art:
   the score compartment's visible center is 20% above the DOM card center.
   Fill the interior width so the gold divider joins both inner sides. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#turnCard,#opponentTurnCard)::after{
 top:30%!important;left:0!important;right:0!important;width:100%!important;
 height:6px!important;transform:translateY(-50%)!important;
 border-radius:0!important;
}
/* The artwork's bonus wells are offset from the DOM content centers.
   Correct the left and right wells independently without touching art,
   text sizing, score values, or the existing TOTAL BONUS pill scale. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > :is(span,div){
 left:9%!important;right:auto!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > :is(span,div){
 left:-6%!important;right:auto!important;
}

/* Extend both score dividers beneath the ornamental frame edges.
   Fade only the outermost ends so each gold line visually vanishes under
   the frame, as on the home arch. Do not touch score glyphs or card art. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#turnCard,#opponentTurnCard)::after{
 left:-6%!important;right:auto!important;width:112%!important;
 border-radius:0!important;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 9%,#000 91%,transparent 100%)!important;
 mask-image:linear-gradient(to right,transparent 0%,#000 9%,#000 91%,transparent 100%)!important;
}

/* Only TOTAL BONUS bars: 15% further inward, existing positions retained. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > .wd-simple-bonus-total{left:14%!important;}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > .wd-simple-bonus-total{left:-11%!important;}

/* The ornate side frame is baked into the background PNG: a DOM pseudo-element
   cannot go behind its border. Confine the divider to the blue interior and
   conceal its final pixels so it visually recedes beneath the gold edges.
   No changes to the score typography or frame geometry. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#turnCard,#opponentTurnCard)::after{
  left:8%!important;right:8%!important;width:84%!important;
  top:30%!important;height:6px!important;
  border-radius:0!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 4%,#000 96%,transparent 100%)!important;
  mask-image:linear-gradient(to right,transparent 0%,#000 4%,#000 96%,transparent 100%)!important;
 }
}

/* Extend each ornate score divider 20% of its previous 84% width toward
   the board only: outside endpoints remain anchored. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel #turnCard::after{
  left:2.708%!important;right:auto!important;width:113.61168%!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel #opponentTurnCard::after{
  left:-16.31968%!important;right:auto!important;width:113.61168%!important;
 }
}

/* Restore the existing player-specific last-move information in the lower
   half of each score compartment. Leave score and divider positions intact. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerLastMove,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentLastMove{
 display:block!important;visibility:visible!important;position:absolute!important;
 top:39%!important;left:6%!important;right:6%!important;
 width:88%!important;max-width:88%!important;
 margin:0!important;padding:0!important;
 transform:none!important;
 color:#fff!important;font-size:clamp(13.2px,1.224vw,16.8px)!important;
 font-weight:700!important;line-height:1.2!important;
 text-align:center!important;text-shadow:0 1px 3px #001537!important;
 overflow:hidden!important;white-space:nowrap!important;
 text-overflow:ellipsis!important;overflow-wrap:normal!important;pointer-events:none!important;
 z-index:3!important;
}

/* On mobile the ornate backing is not used. Give each independent Last Move
   its own containing block; otherwise absolute offsets resolve against the
   whole game grid and both labels overlap far below the score cards. */
@media(max-width:699px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard{
  position:relative!important;
 }
 /* One compact, unwrapped score line reserves a separate readable move row.
    This has no effect on the desktop ornate frames or their score offsets. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
  font-size:clamp(16px,4.5vw,20px)!important;
  white-space:nowrap!important;
  line-height:1.2!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerLastMove,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentLastMove{
  top:62%!important;
  font-size:clamp(12px,3.3vw,14.4px)!important;
  line-height:1.1!important;
  max-height:40px!important;
 }
}


/* TOTAL BONUS is now a fourth unboxed breakdown row, aligned with the three
   lines above. Only the label and value become gold; the ornate panel stays. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total{
 display:flex!important;align-items:baseline!important;justify-content:space-between!important;
 gap:8px!important;width:82%!important;max-width:82%!important;
 height:auto!important;min-height:0!important;box-sizing:border-box!important;
 margin:5px auto 0!important;padding:0!important;
 border:0!important;outline:0!important;border-radius:0!important;
 background:transparent!important;background-image:none!important;box-shadow:none!important;
 color:#ffd44e!important;line-height:16px!important;
 transform:none!important;transform-origin:center center!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > span{
 color:#ffd44e!important;font-weight:900!important;white-space:nowrap!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > strong{
 color:#ffd44e!important;font-weight:900!important;white-space:nowrap!important;
}
@media(min-width:700px){
 /* Reserve space for the fourth line inside the existing fixed-height artwork. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > :is(span,div){top:-4px!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total{
  top:1px!important;transform:scale(1.265)!important;
  height:16px!important;min-height:16px!important;flex:0 0 16px!important;
  margin-top:0!important;font-size:14.3px!important;line-height:16px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > div.wd-simple-bonus-total{left:9%!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > div.wd-simple-bonus-total{left:-6%!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > span{
  font-size:14.3px!important;line-height:16px!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > strong{
  font-size:15.6px!important;line-height:16px!important;
 }
}
@media(max-width:699px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total{
  top:auto!important;line-height:1.3!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > .bonus-card > div.wd-simple-bonus-total{left:9%!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > .bonus-card > div.wd-simple-bonus-total{left:-6%!important;}
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > span{
  font-size:clamp(8px,2.55vw,11px)!important;line-height:1.3!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .bonus-card > div.wd-simple-bonus-total > strong{
  font-size:clamp(9px,2.8vw,12px)!important;line-height:1.3!important;
 }
}

/* In-game gold nameplates: duplicate the avatar's existing turn-state glow.
   :has() reads the same avatar class that drives its green outline, including
   opening/winner suppression, so no independent timer or game-state tracking.
   Keep the overlay inside the blue field; badge remains above the overlay. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard) > .wd-player-name-banner::after{
  content:"";position:absolute;inset:23% 6.5% 29%;
  border:3px solid #41e568;border-radius:9px;
  box-shadow:0 0 8px #41e568b8,inset 0 0 6px #41e56888;
  box-sizing:border-box;opacity:0;pointer-events:none;z-index:1;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#playerCard,#opponentCard):has(.score-avatar:is(.wd-active-turn-p1,.wd-active-turn-p2)) > .wd-player-name-banner::after{
  opacity:1;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid .wd-player-name-banner > small{
  position:relative;z-index:2;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#wdGameRoyalNameBadge,#wdOpponentRoyalNameBadge):not([hidden]){
  z-index:9!important;
 }
}


/* Blank lower nameplates for the two existing ornate side-panel frames.
   Reuse the approved upper-nameplate art in both Dome Duel and Dome Blitz.
   Mirror its size and overhang across the fixed 757.5px-tall panel artwork.
   Decorative only: no text, events, state or layout space is added. */
@media (min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel)::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:699.813px!important;
  width:110.4%!important;
  height:109.62px!important;
  z-index:8!important;
  pointer-events:none!important;
  background-image:url("/Glossy%20Gold-Trimmed%20Royal%20Blue%20Nameplate.png")!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%!important;
  background-position:center!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
 }
 /* Match the existing top banners' slightly inward card translations. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel::after{
  left:3.08%!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel::after{
  left:-13.48%!important;
 }
}

/* Dome Blitz only: use the approved mahogany/blue dual-panel PNG in the
   EXACT existing artwork boxes. Inherit their 757.5px height, 130% width,
   -15% offset, 390% background scale and left/right background positions.
   Dome Duel, panel contents and all interactive elements are unchanged. */
@media (min-width:700px){
 body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel)::before{
  background-image:url("/New%20Mahogany%20game%20panels%20for%20Dome%20blitz%20updated.png")!important;
 }
}

/* Duel + Blitz: SINGLE green GO ring in the narrow blue gap around the
   avatar gold frame. Reduce the previously oversized 12px stroke to 6px,
   contracting ONLY its outer edge by 6px on each side; inner edge remains
   fixed, so neither the portrait nor its gold frame is overlapped.
   The second ornate gold frame stays completely visible. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid
 :is(#playerCard,#opponentCard) > .wd-avatar-identity:has(>
 .score-avatar:is(.wd-active-turn-p1,.wd-active-turn-p2))::after{
  content:"";
  display:block;
  position:absolute;
  left:50%;
  top:-14.735px; /* Up 0.5% of the unchanged 147px ring (0.735px). */
  width:147px;
  height:147px;
  border:6px solid #41e568;
  border-radius:18px;
  box-sizing:border-box;
  box-shadow:0 0 5px 1px rgba(65,229,104,.45);
  pointer-events:none;
  z-index:1;
 }
 /* The left and right frame offsets are the same as before, matching
    the actual avatar's approved 8.5% horizontal translation. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid
 #playerCard > .wd-avatar-identity:has(>
 #playerAvatar:is(.wd-active-turn-p1,.wd-active-turn-p2))::after{
  transform:translateX(calc(-50% - 11px));
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid
 #opponentCard > .wd-avatar-identity:has(>
 #opponentAvatar:is(.wd-active-turn-p1,.wd-active-turn-p2))::after{
  transform:translateX(calc(-50% + 11px));
 }
 /* Desktop/iPad: do not paint a duplicate frame inside the portrait. */
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid
 :is(#playerAvatar,#opponentAvatar):is(.wd-active-turn-p1,.wd-active-turn-p2)::after{
  display:none!important;
 }
}
/* Compact phones retain the existing inner portrait highlight; they do
   not use the desktop ornamental frame geometry. */

/* Dome Duel + Dome Blitz: score compartment now has NO added horizontal gold
   divider. Center the live score inside the entire existing ornate score well
   and keep the existing last-move text small at the bottom. Changes are purely
   visual: gameplay scores, panel artwork and frame geometry are untouched. */
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#turnCard,#opponentTurnCard){
 position:relative!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid :is(#turnCard,#opponentTurnCard)::after{
 content:none!important;
 display:none!important;
 background:none!important;
 box-shadow:none!important;
 -webkit-mask-image:none!important;
 mask-image:none!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
 position:absolute!important;
 top:50%!important;
 left:50%!important;
 right:auto!important;
 bottom:auto!important;
 transform:translate(-50%,-50%)!important;
 margin:0!important;
 padding:0!important;
 width:max-content!important;
 max-width:100%!important;
 height:auto!important;
 display:block!important;
 white-space:nowrap!important;
 text-align:center!important;
 font-size:36px!important; /* Dome Duel: original 30px × 1.20. */
 line-height:1.1!important;
 z-index:2!important;
}
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerLastMove,
body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentLastMove{
 top:auto!important;
 bottom:7%!important;
 left:6%!important;
 right:6%!important;
 width:88%!important;
 max-width:88%!important;
 font-size:clamp(11px,1vw,13px)!important;
 line-height:1.1!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 text-align:center!important;
 pointer-events:none!important;
}
@media(max-width:699px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
  font-size:clamp(19.2px,5.4vw,24px)!important; /* Duel mobile: +20%. */
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerLastMove,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentLastMove{
  bottom:3%!important;
  font-size:clamp(10px,2.7vw,12px)!important;
 }
}

/* Last Move has moved out of the ornate SCORE boxes. Reuse the existing
   approved lower nameplate artwork (::after on each side panel) as a readout.
   The label stays bound to its ORIGINAL player/opponent DOM ID, so the
   authoritative per-seat lastMoves updates, AI turns and rematches remain
   unchanged. Nothing is added on top of the playing board. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel){
  position:relative!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .wd-last-move-plate{
  display:flex!important;
  position:absolute!important;
  top:699.813px!important;
  width:110.4%!important;
  height:109.62px!important;
  min-height:0!important;
  max-height:none!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:31px 19px!important;
  order:unset!important;
  z-index:9!important; /* Above the decorative plate, which is z-index 8. */
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#ffedb1!important;
  font:800 clamp(12px,1.3vw,18px)/1.2 Georgia,'Times New Roman',serif!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  text-shadow:0 1px 3px #001333,0 0 2px #714b11!important;
  text-align:center!important;
  pointer-events:none!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #playerLastMove.wd-last-move-plate{
  left:3.08%!important;
  right:auto!important;
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentLastMove.wd-last-move-plate{
  left:-13.48%!important;
  right:auto!important;
 }
}
/* Compact layouts have no ornamental lower PNG plate; display the same
   live last-move readout as a separate blue/gold strip beneath Bonus Points
   rather than returning it to the score compartment. */
@media(max-width:699px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > :is(.left-panel,.right-panel) > .wd-last-move-plate{
  display:flex!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  order:6!important;
  flex:0 0 auto!important;
  align-self:center!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:92%!important;
  min-height:32px!important;
  height:auto!important;
  margin:4px auto 2px!important;
  padding:6px 10px!important;
  border:2px solid #ecc052!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#164889,#071c46)!important;
  color:#ffedb1!important;
  font:800 clamp(11px,3vw,14px)/1.2 Georgia,serif!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
  pointer-events:none!important;
 }
}

/* Center scores in the painted well, whose center is 30% of the 116px
   desktop card rather than the card's geometric midpoint. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #turnCard > #playerScore,
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid #opponentTurnCard > #opponentScore{
  top:30%!important;
 }
}

/* Align each live score with the blue well in the ornamental PNG on
   desktop/iPad. The wells sit inward of the underlying card centers.
   Keep the font sizes, vertical placement, score data and frame art intact. */
@media(min-width:700px){
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .left-panel > #turnCard > #playerScore{
  left:60%!important; /* one-tenth of card width toward the board */
 }
 body:not(.wd-gate):has(#game:not([hidden])) .game-grid > .right-panel > #opponentTurnCard > #opponentScore{
  left:40%!important; /* equal, mirrored offset toward the board */
 }
}
