@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;900&display=swap");
:root{--bg:#f5efe4;--panel:#fffdf8;--ink:#241a12;--muted:#776b5e;--line:#e7d8c4;--gold:#b9904a;--accent:#241a12;--red:#b83d34;--green:#2f6d56;--shadow:0 18px 50px rgba(47,31,13,.08)}
.theme-dark{--bg:#0b0f17;--panel:#111827;--ink:#f8fafc;--muted:#9fb0c7;--line:#253044;--gold:#facc15;--accent:#facc15;--red:#ef4444;--green:#2dd4bf;--shadow:0 20px 60px rgba(0,0,0,.35)}.theme-ios{--bg:#f2f5ff;--panel:rgba(255,255,255,.78);--ink:#172033;--muted:#697386;--line:rgba(111,132,180,.22);--gold:#6d5dfc;--accent:#6d5dfc;--red:#ff3b5f;--green:#0fb981;--shadow:0 24px 70px rgba(58,82,170,.14)}
*{box-sizing:border-box}body{margin:0;font-family:Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.35}a{color:inherit}.app{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:#21170f;color:#fff;padding:26px 18px}.theme-dark .sidebar{background:#070a10;border-right:1px solid var(--line)}.brand b{display:block;font-size:28px;letter-spacing:.03em}.brand span{display:block;color:#d8c9b6;margin:8px 0 22px}nav a{display:block;text-decoration:none;color:#fff;padding:13px 14px;border-radius:14px;margin:7px 0;font-weight:700}nav a:hover{background:rgba(255,255,255,.12)}.main{min-width:0}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 28px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.45)}.theme-dark .topbar{background:#0b0f17}.topbar h1{margin:0;font-size:28px}.topbar p{margin:4px 0 0;color:var(--muted)}.userbox{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.userbox span{color:var(--muted);font-size:13px}.content{padding:28px;max-width:1600px}.panel,.card,.status-card,.login-card{background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:20px;margin-bottom:18px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.card{margin:0}.card p{margin:0;color:var(--muted);font-weight:800}.card h2{margin:10px 0 0;font-size:38px;letter-spacing:-.02em}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-head h3{margin:0;font-size:22px}.status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.status-card{text-decoration:none;display:flex;justify-content:space-between;align-items:center;margin:0}.status-card b{font-size:14px;font-weight:650}.status-card span{font-size:28px;font-weight:900;color:var(--gold)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}table{width:100%;border-collapse:collapse;background:var(--panel)}th,td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;vertical-align:top}th{background:rgba(185,144,74,.12);color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.03em}.pill{display:inline-block;background:rgba(185,144,74,.18);border-radius:999px;padding:5px 10px;font-weight:650}.theme-dark .pill{background:rgba(45,212,191,.22);color:#ccfbf1}.phone{font-weight:800}.note-cell{white-space:normal;max-width:360px}.actions,.actions-line{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.btn,button{border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:13px;padding:10px 14px;text-decoration:none;font-weight:800;cursor:pointer;font-family:inherit}.btn.primary,button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.theme-dark .btn.primary,.theme-dark button.primary{color:#0b0f17}.btn.danger,button.danger{background:var(--red);border-color:var(--red);color:#fff}.btn.small{font-size:13px;padding:7px 10px;border-radius:10px}.filters{display:grid;grid-template-columns:1fr 260px auto auto auto;gap:10px;margin-bottom:14px;align-items:end}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.form-grid.narrow{grid-template-columns:minmax(320px,560px)}.full{grid-column:1/-1}label{display:block;font-weight:800;margin:8px 0 7px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:var(--panel);color:var(--ink);font:inherit}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 4px rgba(185,144,74,.15)}small,.muted{color:var(--muted)}.flash{border-radius:14px;padding:12px 14px;margin-bottom:14px;font-weight:800}.flash.success{background:#e9f8ef;color:#17623a;border:1px solid #bde7ca}.flash.error{background:#fff1ee;color:#9b2f24;border:1px solid #ffd0c8}.theme-dark .flash.success{background:#06351e;color:#b7f7cf;border-color:#17623a}.theme-dark .flash.error{background:#3b0b0b;color:#fecaca;border-color:#7f1d1d}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:100%;max-width:430px}.brand-mark{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#241a12;color:#fff;font-size:28px;font-weight:900;margin-bottom:16px}.field-config-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.field-card{border:1px solid var(--line);border-radius:18px;padding:16px;background:rgba(255,255,255,.35)}.theme-dark .field-card{background:rgba(255,255,255,.03)}.setting-tabs{display:flex;gap:10px;flex-wrap:wrap}.switch{display:inline-flex;align-items:center}.switch input{display:none}.switch span{width:42px;height:22px;border-radius:999px;background:#c9c9c9;display:inline-block;position:relative}.switch span:before{content:"";width:18px;height:18px;border-radius:50%;background:#fff;position:absolute;top:2px;left:2px;transition:.2s}.switch input:checked+span{background:#3b9df1}.theme-dark .switch input:checked+span{background:#facc15}.switch input:checked+span:before{left:22px}.danger-zone{border-color:rgba(184,61,52,.45)}.check{display:flex;gap:8px;align-items:center}.check input{width:auto}@media(max-width:1100px){.app{grid-template-columns:1fr}.sidebar{position:static}.kpi-grid,.status-grid,.form-grid,.field-config-grid,.filters{grid-template-columns:1fr}.topbar{height:auto;padding:18px;align-items:flex-start;flex-direction:column}.content{padding:18px}}@media(max-width:640px){.content{padding:12px}.card h2{font-size:30px}}


body.theme-ios,.theme-ios .app{background:linear-gradient(135deg,#f4f7ff 0%,#fff7fb 42%,#f4fffb 100%)}
.theme-ios .sidebar{background:linear-gradient(180deg,#111827 0%,#312e81 55%,#0f172a 100%);border-right:1px solid rgba(255,255,255,.12)}
.theme-ios .topbar{background:rgba(255,255,255,.72);backdrop-filter:blur(18px)}
.theme-ios .btn.primary,.theme-ios button.primary{background:linear-gradient(135deg,#6d5dfc,#00c2ff);border-color:transparent;color:#fff;box-shadow:0 10px 24px rgba(109,93,252,.22)}
.theme-ios .pill{background:linear-gradient(135deg,rgba(109,93,252,.18),rgba(0,194,255,.18));color:#1e3a8a}
.theme-ios .card,.theme-ios .panel,.theme-ios .status-card,.theme-ios .login-card{backdrop-filter:blur(16px)}
.profile-brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#fff;margin-bottom:22px}.profile-brand b{font-size:26px}.profile-brand span{margin:4px 0 0;line-height:1.4}.avatar{width:52px;height:52px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--gold),var(--green));color:#fff;font-weight:900;flex:0 0 auto}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.avatar.big{width:88px;height:88px;font-size:36px}.profile-preview{display:flex;gap:18px;align-items:center}.theme-form select{min-width:155px;padding:8px 10px;border-radius:11px}.bulkbar{display:grid;grid-template-columns:auto auto minmax(240px,1fr) auto;gap:10px;margin:12px 0;align-items:center}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;color:var(--muted)}.page-num{display:inline-flex;align-items:center;padding:7px 10px;font-weight:700;color:var(--ink)}.row-check{width:auto}.theme-dark .table-wrap th{background:rgba(255,255,255,.08)}.theme-ios .table-wrap th{background:rgba(109,93,252,.09)}@media(max-width:900px){.bulkbar{grid-template-columns:1fr}.theme-form select{min-width:120px}}

/* Patch V2.2.2: advanced filters */
.filters.filters-advanced{display:grid;grid-template-columns:minmax(280px,1.2fr) 220px 280px 160px 160px auto auto auto;gap:10px;margin-bottom:10px;align-items:end}.filters.filters-advanced select[multiple]{min-height:76px;padding:8px 10px}.filter-hint{margin:0 0 12px}.filters.filters-advanced input[type=date]{min-width:150px}@media(max-width:1280px){.filters.filters-advanced{grid-template-columns:1fr 220px 260px 160px 160px}.filters.filters-advanced .btn{width:100%}}@media(max-width:900px){.filters.filters-advanced{grid-template-columns:1fr}.filters.filters-advanced select[multiple]{min-height:110px}}

/* Patch V2.2.9: Clean stable Hall of Fame + Revenue/Check-in support */
.checkin-pill{background:rgba(250,204,21,.14)!important;color:#facc15!important}.theme-ios .checkin-pill{background:rgba(109,93,252,.13)!important;color:#4f46e5!important}.revenue-filters{grid-template-columns:minmax(260px,1fr) 210px 280px 155px 155px 170px auto!important}.revenue-filters select[multiple]{min-height:76px}@media(max-width:1280px){.revenue-filters{grid-template-columns:1fr 220px 260px 155px 155px!important}}@media(max-width:900px){.revenue-filters{grid-template-columns:1fr!important}}
.top-tele-card{margin-top:24px!important;padding:12px!important;border-radius:16px!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:hidden!important;border:1px solid rgba(250,204,21,.42)!important;background:linear-gradient(180deg,#121826 0%,#080b12 100%)!important;box-shadow:0 14px 36px rgba(0,0,0,.34),inset 0 0 0 1px rgba(255,255,255,.05)!important}.top-tele-card:before,.top-tele-card:after{display:none!important}.top-tele-card .hof-kicker{text-align:center!important;font-size:9px!important;line-height:1!important;font-weight:900!important;letter-spacing:.16em!important;color:#facc15!important;margin:0 0 6px!important}.top-tele-card .top-title{text-align:center!important;font-size:8.6px!important;line-height:1!important;white-space:nowrap!important;font-weight:900!important;letter-spacing:.02em!important;color:#ffe8a3!important;margin:0 0 12px!important;text-shadow:none!important}.top-tele-card ol{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:6px!important}.top-tele-card li{display:grid!important;grid-template-columns:24px 1fr auto!important;gap:7px!important;align-items:center!important;min-height:29px!important;padding:4px 7px!important;border-radius:11px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.065)!important;color:#fff!important}.top-tele-card li b{font-size:11.5px!important;font-weight:800!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.top-tele-card li em{font-size:12.5px!important;font-weight:900!important;font-style:normal!important;color:#facc15!important}.top-tele-card .medal{width:22px!important;height:22px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#fef3c7,#d69e2e 48%,#7c4a03)!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)!important}.top-tele-card .medal:after{content:'★'!important;font-size:10px!important;color:#fff8d1!important}.top-tele-card li:nth-child(2) .medal{background:linear-gradient(135deg,#f8fafc,#94a3b8 52%,#475569)!important}.top-tele-card li:nth-child(3) .medal{background:linear-gradient(135deg,#fed7aa,#b45309 52%,#7c2d12)!important}.top-tele-card li:nth-child(n+4) .medal{background:linear-gradient(135deg,#1f2937,#0f172a)!important;border:1px solid rgba(250,204,21,.35)!important}.top-tele-card li:nth-child(n+4) .medal:after{content:''!important}.top-empty{text-align:center!important;margin:0!important;padding:8px!important;font-size:11.5px!important;border-radius:10px!important;background:rgba(255,255,255,.045)!important;color:#d8c9b6!important}.theme-ios .top-tele-card{background:linear-gradient(180deg,#111827 0%,#1e1b4b 100%)!important;border-color:rgba(250,204,21,.48)!important;box-shadow:0 14px 34px rgba(39,55,120,.25),inset 0 0 0 1px rgba(255,255,255,.06)!important}.theme-ios .top-tele-card li{background:rgba(0,0,0,.28)!important;color:#fff!important}.theme-ios .top-tele-card .top-title{color:#ffe8a3!important}.theme-ios .top-tele-card .hof-kicker,.theme-ios .top-tele-card li em{color:#facc15!important}

/* Patch V2.2.10: FINAL Sidebar Hall of Fame - fixed inside left menu */
.top-tele-card{
    width:100% !important;
    margin:24px 0 0 !important;
    height:306px !important;
    min-height:306px !important;
    max-height:306px !important;
    padding:12px 10px !important;
    position:relative !important;
    overflow:hidden !important;
    border-radius:18px !important;
    border:1px solid rgba(214,158,46,.78) !important;
    background:
        radial-gradient(ellipse at 50% 28%, rgba(250,204,21,.20) 0%, rgba(250,204,21,.08) 28%, transparent 52%),
        linear-gradient(180deg,#111827 0%,#090d15 54%,#05070c 100%) !important;
    box-shadow:
        0 18px 42px rgba(0,0,0,.40),
        inset 0 0 0 1px rgba(255,255,255,.06),
        inset 0 0 38px rgba(250,204,21,.06) !important;
}

.top-tele-card:before{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    inset:8px !important;
    border-radius:14px !important;
    border:1px solid rgba(250,204,21,.28) !important;
    pointer-events:none !important;
    z-index:1 !important;
}

.top-tele-card:after{
    content:"★" !important;
    display:block !important;
    position:absolute !important;
    left:50% !important;
    top:58px !important;
    transform:translateX(-50%) !important;
    width:82px !important;
    height:82px !important;
    border-radius:50% !important;
    text-align:center !important;
    line-height:82px !important;
    font-size:46px !important;
    font-weight:900 !important;
    color:rgba(250,204,21,.16) !important;
    border:1px solid rgba(250,204,21,.12) !important;
    background:radial-gradient(circle,rgba(250,204,21,.08),transparent 68%) !important;
    pointer-events:none !important;
    z-index:0 !important;
}

.top-tele-card .hof-kicker{
    position:relative !important;
    z-index:2 !important;
    text-align:center !important;
    margin:0 0 5px !important;
    font-size:9px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:.18em !important;
    color:#facc15 !important;
    text-transform:uppercase !important;
}

.top-tele-card .top-title{
    position:relative !important;
    z-index:2 !important;
    display:block !important;
    width:100% !important;
    text-align:center !important;
    margin:0 !important;
    padding:0 2px 0 !important;
    font-size:8px !important;
    line-height:1.1 !important;
    font-weight:900 !important;
    letter-spacing:0 !important;
    white-space:nowrap !important;
    color:#ffe8a3 !important;
    text-shadow:0 0 10px rgba(250,204,21,.16) !important;
}

.top-tele-card ol{
    position:absolute !important;
    z-index:3 !important;
    left:10px !important;
    right:10px !important;
    bottom:11px !important;
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
}

.top-tele-card li{
    display:grid !important;
    grid-template-columns:28px minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
    min-height:31px !important;
    padding:4px 8px !important;
    border-radius:999px !important;
    background:linear-gradient(90deg,rgba(255,255,255,.095),rgba(255,255,255,.035)) !important;
    border:1px solid rgba(255,255,255,.08) !important;
    color:#fff !important;
    box-shadow:0 4px 12px rgba(0,0,0,.18) !important;
}

.top-tele-card li b{
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:11.5px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    color:#fff !important;
}

.top-tele-card li em{
    font-style:normal !important;
    font-size:12.5px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#facc15 !important;
    min-width:26px !important;
    text-align:right !important;
}

.top-tele-card .medal{
    width:25px !important;
    height:25px !important;
    border-radius:50% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    flex:0 0 25px !important;
    box-shadow:inset 0 0 0 2px rgba(255,255,255,.18),0 4px 10px rgba(0,0,0,.28) !important;
    font-size:0 !important;
}

.top-tele-card .medal:after{
    display:block !important;
    font-size:12px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#fff8d1 !important;
}

.top-tele-card li:nth-child(1) .medal{background:linear-gradient(135deg,#fff3b0 0%,#facc15 48%,#9a5b05 100%) !important;}
.top-tele-card li:nth-child(2) .medal{background:linear-gradient(135deg,#ffffff 0%,#b8c2d1 52%,#64748b 100%) !important;}
.top-tele-card li:nth-child(3) .medal{background:linear-gradient(135deg,#fed7aa 0%,#c2691b 52%,#7c2d12 100%) !important;}
.top-tele-card li:nth-child(n+4) .medal{background:linear-gradient(135deg,#111827 0%,#020617 100%) !important;border:1px solid rgba(250,204,21,.32) !important;}
.top-tele-card li:nth-child(1) .medal:after{content:"1" !important;}
.top-tele-card li:nth-child(2) .medal:after{content:"2" !important;color:#f8fafc !important;}
.top-tele-card li:nth-child(3) .medal:after{content:"3" !important;color:#ffedd5 !important;}
.top-tele-card li:nth-child(4) .medal:after{content:"4" !important;color:#facc15 !important;font-size:11px !important;}
.top-tele-card li:nth-child(5) .medal:after{content:"5" !important;color:#facc15 !important;font-size:11px !important;}

.top-empty{
    position:absolute !important;
    z-index:3 !important;
    left:12px !important;
    right:12px !important;
    bottom:14px !important;
    margin:0 !important;
    padding:9px 8px !important;
    border-radius:12px !important;
    text-align:center !important;
    font-size:11.5px !important;
    color:#d8c9b6 !important;
    background:rgba(255,255,255,.055) !important;
    border:1px solid rgba(255,255,255,.06) !important;
}

.theme-ios .top-tele-card,
.theme-dark .top-tele-card{
    background:
        radial-gradient(ellipse at 50% 28%, rgba(250,204,21,.20) 0%, rgba(250,204,21,.08) 28%, transparent 52%),
        linear-gradient(180deg,#111827 0%,#090d15 54%,#05070c 100%) !important;
    border-color:rgba(214,158,46,.78) !important;
}
.theme-ios .top-tele-card li,
.theme-dark .top-tele-card li{
    background:linear-gradient(90deg,rgba(255,255,255,.095),rgba(255,255,255,.035)) !important;
    color:#fff !important;
}
.theme-ios .top-tele-card li b,
.theme-dark .top-tele-card li b{color:#fff !important;}
.theme-ios .top-tele-card li em,
.theme-dark .top-tele-card li em{color:#facc15 !important;}

/* Patch V2.2.11 FINAL: Hall of Fame uses uploaded image, placed AFTER all theme overrides */
.top-tele-card,
.theme-dark .top-tele-card,
.theme-ios .top-tele-card{
    width:100% !important;
    height:306px !important;
    min-height:306px !important;
    max-height:306px !important;
    margin:24px 0 0 !important;
    padding:12px 10px !important;
    position:relative !important;
    overflow:hidden !important;
    border-radius:18px !important;
    border:1px solid rgba(214,158,46,.82) !important;
    background:
        linear-gradient(180deg, rgba(5,7,12,.06) 0%, rgba(5,7,12,.12) 40%, rgba(5,7,12,.86) 70%, rgba(5,7,12,.98) 100%),
        url('../uploads/top5_hof_bg.png'),
        linear-gradient(180deg,#111827 0%,#090d15 55%,#05070c 100%) !important;
    background-size:
        100% 100%,
        cover,
        cover !important;
    background-position:
        center center,
        center top,
        center center !important;
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat !important;
    box-shadow:
        0 18px 42px rgba(0,0,0,.42),
        inset 0 0 0 1px rgba(255,255,255,.07),
        inset 0 -80px 90px rgba(0,0,0,.38) !important;
}

.top-tele-card:after,
.theme-dark .top-tele-card:after,
.theme-ios .top-tele-card:after{
    display:none !important;
    content:none !important;
}

.top-tele-card:before,
.theme-dark .top-tele-card:before,
.theme-ios .top-tele-card:before{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    inset:7px !important;
    border-radius:14px !important;
    border:1px solid rgba(250,204,21,.25) !important;
    pointer-events:none !important;
    z-index:1 !important;
}

.top-tele-card .hof-kicker,
.theme-dark .top-tele-card .hof-kicker,
.theme-ios .top-tele-card .hof-kicker{
    position:relative !important;
    z-index:3 !important;
    text-align:center !important;
    margin:0 0 4px !important;
    padding:0 !important;
    font-size:8px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:.16em !important;
    color:#facc15 !important;
    text-transform:uppercase !important;
}

.top-tele-card .top-title,
.theme-dark .top-tele-card .top-title,
.theme-ios .top-tele-card .top-title{
    position:relative !important;
    z-index:3 !important;
    display:block !important;
    width:100% !important;
    text-align:center !important;
    margin:0 !important;
    padding:0 !important;
    font-size:7.4px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:0 !important;
    white-space:nowrap !important;
    color:#ffe8a3 !important;
    text-shadow:0 1px 7px rgba(0,0,0,.65) !important;
}

.top-tele-card ol,
.theme-dark .top-tele-card ol,
.theme-ios .top-tele-card ol{
    position:absolute !important;
    z-index:4 !important;
    left:10px !important;
    right:10px !important;
    bottom:10px !important;
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
}

.top-tele-card li,
.theme-dark .top-tele-card li,
.theme-ios .top-tele-card li{
    display:grid !important;
    grid-template-columns:28px minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
    min-height:31px !important;
    padding:4px 8px !important;
    border-radius:999px !important;
    background:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.38)) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    color:#fff !important;
    box-shadow:0 5px 14px rgba(0,0,0,.28) !important;
}

.top-tele-card li b,
.theme-dark .top-tele-card li b,
.theme-ios .top-tele-card li b{
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:11.5px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    color:#fff !important;
}

.top-tele-card li em,
.theme-dark .top-tele-card li em,
.theme-ios .top-tele-card li em{
    font-style:normal !important;
    font-size:12.5px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#facc15 !important;
    min-width:26px !important;
    text-align:right !important;
}

.top-tele-card .medal,
.theme-dark .top-tele-card .medal,
.theme-ios .top-tele-card .medal{
    width:25px !important;
    height:25px !important;
    border-radius:50% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    flex:0 0 25px !important;
    box-shadow:inset 0 0 0 2px rgba(255,255,255,.18),0 4px 10px rgba(0,0,0,.34) !important;
    font-size:0 !important;
}

.top-tele-card .medal:after,
.theme-dark .top-tele-card .medal:after,
.theme-ios .top-tele-card .medal:after{
    display:block !important;
    font-size:12px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#fff8d1 !important;
}
.top-tele-card li:nth-child(1) .medal{background:linear-gradient(135deg,#fff3b0 0%,#facc15 48%,#9a5b05 100%) !important;}
.top-tele-card li:nth-child(2) .medal{background:linear-gradient(135deg,#ffffff 0%,#b8c2d1 52%,#64748b 100%) !important;}
.top-tele-card li:nth-child(3) .medal{background:linear-gradient(135deg,#fed7aa 0%,#c2691b 52%,#7c2d12 100%) !important;}
.top-tele-card li:nth-child(n+4) .medal{background:linear-gradient(135deg,#111827 0%,#020617 100%) !important;border:1px solid rgba(250,204,21,.35) !important;}
.top-tele-card li:nth-child(1) .medal:after{content:"1" !important;}
.top-tele-card li:nth-child(2) .medal:after{content:"2" !important;color:#f8fafc !important;}
.top-tele-card li:nth-child(3) .medal:after{content:"3" !important;color:#ffedd5 !important;}
.top-tele-card li:nth-child(4) .medal:after{content:"4" !important;color:#facc15 !important;font-size:11px !important;}
.top-tele-card li:nth-child(5) .medal:after{content:"5" !important;color:#facc15 !important;font-size:11px !important;}

.top-empty,
.theme-dark .top-empty,
.theme-ios .top-empty{
    position:absolute !important;
    z-index:4 !important;
    left:12px !important;
    right:12px !important;
    bottom:14px !important;
    margin:0 !important;
    padding:9px 8px !important;
    border-radius:12px !important;
    text-align:center !important;
    font-size:11.5px !important;
    color:#f8e7bd !important;
    background:rgba(0,0,0,.54) !important;
    border:1px solid rgba(255,255,255,.10) !important;
}

/* Patch V2.2.12 FINAL: Hall of Fame image works like Avatar - fixed 128x64 */
.top-tele-card,
.theme-dark .top-tele-card,
.theme-ios .top-tele-card{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:22px 0 0 !important;
    padding:10px 10px 12px !important;
    position:relative !important;
    overflow:hidden !important;
    border-radius:18px !important;
    border:1px solid rgba(214,158,46,.78) !important;
    background:linear-gradient(180deg,#121826 0%,#080b12 100%) !important;
    box-shadow:0 16px 38px rgba(0,0,0,.36), inset 0 0 0 1px rgba(255,255,255,.055) !important;
}
.top-tele-card:before,
.top-tele-card:after,
.theme-dark .top-tele-card:before,
.theme-dark .top-tele-card:after,
.theme-ios .top-tele-card:before,
.theme-ios .top-tele-card:after{
    display:none !important;
    content:none !important;
}
.top5-hof-image-wrap{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 0 6px !important;
    padding:0 !important;
}
.top5-hof-image{
    display:block !important;
    width:200px !important;
    height:155px !important;
    max-width:200px !important;
    max-height:155px !important;
    object-fit:contain !important;
    object-position:center center !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.top-tele-card .hof-kicker,
.theme-dark .top-tele-card .hof-kicker,
.theme-ios .top-tele-card .hof-kicker{
    text-align:center !important;
    margin:0 0 5px !important;
    padding:0 !important;
    font-size:8px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:.16em !important;
    color:#facc15 !important;
    text-transform:uppercase !important;
}
.top-tele-card .top-title,
.theme-dark .top-tele-card .top-title,
.theme-ios .top-tele-card .top-title{
    display:block !important;
    width:100% !important;
    text-align:center !important;
    margin:0 0 8px !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:0 !important;
    white-space:nowrap !important;
    color:#ffe8a3 !important;
    text-shadow:none !important;
}
.top-tele-card ol,
.theme-dark .top-tele-card ol,
.theme-ios .top-tele-card ol{
    position:static !important;
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
}
.top-tele-card li,
.theme-dark .top-tele-card li,
.theme-ios .top-tele-card li{
    display:grid !important;
    grid-template-columns:26px minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
    min-height:29px !important;
    padding:4px 7px !important;
    border-radius:999px !important;
    background:linear-gradient(90deg,rgba(255,255,255,.075),rgba(255,255,255,.035)) !important;
    border:1px solid rgba(255,255,255,.08) !important;
    color:#fff !important;
    box-shadow:none !important;
}
.top-tele-card li b,
.theme-dark .top-tele-card li b,
.theme-ios .top-tele-card li b{
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:11.3px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    color:#fff !important;
}
.top-tele-card li em,
.theme-dark .top-tele-card li em,
.theme-ios .top-tele-card li em{
    font-style:normal !important;
    font-size:12px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#facc15 !important;
    min-width:24px !important;
    text-align:right !important;
}
.top-tele-card .medal,
.theme-dark .top-tele-card .medal,
.theme-ios .top-tele-card .medal{
    width:23px !important;
    height:23px !important;
    border-radius:50% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    flex:0 0 23px !important;
    box-shadow:inset 0 0 0 2px rgba(255,255,255,.18) !important;
    font-size:0 !important;
}
.top-tele-card .medal:after,
.theme-dark .top-tele-card .medal:after,
.theme-ios .top-tele-card .medal:after{
    display:block !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#fff8d1 !important;
}
.top-tele-card li:nth-child(1) .medal{background:linear-gradient(135deg,#fff3b0 0%,#facc15 48%,#9a5b05 100%) !important;}
.top-tele-card li:nth-child(2) .medal{background:linear-gradient(135deg,#ffffff 0%,#b8c2d1 52%,#64748b 100%) !important;}
.top-tele-card li:nth-child(3) .medal{background:linear-gradient(135deg,#fed7aa 0%,#c2691b 52%,#7c2d12 100%) !important;}
.top-tele-card li:nth-child(n+4) .medal{background:linear-gradient(135deg,#111827 0%,#020617 100%) !important;border:1px solid rgba(250,204,21,.35) !important;}
.top-tele-card li:nth-child(1) .medal:after{content:"1" !important;}
.top-tele-card li:nth-child(2) .medal:after{content:"2" !important;color:#f8fafc !important;}
.top-tele-card li:nth-child(3) .medal:after{content:"3" !important;color:#ffedd5 !important;}
.top-tele-card li:nth-child(4) .medal:after{content:"4" !important;color:#facc15 !important;font-size:10.5px !important;}
.top-tele-card li:nth-child(5) .medal:after{content:"5" !important;color:#facc15 !important;font-size:10.5px !important;}
.top-empty,
.theme-dark .top-empty,
.theme-ios .top-empty{
    position:static !important;
    margin:0 !important;
    padding:8px !important;
    border-radius:11px !important;
    text-align:center !important;
    font-size:11.2px !important;
    color:#d8c9b6 !important;
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(255,255,255,.06) !important;
}

/* Patch V2.2.18: customer name display + active sidebar tab */
.customer-name-link{
    display:inline-block !important;
    max-width:320px !important;
    color:var(--ink) !important;
    text-decoration:none !important;
    font-weight:600 !important;
    letter-spacing:.01em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-transform:uppercase !important;
}
.customer-name-link:hover{
    text-decoration:underline !important;
    text-underline-offset:3px !important;
}
.theme-dark .customer-name-link{color:#f8fafc !important;}
.theme-ios .customer-name-link{color:#1f2937 !important;}
.sidebar nav a.active,
nav a.active{
    color:#facc15 !important;
    background:rgba(250,204,21,.10) !important;
    border:1px solid rgba(250,204,21,.28) !important;
}
.theme-ios .sidebar nav a.active,
.theme-ios nav a.active{
    color:#facc15 !important;
    background:rgba(250,204,21,.14) !important;
    border-color:rgba(250,204,21,.35) !important;
}

/* Patch V2.2.20: Dashboard revenue full number */
.kpi-revenue{
    font-size:34px !important;
    letter-spacing:-.035em !important;
    white-space:nowrap !important;
}
@media(max-width:1200px){.kpi-revenue{font-size:30px !important;}}

/* Patch V2.2.21: filter reset button */
.refresh-filter-btn{
    min-width:46px !important;
    width:46px !important;
    padding-left:0 !important;
    padding-right:0 !important;
    text-align:center !important;
    font-size:20px !important;
    line-height:1 !important;
}

/* Patch V2.2.22: compact customer filter row */
.filters.filters-advanced{
    grid-template-columns:minmax(210px,.8fr) 200px 260px 145px 145px 46px 46px 92px !important;
    gap:9px !important;
}
.refresh-filter-btn,
.export-filter-btn{
    min-width:46px !important;
    width:46px !important;
    height:44px !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:20px !important;
    line-height:1 !important;
}
.export-filter-btn{
    font-size:19px !important;
}
@media(max-width:1280px){
    .filters.filters-advanced{
        grid-template-columns:1fr 200px 250px 145px 145px 46px 46px 92px !important;
    }
}
@media(max-width:900px){
    .filters.filters-advanced{grid-template-columns:1fr !important;}
    .refresh-filter-btn,.export-filter-btn{width:100% !important;}
}

/* Patch V2.2.23: lighter typography + stable admin action layout */
body,
input,
select,
textarea{
    font-weight:400 !important;
}

b,
strong,
label,
th,
nav a,
.btn,
button,
.pill,
.phone,
.page-num,
.customer-name-link,
.userbox b,
.profile-brand b,
.card p,
.status-card b,
.panel-head h3{
    font-weight:600 !important;
}

.topbar h1,
.card h2,
.status-card span,
.kpi-revenue{
    font-weight:700 !important;
}

td,
td b,
.table-wrap td,
.table-wrap td b{
    font-weight:500 !important;
}

.actions .btn.small,
.btn.small{
    font-weight:600 !important;
}

.top-tele-card .top-title,
.top-tele-card .hof-kicker,
.top-tele-card li b{
    font-weight:600 !important;
}

.top-tele-card li em,
.top-tele-card .medal:after{
    font-weight:700 !important;
}

/* Keep Admin action buttons on one line */
.table-wrap table th:last-child,
.table-wrap table td.actions{
    min-width:190px !important;
    width:190px !important;
}

.actions{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:6px !important;
    white-space:nowrap !important;
}

.actions .btn.small{
    font-size:12px !important;
    padding:6px 9px !important;
    border-radius:9px !important;
    line-height:1.1 !important;
}

/* Patch V2.2.24: remove redundant edit button, compact transfer/delete icons */
.table-wrap table th.actions-col,
.table-wrap table td.actions.action-icons{
    min-width:84px !important;
    width:84px !important;
    max-width:84px !important;
    padding-left:8px !important;
    padding-right:8px !important;
}

.actions.action-icons{
    justify-content:flex-end !important;
    gap:6px !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
}

.icon-action{
    width:32px !important;
    min-width:32px !important;
    height:32px !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:16px !important;
    line-height:1 !important;
    border-radius:10px !important;
}

.icon-action.danger,
.btn.small.danger.icon-action{
    font-size:15px !important;
}

/* Patch V2.2.25: comfortable tables + live dashboard */
.table-wrap table{
    font-size:13.5px !important;
    line-height:1.45 !important;
}

.table-wrap th{
    font-size:11.5px !important;
    font-weight:500 !important;
    letter-spacing:.045em !important;
    color:var(--muted) !important;
}

.table-wrap td,
.table-wrap td b,
.table-wrap .phone,
.table-wrap .customer-name-link{
    font-weight:400 !important;
}

.table-wrap .customer-name-link{
    font-weight:500 !important;
}

.table-wrap .pill{
    font-size:12px !important;
    font-weight:500 !important;
    letter-spacing:.01em !important;
    padding:4px 9px !important;
}

.table-wrap th,
.table-wrap td{
    padding-top:11px !important;
    padding-bottom:11px !important;
}

.live-status{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-left:8px;
    font-size:11px;
    font-weight:500;
    color:var(--green);
    vertical-align:middle;
}

.live-status:before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 0 4px rgba(47,109,86,.12);
}

.theme-dark .live-status{color:#2dd4bf;}
.live-status.offline{color:var(--muted);}

.live-changed{
    animation:yori-live-change .7s ease;
}

@keyframes yori-live-change{
    0%{transform:translateY(-2px);color:var(--green);}
    100%{transform:translateY(0);}
}
