/* Blixtflow – bransch: gym och träningsstudior (prefix gym-). Energi: kraftiga diagonaler, pulslinjer
   och neonlika gnistaccenter på mörkt. ind-gym.js ritar pulskurvan när man skrollar, sköter kampanjen,
   löpbandets display och PT-ringarna. Bygger på ai.css. */
.page-gym { --neon: #F2FAA3; --glow: 0 0 18px rgba(242, 250, 163, .55); --ig: linear-gradient(45deg, #f9a03f, #e1306c 50%, #833ab4); }
.page-gym .lp-split .h2 + .lead { margin-top: 16px; }

/* Kanalikoner */
.gym-ch { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: var(--primar-ink); }
.gym-ch .ic { width: 16px; height: 16px; }
.gym-ch--instagram { background: var(--ig); }
.gym-ch--messenger { background: linear-gradient(45deg, #0a7cff, #a033ff); }
.gym-ch--whatsapp { background: #25D366; }
.gym-ch--phone { background: var(--ok); }
.gym-ch--chat { color: var(--natt); background: var(--neon); }
.gym-ch--mail { background: var(--natt-2); }

/* ==========================================================================
   1. Hjälten
   ========================================================================== */
.gym-hero { background: radial-gradient(60% 60% at 90% 10%, rgba(155, 93, 229, .38), transparent 60%), var(--natt); }
.gym-diag { position: absolute; inset: -30% -20% -30% 30%; z-index: -1; transform: skewX(-24deg); display: flex; gap: 46px; pointer-events: none; }
.gym-diag i { width: 90px; background: linear-gradient(180deg, transparent, rgba(155, 93, 229, .2) 40%, transparent); }
.gym-diag i:nth-child(2) { width: 34px; background: linear-gradient(180deg, transparent, rgba(242, 250, 163, .16) 50%, transparent); }
.gym-diag i:nth-child(3) { width: 140px; background: linear-gradient(180deg, transparent 10%, rgba(126, 69, 201, .22) 60%, transparent); }
.motion .gym-diag i { animation: gym-sweep 6s ease-in-out infinite alternate; }
.motion .gym-diag i:nth-child(2) { animation-delay: -2s; }
.motion .gym-diag i:nth-child(3) { animation-delay: -4s; }
.gym-ecg { position: absolute; left: 46%; right: 0; bottom: calc(var(--sheet-r) + 18px); z-index: -1; width: 54%; height: 80px; overflow: visible; }
@media (max-width: 999px) { .gym-ecg { left: 0; width: 100%; bottom: calc(var(--sheet-r) + 4px); height: 50px; } }
.gym-ecg path { fill: none; stroke: var(--neon); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .45; filter: drop-shadow(0 0 6px rgba(242, 250, 163, .7)); stroke-dasharray: 100 100; }
.motion .gym-ecg path { stroke-dasharray: 22 78; animation: gym-ecg 5s linear infinite; }
.gym-hero .air-title { max-width: 13ch; }
.gym-show { position: relative; display: grid; justify-items: end; padding: 80px 0 100px; }
.gym-inbox { position: relative; z-index: 2; width: min(420px, 100%); padding: 14px; border-radius: 28px; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 110px -40px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(242, 250, 163, .45); transform: rotate(-2deg); }
.motion .gym-inbox { animation: gym-slam 1s .2s var(--spring) backwards; }
.gym-inbox__h { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; border-bottom: 1px solid var(--line-2); }
.gym-logo { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--neon); background: var(--natt); transform: skewX(-8deg); }
.gym-logo .ic { width: 20px; height: 20px; }
.gym-inbox__h > span:nth-child(2) { display: grid; }
.gym-inbox__h small { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gym-inbox__h em { margin-left: auto; display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 9px; font-style: normal; font-weight: 800; color: var(--natt); background: var(--neon); }
.gym-inbox ul { display: grid; gap: 8px; margin-top: 12px; }
.gym-inbox li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 10px; padding: 10px; border-radius: 16px; background: var(--ljus); }
.gym-inbox li > span { display: grid; min-width: 0; }
.gym-inbox li b { font-size: .84rem; }
.gym-inbox li small { overflow: hidden; font-size: .82rem; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.gym-inbox li em { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-style: normal; font-weight: 800; color: var(--natt); background: var(--neon); transform: skewX(-8deg); }
.gym-inbox li em .ic { width: 12px; height: 12px; stroke-width: 2.8; }
.motion .gym-inbox li { animation: gym-dash .6s var(--ease-out) backwards; animation-delay: calc(.9s + var(--i) * .3s); }
.motion .gym-inbox li em { animation: chp-pop .5s var(--spring) backwards; animation-delay: calc(1.5s + var(--i) * .3s); }
.gym-campc { position: absolute; right: -22px; top: -26px; z-index: 3; width: 220px; padding: 12px 14px; border-radius: 18px 18px 6px 18px; color: #fff; background: linear-gradient(135deg, var(--primar-ink), var(--primar)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); transform: rotate(3deg); }
.gym-campc__k { display: flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ton); }
.gym-campc__k .ic { width: 13px; height: 13px; }
.gym-campc__t { margin-top: 4px; font-size: 1.05rem; font-weight: 800; }
.gym-campc__code { display: inline-block; margin-top: 8px; padding: 4px 10px; border: 2px dashed var(--neon); border-radius: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--neon); }
.motion .gym-campc { animation: chp-pop .7s 2.6s var(--spring) backwards, chp-float 6s 3.4s ease-in-out infinite; }
.gym-ptc { position: absolute; left: -14px; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 16px; color: #fff; background: var(--natt); box-shadow: inset 0 0 0 2px var(--neon), 0 30px 60px -20px rgba(0, 0, 0, .9), var(--glow); transform: skewX(-6deg); }
.gym-ptc > * { transform: skewX(6deg); }
.gym-ptc i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--natt); background: var(--neon); }
.gym-ptc .ic { width: 17px; height: 17px; }
.gym-ptc span { display: grid; }
.gym-ptc small { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ton); }
.gym-ptc b { font-size: .92rem; }
.motion .gym-ptc { animation: gym-in-l .9s 3.2s var(--ease-out) backwards; }
.gym-bx { position: absolute; left: -8px; top: -20px; z-index: 4; width: 156px; }
@media (min-width: 1000px) { .gym-inbox { margin-right: 24px; } }
@media (max-width: 999px) { .gym-show { justify-items: center; } }
@media (max-width: 599px) {
  .gym-show { padding: 108px 0 186px; }
  .gym-inbox { padding: 12px; transform: none; }
  .gym-campc { right: 0; top: 0; width: 196px; transform: rotate(2deg); }
  .gym-ptc { left: 4px; bottom: 44px; max-width: 64%; }
  .gym-bx { top: auto; left: auto; right: 0; bottom: -8px; width: 104px; }
}

/* ==========================================================================
   2. Pulsen
   ========================================================================== */
.gym-pulse { --p: 1; overflow: clip; color: #fff; background: linear-gradient(180deg, #1A0824, var(--natt)); }
.gym-pulse__bands { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-60deg, transparent 0 120px, rgba(155, 93, 229, .07) 120px 160px); }
.gym-pulse .lp-pin__sticky { position: relative; }
.gym-pulse__in { position: relative; display: grid; gap: 26px; }
.gym-pulse__head { display: grid; gap: 20px; align-items: end; }
@media (min-width: 1000px) { .gym-pulse__head { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.gym-pulse__head .lead { max-width: 560px; margin-top: 14px; color: var(--on-dark-muted); }
.gym-meter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gym-meter p { display: grid; gap: 4px; min-width: 150px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--on-dark-line); transform: skewX(-6deg); }
.gym-meter p > * { transform: skewX(6deg); }
.gym-meter b { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--neon); text-shadow: var(--glow); font-variant-numeric: tabular-nums; }
.gym-meter p + p b { color: #fff; text-shadow: none; }
.gym-meter b.is-bump { animation: bump .45s var(--spring); }
.gym-meter span { font-size: .84rem; color: var(--on-dark-muted); }
.gym-mon { padding: 14px; border-radius: 28px; background: #0E0414; box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .16), 0 50px 100px -40px rgba(0, 0, 0, .95); }
.gym-mon__top { display: flex; align-items: center; gap: 12px; padding: 2px 6px 12px; font-size: .8rem; }
.gym-mon__top span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: #fff; background: #C53030; }
.gym-mon__top span i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: gym-blink 1.2s steps(2) infinite; }
.gym-mon__top em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.gym-mon__screen { position: relative; height: 340px; border-radius: 18px; background: linear-gradient(rgba(242, 250, 163, .05) 1px, transparent 1px) 0 0 / 100% 34px, linear-gradient(90deg, rgba(242, 250, 163, .05) 1px, transparent 1px) 0 0 / 50px 100%, #12061A; }
.gym-mon__screen svg { position: absolute; left: 0; right: 0; top: 30%; width: 100%; height: 40%; overflow: visible; }
.gym-mon__line { fill: none; stroke: var(--neon); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1000 1000; filter: drop-shadow(0 0 6px rgba(242, 250, 163, .8)); }
.gym-mon__dot { position: absolute; top: 60%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(242, 250, 163, .35), var(--glow); }
.gym-ev { position: absolute; left: calc(var(--x) * 100%); width: 0; }
.gym-ev--t { top: 12px; }
.gym-ev--b { bottom: 12px; }
.gym-ev p { position: absolute; left: -82px; display: grid; gap: 2px; width: 164px; padding: 8px 10px; border-radius: 12px; color: var(--ink); background: #fff; opacity: .12; transform: translateY(8px) scale(.94); transition: opacity .35s, transform .5s var(--spring), box-shadow .35s; }
.gym-ev--b p { bottom: 0; }
.gym-ev.is-on p { opacity: 1; transform: none; }
.gym-ev.is-new p { box-shadow: 0 0 0 3px var(--neon), var(--glow); }
.gym-ev::before { content: ""; position: absolute; left: -1px; width: 2px; background: rgba(242, 250, 163, .25); }
.gym-ev--t::before { top: 70px; height: 34px; }
.gym-ev--b::before { bottom: 72px; height: 32px; }
.gym-ev small { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.gym-ev small i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; color: #fff; background: var(--primar-ink); }
.gym-ev small .ic { width: 11px; height: 11px; }
.gym-ev b { font-size: .8rem; line-height: 1.25; }
.gym-ev span { display: flex; align-items: center; gap: 4px; font-size: .7rem; line-height: 1.3; color: var(--ok); }
.gym-ev span .ic { flex: none; width: 12px; height: 12px; stroke-width: 2.8; }
.gym-ev:first-of-type p { left: -40px; }
.gym-ev:last-of-type p { left: -124px; }
.gym-now { display: none; }
@media (max-width: 1199px) { .gym-ev p { left: -70px; width: 140px; } .gym-ev:first-of-type p { left: -30px; } .gym-ev:last-of-type p { left: -110px; } }
@media (max-width: 999px) {
  .gym-pulse.is-pinned .gym-pulse__head .lead { display: none; }
  .gym-pulse.is-pinned .gym-pulse__in { gap: 14px; }
  .gym-pulse.is-pinned .h2 { font-size: 1.7rem; }
  .gym-meter p { min-width: 0; padding: 10px 12px; }
  .gym-meter b { font-size: 1.6rem; }
  .gym-mon { padding: 10px; border-radius: 22px; }
  .gym-mon__top em { display: none; }
  .gym-mon__screen { height: 180px; }
  .gym-mon__screen svg { top: 15%; height: 70%; }
  .gym-mon__dot { top: 57%; }
  .gym-ev { display: none; }
  .gym-now { display: grid; gap: 3px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; color: var(--ink); background: #fff; }
  .gym-now small { font-size: .7rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
  .gym-now b { font-size: 1rem; }
  .gym-now > span { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ok); }
  .gym-now .ic { width: 14px; height: 14px; stroke-width: 2.8; }
  .gym-now.is-swap { animation: fade-up .35s var(--ease-out); }
}

/* ==========================================================================
   3. Bygg kampanjen
   ========================================================================== */
.gym-ctrl { display: grid; gap: 10px; margin-top: 24px; }
.gym-ctrl__h { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gym-ctrl__h span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: .74rem; letter-spacing: 0; color: var(--neon); background: var(--natt); transform: skewX(-8deg); }
.gym-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.gym-seg button { padding: 10px 16px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: background-color .2s, color .2s, transform .3s var(--spring), box-shadow .2s; }
.gym-seg button:hover { transform: translateY(-2px); }
.gym-seg button[aria-pressed="true"] { color: var(--neon); background: var(--natt); box-shadow: 0 12px 24px -12px rgba(44, 14, 61, .8); }
.gym-seg button:focus-visible, .gym-switch:focus-visible { outline: 3px solid var(--primar); outline-offset: 2px; }
.gym-seg--when button { font-size: .84rem; }
.gym-switch { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 8px 14px 8px 8px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.gym-switch i { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line); transition: background-color .25s; }
.gym-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .3s var(--spring); }
.gym-switch[aria-pressed="true"] i { background: var(--primar-ink); }
.gym-switch[aria-pressed="true"] i::after { transform: translateX(18px); }
.gym-prev { position: relative; display: grid; gap: 14px; }
.gym-site { overflow: hidden; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.gym-site__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EDE6F5; }
.gym-site__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6C9E6; }
.gym-site__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--muted); background: #fff; }
.gym-site__page { position: relative; min-height: 360px; padding: 24px 26px; color: #fff; background: linear-gradient(115deg, transparent 52%, rgba(242, 250, 163, .14) 52% 56%, transparent 56% 62%, rgba(155, 93, 229, .35) 62% 74%, transparent 74%), var(--natt); }
.gym-site__logo { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 800; }
.gym-site__logo b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: var(--neon); background: rgba(255, 255, 255, .1); }
.gym-site__logo .ic { width: 15px; height: 15px; }
.gym-site__h { max-width: 9ch; margin-top: 24px; font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; font-style: italic; }
.gym-site__p { max-width: 22ch; margin-top: 10px; font-size: .84rem; color: var(--on-dark-muted); }
.gym-site__btn { display: inline-block; margin-top: 14px; padding: 8px 16px; border-radius: 10px; font-size: .82rem; font-weight: 800; color: var(--natt); background: var(--neon); transform: skewX(-8deg); }
.gym-when { position: absolute; left: 26px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; color: var(--on-dark-muted); background: rgba(255, 255, 255, .08); }
.gym-when b { color: #fff; }
.gym-when .ic { width: 13px; height: 13px; color: var(--neon); }
.gym-pop { position: absolute; right: 18px; bottom: 78px; width: min(250px, 58%); padding: 14px; border-radius: 18px 18px 6px 18px; color: var(--ink); background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.gym-pop.is-swap { animation: chp-pop .5s var(--spring); }
.gym-pop__k { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primar-ink); background: var(--soft); }
.gym-pop__t { margin-top: 6px; font-size: 1rem; font-weight: 800; line-height: 1.2; }
.gym-pop__x { margin-top: 4px; font-size: .8rem; line-height: 1.4; color: var(--ink-2); }
.gym-pop__code { justify-self: start; display: inline-block; margin-top: 8px; padding: 4px 10px; border: 2px dashed var(--primar-ink); border-radius: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--primar-ink); }
.gym-pop__code:empty { display: none; }
.gym-pop__btn { margin-top: 10px; padding: 8px; border-radius: 10px; font-size: .82rem; font-weight: 800; text-align: center; color: var(--neon); background: var(--natt); }
.gym-launcher { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--natt); background: var(--neon); box-shadow: var(--glow); }
.gym-launcher .ic { width: 20px; height: 20px; }
.gym-post { display: grid; grid-template-columns: 110px minmax(0, 1fr); overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: opacity .35s, transform .45s var(--spring); }
.gym-post[hidden] { display: none; }
.gym-post.is-in-anim { animation: fade-up .45s var(--ease-out); }
.gym-post__img { display: grid; place-items: end start; padding: 10px; color: #fff; background: linear-gradient(120deg, var(--natt) 0 55%, var(--primar) 55% 70%, var(--neon) 70% 74%, var(--natt) 74%); }
.gym-post__img b { font-size: .74rem; font-style: italic; line-height: 1.15; text-transform: uppercase; }
.gym-post__body { display: grid; gap: 6px; padding: 12px 14px; }
.gym-post__nets { display: flex; align-items: center; gap: 6px; font-size: .84rem; }
.gym-post__nets .gym-ch { width: 24px; height: 24px; border-radius: 7px; }
.gym-post__nets .ic { width: 13px; height: 13px; }
.gym-post__cap { font-size: .84rem; line-height: 1.4; color: var(--ink-2); }
.gym-post__when { display: inline-flex; align-items: center; justify-self: start; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; color: var(--natt); background: var(--neon); }
.gym-post__when .ic { width: 13px; height: 13px; }
.gym-build__note { font-size: .8rem; color: var(--muted); }
@media (max-width: 479px) {
  .gym-site__page { min-height: 0; padding: 20px 20px 84px; }
  .gym-site__h { font-size: 1.6rem; }
  .gym-pop { position: relative; right: auto; bottom: auto; width: auto; margin-top: 18px; }
  .gym-post { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ==========================================================================
   4. Löpbandet
   ========================================================================== */
.gym-calc { background: repeating-linear-gradient(-60deg, rgba(155, 93, 229, .05) 0 60px, transparent 60px 120px), linear-gradient(180deg, var(--natt), #2A0F3B); }
.gym-sliders { display: grid; gap: 16px; margin-top: 24px; }
.gym-range p { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.gym-range label { font-weight: 700; }
.gym-range output { flex: none; font-size: 1.1rem; font-weight: 800; color: var(--neon); font-variant-numeric: tabular-nums; }
.gym-range input { --fill: 50%; width: 100%; height: 28px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.gym-range input::-webkit-slider-runnable-track { height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--neon) var(--fill), rgba(255, 255, 255, .14) var(--fill)); transform: skewX(-20deg); }
.gym-range input::-moz-range-track { height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--neon) var(--fill), rgba(255, 255, 255, .14) var(--fill)); }
.gym-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 30px; margin-top: -10px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 3px var(--neon), var(--glow); }
.gym-range input::-moz-range-thumb { width: 14px; height: 26px; border: 3px solid var(--neon); border-radius: 5px; background: #fff; }
.gym-range input:focus-visible { outline: 3px solid var(--neon); outline-offset: 4px; border-radius: 8px; }
.gym-tm { display: grid; justify-items: center; gap: 0; }
.gym-tm__console { position: relative; z-index: 1; width: min(480px, 100%); padding: 18px; border-radius: 30px 30px 18px 18px; background: linear-gradient(180deg, #23102F, #0E0414); box-shadow: inset 0 0 0 1px rgba(200, 168, 242, .18), inset 0 2px 0 rgba(255, 255, 255, .06), 0 50px 90px -40px rgba(0, 0, 0, .95); }
.gym-tm__brand { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; }
.gym-tm__brand .ic { width: 16px; height: 16px; color: var(--neon); }
.gym-tm__brand span { margin-left: auto; font-size: .64rem; font-style: normal; letter-spacing: .1em; color: var(--on-dark-muted); }
.gym-tm__screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.gym-tm__screens p { display: grid; gap: 2px; padding: 12px 10px; border-radius: 12px; text-align: center; background: #050107; box-shadow: inset 0 0 0 1px rgba(242, 250, 163, .14), inset 0 0 24px rgba(242, 250, 163, .05); }
.gym-tm__screens small { font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.gym-tm__screens b { overflow: hidden; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(1.15rem, 3vw, 1.6rem); line-height: 1.1; color: var(--neon); white-space: nowrap; text-shadow: var(--glow); font-variant-numeric: tabular-nums; }
.gym-tm__screens span { font-size: .66rem; color: var(--on-dark-muted); }
.gym-tm__prog { display: flex; align-items: flex-end; gap: 4px; height: 84px; margin-top: 12px; padding: 10px; border-radius: 12px; background: #050107; box-shadow: inset 0 0 0 1px rgba(242, 250, 163, .1); }
.gym-tm__prog i { flex: 1; height: calc(var(--h) * var(--k, 1)); max-height: 100%; border-radius: 2px; background: rgba(242, 250, 163, .25); transform-origin: 50% 100%; transition: height .5s var(--spring); }
.gym-tm__prog i:nth-child(-n+9) { background: var(--neon); box-shadow: 0 0 8px rgba(242, 250, 163, .6); }
.motion .gym-tm.is-in .gym-tm__prog i { animation: gym-bar 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s); }
.gym-tm__vs { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: .88rem; background: rgba(255, 255, 255, .05); }
.gym-tm__vs b { color: var(--neon); white-space: nowrap; }
.gym-tm__vs .air-price { font: inherit; color: inherit; }
.gym-tm__rail { position: relative; width: min(560px, 110%); height: 26px; margin-top: -6px; overflow: hidden; border-radius: 0 0 14px 14px; background: #0A0310; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.gym-tm__rail i { position: absolute; inset: 6px 10px; border-radius: 6px; background: repeating-linear-gradient(90deg, #1E0B29 0 14px, #2B1238 14px 16px); }
.motion .gym-tm__rail i { animation: gym-belt .6s linear infinite; }
.gym-calc__note { max-width: 440px; margin-top: 18px; font-size: .78rem; line-height: 1.5; text-align: center; color: var(--on-dark-muted); }

/* ==========================================================================
   5. PT i telefon
   ========================================================================== */
.gym-ptx { display: grid; gap: 14px; }
.gym-call { padding: 16px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.gym-call__top { display: flex; align-items: center; gap: 10px; }
.gym-call__top > span:first-child { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--ok); }
.gym-call__top .ic { width: 17px; height: 17px; }
.gym-call__top > span:nth-child(2) { display: grid; }
.gym-call__top small { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); }
.gym-call__top b { font-variant-numeric: tabular-nums; }
.gym-call__top em { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px 10px; border-radius: 8px; font-size: .74rem; font-style: normal; font-weight: 800; color: var(--neon); background: var(--natt); }
.gym-call__top em .ic { width: 13px; height: 13px; }
.gym-call__q, .gym-call__a { margin-top: 10px; padding: 10px 13px; font-size: .9rem; line-height: 1.45; }
.gym-call__q { max-width: 86%; border-radius: 16px 16px 16px 5px; background: var(--line-2); }
.gym-call__a { max-width: 90%; margin-left: auto; border-radius: 16px 16px 5px 16px; color: #fff; background: var(--primar-ink); }
.reveal-on .gym-ptx.is-in .gym-call__a { animation: fade-up .5s .6s var(--ease-out) backwards; }
.gym-coaches { display: grid; gap: 10px; }
@media (min-width: 640px) { .gym-coaches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gym-coaches > li { padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.gym-coach__top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 10px; }
.gym-coach__top > span { display: grid; }
.gym-coach__top b { font-size: .98rem; }
.gym-coach__top small { font-size: .76rem; color: var(--muted); }
.gym-coach__top em { grid-column: 1 / -1; display: block; white-space: nowrap; font-size: 1.1rem; font-style: normal; font-weight: 800; color: var(--primar-ink); }
.gym-coach__top em small { display: block; font-size: .72rem; font-weight: 600; white-space: normal; }
.gym-ring { width: 48px; height: 48px; transform: rotate(-90deg); }
.gym-ring circle { fill: none; stroke: var(--line-2); stroke-width: 7; }
.gym-ring .gym-ring__v { stroke: var(--primar-ink); stroke-linecap: round; stroke-dasharray: var(--pct) 100; transition: stroke-dasharray 1.2s var(--ease-out); }
.reveal-on .gym-ptx:not(.is-in) .gym-ring__v { stroke-dasharray: 0 100; }
.gym-coaches > li:first-child .gym-ring__v { stroke: var(--natt); }
.gym-slots { display: grid; gap: 5px; margin-top: 10px; }
.gym-slots li { padding: 6px 10px; border-radius: 9px; font-size: .8rem; font-weight: 700; background: var(--ljus); font-variant-numeric: tabular-nums; }
.gym-slots li.is-new { color: var(--natt); background: var(--neon); box-shadow: 0 0 0 2px var(--natt); }
.reveal-on .gym-ptx.is-in .gym-slots li.is-new { animation: chp-pop .6s 1.4s var(--spring) backwards; }
.gym-sms { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 14px; font-size: .88rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); }
.gym-sms .ic { width: 16px; height: 16px; }

/* ==========================================================================
   6. Inläggen på schemat
   ========================================================================== */
.gym-soc { overflow: clip; }
.gym-soc__bands { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(155, 93, 229, .12) 30% 38%, transparent 38% 41%, rgba(242, 250, 163, .05) 41% 43%, transparent 43%); }
.gym-soc .wrap { position: relative; }
.gym-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.gym-day { display: grid; align-content: start; gap: 8px; min-height: 190px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.gym-day__h { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.gym-sp { display: grid; gap: 4px; padding: 10px; border-radius: 12px; color: var(--ink); background: #fff; transform: skewX(-4deg); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .9); }
.gym-sp > * { transform: skewX(4deg); }
.gym-sp small { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: .7rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.gym-sp small i { display: inline-flex; gap: 2px; }
.gym-sp small .ic { width: 12px; height: 12px; color: var(--primar-ink); }
.gym-sp b { font-size: .82rem; line-height: 1.25; }
.gym-sp--plan { box-shadow: inset 4px 0 0 var(--neon), 0 16px 30px -16px rgba(0, 0, 0, .9); }
.gym-sp--draft { background: #EDE6F5; box-shadow: inset 4px 0 0 var(--ton-2); }
.reveal-on .gym-week.is-in .gym-sp { animation: gym-dash .6s var(--ease-out) backwards; animation-delay: calc(.3s + var(--i) * .2s); }
.gym-legend { display: flex; justify-content: center; gap: 18px; margin-top: 16px; font-size: .84rem; color: var(--on-dark-muted); }
.gym-legend li { display: flex; align-items: center; gap: 8px; }
.gym-legend i { width: 14px; height: 14px; border-radius: 4px; transform: none; }
.gym-legend .gym-sp--plan { background: var(--neon); box-shadow: none; }
.gym-legend .gym-sp--draft { background: var(--ton-2); box-shadow: none; }
.gym-dms { max-width: 560px; margin: 28px auto 0; overflow: hidden; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.gym-dms__h { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.gym-dms__h img { padding: 3px; border-radius: 7px; background: var(--ljus); }
.gym-dms__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.gym-dms__row:last-child { border-bottom: 0; }
.gym-dms__row span { display: grid; min-width: 0; }
.gym-dms__row b { font-size: .9rem; }
.gym-dms__row small { overflow: hidden; font-size: .84rem; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.gym-dms__row em { padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-style: normal; font-weight: 800; color: var(--natt); background: var(--neon); }
.reveal-on .gym-dms.is-in .gym-dms__row { animation: gym-in-l .6s var(--spring) backwards; animation-delay: calc(.4s + var(--i) * .25s); }
@media (max-width: 899px) {
  .gym-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gym-day { min-height: 0; }
  .gym-day:not(:has(.gym-sp)) { display: none; }
}
@media (max-width: 519px) { .gym-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gym-def { padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); }

@keyframes gym-sweep { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
@keyframes gym-ecg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes gym-slam { from { opacity: 0; transform: translateX(60px) rotate(4deg) skewX(-6deg); } }
@keyframes gym-dash { from { opacity: 0; transform: translateX(-40px) skewX(-10deg); } }
@keyframes gym-in-l { from { opacity: 0; transform: translateX(-50px); } }
@keyframes gym-blink { 50% { opacity: .2; } }
@keyframes gym-bar { from { transform: scaleY(.75); } to { transform: scaleY(1); } }
@keyframes gym-belt { to { background-position: 16px 0; } }
