:root{--background-dark: #0D0D0D;--card-dark: #1A1A1A;--border-dark: #262626;--text-primary: #F5F5F5;--text-secondary: #A3A3A3;--accent-yellow: #FBBF24;--accent-yellow-darker: #F59E0B}html,body{margin:0;padding:0}.sb-menu-dropdown{animation:fadeIn .25s ease-out both}@keyframes sbMenuItemIn{0%{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.sb-menu-dropdown>*{opacity:0;animation:sbMenuItemIn .22s cubic-bezier(.23,1,.32,1) forwards}.sb-menu-dropdown>*:nth-child(1){animation-delay:.00s}.sb-menu-dropdown>*:nth-child(2){animation-delay:.03s}.sb-menu-dropdown>*:nth-child(3){animation-delay:.06s}.sb-menu-dropdown>*:nth-child(4){animation-delay:.09s}.sb-menu-dropdown>*:nth-child(5){animation-delay:.12s}.sb-menu-dropdown>*:nth-child(6){animation-delay:.15s}.sb-menu-dropdown>*:nth-child(7){animation-delay:.18s}.sb-menu-dropdown>*:nth-child(8){animation-delay:.21s}body{font-family:Tajawal,Inter,sans-serif;background-color:var(--background-dark);color:var(--text-primary)}.custom-scrollbar-hide::-webkit-scrollbar{display:none}.custom-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}@keyframes fadeIn{0%{opacity:0;transform:translateY(1rem)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fadeIn .7s ease-out forwards}@keyframes pulse-glow-green{0%,to{box-shadow:0 0 4px #10b9814d}50%{box-shadow:0 0 10px 2px #10b98199}}.animate-pulse-glow-green{animation:pulse-glow-green 2s infinite ease-in-out}@keyframes pulse-glow-gold{0%,to{box-shadow:0 0 4px #f59e0b4d}50%{box-shadow:0 0 10px 2px #f59e0b99}}.animate-pulse-glow-gold{animation:pulse-glow-gold 2s infinite ease-in-out}@keyframes progress-stripes{0%{background-position:40px 0}to{background-position:0 0}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px;animation:progress-stripes 2s linear infinite}.scroll-container{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.scroll-container::-webkit-scrollbar{display:none}.scroll-snap-center{scroll-snap-align:center;flex:0 0 auto}@keyframes pop-in{0%{transform:scale(0);opacity:0}50%{transform:scale(1.4) rotate(-10deg);opacity:1}to{transform:scale(1) rotate(0)}}.animate-pop-in{animation:pop-in .4s ease-out}@keyframes shake-bell{0%,to{transform:rotate(0)}10%,30%,50%,70%,90%{transform:rotate(-10deg)}20%,40%,60%,80%{transform:rotate(10deg)}}.animate-shake-bell{animation:shake-bell .5s ease-in-out}.custom-scrollbar::-webkit-scrollbar{width:8px}.custom-scrollbar::-webkit-scrollbar-track{background:#171717}.custom-scrollbar::-webkit-scrollbar-thumb{background:#525252;border-radius:4px}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#737373}.horizontal-scroll-hidden::-webkit-scrollbar{display:none}.horizontal-scroll-hidden{-ms-overflow-style:none;scrollbar-width:none}.table-striped tbody tr:nth-child(2n){background-color:#f5f5f508}.top-1-highlight:after,.top-2-highlight:after,.top-3-highlight:after,.top-10-highlight:after{content:"";position:absolute;top:0;width:4px;height:100%}html[dir=rtl] .top-1-highlight:after,html[dir=rtl] .top-2-highlight:after,html[dir=rtl] .top-3-highlight:after,html[dir=rtl] .top-10-highlight:after{right:0}html[dir=ltr] .top-1-highlight:after,html[dir=ltr] .top-2-highlight:after,html[dir=ltr] .top-3-highlight:after,html[dir=ltr] .top-10-highlight:after{left:0}.top-10-highlight:after{background-color:#f59e0b}.top-1-highlight:after{background:linear-gradient(180deg,#fef08a,#facc15,#eab308);box-shadow:0 0 6px #facc15}.top-2-highlight:after{background:linear-gradient(180deg,#e5e7eb,#d1d5db,#9ca3af);box-shadow:0 0 6px #d1d5db}.top-3-highlight:after{background:linear-gradient(180deg,#fcd34d,#fb923c,#c2410c);box-shadow:0 0 6px #fb923c}@keyframes pop-in-subtle{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.animate-pop-in-subtle{animation:pop-in-subtle .3s ease-out forwards}@keyframes wave{0%,to{transform:translateY(0);color:#18181b}25%{transform:translateY(-12px);color:#f59e0b;text-shadow:0 0 10px rgba(245,158,11,.5)}50%{transform:translateY(0)}75%{transform:translateY(4px)}}.animate-wave{display:inline-block;animation:wave 2.5s ease-in-out infinite}.custom-slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:8px;background:transparent;outline:none;border-radius:4px;cursor:pointer}.custom-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;background:var(--accent-yellow);border-radius:50%;margin-top:-6px}.custom-slider::-moz-range-thumb{width:20px;height:20px;background:var(--accent-yellow);border-radius:50%;border:none}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:5rem;background-color:#1a1a1acc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--border-dark);display:flex;justify-content:space-around;align-items:center;z-index:50}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-secondary);transition:color .2s;flex-grow:1}.nav-item.active{color:var(--accent-yellow)}.nav-item:not(.central-nav-item):hover{color:var(--text-primary)}.nav-item span{font-size:.75rem;margin-top:4px}.central-nav-item{transform:translateY(-20px)}.central-nav-button{width:58px;height:58px;border-radius:9999px;background:#27272a;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px #f59e0b4d,0 0 5px #f59e0b33;border:2px solid #1f1f1f;transition:all .3s ease-in-out}.central-nav-button:hover{transform:scale(1.1) rotate(10deg);box-shadow:0 6px 20px #f59e0b66}.central-nav-item.active .central-nav-button{box-shadow:0 0 35px 10px #f59e0b99;transform:scale(1.05)}.nav-item>svg{transition:transform .2s ease-in-out}.nav-item:not(.central-nav-item):hover>svg{transform:scale(1.2)}@media screen and (max-width:767px){.responsive-admin-table thead{display:none}.responsive-admin-table,.responsive-admin-table tbody,.responsive-admin-table tr,.responsive-admin-table td{display:block;width:100%}.responsive-admin-table tr{margin-bottom:1rem;border-radius:.5rem;border:1px solid var(--border-dark);overflow:hidden}.responsive-admin-table tr:last-child{margin-bottom:0}.responsive-admin-table td{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;text-align:right;border-bottom:1px solid var(--border-dark)}html[dir=ltr] .responsive-admin-table td{text-align:left}.responsive-admin-table tr td:last-child{border-bottom:0}.responsive-admin-table td:before{content:attr(data-label);font-weight:700;color:var(--text-secondary);margin-right:1rem}html[dir=ltr] .responsive-admin-table td:before{margin-left:1rem;margin-right:0}}@keyframes pulse-glow{0%,to{transform:scale(1);box-shadow:0 0 8px #fbbf2499}50%{transform:scale(1.03);box-shadow:0 0 16px 4px #fbbf2499}}.pulse-glow-button{animation:pulse-glow 2.5s infinite ease-in-out}@keyframes pulse-glow-green-scale{0%{transform:scale(1);box-shadow:0 0 #16a34ab3}70%{transform:scale(1.05);box-shadow:0 0 0 10px #16a34a00}to{transform:scale(1);box-shadow:0 0 #16a34a00}}.pulse-button-green{animation:pulse-glow-green-scale 2s infinite ease-in-out}@keyframes pulse-glow-blue-scale{0%{transform:scale(1);box-shadow:0 0 #229ed9b3}70%{transform:scale(1.05);box-shadow:0 0 0 10px #229ed900}to{transform:scale(1);box-shadow:0 0 #229ed900}}.pulse-button-blue{animation:pulse-glow-blue-scale 2s infinite ease-in-out}@keyframes shake-occasional{0%,90%{transform:rotate(0)}92%{transform:rotate(-5deg)}94%{transform:rotate(5deg)}96%{transform:rotate(-5deg)}98%{transform:rotate(5deg)}to{transform:rotate(0)}}.animate-shake-occasional{animation:shake-occasional 5s ease-in-out infinite}@keyframes bounce-slow{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.animate-bounce-slow{animation:bounce-slow 3s infinite ease-in-out}

/* ==========================================================================
   WINO REDESIGN SYSTEM — ULTRA-PREMIUM MOBILE UI & PREVIEW
   ========================================================================== */

:root {
  --w-bg: #090a0f;
  --w-bg-alt: #0e1017;
  --w-card: #14161f;
  --w-card-subtle: #181b26;
  --w-card-hover: #1f2230;
  --w-border: #232736;
  --w-border-light: rgba(255, 255, 255, 0.08);
  --w-gold: #f59e0b;
  --w-gold-light: #fbbf24;
  --w-gold-glow: rgba(245, 158, 11, 0.35);
  --w-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --w-gold-subtle: rgba(245, 158, 11, 0.12);
  --w-text: #f8fafc;
  --w-text-secondary: #94a3b8;
  --w-text-muted: #64748b;
  --w-live: #10b981;
  --w-live-glow: rgba(16, 185, 129, 0.35);
  --w-font-main: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --w-s1: 4px;
  --w-s2: 8px;
  --w-s3: 12px;
  --w-s4: 16px;
  --w-s5: 20px;
  --w-s6: 24px;
  --w-r-sm: 8px;
  --w-r-md: 14px;
  --w-r-lg: 20px;
  --w-r-xl: 28px;
  --w-r-pill: 9999px;
}

/* --- Preview Environment Root & Topbar --- */
.wino-rd {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
              #07080c;
  color: var(--w-text);
  font-family: var(--w-font-main);
  box-sizing: border-box;
}

.wrd-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--w-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.wrd-preview-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wrd-preview-logo {
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

.wrd-preview-title {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: var(--w-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wrd-preview-sub {
  font-size: 0.75rem;
  color: var(--w-text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wrd-preview-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wrd-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--w-r-md);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--w-card);
  color: var(--w-text-secondary);
  border: 1px solid var(--w-border);
  transition: all 0.2s ease;
}

.wrd-preview-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--w-card-hover);
  transform: translateY(-1px);
}

.wrd-preview-btn--gold {
  background: var(--w-gold-gradient);
  color: #000;
  border: none;
  box-shadow: 0 2px 10px var(--w-gold-glow);
}

.wrd-preview-btn--gold:hover {
  color: #000;
  filter: brightness(1.1);
  box-shadow: 0 4px 16px var(--w-gold-glow);
}

/* --- Preview Device Canvas --- */
.wrd-preview {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3.5rem;
  padding: 3rem 1.5rem 6rem;
  box-sizing: border-box;
}

.wrd-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Phone Device Frame --- */
.wrd-phone {
  position: relative;
  width: 380px;
  max-width: 100vw;
  height: 800px;
  background: var(--w-bg);
  border-radius: 48px;
  border: 10px solid #1c1e26;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08),
              0 30px 90px -15px rgba(0, 0, 0, 0.9),
              0 0 50px rgba(245, 158, 11, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Dynamic Island */
.wrd-phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 100;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.wrd-phone:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35),
              0 40px 100px -10px rgba(0, 0, 0, 0.95),
              0 0 60px rgba(245, 158, 11, 0.25);
}

.wrd-phone-scroll {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: var(--w-bg);
}

.wrd-phone-scroll::-webkit-scrollbar {
  display: none;
}

.wrd-phone-label {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--w-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.wrd-phone-label::before,
.wrd-phone-label::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(245, 158, 11, 0.3);
}

/* --- Mobile Screen Interior --- */
.wrd-screen {
  min-height: 100%;
  padding: 44px 18px 24px;
  box-sizing: border-box;
  color: var(--w-text);
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 45%),
              linear-gradient(180deg, #090a0f 0%, #0c0e14 100%);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* --- App Header (Avatar + Greeting + Notifications) --- */
.wrd-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--w-s4);
}

.wrd-hdr-id {
  display: flex;
  align-items: center;
  gap: var(--w-s3);
}

.wrd-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--w-gold-gradient);
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--w-gold-glow);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.wrd-greet {
  font-size: 0.75rem;
  color: var(--w-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.wrd-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--w-text);
  letter-spacing: -0.01em;
}

.wrd-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--w-card);
  border: 1px solid var(--w-border);
  color: var(--w-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wrd-icon-btn:hover {
  color: var(--w-gold-light);
  border-color: var(--w-gold);
  background: var(--w-card-hover);
  transform: scale(1.05);
}

/* --- Balance Card --- */
.wrd-balance-wrap {
  position: relative;
  background: linear-gradient(135deg, #181a24 0%, #10121a 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--w-r-xl);
  padding: 1.25rem 1.4rem;
  margin-bottom: var(--w-s4);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.wrd-balance-wrap::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, var(--w-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.wrd-wallet {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--w-gold);
  opacity: 0.9;
  background: var(--w-gold-subtle);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrd-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--w-s4);
}

.wrd-balance-div {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, var(--w-border), transparent);
}

.wrd-metric {
  flex: 1;
}

.wrd-metric-l {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--w-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.wrd-metric-v {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--w-text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.wrd-balance-wrap .wrd-metric:first-child .wrd-metric-v {
  background: var(--w-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Primary Actions Row --- */
.wrd-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--w-s3);
  margin-bottom: var(--w-s5);
}

.wrd-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--w-s2);
  padding: 0.85rem 0.9rem;
  border-radius: var(--w-r-lg);
  border: 1px solid var(--w-border);
  background: var(--w-card);
  color: var(--w-text);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.wrd-action:hover {
  border-color: var(--w-gold);
  background: var(--w-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--w-gold-glow);
}

.wrd-action-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wrd-action-ic--gold {
  background: var(--w-gold-gradient);
  color: #000;
  box-shadow: 0 2px 8px var(--w-gold-glow);
}

.wrd-action-ic--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--w-gold-light);
}

.wrd-action-t {
  white-space: nowrap;
}

/* --- Section Headers --- */
.wrd-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--w-s3);
}

.wrd-sec-t {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--w-text);
  letter-spacing: -0.01em;
  margin: 0;
}

.wrd-sec-a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--w-gold-light);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--w-r-sm);
  transition: all 0.2s ease;
}

.wrd-sec-a:hover {
  color: #fff;
  background: var(--w-gold-subtle);
}

/* --- Category Filter Chips --- */
.wrd-cats {
  display: flex;
  gap: var(--w-s2);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: var(--w-s4);
  padding-bottom: 2px;
}

.wrd-cats::-webkit-scrollbar {
  display: none;
}

.wrd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.95rem;
  border-radius: var(--w-r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--w-gold-gradient);
  color: #000;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--w-gold-glow);
  transition: all 0.2s ease;
}

.wrd-chip--ghost {
  background: var(--w-card);
  color: var(--w-text-secondary);
  border: 1px solid var(--w-border);
  box-shadow: none;
  padding: 0.5rem 0.7rem;
}

.wrd-chip--ghost:hover {
  background: var(--w-card-hover);
  color: var(--w-text);
  border-color: rgba(255, 255, 255, 0.15);
}

.wrd-chip-ic {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Match / League Sheet Cards --- */
.wrd-sheet {
  display: flex;
  flex-direction: column;
  gap: var(--w-s3);
  margin-bottom: var(--w-s5);
}

.wrd-league {
  background: linear-gradient(180deg, var(--w-card) 0%, #0f1118 100%);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-xl);
  padding: var(--w-s4);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.wrd-league:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.1);
}

.wrd-league-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--w-s3);
  padding-bottom: var(--w-s2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wrd-league-t {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--w-text-secondary);
  margin: 0;
  letter-spacing: 0.02em;
}

/* --- Status Badges --- */
.wrd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--w-r-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wrd-badge--live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 10px var(--w-live-glow);
}

.wrd-badge--live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: wrdPulse 1.5s infinite;
}

.wrd-badge--soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--w-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes wrdPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* --- Match Body (Home Team | Score Box | Away Team) --- */
.wrd-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--w-s2) 0 var(--w-s3);
  cursor: pointer;
  border-radius: var(--w-r-md);
  transition: background 0.2s ease;
}

.wrd-match:hover {
  background: rgba(255, 255, 255, 0.02);
}

.wrd-team {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.wrd-crest {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--w-text-secondary);
}

.wrd-team-n {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--w-text);
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wrd-scorebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--w-s3);
  min-width: 90px;
}

.wrd-md {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--w-text-muted);
  margin-bottom: 2px;
}

.wrd-score {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--w-text);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.wrd-ft {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--w-gold);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* --- Odds Strip --- */
.wrd-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--w-s2);
  margin-top: var(--w-s2);
}

.wrd-odd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.4rem;
  background: var(--w-card-subtle);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wrd-odd:hover {
  border-color: var(--w-gold);
  background: var(--w-gold-subtle);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--w-gold-glow);
}

.wrd-odd--picked {
  background: var(--w-gold-gradient);
  border-color: var(--w-gold-light);
  box-shadow: 0 4px 16px var(--w-gold-glow);
  transform: scale(1.03);
}

.wrd-odd--picked .wrd-odd-k {
  color: rgba(0, 0, 0, 0.75);
}

.wrd-odd--picked .wrd-odd-v {
  color: #000;
}

.wrd-odd-k {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--w-text-muted);
  text-transform: uppercase;
}

.wrd-odd-v {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--w-gold-light);
  font-variant-numeric: tabular-nums;
}

/* --- Mobile Bottom Navigation (Sticky at bottom of screen) --- */
.wrd-nav {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  margin-left: -18px;
  margin-right: -18px;
  margin-bottom: -24px;
  height: 64px;
  background: rgba(14, 16, 23, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--w-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 var(--w-s2);
  z-index: 50;
}

.wrd-nav-i {
  background: none;
  border: none;
  color: var(--w-text-muted);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  border-radius: var(--w-r-md);
}

.wrd-nav-i:hover {
  color: var(--w-text);
  background: rgba(255, 255, 255, 0.05);
}

.wrd-nav-i--on {
  color: var(--w-gold);
}

.wrd-nav-i--on::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--w-gold);
  box-shadow: 0 0 6px var(--w-gold);
}

.wrd-nav-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* ==========================================================================
   SCREEN 2 — MATCH INTELLIGENCE SCREEN
   ========================================================================== */

.wrd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--w-s3);
}

.wrd-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--w-text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.wrd-back:hover {
  color: var(--w-gold-light);
}

.wrd-livepill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: var(--w-r-pill);
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  box-shadow: 0 0 12px var(--w-live-glow);
}

.wrd-livedot {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wrdPulse 1.5s infinite;
}

/* --- Match Hero --- */
.wrd-hero {
  background: linear-gradient(180deg, #181b26 0%, #12141d 100%);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-xl);
  overflow: hidden;
  margin-bottom: var(--w-s3);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.7);
}

.wrd-hero-top {
  padding: var(--w-s4) var(--w-s4) 0;
}

.wrd-hero-md {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--w-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--w-s2);
}

/* --- Event Timeline Curve --- */
.wrd-curve {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
}

.wrd-curve-svg {
  display: block;
  width: 100%;
  height: 34px;
}

.wrd-curve-body {
  background: var(--w-gold);
  padding: 6px 12px 10px;
}

.wrd-events {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
}

.wrd-ev {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.wrd-ev--r {
  text-align: right;
  align-items: flex-end;
}

.wrd-ev-ball {
  width: 24px;
  height: 24px;
  background: #000;
  color: var(--w-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* --- Segmented Tabs --- */
.wrd-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--w-card-subtle);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  padding: 3px;
  margin-bottom: var(--w-s4);
}

.wrd-tab {
  background: none;
  border: none;
  padding: 8px 4px;
  border-radius: var(--w-r-md);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.wrd-tab--on {
  background: var(--w-gold-gradient);
  color: #000;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--w-gold-glow);
}

.wrd-tab--off {
  color: var(--w-text-muted);
}

.wrd-tab--off:hover {
  color: var(--w-text);
  background: rgba(255, 255, 255, 0.04);
}

/* --- Statistics Grid --- */
.wrd-stats-t {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--w-text);
  margin: 0 0 var(--w-s3);
  letter-spacing: -0.01em;
}

.wrd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--w-s2);
}

.wrd-tile {
  background: var(--w-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.wrd-tile:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--w-card-hover);
}

.wrd-tile--dark {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, var(--w-card) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.wrd-tile-l {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--w-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wrd-tile-v {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--w-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}

.wrd-tile-v span:last-child {
  color: var(--w-gold-light);
}

/* --- AI Analysis Tab --- */
.wrd-analysis-tab {
  display: flex;
  flex-direction: column;
  gap: var(--w-s4);
}

.wrd-ai-prob {
  background: var(--w-card);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--w-r-lg);
  padding: 1rem;
}

.wrd-ai-prob-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.wrd-ai-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--w-gold-light);
  letter-spacing: 0.05em;
}

.wrd-ai-conf {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--w-live);
}

.wrd-prob-bar {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}

.wrd-prob-seg--h { background: #f59e0b; }
.wrd-prob-seg--d { background: #64748b; }
.wrd-prob-seg--a { background: #3b82f6; }

.wrd-prob-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--w-text-secondary);
}

.wrd-form-guide {
  background: var(--w-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wrd-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrd-badges-row {
  display: flex;
  gap: 4px;
}

.wrd-f-badge {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.wrd-f-badge--w { background: #10b981; }
.wrd-f-badge--d { background: #64748b; }
.wrd-f-badge--l { background: #ef4444; }

/* --- H2H Tab --- */
.wrd-h2h-tab {
  background: var(--w-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-r-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wrd-h2h-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
}

.wrd-h2h-row:last-child {
  border-bottom: none;
}

.wrd-h2h-d {
  color: var(--w-text-muted);
  font-size: 0.7rem;
}

.wrd-h2h-teams {
  font-weight: 700;
  color: var(--w-text);
}

.wrd-h2h-s {
  font-weight: 800;
  color: var(--w-gold-light);
  background: var(--w-card-subtle);
  padding: 2px 8px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 860px) {
  .wrd-preview-topbar {
    padding: 0.75rem 1rem;
  }
  .wrd-preview {
    gap: 2.5rem;
    padding: 1.5rem 0.5rem 4rem;
  }
  .wrd-phone {
    width: 350px;
    height: 740px;
  }
}

/* ==========================================================================
   RIPPLE PULSE LOADER  —  components/ui/ripple-pulse-loader.tsx
   The snippet ships only the two keyframes below; the .loader/.box/.logo
   rules they animate are authored here, themed to the WINO gold ramp.
   ========================================================================== */
.loader {
  --size: 170px;
  --duration: 2s;
  --logo-color: var(--w-gold, #f59e0b);
  --background: linear-gradient(0deg, rgba(20, 22, 31, 0.28) 0%, rgba(38, 43, 56, 0.28) 100%);
  width: var(--size);
  height: var(--size);
  position: relative;
  display: inline-block;
}

.loader .box {
  position: absolute;
  background: var(--background);
  border-radius: 50%;
  border-top: 1px solid rgba(251, 191, 36, 0.95);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px -0px;
  backdrop-filter: blur(5px);
  animation: ripple var(--duration) infinite ease-in-out;
}

.loader .box:nth-child(1) { inset: 40%; z-index: 99; }
.loader .box:nth-child(2) { inset: 30%; z-index: 98; border-color: rgba(251, 191, 36, 0.75); animation-delay: 0.2s; }
.loader .box:nth-child(3) { inset: 20%; z-index: 97; border-color: rgba(251, 191, 36, 0.55); animation-delay: 0.4s; }
.loader .box:nth-child(4) { inset: 10%; z-index: 96; border-color: rgba(251, 191, 36, 0.35); animation-delay: 0.6s; }
.loader .box:nth-child(5) { inset:  0%; z-index: 95; border-color: rgba(251, 191, 36, 0.18); animation-delay: 0.8s; }

.loader .logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--size) * 0.36);
  display: grid;
  place-content: center;
}

/* WINO emblem: a raster mark, so it breathes with scale + brightness instead of
   the fill-based color-change the svg variant uses */
.loader .logo .mark {
  width: 100%;
  height: auto;
  display: block;
  animation: logo-pulse var(--duration) infinite ease-in-out;
}

/* kept for the svg variant of the component */
.loader .logo .svg {
  width: 100%;
  height: auto;
  fill: var(--logo-color);
  animation: color-change var(--duration) infinite ease-in-out;
}

@keyframes logo-pulse {
  0% {
    opacity: 0.9;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55)) brightness(1);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.65)) brightness(1.18);
  }
  100% {
    opacity: 0.9;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55)) brightness(1);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px -0px;
  }
  50% {
    transform: scale(1.3);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 30px 20px -0px;
  }
  100% {
    transform: scale(1);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px -0px;
  }
}

@keyframes color-change {
  0% {
    fill: var(--logo-color);
  }
  50% {
    fill: white;
  }
  100% {
    fill: var(--logo-color);
  }
}

/* no scaling for viewers who asked for less motion — the logo still pulses so
   the loader keeps reading as "busy" */
@media (prefers-reduced-motion: reduce) {
  .loader .box { animation: none; }
  .loader .logo .svg,
  .loader .logo .mark { animation-duration: 3s; }
}

/* ==========================================================================
   BORDER BEAM  —  components/ui/border-beam.tsx  (size "md", colorVariant "colorful")
   The npm component is React-hook based and would pull its own React copy at
   runtime, so the effect is reproduced here: a conic sweep masked to the border
   ring, with the package's colorful stops, its 1.96s rotation and hue shift.
   ========================================================================== */
.wino-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px;
  pointer-events: none;
  z-index: 25;
  overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}

.wino-beam::before,
.wino-beam::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  height: 220%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    transparent 0deg 246deg,
    rgba(255, 50, 100, 0.35) 258deg,
    rgba(240, 50, 180, 0.7) 268deg,
    rgba(180, 40, 240, 0.92) 278deg,
    rgba(100, 70, 255, 1) 288deg,
    rgba(40, 140, 255, 1) 298deg,
    rgba(30, 185, 170, 0.92) 308deg,
    rgba(50, 200, 80, 0.6) 318deg,
    rgba(255, 120, 40, 0.28) 328deg,
    transparent 340deg 360deg
  );
  animation: wino-beam-spin 1.96s linear infinite,
             wino-beam-hue 8s ease-in-out infinite;
}

/* softened duplicate underneath: the package's glow / bloom layer */
.wino-beam::after {
  filter: blur(4px) saturate(1.25) brightness(1.35);
  opacity: 0.85;
}

@keyframes wino-beam-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes wino-beam-hue {
  0%, 100% { filter: hue-rotate(-30deg); }
  50%      { filter: hue-rotate(30deg); }
}

/* the blurred layer keeps its blur while the hue shifts */
@keyframes wino-beam-hue-bloom {
  0%, 100% { filter: blur(4px) saturate(1.25) brightness(1.35) hue-rotate(-30deg); }
  50%      { filter: blur(4px) saturate(1.25) brightness(1.35) hue-rotate(30deg); }
}

.wino-beam::after {
  animation: wino-beam-spin 1.96s linear infinite,
             wino-beam-hue-bloom 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wino-beam::before,
  .wino-beam::after {
    animation: none;
    opacity: 0.5;
  }
}

/* ==========================================================================
   MARQUEE  —  components/ui/3d-testimonails.tsx
   Tailwind here is the CDN build, so the animate-marquee utilities the
   component expects do not exist; they are declared with the keyframes.
   ========================================================================== */
.animate-marquee {
  animation: marquee var(--duration, 40s) infinite linear;
}

.animate-marquee-vertical {
  animation: marquee-vertical var(--duration, 40s) infinite linear;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap, 1rem)));
  }
}

@keyframes marquee-vertical {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-100% - var(--gap, 1rem)));
  }
}

/* the testimonial backdrop is decoration: it never takes the pointer, and it
   stops moving for viewers who asked for less motion */
.wino-testi-bg,
.wino-testi-bg * {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .animate-marquee,
  .animate-marquee-vertical {
    animation: none;
  }
}


/* ============ EL MESSIRI — Arabic display face for headings ============ */
@font-face{font-family:'El Messiri';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/elmessiri/el-messiri-arabic-500.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'El Messiri';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/elmessiri/el-messiri-latin-500.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'El Messiri';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/elmessiri/el-messiri-arabic-600.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'El Messiri';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/elmessiri/el-messiri-latin-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'El Messiri';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/elmessiri/el-messiri-arabic-700.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'El Messiri';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/elmessiri/el-messiri-latin-700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Arabic headings only. Body, buttons, inputs and captions stay on Tajawal. */
html[lang="ar"] :is(h1,h2,h3){font-family:'El Messiri',var(--w-font-main),Tajawal,sans-serif;letter-spacing:normal;line-height:1.35}

/* The animated hero title renders its words into spans inside the h1, and the roll
   effect sets its own transforms, so the face has to be inherited rather than
   re-declared. Nothing else is needed — this is here as a note, not a rule. */


/* ============ WINO SCROLL REVEAL ============ */
/* cubic-bezier(.16,1,.3,1) is the CSS twin of the reference site's "nm-out"
   CustomEase — sampled and compared, max deviation 0.0004 */
.wino-rv{opacity:0;transform:translateY(60px)}
.wino-rv-in{opacity:1;transform:none;transition:opacity 1s cubic-bezier(.16,1,.3,1) var(--rv-d,0s),transform 1s cubic-bezier(.16,1,.3,1) var(--rv-d,0s)}
@media (prefers-reduced-motion: reduce){.wino-rv,.wino-rv-in{opacity:1!important;transform:none!important;transition:none!important}}


/* ============ WINO TESTIMONIAL ENTRANCE ============ */
@keyframes winoTestiIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.wino-testi-in>*{animation:winoTestiIn .7s cubic-bezier(.16,1,.3,1) both}
.wino-testi-in>*:nth-child(2){animation-delay:.08s}
.wino-testi-in>*:nth-child(3){animation-delay:.16s}
.wino-testi-media{animation:winoTestiIn .7s cubic-bezier(.16,1,.3,1) both}
@media (prefers-reduced-motion: reduce){.wino-testi-in>*,.wino-testi-media{animation:none!important}}


/* ============ WINO INK — white type that survives any backdrop ============ */
/* These section headings sit directly on the fixed stadium photo, which runs from a
   near-white sky to a bright green pitch, so plain white type loses its edges wherever
   the picture turns pale. A single soft drop shadow does not fix that: it falls on one
   side and the opposite edge still disappears. Three layers do the work — a tight,
   nearly opaque halo that hugs the glyph on every side and gives the contrast, a short
   contact shadow that lifts the text off the image, and a wide soft one for depth. On a
   dark part of the photo the halo is invisible, so the heading looks unchanged there. */
.wino-ink{
  text-shadow:
    0 0 2px rgba(0,0,0,.92),
    0 0 6px rgba(0,0,0,.75),
    0 1px 3px rgba(0,0,0,.85),
    0 4px 18px rgba(0,0,0,.55);
}


/* ============ WINO HALFTONE WORDMARK FOOTER ============ */
/* The page's fixed stadium backdrop paints at z-index 0 over anything left static, which
   is why every band here carries its own stacking context. */
.hwf-root {
  position: relative; z-index: 10; width: 100%; overflow: hidden; isolation: isolate;
  background: var(--hwf-bg); color: var(--hwf-ink); -webkit-font-smoothing: antialiased;
}
.hwf-root canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.hwf-top {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 24px; padding: clamp(22px, 3.4vw, 40px) clamp(20px, 3.4vw, 44px) 0;
  font-family: var(--hwf-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.75;
}
.hwf-brand strong { display: block; font-weight: 500; }
.hwf-brand span { opacity: .45; }
.hwf-col h3 { margin: 0; font: inherit; opacity: .4; font-weight: 500; }
.hwf-col ul { list-style: none; margin: 0; padding: 0; }
.hwf-col a, .hwf-up, .wino-link {
  color: inherit; text-decoration: none; opacity: .78; background: none; border: 0; padding: 0;
  font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px;
  background-repeat: no-repeat; background-position: 0 100%;
  transition: opacity .25s ease, background-size .35s cubic-bezier(.2,.7,.1,1);
}
.hwf-col a:hover, .hwf-up:hover, .wino-link:hover { opacity: 1; background-size: 100% 1px; }
.hwf-col a:focus-visible, .hwf-up:focus-visible, .wino-link:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; opacity: 1; }
.hwf-rule {
  position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: center; gap: 16px;
  margin: clamp(18px, 2.6vw, 30px) clamp(20px, 3.4vw, 44px) 0; padding-top: 12px;
  border-top: 0.5px solid rgba(245,245,245,.16);
  font-family: var(--hwf-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
}
.hwf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Arabic is cursive: tracking breaks the joins, and it has no letter case to raise. */
html[dir="rtl"] .hwf-top,
html[dir="rtl"] .hwf-rule { letter-spacing: normal; text-transform: none; }
@media (max-width: 720px) {
  .hwf-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 18px; }
  .hwf-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .hwf-col a, .hwf-up, .wino-link { transition: none; }
}


/* ============ WINO FULL BLEED ============ */
/* Escapes the centred <main> container and reaches the window's real edges.

   100vw includes the scrollbar, so the usual w-screen + calc(50% - 50vw) pair overshoots by
   the scrollbar's width and raises a horizontal scrollbar of its own. --sbw is that width,
   measured at runtime, and taking it out of both the width and the offset lands the element
   exactly edge to edge. The fallback of 0px keeps this correct before the script runs and
   on overlay-scrollbar platforms, where there is nothing to subtract. */
:root { --sbw: 0px; }
/* viewport width without the scrollbar, for elements that are already positioned
   and only need the width (not the escape from a centred container) */
.wino-vw { width: calc(100vw - var(--sbw, 0px)); }
.wino-bleed {
  width: calc(100vw - var(--sbw, 0px));
  margin-inline: calc(50% - 50vw + var(--sbw, 0px) / 2);
}


/* ============ WINO LABEL LINK ============ */
/* The small-caps label link, as the footer's "Back to top" sets it. The mechanics — the
   growing underline, the opacity, the focus ring — come from the shared rule above; what is
   here is the face and metrics that .hwf-up inherits from its parent and this one cannot.

   The face follows the document direction: Oswald carries no Arabic, and Arabic is cursive,
   so tracking breaks the joins and there is no letter case to raise. */
:root { --wino-label-font: 'Oswald', sans-serif; }
html[dir="rtl"] { --wino-label-font: 'Tajawal', sans-serif; }
.wino-link {
  font-family: var(--wino-label-font);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .18em;
  text-transform: uppercase;
}
html[dir="rtl"] .wino-link { letter-spacing: normal; text-transform: none; }


/* ============ WINO 3D BUTTON ============ */
/* An extruded gold button. The side wall is six stacked 1px shadows that darken as they
   go down, not one 6px slab of a single colour — that is what separates an edge from a
   drop shadow. The press collapses the wall and drops the face exactly 6px, the height of
   what it lands on, so the travel is the depth. */
.wino-3d {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.50),
    inset 0 -3px 6px rgba(120,53,15,.35),
    0 1px 0 #d97706,
    0 2px 0 #c2690a,
    0 3px 0 #b45309,
    0 4px 0 #a34a09,
    0 5px 0 #92400e,
    0 6px 0 #7c3a0d,
    0 12px 16px -6px rgba(0,0,0,.55);
  transition:
    transform .15s cubic-bezier(.16,1,.3,1),
    box-shadow .15s cubic-bezier(.16,1,.3,1),
    background .2s ease;
}
.wino-3d:hover {
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 55%, #ea8c0a 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.55),
    inset 0 -3px 6px rgba(120,53,15,.32),
    0 1px 0 #d97706,
    0 2px 0 #c2690a,
    0 3px 0 #b45309,
    0 4px 0 #a34a09,
    0 5px 0 #92400e,
    0 6px 0 #7c3a0d,
    0 7px 0 #6b320b,
    0 8px 0 #5c2b0a,
    0 16px 20px -6px rgba(0,0,0,.6);
}
.wino-3d:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    inset 0 -2px 4px rgba(120,53,15,.42),
    0 2px 5px -2px rgba(0,0,0,.55);
}
.wino-3d:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .wino-3d { transition: none; }
  .wino-3d:hover, .wino-3d:active { transform: none; }
}


/* .wino-ink sized for running text. The four layers of the heading version read as a
   smudge at 16px — the glow is wider than the stems. Two tight layers instead: one to
   separate the letterform from whatever is behind it, one to darken the field around
   it, so white copy stays legible over the blurred photograph behind the glass. */
.wino-ink-soft{
  text-shadow:
    0 1px 2px rgba(0,0,0,.72),
    0 0 10px rgba(0,0,0,.48);
}


/* ============ WINO DIALOG BLOB FRAME ============ */
/* The blob translates by its OWN size, so at top-1/2 left-1/2 these four stops park
   it in each quadrant in turn and it sweeps every corner. Linear, because an eased
   orbit reads as four separate moves rather than one circuit. */
@keyframes sbwBlob{
  0%{transform:translate(-100%,-100%)}
  25%{transform:translate(0,-100%)}
  50%{transform:translate(0,0)}
  75%{transform:translate(-100%,0)}
  100%{transform:translate(-100%,-100%)}
}
.sbw-blob{animation:sbwBlob 5s linear infinite}
/* parked in the middle rather than stopped mid-orbit: a blob frozen in one corner
   looks like something failed, a centred one looks like a glow */
@media(prefers-reduced-motion:reduce){
  .sbw-blob{animation:none;transform:translate(-50%,-50%)}
}


/* ============ WINO 3D CLOSE BADGE ============ */
/* Hover and focus-visible move together: the badge should answer a keyboard the same
   way it answers a pointer. In project CSS rather than Tailwind variants, because a
   class that only ever appears inside the dialog is never seen by the build check. */
.sbw-x-svg{transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.sbw-x-hot{opacity:0;transition:opacity .22s ease}
.sbw-x-glyph{transform-origin:24px 24px;transition:transform .25s cubic-bezier(.2,.8,.2,1)}

.sbw-x-btn:hover .sbw-x-hot,
.sbw-x-btn:focus-visible .sbw-x-hot{opacity:1}
.sbw-x-btn:hover .sbw-x-svg,
.sbw-x-btn:focus-visible .sbw-x-svg{transform:scale(1.08)}
.sbw-x-btn:hover .sbw-x-glyph,
.sbw-x-btn:focus-visible .sbw-x-glyph{transform:rotate(90deg)}
.sbw-x-btn:active .sbw-x-svg{transform:scale(.94)}

/* its own rule, not a colour change standing in for one */
.sbw-x-btn:focus-visible{outline:2px solid #FBBF24;outline-offset:3px;border-radius:12px}

/* the colour still answers; only the movement goes */
@media(prefers-reduced-motion:reduce){
  .sbw-x-svg,.sbw-x-glyph{transition:none}
  .sbw-x-btn:hover .sbw-x-svg,.sbw-x-btn:focus-visible .sbw-x-svg,
  .sbw-x-btn:hover .sbw-x-glyph,.sbw-x-btn:focus-visible .sbw-x-glyph{transform:none}
}


/* ============ WINO PITCH — the stadium the page stands in ============ */
/* A fixed layer at z-index 0, exactly as the landing page does it, so the content can
   float over one continuous photograph instead of scrolling past a repeated one. The
   scrim is two gradients: a radial that keeps the floodlights bright where the heading
   sits, and a linear that closes the page down at both ends so a sticky header at the
   top and a long list at the bottom both stay legible. */
.wino-pitch {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* the default, so the bare class is never a blank rectangle. One of the three
     numbered rules below always wins it — they come later at the same specificity. */
  background-image: url('/assets/pitch/campo1.webp');
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  /* the floodlights are the subject; a photograph dimmed until it reads as a shadow is
     not a background, it is wasted weight */
  filter: saturate(1.14) contrast(1.06) brightness(1.04);
}
.wino-pitch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(135% 88% at 50% 12%,
      rgba(10,11,14,.02) 0%, rgba(10,11,14,.34) 54%, rgba(8,9,12,.78) 100%),
    linear-gradient(180deg,
      rgba(8,9,12,.70) 0%, rgba(8,9,12,.20) 13%,
      rgba(8,9,12,.30) 48%, rgba(8,9,12,.92) 100%);
}

/* The three grounds. .wino-pitch carries the framing, the filter and the scrim; these
   carry only the photograph, so adding a fourth is one line. SBW_pitchFor picks. */
.wino-pitch-1 { background-image: url('/assets/pitch/campo1.webp'); }
.wino-pitch-2 { background-image: url('/assets/pitch/campo2.webp'); }
.wino-pitch-3 { background-image: url('/assets/pitch/campo3.webp'); }

/* ============ WINO GLASS — the panels that float on it ============ */
/* The inset highlight on the top edge is what reads as thickness; without it a
   translucent panel on a photograph looks like a hole rather than a pane. */
.wino-glass {
  position: relative;
  background: rgba(13, 15, 21, .64);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
          backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 24px 48px -20px rgba(0,0,0,.85);
}
.wino-glass-bar {
  /* let the dusk sky through: a bar that is simply black over a photograph reads as a
     hole punched in it */
  background: rgba(10, 11, 15, .52);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
          backdrop-filter: blur(26px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 1px 0 rgba(251,191,36,.30), 0 18px 40px -24px rgba(0,0,0,.9);
}
/* a surface INSIDE a pane: no blur of its own, because stacking two backdrop filters
   costs a repaint and buys nothing visible */
.wino-glass-in {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

/* ============ WINO LIVE — the floodlight on a section with a match running ====== */
/* The sweep is not decoration: it appears only on a competition that has a match in
   play, so the thing that moves on the page is the thing that is moving in reality. */
.wino-live::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  z-index: 26;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(251,191,36,0) 0%, rgba(251,191,36,0) 28%,
    rgba(253,224,71,.95) 50%,
    rgba(251,191,36,0) 72%, rgba(251,191,36,0) 100%);
  background-size: 240% 100%;
  animation: wino-live-sweep 2.8s linear infinite;
}
@keyframes wino-live-sweep {
  from { background-position: 220% 0; }
  to   { background-position: -40% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wino-live::before {
    animation: none;
    background: linear-gradient(90deg,
      rgba(251,191,36,0) 0%, rgba(253,224,71,.8) 50%, rgba(251,191,36,0) 100%);
  }
}

/* ============ WINO AURORA — the glass backdrop ============
   Used by Today's Matches. See scratch/today_aurora.js for why this is gradients and
   not a blurred image, and why the grain layer exists. */
.wino-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* the ground the pools are lit on, and the fallback before anything else paints */
  background: linear-gradient(168deg, #18233b 0%, #101829 44%, #080b14 100%);
}

/* the light. Inset past the edges so it can drift without uncovering a corner. */
.wino-aurora::before {
  content: "";
  position: absolute;
  inset: -14%;
  background-image:
    radial-gradient(58% 44% at 56% -4%,  rgba(142,132,194,.62) 0%, rgba(142,132,194,0) 72%),
    radial-gradient(54% 46% at 90% 30%,  rgba(74,144,208,.66) 0%, rgba(74,144,208,0) 74%),
    radial-gradient(56% 46% at 97% 71%,  rgba(146,178,110,.50) 0%, rgba(146,178,110,0) 72%),
    radial-gradient(66% 50% at 42% 92%,  rgba(72,112,160,.40) 0%, rgba(72,112,160,0) 76%),
    radial-gradient(56% 50% at 1% 22%,   rgba(5,7,12,.88) 0%, rgba(5,7,12,0) 74%);
  will-change: transform;
  animation: wino-aurora-drift 46s ease-in-out infinite alternate;
}

/* the scrim and the grain. The scrim is light: the pools are already dark enough to
   read white type on, and dimming them further is what made the photograph read as a
   shadow the first time round. */
.wino-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E"),
    linear-gradient(180deg,
      rgba(6,8,13,.40) 0%, rgba(6,8,13,.06) 16%,
      rgba(6,8,13,.04) 58%, rgba(6,8,13,.66) 100%);
}

@keyframes wino-aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 2.2%, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .wino-aurora::before { animation: none; }
}

/* the moving light over the aurora. The canvas is drawn at a third of the window,
   so this blur is finishing a job the upscale already started — it is not what makes
   the beams soft, it is what hides the seam between them. */
.wino-beams {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* the reference blurs 35px in the canvas and 15 again in CSS; blurs add in
     quadrature, so that is one 38px blur, and this is the single pass of it */
  filter: blur(28px) saturate(1.15);
  animation: wino-beams-breathe 10s ease-in-out infinite;
}

/* the reference pulses a veil over the whole scene; this breathes the light
   itself, so the scores underneath keep one brightness */
@keyframes wino-beams-breathe {
  0%, 100% { opacity: .86; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wino-beams { animation: none; }
}

/* ============ WINO GOLD — the lit button ============
   The landing page's auth card button, lifted out of its inline styles. Distinct from
   .wino-3d on purpose: that one is a physical key you press, this one is a lit panel
   you are meant to notice. The 200% background is what the hover slides across.

   btnShimmer is declared in index.html and is what the auth card already uses. */
.wino-gold {
  background: linear-gradient(135deg, #AA7A26 0%, #D8B24C 35%, #F0E47E 70%, #AA7A26 100%);
  background-size: 200% auto;
  /* 0% 0%, not "left center": the inline styles this replaces set no position at all,
     and the browser's own default is what the landing page has been showing */
  background-position: 0% 0%;
  box-shadow:
    0 8px 25px -4px rgba(170,122,38,.50),
    0 0 15px 1px rgba(240,228,126,.30),
    inset 0 1px 1px rgba(255,255,255,.60);
  transition: background-position .45s ease, box-shadow .3s ease, transform .15s ease;
}
.wino-gold:hover {
  background-position: 100% 0%;
  box-shadow:
    0 10px 30px -4px rgba(170,122,38,.60),
    0 0 22px 2px rgba(240,228,126,.42),
    inset 0 1px 1px rgba(255,255,255,.70);
}
.wino-gold:focus-visible {
  outline: 2px solid #F0E47E;
  outline-offset: 3px;
}

/* the sheen that crosses it. Its own element so it can be clipped by the button
   without clipping the text with it. */
.wino-gold-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* "to right" rather than 90deg: identical rendering, but it is the exact spelling
     the hand-rolled divs produced, so a before-and-after comparison stays clean */
  background: linear-gradient(to right, transparent, rgba(255,255,255,.45), transparent);
  animation: btnShimmer 2.2s ease-in-out infinite;
}

/* Arabic is not written in capitals and does not take tracking; the site already
   makes this exception for .wino-link */
html[dir="rtl"] .wino-gold { letter-spacing: normal; text-transform: none; }

@media (prefers-reduced-motion: reduce) {
  .wino-gold { transition: none; }
  .wino-gold-shine { animation: none; opacity: 0; }
}

/* ============ WINO TAB — the lit segment ============
   The same gold as .wino-gold, flat. No outer glow and no radius of its own: this is a
   segment of a bar, not a key sitting on one. The two inset hairlines are all the relief
   it gets — enough to separate it from the glass, not enough to look pressable.

   Written out rather than composed from .wino-gold + overrides, because that would rely
   on which stylesheet the browser read last. */
.wino-tab-on {
  background: linear-gradient(135deg, #AA7A26 0%, #D8B24C 35%, #F0E47E 70%, #AA7A26 100%);
  background-size: 200% auto;
  background-position: 0% 0%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -1px 0 rgba(120,53,15,.40);
  color: #140E04;
}

/* the menu header. The same pane as .wino-glass, but it hangs from the top of the
   window: there is no top or side edge to draw, only the bottom one. The drop shadow
   lives here rather than in a Tailwind arbitrary class so there is one of it. */
.wino-glass-head {
  background: rgba(13, 15, 21, .64);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
          backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 25px 60px -10px rgba(0,0,0,.65);
}

/* ============ WINO RESULT KEYS — W / D / L, moulded ============ */
/* The relief of .wino-3d at a quarter of the size: four steps of side wall rather
   than six, and no hover and no travel, because a result is a fact and not a button.
   The face is saturated, so the letter on it is near-black. */
.wino-res {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .3rem;
  border-radius: .4rem;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  /* the letters are latin on one side and arabic on the other, and both sit better
     a hair above the optical centre of a box this small */
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

.wino-res-w {
  background: linear-gradient(180deg, #6ee7b7 0%, #34d399 55%, #10b981 100%);
  color: #04291c;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -2px 4px rgba(4,41,28,.30),
    0 1px 0 #0ea473,
    0 2px 0 #0b8f64,
    0 3px 0 #077a55,
    0 4px 0 #046647,
    0 6px 8px -3px rgba(0,0,0,.55);
}

.wino-res-d {
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 55%, #f59e0b 100%);
  color: #2a1a02;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -2px 4px rgba(120,53,15,.30),
    0 1px 0 #e08f08,
    0 2px 0 #c87f07,
    0 3px 0 #b06f06,
    0 4px 0 #985f05,
    0 6px 8px -3px rgba(0,0,0,.55);
}

.wino-res-l {
  background: linear-gradient(180deg, #fda4af 0%, #fb7185 55%, #f43f5e 100%);
  color: #3f0713;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.50),
    inset 0 -2px 4px rgba(63,7,19,.30),
    0 1px 0 #e01843,
    0 2px 0 #c8143b,
    0 3px 0 #b01134,
    0 4px 0 #980e2c,
    0 6px 8px -3px rgba(0,0,0,.55);
}

/* ============ WINO EYEBROW & DISPLAY — the app pages, set like the home page ============ */
/* Measured off the rendered landing page: its small labels are Oswald 10px, weight 500,
   .16em, upper case, and its card titles are El Messiri. Naming the two lets the inner
   pages be set in the same terms instead of reaching for font-black and upper case at
   every size, which is how a dashboard ends up with an 8px caption shouting as loudly as
   its title.

   The RTL branch is the same correction .wino-link makes a few rules above: Arabic is
   cursive, so tracking breaks the joins, and it has no letter case to raise. It takes a
   little size back in exchange, because Oswald carries no Arabic and Tajawal at 10px sits
   smaller than Oswald does.

   An element with .wino-eyebrow is not given a Tailwind text-size, font-weight, tracking
   or case class as well: this class owns the whole setting, so there is no race. */
:root { --wino-eyebrow-font: 'Oswald', sans-serif; }
html[dir="rtl"] { --wino-eyebrow-font: 'Tajawal', sans-serif; }
.wino-eyebrow {
  font-family: var(--wino-eyebrow-font);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .16em;
  text-transform: uppercase;
}
html[dir="rtl"] .wino-eyebrow { font-size: 11px; letter-spacing: normal; text-transform: none; }

/* The display face. The stylesheet already self-hosts El Messiri and already hands it to
   Arabic h1-h3; asking for it by name gives it to an English heading too, and to a heading
   that is not an h1, h2 or h3. */
.wino-hd {
  font-family: 'El Messiri', var(--w-font-main), Tajawal, sans-serif;
  letter-spacing: normal;
  line-height: 1.25;
}

/* The score boxes: the two on a match card, the two on a tournament card, and the pair
   an admin types a result into. Centring is the whole point of a box you type one or two
   digits into, so it is set here rather than left to .text-center. That utility is not in
   this stylesheet: it is generated in the browser by cdn.tailwindcss.com in development,
   and by a content scan at build time for the built site. When it is missing nothing about
   the box changes except the one thing that matters — an input falls back to the
   user-agent rule text-align: start and the digit goes flush against the near wall.

   An element plus a class outranks both that utility and the user-agent rule, so this
   holds whatever else is or is not generated. direction is here for the same reason the
   boxes carry dir="ltr": a score reads left to right in Arabic too. */
input.wino-score {
  text-align: center !important;
  direction: ltr !important;
}

/* The !important above is not decoration and not a shortcut around a specificity fight
   inside this project; nothing here competes for these two properties.

   It is there because of what the measurements say. On a dashboard showing four cards,
   the three whose boxes were filled from a saved prediction centre their digit to within
   two pixels, and the two boxes of the fourth card -- the one the user clicked into and
   typed in -- sit hard against the near wall, 2px in with 52px clear on the other side.
   Same component, same class string, same stylesheet, one page. The value is at most two
   digits, so the text cannot be overflowing its box, and the caret stands immediately
   after the digit rather than against the far wall, which is what overflow would look
   like. That leaves alignment, differing between two elements that are identical to this
   project -- which an author stylesheet cannot do, and an inline style set from outside
   the page can.

   The page cannot control what is injected into a field once someone focuses it. It can
   decide that a two-digit score box is centred and stays centred, and an author rule
   marked important is what outranks an inline style. */

/* A sending-off on a match card, at the corner of the crest of the side it was shown to.

   The badge is built here rather than from utility classes because the one property it
   cannot afford to lose is position. A missing utility elsewhere on this card costs a
   colour or a gap; a missing `absolute` here would drop the badge into the flow and push
   the crest out of its box. This stylesheet is the only one present in every environment.

   The corner is the one nearest the score on both sides, so the badge never sits over the
   club name and the pair reads as a mirror. The logical insets give the same picture in
   Arabic, where the grid mirrors and the home column is on the right.

   A second red to the same side happens often enough to plan for, so the badge carries a
   digit from two upwards and stays a plain card at one. */
.wino-crest {
  position: relative;
}

.wino-rc {
  position: absolute;
  top: -4px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 16px;
  border-radius: 2.5px;
  background: linear-gradient(155deg, #f05252 0%, #dc2626 45%, #a81616 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 6px -1px rgba(0, 0, 0, 0.85);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.wino-rc[data-side="home"] {
  inset-inline-end: -4px;
}

.wino-rc[data-side="away"] {
  inset-inline-start: -4px;
}

/* ============ THE MATCH CARD ON THE AURORA ============
   The dashboard card is .wino-glass like every pane on Today's Matches, and its
   insides are .wino-glass-in. Two pieces have no class to borrow, so they are written
   here: the box a score is typed into, and the tray the last two keys sit in.

   Scoped to .wino-mcard on purpose. input.wino-score is also the tournament card and
   the admin result entry, and neither of those stands on this ground. */
.wino-mcard input.wino-score {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .18s ease, box-shadow .18s ease;
}

/* the focus ring is the gold the Submit key is lit with, not the flat amber the box
   used to borrow from a utility */
.wino-mcard input.wino-score:focus {
  border-color: #f0e47e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 0 3px rgba(240, 228, 126, .22);
}

.wino-mcard .wino-mfoot {
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .035);
}

/* .wino-glass-in has no hover of its own: it is a surface, and only here is it a key */
.wino-mcard .wino-mfoot > button:hover,
.wino-mcard button.wino-glass-in:hover {
  background: rgba(255, 255, 255, .085);
}

/* .wino-gold is lit for the landing page: a hero button on a photograph, with a 25px
   drop glow and a 15px halo. One of those is a lit panel. Four across a row of match
   cards is a light leak, and the glow crosses the card edge it is sitting inside.

   Today's Matches spends its gold flat - .wino-tab-on is the same gradient with two
   inset hairlines and no outer shadow. So in a card the key keeps the gradient, the
   sheen and the lit top edge, and the bloom becomes a contact shadow. */
.wino-mcard .wino-gold {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .55),
    0 6px 16px -10px rgba(170, 122, 38, .9);
}

.wino-mcard .wino-gold:hover {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .70),
    0 8px 20px -10px rgba(170, 122, 38, 1);
}

/* The play key on a live card: a green ball, lit from the top left. Three layers do it -
   the radial body, a soft specular on ::before, and a dark inner rim at the foot - over a
   contact shadow, so it stands off the glass. 32px, with 2px taken back from the row so
   the button keeps the height it had with the 30px disc. */
.wino-playlive {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-block: -1px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #9df5b4 0%, #34d36e 30%, #12a24a 62%, #06632b 100%);
  box-shadow:
    inset 0 -3px 5px rgba(0, 48, 20, .65),
    inset 0 1px 1px rgba(255, 255, 255, .55),
    0 1px 0 rgba(0, 0, 0, .45),
    0 5px 10px -2px rgba(0, 0, 0, .65),
    0 0 12px -2px rgba(52, 211, 110, .55);
  transition: transform .15s ease;
}

.wino-playlive::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 15px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.wino-playlive svg {
  position: relative;
  width: 19px;
  height: 19px;
  fill: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 60, 25, .85));
}

button:active > div > .wino-playlive {
  box-shadow:
    inset 0 2px 4px rgba(0, 48, 20, .7),
    0 1px 2px rgba(0, 0, 0, .6);
}

@media (prefers-reduced-motion: reduce) {
  .wino-playlive { transition: none; }
}

/* The two windows a match card opens, in the language of the /today dialog. The tab
   bodies inside are written in zinc and amber utilities; this recolours them here and
   nowhere else, so white-at-opacity replaces grey and the site's gold replaces amber. */
.wino-mdlg__pane {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 5.5rem);
  max-height: calc(100dvh - 5.5rem);
}

.wino-mdlg__fill {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.wino-mdlg__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.wino-mdlg__tabs { scrollbar-width: none; }
.wino-mdlg__tabs::-webkit-scrollbar { display: none; }
/* One recessed channel. The window is lit from above, so the top of the groove is the dark
   edge and its lower lip catches the light. */
.wino-mdlg__tabs {
  margin: .75rem .75rem 0;
  padding: .25rem;
  gap: .125rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, .36);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, .75),
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 1px 0 rgba(255, 255, 255, .05);
}

@media (max-width: 639px) {
  .wino-mdlg th,
  .wino-mdlg td { padding-left: .3rem; padding-right: .3rem; }
  .wino-mdlg .w-24 { width: auto; }
}

.wino-mdlg .overflow-hidden:has(> table) { overflow-x: auto; }

.wino-mdlg [class*="bg-zinc-9"],
.wino-mdlg [class*="bg-zinc-8"] { background-color: rgba(255, 255, 255, .045); }

.wino-mdlg [class*="bg-zinc-7"],
.wino-mdlg [class*="bg-zinc-6"] { background-color: rgba(255, 255, 255, .14); }

.wino-mdlg [class*="from-zinc"] { background-image: none; background-color: rgba(255, 255, 255, .045); }

.wino-mdlg [class*="border-zinc"] { border-color: rgba(255, 255, 255, .10); }

.wino-mdlg [class*="divide-zinc"] > * + * { border-color: rgba(255, 255, 255, .07); }

.wino-mdlg .text-neutral-200,
.wino-mdlg .text-neutral-300 { color: rgba(255, 255, 255, .82); }

.wino-mdlg .text-neutral-400,
.wino-mdlg .text-zinc-400 { color: rgba(255, 255, 255, .60); }

.wino-mdlg .text-neutral-500,
.wino-mdlg .text-zinc-500,
.wino-mdlg .text-neutral-600,
.wino-mdlg .text-neutral-700 { color: rgba(255, 255, 255, .45); }

.wino-mdlg .text-zinc-700,
.wino-mdlg .text-zinc-800 { color: rgba(255, 255, 255, .25); }

.wino-mdlg .text-amber-400,
.wino-mdlg .text-amber-500 { color: #E6C65C; }

.wino-mdlg .bg-amber-500 {
  background-color: transparent;
  background-image: linear-gradient(135deg, #AA7A26 0%, #D8B24C 35%, #F0E47E 70%, #AA7A26 100%);
}

.wino-mdlg .border-amber-500 { border-color: #D8B24C; }

.wino-mdlg .rounded-3xl,
.wino-mdlg [class*="rounded-[2"] { border-radius: 1rem; }

/* View Details and Odds in motion. Reasons are in scratch/dash_details_full.js. */
@property --wino-beam {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.wino-dx-veil { animation: wino-dx-veil .22s ease-out backwards; }
.wino-dx-veil[data-out] { animation: wino-dx-veil-out .17s ease-in forwards; }
.wino-dx-veil[data-out] .wino-dx-pane { animation: wino-dx-pane-out .17s ease-in forwards; }

.wino-dx-pane { animation: wino-dx-pane .46s cubic-bezier(.16, 1, .3, 1) backwards; }
.wino-dx-key { animation: wino-dx-key .42s .16s cubic-bezier(.16, 1, .3, 1) backwards; }

.wino-dx-home { animation: wino-dx-home .62s .1s cubic-bezier(.16, 1, .3, 1) backwards; }
.wino-dx-away { animation: wino-dx-away .62s .1s cubic-bezier(.16, 1, .3, 1) backwards; }
.wino-dx-num  { animation: wino-dx-num .5s .28s cubic-bezier(.16, 1, .3, 1) backwards; }

.wino-dx-score::after {
  content: "";
  position: absolute;
  inset-inline: 12%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(to right, transparent, #F0E47E, transparent);
  transform-origin: center;
  animation: wino-dx-line .7s .34s cubic-bezier(.16, 1, .3, 1) backwards;
}

/* the line of light round the glass: one lap on opening, and only a live match keeps it */
.wino-dx-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--wino-beam), transparent 0 72%, rgba(170, 122, 38, .2) 80%, #F0E47E 93%, #fff8d6 96%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  animation: wino-dx-lap 1.9s .18s cubic-bezier(.45, 0, .25, 1) backwards;
}

.wino-dx-pane[data-live]::after {
  opacity: 1;
  animation: wino-dx-beam 5.5s linear infinite;
}

/* the light that follows a mouse. It sits under the content and is only ever a tint. */
.wino-dx-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0), rgba(240, 228, 126, .085), transparent 70%);
  transition: opacity .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .wino-dx-pane:hover::before { opacity: 1; }
}

.wino-dx-pane > * { position: relative; z-index: 1; }
.wino-dx-pane > button { position: absolute; z-index: 2; }

.wino-dx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d36e;
  animation: wino-dx-dot 1.6s ease-out infinite;
}

/* the gold tab. One element that travels, so the eye follows where the reader went. */
.wino-dx-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: .75rem;
  opacity: 0;
  pointer-events: none;
}

/* raised out of the groove: the contact shadow is what lifts it */
.wino-dx-pill.wino-tab-on {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -1px 0 rgba(120, 53, 15, .4),
    0 2px 5px rgba(0, 0, 0, .6),
    0 0 16px -2px rgba(216, 178, 76, .34);
}

.wino-dx-pill[data-ready] {
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), width .38s cubic-bezier(.22, 1, .36, 1), height .38s cubic-bezier(.22, 1, .36, 1);
}

/* grows to fill the rail and never shrinks below its word: the rail scrolls instead */
.wino-dx-tab {
  flex: 1 0 auto;
  min-width: 4.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .22rem;
  padding: .45rem .5rem .4rem;
  border-radius: .75rem;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(255, 255, 255, .7);
  transition: color .2s ease, background-color .2s ease, transform .12s ease;
}

.wino-dx-tab svg {
  opacity: .78;
  transition: opacity .2s ease, color .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .wino-dx-tab:hover:not(:disabled):not([aria-selected="true"]) {
    color: #fff;
    background: rgba(255, 255, 255, .05);
  }
  .wino-dx-tab:hover:not(:disabled):not([aria-selected="true"]) svg { opacity: 1; color: #E6C65C; }
}

.wino-dx-tab:active:not(:disabled) { transform: scale(.96); transition-duration: .07s; }
.wino-dx-tab[aria-selected="true"] { color: #140E04; font-weight: 900; }
.wino-dx-tab[aria-selected="true"] svg { opacity: 1; stroke-width: 2.2; }

/* the hairlines between the match and its competition, the reading of it, and the video */
.wino-dx-tab[data-cut] { margin-inline-start: .5rem; }
.wino-dx-tab[data-cut]::before {
  content: "";
  position: absolute;
  inset-inline-start: -.32rem;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
}

/* Expert Analysis beats: lub, dub, rest. 1.2s is a calm 50 beats a minute. */
.wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled) { color: #F0DFA0; }
.wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled) svg { opacity: 1; color: #E6C65C; }
.wino-dx-tab[data-beat]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(230, 198, 92, .36), rgba(230, 198, 92, 0));
  opacity: 0;
  pointer-events: none;
}
.wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled) { animation: wino-dx-beat 1.2s ease-out infinite; }
.wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled) svg { animation: wino-dx-beat-mark 1.2s ease-out infinite; }
.wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled)::after { animation: wino-dx-beat-halo 1.2s ease-out infinite; }

@keyframes wino-dx-beat {
  0%, 24%, 48%, 100% { scale: 1; }
  12% { scale: 1.05; }
  34% { scale: 1.03; }
}
@keyframes wino-dx-beat-mark {
  0%, 24%, 48%, 100% { scale: 1; }
  12% { scale: 1.24; }
  34% { scale: 1.14; }
}
@keyframes wino-dx-beat-halo {
  0%, 48%, 100% { opacity: 0; }
  12% { opacity: 1; }
  24% { opacity: .25; }
  34% { opacity: .7; }
}

.wino-dx-tab:focus-visible {
  outline: 2px solid #F0E47E;
  outline-offset: -2px;
}

/* the Standings table keeps the page's row rhythm and its 1rem edge, on a phone too */
.wino-mdlg .wino-dx-table th,
.wino-mdlg .wino-dx-table td { padding: .625rem .5rem; }
.wino-mdlg .wino-dx-table th { white-space: nowrap; }
html[lang="ar"] .wino-mdlg .wino-dx-table th {
  font-family: 'El Messiri', var(--w-font-main), Tajawal, sans-serif;
  letter-spacing: normal;
}
@media (max-width: 639px) {
  .wino-mdlg .wino-dx-table th,
  .wino-mdlg .wino-dx-table td { padding-inline: .3rem; }
}
.wino-mdlg .wino-dx-table td { border-top: 1px solid rgba(255, 255, 255, .05); }
.wino-mdlg .wino-dx-table th:first-child,
.wino-mdlg .wino-dx-table td:first-child { padding-inline-start: 1rem; }
.wino-mdlg .wino-dx-table th:last-child,
.wino-mdlg .wino-dx-table td:last-child { padding-inline-end: 1rem; }

/* The close key. Light comes from above, so the dome is bright at the top, the gold bezel
   turns with it, and the shadow falls below. Pressing answers at once and pushes the key
   into its seat: the shadow collapses because the gap under it has closed. */
button.wino-dx-close {
  width: 1.75rem;
  height: 1.75rem;
  isolation: isolate;
  color: #F3E2AE;
  background:
    radial-gradient(52% 26% at 50% 19%, rgba(255, 255, 255, .20), transparent 100%),
    radial-gradient(115% 85% at 50% -12%, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .07) 42%, transparent 64%),
    radial-gradient(85% 70% at 50% 118%, rgba(216, 178, 76, .26), transparent 66%),
    linear-gradient(180deg, #2B2E38 0%, #15171E 56%, #0A0B10 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 1px rgba(0, 0, 0, .65),
    0 0 0 2px rgba(0, 0, 0, .55),
    0 2px 3px 1px rgba(0, 0, 0, .55),
    0 5px 10px -2px rgba(0, 0, 0, .75);
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    box-shadow .28s cubic-bezier(.22, 1, .36, 1),
    color .2s ease-out;
}
button.wino-dx-close::before {
  content: "";
  position: absolute;
  inset: -1.25px;
  border-radius: 50%;
  padding: 1.25px;
  background: conic-gradient(from 205deg, #FBEBB5, #8E6C20 24%, #E9C766 50%, #6B5115 76%, #FBEBB5);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  transition: filter .2s ease-out;
}
button.wino-dx-close::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}
button.wino-dx-close svg {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .85));
}
@media (hover: hover) and (pointer: fine) {
  button.wino-dx-close:hover {
    color: #FFF6D8;
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .42),
      inset 0 -1px 1px rgba(0, 0, 0, .65),
      0 0 0 2px rgba(0, 0, 0, .55),
      0 3px 4px 1px rgba(0, 0, 0, .5),
      0 8px 14px -2px rgba(0, 0, 0, .8),
      0 0 16px rgba(216, 178, 76, .22);
  }
  button.wino-dx-close:hover::before { filter: brightness(1.18); }
}
button.wino-dx-close:active {
  transform: translateY(1px) scale(.94);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, .75),
    inset 0 -1px 0 rgba(255, 255, 255, .10),
    0 0 0 2px rgba(0, 0, 0, .6),
    0 1px 1px rgba(0, 0, 0, .5);
  transition-duration: .07s;
}
button.wino-dx-close:focus-visible { outline: 2px solid #E6C65C; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  button.wino-dx-close,
  button.wino-dx-close:hover,
  button.wino-dx-close:active { transform: none; }
}

/* A team's name in the window head is a key: quiet until the pointer reaches it, and gold
   while its team is the one open. */
.wino-dx-team {
  padding: .25rem .5rem;
  border-radius: .75rem;
  transition: background-color .18s ease-out, transform .16s cubic-bezier(.22, 1, .36, 1);
}
.wino-dx-team:disabled { cursor: default; }
.wino-dx-team span { transition: color .18s ease-out; }
@media (hover: hover) and (pointer: fine) {
  .wino-dx-team:not(:disabled):hover { background: rgba(255, 255, 255, .06); }
  .wino-dx-team:not(:disabled):hover span { color: #E6C65C; }
}
.wino-dx-team:not(:disabled):active { transform: scale(.97); transition-duration: .07s; }
.wino-dx-team[aria-pressed="true"] { background: rgba(216, 178, 76, .10); }
.wino-dx-team[aria-pressed="true"] span { color: #E6C65C; }
.wino-dx-team:focus-visible { outline: 2px solid #E6C65C; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .wino-dx-team:not(:disabled):active { transform: none; }
}

/* a tab's content arrives from the side the reader moved towards */
.wino-dx-in { animation: wino-dx-in .34s cubic-bezier(.16, 1, .3, 1) backwards; }

.wino-dx-in > .space-y-4 > *,
.wino-dx-in > .space-y-6 > * { animation: wino-dx-rise .4s cubic-bezier(.16, 1, .3, 1) backwards; }
.wino-dx-in > .space-y-4 > :nth-child(2),
.wino-dx-in > .space-y-6 > :nth-child(2) { animation-delay: .05s; }
.wino-dx-in > .space-y-4 > :nth-child(3),
.wino-dx-in > .space-y-6 > :nth-child(3) { animation-delay: .1s; }
.wino-dx-in > .space-y-4 > :nth-child(n+4),
.wino-dx-in > .space-y-6 > :nth-child(n+4) { animation-delay: .15s; }

/* every bar in a tab is a div with an inline width, so all of them grow from their base */
.wino-dx-in div[style*="width"] {
  transform-origin: left center;
  animation: wino-dx-bar .7s .12s cubic-bezier(.16, 1, .3, 1) backwards;
}

html[dir="rtl"] .wino-dx-in div[style*="width"] { transform-origin: right center; }

.wino-dx-skel {
  background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(240, 228, 126, .10) 50%, rgba(255, 255, 255, .04) 70%);
  background-size: 220% 100%;
  animation: wino-dx-skel 1.3s linear infinite;
}

/* the page's cards sit on glass here, so a second blur and a second drop shadow go */
.wino-mdlg__body .wino-glass {
  background: rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

/* the width of the match page, which is what these tabs were laid out for, and it lets all nine share a row */
.wino-mdlg:has(.wino-mdlg__fill) { max-width: 56rem; }

/* one height for every tab, or the pane jumps about under the row of tabs */
.wino-mdlg__pane:has(.wino-mdlg__fill) { height: min(calc(100vh - 5.5rem), 780px); }
.wino-mdlg__pane:has(.wino-mdlg__fill) { height: min(calc(100dvh - 5.5rem), 780px); }

@keyframes wino-dx-veil { from { opacity: 0; } }
@keyframes wino-dx-veil-out { to { opacity: 0; } }
@keyframes wino-dx-pane { from { opacity: 0; transform: translateY(18px) scale(.965); } }
@keyframes wino-dx-pane-out { to { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes wino-dx-key { from { opacity: 0; transform: translateY(14px); } }
@keyframes wino-dx-home { from { opacity: 0; transform: translateX(-46px); } }
@keyframes wino-dx-away { from { opacity: 0; transform: translateX(46px); } }
@keyframes wino-dx-num { from { opacity: 0; filter: blur(6px); transform: scale(.72); } }
@keyframes wino-dx-line { from { opacity: 0; transform: scaleX(0); } }
@keyframes wino-dx-lap {
  0%   { opacity: 0; --wino-beam: 0deg; }
  12%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; --wino-beam: 360deg; }
}
@keyframes wino-dx-beam { to { --wino-beam: 360deg; } }
@keyframes wino-dx-dot {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 110, .6); }
  100% { box-shadow: 0 0 0 8px rgba(52, 211, 110, 0); }
}
@keyframes wino-dx-in { from { opacity: 0; transform: translateX(calc(var(--dx, 1) * 30px)); } }
@keyframes wino-dx-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes wino-dx-bar { from { transform: scaleX(0); } }
@keyframes wino-dx-skel { from { background-position: 120% 0; } to { background-position: -120% 0; } }

@media (prefers-reduced-motion: reduce) {
  .wino-dx-veil, .wino-dx-pane, .wino-dx-key, .wino-dx-home, .wino-dx-away, .wino-dx-num,
  .wino-dx-score::after, .wino-dx-pane::after, .wino-dx-dot, .wino-dx-skel,
  .wino-dx-in > .space-y-4 > *, .wino-dx-in > .space-y-6 > *, .wino-dx-in div[style*="width"] { animation: none; }
  .wino-dx-pane::after { opacity: 0; }
  .wino-dx-pill[data-ready] { transition: none; }
  .wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled),
  .wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled) svg,
  .wino-dx-tab[data-beat]:not([aria-selected="true"]):not(:disabled)::after { animation: none; }
  .wino-dx-in { animation: wino-dx-veil .15s ease-out backwards; }
}

/* The day stepper on a phone, which sits in the header and opens a 365px calendar
   across the filter row underneath it.

   Both rails ask for z-50 and both are siblings in one stacking context, so the tie
   went to whichever came last in the document - the filter row - and the sheet opened
   behind the competition picker and the status chips. This says the stepper is above
   the row beneath it, which is a fact about the screen rather than about source order.

   In the stylesheet rather than as a utility class: a colour that fails to generate is
   a blemish, a z-index that fails to generate is a menu that opens under the page. */
.wino-dayrail {
  position: relative;
  z-index: 60;
}

/* ============ WINO DOCK - the bottom bar ============
   A glass plate with one dip cut into its top edge, and the open tab lifted out of the
   row into a disc seated in that dip. The dip and the disc are drawn from script, frame
   by frame, because a clip-path and a transform have to agree on where they are at every
   frame and not only at both ends. Everything that does not move is here.

   No shadow on the plate. clip-path clips a box-shadow with the box, and a CSS filter on
   any ancestor would make a new backdrop root and quietly turn the glass into a flat
   panel. The disc carries the shadow - it is the piece that has to look lifted. */
.wino-dock {
  position: fixed;
  z-index: 50;
  /* On the floor of the window and across it. A bar that is docked and still
     holds a gap at its foot reads as a thing that failed to land. The corners
     stay rounded at the top only, which is the edge that is still an edge. */
  inset-inline: 0;
  bottom: 0;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: stretch;
  padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px));
}

.wino-dock__plate {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 21, .62);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
          backdrop-filter: blur(22px) saturate(1.4);
}

/* the hairline that traces the same path, so the dip has an edge and not just a border
   where the plate happens to stop */
.wino-dock__edge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.wino-dock__edge path {
  fill: none;
  stroke: rgba(255, 255, 255, .17);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.wino-dock__item {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: rgba(255, 255, 255, .48);
  transition: color .25s ease;
  -webkit-tap-highlight-color: transparent;
}

.wino-dock__item[data-on] { color: var(--accent-yellow); }
.wino-dock__item:not([data-on]):hover { color: rgba(255, 255, 255, .85); }

.wino-dock__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  transition: opacity .16s ease, transform .3s cubic-bezier(.34, 1.3, .64, 1);
}

/* the open tab's icon is in the disc, so it is not also in the row */
.wino-dock__item[data-on] .wino-dock__ico {
  opacity: 0;
  transform: translateY(7px) scale(.75);
}

.wino-dock__lab {
  /* Capitals, at nine rather than ten: HOME is short and PREDICTIONS is eleven
     letters, and at ten they would not both fit the same 72px column on a phone. */
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The disc. It starts invisible because the first frame of its position comes from the
   layout effect, and a disc parked at 0,0 for one frame is a visible mistake. */
.wino-dock__disc {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #140e04;
  /* mostly black with a trace of gold: a 50px circle lit like a hero button lights
     the bar around it instead of sitting on it */
  box-shadow:
    0 8px 18px -8px rgba(0, 0, 0, .9),
    0 2px 10px -4px rgba(245, 158, 11, .4),
    inset 0 1px 0 rgba(255, 255, 255, .45);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

/* Home carries the gold ball, and a gold ball on a gold face is not a mark. Its disc is
   the dark one the central button already was, ring and all. */
.wino-dock__disc[data-ball] {
  background: #14161f;
  /* The dark face has no gold of its own, so the ring and a halo are the whole of
     its open state - which is what the bar it replaced did, and what the reference
     shot asks for. The four gold-faced discs keep the calm shadow: they are already
     gold, and a halo on them lights the bar rather than lifting them. */
  box-shadow:
    0 8px 18px -8px rgba(0, 0, 0, .9),
    0 0 22px 2px rgba(245, 158, 11, .38),
    inset 0 0 0 2px rgba(245, 158, 11, .9);
}

.wino-dock__disc svg { width: 47px; height: 47px; }

/* The open tab's glyph: its ink box covers 70% of the disc's area, 1374 of 1963 square px.
   The sizes differ because each file leaves different air around its ink. The attribute
   is in the selector on purpose: .wino-dock__disc .wino-dock__png has the same specificity
   as the row's size rule further down this sheet, so that rule won and the glyph stayed at
   its 20px row size in the disc. */
.wino-dock__disc .wino-dock__png[data-png="leaders"] { --wd-ic: 39px; }
.wino-dock__disc .wino-dock__png[data-png="predictions"] { --wd-ic: 41px; }
.wino-dock__disc .wino-dock__png[data-png="bet"] { --wd-ic: 41px; }

/* The ball. Its own file is 60px of canvas holding 49px of ink, so the canvas here is
   always about a fifth larger than what is seen. In the row it is the centre mark and
   sits a little above the glyphs beside it; in the disc it is the whole of the open
   state, and at 28 it covered under half the face. 42 puts its ink at 34 of a 50px
   disc - the share the button this replaced gave it. */
.wino-dock__ball {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.wino-dock__disc .wino-dock__ball {
  width: 42px;
  height: 42px;
}

/* Arabic is not written in capitals and does not take tracking; the site already
   makes this exception for .wino-eyebrow and .wino-gold. */
html[dir="rtl"] .wino-dock__lab {
  font-size: 10px;
  letter-spacing: normal;
  text-transform: none;
}

/* ---- the glyphs that arrive as artwork ----
   Masked, not placed. The files are solid black on transparent, and solid black on a
   near-black bar is nothing; as a mask over currentColor each takes the colour of the
   row it is in - white at 48% closed, gold open, near-black inside the disc - from the
   same one place the line icons beside them take theirs.

   A size each, because the three canvases do not agree about how much of themselves to
   fill. Read off their own alpha at 512: the leaders group spans 100% of its square at
   38% solid, the crystal ball 92% at 56%, the chip 91% at 64%. At one size the group
   would read widest and the chip heaviest.
   One size for the three, measured against the icon the bar keeps. My Account is the
   only line glyph still in the row and its ink is 18.0 x 20.0; the artwork at the
   sizes their own canvases suggested came out 22.0, 22.7 and 22.0 tall, a fifth
   larger than the row they joined. A filled glyph also reads larger than an open one
   at the same height, so the target is a little under rather than equal: 20px of
   canvas each puts all three at 18.2 of ink against My Account's 20.0. */
.wino-dock__png {
  display: block;
  width: var(--wd-ic, 24px);
  height: var(--wd-ic, 24px);
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

.wino-dock__png[data-png="leaders"] {
  --wd-ic: 20px;
  -webkit-mask-image: url("/icons/leaders.png");
          mask-image: url("/icons/leaders.png");
}

.wino-dock__png[data-png="predictions"] {
  --wd-ic: 20px;
  -webkit-mask-image: url("/icons/predictions.png");
          mask-image: url("/icons/predictions.png");
}

.wino-dock__png[data-png="bet"] {
  --wd-ic: 20px;
  -webkit-mask-image: url("/icons/bet.png");
          mask-image: url("/icons/bet.png");
}

/* >>> expert dashboard */
/* the six sections of Expert Analysis stay in reach while a long tab scrolls */
.wino-ex-tabs {
  position: sticky;
  top: -.75rem;
  z-index: 5;
  display: flex;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .3rem;
  border-radius: .875rem;
  background: #0b0e14;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 16px -10px rgba(0, 0, 0, .9);
}
.wino-ex-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .wino-ex-tabs { top: -1.25rem; } }

.wino-ex-tab {
  flex: 1 0 auto;
  padding: .45rem .7rem;
  border-radius: .625rem;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  color: rgba(255, 255, 255, .62);
  transition: color .15s ease, background-color .15s ease;
}
.wino-ex-tab[aria-selected="true"] { color: #F0E47E; background: rgba(230, 198, 92, .14); box-shadow: inset 0 0 0 1px rgba(230, 198, 92, .4); }

.wino-ex-chip {
  padding: .35rem .65rem;
  border-radius: .625rem;
  font-size: 11.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  transition: color .15s ease, background-color .15s ease, transform .1s ease;
}
.wino-ex-chip[aria-pressed="true"] { color: #140E04; background: #E6C65C; box-shadow: none; }
.wino-ex-chip:disabled { opacity: .4; }
.wino-ex-chip:active:not(:disabled) { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .wino-ex-tab:hover:not([aria-selected="true"]) { color: #fff; background: rgba(255, 255, 255, .05); }
  .wino-ex-chip:hover:not([aria-pressed="true"]):not(:disabled) { color: #fff; background: rgba(255, 255, 255, .09); }
}

.wino-ex-cell {
  aspect-ratio: 4 / 3;
  min-width: 0;
  border-radius: .375rem;
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  transition: opacity .15s ease;
}
.wino-ex-cell[data-top] { box-shadow: inset 0 0 0 1.5px #F0E47E; }
.wino-ex-cell[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 1px; }

.wino-ex-input {
  width: 100%;
  min-height: 2.5rem;
  padding: .45rem .7rem;
  border-radius: .625rem;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  color-scheme: dark;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.wino-ex-input:disabled { opacity: .55; }
.wino-ex-input option { color: #fff; background: #12151c; }

.wino-ex-dot { cursor: pointer; outline: none; }
.wino-ex-dot:focus-visible circle { stroke: #fff; stroke-width: .9; }
.wino-ex-tab:focus-visible, .wino-ex-chip:focus-visible, .wino-ex-cell:focus-visible, .wino-ex-input:focus-visible {
  outline: 2px solid #F0E47E;
  outline-offset: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .wino-ex-tab, .wino-ex-chip, .wino-ex-cell { transition: none; }
}
/* <<< expert dashboard */

/* >>> card vs */
.wino-vs {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; padding-inline-start: .08em; transform: translateY(-14px);
  font-size: 12px; font-weight: 900; letter-spacing: .08em; line-height: 1; color: #E6C65C;
  background: radial-gradient(circle at 50% 30%, rgba(230, 198, 92, .14), rgba(255, 255, 255, .02) 70%);
  border: 1px solid rgba(230, 198, 92, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 16px rgba(0, 0, 0, .35);
}
.wino-vs::before, .wino-vs::after {
  content: ""; position: absolute; left: 50%; width: 1px; height: 18px; transform: translateX(-50%);
}
.wino-vs::before { bottom: 100%; background: linear-gradient(to top, rgba(230, 198, 92, .38), transparent); }
.wino-vs::after { top: 100%; background: linear-gradient(to bottom, rgba(230, 198, 92, .38), transparent); }
/* <<< card vs */

/* >>> balance band */
.wino-wbx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.wino-wbx .wino-eyebrow { font-size: 9px; }
html[dir="rtl"] .wino-wbx .wino-eyebrow { font-size: 10px; }
.wino-wbx__money { display: flex; flex-direction: column; justify-content: center; }
.wino-wbx__rule { position: relative; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(198, 156, 60, .3) 16%, #E6C65C 40%, #F7EDA8 50%, #E6C65C 60%, rgba(198, 156, 60, .3) 84%, transparent); }
.wino-wbx__rule::before {
  content: ""; position: absolute; inset: -7px 22%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(240, 228, 126, .2), transparent 70%);
}
.wino-wbx__strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.wino-wbx__strip--game { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, .07); }
.wino-wbx__cell { min-width: 0; }
.wino-wbx__rank { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.wino-wbx__num { margin-top: 1px; font-size: 16px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; text-align: start; }
html[dir="rtl"] .wino-wbx__num { text-align: end; }
.wino-wbx__bar { height: 3px; margin-top: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.wino-wbx__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #A67C1E, #F0E47E); transition: width .4s ease; }
html[dir="rtl"] .wino-wbx__bar { transform: scaleX(-1); }
.wino-wbx__of { font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, .45); white-space: nowrap; }
.wino-wbx__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
.wino-wbx__item {
  display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px;
  font-family: var(--wino-eyebrow-font); font-size: 10px; font-weight: 500; line-height: 1.5;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-align: start;
  color: rgba(255, 255, 255, .62); transition: color .15s ease, background-color .15s ease, transform .1s ease;
}
html[dir="rtl"] .wino-wbx__item { font-size: 11px; letter-spacing: normal; text-transform: none; }
.wino-wbx__item:active:not(:disabled) { transform: scale(.97); }
.wino-wbx__item:focus-visible { outline: 2px solid #E6C65C; outline-offset: 1px; }
.wino-wbx__item:disabled { color: rgba(255, 255, 255, .34); cursor: default; }
.wino-wbx__soon {
  margin-inline-start: auto; padding: 0 5px; border-radius: 5px; font-size: 8px; line-height: 1.6; letter-spacing: .08em;
  color: rgba(230, 198, 92, .75); border: 1px solid rgba(230, 198, 92, .25);
}
html[dir="rtl"] .wino-wbx__soon { font-size: 9px; letter-spacing: normal; }
@media (hover: hover) {
  .wino-wbx__item:hover:not(:disabled) { color: #E6C65C; background: rgba(230, 198, 92, .08); }
  .wino-wbx__item--out:hover:not(:disabled) { color: #FDA4AF; background: rgba(244, 63, 94, .08); }
}
@media (min-width: 1024px) {
  .wino-wbx { grid-template-columns: auto 1px minmax(0, 1fr) 1px auto; gap: 22px; }
  .wino-wbx__money { min-width: 136px; }
  .wino-wbx__menu { flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: stretch; min-width: 148px; }
  .wino-wbx__rule { height: auto; background: linear-gradient(180deg, transparent, rgba(198, 156, 60, .3) 16%, #E6C65C 40%, #F7EDA8 50%, #E6C65C 60%, rgba(198, 156, 60, .3) 84%, transparent); }
  .wino-wbx__rule::before { inset: 22% -7px; }
  .wino-wbx__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .wino-wbx__bar i { transition: none; } }
@media (max-width: 1023.98px) {
  .wino-wbx__menu { flex-wrap: nowrap; justify-content: space-between; gap: 2px; }
  .wino-wbx__item { gap: 5px; padding: 4px; letter-spacing: .06em; }
  .wino-wbx__item svg { width: 12px; height: 12px; }
  .wino-wbx__soon { margin-inline-start: 1px; padding: 0 3px; font-size: 7px; }
  html[dir="rtl"] .wino-wbx__item { font-size: 10.5px; }
  html[dir="rtl"] .wino-wbx__soon { font-size: 8px; }
}
@media (max-width: 359.98px) {
  .wino-wbx__item > span[aria-hidden] { display: none; }
}
/* <<< balance band */

/* >>> bets page */
.wino-mcard button.wino-bprice[aria-pressed="true"] {
  background: rgba(230, 198, 92, .14);
  border-color: rgba(230, 198, 92, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(230, 198, 92, .18);
}
.wino-mcard button.wino-bprice:focus-visible { outline: 2px solid #E6C65C; outline-offset: 1px; }
.wino-mcard button.wino-bprice[aria-pressed="false"]:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(230, 198, 92, .35);
}
/* <<< bets page */

/* >>> bet markets */
/* "Odds of the Match" beats while the match can be bet on: two quick strokes, then rest,
   with the gold ring swelling on each. Only transform and box-shadow move. */
.wino-hb { position: relative; animation: wino-hb 1.4s cubic-bezier(.3, 0, .2, 1) infinite; will-change: transform; }
.wino-hb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(230, 198, 92, .55); animation: wino-hb-ring 1.4s ease-out infinite; }
.wino-hb:hover, .wino-hb:focus-visible { animation-play-state: paused; }
.wino-hb:hover::after, .wino-hb:focus-visible::after { animation-play-state: paused; }
@keyframes wino-hb {
  0%, 40%, 100% { transform: scale(1); }
  10% { transform: scale(1.06); }
  20% { transform: scale(.99); }
  30% { transform: scale(1.04); }
}
@keyframes wino-hb-ring {
  0% { box-shadow: 0 0 0 0 rgba(230, 198, 92, .5); }
  45% { box-shadow: 0 0 0 7px rgba(230, 198, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 198, 92, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .wino-hb, .wino-hb::after { animation: none; }
  .wino-hb { box-shadow: 0 0 0 1px rgba(230, 198, 92, .45); }
}

/* the window of markets: one collapsible section a market, gold dot, tiles beneath */
.wino-mk-sec { border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.wino-mk-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; text-align: start; color: #fff; }
.wino-mk-head:hover { background: rgba(255, 255, 255, .03); }
.wino-mk-head:focus-visible { outline: 2px solid #E6C65C; outline-offset: -2px; }
.wino-mk-head__dot { width: 6px; height: 6px; border-radius: 999px; background: #E6C65C; box-shadow: 0 0 8px rgba(230, 198, 92, .7); flex: none; }
.wino-mk-head__title { flex: 1 1 auto; min-width: 0; font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
html[dir="rtl"] .wino-mk-head__title { font-size: 14px; letter-spacing: 0; }
.wino-mk-head__chev { color: rgba(255, 255, 255, .5); transition: transform .2s ease; }
.wino-mk-sec[data-open] .wino-mk-head__chev { transform: rotate(180deg); }
.wino-mk-sec__body { padding: 2px 12px 12px; animation: wino-mk-in .18s ease-out; }
@keyframes wino-mk-in { from { opacity: 0; transform: translateY(-4px); } }
.wino-mk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wino-mk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wino-mk-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wino-mk-col__head { font-size: 10.5px; font-weight: 800; color: rgba(255, 255, 255, .45); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-mk-tile { display: flex; align-items: center; gap: 8px; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .07); color: #fff;
  transition: background .15s ease, border-color .15s ease, transform .1s ease; }
.wino-mk-tile:hover:not(:disabled) { background: rgba(255, 255, 255, .06); border-color: rgba(230, 198, 92, .35); }
.wino-mk-tile:active:not(:disabled) { transform: scale(.97); }
.wino-mk-tile:focus-visible { outline: 2px solid #E6C65C; outline-offset: 1px; }
.wino-mk-tile:disabled { opacity: .45; cursor: not-allowed; }
.wino-mk-tile[aria-pressed="true"] { background: rgba(230, 198, 92, .14); border-color: rgba(230, 198, 92, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 14px -4px rgba(230, 198, 92, .55); }
.wino-mk-tile__lead { flex: none; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .45); white-space: nowrap; }
.wino-mk-tile__lead--score { font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.wino-mk-tile__name { flex: 1 1 auto; min-width: 0; font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.wino-mk-tile__odd { margin-inline-start: auto; flex: none; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.wino-mk-tile[aria-pressed="true"] .wino-mk-tile__odd { color: #F3D27A; }
.wino-mk-tile[aria-pressed="true"] .wino-mk-tile__lead { color: rgba(243, 210, 122, .8); }
@media (max-width: 479.98px) {
  .wino-mk-grid--3:not(.wino-mk-grid--cols) { grid-template-columns: minmax(0, 1fr); }
  .wino-mk-grid--cols { gap: 6px; }
  .wino-mk-grid--cols .wino-mk-tile { padding: 0 8px; gap: 4px; }
  .wino-mk-grid--cols .wino-mk-tile__odd { font-size: 13px; }
}
/* the slip, collapsed, stays above the window so a pick made in it can be placed */
body:has(.wino-mk-veil) .fixed.z-\[60\].wino-3d { z-index: 10000; }
/* <<< bet markets */

/* >>> my bets window */
/* the key under the balance: the gold of the window keys, a ticket, the open count in a dark pill */
.wino-mbkey { margin-top: 8px; align-self: center; display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 8px; color: #111; font-size: 10.5px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase; transition: transform .12s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px -8px rgba(230, 198, 92, .75); }
html[dir="rtl"] .wino-mbkey { letter-spacing: 0; font-size: 12px; }
.wino-mbkey__icon svg { width: 13px; height: 13px; }
.wino-wbx__money { align-items: center; text-align: center; }
.wino-wbx__money > * { text-align: center !important; }
.wino-wbx__money > span { align-self: center !important; }
.wino-mbkey:hover { box-shadow: 0 8px 24px -8px rgba(230, 198, 92, .95); }
.wino-mbkey:active { transform: scale(.96); }
.wino-mbkey:focus-visible { outline: 2px solid #F3D27A; outline-offset: 2px; }
.wino-mbkey > * { position: relative; z-index: 1; }
.wino-mbkey__icon { display: inline-flex; }
.wino-mbkey__n { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: rgba(0, 0, 0, .82);
  color: #F3D27A; font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }

/* the window: a head with the summary and the filter, tickets beneath */
.wino-mb__head { flex: none; padding: 18px 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(230, 198, 92, .07), rgba(255, 255, 255, .02)); box-shadow: 0 1px 0 rgba(251, 191, 36, .22); }
.wino-mb__title { display: flex; align-items: center; gap: 12px; padding-inline-end: 44px; }
.wino-mb__icon { width: 38px; height: 38px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #111; background: linear-gradient(135deg, #F7EDA8, #E6C65C 45%, #B8862F); box-shadow: 0 6px 16px -6px rgba(230, 198, 92, .7); }
.wino-mb__h { font-size: 18px; font-weight: 900; color: #fff; line-height: 1.2; }
.wino-mb__bal { font-size: 12px; color: rgba(255, 255, 255, .5); margin-top: 2px; }
.wino-mb__bal b { color: #F3D27A; font-weight: 800; font-variant-numeric: tabular-nums; }
.wino-mb__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.wino-mb__stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px; border-radius: 12px;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); }
.wino-mb__statLabel { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[dir="rtl"] .wino-mb__statLabel { letter-spacing: 0; font-size: 11px; }
.wino-mb__statValue { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[dir="rtl"] .wino-mb__statValue { text-align: end; }
.wino-mb__statSub { font-size: 11px; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }
html[dir="rtl"] .wino-mb__statSub { text-align: end; }
.wino-mb__tabs { display: flex; gap: 4px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.wino-mb__tabs::-webkit-scrollbar { display: none; }
.wino-mb__tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px 12px;
  font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .5); transition: color .15s ease; }
.wino-mb__tab:hover { color: rgba(255, 255, 255, .85); }
.wino-mb__tab[aria-selected="true"] { color: #F3D27A; }
.wino-mb__tab[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 10px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #B8862F, #F7EDA8, #B8862F); box-shadow: 0 0 10px rgba(230, 198, 92, .6); }
.wino-mb__tab:focus-visible { outline: 2px solid #E6C65C; outline-offset: -2px; border-radius: 8px; }
.wino-mb__n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: rgba(255, 255, 255, .08);
  font-size: 10.5px; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.wino-mb__tab[aria-selected="true"] .wino-mb__n { background: rgba(230, 198, 92, .18); }
.wino-mb__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wino-mb__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 0; color: rgba(255, 255, 255, .4); font-size: 14px; }

/* a ticket: a coloured edge for its status, a torn line above the figures */
.wino-tk { --tk: rgba(230, 198, 92, .9); position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .08);
  animation: wino-tk-in .32s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 35ms);
  transition: border-color .2s ease, transform .2s ease; }
.wino-tk:hover { border-color: rgba(230, 198, 92, .3); transform: translateY(-1px); }
.wino-tk::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--tk); box-shadow: 0 0 14px var(--tk); }
.wino-tk[data-s="WON"] { --tk: rgba(52, 211, 153, .9); }
.wino-tk[data-s="LOST"] { --tk: rgba(251, 113, 133, .75); }
.wino-tk[data-s="VOID"] { --tk: rgba(255, 255, 255, .3); }
.wino-tk[data-s="WON"] { background: linear-gradient(180deg, rgba(52, 211, 153, .07), rgba(255, 255, 255, .015)); }
@keyframes wino-tk-in { from { opacity: 0; transform: translateY(8px); } }
.wino-tk__top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 0 16px; }
html[dir="rtl"] .wino-tk__top { padding: 14px 16px 0 14px; }
.wino-tk__crests { display: flex; flex: none; }
.wino-tk__crest { width: 30px; height: 30px; object-fit: contain; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1); }
.wino-tk__crest + .wino-tk__crest { margin-inline-start: -8px; }
.wino-tk__fixture { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[dir="rtl"] .wino-tk__fixture { text-align: end; }
.wino-tk__meta { font-size: 11px; color: rgba(255, 255, 255, .4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wino-tk__pick { padding: 12px 16px 14px; }
.wino-tk__side { font-size: 17px; font-weight: 900; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wino-tk__market { margin-top: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
html[dir="rtl"] .wino-tk__market { letter-spacing: 0; font-size: 11.5px; }
.wino-tk__foot { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.3fr; padding: 12px 16px 14px;
  border-top: 1.5px dashed rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .22); }
.wino-tk__foot::before, .wino-tk__foot::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 999px;
  background: #0b0d12; border: 1px solid rgba(255, 255, 255, .08); }
.wino-tk__foot::before { left: -9px; } .wino-tk__foot::after { right: -9px; }
.wino-tk__cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wino-tk__cell:last-child { align-items: flex-end; }
.wino-tk__label { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .38); white-space: nowrap; }
html[dir="rtl"] .wino-tk__label { letter-spacing: 0; font-size: 11px; }
.wino-tk__value { font-size: 14px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wino-tk__cell:last-child .wino-tk__value { font-size: 17px; font-weight: 900; }
html[dir="rtl"] .wino-tk__value { text-align: end; }
@media (max-width: 639.98px) {
  .wino-mb__list { grid-template-columns: minmax(0, 1fr); }
  .wino-mb__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wino-mb__head { padding: 16px 14px 0; }
}
@media (prefers-reduced-motion: reduce) { .wino-tk { animation: none; } .wino-tk:hover { transform: none; } }
/* a figure in the balance band that opens its bets */
.wino-wbx__cell--link { display: block; width: 100%; text-align: start; font: inherit; color: inherit; cursor: pointer;
  margin: -4px -8px; padding: 4px 8px; width: calc(100% + 16px); border-radius: 8px; transition: background .15s ease; }
.wino-wbx__cell--link:hover { background: rgba(230, 198, 92, .08); }
.wino-wbx__cell--link:active { background: rgba(230, 198, 92, .14); }
.wino-wbx__cell--link:focus-visible { outline: 2px solid #E6C65C; outline-offset: 0; }
/* <<< my bets window */

/* >>> predictions page */
/* the title's mark: the bottom menu's Predictions icon on the menu's own gold disc */
.wino-predmark { flex: none; width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%); color: #140e04;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .9), 0 2px 10px -4px rgba(245, 158, 11, .4), inset 0 1px 0 rgba(255, 255, 255, .45); }
.wino-predmark .wino-dock__png { --wd-ic: 24px; }
@media (min-width: 768px) { .wino-predmark { width: 46px; height: 46px; } .wino-predmark .wino-dock__png { --wd-ic: 27px; } }
/* <<< predictions page */

/* >>> bets empty */
.wino-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px 44px; position: relative; overflow: hidden; }
.wino-empty::before { content: ""; position: absolute; top: -60px; left: 50%; width: 320px; height: 220px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(230, 198, 92, .16), transparent); pointer-events: none; }
.wino-empty__crest { position: relative; width: 92px; height: 92px; margin-bottom: 14px; animation: wino-empty-float 5s ease-in-out infinite; }
.wino-empty__crest img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(230, 198, 92, .28)); user-select: none; }
@keyframes wino-empty-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.wino-empty__title { position: relative; font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em;
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, .72)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="rtl"] .wino-empty__title { font-size: 22px; letter-spacing: 0; }
.wino-empty__rule { display: block; width: 56px; height: 2px; margin: 14px 0 12px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #E6C65C, transparent); box-shadow: 0 0 10px rgba(230, 198, 92, .45); }
.wino-empty__hint { position: relative; font-size: 13px; color: rgba(255, 255, 255, .45); }
@media (prefers-reduced-motion: reduce) { .wino-empty__crest { animation: none; } }
@media (max-width: 639.98px) { .wino-empty { padding: 32px 18px 36px; } .wino-empty__crest { width: 76px; height: 76px; } .wino-empty__title, html[dir="rtl"] .wino-empty__title { font-size: 18px; } }
/* <<< bets empty */

/* >>> empty notes */
.wino-note { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 32px; }
.wino-note__ring { width: 46px; height: 46px; margin-bottom: 12px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  color: #E6C65C; background: radial-gradient(circle at 50% 35%, rgba(230, 198, 92, .16), rgba(255, 255, 255, .03) 70%);
  border: 1px solid rgba(230, 198, 92, .35); box-shadow: 0 0 22px -6px rgba(230, 198, 92, .45), inset 0 1px 0 rgba(255, 255, 255, .08); }
.wino-note__title { font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, .88); letter-spacing: -.005em; }
html[dir="rtl"] .wino-note__title { font-size: 17px; letter-spacing: 0; }
.wino-note__hint { margin-top: 5px; max-width: 34ch; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .42); }
/* <<< empty notes */

/* >>> live chat */
/* the Live Match window with the chat beside it: side by side from 1024px, stacked below */
.wino-mdlg--aside { max-width: 78rem; }
.wino-mdlg__row { display: flex; flex-direction: column; gap: 14px; }
.wino-mdlg__row > .wino-mdlg__pane { flex: 1 1 auto; min-width: 0; }
/* on a phone the room takes what the screen has left under the player, never less than 380px */
.wino-mdlg__aside { position: relative; height: max(380px, min(calc(100dvh - 480px), 640px)); }
@media (min-width: 1024px) {
  .wino-mdlg__row { flex-direction: row; align-items: stretch; }
  .wino-mdlg__aside { flex: 0 0 360px; height: auto; min-height: 560px; }
}
@media (min-width: 1280px) { .wino-mdlg__aside { flex-basis: 380px; } }

.wino-lc { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 1.5rem; overflow: hidden;
  animation: wino-lc-in .42s cubic-bezier(.22, 1, .36, 1) both .06s; }
.wino-lc::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 0%, rgba(230, 198, 92, .10), transparent 70%); }
@keyframes wino-lc-in { from { opacity: 0; transform: translateX(var(--lc-from, 18px)) scale(.985); } to { opacity: 1; transform: none; } }
html[dir="rtl"] .wino-lc { --lc-from: -18px; }
@media (max-width: 1023.98px) { .wino-lc { --lc-from: 0; animation-name: wino-lc-up; } }
@keyframes wino-lc-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* head */
.wino-lc-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.wino-lc-head__t { display: flex; align-items: center; gap: 9px; }
.wino-lc-head__t h3 { font-size: 16px; font-weight: 700; color: #fff; }
html[dir="rtl"] .wino-lc-head__t h3 { font-size: 17px; }
.wino-lc-here { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.wino-lc-here b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }

/* the crowd's predictions */
.wino-lc-crowd { position: relative; padding: 11px 16px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
.wino-lc-crowd__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wino-lc-crowd__t { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
html[dir="rtl"] .wino-lc-crowd__t { letter-spacing: 0; font-size: 12px; }
.wino-lc-crowd__t em { font-style: normal; color: #E6C65C; font-variant-numeric: tabular-nums; }
.wino-lc-crowd__btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  color: #1a1305; background: linear-gradient(135deg, #D8B24C, #F0E47E); box-shadow: 0 6px 16px -6px rgba(230, 198, 92, .6);
  transition: transform .12s ease, box-shadow .2s ease; }
.wino-lc-crowd__btn:hover { box-shadow: 0 8px 22px -6px rgba(230, 198, 92, .8); }
.wino-lc-crowd__btn:active { transform: scale(.96); }
.wino-lc-crowd__btn.is-set { color: #E6C65C; background: rgba(230, 198, 92, .1); box-shadow: inset 0 0 0 1px rgba(230, 198, 92, .45); font-variant-numeric: tabular-nums; }
.wino-lc-crowd__closed { font-size: 11px; color: rgba(255, 255, 255, .4); }
.wino-lc-crowd__bar { display: flex; gap: 3px; height: 7px; margin-top: 10px; border-radius: 999px; overflow: hidden; }
.wino-lc-crowd__bar span { flex-basis: 0; min-width: 4px; border-radius: 999px; transition: flex-grow .6s cubic-bezier(.22, 1, .36, 1); }
.wino-lc-crowd .h { background: linear-gradient(90deg, #C9A23C, #F0E47E); }
.wino-lc-crowd .d { background: rgba(255, 255, 255, .32); }
.wino-lc-crowd .a { background: linear-gradient(90deg, #38bdf8, #7dd3fc); }
.wino-lc-crowd__legend { display: flex; justify-content: space-between; gap: 6px; margin-top: 7px; font-size: 11px; color: rgba(255, 255, 255, .55); }
.wino-lc-crowd__legend span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.wino-lc-crowd__legend i { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.wino-lc-crowd__legend b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.wino-lc-crowd__score { margin-top: 6px; font-size: 11px; color: rgba(255, 255, 255, .45); }
.wino-lc-crowd__score b { color: #E6C65C; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 639.98px) { .wino-lc-crowd { padding: 9px 14px 10px; } .wino-lc-crowd__score { display: none; } }
.wino-lc-crowd__none { margin-top: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .42); }

/* the room */
.wino-lc-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.wino-lc-list { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 2px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px); mask-image: linear-gradient(180deg, transparent 0, #000 16px); }
.wino-lc-msg { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; max-width: 100%; }
.wino-lc-msg.is-joined { margin-top: 2px; }
.wino-lc-msg.is-mine { flex-direction: row-reverse; }
.wino-lc-msg.is-fresh { animation: wino-lc-msg .38s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes wino-lc-msg { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wino-lc-av { flex: none; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 10.5px; font-weight: 900; color: #0b0d14;
  background: var(--c); box-shadow: 0 0 0 2px rgba(11, 13, 20, .9), 0 0 0 3px color-mix(in srgb, var(--c) 45%, transparent); }
.wino-lc-av.is-ghost { visibility: hidden; height: 0; }
.wino-lc-msg__col { display: flex; flex-direction: column; min-width: 0; max-width: calc(100% - 44px); }
.wino-lc-msg.is-mine .wino-lc-msg__col { align-items: flex-end; }
.wino-lc-msg__meta { display: flex; align-items: baseline; gap: 6px; margin: 0 4px 3px; font-size: 11px; color: rgba(255, 255, 255, .38); }
.wino-lc-msg__name { font-weight: 800; color: var(--c); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-lc-msg.is-mine .wino-lc-msg__name { color: #E6C65C; }
.wino-lc-msg__min { padding: 0 5px; border-radius: 5px; font-size: 10px; font-weight: 800; color: #6ee7a0; background: rgba(52, 211, 110, .12); font-variant-numeric: tabular-nums; }
.wino-lc-msg__meta time { font-variant-numeric: tabular-nums; }
.wino-lc-msg__row { display: flex; align-items: center; gap: 4px; max-width: 100%; }
.wino-lc-msg.is-mine .wino-lc-msg__row { flex-direction: row-reverse; }
.wino-lc-bub { padding: 8px 12px; border-radius: 16px; border-end-start-radius: 6px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .07); overflow-wrap: anywhere; white-space: pre-wrap; }
.wino-lc-msg.is-joined .wino-lc-bub { border-start-start-radius: 8px; }
.wino-lc-msg.is-mine .wino-lc-bub { border-radius: 16px; border-end-end-radius: 6px; color: #1a1305; font-weight: 600; border-color: transparent;
  background: linear-gradient(135deg, #D8B24C, #F0E47E 80%); box-shadow: 0 6px 18px -8px rgba(230, 198, 92, .55); }
.wino-lc-stk img, .wino-lc-stk svg { display: block; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.wino-lc-msg.is-fresh .wino-lc-stk img, .wino-lc-msg.is-fresh .wino-lc-stk svg { animation: wino-lc-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes wino-lc-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.wino-lc-del { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, .4); opacity: 0; transition: opacity .15s, color .15s, background .15s; }
.wino-lc-msg:hover .wino-lc-del, .wino-lc-del:focus-visible { opacity: 1; }
.wino-lc-del:hover { color: #fda4af; background: rgba(253, 164, 175, .1); }
@media (hover: none) { .wino-lc-del { opacity: .55; } }

/* a prediction said in the room */
.wino-lc-pick { display: flex; flex-direction: column; gap: 6px; padding: 9px 12px 10px; border-radius: 14px; min-width: 150px;
  background: linear-gradient(160deg, rgba(230, 198, 92, .16), rgba(230, 198, 92, .04)); border: 1px solid rgba(230, 198, 92, .35); }
.wino-lc-pick__lab { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #E6C65C; }
html[dir="rtl"] .wino-lc-pick__lab { letter-spacing: 0; font-size: 11.5px; }
.wino-lc-pick__score { display: flex; align-items: center; justify-content: center; gap: 8px; }
.wino-lc-pick__score b { font-size: 22px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.wino-lc-pick__score i { font-style: normal; color: rgba(255, 255, 255, .4); font-weight: 800; }

/* a voice note */
.wino-lc-voice { display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 7px; border-radius: 999px; min-width: 200px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
html[dir="rtl"] .wino-lc-voice { padding: 7px 7px 7px 12px; }
.wino-lc-voice.is-mine { background: linear-gradient(135deg, rgba(216, 178, 76, .28), rgba(240, 228, 126, .14)); border-color: rgba(230, 198, 92, .4); }
.wino-lc-voice__btn { flex: none; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; color: #1a1305;
  background: linear-gradient(135deg, #D8B24C, #F0E47E); transition: transform .12s ease; }
.wino-lc-voice__btn:active { transform: scale(.92); }
.wino-lc-voice__wave { flex: 1 1 auto; display: flex; align-items: center; gap: 2px; height: 26px; }
.wino-lc-voice__wave i { flex: 1 1 0; min-width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: background .2s; }
.wino-lc-voice__wave i.on { background: #E6C65C; }
.wino-lc-voice__t { flex: none; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; min-width: 28px; text-align: end; }
.wino-lc-spin { width: 14px; height: 14px; border-radius: 999px; border: 2px solid rgba(26, 19, 5, .25); border-top-color: #1a1305; animation: wino-lc-spin .7s linear infinite; }
@keyframes wino-lc-spin { to { transform: rotate(360deg); } }

/* empty, closed, signed out */
.wino-lc-empty, .wino-lc-gate { margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 18px; }
.wino-lc-empty p, .wino-lc-gate p { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .88); }
.wino-lc-empty span, .wino-lc-gate span { font-size: 12px; color: rgba(255, 255, 255, .42); max-width: 30ch; }
.wino-lc-empty__stk { margin-bottom: 4px; animation: wino-empty-float 5s ease-in-out infinite; }
.wino-lc-gate { flex: 1; justify-content: center; }
.wino-lc-gate__ring { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 999px; display: grid; place-items: center; color: #E6C65C;
  background: radial-gradient(circle at 50% 35%, rgba(230, 198, 92, .16), rgba(255, 255, 255, .03) 70%); border: 1px solid rgba(230, 198, 92, .35); }

/* reactions that rise up the room */
.wino-lc-floats { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wino-lc-float { position: absolute; bottom: 4px; animation: wino-lc-rise 3s cubic-bezier(.25, .7, .3, 1) forwards; will-change: transform, opacity; }
.wino-lc-float img, .wino-lc-float svg { display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
@keyframes wino-lc-rise {
  0% { transform: translate(0, 10px) scale(calc(var(--s) * .4)); opacity: 0; }
  12% { transform: translate(calc(var(--dx) * .15), -30px) scale(var(--s)); opacity: 1; }
  70% { opacity: .95; }
  100% { transform: translate(var(--dx), -330px) scale(calc(var(--s) * .9)); opacity: 0; }
}
.wino-lc-newer { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; color: #1a1305; background: linear-gradient(135deg, #D8B24C, #F0E47E); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7);
  animation: wino-lc-msg .3s ease both; }
.wino-lc-newer b { padding: 0 6px; border-radius: 999px; background: rgba(26, 19, 5, .18); }
.wino-lc-note { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: 12px;
  font-size: 12px; color: #fff; text-align: center; background: rgba(20, 22, 30, .95); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 30px -10px #000;
  animation: wino-lc-msg .25s ease both; }

/* the prediction sheet, over the room */
.wino-lc-sheet { position: absolute; inset: auto 10px 10px; z-index: 3; padding: 14px 14px 14px; border-radius: 18px; background: #11131b;
  border: 1px solid rgba(230, 198, 92, .35); box-shadow: 0 24px 50px -16px #000, inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: wino-lc-sheet .32s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes wino-lc-sheet { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
.wino-lc-sheet__head { display: flex; align-items: center; justify-content: space-between; }
.wino-lc-sheet__head p { font-size: 16px; font-weight: 700; color: #fff; }
.wino-lc-sheet__note { margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.wino-lc-sheet__row { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin: 14px 0; }
.wino-lc-sheet__side { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wino-lc-sheet__name { max-width: 100%; font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-lc-sheet__dash { padding-bottom: 12px; font-size: 20px; font-weight: 900; color: rgba(255, 255, 255, .35); }
.wino-lc-step { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.wino-lc-step button { width: 30px; height: 30px; border-radius: 9px; font-size: 18px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .06); transition: background .15s, transform .1s; }
.wino-lc-step button:hover:not(:disabled) { background: rgba(230, 198, 92, .2); }
.wino-lc-step button:active:not(:disabled) { transform: scale(.92); }
.wino-lc-step button:disabled { opacity: .3; }
.wino-lc-step output { width: 34px; text-align: center; font-size: 22px; font-weight: 900; color: #E6C65C; font-variant-numeric: tabular-nums; }
.wino-lc-sheet__go { display: block; width: 100%; padding: 10px; border-radius: 12px; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #000; }
html[dir="rtl"] .wino-lc-sheet__go { letter-spacing: 0; font-size: 13px; }

/* quick reactions — single compact line to maximize chat area */
.wino-lc-reacts { display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 4px 6px 2px; border-top: 1px solid rgba(255, 255, 255, .06); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.wino-lc-reacts::-webkit-scrollbar { display: none; }
.wino-lc-react { position: relative; flex: 0 0 auto; width: 22px; height: 24px; padding: 1px; border-radius: 7px; display: grid; place-items: center; transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background .15s, border-color .15s; }
.wino-lc-react--typo { flex: 1 1 38px; width: auto; max-width: 44px; min-width: 34px; height: 24px; padding: 1px 2px; border-radius: 7px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); overflow: visible; }
.wino-lc-react--typo svg { width: 100%; height: auto; max-height: 20px; }
.wino-lc-react--crest { width: 24px; height: 24px; padding: 1px; border-radius: 7px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); overflow: visible; }
.wino-lc-react--crest svg { width: 21px; height: 21px; }
.wino-lc-react:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px) scale(1.38); z-index: 3; }
.wino-lc-react--typo:hover, .wino-lc-react--crest:hover { background: rgba(230, 198, 92, .12); border-color: rgba(230, 198, 92, .45); transform: translateY(-3px) scale(1.32); z-index: 3; }
.wino-lc-react:active { transform: scale(.88); transition-duration: .06s; }

/* stickers and emoji */
.wino-lc-pop { position: absolute; left: 10px; right: 10px; bottom: 66px; z-index: 4; border-radius: 16px; background: #11131b; box-shadow: 0 -18px 40px -12px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden;
  animation: wino-lc-sheet .26s cubic-bezier(.22, 1, .36, 1) both; }
.wino-lc-pop__tabs { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.wino-lc-pop__tabs button { flex: 1; padding: 6px; border-radius: 10px; font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .55); transition: background .15s, color .15s; }
.wino-lc-pop__tabs button[aria-selected="true"] { color: #1a1305; background: linear-gradient(135deg, #D8B24C, #F0E47E); }
.wino-lc-pop__scroll { max-height: 224px; overflow-y: auto; }
.wino-lc-pop__typo { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.wino-lc-pop__typo button { display: grid; place-items: center; height: 38px; padding: 2px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .15s, border-color .15s, transform .18s cubic-bezier(.34, 1.56, .64, 1); }
.wino-lc-pop__typo button:hover { background: rgba(230, 198, 92, .12); border-color: rgba(230, 198, 92, .45); transform: translateY(-2px) scale(1.08); }
.wino-lc-pop__typo button svg { max-width: 100%; max-height: 32px; width: auto; height: auto; }
.wino-lc-pop__grid { display: grid; gap: 2px; padding: 8px; }
.wino-lc-pop__grid.is-stk { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
.wino-lc-pop__grid.is-emo { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); max-height: 210px; overflow-y: auto; }
.wino-lc-pop__grid button { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; font-size: 22px; transition: background .15s, transform .15s cubic-bezier(.34, 1.56, .64, 1); }
.wino-lc-pop__grid button:hover { background: rgba(255, 255, 255, .08); transform: scale(1.1); }
.wino-lc-pop__credit { padding: 4px 10px 7px; font-size: 9.5px; color: rgba(255, 255, 255, .3); }

/* kinetic typography animated stickers */
.wino-typo { overflow: visible; user-select: none; }
.wino-typo g, .wino-typo path, .wino-typo ellipse, .wino-typo polygon, .wino-typo circle, .wino-typo text { transform-box: fill-box; transform-origin: center; }

.wino-t1-top { animation: wino-t1-surge 1.75s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.wino-t1-bot { animation: wino-t1-stamp 1.75s cubic-bezier(.22, 1, .36, 1) infinite; }
.wino-t1-lines { animation: wino-t1-streak .88s ease-in-out infinite; }
.wino-t1-ring { animation: wino-t1-ring 1.75s ease-out infinite; }
.wino-t1-shine { animation: wino-t1-shine 1.75s ease-in-out infinite; }
@keyframes wino-t1-surge {
  0%, 100% { transform: translateX(0) scale(1); }
  18% { transform: translateX(-6px) scale(.94) rotate(-2deg); }
  38% { transform: translateX(4px) scale(1.09) rotate(1.5deg); }
  58% { transform: translateX(0) scale(1.02); }
}
@keyframes wino-t1-stamp {
  0%, 100% { transform: scale(1); }
  26% { transform: scale(.91) translateY(3px); }
  46% { transform: scale(1.08) translateY(-2px); }
  65% { transform: scale(1); }
}
@keyframes wino-t1-streak {
  0%, 100% { transform: translateX(0); opacity: .45; }
  50% { transform: translateX(-7px); opacity: 1; }
}
@keyframes wino-t1-ring {
  0%, 28% { transform: scale(.72); opacity: 0; }
  45% { opacity: .85; }
  85%, 100% { transform: scale(1.16); opacity: 0; }
}
@keyframes wino-t1-shine {
  0%, 22% { transform: translateX(-115px) skewX(-20deg); opacity: 0; }
  35% { opacity: 1; }
  75%, 100% { transform: translateX(135px) skewX(-20deg); opacity: 0; }
}

.wino-t2-burst { animation: wino-t2-pulse 1.35s ease-in-out infinite; }
.wino-t2-shake { animation: wino-t2-quake 1.35s linear infinite; }
.wino-t2-ch { animation: wino-t2-jump 1.35s cubic-bezier(.34, 1.56, .64, 1) infinite; animation-delay: calc(var(--i) * .065s); }
.wino-t2-gl1 { animation: wino-t2-gl1 1.35s steps(2, end) infinite; }
.wino-t2-gl2 { animation: wino-t2-gl2 1.35s steps(2, end) infinite; }
.wino-t2-zap { animation: wino-t2-zap .68s ease-in-out infinite alternate; }
.wino-t2-emb1 { animation: wino-t2-emb 1.1s ease-out infinite; }
.wino-t2-emb2 { animation: wino-t2-emb 1.1s ease-out .35s infinite; }
.wino-t2-emb3 { animation: wino-t2-emb 1.1s ease-out .7s infinite; }
@keyframes wino-t2-pulse {
  0%, 100% { transform: scale(.96); }
  42% { transform: scale(1.05); }
}
@keyframes wino-t2-jump {
  0%, 72%, 100% { transform: translateY(0) scale(1); }
  28% { transform: translateY(-8px) scale(1.13); }
  48% { transform: translateY(2px) scale(.97); }
}
@keyframes wino-t2-quake {
  0%, 38%, 68%, 100% { transform: translate(0, 0); }
  44% { transform: translate(-3px, 2px); }
  50% { transform: translate(3px, -2px); }
  56% { transform: translate(-2.5px, -1.5px); }
  62% { transform: translate(2.5px, 1.5px); }
}
@keyframes wino-t2-gl1 {
  0%, 38%, 66%, 100% { opacity: 0; transform: translate(0, 0); }
  42%, 58% { opacity: .85; transform: translate(-5px, -2px); }
}
@keyframes wino-t2-gl2 {
  0%, 38%, 66%, 100% { opacity: 0; transform: translate(0, 0); }
  44%, 60% { opacity: .85; transform: translate(5px, 2px); }
}
@keyframes wino-t2-zap { from { transform: scale(.85) rotate(-8deg); opacity: .6; } to { transform: scale(1.18) rotate(6deg); opacity: 1; } }
@keyframes wino-t2-emb { 0% { transform: translateY(14px) scale(1.1); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-18px) scale(.3); opacity: 0; } }

.wino-t3-ch { animation: wino-t3-wave 1.4s cubic-bezier(.34, 1.56, .64, 1) infinite; animation-delay: calc(var(--i) * .08s); }
.wino-t3-r1 { animation: wino-t3-ring 1.4s ease-out infinite; }
.wino-t3-r2 { animation: wino-t3-ring 1.4s ease-out .45s infinite; }
@keyframes wino-t3-wave {
  0%, 66%, 100% { transform: translateY(0) scale(1); }
  26% { transform: translateY(-8px) scale(1.18, 1.22); }
  44% { transform: translateY(2px) scale(.95, .92); }
}
@keyframes wino-t3-ring {
  0% { transform: scale(.45); opacity: 0; }
  25% { opacity: .9; }
  100% { transform: scale(1.38, 1.3); opacity: 0; }
}

.wino-t4-flag { animation: wino-t4-flutter 1.5s ease-in-out infinite; }
.wino-t4-star { animation: wino-t4-star 1.5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.wino-t5-crest { animation: wino-t5-rock 1.55s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.wino-t6-crest { animation: wino-t6-royal 1.6s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.wino-t6-rays { animation: wino-t6-spin 7s linear infinite; }
@keyframes wino-t4-flutter {
  0%, 100% { transform: rotate(-3.5deg) skewY(-2deg) scale(1); }
  50% { transform: rotate(4deg) skewY(2.5deg) scale(1.06, .98); }
}
@keyframes wino-t4-star {
  0%, 100% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.18) rotate(8deg); }
}
@keyframes wino-t5-rock {
  0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
  40% { transform: translateY(-4px) rotate(4.5deg) scale(1.1); }
  72% { transform: translateY(1px) rotate(-2deg) scale(.97); }
}
@keyframes wino-t6-royal {
  0%, 100% { transform: translateY(0) rotate(3.5deg) scale(1); }
  42% { transform: translateY(-5px) rotate(-4deg) scale(1.1); }
  75% { transform: translateY(1px) rotate(1.5deg) scale(.97); }
}
@keyframes wino-t6-spin { to { transform: rotate(360deg); } }

.wino-t-sp { animation: wino-t-twinkle 1.2s ease-in-out infinite; }
.wino-t-sp2 { animation-delay: .4s; }
.wino-t-sp3 { animation-delay: .8s; }
@keyframes wino-t-twinkle {
  0%, 100% { transform: scale(.35) rotate(0deg); opacity: .25; }
  50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
}

/* composer */
.wino-lc-comp { display: flex; align-items: center; gap: 6px; padding: 6px 10px 10px; }
.wino-lc-input { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.wino-lc-input::placeholder { color: rgba(255, 255, 255, .35); }
.wino-lc-input:focus { border-color: rgba(230, 198, 92, .55); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(230, 198, 92, .12); }
.wino-lc-ibtn { flex: none; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: rgba(255, 255, 255, .6); transition: color .15s, background .15s, transform .1s; }
.wino-lc-ibtn:hover, .wino-lc-ibtn.is-on { color: #E6C65C; background: rgba(230, 198, 92, .1); }
.wino-lc-ibtn:active { transform: scale(.92); }
.wino-lc-send { flex: none; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; color: #E6C65C;
  background: rgba(230, 198, 92, .1); border: 1px solid rgba(230, 198, 92, .3); transition: transform .12s ease, background .2s, color .2s, box-shadow .2s; animation: wino-lc-pop .28s cubic-bezier(.34, 1.56, .64, 1) both; }
.wino-lc-send.is-on { color: #1a1305; background: linear-gradient(135deg, #D8B24C, #F0E47E); border-color: transparent; box-shadow: 0 8px 20px -6px rgba(230, 198, 92, .65); }
.wino-lc-send:active { transform: scale(.9); }
html[dir="rtl"] .wino-lc-send svg { transform: scaleX(-1); }
.wino-lc-comp.is-rec { animation: wino-lc-msg .25s ease both; }
.wino-lc-recbar { flex: 1 1 auto; min-width: 0; height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-radius: 999px;
  background: rgba(244, 63, 94, .08); border: 1px solid rgba(244, 63, 94, .35); }
.wino-lc-recdot { width: 9px; height: 9px; border-radius: 999px; background: #f43f5e; box-shadow: 0 0 0 0 rgba(244, 63, 94, .6); animation: wino-lc-rec 1.2s ease-out infinite; }
@keyframes wino-lc-rec { 0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, .55); } 100% { box-shadow: 0 0 0 9px rgba(244, 63, 94, 0); } }
.wino-lc-rect { font-size: 12.5px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.wino-lc-reclv { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 2px; height: 24px; overflow: hidden; }
.wino-lc-reclv i { flex: none; width: 3px; border-radius: 2px; background: #fb7185; transition: height .1s linear; }

@media (prefers-reduced-motion: reduce) {
  .wino-lc, .wino-lc-msg.is-fresh, .wino-lc-sheet, .wino-lc-pop, .wino-lc-send, .wino-lc-msg.is-fresh .wino-lc-stk img, .wino-lc-empty__stk { animation: none; }
  .wino-lc-float { animation-duration: 1.2s !important; animation-name: wino-lc-fade; }
  @keyframes wino-lc-fade { 0%, 100% { opacity: 0; } 30%, 70% { opacity: 1; } }
}
/* <<< live chat */

/* >>> leaders page */
/* the player's initial in the dashboard's crest tile */
.wino-lb-face { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wino-lb-face > span { font-family: inherit; font-weight: 800; font-size: 22px; line-height: 1; color: var(--lb-tone, rgba(255,255,255,.88));
  text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.wino-lb-face.w-9 > span { font-size: 15px; }
.wino-lb-face.has-photo { position: relative; overflow: hidden; padding: 0; }
.wino-lb-face.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  animation: wino-lb-photo .35s ease-out both; }
.wino-lb-face.has-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.wino-lb-pod .wino-lb-face.has-photo::after { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lb-tone, #fff) 55%, transparent); }
@keyframes wino-lb-photo { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 640px) { .wino-lb-face.sm\:w-16 > span { font-size: 26px; } }

.wino-lb-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wino-lb-ring svg { position: absolute; inset: 0; }
.wino-lb-ring > span { position: relative; font-size: 10.5px; font-weight: 800; color: rgba(255,255,255,.9); }

/* the top three: the dashboard card, with the place's medal tone as its only colour */
.wino-lb-medal { display: inline-flex; color: var(--lb-tone); }
.wino-lb-big { color: #fff; }
.wino-lb-pod .wino-lb-big { color: #fbbf24; }
.wino-lb-pod--first .wino-lb-big { background: linear-gradient(180deg, #FDE68A, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wino-lb-pod::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 11;
  background: linear-gradient(90deg, transparent, var(--lb-tone), transparent); opacity: .75; }
.wino-lb-pod::after { content: ""; position: absolute; top: -40px; left: 50%; width: 220px; height: 120px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--lb-tone), transparent); opacity: .12; pointer-events: none; }
.wino-lb-pod--first { border-color: rgba(245, 196, 81, .32) !important;
  box-shadow: 0 24px 60px -30px rgba(245, 158, 11, .45), inset 0 1px 0 rgba(255,255,255,.06); }
.wino-lb-pod--me { outline: 1px solid rgba(245, 158, 11, .35); outline-offset: -1px; }
.wino-lb-slot { animation: wino-lb-rise .6s cubic-bezier(.22,1,.36,1) both; }
.wino-lb-slot--1 { order: 1; animation-delay: .05s; }
.wino-lb-slot--2 { order: 2; animation-delay: .15s; }
.wino-lb-slot--3 { order: 3; animation-delay: .25s; }
@media (min-width: 640px) {
  .wino-lb-podium { align-items: end; }
  .wino-lb-slot--2 { order: 1; }
  .wino-lb-slot--1 { order: 2; }
  .wino-lb-slot--1 .wino-lb-pod { transform: translateY(-10px); }
}
@keyframes wino-lb-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the admin's refresh, as a quiet glass row */
.wino-lb-admin__mark { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: #fca5a5; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .22); }

/* the ten most accurate */
.wino-lb-bars { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.wino-lb-bar { display: grid; grid-template-columns: 22px minmax(84px, 170px) 1fr 52px; grid-template-areas: "n name track v" ". . p p";
  align-items: center; column-gap: 12px; row-gap: 0; animation: wino-lb-rise .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i) * 45ms); }
.wino-lb-bar__n { grid-area: n; font-size: 13px; font-weight: 800; color: rgba(255,255,255,.4); text-align: center; }
.wino-lb-bar__name { grid-area: name; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88); }
.wino-lb-bar.is-me .wino-lb-bar__name { color: #fbbf24; }
.wino-lb-bar__track { grid-area: track; height: 10px; border-radius: 999px; overflow: hidden; position: relative; }
.wino-lb-bar__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, #b45309, #f59e0b 60%, #fde68a); box-shadow: 0 0 12px rgba(245,158,11,.35);
  transform-origin: left center; animation: wino-lb-grow 1s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i) * 45ms + .15s); }
[dir="rtl"] .wino-lb-bar__fill { transform-origin: right center; background: linear-gradient(270deg, #b45309, #f59e0b 60%, #fde68a); }
@keyframes wino-lb-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wino-lb-bar__v { grid-area: v; font-size: 12.5px; font-weight: 800; color: #fbbf24; text-align: end; }
.wino-lb-bar__p { grid-area: p; font-size: 10.5px; color: rgba(255,255,255,.35); text-align: end; margin-top: 2px; }
@media (max-width: 639px) { .wino-lb-bar { grid-template-columns: 18px minmax(70px, 110px) 1fr 46px; column-gap: 9px; } }

/* the full ranking */
.wino-lb-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 110px 90px 90px; align-items: center; gap: 8px;
  padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.05); position: relative; transition: background-color .2s; }
.wino-lb-row:not(.wino-lb-row--head):hover { background: rgba(255,255,255,.03); }
.wino-lb-row--head { border-top: 0; padding-block: 12px; color: rgba(255,255,255,.42); background: rgba(0,0,0,.18); }
.wino-lb-c-rank, .wino-lb-c-preds, .wino-lb-c-pts, .wino-lb-c-acc { text-align: center; display: flex; justify-content: center; }
.wino-lb-c-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wino-lb-c-preds { font-size: 13px; color: rgba(255,255,255,.6); }
.wino-lb-c-pts { font-size: 17px; font-weight: 800; color: rgba(255,255,255,.9); }
.wino-lb-row--head .wino-lb-c-pts { font-size: inherit; font-weight: inherit; color: inherit; }
.wino-lb-row--head .wino-lb-c-acc { color: #f59e0b; }
.wino-lb-row:not(.wino-lb-row--head) .wino-lb-c-acc { background: rgba(245,158,11,.04); align-self: stretch; align-items: center; }
.wino-lb-row--head .wino-lb-c-preds { font-size: inherit; color: inherit; }
.wino-lb-rank { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-variant-numeric: tabular-nums; }
.wino-lb-rank.is-medal { color: var(--lb-tone); background: color-mix(in srgb, var(--lb-tone) 14%, transparent); border-color: color-mix(in srgb, var(--lb-tone) 35%, transparent); }
.wino-lb-name { font-size: 14px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.wino-lb-sub { font-size: 11px; color: rgba(255,255,255,.38); display: none; }
.wino-lb-you { flex: none; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #140e04;
  background: linear-gradient(135deg, #fbbf24, #d97706); border-radius: 5px; padding: 2px 6px; }
.wino-lb-row.is-me { background: linear-gradient(90deg, rgba(245,158,11,.12), rgba(245,158,11,.03)); }
[dir="rtl"] .wino-lb-row.is-me { background: linear-gradient(270deg, rgba(245,158,11,.12), rgba(245,158,11,.03)); }
.wino-lb-row.is-me::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: #f59e0b; }
.wino-lb-row.is-flash { animation: wino-lb-flash 2.2s ease-out; }
@keyframes wino-lb-flash { 0%, 30% { box-shadow: inset 0 0 0 1px rgba(245,158,11,.7), 0 0 26px -6px rgba(245,158,11,.6); } 100% { box-shadow: inset 0 0 0 1px transparent; } }
.wino-lb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.05); background: rgba(0,0,0,.14); }
@media (max-width: 639px) {
  .wino-lb-row { grid-template-columns: 40px minmax(0, 1fr) 54px 46px; padding: 9px 12px; gap: 6px; }
  .wino-lb-c-preds { display: none; }
  .wino-lb-sub { display: block; }
  .wino-lb-c-name { gap: 10px; }
  .wino-lb-c-pts { font-size: 16px; }
}

.wino-lb-search { width: 220px; max-width: 100%; }
.wino-lb-search input::-webkit-search-cancel-button { display: none; }
@media (max-width: 639px) { .wino-lb-search { flex: 1 1 100%; width: auto; } }

@media (prefers-reduced-motion: reduce) {
  .wino-lb-slot, .wino-lb-bar, .wino-lb-bar__fill, .wino-lb-row.is-flash { animation: none; }
}
/* <<< leaders page */

/* >>> profile page */
/* the face: the dashboard's crest tile, holding a photo or the initial */
.wino-pf-face { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; border-radius: 999px; }
.wino-pf-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wino-pf-face > span { font-weight: 800; line-height: 1; color: #fbbf24; text-shadow: 0 2px 12px rgba(0,0,0,.5); }

/* the title area */
.wino-pf-head { display: flex; align-items: center; gap: 20px; }
/* the frame, from outside in: a soft gold glow, a 3 px gold ring, a 3 px dark gap, the photo.
   The gap is the face's own border, so the photo is clipped inside it by the same element and
   no gold can show at its edge. */
.wino-pf-me { position: relative; flex: none; border-radius: 999px; padding: 3px; cursor: pointer; display: inline-flex; line-height: 0;
  background: linear-gradient(150deg, #fde68a 0%, #fbbf24 28%, #d97706 62%, #92400e 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 14px 36px -16px rgba(245,158,11,.65);
  transition: transform .25s cubic-bezier(.22,1,.36,1); }
.wino-pf-me .wino-pf-face { box-sizing: border-box; border: 3px solid #0d0f16 !important; box-shadow: none !important;
  background: radial-gradient(circle at 30% 25%, #262a36, #12141c 70%); }
.wino-pf-me:hover { transform: translateY(-2px) scale(1.03); }
.wino-pf-me:active { transform: scale(.97); }
.wino-pf-me:focus-visible { outline: 2px solid #E6C65C; outline-offset: 3px; }
.wino-pf-me__cam { position: absolute; inset-inline-end: -2px; bottom: 0; width: 30px; height: 30px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; color: #140e04;
  background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 0 0 3px #0d0f16, 0 6px 14px -6px rgba(0,0,0,.8);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1); }
.wino-pf-me:hover .wino-pf-me__cam { transform: scale(1.12) rotate(-8deg); }
.wino-pf-change { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fbbf24; }
.wino-pf-change:hover { color: #fde68a; }
@media (min-width: 768px) { .wino-pf-head { gap: 26px; } .wino-pf-me .wino-pf-face { width: 104px !important; height: 104px !important; }
  .wino-pf-me .wino-pf-face > span { font-size: 44px !important; } }

/* the face and the balance band on one row (from 1200px), the band tightened to fit */
.wino-pf-top { display: flex; flex-direction: column-reverse; gap: 18px; }
.wino-pf-top__band > div { margin-bottom: 0 !important; }
@media (min-width: 1200px) {
  .wino-pf-top { flex-direction: row; align-items: center; gap: 22px; }
  .wino-pf-top .wino-pf-head { flex: 0 1 auto; min-width: 0; max-width: 330px; gap: 16px; }
  .wino-pf-top .wino-pf-head h1 { font-size: 26px; }
  .wino-pf-top .wino-pf-me .wino-pf-face { width: 92px !important; height: 92px !important; }
  .wino-pf-top .wino-pf-me .wino-pf-face > span { font-size: 38px !important; }
  .wino-pf-top__band { flex: 1 1 0; min-width: 0; }
  .wino-pf-top__band > div { padding-inline: 16px; }
  .wino-pf-top__band .wino-wbx { gap: 14px; }
  .wino-pf-top__band .wino-wbx__money { min-width: 112px; }
  .wino-pf-top__band .wino-wbx__menu { min-width: 122px; }
  .wino-pf-top__band .wino-wbx__strip { column-gap: 12px; }
}

/* the weekly challenge */
.wino-pf-weekly { position: relative; overflow: hidden; transition: border-color .3s, transform .3s cubic-bezier(.22,1,.36,1); }
.wino-pf-weekly::after { content: ""; position: absolute; inset-inline-end: -80px; top: -90px; width: 300px; height: 220px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(245,158,11,.22), transparent); }
.wino-pf-weekly:hover { transform: translateY(-2px); border-color: rgba(245,158,11,.3); }
.wino-pf-weekly__cup { flex: none; width: 64px; height: 64px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; }
.wino-pf-weekly__cup img { height: 44px; width: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.wino-pf-weekly__go { flex: none; position: relative; overflow: hidden; width: 44px; height: 44px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; color: #140e04; z-index: 1; }
@media (max-width: 639px) { .wino-pf-weekly__cup { width: 52px; height: 52px; } .wino-pf-weekly__cup img { height: 34px; } .wino-pf-weekly__go { width: 38px; height: 38px; } }

/* shortcuts */
.wino-pf-card { transition: border-color .3s, transform .3s cubic-bezier(.22,1,.36,1); }
.wino-pf-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--pf-tone) 35%, transparent); }
.wino-pf-card__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--pf-tone); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.wino-pf-card:hover .wino-pf-card__ic { transform: scale(1.08); }
.wino-pf-card__go, .wino-pf-row__go { flex: none; display: inline-flex; color: rgba(255,255,255,.3); transition: color .2s, transform .2s; }
.wino-pf-card:hover .wino-pf-card__go, .wino-pf-row:hover .wino-pf-row__go { color: #fff; transform: translateX(3px); }
[dir="rtl"] .wino-pf-card:hover .wino-pf-card__go, [dir="rtl"] .wino-pf-row:hover .wino-pf-row__go { transform: translateX(-3px); }

/* link rows */
.wino-pf-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.05); transition: background-color .2s; }
.wino-pf-list > .wino-pf-row:first-child { border-top: 0; }
.wino-pf-row:hover { background: rgba(255,255,255,.035); }
.wino-pf-row__ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--pf-tone); }

/* the photo editor */
.wino-pf-veil { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(4, 6, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: wino-pf-fade .2s ease-out both; }
.wino-pf-dlg { width: 100%; max-width: 420px; border-radius: 22px; background: #11131b !important; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06); animation: wino-pf-in .32s cubic-bezier(.22,1,.36,1) both; }
@keyframes wino-pf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wino-pf-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.wino-pf-dlg__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.wino-pf-x { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); }
.wino-pf-x:hover { color: #fff; background: rgba(255,255,255,.07); }
.wino-pf-dlg__body { display: flex; flex-direction: column; align-items: center; padding: 10px 18px 6px; }
.wino-pf-dlg__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 18px; flex-wrap: wrap; }

.wino-pf-stage { position: relative; overflow: hidden; border-radius: 18px; background: #0a0c12; touch-action: none; user-select: none;
  max-width: 100%; outline: none; }
.wino-pf-stage:not(.has-img) { cursor: pointer; }
.wino-pf-stage.has-img { cursor: grab; }
.wino-pf-stage.has-img:active { cursor: grabbing; }
.wino-pf-stage:focus-visible { box-shadow: 0 0 0 2px #E6C65C; }
.wino-pf-stage__img { position: absolute; left: 50%; top: 50%; max-width: none; pointer-events: none; will-change: transform; }
.wino-pf-stage__img.is-current { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
/* the circle: everything outside it is dimmed, its edge is gold */
.wino-pf-stage__ring { position: absolute; inset: 0; pointer-events: none; border-radius: 18px;
  background: radial-gradient(circle closest-side, transparent calc(100% - 1px), rgba(6,8,14,.66) 100%); }
.wino-pf-stage__ring::after { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(245,196,81,.85); }
.wino-pf-stage__grid { position: absolute; inset: 0; pointer-events: none; border-radius: 999px; opacity: 0; transition: opacity .2s;
  background: linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.22) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.22) 66.66%, transparent calc(66.66% + .5px)),
              linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255,255,255,.22) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.22) 66.66%, transparent calc(66.66% + .5px)); }
.wino-pf-stage.has-img:active .wino-pf-stage__grid { opacity: 1; }
.wino-pf-stage__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 600; z-index: 1; }
.wino-pf-stage:not(.has-img):hover .wino-pf-stage__empty { color: #fbbf24; }

.wino-pf-hint { margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.5); text-align: center; min-height: 1px; }
.wino-pf-zoom { margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 8px; }
.wino-pf-zbtn { flex: none; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); background: rgba(255,255,255,.05); }
.wino-pf-zbtn:hover { color: #fff; background: rgba(255,255,255,.1); }
.wino-pf-zoom input[type=range] { flex: 1; min-width: 0; height: 6px; border-radius: 999px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(90deg, #f59e0b var(--p), rgba(255,255,255,.1) var(--p)); }
[dir="rtl"] .wino-pf-zoom input[type=range] { background: linear-gradient(270deg, #f59e0b var(--p), rgba(255,255,255,.1) var(--p)); }
.wino-pf-zoom input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 999px;
  background: #fde68a; border: 3px solid #d97706; box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.wino-pf-zoom input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 999px; background: #fde68a; border: 3px solid #d97706; }
.wino-pf-reset { flex: none; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.55); padding: 0 4px; }
.wino-pf-reset:hover { color: #fbbf24; }
.wino-pf-size { margin-top: 8px; font-size: 11px; color: rgba(255,255,255,.35); }
.wino-pf-err { margin-top: 10px; width: 100%; font-size: 12.5px; color: #fca5a5; text-align: center; padding: 8px 10px; border-radius: 10px;
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); }
.wino-pf-remove { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #fca5a5; padding: 8px 4px; }
.wino-pf-remove:hover { color: #fecaca; }

.wino-pf-toast { position: fixed; z-index: 410; left: 50%; bottom: 110px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 700; color: #fff; animation: wino-pf-in .3s cubic-bezier(.22,1,.36,1) both; }
.wino-pf-toast svg { color: #34d399; }

@media (prefers-reduced-motion: reduce) {
  .wino-pf-veil, .wino-pf-dlg, .wino-pf-toast { animation: none; }
  .wino-pf-me, .wino-pf-card, .wino-pf-weekly, .wino-pf-me__cam { transition: none; }
}
/* <<< profile page */

/* >>> accumulator */
/* the slip's switch: Singles / Accumulator */
.wino-acca-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 10px 12px 2px; padding: 4px; border-radius: 12px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.07); }
.wino-acca-sw__b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 9px;
  font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55);
  transition: background-color .2s, color .2s; }
html[dir="rtl"] .wino-acca-sw__b { letter-spacing: 0; font-size: 12.5px; }
.wino-acca-sw__b:hover { color: #fff; }
.wino-acca-sw__b[aria-selected="true"] { color: #140e04; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706);
  box-shadow: 0 6px 16px -8px rgba(245,158,11,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.wino-acca-sw__x { font-variant-numeric: tabular-nums; font-size: 10.5px; padding: 1px 5px; border-radius: 5px; background: rgba(255,255,255,.08); }
.wino-acca-sw__b[aria-selected="true"] .wino-acca-sw__x { background: rgba(0,0,0,.18); }
/* in accumulator mode the picks read as one chain */
.wino-acca-list > div { position: relative; }
.wino-acca-list > div::before { content: ""; position: absolute; inset-inline-start: 7px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, rgba(245,158,11,.0), rgba(245,158,11,.55) 30%, rgba(245,158,11,.55) 70%, rgba(245,158,11,0)); }

/* the ticket */
.wino-acca-badge { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #140e04; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706); box-shadow: 0 6px 16px -8px rgba(245,158,11,.7); }
.wino-tk--acca .wino-tk__fixture { color: #fff; font-size: 14px; font-weight: 900; }
.wino-acca-legs { list-style: none; margin: 10px 0 0; padding: 0 14px 12px 16px; display: flex; flex-direction: column; gap: 6px; }
html[dir="rtl"] .wino-acca-legs { padding: 0 16px 12px 14px; }
.wino-acca-leg { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 11px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.wino-acca-leg__mark { flex: none; display: inline-flex; color: rgba(245,196,81,.85); }
.wino-acca-leg[data-s="WON"] .wino-acca-leg__mark { color: #34d399; }
.wino-acca-leg[data-s="LOST"] { border-color: rgba(251,113,133,.25); background: rgba(251,113,133,.05); }
.wino-acca-leg[data-s="LOST"] .wino-acca-leg__mark { color: #fb7185; }
.wino-acca-leg[data-s="VOID"] .wino-acca-leg__mark { color: rgba(255,255,255,.4); }
.wino-acca-leg[data-s="VOID"] .wino-acca-leg__odds { text-decoration: line-through; color: rgba(255,255,255,.35); }
.wino-acca-leg__crests { display: flex; flex: none; }
.wino-acca-leg__crests .wino-tk__crest { width: 24px; height: 24px; padding: 3px; }
.wino-acca-leg__crests .wino-tk__crest + .wino-tk__crest { margin-inline-start: -7px; }
.wino-acca-leg__fx { font-size: 11px; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[dir="rtl"] .wino-acca-leg__fx { text-align: end; }
.wino-acca-leg__pick { font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wino-acca-leg__mk { font-weight: 600; color: rgba(255,255,255,.4); font-size: 11px; }
.wino-acca-leg__odds { flex: none; font-size: 13px; font-weight: 900; color: #fbbf24; font-variant-numeric: tabular-nums; }
/* <<< accumulator */

/* >>> slip mobile */
/* the picks never collapse; on a phone the slip may run to the top and scroll whole if it must */
.wino-slip__list { min-height: 120px; }
@media (max-width: 639px) {
  .wino-slip { max-height: calc(100dvh - 7.25rem) !important; overflow-y: auto !important; overscroll-behavior: contain; }
  .wino-slip__list { min-height: 150px; flex: 1 1 auto; }
  .wino-slip__foot { padding-top: 10px !important; padding-bottom: 12px !important; }
  .wino-slip__foot > * + * { margin-top: 8px !important; }
}
/* <<< slip mobile */

/* >>> weekly results page */
/* the card lets its custom dropdown float above the standing and ranking cards below */
.wino-wk-card { overflow: visible !important; z-index: 30;
  background-image: radial-gradient(300px 220px at 100% 0%, rgba(245,158,11,.16), transparent); }
[dir="rtl"] .wino-wk-card { background-image: radial-gradient(300px 220px at 0% 0%, rgba(245,158,11,.16), transparent); }
.wino-wk-card:hover { transform: none !important; }
.wino-wk-card::after { display: none; }

/* the challenge picker, in the card's own glass */
.wino-wk-select { position: relative; min-width: 0; max-width: 100%; }
.wino-wk-select__btn { width: 100%; max-width: 100%; cursor: pointer; text-align: start;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.wino-wk-select__btn:hover { border-color: rgba(245,158,11,.38); background: rgba(255,255,255,.06); }
.wino-wk-select.is-open .wino-wk-select__btn,
.wino-wk-select__btn:focus-visible { outline: none; border-color: rgba(245,158,11,.6);
  box-shadow: 0 0 0 1px rgba(245,158,11,.25), 0 12px 28px -12px rgba(0,0,0,.85); }
.wino-wk-select__sep { width: 1px; height: 16px; background: rgba(255,255,255,.1); flex: none; }
.wino-wk-select__val { font-size: 13px; font-weight: 700; color: #fff; max-width: 240px; }
.wino-wk-select__chev { color: rgba(255,255,255,.5); display: flex; flex: none; transition: transform .22s cubic-bezier(.22,1,.36,1), color .2s; }
.wino-wk-select.is-open .wino-wk-select__chev { transform: rotate(180deg); color: #fbbf24; }

.wino-wk-live { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #6ee7b7; background: rgba(16,185,129,.14); border: 1px solid rgba(52,211,153,.28); }
[dir="rtl"] .wino-wk-live { letter-spacing: 0; font-size: 10.5px; }
.wino-wk-live__dot { width: 6px; height: 6px; border-radius: 999px; background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,.8); }

/* the dropdown popover */
.wino-wk-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 80;
  width: max-content; min-width: max(100%, 290px); max-width: min(360px, calc(100vw - 32px));
  border-radius: 16px; overflow: hidden;
  background: #12151f; background-image: radial-gradient(120% 90px at 50% 0%, rgba(245,158,11,.11), transparent);
  border: 1px solid rgba(230,198,92,.32);
  box-shadow: 0 28px 64px -16px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.05) inset;
  animation: wino-wk-drop .2s cubic-bezier(.22,1,.36,1) both; }
@keyframes wino-wk-drop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.wino-wk-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.22); }
.wino-wk-menu__count { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 800; color: #fbbf24; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.25); }
.wino-wk-menu__list { max-height: 310px; overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.wino-wk-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px;
  border: 1px solid transparent; background: transparent; color: rgba(255,255,255,.78);
  text-align: start; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.wino-wk-opt:hover { background: rgba(255,255,255,.055); color: #fff; }
.wino-wk-opt:focus-visible { outline: 2px solid #E6C65C; outline-offset: -2px; }
.wino-wk-opt.is-on { color: #fff; border-color: rgba(245,158,11,.35);
  background: linear-gradient(90deg, rgba(245,158,11,.16), rgba(245,158,11,.04)); }
[dir="rtl"] .wino-wk-opt.is-on { background: linear-gradient(270deg, rgba(245,158,11,.16), rgba(245,158,11,.04)); }
.wino-wk-opt__check { flex: none; width: 20px; height: 20px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: transparent;
  transition: background .15s, border-color .15s, color .15s; }
.wino-wk-opt:hover .wino-wk-opt__check { border-color: rgba(245,158,11,.45); }
.wino-wk-opt.is-on .wino-wk-opt__check { border-color: transparent; color: #140e04;
  background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706);
  box-shadow: 0 4px 10px -3px rgba(245,158,11,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.wino-wk-opt__name { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 700; }
@media (max-width: 639px) {
  .wino-wk-select__val { max-width: none; flex: 1; }
  .wino-wk-menu { inset-inline: 0; width: 100%; min-width: 0; max-width: none; }
}

/* the player's own standing */
.wino-wk-me { border-color: rgba(245,158,11,.22) !important; }
.wino-wk-me__rank { flex: none; min-width: 56px; height: 56px; padding: 0 10px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: #140e04; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706);
  box-shadow: 0 10px 24px -12px rgba(245,158,11,.75), inset 0 1px 0 rgba(255,255,255,.45); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .wino-wk-me { flex-wrap: wrap; } .wino-wk-me__rank { min-width: 48px; height: 48px; font-size: 17px; } }

/* a ranking row */
.wino-wk-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.05); position: relative; transition: background-color .2s; }
.wino-pf-list > .wino-wk-row:first-child { border-top: 0; }
.wino-wk-row:hover { background: rgba(255,255,255,.03); }
.wino-wk-row .wino-lb-rank { flex: none; }
.wino-wk-row__pts { flex: none; min-width: 64px; text-align: end; font-size: 17px; font-weight: 800; color: #fff; }
.wino-wk-row__pts small { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.4); }
.wino-wk-row__prize { flex: none; min-width: 56px; text-align: end; font-size: 13px; font-weight: 800; color: #fbbf24; font-variant-numeric: tabular-nums; }
.wino-wk-row.is-me { background: linear-gradient(90deg, rgba(245,158,11,.12), rgba(245,158,11,.03)); }
[dir="rtl"] .wino-wk-row.is-me { background: linear-gradient(270deg, rgba(245,158,11,.12), rgba(245,158,11,.03)); }
.wino-wk-row.is-me::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: #f59e0b; }
@media (max-width: 639px) { .wino-wk-row { padding: 9px 12px; gap: 10px; } .wino-wk-row__prize { min-width: 44px; } }
/* <<< weekly results page */

/* >>> account pages */
/* the title's mark: a lucide icon on the menu's gold disc */
.wino-acc-mark svg { width: 21px; height: 21px; stroke-width: 2; }
@media (min-width: 768px) { .wino-acc-mark svg { width: 24px; height: 24px; } }

/* stars */
.wino-acc-stars { display: inline-flex; align-items: center; gap: 2px; }
.wino-acc-star { display: inline-flex; color: rgba(255,255,255,.18); transition: color .15s, transform .15s cubic-bezier(.34,1.56,.64,1); }
.wino-acc-star.is-on { color: #fbbf24; }
.wino-acc-star.is-on svg { fill: currentColor; }
button.wino-acc-star { padding: 2px; border-radius: 6px; }
button.wino-acc-star:hover { transform: scale(1.18); color: #fde68a; }

/* testimonials */
.wino-acc-testi { animation: wino-lb-rise .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i) * 50ms); }
.wino-acc-testi .wino-lb-face > span { font-size: 18px; }
.wino-acc-quote { position: relative; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.78); padding-inline-start: 26px; }
.wino-acc-quote__mark { position: absolute; inset-inline-start: 0; top: 1px; color: rgba(245,158,11,.7); }

/* voting */
/* the names in columns, as many as fit */
.wino-acc-votes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.wino-acc-vote { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.05); border-inline-end: 1px solid rgba(255,255,255,.05); margin-top: -1px; }
.wino-acc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, #f59e0b var(--p), rgba(255,255,255,.08) var(--p)); }
[dir="rtl"] .wino-acc-range { background: linear-gradient(270deg, #f59e0b var(--p), rgba(255,255,255,.08) var(--p)); }
.wino-acc-vote[data-type="bettors"] .wino-acc-range { background: linear-gradient(90deg, #10b981 var(--p), rgba(255,255,255,.08) var(--p)); }
[dir="rtl"] .wino-acc-vote[data-type="bettors"] .wino-acc-range { background: linear-gradient(270deg, #10b981 var(--p), rgba(255,255,255,.08) var(--p)); }
.wino-acc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 999px; background: #fde68a; border: 3px solid #d97706; box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.wino-acc-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 999px; background: #fde68a; border: 3px solid #d97706; }
.wino-acc-range:focus-visible { outline: 2px solid #E6C65C; outline-offset: 4px; }
.wino-acc-dlg { max-width: 480px !important; }
.wino-acc-dlg__body { max-height: min(62vh, 520px); overflow-y: auto; padding: 4px 10px 14px; }
.wino-acc-res { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid rgba(255,255,255,.06); transition: background-color .2s; }
.wino-acc-res:hover { background: rgba(255,255,255,.03); }
.wino-acc-res:first-child { border-top: 0; }
.wino-vote-logo { width: 32px; height: 32px; border-radius: 9px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.22); padding: 4px; overflow: hidden; box-shadow: 0 4px 10px -4px rgba(0,0,0,.6); }
.wino-vote-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.wino-vote-logo.is-bettor { background: linear-gradient(135deg, rgba(16,185,129,.22), rgba(5,150,105,.08)); border-color: rgba(16,185,129,.35); color: #6ee7b7; font-weight: 900; font-size: 13px; padding: 0; }
.wino-vote-resbtn { position: relative; overflow: hidden; height: 38px; padding: 0 16px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #140e04; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(253,230,138,.55), 0 8px 22px -6px rgba(245,158,11,.65), 0 0 18px rgba(245,158,11,.35);
  animation: wino-heartbeat 1.55s ease-in-out infinite; transform-origin: center; }
.wino-vote-resbtn:hover { animation-play-state: paused; transform: scale(1.05); }
.wino-vote-resbtn__dot { width: 7px; height: 7px; border-radius: 999px; background: #140e04; box-shadow: 0 0 0 2px rgba(20,14,4,.22); }
@keyframes wino-heartbeat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(253,230,138,.55), 0 8px 22px -6px rgba(245,158,11,.6), 0 0 14px rgba(245,158,11,.28); }
  14% { transform: scale(1.075); box-shadow: 0 0 0 2px rgba(253,230,138,.85), 0 10px 28px -4px rgba(245,158,11,.85), 0 0 26px rgba(245,158,11,.55); }
  28% { transform: scale(1); }
  42% { transform: scale(1.055); box-shadow: 0 0 0 1.5px rgba(253,230,138,.75), 0 9px 25px -5px rgba(245,158,11,.75), 0 0 22px rgba(245,158,11,.45); }
  70% { transform: scale(1); }
}

/* the problem form and history */
.wino-acc-input { width: 100%; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.09); color: #fff;
  font-size: 13.5px; padding: 10px 12px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.wino-acc-input::placeholder { color: rgba(255,255,255,.3); }
.wino-acc-input:focus { border-color: rgba(245,158,11,.55); box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.wino-acc-chip { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border-radius: 9px; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.65); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: all .15s; }
.wino-acc-chip:hover { color: #fff; border-color: rgba(255,255,255,.18); }
.wino-acc-chip.is-on { color: #140e04; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706); border-color: transparent; }
.wino-acc-chip.is-small { height: 22px; font-size: 11px; padding: 0 7px; }
.wino-acc-status { flex: none; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 7px; border: 1px solid currentColor; white-space: nowrap; }
.wino-acc-case__chev { transition: transform .2s; }
.wino-acc-case.is-open .wino-acc-case__chev { transform: rotate(180deg) !important; }
.wino-acc-case__body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.wino-acc-msg { border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.wino-acc-msg.is-admin { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.2); margin-inline-end: 12%; }
.wino-acc-msg.is-me { margin-inline-start: 12%; }

/* platform reviews */
.wino-acc-wa { color: #25D366; }
.wino-acc-plat { transition: border-color .3s, transform .3s cubic-bezier(.22,1,.36,1); }
.wino-acc-plat:hover { transform: translateY(-2px); border-color: rgba(245,158,11,.3); }
.wino-acc-plat__rank { position: absolute; bottom: -8px; inset-inline-end: -8px; background: #11131b !important; }
.wino-acc-promo { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fbbf24;
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2); border-radius: 8px; padding: 4px 8px; }
.wino-acc-pc { border-radius: 12px; padding: 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.wino-acc-pc.is-pro { border-color: rgba(52,211,153,.14); }
.wino-acc-pc.is-con { border-color: rgba(251,113,133,.12); }

@media (prefers-reduced-motion: reduce) { .wino-acc-testi { animation: none; } .wino-acc-plat:hover { transform: none; } }
/* <<< account pages */

/* >>> info pages */
.wino-info-card { animation: wino-lb-rise .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i, 0) * 60ms); }
.wino-info-hero__glow { position: absolute; inset-inline-start: -60px; top: -80px; width: 320px; height: 260px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(245,158,11,.22), transparent); }
.wino-info-step { position: relative; }
.wino-info-step__n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px;
  font-size: 15px; font-weight: 900; color: #140e04; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706);
  box-shadow: 0 8px 18px -10px rgba(245,158,11,.8), inset 0 1px 0 rgba(255,255,255,.45); }
.wino-info-vision { position: relative; overflow: hidden; border-color: rgba(245,158,11,.2) !important; }
.wino-info-vision__mark { position: absolute; inset-inline-end: 22px; top: 18px; color: rgba(245,158,11,.25); }
.wino-info-qa__n { flex: none; font-size: 11px; font-weight: 900; color: rgba(245,196,81,.75); font-variant-numeric: tabular-nums; min-width: 22px; }
.wino-info-qa__a { padding: 0 16px 16px 52px; font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,.65); animation: wino-pf-fade .25s ease-out both; }
[dir="rtl"] .wino-info-qa__a { padding: 0 52px 16px 16px; }
.wino-info-qa.is-open { background: rgba(245,158,11,.04); }
.wino-info-warn { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.25); }
.wino-legal-toc__i { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.65); text-align: start; transition: background-color .15s, color .15s; }
.wino-legal-toc__i:hover { background: rgba(255,255,255,.05); color: #fff; }
.wino-legal-toc__n { flex: none; width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: rgba(245,196,81,.9); background: rgba(245,158,11,.1); }
.wino-legal-sec { scroll-margin-top: 20px; }
.wino-legal-sec__ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fbbf24; }
.wino-legal-sec.is-new { border-color: rgba(245,158,11,.18) !important; }
@media (max-width: 1023px) { .wino-legal-toc { display: none; } }
@media (prefers-reduced-motion: reduce) { .wino-info-card, .wino-info-qa__a { animation: none; } }
/* <<< info pages */

/* >>> back button */
/* a glass pill above the bottom menu, at its start edge */
.wino-back { position: absolute; bottom: calc(100% + 14px); inset-inline-start: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding-inline: 4px 13px; border-radius: 999px; cursor: pointer;
  background: rgba(17, 19, 27, .72); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(230, 198, 92, .28); box-shadow: 0 14px 34px -14px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
  color: rgba(255,255,255,.88); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  animation: wino-back-in .45s cubic-bezier(.22,1,.36,1) backwards;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease, border-color .2s, background-color .2s; }
html[dir="rtl"] .wino-back { letter-spacing: 0; font-size: 13px; text-transform: none; }
.wino-back__ic { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #140e04;
  background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706); box-shadow: 0 4px 12px -4px rgba(245,158,11,.7), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.wino-back:hover { border-color: rgba(230, 198, 92, .6); background: rgba(24, 26, 36, .85); color: #fff; }
.wino-back:hover .wino-back__ic { transform: translateX(-3px); }
html[dir="rtl"] .wino-back:hover .wino-back__ic { transform: translateX(3px); }
.wino-back:active { transform: scale(.96); }
.wino-back:focus-visible { outline: 2px solid #E6C65C; outline-offset: 3px; }
.wino-back.is-away { opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; }
/* in the title row: in the flow, at the far end, a size smaller */
.wino-back-host { margin-inline-start: auto; display: inline-flex; align-items: center; padding-inline-start: 12px; line-height: 0; }
.wino-pf-back { margin-top: 10px; display: flex; align-items: center; }
.wino-pf-back > .wino-back-host { margin-inline-start: 0; padding-inline-start: 0; }
.wino-back.wino-back--title { position: static; height: 34px; gap: 7px; padding-inline: 3px 12px; font-size: 10.5px;
  box-shadow: 0 8px 22px -12px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06); }
html[dir="rtl"] .wino-back.wino-back--title { font-size: 12px; }
.wino-back--title .wino-back__ic { width: 26px; height: 26px; }
@keyframes wino-back-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
html[dir="rtl"] .wino-back { animation-name: wino-back-in-rtl; }
@keyframes wino-back-in-rtl { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 639px) {
  .wino-back { padding: 4px; height: 38px; bottom: calc(100% + 12px); inset-inline-start: 12px; }
  .wino-back.wino-back--title { padding: 3px; height: 32px; }
  .wino-back__t { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wino-back { animation: none; transition: opacity .2s; } .wino-back.is-away { transform: none; } }
/* <<< back button */

/* >>> tournaments page */
/* Weekly Challenge page (/tournaments) shares the Dashboard, Predictions & Weekly Results design system */
/* <<< tournaments page */

/* >>> back office */
/* Unified thin dark scrollbar across the main site and back office */
html, body { background-color: #0a0c12; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.custom-scrollbar { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
/* The panel covers the site: the dock, the bet slip and the page under it are not part of it. */
html.wino-bo-open .wino-dock, html.wino-bo-open .wino-slip, html.wino-bo-open .wino-wb-slip, html.wino-bo-open .wino-slip-fab { display: none !important; }
html.wino-bo-open body { overflow: hidden; }
.wino-bo, .wino-bo-gate { position: fixed; inset: 0; z-index: 90; color: #fff; background: #0a0c12; font-family: var(--w-font-main); }
.wino-bo { display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.wino-bo *, .wino-bo-gate * { box-sizing: border-box; }
.wino-bo-eyebrow { font-family: var(--wino-eyebrow-font, 'Oswald', sans-serif); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,196,81,.78); }
[dir="rtl"] .wino-bo-eyebrow { letter-spacing: .04em; font-size: 11px; }
.wino-bo-mark { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; flex: none;
  background: radial-gradient(circle at 30% 25%, rgba(253,230,138,.35), rgba(245,158,11,.08) 60%, transparent), rgba(255,255,255,.04);
  border: 1px solid rgba(245,196,81,.35); box-shadow: 0 10px 24px -14px rgba(245,158,11,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.wino-bo-mark img { width: 72%; height: 72%; object-fit: contain; }

/* ---- the gate (sign-in) ---- */
.wino-bo-gate { display: grid; place-items: center; padding: 20px; overflow: auto; }
.wino-bo-gate__sky { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 70% 0%, rgba(245,158,11,.16), transparent 70%), radial-gradient(50% 45% at 10% 90%, rgba(74,144,208,.18), transparent 70%),
    linear-gradient(168deg, #141a2b 0%, #0d1220 44%, #07090f 100%); }
.wino-bo-gate__sky::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.07) 0 1px, transparent 1.4px); background-size: 22px 14px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%); }
.wino-bo-gate__card { position: relative; width: min(420px, 100%); padding: 28px 28px 22px; border-radius: 26px; animation: wino-lb-rise .6s cubic-bezier(.22,1,.36,1) both; }
.wino-bo-gate__head { display: flex; align-items: center; gap: 14px; }
.wino-bo-gate__title { font-size: 26px; font-weight: 700; margin: 2px 0 0; line-height: 1.15; }
.wino-bo-gate__sub { margin: 14px 0 20px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.55); }
.wino-bo-field { display: block; margin-bottom: 14px; }
.wino-bo-field > span:first-child { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.wino-bo-field input { width: 100%; height: 46px; border-radius: 13px; padding: 0 14px; color: #fff; font-size: 14px; background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.1); outline: none; transition: border-color .2s, box-shadow .2s; }
.wino-bo-field input:focus { border-color: rgba(245,158,11,.6); box-shadow: 0 0 0 3px rgba(245,158,11,.14); }
.wino-bo-field__pw { position: relative; display: block; }
.wino-bo-field__pw input { padding-inline-end: 44px; }
.wino-bo-field__pw button { position: absolute; top: 0; bottom: 0; inset-inline-end: 6px; width: 36px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); border-radius: 10px; }
.wino-bo-field__pw button:hover { color: #fff; }
.wino-bo-gate__err { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: #fecdd3; background: rgba(244,63,94,.1); border: 1px solid rgba(244,63,94,.3); }
.wino-bo-gate__go { width: 100%; height: 48px; margin-top: 4px; font-size: 13px; }
.wino-bo-gate__who { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.wino-bo-gate__who b { color: #fff; overflow: hidden; text-overflow: ellipsis; }
.wino-bo-gate__site { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.wino-bo-gate__site:hover { color: #fbbf24; }

/* ---- buttons, pills, chips ---- */
.wino-bo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--wino-eyebrow-font, 'Oswald', sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04); border: 1px solid rgba(245,196,81,.35); transition: border-color .2s, background-color .2s, transform .15s; }
[dir="rtl"] .wino-bo-btn { letter-spacing: 0; font-size: 13px; }
.wino-bo-btn:hover { border-color: rgba(245,196,81,.7); background: rgba(255,255,255,.07); }
.wino-bo-btn:active { transform: scale(.97); }
.wino-bo-btn:disabled { opacity: .45; cursor: default; }
.wino-bo-btn--gold { color: #140e04; border-color: transparent; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706); box-shadow: 0 10px 24px -12px rgba(245,158,11,.8), inset 0 1px 0 rgba(255,255,255,.45); }
.wino-bo-btn--gold:hover { background: linear-gradient(135deg, #fef3c7, #fbbf24 55%, #d97706); }
.wino-bo-iconbtn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: color .15s, border-color .15s; flex: none; }
.wino-bo-iconbtn:hover { color: #fff; border-color: rgba(245,196,81,.5); }
.wino-bo-lang { font-size: 12px; font-weight: 800; }
.wino-bo-dot { position: absolute; top: 9px; inset-inline-end: 9px; width: 7px; height: 7px; border-radius: 99px; background: #f43f5e; box-shadow: 0 0 0 2px #0a0c12; }
.wino-bo-pill { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.65); background: transparent; border: 1px solid transparent; transition: all .15s; cursor: pointer; }
.wino-bo-pill:hover { color: #fff; background: rgba(255,255,255,.05); }
.wino-bo-pill.is-on { color: #fde68a; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.35); }
.wino-bo-pill--gold { color: #140e04; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706); font-family: var(--wino-eyebrow-font, 'Oswald', sans-serif); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.wino-bo-pill--gold:hover { color: #140e04; }
.wino-bo-pill:disabled { opacity: .4; cursor: default; }
.wino-bo-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; color: rgba(255,255,255,.78); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.wino-bo-chip.is-gold { color: #fde68a; background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.28); }
.wino-bo-chip.is-dim { color: rgba(255,255,255,.45); }
.wino-bo-chip.is-act { color: #e9e2cf; background: rgba(245,196,81,.07); border-color: rgba(245,196,81,.2); }
.wino-bo-chip--flag img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.wino-bo-chips { display: flex; flex-wrap: wrap; gap: 4px; }

/* ---- the sidebar ---- */
.wino-bo-side { display: flex; flex-direction: column; min-height: 0; border-inline-end: 1px solid rgba(255,255,255,.07); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 30%), #0c0f17; }
.wino-bo-brand { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; color: #fff; }
.wino-bo-brand b { display: block; font-size: 19px; letter-spacing: .14em; line-height: 1; }
.wino-bo-brand i { display: block; font-style: normal; margin-top: 4px; }
.wino-bo-nav { flex: 1; overflow-y: auto; padding: 4px 12px 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.wino-bo-nav__g { margin-top: 14px; }
.wino-bo-nav__gt { padding: 0 10px 6px; color: rgba(255,255,255,.3); }
.wino-bo-nav__i { position: relative; display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 10px; margin-bottom: 2px; border-radius: 12px; color: rgba(255,255,255,.62); font-size: 13.5px; font-weight: 600; transition: background-color .15s, color .15s; }
.wino-bo-nav__i:hover { color: #fff; background: rgba(255,255,255,.04); }
.wino-bo-nav__i.is-on { color: #fff; background: linear-gradient(90deg, rgba(245,158,11,.16), rgba(245,158,11,.04)); }
[dir="rtl"] .wino-bo-nav__i.is-on { background: linear-gradient(270deg, rgba(245,158,11,.16), rgba(245,158,11,.04)); }
.wino-bo-nav__i.is-on::before { content: ""; position: absolute; inset-inline-start: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #fde68a, #d97706); }
.wino-bo-nav__ic { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: inherit; flex: none; }
.wino-bo-nav__i.is-on .wino-bo-nav__ic { color: #140e04; background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706); border-color: transparent; box-shadow: 0 6px 14px -8px rgba(245,158,11,.9); }
.wino-bo-nav__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-bo-nav__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; background: #e11d48; }
.wino-bo-side__foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.wino-bo-side__track { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; margin-bottom: 8px; border-radius: 10px; font-size: 11.5px; text-align: start; color: rgba(255,255,255,.5); cursor: pointer; }
.wino-bo-side__track:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.03); }
.wino-bo-switch { position: relative; flex: none; width: 30px; height: 18px; border-radius: 99px; background: rgba(255,255,255,.12); transition: background-color .2s; }
.wino-bo-switch::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 99px; background: #fff; transition: transform .2s; }
.wino-bo-side__track.is-on .wino-bo-switch { background: #f59e0b; }
.wino-bo-side__track.is-on .wino-bo-switch::after { transform: translateX(12px); }
[dir="rtl"] .wino-bo-side__track.is-on .wino-bo-switch::after { transform: translateX(-12px); }
.wino-bo-me { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.wino-bo-me b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-bo-me i { display: block; font-style: normal; font-size: 9.5px; letter-spacing: .14em; color: rgba(245,196,81,.7); font-family: var(--wino-eyebrow-font, 'Oswald', sans-serif); }
.wino-bo-me > span { flex: 1; }
.wino-bo-face { flex: none; }
.wino-bo-face > span { font-size: 14px; }
.wino-bo-me .wino-bo-iconbtn { width: 34px; height: 34px; }

/* ---- the main column ---- */
.wino-bo-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden;
  background: radial-gradient(60% 40% at 80% -10%, rgba(245,158,11,.1), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(74,144,208,.1), transparent 70%); }
.wino-bo-top { position: relative; z-index: 50; flex: none; display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 22px; background: #0b0e17; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 24px -8px rgba(0,0,0,.75); }
.wino-bo-crumb { flex: 1; min-width: 0; }
.wino-bo-crumb h2 { margin: 1px 0 0; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wino-bo-top__r { display: flex; align-items: center; gap: 8px; }
.wino-bo-burger { display: none; }
.wino-bo-scrim { display: none; }
.wino-bo-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; padding: 22px 22px 60px; }
/* an existing admin page inside the frame: its own fixed sky stays behind the panel, so the panel paints its own */
.wino-bo-body--page { padding: 8px 22px 60px; }
.wino-bo-body--page .wino-aurora { display: none; }
/* and inside the frame the page is the admin's work, not their account: no balance band, no back button */
.wino-bo-body--page .wino-glass.mb-8.rounded-xl.border-amber-500\/20:first-child, .wino-bo-body--page .wino-back, .wino-bo-body--page .wino-back-host { display: none; }

/* ---- overview ---- */
.wino-bo-ov__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.wino-bo-ov__title { margin: 2px 0 0; font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.05; }
.wino-bo-ov__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.wino-bo-range { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.wino-bo-range__g { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.wino-bo-range__g > span { padding: 0 6px 0 10px; font-size: 12.5px; color: rgba(255,255,255,.55); }
[dir="rtl"] .wino-bo-range__g > span { padding: 0 10px 0 6px; }
.wino-bo-range__g input[type="date"] { height: 32px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; color: #fff; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1); color-scheme: dark; outline: none; }
.wino-bo-range__g input[type="date"]:focus { border-color: rgba(245,158,11,.6); }
.wino-bo-period { margin: 0 0 18px; font-size: 14px; color: rgba(255,255,255,.65); }
.wino-bo-period b { font-size: 20px; color: #fde68a; margin-inline-start: 4px; }
.wino-bo-period__cap { font-size: 11.5px; color: rgba(255,255,255,.35); }
.wino-bo-loading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: rgba(255,255,255,.55); }
.wino-bo-loading i { width: 16px; height: 16px; border-radius: 99px; border: 2px solid rgba(245,196,81,.25); border-top-color: #fbbf24; animation: wino-bo-spin .8s linear infinite; }
@keyframes wino-bo-spin { to { transform: rotate(360deg); } }
.wino-bo-warn, .wino-bo-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.55; }
.wino-bo-warn { color: #fde68a; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.3); }
.wino-bo-note { color: rgba(255,255,255,.7); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); }
.wino-bo-note b { color: #fff; }

.wino-bo-card { position: relative; border-radius: 22px; padding: 18px 20px; background: rgba(13,15,21,.72); border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px -28px rgba(0,0,0,.9); min-width: 0; }
.wino-bo-card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.wino-bo-card__h h3 { margin: 0; font-size: 19px; font-weight: 700; }
.wino-bo-card__x { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wino-bo-card__note { font-size: 12px; color: rgba(255,255,255,.4); }
.wino-bo-legend { display: inline-flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.55); }
.wino-bo-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.wino-bo-legend i { display: inline-block; width: 12px; height: 4px; border-radius: 2px; }
.wino-bo-legend__note { color: rgba(255,255,255,.35); }
.wino-bo-sub { margin: 14px 0 8px; color: rgba(255,255,255,.35); }

.wino-bo-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 10px; margin-bottom: 18px; }
.wino-bo-tile-s { padding: 16px 16px 14px; border-radius: 18px; background: rgba(13,15,21,.72); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  animation: wino-lb-rise .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i, 0) * 40ms); min-width: 0; }
.wino-bo-tile-s.is-dim { opacity: .6; }
.wino-bo-tile-s__v { margin-top: 8px; font-size: 32px; font-weight: 700; line-height: 1; color: #fde68a; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.wino-bo-tile-s__n { margin-top: 8px; font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,.45); }
.wino-bo-tiles--p .wino-bo-tile-s__v { color: #fff; }

.wino-bo-grid { display: grid; gap: 12px; margin-bottom: 18px; }
.wino-bo-grid--charts { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.wino-bo-grid--charts > .wino-bo-card { grid-column: span 6; display: flex; flex-direction: column; }
.wino-bo-grid--charts > .wino-bo-card--wide { grid-column: span 7; }
.wino-bo-grid--charts > .wino-bo-card--wide + .wino-bo-card { grid-column: span 5; }
.wino-bo-grid--lists { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.wino-bo-grid--two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.wino-bo-chart { position: relative; flex: 1; min-height: 240px; height: 260px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.wino-bo-tree { position: relative; height: 300px; }
.wino-bo-tile { position: absolute; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 10px; border-radius: 14px; color: #fff;
  transition: left .7s cubic-bezier(.2,.9,.25,1), top .7s cubic-bezier(.2,.9,.25,1), width .7s cubic-bezier(.2,.9,.25,1), height .7s cubic-bezier(.2,.9,.25,1), filter .2s; }
.wino-bo-tile:hover { filter: brightness(1.08); }
.wino-bo-tile.is-dark { color: #140e04; }
.wino-bo-tile__h { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.wino-bo-tile__h img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.wino-bo-tile__h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-bo-tile__v { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.wino-bo-tile__v b { font-family: 'El Messiri', var(--w-font-main), sans-serif; font-size: 24px; line-height: .9; font-variant-numeric: tabular-nums; }
.wino-bo-tile__v i { font-style: normal; font-size: 10px; font-weight: 700; padding: 3px 5px; border-radius: 6px; color: #fff; background: rgba(0,0,0,.6); }
.wino-bo-radar { display: flex; justify-content: center; width: 100%; }
.wino-bo-seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 32px; padding: 2px; border-radius: 10px; background: rgba(255,255,255,.06); }
.wino-bo-seg__th { position: absolute; top: 2px; bottom: 2px; left: 0; border-radius: 8px; background: rgba(245,158,11,.18); border: 1px solid rgba(245,158,11,.4); transition: transform .3s cubic-bezier(.2,.9,.25,1), width .3s; }
[dir="rtl"] .wino-bo-seg__th { left: 0; }
.wino-bo-seg button { position: relative; z-index: 1; padding: 0 12px; border-radius: 8px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); white-space: nowrap; }
.wino-bo-seg button.is-on { color: #fde68a; }
.wino-bo-tip { position: fixed; z-index: 120; pointer-events: none; white-space: nowrap; padding: 8px 10px; border-radius: 12px; font-size: 12px; color: #fff; background: rgba(17,19,27,.95); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 30px -14px rgba(0,0,0,.9); opacity: 0; transition: opacity .15s; }
.wino-bo-tip.is-on { opacity: 1; }
.wino-bo-tip__t { margin-bottom: 4px; color: rgba(255,255,255,.5); }
.wino-bo-tip__r { display: flex; justify-content: space-between; gap: 14px; }
.wino-bo-tip__r span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.6); }
.wino-bo-tip__r i { width: 8px; height: 8px; border-radius: 2px; }
.wino-bo-tip__r b { font-variant-numeric: tabular-nums; }

.wino-bo-bars { display: flex; flex-direction: column; gap: 9px; }
.wino-bo-bar { display: grid; grid-template-columns: minmax(90px, 1.1fr) 2fr auto; align-items: center; gap: 12px; font-size: 13px; }
.wino-bo-bar__l { display: flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.75); }
.wino-bo-bar__l img { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; flex: none; }
.wino-bo-bar__t { height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.wino-bo-bar__t i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #b8860b, #f5c451 60%, #fde68a); transform-origin: left; animation: wino-bo-grow .9s cubic-bezier(.2,.9,.25,1) both; }
[dir="rtl"] .wino-bo-bar__t i { transform-origin: right; background: linear-gradient(270deg, #b8860b, #f5c451 60%, #fde68a); }
@keyframes wino-bo-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wino-bo-bar__n { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wino-bo-empty { padding: 14px 0; font-size: 13px; color: rgba(255,255,255,.35); }
.wino-bo-empty--big { padding: 34px 16px; text-align: center; }
.wino-bo-h2 { margin: 6px 0 12px; font-size: 24px; font-weight: 700; }
.wino-bo-people { display: flex; flex-direction: column; }
.wino-bo-person { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-top: 1px solid rgba(255,255,255,.06); color: #fff; font-size: 13px; }
.wino-bo-person:first-child { border-top: 0; }
.wino-bo-person:hover { background: rgba(255,255,255,.025); }
.wino-bo-person > span { flex: 1; }
.wino-bo-person b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-bo-person i { display: block; font-style: normal; font-size: 11.5px; color: rgba(255,255,255,.4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wino-bo-person__i { flex: none; width: 22px; text-align: center; font-size: 12px; color: rgba(245,196,81,.8); }
.wino-bo-person__v { flex: none !important; font-family: 'El Messiri', var(--w-font-main), sans-serif; font-size: 16px; font-weight: 700; color: #fde68a; }
.wino-bo-person__v i { display: inline; font-size: 10px; color: rgba(255,255,255,.4); }
.wino-bo-person__v.is-dim { font-size: 12px; color: rgba(255,255,255,.45); font-family: inherit; }

/* ---- the visit log ---- */
.wino-bo-log__h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.wino-bo-search { display: flex; align-items: center; gap: 8px; width: min(440px, 100%); height: 42px; padding: 0 14px; border-radius: 14px; color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.wino-bo-search:focus-within { border-color: rgba(245,158,11,.55); }
.wino-bo-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-size: 13.5px; }
.wino-bo-table-wrap { padding: 0; overflow-x: auto; }
.wino-bo-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 12.5px; }
.wino-bo-table th { padding: 14px 16px; text-align: start; color: rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.wino-bo-table td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.05); }
.wino-bo-table tbody tr:hover { background: rgba(255,255,255,.02); }
.wino-bo-table td > b { display: block; margin-bottom: 5px; font-weight: 700; }
.wino-bo-table code { font-size: 12px; color: #fff; }
.wino-bo-log__dim { margin-top: 5px; font-size: 11px; line-height: 1.45; color: rgba(255,255,255,.38); max-width: 220px; }
.wino-bo-log__city { margin-top: 6px; font-weight: 700; color: #fde68a; }
.wino-bo-log__who { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; color: rgba(245,196,81,.8); }
.wino-bo-log__dur { font-size: 18px; color: rgba(255,255,255,.55); }
.wino-bo-log__dur.is-long { color: #4ade80; }
.wino-bo-log__more { margin: 14px auto; display: flex; }

/* ---- phones and small laptops ---- */
@media (max-width: 1100px) {
  .wino-bo-grid--charts > .wino-bo-card, .wino-bo-grid--charts > .wino-bo-card--wide, .wino-bo-grid--charts > .wino-bo-card--wide + .wino-bo-card { grid-column: span 12; }
}
@media (max-width: 860px) {
  .wino-bo { grid-template-columns: minmax(0, 1fr); }
  .wino-bo-side { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(300px, 86vw); z-index: 20; transform: translateX(-104%); transition: transform .35s cubic-bezier(.22,1,.36,1); box-shadow: 0 0 60px rgba(0,0,0,.7); }
  [dir="rtl"] .wino-bo-side { transform: translateX(104%); }
  .wino-bo-side.is-open { transform: none; }
  .wino-bo-scrim { display: block; position: fixed; inset: 0; z-index: 15; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .wino-bo-burger { display: inline-flex; }
  .wino-bo-top { height: 60px; padding: 0 14px; gap: 10px; }
  .wino-bo-body, .wino-bo-body--page { padding: 14px 14px 50px; }
  .wino-bo-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wino-bo-tile-s { padding: 13px 12px 12px; }
  .wino-bo-tile-s__v { font-size: 26px; }
  .wino-bo-card { padding: 14px; border-radius: 18px; }
  .wino-bo-chart { height: 220px; min-height: 200px; }
  .wino-bo-tree { height: 240px; }
  .wino-bo-bar { grid-template-columns: minmax(80px, 1fr) 1.4fr auto; gap: 8px; }
  .wino-bo-range__g { flex-wrap: wrap; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .wino-bo-tile-s, .wino-bo-gate__card, .wino-bo-bar__t i { animation: none; }
  .wino-bo-tile, .wino-bo-side, .wino-bo-seg__th { transition: none; }
}
/* <<< back office */

/* >>> Football Picks Heartbeat */
@keyframes winoHeartbeat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
  14% { transform: scale(1.07); box-shadow: 0 0 16px 2px rgba(245, 158, 11, 0.45); }
  28% { transform: scale(1); box-shadow: 0 0 4px 0 rgba(245, 158, 11, 0.15); }
  42% { transform: scale(1.05); box-shadow: 0 0 12px 1px rgba(245, 158, 11, 0.35); }
  70% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.wino-wbx__item--heartbeat {
  color: #fbbf24 !important;
  font-weight: 700 !important;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.38);
  animation: winoHeartbeat 1.6s ease-in-out infinite;
  transform-origin: center;
}
.wino-wbx__item--heartbeat:hover {
  color: #fde68a !important;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0.08));
}
.wino-hb-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  flex-shrink: 0;
}
/* <<< Football Picks Heartbeat */

.sb-menu-item{transition:background-color .15s ease,color .15s ease,transform .12s ease-out}.sb-menu-item:active{transform:scale(.97)}@media (prefers-reduced-motion:reduce){.sb-menu-dropdown>*{animation:fadeIn .15s ease both!important}.sb-menu-item:active{transform:none}}

/* >>> World Cup 2026 No-Scrollbar & Aurora Motion */
.wino-no-scrollbar, .no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.wino-no-scrollbar::-webkit-scrollbar, .no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* <<< World Cup 2026 No-Scrollbar & Aurora Motion */
