/* =====================================================================
   GoDartsPro : Hubbe (app 18)                                    v2.0.0
   /wp-content/themes/dart/assets/css/gdp-game-hubbe.css

   Hubbe's own look on the shared gdp- system. Hubbe comes from Sweden,
   so the accent is the flag's yellow on a deep Nordic blue, and the
   Nordic cross is the game's mark: on the title, on the medals and in
   the background. The four scores keep one colour each everywhere:
     5  yellow   checked out
     3  blue     a shot at the double
     1  ice      a double left
     0  slate    nothing
   ===================================================================== */

.gdp.gdp-hb{
  --gdp-accent:#fecc02; --gdp-accent-ink:#06182f;
  --gdp-divider:rgba(254,204,2,.42);
  --hb-navy:#06142a; --hb-blue:#0b5ea8; --hb-sky:#3ea2ff; --hb-ice:#cfe4ff; --hb-slate:#4a5566;
  --hb-p5:#fecc02; --hb-p3:#3ea2ff; --hb-p1:#cfe4ff; --hb-p0:#3a4352;
  background:#030912;
}

/* ---------- the ground ----------
   The theme's .container-main-graphic loads after gdp-game.css at the
   same specificity, so the layers are restated one step more specific. */
.gdp.gdp-hb .gdp-wrap.js-hb-wrap{
  --gdp-tint-hi:rgba(4,10,22,.68); --gdp-tint-lo:rgba(4,10,22,.58);
  background-color:#030912;
  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(3,9,18,0) 0, rgba(3,9,18,0) calc(var(--gdp-band) * .45),
      rgba(3,9,18,.55) calc(var(--gdp-band) * .74), rgba(3,9,18,.9) calc(var(--gdp-band) * .9), #030912 var(--gdp-band)),
    url('/wp-content/themes/dart/images/2026/2026-back-game-hubbe.webp');
  background-repeat:no-repeat;
  background-size:100% var(--gdp-band), 100% var(--gdp-band), 100% 100%, 100% auto;
  background-position:top center;
  border-color:rgba(254,204,2,.28);
}
.gdp.gdp-hb .gdp-wrap.js-hb-wrap.is-playing{ --gdp-tint-hi:rgba(4,10,22,.66); --gdp-tint-lo:rgba(4,10,22,.58); --gdp-divider:rgba(254,204,2,.16); }
/* The flag fills the whole frame on every screen (rev 10 in play, rev 11
   on the start and result screens, owner: it faded to black too soon),
   under a light tint and a soft dark edge at the foot, so the flag shows
   behind the game and the figures stay easy to read. */
.gdp.gdp-hb .gdp-wrap.js-hb-wrap{
  background-image:
    linear-gradient(-18deg, transparent 0 45.35%, var(--gdp-divider) 45.35% 45.7%, transparent 45.7%),
    linear-gradient(to bottom, rgba(3,9,18,0) 0 62%, rgba(3,9,18,.55) 100%),
    linear-gradient(-18deg, var(--gdp-tint-hi) 0 45.7%, var(--gdp-tint-lo) 45.7%),
    url('/wp-content/themes/dart/images/2026/2026-back-game-hubbe.webp');
  background-size:100% 100%, 100% 100%, 100% 100%, cover;
  background-position:center, center, center, 30% center;
}
@media (max-width:900px){
  .gdp.gdp-hb .gdp-wrap.js-hb-wrap{
    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(3,9,18,0) 0, rgba(3,9,18,0) calc(var(--gdp-band) * .45),
        rgba(3,9,18,.55) calc(var(--gdp-band) * .74), rgba(3,9,18,.9) calc(var(--gdp-band) * .9), #030912 var(--gdp-band)),
      url('/wp-content/themes/dart/images/2026/2026-back-game-hubbe-mobile.webp');
  }
}

.gdp-hb .gdp-hint, .gdp-hb .gdp-hb-note{font-family:var(--gdp-font-note);font-size:12.5px;color:#9fb0c6;line-height:1.5;margin:6px 0 0;}
.gdp-hb .gdp-teaser{border-color:var(--gdp-accent);background:rgba(6,20,42,.9);}
.gdp-hb .gdp-teaser a,
.gdp-hb .gdp-teaser a:link,
.gdp-hb .gdp-teaser a:visited{color:var(--gdp-accent-ink) !important;background:var(--gdp-accent);font-weight:600;
  padding:11px 22px;border-radius:10px;text-decoration:none !important;transition:background .15s, box-shadow .15s, transform .15s;}
.gdp-hb .gdp-teaser a:hover,
.gdp-hb .gdp-teaser a:focus-visible{color:var(--gdp-accent-ink) !important;background:#ffd93a;box-shadow:0 6px 18px rgba(254,204,2,.3);transform:translateY(-1px);}
.gdp-hb .gdp-teaser a:focus-visible{outline:2px solid #fff;outline-offset:3px;}
/* rev 14: the button text was yellow on yellow (dark ink now, also on hover and visited). */

/* ============================== SETUP ============================== */
.gdp-hb .gdp-screen-setup .gdp-card{background:rgba(6,18,38,.86);border-color:rgba(120,170,230,.18);}
.gdp-hb-title{font-size:64px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#fff;
  display:flex;align-items:center;gap:16px;margin-top:6px;line-height:.95;}
/* The Nordic cross, the game's mark. */
.gdp-hb-cross{flex:0 0 auto;width:52px;height:38px;border-radius:5px;background:
  linear-gradient(90deg, transparent 0 32%, var(--hb-p5) 32% 46%, transparent 46%),
  linear-gradient(180deg, transparent 0 41%, var(--hb-p5) 41% 59%, transparent 59%),
  linear-gradient(160deg, #1a73c9, #0a4c8f);
  box-shadow:0 0 0 1px rgba(255,255,255,.2), 0 6px 18px rgba(11,94,168,.45);}
.gdp-hb-lede{font-family:var(--gdp-font-note);font-size:15px;line-height:1.55;color:#d3deec;margin:12px 0 18px;max-width:520px;padding-right:40px;}

.gdp-hb-card{padding:16px 18px;margin:0 0 14px;}
.gdp-hb-card > .gdp-label{display:block;margin-bottom:10px;}
.gdp-hb-first{font-family:var(--gdp-font-note);font-size:14px;color:#d3deec;margin:0 0 12px;line-height:1.5;}
.gdp-hb-recs{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:8px;}
.gdp-hb-rec, .gdp-hb-rf{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:9px 10px;text-align:center;min-width:0;}
.gdp-hb-rec b, .gdp-hb-rf b{display:block;font-size:30px;font-weight:600;line-height:1.05;font-variant-numeric:tabular-nums;color:#fff;}
.gdp-hb-rec span, .gdp-hb-rf span{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#9fb0c6;margin-top:3px;}
.gdp-hb-rec.is-best{display:flex;align-items:center;gap:8px;justify-content:center;text-align:left;border-color:rgba(254,204,2,.35);background:rgba(254,204,2,.07);}
.gdp-hb-rec.is-best b{color:var(--hb-p5);font-size:36px;}
.gdp-hb-rec.is-best .gdp-hb-medal{width:34px;height:41px;flex:0 0 auto;}
.gdp-hb-rf .gdp-unit{font-size:.55em;color:#9fb0c6;margin-left:1px;}
.gdp-hb-goal{font-size:15px;color:#fff;margin:12px 0 4px;letter-spacing:.02em;}
.gdp-hb-goal i{color:var(--gdp-accent);margin-right:6px;}

.gdp-hb-spark{margin:12px 0 0;}
.gdp-hb-spark svg{display:block;width:100%;height:44px;}
.gdp-hb-spark .l{fill:none;stroke:var(--hb-sky);stroke-width:2;stroke-linejoin:round;}
.gdp-hb-spark .d{fill:var(--hb-p5);}
.gdp-hb-spark .g{stroke:rgba(254,204,2,.35);stroke-dasharray:3 4;}

.gdp-hb-ladder{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0 0;padding:0;}
.gdp-hb-ladder li{display:flex;align-items:center;gap:7px;padding:6px 8px;border-radius:9px;background:rgba(255,255,255,.03);opacity:.55;}
.gdp-hb-ladder li.is-got{opacity:1;background:rgba(254,204,2,.08);box-shadow:inset 0 0 0 1px rgba(254,204,2,.3);}
.gdp-hb-ladder .gdp-hb-medal{width:24px;height:29px;flex:0 0 auto;}
.gdp-hb-ladder b{font-size:13px;font-weight:500;display:block;line-height:1.1;}
.gdp-hb-ladder span{font-size:11px;color:#9fb0c6;display:block;}
.gdp-hb-ladder li > b, .gdp-hb-ladder li > span{min-width:0;}
.gdp-hb-ladder li{flex-direction:column;text-align:center;gap:3px;padding:8px 4px;}

.gdp-hb-settings{padding:0;}
.gdp-hb-settings summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:13px 18px;}
.gdp-hb-settings summary::-webkit-details-marker{display:none;}
.gdp-hb-settings summary i{color:#9fb0c6;}
.gdp-hb-settings[open] summary{border-bottom:1px solid rgba(255,255,255,.07);}
.gdp-hb-field{padding:12px 18px;}
.gdp-hb-field + .gdp-hb-field{border-top:1px solid rgba(255,255,255,.05);}
.gdp-hb-field > .gdp-label{display:block;margin-bottom:8px;}
.gdp-hb-darts select{max-width:100%;}
.gdp-hb-state.is-off{color:#9fb0c6;}

.gdp-hb-start{display:flex;align-items:center;gap:12px;margin:18px 0 6px;flex-wrap:wrap;}
.gdp-hb-startsum{display:flex;align-items:baseline;gap:8px;width:100%;}
.gdp-hb .gdp-hb-go{flex:1;}
.gdp-hb-startsum b{font-size:44px;font-weight:600;color:var(--gdp-accent);line-height:1;}
.gdp-hb-startsum span{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#d3deec;}
.gdp-hb .gdp-hb-go{background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;font-size:20px;padding:14px 30px;font-weight:500;letter-spacing:.04em;}
.gdp-hb .gdp-hb-go:hover{background:var(--gdp-go-hi);border-color:var(--gdp-go-hi);}
.gdp-hb .gdp-hb-sound{background:transparent;border-color:rgba(255,255,255,.25);color:#d3deec;}

.gdp-hb-resume{display:flex;align-items:center;gap:14px;padding:14px 16px;margin:0 0 14px;border-radius:12px;
  background:linear-gradient(120deg,rgba(11,94,168,.45),rgba(6,20,42,.9));border:1px solid rgba(254,204,2,.45);}
.gdp-hb-resume-i b{display:grid;place-items:center;width:58px;height:58px;border-radius:12px;background:rgba(254,204,2,.12);
  border:1px solid rgba(254,204,2,.5);font-size:24px;font-weight:600;color:var(--hb-p5);}
.gdp-hb-resume-t{flex:1;min-width:0;}
.gdp-hb-resume-t b{display:block;font-size:17px;}
.gdp-hb-resume-t span{font-family:var(--gdp-font-note);font-size:13.5px;color:#d3deec;}
.gdp-hb-resume-a{display:flex;flex-direction:column;align-items:flex-end;gap:4px;}
.gdp-hb-linkbtn{background:none;border:0;padding:3px 2px;font-family:var(--gdp-font);font-size:13px;letter-spacing:.06em;color:#d3deec;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.gdp-hb-linkbtn.is-danger{color:#ff8a83;}
.gdp-hb-linkbtn.is-confirm, .gdp-hb-endbtn.is-confirm{color:#fff;background:#b3261e;border-radius:7px;padding:5px 10px;text-decoration:none;}

/* The rules and the Top scores. */
.gdp-hb-intro h2{font-size:15px;letter-spacing:.2em;text-transform:uppercase;color:var(--gdp-accent);font-weight:500;margin:0 0 10px;}
.gdp-hb-rulep, .gdp-hb-example{font-family:var(--gdp-font-note);font-size:14px;line-height:1.55;color:#d3deec;margin:0 0 10px;}
.gdp-hb-example{font-size:13px;color:#b7c5d8;}
.gdp-hb-example b{color:#fff;}
.gdp-hb-scoring{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:6px;}
.gdp-hb-scoring li{display:flex;align-items:center;gap:12px;font-family:var(--gdp-font-note);font-size:14px;color:#e6edf7;}
.gdp-hb-scoring b{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;font-family:var(--gdp-font);font-size:20px;font-weight:600;}
.gdp-hb-scoring .is-p5 b{background:var(--hb-p5);color:var(--gdp-accent-ink);}
.gdp-hb-scoring .is-p3 b{background:var(--hb-p3);color:#04203f;}
.gdp-hb-scoring .is-p1 b{background:var(--hb-p1);color:#0d2340;}
.gdp-hb-scoring .is-p0 b{background:var(--hb-p0);color:#c9d3df;}
.gdp-hb-tbwrap{margin-top:22px;padding:16px;border-radius:12px;background:rgba(6,18,38,.82);border:1px solid rgba(120,170,230,.18);}
.gdp-hb-tb{list-style:none;margin:0;padding:0;}
.gdp-hb-tb.is-me{margin-top:6px;padding-top:6px;border-top:1px dashed rgba(255,255,255,.15);}
.gdp-hb-tbr{display:grid;grid-template-columns:26px 26px minmax(0,1fr) 22px 40px;align-items:center;gap:8px;padding:6px 6px;border-radius:8px;font-size:15px;}
.gdp-hb-tbr:nth-child(odd){background:rgba(255,255,255,.03);}
.gdp-hb-tbr .rk{color:#9fb0c6;text-align:right;font-variant-numeric:tabular-nums;}
.gdp-hb-tbr.is-top .rk{color:var(--hb-p5);}
.gdp-hb-tbr .fl{display:flex;align-items:center;justify-content:center;}
.gdp-hb-tbr .fl > *, .gdp-hb-tbr .fl img{display:block;margin:0;max-width:24px;height:auto;}
.gdp-hb-tbr .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.gdp-hb-tbr .md .gdp-hb-medal{width:18px;height:22px;display:block;}
.gdp-hb-tbr .sc{text-align:right;font-weight:600;font-variant-numeric:tabular-nums;}
.gdp-hb-tbr.is-me{background:rgba(254,204,2,.12) !important;box-shadow:inset 0 0 0 1px rgba(254,204,2,.4);}
.gdp-hb .gdp-hint.gdp-hb-origin{margin-top:30px;font-style:italic;}

/* ---------- the medal: a disc with the Nordic cross ---------- */
.gdp-hb-medal .rb{fill:#1a6fc4;}
.gdp-hb-medal .rb.is-2{fill:#fecc02;}
.gdp-hb-medal .rim{fill:#5d6b7d;}
.gdp-hb-medal .face{fill:#0e3d73;}
.gdp-hb-medal .cross{fill:rgba(254,204,2,.85);}
.gdp-hb-medal.is-bronze .rim{fill:#c27c45;}
.gdp-hb-medal.is-silver .rim{fill:#c9d3df;}
.gdp-hb-medal.is-gold .rim{fill:#ffd23f;}
.gdp-hb-medal.is-elite .rim{fill:#7fd7ff;}
.gdp-hb-medal.is-elite .face{fill:#0a2f5c;}
.gdp-hb-medal.is-none{opacity:.5;}
.gdp-hb-medal.is-none .cross{fill:rgba(255,255,255,.25);}

/* ============================== PLAY =============================== */
.gdp-hb .gdp-bar{margin-bottom:6px;}
.gdp-hb-stat{display:inline-flex;flex-direction:column;align-items:flex-end;margin-left:18px;}
.gdp-hb-stat b{font-size:22px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;min-width:2.2ch;text-align:right;}
.gdp-hb-stat.is-time b{min-width:4.6ch;}
.gdp-hb-play.is-unsaved .js-hb-darts::after, .js-hb-play.is-unsaved .js-hb-darts::after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#ffb020;margin-left:5px;vertical-align:super;}

.gdp-hb-stage{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;align-items:center;margin-top:4px;}
.gdp-hb-hero{position:relative;text-align:center;padding:4px 0 0;}
.gdp-hb-outbox{position:relative;display:inline-block;min-width:320px;padding:6px 26px 2px;}
.gdp-hb-eyebrow{font-size:14px;letter-spacing:.26em;}
.gdp-hb-out{font-size:172px;font-weight:600;line-height:.9;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.01em;
  text-shadow:0 0 38px rgba(62,162,255,.35), 0 4px 0 rgba(0,0,0,.4);}
.gdp-hb-out.is-in{animation:gdpHbIn .42s cubic-bezier(.2,.9,.3,1.2) both;}
.gdp-hb-out.is-old{position:absolute;left:0;right:0;top:20px;pointer-events:none;animation:gdpHbOut .6s ease-out forwards;}
.gdp-hb-out.is-old.was-p5{color:var(--hb-p5);}
.gdp-hb-out.is-old.was-p3{color:var(--hb-p3);}
.gdp-hb-out.is-old.was-p0{color:#6c7787;}
@keyframes gdpHbIn{from{transform:translateY(40px) scale(.92);opacity:0;}to{transform:none;opacity:1;}}
@keyframes gdpHbOut{to{transform:translateY(-70px) scale(.85);opacity:0;}}

.gdp-hb-left{display:inline-block;margin-top:2px;padding:4px 14px;border-radius:999px;font-size:22px;font-weight:500;letter-spacing:.04em;
  background:rgba(62,162,255,.16);color:#cfe4ff;border:1px solid rgba(62,162,255,.4);}
.gdp-hb-left.is-out{background:var(--hb-p5);color:var(--gdp-accent-ink);border-color:var(--hb-p5);}
.gdp-hb-left.is-bust{background:rgba(255,90,82,.16);color:#ffb4ae;border-color:rgba(255,90,82,.5);}

.gdp-hb-routewrap{margin-top:6px;min-height:44px;}
.gdp-hb-route{display:inline-flex;align-items:center;gap:8px;}
.gdp-hb-route > i{width:10px;height:2px;background:rgba(255,255,255,.25);}
.gdp-hb-rd{display:inline-grid;place-items:center;min-width:64px;height:42px;padding:0 10px;border-radius:9px;font-size:24px;font-weight:600;letter-spacing:.03em;
  background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.18);}
.gdp-hb-rd.is-t{background:rgba(62,162,255,.18);border-color:rgba(62,162,255,.55);color:#d7ebff;}
.gdp-hb-rd.is-d{background:rgba(254,204,2,.16);border-color:rgba(254,204,2,.7);color:#ffe680;}
.gdp-hb-route-none{font-size:15px;color:#9fb0c6;letter-spacing:.06em;}
.gdp-hb-vchip{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:999px;font-size:20px;letter-spacing:.04em;}
.gdp-hb-vchip b{font-size:26px;}
.gdp-hb-vchip.is-p5{background:var(--hb-p5);color:var(--gdp-accent-ink);}
.gdp-hb-vchip.is-p3{background:var(--hb-p3);color:#04203f;}
.gdp-hb-vchip.is-p1{background:var(--hb-p1);color:#0d2340;}
.gdp-hb-vchip.is-p0{background:var(--hb-p0);color:#dbe3ee;}
.gdp-hb-members{margin-top:10px;font-family:var(--gdp-font-note);font-size:13px;color:#9fb0c6;}
.gdp-hb-members.is-hard{color:#ffb4ae;}
.gdp-hb-side{position:absolute;right:0;top:44px;text-align:center;opacity:.75;}
.gdp-hb-side span{display:block;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#9fb0c6;}
.gdp-hb-side b{font-size:36px;font-weight:500;color:#cfe4ff;}

/* The four scores. */
.gdp-hb-pts{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.gdp-hb-pbtn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:104px;width:100%;
  border-radius:14px;border:1px solid transparent;cursor:pointer;font-family:var(--gdp-font);padding:8px 6px;transition:transform .08s, filter .15s;}
.gdp-hb-pbtn b{font-size:48px;font-weight:600;line-height:1;}
.gdp-hb-pbtn .gdp-hb-pl, .gdp-hb-pbtn .gdp-hb-pn{font-size:14px;letter-spacing:.08em;text-transform:uppercase;}
.gdp-hb-pbtn kbd{position:absolute;top:7px;right:9px;font-family:var(--gdp-font);font-size:11px;padding:1px 6px;border-radius:5px;background:rgba(0,0,0,.18);color:inherit;opacity:.7;box-shadow:none;}
.gdp-hb-pbtn:hover:not(:disabled){filter:brightness(1.08);}
.gdp-hb-pbtn:active:not(:disabled){transform:scale(.97);}
.gdp-hb-pbtn:disabled{opacity:.45;cursor:default;}
.gdp-hb-pbtn.is-p5{background:linear-gradient(180deg,#ffd931,#f2bd00);color:var(--gdp-accent-ink);box-shadow:0 8px 22px rgba(254,204,2,.18);}
.gdp-hb-pbtn.is-p3{background:linear-gradient(180deg,#4fb0ff,#2a8ae6);color:#04203f;}
.gdp-hb-pbtn.is-p1{background:linear-gradient(180deg,#e3efff,#bcd5f3);color:#0d2340;}
.gdp-hb-pbtn.is-p0{background:rgba(58,67,82,.8);color:#dbe3ee;border-color:rgba(255,255,255,.12);}
.gdp-hb-pbtn:focus-visible{outline:3px solid #fff;outline-offset:2px;}

.gdp-hb-actions{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:10px;}
.gdp-hb-register{display:none;align-items:center;justify-content:center;gap:10px;height:50px;border-radius:12px;border:0;cursor:pointer;
  background:var(--gdp-go);color:#fff;font-family:var(--gdp-font);font-size:18px;letter-spacing:.06em;}
.gdp-hb-register:disabled{opacity:.4;cursor:default;}
.gdp-hb-register kbd, .gdp-hb-undo kbd{font-family:var(--gdp-font);font-size:11px;background:rgba(0,0,0,.25);padding:1px 6px;border-radius:5px;box-shadow:none;color:inherit;}
.gdp-hb-undo{height:50px;padding:0 20px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);color:#d3deec;
  font-family:var(--gdp-font);font-size:16px;letter-spacing:.06em;cursor:pointer;grid-column:2;}
.gdp-hb-undo:disabled{opacity:.35;cursor:default;}
.gdp-hb:not(.x) .js-hb-wrap:not(.has-board) .gdp-hb-actions{grid-template-columns:1fr;}
.gdp-hb .js-hb-wrap:not(.has-board) .gdp-hb-undo{grid-column:1;justify-self:center;}
.gdp-hb .has-board .gdp-hb-register{display:flex;}
.gdp-hb .has-board:not(.show-manual) .gdp-hb-pts{display:none;}
.gdp-hb-manualtoggle{display:block;margin:10px auto 0;background:none;border:1px dashed rgba(255,255,255,.25);border-radius:999px;color:#b7c5d8;
  padding:6px 14px;font-family:var(--gdp-font);font-size:13px;letter-spacing:.08em;cursor:pointer;}
.gdp-hb-manualtoggle[aria-pressed="true"]{border-style:solid;color:#fff;}
.gdp-hb-manualtoggle.is-hidden{display:none;}

/* The site's dart boxes, readable from the oche. */
.gdp-hb .gdp-hb-scolia .dart-detail-container{padding-top:0;}
.gdp-hb .gdp-hb-scolia .dart-detail{background:rgba(6,20,42,.92);border-color:rgba(62,162,255,.65);min-height:112px;}
.gdp-hb .gdp-hb-scolia .js-dart-detail-score{color:#fff !important;font-size:44px !important;font-family:var(--gdp-font) !important;line-height:1.1;}
.gdp-hb .gdp-hb-scolia .js-dart-detail-hit{color:#9fc8f2 !important;font-size:20px !important;font-family:var(--gdp-font) !important;}
.gdp-hb .gdp-hb-box-dbl .dart-detail, .gdp-hb .gdp-hb-box-dbl.dart-detail{border-color:var(--hb-p5);box-shadow:0 0 22px rgba(254,204,2,.45);}
.gdp-hb .gdp-hb-box-dbl .js-dart-detail-score{color:var(--hb-p5) !important;}
.gdp-hb .gdp-hb-box-miss .dart-detail, .gdp-hb .gdp-hb-box-miss.dart-detail{opacity:.7;}

/* The medal in reach and the ghost. */
.gdp-hb-medalbar{margin-top:14px;}
.gdp-hb-mb-track{position:relative;height:10px;border-radius:5px;background:rgba(255,255,255,.08);overflow:visible;}
.gdp-hb-mb-track em{position:absolute;left:0;top:0;bottom:0;border-radius:5px;background:linear-gradient(90deg,#1a6fc4,#3ea2ff 60%,#fecc02);transition:width .5s;}
.gdp-hb-mb-track .t{position:absolute;top:-4px;width:2px;height:18px;margin-left:-1px;background:rgba(255,255,255,.35);}
.gdp-hb-mb-track .t.is-got{background:var(--hb-p5);}
.gdp-hb-mb-line{display:flex;align-items:center;gap:8px;margin-top:7px;font-size:15px;color:#d3deec;letter-spacing:.02em;}
.gdp-hb-mb-line .gdp-hb-medal{width:20px;height:24px;}
.gdp-hb-ghost{margin-top:8px;font-size:15px;color:#b7c5d8;letter-spacing:.02em;}
.gdp-hb-ghost i{margin-right:5px;opacity:.75;}
.gdp-hb-ghost em{font-style:normal;color:#7f90a6;margin-left:6px;font-size:13px;}
.gdp-hb-ghost.is-ahead{color:#7ee2a8;}
.gdp-hb-ghost.is-behind{color:#ffb4ae;}

/* The 30 outs: three rows of ten, like the parts of the game. */
.gdp-hb-grid{margin-top:12px;display:grid;gap:6px;}
.gdp-hb-gridrow{display:grid;grid-template-columns:74px minmax(0,1fr) 44px;align-items:center;gap:10px;}
.gdp-hb-gridlab{font-size:12px;letter-spacing:.12em;color:#7f90a6;text-align:right;}
.gdp-hb-gridrow ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;}
.gdp-hb-gridsum{font-size:22px;font-weight:600;color:#fff;text-align:left;font-variant-numeric:tabular-nums;}
.gdp-hb-cell{position:relative;height:40px;border-radius:8px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;transition:background .25s;}
.gdp-hb-cell .o{font-size:12px;color:#7f90a6;font-variant-numeric:tabular-nums;}
.gdp-hb-cell .p{font-size:18px;font-weight:600;margin-top:2px;}
.gdp-hb-cell .p:empty{display:none;}
.gdp-hb-cell.is-p5{background:var(--hb-p5);border-color:var(--hb-p5);color:var(--gdp-accent-ink);}
.gdp-hb-cell.is-p3{background:var(--hb-p3);border-color:var(--hb-p3);color:#04203f;}
.gdp-hb-cell.is-p1{background:var(--hb-p1);border-color:var(--hb-p1);color:#0d2340;}
.gdp-hb-cell.is-p0{background:rgba(58,67,82,.55);color:#9fb0c6;}
.gdp-hb-cell.is-p5 .o, .gdp-hb-cell.is-p3 .o, .gdp-hb-cell.is-p1 .o{color:inherit;opacity:.7;}
.gdp-hb-cell.is-current{border:2px solid var(--hb-p5);box-shadow:0 0 0 3px rgba(254,204,2,.18), 0 0 18px rgba(254,204,2,.35);animation:gdpHbPulse 1.6s ease-in-out infinite;}
.gdp-hb-cell.is-current .o{color:#fff;font-size:14px;font-weight:500;}
@keyframes gdpHbPulse{50%{box-shadow:0 0 0 5px rgba(254,204,2,.08), 0 0 26px rgba(254,204,2,.5);}}

/* Celebrations. */
.gdp-hb-burst{position:absolute;left:50%;top:55%;width:0;height:0;pointer-events:none;z-index:0;}
.gdp-hb-outbox > .gdp-hb-out, .gdp-hb-outbox > .gdp-eyebrow, .gdp-hb-outbox > .gdp-hb-left{position:relative;z-index:1;}
.gdp-hb-glow{position:absolute;left:-150px;top:-150px;width:300px;height:300px;border-radius:50%;opacity:0;
  background:radial-gradient(circle,rgba(254,204,2,.45),rgba(254,204,2,0) 65%);}
.gdp-hb-burst.is-p3 .gdp-hb-glow{background:radial-gradient(circle,rgba(62,162,255,.45),rgba(62,162,255,0) 65%);}
.gdp-hb-ringfx{position:absolute;left:-60px;top:-60px;width:120px;height:120px;border-radius:50%;border:3px solid var(--hb-p5);opacity:0;}
.gdp-hb-burst.is-p3 .gdp-hb-ringfx{border-color:var(--hb-p3);}
.gdp-hb-spark{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:var(--hb-p5);opacity:0;}
.gdp-hb-spark.is-blue{background:var(--hb-sky);}
.gdp-hb-burst.is-p3 .gdp-hb-spark{background:var(--hb-sky);}
.gdp-hb-burst.is-on .gdp-hb-glow{animation:gdpHbGlow 1.1s ease-out both;}
.gdp-hb-burst.is-on .gdp-hb-ringfx{animation:gdpHbRing .9s ease-out both;}
.gdp-hb-burst.is-on .gdp-hb-ringfx.is-2{animation-delay:.15s;}
.gdp-hb-burst.is-on .gdp-hb-spark{animation:gdpHbSpark .9s cubic-bezier(.15,.7,.3,1) var(--t) both;}
@keyframes gdpHbGlow{20%{opacity:1;}to{opacity:0;transform:scale(1.4);}}
@keyframes gdpHbRing{0%{opacity:.9;transform:scale(.4);}to{opacity:0;transform:scale(2.6);}}
@keyframes gdpHbSpark{0%{opacity:1;transform:rotate(var(--a)) translateX(0);}to{opacity:0;transform:rotate(var(--a)) translateX(var(--d)) scale(.4);}}
.gdp-hb-outbox.fx-p0 .gdp-hb-out{animation:gdpHbShake .35s;}
@keyframes gdpHbShake{25%{transform:translateX(-6px);}75%{transform:translateX(6px);}}

/* Pause. */
.gdp-hb-overlay{position:absolute;inset:0;z-index:1190;display:grid;place-items:center;background:rgba(2,8,18,.82);backdrop-filter:blur(3px);border-radius:var(--gdp-radius);}
.gdp-hb-overlay-card{width:min(420px,92%);padding:24px;border-radius:14px;background:#081a33;border:1px solid rgba(254,204,2,.35);text-align:center;font-family:var(--gdp-font-note);color:#d3deec;}
.gdp-hb-overlay-card .gdp-eyebrow{font-size:16px;}
.gdp-hb-pausesum{font-family:var(--gdp-font);font-size:20px;color:#fff;}
.gdp-hb-endbox{margin:18px 0 10px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);}
.gdp-hb-endbtn{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.2);border-radius:9px;padding:9px 16px;color:#fff;font-family:var(--gdp-font);font-size:15px;cursor:pointer;}
.gdp-hb-endbox span{display:block;font-size:12.5px;margin-top:6px;color:#9fb0c6;}

/* ============================== RESULT ============================= */
/* The site slides a "To Performance Center" button down from the top
   edge after a game: the content starts below it. */
.gdp-hb-result{padding-top:44px;}
.gdp-hb-res-head{text-align:center;}
.gdp-hb-res-head.fx-in .gdp-hb-res-top{animation:gdpHbIn .5s ease-out both;}
.gdp-hb-res-top{display:flex;align-items:center;justify-content:center;gap:36px;margin:12px 0 8px;flex-wrap:wrap;}
.gdp-hb-res-medal{display:flex;align-items:center;gap:14px;text-align:left;}
.gdp-hb-res-medal .gdp-hb-medal.is-big{width:84px;height:101px;filter:drop-shadow(0 8px 20px rgba(0,0,0,.5));}
.gdp-hb-res-medal b{display:block;font-size:30px;font-weight:600;}
.gdp-hb-res-medal span{display:block;font-family:var(--gdp-font-note);font-size:14px;color:#b7c5d8;max-width:240px;}
.gdp-hb-res-endico{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:rgba(255,255,255,.06);font-size:28px;color:#9fb0c6;}
.gdp-hb-res-score{display:flex;align-items:baseline;gap:4px;}
.gdp-hb-res-score b{font-size:120px;font-weight:600;line-height:.9;color:var(--hb-p5);text-shadow:0 0 40px rgba(254,204,2,.3);font-variant-numeric:tabular-nums;}
.gdp-hb-res-head.is-ended .gdp-hb-res-score b{color:#fff;text-shadow:none;}
.gdp-hb-res-of{font-size:30px;color:#7f90a6;}
.gdp-hb-res-score em{font-style:normal;font-size:14px;letter-spacing:.2em;text-transform:uppercase;color:#9fb0c6;margin-left:8px;}
.gdp-hb-pb{display:inline-flex;align-items:center;gap:8px;margin:6px 0;padding:7px 16px;border-radius:999px;background:var(--hb-p5);color:var(--gdp-accent-ink);font-size:16px;letter-spacing:.04em;}
.gdp-hb-pb.is-soft{background:rgba(254,204,2,.14);color:#ffe680;}
.gdp-hb-res-line{font-family:var(--gdp-font-note);font-size:14px;color:#b7c5d8;margin:8px 0 0;}
.gdp-hb-res-line.is-left{text-align:left;}
.gdp-hb-res-kinds{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0 10px;}
.gdp-hb-kind{border-radius:12px;padding:12px 8px;text-align:center;}
.gdp-hb-kind b{display:block;font-size:40px;font-weight:600;line-height:1;}
.gdp-hb-kind span{display:block;font-size:13px;letter-spacing:.1em;text-transform:uppercase;margin-top:4px;}
.gdp-hb-kind em{display:block;font-style:normal;font-size:12px;opacity:.75;}
.gdp-hb-kind.is-p5{background:var(--hb-p5);color:var(--gdp-accent-ink);}
.gdp-hb-kind.is-p3{background:var(--hb-p3);color:#04203f;}
.gdp-hb-kind.is-p1{background:var(--hb-p1);color:#0d2340;}
.gdp-hb-kind.is-p0{background:rgba(58,67,82,.7);color:#dbe3ee;}
.gdp-hb-res-figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-bottom:18px;}
.gdp-hb-res-figs .gdp-hb-rf b{font-size:26px;}
.gdp-hb-grid.is-res{margin-top:8px;}
.gdp-hb-grid.is-res .gdp-hb-cell{height:42px;}
.gdp-hb-parts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;}
.gdp-hb-part{padding:12px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);}
.gdp-hb-part b{display:block;font-size:26px;font-weight:600;margin-top:6px;}
.gdp-hb-part small{display:block;font-family:var(--gdp-font-note);font-size:12px;color:#9fb0c6;}
.gdp-hb-pbar{position:relative;height:12px;border-radius:6px;background:rgba(255,255,255,.07);margin-top:8px;}
.gdp-hb-pbar .you{position:absolute;left:0;top:0;bottom:0;border-radius:6px;background:linear-gradient(90deg,#1a6fc4,#fecc02);}
.gdp-hb-pbar .mem, .gdp-hb-pbar .usu{position:absolute;top:-4px;width:3px;height:20px;margin-left:-1px;border-radius:2px;background:#fff;}
.gdp-hb-pbar .usu{background:#7ee2a8;}
.gdp-hb-legend{font-family:var(--gdp-font-note);font-size:12px;color:#9fb0c6;margin:8px 0 0;}
.gdp-hb-legend i{display:inline-block;width:12px;height:8px;border-radius:2px;margin:0 3px 0 10px;vertical-align:middle;}
.gdp-hb-legend i.you{background:linear-gradient(90deg,#1a6fc4,#fecc02);}
.gdp-hb-legend i.mem{background:#fff;width:3px;height:12px;}
.gdp-hb-legend i.usu{background:#7ee2a8;width:3px;height:12px;}
.gdp-hb-res-actions{display:flex;justify-content:center;gap:12px;margin:24px 0 6px;flex-wrap:wrap;}
.gdp-hb .gdp-hb-res-actions .gdp-btn-primary{background:var(--gdp-go);border-color:var(--gdp-go);color:#fff;font-size:18px;padding:12px 28px;}
.gdp-hb-save{text-align:center;font-size:14px;color:#9fb0c6;min-height:20px;}
.gdp-hb-save.is-ok{color:#7ee2a8;}
.gdp-hb-save.is-error{color:#ffb4ae;}
.gdp-hb-retry{margin-left:8px;background:none;border:1px solid currentColor;border-radius:7px;color:inherit;padding:2px 10px;cursor:pointer;font-family:var(--gdp-font);}

/* ============================== STATS ============================== */
.gdp-hb .gdp-stats-panel{background:#06142a;}
.gdp-hb-stfigs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;}
.gdp-hb-stfigs .is-best b{color:var(--hb-p5);}
.gdp-hb-stmedals{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;}
.gdp-hb-stm{display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:10px;background:rgba(255,255,255,.04);opacity:.6;}
.gdp-hb-stm.is-got{opacity:1;}
.gdp-hb-stm .gdp-hb-medal{width:22px;height:27px;}
.gdp-hb-stm b{font-size:22px;font-weight:600;}
.gdp-hb-stm b small{font-size:.6em;color:#9fb0c6;}
.gdp-hb-stm span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#9fb0c6;}
.gdp-hb-stm.is-dbl{opacity:1;margin-left:auto;border:1px solid rgba(254,204,2,.3);}
.gdp-hb-sttrend{margin-bottom:6px;}
.gdp-hb-bars{display:grid;gap:3px;margin-top:8px;}
.gdp-hb-bar{display:grid;grid-template-columns:36px minmax(0,1fr) 40px;align-items:center;gap:8px;font-size:13px;}
.gdp-hb-bar span{color:#9fb0c6;font-variant-numeric:tabular-nums;}
.gdp-hb-bar i{position:relative;height:10px;border-radius:5px;background:rgba(255,255,255,.06);}
.gdp-hb-bar em{position:absolute;left:0;top:0;bottom:0;border-radius:5px;background:var(--hb-sky);}
.gdp-hb-bar u{position:absolute;top:-3px;width:2px;height:16px;margin-left:-1px;background:#fff;opacity:.8;}
.gdp-hb-bar b{font-weight:500;text-align:right;font-variant-numeric:tabular-nums;}
.gdp-hb-bar.is-above em{background:var(--hb-p5);}
.gdp-hb-bar.is-weak em{background:#ff6b62;}
.gdp-hb-bar.is-weak span, .gdp-hb-bar.is-weak b{color:#ffb4ae;}
.gdp-hb-stparts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;}
.gdp-hb-stparts > div{padding:10px;border-radius:10px;background:rgba(255,255,255,.04);text-align:center;}
.gdp-hb-stparts b{display:block;font-size:26px;font-weight:600;}
.gdp-hb-stparts small{font-family:var(--gdp-font-note);font-size:11.5px;color:#9fb0c6;}
.gdp-hb-sess{display:grid;grid-template-columns:30px minmax(0,1fr) auto 44px 16px;align-items:center;gap:10px;width:100%;padding:9px 10px;margin:0 0 4px;
  border-radius:9px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);color:#fff;font-family:var(--gdp-font);cursor:pointer;text-align:left;}
.gdp-hb-sess.is-on{border-color:rgba(254,204,2,.4);}
.gdp-hb-sess .md .gdp-hb-medal{width:22px;height:27px;display:block;}
.gdp-hb-sess .dt{font-size:14px;color:#d3deec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.gdp-hb-sess .ks{display:flex;gap:3px;}
.gdp-hb-sess .ks i{font-style:normal;min-width:24px;text-align:center;font-size:12.5px;border-radius:5px;padding:2px 3px;font-variant-numeric:tabular-nums;}
.gdp-hb-sess .ks .is-p5{background:var(--hb-p5);color:var(--gdp-accent-ink);}
.gdp-hb-sess .ks .is-p3{background:var(--hb-p3);color:#04203f;}
.gdp-hb-sess .ks .is-p1{background:var(--hb-p1);color:#0d2340;}
.gdp-hb-sess .ks .is-p0{background:rgba(58,67,82,.8);color:#c9d3df;}
.gdp-hb-sess .sc{font-size:22px;text-align:right;font-variant-numeric:tabular-nums;}
.gdp-hb-chev{width:8px;height:8px;border-right:2px solid #9fb0c6;border-bottom:2px solid #9fb0c6;transform:rotate(45deg);}
.gdp-hb-sess.is-on .gdp-hb-chev{transform:rotate(-135deg);}
.gdp-hb-endmark{font-style:normal;font-size:10.5px;color:#9fb0c6;}
.gdp-hb-gdetail{padding:6px 4px 12px;}
.gdp-hb-strip{display:grid;grid-template-columns:repeat(10,1fr);gap:3px;}
.gdp-hb-strip span{height:24px;display:grid;place-items:center;border-radius:5px;font-size:13px;font-weight:600;background:rgba(255,255,255,.05);}
.gdp-hb-strip .is-p5{background:var(--hb-p5);color:var(--gdp-accent-ink);}
.gdp-hb-strip .is-p3{background:var(--hb-p3);color:#04203f;}
.gdp-hb-strip .is-p1{background:var(--hb-p1);color:#0d2340;}
.gdp-hb-strip .is-p0{background:rgba(58,67,82,.6);color:#9fb0c6;}
.gdp-hb-gmeta{font-family:var(--gdp-font-note);font-size:12.5px;color:#9fb0c6;margin:8px 0 0;}
.gdp-hb-gmeta b{color:#fff;font-weight:600;}

/* ============================== SIZES ============================== */
@media (max-width:991px){
  .gdp-hb-out{font-size:150px;}
  .gdp-hb-stage{gap:18px;}
}
@media (max-width:767px){
  .gdp-hb-stage{grid-template-columns:1fr;}
  .gdp-hb-side{top:24px;}
  .gdp-hb-stfigs{grid-template-columns:repeat(3,1fr);}
  .gdp-hb-parts{grid-template-columns:1fr;}
  .gdp-hb-res-kinds{grid-template-columns:repeat(2,1fr);}
  .gdp-hb-recs{grid-template-columns:repeat(2,1fr);}
  .gdp-hb-ladder{grid-template-columns:repeat(2,1fr);}
}
/* Phones: everything needed to throw on one screen. Out, route, the
   four buttons (or the dart boxes), Register and Undo; the rest below. */
@media (max-width:600px){
  .gdp-hb-hero{overflow:hidden;}   /* the sparks would widen the page */
  .gdp-hb-title{font-size:46px;}
  .gdp-hb-cross{width:40px;height:29px;}
  .gdp-hb-lede{padding-right:30px;font-size:14px;}
  .gdp-hb .gdp-bar-rules{width:auto;}
  .gdp-hb-stat{margin-left:10px;}
  .gdp-hb-stat b{font-size:18px;}
  .gdp-hb-outbox{min-width:0;padding:0 10px;}
  .gdp-hb-out{font-size:min(30vw,22svh,128px);}
  .gdp-hb-eyebrow{font-size:12px;}
  .gdp-hb-side{top:10px;}
  .gdp-hb-side b{font-size:24px;}
  .gdp-hb-routewrap{margin-top:6px;min-height:38px;}
  .gdp-hb-rd{min-width:52px;height:36px;font-size:20px;}
  .gdp-hb-members{margin-top:6px;font-size:12px;}
  .gdp-hb-pts{gap:8px;}
  .gdp-hb-pbtn{min-height:76px;}
  .gdp-hb-pbtn b{font-size:36px;}
  .gdp-hb-pbtn .gdp-hb-pl, .gdp-hb-pbtn .gdp-hb-pn{font-size:11.5px;letter-spacing:.04em;}
  .gdp-hb-pbtn kbd{display:none;}
  .gdp-hb-register, .gdp-hb-undo{height:48px;}
  .gdp-hb-register kbd{display:none;}
  .gdp-hb-gridrow{grid-template-columns:minmax(0,1fr) 30px;gap:6px;}
  .gdp-hb-gridlab{display:none;}
  .gdp-hb-gridrow ol{gap:3px;}
  .gdp-hb-cell{height:34px;border-radius:6px;}
  .gdp-hb-cell .o{font-size:10px;}
  .gdp-hb-cell .p{font-size:14px;}
  .gdp-hb-gridsum{font-size:16px;}
  .gdp-hb-res-score b{font-size:88px;}
  .gdp-hb-res-top{gap:18px;}
  .gdp-hb-result{padding-top:46px;}
  .gdp-hb-stfigs{grid-template-columns:repeat(2,1fr);}
  .gdp-hb-sess{grid-template-columns:26px minmax(0,1fr) auto 36px 12px;gap:6px;}
  .gdp-hb-sess .ks i{min-width:20px;}
  .gdp-hb-start{gap:10px;}
  .gdp-hb-startsum{width:100%;}
  .gdp-hb .gdp-hb-go{flex:1;}
}
@media (max-width:600px) and (max-height:700px){
  .gdp-hb-out{font-size:min(26vw,18svh,104px);}
  .gdp-hb-pbtn{min-height:64px;}
  .gdp-hb-members{display:none;}
}

/* Full screen: the play screen is scaled up as a whole, so the sizes set
   by the window are fixed there. */
html.gdp-fs:not(.gdp-fs-plain) .gdp-hb .js-hb-play .gdp-hb-stage{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);}

@media (prefers-reduced-motion:reduce){
  .gdp-hb-out.is-in, .gdp-hb-out.is-old, .gdp-hb-cell.is-current, .gdp-hb-outbox.fx-p0 .gdp-hb-out,
  .gdp-hb-res-head.fx-in .gdp-hb-res-top, .gdp-hb-burst *{animation:none !important;}
  .gdp-hb-mb-track em{transition:none;}
}
.gdp-hb .js-hide-autotrack-darts{display:none !important;}
/* Phones: the Your stats tab sits on the right edge; keep it off the cards. */
@media (max-width:600px){ .gdp-hb .js-hb-setup .gdp-setup{padding-right:24px;} }

/* ---------- Your Hubbe, compact, top of the right column (rev 3) ---------- */
.gdp-hb-mecard{margin:0 0 22px;padding:14px 16px 12px;border-radius:12px;
  background:linear-gradient(150deg,rgba(26,111,196,.28),rgba(6,18,38,.88) 55%);border:1px solid rgba(254,204,2,.28);}
.gdp-hb-mecard h2{margin-bottom:10px;}
.gdp-hb-me{display:flex;align-items:center;gap:14px;}
.gdp-hb-me-best{display:flex;align-items:center;gap:9px;padding-right:14px;border-right:1px solid rgba(255,255,255,.1);}
.gdp-hb-me-best .gdp-hb-medal{width:34px;height:41px;flex:0 0 auto;}
.gdp-hb-me-best b{display:block;font-size:40px;font-weight:600;line-height:.95;color:var(--hb-p5);font-variant-numeric:tabular-nums;}
.gdp-hb-me-best span, .gdp-hb-me-figs span{display:block;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:#9fb0c6;margin-top:2px;}
.gdp-hb-me-figs{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;text-align:center;}
.gdp-hb-me-figs b{display:block;font-size:22px;font-weight:500;line-height:1.05;color:#fff;font-variant-numeric:tabular-nums;}
.gdp-hb-mecard .gdp-hb-goal{font-size:14px;margin:10px 0 0;}
.gdp-hb-mecard .gdp-hb-first{font-size:13.5px;margin:0;}
.gdp-hb-mecard .gdp-hb-ladder{grid-template-columns:repeat(4,1fr);gap:5px;margin:10px 0 0;}
.gdp-hb-mecard .gdp-hb-ladder li{flex-direction:row;align-items:center;justify-content:center;gap:5px;padding:5px 4px;text-align:left;}
.gdp-hb-mecard .gdp-hb-ladder .gdp-hb-medal{width:16px;height:19px;}
.gdp-hb-mecard .gdp-hb-ladder span{display:flex;flex-direction:column;line-height:1.05;color:#fff;}
.gdp-hb-mecard .gdp-hb-ladder b{font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:500;}
.gdp-hb-mecard .gdp-hb-ladder em{font-style:normal;font-size:12px;color:#9fb0c6;}
.gdp-hb-mecard .gdp-hb-ladder li.is-got em{color:var(--hb-p5);}
@media (max-width:400px){ .gdp-hb-mecard .gdp-hb-ladder b{display:none;} .gdp-hb-me-best b{font-size:34px;} }
@media (max-width:400px){ .gdp-hb-me{gap:10px;} .gdp-hb-me-best{padding-right:10px;} .gdp-hb-me-figs span{letter-spacing:.05em;font-size:9.5px;} }

/* ---------- rev 3: the game fills the window ----------
   --hb-h is the window height below the site's header (set by the game
   script). The frame is at least that tall on every screen. In play the
   30-out grid is hidden (it is shown on the result) and the hero and the
   buttons grow with the height. */
.gdp.gdp-hb .gdp-wrap.js-hb-wrap{min-height:var(--hb-h, 640px);}
.gdp.gdp-hb .gdp-wrap.js-hb-wrap.is-playing{display:flex;flex-direction:column;}
.gdp-hb .js-hb-wrap.is-playing > .js-hb-play{flex:1 1 auto;display:flex;flex-direction:column;}
.gdp-hb .js-hb-play > .gdp-hb-grid{display:none;}
.gdp-hb .js-hb-play > .gdp-hb-stage{flex:1 1 auto;align-content:center;margin-top:0;padding:clamp(6px, 2vh, 28px) 0;}
.gdp-hb-progress{height:4px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden;margin:2px 0 0;}
.gdp-hb-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#1a6fc4,#fecc02);transition:width .4s;}
.gdp-hb .js-hb-play .gdp-hb-out{font-size:clamp(130px, calc(var(--hb-h, 640px) * .27), 270px);}
.gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:clamp(96px, calc(var(--hb-h, 640px) * .16), 160px);}
.gdp-hb .js-hb-play .gdp-hb-pbtn b{font-size:clamp(44px, calc(var(--hb-h, 640px) * .07), 68px);}
.gdp-hb .js-hb-play .gdp-hb-register, .gdp-hb .js-hb-play .gdp-hb-undo{height:clamp(50px, calc(var(--hb-h, 640px) * .07), 64px);}
.gdp-hb .js-hb-play .gdp-hb-rd{height:clamp(42px, calc(var(--hb-h, 640px) * .06), 56px);font-size:clamp(24px, calc(var(--hb-h, 640px) * .034), 32px);min-width:clamp(64px, calc(var(--hb-h, 640px) * .09), 84px);}
.gdp-hb .js-hb-play .gdp-hb-members{font-size:14px;}
@media (max-width:767px){
  .gdp-hb .js-hb-play > .gdp-hb-stage{align-content:space-evenly;}
}
@media (max-width:600px){
  .gdp-hb .js-hb-play .gdp-hb-out{font-size:min(32vw, calc(var(--hb-h, 600px) * .2), 150px);}
  .gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:clamp(68px, calc(var(--hb-h, 600px) * .13), 112px);}
  .gdp-hb .js-hb-play .gdp-hb-pbtn b{font-size:clamp(34px, calc(var(--hb-h, 600px) * .06), 48px);}
  .gdp-hb .js-hb-play .gdp-hb-rd{height:36px;font-size:20px;min-width:52px;}
  .gdp-hb .js-hb-play .gdp-hb-members{font-size:12px;}
}
/* Full screen: the shared script scales the play screen; fixed sizes. */

/* The medal in reach and the ghost: a status line at the foot of the
   frame, so the middle is only the out and the buttons. */
.gdp-hb-foot{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:24px;
  padding:12px 2px 2px;border-top:1px solid rgba(255,255,255,.07);}
.gdp-hb-foot .gdp-hb-medalbar{margin-top:0;}
.gdp-hb-foot .gdp-hb-ghost{margin-top:0;text-align:right;}
.gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:clamp(96px, calc(var(--hb-h, 640px) * .19), 180px);}
.gdp-hb .js-hb-play .gdp-hb-out{font-size:clamp(130px, calc(var(--hb-h, 640px) * .3), 290px);}
.gdp-hb .js-hb-play .gdp-hb-side{top:calc(var(--hb-h, 640px) * .06);}
@media (max-width:767px){
  .gdp-hb-foot{grid-template-columns:1fr;gap:6px;padding-top:8px;}
  .gdp-hb-foot .gdp-hb-ghost{text-align:left;}
}
@media (max-width:600px){
  .gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:clamp(68px, calc(var(--hb-h, 600px) * .13), 112px);}
  .gdp-hb .js-hb-play .gdp-hb-out{font-size:min(32vw, calc(var(--hb-h, 600px) * .2), 150px);}
  .gdp-hb .js-hb-play .gdp-hb-side{top:10px;}
  .gdp-hb-foot .gdp-hb-mb-line{font-size:13px;margin-top:5px;}
  .gdp-hb-foot .gdp-hb-ghost{font-size:13px;}
}
.gdp-hb .js-hb-wrap:not(.has-board) .gdp-hb-undo{justify-self:stretch;width:100%;}
/* Short phones: everything to throw stays on one screen. */
@media (max-width:600px) and (max-height:640px){
  .gdp-hb .js-hb-play .gdp-hb-out{font-size:min(26vw, calc(var(--hb-h, 540px) * .17), 96px);}
  .gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:58px;padding:4px;}
  .gdp-hb .js-hb-play .gdp-hb-pbtn b{font-size:30px;}
  .gdp-hb .js-hb-play .gdp-hb-register, .gdp-hb .js-hb-play .gdp-hb-undo{height:44px;}
  .gdp-hb .js-hb-play .gdp-hb-members{display:none;}
  .gdp-hb .js-hb-play > .gdp-hb-stage{padding:2px 0;gap:10px;}
  .gdp-hb-foot{padding-top:4px;gap:2px;}
  .gdp-hb-foot .gdp-hb-ghost{display:none;}
}

/* ---------- rev 4: tighter start screen ---------- */
.gdp-hb-subtitle{margin:8px 0 0;font-size:16px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:#e6edf7;}
.gdp-hb-title + .gdp-hb-subtitle + .gdp-hb-lede{margin-top:10px;}
.gdp-hb .gdp-hb-settings{padding:4px 0;}
.gdp-hb-setrow{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0;}
.gdp-hb-setrow > .gdp-hb-field + .gdp-hb-field{border-top:0;border-left:1px solid rgba(255,255,255,.07);}
.gdp-hb-settings .gdp-hb-field{padding:10px 16px;}
.gdp-hb-settings .gdp-hb-field.is-switch{padding:9px 16px;}
.gdp-hb-settings .gdp-hb-field > .gdp-label{margin-bottom:6px;}
.gdp-hb-settings .gdp-chips{flex-wrap:wrap;gap:6px;}
.gdp-hb-settings .gdp-hb-note:empty{display:none;}
.gdp-hb-darts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.gdp-hb-darts > *{margin:0;}
.gdp-hb-start{margin-top:14px;}
@media (max-width:520px){
  .gdp-hb-setrow{grid-template-columns:1fr;}
  .gdp-hb-setrow > .gdp-hb-field + .gdp-hb-field{border-left:0;border-top:1px solid rgba(255,255,255,.07);}
  .gdp-hb-subtitle{font-size:13px;}
}

/* ---------- rev 5: How to play / Leaderboard tabs ---------- */
.gdp-hb-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 16px;border-radius:12px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);}
.gdp-hb-tab{height:40px;border:0;border-radius:9px;background:transparent;color:#b7c5d8;cursor:pointer;
  font-family:var(--gdp-font);font-size:14px;letter-spacing:.14em;text-transform:uppercase;transition:background .15s,color .15s;}
.gdp-hb-tab:hover{color:#fff;}
.gdp-hb-tab[aria-selected="true"]{background:var(--gdp-accent);color:var(--gdp-accent-ink);font-weight:500;}
.gdp-hb-tab:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.gdp-hb-panel[hidden]{display:none !important;}
.gdp-hb-panel .gdp-hb-mecard{margin-bottom:16px;}
.gdp-hb-panel .gdp-hb-tbwrap{margin-top:0;}

/* ---------- rev 5: the big number counts down with a board ---------- */
.gdp-hb-out.is-left{color:#cfe4ff;text-shadow:0 0 38px rgba(62,162,255,.5), 0 4px 0 rgba(0,0,0,.4);}
.gdp-hb-out.is-zero{color:var(--hb-p5);text-shadow:0 0 44px rgba(254,204,2,.55), 0 4px 0 rgba(0,0,0,.4);}
.gdp-hb-out.is-bust{color:#ff9d96;}
.gdp-hb-out.fx-tick{animation:gdpHbTick .28s ease-out;}
@keyframes gdpHbTick{0%{transform:scale(1.08);}100%{transform:none;}}
@media (prefers-reduced-motion:reduce){ .gdp-hb-out.fx-tick{animation:none;} }

/* =====================================================================
   rev 8: the play screen, redesigned (owner, 23 Nov 2026)
   The out sits in a ring of 30 segments, one for each out in its three
   parts, coloured by the points it scored: the game's progress at a
   glance, in the flag's colours. With a board, "This out is worth"
   lights up after every dart, like the scoring table in Tons. The foot
   carries the figures, the medal in reach and the ghost.

   Sizes follow --hb-h, the height the play screen has. On the page that
   is the window (set by the game script). In full screen the shared
   script scales the play screen up from 1128 px wide; there --hb-h is
   the window height divided by that scale (set by the game script), so
   the scaled screen fills the window to the bottom.
   ===================================================================== */
.gdp-hb .js-hb-play{--hb-dial:clamp(190px, calc(var(--hb-h, 640px) * .5), 470px);}
html.gdp-fs:not(.gdp-fs-plain) .gdp.gdp-hb .gdp-wrap.js-hb-wrap{min-height:calc(100vh - 40px);}
html.gdp-fs:not(.gdp-fs-plain) .gdp-hb .js-hb-play{
  --hb-h:600px; /* until the game script sets the exact height */
  min-height:var(--hb-h);display:flex;flex-direction:column;flex:0 0 auto !important;
  --hb-dial:clamp(250px, calc(var(--hb-h) * .56), 400px);
}
html.gdp-fs:not(.gdp-fs-plain) .gdp-hb .js-hb-play > .gdp-hb-stage{flex:1 1 auto;}

/* The bar: the game's mark, the out, the figures. */
.gdp-hb-playbar .gdp-bar-rules{display:flex;align-items:center;gap:12px;}
.gdp-hb-cross.is-mini{width:30px;height:21px;border-radius:4px;}
.gdp-hb-brand{font-weight:600;font-size:20px;letter-spacing:.16em;text-transform:uppercase;color:var(--gdp-accent);}
.gdp-hb-barout{font-size:16px;letter-spacing:.16em;text-transform:uppercase;color:#b7c5d8;}
.gdp-hb-barout .js-hb-prog{color:#fff;font-variant-numeric:tabular-nums;}
.gdp-hb .js-hb-play .gdp-hb-stat b{font-size:clamp(22px, calc(var(--hb-h, 640px) * .036), 34px);}
.gdp-hb .js-hb-play .gdp-hb-progress{display:none;}

/* The stage. */
.gdp-hb .js-hb-play > .gdp-hb-stage{grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:clamp(24px, 3.4vw, 56px);align-items:center;}
.gdp-hb .js-hb-play .gdp-hb-hero{display:flex;flex-direction:column;align-items:center;padding:0;}

/* The dial: the ring of outs around the number. */
.gdp-hb-dial{position:relative;width:var(--hb-dial);height:var(--hb-dial);display:grid;place-items:center;border-radius:50%;
  background:radial-gradient(circle at 50% 46%, rgba(26,115,201,.30), rgba(11,94,168,.10) 48%, rgba(6,20,42,0) 70%);}
.gdp-hb-dial::after{content:"";position:absolute;inset:-6%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle, rgba(62,162,255,.16), rgba(62,162,255,0) 66%);z-index:-1;}
.gdp-hb-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.gdp-hb-ring-in{fill:rgba(4,14,30,.62);stroke:rgba(254,204,2,.22);stroke-width:.5;}
.gdp-hb-seg{fill:none;stroke:rgba(255,255,255,.08);stroke-width:5;transition:stroke .4s, stroke-width .4s;}
.gdp-hb-seg[class*="is-p"]{stroke-width:8;}
.gdp-hb-seg.is-p5{stroke:var(--hb-p5);filter:drop-shadow(0 0 2.5px rgba(254,204,2,.75));}
.gdp-hb-seg.is-p3{stroke:var(--hb-p3);filter:drop-shadow(0 0 2px rgba(62,162,255,.6));}
.gdp-hb-seg.is-p1{stroke:var(--hb-p1);}
.gdp-hb-seg.is-p0{stroke:#66717f;}
.gdp-hb-seg.is-current{stroke:#fff;stroke-width:9;animation:gdpHbSeg 1.5s ease-in-out infinite;}
@keyframes gdpHbSeg{50%{stroke:var(--hb-p5);filter:drop-shadow(0 0 5px rgba(254,204,2,.9));}}

.gdp-hb .js-hb-play .gdp-hb-outbox{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:0;z-index:1;}
.gdp-hb .js-hb-play .gdp-hb-eyebrow{font-size:clamp(12px, calc(var(--hb-dial) * .043), 19px);letter-spacing:.26em;margin:0;}
.gdp-hb .js-hb-play .gdp-hb-out{font-size:calc(var(--hb-dial) * .41);line-height:.86;margin:.06em 0 .04em;}
.gdp-hb .js-hb-play .gdp-hb-out.is-old{top:calc(var(--hb-dial) * .07);}
.gdp-hb-outlbl{font-size:clamp(12px, calc(var(--hb-dial) * .042), 18px);letter-spacing:.3em;text-transform:uppercase;color:#b7c5d8;}
.gdp-hb-outlbl.is-hidden{display:none;}
.gdp-hb .js-hb-play .gdp-hb-left{font-size:clamp(15px, calc(var(--hb-dial) * .05), 22px);padding:3px 14px;margin-top:4px;}

/* The route and the members. */
.gdp-hb .js-hb-play .gdp-hb-routewrap{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:clamp(10px, calc(var(--hb-h, 640px) * .02), 22px);min-height:clamp(42px, calc(var(--hb-h, 640px) * .06), 56px);}
.gdp-hb-routelbl{font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:#9fb0c6;}
.gdp-hb-routelbl.is-hidden, .gdp-hb-routewrap.is-hidden .gdp-hb-routelbl{display:none;}
.gdp-hb .js-hb-play .gdp-hb-members{margin-top:8px;font-size:clamp(13px, calc(var(--hb-h, 640px) * .019), 16px);}

/* What this out is worth: with a board only. */
.gdp-hb-worth{display:none;margin-bottom:clamp(12px, calc(var(--hb-h, 640px) * .022), 22px);}
.gdp-hb .has-board:not(.show-manual) .gdp-hb-worth{display:block;}
.gdp-hb-worth-h{display:block;margin:0 0 8px;color:#b7c5d8;}
.gdp-hb-worth ol{list-style:none;margin:0;padding:0;display:grid;gap:6px;}
.gdp-hb-worth li{display:grid;grid-template-columns:clamp(48px, 4vw, 60px) minmax(0,1fr);align-items:center;
  min-height:clamp(30px, calc(var(--hb-h, 640px) * .058), 58px);padding:0 16px;border-radius:12px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);transition:background .2s, border-color .2s, opacity .2s, transform .2s;}
.gdp-hb-worth li b{font-size:clamp(22px, calc(var(--hb-h, 640px) * .036), 32px);font-weight:600;line-height:1;}
.gdp-hb-worth li span{font-family:var(--gdp-font-note);font-size:clamp(14px, calc(var(--hb-h, 640px) * .021), 18px);color:#e6edf7;}
.gdp-hb-worth li.is-p5 b{color:var(--hb-p5);}
.gdp-hb-worth li.is-p3 b{color:var(--hb-p3);}
.gdp-hb-worth li.is-p1 b{color:var(--hb-p1);}
.gdp-hb-worth li.is-p0 b{color:#8592a4;}
.gdp-hb-worth.has-on li:not(.is-on){opacity:.45;}
.gdp-hb-worth li.is-on{transform:scale(1.015);}
.gdp-hb-worth li.is-p5.is-on{background:rgba(254,204,2,.16);border-color:var(--hb-p5);box-shadow:0 0 26px rgba(254,204,2,.28);}
.gdp-hb-worth li.is-p3.is-on{background:rgba(62,162,255,.16);border-color:var(--hb-p3);box-shadow:0 0 22px rgba(62,162,255,.25);}
.gdp-hb-worth li.is-p1.is-on{background:rgba(207,228,255,.12);border-color:var(--hb-p1);}
.gdp-hb-worth li.is-p0.is-on{background:rgba(255,90,82,.12);border-color:rgba(255,90,82,.55);}
.gdp-hb-worth li.is-p0.is-on b{color:#ff9d96;}

/* The board's three darts. */
.gdp-hb .gdp-hb-scolia .dart-detail-container{padding-top:0;}
.gdp-hb .gdp-hb-scolia .dart-detail-container > .row{max-width:none !important;margin:0 !important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px, 1.2vw, 16px);}
.gdp-hb .gdp-hb-scolia .dart-detail-container > .row::before, .gdp-hb .gdp-hb-scolia .dart-detail-container > .row::after{display:none;}
.gdp-hb .gdp-hb-scolia .dart-detail-wrapper{width:auto;float:none;padding:0;}
.gdp-hb .gdp-hb-scolia .dart-detail{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  min-height:clamp(72px, calc(var(--hb-h, 640px) * .16), 170px);border-radius:16px;padding:6px;
  background:linear-gradient(180deg, rgba(14,40,78,.92), rgba(6,20,42,.94));border:1px solid rgba(62,162,255,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);}
.gdp-hb .gdp-hb-scolia .js-dart-detail-score{font-size:clamp(40px, calc(var(--hb-h, 640px) * .075), 72px) !important;line-height:1 !important;}
.gdp-hb .gdp-hb-scolia .js-dart-detail-hit{font-size:clamp(16px, calc(var(--hb-h, 640px) * .026), 24px) !important;letter-spacing:.06em;min-height:1.2em;margin-top:4px;}

/* Undo and Register. */
.gdp-hb .js-hb-play .gdp-hb-actions{grid-template-columns:minmax(110px,.32fr) minmax(0,1fr);gap:12px;margin-top:clamp(12px, calc(var(--hb-h, 640px) * .024), 22px);}
.gdp-hb .js-hb-play .gdp-hb-undo{grid-column:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0 12px;
  height:clamp(46px, calc(var(--hb-h, 640px) * .095), 84px);border-radius:14px;font-size:15px;letter-spacing:.14em;text-transform:uppercase;}
.gdp-hb .js-hb-play .gdp-hb-undo i{font-size:20px;}
.gdp-hb .js-hb-play .gdp-hb-register{position:relative;height:clamp(46px, calc(var(--hb-h, 640px) * .095), 84px);border-radius:14px;gap:16px;
  background:linear-gradient(180deg,#2fbf6b,#1f9a54);box-shadow:0 10px 26px rgba(31,154,84,.28), inset 0 1px 0 rgba(255,255,255,.18);
  font-size:clamp(20px, calc(var(--hb-h, 640px) * .036), 30px);font-weight:600;letter-spacing:.14em;text-transform:uppercase;}
.gdp-hb .js-hb-play .gdp-hb-register:disabled{opacity:.38;box-shadow:none;}
.gdp-hb-register kbd{position:absolute;top:7px;right:10px;font-size:11px;letter-spacing:.04em;opacity:.75;}
.gdp-hb-regpts{font-style:normal;display:inline-grid;place-items:center;min-width:2.4em;padding:2px 12px;border-radius:999px;background:rgba(0,0,0,.22);letter-spacing:.02em;}
.gdp-hb-regpts.is-p5{background:var(--hb-p5);color:var(--gdp-accent-ink);}
.gdp-hb-regpts.is-p3{background:var(--hb-p3);color:#04203f;}
.gdp-hb-regpts.is-p1{background:var(--hb-p1);color:#0d2340;}
.gdp-hb .js-hb-wrap:not(.has-board) .js-hb-play .gdp-hb-actions{grid-template-columns:1fr;}
.gdp-hb .js-hb-wrap:not(.has-board) .js-hb-play .gdp-hb-undo{flex-direction:row;gap:10px;height:54px;}
.gdp-hb .js-hb-play .gdp-hb-manualtoggle{margin-top:clamp(10px, calc(var(--hb-h, 640px) * .02), 18px);font-size:14px;}

/* The point buttons without a board: a little more presence. */
.gdp-hb .js-hb-play .gdp-hb-pts{gap:12px;}
.gdp-hb .js-hb-play .gdp-hb-pbtn{border-radius:16px;}
.gdp-hb .js-hb-play .gdp-hb-pbtn.is-p0{background:linear-gradient(180deg,rgba(70,80,96,.85),rgba(48,56,70,.85));}

/* The foot: figures, the medal in reach, the ghost. */
.gdp-hb .js-hb-play .gdp-hb-foot{grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(18px, 2.6vw, 40px);align-items:center;
  padding:clamp(10px, calc(var(--hb-h, 640px) * .018), 18px) 2px 2px;}
.gdp-hb-figs{display:flex;gap:clamp(16px, 2vw, 30px);}
.gdp-hb-figs span{display:flex;flex-direction:column;align-items:center;min-width:56px;}
.gdp-hb-figs b{font-size:clamp(24px, calc(var(--hb-h, 640px) * .042), 36px);font-weight:600;line-height:1;color:#fff;font-variant-numeric:tabular-nums;}
.gdp-hb-figs em{font-style:normal;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#9fb0c6;margin-top:5px;white-space:nowrap;}
.gdp-hb .js-hb-play .gdp-hb-ghost{display:inline-flex;align-items:center;gap:6px;justify-self:end;text-align:left;padding:8px 16px;border-radius:999px;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);font-size:15px;white-space:nowrap;}
.gdp-hb .js-hb-play .gdp-hb-ghost.is-ahead{border-color:rgba(126,226,168,.55);background:rgba(126,226,168,.08);}
.gdp-hb .js-hb-play .gdp-hb-ghost.is-behind{border-color:rgba(255,180,174,.45);background:rgba(255,90,82,.07);}
.gdp-hb .js-hb-play .gdp-hb-ghost:empty{display:none;}

@media (max-width:1100px){
  .gdp-hb .js-hb-play .gdp-hb-foot{grid-template-columns:auto minmax(0,1fr);}
  .gdp-hb .js-hb-play .gdp-hb-ghost{grid-column:1 / -1;justify-self:start;}
}
@media (max-width:767px){
  .gdp-hb .js-hb-play{--hb-dial:min(70vw, calc(var(--hb-h, 600px) * .36), 340px);}
  .gdp-hb .js-hb-play > .gdp-hb-stage{grid-template-columns:1fr;gap:14px;}
  .gdp-hb-barout{font-size:13px;}
  .gdp-hb-brand{font-size:16px;}
  .gdp-hb-cross.is-mini{display:none;}
  .gdp-hb-worth-h{display:none !important;}
  .gdp-hb-worth ol{grid-template-columns:repeat(4,minmax(0,1fr));}
  .gdp-hb-worth li{grid-template-columns:1fr;justify-items:center;padding:6px 4px;min-height:0;}
  .gdp-hb-worth li span{display:none;}
  .gdp-hb .gdp-hb-scolia .dart-detail{min-height:clamp(74px, calc(var(--hb-h, 600px) * .11), 110px);}
  .gdp-hb .gdp-hb-scolia .js-dart-detail-score{font-size:clamp(30px, calc(var(--hb-h, 600px) * .055), 44px) !important;}
  .gdp-hb .js-hb-play .gdp-hb-undo, .gdp-hb .js-hb-play .gdp-hb-register{height:56px;}
  .gdp-hb .js-hb-play .gdp-hb-register{font-size:20px;}
  .gdp-hb .js-hb-play .gdp-hb-foot{grid-template-columns:1fr;gap:8px;}
  .gdp-hb-figs{justify-content:space-between;}
  .gdp-hb .js-hb-play .gdp-hb-ghost{font-size:13px;padding:6px 12px;}
}
@media (max-width:600px) and (max-height:700px){
  .gdp-hb .js-hb-play{--hb-dial:min(58vw, calc(var(--hb-h, 540px) * .3), 240px);}
  .gdp-hb-figs b{font-size:22px;}
  .gdp-hb .js-hb-play .gdp-hb-routewrap{margin-top:6px;min-height:0;}
}
@media (prefers-reduced-motion:reduce){
  .gdp-hb-seg.is-current{animation:none;stroke:var(--hb-p5);}
  .gdp-hb-worth li{transition:none;}
}
.gdp-hb-ring-x{fill:rgba(254,204,2,.07);}
/* Phones: everything to throw and the figures on one screen. */
@media (max-width:600px){
  .gdp-hb .js-hb-play{--hb-dial:min(60vw, calc(var(--hb-h, 600px) * .29), 270px);}
  .gdp-hb .js-hb-play .gdp-hb-playbar{flex-wrap:nowrap;align-items:center;gap:8px;}
  .gdp-hb .js-hb-play .gdp-hb-playbar .gdp-bar-actions{flex-wrap:nowrap;margin-left:auto;}
  .gdp-hb .js-hb-play .gdp-hb-barout{display:none;}
  .gdp-hb .js-hb-play .gdp-hb-stat{margin-left:12px;}
  .gdp-hb .js-hb-play .gdp-hb-stat b{font-size:20px;}
  .gdp-hb .js-hb-play > .gdp-hb-stage{gap:10px;padding:4px 0;}
  .gdp-hb .js-hb-play .gdp-hb-routewrap{margin-top:6px;min-height:0;gap:8px;}
  .gdp-hb-routelbl{font-size:11px;}
  .gdp-hb .js-hb-play .gdp-hb-members{margin-top:4px;font-size:12px;}
  .gdp-hb-worth{margin-bottom:8px;}
  .gdp-hb-worth li{padding:4px;}
  .gdp-hb-worth li b{font-size:20px;}
  .gdp-hb .gdp-hb-scolia .dart-detail{min-height:clamp(70px, calc(var(--hb-h, 600px) * .1), 96px);border-radius:12px;}
  .gdp-hb .js-hb-play .gdp-hb-actions{margin-top:10px;}
  .gdp-hb .js-hb-play .gdp-hb-undo, .gdp-hb .js-hb-play .gdp-hb-register{height:52px;}
  .gdp-hb .js-hb-play .gdp-hb-undo{font-size:13px;}
  .gdp-hb .js-hb-play .gdp-hb-manualtoggle{margin-top:8px;font-size:12px;padding:5px 12px;}
  .gdp-hb .js-hb-play .gdp-hb-pts{gap:8px;}
  .gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:clamp(64px, calc(var(--hb-h, 600px) * .11), 96px);}
  .gdp-hb .js-hb-play .gdp-hb-pbtn b{font-size:clamp(32px, calc(var(--hb-h, 600px) * .05), 44px);}
  .gdp-hb .js-hb-play .gdp-hb-foot{gap:6px;padding-top:8px;}
  .gdp-hb-figs b{font-size:20px;}
  .gdp-hb-figs em{font-size:10px;letter-spacing:.1em;}
  .gdp-hb .js-hb-play .gdp-hb-ghost{display:none;}
  .gdp-hb-foot .gdp-hb-mb-line{margin-top:4px;}
}
@media (max-width:600px) and (max-height:700px){
  .gdp-hb .js-hb-play{--hb-dial:min(52vw, calc(var(--hb-h, 540px) * .27), 210px);}
  .gdp-hb .js-hb-play .gdp-hb-members{display:none;}
  .gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:56px;}
  .gdp-hb .js-hb-play .gdp-hb-pbtn .gdp-hb-pl{font-size:11px;}
  .gdp-hb .gdp-hb-scolia .dart-detail{min-height:62px;}
  .gdp-hb .gdp-hb-scolia .js-dart-detail-score{font-size:28px !important;}
  .gdp-hb .js-hb-play .gdp-hb-undo, .gdp-hb .js-hb-play .gdp-hb-register{height:46px;}
  .gdp-hb-foot .gdp-hb-mb-line{display:none;}
}
/* The Enter hint on Register only where there is room for it. */
.gdp-hb .js-hb-play .gdp-hb-actions{container-type:inline-size;}
@container (max-width:470px){ .gdp-hb .js-hb-play .gdp-hb-register kbd{display:none;} }
@media (max-width:900px){
  .gdp.gdp-hb .gdp-wrap.js-hb-wrap{
    background-image:
      linear-gradient(-18deg, transparent 0 45.35%, var(--gdp-divider) 45.35% 45.7%, transparent 45.7%),
      linear-gradient(to bottom, rgba(3,9,18,0) 0 62%, rgba(3,9,18,.55) 100%),
      linear-gradient(-18deg, var(--gdp-tint-hi) 0 45.7%, var(--gdp-tint-lo) 45.7%),
      url('/wp-content/themes/dart/images/2026/2026-back-game-hubbe-mobile.webp');
  }
}
/* Short windows on the page (rev 12): the worth panel's heading and the
   board's darts tighten so everything stays on screen. */
@media (min-width:768px) and (max-height:820px){
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-worth-h{margin-bottom:4px;}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-worth ol{gap:4px;}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-worth{margin-bottom:10px;}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-actions{margin-top:10px;}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-manualtoggle{margin-top:8px;}
}
/* Tall windows on the page (rev 12). The frame keeps the site's width
   (at most 1170 px) but fills the window's height, so on 1920 x 1080 and
   larger it is taller than wide. Here the dial, the buttons and the darts
   grow with the height, capped by the column width, so the play screen
   is filled rather than a small block in the middle. */
@media (min-width:1100px){
  html:not(.gdp-fs) .gdp-hb .js-hb-play{
    --hb-w:min(100vw, 1170px);
    --hb-dial:clamp(190px, min(calc(var(--hb-h, 640px) * .54), calc(var(--hb-w) * .43)), 520px);
  }
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-pbtn{min-height:clamp(96px, calc(var(--hb-h, 640px) * .2), 240px);}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-pbtn b{font-size:clamp(44px, calc(var(--hb-h, 640px) * .08), 96px);}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-pbtn .gdp-hb-pl{font-size:clamp(14px, calc(var(--hb-h, 640px) * .018), 20px);}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-pts{gap:clamp(12px, calc(var(--hb-h, 640px) * .018), 22px);}
  html:not(.gdp-fs) .gdp-hb .gdp-hb-worth li{min-height:clamp(30px, calc(var(--hb-h, 640px) * .062), 76px);}
  html:not(.gdp-fs) .gdp-hb .gdp-hb-worth li b{font-size:clamp(22px, calc(var(--hb-h, 640px) * .038), 42px);}
  html:not(.gdp-fs) .gdp-hb .gdp-hb-worth li span{font-size:clamp(14px, calc(var(--hb-h, 640px) * .02), 22px);}
  html:not(.gdp-fs) .gdp-hb .gdp-hb-scolia .dart-detail{min-height:clamp(72px, calc(var(--hb-h, 640px) * .18), 230px);}
  html:not(.gdp-fs) .gdp-hb .gdp-hb-scolia .js-dart-detail-score{font-size:clamp(40px, calc(var(--hb-h, 640px) * .08), 96px) !important;}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-undo,
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-register{height:clamp(46px, calc(var(--hb-h, 640px) * .09), 104px);}
  html:not(.gdp-fs) .gdp-hb .js-hb-wrap:not(.has-board) .js-hb-play .gdp-hb-undo{height:clamp(46px, calc(var(--hb-h, 640px) * .065), 72px);}
  html:not(.gdp-fs) .gdp-hb .js-hb-play .gdp-hb-routewrap{margin-top:clamp(10px, calc(var(--hb-h, 640px) * .03), 36px);}
  html:not(.gdp-fs) .gdp-hb .gdp-hb-routewrap .gdp-hb-route{font-size:clamp(16px, calc(var(--hb-h, 640px) * .024), 26px);}
  html:not(.gdp-fs) .gdp-hb-figs b{font-size:clamp(24px, calc(var(--hb-h, 640px) * .04), 46px);}
}
/* A frame taller than wide on the page (rev 12, e.g. 2560 x 1440): the
   dial above, the scoring below, both centred. */
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .js-hb-play{--hb-dial:clamp(260px, calc(var(--hb-h, 900px) * .36), 500px);}
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .js-hb-play > .gdp-hb-stage{grid-template-columns:1fr;justify-items:center;align-content:center;gap:clamp(24px, calc(var(--hb-h, 900px) * .035), 48px);}
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .js-hb-play .gdp-hb-controls{width:min(100%, 820px);}
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .js-hb-play .gdp-hb-pbtn{min-height:clamp(96px, calc(var(--hb-h, 900px) * .12), 170px);}
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .js-hb-play .gdp-hb-worth li{min-height:clamp(40px, calc(var(--hb-h, 900px) * .04), 60px);}
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .gdp-hb-scolia .dart-detail{min-height:clamp(100px, calc(var(--hb-h, 900px) * .11), 170px);}
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .js-hb-play .gdp-hb-undo,
html:not(.gdp-fs) .gdp-hb .js-hb-wrap.is-tall .js-hb-play .gdp-hb-register{height:clamp(56px, calc(var(--hb-h, 900px) * .06), 84px);}
/* A game in progress (rev 13): no Start, a note in its place beside
   Sound. !important both ways: the site's scripts set an inline display
   on every child of .js-startgame-wrapper. */
.gdp-hb .js-startgame-wrapper .js-hb-resumefirst{display:none !important;}
.gdp-hb .js-startgame-wrapper.has-resume .js-hb-start{display:none !important;}
.gdp-hb .js-startgame-wrapper.has-resume .js-hb-resumefirst:not([hidden]){display:flex !important;}
.gdp-hb-resumefirst{flex:1 1 0;min-width:0;align-items:center;gap:12px;margin:0;min-height:56px;padding:10px 18px;border-radius:12px;
  border:1px dashed rgba(254,204,2,.55);background:rgba(254,204,2,.07);color:#f3e7b4;
  font-family:var(--gdp-font-note);font-size:15px;line-height:1.4;}
.gdp-hb-resumefirst i{color:var(--gdp-accent);font-size:18px;flex:0 0 auto;}
.gdp-hb .js-startgame-wrapper.has-resume{flex-wrap:nowrap;align-items:stretch;}
.gdp-hb .js-startgame-wrapper.has-resume .gdp-hb-sound{flex:0 0 auto;align-self:center;}
@media (max-width:600px){ .gdp-hb-resumefirst{font-size:13px;padding:8px 12px;gap:8px;} }
/* rev 15: Log in and Sign up side by side; Sign up as the outline button. */
.gdp-hb-teaser-acts{display:flex;flex-wrap:wrap;gap:10px;}
.gdp-hb .gdp-teaser a.is-alt,
.gdp-hb .gdp-teaser a.is-alt:link,
.gdp-hb .gdp-teaser a.is-alt:visited{background:transparent;color:var(--gdp-accent) !important;box-shadow:inset 0 0 0 1.5px var(--gdp-accent);}
.gdp-hb .gdp-teaser a.is-alt:hover,
.gdp-hb .gdp-teaser a.is-alt:focus-visible{background:rgba(254,204,2,.12);color:#ffd93a !important;box-shadow:inset 0 0 0 1.5px #ffd93a, 0 6px 18px rgba(254,204,2,.18);}
