/* Demo (pagina de sport): stil plat, compact. Se incarca dupa app.css; clasele noi: .shead .feat .lg2 .r2 .ox .o2 .bnav */
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: dPulse 1.6s ease-out infinite; }
@keyframes dPulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* antet */
.shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 16px; }
.shead .sh-t { display: flex; align-items: center; gap: 14px; min-width: 0; }
.shead .si { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--panel); border: 1px solid var(--line); flex-shrink: 0; }
.shead h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.shead p { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.shead p .lv { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 700; }

/* live acum */
.feat { margin-bottom: 18px; }
.feat .fh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.feat h2 { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; }
.feat .fh button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 18px; line-height: 1; margin-left: 6px; }
.feat .fh button:hover { border-color: rgba(255,255,255,.18); }
.fscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(258px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.fscroll::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; display: grid; gap: 7px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s; min-width: 0; }
.fcard:hover { border-color: rgba(255,255,255,.16); }
.fcard header { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.fcard header .lg { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fcard header .lg img { width: 14px; height: 14px; border-radius: 50%; object-fit: cover; }
.fcard header .tm { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; flex-shrink: 0; }
.fcard .ft { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; }
.fcard .ft img { width: 20px; height: 20px; object-fit: contain; }
.fcard .ft span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fcard .ft b { font-size: 16px; font-variant-numeric: tabular-nums; }
.fcard .ox { margin-top: 4px; }

/* zile + filtre */
.days.d2 { gap: 6px; margin-bottom: 12px; scrollbar-width: none; }
.days.d2::-webkit-scrollbar { display: none; }
.days.d2 button { min-width: 64px; padding: 7px 8px 6px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); transform: none !important; }
.days.d2 button b { font-size: 12.5px; } .days.d2 button span { font-size: 10.5px; } .days.d2 button small { font-size: 10.5px; }
.days.d2 button.on { background: var(--accent); border-color: var(--accent); }
.tools.t2 .search svg { color: var(--muted); flex-shrink: 0; }

/* ligi */
.league.lg2 { margin-bottom: 14px !important; border-radius: 14px !important; overflow: clip !important; border: 1px solid var(--line) !important; background: var(--panel) !important; box-shadow: none !important; }
.league.lg2 > header { display: flex; align-items: center; gap: 10px; padding: 10px 14px !important; background: rgba(255,255,255,.025) !important; border-bottom: 1px solid var(--line); font-size: 14px !important; position: sticky; top: 66px; z-index: 3; backdrop-filter: blur(12px); }
.league.lg2.closed > header { border-bottom: 0; }
.league.lg2 > header img { width: 20px; height: 20px; } .league.lg2 > header img.fl { width: 20px; height: 20px; }
.league.lg2 > header .sp { font-size: 17px; }
.league.lg2 .lt { display: grid; min-width: 0; line-height: 1.2; }
.league.lg2 .lt small { font-size: 11px; color: var(--muted); font-weight: 600; }
.league.lg2 .lt b { font-size: 14px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.league.lg2 > header .lv { font-size: 11px; font-weight: 800; color: var(--green); background: rgba(52,211,153,.1); padding: 2px 7px; border-radius: 6px; flex-shrink: 0; }
.league.lg2 > header .n { color: var(--dim); font-size: 12px; font-weight: 600; flex-shrink: 0; }
.league.lg2 > header .cols { margin-left: auto; display: grid; grid-template-columns: repeat(var(--c), 72px); gap: 6px; margin-right: 10px; }
.league.lg2 > header .cols i { font-style: normal; text-align: center; font-size: 11px; font-weight: 800; color: var(--dim); }
.league.lg2 > header .cols + .star { margin-left: 0; }
.league.lg2 > header .star { font-size: 17px; width: 24px; padding: 0; margin-left: auto; }

/* randuri */
.lg2 .row.r2 { display: grid !important; grid-template-columns: 70px minmax(0, 1fr) 26px auto 32px; align-items: center; gap: 0 12px; padding: 9px 14px !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; border-top: 1px solid var(--line) !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
.lg2 .rows .row.r2:first-child { border-top: 0 !important; }
.lg2 .row.r2:hover { background: rgba(255,255,255,.025) !important; }
.lg2 .row.r2::before { display: none !important; }
.lg2 .row.r2.is-live { box-shadow: inset 2px 0 0 var(--green) !important; }
.r2 .tm { display: grid; justify-items: start; font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.25; font-variant-numeric: tabular-nums; }
.r2 .tm b { color: var(--text); font-size: 13px; } .r2 .tm small { font-size: 11px; color: var(--dim); font-weight: 600; }
.r2 .tm.live { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; white-space: nowrap; overflow: hidden; }
.r2 .tm.post { color: var(--dim); }
.r2 .tt { display: grid; gap: 4px; min-width: 0; }
.r2 .tt > div { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 9px; align-items: center; font-size: 14px; min-height: 22px; }
.r2 .tt img { width: 20px !important; height: 20px !important; object-fit: contain; }
.r2 .tt .nm { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.r2 .tt .nm em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 6px; }
.r2 .tt .w .nm { font-weight: 700; }
.r2 .tt .sc { font-variant-numeric: tabular-nums; min-width: 16px; text-align: right; font-size: 14.5px; }
.r2.is-live .tt .sc { color: var(--green); }
.r2 .ic { display: flex; gap: 4px; }
.r2 .ic { width: 26px; justify-content: center; }
.r2 .mr { display: flex; justify-content: center; }
.r2 .mr .plus { min-width: 0; padding: 4px; font-size: 11.5px; }

/* cote */
.ox { display: grid; grid-template-columns: repeat(var(--c), 72px); gap: 6px; }
.fcard .ox { grid-template-columns: repeat(var(--c), minmax(0, 1fr)); }
.lg2 .odd.o2, .fcard .odd.o2 { position: relative; min-width: 0 !important; width: 100%; height: 38px; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 9px !important; border: 1px solid var(--line) !important; background: rgba(255,255,255,.045) !important; box-shadow: none !important; transform: none !important; transition: background .15s, border-color .15s; }
.lg2 .odd.o2 i, .fcard .odd.o2 i { display: none; font-style: normal; font-size: 11px; color: var(--muted); }
.fcard .odd.o2 { justify-content: space-between; } .fcard .odd.o2 i { display: inline; }
.lg2 .odd.o2 b, .fcard .odd.o2 b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lg2 .odd.o2:not(:disabled):hover, .fcard .odd.o2:not(:disabled):hover { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.18) !important; }
.lg2 .odd.o2.sel, .fcard .odd.o2.sel { background: var(--accent) !important; border-color: var(--accent) !important; }
.lg2 .odd.o2.sel b, .lg2 .odd.o2.sel i, .fcard .odd.o2.sel b, .fcard .odd.o2.sel i { color: #fff !important; }
.odd.o2.up { animation: dUp 2.4s ease-out; } .odd.o2.down { animation: dDown 2.4s ease-out; }
.odd.o2.up::after, .odd.o2.down::after { position: absolute; top: 2px; right: 4px; font-size: 8px; }
.odd.o2.up::after { content: "▲"; color: var(--green); } .odd.o2.down::after { content: "▼"; color: #ff6b75; }
@keyframes dUp { 0%, 30% { background: rgba(52,211,153,.22); border-color: rgba(52,211,153,.6); } }
@keyframes dDown { 0%, 30% { background: rgba(255,75,87,.2); border-color: rgba(255,75,87,.55); } }
.o2.none { display: grid; place-items: center; height: 38px; color: var(--dim); font-size: 13px; }
.ox.susp, .ox.none { grid-column: auto; display: flex; align-items: center; justify-content: center; gap: 6px; width: calc(var(--c) * 72px + (var(--c) - 1) * 6px); height: 38px; border-radius: 9px; font-size: 12px; font-weight: 700; }
.ox.susp { color: var(--muted); background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 8px, rgba(255,255,255,.015) 8px 16px); border: 1px dashed var(--line); }
.ox.none { color: var(--dim); font-weight: 600; }
.r2 .xt { grid-column: 2 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.r2 .xt .ox { margin-right: 44px; }
.lg2 .row.r2 .xt .odd.o2 i { display: inline; }

/* bara de jos (telefon) */
.bnav { display: none; }
@media (max-width: 1280px) { body:not(.admin):not(.locked) .bnav { display: grid; } body:not(.admin) .fab { display: none !important; } }
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; grid-template-columns: repeat(4, 1fr); background: rgba(14,15,19,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bnav a, .bnav button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 5px 2px; border: 0; background: none; color: var(--muted); font: 600 11px/1.1 inherit; text-decoration: none; cursor: pointer; }
.bnav .on { color: var(--text); } .bnav .on svg { color: var(--accent); }
.bnav em { position: absolute; top: 1px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font: 800 10.5px/17px inherit; font-style: normal; }
@media (max-width: 1280px) { body:not(.admin) .wrap { padding-bottom: 76px; } body:not(.admin) .slip { bottom: 64px !important; } }

@media (max-width: 1100px) {
  .ox { grid-template-columns: repeat(var(--c), 62px); } .league.lg2 > header .cols { grid-template-columns: repeat(var(--c), 62px); }
  .ox.susp, .ox.none { width: calc(var(--c) * 62px + (var(--c) - 1) * 6px); }
}
@media (max-width: 760px) {
  .shead .si { width: 40px; height: 40px; font-size: 20px; } .shead h1 { font-size: 20px; }
  .league.lg2 > header { top: 0; position: static; } .league.lg2 > header .cols { display: none; } .league.lg2 > header .star { margin-left: auto; }
  .lg2 .row.r2 { grid-template-columns: 50px minmax(0, 1fr) 24px; row-gap: 8px; padding: 10px 12px !important; }
  .r2 .ic { grid-column: 3; grid-row: 1; justify-content: flex-end; } .r2 .ic .ico-btn { width: 22px; height: 22px; }
  .r2 .ox, .r2 > .ox.susp, .r2 > .ox.none { grid-column: 1 / -1; grid-row: 2; width: 100%; grid-template-columns: repeat(var(--c), minmax(0, 1fr)); }
  .r2 .mr { grid-column: 3; grid-row: 1; } .r2 .mr:empty { display: none; }
  .r2:has(.mr .plus) .ic { display: none; }
  .lg2 .odd.o2 { justify-content: space-between; } .lg2 .odd.o2 i { display: inline; }
  .r2 .xt { grid-column: 1 / -1; padding-top: 0; } .r2 .xt .ox { margin-right: 0; width: auto; flex: 1; }
  .fscroll { grid-auto-columns: 82%; }
}

/* telefon: in bara de sus soldul sta intre limba si profil, fara punctul de status */
@media (max-width: 760px) {
  .top .in > #pulse { display: none !important; }
  .top .in > .lang-dd { order: 2; margin-left: auto !important; }
  .top .in > .wallet { order: 3; margin-left: 0 !important; }
  .top .in > .me { order: 4; margin-left: 0 !important; }
}
