:root {
  --ig-ink: #f8f0d8;
  --ig-muted: #b8ced0;
  --ig-aqua: #36e0d1;
  --ig-aqua-soft: rgba(54, 224, 209, 0.18);
  --ig-gold: #f4c85a;
  --ig-gold-soft: rgba(244, 200, 90, 0.2);
  --ig-deep: #041115;
  --ig-panel: #082226;
  --ig-panel-2: #0b2e31;
  --ig-line: rgba(54, 224, 209, 0.28);
  --ig-shadow: 0 22px 56px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body.inselgolf-page {
  min-width: 300px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ig-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(23, 112, 104, 0.24), transparent 28rem),
    radial-gradient(circle at 95% 22%, rgba(176, 122, 32, 0.14), transparent 32rem),
    linear-gradient(180deg, #06181c 0%, #031014 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.inselgolf-page a {
  color: inherit;
}

.inselgolf-page button,
.inselgolf-page canvas {
  font: inherit;
}

.inselgolf-page button {
  touch-action: manipulation;
}

.ig-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #041115;
  background: #fff4c3;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.ig-skip-link:focus {
  transform: translateY(0);
}

.ig-site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 66px;
  padding: 8px clamp(14px, 3vw, 44px);
  border-bottom: 1px solid rgba(76, 218, 205, 0.2);
  background: rgba(4, 17, 21, 0.93);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ig-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.ig-brand-shell {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 240, 172, 0.75);
  border-radius: 50%;
  color: #063238;
  background: radial-gradient(circle at 36% 30%, #fff9cc 0 13%, #f0c45a 45%, #a66c22 100%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.16), 0 5px 16px rgba(0, 0, 0, 0.32);
  font-weight: 900;
}

.ig-brand > span:last-child {
  display: grid;
  line-height: 1.05;
}

.ig-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.ig-brand small {
  margin-top: 3px;
  color: var(--ig-aqua);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ig-header-links {
  display: flex;
  gap: clamp(12px, 2.5vw, 30px);
  margin-right: clamp(12px, 3vw, 36px);
}

.ig-header-links a {
  color: #d4e4e5;
  font-weight: 800;
  text-decoration: none;
}

.ig-header-links a:hover,
.ig-header-links a:focus-visible {
  color: var(--ig-aqua);
}

.ig-user-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 78px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid rgba(244, 200, 90, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42, 51, 35, 0.88), rgba(17, 29, 25, 0.92));
}

.ig-user-pill strong {
  color: #fff2b2;
  font-size: 18px;
}

.inselgolf-page main,
.ig-footer {
  width: min(100% - 28px, 1500px);
  margin-inline: auto;
}

.ig-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.35fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: min(760px, calc(100svh - 66px));
  padding: clamp(42px, 7vw, 92px) 0;
}

.ig-eyebrow {
  margin: 0 0 8px;
  color: var(--ig-aqua);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ig-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8.5vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.ig-hero h1 span {
  display: block;
  margin-top: 20px;
  color: var(--ig-gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(20px, 2.3vw, 34px);
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-transform: uppercase;
}

.ig-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #d6e8e8;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.5;
}

.ig-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.ig-hero-badges span {
  padding: 8px 13px;
  border: 1px solid rgba(54, 224, 209, 0.5);
  border-radius: 999px;
  color: #d8ffff;
  background: rgba(5, 43, 47, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ig-primary-link,
.ig-button,
.ig-small-button {
  border: 1px solid rgba(54, 224, 209, 0.58);
  border-radius: 12px;
  color: #efffff;
  background: rgba(4, 34, 38, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.ig-primary-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 12px 22px;
}

.ig-primary-link:hover,
.ig-primary-link:focus-visible,
.ig-button:hover,
.ig-button:focus-visible,
.ig-small-button:hover,
.ig-small-button:focus-visible {
  border-color: #7ff8ed;
  background: #0b5053;
  box-shadow: 0 10px 28px rgba(30, 214, 196, 0.18);
  transform: translateY(-1px);
}

.ig-primary-link:focus-visible,
.ig-button:focus-visible,
.ig-small-button:focus-visible,
#igCanvas:focus-visible {
  outline: 3px solid #fff0a8;
  outline-offset: 3px;
}

#igCanvas:focus-visible {
  outline-offset: -5px;
}

.ig-hero-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 224, 209, 0.32);
  border-radius: clamp(22px, 3vw, 38px);
  background: #08232a;
  box-shadow: var(--ig-shadow);
  isolation: isolate;
}

.ig-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.22));
}

.ig-hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.ig-hero-art figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(54, 224, 209, 0.34);
  border-radius: 999px;
  color: #ddffff;
  background: rgba(3, 20, 24, 0.8);
  font-size: 11px;
  font-weight: 900;
}

.ig-game-section,
.ig-holes,
.ig-info-grid,
.ig-faq {
  scroll-margin-top: 82px;
}

.ig-game-section {
  padding: clamp(28px, 4vw, 58px) 0 clamp(64px, 8vw, 110px);
}

.ig-section-heading {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  width: min(100%, 1040px);
  margin: 0 auto 20px;
}

.ig-section-heading h2,
.ig-holes h2,
.ig-info-grid h2,
.ig-faq h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.ig-daily-text,
.ig-section-heading > p {
  max-width: 600px;
  margin: 0;
  color: var(--ig-muted);
  font-size: 15px;
}

.ig-game-card {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding: clamp(10px, 1.6vw, 18px);
  border: 1px solid rgba(244, 200, 90, 0.32);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(14, 57, 57, 0.82), rgba(4, 21, 25, 0.96)),
    #071b1e;
  box-shadow: var(--ig-shadow);
}

.ig-course-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.ig-course-strip > span {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 6px 11px;
  border: 1px solid rgba(54, 224, 209, 0.16);
  border-radius: 12px;
  color: #90aeb0;
  background: rgba(1, 15, 19, 0.48);
}

.ig-course-strip b {
  display: grid;
  width: 32px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
}

.ig-course-strip small {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.ig-course-strip > span.is-current {
  border-color: rgba(95, 241, 214, 0.68);
  color: #efffff;
  background: linear-gradient(135deg, rgba(11, 111, 91, 0.86), rgba(7, 56, 54, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.ig-course-strip > span.is-complete {
  color: #ffe58a;
  background: rgba(91, 70, 19, 0.4);
}

.ig-hud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.ig-hud > div {
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid rgba(54, 224, 209, 0.18);
  border-radius: 12px;
  background: rgba(1, 14, 18, 0.68);
}

.ig-hud span {
  display: block;
  overflow: hidden;
  color: #95b9bb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ig-hud strong {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: #fff4bd;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ig-stage-shell {
  position: relative;
  width: min(100%, 840px);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(54, 224, 209, 0.45);
  border-radius: 18px;
  background: #06181d;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36);
  isolation: isolate;
}

#igCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

#igCanvas.is-dragging {
  cursor: grabbing;
}

.ig-loading {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  color: #efffff;
  background: linear-gradient(145deg, #0b3436, #031317);
  font-weight: 850;
  text-align: center;
}

.ig-loading span {
  width: 42px;
  aspect-ratio: 1;
  margin-inline: auto;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--ig-aqua);
  border-radius: 50%;
  animation: ig-spin 900ms linear infinite;
}

.ig-loading[hidden] {
  display: none;
}

@keyframes ig-spin {
  to { transform: rotate(1turn); }
}

.ig-power {
  position: absolute;
  z-index: 8;
  right: 16px;
  bottom: 18px;
  width: min(210px, 31%);
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 239, 166, 0.66);
  border-radius: 999px;
  background: rgba(1, 13, 16, 0.76);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.ig-stage-shell.is-aiming .ig-power {
  opacity: 1;
  transform: translateY(0);
}

.ig-power span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #48e3a7, #f6d25d 62%, #f27642);
  transition: width 50ms linear;
}

.ig-power strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 3px #000;
}

.ig-hole-label {
  position: absolute;
  z-index: 8;
  top: 14px;
  left: 14px;
  display: grid;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border: 1px solid rgba(255, 236, 155, 0.46);
  border-radius: 10px;
  color: #fff4bc;
  background: rgba(3, 21, 24, 0.76);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.ig-hole-label span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.1;
}

.ig-hole-label small {
  color: #c8dfdf;
  font-size: 10px;
  font-weight: 750;
}

.ig-overlay {
  position: absolute;
  z-index: 15;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(14px, 4vw, 36px);
  background: rgba(1, 14, 17, 0.54);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ig-overlay[hidden] {
  display: none;
}

.ig-overlay-card {
  width: min(100%, 500px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(244, 200, 90, 0.58);
  border-radius: 22px;
  color: #f9f4df;
  background:
    radial-gradient(circle at 50% 0%, rgba(50, 189, 163, 0.2), transparent 48%),
    linear-gradient(150deg, rgba(7, 48, 48, 0.97), rgba(3, 19, 23, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.54);
  text-align: center;
}

.ig-overlay-coconut {
  position: relative;
  display: block;
  width: 68px;
  aspect-ratio: 1;
  margin: 0 auto 14px;
  border: 3px solid #8c4d20;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 31%, rgba(255, 223, 170, 0.4), transparent 7%),
    radial-gradient(circle at 64% 45%, #5c2d14 0 4%, transparent 5%),
    repeating-linear-gradient(73deg, rgba(62, 28, 12, 0.28) 0 2px, transparent 2px 5px),
    radial-gradient(circle at 42% 35%, #c77a36, #8a471f 58%, #4c220f 100%);
  box-shadow: inset -9px -10px 14px rgba(36, 14, 5, 0.4), 0 10px 20px rgba(0, 0, 0, 0.32);
}

.ig-overlay-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
}

.ig-overlay-card > p:not(.ig-eyebrow) {
  margin: 14px auto 0;
  color: #cce2e1;
}

.ig-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.ig-button {
  min-height: 48px;
  padding: 10px 17px;
}

.ig-button-primary {
  border-color: #7cf4de;
  color: #021516;
  background: linear-gradient(180deg, #5cf1d4, #28bfa7);
}

.ig-button-primary:hover,
.ig-button-primary:focus-visible {
  color: #001313;
  background: linear-gradient(180deg, #86ffe9, #3bd1b8);
}

.ig-button-reward {
  border-color: #ffe281;
  color: #241700;
  background: linear-gradient(180deg, #ffe78a, #e5ad35);
}

.ig-button-reward:hover,
.ig-button-reward:focus-visible {
  border-color: #fff1ad;
  color: #1e1200;
  background: linear-gradient(180deg, #fff1ad, #f1bd4c);
}

.ig-button[disabled],
.ig-small-button[disabled] {
  cursor: not-allowed;
  filter: saturate(0.25);
  opacity: 0.55;
  transform: none;
}

.ig-message-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.ig-message {
  min-height: 48px;
  padding: 12px 14px;
  border-left: 3px solid var(--ig-aqua);
  border-radius: 10px;
  color: #e8ffff;
  background: rgba(2, 22, 26, 0.78);
  font-weight: 760;
}

.ig-message.is-good {
  border-left-color: #f4cf59;
  color: #fff1b1;
}

.ig-message.is-error {
  border-left-color: #ff806f;
  color: #ffd6cf;
}

.ig-stage-actions {
  display: flex;
  gap: 8px;
}

.ig-small-button {
  min-height: 42px;
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.ig-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.ig-controls-grid > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 11px;
  border: 1px solid rgba(54, 224, 209, 0.16);
  border-radius: 12px;
  background: rgba(2, 18, 22, 0.58);
}

.ig-control-icon {
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(244, 200, 90, 0.45);
  border-radius: 50%;
  color: #ffe077;
  background: rgba(93, 65, 15, 0.2);
}

.ig-controls-grid strong {
  font-size: 13px;
}

.ig-controls-grid small {
  color: #91b6b8;
  font-size: 11px;
}

.ig-keyboard-help {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(54, 224, 209, 0.14);
  border-radius: 10px;
  color: #b9d4d5;
  background: rgba(2, 17, 21, 0.5);
  font-size: 12px;
}

.ig-keyboard-help summary {
  color: #e7ffff;
  font-weight: 850;
  cursor: pointer;
}

.ig-keyboard-help p {
  margin: 8px 0 0;
}

.ig-holes {
  padding: 0 0 clamp(60px, 8vw, 110px);
}

.ig-hole-cards,
.ig-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.ig-hole-cards article,
.ig-info-grid article,
.ig-faq {
  border: 1px solid rgba(54, 224, 209, 0.2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(12, 48, 49, 0.82), rgba(4, 22, 26, 0.88));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.ig-hole-cards article,
.ig-info-grid article {
  padding: clamp(20px, 3vw, 30px);
}

.ig-hole-cards article:nth-child(1) { border-top-color: #ffd26a; }
.ig-hole-cards article:nth-child(2) { border-top-color: #51e0d4; }
.ig-hole-cards article:nth-child(3) { border-top-color: #759bf7; }

.ig-hole-cards span {
  color: var(--ig-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ig-hole-cards h3 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
}

.ig-hole-cards p,
.ig-info-grid p,
.ig-info-grid li,
.ig-faq p {
  color: var(--ig-muted);
}

.ig-hole-cards p,
.ig-info-grid p {
  margin: 0;
}

.ig-info-grid {
  padding-bottom: clamp(60px, 8vw, 110px);
}

.ig-info-grid h2 {
  margin-bottom: 15px;
  font-size: clamp(25px, 3vw, 36px);
}

.ig-info-grid ul {
  margin: 17px 0 0;
  padding-left: 19px;
}

.ig-info-grid li + li {
  margin-top: 7px;
}

.ig-faq {
  width: min(100%, 980px);
  margin: 0 auto clamp(70px, 9vw, 120px);
  padding: clamp(22px, 4vw, 42px);
}

.ig-faq h2 {
  margin-bottom: 20px;
}

.ig-faq details {
  border-top: 1px solid rgba(54, 224, 209, 0.18);
  padding: 15px 2px;
}

.ig-faq summary {
  color: #efffff;
  font-weight: 900;
  cursor: pointer;
}

.ig-faq details p {
  margin: 10px 0 0;
}

.ig-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 26px 0 38px;
  border-top: 1px solid rgba(54, 224, 209, 0.17);
  color: #8fb0b2;
  font-size: 13px;
}

.ig-footer p {
  margin: 0;
}

.ig-footer a {
  color: #dffeff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .ig-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
  }

  .ig-hero-copy {
    max-width: 760px;
  }

  .ig-hero-art {
    width: min(100%, 820px);
  }

  .ig-section-heading {
    display: grid;
    align-items: start;
  }

  .ig-hole-cards,
  .ig-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 62px;
  }

  .ig-site-header {
    grid-template-columns: 1fr auto;
    min-height: 58px;
    padding: 7px 12px;
  }

  .ig-header-links {
    display: none;
  }

  .ig-brand-shell {
    width: 36px;
  }

  .ig-brand strong {
    font-size: 17px;
  }

  .ig-user-pill {
    min-width: 66px;
    min-height: 36px;
  }

  .inselgolf-page main,
  .ig-footer {
    width: min(100% - 16px, 1500px);
  }

  .ig-hero {
    gap: 30px;
    padding: 38px 0 54px;
  }

  .ig-hero h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .ig-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .ig-hero-art figcaption {
    display: none;
  }

  .ig-game-card {
    padding: 7px;
    border-radius: 16px;
  }

  .ig-course-strip {
    gap: 5px;
  }

  .ig-course-strip > span {
    grid-template-columns: 28px 1fr;
    gap: 5px;
    min-height: 42px;
    padding: 4px 6px;
  }

  .ig-course-strip b {
    width: 27px;
    font-size: 11px;
  }

  .ig-course-strip small {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ig-hud {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .ig-hud > div {
    padding: 6px 8px;
  }

  .ig-hud > div:last-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .ig-hud strong {
    font-size: 17px;
  }

  .ig-stage-shell {
    width: 100%;
    border-radius: 12px;
  }

  .ig-hole-label {
    top: 7px;
    left: 7px;
    padding: 4px 7px;
  }

  .ig-hole-label span {
    font-size: 14px;
  }

  .ig-hole-label small {
    display: none;
  }

  .ig-message-row {
    grid-template-columns: 1fr;
  }

  .ig-stage-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ig-controls-grid {
    grid-template-columns: 1fr;
  }

  .ig-controls-grid > div {
    min-height: 54px;
  }

  .ig-overlay {
    padding: 8px;
  }

  .ig-overlay-card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .ig-overlay-coconut {
    width: 50px;
    margin-bottom: 9px;
  }

  .ig-overlay-card h3 {
    font-size: 26px;
  }

  .ig-overlay-card > p:not(.ig-eyebrow) {
    margin-top: 9px;
    font-size: 13px;
  }

  .ig-overlay-actions {
    margin-top: 14px;
  }
}

@media (max-width: 430px) {
  .ig-hero-badges span {
    padding: 6px 9px;
    font-size: 10px;
  }

  .ig-primary-link,
  .ig-button {
    width: 100%;
  }

  .ig-hud span {
    font-size: 8px;
  }

  .ig-hud strong {
    font-size: 15px;
  }

  .ig-message {
    font-size: 12px;
  }

  .ig-small-button {
    font-size: 11px;
  }

  .ig-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ig-loading span {
    animation-duration: 1800ms;
  }

  .ig-primary-link,
  .ig-button,
  .ig-small-button {
    transition: none;
  }
}
