/* Isolated styling for /ice-cream/; the homepage's button and CSS are untouched. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { min-width: 280px; background: #080d20; }
body.ccg-ice-page {
  min-height: 100vh; margin: 0; color: #f5f8ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse at 50% 26%, rgba(103,22,92,.25), transparent 57%),
    radial-gradient(ellipse at 6% 65%, rgba(0,130,180,.09), transparent 52%),
    linear-gradient(155deg,#081329 0%,#110c26 65%,#070d1b 100%);
}
.ccg-ice-page a { color: #9ce9ff; text-underline-offset: 3px; }
.ccg-ice-page a:hover { color: white; }
.ice-shell { width: min(100% - 32px, 900px); margin: 0 auto; }
.ice-topbar {
  min-height: 76px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px; padding: 15px 0;
  border-bottom: 1px solid rgba(114,215,255,.18);
}
.ice-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ice-brand img { width: 54px; height: 37px; object-fit: contain; }
.ice-brand span { color: #f8faff; font-weight: 850; letter-spacing: .06em; font-size: .85rem; }
.ice-topbar > a:last-child { font-size: .88rem; font-weight: 650; }
.ice-intro { text-align: center; padding: clamp(28px, 5vw, 48px) 12px 8px; }
.ice-eyebrow { color: #72d7ff; font-weight: 800; letter-spacing: .13em; font-size: .72rem; }
.ice-intro h1 { font-size: clamp(1.6rem,4.5vw,2.55rem); line-height: 1.16; margin: 10px 0 12px; }
.ice-intro > p:last-child { color: #d8def0; margin: 0 auto 12px; max-width: 55ch; line-height: 1.55; }
html[data-ccg-feature="ice-cream"] .ccg-dnp {
  width: min(450px, 100%); min-height: 390px; margin: 14px auto 10px;
  padding: 18px 16px 20px; gap: 15px; border-color: rgba(114,215,255,.34);
  background: radial-gradient(circle at 50% 38%,rgba(155,12,45,.14),transparent 62%),
    linear-gradient(150deg,rgba(11,18,38,.97),rgba(22,13,44,.97));
}
html[data-ccg-feature="ice-cream"] .ccg-dnp__title { font-size: clamp(1.1rem,4.5vw,1.55rem); }
html[data-ccg-feature="ice-cream"] .ccg-dnp__button-wrap { width: min(280px, 68vw); }
html[data-ccg-feature="ice-cream"] .ccg-dnp__counter-number { font-size: 1.7rem; }
.ice-sharing { text-align: center; margin: 18px auto 34px; }
.ice-sharing > p:first-child { color: #d6dcf0; font-size: .98rem; }
.ice-sharing-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.ice-action {
  min-height: 45px; min-width: 138px; border: 1px solid rgba(114,215,255,.5);
  border-radius: 10px; color: #e6faff; background: #12253e;
  font: 750 .96rem/1.2 system-ui,sans-serif; padding: 10px 18px;
  cursor: pointer; touch-action: manipulation;
}
.ice-action--primary { background: #72d7ff; color: #071326; border-color: #72d7ff; }
.ice-action:hover { filter: brightness(1.1); }
.ice-action:focus-visible,.ccg-ice-page a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ice-share-status { min-height: 1.5em; color: #9ce9ff; font-size: .9rem; overflow-wrap: anywhere; }
.ice-history {
  max-width: 740px; margin: 0 auto 38px; padding: 24px clamp(18px, 4vw, 32px);
  border: 1px solid rgba(114,215,255,.16); border-radius: 14px;
  background: rgba(6,14,30,.5);
}
.ice-history h2 { font-size: clamp(1.13rem,3vw,1.4rem); margin: 0 0 10px; }
.ice-history p { line-height: 1.7; color: #d6def1; margin: 10px 0; }
.ice-footer {
  padding: 18px 0 28px; border-top: 1px solid rgba(114,215,255,.18);
  text-align: center; font-size: .82rem; line-height: 1.6; color: #b9c4de;
}
@media (max-width: 520px) {
  .ice-shell { width: min(100% - 22px, 900px); }
  .ice-topbar { min-height: 72px; }
  .ice-brand span { font-size: .66rem; letter-spacing: .025em; }
  .ice-topbar > a:last-child { font-size: .79rem; }
  html[data-ccg-feature="ice-cream"] .ccg-dnp { min-height: 346px; padding: 15px 10px; }
  html[data-ccg-feature="ice-cream"] .ccg-dnp__button-wrap { width: min(248px, 66vw); }
}
@media (prefers-reduced-motion: reduce) { .ice-action { transition: none; } }

/* Source-backed Speedball 2 facts and optional poster, below the interactive button. */
.ice-history h3 { color: #f6fbff; font-size: clamp(1rem,2.5vw,1.14rem); line-height: 1.35; margin: 22px 0 6px; }
.ice-poster {
  width: min(100%, 390px);
  margin: 25px auto 22px;
  text-align: center;
}
.ice-poster a { display: block; border-radius: 10px; overflow: hidden; }
.ice-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: 10px;
  background: #0b1b35;
  box-shadow: 0 0 0 1px rgba(114,215,255,.25), 0 6px 26px rgba(0,0,0,.36);
}
.ice-poster figcaption { margin-top: 12px; color: #b9c9df; font-size: .82rem; line-height: 1.5; }
.ice-history .ice-history__sources { font-size: .81rem; color: #b9c9df; line-height: 1.65; }
