.gtiq-dd {
  /* GolfTechIQ Night Bay: navy chrome, fairway greens, yardage-book course map */
  --navy: #081a29;
  --navy-2: #0f2a40;
  --line: #1d4060;
  --green: #3fbf3f;
  --green-hi: #5fd36a;
  --gold: #ffd24a;
  --ink: #eaf3f8;
  --muted: #8fb0c4;
  --danger: #ff6b6b;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
.gtiq-dd, .gtiq-dd * { box-sizing: border-box; }
.gtiq-dd { height: 100%; margin: 0; }
.gtiq-dd {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--body);
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
}
.gtiq-dd .app { height: 100%; display: flex; flex-direction: column; align-items: center; }
.gtiq-dd header {
  width: 100%; max-width: 520px; padding: 10px 16px 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.gtiq-dd .brand { display: flex; flex-direction: column; line-height: 1.05; }
.gtiq-dd .brand small { white-space: nowrap; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-hi); font-weight: 700; }
.gtiq-dd .brand b { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.gtiq-dd .hud { display: flex; gap: 8px; font-variant-numeric: tabular-nums; }
.gtiq-dd .chip {
  background: var(--navy-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 5px 9px; display: flex; flex-direction: column; align-items: flex-end; min-width: 54px;
}
.gtiq-dd .chip span { white-space: nowrap; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.gtiq-dd .chip strong { font-family: var(--display); font-size: 15px; white-space: nowrap; }
.gtiq-dd .stage { flex: 1; width: 100%; display: flex; justify-content: center; align-items: flex-start; padding: 0 16px; min-height: 0; }
.gtiq-dd canvas { display: block; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.45); background: #2f7a33; }
.gtiq-dd .hint {
  font-size: 12px; color: var(--muted); padding: 6px 16px 10px; text-align: center; max-width: 520px;
}
.gtiq-dd .hint b { color: var(--ink); }
.gtiq-dd .controls { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 16px 2px; }
.gtiq-dd .readout { min-width: 78px; display: flex; flex-direction: column; align-items: center; font-variant-numeric: tabular-nums; }
.gtiq-dd .readout span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.gtiq-dd .readout strong { font-family: var(--display); font-size: 16px; white-space: nowrap; }
.gtiq-dd .pad {
  position: relative; width: 112px; height: 112px; border-radius: 50%; flex: none; cursor: grab;
  border: 2px solid var(--green);
  background: radial-gradient(circle, #16405f 0 15%, var(--navy-2) 15% 36%, #14354f 36% 37.5%, var(--navy-2) 37.5% 61%, #14354f 61% 62.5%, var(--navy-2) 62.5% 100%);
  box-shadow: 0 0 0 4px rgba(63,191,63,.12);
}
.gtiq-dd .pad.ready { animation: padPulse 1.6s ease-in-out infinite; }
@keyframes padPulse { 50% { box-shadow: 0 0 0 9px rgba(63,191,63,.22); } }
.gtiq-dd .pad em { position: absolute; left: 0; right: 0; bottom: 7px; text-align: center; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--muted); pointer-events: none; }
.gtiq-dd .pad em.top { top: 7px; bottom: auto; }
.gtiq-dd .knob {
  position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #dfe8ee); box-shadow: 0 3px 10px rgba(0,0,0,.45); pointer-events: none;
}
.gtiq-dd .pad.off { opacity: .35; animation: none; cursor: default; }
.gtiq-dd .prize {
  display: flex; gap: 10px; align-items: center; background: linear-gradient(90deg, rgba(255,210,74,.16), rgba(255,210,74,.04));
  border: 1px solid rgba(255,210,74,.45); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.35;
}
.gtiq-dd .prize b { color: var(--gold); }
.gtiq-dd .prize i { font-style: normal; font-size: 22px; }
.gtiq-dd .balls { display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.gtiq-dd .balls .b {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  background: var(--navy); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.gtiq-dd .balls .b .em { font-size: 30px; line-height: 1; text-align: center; }
.gtiq-dd .balls .b .lbl { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.gtiq-dd .balls .b .where { display: block; font-family: var(--display); font-size: 16px; font-weight: 700; line-height: 1.2; }
.gtiq-dd .balls .b small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.gtiq-dd .balls .b strong { font-family: var(--display); font-size: 24px; color: var(--gold); }
.gtiq-dd .totalbox {
  display: grid; gap: 12px; margin-top: 4px; padding: 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,210,74,.18), rgba(63,191,63,.10)); border: 1px solid rgba(255,210,74,.5);
}
.gtiq-dd .tb-main { display: flex; justify-content: space-between; align-items: baseline; }
.gtiq-dd .tb-main span { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.gtiq-dd .tb-main strong { font-family: var(--display); font-size: 42px; line-height: 1; color: var(--gold); }
.gtiq-dd .tb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gtiq-dd .tb-stats div { background: rgba(8,26,41,.6); border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gtiq-dd .tb-stats b { font-family: var(--display); font-size: 15px; white-space: nowrap; }
.gtiq-dd .tb-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.gtiq-dd .balls .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; display: flex; justify-content: space-between; font-family: var(--display); font-size: 22px; }
.gtiq-dd .balls .total strong { color: var(--gold); }
.gtiq-dd .field { display: grid; gap: 4px; }
.gtiq-dd .field label { font-size: 12px; color: var(--muted); font-weight: 700; }
.gtiq-dd .field input[type=text], .gtiq-dd .field input[type=email] {
  font: 500 15px var(--body); color: var(--ink); background: var(--navy); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.gtiq-dd .field input:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 1px; }
.gtiq-dd .check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink); line-height: 1.35; }
.gtiq-dd .check input { margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.gtiq-dd .err { color: var(--danger); font-size: 13px; min-height: 1em; }
.gtiq-dd .tabs { display: flex; gap: 6px; background: var(--navy); padding: 4px; border-radius: 10px; }
.gtiq-dd .tabs button { flex: 1; border: 0; background: transparent; color: var(--muted); padding: 7px; }
.gtiq-dd .tabs button[aria-selected=true] { background: var(--navy-2); color: var(--ink); }
.gtiq-dd .lb { display: grid; gap: 2px; max-height: 38vh; overflow-y: auto; font-variant-numeric: tabular-nums; }
.gtiq-dd .lb div { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 14px; }
.gtiq-dd .lb div:nth-child(odd) { background: rgba(255,255,255,.03); }
.gtiq-dd .lb div.me { background: rgba(63,191,63,.18); outline: 1px solid var(--green); }
.gtiq-dd .lb div span:first-child { color: var(--muted); }
.gtiq-dd .lb div strong { font-family: var(--display); }
.gtiq-dd .card.tall { max-height: calc(100% - 24px); overflow-y: auto; }
.gtiq-dd .testbar { display: flex; gap: 8px; padding: 0 16px 12px; flex-wrap: wrap; justify-content: center; }
.gtiq-dd button {
  font-family: var(--body); font-weight: 700; font-size: 14px; cursor: pointer;
  border-radius: 10px; border: 1px solid var(--line); background: var(--navy-2); color: var(--ink);
  padding: 9px 14px;
}
.gtiq-dd button:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 2px; }
.gtiq-dd button.primary { background: var(--green); border-color: var(--green); color: #04140a; }
.gtiq-dd button.ghost { font-size: 12px; padding: 6px 10px; color: var(--muted); }
.gtiq-dd .overlay {
  position: fixed; inset: 0; background: rgba(4, 12, 20, .72); display: none;
  align-items: center; justify-content: center; padding: 16px; z-index: 5;
}
.gtiq-dd .overlay.show { display: flex; }
.gtiq-dd .card {
  width: 100%; max-width: 400px; background: var(--navy-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.gtiq-dd .card h2 { font-family: var(--display); font-size: 22px; margin: 0; line-height: 1.1; text-wrap: balance; }
.gtiq-dd .card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.gtiq-dd .rules { display: grid; gap: 8px; font-size: 14px; }
.gtiq-dd .rules div { display: flex; gap: 10px; align-items: baseline; }
.gtiq-dd .rules i { font-style: normal; width: 22px; flex: none; text-align: center; }
.gtiq-dd .score-rows { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.gtiq-dd .score-rows div { display: flex; justify-content: space-between; font-size: 15px; }
.gtiq-dd .score-rows .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; font-family: var(--display); font-size: 22px; }
.gtiq-dd .score-rows .total strong { color: var(--gold); }
.gtiq-dd .verdict { font-family: var(--display); color: var(--green-hi); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.gtiq-dd .share-preview {
  background: var(--navy); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 13px; white-space: pre-line; line-height: 1.5; font-variant-numeric: tabular-nums;
}
.gtiq-dd .sharecard { display: flex; justify-content: center; }
.gtiq-dd .sharecard img { width: 230px; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.4); -webkit-touch-callout: default; user-select: auto; }
.gtiq-dd .share-alt { display: none; gap: 8px; flex-direction: column; }
.gtiq-dd .share-alt.show { display: flex; }
.gtiq-dd .share-alt .row a, .gtiq-dd .share-alt .row button { flex: 1; text-align: center; text-decoration: none; font: 700 13px var(--body); color: var(--ink); background: var(--navy); border: 1px solid var(--line); border-radius: 10px; padding: 9px 6px; }
.gtiq-dd .row { display: flex; gap: 8px; flex-wrap: wrap; }
.gtiq-dd .row button { flex: 1; }
.gtiq-dd .small { font-size: 12px; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) {.gtiq-dd, .gtiq-dd * { animation: none !important; transition: none !important; }
 }
.gtiq-dd /* ---------- desktop / wide layout ---------- */
.dside {display:none}
.gtiq-dd .app.wide {max-width:1200px;margin:0 auto;width:100%;display:grid;grid-template-columns:270px minmax(0,1fr) 270px;grid-template-rows:auto minmax(0,1fr) auto auto;align-items:stretch}
.gtiq-dd .app.wide header {grid-column:2;grid-row:1;max-width:none;justify-self:stretch}
.gtiq-dd .app.wide .stage {grid-column:2;grid-row:2;align-items:center}
.gtiq-dd .app.wide .controls {grid-column:2;grid-row:3}
.gtiq-dd .app.wide .hint {grid-column:2;grid-row:4;max-width:none;justify-self:center}
.gtiq-dd .app.wide .testbar {display:none}
.gtiq-dd .app.wide .dside {display:flex;flex-direction:column;gap:10px;grid-row:1 / -1;padding:12px;min-height:0;overflow:auto}
.gtiq-dd .app.wide .dsideL {grid-column:1;padding-right:0}
.gtiq-dd .app.wide .dsideR {grid-column:3;padding-left:0}
.gtiq-dd .sbox {background:rgba(15,42,64,.75);border:1px solid var(--line);border-radius:14px;padding:10px 12px;text-align:left}
.gtiq-dd .sbox.grow {flex:1}
.gtiq-dd .sbox p {margin:0;font-size:13px;line-height:1.4;color:var(--muted)}
.gtiq-dd .prizebox {background:linear-gradient(135deg,rgba(255,210,74,.16),rgba(63,191,63,.14));border-color:rgba(255,210,74,.4)}
.gtiq-dd .prizebox p b {color:var(--gold)}
.gtiq-dd .sh {font-weight:800;font-size:11px;letter-spacing:.14em;color:var(--green-hi);text-transform:uppercase;margin-bottom:8px}
.gtiq-dd .sc {display:flex;justify-content:space-between;gap:8px;padding:4px 2px;border-bottom:1px solid rgba(255,255,255,.06);font-size:12.5px;color:var(--ink)}
.gtiq-dd .sc b {font-family:var(--display);font-size:12px;color:var(--gold);white-space:nowrap}
.gtiq-dd .sc.bad b {color:#ffb4a8;font-family:inherit;font-weight:800}
.gtiq-dd .how {margin:0;padding-left:18px;font-size:12.5px;line-height:1.4;color:var(--muted);display:grid;gap:5px}
.gtiq-dd .how b {color:var(--ink)}
.gtiq-dd .bl {display:flex;justify-content:space-between;align-items:center;padding:7px 9px;margin-bottom:5px;border-radius:10px;background:rgba(8,26,41,.6);border:1px solid var(--line);font-size:13px;font-weight:700}
.gtiq-dd .bl b {font-family:var(--display);font-size:14px}
.gtiq-dd .bl.now {border-color:var(--gold)}
.gtiq-dd .bl.tot {background:linear-gradient(90deg,rgba(63,191,63,.22),rgba(255,210,74,.18));border-color:rgba(255,210,74,.4)}
.gtiq-dd .bl.tot b {color:var(--gold)}
.gtiq-dd .bl .m {color:var(--muted);font-weight:600;font-size:12px}
.gtiq-dd .wkgrid {display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.gtiq-dd .wkgrid div {text-align:center;border-radius:9px;padding:5px 1px;background:rgba(8,26,41,.6);border:1px solid var(--line);font-size:9.5px;font-weight:800;color:var(--muted);line-height:1.2}
.gtiq-dd .wkgrid div b {display:block;font-family:var(--display);font-size:10px;color:var(--ink);margin-top:2px}
.gtiq-dd .wkgrid div.today {border-color:var(--gold)}
.gtiq-dd .wkgrid .wt {grid-column:1 / -1;display:flex;justify-content:space-between;padding:6px 9px;font-size:11px;letter-spacing:.06em;text-align:left}
.gtiq-dd .wkgrid .wt b {display:inline;font-size:13px;color:var(--gold);margin:0}
.gtiq-dd .snote {margin:0 0 10px!important}
.gtiq-dd .sdlb {width:100%}


/* WordPress page container: the game gets its own phone-sized stage */
.gtiq-dd { position: relative; height: min(100svh, 940px); min-height: 660px; max-width: 560px; margin: 0 auto 28px; border-radius: 20px; overflow: hidden; }
.gtiq-dd .app { height: 100%; }
.gtiq-dd .overlay { position: absolute; z-index: 50; } /* pop-ups stay inside the game box, never over the article */
.gtiq-dd button { line-height: 1.2; text-transform: none; letter-spacing: normal; box-shadow: none; }
.gtiq-dd h2 { color: var(--ink); }
.gtiq-dd a { text-decoration: underline; }
/* desktop: break out of the article column so the sidebars have room */
.gtiq-dd.dd-wide { max-width: none; width: min(1200px, calc(100vw - 48px)); left: 50%; transform: translateX(-50%); height: min(calc(100svh - 16px), 1000px); }
.gtiq-dd .how { margin: 0; padding-left: 18px; }
.gtiq-dd .how li { margin: 0; }
.gtiq-dd .sbox p { padding: 0; }
@media (max-width: 420px) {
  .gtiq-dd header { padding: 10px 12px 8px; gap: 8px; }
  .gtiq-dd .hud { gap: 5px; }
  .gtiq-dd .chip { min-width: 46px; padding: 4px 7px; }
  .gtiq-dd .chip strong { font-size: 13px; }
  .gtiq-dd .brand b { font-size: 17px; }
  .gtiq-dd .stage { padding: 0 10px; }
}
