:root{color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#351015,transparent 65%),#090808;color:#f7efdf;font:16px Segoe UI,sans-serif;min-height:100vh}header{max-width:1440px;margin:auto;padding:16px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #d8ad4926}header img{display:block;width:86px;height:86px;object-fit:contain}nav{display:flex;align-items:center;gap:28px}nav a{color:#e3bd67;text-decoration:none}.button{padding:12px 22px;background:#641b20;border:1px solid #b33a3e;border-radius:10px;color:#fff0d4}.button:hover{background:#812329;border-color:#e3bd67}a:focus-visible{outline:2px solid #e3bd67;outline-offset:5px}main{max-width:1440px;margin:auto;padding:28px 32px 48px}.video-stage{position:relative;aspect-ratio:16/9;background:#000;border:1px solid #d8ad4945;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px #0006}.video-stage video{display:block;width:100%;height:100%;object-fit:contain}.pending{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:radial-gradient(ellipse,#251a12,#080707 75%)}.pending img{width:clamp(120px,25vw,300px);height:auto}.play-placeholder{display:grid;place-items:center;width:60px;height:60px;border:1px solid #e3bd6770;border-radius:50%;color:#e3bd67;font-size:24px;padding-left:4px}.pending small{color:#bbad96}.pending[hidden]{display:none}footer{max-width:1440px;margin:auto;padding:18px 32px;border-top:1px solid #d8ad4926;color:#bbad96;font-size:12px}@media(max-width:650px){header{padding:12px 18px}header img{width:64px;height:64px}nav{gap:16px;font-size:14px}.button{padding:9px 14px}main{padding:20px 14px 35px}.video-stage{border-radius:12px}.pending{gap:8px}.pending img{width:110px}.play-placeholder{width:36px;height:36px;font-size:16px}.pending small{font-size:11px}}

body{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100svh;background:#090808}
.background-media{position:fixed;inset:0;z-index:-2;pointer-events:none;background:#090808 url('https://rpcontrol.nl/assets/shenkai-logo.webp') center/ min(80vw,750px) no-repeat}
.background-media video{width:100%;height:100%;object-fit:cover;opacity:.38;filter:blur(2px);display:block}
.background-shade{position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#09080875,#090808b0),radial-gradient(ellipse at top right,#60131b35,transparent 70%)}
header{width:100%;background:#09080850;backdrop-filter:blur(10px)}main{flex:1;width:100%;min-height:65svh}footer{width:100%;background:#09080865}
.motion-toggle{font:inherit;color:#e3bd67;background:#181514;border:1px solid #d8ad4945;border-radius:8px;padding:9px 14px;cursor:pointer}.motion-toggle[hidden]{display:none}.motion-toggle:focus-visible{outline:2px solid #e3bd67;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.background-media video{display:none}}
main{display:grid;grid-template-columns:340px minmax(0,1fr);gap:32px;align-items:start}.family-panel{margin-top:40px;padding:24px;border:1px solid #d8ad4945;border-radius:24px;background:#181514}.family-panel h2{margin:0 0 24px;color:#f3d48f;font-size:30px}.family-panel input{width:100%;padding:15px;border:1px solid #d8ad4950;border-radius:12px;background:#211b18;color:#f7efdf;font:inherit}.family-panel input:focus-visible{outline:2px solid #e3bd67;outline-offset:3px}#familyCount{color:#bbad96}#familyMembers{max-height:min(65vh,650px);overflow-y:auto;padding-right:12px;scrollbar-width:thin;scrollbar-color:#a9863b #181514}#familyMembers section{padding:16px 0;border-bottom:1px solid #d8ad4926}#familyMembers h3{margin:0 0 14px;color:#e3bd67;font-size:17px}#familyMembers p{margin:0 0 12px;overflow-wrap:anywhere}@media(max-width:900px){main{grid-template-columns:1fr}.family-panel{max-width:100%;margin-top:20px}.throwback{margin-top:0}}
.throwback{margin:40px 0 70px}.throwback-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.throwback h1{color:#f3d48f;font-size:clamp(28px,4vw,40px);margin:0}.throwback-heading span,.throwback-card p{color:#bbad96}.throwback-card{max-width:960px;padding:24px;border:1px solid #d8ad4945;border-radius:24px;background:#181514}.throwback-preview{display:block;position:relative;width:100%;border:0;padding:0;border-radius:18px;overflow:hidden;cursor:pointer;background:#090808;aspect-ratio:16/9}.throwback-preview img{width:100%;height:100%;object-fit:cover;display:block}.throwback-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:90px;height:90px;border:3px solid #e3bd67;border-radius:50%;background:#090808aa;color:#f3d48f;font-size:40px}.throwback-preview:focus-visible{outline:3px solid #f3d48f;outline-offset:5px}.throwback-card iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:18px}.throwback-card p{margin:22px 0 0}#throwbackStatus{margin:0;padding:35px 0}@media(max-width:650px){.throwback-heading{align-items:flex-start;flex-direction:column;gap:10px}.throwback-card{padding:14px}.throwback-play{width:64px;height:64px;font-size:28px}}

/* Throwback: brede kaart zoals de referentie, naast de ledenlijst. */
/* Compacte ledenlijst; dashboard blijft ongewijzigd. */
/* Headerafmetingen gelijk aan het dashboard. */
.background-media { background-image: none; background-color: #090808; }
#motionToggle { display: none; }
header { max-width: none; width: 100%; padding: 8px 7%; gap: 20px; flex-wrap: wrap; }
header img { width: 72px; height: 72px; }
.home-brand{display:flex;align-items:center;gap:28px;min-width:0}
.account-nav{margin-left:auto;flex-wrap:wrap}
.account-nav button[data-logout-button]{font:inherit;color:#e3bd67;background:transparent;border:1px solid #d8ad4945;border-radius:10px;padding:12px 18px;cursor:pointer}
@media(max-width:650px){.home-brand{gap:16px}.account-nav{gap:14px}.account-nav button[data-logout-button]{padding:9px 14px}}
@media (max-width: 650px) {
  header { padding: 8px 24px; }
  header img { width: 60px; height: 60px; }
}
.family-panel { padding: 20px; }
.family-panel h2 { font-size: 26px; margin-bottom: 16px; }
.family-panel input { padding: 11px 13px; font-size: 14px; }
#familyCount { font-size: 13px; margin: 12px 0 8px; }
#familyMembers { max-height: min(55vh, 480px); font-size: 15px; line-height: 1.4; }
#familyMembers section { padding: 10px 0; }
#familyMembers h3 { font-size: 14px; margin-bottom: 8px; }
#familyMembers p { margin-bottom: 6px; }
#familyMembers p:last-child { margin-bottom: 0; }
.throwback { min-width: 0; }
.throwback-heading { margin-bottom: 30px; align-items: baseline; }
.throwback-heading { flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.throwback h1 { color: #f3d48f; font-size: clamp(30px, 3vw, 42px); font-weight: 700; }
.throwback h1 { color: #f4d493; font-size: 1.7rem; line-height: 1.5; }
.throwback-heading span { color: #c5ac78; font-size: 18px; }
.throwback-heading span { color: #b9a98d; font-size: .833rem; }
.throwback-card { width: 100%; max-width: 960px; padding: 24px; border-radius: 26px; background: #15120f; border-color: #b7985333; }
.throwback-card { max-width: 640px; padding: 1rem; border-radius: 18px; background: #181211; border-color: rgba(240, 205, 134, .15); }
.throwback-preview, .throwback-card iframe { border-radius: 18px; }
.throwback-preview, .throwback-card iframe { border-radius: 12px; }
.throwback-play { width: 100px; height: 100px; border: 3px solid #c79d32; background: #110c09b3; color: #f3d48f; font-size: 40px; padding-left: 5px; }
.throwback-play { width: 68px; height: 68px; border: 2px solid #d9a441; background: rgba(10, 7, 8, .75); color: #f4d493; font-size: 1.6rem; }
.throwback-card > p { color: #c5ac78; font-size: 20px; margin: 24px 0 2px; }
.throwback-card > p { color: #b9a98d; font-size: .9rem; margin: .9rem 0 0; line-height: 1.5; }
.background-shade { background: linear-gradient(180deg, #090808b0, #090808dd), radial-gradient(ellipse at top right, #60131b50, transparent 70%); }
@media (max-width: 650px) {
  .throwback-card { padding: 1rem; border-radius: 18px; }
  .throwback-play { width: 68px; height: 68px; font-size: 1.6rem; }
}
.video-slider-viewport{overflow:hidden;border-radius:12px}
.video-slider-track{display:flex;transition:transform .65s ease;will-change:transform}
.video-slide{flex:0 0 100%;min-width:0}
.video-slider-shell{position:relative;margin:0 12px}
.video-slider-controls{position:absolute;inset:0;pointer-events:none}
.video-slider-controls button{position:absolute;top:50%;transform:translateY(-50%);font:inherit;font-size:26px;line-height:1;width:28px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#e3bd67;cursor:pointer;pointer-events:auto;box-shadow:none}
.video-slider-controls button:first-child{left:-30px}.video-slider-controls button:last-child{right:-30px}
.video-slider-controls button[aria-pressed=true]{border-color:#e3bd67;background:#38291c}
.video-slider-controls button:focus-visible{outline:2px solid #e3bd67;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.video-slider-track{transition:none}}

