/* ═══════════════════════════════════════════════════════════════════
   SS-F7 — Tema admin gaya situs publik (Framework7 + Rubik + f7-icons)
   Ekstraksi CSS layout sambilanscore.test (layouts/public.blade.php)
   + penyesuaian dashboard admin. Dimuat SETELAH style.css.
   ═══════════════════════════════════════════════════════════════════ */

:root { --f7-theme-color: #0a84ff !important; }

.navbar-logo { height: 40px; display: block; }
body:not(.dark) .logo-light { display: none; }
body.dark .logo-dark { display: none; }
body.dark .logo-light { display: block; }

/* ═══════════ SIDEBAR (panel kiri) — modern iOS, dikelompokkan ═══════════ */
.panel-left { width: min(84vw, 328px); }
.ss-panel { display: flex; flex-direction: column; height: 100%; background: var(--f7-page-bg-color, #f2f2f7); }
body.dark .ss-panel { background: #000; }
.ss-brand { padding: calc(env(safe-area-inset-top) + 22px) 20px 12px; flex-shrink: 0; }
.ss-brand a { display: inline-block; text-decoration: none; }
.ss-brand a:active { opacity: .6; }
.ss-brand img { height: 34px; display: block; }
.ss-brand .sub { font-size: 12px; color: var(--f7-list-item-footer-text-color); margin-top: 7px; font-weight: 500; }
.ss-scroll { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 16px calc(env(safe-area-inset-bottom) + 22px); scrollbar-width: none; }
.ss-scroll::-webkit-scrollbar { display: none; }
.ss-scroll > * { flex-shrink: 0; }
.ss-gtitle { font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--f7-list-item-footer-text-color); padding: 16px 6px 8px; }
.ss-card { border-radius: 15px; overflow: hidden; background: var(--f7-list-bg-color,#fff); box-shadow: 0 4px 14px rgba(0,0,0,.05); }
body.dark .ss-card { background: #1c1c1e; border: 1px solid rgba(255,255,255,.07); }
.ss-link { display: flex; align-items: center; gap: 13px; padding: 11px 13px; text-decoration: none; color: var(--f7-text-color); }
.ss-link + .ss-link { border-top: 1px solid rgba(120,120,128,.12); }
.ss-link:active { background: rgba(120,120,128,.1); }
/* Kotak emoji — latar tint tipis dari warna menu (senada situs publik) */
.ss-ic { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
.ss-ic .icon { font-size: 17px; color: inherit; }
.ss-lbl { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-chev { font-size: 15px; color: rgba(120,120,128,.4); flex-shrink: 0; }
.ss-link.on { background: color-mix(in srgb, var(--f7-theme-color) 10%, transparent); }
.ss-link.on .ss-lbl { color: var(--f7-theme-color); font-weight: 750; }
.ss-link.on .ss-chev { color: var(--f7-theme-color); }
.ss-link.ss-danger .ss-lbl { color: #ff3b30; }

/* Nama akun di dalam kartu Dashboard (kaki grup Utama) */
.ss-cardname { padding: 7px 13px 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; color: var(--f7-list-item-footer-text-color); border-top: 1px solid rgba(120,120,128,.12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═══════════ BOTTOM TAB BAR — floating pill (modern iOS) ═══════════ */
.page-content { padding-bottom: calc(env(safe-area-inset-bottom) + 106px) !important; }
.ss-tabbar {
  left: calc(16px + 1.5%) !important; right: calc(16px + 1.5%) !important;
  bottom: calc(env(safe-area-inset-bottom) + 12px) !important;
  width: auto !important; height: 66px !important;
  border-radius: 30px !important; overflow: visible !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  transition: transform .42s cubic-bezier(.32,.72,0,1), opacity .3s ease;
  will-change: transform;
}
@media (min-width: 768px) { .ss-tabbar { max-width: 520px; margin-inline: auto; } }
.ss-tabbar::before, .ss-tabbar::after { display: none !important; }
.ss-tabbar.ss-hidden {
  transform: translateY(calc(100% + env(safe-area-inset-bottom) + 24px));
  opacity: 0; pointer-events: none;
}
/* Kaca cair putih (sama dengan situs publik) */
.ss-tabbar .toolbar-inner {
  position: relative; height: 66px; padding: 0 6px;
  border-radius: 30px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 16px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08),
              inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.04);
}
.ss-tabbar .toolbar-inner::after {
  content: ''; position: absolute; inset: 1px 1px auto; height: 46%;
  border-radius: 30px 30px 40% 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  pointer-events: none;
}
body.dark .ss-tabbar .toolbar-inner {
  background: rgba(28,28,30,.88);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.6), 0 5px 14px rgba(0,0,0,.4),
              inset 0 1px 0 rgba(255,255,255,.1);
}
body.dark .ss-tabbar .toolbar-inner::after {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}
.ss-tabbar .tab-link {
  position: relative; z-index: 1;
  flex: 1 1 0; min-width: 0;
  color: rgba(0,0,0,.72) !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  margin: 7px 3px; border-radius: 20px;
  transition: transform .32s cubic-bezier(.32,.72,0,1), background-color .28s ease, color .25s ease;
}
.ss-tabbar .tab-link i { font-size: 23px; line-height: 1; transition: transform .38s cubic-bezier(.2,.8,.3,1.5); }
.ss-tabbar .tabbar-label {
  font-size: 10px; font-weight: 600; letter-spacing: .1px; line-height: 1;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ss-tabbar .tab-link:active { transform: scale(.86); }
/* Pil aktif — kapsul abu netral, teks/ikon hitam pekat */
.ss-tabbar .tab-link-active {
  color: #000 !important;
  background: rgba(120,120,128,.18);
  box-shadow: inset 0 0 0 1px rgba(120,120,128,.16);
}
body.dark .ss-tabbar .tab-link { color: rgba(235,235,245,.62) !important; }
body.dark .ss-tabbar .tab-link-active {
  color: #fff !important;
  background: rgba(120,120,128,.42);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.ss-tabbar .tab-link-active .tabbar-label { font-weight: 800; }
.ss-tabbar .tab-link-active i { transform: translateY(-1px) scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .ss-tabbar { transition: opacity .2s ease; }
  .ss-tabbar.ss-hidden { transform: none; }
}

/* ═══════════ NAVBAR — modern iOS (kaca beku, tombol bulat) ═══════════ */
.view-main .navbar .navbar-bg {
  background: rgba(255,255,255,.72) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: background .3s ease, box-shadow .3s ease;
}
body.dark .view-main .navbar .navbar-bg { background: rgba(18,18,20,.72) !important; }
.view-main .navbar .navbar-bg::after { opacity: 0; transition: opacity .3s ease; }
.view-main .navbar.ss-scrolled .navbar-bg::after { opacity: 1; }
.view-main .navbar.ss-scrolled .navbar-bg { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
body.dark .view-main .navbar.ss-scrolled .navbar-bg { box-shadow: 0 4px 16px rgba(0,0,0,.4); }

.view-main .navbar .left a.icon-only,
.view-main .navbar .right a.icon-only {
  width: 37px; height: 37px; min-width: 37px; margin: 0 3px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(120,120,128,.14); color: var(--f7-theme-color);
  transition: transform .22s cubic-bezier(.2,.8,.3,1.4), background-color .22s ease;
}
body.dark .view-main .navbar .left a.icon-only,
body.dark .view-main .navbar .right a.icon-only { background: rgba(120,120,128,.26); }
.view-main .navbar .left a.icon-only:active,
.view-main .navbar .right a.icon-only:active { transform: scale(.86); background: rgba(120,120,128,.26); }
.view-main .navbar .left a.icon-only i,
.view-main .navbar .right a.icon-only i { font-size: 21px; }
@media (hover: hover) {
  .view-main .navbar .left a.icon-only:hover,
  .view-main .navbar .right a.icon-only:hover { background: rgba(120,120,128,.22); transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .view-main .navbar .left a.icon-only,
  .view-main .navbar .right a.icon-only { transition: opacity .2s ease; }
}

/* Lonceng notifikasi + badge merah jumlah pesan belum dibaca */
/* navbar-inner F7 default overflow:hidden — dibuat visible agar badge yang
   sedikit keluar dari tombol lonceng tidak terpotong (title punya clip sendiri). */
.view-main .navbar .navbar-inner { overflow: visible; }
.view-main .navbar .right a.icon-only.nav-bell { position: relative; overflow: visible; }
.nav-bell .nav-badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px; background: #ff3b30; color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: -.2px;
  box-shadow: 0 0 0 2px var(--f7-navbar-bg-color, #fff), 0 1px 3px rgba(255,59,48,.5);
}
body.dark .nav-bell .nav-badge { box-shadow: 0 0 0 2px #121214, 0 1px 3px rgba(255,59,48,.5); }
@media (hover: hover) {
  .view-main .navbar .right a.icon-only.nav-bell:hover { transform: translateY(-1px); }
}

/* Judul halaman di bawah navbar */
.page-header { display: flex; align-items: center; gap: 4px; padding: 14px 16px 2px; }
.page-header-back {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-left: -7px; flex-shrink: 0;
  color: var(--f7-theme-color); border-radius: 50%; text-decoration: none;
}
.page-header-back i { font-size: 27px; }
.page-header-back:active { background: rgba(120, 120, 128, .16); }
.page-header-title {
  margin: 0; min-width: 0; font-size: 22px; font-weight: 800;
  letter-spacing: -.4px; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.page-header-sub { font-size: 13px; color: var(--f7-list-item-footer-text-color); padding: 2px 16px 0; }
.page-header-action { margin-left: auto; flex-shrink: 0; }
/* Tombol kembali (.page-back) menempel kiri, bukan kanan */
.page-header-action:has(.page-back) { margin-left: 0; margin-right: auto; }

.section-title a.pull-right { float: right; font-size: 13px; font-weight: 500; }

/* ═══════════ SECTION HEAD — judul seksi + petak ikon berwarna (gaya beranda publik) ═══════════ */
.sec-head { display: flex; align-items: center; gap: 8px; padding: 20px 16px 10px; }
.sec-head .sh-ic { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.sec-head .sh-ic .icon { font-size: 13px; }
.sec-head h2 { font-size: 15px; font-weight: 650; letter-spacing: -.2px; margin: 0; line-height: 1.1; flex: 1; min-width: 0; color: var(--title-color); }
.sec-head .sh-more { font-size: 12.5px; font-weight: 600; color: var(--f7-theme-color); text-decoration: none; flex-shrink: 0; }
.sec-head .sh-count { flex-shrink: 0; margin-left: 2px; padding: 1px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; background: rgba(52,199,89,.16); color: #248a3d; }
body.dark .sec-head .sh-count { color: #30d158; }
.sh-blue   { background: rgba(0,122,255,.14);  color: #007aff; }
.sh-green  { background: rgba(52,199,89,.16);  color: #34c759; }
.sh-orange { background: rgba(255,149,0,.16);  color: #ff9500; }
.sh-red    { background: rgba(255,59,48,.14);  color: #ff3b30; }
.sh-purple { background: rgba(175,82,222,.15); color: #af52de; }
.sh-teal   { background: rgba(48,176,199,.15); color: #30b0c7; }

/* ═══════════ KARTU ANGGOTA MANAJEMEN — gaya kartu dompet digital ═══════════ */
.ss-member {
  position: relative; overflow: hidden;
  margin: 14px 16px 0; border-radius: 22px; padding: 15px 17px 13px;
  background: linear-gradient(140deg, #0a84ff 0%, #0055d4 55%, #003a9b 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 26px rgba(0, 85, 212, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
body.dark .ss-member { box-shadow: 0 10px 26px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255,255,255,.18); }
/* Kilau kaca dekoratif khas kartu fisik */
.ss-member::before {
  content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  top: -130px; right: -70px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 68%);
}
.ss-member::after {
  content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  bottom: -120px; left: -60px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.1), rgba(255,255,255,0) 66%);
}
.ss-member > * { position: relative; z-index: 1; }
.ss-member-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.ss-member-type { font-size: 9.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.72); }
.ss-member-badge {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 9px; font-weight: 800; letter-spacing: .6px;
  background: rgba(255,255,255,.2); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.ss-member-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5fff9d; box-shadow: 0 0 6px rgba(95,255,157,.9); }
.ss-member-badge.off { background: rgba(0,0,0,.22); color: rgba(255,255,255,.75); }
.ss-member-badge.off::before { background: #ffb1aa; box-shadow: none; }
.ss-member-main { display: flex; align-items: center; gap: 13px; }
.ss-member-logo {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.ss-member-logo img { width: 100%; height: 100%; object-fit: contain; }
.ss-member-logo i { font-size: 23px; color: #fff; }
.ss-member-id { flex: 1; min-width: 0; }
.ss-member-name { font-size: 16.5px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-member-loc { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: rgba(255,255,255,.8); margin-top: 3px; min-width: 0; }
.ss-member-loc i { font-size: 12px; flex-shrink: 0; }
.ss-member-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Grup Tarik Klub + Jadwal Otomatis di card Aksi Turnamen:
   desktop terdorong ke kanan, mobile jadi baris penuh paling bawah */
.ss-aksi-kanan { margin-inline-start: auto; }
@media (max-width: 991.98px) {
  .ss-aksi-kanan { margin-inline-start: 0; width: 100%; }
}

/* Tombol onboarding "Lengkapi Profil/Data Klub" di bawah nama manajemen */
.ss-member-lengkapi {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; padding: 5px 12px; border-radius: 20px;
  background: rgba(255,255,255,.22); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ss-member-lengkapi i { font-size: 13px; color: #ffd60a; }
.ss-member-lengkapi:active { opacity: .7; }
.ss-member-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 13px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.16);
}
.ss-member-user { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.92); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-member-since { flex-shrink: 0; font-size: 10px; font-weight: 600; letter-spacing: .3px; color: rgba(255,255,255,.65); text-transform: uppercase; }

/* ═══════════ KARTU STATISTIK gaya iOS (stat-tile publik, mini — 4 kolom) ═══════════ */
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 0 16px; margin-top: 14px; }
/* Varian: di desktop semua kartu jadi satu baris ke samping (dipakai dashboard manajemen) */
@media (min-width: 768px) {
  .stat-tiles--row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
}
/* Varian: 6 kartu sebaris di desktop, sisanya turun (dipakai dashboard EO) */
@media (min-width: 1024px) {
  .stat-tiles--6 { grid-template-columns: repeat(6, 1fr); }
}
.stat-tile {
  display: block; text-align: center; padding: 11px 5px 10px; border-radius: 15px;
  background: var(--f7-list-bg-color, #fff); color: inherit; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04);
  transition: transform .15s ease;
}
.stat-tile:active { transform: scale(.96); }
body.dark .stat-tile { background: #1c1c1e; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.stat-tile .tile-icon {
  width: 32px; height: 32px; border-radius: 10px; margin: 0 auto 7px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px var(--tile-glow, rgba(0, 122, 255, .35)),
              inset 0 1px 0 rgba(255, 255, 255, .35);
}
.stat-tile .tile-icon .icon { color: #fff; font-size: 17px; }
.tile-blue   { background: linear-gradient(180deg, #4facff, #007aff); --tile-glow: rgba(0, 122, 255, .35); }
.tile-green  { background: linear-gradient(180deg, #5fdd77, #2fb84f); --tile-glow: rgba(52, 199, 89, .35); }
.tile-orange { background: linear-gradient(180deg, #ffc14d, #ff9500); --tile-glow: rgba(255, 149, 0, .35); }
.tile-red    { background: linear-gradient(180deg, #ff7a72, #ff3b30); --tile-glow: rgba(255, 59, 48, .35); }
.tile-purple { background: linear-gradient(180deg, #c08aff, #af52de); --tile-glow: rgba(175, 82, 222, .35); }
.tile-teal   { background: linear-gradient(180deg, #55d0e0, #30b0c7); --tile-glow: rgba(48, 176, 199, .35); }
.tile-pink   { background: linear-gradient(180deg, #ff7ab8, #ff2d92); --tile-glow: rgba(255, 45, 146, .35); }
.stat-tile .num {
  font-size: 17px; font-weight: 800; letter-spacing: -.4px; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-tile .lbl { font-size: 9.5px; line-height: 1.2; margin-top: 2px; color: var(--f7-list-item-footer-text-color); }

@keyframes tile-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.stat-tiles .stat-tile { animation: tile-float 3.8s ease-in-out infinite; }
.stat-tiles .stat-tile:nth-child(2) { animation-delay: -1.1s; animation-duration: 4.2s; }
.stat-tiles .stat-tile:nth-child(3) { animation-delay: -2.3s; animation-duration: 3.5s; }
.stat-tiles .stat-tile:nth-child(4) { animation-delay: -3.1s; animation-duration: 4.6s; }
.stat-tiles .stat-tile:nth-child(5) { animation-delay: -.7s;  animation-duration: 4s; }
.stat-tiles .stat-tile:nth-child(6) { animation-delay: -1.9s; animation-duration: 4.4s; }
.stat-tiles .stat-tile:nth-child(7) { animation-delay: -2.7s; animation-duration: 3.7s; }
@media (prefers-reduced-motion: reduce) {
  .stat-tiles .stat-tile { animation: none; }
}

/* ═══════════ KARTU TURNAMEN TERBUKA ═══════════ */
.ss-cards { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 16px; }
@media (min-width: 640px)  { .ss-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ss-cards { grid-template-columns: repeat(3, 1fr); } }
.ss-tcard {
  display: flex; flex-direction: column; gap: 8px; border-radius: 17px; padding: 14px 16px;
  background: var(--f7-list-bg-color, #fff); color: inherit; text-decoration: none;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  transition: transform .15s ease;
}
.ss-tcard:active { transform: scale(.97); }
body.dark .ss-tcard { background: #1c1c1e; box-shadow: 0 7px 20px rgba(0, 0, 0, .35); }
/* Turnamen membuka pendaftaran: baris geser horizontal (maks 5 kartu). */
.ss-cards-scroll {
  display: flex !important;
  grid-template-columns: none !important;
  overflow-x: auto;
  gap: 12px;
  padding: 4px 16px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ss-cards-scroll::-webkit-scrollbar { display: none; }
.ss-cards-scroll .ss-tcard {
  flex: 0 0 76%;
  max-width: 280px;
  scroll-snap-align: start;
}
@media (min-width: 640px) { .ss-cards-scroll .ss-tcard { flex-basis: 300px; } }
/* Turnamen yang cabang olahraganya cocok dengan klub manajemen → tanda hijau menonjol. */
.ss-tcard.is-match {
  background: rgba(52, 199, 89, .10);
  box-shadow: 0 8px 22px rgba(52, 199, 89, .2), inset 0 0 0 2px rgba(52, 199, 89, .6);
}
body.dark .ss-tcard.is-match {
  background: rgba(48, 209, 88, .14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4), inset 0 0 0 2px rgba(48, 209, 88, .6);
}
/* Badge "Cocok" — hijau pekat berisi, langsung terlihat */
.ss-pill.match {
  background: linear-gradient(180deg, #34c759, #2fb84f); color: #fff;
  letter-spacing: .3px;
  box-shadow: 0 3px 8px rgba(52, 199, 89, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.ss-pill.match i { font-size: 12px; margin-left: -1px; }
.ss-tcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ss-tcard-name { font-size: 14.5px; font-weight: 700; letter-spacing: -.2px; line-height: 1.3; color: var(--f7-text-color); }
.ss-tcard-meta { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--f7-list-item-footer-text-color); }
.ss-tcard-meta span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ss-tcard-meta i { font-size: 14px; flex-shrink: 0; }
.ss-tcard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; }
.ss-pill {
  flex-shrink: 0; padding: 3px 10px; border-radius: 20px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .5px;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.ss-pill.blue   { background: rgba(0, 122, 255, .12);  color: var(--f7-theme-color); }
.ss-pill.green  { background: rgba(52, 199, 89, .14);  color: #248a3d; }
.ss-pill.orange { background: rgba(255, 149, 0, .14);  color: #c76b00; }
.ss-pill.gray   { background: rgba(120, 120, 128, .13); color: var(--f7-list-item-footer-text-color); }
body.dark .ss-pill.green  { color: #30d158; }
body.dark .ss-pill.orange { color: #ff9f0a; }
body.dark .ss-pill.gray   { background: rgba(120, 120, 128, .28); }
.ss-tcard .button { text-transform: none; }

/* ═══════════ DAFTAR DALAM KARTU (jadwal, pendaftaran, notifikasi) ═══════════ */
.ss-list-card { margin: 0 16px; border-radius: 17px; overflow: hidden;
  background: var(--f7-list-bg-color, #fff);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04); }
body.dark .ss-list-card { background: #1c1c1e; box-shadow: 0 7px 20px rgba(0, 0, 0, .35); }
.ss-row { display: flex; align-items: center; gap: 12px; padding: 12px 15px; color: inherit; text-decoration: none; }
.ss-row + .ss-row { border-top: 1px solid rgba(120,120,128,.12); }
a.ss-row:active { background: rgba(120,120,128,.1); }
.ss-row-ic {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px;
}
.ss-row-body { flex: 1; min-width: 0; }
.ss-row-t { font-size: 13.5px; font-weight: 650; letter-spacing: -.1px; line-height: 1.3;
  color: var(--f7-text-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-row-s { font-size: 12px; color: var(--f7-list-item-footer-text-color); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-row-end { flex-shrink: 0; text-align: right; }
.ss-row-time { font-size: 12px; font-weight: 700; color: var(--f7-theme-color); font-variant-numeric: tabular-nums; }
.ss-row-date { font-size: 10.5px; color: var(--f7-list-item-footer-text-color); font-variant-numeric: tabular-nums; }
/* ═══════════ KARTU PERTANDINGAN — scoreboard bergradien (dashboard) ═══════════ */
.ss-mcards { margin: 0 16px; display: grid; gap: 12px; }
@media (min-width: 640px) { .ss-mcards { grid-template-columns: 1fr 1fr; } }
/* Varian: 4 kartu laga sebaris di desktop, sisanya turun (dipakai dashboard EO) */
@media (min-width: 1200px) { .ss-mcards--4 { grid-template-columns: repeat(4, 1fr); } }
.ss-mcard {
  position: relative; overflow: hidden; border-radius: 18px; padding: 13px 15px 15px; color: #fff;
  background: linear-gradient(135deg, #0a84ff 0%, #5e5ce6 55%, #7d2ae8 100%);
  box-shadow: 0 10px 24px rgba(94, 92, 230, .3);
  display: block; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
a.ss-mcard:active { transform: scale(.97); }
@media (hover: hover) {
  a.ss-mcard:hover { transform: translateY(-2px); filter: brightness(1.06); }
}
.ss-mcard.live {
  background: linear-gradient(135deg, #ff9500, #ff3b30 60%, #d70015);
  box-shadow: 0 10px 24px rgba(255, 59, 48, .3);
}
.ss-mcard.done {
  background: linear-gradient(135deg, #34c759, #30b0c7 60%, #007aff);
  box-shadow: 0 10px 24px rgba(48, 176, 199, .3);
}
/* Ornamen lingkaran cahaya di pojok kartu */
.ss-mcard::before, .ss-mcard::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.13); pointer-events: none;
}
.ss-mcard::before { width: 150px; height: 150px; top: -70px; right: -40px; }
.ss-mcard::after  { width: 110px; height: 110px; bottom: -60px; left: -30px; background: rgba(255,255,255,.08); }
.ss-mcard-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ss-mcard-tn { display: flex; align-items: center; gap: 5px; min-width: 0;
  font-size: 10.5px; font-weight: 600; letter-spacing: .3px; color: rgba(255,255,255,.85); }
.ss-mcard-tn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-mcard-tn i { font-size: 12px; flex-shrink: 0; }
.ss-mcard-badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.22);
  font-size: 10px; font-weight: 800; letter-spacing: .6px; font-variant-numeric: tabular-nums; }
.ss-mcard-badge i { font-size: 11px; }
.ss-mcard-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: ss-live-pulse 1.1s ease-in-out infinite; }
@keyframes ss-live-pulse { 50% { opacity: .25; } }
.ss-mcard-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.ss-mcard-side { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.ss-mcard-logo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.4); font-size: 20px; }
.ss-mcard-logo img { width: 100%; height: 100%; object-fit: cover; }
.ss-mcard-name { font-size: 11.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ss-mcard-mid { flex-shrink: 0; min-width: 62px; text-align: center; }
.ss-mcard-score { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.ss-mcard-score i { font-style: normal; font-weight: 600; opacity: .6; margin: 0 4px; }
.ss-mcard-vs { font-size: 15px; font-weight: 800; letter-spacing: 2px; opacity: .75; }

.ss-empty { display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px 16px; text-align: center; color: var(--f7-list-item-footer-text-color); font-size: 13px; }
.ss-empty i { font-size: 34px; opacity: .45; }
.ss-empty a { color: var(--f7-theme-color); font-weight: 600; }

/* Log aktivitas — daftar minimalis (rata, tanpa kartu, titik warna + baris hairline) */
.ss-log { margin: 0 16px; }
.ss-log-row { display: flex; align-items: center; gap: 11px; padding: 11px 2px; }
.ss-log-row + .ss-log-row { border-top: 1px solid rgba(120,120,128,.14); }
.ss-log-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ss-log-body { flex: 1; min-width: 0; }
.ss-log-t { display: block; font-size: 13px; font-weight: 500; letter-spacing: -.1px; line-height: 1.35;
  color: var(--f7-text-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-log-m { display: block; font-size: 11px; color: var(--f7-list-item-footer-text-color); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-log-date { flex-shrink: 0; font-size: 11px; color: var(--f7-list-item-footer-text-color);
  font-variant-numeric: tabular-nums; }
.ss-log-empty { text-align: center; color: var(--f7-list-item-footer-text-color); font-size: 12.5px; padding: 22px 0 6px; }

.notif-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--f7-theme-color); }
.notif-dot.read { background: rgba(120,120,128,.35); }

.footer-note {
  text-align: center; font-size: 12px; padding: 28px 16px 12px;
  color: var(--f7-list-item-footer-text-color);
}

/* ── Mode gelap: garis tepi kartu agar terpisah dari latar ── */
body.dark .stat-tile,
body.dark .ss-tcard,
body.dark .ss-list-card,
body.dark .ss-hero,
body.dark .card,
body.dark .data-table.card {
  border: 1px solid rgba(255, 255, 255, .13);
}

/* ── Interaksi hover (hanya perangkat ber-kursor; HP tetap efek tekan) ── */
@media (hover: hover) {
  .stat-tile, .ss-tcard, a.card {
    transition: transform .22s cubic-bezier(.2, .8, .3, 1.1), box-shadow .22s ease;
    will-change: transform;
  }
  .stat-tile:hover, .ss-tcard:hover, a.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .13), 0 3px 8px rgba(0, 0, 0, .06);
  }
  .stat-tiles .stat-tile:hover { animation: none; }
  body.dark .stat-tile:hover, body.dark .ss-tcard:hover, body.dark a.card:hover {
    box-shadow: 0 16px 34px rgba(0, 0, 0, .55);
    border-color: rgba(255, 255, 255, .22);
  }
  .stat-tile .tile-icon { transition: transform .25s cubic-bezier(.2, .8, .3, 1.4); }
  .stat-tile:hover .tile-icon { transform: scale(1.12) rotate(-4deg); }
  .list .item-link { transition: background-color .18s ease, transform .18s ease; }
  .list .item-link:hover { background-color: rgba(0, 122, 255, .06); transform: translateX(4px); }
  body.dark .list .item-link:hover { background-color: rgba(10, 132, 255, .12); }
  a.ss-row:hover { background-color: rgba(0, 122, 255, .06); }
  body.dark a.ss-row:hover { background-color: rgba(10, 132, 255, .12); }
  .section-title a.pull-right { transition: transform .15s ease, opacity .15s ease; }
  .section-title a.pull-right:hover { transform: translateX(3px); }
}

/* ═══════════════════════════════════════════════════════════════════
   HALAMAN DETAIL TURNAMEN (manajemen) — hero gradien + metrik + daftar
   ═══════════════════════════════════════════════════════════════════ */
.th-hero {
  position: relative; overflow: hidden;
  margin: 14px 16px 0; border-radius: 24px; padding: 15px 18px 15px; color: #fff;
  background: linear-gradient(140deg, #8b5cf6 0%, #6d28d9 46%, #4322a8 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 14px 34px rgba(76, 29, 178, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
}
body.dark .th-hero { box-shadow: 0 14px 34px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .16); }
.th-hero::before {
  content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  top: -140px; right: -80px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 68%);
}
.th-hero::after {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  bottom: -130px; left: -70px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 66%);
}
.th-hero > * { position: relative; z-index: 1; }
.th-hero-top { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.th-back {
  width: 33px; height: 33px; border-radius: 50%; flex-shrink: 0; margin-left: -3px;
  display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24);
  transition: transform .2s ease, background-color .2s ease;
}
.th-back:active { transform: scale(.88); background: rgba(255, 255, 255, .3); }
.th-back i { font-size: 20px; }
.th-cat {
  font-size: 9.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 20px;
  background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
}
.th-status {
  margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 20px; font-size: 9px; font-weight: 800; letter-spacing: .6px;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.th-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5fff9d; box-shadow: 0 0 6px rgba(95, 255, 157, .9); }
.th-status.closed { background: rgba(0, 0, 0, .24); color: rgba(255, 255, 255, .8); }
.th-status.closed::before { background: #ffb1aa; box-shadow: none; }
.th-hero-main { display: flex; align-items: center; gap: 14px; }
.th-logo {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .2);
}
.th-logo img { width: 100%; height: 100%; object-fit: contain; }
.th-logo i { font-size: 28px; color: #fff; }
.th-id { flex: 1; min-width: 0; }
.th-name { font-size: 19px; font-weight: 800; letter-spacing: -.4px; line-height: 1.22; }
.th-org { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255, 255, 255, .82); margin-top: 4px; }
.th-org i { font-size: 13px; flex-shrink: 0; }
.th-org span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-hero-foot { display: flex; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
.th-fact { flex: 1; min-width: 0; }
.th-fact + .th-fact { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 12px; }
.th-fact-l { font-size: 8.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.th-fact-v { font-size: 12.5px; font-weight: 700; margin-top: 3px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Metrik ringkas — reuse stat-tile, 2 kolom */
.th-stats { grid-template-columns: repeat(2, 1fr) !important; }

/* Bilah kuota peserta */
.th-quota {
  margin: 12px 16px 0; padding: 13px 16px; border-radius: 17px;
  background: var(--f7-list-bg-color, #fff);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
}
body.dark .th-quota { background: #1c1c1e; box-shadow: 0 7px 20px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .13); }
.th-quota-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.th-quota-head .l { font-size: 12.5px; font-weight: 650; color: var(--f7-text-color); }
.th-quota-head .r { font-size: 12px; font-weight: 700; color: var(--f7-list-item-footer-text-color); font-variant-numeric: tabular-nums; }
.th-quota-track { height: 8px; border-radius: 20px; overflow: hidden; background: rgba(120, 120, 128, .16); }
.th-quota-fill {
  height: 100%; width: var(--pct, 0%); border-radius: 20px;
  background: linear-gradient(90deg, #34c759, #2fb84f);
  transition: width .6s cubic-bezier(.2, .8, .3, 1);
}
.th-quota-fill.full { background: linear-gradient(90deg, #ff9f0a, #ff3b30); }

/* Daftar info (label di atas, nilai tebal di bawah — boleh multibaris) */
.th-list .ss-row { align-items: flex-start; }
.th-list .ss-row-body { display: flex; flex-direction: column; gap: 1px; }
.th-list .ss-row-t { white-space: normal; }

/* ── Skema minimalis khusus halaman turnamen manajemen (.th-page) ──
   Perkecil hero, judul seksi, baris info & metrik agar lebih ringkas.
   Terskop di .th-page supaya TIDAK memengaruhi halaman lain. */
.th-page .th-hero { padding: 12px 15px; border-radius: 18px; margin-top: 10px; }
.th-page .th-hero-top { margin-bottom: 10px; }
.th-page .th-hero-main { gap: 11px; }
.th-page .th-logo { width: 44px; height: 44px; border-radius: 13px; }
.th-page .th-logo i { font-size: 22px; }
.th-page .th-name { font-size: 15.5px; letter-spacing: -.3px; }
.th-page .th-org { font-size: 11px; margin-top: 3px; }
.th-page .th-hero-foot { margin-top: 11px; padding-top: 10px; }
.th-page .th-fact-v { font-size: 11.5px; }
.th-page .sec-head { padding: 15px 16px 7px; gap: 7px; }
.th-page .sec-head .sh-ic { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
.th-page .sec-head .sh-ic .icon { font-size: 11px; }
.th-page .sec-head h2 { font-size: 12.5px; font-weight: 700; }
.th-page .ss-row { padding: 9px 13px; gap: 10px; }
.th-page .ss-row-t { font-size: 12.5px; }
.th-page .ss-row-s { font-size: 11px; }
.th-page .stat-tile .num { font-size: 15px; }
.th-page .stat-tile .lbl { font-size: 9px; }
/* Tenangkan tampilan: matikan animasi mengambang tile di halaman ini */
.th-page .stat-tiles .stat-tile { animation: none; }

/* Baris klub pada seksi pendaftaran */
.th-team.ok { background: rgba(52, 199, 89, .07); }
body.dark .th-team.ok { background: rgba(48, 209, 88, .1); }
.th-team-note { font-size: 11.5px; font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 4px; line-height: 1.3; }
.th-team-note i { font-size: 13px; flex-shrink: 0; }
.th-team-note.wait { color: #c76b00; }
.th-team-note.err { color: #d70015; }
.th-team-note.good { color: #248a3d; }
body.dark .th-team-note.wait { color: #ff9f0a; }
body.dark .th-team-note.err { color: #ff6961; }
body.dark .th-team-note.good { color: #30d158; }
.th-btn { height: 33px; padding: 0 15px; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.th-btn.green { background: linear-gradient(180deg, #34c759, #2fb84f); color: #fff; }

/* Deskripsi turnamen */
.th-desc {
  margin: 0 16px; padding: 14px 16px; border-radius: 17px; white-space: pre-line;
  font-size: 13.5px; line-height: 1.5; color: var(--f7-text-color);
  background: var(--f7-list-bg-color, #fff);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
}
body.dark .th-desc { background: #1c1c1e; box-shadow: 0 7px 20px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .13); }

/* Catatan informatif */
.th-info {
  display: flex; gap: 9px; align-items: flex-start; margin: 14px 16px 0;
  padding: 12px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.45;
  background: rgba(0, 122, 255, .08); color: var(--f7-text-color);
}
body.dark .th-info { background: rgba(10, 132, 255, .14); }
.th-info i { font-size: 17px; color: var(--f7-theme-color); flex-shrink: 0; margin-top: 1px; }
.th-info a { color: var(--f7-theme-color); font-weight: 600; }

/* Avatar inisial klub (baris peserta & pendaftaran) */
.th-ava { font-size: 14px; font-weight: 800; letter-spacing: -.3px; }
.th-rank { width: 26px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--f7-list-item-footer-text-color); font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* ═══════════ REVEAL SAAT SCROLL — section memudar-masuk + naik halus ═══════════ */
.ss-anim-on .ss-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .3, 1);
  will-change: opacity, transform;
}
.ss-anim-on .ss-reveal.in { opacity: 1; transform: none; }
.ss-cv { content-visibility: auto; contain-intrinsic-size: auto 340px; }
@media (prefers-reduced-motion: reduce) {
  .ss-anim-on .ss-reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* Badge angka di item sidebar (mis. pesan chat belum dibaca) */
.ss-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #ff3b30; color: #fff; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-left: auto; }
.ss-link .ss-badge + .ss-chev { margin-left: 6px; }

/* ── Kartu turnamen bergradasi (gaya "Segera Dimulai" situs publik) —
   dipakai section Turnamen Tersedia di dashboard manajemen. Grid wrap
   supaya SEMUA kartu terlihat (bukan geser). ── */
.tour-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 13px; padding: 4px 16px 10px;
  scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tour-grid::-webkit-scrollbar { display: none; }
.tour-card { flex: 0 0 250px; scroll-snap-align: start; border-radius: 18px; padding: 16px; color: #fff;
  position: relative; overflow: hidden; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.16); background: linear-gradient(145deg, var(--g1), var(--g2));
  transition: transform .15s ease; }
.tour-card:active { transform: scale(.98); }
.tour-card::before { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255,255,255,.12); }
.tour-card .tc-row { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.tour-card .tc-logo { width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tour-card .tc-logo img { width: 100%; height: 100%; object-fit: contain; }
.tour-card .tc-logo i { font-size: 26px; color: #0a84ff; }
.tour-card .tc-title { font-size: 15.5px; font-weight: 850; letter-spacing: -.3px; line-height: 1.18;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card .tc-cat { font-size: 11px; opacity: .9; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 3px; }
.tour-card .tc-cat i { font-size: 12px; flex-shrink: 0; }
.tour-card .tc-catpill { flex-shrink: 0; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
  background: rgba(255,255,255,.9); color: #1c1c1e; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tour-card .tc-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.tour-card .tc-date { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; opacity: .95; }
.tour-card .tc-date i { font-size: 13px; }
.tour-card .tc-badge { flex-shrink: 0; font-size: 10px; font-weight: 800; letter-spacing: .3px; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,.24); }

/* Tombol simpan susunan pemain saat aturan belum terpenuhi: tampil terkunci
   tapi tetap bisa diklik supaya popup alasan muncul (jadwal-susunan-form). */
.ss-btn-terkunci { cursor: not-allowed; filter: grayscale(.7); }

/* Tabel susunan pemain: radio Tidak Dibawa/Utama/Cadangan/Kapten diperbesar —
   ukuran bawaan 1,15em terlalu kecil untuk jempol di layar HP. Padding sel
   ikut dilebarkan supaya area sentuhnya mendekati anjuran 44px. */
.ss-lineup-table td .form-check-input { width: 26px; height: 26px; margin-top: 0; }
.ss-lineup-table td.text-center { padding: 12px 6px; }
.ss-lineup-table th.text-center { padding-left: 6px; padding-right: 6px; }
.ss-lineup-table .ss-lineup-hit {
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 4px; min-height: 34px; cursor: pointer;
}
.ss-lineup-table .ss-lineup-hit:has(input:disabled) { cursor: default; }
