:root {
  color-scheme: dark;
  --tv-bg: #072c48;
  --tv-panel: #0b3b60;
  --tv-panel-light: #104a71;
  --tv-gold: #e4bc67;
  --tv-gold-soft: #f3d995;
  --tv-white: #fffdf8;
  --tv-muted: #bbcad6;
  --tv-line: rgba(228,188,103,.24);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body.tv-body { color: var(--tv-white); background: radial-gradient(ellipse at 16% 5%, rgba(110,143,99,.26), transparent 31%), radial-gradient(ellipse at 88% 88%, rgba(205,162,74,.12), transparent 33%), linear-gradient(135deg, #072c48 0%, #08395f 55%, #072c48 100%); }
a { color: inherit; text-decoration: none; }
.tv-header { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; padding: 26px clamp(24px, 4vw, 72px); border-bottom: 1px solid var(--tv-line); background: rgba(7,44,72,.56); }
.tv-brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; }
.tv-brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.94); padding: 4px; }
.tv-brand span { display: grid; line-height: 1.15; }
.tv-brand strong { font: 700 22px Georgia, 'Times New Roman', serif; }
.tv-brand small { margin-top: 5px; color: var(--tv-gold-soft); font-size: 10px; letter-spacing: .18em; }
.tv-header-center { text-align: center; }
.tv-header-center h1 { margin: 3px 0 0; font: 700 clamp(30px, 3vw, 48px) Georgia, 'Times New Roman', serif; }
.tv-kicker { margin: 0; color: var(--tv-gold-soft); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.tv-header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.tv-live { display: inline-flex; align-items: center; gap: 9px; color: var(--tv-muted); font-size: 13px; }
.tv-live i { width: 9px; height: 9px; border-radius: 50%; background: #9bc880; box-shadow: 0 0 0 5px rgba(155,200,128,.14); }
.tv-logout { border: 1px solid var(--tv-line); border-radius: 999px; padding: 10px 17px; color: var(--tv-white); background: transparent; cursor: pointer; font: inherit; }
.tv-logout:hover { border-color: var(--tv-gold); color: var(--tv-gold-soft); }
.tv-main { width: min(1720px, calc(100% - 64px)); margin: 0 auto; padding: 30px 0 24px; }
.tv-overview { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(175px, .27fr) minmax(230px, .42fr); align-items: center; gap: 22px; margin-bottom: 24px; }
.tv-overview-copy { padding-inline-start: 4px; }
.tv-overview-copy h2 { margin: 8px 0 5px; font: 700 clamp(24px, 2.2vw, 34px) Georgia, 'Times New Roman', serif; }
.tv-overview-copy p { margin: 0; color: var(--tv-muted); font-size: 15px; }
.tv-stat { min-height: 100px; display: flex; flex-direction: column; justify-content: center; padding: 16px 22px; border: 1px solid var(--tv-line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); }
.tv-stat > span { color: var(--tv-muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.tv-stat strong { margin-top: 4px; font: 700 clamp(28px, 3vw, 43px) Georgia, 'Times New Roman', serif; }
.tv-stat-gold { border-color: rgba(228,188,103,.48); background: linear-gradient(145deg, rgba(228,188,103,.17), rgba(255,255,255,.035)); }
.tv-stat-gold strong { color: var(--tv-gold-soft); }
.tv-stat strong small { margin-inline-start: 8px; font: 700 13px var(--sans, Arial, sans-serif); letter-spacing: .08em; }
.tv-members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.tv-member-card { min-height: 124px; position: relative; overflow: hidden; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 1fr auto; align-items: center; column-gap: 10px; padding: 15px 17px 13px; border: 1px solid rgba(255,255,255,.105); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.tv-member-card::after { content: ''; position: absolute; inset-inline-end: -34px; top: -42px; width: 100px; height: 100px; border: 1px solid rgba(228,188,103,.1); border-radius: 50%; }
.tv-member-index { align-self: start; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: var(--tv-gold-soft); background: rgba(228,188,103,.13); font-size: 11px; font-weight: 800; }
.tv-member-name { overflow: hidden; color: var(--tv-white); font: 700 clamp(17px, 1.35vw, 22px) Georgia, 'Times New Roman', serif; text-overflow: ellipsis; white-space: nowrap; }
.tv-member-balance { grid-column: 2; display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.tv-member-balance strong { color: var(--tv-gold-soft); font: 700 clamp(20px, 1.7vw, 27px) Georgia, 'Times New Roman', serif; }
.tv-member-balance span { color: var(--tv-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.tv-member-progress { grid-column: 1 / -1; height: 3px; overflow: hidden; margin-top: 12px; border-radius: 4px; background: rgba(255,255,255,.11); }
.tv-member-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--tv-gold), var(--tv-gold-soft)); }
.tv-footer { display: flex; justify-content: space-between; gap: 20px; padding: 19px 4px 0; color: var(--tv-muted); font-size: 12px; }
.tv-empty, .tv-alert { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--tv-line); border-radius: 12px; background: rgba(255,255,255,.06); color: var(--tv-gold-soft); }
.tv-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.tv-login-card { width: min(500px, 100%); padding: clamp(28px, 5vw, 48px); border: 1px solid var(--tv-line); border-radius: 24px; background: linear-gradient(150deg, rgba(16,74,113,.92), rgba(7,44,72,.92)); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.tv-login-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 35px auto 18px; border: 1px solid var(--tv-line); border-radius: 50%; color: var(--tv-gold-soft); font-size: 23px; }
.tv-login-card > .tv-kicker, .tv-login-card h1, .tv-login-copy { text-align: center; }
.tv-login-card h1 { margin: 7px 0; font: 700 36px Georgia, 'Times New Roman', serif; }
.tv-login-copy { margin: 0 0 24px; color: var(--tv-muted); }
.tv-login-form { display: grid; gap: 10px; }
.tv-login-form label, .tv-credentials-form label { margin-top: 7px; color: var(--tv-muted); font-size: 13px; font-weight: 700; }
.tv-login-form input { width: 100%; padding: 14px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; outline: none; color: var(--tv-white); background: rgba(0,0,0,.16); font: inherit; }
.tv-login-form input:focus { border-color: var(--tv-gold); box-shadow: 0 0 0 3px rgba(228,188,103,.13); }
.tv-login-form button { margin-top: 10px; padding: 14px 18px; border: 0; border-radius: 11px; color: #072c48; background: linear-gradient(100deg, var(--tv-gold), var(--tv-gold-soft)); cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 800; }
.tv-login-form button span { margin-inline-start: 8px; }
.tv-language { display: flex; justify-content: center; gap: 13px; margin-top: 26px; color: var(--tv-muted); font-size: 13px; }
.tv-language a:hover { color: var(--tv-gold-soft); }
.tv-alert { color: #ffe3a2; font-size: 14px; }
.tv-credentials-form { max-width: 680px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px 14px; }
.tv-credentials-form label { grid-column: 1; }
.tv-credentials-form input { grid-column: 2; width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #dbe4ea; border-radius: 8px; color: #193247; background: #fff; }
.tv-credentials-form button { grid-column: 2; justify-self: start; margin-top: 8px; }
.admin-section-card > p { color: var(--muted); }
@media (min-width: 1600px) { .tv-members { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; } .tv-member-card { min-height: 132px; padding: 17px 19px 14px; } }
@media (max-width: 1050px) { .tv-members { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tv-overview { grid-template-columns: 1fr 1fr; } .tv-overview-copy { grid-column: 1 / -1; } }
@media (max-width: 700px) { .tv-header { grid-template-columns: 1fr auto; padding: 18px 20px; } .tv-header-center { grid-row: 2; grid-column: 1 / -1; text-align: start; } .tv-header-actions { gap: 12px; } .tv-live { font-size: 0; } .tv-live i { width: 10px; height: 10px; } .tv-brand img { width: 44px; height: 44px; } .tv-brand strong { font-size: 18px; } .tv-main { width: calc(100% - 32px); padding-top: 20px; } .tv-overview { gap: 12px; } .tv-stat { min-height: 84px; padding: 12px; } .tv-members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .tv-member-card { min-height: 112px; grid-template-columns: 27px 1fr; column-gap: 7px; padding: 12px 10px 10px; } .tv-member-index { width: 25px; height: 25px; } .tv-member-balance { gap: 5px; } .tv-member-balance span { font-size: 8px; } .tv-footer { flex-direction: column; gap: 5px; } .tv-credentials-form { grid-template-columns: 1fr; } .tv-credentials-form label, .tv-credentials-form input, .tv-credentials-form button { grid-column: 1; } }
@media (prefers-reduced-motion: no-preference) { .tv-member-card { animation: tv-rise .45s both; } .tv-member-card:nth-child(3n + 2) { animation-delay: .05s; } .tv-member-card:nth-child(3n + 3) { animation-delay: .1s; } @keyframes tv-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } }

/* Laholm mosque forest-green and warm-gold TV palette */
:root {
  --tv-bg: #142f23;
  --tv-panel: #1b412e;
  --tv-panel-light: #28543a;
  --tv-gold: #e4bc67;
  --tv-gold-soft: #f3d995;
  --tv-white: #fffdf8;
  --tv-muted: #c7d1c5;
  --tv-line: rgba(228,188,103,.28);
}
body.tv-body { background: radial-gradient(ellipse at 16% 5%, rgba(110,143,99,.28), transparent 31%), radial-gradient(ellipse at 88% 88%, rgba(205,162,74,.14), transparent 33%), linear-gradient(135deg, #10291e 0%, #1c432f 55%, #10291e 100%); }
.tv-header { background: rgba(16,41,30,.56); }
.tv-login-card { background: linear-gradient(150deg, rgba(40,84,58,.94), rgba(16,41,30,.94)); }
.tv-login-form button { color: #173323; }


/* M

/* Main site palette: paper white, deep navy and warm gold. */
:root {}

/* Main site palette: paper white, deep navy and warm gold. */
:root {}olor-scheme: light; --tv-bg:#f8fbfd; --tv-panel:#fff; --tv-panel-light:#edf5fb; --tv-gold:#cda24a; --tv-gold-soft:#9b762e; --tv-white:#193247; --tv-muted:#6a7d8d; --tv-line:rgba(11,79,134,.14); }
body.tv-body { color:var(--tv-white); background:linear-gradient(180deg,#edf5fb 0%,#f8fbfd 260px,#fffdf8 100%); }
.tv-header { border-bottom-color:rgba(11,79,134,.1); background:rgba(255,255,255,.94); box-shadow:0 8px 28px rgba(7,44,72,.05); }
.tv-brand img { background:#fff; box-shadow:0 8px 24px rgba(11,79,134,.12); }
.tv-brand strong,.tv-header-center h1,.tv-overview-copy h2 { color:#08395f; }
.tv-brand small,.tv-kicker { color:#9b762e; }
.tv-live,.tv-overview-copy p,.tv-member-balance span,.tv-footer { color:#6a7d8d; }
.tv-logout { border-color:rgba(11,79,134,.18); color:#08395f; background:#fff; }
.tv-logout:hover { border-color:#cda24a; color:#08395f; background:#f8efdd; }
.tv-stat { border-color:rgba(11,79,134,.12); background:#fff; box-shadow:0 10px 30px rgba(7,44,72,.05); }
.tv-stat-gold { border-color:rgba(205,162,74,.48); background:linear-gradient(145deg,#fffdf8,#f8efdd); }
.tv-stat-gold strong,.tv-member-balance strong { color:#9b762e; }
.tv-member-card { border-color:rgba(11,79,134,.1); background:#fff; box-shadow:0 10px 28px rgba(7,44,72,.07); }
.tv-member-card::after { border-color:rgba(205,162,74,.16); }
.tv-member-index { color:#8d6b27; background:#f8efdd; }
.tv-member-name { color:#08395f; }
.tv-member-progress { background:#edf2f6; }
.tv-empty,.tv-alert { border-color:rgba(11,79,134,.14); background:#fff; color:#8d6b27; }
.tv-login-card { border-color:rgba(11,79,134,.12); background:rgba(255,255,255,.97); box-shadow:0 28px 80px rgba(7,44,72,.12); }
.tv-login-mark { border-color:rgba(205,162,74,.45); background:#f8efdd; color:#9b762e; }
.tv-login-copy,.tv-login-form label,.tv-credentials-form label { color:#6a7d8d; }
.tv-login-form input { border-color:#dbe5ed; color:#193247; background:#f8fbfd; }
.tv-login-form input:focus { border-color:#cda24a; box-shadow:0 0 0 3px rgba(205,162,74,.16); }
.tv-login-form button { color:#fff; background:linear-gradient(135deg,#0b4f86 0%,#08395f 100%); }
.tv-login-form button:hover { box-shadow:0 14px 28px rgba(11,79,134,.2); }
.tv-language { color:#6a7d8d; }
.tv-language a:hover { color:#9b762e; }
.tv-alert { color:#8b3e2f; }

.tv-login-card h1 { color: #08395f; }

/* Slightly darker light background, matching the main site. */
body.tv-body { background: linear-gradient(180deg, #e5edf4 0%, #edf2f6 260px, #f0eee6 100%); }

/* Darker blue-grey backdrop; cards stay white for clear contrast. */
body.tv-body { background: linear-gradient(180deg, #c7d4df 0%, #d3dde5 260px, #dddcd4 100%); }

/* Deep navy reference theme with restrained diagonal texture and gold accents. */
body.tv-body { color:#f7f9fc; background-color:#073653; background-image: repeating-linear-gradient(120deg,transparent 0 58px,rgba(255,255,255,.025) 59px 60px),radial-gradient(ellipse at 76% 18%,rgba(63,123,145,.32),transparent 36%),linear-gradient(120deg,#0a2f49 0%,#06436a 58%,#1b526d 100%); }
.tv-header { background:rgba(5,39,61,.76); border-bottom-color:rgba(228,188,103,.24); }
.tv-brand strong,.tv-header-center h1,.tv-overview-copy h2,.tv-login-card h1 { color:#fffdf8; }
.tv-brand small,.tv-kicker { color:#f1cc78; }
.tv-live,.tv-overview-copy p,.tv-member-balance span,.tv-footer,.tv-login-copy,.tv-login-form label,.tv-credentials-form label { color:#c7d8e3; }
.tv-logout { border-color:rgba(241,204,120,.45); color:#fffdf8; background:rgba(255,255,255,.06); }
.tv-logout:hover { border-color:#f1cc78; color:#f1cc78; background:rgba(241,204,120,.1); }
.tv-stat,.tv-member-card { border-color:rgba(220,235,244,.16); background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(3,35,55,.55)); box-shadow:0 12px 30px rgba(0,18,32,.18); }
.tv-stat-gold { border-color:rgba(241,204,120,.52); background:linear-gradient(145deg,rgba(241,204,120,.18),rgba(255,255,255,.055)); }
.tv-stat-gold strong,.tv-member-balance strong { color:#f1cc78; }
.tv-member-card::after { border-color:rgba(241,204,120,.16); }
.tv-member-index { color:#f5d78f; background:rgba(241,204,120,.16); }
.tv-member-name { color:#fffdf8; }
.tv-member-progress { background:rgba(255,255,255,.16); }
.tv-member-progress i { background:linear-gradient(90deg,#cda24a,#f3d995); }
.tv-empty,.tv-alert { border-color:rgba(241,204,120,.28); background:rgba(255,255,255,.08); color:#f3d995; }
.tv-login-card { border-color:rgba(241,204,120,.38); background:linear-gradient(150deg,rgba(12,62,91,.96),rgba(4,38,60,.97)); box-shadow:0 28px 80px rgba(0,15,29,.34); }
.tv-login-mark { border-color:rgba(241,204,120,.48); background:rgba(241,204,120,.12); color:#f3d995; }
.tv-login-form input { border-color:rgba(218,233,241,.25); color:#fff; background:rgba(1,26,43,.5); }
.tv-login-form input:focus { border-color:#f1cc78; box-shadow:0 0 0 3px rgba(241,204,120,.16); }
.tv-login-form button { color:#092f49; background:linear-gradient(135deg,#d3a94e,#f1cc78); }
.tv-language { color:#c7d8e3; }
.tv-language a:hover { color:#f1cc78; }
.tv-alert { color:#ffe0d6; }
.tv-credentials-form input { border-color:rgba(218,233,241,.3); color:#fff; background:rgba(1,26,43,.5); }

/* Larger, brighter statistic labels for TV readability. */
.tv-stat > span { color:#dce8f0; font-size:14px; line-height:1.35; letter-spacing:.1em; }
.tv-stat-gold > span { color:#f1cc78; }


/* QR centered between the overview copy and member count; compact on smaller screens. */
.tv-overview { grid-template-columns: minmax(280px, 1fr) minmax(180px, .5fr) minmax(205px, .55fr) minmax(220px, .52fr); grid-template-areas: "copy qr member total"; }
.tv-overview-copy { grid-area: copy; grid-column: auto; }
.tv-overview > .tv-stat:not(.tv-stat-gold) { grid-area: member; }
.tv-overview > .tv-stat-gold { grid-area: total; }
.tv-swish-card { grid-area: qr; grid-column: auto; grid-row: auto; justify-self: center; flex-direction: column; width: 100%; text-align: center; }
.tv-swish-art { flex: 0 0 100px; width: 100px; height: 100px; }
.tv-swish-copy { justify-items: center; }
@media (max-width: 1250px) { .tv-overview { grid-template-columns: minmax(180px, .7fr) 1fr 1fr; grid-template-areas: "copy copy copy" "qr member total"; } .tv-swish-card { grid-column: auto; grid-row: auto; justify-self: stretch; width: 100%; flex-direction: row; text-align: start; } .tv-swish-copy { justify-items: start; } }
@media (max-width: 1050px) { .tv-overview { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "member total" "qr qr"; } .tv-overview-copy { grid-column: auto; } .tv-swish-card { justify-self: center; width: min(100%, 320px); } }

/* Clear, at-a-glance progress toward the 400-member and SEK 5,000,000 goals. */
.tv-overview {
  align-items: stretch;
  grid-template-columns: minmax(250px, 1fr) minmax(165px, .48fr) minmax(250px, .9fr) minmax(270px, 1fr);
  grid-template-areas: "copy qr member total";
  gap: 16px;
}
.tv-overview-copy { align-self: center; }
.tv-goal-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px 14px;
  border: 1px solid rgba(220,235,244,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(3,35,55,.58));
  box-shadow: 0 12px 30px rgba(0,18,32,.18);
}
.tv-goal-member { grid-area: member; }
.tv-goal-money { grid-area: total; border-color: rgba(241,204,120,.52); background: linear-gradient(145deg, rgba(241,204,120,.18), rgba(255,255,255,.055)); }
.tv-goal-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #dce8f0; font-size: 13px; font-weight: 850; letter-spacing: .09em; }
.tv-goal-heading span:last-child { color: #f1cc78; font-size: 10px; white-space: nowrap; }
.tv-goal-value { display: flex; align-items: baseline; gap: 9px; margin: 8px 0 11px; direction: ltr; }
.tv-goal-value strong { color: #fffdf8; font: 700 clamp(29px, 2.25vw, 40px) Georgia, 'Times New Roman', serif; white-space: nowrap; }
.tv-goal-money .tv-goal-value strong { color: #f1cc78; font-size: clamp(25px, 1.9vw, 35px); }
.tv-goal-value strong small { margin-inline-start: 5px; font: 800 12px Arial, sans-serif; letter-spacing: .06em; }
.tv-goal-value > span { color: #c7d8e3; font-size: 15px; font-weight: 650; white-space: nowrap; }
.tv-goal-progress { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.16); }
.tv-goal-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #cda24a, #f3d995); box-shadow: 0 0 12px rgba(241,204,120,.3); }
.tv-goal-note { margin: 9px 0 0; color: #d3e0e8; font-size: 12px; line-height: 1.45; }
.tv-goal-note strong { color: #f1cc78; font-size: 14px; }
.tv-goal-money .tv-goal-note { font-size: 11px; }
@media (max-width: 1350px) {
  .tv-overview { grid-template-columns: minmax(180px, .7fr) minmax(150px, .48fr) minmax(240px, 1fr) minmax(250px, 1fr); }
}
@media (max-width: 1150px) {
  .tv-overview { grid-template-columns: minmax(150px, .65fr) minmax(230px, 1fr) minmax(240px, 1fr); grid-template-areas: "copy copy copy" "qr member total"; }
  .tv-swish-card { grid-area: qr; grid-column: auto; grid-row: auto; justify-self: stretch; width: 100%; flex-direction: row; text-align: start; }
  .tv-swish-copy { justify-items: start; }
}
@media (max-width: 850px) {
  .tv-overview { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "member total" "qr qr"; }
  .tv-swish-card { justify-self: center; width: min(100%, 360px); flex-direction: column; text-align: center; }
  .tv-swish-copy { justify-items: center; }
}
@media (max-width: 560px) {
  .tv-overview { grid-template-columns: 1fr; grid-template-areas: "copy" "member" "total" "qr"; }
  .tv-goal-card { min-height: 142px; padding: 15px; }
  .tv-goal-money .tv-goal-value { flex-wrap: wrap; row-gap: 2px; }
  .tv-goal-money .tv-goal-value > span { width: 100%; }
}
@media (max-width: 700px) { .tv-overview { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "member total" "qr qr"; } .tv-swish-card { width: min(100%, 290px); } .tv-swish-art { flex-basis: 80px; width: 80px; height: 80px; } }


/* Ensure the compact QR image is clipped and scaled inside its card. */
.tv-swish-card { min-width: 0; display: flex; align-items: center; gap: 15px; padding: 12px; border: 1px solid rgba(241,204,120,.42); border-radius: 18px; background: linear-gradient(145deg,rgba(255,255,255,.11),rgba(3,35,55,.6)); box-shadow: 0 12px 30px rgba(0,18,32,.2); }
.tv-swish-art { overflow: hidden; border: 3px solid #fff; border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.tv-swish-art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.tv-swish-copy { min-width: 0; display: grid; gap: 7px; }
.tv-swish-copy > strong { color: #fffdf8; font-size: clamp(14px,1.1vw,18px); line-height: 1.3; }
.tv-swish-copy p { margin: 0; color: #c7d8e3; font-size: 13px; line-height: 1.5; }
@media (max-width: 700px) { .tv-swish-card { gap: 13px; padding: 10px; } .tv-swish-copy p { font-size: 12px; } }


/* Clean TV dashboard hierarchy and clear payment completion states. */
.tv-overview {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, .85fr);
  grid-template-areas: "copy copy qr" "member total total";
  align-items: stretch;
  gap: 16px;
  margin-bottom: 22px;
}
.tv-overview-copy { grid-area: copy; align-self: center; max-width: 850px; padding: 14px 10px 14px 4px; }
.tv-overview-copy h2 { max-width: 23ch; margin: 10px 0 8px; font-size: clamp(30px, 2.6vw, 42px); line-height: 1.12; }
.tv-overview-copy p { max-width: 60ch; font-size: 16px; line-height: 1.55; }
.tv-goal-card { min-height: 150px; padding: 20px 22px 17px; border-radius: 18px; }
.tv-goal-heading { justify-content: flex-start; color: #e7eef3; font-size: 14px; letter-spacing: .08em; }
.tv-goal-heading span:last-child { display: none; }
.tv-goal-value { margin: 10px 0 13px; }
.tv-goal-value strong { font-size: clamp(34px, 3vw, 48px); }
.tv-goal-money .tv-goal-value strong { font-size: clamp(30px, 2.5vw, 42px); }
.tv-goal-note { margin-top: 10px; font-size: 13px; }
.tv-goal-money .tv-goal-note { font-size: 12px; }
.tv-swish-card { grid-area: qr; align-self: stretch; justify-self: stretch; width: auto; min-height: 122px; flex-direction: row; text-align: start; border-radius: 18px; }
.tv-swish-art { flex: 0 0 86px; width: 86px; height: 86px; }
.tv-swish-copy { justify-items: start; gap: 6px; }
.tv-swish-copy p { font-size: 12px; }
.tv-members { gap: 12px; }
.tv-member-card {
  min-height: 108px;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: 11px;
  padding: 13px 15px 12px;
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(0,18,32,.14);
  animation: none;
}
.tv-member-index { grid-column: 1; grid-row: 1; width: 29px; height: 29px; }
.tv-member-main { grid-column: 2; grid-row: 1; min-width: 0; display: grid; justify-items: start; gap: 6px; }
.tv-member-name { max-width: 100%; font-size: clamp(16px, 1.2vw, 20px); }
.tv-member-status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid rgba(145,229,170,.35); border-radius: 999px; color: #baf0c9; background: rgba(46,140,83,.25); font: 800 9px/1.2 Inter, system-ui, sans-serif; letter-spacing: .055em; white-space: nowrap; }
.tv-member-balance { grid-column: 3; grid-row: 1; display: grid; justify-items: end; gap: 3px; margin: 0; text-align: end; }
.tv-member-balance strong { font-size: clamp(18px, 1.45vw, 24px); }
.tv-member-balance span { font-size: 9px; }
.tv-member-progress { grid-column: 1 / -1; grid-row: 2; height: 5px; margin-top: 10px; }
.tv-member-card-paid { border-color: rgba(130,220,157,.58); background: linear-gradient(145deg, rgba(41,116,74,.36), rgba(3,35,55,.72)); box-shadow: inset 3px 0 0 rgba(130,220,157,.9), 0 8px 20px rgba(0,18,32,.18); }
.tv-member-card-paid::after { border-color: rgba(130,220,157,.26); }
.tv-member-card-paid .tv-member-index { color: #c8f4d4; background: rgba(75,177,108,.25); }
.tv-member-card-paid .tv-member-name { color: #f5fff6; }
.tv-member-card-paid .tv-member-balance strong { color: #a7e8b8; }
.tv-member-card-paid .tv-member-balance span { color: #d1efda; }
.tv-member-card-paid .tv-member-progress { background: rgba(185,235,199,.2); }
.tv-member-card-paid .tv-member-progress i { background: linear-gradient(90deg, #43ae70, #a5e6b4); }
@media (max-width: 1100px) {
  .tv-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "member total" "qr qr"; }
  .tv-swish-card { justify-self: center; width: min(100%, 460px); min-height: 105px; }
  .tv-members { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .tv-overview { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "member" "total" "qr"; gap: 11px; }
  .tv-overview-copy { padding: 4px 0 8px; }
  .tv-overview-copy h2 { font-size: clamp(27px, 7vw, 34px); }
  .tv-goal-card { min-height: 135px; padding: 15px 16px; }
  .tv-swish-card { width: 100%; min-height: 90px; flex-direction: row; justify-self: stretch; text-align: start; }
  .tv-swish-art { flex-basis: 68px; width: 68px; height: 68px; }
  .tv-swish-copy { justify-items: start; }
  .tv-members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tv-member-card { min-height: 106px; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 7px; padding: 10px; }
  .tv-member-index { grid-column: 1; grid-row: 1; width: 24px; height: 24px; }
  .tv-member-main { grid-column: 2; grid-row: 1; gap: 5px; }
  .tv-member-name { font-size: 15px; }
  .tv-member-status { font-size: 8px; padding: 3px 6px; }
  .tv-member-balance { grid-column: 2; grid-row: 2; justify-items: start; text-align: start; }
  .tv-member-balance strong { font-size: 19px; }
  .tv-member-progress { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 420px) { .tv-members { grid-template-columns: 1fr; } }


/* Circular member tiles for a clear, refined TV presentation. */
.tv-members {
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  align-items: start;
  justify-items: center;
  gap: 20px 16px;
}
.tv-member-card {
  width: min(100%, 196px);
  min-height: 0;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 39px 18px 31px;
  border: 1px solid rgba(224, 237, 244, .24);
  border-radius: 50%;
  text-align: center;
  background: radial-gradient(circle at 33% 24%, rgba(41, 104, 136, .62), rgba(4, 42, 65, .88) 74%);
  box-shadow: 0 14px 34px rgba(0, 18, 32, .22), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tv-member-card::after { display: none; }
.tv-member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 204, 120, .72);
  box-shadow: 0 18px 38px rgba(0, 18, 32, .3), 0 0 0 4px rgba(241,204,120,.06);
}
.tv-member-index {
  position: absolute;
  inset-block-start: 23px;
  inset-inline-start: 28px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(241,204,120,.28);
  border-radius: 50%;
  color: #f1cc78;
  background: rgba(4, 36, 56, .66);
  font-size: 10px;
}
.tv-member-main {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.tv-member-name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #fffdf8;
  font-size: clamp(15px, 1.12vw, 19px);
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tv-member-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(241,204,120,.34);
  border-radius: 999px;
  color: #f1cc78;
  background: rgba(241,204,120,.1);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.2;
}
.tv-member-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin: 8px 0 0;
  direction: ltr;
}
.tv-member-balance strong {
  color: #f1cc78;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.1;
}
.tv-member-balance span {
  color: #d2e0e8;
  font-size: 9px;
  letter-spacing: .09em;
}
.tv-member-progress {
  position: absolute;
  inset-inline: 28%;
  inset-block-end: 25px;
  width: auto;
  height: 4px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.tv-member-progress i { background: linear-gradient(90deg, #cda24a, #f3d995); }
.tv-member-card-paid {
  border: 1px solid rgba(141, 207, 163, .8);
  background: radial-gradient(circle at 32% 23%, rgba(41, 119, 101, .8), rgba(8, 65, 67, .96) 76%);
  box-shadow: 0 14px 34px rgba(0, 28, 31, .26), inset 0 0 0 4px rgba(141,207,163,.08), inset 0 1px 0 rgba(255,255,255,.12);
}
.tv-member-card-paid:hover {
  border-color: #a8dfb5;
  box-shadow: 0 18px 38px rgba(0, 28, 31, .32), 0 0 0 4px rgba(141,207,163,.1);
}
.tv-member-card-paid .tv-member-index {
  border-color: rgba(168,223,181,.38);
  color: #d8f2df;
  background: rgba(4, 53, 51, .76);
}
.tv-member-card-paid .tv-member-name { color: #fffdf8; }
.tv-member-card-paid .tv-member-status {
  border-color: rgba(168,223,181,.52);
  color: #dff5e4;
  background: rgba(168,223,181,.14);
}
.tv-member-card-paid .tv-member-balance strong { color: #f1cc78; }
.tv-member-card-paid .tv-member-balance span { color: #d5eee0; }
.tv-member-card-paid .tv-member-progress { background: rgba(220,245,227,.2); }
.tv-member-card-paid .tv-member-progress i { background: linear-gradient(90deg, #8dcfa3, #d4efbd); }
@media (max-width: 700px) {
  .tv-members { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px 10px; }
  .tv-member-card { width: min(100%, 164px); padding: 35px 13px 27px; }
  .tv-member-index { inset-block-start: 19px; inset-inline-start: 22px; width: 24px; height: 24px; font-size: 9px; }
  .tv-member-name { font-size: clamp(14px, 4vw, 17px); }
  .tv-member-balance { margin-top: 6px; }
  .tv-member-balance strong { font-size: clamp(17px, 4.7vw, 21px); }
  .tv-member-balance span { font-size: 8px; }
  .tv-member-status { font-size: 8px; padding: 3px 7px; }
  .tv-member-progress { inset-inline: 27%; inset-block-end: 21px; height: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-member-card { transition: none; animation: none; }
}


/* Gentle 3D depth and motion for the circular member display. */
.tv-member-card {
  transform-style: preserve-3d;
  background: radial-gradient(ellipse at 31% 18%, rgba(255,255,255,.2), transparent 38%), radial-gradient(circle at 33% 24%, rgba(41,104,136,.7), rgba(4,42,65,.96) 76%);
  box-shadow: 0 9px 14px rgba(0,12,24,.2), 0 18px 30px rgba(0,12,24,.2), inset 1px 2px 4px rgba(255,255,255,.18), inset -2px -5px 12px rgba(0,14,26,.28);
  will-change: transform;
  animation: tv-member-float 7.5s ease-in-out infinite;
}
.tv-member-card:nth-child(4n + 2) { animation-delay: -1.1s; }
.tv-member-card:nth-child(4n + 3) { animation-delay: -2.2s; }
.tv-member-card:nth-child(4n + 4) { animation-delay: -3.3s; }
.tv-member-card:hover {
  animation-play-state: paused;
  transform: perspective(760px) rotateX(5deg) rotateY(-5deg) translateY(-5px) scale(1.025);
  box-shadow: 0 12px 18px rgba(0,12,24,.2), 0 25px 40px rgba(0,12,24,.34), inset 1px 2px 4px rgba(255,255,255,.2), inset -2px -5px 12px rgba(0,14,26,.28);
}
.tv-member-index,
.tv-member-main,
.tv-member-balance { position: relative; z-index: 1; transform: translateZ(9px); }
.tv-member-index { position: absolute; }
.tv-member-progress { z-index: 1; transform: translateZ(5px); box-shadow: 0 1px 4px rgba(0,0,0,.22); }
@keyframes tv-member-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Warm gold highlight for members with less than 2,000 SEK remaining. */
.tv-member-card-near-complete {
  border: 2px solid #f3cb6f;
  background: radial-gradient(ellipse at 31% 18%, rgba(255,255,255,.22), transparent 38%), radial-gradient(circle at 32% 22%, rgba(170,119,41,.5), rgba(9,48,70,.97) 78%);
  box-shadow: 0 10px 16px rgba(0,12,24,.22), 0 0 0 3px rgba(243,203,111,.13), 0 18px 34px rgba(0,12,24,.24), inset 1px 2px 4px rgba(255,255,255,.2), inset -2px -5px 12px rgba(0,14,26,.3);
}
.tv-member-card-near-complete:hover {
  border-color: #ffe39a;
  box-shadow: 0 14px 22px rgba(0,12,24,.24), 0 0 0 5px rgba(243,203,111,.2), 0 28px 42px rgba(0,12,24,.34), inset 1px 2px 4px rgba(255,255,255,.24), inset -2px -5px 12px rgba(0,14,26,.3);
}
.tv-member-card-near-complete .tv-member-index {
  border-color: rgba(255,226,158,.72);
  color: #ffe8ae;
  background: rgba(99,66,22,.76);
}
.tv-member-card-near-complete .tv-member-name { color: #fffdf8; }
.tv-member-card-near-complete .tv-member-balance strong { color: #ffe08d; }
.tv-member-card-near-complete .tv-member-status-near {
  border-color: rgba(255,229,169,.82);
  color: #17354a;
  background: linear-gradient(135deg, #f0c562, #ffe8a6);
  box-shadow: 0 3px 10px rgba(0,0,0,.16);
  font-size: 8px;
  letter-spacing: .04em;
}
.tv-member-card-near-complete .tv-member-progress { background: rgba(255,239,197,.22); }
.tv-member-card-near-complete .tv-member-progress i { background: linear-gradient(90deg, #d5a747, #ffe7a0); }
.tv-member-card-paid { animation-duration: 9s; }
.tv-member-card-paid:hover { transform: perspective(760px) rotateX(5deg) rotateY(-5deg) translateY(-5px) scale(1.025); }
@media (prefers-reduced-motion: reduce) {
  .tv-member-card,
  .tv-member-card:hover { animation: none; transition: none; transform: none; }
}


/* Finished-payment card highlight, tuned to the reference. */
.tv-member-card-paid {
  border: 1px solid rgba(170, 231, 190, .96);
  background: radial-gradient(circle at 35% 22%, rgba(111, 164, 174, .76), rgba(29, 103, 94, .92) 53%, rgba(7, 59, 62, .98) 100%);
  box-shadow: 0 0 0 2px rgba(124, 207, 156, .22), 0 0 28px rgba(95, 205, 146, .22), 0 16px 34px rgba(0, 25, 35, .3), inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 4px rgba(154, 224, 176, .1);
}
.tv-member-card-paid::before {
  content: '';
  position: absolute;
  inset: 6px;
  z-index: 0;
  border: 1px solid rgba(184, 237, 198, .24);
  border-radius: inherit;
  pointer-events: none;
}
.tv-member-card-paid::after { display: none; }
.tv-member-card-paid .tv-member-index {
  border-color: rgba(178, 236, 195, .62);
  color: #e8fff0;
  background: linear-gradient(145deg, rgba(26, 99, 84, .98), rgba(7, 64, 64, .98));
  box-shadow: 0 3px 9px rgba(0, 30, 32, .28), inset 0 1px 0 rgba(255,255,255,.18);
}
.tv-member-card-paid .tv-member-status {
  border-color: rgba(170, 239, 192, .76);
  color: #edfff3;
  background: linear-gradient(135deg, rgba(66, 135, 117, .9), rgba(30, 91, 84, .92));
  box-shadow: 0 2px 9px rgba(0, 24, 28, .2), inset 0 1px 0 rgba(255,255,255,.18);
  letter-spacing: .07em;
}
.tv-member-card-paid .tv-member-balance strong { color: #f3d184; text-shadow: 0 2px 10px rgba(0, 20, 24, .28); }
.tv-member-card-paid .tv-member-balance span { color: #e5f7eb; font-weight: 850; letter-spacing: .13em; }
.tv-member-card-paid .tv-member-progress {
  height: 4px;
  background: rgba(211, 244, 221, .26);
  box-shadow: 0 2px 7px rgba(0, 20, 27, .2), inset 0 1px 1px rgba(255,255,255,.14);
}
.tv-member-card-paid .tv-member-progress i {
  background: linear-gradient(90deg, #83d7a0, #c4f1cf);
  box-shadow: 0 0 8px rgba(176, 239, 194, .48);
}
.tv-member-card-paid:hover {
  border-color: #d3f8dd;
  box-shadow: 0 0 0 3px rgba(124, 207, 156, .3), 0 0 34px rgba(95, 205, 146, .3), 0 22px 42px rgba(0, 25, 35, .34), inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 4px rgba(154, 224, 176, .14);
}


/* Balanced, layered overview for the TV dashboard. */
.tv-overview{position:relative;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);grid-template-areas:"copy qr" "member total";align-items:stretch;gap:clamp(14px,1.25vw,22px);margin-bottom:clamp(24px,2vw,36px);perspective:1400px}
.tv-overview-copy,.tv-swish-card,.tv-goal-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(206,226,238,.2);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(5,39,60,.78));box-shadow:0 18px 38px rgba(0,17,31,.22),inset 0 1px 0 rgba(255,255,255,.13),inset 0 -1px 0 rgba(0,0,0,.12);transform-style:preserve-3d;transition:transform 420ms cubic-bezier(.2,.7,.25,1),box-shadow 420ms ease,border-color 420ms ease}
.tv-overview-copy:before,.tv-swish-card:before,.tv-goal-card:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(132deg,rgba(255,255,255,.1),transparent 34%,transparent 76%,rgba(241,204,120,.055))}
.tv-overview-copy{grid-area:copy;grid-column:auto;align-self:stretch;display:flex;min-width:0;min-height:clamp(188px,14vw,232px);flex-direction:column;justify-content:center;padding:clamp(24px,3vw,44px);background:radial-gradient(ellipse at 8% 4%,rgba(57,139,169,.22),transparent 49%),linear-gradient(145deg,rgba(255,255,255,.09),rgba(3,34,54,.78))}
.tv-overview-copy>.tv-kicker{position:relative;z-index:1;color:#f1cc78}
.tv-overview-copy h2{position:relative;z-index:1;max-width:19ch;margin:10px 0 9px;font-size:clamp(32px,3.3vw,56px);line-height:1.04;letter-spacing:-.025em;text-wrap:balance;text-shadow:0 3px 18px rgba(0,13,25,.18)}
.tv-overview-copy p{position:relative;z-index:1;max-width:58ch;margin:0;color:#d2e0e9;font-size:clamp(14px,1vw,17px);line-height:1.6}
.tv-swish-card{grid-area:qr;grid-column:auto;grid-row:auto;justify-self:stretch;align-self:stretch;display:grid;grid-template-columns:clamp(96px,8vw,132px) minmax(0,1fr);align-items:center;gap:clamp(15px,1.6vw,25px);width:auto;min-width:0;min-height:clamp(188px,14vw,232px);padding:clamp(18px,2vw,30px);border-color:rgba(241,204,120,.43);background:radial-gradient(ellipse at 100% 0,rgba(241,204,120,.13),transparent 55%),linear-gradient(145deg,rgba(255,255,255,.105),rgba(3,35,55,.72));text-align:start}
.tv-swish-art{flex:none;width:100%;height:auto;aspect-ratio:1;border:3px solid rgba(255,255,255,.96);border-radius:20px;box-shadow:0 13px 24px rgba(0,12,24,.28),0 0 0 5px rgba(241,204,120,.1);transform:translateZ(16px)}
.tv-swish-copy{min-width:0;justify-items:start;gap:8px;transform:translateZ(10px)}
.tv-swish-copy>.tv-kicker{color:#f1cc78;font-size:11px;letter-spacing:.16em}
.tv-swish-copy>strong{color:#fffdf8;font-size:clamp(15px,1.2vw,19px);line-height:1.35}
.tv-swish-copy p{max-width:31ch;color:#d0e0e9;font-size:13px;line-height:1.55}
.tv-goal-card{grid-area:auto;grid-column:auto;min-height:178px;justify-content:center;padding:clamp(20px,2vw,30px)}
.tv-goal-member{grid-area:member;background:radial-gradient(ellipse at 0 0,rgba(61,144,164,.18),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.095),rgba(3,35,55,.74))}
.tv-goal-money{grid-area:total;border-color:rgba(241,204,120,.43);background:radial-gradient(ellipse at 100% 0,rgba(241,204,120,.18),transparent 56%),linear-gradient(145deg,rgba(255,255,255,.09),rgba(3,35,55,.72))}
.tv-goal-card>*{position:relative;z-index:1}
.tv-goal-heading{color:#e5edf2;font-size:clamp(12px,.9vw,14px);letter-spacing:.13em}
.tv-goal-value{gap:12px;margin:12px 0 14px}
.tv-goal-value strong{color:#fffdf8;font-size:clamp(36px,3.1vw,52px);line-height:1;text-shadow:0 3px 16px rgba(0,14,26,.24)}
.tv-goal-money .tv-goal-value strong{color:#f1cc78;font-size:clamp(32px,2.7vw,46px)}
.tv-goal-value>span{color:#d2e0e9;font-size:clamp(13px,.95vw,16px)}
.tv-goal-progress{height:10px;background:rgba(225,239,247,.17);box-shadow:inset 0 2px 4px rgba(0,12,24,.18)}
.tv-goal-progress i{box-shadow:0 0 16px rgba(241,204,120,.32),inset 0 1px 0 rgba(255,255,255,.35)}
.tv-goal-note{margin-top:11px;font-size:13px}
.tv-goal-note strong{font-size:15px}
.tv-goal-money .tv-goal-note{font-size:12px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.tv-overview-copy:hover,.tv-swish-card:hover,.tv-goal-card:hover{z-index:2;border-color:rgba(241,204,120,.54);box-shadow:0 24px 48px rgba(0,14,27,.29),inset 0 1px 0 rgba(255,255,255,.18);transform:perspective(1400px) translateY(-4px) rotateX(1deg)}}
@media(prefers-reduced-motion:no-preference){.tv-overview-copy,.tv-swish-card,.tv-goal-card{animation:tv-overview-drift 10s ease-in-out infinite}.tv-swish-card{animation-delay:-2.5s}.tv-goal-member{animation-delay:-1.25s}.tv-goal-money{animation-delay:-3.75s}@keyframes tv-overview-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.tv-overview-copy:hover,.tv-swish-card:hover,.tv-goal-card:hover{animation-play-state:paused}}
@media(max-width:1050px){.tv-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"copy copy" "qr qr" "member total"}.tv-overview-copy{min-height:185px}.tv-swish-card{justify-self:center;width:min(100%,620px);min-height:158px}.tv-goal-card{min-height:168px}}
@media(max-width:600px){.tv-overview{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "qr" "member" "total";gap:12px}.tv-overview-copy{min-height:0;padding:22px 20px}.tv-overview-copy h2{max-width:17ch;font-size:clamp(30px,9vw,40px)}.tv-swish-card{grid-template-columns:82px minmax(0,1fr);width:100%;min-height:122px;gap:14px;padding:14px;border-radius:20px}.tv-swish-art{border-radius:15px}.tv-swish-copy{gap:5px}.tv-swish-copy p{font-size:12px}.tv-goal-card{min-height:152px;padding:18px;border-radius:20px}.tv-goal-value{flex-wrap:wrap;row-gap:4px}.tv-goal-value>span{width:100%}}
@media(prefers-reduced-motion:reduce){.tv-overview-copy,.tv-swish-card,.tv-goal-card,.tv-overview-copy:hover,.tv-swish-card:hover,.tv-goal-card:hover{animation:none;transition:none;transform:none}}


/* Professional rectangular member cards. */
.tv-members{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));align-items:stretch;justify-items:stretch;gap:clamp(12px,1vw,17px)}
.tv-member-card{width:100%;min-width:0;min-height:132px;aspect-ratio:auto;display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:minmax(56px,auto) 6px;align-items:center;column-gap:12px;row-gap:12px;padding:16px 18px 14px;border-radius:18px;text-align:start;background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(4,38,60,.78));box-shadow:0 12px 26px rgba(0,15,28,.24),inset 0 1px 0 rgba(255,255,255,.13),inset 0 -2px 8px rgba(0,15,27,.14);transform-style:preserve-3d}
.tv-member-card::after{display:block;position:absolute;inset-inline-end:-48px;inset-block-start:-82px;width:142px;height:142px;border:1px solid rgba(241,204,120,.12);border-radius:50%;pointer-events:none;z-index:0}
.tv-member-index{position:relative;inset:auto;grid-column:1;grid-row:1;align-self:start;width:30px;height:30px;border-radius:10px;font-size:10px}
.tv-member-main{grid-column:2;grid-row:1;align-items:flex-start;justify-content:center;gap:7px;text-align:start;transform:translateZ(12px)}
.tv-member-name{width:100%;max-width:100%;font-size:clamp(16px,1.05vw,21px);line-height:1.25;text-align:start;overflow-wrap:anywhere}
.tv-member-status{font-size:9px}
.tv-member-balance{grid-column:3;grid-row:1;align-items:flex-end;gap:3px;margin:0;text-align:end;transform:translateZ(14px)}
.tv-member-balance strong{font-size:clamp(20px,1.55vw,27px);white-space:nowrap}
.tv-member-balance span{font-size:9px;white-space:nowrap}
.tv-member-progress{position:relative;inset:auto;grid-column:1/-1;grid-row:2;width:100%;height:6px;margin:0;border-radius:999px;box-shadow:inset 0 1px 3px rgba(0,0,0,.18),0 1px 4px rgba(0,0,0,.12);transform:translateZ(6px)}
.tv-member-progress i{border-radius:inherit}
.tv-member-card:hover,.tv-member-card-paid:hover,.tv-member-card-near-complete:hover{animation-play-state:paused;transform:perspective(1200px) translateY(-4px) rotateX(1deg)}
.tv-member-card:hover{border-color:rgba(241,204,120,.66);box-shadow:0 18px 34px rgba(0,15,28,.3),0 0 0 3px rgba(241,204,120,.08),inset 0 1px 0 rgba(255,255,255,.17)}
.tv-member-card-paid{border-radius:18px;box-shadow:0 0 0 1px rgba(124,207,156,.19),0 14px 30px rgba(0,25,35,.28),inset 0 1px 0 rgba(255,255,255,.21),inset 0 0 0 4px rgba(154,224,176,.09)}
.tv-member-card-paid:hover{border-color:#d3f8dd;box-shadow:0 0 0 2px rgba(124,207,156,.26),0 20px 38px rgba(0,25,35,.34),inset 0 1px 0 rgba(255,255,255,.24),inset 0 0 0 4px rgba(154,224,176,.12)}
.tv-member-card-near-complete{border-radius:18px;box-shadow:0 0 0 1px rgba(243,203,111,.17),0 14px 30px rgba(0,20,34,.27),inset 0 1px 0 rgba(255,255,255,.2)}
.tv-member-card-near-complete:hover{border-color:#ffe39a;box-shadow:0 0 0 2px rgba(243,203,111,.22),0 20px 38px rgba(0,20,34,.34),inset 0 1px 0 rgba(255,255,255,.23)}
@media(max-width:1000px){.tv-members{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr))}.tv-member-card{min-height:126px;padding:15px 16px 13px}}
@media(max-width:560px){.tv-members{grid-template-columns:minmax(0,1fr);gap:11px}.tv-member-card{min-height:116px;grid-template-columns:28px minmax(0,1fr) auto;column-gap:10px;row-gap:10px;padding:14px 15px 12px;border-radius:16px}.tv-member-index{width:27px;height:27px;border-radius:9px}.tv-member-name{font-size:clamp(16px,4.6vw,19px)}.tv-member-balance strong{font-size:clamp(19px,5.4vw,23px)}.tv-member-balance span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.tv-member-card,.tv-member-card:hover,.tv-member-card-paid:hover,.tv-member-card-near-complete:hover{animation:none;transition:none;transform:none}}


/* Keep full member names readable instead of clipping them to two lines. */
.tv-member-main { min-width: 0; }
.tv-member-name {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.24;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}
@media (max-width: 560px) {
  .tv-member-name { font-size: clamp(16px, 4.6vw, 19px); }
}


/* Compact, single-screen founders display layout. */
.tv-header {
  min-height: 62px;
  padding: 8px clamp(14px, 2.4vw, 34px);
  gap: 12px;
}
.tv-brand img { width: 42px; height: 42px; }
.tv-brand strong { font-size: 18px; }
.tv-brand small { margin-top: 3px; font-size: 8px; }
.tv-header-center h1 { margin: 0; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.05; }
.tv-header-center .tv-kicker { font-size: 9px; }
.tv-header-actions { gap: 12px; }
.tv-live { gap: 7px; font-size: 11px; }
.tv-logout { padding: 8px 13px; font-size: 12px; }

.tv-main {
  display: grid;
  width: min(1920px, 100%);
  height: calc(100vh - 62px);
  height: calc(100svh - 62px);
  min-height: 0;
  margin: 0 auto;
  padding: 9px clamp(14px, 2.2vw, 30px) 7px;
  grid-template-columns: minmax(220px, .9fr) minmax(230px, .8fr) minmax(290px, 1.15fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "copy member total"
    "members members members"
    "qr qr qr"
    "footer footer footer";
  gap: 9px 12px;
}
.tv-overview { display: contents; }
.tv-overview-copy {
  grid-area: copy;
  align-self: center;
  max-width: none;
  padding: 5px 4px;
}
.tv-overview-copy .tv-kicker { font-size: 9px; letter-spacing: .13em; }
.tv-overview-copy h2 {
  max-width: 28ch;
  margin: 4px 0;
  font-size: clamp(21px, 1.55vw, 29px);
  line-height: 1.06;
}
.tv-overview-copy p { font-size: 12px; line-height: 1.35; }
.tv-goal-card {
  min-width: 0;
  min-height: 91px;
  padding: 9px 13px 8px;
  border-radius: 14px;
  gap: 0;
}
.tv-goal-member { grid-area: member; }
.tv-goal-money { grid-area: total; }
.tv-goal-heading { font-size: 10px; letter-spacing: .075em; }
.tv-goal-value { gap: 7px; margin: 4px 0 6px; }
.tv-goal-value strong { font-size: clamp(25px, 2vw, 34px); }
.tv-goal-money .tv-goal-value strong { font-size: clamp(23px, 1.8vw, 31px); }
.tv-goal-value strong small { font-size: 10px; }
.tv-goal-value > span { font-size: 12px; }
.tv-goal-progress { height: 6px; }
.tv-goal-note, .tv-goal-money .tv-goal-note { margin-top: 5px; font-size: 10px; line-height: 1.25; }
.tv-goal-note strong { font-size: 11px; }

.tv-members {
  grid-area: members;
  min-height: 0;
  overflow: auto;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: minmax(78px, auto);
  align-content: start;
  gap: 8px;
  padding: 2px 2px 5px;
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 204, 120, .55) rgba(255, 255, 255, .08);
}
.tv-members::-webkit-scrollbar { width: 7px; height: 7px; }
.tv-members::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(241, 204, 120, .55); }
.tv-member-card {
  position: relative;
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr) 4px;
  align-items: center;
  gap: 4px 8px;
  padding: 7px 9px 7px;
  border-radius: 12px;
  box-shadow: 0 5px 13px rgba(0, 18, 32, .14);
}
.tv-member-index { grid-column: 1; grid-row: 1; width: 21px; height: 21px; font-size: 9px; }
.tv-member-main {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 6px;
}
.tv-member-name {
  flex: 1 1 120px;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(13px, .92vw, 16px);
  line-height: 1.16;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.tv-member-status { max-width: 100%; font-size: 8px; padding: 3px 6px; }
.tv-member-balance { grid-column: 2; grid-row: 1; display: grid; justify-items: end; gap: 1px; margin: 0; text-align: end; }
.tv-member-balance strong { font-size: clamp(16px, 1.05vw, 20px); line-height: 1.05; }
.tv-member-balance span { font-size: 8px; }
.tv-member-progress { grid-column: 1 / -1; grid-row: 3; height: 4px; margin: 0; }

.tv-swish-card {
  grid-area: qr;
  justify-self: center;
  width: min(100%, 560px);
  min-height: 60px;
  padding: 4px 10px;
  flex-direction: row;
  gap: 10px;
  border-radius: 12px;
  text-align: start;
}
.tv-swish-art { flex: 0 0 50px; width: 50px; height: 50px; border-width: 2px; border-radius: 9px; }
.tv-swish-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.tv-swish-copy .tv-kicker { font-size: 9px; }
.tv-swish-copy > strong { font-size: 13px; }
.tv-swish-copy p { font-size: 10px; line-height: 1.25; }
.tv-footer {
  grid-area: footer;
  margin: 0;
  padding: 0 2px;
  gap: 8px;
  flex-direction: row;
  justify-content: space-between;
  font-size: 9px;
  line-height: 1.2;
}

@media (max-width: 1450px) {
  .tv-main { grid-template-columns: minmax(190px, .8fr) minmax(220px, .9fr) minmax(250px, 1.1fr); }
  .tv-members { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
  .tv-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    grid-template-areas: "copy copy" "member total" "members members" "qr qr" "footer footer";
  }
  .tv-members { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tv-swish-card { width: min(100%, 480px); }
}
@media (max-width: 700px) {
  .tv-header { min-height: 58px; padding: 7px 10px; grid-template-columns: auto 1fr auto; gap: 7px; }
  .tv-brand img { width: 34px; height: 34px; }
  .tv-brand strong { font-size: 15px; }
  .tv-brand small { font-size: 7px; letter-spacing: .1em; }
  .tv-header-center { grid-row: auto; grid-column: auto; text-align: center; }
  .tv-header-center .tv-kicker { font-size: 7px; }
  .tv-header-center h1 { font-size: 19px; }
  .tv-header-actions { gap: 5px; }
  .tv-live { font-size: 0; }
  .tv-live i { width: 8px; height: 8px; }
  .tv-logout { padding: 6px 8px; font-size: 10px; }
  .tv-main {
    height: auto;
    min-height: calc(100svh - 58px);
    padding: 7px 9px 6px;
    grid-template-rows: auto auto auto auto auto;
    gap: 7px;
  }
  .tv-overview-copy { padding: 3px 1px; }
  .tv-overview-copy h2 { margin: 3px 0; font-size: clamp(20px, 5vw, 26px); }
  .tv-overview-copy p { font-size: 11px; }
  .tv-goal-card { min-height: 77px; padding: 8px 9px 7px; }
  .tv-goal-heading { font-size: 9px; }
  .tv-goal-value { gap: 4px; margin: 3px 0 4px; }
  .tv-goal-value strong { font-size: 23px; }
  .tv-goal-money .tv-goal-value strong { font-size: 20px; }
  .tv-goal-value > span { font-size: 10px; }
  .tv-goal-note, .tv-goal-money .tv-goal-note { font-size: 8px; }
  .tv-members { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(72px, auto); gap: 6px; padding: 1px; }
  .tv-member-card { min-height: 72px; gap: 3px 5px; padding: 6px 7px; }
  .tv-member-name { flex-basis: 100%; font-size: 12px; }
  .tv-member-status { font-size: 7px; }
  .tv-member-balance strong { font-size: 15px; }
  .tv-swish-card { min-height: 54px; width: min(100%, 390px); padding: 3px 7px; gap: 8px; }
  .tv-swish-art { flex-basis: 44px; width: 44px; height: 44px; }
  .tv-swish-copy { gap: 3px 8px; }
  .tv-swish-copy > strong { font-size: 11px; }
  .tv-swish-copy p { font-size: 9px; }
  .tv-footer { font-size: 8px; }
}
@media (max-width: 480px) {
  .tv-header { grid-template-columns: auto 1fr auto; }
  .tv-header-center .tv-kicker { display: none; }
  .tv-header-center h1 { font-size: 17px; }
  .tv-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto; grid-template-areas: "copy" "member" "total" "members" "qr" "footer"; }
  .tv-goal-card { min-height: 72px; }
  .tv-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 340px) {
  .tv-members { grid-template-columns: 1fr; }
  .tv-footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-member-card { animation: none !important; transition: none !important; }
}

/* Compact desktop founders display: save vertical space and keep card content clear. */
@media (min-width: 1051px) {
  .tv-body .tv-main { grid-template-rows: 88px minmax(0, 1fr) 58px 12px !important; }
  .tv-body .tv-main .tv-overview-copy { height: 88px !important; min-height: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
  .tv-body .tv-main .tv-goal-card { height: 88px !important; min-height: 88px !important; max-height: 88px !important; padding: 8px 12px !important; overflow: hidden !important; }
  .tv-body .tv-main .tv-members { grid-auto-rows: 96px !important; gap: 8px !important; }
  .tv-body .tv-main .tv-member-card { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: 22px minmax(0, 1fr) 4px !important; gap: 3px 7px !important; height: 96px !important; min-height: 96px !important; max-height: 96px !important; padding: 7px 9px !important; overflow: hidden !important; align-items: center !important; }
  .tv-body .tv-main .tv-member-card .tv-member-index { position: static !important; grid-column: 1 !important; grid-row: 1 !important; align-self: start !important; }
  .tv-body .tv-main .tv-member-card .tv-member-main { grid-column: 1 / -1 !important; grid-row: 2 !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 2px !important; min-width: 0 !important; overflow: hidden !important; }
  .tv-body .tv-main .tv-member-card .tv-member-name { font-size: clamp(13px, .85vw, 16px) !important; line-height: 1.1 !important; white-space: normal !important; overflow-wrap: anywhere !important; }
  .tv-body .tv-main .tv-member-card .tv-member-status { max-width: 100% !important; font-size: 8px !important; line-height: 1.1 !important; padding: 2px 6px !important; white-space: normal !important; }
  .tv-body .tv-main .tv-member-card .tv-member-balance { grid-column: 2 !important; grid-row: 1 !important; align-self: start !important; text-align: right !important; min-width: 70px !important; margin: 0 !important; }
  .tv-body .tv-main .tv-member-card .tv-member-balance strong { font-size: clamp(16px, .95vw, 20px) !important; line-height: 1 !important; }
  .tv-body .tv-main .tv-member-card .tv-member-balance span { font-size: 8px !important; }
  .tv-body .tv-main .tv-member-card .tv-member-progress { grid-column: 1 / -1 !important; grid-row: 3 !important; align-self: center !important; height: 4px !important; }
}

/* Reset legacy circular-card positioning for the compact TV grid. */
@media (min-width: 1051px) {
  .tv-body .tv-main .tv-member-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 20px minmax(0, 1fr) 4px !important;
    gap: 3px 8px !important;
    height: 96px !important; min-height: 96px !important; max-height: 96px !important;
    padding: 7px 9px !important; overflow: hidden !important; align-items: center !important;
  }
  .tv-body .tv-main .tv-member-card .tv-member-index,
  .tv-body .tv-main .tv-member-card .tv-member-main,
  .tv-body .tv-main .tv-member-card .tv-member-balance,
  .tv-body .tv-main .tv-member-card .tv-member-progress {
    position: static !important; inset: auto !important; transform: none !important; float: none !important;
    width: auto !important; max-width: none !important; margin: 0 !important;
  }
  .tv-body .tv-main .tv-member-card .tv-member-index { grid-column: 1 !important; grid-row: 1 !important; justify-self: start !important; align-self: start !important; }
  .tv-body .tv-main .tv-member-card .tv-member-main {
    grid-column: 1 / -1 !important; grid-row: 2 !important; min-width: 0 !important; min-height: 0 !important;
    display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important;
    gap: 2px !important; overflow: hidden !important;
  }
  .tv-body .tv-main .tv-member-card .tv-member-name {
    display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important;
    max-width: 100% !important; max-height: 2.25em !important; overflow: hidden !important;
    font-size: clamp(12px, .78vw, 15px) !important; line-height: 1.1 !important;
    white-space: normal !important; overflow-wrap: break-word !important; word-break: normal !important; hyphens: none !important;
  }
  .tv-body .tv-main .tv-member-card .tv-member-status {
    position: static !important; max-width: 100% !important; margin: 0 !important;
    font-size: 7px !important; line-height: 1.1 !important; padding: 2px 5px !important;
  }
  .tv-body .tv-main .tv-member-card .tv-member-balance {
    grid-column: 2 !important; grid-row: 1 !important; align-self: start !important; justify-self: end !important;
    min-width: 68px !important; text-align: right !important;
  }
  .tv-body .tv-main .tv-member-card .tv-member-balance strong { font-size: clamp(15px, .9vw, 18px) !important; line-height: 1 !important; }
  .tv-body .tv-main .tv-member-card .tv-member-balance span { font-size: 7px !important; line-height: 1 !important; }
  .tv-body .tv-main .tv-member-card .tv-member-progress { grid-column: 1 / -1 !important; grid-row: 3 !important; align-self: center !important; height: 4px !important; }
}


/* Large, scannable Swish QR beside the collection total on the top row. */
@media (min-width: 1051px) {
  .tv-body .tv-main {
    grid-template-columns: minmax(0, .9fr) minmax(0, .8fr) minmax(0, 1.4fr) minmax(180px, .75fr) !important;
    grid-template-rows: 176px minmax(0, 1fr) 12px !important;
    grid-template-areas: 'copy member total qr' 'members members members members' 'footer footer footer footer' !important;
    row-gap: 8px !important;
  }
  .tv-body .tv-main .tv-goal-card { align-self: center !important; min-height: 88px !important; max-height: 106px !important; }
  .tv-body .tv-main .tv-swish-card {
    grid-area: qr !important; justify-self: stretch !important; align-self: center !important;
    display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important;
    gap: 9px !important; width: 100% !important; min-height: 160px !important; height: 160px !important;
    padding: 7px !important; text-align: left !important; overflow: hidden !important;
  }
  .tv-body .tv-main .tv-swish-art {
    flex: 0 0 clamp(112px, 7.8vw, 150px) !important; width: clamp(112px, 7.8vw, 150px) !important;
    height: clamp(112px, 7.8vw, 150px) !important; border-radius: 12px !important; object-fit: contain !important;
    background: #fff !important; padding: 4px !important; box-shadow: 0 5px 18px rgba(0,0,0,.22) !important;
  }
  .tv-body .tv-main .tv-swish-copy {
    display: flex !important; flex: 1 1 auto !important; flex-direction: column !important;
    align-items: flex-start !important; justify-content: center !important; gap: 5px !important;
    min-width: 0 !important; text-align: left !important;
  }
  .tv-body .tv-main .tv-swish-copy .tv-kicker { font-size: 8px !important; line-height: 1.2 !important; }
  .tv-body .tv-main .tv-swish-copy > strong { font-size: 11px !important; line-height: 1.25 !important; overflow-wrap: anywhere !important; }
  .tv-body .tv-main .tv-swish-copy p { font-size: 9px !important; line-height: 1.25 !important; margin: 0 !important; }
}
@media (min-width: 1051px) and (max-width: 1250px) {
  .tv-body .tv-main .tv-swish-copy p { display: none !important; }
  .tv-body .tv-main .tv-swish-art { flex-basis: 112px !important; width: 112px !important; height: 112px !important; }
  .tv-body .tv-main .tv-swish-card { min-height: 126px !important; height: 126px !important; }
}


/* Give the introduction room beside the taller QR panel. */
@media (min-width: 1051px) {
  .tv-body .tv-main .tv-overview-copy {
    height: auto !important; min-height: 0 !important; max-height: none !important;
    overflow: visible !important; align-self: center !important; padding: 4px !important;
  }
  .tv-body .tv-main .tv-overview-copy h2 { margin: 5px 0 !important; line-height: 1.08 !important; }
  .tv-body .tv-main .tv-overview-copy p { margin: 0 !important; line-height: 1.35 !important; }
}


/* TV display: keep the Swish QR visible in the lower-right corner on large screens. */
@media (min-width: 1100px) {
  html body.tv-body main.tv-main aside.tv-swish-card {
    position: fixed !important;
    inset: auto clamp(18px, 2.5vw, 44px) clamp(18px, 2.5vh, 44px) auto !important;
    width: min(390px, calc(100vw - 36px)) !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
    z-index: 1000 !important;
  }

  html body.tv-body main.tv-main aside.tv-swish-card .tv-swish-art {
    flex: 0 0 112px !important;
    width: 112px !important;
    height: 112px !important;
  }

  html body.tv-body main.tv-main aside.tv-swish-card .tv-swish-art img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  html body.tv-body main.tv-main .tv-members {
    padding-bottom: 170px !important;
  }
}


@media (min-width: 1100px) {
  html body.tv-body main.tv-main .tv-members {
    padding-right: 430px !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  }
}
