@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--bg:#080d18;--panel:#101b2d;--panel2:#14243b;--line:#20314a;--blue:#1677ff;--cyan:#21d4fd;--text:#f4f7fb;--muted:#8493a8;--red:#ff4757}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% -15%,#132b4d 0,transparent 42%),var(--bg);color:var(--text);font:14px Inter,system-ui,sans-serif}.topbar{height:72px;padding:0 max(4vw,24px);display:flex;align-items:center;gap:42px;border-bottom:1px solid #1a2a40;background:#080d18dd;position:sticky;top:0;z-index:5;backdrop-filter:blur(14px)}a{color:inherit;text-decoration:none}.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:.08em}.brand-light{color:var(--cyan);margin-left:5px}.brand-mark{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--cyan));font-weight:900;color:white;box-shadow:0 0 22px #1677ff55}.brand-mark.small{width:25px;height:25px;font-size:12px}.topbar nav{display:flex;gap:26px;color:var(--muted);height:100%;align-items:center}.topbar nav a.active,.topbar nav a:hover{color:white}.admin-link{margin-left:auto;color:var(--cyan);font-weight:600}.shell{max-width:1500px;margin:auto;padding:38px 28px}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:30px;align-items:center;margin:10px 0 38px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--cyan);font-weight:800;margin-bottom:12px}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#27e5a4;box-shadow:0 0 12px #27e5a4;margin-right:7px}h1{font-size:clamp(30px,4vw,52px);line-height:1.08;letter-spacing:-.045em;margin:0 0 15px;max-width:720px}h1 span{color:var(--cyan)}.hero p,.muted{color:var(--muted);line-height:1.7}.next-card{padding:24px;border:1px solid #25456b;background:linear-gradient(130deg,#122642,#0d1728);border-radius:18px;box-shadow:0 14px 45px #0004}.next-title{font-size:23px;font-weight:800}.next-time{color:var(--cyan);font-size:15px;margin-top:8px}.countdown{color:var(--muted);margin-top:15px}.calendar-panel{border:1px solid var(--line);background:#0d1625;border-radius:18px;padding:22px;box-shadow:0 18px 50px #0003;overflow:hidden}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.calendar-toolbar h2{margin:0;font-size:23px}.toolbar-actions{display:flex;gap:8px;align-items:center}.icon-btn,.subtle-btn,.view-switch button{border:1px solid var(--line);background:#111e31;color:var(--text);border-radius:9px;padding:9px 13px;cursor:pointer}.icon-btn{font-size:20px;line-height:16px}.view-switch{display:flex;background:#091321;padding:3px;border-radius:10px}.view-switch button{border:0;background:transparent;color:var(--muted);padding:8px 11px}.view-switch button.selected{background:#1a3d68;color:white}.calendar-root{overflow:auto}.week-grid{min-width:760px;display:grid;grid-template-columns:58px repeat(7,minmax(90px,1fr));grid-template-rows:58px auto;position:relative}.time-head{grid-column:1;grid-row:1}.day-head{grid-row:1;border-left:1px solid var(--line);display:flex;justify-content:center;align-items:center;gap:7px;color:var(--muted);font-size:12px}.day-head b{color:var(--text);text-transform:uppercase}.day-head.is-today span{color:var(--cyan)}.time-col{grid-column:1;grid-row:2}.hour-label{height:64px;position:relative;top:-7px;color:#708198;font-size:10px;text-align:right;padding-right:10px}.day-col{height:1536px;position:relative;border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 15px,#1b2a3d 16px)}.slot{height:16px;border-bottom:1px solid #17263a55}.hour-slot{border-bottom-color:#31445d}.events-layer{position:absolute;inset:0;pointer-events:none}.event-block{position:absolute;left:3px;right:3px;width:calc(100% - 6px);overflow:hidden;text-align:left;border:0;border-left:3px solid var(--event-color);border-radius:6px;background:color-mix(in srgb,var(--event-color) 20%,#101b2d);color:white;padding:5px 7px;display:flex;flex-direction:column;gap:3px;cursor:pointer;pointer-events:auto;box-shadow:0 3px 12px #0003}.event-block strong{font-size:10px;line-height:1.25}.event-block span,.event-block small{font-size:9px;color:#c1d3e8}.event-block.open-ended{border-style:dashed;border-left-style:solid;background:linear-gradient(135deg,#153455,#102035)}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line);min-width:600px}.month-weekday{text-align:center;padding:12px;color:var(--muted);border-right:1px solid var(--line)}.month-cell{min-height:105px;text-align:left;background:#0c1726;color:white;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;cursor:pointer}.month-cell.outside{opacity:.35}.month-cell b{display:block;margin-bottom:7px}.month-cell span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-left:2px solid var(--event-color);background:#172b43;padding:3px 5px;margin:3px 0;font-size:10px}.footer-note{display:flex;align-items:center;gap:10px;color:#aab7c8;padding:24px 2px}.footer-note .muted{margin-left:auto;font-size:12px}.modal{position:fixed;inset:0;background:#020711c9;display:grid;place-items:center;padding:18px;z-index:20}.modal.hidden{display:none}.modal-card{position:relative;width:min(520px,100%);background:#101b2d;border:1px solid #2b4565;border-radius:17px;padding:28px;box-shadow:0 24px 80px #0009}.modal-card h2{margin:0 0 12px}.modal-close{position:absolute;right:15px;top:12px;background:none;border:0;color:white;font-size:27px;cursor:pointer}.modal-meta{color:var(--cyan);line-height:1.7}.modal-card p{color:var(--muted);line-height:1.6}.primary{display:inline-flex;justify-content:center;align-items:center;background:linear-gradient(110deg,#1265e8,#159ee8);color:white;border:0;border-radius:9px;padding:11px 16px;font-weight:700;cursor:pointer;box-shadow:0 5px 18px #1677ff35}.link-button{margin-top:12px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(420px,100%);padding:32px;background:var(--panel);border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;gap:12px}.auth-card h1{font-size:29px}.auth-card p{color:var(--muted);margin:0 0 12px}.auth-card label,.form-card label{font-size:12px;color:#b9c8da;font-weight:600}.auth-card input,.form-card input,.form-card select,.form-card textarea{width:100%;background:#091321;color:white;border:1px solid #2a3b53;border-radius:8px;padding:11px;font:inherit;margin:5px 0 10px}.auth-card input:focus,.form-card input:focus{outline:1px solid var(--cyan)}.muted-link{color:var(--muted);text-align:center;margin-top:8px}.notice{background:#4b2631;color:#ffd8df;padding:10px;border-radius:8px;margin:10px 0}.admin-user{margin-left:auto;color:var(--muted)}.admin-user a{color:var(--cyan)}.admin-panel{min-height:400px}.form-card{max-height:90vh;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.danger{background:#8d2636;color:white;border:0;border-radius:8px;padding:10px 15px;cursor:pointer}.hidden{display:none!important}@media(max-width:760px){.topbar{height:60px;padding:0 16px;gap:15px}.topbar nav{display:none}.shell{padding:24px 14px}.hero{grid-template-columns:1fr;gap:18px;margin-bottom:22px}.calendar-panel{padding:14px;border-radius:13px}.calendar-toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%;flex-wrap:wrap}.view-switch{margin-left:auto}.week-grid{min-width:0;grid-template-columns:48px minmax(220px,1fr)}.week-grid .day-head:not(:nth-child(2)){display:none}.week-grid .day-col:not(:nth-of-type(2)){display:none}.week-grid .day-head:nth-child(2){grid-column:2}.week-grid .day-col:nth-of-type(2){grid-column:2}.footer-note{flex-wrap:wrap}.footer-note .muted{width:100%;margin-left:35px}.form-grid{grid-template-columns:1fr}}

/* v1.1.0 calendar interactions */
.event-block.interacting{z-index:8;opacity:.92;box-shadow:0 0 0 2px var(--cyan),0 10px 28px #0009;cursor:grabbing}.event-block{touch-action:none}.resize-handle{position:absolute;left:0;right:0;bottom:0;height:7px;cursor:ns-resize;background:linear-gradient(transparent,#ffffff33)}.now-line{position:absolute;left:0;right:0;height:2px;background:#ff4757;z-index:4;pointer-events:none;box-shadow:0 0 8px #ff4757}.now-line:before{content:'';position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#ff4757}.event-block{z-index:2}.event-block:hover{z-index:5;filter:brightness(1.18)}

.loading{padding:24px;color:var(--muted);text-align:center}.calendar-root:empty{min-height:180px}.calendar-root .notice{max-width:720px}

.event-block.recurring{background-image:repeating-linear-gradient(135deg,transparent 0,transparent 7px,#ffffff0b 7px,#ffffff0b 10px)}.recurrence-help{font-size:11px;margin:0 0 10px}

/* v1.3.0 dashboard, occurrence editing and responsive calendar */
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.stat-card{background:linear-gradient(140deg,#142944,#0b1728);border:1px solid #203b5d;border-radius:12px;padding:16px}.stat-card span{display:block;color:var(--muted);font-size:11px;margin-bottom:8px}.stat-card strong{font-size:27px;color:var(--cyan)}.export-link{white-space:nowrap}.recurring{outline:1px dashed #ffffff30;outline-offset:-2px}
@media(max-width:760px){.stats-grid{grid-template-columns:1fr 1fr}.stats-grid .stat-card:last-child{grid-column:1/-1}.calendar-toolbar h2{font-size:19px}.toolbar-actions{gap:6px}.toolbar-actions>*{min-height:40px}.calendar-root{margin-right:-2px}.week-grid{grid-template-columns:44px minmax(235px,1fr);min-width:279px}.day-head{font-size:11px}.event-block strong{font-size:11px}.event-block span,.event-block small{font-size:10px}.month-grid{min-width:0}.month-cell{min-height:76px;padding:5px 3px;font-size:11px}.month-cell span{font-size:9px;padding:2px}.export-link{font-size:11px;padding:8px}.admin-panel{padding:14px}.admin-user{font-size:11px}}
@media(max-width:420px){.stats-grid{gap:7px}.stat-card{padding:11px}.stat-card strong{font-size:22px}.view-switch button{padding:7px 8px}.toolbar-actions{flex-wrap:nowrap;overflow-x:auto}.calendar-toolbar{gap:12px}}

/* BTURBO identity refresh - v1.3.1 */
:root{--bg:#050914;--panel:#0a1425;--panel2:#0d2038;--line:#173554;--blue:#087acb;--cyan:#20c9ff;--text:#f4f8ff;--muted:#91a8c1;--red:#ff526b}
body{background:radial-gradient(ellipse at 50% -18%,#123a63 0,transparent 44%),radial-gradient(ellipse at 100% 35%,#08213b 0,transparent 35%),var(--bg)}
.topbar{background:#050914ed;border-bottom-color:#12314d}.brand{gap:12px}.brand-logo{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 0 12px #20c9ff70)}.brand-wordmark{font-size:13px;letter-spacing:.09em}.brand-light{color:#20c9ff}.brand-mark{background:linear-gradient(135deg,#087acb,#20c9ff);box-shadow:0 0 24px #20c9ff55}
.youtube-link{margin-left:auto;color:#eaf9ff;border:1px solid #1e9ed3;background:linear-gradient(110deg,#07558e,#087fc1);padding:9px 14px;border-radius:9px;font-weight:800;box-shadow:0 0 20px #11bfff22}.admin-link{margin-left:0;color:#64d9ff}
.channel-banner{position:relative;margin:2px 0 28px;border:1px solid #16466a;border-radius:16px;overflow:hidden;background:#06101d;box-shadow:0 15px 50px #0008,0 0 28px #00aaff12}.channel-banner img{display:block;width:100%;height:auto;max-height:245px;object-fit:cover}.banner-cta{position:absolute;right:18px;bottom:16px;padding:10px 15px;border-radius:9px;background:#061626dd;border:1px solid #42cfff;color:#e9faff;font-weight:800;box-shadow:0 0 20px #20c9ff40}.eyebrow{color:#35caff}.pulse{background:#20c9ff;box-shadow:0 0 12px #20c9ff}.hero h1 span{color:#38caff;text-shadow:0 0 28px #1cbfff35}.next-card{border-color:#15527b;background:linear-gradient(135deg,#0d2b48,#081525);box-shadow:0 14px 45px #0005,0 0 25px #078bd51a}.next-time,.modal-meta{color:#55d4ff}.calendar-panel{border-color:#153b5b;background:linear-gradient(145deg,#0b1728,#07111f)}.day-head.is-today span{color:#4bd2ff}.hour-slot{border-bottom-color:#1d4260}.day-col{background:repeating-linear-gradient(to bottom,transparent 0,transparent 15px,#12304a 16px)}.event-block{border-left-color:var(--event-color);box-shadow:0 3px 14px #0005,0 0 12px #08a8e91a}.event-block.open-ended{background:linear-gradient(135deg,#0c3553,#0a1d31)}.view-switch button.selected{background:linear-gradient(110deg,#075a99,#087fbd);box-shadow:0 0 15px #00aeef28}.primary{background:linear-gradient(110deg,#0872bd,#18b8ed);box-shadow:0 5px 20px #009fe833}.icon-btn:hover,.subtle-btn:hover,.view-switch button:hover{border-color:#26bfff;color:#fff}.modal-card{background:#09182a;border-color:#1b5276}.footer-logo{width:28px;height:28px;border-radius:50%;object-fit:cover;box-shadow:0 0 12px #20c9ff55}.footer-youtube{color:#45cfff;font-weight:700}.stat-card{background:linear-gradient(140deg,#0d2944,#081626);border-color:#174b70}.stat-card strong{color:#47d2ff}
@media(max-width:760px){.channel-banner{margin-bottom:20px;border-radius:11px}.channel-banner img{min-height:90px;object-fit:cover}.banner-cta{right:8px;bottom:8px;font-size:10px;padding:7px 9px}.brand-logo{width:38px;height:38px}.brand-wordmark{font-size:11px}.youtube-link{padding:7px 9px;font-size:11px}}

/* v1.3.3 - consistent BT emblem in admin and login */
.admin-panel~.topbar .brand-logo{object-fit:cover}
.auth-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:22px;font-weight:900;letter-spacing:.06em}
.auth-brand img{width:58px;height:58px;object-fit:cover;border-radius:12px;filter:drop-shadow(0 0 14px #20c9ff55)}
.auth-brand b{color:var(--cyan)}
/* BTURBO YouTube Live module */
.live-panel{margin:0 0 34px;padding:22px;border:1px solid #15527b;border-radius:18px;background:radial-gradient(ellipse at 8% 0%,#0c385b88,transparent 48%),linear-gradient(145deg,#0b192a,#07111e);box-shadow:0 16px 48px #0005,0 0 28px #00aeef12;overflow:hidden}.live-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.live-heading .eyebrow{margin-bottom:6px}.live-heading h2{margin:0;font-size:21px}.live-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.1em;white-space:nowrap;border:1px solid #29445c;background:#101d2c;color:#b9c8d8}.live-badge i{width:8px;height:8px;border-radius:50%;background:currentColor}.live-badge.is-live{background:#4b101b;border-color:#a52b43;color:#ff536b;box-shadow:0 0 22px #ff294a2b}.live-badge.is-live i{box-shadow:0 0 12px #ff294a;animation:livePulse 1.3s infinite}.live-badge.is-offline{color:#9aabc0}.live-badge.is-error,.live-badge.is-config{color:#ffc66b;border-color:#6a4d24;background:#2b2114}.live-badge.is-checking{color:#53d4ff}.live-placeholder,.live-offline{display:flex;align-items:center;gap:18px;padding:22px;border:1px solid #1c3a55;border-radius:13px;background:#081422}.live-placeholder p,.live-offline p,.live-message p{color:var(--muted);line-height:1.65;margin:7px 0}.live-spinner{width:25px;height:25px;border:2px solid #28516e;border-top-color:#35caff;border-radius:50%;animation:liveSpin .8s linear infinite;flex:none}.offline-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#102941;color:#4ccfff;font-size:22px;flex:none}.live-offline a,.live-message a{color:#4bd0ff;font-weight:800}.live-message{padding:20px;border:1px solid #28445d;background:#091625;border-radius:13px}.live-message small{color:#7f91a8}.live-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:20px;align-items:start}.live-player-wrap{position:relative;width:100%;aspect-ratio:16/9;background:#020811;border:1px solid #17476b;border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #0008}.live-player{position:absolute;inset:0;width:100%;height:100%;border:0}.live-details{min-width:0}.live-thumbnail{width:100%;max-height:150px;object-fit:cover;border-radius:9px;border:1px solid #1d4665;margin-bottom:12px}.live-meta{display:flex;flex-wrap:wrap;gap:7px 13px;color:#65d8ff;font-size:11px;font-weight:700;margin-bottom:10px}.live-details h3{font-size:19px;line-height:1.35;margin:0 0 10px}.live-description{color:#b1c1d2;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:190px;overflow:auto;padding-right:6px}.live-watch{margin-top:14px}.live-checked{text-align:right;color:#627b93;font-size:10px;margin-top:12px}.live-next-schedule{margin-top:14px;padding:12px 14px;border-radius:10px;background:#0d2033;border:1px solid #1c4564;color:#c8d9e8;font-size:12px}
@keyframes livePulse{50%{opacity:.45;transform:scale(.82)}}@keyframes liveSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){.live-panel{padding:14px;margin-bottom:22px;border-radius:13px}.live-heading h2{font-size:18px}.live-grid{grid-template-columns:1fr;gap:14px}.live-details h3{font-size:17px}.live-description{max-height:150px}.live-thumbnail{max-height:120px;object-position:center 35%}.live-badge{font-size:9px;padding:7px 9px}.live-offline,.live-placeholder{padding:16px;align-items:flex-start}.live-checked{text-align:left}}

/* v1.5.0 - live status controls and clearer stale-state feedback */
.live-actions{display:flex;align-items:center;gap:10px}.live-refresh{font-size:11px;padding:8px 12px;min-height:34px}.live-refresh:disabled{opacity:.55;cursor:wait}.live-badge.is-live{animation:liveGlow 2.2s ease-in-out infinite}.live-checked{line-height:1.6}.live-next-schedule[hidden]{display:none}
@keyframes liveGlow{50%{box-shadow:0 0 28px #13bfff42}}
@media(max-width:520px){.live-heading{align-items:flex-start;flex-direction:column}.live-actions{width:100%;justify-content:space-between}.live-refresh{min-height:38px}.live-badge{margin-left:auto}.live-next-schedule{line-height:1.6}}

/* v1.6.0 — YouTube scheduled live broadcasts */
.event-block.youtube-scheduled{background:linear-gradient(135deg,#102b43,#0b1c2e);border:1px solid #20bfff;box-shadow:0 0 14px #20bfff24}
.event-block.youtube-scheduled strong:before{content:'▶ ';color:#20bfff}
.month-cell span.youtube-scheduled{border-left:2px solid #20bfff;background:#0c2940;color:#aeeaff}


/* v1.7.0 community, videos and analytics */
.content-grid-v17{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0}
.content-card-v17{min-width:0;padding:22px;border:1px solid #173d5c;border-radius:16px;background:linear-gradient(145deg,#0d1d31,#081321);box-shadow:0 14px 38px #0004}
.content-card-v17 h2,.content-card-v17 h3{margin:0 0 16px}
.next-game{margin-top:10px;color:#9bb9d3;font-size:12px}
.poll-card{padding:14px 0;border-top:1px solid #1b3550}.poll-card:first-child{border-top:0;padding-top:0}.poll-card h3{font-size:15px;margin:0 0 12px}
.poll-option{width:100%;display:flex;justify-content:space-between;gap:12px;text-align:left;padding:11px 13px;margin:6px 0;border:1px solid #1d4566;border-radius:9px;background:#0a1b2e;color:#edf8ff;cursor:pointer}.poll-option:hover{border-color:#20c9ff;background:#102b43}.poll-option b{color:#39caff}
.poll-card small{display:block;margin-top:8px}.poll-delete{margin-top:8px}
.videos-root{display:grid;gap:12px}.video-card-v17{display:grid;grid-template-columns:132px 1fr;gap:12px;align-items:center;padding:8px;border:1px solid #183b59;border-radius:11px;background:#091728;color:#f4f8ff;text-decoration:none;min-width:0}.video-card-v17:hover{border-color:#20c9ff}.video-card-v17 img{width:132px;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:#06101c}.video-card-v17 span{min-width:0;display:flex;flex-direction:column;gap:7px}.video-card-v17 strong{font-size:13px;line-height:1.35}.video-card-v17 small{font-size:11px;color:#91a8c1}
.admin-stats-v17{margin:0 0 18px}.game-stat-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #1a3048;font-size:13px}.game-stat-row strong{color:#35caff}.admin-stats-v17>small{display:block;margin-top:12px}.poll-admin-v17{margin:18px 0}.poll-admin-v17 input{width:100%;background:#091321;color:white;border:1px solid #2a3b53;border-radius:8px;padding:11px;font:inherit;margin:5px 0 10px}.poll-admin-v17 label{font-size:12px;color:#b9c8da;font-weight:600}
@media(max-width:760px){.content-grid-v17{grid-template-columns:1fr;gap:12px;margin:18px 0}.content-card-v17{padding:16px}.video-card-v17{grid-template-columns:112px 1fr}.video-card-v17 img{width:112px}.video-card-v17 strong{font-size:12px}}


/* v1.7.2 admin dashboard spacing and section rhythm */
.admin-panel{display:flex;flex-direction:column;gap:22px}
.admin-panel>.calendar-toolbar{margin-bottom:0}
.admin-panel>.stats-grid{margin:0}
.admin-panel>.admin-stats-v17,
.admin-panel>.poll-admin-v17{margin:0}
.admin-panel>.muted{margin:0}
.admin-panel>#addEvent{align-self:flex-start}
.admin-panel>#adminCalendar{margin-top:4px}
.admin-panel .poll-admin-v17 form{display:grid;gap:10px}
.admin-panel .poll-admin-v17 form .form-grid{gap:12px}
.admin-panel .poll-admin-v17 form input{margin:0}
.admin-panel .poll-admin-v17 form button{justify-self:start}
.admin-panel .poll-admin-v17 h3,
.admin-panel .admin-stats-v17 h3{margin-bottom:16px}
.admin-panel .admin-stats-v17 .game-stat-row:last-of-type{margin-bottom:12px}
.admin-panel .poll-card{margin-top:14px;padding:16px;border:1px solid #1b3550;border-radius:10px;background:#091728}


/* v1.7.3 YouTube video modal player */
.video-card-v17{width:100%;text-align:left;font:inherit;cursor:pointer}
.video-card-v17:hover{transform:translateY(-1px);box-shadow:0 8px 24px #0004}
.video-modal-open-v17{overflow:hidden}
.video-modal-v17{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:22px}
.video-modal-v17.hidden{display:none}
.video-modal-backdrop-v17{position:absolute;inset:0;background:#020711e8;backdrop-filter:blur(7px)}
.video-modal-card-v17{position:relative;width:min(960px,100%);background:#071526;border:1px solid #1b6b95;border-radius:16px;padding:16px;box-shadow:0 24px 90px #000c;z-index:1}
.video-modal-frame-v17{width:100%;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden}
.video-modal-frame-v17 iframe{width:100%;height:100%;border:0;display:block}
.video-modal-close-v17{position:absolute;right:8px;top:-48px;width:38px;height:38px;border-radius:50%;border:1px solid #3b7394;background:#0b2035;color:white;font-size:27px;line-height:1;cursor:pointer}
.video-modal-caption-v17{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 3px 2px;color:#f4f8ff}
.video-modal-caption-v17 a{color:#42cfff;font-size:12px;text-decoration:none;white-space:nowrap}
@media(max-width:640px){.video-modal-v17{padding:12px}.video-modal-card-v17{padding:9px;border-radius:12px}.video-modal-close-v17{right:0;top:-46px}.video-modal-caption-v17{align-items:flex-start;flex-direction:column;gap:7px}.video-card-v17{transform:none!important}}


/* v1.8.0 poll result bars */
.poll-option{display:grid;grid-template-columns:minmax(110px,1fr) minmax(90px,2fr) auto;align-items:center;gap:12px}
.poll-option-label{overflow-wrap:anywhere}
.poll-result-track{height:8px;border-radius:99px;background:#152a42;overflow:hidden}
.poll-result-track i{display:block;height:100%;min-width:0;border-radius:99px;background:linear-gradient(90deg,#1677ff,#21d4fd);box-shadow:0 0 12px #21d4fd55;transition:width .35s ease}
.poll-option b{white-space:nowrap;font-size:12px}
.activity-log-v18{margin:0}
.activity-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.activity-heading h3{margin:0}
.activity-count{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:6px 9px;border-radius:99px}
.activity-table-wrap{width:100%;overflow-x:auto}
.activity-table-v18{width:100%;border-collapse:collapse;font-size:12px;text-align:left}
.activity-table-v18 th{color:#8da4bf;font-weight:600;background:#0a1728}
.activity-table-v18 th,.activity-table-v18 td{padding:11px 10px;border-bottom:1px solid #1a3048;vertical-align:top}
.activity-table-v18 td strong{color:#3acaff}
.activity-table-v18 td{color:#d4e0ee}
.admin-panel{display:flex;flex-direction:column;gap:22px}
.admin-panel>.calendar-toolbar,.admin-panel>.stats-grid,.admin-panel>.admin-stats-v17,.admin-panel>.poll-admin-v17,.admin-panel>.activity-log-v18{margin:0}
.admin-panel>#addEvent{align-self:flex-start}
.admin-panel .poll-admin-v17 form{display:grid;gap:10px}
.admin-panel .poll-admin-v17 form .form-grid{gap:12px}
.admin-panel .poll-admin-v17 form input{margin:0}
.admin-panel .poll-admin-v17 form button{justify-self:start}
@media(max-width:760px){
 .shell{padding:18px 12px}
 .topbar{height:auto;min-height:62px;padding:12px 14px;gap:12px;flex-wrap:wrap}
 .topbar nav{order:3;width:100%;height:auto;gap:16px;overflow-x:auto;padding:4px 0}
 .admin-user{font-size:11px;margin-left:auto}
 .admin-panel{padding:14px;gap:16px}
 .admin-panel>.calendar-toolbar{align-items:flex-start;flex-direction:column}
 .admin-panel>.calendar-toolbar h2{font-size:20px}
 .admin-panel .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .admin-panel .stat-card{padding:12px;min-width:0}
 .admin-panel .stat-card strong{font-size:22px}
 .admin-panel .content-card-v17{padding:14px}
 .admin-panel .form-grid{grid-template-columns:1fr;gap:4px}
 .admin-panel .form-card{width:calc(100% - 20px);max-height:94vh;overflow-y:auto;padding:20px}
 .admin-panel .calendar-toolbar .toolbar-actions{width:100%;flex-wrap:wrap}
 .activity-table-v18,.activity-table-v18 tbody,.activity-table-v18 tr,.activity-table-v18 td{display:block;width:100%}
 .activity-table-v18 thead{display:none}
 .activity-table-v18 tr{padding:10px 0;border-bottom:1px solid #263b55}
 .activity-table-v18 td{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;padding:6px 2px;border:0;overflow-wrap:anywhere}
 .activity-table-v18 td:before{content:attr(data-label);color:#8198b2;font-size:10px;font-weight:700;text-transform:uppercase}
 .poll-option{grid-template-columns:minmax(0,1fr) auto;gap:7px}
 .poll-result-track{grid-column:1/-1;grid-row:2}
 .poll-option b{grid-column:2;grid-row:1}
}

@media(max-width:760px){
 .form-card{width:calc(100% - 20px);max-height:94vh;overflow-y:auto;padding:20px}
 .form-card .form-grid{grid-template-columns:1fr;gap:4px}
 .form-card .form-actions{display:flex;flex-wrap:wrap;gap:8px}
 .form-card .form-actions button{flex:1 1 130px}
}


/* v1.9.0 BTURBO creator profile */
.profile-shell{max-width:1240px;padding-top:28px}
.profile-cover{height:clamp(180px,28vw,330px);position:relative;overflow:hidden;border:1px solid #1c3a59;border-radius:20px;background:#0b1728}
.profile-cover-image{width:100%;height:100%;object-fit:cover;display:block;opacity:.82}
.profile-cover-shade{position:absolute;inset:0;background:linear-gradient(90deg,#06101bd9,#06101b30 70%),linear-gradient(0deg,#07111de8,transparent 60%)}
.profile-cover-label{position:absolute;left:26px;bottom:22px;display:flex;align-items:center;gap:9px;color:#d9f7ff;font-size:11px;font-weight:800;letter-spacing:.18em}
.profile-live-dot{width:8px;height:8px;border-radius:50%;background:#21d4fd;box-shadow:0 0 14px #21d4fd}
.profile-identity{display:flex;align-items:center;gap:22px;padding:0 34px;margin-top:-55px;position:relative;z-index:1}
.profile-avatar{width:128px;height:128px;object-fit:cover;border-radius:24px;border:4px solid #0a1422;box-shadow:0 12px 32px #0008;background:#0a1422}
.profile-identity-copy{padding-top:48px;min-width:0;flex:1}
.profile-identity-copy .eyebrow{margin-bottom:7px}
.profile-identity-copy h1{font-size:clamp(28px,4vw,42px);margin:0 0 5px}
.profile-identity-copy p{color:#a8bad0;margin:0}
.profile-primary-cta{margin-top:45px;padding:12px 17px;border-radius:10px;background:linear-gradient(110deg,#1677ff,#21bfff);color:white;font-weight:800;box-shadow:0 8px 24px #1677ff33;white-space:nowrap}
.profile-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.8fr);gap:20px;margin-top:30px}
.profile-main-column,.profile-side-column{display:grid;align-content:start;gap:18px;min-width:0}
.profile-card{padding:24px;border:1px solid #1c3551;border-radius:16px;background:linear-gradient(145deg,#101e31,#0b1524);box-shadow:0 12px 34px #0003;min-width:0}
.profile-card h2{font-size:20px;margin:0 0 15px}
.profile-about{color:#c0cede;line-height:1.85;margin:0;white-space:normal;overflow-wrap:anywhere}
.profile-location{display:flex;gap:9px;align-items:center;color:#8fa6c0;font-size:12px;margin-top:18px}
.profile-upcoming-list{display:grid}
.profile-upcoming-item{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #1a2e46}
.profile-upcoming-item:last-child{border-bottom:0}
.profile-event-date{width:48px;height:52px;flex:0 0 48px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #245277;border-radius:10px;background:#0c2035}
.profile-event-date strong{font-size:20px;color:#4bd2ff;line-height:1}
.profile-event-date span{font-size:9px;color:#a6bad0;font-weight:800;margin-top:4px}
.profile-event-copy{min-width:0;flex:1;display:grid;gap:5px}
.profile-event-copy strong{font-size:13px;overflow-wrap:anywhere}
.profile-event-copy small{font-size:11px;color:#91a8c1;line-height:1.5}
.profile-upcoming-item>a{color:#38caff;font-size:18px}
.profile-text-link{display:inline-block;color:#3bcaff;font-weight:700;font-size:12px;margin-top:16px}
.profile-stats{display:grid;gap:14px}
.profile-stat{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #1a2e46}
.profile-stat:last-child{padding-bottom:0;border:0}
.profile-stat strong{font-size:25px;color:#4bd2ff}
.profile-stat span{font-size:12px;color:#a9bad0;text-align:right}
.profile-socials{display:grid;gap:8px}
.profile-socials a{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid #1d3b58;border-radius:10px;background:#0a192b;color:#eaf6ff;font-weight:700;font-size:12px}
.profile-socials a:hover{border-color:#21bfff;background:#102840}
.profile-socials a span{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:#12385b;color:#4bd2ff;font-weight:900}
.profile-socials a b{margin-left:auto;color:#45cfff}
.profile-note{padding:20px;border:1px solid #1c5276;border-radius:15px;background:linear-gradient(135deg,#102b45,#0b192b)}
.profile-note p{color:#c6d7e9;line-height:1.7;margin:0 0 14px}
.profile-note a{color:#45cfff;font-weight:800;font-size:12px}
.profile-footer{display:flex;justify-content:space-between;gap:12px;padding:28px 4px;color:#7388a2;font-size:11px}
.admin-header-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.profile-admin-shell{max-width:1050px}
.profile-admin-panel{display:grid;gap:24px}
.profile-admin-panel .calendar-toolbar{margin:0}
.profile-edit-form{display:grid;gap:24px}
.profile-edit-section{display:grid;gap:13px;padding:20px;border:1px solid #1b3550;border-radius:14px;background:#0a1727}
.profile-edit-section .eyebrow{margin:0}
.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-edit-form label{display:block;color:#bdcde0;font-size:12px;font-weight:700;margin:0 0 7px}
.profile-edit-form input,.profile-edit-form textarea{width:100%;min-width:0;padding:12px 13px;border:1px solid #2a405d;border-radius:9px;background:#081321;color:#f4f7fb;font:inherit;outline:none}
.profile-edit-form input:focus,.profile-edit-form textarea:focus{border-color:#21bfff;box-shadow:0 0 0 3px #21bfff1a}
.profile-edit-form textarea{resize:vertical;line-height:1.6}
.profile-edit-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.profile-message{padding:12px 14px;border-radius:10px;font-size:13px}
.profile-message.success{border:1px solid #1d7959;background:#0b2a25;color:#91f0c5}
.profile-message.error{border:1px solid #8c3a49;background:#30151e;color:#ffb7c0}
@media(max-width:760px){
 .profile-shell{padding:18px 12px}
 .profile-cover{height:190px;border-radius:14px}
 .profile-cover-label{left:15px;bottom:15px}
 .profile-identity{padding:0 12px;gap:12px;flex-wrap:wrap;margin-top:-43px}
 .profile-avatar{width:90px;height:90px;border-radius:18px;border-width:3px}
 .profile-identity-copy{padding-top:44px;flex-basis:calc(100% - 110px)}
 .profile-identity-copy .eyebrow{font-size:8px}
 .profile-identity-copy h1{font-size:27px}
 .profile-identity-copy p{font-size:11px;line-height:1.5}
 .profile-primary-cta{margin:8px 0 0 102px;padding:10px 13px;font-size:11px}
 .profile-layout{grid-template-columns:1fr;gap:14px;margin-top:22px}
 .profile-card{padding:17px}
 .profile-footer{flex-direction:column;padding:22px 4px}
 .profile-form-grid{grid-template-columns:1fr;gap:12px}
 .profile-admin-shell{padding:18px 12px}
 .profile-admin-panel{padding:15px;gap:17px}
 .profile-admin-panel .calendar-toolbar{align-items:flex-start;flex-direction:column}
 .profile-edit-section{padding:15px}
 .admin-header-actions{width:100%}
}


/* v1.9.1 profile cover label visibility + unified public navigation */
.profile-cover-label{
 left:auto;right:24px;bottom:auto;top:22px;z-index:2;
 padding:11px 15px;border:1px solid #43cfff77;border-radius:999px;
 background:#061322d9;color:#e8faff;box-shadow:0 6px 24px #0007;
 text-shadow:0 1px 3px #000;backdrop-filter:blur(8px);
}
.profile-cover-shade{z-index:1}
.profile-cover-image{position:relative;z-index:0}
.profile-page .topbar nav{gap:clamp(12px,2vw,26px)}
.profile-page .topbar nav a{white-space:nowrap;font-size:13px}
@media(max-width:760px){
 .profile-cover-label{right:12px;top:12px;left:auto;bottom:auto;padding:8px 11px;font-size:9px}
 .profile-page .topbar{gap:14px}
 .profile-page .topbar nav{order:3;width:100%;height:auto;overflow-x:auto;padding:6px 0 3px;gap:18px}
 .profile-page .topbar nav a{font-size:12px}
}


/* v1.9.3 header typography and brand mark */
.topbar nav a{font-size:13px}
.brand-logo{border-radius:10px}
@media(max-width:760px){
 .profile-page .topbar nav a{font-size:13px}
}


/* v1.9.4 smooth scrolling */
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
}

/* v1.9.4 desktop-only motion design */
@media(min-width:761px) and (prefers-reduced-motion:no-preference){
 @keyframes btFadeUp{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
 }
 @keyframes btFadeIn{
  from{opacity:0}
  to{opacity:1}
 }
 .hero{animation:btFadeUp .65s cubic-bezier(.2,.7,.2,1) both}
 .next-card{animation:btFadeUp .75s .08s cubic-bezier(.2,.7,.2,1) both}
 .calendar-panel,.content-card-v17,.profile-card,.profile-note,.profile-cover{
  animation:btFadeUp .65s cubic-bezier(.2,.7,.2,1) both
 }
 .profile-identity{animation:btFadeUp .7s .08s cubic-bezier(.2,.7,.2,1) both}
 .profile-avatar{transition:transform .28s ease,box-shadow .28s ease}
 .profile-avatar:hover{transform:translateY(-4px) scale(1.025);box-shadow:0 16px 38px #000a,0 0 24px #21bfff33}
 .topbar nav a,.primary,.subtle-btn,.youtube-link,.admin-link,.profile-primary-cta,.profile-socials a,.video-card-v17,.poll-option,.icon-btn,.view-switch button{
  transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .25s ease,transform .25s ease,filter .25s ease
 }
 .topbar nav a:hover{transform:translateY(-2px)}
 .primary:hover,.profile-primary-cta:hover,.youtube-link:hover{transform:translateY(-2px);filter:brightness(1.1);box-shadow:0 9px 26px #1677ff55}
 .subtle-btn:hover,.icon-btn:hover{border-color:#21bfff;box-shadow:0 0 16px #21bfff22}
 .profile-socials a:hover,.video-card-v17:hover,.poll-option:hover{transform:translateY(-2px)}
 .event-block{transition:filter .2s ease,box-shadow .2s ease,transform .2s ease}
 .event-block:hover{filter:brightness(1.15);transform:translateY(-1px);box-shadow:0 7px 20px #0006}
 .profile-cover-image{transition:transform .8s ease,filter .8s ease}
 .profile-cover:hover .profile-cover-image{transform:scale(1.025);filter:saturate(1.08)}
 .profile-stat strong{transition:text-shadow .25s ease}
 .profile-stat:hover strong{text-shadow:0 0 18px #21bfff77}
}

/* No entrance or hover motion on touch/mobile layouts. */
@media(max-width:760px){
 html{scroll-behavior:smooth}
 .hero,.next-card,.calendar-panel,.content-card-v17,.profile-card,.profile-note,.profile-cover,.profile-identity{
  animation:none!important
 }
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
