/* =====================================================================
   GoDartsPro : Catch 40 (app 5)                                  v2.0.0
   /wp-content/themes/dart/assets/css/gdp-game-catch40.css

   Loaded AFTER gdp-game.css. Everything shared lives there: tokens, the
   photo band, cards, chips, figures, the stats tab and panel, the flash,
   the full screen button. This file is only what Catch 40 arranges
   differently. Every class is prefixed gdp-c40-. The setup, the
   leaderboard, the dialogs and the stats rows are Checkout Challenge's
   (gdp-game-checkout-challenge.css), so the two games read as one family.
   Colours as rgba are the palette tokens written out:
     --gdp-win    #3ddc84   rgba(61,220,132,x)
     --gdp-accent #ffa400   rgba(255,164,0,x)
     --gdp-bust   #ff5a52   rgba(255,90,82,x)
     --gdp-go     #2c8a5a   rgba(44,138,90,x)
   Catch 40's own colour is the gold of a checkout in two darts: #ffd451.
   The Catch Board's tiles, everywhere in the game:
     gold  #ffd451  out in 2 darts (+3)      green #3ddc84  in 3 darts (+2)
     teal  #2fb3a8  in 4 to 6 darts (+1)     red   #ff5a52  missed
   ===================================================================== */

.gdp-c40-screen{position:relative;}
.gdp-c40-modal.is-hidden,.gdp-c40-overlay.is-hidden{display:none !important;}
/* The flash in red for a refusal, gold for a record. */
.gdp .gdp-flash.is-bad{background:var(--gdp-bust);color:#2a0302;}
.gdp .gdp-flash.is-gold{background:linear-gradient(100deg,#fff1c2,#ffd451 40%,#ffa400);color:var(--gdp-accent-ink);box-shadow:0 8px 30px rgba(255,164,0,.45);}

/* =====================================================================
   SETUP
   ===================================================================== */

.gdp-c40-title{
  font-size:clamp(52px,8.4vw,88px);line-height:.9;letter-spacing:-.01em;margin:6px 0 10px;
  text-shadow:0 4px 26px rgba(0,0,0,.7);text-transform:uppercase;
}
/* The game's own colour in its name (as Dead Centre's coral): the checkout
   green, the colour of a finished checkout everywhere in the game. The
   text marks the word with {b}, written as <b>. */
.gdp-c40-title b,.gdp-c40-title span{color:var(--gdp-win);font-weight:inherit;}
.gdp-c40-lede{
  font-family:var(--gdp-font-note);font-weight:300;font-size:15px;line-height:1.55;
  color:#d7d7d7;margin:0 0 18px;max-width:46ch;text-shadow:0 1px 6px rgba(0,0,0,.75);
}
.gdp-c40-chal{display:flex;align-items:center;gap:8px;margin:-6px 0 14px;font-family:var(--gdp-font);font-size:16px;letter-spacing:.04em;color:#ffd451;}

.gdp-c40-card{display:flex;flex-direction:column;gap:16px;}
.gdp-c40-field{display:flex;flex-direction:column;gap:8px;}
.gdp-c40-setnote{margin:2px 0 0;min-height:18px;font-family:var(--gdp-font-note);font-size:12.5px;line-height:1.45;color:#cfcfcf;}
.gdp-c40-boardtag{display:inline-flex;align-items:center;gap:5px;margin-left:4px;color:#ffd451;white-space:nowrap;}
.gdp-c40-lockmsg{display:flex;align-items:center;gap:8px;margin:-6px 0 0;font-family:var(--gdp-font-note);font-size:12.5px;color:var(--gdp-accent);}
.gdp-c40-hint{margin:0;font-family:var(--gdp-font-note);font-size:12px;color:var(--gdp-muted);}

/* includeDartsSetup() prints a Bootstrap select and its own heading. */
.gdp-c40-darts{width:100%;}
.gdp-c40-darts select,.gdp-c40-darts .form-control{
  width:100%;max-width:340px;height:40px;font-family:var(--gdp-font);font-size:14px;
  background:var(--gdp-panel2);border:1px solid var(--gdp-line);color:var(--gdp-ink);
  border-radius:8px;box-shadow:none;padding:6px 10px;
}
.gdp-c40-darts select:focus,.gdp-c40-darts .form-control:focus{border-color:var(--gdp-accent);outline:none;box-shadow:none;}
.gdp-c40-darts .app-header-m,.gdp-c40-darts .app-header-s,.gdp-c40-darts h3,.gdp-c40-darts h4,.gdp-c40-darts label{
  font-family:var(--gdp-font-note);font-size:13px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--gdp-muted);margin:0 0 6px;
}
.gdp-c40-card .gdp-switch{font-family:var(--gdp-font-note);font-size:13.5px;}
.gdp-c40-state{
  margin-left:6px;padding:1px 8px;border-radius:999px;
  font-family:var(--gdp-font);font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;
  color:var(--gdp-accent-ink);background:var(--gdp-accent);
}
.gdp-c40-state.is-off{color:var(--gdp-muted);background:rgba(255,255,255,.08);}

/* What this player has done on this setting. */
.gdp-c40-best{margin:14px 0;}
.gdp-c40-first{
  font-family:var(--gdp-font-note);font-size:13.5px;line-height:1.5;color:#cfcfcf;margin:0 0 10px;
  text-shadow:0 1px 6px rgba(0,0,0,.75);
}
/* ---------- the simpler setup (rev 6, as Dead Centre rev 10) ----------
   Two tabs and one row of durations, the start as three chips, the
   options folded away, one line for the player's figures and one medal
   bar. The tabs, chips, fold and bar copy Dead Centre's, so the two
   games read as one family. */
.gdp-c40-card{gap:12px;}
.gdp-c40-tabslabel{align-self:center;}
.gdp-c40-tabs{
  position:relative;align-self:center;width:100%;max-width:360px;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:5px;border-radius:999px;
  background:rgba(8,12,16,.72);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 2px 8px rgba(0,0,0,.45);
}
.gdp-c40-tabthumb{
  position:absolute;top:5px;bottom:5px;left:5px;width:calc((100% - 14px) / 2);border-radius:999px;pointer-events:none;
  background:linear-gradient(180deg,#52e8a2,#34cf8a);box-shadow:0 4px 16px rgba(61,220,132,.35), inset 0 1px 0 rgba(255,255,255,.35);
  transition:transform .32s cubic-bezier(.3,1.3,.5,1);
}
.gdp-c40-tabs[data-on="1"] .gdp-c40-tabthumb{transform:translateX(calc(100% + 4px));}
.gdp-c40-tab2{
  position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;border:0;border-radius:999px;cursor:pointer;background:transparent;color:#8d97a3;
  font-family:var(--gdp-font);font-size:17px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;transition:color .2s;
}
.gdp-c40-tab2 i{font-size:13px;opacity:.8;}
.gdp-c40-tab2:hover:not(:disabled):not(.is-on){color:var(--gdp-ink);}
.gdp-c40-tab2.is-on{color:#062a18;}
.gdp-c40-tab2.is-on i{opacity:1;}
.gdp-c40-tab2:disabled{opacity:.3;cursor:not-allowed;}
.gdp-c40-tab2:focus-visible{outline:2px solid var(--gdp-accent);outline-offset:2px;}
.gdp-c40-group{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;animation:c40SetIn .2s ease-out;}
.gdp .gdp-c40-group.is-hidden{display:none;}
.gdp-c40-group.is-start{margin-top:0;}
.gdp-c40-pick{
  flex:1 1 0;min-width:52px;height:40px;padding:0 10px;border-radius:9px;cursor:pointer;white-space:nowrap;
  font-family:var(--gdp-font);font-size:15px;font-weight:500;letter-spacing:.03em;color:var(--gdp-ink);
  background:var(--gdp-panel2);border:1px solid var(--gdp-line);transition:border-color .15s,background .15s,transform .1s;
}
.gdp-c40-group.is-start .gdp-c40-pick{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;}
.gdp-c40-pick:hover:not(:disabled){border-color:#4a4a4a;}
.gdp-c40-pick:active:not(:disabled){transform:scale(.97);}
.gdp-c40-pick.is-on{background:var(--gdp-accent);border-color:var(--gdp-accent);color:var(--gdp-accent-ink);}
.gdp-c40-pick:disabled{opacity:.32;cursor:not-allowed;}
.gdp-c40-pick:focus-visible{outline:2px solid var(--gdp-win);outline-offset:2px;}
@keyframes c40SetIn{from{opacity:0;transform:translateY(5px);}to{opacity:1;transform:none;}}


.gdp-c40-best{margin:14px 0 16px;}
.gdp-c40-bestline{
  display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:0 0 10px;
  font-family:var(--gdp-font);font-size:16px;letter-spacing:.03em;color:#d8d8d8;text-shadow:0 1px 6px rgba(0,0,0,.75);
}
.gdp-c40-bestline b.is-best{font-size:20px;font-weight:600;color:var(--gdp-accent);}
.gdp-c40-bestline .gdp-c40-medal.is-line{width:20px;height:24px;margin-right:2px;}
.gdp-c40-dot{color:rgba(255,255,255,.3);}
.gdp-c40-mbar{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;row-gap:5px;
  padding:10px 12px;border-radius:12px;background:rgba(14,14,14,.82);border:1px solid rgba(255,255,255,.08);
}
.gdp-c40-mbar-l,.gdp-c40-mbar-r{display:inline-flex;align-items:center;gap:6px;font-family:var(--gdp-font);font-size:12px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;}
.gdp-c40-mbar-l{color:#ffd451;}
.gdp-c40-mbar.is-none .gdp-c40-mbar-l{color:var(--gdp-muted);}
.gdp-c40-mbar-r{color:var(--gdp-muted);}
.gdp-c40-mbar .gdp-c40-medal{width:18px;height:22px;}
.gdp-c40-mbar-t{position:relative;display:block;height:10px;border-radius:5px;background:rgba(255,255,255,.08);overflow:hidden;}
.gdp-c40-mbar-t em{position:absolute;left:0;top:0;bottom:0;border-radius:5px;background:linear-gradient(90deg,#ffa400,#ffd451);box-shadow:0 0 12px rgba(255,212,81,.45);}
.gdp-c40-mbar-n{grid-column:1 / -1;font-family:var(--gdp-font-note);font-size:12.5px;color:#cfcfcf;text-align:center;}
.gdp-c40-mbar.is-top .gdp-c40-mbar-t em{background:linear-gradient(90deg,#3ddc84,#ffd451);}

/* Darts setup and the voice side by side in More options (rev 8, as 201
   Challenge): Caller / Simple voice / No voice as three icon buttons,
   the chosen one named. */
.gdp-c40-gearrow{flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:10px 18px;}
.gdp-c40-gearcol{display:flex;flex-direction:column;gap:8px;flex:1 1 200px;min-width:0;}
.gdp-c40-voicefield{display:flex;flex-direction:column;gap:6px;flex:0 0 auto;}
.gdp-c40-voicelabel{font-family:var(--gdp-font-note);font-size:13px;color:var(--gdp-muted);line-height:1.2;}
.gdp-c40-voicelabel b{font-weight:600;color:var(--gdp-ink);}
.gdp-c40-voiceseg{display:inline-flex;height:40px;padding:3px;gap:3px;border-radius:10px;background:var(--gdp-panel2);border:1px solid var(--gdp-line);}
.gdp-c40-vbtn{position:relative;width:42px;border:0;border-radius:7px;background:transparent;color:var(--gdp-muted);font-size:15px;cursor:pointer;transition:background .15s,color .15s;}
.gdp-c40-vbtn:hover{color:var(--gdp-ink);background:rgba(255,255,255,.06);}
.gdp-c40-vbtn:focus-visible{outline:2px solid var(--gdp-win);outline-offset:1px;}
.gdp-c40-vbtn.is-on{background:var(--gdp-accent);color:var(--gdp-accent-ink);box-shadow:0 2px 10px rgba(255,164,0,.3);}
.gdp-c40-vprem{position:absolute;top:-6px;right:-5px;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffd451;color:#1a1306;font-size:8px;box-shadow:0 0 0 2px var(--gdp-panel2);}
.gdp-c40-voicenote{flex:1 0 100%;margin:0;font-family:var(--gdp-font-note);font-size:12.5px;line-height:1.45;color:#cfcfcf;}
.gdp-c40-voicenote a{color:#ffd451;font-weight:600;}
.gdp .gdp-c40-voicenote.is-hidden{display:none;}

/* The leaderboard: top 10, the rest on request. */
.gdp-c40-lb-more{
  display:block;width:100%;margin:8px 0 0;padding:8px 10px;border-radius:9px;cursor:pointer;
  font-family:var(--gdp-font);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gdp-muted);
  background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.14);transition:color .15s,border-color .15s;
}
.gdp-c40-lb-more:hover{color:var(--gdp-ink);border-color:rgba(255,255,255,.3);}
.gdp-c40-lb-more:focus-visible{outline:2px solid var(--gdp-accent);outline-offset:2px;}
@media(prefers-reduced-motion:reduce){ .gdp-c40-tabthumb{transition:none;} .gdp-c40-group{animation:none;} }

.gdp-c40-trial{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-family:var(--gdp-font-note);font-size:13px;color:#ffd451;}
.gdp-c40-startrow{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap;}
.gdp-c40-startrow .gdp-btn-primary{
  flex:1 1 220px;width:auto;min-height:56px;background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;
  font-size:19px;letter-spacing:.06em;text-transform:uppercase;
}
.gdp-c40-startrow .gdp-btn-primary:hover{background:var(--gdp-go-hi);}
.gdp-c40-sound{min-height:56px;}
.gdp-c40-startrow .gdp-btn:focus-visible{outline:2px solid #fff;outline-offset:2px;}
/* The shared .gdp-teaser a sets the dark ink made for the accent button,
   which made this transparent Log in button's text invisible. */
.gdp-teaser .gdp-c40-teaser-alt{margin-left:8px;background:transparent;border:1px solid rgba(255,255,255,.3);color:#fff;transition:border-color .15s,background .15s;}
.gdp-teaser .gdp-c40-teaser-alt:hover,.gdp-teaser .gdp-c40-teaser-alt:focus-visible{color:#fff;border-color:var(--gdp-accent);background:rgba(255,255,255,.06);}

.gdp-c40-rulelist{margin:12px 0 10px;padding-left:20px;}
.gdp-c40-rulelist li{font-family:var(--gdp-font-note);font-weight:300;font-size:13.5px;line-height:1.6;color:#c9c9c9;margin-bottom:6px;}
.gdp-c40-rulelist li::marker{color:var(--gdp-accent);font-family:var(--gdp-font);}
.gdp-c40-keys{font-family:var(--gdp-font-note);font-size:12.5px;color:var(--gdp-muted);margin:0 0 10px;}

/* The game in progress, above the options. */
.gdp-c40-resume{
  display:grid;grid-template-columns:60px minmax(0,1fr);gap:6px 14px;align-items:center;margin:0 0 14px;padding:12px 14px;border-radius:12px;
  background:linear-gradient(100deg,rgba(255,164,0,.16),rgba(18,18,18,.92) 70%);border:1px solid rgba(255,164,0,.55);
  animation:c40In .35s ease-out;
}
.gdp-c40-resume-i{
  grid-row:1 / 3;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.45);border:2px solid var(--gdp-accent);box-shadow:0 0 18px rgba(255,164,0,.35);
}
.gdp-c40-resume-i b{font-family:var(--gdp-font);font-size:24px;font-weight:600;color:var(--gdp-accent);}
.gdp-c40-resume-t{display:flex;flex-direction:column;min-width:0;}
.gdp-c40-resume-t b{font-family:var(--gdp-font);font-size:17px;font-weight:500;letter-spacing:.04em;}
.gdp-c40-resume-t span{font-family:var(--gdp-font-note);font-size:12.5px;color:#d8d8d8;}
.gdp-c40-resume-t em{font-style:normal;font-family:var(--gdp-font-note);font-size:12px;color:var(--gdp-accent);}
.gdp-c40-resume-a{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.gdp-c40-resume .gdp-btn-primary{width:auto;padding:9px 22px;background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;text-transform:uppercase;letter-spacing:.06em;}
@keyframes c40In{from{opacity:0;transform:translateY(5px);}to{opacity:1;transform:none;}}

.gdp-c40-linkbtn{
  padding:4px 2px;background:none;border:0;cursor:pointer;
  font-family:var(--gdp-font-note);font-size:12.5px;color:var(--gdp-muted);
  text-decoration:underline;text-underline-offset:3px;
}
.gdp-c40-linkbtn:hover{color:var(--gdp-ink);}
.gdp-c40-linkbtn.is-confirm{color:#ffb0aa;text-decoration:none;font-weight:600;}
.gdp-c40-linkbtn.is-danger:hover{color:#ffb0aa;}
.gdp-c40-linkbtn:focus-visible{outline:2px solid var(--gdp-accent);outline-offset:2px;border-radius:3px;}


/* =====================================================================
   THE LEADERBOARD
   The aside's glass panel, the podium for the top three, the rest as a
   tight list. The viewer's own row is amber, pinned under the list when
   they are further down.
   ===================================================================== */
.gdp-c40-board{padding:18px 18px 16px;}
.gdp-c40-board-head h2{font-family:var(--gdp-font);font-size:30px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;margin:2px 0 0;line-height:1;}
.gdp-c40-board .gdp-c40-board-sub{margin:4px 0 12px;font-family:var(--gdp-font-note);font-size:12.5px;color:var(--gdp-muted);}
.gdp-c40-board-tabs{display:flex;gap:2px;padding:3px;border-radius:10px;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.08);margin-bottom:10px;}
.gdp-c40-tab{
  flex:1 1 0;padding:7px 6px;border:0;border-radius:8px;cursor:pointer;background:transparent;
  font-family:var(--gdp-font);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--gdp-muted);
  transition:background .15s,color .15s;
}
.gdp-c40-tab:hover{color:var(--gdp-ink);}
.gdp-c40-tab[aria-selected="true"]{background:var(--gdp-accent);color:var(--gdp-accent-ink);}
.gdp-c40-tab:focus-visible{outline:2px solid #fff;outline-offset:1px;}
.gdp-c40-board-scope{margin-bottom:12px;}
.gdp-c40-board-scope .gdp-chip:disabled{opacity:.35;cursor:not-allowed;}
.gdp-c40-board-body{position:relative;min-height:120px;transition:opacity .2s;}
.gdp-c40-board-body.is-loading{opacity:.35;pointer-events:none;}
.gdp-c40-board .gdp-c40-lb-empty{font-family:var(--gdp-font-note);font-size:13px;color:var(--gdp-muted);text-align:center;padding:30px 10px;}

/* Podium: 2nd, 1st, 3rd. */
.gdp-c40-pod{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end;margin:6px 0 12px;}
.gdp-c40-pod-slot{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;--c:#e6edf2;--cs:230,237,242;}
.gdp-c40-pod-slot.is-p1{--c:#ffd451;--cs:255,212,81;}
.gdp-c40-pod-slot.is-p3{--c:#e7ad74;--cs:231,173,116;}
.gdp-c40-pod-top{min-height:16px;}
.gdp-c40-pod-rank{font-family:var(--gdp-font);font-size:20px;font-weight:600;line-height:1;color:var(--c);opacity:.9;}
.gdp-c40-pod-slot.is-p1 .gdp-c40-pod-rank{font-size:26px;}
/* The member circle (owner, 25 Nov 2026): profile photo over the initials,
   the flag on the edge, the ring in the medal colour. Same size with or
   without a photo, so the podium stays even. */
.gdp-c40-ava{
  position:relative;width:58px;height:58px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;margin:2px 0 7px;
  font-family:var(--gdp-font);font-size:19px;font-weight:600;color:#fff;letter-spacing:.02em;
  background:linear-gradient(145deg,#2b3b47,#121b22);border:2px solid var(--c);box-shadow:0 0 16px rgba(var(--cs),.28);
}
.gdp-c40-pod-slot.is-p1 .gdp-c40-ava{width:70px;height:70px;font-size:22px;box-shadow:0 0 24px rgba(var(--cs),.38);}
.gdp-c40-avatxt{font-style:normal;}
.gdp-c40-avaimg{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;}
.gdp-c40-ava.has-photo .gdp-c40-avatxt{visibility:hidden;}
.gdp-c40-avaflag{
  position:absolute;right:-4px;bottom:-4px;width:22px;height:22px;border-radius:50%;overflow:hidden;
  display:grid;place-items:center;background:#0f171d;box-shadow:0 0 0 2px #0f171d;
}
.gdp-c40-avaflag .gdp-c40-lb-flag{width:22px;height:22px;border-radius:50%;background-size:cover;}
.gdp-c40-pod-name{display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%;font-family:var(--gdp-font);font-size:14px;color:#fff;}
.gdp-c40-pod-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
.gdp-c40-pod-score{font-family:var(--gdp-font);font-size:30px;font-weight:600;line-height:1.1;color:var(--c);font-variant-numeric:tabular-nums;}
.gdp-c40-pod-slot.is-p1 .gdp-c40-pod-score{font-size:38px;}
.gdp-c40-pod-base{
  width:100%;height:30px;margin-top:6px;border-radius:8px 8px 3px 3px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,rgba(var(--cs),.30),rgba(var(--cs),.06));border:1px solid rgba(var(--cs),.35);border-bottom:0;
}
.gdp-c40-pod-slot.is-p1 .gdp-c40-pod-base{height:48px;}
.gdp-c40-pod-slot.is-p3 .gdp-c40-pod-base{height:24px;}
.gdp-c40-pod-slot.is-me .gdp-c40-pod-name{color:var(--gdp-accent);}
.gdp-c40-pod-slot.is-empty{visibility:hidden;}

/* The list. */
.gdp-c40-lb{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;}
.gdp-c40-lb-row{
  display:grid;grid-template-columns:24px 30px 22px minmax(0,1fr) 18px 40px;align-items:center;gap:6px;
  padding:5px 8px;border-radius:7px;background:rgba(255,255,255,.04);font-family:var(--gdp-font);font-size:15px;
}
.gdp-c40-lb-row:nth-child(even){background:rgba(255,255,255,.075);}
.gdp-c40-lb-rank{text-align:right;color:var(--gdp-muted);font-variant-numeric:tabular-nums;}
.gdp-c40-lb-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.gdp-c40-lb-you{font-style:normal;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--gdp-accent-ink);background:var(--gdp-accent);padding:1px 6px;border-radius:999px;margin-left:4px;vertical-align:2px;}
.gdp-c40-lb-score{text-align:right;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;}
.gdp-c40-lb-medal .gdp-c40-medal{width:15px;height:18px;display:block;}
.gdp-c40-lb-flag{display:inline-block;width:20px;height:14px;border-radius:2px;background-size:cover;background-position:center;}
.gdp-c40-lb-flag.is-none{background:rgba(255,255,255,.08);}
.gdp-c40-lb-mv{display:inline-flex;align-items:center;gap:1px;font-size:11px;font-variant-numeric:tabular-nums;}
.gdp-c40-lb-mv.is-up{color:var(--gdp-win);}
.gdp-c40-lb-mv.is-down{color:#ff8a83;}
.gdp-c40-lb-mv.is-same{color:rgba(255,255,255,.3);}
.gdp-c40-lb-new{
  display:inline-block;padding:0 4px;border-radius:4px;font-size:9px;letter-spacing:.1em;line-height:15px;
  color:#04230f;background:var(--gdp-win);text-transform:uppercase;
}
.gdp-c40-lb-row.is-me{background:rgba(255,164,0,.16);box-shadow:inset 0 0 0 1px rgba(255,164,0,.55);}
.gdp-c40-lb-row.is-me .gdp-c40-lb-rank,.gdp-c40-lb-row.is-me .gdp-c40-lb-score{color:var(--gdp-accent);}
.gdp-c40-lb-gap{text-align:center;color:rgba(255,255,255,.35);letter-spacing:.3em;margin:2px 0;line-height:14px;}
.gdp-c40-board .gdp-c40-board-goal{
  display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:12px 0 0;padding:10px 12px;border-radius:10px;
  font-family:var(--gdp-font-note);font-size:13px;line-height:1.45;color:#e2e2e2;
  background:rgba(255,164,0,.08);border:1px solid rgba(255,164,0,.3);
}
.gdp-c40-board-goal.is-hidden{display:none;}
.gdp-c40-board-goal .fa-solid{color:var(--gdp-accent);}
.gdp-c40-board-goal b{font-family:var(--gdp-font);font-weight:500;color:#fff;font-size:14px;}
.gdp-c40-board-goal a{color:var(--gdp-accent);text-decoration:underline;}
/* Rows arrive one after another. */
.gdp-c40-board-body.fx-in .gdp-c40-lb-row,.gdp-c40-board-body.fx-in .gdp-c40-pod-slot{animation:c40Row .45s cubic-bezier(.2,.9,.3,1) both;animation-delay:calc(var(--i,0) * 28ms);}
.gdp-c40-board-body.fx-in .gdp-c40-pod-slot{animation-name:c40Pod;animation-delay:calc(var(--i,0) * 90ms);}
@keyframes c40Row{from{opacity:0;transform:translateX(10px);}to{opacity:1;transform:none;}}
@keyframes c40Pod{from{opacity:0;transform:translateY(16px) scale(.96);}to{opacity:1;transform:none;}}


/* ---------- pause ---------- */
.gdp .gdp-wrap.js-c40-wrap .gdp-c40-overlay{
  position:absolute;inset:-6px;z-index:1190;display:flex;align-items:center;justify-content:center;
  background:rgba(8,8,8,.84);border-radius:var(--gdp-radius);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
.gdp-c40-overlay-card{position:relative;z-index:1;text-align:center;max-width:470px;padding:26px 24px;animation:c40In .3s ease-out;display:flex;flex-direction:column;align-items:center;gap:6px;}
.gdp-c40-overlay-card p{font-family:var(--gdp-font-note);font-size:14.5px;line-height:1.5;color:#d2d2d2;margin:6px 0 12px;}
.gdp-c40-overlay-card .gdp-c40-pausesum{font-family:var(--gdp-font);font-size:20px;letter-spacing:.03em;color:#fff;margin:10px 0 0;}
.gdp-c40-overlay .gdp-btn-primary{width:auto;padding:13px 44px;background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;text-transform:uppercase;letter-spacing:.06em;font-size:17px;}

/* ---------- the End game dialog ---------- */
.gdp .gdp-wrap.js-c40-wrap .gdp-c40-modal{
  position:fixed;inset:0;z-index:1195;display:flex;align-items:center;justify-content:center;padding:18px;
  background:rgba(4,4,4,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:c40Fade .2s ease-out;
}
html.gdp-fs:not(.gdp-fs-plain) .gdp .gdp-wrap.js-c40-wrap .gdp-c40-modal{z-index:2147480400;}
@keyframes c40Fade{from{opacity:0;}to{opacity:1;}}
.gdp-c40-modal-card{
  width:100%;max-width:440px;padding:26px 24px 22px;border-radius:18px;text-align:center;
  background:linear-gradient(160deg,rgba(255,164,0,.12),rgba(255,164,0,0) 55%),linear-gradient(160deg,#1c1a16,#0e0e0e);
  border:1px solid rgba(255,164,0,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 24px 70px rgba(0,0,0,.75);
  animation:c40PopIn .32s cubic-bezier(.2,1.3,.4,1);
}
@keyframes c40PopIn{from{opacity:0;transform:translateY(12px) scale(.95);}to{opacity:1;transform:none;}}
.gdp-c40-modal-ic{
  width:52px;height:52px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:21px;color:var(--gdp-accent);border:1px solid rgba(255,164,0,.55);background:rgba(255,164,0,.08);
}
.gdp-c40-modal-card h3{font-family:var(--gdp-font);font-size:26px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin:0 0 8px;color:#fff;}
.gdp-c40-modal-card p{font-family:var(--gdp-font-note);font-size:14px;line-height:1.55;color:#d2d2d2;margin:0 0 16px;}
.gdp-c40-modal-figs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 18px;}
.gdp-c40-modal-figs.is-hidden{display:none;}
.gdp-c40-modal-figs div{padding:9px 4px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);}
.gdp-c40-modal-figs b{display:block;font-family:var(--gdp-font);font-size:24px;font-weight:600;line-height:1.05;color:#fff;font-variant-numeric:tabular-nums;}
.gdp-c40-modal-figs span{font-family:var(--gdp-font);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--gdp-muted);}
.gdp-c40-modal-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.gdp-c40-modal-actions .gdp-btn{min-width:160px;}
.gdp-c40-modal-actions .gdp-btn-primary{width:auto;background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;text-transform:uppercase;letter-spacing:.06em;}
.gdp-c40-modal-actions .gdp-btn-primary:hover{background:var(--gdp-go-hi);}
.gdp-c40-endyes{background:transparent;border:1px solid var(--gdp-accent);color:var(--gdp-accent);text-transform:uppercase;letter-spacing:.06em;}
.gdp-c40-endyes:hover{background:rgba(255,164,0,.14);}
.gdp-c40-modal-actions .gdp-btn:focus-visible{outline:2px solid #fff;outline-offset:2px;}


/* =====================================================================
   RESULT
   ===================================================================== */

/* At the end of a game the site slides a "To Performance Center" button
   down from the top edge of the frame; the result starts under it. */
.gdp-c40-result{max-width:880px;margin:0 auto;padding:40px 0 10px;}
.gdp-c40-res-head{text-align:center;margin-bottom:20px;}
.gdp-c40-res-top{display:flex;align-items:center;justify-content:center;gap:clamp(18px,5vw,56px);margin:12px 0 10px;flex-wrap:wrap;}
.gdp-c40-res-medal{display:inline-flex;align-items:center;gap:14px;text-align:left;}
.gdp-c40-res-medal .gdp-c40-medal.is-big{width:70px;height:84px;}
.gdp-c40-res-medal b{display:block;font-family:var(--gdp-font);font-size:34px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;line-height:1;}
.gdp-c40-res-medal span{font-family:var(--gdp-font);font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--gdp-muted);}
.gdp-c40-res-head.is-m4 .gdp-c40-res-medal b{background:linear-gradient(100deg,#3ddc84,#ffd451);-webkit-background-clip:text;background-clip:text;color:transparent;}
.gdp-c40-res-head.is-m3 .gdp-c40-res-medal b{color:#ffd451;}
.gdp-c40-res-head.is-m2 .gdp-c40-res-medal b{color:#dfe6ec;}
.gdp-c40-res-head.is-m1 .gdp-c40-res-medal b{color:#e0a46a;}
.gdp-c40-result.fx-in .gdp-c40-res-medal .gdp-c40-medal{animation:c40Medal 1.1s cubic-bezier(.2,1.3,.4,1) both;}
.gdp-c40-result.fx-in .gdp-c40-res-score b{animation:c40Score .9s cubic-bezier(.2,1.3,.4,1) .15s both;}
@keyframes c40Medal{0%{transform:translateY(-30px) rotate(-25deg) scale(.4);opacity:0;}60%{transform:rotate(8deg) scale(1.08);opacity:1;}100%{transform:none;}}
@keyframes c40Score{0%{opacity:0;transform:scale(.6);filter:blur(8px);}100%{opacity:1;transform:none;filter:blur(0);}}
.gdp-c40-res-score{display:flex;flex-direction:column;align-items:center;}
.gdp-c40-res-score b{
  font-family:var(--gdp-font);font-weight:600;font-size:clamp(96px,16vw,160px);line-height:.88;color:#fff;
  font-variant-numeric:tabular-nums;text-shadow:0 6px 34px rgba(0,0,0,.85);
}
.gdp-c40-res-score span{font-family:var(--gdp-font);font-size:14px;letter-spacing:.24em;text-transform:uppercase;color:var(--gdp-muted);margin-top:6px;}
.gdp-c40-res-score.is-sm b{font-size:clamp(64px,10vw,96px);}
.gdp-c40-res-top.is-ended{gap:clamp(18px,4vw,40px);}
.gdp-c40-res-endtxt{text-align:left;max-width:360px;}
.gdp-c40-res-ended{font-family:var(--gdp-font);font-size:clamp(30px,4vw,40px);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#fff;line-height:1;}
.gdp-c40-res-endline{font-family:var(--gdp-font-note);font-size:14px;line-height:1.5;color:#d2d2d2;margin:10px 0 0;}

.gdp-c40-pb{
  display:inline-flex;align-items:center;gap:9px;padding:9px 20px;border-radius:999px;margin-top:6px;
  font-family:var(--gdp-font);font-size:17px;font-weight:500;letter-spacing:.05em;color:var(--gdp-accent-ink);
  background:linear-gradient(112deg,#fff1c2 0%,#ffd451 30%,#ffa400 70%,#ffcf66 100%);background-size:220% 100%;
  box-shadow:0 10px 30px rgba(255,164,0,.3);animation:c40Pb 2.4s ease-in-out infinite alternate;
}
.gdp-c40-pb.is-soft{background:rgba(255,164,0,.12);color:var(--gdp-accent);border:1px solid rgba(255,164,0,.5);box-shadow:none;animation:none;}
@keyframes c40Pb{from{background-position:0% 50%;}to{background-position:100% 50%;}}
.gdp-c40-res-line{font-family:var(--gdp-font-note);font-size:14px;color:#cfcfcf;margin:12px 0 0;}
.gdp-c40-res-line.is-left{text-align:left;color:var(--gdp-muted);margin:0 0 16px;}

/* The leaderboard moment. */
.gdp-c40-res-board:empty{display:none;}
.gdp-c40-rank{
  display:inline-flex;align-items:center;gap:10px;margin-top:14px;padding:10px 18px;border-radius:12px;
  font-family:var(--gdp-font);font-size:16px;letter-spacing:.03em;color:#e6e6e6;
  background:rgba(18,18,18,.9);border:1px solid rgba(255,255,255,.18);animation:c40PopIn .5s cubic-bezier(.2,1.3,.4,1) .3s both;
}
.gdp-c40-rank .fa-solid{color:#ffd451;font-size:19px;}
.gdp-c40-rank b{color:#ffd451;font-weight:600;}
.gdp-c40-rank.is-up{border-color:rgba(255,212,81,.6);box-shadow:0 0 30px rgba(255,212,81,.18);}

.gdp-c40-res-figs{grid-template-columns:repeat(var(--c40-n,6),minmax(0,1fr));margin-bottom:22px;}
.gdp-c40-res-figs .gdp-figure{background:rgba(18,18,18,.88);}
.gdp-c40-res-figs .gdp-figure.is-gold b{color:#ffd451;}

.gdp-c40-note{font-family:var(--gdp-font-note);font-size:12px;color:var(--gdp-muted);margin:0 0 12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.gdp-c40-upsell{margin:6px 0 20px;}

.gdp-c40-res-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:8px;}
.gdp-c40-res-actions .gdp-btn-primary{
  width:auto;min-width:220px;background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;
  font-size:18px;letter-spacing:.06em;text-transform:uppercase;
}
.gdp-c40-res-actions .gdp-btn-primary:hover{background:var(--gdp-go-hi);}
.gdp-c40-res-actions a.gdp-btn{color:var(--gdp-ink);text-decoration:none;}
.gdp-c40-save{text-align:center;margin:14px 0 0;min-height:20px;font-family:var(--gdp-font-note);font-size:12.5px;color:var(--gdp-muted);}
.gdp-c40-save.is-ok{color:var(--gdp-win);}
.gdp-c40-save.is-error{color:#ffb0aa;}
.gdp-c40-retry{
  margin-left:6px;padding:3px 12px;border-radius:999px;cursor:pointer;font-family:var(--gdp-font);font-size:12px;letter-spacing:.08em;
  background:none;border:1px solid rgba(255,90,82,.6);color:var(--gdp-ink);
}

/* Medals: a disc with a double ring and a dart on its face. */
.gdp-c40-medal{width:28px;height:34px;overflow:visible;--m1:#ffd451;--m2:#b07a12;--rb1:#2e6fbf;--rb2:#24589a;}
.gdp-c40-medal.is-silver{--m1:#e6edf2;--m2:#7c8a96;}
.gdp-c40-medal.is-bronze{--m1:#e7ad74;--m2:#8a4f22;}
.gdp-c40-medal.is-elite{--m1:#a6f3c8;--m2:#d9a521;--rb1:#1f8a55;--rb2:#176b42;}
.gdp-c40-medal.is-none{--m1:#4a4a4a;--m2:#2c2c2c;--rb1:#3a3a3a;--rb2:#2e2e2e;}
.gdp-c40-medal .rb{fill:var(--rb1);}
.gdp-c40-medal .rb.is-2{fill:var(--rb2);}
.gdp-c40-medal .rim{fill:var(--m2);}
.gdp-c40-medal .face{fill:var(--m1);}
.gdp-c40-medal .ring{fill:none;stroke:var(--m2);stroke-width:3;}
.gdp-c40-medal .dot{fill:var(--m2);}


/* =====================================================================
   YOUR STATS
   ===================================================================== */

.gdp-stats-head .gdp-c40-schips{margin-left:auto;margin-right:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.gdp-c40-chipsep{width:1px;height:20px;background:var(--gdp-line);margin:0 4px;}
.gdp-c40-stfigs{grid-template-columns:repeat(6,minmax(0,1fr));}
.gdp-c40-stfigs .gdp-figure b{font-size:clamp(18px,2.1vw,26px);}
.gdp-c40-stfigs .gdp-figure.is-best b{color:var(--gdp-accent);}
.gdp-c40-stmedals{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 22px;}
.gdp-c40-stm{
  display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;
  padding:8px 14px 8px 10px;border-radius:10px;background:var(--gdp-panel);border:1px solid var(--gdp-line);opacity:.55;
}
.gdp-c40-stm .gdp-c40-medal{grid-row:1 / 3;width:22px;height:27px;}
.gdp-c40-stm b{font-family:var(--gdp-font);font-size:20px;font-weight:600;line-height:1;}
.gdp-c40-stm span{font-family:var(--gdp-font);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--gdp-muted);}
.gdp-c40-stm.is-got,.gdp-c40-stm.is-plain{opacity:1;}
.gdp-c40-stm.is-plain{grid-template-columns:auto;padding-left:14px;}
@media(min-width:901px){
  .gdp-stats-grid.gdp-c40-stgrid{grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:28px;}
}
.gdp-c40-chev{
  width:8px;height:8px;justify-self:end;border-right:1.5px solid var(--gdp-muted);border-bottom:1.5px solid var(--gdp-muted);
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s;
}
.gdp-c40-gdetail{
  border:1px solid var(--gdp-accent);border-top:0;border-radius:0 0 10px 10px;background:rgba(26,19,5,.55);
  padding:12px 14px;margin-bottom:6px;animation:c40In .22s ease-out;
}
.gdp-c40-gdetail[hidden]{display:none;}


/* =====================================================================
   CATCH 40'S OWN
   ===================================================================== */

.gdp .is-hidden.gdp-c40-card,.gdp .is-hidden.gdp-c40-startrow,.gdp .is-hidden.gdp-c40-trial,.gdp .gdp-c40-startrow[hidden],.gdp .gdp-c40-startnote[hidden],.gdp .gdp-c40-pane[hidden]{display:none !important;}
/* The title's "40" in the game's gold. */
.gdp-c40-title b,.gdp-c40-title span{color:#ffd451;text-shadow:0 0 28px rgba(255,212,81,.35),0 4px 26px rgba(0,0,0,.7);}

/* Mode: Classic | Weak spots, the sliding thumb in gold. */
.gdp-c40-tabs{max-width:420px;}
.gdp-c40-tabthumb{background:linear-gradient(180deg,#ffe28a,#ffc531);box-shadow:0 4px 16px rgba(255,197,49,.35), inset 0 1px 0 rgba(255,255,255,.45);}
.gdp-c40-tab2{flex-direction:column;gap:0;height:52px;line-height:1.05;}
.gdp-c40-tab2 small{font-family:var(--gdp-font-note);font-size:10.5px;font-weight:400;letter-spacing:.02em;text-transform:none;opacity:.8;}
.gdp-c40-tab2.is-on{color:#2a1c00;}
.gdp-c40-setnote{font-family:var(--gdp-font-note);font-size:12.5px;line-height:1.45;color:#cfcfcf;margin-top:8px;min-height:18px;}
.gdp-c40-setnote p{margin:0;}
.gdp-c40-boardtag{display:inline-flex;align-items:center;gap:5px;margin-left:4px;color:#ffd451;white-space:nowrap;}
.gdp-c40-ochips{display:inline-flex;flex-wrap:wrap;gap:4px;margin-top:6px;vertical-align:middle;}
.gdp-c40-ochips i{
  font-style:normal;min-width:34px;padding:3px 6px;border-radius:6px;text-align:center;
  font-family:var(--gdp-font);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;
  background:rgba(255,90,82,.12);border:1px solid rgba(255,90,82,.45);color:#ffc2bd;
}
.gdp-c40-ochips.is-up i{background:rgba(61,220,132,.12);border-color:rgba(61,220,132,.5);color:#c9f7dc;}
.gdp-c40-ochips.is-down i{background:rgba(255,90,82,.12);border-color:rgba(255,90,82,.5);color:#ffc2bd;}

/* A game as a thin row of its outs. */
.gdp-c40-mini{display:grid;grid-template-columns:repeat(var(--n,40),minmax(0,1fr));gap:2px;width:100%;}
.gdp-c40-mini i{display:block;height:8px;border-radius:2px;background:#2a2a2a;}
.gdp-c40-mini i.is-p3,.gdp-c40-strip i.is-p3{background:#ffd451;}
.gdp-c40-mini i.is-p2,.gdp-c40-strip i.is-p2{background:#3ddc84;}
.gdp-c40-mini i.is-p1,.gdp-c40-strip i.is-p1{background:#2fb3a8;}
.gdp-c40-mini i.is-miss,.gdp-c40-strip i.is-miss{background:#7a2420;}
.gdp-c40-last{display:flex;flex-direction:column;gap:6px;margin-top:12px;}
.gdp-c40-last .gdp-label{font-size:11px;}
.gdp-c40-resume{grid-template-columns:60px minmax(0,1fr);}
.gdp-c40-resume .gdp-c40-mini{margin-top:7px;max-width:360px;}
.gdp-c40-resume .gdp-c40-mini i{height:6px;}
.gdp-c40-resume-a{grid-column:2;}
.gdp-c40-resume-n{grid-column:1 / -1;margin:2px 0 0;font-family:var(--gdp-font-note);font-size:12px;color:#cbb894;}

/* ---------- the Catch Board (result and Recent games) ---------- */
.gdp-c40-cb{display:flex;flex-direction:column;gap:6px;margin:0 0 10px;}
.gdp-c40-cbrow{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:10px;align-items:center;}
.gdp-c40-cbtiles{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;}
.gdp-c40-tile{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:62px;border-radius:9px;
  font-style:normal;font-family:var(--gdp-font);background:#171717;border:1px solid #2b2b2b;color:#8f8f8f;cursor:default;
}
.gdp-c40-tile b{font-size:21px;font-weight:500;line-height:1;font-variant-numeric:tabular-nums;}
.gdp-c40-tile small{font-size:10.5px;letter-spacing:.03em;opacity:.85;}
.gdp-c40-tile.is-p3{background:#ffd451;border-color:#ffe596;color:#2a1c00;box-shadow:0 0 16px rgba(255,212,81,.25);}
.gdp-c40-tile.is-p2{background:#3ddc84;border-color:#7fe9ad;color:#04230f;}
.gdp-c40-tile.is-p1{background:#1f8d84;border-color:#3fb6ab;color:#fff;}
.gdp-c40-tile.is-miss{background:#3a1210;border-color:var(--gdp-bust);color:#ffb3ae;}
.gdp-c40-tile.is-miss b{text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:rgba(255,90,82,.8);}
.gdp-c40-tile.is-none{visibility:hidden;}
.gdp-c40-tmark{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;}
.gdp-c40-tmark.is-up{background:#fff;box-shadow:0 0 0 2px #0d5f2f;}
.gdp-c40-tmark.is-down{background:#ff5a52;box-shadow:0 0 0 2px #fff;}
.gdp-c40-note .gdp-c40-tmark{position:static;display:inline-block;}
.gdp-c40-cbsum{display:flex;flex-direction:column;align-items:flex-end;font-family:var(--gdp-font);}
.gdp-c40-cbsum b{font-size:24px;font-weight:600;line-height:1;color:#fff;font-variant-numeric:tabular-nums;}
.gdp-c40-cbsum span{font-size:11px;letter-spacing:.08em;color:var(--gdp-muted);}
.gdp-c40-cbsum.is-empty b{color:var(--gdp-muted);}
.gdp-c40-result.fx-in .gdp-c40-cb.is-result .gdp-c40-tile{animation:c40Tile .4s cubic-bezier(.2,1.3,.4,1) both;animation-delay:calc(.2s + var(--i) * 22ms);}
@keyframes c40Tile{from{opacity:0;transform:scale(.6);}to{opacity:1;transform:none;}}
.gdp-c40-key{display:inline-block;width:12px;height:12px;border-radius:3px;margin-left:6px;}
.gdp-c40-key.is-p3{background:#ffd451;}.gdp-c40-key.is-p2{background:#3ddc84;}.gdp-c40-key.is-p1{background:#1f8d84;}.gdp-c40-key.is-miss{background:#3a1210;box-shadow:inset 0 0 0 1px var(--gdp-bust);}
.gdp-c40-cb.is-mini .gdp-c40-tile{height:40px;border-radius:6px;}
.gdp-c40-cb.is-mini .gdp-c40-tile b{font-size:15px;}
.gdp-c40-cb.is-mini .gdp-c40-tile small{font-size:9px;}
.gdp-c40-cb.is-mini .gdp-c40-cbrow{grid-template-columns:minmax(0,1fr) 56px;}
.gdp-c40-cb.is-mini .gdp-c40-cbsum b{font-size:17px;}
.gdp-c40-res-figs{grid-template-columns:repeat(6,minmax(0,1fr));margin:14px 0 18px;}
.gdp-c40-vs{margin:0 0 18px;padding:12px 14px;border-radius:12px;background:rgba(18,18,18,.88);border:1px solid rgba(255,255,255,.08);}
.gdp-c40-vs p{margin:4px 0;display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-family:var(--gdp-font-note);font-size:13px;}
.gdp-c40-vs b{font-weight:600;}
.gdp-c40-vs b.is-up{color:var(--gdp-win);}
.gdp-c40-vs b.is-down{color:#ff8a83;}
.gdp-c40-vs .gdp-c40-ochips{margin-top:0;}
.gdp-c40-result .gdp-stats-h3{margin-top:4px;}

/* ---------- your stats ---------- */
.gdp-c40-trendwrap{padding:8px 8px 4px;border-radius:12px;background:rgba(14,14,14,.85);border:1px solid rgba(255,255,255,.07);margin-bottom:18px;}
.gdp-c40-trendbox{position:relative;}
.gdp-c40-trend{display:block;width:100%;height:120px;overflow:visible;}
.gdp-c40-trend path.line{fill:none;stroke:var(--gdp-accent);stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round;}
.gdp-c40-trend path.dot{fill:none;stroke:#7d7d7d;stroke-width:7;stroke-linecap:round;vector-effect:non-scaling-stroke;}
.gdp-c40-trend path.dot.m1{stroke:#e7ad74;}.gdp-c40-trend path.dot.m2{stroke:#e6edf2;}.gdp-c40-trend path.dot.m3{stroke:#ffd451;}.gdp-c40-trend path.dot.m4{stroke:#a6f3c8;}
.gdp-c40-trend line{stroke-width:1;stroke-dasharray:3 5;vector-effect:non-scaling-stroke;opacity:.6;}
.gdp-c40-trend line.m1{stroke:#e7ad74;}.gdp-c40-trend line.m2{stroke:#e6edf2;}.gdp-c40-trend line.m3{stroke:#ffd451;}.gdp-c40-trend line.m4{stroke:#a6f3c8;}
.gdp-c40-trendlbl{position:absolute;right:2px;transform:translateY(-50%);font-family:var(--gdp-font);font-size:10px;line-height:1;color:rgba(255,255,255,.5);}
.gdp-c40-heathead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.gdp-c40-heathead .gdp-stats-h3{margin:0;}
.gdp-c40-seg{display:inline-flex;gap:3px;padding:3px;border-radius:9px;background:rgba(0,0,0,.35);border:1px solid var(--gdp-line);}
.gdp-c40-segbtn{padding:6px 12px;border:0;border-radius:6px;cursor:pointer;background:transparent;color:var(--gdp-muted);font-family:var(--gdp-font);font-size:12px;letter-spacing:.1em;text-transform:uppercase;}
.gdp-c40-segbtn:hover{color:var(--gdp-ink);}
.gdp-c40-segbtn.is-on{background:var(--gdp-accent);color:var(--gdp-accent-ink);}
.gdp-c40-segbtn:focus-visible{outline:2px solid var(--gdp-win);outline-offset:1px;}
.gdp-c40-heat{display:flex;flex-direction:column;gap:5px;margin:10px 0 8px;}
.gdp-c40-heatrow{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;}
.gdp-c40-hcell{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:58px;border-radius:9px;cursor:help;
  font-family:var(--gdp-font);border:1px solid transparent;background:#171717;color:#8f8f8f;padding:0;
}
.gdp-c40-hcell b{font-size:19px;font-weight:600;line-height:1;}
.gdp-c40-hcell small{font-size:11px;font-weight:500;}
/* Five steps, lighter as they get stronger, so the steps read without colour too. */
.gdp-c40-hcell.is-s0,.gdp-c40-hkey.is-s0{background:#4a1512;color:#ffc2bd;border-color:#7a2420;}
.gdp-c40-hcell.is-s1,.gdp-c40-hkey.is-s1{background:#6b3a0e;color:#ffe0b5;border-color:#8c5418;}
.gdp-c40-hcell.is-s2,.gdp-c40-hkey.is-s2{background:#1f6f68;color:#fff;border-color:#2f8f87;}
.gdp-c40-hcell.is-s3,.gdp-c40-hkey.is-s3{background:#35c277;color:#04230f;border-color:#6fe3a3;}
.gdp-c40-hcell.is-s4,.gdp-c40-hkey.is-s4{background:#ffd451;color:#2a1c00;border-color:#ffe596;}
.gdp-c40-hcell.is-thin{opacity:.6;}
.gdp-c40-hcell:focus-visible{outline:2px solid #fff;outline-offset:1px;}
.gdp-c40-hvs{position:absolute;top:4px;right:4px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;}
.gdp-c40-hvs.is-up{border-bottom:7px solid #fff;}
.gdp-c40-hvs.is-down{border-top:7px solid #fff;}
.gdp-c40-heatkey .gdp-c40-hvs{position:static;display:inline-block;vertical-align:middle;margin-left:8px;}
.gdp-c40-heatkey .gdp-c40-hvs.is-up{border-bottom-color:#e6e6e6;}
.gdp-c40-heatkey .gdp-c40-hvs.is-down{border-top-color:#e6e6e6;}
.gdp-c40-heatkey{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:0 0 18px;font-family:var(--gdp-font-note);font-size:11.5px;color:var(--gdp-muted);}
.gdp-c40-hkey{display:inline-block;width:12px;height:12px;border-radius:3px;border:1px solid;margin-left:6px;}
.gdp-c40-heatvs{display:inline-flex;align-items:center;gap:4px;}
.gdp-c40-bw{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 12px;}
.gdp-c40-bwcol{padding:12px 14px;border-radius:12px;background:var(--gdp-panel);border:1px solid var(--gdp-line);display:flex;flex-direction:column;gap:5px;}
.gdp-c40-bwcol.is-best{border-color:rgba(61,220,132,.35);}
.gdp-c40-bwcol.is-worst{border-color:rgba(255,90,82,.35);}
.gdp-c40-bwrow{display:flex;align-items:baseline;gap:10px;}
.gdp-c40-bwrow b{font-family:var(--gdp-font);font-size:22px;font-weight:600;min-width:34px;text-align:right;}
.gdp-c40-bwcol.is-best b{color:#c9f7dc;}
.gdp-c40-bwcol.is-worst b{color:#ffb0aa;}
.gdp-c40-bwrow span{font-family:var(--gdp-font-note);font-size:12.5px;color:#d8d8d8;}
.gdp-c40-drillcta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 22px;padding:12px 14px;border-radius:12px;background:rgba(255,212,81,.07);border:1px solid rgba(255,212,81,.35);}
.gdp-c40-drillcta > span{font-family:var(--gdp-font-note);font-size:13px;color:#e6e6e6;}
.gdp-c40-drillcta .gdp-btn-primary{width:auto;padding:9px 18px;background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;text-transform:uppercase;letter-spacing:.06em;}
.gdp-c40-gfigs{margin:6px 0 0;font-family:var(--gdp-font-note);font-size:12px;color:var(--gdp-muted);}

/* =====================================================================
   THE BACKGROUND
   The theme's .container-main-graphic rule loads after gdp-game.css at the
   same specificity and hides the shared photo: restated one step more
   specific with the shared tokens (as A1 and Checkout Challenge), over
   Catch 40's own picture: a board in the dark with its doubles lit in
   gold (images/2026/2026-back-game-5.webp, drawn in code).
   ===================================================================== */
.gdp .gdp-wrap.js-c40-wrap{
  background-color:var(--gdp-bg);
  background-image:
    linear-gradient(-18deg, transparent 0 45.35%, var(--gdp-divider) 45.35% 45.7%, transparent 45.7%),
    linear-gradient(-18deg, var(--gdp-tint-hi) 0 45.7%, var(--gdp-tint-lo) 45.7%),
    linear-gradient(to bottom, rgba(10,10,10,0) 0, rgba(10,10,10,0) calc(var(--gdp-band) * .45), rgba(10,10,10,.55) calc(var(--gdp-band) * .74), rgba(10,10,10,.88) calc(var(--gdp-band) * .90), var(--gdp-bg) var(--gdp-band)),
    url('/wp-content/themes/dart/images/2026/2026-back-game-5.webp');
  background-size:100% var(--gdp-band), 100% var(--gdp-band), 100% 100%, 100% auto;
  background-position:left top, left top, left top, center top;
  background-repeat:no-repeat;
}
@media(max-width:900px){
  .gdp .gdp-wrap.js-c40-wrap{
    background-image:
      linear-gradient(-18deg, transparent 0 32.94%, var(--gdp-divider) 32.94% 33.5%, transparent 33.5%),
      linear-gradient(-18deg, var(--gdp-tint-hi) 0 33.5%, var(--gdp-tint-lo) 33.5%),
      linear-gradient(to bottom, rgba(10,10,10,0) 0, rgba(10,10,10,0) calc(var(--gdp-band) * .45), rgba(10,10,10,.55) calc(var(--gdp-band) * .74), rgba(10,10,10,.88) calc(var(--gdp-band) * .90), var(--gdp-bg) var(--gdp-band)),
      url('/wp-content/themes/dart/images/2026/2026-back-game-5-mobile.webp');
    background-size:100% var(--gdp-band), 100% var(--gdp-band), 100% 100%, 100% auto;
  }
}
/* The Catch line (setup only): the brand's 18 degree line drawn as a row
   of 40 tiles in the game's colours, a real game of members' (gold out
   in two, green in three, teal in four to six, red missed), with an
   amber edge each side. The photo is lit around the title. */
.gdp .gdp-wrap.js-c40-wrap:not(.is-playing):not(.is-over){
  --gdp-tint-hi:rgba(8,8,8,.50);--gdp-tint-lo:rgba(8,8,8,.30);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 440' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.35'/%3E%3Cstop offset='.5' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.35'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='1000' height='440' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cpath d='M-38.04,429.17L1038.04,79.43' stroke='rgba(0,0,0,.55)' stroke-width='24.70'/%3E%3Crect x='-35.62' y='418.30' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 -24.59 424.80)'/%3E%3Crect x='-8.72' y='409.55' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 2.31 416.05)'/%3E%3Crect x='18.18' y='400.81' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 29.21 407.31)'/%3E%3Crect x='45.08' y='392.07' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 56.12 398.57)'/%3E%3Crect x='71.99' y='383.32' width='22.06' height='13.00' rx='2.86' fill='%23ffd451' opacity='0.95' transform='rotate(-18.005 83.02 389.82)'/%3E%3Crect x='98.89' y='374.58' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 109.92 381.08)'/%3E%3Crect x='125.79' y='365.84' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 136.82 372.34)'/%3E%3Crect x='152.69' y='357.09' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 163.72 363.59)'/%3E%3Crect x='179.59' y='348.35' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 190.63 354.85)'/%3E%3Crect x='206.50' y='339.61' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 217.53 346.11)'/%3E%3Crect x='233.40' y='330.86' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 244.43 337.36)'/%3E%3Crect x='260.30' y='322.12' width='22.06' height='13.00' rx='2.86' fill='%233ddc84' opacity='0.95' transform='rotate(-18.005 271.33 328.62)'/%3E%3Crect x='287.20' y='313.38' width='22.06' height='13.00' rx='2.86' fill='%233ddc84' opacity='0.95' transform='rotate(-18.005 298.23 319.88)'/%3E%3Crect x='314.10' y='304.63' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 325.14 311.13)'/%3E%3Crect x='341.01' y='295.89' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 352.04 302.39)'/%3E%3Crect x='367.91' y='287.15' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 378.94 293.65)'/%3E%3Crect x='394.81' y='278.40' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 405.84 284.90)'/%3E%3Crect x='421.71' y='269.66' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 432.74 276.16)'/%3E%3Crect x='448.61' y='260.92' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 459.65 267.42)'/%3E%3Crect x='475.52' y='252.17' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 486.55 258.67)'/%3E%3Crect x='502.42' y='243.43' width='22.06' height='13.00' rx='2.86' fill='%23ffd451' opacity='0.95' transform='rotate(-18.005 513.45 249.93)'/%3E%3Crect x='529.32' y='234.68' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 540.35 241.18)'/%3E%3Crect x='556.22' y='225.94' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 567.25 232.44)'/%3E%3Crect x='583.12' y='217.20' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 594.16 223.70)'/%3E%3Crect x='610.03' y='208.45' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 621.06 214.95)'/%3E%3Crect x='636.93' y='199.71' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 647.96 206.21)'/%3E%3Crect x='663.83' y='190.97' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 674.86 197.47)'/%3E%3Crect x='690.73' y='182.22' width='22.06' height='13.00' rx='2.86' fill='%23ffd451' opacity='0.95' transform='rotate(-18.005 701.76 188.72)'/%3E%3Crect x='717.63' y='173.48' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 728.67 179.98)'/%3E%3Crect x='744.54' y='164.74' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 755.57 171.24)'/%3E%3Crect x='771.44' y='155.99' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 782.47 162.49)'/%3E%3Crect x='798.34' y='147.25' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 809.37 153.75)'/%3E%3Crect x='825.24' y='138.51' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 836.27 145.01)'/%3E%3Crect x='852.14' y='129.76' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 863.18 136.26)'/%3E%3Crect x='879.05' y='121.02' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 890.08 127.52)'/%3E%3Crect x='905.95' y='112.28' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 916.98 118.78)'/%3E%3Crect x='932.85' y='103.53' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 943.88 110.03)'/%3E%3Crect x='959.75' y='94.79' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 970.78 101.29)'/%3E%3Crect x='986.65' y='86.05' width='22.06' height='13.00' rx='2.86' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.005 997.69 92.55)'/%3E%3Crect x='1013.56' y='77.30' width='22.06' height='13.00' rx='2.86' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.005 1024.59 83.80)'/%3E%3Cpath d='M-41.86,417.42L1034.22,67.68' stroke='rgba(255,164,0,.55)' stroke-width='1.17'/%3E%3Cpath d='M-34.22,440.92L1041.86,91.18' stroke='rgba(255,164,0,.55)' stroke-width='1.17'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(45% 60% at 30% 0%, rgba(255,200,90,.08), rgba(255,200,90,0) 70%),
    linear-gradient(-18deg, var(--gdp-tint-hi) 0 45.7%, var(--gdp-tint-lo) 45.7%),
    linear-gradient(to bottom, rgba(10,10,10,0) 0, rgba(10,10,10,0) calc(var(--gdp-band) * .45), rgba(10,10,10,.55) calc(var(--gdp-band) * .74), rgba(10,10,10,.88) calc(var(--gdp-band) * .90), var(--gdp-bg) var(--gdp-band)),
    url('/wp-content/themes/dart/images/2026/2026-back-game-5.webp');
  background-size:100% var(--gdp-band), 100% var(--gdp-band), 100% var(--gdp-band), 100% 100%, 100% auto;
  background-position:left top, left top, left top, left top, center top;
  background-repeat:no-repeat;
}
@media(max-width:900px){
  .gdp .gdp-wrap.js-c40-wrap:not(.is-playing):not(.is-over){
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 780' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.35'/%3E%3Cstop offset='.5' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.35'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='1000' height='780' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cpath d='M-38.04,750.27L1038.04,400.54' stroke='rgba(0,0,0,.55)' stroke-width='34.20'/%3E%3Crect x='-35.62' y='736.90' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 -24.59 745.90)'/%3E%3Crect x='-8.72' y='728.16' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 2.31 737.16)'/%3E%3Crect x='18.18' y='719.41' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 29.21 728.41)'/%3E%3Crect x='45.09' y='710.67' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 56.12 719.67)'/%3E%3Crect x='71.99' y='701.93' width='22.06' height='18.00' rx='3.96' fill='%23ffd451' opacity='0.95' transform='rotate(-18.004 83.02 710.93)'/%3E%3Crect x='98.89' y='693.18' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 109.92 702.18)'/%3E%3Crect x='125.79' y='684.44' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 136.82 693.44)'/%3E%3Crect x='152.69' y='675.70' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 163.72 684.70)'/%3E%3Crect x='179.60' y='666.95' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 190.63 675.95)'/%3E%3Crect x='206.50' y='658.21' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 217.53 667.21)'/%3E%3Crect x='233.40' y='649.47' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 244.43 658.47)'/%3E%3Crect x='260.30' y='640.72' width='22.06' height='18.00' rx='3.96' fill='%233ddc84' opacity='0.95' transform='rotate(-18.004 271.33 649.72)'/%3E%3Crect x='287.20' y='631.98' width='22.06' height='18.00' rx='3.96' fill='%233ddc84' opacity='0.95' transform='rotate(-18.004 298.23 640.98)'/%3E%3Crect x='314.11' y='623.24' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 325.14 632.24)'/%3E%3Crect x='341.01' y='614.49' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 352.04 623.49)'/%3E%3Crect x='367.91' y='605.75' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 378.94 614.75)'/%3E%3Crect x='394.81' y='597.01' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 405.84 606.01)'/%3E%3Crect x='421.71' y='588.26' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 432.74 597.26)'/%3E%3Crect x='448.62' y='579.52' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 459.65 588.52)'/%3E%3Crect x='475.52' y='570.78' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 486.55 579.78)'/%3E%3Crect x='502.42' y='562.03' width='22.06' height='18.00' rx='3.96' fill='%23ffd451' opacity='0.95' transform='rotate(-18.004 513.45 571.03)'/%3E%3Crect x='529.32' y='553.29' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 540.35 562.29)'/%3E%3Crect x='556.22' y='544.55' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 567.25 553.55)'/%3E%3Crect x='583.13' y='535.80' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 594.16 544.80)'/%3E%3Crect x='610.03' y='527.06' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 621.06 536.06)'/%3E%3Crect x='636.93' y='518.32' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 647.96 527.32)'/%3E%3Crect x='663.83' y='509.57' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 674.86 518.57)'/%3E%3Crect x='690.73' y='500.83' width='22.06' height='18.00' rx='3.96' fill='%23ffd451' opacity='0.95' transform='rotate(-18.004 701.76 509.83)'/%3E%3Crect x='717.64' y='492.09' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 728.67 501.09)'/%3E%3Crect x='744.54' y='483.34' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 755.57 492.34)'/%3E%3Crect x='771.44' y='474.60' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 782.47 483.60)'/%3E%3Crect x='798.34' y='465.86' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 809.37 474.86)'/%3E%3Crect x='825.24' y='457.11' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 836.27 466.11)'/%3E%3Crect x='852.15' y='448.37' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 863.18 457.37)'/%3E%3Crect x='879.05' y='439.63' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 890.08 448.63)'/%3E%3Crect x='905.95' y='430.88' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 916.98 439.88)'/%3E%3Crect x='932.85' y='422.14' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 943.88 431.14)'/%3E%3Crect x='959.75' y='413.40' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 970.78 422.40)'/%3E%3Crect x='986.66' y='404.65' width='22.06' height='18.00' rx='3.96' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 997.69 413.65)'/%3E%3Crect x='1013.56' y='395.91' width='22.06' height='18.00' rx='3.96' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 1024.59 404.91)'/%3E%3Cpath d='M-43.33,734.01L1032.75,384.28' stroke='rgba(255,164,0,.55)' stroke-width='1.62'/%3E%3Cpath d='M-32.75,766.53L1043.33,416.80' stroke='rgba(255,164,0,.55)' stroke-width='1.62'/%3E%3C/g%3E%3C/svg%3E"),
      radial-gradient(45% 60% at 50% 0%, rgba(255,200,90,.08), rgba(255,200,90,0) 70%),
      linear-gradient(-18deg, var(--gdp-tint-hi) 0 33.5%, var(--gdp-tint-lo) 33.5%),
      linear-gradient(to bottom, rgba(10,10,10,0) 0, rgba(10,10,10,0) calc(var(--gdp-band) * .45), rgba(10,10,10,.55) calc(var(--gdp-band) * .74), rgba(10,10,10,.88) calc(var(--gdp-band) * .90), var(--gdp-bg) var(--gdp-band)),
      url('/wp-content/themes/dart/images/2026/2026-back-game-5-mobile.webp');
  }
}
@media(max-width:560px){
  .gdp .gdp-wrap.js-c40-wrap:not(.is-playing):not(.is-over){
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 780' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.35'/%3E%3Cstop offset='.5' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.35'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='1000' height='780' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cpath d='M-38.04,750.27L1038.04,400.54' stroke='rgba(0,0,0,.55)' stroke-width='49.40'/%3E%3Crect x='-35.62' y='732.90' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 -24.59 745.90)'/%3E%3Crect x='-8.72' y='724.16' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 2.31 737.16)'/%3E%3Crect x='18.18' y='715.41' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 29.21 728.41)'/%3E%3Crect x='45.09' y='706.67' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 56.12 719.67)'/%3E%3Crect x='71.99' y='697.93' width='22.06' height='26.00' rx='5.72' fill='%23ffd451' opacity='0.95' transform='rotate(-18.004 83.02 710.93)'/%3E%3Crect x='98.89' y='689.18' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 109.92 702.18)'/%3E%3Crect x='125.79' y='680.44' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 136.82 693.44)'/%3E%3Crect x='152.69' y='671.70' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 163.72 684.70)'/%3E%3Crect x='179.60' y='662.95' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 190.63 675.95)'/%3E%3Crect x='206.50' y='654.21' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 217.53 667.21)'/%3E%3Crect x='233.40' y='645.47' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 244.43 658.47)'/%3E%3Crect x='260.30' y='636.72' width='22.06' height='26.00' rx='5.72' fill='%233ddc84' opacity='0.95' transform='rotate(-18.004 271.33 649.72)'/%3E%3Crect x='287.20' y='627.98' width='22.06' height='26.00' rx='5.72' fill='%233ddc84' opacity='0.95' transform='rotate(-18.004 298.23 640.98)'/%3E%3Crect x='314.11' y='619.24' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 325.14 632.24)'/%3E%3Crect x='341.01' y='610.49' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 352.04 623.49)'/%3E%3Crect x='367.91' y='601.75' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 378.94 614.75)'/%3E%3Crect x='394.81' y='593.01' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 405.84 606.01)'/%3E%3Crect x='421.71' y='584.26' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 432.74 597.26)'/%3E%3Crect x='448.62' y='575.52' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 459.65 588.52)'/%3E%3Crect x='475.52' y='566.78' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 486.55 579.78)'/%3E%3Crect x='502.42' y='558.03' width='22.06' height='26.00' rx='5.72' fill='%23ffd451' opacity='0.95' transform='rotate(-18.004 513.45 571.03)'/%3E%3Crect x='529.32' y='549.29' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 540.35 562.29)'/%3E%3Crect x='556.22' y='540.55' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 567.25 553.55)'/%3E%3Crect x='583.13' y='531.80' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 594.16 544.80)'/%3E%3Crect x='610.03' y='523.06' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 621.06 536.06)'/%3E%3Crect x='636.93' y='514.32' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 647.96 527.32)'/%3E%3Crect x='663.83' y='505.57' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 674.86 518.57)'/%3E%3Crect x='690.73' y='496.83' width='22.06' height='26.00' rx='5.72' fill='%23ffd451' opacity='0.95' transform='rotate(-18.004 701.76 509.83)'/%3E%3Crect x='717.64' y='488.09' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 728.67 501.09)'/%3E%3Crect x='744.54' y='479.34' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 755.57 492.34)'/%3E%3Crect x='771.44' y='470.60' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 782.47 483.60)'/%3E%3Crect x='798.34' y='461.86' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 809.37 474.86)'/%3E%3Crect x='825.24' y='453.11' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 836.27 466.11)'/%3E%3Crect x='852.15' y='444.37' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 863.18 457.37)'/%3E%3Crect x='879.05' y='435.63' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 890.08 448.63)'/%3E%3Crect x='905.95' y='426.88' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 916.98 439.88)'/%3E%3Crect x='932.85' y='418.14' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 943.88 431.14)'/%3E%3Crect x='959.75' y='409.40' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 970.78 422.40)'/%3E%3Crect x='986.66' y='400.65' width='22.06' height='26.00' rx='5.72' fill='rgba(255,90,82,.55)' opacity='0.8' transform='rotate(-18.004 997.69 413.65)'/%3E%3Crect x='1013.56' y='391.91' width='22.06' height='26.00' rx='5.72' fill='%232fb3a8' opacity='0.95' transform='rotate(-18.004 1024.59 404.91)'/%3E%3Cpath d='M-45.67,726.78L1030.41,377.05' stroke='rgba(255,164,0,.55)' stroke-width='2.34'/%3E%3Cpath d='M-30.41,773.76L1045.67,424.03' stroke='rgba(255,164,0,.55)' stroke-width='2.34'/%3E%3C/g%3E%3C/svg%3E"),
      radial-gradient(45% 60% at 50% 0%, rgba(255,200,90,.08), rgba(255,200,90,0) 70%),
      linear-gradient(-18deg, var(--gdp-tint-hi) 0 33.5%, var(--gdp-tint-lo) 33.5%),
      linear-gradient(to bottom, rgba(10,10,10,0) 0, rgba(10,10,10,0) calc(var(--gdp-band) * .45), rgba(10,10,10,.55) calc(var(--gdp-band) * .74), rgba(10,10,10,.88) calc(var(--gdp-band) * .90), var(--gdp-bg) var(--gdp-band)),
      url('/wp-content/themes/dart/images/2026/2026-back-game-5-mobile.webp');
  }
}
.gdp .gdp-wrap.js-c40-wrap.is-playing{--gdp-divider:rgba(255,164,0,.12);}
.gdp .gdp-wrap.js-c40-wrap .gdp-screen-setup .gdp-intro{background:rgba(10,10,10,.62);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);}
/* Your stats: setup and result only. */
.gdp .gdp-wrap.js-c40-wrap.is-playing .gdp-statstab{display:none;}
@media(min-width:992px){ .gdp .gdp-wrap.js-c40-wrap.is-playing{min-height:620px;} }
/* The "Removing darts" popup must not widen the page (A1 rev 9). */
.gdp .gdp-wrap.js-c40-wrap .dart-retrieve-container{left:0;right:0;width:auto;max-width:100%;margin-left:0;margin-right:0;box-sizing:border-box;}
.gdp-figure .gdp-unit{display:inline;font-size:.5em;font-weight:400;letter-spacing:normal;text-transform:none;color:rgba(255,255,255,.55);margin:0 0 0 2px;}
.gdp-figure b{white-space:nowrap;}

/* =====================================================================
   NARROW
   ===================================================================== */
@media(max-width:1100px){
  .gdp-c40-stfigs,.gdp-c40-res-figs{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:991px){
  .gdp .gdp-wrap.js-c40-wrap .gdp-statstab{top:16px;}
  .gdp-c40-lede{padding-right:44px;}
}
@media(max-width:760px){
  .gdp-c40-tile{height:52px;}
  .gdp-c40-tile b{font-size:17px;}
  .gdp-c40-tile small{display:none;}
  .gdp-c40-cbrow{grid-template-columns:minmax(0,1fr) 46px;gap:6px;}
  .gdp-c40-cbtiles,.gdp-c40-heatrow{gap:3px;}
  .gdp-c40-cbsum b{font-size:18px;}
  .gdp-c40-cbsum span{display:none;}
  .gdp-c40-hcell{height:46px;}
  .gdp-c40-hcell b{font-size:15px;}
  .gdp-c40-hcell small{font-size:9.5px;}
  .gdp-c40-bw{grid-template-columns:1fr;}
}
/* Phones: everything needed to throw on one screen. */
@media(max-width:600px){
  .gdp-c40-tab2{height:48px;font-size:15px;}
  .gdp-c40-mbar{padding:9px 10px;column-gap:8px;}
  .gdp-c40-board{padding:14px 12px;}
  .gdp-c40-board-head h2{font-size:26px;}
  .gdp-c40-lb-row{grid-template-columns:22px 26px 20px minmax(0,1fr) 16px 36px;gap:5px;padding:5px 6px;font-size:14px;}
  .gdp-c40-result{padding-top:44px;}
  .gdp-c40-res-figs,.gdp-c40-stfigs{grid-template-columns:repeat(2,minmax(0,1fr));}
  .gdp-c40-res-endtxt{text-align:center;}
  .gdp-c40-resume{grid-template-columns:48px minmax(0,1fr);}
  .gdp-c40-resume-i{width:48px;height:48px;}
  .gdp-c40-resume-i b{font-size:19px;}
  .gdp-c40-modal-figs b{font-size:20px;}
  .gdp-c40-heathead{flex-direction:column;align-items:flex-start;}
}

@media(prefers-reduced-motion:reduce){
  .gdp-c40-tabthumb{transition:none;}
  .gdp-c40-group,.gdp-c40-resume,.gdp-c40-overlay-card,.gdp-c40-modal-card,.gdp .gdp-wrap.js-c40-wrap .gdp-c40-modal,
  .gdp-c40-pb,.gdp-c40-rank,.gdp-c40-gdetail,.gdp-c40-num.is-in,.gdp-c40-num.is-in-down,.gdp-c40-num.fx-catch,.gdp-c40-num.fx-gold,.gdp-c40-num.fx-miss,
  .gdp-c40-chip,.gdp-c40-route.fx-change .gdp-c40-chip,.gdp-c40-ring .is-now,.gdp-c40-ring .fx-pop,.gdp-c40-play.is-unsaved .js-c40-spoints::after,
  .gdp-c40-board-body.fx-in .gdp-c40-lb-row,.gdp-c40-board-body.fx-in .gdp-c40-pod-slot,
  .gdp-c40-result.fx-in .gdp-c40-res-medal .gdp-c40-medal,.gdp-c40-result.fx-in .gdp-c40-res-score b,.gdp-c40-result.fx-in .gdp-c40-cb.is-result .gdp-c40-tile{animation:none;}
  .gdp-c40-burst,.gdp-c40-delta{display:none;}
  .gdp .gdp-wrap.js-c40-wrap.fx-miss::after{animation:none;opacity:0;}
}


/* =====================================================================
   START SCREEN, RIGHT SIDE (owner, 24 Nov 2026)
   The options stay on the left, shown directly. The right panel has two
   tabs as TONS and Big Fish: How to play, and Medals & leaderboard
   ("Your results" over the leaderboard).
   ===================================================================== */
.gdp-c40-settings{border-top:1px solid var(--gdp-line);margin-top:4px;padding-top:12px;display:flex;flex-direction:column;gap:14px;}
.gdp-c40-settingslabel{margin-bottom:-4px;}
.gdp-c40-startnote{
  display:flex;align-items:center;gap:10px;margin:4px 0 0;padding:12px 14px;border-radius:12px;
  font-family:var(--gdp-font-note);font-size:13.5px;line-height:1.45;color:#e8e8e8;
  background:rgba(255,164,0,.08);border:1px dashed rgba(255,164,0,.45);
}
.gdp-c40-startnote i{color:var(--gdp-accent);font-size:16px;}

.gdp-screen-setup .gdp-intro.gdp-c40-side{padding:14px 18px 20px;}
.gdp-c40-sidetabs{
  position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:4px;margin:0 0 16px;
  border-radius:12px;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.08);
}
.gdp-c40-sidethumb{
  position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:9px;
  background:linear-gradient(160deg,#ffe28a,#ffc22e 55%,#ffa400);box-shadow:0 6px 18px rgba(255,164,0,.28);
  transition:transform .28s cubic-bezier(.3,1.25,.5,1);
}
.gdp-c40-sidetabs[data-on="1"] .gdp-c40-sidethumb{transform:translateX(100%);}
.gdp-c40-sidetab{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:6px 8px;
  border:0;background:transparent;cursor:pointer;border-radius:9px;
  font-family:var(--gdp-font);font-size:15px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#cfcfcf;
  white-space:nowrap;transition:color .2s;
}
.gdp-c40-sidetab:hover{color:#fff;}
.gdp-c40-sidetab[aria-selected="true"]{color:#241800;}
.gdp-c40-sidetab:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.gdp-c40-pane{animation:c40In .22s ease-out;}
.gdp-c40-pane:focus-visible{outline:none;}
.gdp-c40-panetitle{font-family:var(--gdp-font);font-size:26px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;line-height:1;margin:2px 0 4px;color:#fff;}
.gdp-c40-panesub{font-family:var(--gdp-font-note);font-size:13px;color:var(--gdp-muted);margin:0 0 14px;}
.gdp-c40-panesub.is-lead{font-size:14.5px;line-height:1.5;color:#e8e8e8;margin:2px 0 14px;}

/* What a checkout is worth, in the game's tile colours. */
.gdp-c40-scoring{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.gdp-c40-scoring li{
  display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px 10px;border-radius:12px;text-align:center;
  border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);
}
.gdp-c40-scoring b{
  display:grid;place-items:center;width:44px;height:44px;border-radius:11px;font-family:var(--gdp-font);font-size:26px;font-weight:600;line-height:1;
}
.gdp-c40-scoring span{font-family:var(--gdp-font-note);font-size:11.5px;line-height:1.25;color:#cfcfcf;}
.gdp-c40-scoring .is-2 b{background:#ffd451;color:#2a1c00;box-shadow:0 0 18px rgba(255,212,81,.35);}
.gdp-c40-scoring .is-3 b{background:#3ddc84;color:#04230f;}
.gdp-c40-scoring .is-4 b{background:#1f8d84;color:#fff;}
.gdp-c40-scoring .is-0 b{background:#2a0b0a;color:#e2675f;border:1.5px solid #a8332c;}
.gdp-c40-side .gdp-c40-rulelist{margin:0 0 12px;}
.gdp-c40-side .gdp-c40-keys{display:flex;gap:8px;align-items:baseline;margin:0;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);}

.gdp-c40-results{padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08);}
.gdp-c40-results .gdp-c40-best{margin:10px 0 0;}
.gdp-c40-side .gdp-c40-board{padding:0;}
.gdp-c40-side .gdp-c40-board-head h2{font-size:24px;}

@media(max-width:560px){
  .gdp-c40-sidetab{font-size:13px;letter-spacing:.03em;gap:5px;}
  .gdp-c40-sidetab i{display:none;}
  .gdp-c40-scoring{grid-template-columns:repeat(2,minmax(0,1fr));}
  .gdp-c40-scoring li{flex-direction:row;justify-content:flex-start;text-align:left;gap:10px;padding:8px 10px;}
  .gdp-c40-scoring b{width:36px;height:36px;font-size:21px;flex:0 0 auto;}
  .gdp-screen-setup .gdp-intro.gdp-c40-side{padding:12px 12px 16px;}
}

/* =====================================================================
   LATEST GAME SESSIONS (Your stats)
   ===================================================================== */
.gdp-c40-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.gdp-c40-ls{margin:22px 0 8px;}
.gdp-c40-lshead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px;}
.gdp-c40-lshead .gdp-stats-h3{margin:0;}
.gdp-c40-lscount{font-family:var(--gdp-font-note);font-size:12px;color:var(--gdp-muted);}
.gdp-c40-lsempty{
  display:flex;flex-direction:column;align-items:center;gap:12px;padding:26px 16px;border-radius:14px;text-align:center;
  border:1px dashed rgba(255,255,255,.16);background:rgba(255,255,255,.02);
}
.gdp-c40-lsempty p{margin:0;font-family:var(--gdp-font-note);font-size:13.5px;color:#cfcfcf;}
.gdp-c40-mini.is-ghost{max-width:200px;--n:10;}
.gdp-c40-mini.is-ghost i{height:8px;background:rgba(255,255,255,.08);}
.gdp-c40-lslist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;}
.gdp-c40-lsitem{border-radius:14px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));overflow:hidden;transition:border-color .2s,box-shadow .2s;}
.gdp-c40-lsitem:hover{border-color:rgba(255,212,81,.45);}
.gdp-c40-lsitem:has(.gdp-c40-lsrow[aria-expanded="true"]){border-color:rgba(255,212,81,.7);box-shadow:0 14px 40px rgba(0,0,0,.45),0 0 0 1px rgba(255,212,81,.15) inset;}
.gdp-c40-lsrow{
  width:100%;display:grid;grid-template-columns:42px 74px minmax(0,1fr) auto 14px;align-items:center;gap:12px;
  padding:12px 14px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;
}
.gdp-c40-lsrow:focus-visible{outline:2px solid var(--gdp-accent);outline-offset:-2px;border-radius:14px;}
.gdp-c40-lsdisc{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.1);}
.gdp-c40-lsdisc .gdp-c40-medal{width:24px;height:29px;}
.gdp-c40-lsdisc.is-m0{color:#8a8a8a;}
.gdp-c40-lsdisc.is-m3{border-color:rgba(255,212,81,.55);box-shadow:0 0 16px rgba(255,212,81,.25);}
.gdp-c40-lsdisc.is-m4{border-color:rgba(166,243,200,.55);box-shadow:0 0 16px rgba(166,243,200,.25);}
.gdp-c40-lsdisc.is-ended{color:var(--gdp-accent);border-style:dashed;border-color:rgba(255,164,0,.55);}
.gdp-c40-lsdisc.is-drill{color:#ffd451;background:rgba(255,212,81,.08);border-color:rgba(255,212,81,.35);}
.gdp-c40-lswhen{display:flex;flex-direction:column;gap:2px;min-width:0;}
.gdp-c40-lswhen b{font-family:var(--gdp-font);font-size:15px;font-weight:500;letter-spacing:.02em;color:#fff;white-space:nowrap;}
.gdp-c40-lswhen span{font-family:var(--gdp-font-note);font-size:11.5px;color:var(--gdp-muted);}
.gdp-c40-lsmid{display:flex;flex-direction:column;gap:7px;min-width:0;}
.gdp-c40-lsline{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;}
.gdp-c40-lsline > b{font-family:var(--gdp-font-note);font-size:13.5px;font-weight:600;color:#e8e8e8;margin-right:2px;}
.gdp-c40-lsmid .gdp-c40-mini i{height:6px;}
.gdp-c40-lsnostrip{font-family:var(--gdp-font-note);font-size:11.5px;color:var(--gdp-muted);font-style:italic;}
.gdp-c40-tag{
  display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-style:normal;white-space:nowrap;
  font-family:var(--gdp-font);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;line-height:1.5;
  border:1px solid rgba(255,255,255,.18);color:#d8d8d8;background:rgba(255,255,255,.04);
}
.gdp-c40-tag b{font-weight:500;}
.gdp-c40-tag.is-best{color:#2a1c00;background:linear-gradient(100deg,#fff1c2,#ffd451 50%,#ffb020);border-color:transparent;}
.gdp-c40-tag.is-up{color:#7fe9ad;border-color:rgba(61,220,132,.45);background:rgba(61,220,132,.1);}
.gdp-c40-tag.is-run{color:#ffd451;border-color:rgba(255,212,81,.4);background:rgba(255,212,81,.08);}
.gdp-c40-tag.is-ended{color:var(--gdp-accent);border-color:rgba(255,164,0,.45);border-style:dashed;}
.gdp-c40-tag.is-drill{color:#ffd451;border-color:rgba(255,212,81,.4);}
.gdp-c40-tag.is-board{padding:2px 6px;color:#9fd8ff;border-color:rgba(90,169,230,.4);}
.gdp-c40-lsnum{display:flex;flex-direction:column;align-items:flex-end;line-height:1;}
.gdp-c40-lsnum b{font-family:var(--gdp-font);font-size:30px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums;}
.gdp-c40-lsnum span{font-family:var(--gdp-font);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gdp-muted);margin-top:3px;}
.gdp-c40-lsnum.is-m3 b,.gdp-c40-lsnum.is-m4 b{color:#ffd451;text-shadow:0 0 18px rgba(255,212,81,.35);}
.gdp-c40-lsitem.is-ended .gdp-c40-lsnum b,.gdp-c40-lsitem.is-drill .gdp-c40-lsnum b{color:#cfcfcf;}
.gdp-c40-lsrow .gdp-c40-chev{
  width:8px;height:8px;justify-self:end;border-right:1.5px solid var(--gdp-muted);border-bottom:1.5px solid var(--gdp-muted);
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s;
}
.gdp-c40-lsrow[aria-expanded="true"] .gdp-c40-chev{transform:rotate(-135deg) translate(-2px,-2px);border-color:var(--gdp-accent);}
.gdp-c40-lsrow[aria-expanded="true"]{background:rgba(255,212,81,.05);}

.gdp-c40-lsitem .gdp-c40-gdetail{border:0;border-top:1px solid rgba(255,255,255,.08);border-radius:0;margin:0;padding:14px 16px 18px;background:rgba(0,0,0,.35);}
.gdp-c40-gdhead{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
.gdp-c40-gdchip{
  display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;
  font-family:var(--gdp-font);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#e8e8e8;
  border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);
}
.gdp-c40-gdchip .gdp-c40-medal{width:14px;height:17px;}
.gdp-c40-gdchip.is-m3{color:#ffd451;border-color:rgba(255,212,81,.5);}
.gdp-c40-gdchip.is-m4{color:#a6f3c8;border-color:rgba(166,243,200,.5);}
.gdp-c40-gdchip.is-ended{color:var(--gdp-accent);border-style:dashed;border-color:rgba(255,164,0,.5);}
.gdp-c40-gdwhen{font-family:var(--gdp-font-note);font-size:12px;color:var(--gdp-muted);margin-left:auto;}
.gdp-c40-gdfigs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:16px;}
.gdp-c40-gdfigs > div{padding:10px 8px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);text-align:center;}
.gdp-c40-gdfigs b{display:block;font-family:var(--gdp-font);font-size:24px;font-weight:600;line-height:1;color:#fff;font-variant-numeric:tabular-nums;}
.gdp-c40-gdfigs b small{font-size:13px;color:var(--gdp-muted);font-weight:500;margin-left:1px;}
.gdp-c40-gdfigs span{display:block;margin-top:5px;font-family:var(--gdp-font-note);font-size:11px;color:var(--gdp-muted);}
.gdp-c40-gdfigs .is-main{background:rgba(255,212,81,.1);border-color:rgba(255,212,81,.35);}
.gdp-c40-gdfigs .is-main b{color:#ffd451;}
.gdp-c40-gdh{font-family:var(--gdp-font);font-size:13px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#bdbdbd;margin:16px 0 8px;}
.gdp-c40-gdnote{display:flex;gap:8px;align-items:baseline;margin:4px 0 0;font-family:var(--gdp-font-note);font-size:13px;color:#cfcfcf;}
.gdp-c40-gdnote i{color:var(--gdp-accent);}
.gdp-c40-bands{display:flex;flex-direction:column;gap:6px;}
.gdp-c40-band{display:grid;grid-template-columns:70px minmax(0,1fr) 30px 40px;align-items:center;gap:10px;}
.gdp-c40-bandl{font-family:var(--gdp-font-note);font-size:12px;color:#d8d8d8;}
.gdp-c40-bandbar{height:12px;border-radius:6px;background:rgba(255,255,255,.06);overflow:hidden;}
.gdp-c40-bandbar i{display:block;height:100%;border-radius:6px;min-width:2px;animation:c40Bar .6s cubic-bezier(.2,.8,.3,1) both;transform-origin:left;}
@keyframes c40Bar{from{transform:scaleX(0);}to{transform:scaleX(1);}}
.gdp-c40-band.is-2 i{background:linear-gradient(90deg,#ffc22e,#ffe28a);}
.gdp-c40-band.is-3 i{background:linear-gradient(90deg,#22c06a,#5ff0a0);}
.gdp-c40-band.is-4 i{background:linear-gradient(90deg,#16726a,#2fb3a8);}
.gdp-c40-band.is-0 i{background:linear-gradient(90deg,#7a2420,#c2453d);}
.gdp-c40-band b{font-family:var(--gdp-font);font-size:15px;font-weight:600;color:#fff;text-align:right;}
.gdp-c40-band em{font-style:normal;font-family:var(--gdp-font-note);font-size:11.5px;color:var(--gdp-muted);text-align:right;}
.gdp-c40-every{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px;}
.gdp-c40-every li{
  position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:6px;align-items:center;
  padding:6px 8px;border-radius:9px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);
}
.gdp-c40-every li b{grid-row:1 / span 2;font-family:var(--gdp-font);font-size:20px;font-weight:600;line-height:1;color:#fff;}
.gdp-c40-every li span{font-family:var(--gdp-font-note);font-size:10.5px;color:var(--gdp-muted);line-height:1.2;}
.gdp-c40-every li em{font-style:normal;font-family:var(--gdp-font);font-size:12px;font-weight:600;line-height:1.1;}
.gdp-c40-every li small{grid-column:1 / -1;margin-top:4px;font-family:var(--gdp-font-note);font-size:10px;color:#9aa6b2;letter-spacing:.02em;}
.gdp-c40-every li.is-p3{border-color:rgba(255,212,81,.55);background:rgba(255,212,81,.1);}
.gdp-c40-every li.is-p3 em{color:#ffd451;}
.gdp-c40-every li.is-p2{border-color:rgba(61,220,132,.45);background:rgba(61,220,132,.08);}
.gdp-c40-every li.is-p2 em{color:#7fe9ad;}
.gdp-c40-every li.is-p1{border-color:rgba(47,179,168,.45);background:rgba(47,179,168,.08);}
.gdp-c40-every li.is-p1 em{color:#6fd6cc;}
.gdp-c40-every li.is-miss{border-color:rgba(168,51,44,.5);background:rgba(122,36,32,.14);}
.gdp-c40-every li.is-miss b{color:#e2675f;text-decoration:line-through;text-decoration-thickness:2px;}
.gdp-c40-every li.is-miss em{color:#e2675f;}

@media(max-width:700px){
  .gdp-c40-lsrow{grid-template-columns:36px minmax(0,1fr) auto 12px;gap:10px;padding:11px 12px;}
  .gdp-c40-lsdisc{width:36px;height:36px;}
  .gdp-c40-lswhen{grid-column:2;grid-row:1;flex-direction:row;gap:8px;align-items:baseline;}
  .gdp-c40-lsmid{grid-column:2;grid-row:2;}
  .gdp-c40-lsdisc{grid-row:1 / span 2;}
  .gdp-c40-lsnum{grid-column:3;grid-row:1 / span 2;}
  .gdp-c40-lsrow .gdp-c40-chev{grid-column:4;grid-row:1 / span 2;}
  .gdp-c40-lsnum b{font-size:26px;}
  .gdp-c40-tag.is-up b{display:none;}
  .gdp-c40-gdfigs{grid-template-columns:repeat(3,minmax(0,1fr));}
  .gdp-c40-gdwhen{margin-left:0;width:100%;}
  .gdp-c40-band{grid-template-columns:62px minmax(0,1fr) 26px 36px;gap:8px;}
  .gdp-c40-gdetail .gdp-c40-cbsum{display:none;}
  .gdp-c40-gdetail .gdp-c40-tile b{font-size:12px;letter-spacing:-.02em;}
  .gdp-c40-gdetail .gdp-c40-cbrow{grid-template-columns:1fr;}
  .gdp-c40-every{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));}
}
@media(prefers-reduced-motion:reduce){ .gdp-c40-sidethumb{transition:none;} .gdp-c40-pane,.gdp-c40-bandbar i{animation:none;} }

/* =====================================================================
   PLAY SCREEN (rev 5, owner 24 Nov 2026)
   Two columns as TONS: the checkout in a ring of the game's 40 outs on
   the left, the six buttons on the right. No clock on screen. The frame
   fills the window, and in full screen the whole screen; everything is
   sized from the play screen's width (container units) and the window's
   height, so it grows with the screen without the shared scaler.
   ===================================================================== */
.gdp-c40-play{display:flex;flex-direction:column;gap:clamp(6px,1.4vh,18px);overflow-x:clip;container-type:inline-size;container-name:c40play;width:100%;align-self:stretch;}
.gdp .gdp-wrap.js-c40-wrap.is-playing{display:flex;flex-direction:column;min-height:min(calc(100svh - 24px),1400px);}
.gdp .gdp-wrap.js-c40-wrap.is-playing > .gdp-c40-play{flex:1 1 auto;}
html.gdp-fs:not(.gdp-fs-plain) .gdp .gdp-wrap.js-c40-wrap.is-playing{min-height:calc(100vh - 40px);max-height:none;}
/* gdp-game.css keeps every screen at 1128px in full screen (read up close,
   then scaled by the script). The play screen is read from the oche and
   lays itself out for the screen, so it takes the whole width. */
html.gdp-fs:not(.gdp-fs-plain) .gdp .gdp-wrap.js-c40-wrap > section.gdp-c40-play{max-width:none;}

/* ---------- the bar ---------- */
.gdp-c40-play .gdp-c40-bar{align-items:center;margin:0;padding:0 0 clamp(6px,1.2vh,14px);}
.gdp-c40-barname{display:flex;align-items:baseline;gap:clamp(10px,1.2cqw,22px);font-family:var(--gdp-font);text-transform:uppercase;white-space:nowrap;min-width:0;}
.gdp-c40-barname b{font-size:clamp(26px,3.3cqw,60px);font-weight:600;line-height:1;letter-spacing:.1em;color:#ffd451;text-shadow:0 0 24px rgba(255,212,81,.4);}
.gdp-c40-barname span{font-size:clamp(15px,1.7cqw,30px);font-weight:400;letter-spacing:.14em;color:#cfcfcf;overflow:hidden;text-overflow:ellipsis;}
.gdp-c40-play .gdp-bar-actions{gap:clamp(10px,2.2cqw,44px);align-items:center;}
.gdp-c40-stat{display:inline-flex;align-items:baseline;gap:10px;}
.gdp-c40-stat .gdp-label{font-family:var(--gdp-font);font-size:clamp(12px,1.15cqw,19px);letter-spacing:.18em;color:#bdbdbd;}
.gdp-c40-stat b{font-family:var(--gdp-font);font-size:clamp(26px,2.9cqw,50px);font-weight:600;line-height:1;font-variant-numeric:tabular-nums;color:#fff;}
.gdp-c40-stat.is-out b{min-width:2.5em;}
.gdp-c40-stat.is-points b{color:#ffd451;min-width:1.2em;}
.gdp-c40-play.is-unsaved .js-c40-spoints::after{content:"";display:inline-block;width:7px;height:7px;margin-left:5px;border-radius:50%;background:var(--gdp-accent);vertical-align:super;animation:c40Blink 1.2s ease-in-out infinite;}
@keyframes c40Blink{50%{opacity:.25;}}
.gdp-c40-roundbtn{
  width:clamp(42px,3.8cqw,64px);height:clamp(42px,3.8cqw,64px);border-radius:50%;font-size:clamp(15px,1.3cqw,22px);
  border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.03);color:#e8e8e8;
}
.gdp-c40-roundbtn:hover{border-color:rgba(255,255,255,.5);color:#fff;}
.gdp-c40-roundbtn.is-end:hover{border-color:rgba(255,107,98,.6);color:#ffb3ae;}

/* ---------- the stage ---------- */
/* Registered as lengths so they are worked out once where they are set
   (the stage, the route) and passed down as sizes. Unregistered, a
   container unit in them would be read against the nearest container
   wherever they are used, and the ring shrank inside the hero. */
@property --ring{syntax:"<length>";inherits:true;initial-value:320px;}
@property --rf{syntax:"<length>";inherits:true;initial-value:40px;}
.gdp-c40-stage{
  --ring:clamp(240px,min(38cqw,54vh),760px);
  flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(20px,4cqw,90px);align-items:center;
  width:100%;max-width:calc(var(--ring) * 3.2);margin:0 auto;
}
.gdp-c40-hero{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:clamp(10px,1.8vh,22px);width:100%;container-type:inline-size;container-name:c40hero;}

/* The ring: the game's outs round the number, the one in play amber. */
.gdp-c40-ringbox{position:relative;width:var(--ring);height:var(--ring);flex:0 0 auto;}
.gdp-c40-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.gdp-c40-ring .track{fill:none;stroke:rgba(255,255,255,.025);stroke-width:16;}
.gdp-c40-ring path{fill:none;stroke-width:8;stroke:rgba(255,255,255,.09);transition:stroke .35s;}
.gdp-c40-ring path.is-todo{stroke-width:4;stroke:rgba(255,255,255,.12);}
.gdp-c40-ring path.is-p3{stroke:#ffd451;filter:drop-shadow(0 0 3px rgba(255,212,81,.55));}
.gdp-c40-ring path.is-p2{stroke:#3ddc84;}
.gdp-c40-ring path.is-p1{stroke:#2fb3a8;}
.gdp-c40-ring path.is-miss{stroke:#b23a33;}
.gdp-c40-ring path.is-now{stroke:var(--gdp-accent);stroke-width:11;filter:drop-shadow(0 0 5px rgba(255,164,0,.9));animation:c40Now 1.6s ease-in-out infinite;}
.gdp-c40-ring path.fx-pop{animation:c40RingPop .55s cubic-bezier(.2,1.6,.4,1);}
@keyframes c40Now{50%{opacity:.5;}}
@keyframes c40RingPop{0%{stroke-width:16;}100%{stroke-width:8;}}
.gdp-c40-core{
  position:absolute;inset:9%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.06),rgba(8,9,12,.92) 62%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),inset 0 -30px 60px rgba(0,0,0,.45),0 30px 80px rgba(0,0,0,.55);
  transition:box-shadow .4s;z-index:1;
}
.gdp-c40-hero.is-caught .gdp-c40-core{box-shadow:inset 0 0 0 1px rgba(61,220,132,.35),inset 0 0 60px rgba(61,220,132,.12),0 30px 80px rgba(0,0,0,.55);}
.gdp-c40-hero.is-missed .gdp-c40-core{box-shadow:inset 0 0 0 1px rgba(255,90,82,.35),inset 0 0 60px rgba(255,90,82,.1),0 30px 80px rgba(0,0,0,.55);}
.gdp-c40-eyebrow{font-family:var(--gdp-font);font-size:max(11px,calc(var(--ring) * .034));letter-spacing:.3em;text-transform:uppercase;color:#bdbdbd;min-height:1.2em;}
.gdp-c40-numrow{position:relative;}
.gdp-c40-num{
  font-family:var(--gdp-font);font-weight:600;font-size:calc(var(--ring) * .40);line-height:.9;letter-spacing:-.01em;color:#fff;
  font-variant-numeric:tabular-nums;text-shadow:0 0 40px rgba(255,255,255,.18),0 8px 40px rgba(0,0,0,.8);
}
.gdp-c40-num.is-in{animation:c40NumIn .45s cubic-bezier(.2,1.2,.4,1);}
.gdp-c40-num.is-in-down{animation:c40NumDown .3s ease-out;}
@keyframes c40NumIn{from{opacity:0;transform:translateY(20px) scale(.92);}to{opacity:1;transform:none;}}
@keyframes c40NumDown{from{opacity:.3;transform:translateY(-10px);}to{opacity:1;transform:none;}}
.gdp-c40-num.fx-catch{animation:c40Catch .65s ease-out;}
.gdp-c40-num.fx-gold{animation:c40Gold .9s ease-out;}
.gdp-c40-num.fx-miss{animation:c40Miss .45s ease-out;}
@keyframes c40Catch{30%{color:var(--gdp-win);transform:scale(1.08);text-shadow:0 0 50px rgba(61,220,132,.7);}}
@keyframes c40Gold{30%{color:#ffd451;transform:scale(1.12);text-shadow:0 0 70px rgba(255,212,81,.85);}}
@keyframes c40Miss{20%,60%{transform:translateX(-8px);color:#ff8a83;}40%,80%{transform:translateX(8px);}}
.gdp-c40-hero.is-left .gdp-c40-eyebrow,.gdp-c40-hero.is-wait .gdp-c40-eyebrow{color:var(--gdp-accent);}
.gdp-c40-hero.is-caught .gdp-c40-num,.gdp-c40-hero.is-caught .gdp-c40-eyebrow{color:var(--gdp-win);}
/* After a miss the number is the score left (rev 9), so it is not struck through. */
.gdp-c40-hero.is-missed .gdp-c40-num{color:#ff8a83;}
.gdp-c40-hero.is-missed .gdp-c40-eyebrow{color:#ff8a83;}
.gdp-c40-hero.is-wait .gdp-c40-num{color:#cfcfcf;}
.gdp-c40-sub{min-height:1.3em;margin-top:.5em;max-width:78%;font-family:var(--gdp-font);font-size:max(13px,calc(var(--ring) * .036));letter-spacing:.06em;text-transform:uppercase;color:#d8d8d8;}
.gdp-c40-sub:empty{visibility:hidden;}
.gdp-c40-hero.is-caught .gdp-c40-sub{color:#c9f7dc;}
.gdp-c40-hero.is-missed .gdp-c40-sub{color:#ffb0aa;}
.gdp-c40-delta{
  position:absolute;left:100%;top:0;margin-left:.1em;opacity:0;pointer-events:none;white-space:nowrap;
  font-family:var(--gdp-font);font-size:calc(var(--ring) * .09);font-weight:600;color:var(--gdp-win);text-shadow:0 0 24px rgba(61,220,132,.6);
}
.gdp-c40-delta.is-p3{color:#ffd451;text-shadow:0 0 30px rgba(255,212,81,.8);}
.gdp-c40-delta.is-p1{color:#5fd9cd;}
.gdp-c40-delta.is-p0{color:#ff8a83;text-shadow:none;}
.gdp-c40-delta.is-on{animation:c40Delta 1.1s ease-out;}
@keyframes c40Delta{0%{opacity:0;transform:translate(0,10px) scale(.8);}20%{opacity:1;transform:translate(6px,-6px) scale(1);}100%{opacity:0;transform:translate(16px,-50px);}}

/* The route under the ring: the next dart lit. */
/* Read from the oche (owner: a tablet on the wall, 2.5 m away): the
   route is the second largest thing on the screen. Its size follows the
   ring and is capped by the column, so three darts always fit. */
.gdp-c40-route{--rf:max(30px,min(calc(var(--ring) * .17),11.2cqi));display:flex;justify-content:center;align-items:center;min-height:calc(var(--rf) * 1.5);}
.gdp-c40-route-chips{display:flex;gap:calc(var(--rf) * .2);}
.gdp-c40-chip{
  position:relative;min-width:2.3em;padding:.16em .34em;border-radius:.2em;text-align:center;
  font-family:var(--gdp-font);font-size:var(--rf);font-weight:600;line-height:1;letter-spacing:.01em;
  background:rgba(10,11,14,.88);border:2px solid rgba(255,255,255,.22);color:#fff;
  animation:c40Chip .35s cubic-bezier(.2,1.2,.4,1) both;animation-delay:calc(var(--i,0) * 70ms);
}
.gdp-c40-chip.is-d{color:#ffd451;border-color:rgba(255,212,81,.5);}
.gdp-c40-chip.is-next{border:3px solid var(--gdp-accent);box-shadow:0 0 28px rgba(255,164,0,.35);}
@keyframes c40Chip{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
.gdp-c40-route.fx-change .gdp-c40-chip{animation:c40Chip .35s cubic-bezier(.2,1.2,.4,1) both;}
.gdp-c40-route-msg,.gdp-c40-route-hidden{font-family:var(--gdp-font);font-size:max(16px,calc(var(--rf) * .45));letter-spacing:.1em;text-transform:uppercase;color:#bdbdbd;}
.gdp-c40-route-hidden .fa-solid{color:var(--gdp-accent);margin-right:6px;}

/* The best game, as a pill (as TONS). */
.gdp-c40-ghost{
  display:inline-flex;align-items:center;gap:10px;margin:0;padding:.5em 1.15em;border-radius:999px;
  font-family:var(--gdp-font);font-size:clamp(15px,calc(var(--ring) * .038),26px);letter-spacing:.03em;color:#e8e8e8;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.16);
}
.gdp-c40-ghost[hidden]{display:none;}
.gdp-c40-ghost .fa-ghost{color:#bdbdbd;}
.gdp-c40-ghost.is-ahead{color:#bff3d6;background:rgba(61,220,132,.08);border-color:rgba(61,220,132,.4);}
.gdp-c40-ghost.is-ahead .fa-ghost{color:#3ddc84;}
.gdp-c40-ghost.is-behind{color:#ffc9c5;background:rgba(255,90,82,.07);border-color:rgba(255,90,82,.35);}
.gdp-c40-ghost.is-behind .fa-ghost{color:#ff8a83;}

/* Three figures. */
.gdp-c40-figs{display:flex;justify-content:center;gap:clamp(24px,4cqw,80px);margin-top:clamp(4px,1vh,14px);}
.gdp-c40-figs > div{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:4.2em;}
.gdp-c40-figs b{font-family:var(--gdp-font);font-size:clamp(24px,calc(var(--ring) * .07),52px);font-weight:600;line-height:1;color:#fff;font-variant-numeric:tabular-nums;}
.gdp-c40-figs b small{font-size:.5em;font-weight:500;color:#bdbdbd;margin-left:1px;}
.gdp-c40-figs span{font-family:var(--gdp-font);font-size:clamp(11px,calc(var(--ring) * .028),18px);letter-spacing:.16em;text-transform:uppercase;color:#bdbdbd;white-space:nowrap;}

/* The burst behind the number. */
.gdp-c40-burst{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;z-index:0;}
.gdp-c40-burst > i{position:absolute;left:0;top:0;opacity:0;}
.gdp-c40-glow{width:120%;width:calc(var(--ring) * 1.05);height:calc(var(--ring) * 1.05);margin:calc(var(--ring) * -.525) 0 0 calc(var(--ring) * -.525);border-radius:50%;background:radial-gradient(circle,rgba(61,220,132,.45),rgba(61,220,132,0) 65%);}
.gdp-c40-ringfx{width:calc(var(--ring) * .8);height:calc(var(--ring) * .8);margin:calc(var(--ring) * -.4) 0 0 calc(var(--ring) * -.4);border-radius:50%;border:3px solid rgba(61,220,132,.8);}
.gdp-c40-spark{width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:var(--gdp-win);box-shadow:0 0 10px var(--gdp-win);}
.gdp-c40-burst.is-p3 .gdp-c40-glow{background:radial-gradient(circle,rgba(255,212,81,.55),rgba(255,212,81,0) 65%);}
.gdp-c40-burst.is-p3 .gdp-c40-ringfx{border-color:rgba(255,212,81,.9);}
.gdp-c40-burst.is-p3 .gdp-c40-spark{background:#ffd451;box-shadow:0 0 12px #ffd451;}
.gdp-c40-burst.is-p1 .gdp-c40-glow{background:radial-gradient(circle,rgba(47,179,168,.45),rgba(47,179,168,0) 65%);}
.gdp-c40-burst.is-p1 .gdp-c40-ringfx{border-color:rgba(47,179,168,.8);}
.gdp-c40-burst.is-p1 .gdp-c40-spark{background:#5fd9cd;box-shadow:0 0 10px #5fd9cd;}
.gdp-c40-burst.is-on .gdp-c40-glow{animation:c40Glow 1s ease-out both;}
.gdp-c40-burst.is-on .gdp-c40-ringfx{animation:c40Ring .9s ease-out both;}
.gdp-c40-burst.is-on .gdp-c40-ringfx.is-2{animation-delay:.18s;}
.gdp-c40-burst.is-on .gdp-c40-spark{animation:c40Spark .9s cubic-bezier(.15,.8,.3,1) both;animation-delay:var(--t,0s);}
@keyframes c40Glow{0%{opacity:0;transform:scale(.4);}30%{opacity:1;}100%{opacity:0;transform:scale(1.2);}}
@keyframes c40Ring{0%{opacity:.9;transform:scale(.6);}100%{opacity:0;transform:scale(1.5);}}
@keyframes c40Spark{0%{opacity:1;transform:rotate(var(--a)) translateX(0);}100%{opacity:0;transform:rotate(var(--a)) translateX(var(--d));}}
.gdp .gdp-wrap.js-c40-wrap.fx-miss::after{
  content:"";position:absolute;inset:0;border-radius:var(--gdp-radius);pointer-events:none;z-index:5;
  box-shadow:inset 0 0 120px rgba(255,60,50,.35);animation:c40Flush .9s ease-out both;
}
@keyframes c40Flush{0%{opacity:0;}20%{opacity:1;}100%{opacity:0;}}

/* ---------- the controls ---------- */
.gdp-c40-controls{display:flex;flex-direction:column;gap:clamp(10px,1.6vh,20px);}
.gdp-c40-ctrlhead{font-family:var(--gdp-font);font-size:clamp(14px,calc(var(--ring) * .034),24px);letter-spacing:.2em;text-transform:uppercase;color:#cfcfcf;}
.gdp-c40-outs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.1cqw,18px);}
.gdp-c40-outbtn{
  --c:#ffd451;
  position:relative;min-height:clamp(96px,calc(var(--ring) * .34),260px);padding:10px 8px 12px;border-radius:clamp(12px,1.2cqw,20px);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(2px,.4vh,6px);
  font-family:var(--gdp-font);color:var(--c);
  background:linear-gradient(165deg,color-mix(in srgb,var(--c) 15%,rgba(16,18,22,.94)) 0%,rgba(10,11,14,.94) 75%);
  border:1px solid color-mix(in srgb,var(--c) 34%,transparent);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  transition:transform .1s,border-color .15s,box-shadow .2s,opacity .15s;
}
.gdp-c40-outbtn.is-d3{--c:#3ddc84;}
.gdp-c40-outbtn.is-d4,.gdp-c40-outbtn.is-d5,.gdp-c40-outbtn.is-d6{--c:#3ec4b8;}
.gdp-c40-outbtn.is-miss{--c:#ff6b62;}
.gdp-c40-outbtn b{font-size:clamp(40px,calc(var(--ring) * .14),110px);font-weight:600;line-height:.9;text-shadow:0 0 28px color-mix(in srgb,var(--c) 40%,transparent);}
.gdp-c40-outbtn.is-miss b{font-size:clamp(28px,calc(var(--ring) * .085),66px);letter-spacing:.06em;text-transform:uppercase;}
.gdp-c40-outlbl{font-size:clamp(11px,calc(var(--ring) * .026),17px);letter-spacing:.2em;text-transform:uppercase;color:#bdbdbd;}
.gdp-c40-outbtn small{
  margin-top:4px;padding:.15em .7em;border-radius:999px;font-size:clamp(13px,calc(var(--ring) * .032),22px);font-weight:600;letter-spacing:.04em;
  color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent);
}
.gdp-c40-outbtn kbd{position:absolute;top:8px;right:10px;font-family:var(--gdp-font);font-size:clamp(10px,.9cqw,14px);padding:0;background:none;box-shadow:none;color:#8a8a8a;}
.gdp-c40-outbtn:hover:not(:disabled){transform:translateY(-2px);border-color:color-mix(in srgb,var(--c) 70%,transparent);box-shadow:0 14px 36px rgba(0,0,0,.4),0 0 30px color-mix(in srgb,var(--c) 18%,transparent);}
.gdp-c40-outbtn:active:not(:disabled){transform:scale(.97);}
.gdp-c40-outbtn:disabled{opacity:.35;cursor:not-allowed;}
.gdp-c40-outbtn.is-no{opacity:.22;filter:grayscale(1);}
.gdp-c40-outbtn:focus-visible{outline:3px solid #fff;outline-offset:3px;}
.gdp-c40-undo{
  display:flex;align-items:center;justify-content:center;gap:10px;min-height:clamp(48px,calc(var(--ring) * .11),76px);padding:0 22px;border-radius:clamp(12px,1.2cqw,18px);cursor:pointer;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.16);color:#e0e0e0;
  font-family:var(--gdp-font);font-size:clamp(14px,calc(var(--ring) * .034),22px);letter-spacing:.16em;text-transform:uppercase;
}
.gdp-c40-undo kbd{font-family:var(--gdp-font);font-size:.7em;padding:1px 6px;border-radius:4px;background:rgba(255,255,255,.08);box-shadow:none;color:#bdbdbd;letter-spacing:0;}
.gdp-c40-undo:hover:not(:disabled){border-color:rgba(255,255,255,.4);color:#fff;}
.gdp-c40-undo:disabled{opacity:.3;cursor:default;}
.gdp-c40-undo:focus-visible{outline:2px solid var(--gdp-accent);outline-offset:2px;}

/* With a board: only the site's three dart boxes (owner, 12 Nov 2026).
   A tap on a box opens the site's correction for that dart. */
.gdp-c40-scolia.is-hidden{display:none;}
.gdp .gdp-wrap.js-c40-wrap.has-board .gdp-c40-outs,
.gdp .gdp-wrap.js-c40-wrap.has-board .gdp-c40-ctrlhead{display:none;}
.gdp-c40-scolia .dart-detail-container{padding-top:0;margin-bottom:0;}
.gdp-c40-scolia .dart-detail-wrapper{padding-left:6px;padding-right:6px;}
.gdp-c40-scolia .dart-detail{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:clamp(120px,calc(var(--ring) * .44),320px);padding:8px 4px;cursor:pointer;}
.gdp .gdp-c40-scolia .dart-detail .js-dart-detail-score{font-family:var(--gdp-font);font-size:clamp(40px,calc(var(--ring) * .13),100px);font-weight:600;line-height:1;}
.gdp .gdp-c40-scolia .dart-detail .js-dart-detail-hit{font-family:var(--gdp-font);font-size:clamp(17px,calc(var(--ring) * .045),32px);font-weight:500;letter-spacing:.04em;margin-top:6px;min-height:1.1em;color:#e6e6e6;}
.gdp-c40-scolia .js-dart-distance,.gdp-c40-scolia .js-hide-autotrack-darts{display:none !important;}
.gdp .gdp-c40-scolia .dart-detail.gdp-c40-box-bust{border-color:var(--gdp-bust);background:rgba(120,32,28,.75);box-shadow:0 0 18px rgba(255,90,82,.3);}
.gdp-c40-boardinfo{margin-top:10px;text-align:center;font-family:var(--gdp-font);font-size:clamp(14px,calc(var(--ring) * .032),22px);letter-spacing:.06em;text-transform:uppercase;color:var(--gdp-muted);}
.gdp-c40-boardinfo.is-out{color:var(--gdp-win);}
.gdp-c40-boardinfo.is-bust{color:#ff8a83;}
.gdp-c40-boardinfo.is-wait{color:var(--gdp-accent);}

/* ---------- one column: tablets upright and phones ---------- */
@container c40play (max-width: 860px){
  .gdp-c40-stage{--ring:clamp(200px,min(70cqw,34svh),520px);grid-template-columns:1fr;max-width:640px;gap:clamp(12px,2.2vh,28px);align-content:center;}
  .gdp-c40-hero{gap:clamp(8px,1.4vh,16px);}
  .gdp-c40-outbtn{min-height:clamp(70px,calc(var(--ring) * .28),150px);}
  .gdp-c40-ctrlhead{text-align:center;}
}
@container c40play (max-width: 560px){
  .gdp-c40-stage{--ring:clamp(180px,min(72cqw,34svh),330px);}
  .gdp-c40-play .gdp-c40-bar{flex-wrap:nowrap;gap:8px;}
  .gdp-c40-play .gdp-bar-actions{width:auto;margin-left:auto;flex-wrap:nowrap;}
  .gdp-c40-barname span{display:none;}
  .gdp-c40-barname b{font-size:19px;letter-spacing:.08em;}
  .gdp-c40-play .gdp-bar-actions{gap:12px;}
  .gdp-c40-stat{gap:5px;}
  .gdp-c40-stat .gdp-label{font-size:10px;letter-spacing:.12em;}
  .gdp-c40-stat b{font-size:22px;}
  .gdp-c40-roundbtn{width:38px;height:38px;font-size:14px;}
  .gdp-c40-figs{display:none;}
  .gdp-c40-ghost{font-size:13px;padding:5px 12px;}
  .gdp-c40-route{min-height:0;}
  .gdp-c40-ctrlhead{display:none;}
  .gdp-c40-outs{gap:7px;}
  .gdp-c40-outbtn{min-height:68px;padding:6px 4px 8px;gap:1px;}
  .gdp-c40-outbtn b{font-size:30px;}
  .gdp-c40-outbtn.is-miss b{font-size:21px;}
  .gdp-c40-outlbl{display:none;}
  .gdp-c40-outbtn small{font-size:12px;margin-top:3px;}
  .gdp-c40-outbtn kbd{display:none;}
  .gdp-c40-undo{min-height:46px;font-size:13px;}
  .gdp-c40-undo kbd{display:none;}
  .gdp-c40-scolia .dart-detail{min-height:96px;}
  .gdp .gdp-c40-scolia .dart-detail .js-dart-detail-score{font-size:38px;}
  .gdp .gdp-c40-scolia .dart-detail .js-dart-detail-hit{font-size:16px;}
}
@media(max-height:700px){
  @container c40play (min-width: 861px){ .gdp-c40-stage{--ring:clamp(180px,min(36cqw,48vh),560px);} }
}
@media(prefers-reduced-motion:reduce){
  .gdp-c40-ring path{transition:none;}
  .gdp-c40-outbtn{transition:none;}
}
/* The smallest phones: the bar keeps the figures and the buttons. */
@container c40play (max-width: 400px){
  .gdp-c40-play .gdp-c40-barname{display:none;}
  .gdp-c40-play .gdp-bar-actions{margin-left:0;width:100%;justify-content:space-between;}
}
/* The site's dart boxes come in a row capped at 600px (inline style in
   auto-track-correction.php). In Catch 40 they fill the column. */
.gdp-c40-scolia .dart-detail-container > .row{
  max-width:none !important;margin:0 !important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.1cqw,18px);
}
.gdp-c40-scolia .dart-detail-container > .row::before,.gdp-c40-scolia .dart-detail-container > .row::after{display:none;}
.gdp-c40-scolia .dart-detail-wrapper{width:auto !important;float:none !important;padding:0 !important;}
.gdp-c40-scolia .dart-detail{border-radius:clamp(12px,1.2cqw,20px);}
@container c40play (max-width: 560px){
  .gdp-c40-sub{font-size:11px;max-width:84%;}
}

/* The six darts of the checkout with a board (owner, 24 Nov 2026): two
   visits of three circles, centred above the dart boxes. */
.gdp-c40-d6{display:flex;justify-content:center;align-items:flex-start;gap:calc(var(--ring) * .085);margin:0 0 clamp(12px,2vh,24px);}
.gdp-c40-d6.is-hidden{display:none;}
.gdp-c40-d6g{display:flex;flex-direction:column;align-items:center;gap:clamp(6px,1vh,10px);opacity:.55;transition:opacity .25s;}
.gdp-c40-d6g.is-on{opacity:1;}
.gdp-c40-d6g.is-off{opacity:.25;}
.gdp-c40-d6dots{display:flex;gap:calc(var(--ring) * .028);}
.gdp-c40-d6dots i{
  width:clamp(24px,calc(var(--ring) * .068),52px);height:clamp(24px,calc(var(--ring) * .068),52px);border-radius:50%;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.26);background:transparent;
  transition:background .2s,box-shadow .2s,transform .2s;
}
.gdp-c40-d6dots i.is-next{box-shadow:inset 0 0 0 3px var(--gdp-accent),0 0 18px rgba(255,164,0,.45);animation:c40D6Next 1.4s ease-in-out infinite;}
.gdp-c40-d6dots i.is-thrown{background:#f2f2f2;box-shadow:0 0 16px rgba(255,255,255,.35);animation:c40D6Fill .35s cubic-bezier(.2,1.6,.4,1);}
.gdp-c40-d6dots i.is-hit{background:#3ddc84;box-shadow:0 0 20px rgba(61,220,132,.6);}
.gdp-c40-d6dots i.is-bust{background:#ff5a52;box-shadow:0 0 18px rgba(255,90,82,.5);}
.gdp-c40-d6dots i.is-void{background:rgba(255,90,82,.12);box-shadow:inset 0 0 0 2px rgba(255,90,82,.45);}
@keyframes c40D6Next{50%{box-shadow:inset 0 0 0 3px rgba(255,164,0,.45),0 0 4px rgba(255,164,0,.1);}}
@keyframes c40D6Fill{from{transform:scale(.4);}to{transform:none;}}
.gdp-c40-d6g em{font-style:normal;font-family:var(--gdp-font);font-size:clamp(11px,calc(var(--ring) * .028),18px);letter-spacing:.18em;text-transform:uppercase;color:#bdbdbd;}
.gdp-c40-d6g.is-on em{color:var(--gdp-accent);}
@container c40play (max-width: 560px){
  .gdp-c40-d6{gap:22px;margin-bottom:10px;}
  .gdp-c40-d6dots{gap:8px;}
  .gdp-c40-d6dots i{width:24px;height:24px;}
  .gdp-c40-d6g em{font-size:10px;}
}
@media(prefers-reduced-motion:reduce){ .gdp-c40-d6dots i{animation:none !important;transition:none;} }

/* How to play, short (rev 8): three numbered lines, the point boxes under
   the third. The boxes read "3p" to "0p". */
.gdp-c40-rulelist.is-short{display:flex;flex-direction:column;gap:12px;margin:4px 0 14px;font-size:15px;line-height:1.45;}
.gdp-c40-rulelist.is-short > li{font-size:15px;font-weight:400;color:#ececec;margin:0;}
.gdp-c40-rulelist.is-short .gdp-c40-scoring li{font-weight:400;line-height:1.25;margin:0;color:inherit;}
.gdp-c40-rulelist.is-short .gdp-c40-scoring li::marker{content:none;}
.gdp-c40-rulelist.is-short .gdp-c40-scoring{margin:12px 0 0;}
.gdp-c40-scoring b{width:auto;min-width:56px;padding:0 10px;}
@media(max-width:560px){
  .gdp-c40-rulelist.is-short .gdp-c40-scoring{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
  .gdp-c40-rulelist.is-short .gdp-c40-scoring li{flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:5px;padding:8px 3px;}
  .gdp-c40-scoring b{min-width:0;width:100%;max-width:48px;height:36px;padding:0;font-size:20px;}
  .gdp-c40-rulelist.is-short .gdp-c40-scoring span{font-size:10.5px;}
}
