/* Home dashboard, compact GREENROOM layout: short wide video, thin ad, two game buttons, live score. */
.dash { padding: 10px 0 4px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; grid-template-areas: "greet greet" "video btns" "ad btns" "live live"; gap: 8px 10px; }
.d-greet { grid-area: greet; display: flex; justify-content: space-between; align-items: center; padding: 0 2px; font: 600 14px var(--f-body); }
.d-greet > span:first-child { font: 800 18px var(--f-head); }
.d-gs { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); font-size: 13px; }
.d-gs i { width: 7px; height: 7px; border-radius: 50%; background: #696c70; animation: pulse 1.6s infinite; }
.d-gs b { color: var(--ink); }
.d-video { grid-area: video; position: relative; min-width: 0; }
.d-ad { grid-area: ad; min-width: 0; }
.d-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.d-track::-webkit-scrollbar { display: none; }
.d-slide { position: relative; flex: 0 0 100%; aspect-ratio: 3 / 1; overflow: hidden; border-radius: 14px; scroll-snap-align: center; background: #0a0f0c; box-shadow: 0 6px 18px rgba(15, 40, 25, .22); }
.d-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 30%, transparent 40%, rgba(0, 0, 0, .75)); }
.d-top { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; align-items: center; }
.d-views { padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); font: 700 11px var(--f-body); color: #fff; }
.d-copy { position: absolute; z-index: 2; left: 12px; right: 70px; bottom: 9px; display: grid; gap: 1px; color: #fff; }
.d-copy em { font: 800 9px var(--f-body); letter-spacing: .14em; font-style: normal; color: #ffd34d; }
.d-copy b { font: 800 clamp(15px, 2vw, 20px)/1.1 var(--f-head); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.d-dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); top: 8px; display: flex; gap: 4px; }
.d-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); cursor: pointer; transition: .2s; }
.d-dots i.on { width: 16px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.banner27.slim { height: 48px; border-radius: 10px; box-shadow: 0 2px 8px rgba(15, 40, 25, .14); }
.banner27.slim .slide { padding: 0 12px; gap: 10px; }
.banner27.slim .brand { font: 800 16px var(--f-head); }
.banner27.slim p { font: 700 12px var(--f-body); }
.banner27.slim .btn { padding: 4px 11px; font-size: 11px; box-shadow: none; }
.banner27.slim .chip { top: 5px; right: 8px; font-size: 8px; padding: 2px 6px; }
.banner27.slim .dots { bottom: 3px; }
.banner27.slim .dots i { width: 5px; height: 5px; }
.d-btns { grid-area: btns; display: grid; gap: 8px; grid-template-rows: 1fr 1fr; }
.d-btn { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 12px 14px; min-height: 84px; border-radius: 14px; overflow: hidden; color: #fff; box-shadow: 0 6px 18px rgba(15, 40, 25, .22); transition: transform .15s; isolation: isolate; }
.d-btn:hover { transform: translateY(-2px); }
.d-btn::before { content: ''; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.d-btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .05) 75%); }
.d-btn.play::before { background-image: url(../img/splash.webp); background-position: center 32%; }
.d-btn.fantasy::before { background: radial-gradient(circle at 85% 20%, rgba(245, 197, 66, .55), transparent 45%), linear-gradient(135deg, #5b5d60, #141515); }
.d-btn .chip { position: absolute; top: 9px; left: 10px; }
.d-btn .big { position: absolute; right: 12px; top: 8px; font-size: 40px; transform: rotate(8deg); filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .25)); }
.d-btn b { font: 800 22px/1 var(--f-head); }
.d-btn small { font: 500 12px var(--f-body); color: #dff3e5; line-height: 1.25; }
.d-btn .go { display: none; }
.d-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.d-watch { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--f-body); color: var(--mute); }
.d-watch i { width: 7px; height: 7px; border-radius: 50%; background: #696c70; animation: pulse 1.6s infinite; }
.d-watch b { color: var(--ink); }
#dLive { grid-area: live; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.d-board, .d-u5 { padding: 12px; }
.d-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.d-team { display: grid; justify-items: center; gap: 3px; font: 700 11px var(--f-body); }
.d-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; font: 800 14px var(--f-head); font-style: normal; }
.d-mid { text-align: center; display: grid; gap: 0; }
.d-mid b { font: 800 30px/1 var(--f-head); }
.d-mid em { font: 700 11px var(--f-body); font-style: normal; color: var(--cash2); }
.flash { animation: flash .9s; }
@keyframes flash { 0% { color: var(--gold2); transform: scale(1.15); } 100% { color: inherit; transform: none; } }
.d-stats { display: grid; gap: 5px; margin: 8px 0; }
.d-stat { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; font: 700 12px var(--f-body); }
.d-stat span:last-of-type { text-align: right; }
.d-stat small { display: none; }
.d-stat .bar { display: flex; gap: 2px; height: 6px; border-radius: 4px; overflow: hidden; position: relative; }
.d-stat .bar i { display: block; border-radius: 3px; transition: width .6s; }
.d-book { width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 0; border-radius: 10px; background: linear-gradient(90deg, #0b2a17, #123b22); color: #fff; text-align: left; }
.d-book .bdg { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(180deg, #4be37e, #1a9b48); color: #04210e; font: 800 12px var(--f-head); }
.d-book .lines { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; font: 600 12px var(--f-body); }
.d-book .lines b { color: #fff; }
.d-book .lines em { font-style: normal; color: #9fd0ae; }
.d-book .cta { flex: none; padding: 5px 10px; border-radius: 999px; background: #8fe06a; color: #123018; font: 800 11px var(--f-body); }
.d-fine { display: block; margin-top: 6px; color: var(--mute); font-size: 10px; text-align: center; }
.d-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.d-grid4 div { padding: 7px 4px; border-radius: 10px; text-align: center; display: grid; gap: 1px; }
.d-grid4 b { font: 800 17px/1 var(--f-head); color: var(--ink); }
.d-grid4 span { font: 700 8px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.d-hot { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); margin-top: 6px; }
.d-hot .hl { flex: none; font: 800 9px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); width: 58px; line-height: 1.2; }
.d-hot div { flex: 1; min-width: 0; }
.d-hot b { display: block; font: 700 13px var(--f-head); }
.d-hot small { color: var(--mute); font-size: 11px; }
@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; grid-template-areas: "greet" "video" "ad" "btns" "live"; }
  .d-btns { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .d-slide { aspect-ratio: 2.4 / 1; }
  #dLive { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .d-btn { min-height: 78px; padding: 10px; }
  .d-btn b { font-size: 19px; }
  .d-btn small { font-size: 11px; }
  .d-btn .big { font-size: 30px; }
  .d-grid4 b { font-size: 15px; }
}

/* keep the thin ad on one line at every width */
.banner27.slim .slide { flex-direction: row; align-items: center; justify-content: flex-start; }
.banner27.slim .brand { white-space: nowrap; font-size: 15px; }
.banner27.slim p { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner27.slim .btn { flex: none; }

/* Game Night tile + three-tile layout */
.d-btns { grid-template-rows: 1fr 1fr 1fr; }
.d-btn.night::before { background: radial-gradient(circle at 85% 20%, rgba(245, 197, 66, .35), transparent 50%), linear-gradient(135deg, #161717, #07050c); }
.d-btn.night { border: 1px solid rgba(245, 197, 66, .25); }
.d-btn { min-height: 66px; padding: 10px 14px; }
.d-btn b { font-size: 20px; }
@media (max-width: 900px) { .d-btns { grid-template-rows: none; } .d-btn.night { grid-column: span 2; min-height: 60px; } }

/* "See more?" pill: appears when you tap a clip, so nothing opens by accident */
.d-slide { cursor: pointer; }
.d-more { position: absolute; z-index: 5; right: 12px; top: 50%; transform: translateY(-50%) scale(.7); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; border-radius: 999px; background: linear-gradient(180deg, #ffd964, #e0a216); color: #1a1200; font: 800 13px var(--f-body); text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 0 3px rgba(255, 255, 255, .25); transition: opacity .18s, transform .28s cubic-bezier(.2, 1.4, .4, 1); }
.d-more i { font-style: normal; font-size: 16px; line-height: 1; }
.d-slide.peek .d-more { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.d-slide.peek::after { background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .8)); }
/* side arrows instead of dots: swipe, or tap one */
.d-dots { display: none !important; }
.d-arr { position: absolute; z-index: 4; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; padding: 0 0 3px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 400 26px/1 var(--f-body); cursor: pointer; opacity: .75; transition: opacity .2s, transform .15s, background .2s; -webkit-tap-highlight-color: transparent; }
.d-arr.l { left: 8px; } .d-arr.r { right: 8px; }
.d-arr:hover { opacity: 1; background: rgba(0, 0, 0, .55); }
.d-arr:active { transform: scale(.88); }

/* video arrows: no circle, just a glowing chevron (white with a dark edge, so it reads on bright or dark video),
   and two fainter ones trailing behind it, lighting up in turn: "this way" */
.d-arr { width: auto !important; height: 46px !important; margin-top: -23px !important; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; display: flex !important; align-items: center; gap: 0; opacity: 1 !important; }
.d-arr.l { left: 2px; flex-direction: row-reverse; } .d-arr.r { right: 2px; }
.d-arr i { display: block; width: 11px; height: 20px; margin: 0 -1px; }
.d-arr svg { display: block; width: 100%; height: 100%; overflow: visible; }
.d-arr.l svg { transform: scaleX(-1); }
.d-arr path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .9)) drop-shadow(0 0 5px rgba(255, 255, 255, .55)); }
.d-arr i:nth-child(1) { animation: arrGlow 2.4s ease-in-out infinite; }
.d-arr i:nth-child(2) { opacity: .5; animation: arrTrail 2.4s ease-in-out .25s infinite; }
.d-arr i:nth-child(3) { opacity: .25; animation: arrTrail2 2.4s ease-in-out .5s infinite; }
@keyframes arrGlow { 0%, 100% { opacity: .9; } 50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7)); } }
@keyframes arrTrail { 0%, 60%, 100% { opacity: .2; } 25% { opacity: .65; } }
@keyframes arrTrail2 { 0%, 60%, 100% { opacity: .08; } 25% { opacity: .4; } }
.d-arr:hover i:nth-child(1) { transform: scale(1.15); }
.d-arr:active { transform: scale(.9); }
@media (prefers-reduced-motion: reduce) { .d-arr i { animation: none !important; } }
