/* Karma – sponsorsidan (sponsor.html). Bygger på site/om.css (färger, typsnitt, navigering, knappar,
 * bildytor och kort); här finns det som är eget: Karma-fliken med annonsen, veckorna och formuläret. */

.sp-notice { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 90px auto -70px; padding: 14px 20px; border-radius: 18px; background: var(--coral); color: var(--ink); font-weight: 700; }

/* ——— Hjälten: texten till vänster, fliken till höger ——— */
.sp-hero { display: grid !important; place-items: center stretch; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4vw, 60px); align-items: center; text-align: left; padding-top: clamp(120px, 17vh, 170px) !important; padding-bottom: clamp(80px, 12vh, 130px) !important; min-height: 0; }
.sp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 60%); pointer-events: none; }
.sp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.sp-hero .hero-title { font-size: clamp(34px, 5vw, 76px); line-height: 1.38; }
.sp-hero .hero-sub { margin-left: 0; max-width: 520px; }
.sp-hero .hero-sub b { color: var(--lilac); }
.sp-hero .hero-cta { justify-content: flex-start; }
.sp-hero-copy > .rise:nth-child(1) { animation-delay: .1s; }
.sp-hero-copy > .rise:nth-child(2) { animation-delay: .25s; }
.sp-hero-copy > .rise:nth-child(3) { animation-delay: .5s; }
.sp-hero-copy > .rise:nth-child(4) { animation-delay: .65s; }
.sp-hero-tab { position: relative; width: 100%; animation-delay: .8s; }
.sp-hero-tab .sp-tab { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); }
.sp-tag {
  position: absolute; right: 2%; bottom: -16px; padding: 9px 16px; border-radius: 999px;
  background: var(--lilac); color: var(--ink); font-weight: 700; font-size: 14px; animation: bob 5s ease-in-out infinite;
}

/* ——— Karma-fliken (skalar med sin bredd: cqw) ——— */
.sp-tab {
  container-type: inline-size; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px;
  background: center / cover no-repeat var(--panel); isolation: isolate;
}
.sp-tab::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tb-bar { position: absolute; z-index: 1; left: 2.4cqw; right: 2.4cqw; top: 2.2cqw; display: flex; gap: 1cqw; align-items: center; }
.tb-pill { height: 3.1cqw; border-radius: 99px; background: var(--panel); }
.tb-pill.mode { width: 11cqw; }
.tb-pill.dot { width: 3.1cqw; }
.tb-pill.search { flex: 0 1 34cqw; margin: 0 auto; }
.tb-center { position: absolute; z-index: 1; inset: 0 0 8% 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); text-align: center; }
.tb-date { font-size: 1.15cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.tb-clock { font-family: var(--display); font-size: 10.5cqw; line-height: 1.32; }
.tb-greet { font-family: var(--display); font-size: 2.1cqw; line-height: 1.5; margin-top: 1.2cqw; }
.sp-tab.light .tb-center { color: var(--ink); }
.sp-tab:not(.light) .tb-center { color: var(--heading); }
/* Annonsen: som sponsorrutan i Karma (Pang!-stilen), i hörnet nere till höger. */
.tb-ad {
  position: absolute; z-index: 2; right: 2.4cqw; bottom: 6.5cqw; width: 23cqw; padding: .8cqw;
  border-radius: 1.9cqw; background: var(--panel); color: var(--fg);
}
.sp-hero-tab .tb-ad { box-shadow: 0 0 0 .5cqw var(--lilac); animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 1cqw rgba(243, 190, 244, .35); } }
.tb-head { display: flex; align-items: center; gap: .55cqw; padding: .2cqw .3cqw .8cqw; font-size: .95cqw; color: var(--muted); white-space: nowrap; overflow: hidden; }
.tb-head i { width: .55cqw; height: .55cqw; border-radius: 50%; background: var(--pink); flex: none; }
.tb-head b { color: var(--fg-2); letter-spacing: .06em; text-transform: uppercase; font-size: .85cqw; }
.tb-media {
  position: relative; aspect-ratio: 16 / 9; border-radius: 1.2cqw; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--sp, #ff7a6b) 80%, transparent), transparent 65%), color-mix(in srgb, var(--sp, #ff7a6b) 35%, #0b0b12);
}
.tb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tb-media span { font-family: var(--display); font-size: 1.7cqw; line-height: 1.4; padding: 0 1cqw; text-align: center; color: #fff; word-break: break-word; }
.tb-media small { position: absolute; right: .8cqw; bottom: .6cqw; font-size: .85cqw; padding: .1cqw .5cqw; border-radius: .5cqw; background: rgba(0, 0, 0, .55); color: var(--fg-2); }
.tb-body { padding: .9cqw .35cqw .25cqw; }
.tb-body strong { display: block; font-size: 1.25cqw; font-weight: 700; line-height: 1.3; }
.tb-body p { margin: .35cqw 0 0; font-size: 1.05cqw; line-height: 1.4; color: var(--fg-2); }

/* ——— Siffrorna ——— */
.sp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 0 !important; }
.sp-facts .card { padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.sp-facts b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.35; color: var(--c); }
.sp-facts span { font-size: 14.5px; color: var(--fg-2); }
.sp-tabs-line { margin-top: 18px; }

/* ——— Varför ——— */
.sp-why { text-align: center; }
.sp-why-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.sp-why-grid .card { padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--spring); }
.sp-why-grid .card:hover { transform: translateY(-4px); }
.sp-why-grid p { margin: 0; color: var(--fg-2); font-size: 15px; }
.sp-why-grid p b { color: var(--fg); }
.sp-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: var(--ink); margin-bottom: 18px; }
.sp-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ——— Så går det till ——— */
.sp-how { text-align: center; }
.sp-steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.sp-steps li { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.sp-steps p { margin: 0; color: var(--fg-2); font-size: 15px; }
/* Texterna med och utan betalning (sponsor.js visar den ena): dolda trots stegens display: flex. */
[data-sales][hidden] { display: none; }

/* ——— Bokningen ——— */
.sp-book { text-align: center; }
.sp-soon { max-width: 560px; margin: 18px auto 0; color: var(--fg-2); }
.sp-soon b { color: var(--fg); }
.sp-book-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; align-items: start; text-align: left; }
.sp-wait { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.sp-form { padding: clamp(22px, 3vw, 34px); border-radius: 28px; display: flex; flex-direction: column; gap: 16px; }
.sp-field { display: flex; flex-direction: column; gap: 7px; }
.sp-field > span { font-size: 13.5px; font-weight: 700; color: var(--fg-2); }
.sp-field > span i { font-style: normal; color: var(--pink); }
.sp-in {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 2px solid transparent;
  background: var(--raised); color: var(--fg); font: inherit; font-size: 15.5px; outline: none; transition: border-color .2s, background .2s;
}
textarea.sp-in { height: auto; min-height: 76px; padding: 13px 16px; resize: vertical; line-height: 1.45; }
.sp-in:focus { border-color: var(--lilac); background: var(--raised-2); }
.sp-in::placeholder { color: var(--muted); }
select.sp-in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-colors { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sp-colors button { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c); transition: transform .3s var(--spring), box-shadow .2s; }
.sp-colors button:hover { transform: scale(1.1); }
.sp-colors button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--heading); }
.sp-colors label { position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; cursor: pointer; background: conic-gradient(#ff8677, #ffce62, #3cc7a6, #1db3f3, #f3bef4, #ff92cd, #ff8677); }
.sp-colors input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sp-weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.sp-week {
  padding: 11px 0; border-radius: 14px; border: 0; background: var(--raised); color: var(--fg); font: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 1px; transition: transform .3s var(--spring), background .2s;
}
.sp-week b { font-size: 15px; font-weight: 700; }
.sp-week small { font-size: 12px; color: var(--muted); }
.sp-week:hover:not(:disabled) { background: var(--raised-2); transform: translateY(-2px); }
.sp-week[aria-pressed="true"] { background: var(--lilac); color: var(--ink); }
.sp-week[aria-pressed="true"] small { color: rgba(0, 0, 0, .65); }
.sp-week:disabled { opacity: .35; cursor: default; text-decoration: line-through; }
.sp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--fg-2); cursor: pointer; }
.sp-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lilac); flex: none; }
.sp-check a { color: var(--fg); text-decoration: underline; }
.sp-pay { width: 100%; height: 58px; font-size: 17px; }
.sp-pay:disabled { opacity: .6; transform: none; cursor: progress; }
.sp-meta { margin: 0; font-size: 13px; color: var(--muted); }
.sp-err { margin: 0; min-height: 1em; color: var(--coral); font-weight: 700; font-size: 14.5px; }
.sp-err:empty { display: none; }

/* Fliken med deras annons, som följer med när man rullar */
.sp-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.sp-side .sp-tab { border-radius: 24px; }
.sp-bgs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.sp-bgs button { width: 44px; height: 30px; border-radius: 9px; border: 0; cursor: pointer; background: center / cover var(--raised); transition: transform .3s var(--spring), box-shadow .2s; }
.sp-bgs button:hover { transform: translateY(-2px); }
.sp-bgs button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--heading); }
.sp-sum { padding: 20px 22px; border-radius: 22px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.sp-sum span { color: var(--fg-2); font-size: 14.5px; }
.sp-sum b { font-weight: 700; font-size: 15px; text-align: right; }
.sp-sum .total { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.4; color: var(--heading); }
.sp-sum .good { color: var(--mint); }

/* Närbilden: annonsen i verklig storlek (som rutan i Karma), bredvid sammanfattningen */
.sp-under { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.sp-closeup { display: flex; flex-direction: column; gap: 8px; }
.sp-closeup > small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sp-closeup .tb-ad { position: static; width: 100%; padding: 10px; border-radius: 22px; }
.sp-closeup .tb-head { font-size: 11.5px; gap: 7px; padding: 2px 4px 10px; }
.sp-closeup .tb-head i { width: 6px; height: 6px; }
.sp-closeup .tb-head b { font-size: 10.5px; }
.sp-closeup .tb-media { border-radius: 14px; }
.sp-closeup .tb-media span { font-size: 18px; padding: 0 12px; }
.sp-closeup .tb-media small { font-size: 10.5px; right: 10px; bottom: 8px; padding: 2px 6px; border-radius: 6px; }
.sp-closeup .tb-body { padding: 12px 4px 4px; }
.sp-closeup .tb-body strong { font-size: 14px; }
.sp-closeup .tb-body p { font-size: 12.5px; margin-top: 4px; }
.sp-under .sp-sum { grid-template-columns: 1fr; gap: 2px; }
.sp-under .sp-sum b { text-align: left; margin-bottom: 10px; }
.sp-under .sp-sum b:last-child { margin-bottom: 0; }

/* Tack och avbrutet */
.sp-done { grid-column: 1 / -1; padding: clamp(30px, 5vw, 60px); border-radius: 28px; text-align: center; }
.sp-done h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 36px); line-height: 1.4; color: var(--heading); }
.sp-done p { color: var(--fg-2); max-width: 520px; margin: 14px auto 24px; }

/* ——— Mindre skärmar ——— */
@media (max-width: 1000px) {
  .sp-hero { grid-template-columns: 1fr; }
  .sp-hero-tab .sp-tab { transform: none; }
  .sp-facts, .sp-why-grid, .sp-steps { grid-template-columns: repeat(2, 1fr); }
  .sp-book-grid { grid-template-columns: 1fr; }
  .sp-side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .sp-facts, .sp-why-grid, .sp-steps { grid-template-columns: 1fr; }
  .sp-row { grid-template-columns: 1fr; }
  .sp-under { grid-template-columns: 1fr; }
  .sp-closeup { display: none; }
  .sp-hero .hero-cta .btn { width: 100%; }
  .sp-tag { bottom: -14px; font-size: 13px; }
}

/* På en smal skärm är fliken liten: annonsen görs större så att den går att läsa, klockan mindre. */
@container (max-width: 560px) {
  .tb-ad { width: 60cqw; padding: 2cqw; border-radius: 4cqw; bottom: 4cqw; right: 3cqw; }
  .tb-head { font-size: 2.6cqw; gap: 1.2cqw; padding-bottom: 1.6cqw; }
  .tb-head i { width: 1.4cqw; height: 1.4cqw; }
  .tb-head b { font-size: 2.3cqw; }
  .tb-media { border-radius: 2.6cqw; }
  .tb-media span { font-size: 4.2cqw; }
  .tb-media small { font-size: 2.2cqw; right: 1.6cqw; bottom: 1.2cqw; }
  .tb-body { padding: 2cqw .8cqw .6cqw; }
  .tb-body strong { font-size: 3.6cqw; }
  .tb-body p { font-size: 3cqw; }
  .tb-center { inset: 9cqw 63cqw 0 2cqw; }
  .tb-clock { font-size: 7.4cqw; }
  .tb-date { font-size: 2cqw; }
  .tb-greet { font-size: 3cqw; }
}

/* ——— Formaten ——— */
.sp-formats { text-align: center; }
.sp-fmt-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.sp-fmt { padding: 24px; display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; transition: transform .45s var(--spring), background .2s; }
.sp-fmt:not(.off):hover { transform: translateY(-4px); background: var(--raised); }
/* Ett format som inte går att välja än (insamlingen innan någon organisation har avtal). */
.sp-fmt.off { opacity: .55; }
.sp-fmt-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); margin-bottom: 14px; }
.sp-fmt p { margin: 0; color: var(--fg-2); font-size: 14.5px; flex: 1; }
.sp-fmt b { margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.4; color: var(--c); }
.sp-facts i { font-style: normal; color: var(--fg); font-weight: 700; }

/* ——— Bokningen: formatchips, dagkalender, uppladdning ——— */
.sp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sp-chip-f { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 13px; border-radius: 14px; border: 0; background: var(--raised); color: var(--fg); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .3s var(--spring), background .2s; }
.sp-chip-f small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.sp-chip-f:not(:disabled):hover { background: var(--raised-2); transform: translateY(-2px); }
.sp-chip-f:disabled { opacity: .5; cursor: default; }
.sp-chip-f[aria-pressed="true"] { background: var(--lilac); color: var(--ink); }
.sp-chip-f[aria-pressed="true"] small { color: rgba(0, 0, 0, .65); }
.sp-hint { font-size: 13px; color: var(--muted); line-height: 1.4; }
.sp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.sp-cal > span { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.sp-day { position: relative; aspect-ratio: 1; border-radius: 12px; border: 0; background: var(--raised); color: var(--fg); font: inherit; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--spring), background .2s; }
.sp-day b { font-size: 15px; font-weight: 700; }
.sp-day small { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: 9.5px; color: var(--muted); }
.sp-day:hover:not(:disabled) { background: var(--raised-2); transform: translateY(-2px); }
.sp-day[aria-pressed="true"] { background: var(--lilac); color: var(--ink); }
.sp-day[aria-pressed="true"] small { color: rgba(0, 0, 0, .65); }
.sp-day:disabled { opacity: .3; cursor: default; }
.sp-up { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-thumb { position: relative; width: 96px; aspect-ratio: 16 / 10; border-radius: 12px; background: center / cover no-repeat var(--raised); }
.sp-thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.sp-upbtn { display: grid; place-items: center; width: 96px; aspect-ratio: 16 / 10; border-radius: 12px; border: 2px dashed var(--raised-2); color: var(--fg-2); font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s; }
.sp-upbtn:hover { border-color: var(--lilac); color: var(--fg); }
.sp-upbtn.busy { opacity: .5; pointer-events: none; }

/* ——— Förhandsvisningarna per format ——— */
.sp-prev { position: relative; }
.sp-ph { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 14px; border-radius: 99px; background: var(--panel); color: var(--fg); font-size: 13px; font-weight: 700; }
.tb-focus { display: inline-flex; align-items: center; gap: 1cqw; margin-top: 2cqw; padding: .6cqw 1.4cqw .6cqw .6cqw; border-radius: 99px; background: var(--panel); color: var(--fg-2); font-family: var(--font); font-size: 1.4cqw; font-weight: 600; }
.tb-focus i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; overflow: hidden; }
.tb-focus img { width: 100%; height: 100%; object-fit: cover; }
.sp-game { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #1b1b26, #0b0b12); display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.sp-game-tower { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 0 8% 8%; height: 100%; }
.sp-game-tower i { display: block; height: 7%; border-radius: 6px; }
.sp-game-card { align-self: center; margin-right: 8%; padding: 22px; border-radius: 20px; background: rgba(8, 8, 14, .72); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sp-game-card h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.3; color: var(--heading); }
.sp-game-card img, .sp-game-card i { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.sp-game-card span { font-size: 13px; font-weight: 600; color: var(--fg-2); }
.sp-game-card b { padding: 8px 14px; border-radius: 99px; background: var(--lilac); color: var(--ink); font-size: 13px; }
.sp-pack { padding: 22px; border-radius: 24px; }
.sp-pack small { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.sp-pack h4 { margin: 6px 0 14px; font-size: 16px; color: var(--fg); }
.sp-pack div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-pack i { aspect-ratio: 16 / 10; border-radius: 12px; background: center / cover no-repeat var(--raised); }
.sp-impact { padding: 22px; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.sp-chipx { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--raised); font-size: 13px; font-weight: 700; }
.sp-chipx b { padding: 2px 8px; border-radius: 99px; background: var(--sp); color: var(--ink); font-size: 12px; }
.sp-mini { width: 34px; height: 6px; margin-left: 6px; border-radius: 99px; background: var(--raised-2); overflow: hidden; }
.sp-mini i { display: block; width: 42%; height: 100%; background: var(--sp); }
.sp-boxx { padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--sp) 14%, var(--raised)); }
.sp-boxx small { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--sp); }
.sp-boxx h4 { margin: 6px 0; font-size: 18px; }
.sp-boxx p { margin: 0 0 8px; font-size: 14px; color: var(--fg-2); }
.sp-barx { height: 10px; margin: 12px 0 8px; border-radius: 99px; background: var(--raised-2); overflow: hidden; }
.sp-barx i { display: block; height: 100%; border-radius: 99px; background: var(--sp); }
.sp-n { font-weight: 700; color: var(--fg) !important; font-size: 13px !important; }
.sp-join { display: inline-block; margin-top: 6px; padding: 8px 14px; border-radius: 99px; background: var(--lilac); color: var(--ink); font-size: 13px; font-weight: 700; }

@media (max-width: 1000px) { .sp-fmt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sp-fmt-grid { grid-template-columns: 1fr; } .sp-game { grid-template-columns: 1fr; } .sp-game-tower { display: none; } .sp-game-card { margin: 0 auto; } }

/* Bara sammanfattningen (inga närbilder i formatet): hela bredden. */
.sp-under:has(> :only-child) { grid-template-columns: 1fr; }
.sp-under:has(> :only-child) .sp-sum { grid-template-columns: 1fr auto; }
.sp-under:has(> :only-child) .sp-sum b { text-align: right; margin-bottom: 0; }
