:root{--bg:#0e1116;--panel:#171b22;--panel2:#1d222b;--panel3:#242a34;--line:#303744;--text:#f4f6f8;--muted:#96a0ad;--accent:#e22b31;--success:#59d26f;--warning:#f6bd4b;--danger:#ff6268;--info:#58a9ff;--shadow:0 16px 40px rgba(0,0,0,.28)}
*{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text);overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}.topbar{height:64px;display:flex;align-items:center;gap:18px;padding:0 18px;background:linear-gradient(90deg,#bf181f,#ef333a);box-shadow:0 5px 20px rgba(0,0,0,.25)}.brand{font-weight:900;font-size:22px;display:flex;align-items:center;gap:10px;min-width:150px}.brand-mark{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#fff;color:var(--accent);font-weight:1000}.main-nav{display:flex;gap:4px;flex:1}.main-nav button{border:0;background:transparent;color:#fff;padding:11px 13px;border-radius:8px;font-weight:800}.main-nav button.active,.main-nav button:hover{background:rgba(0,0,0,.2)}.branch-meta{display:flex;align-items:center;gap:13px;font-size:11px}.meta{display:flex;flex-direction:column}.meta span{opacity:.72}.meta strong{font-size:12px}.logout{border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.13);color:#fff;padding:9px 11px;border-radius:8px;font-weight:800}.app{height:calc(100vh - 64px);padding:12px}.view{display:none;height:100%}.view.active{display:block}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.page-grid{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px}.content{min-width:0;overflow:auto}.side{min-width:0;overflow:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.page-head h1{font-size:20px;margin:0 0 4px}.page-head p{margin:0;color:var(--muted);font-size:12px}.toolbar{display:flex;gap:8px;align-items:center}.btn{height:40px;padding:0 14px;border-radius:9px;border:1px solid var(--line);background:var(--panel3);color:#fff;font-weight:800}.btn.primary{background:var(--accent);border-color:var(--accent)}.btn.success{background:var(--success);border-color:var(--success);color:#102315}.btn.warning{background:var(--warning);border-color:var(--warning);color:#2c2108}.btn.danger{background:#4a2328;border-color:#6f3037;color:#ff9da1}.section{padding:16px}.section-title{font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;color:#dce1e7}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px}.field label{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.6px;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:#10141a;color:#fff;border-radius:9px;padding:0 11px;outline:none}.field input,.field select{height:42px}.field textarea{min-height:90px;padding-top:10px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(226,43,49,.13)}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stat{padding:14px;background:var(--panel2);border:1px solid var(--line);border-radius:11px}.stat span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase}.stat strong{display:block;font-size:21px;margin-top:4px}.table-wrap{overflow:auto;border-top:1px solid var(--line)}table{width:100%;border-collapse:collapse;font-size:12px}th{position:sticky;top:0;background:#12161c;color:var(--muted);text-transform:uppercase;font-size:10px;letter-spacing:.4px;text-align:left;padding:10px;border-bottom:1px solid var(--line)}td{padding:11px 10px;border-bottom:1px solid #2b313b}tr:hover td{background:#1b2028}.badge{display:inline-flex;padding:4px 7px;border-radius:20px;font-size:9px;font-weight:900;text-transform:uppercase}.badge.green{background:rgba(89,210,111,.15);color:#7ee98e}.badge.red{background:rgba(255,98,104,.15);color:#ff8b90}.badge.blue{background:rgba(88,169,255,.15);color:#7bbcff}.badge.yellow{background:rgba(246,189,75,.15);color:#ffd16f}.summary-card{padding:15px;margin-bottom:12px}.summary-card h3{font-size:13px;margin:0 0 12px}.summary-line{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #2b313b;font-size:12px}.summary-line:last-child{border-bottom:0}.summary-line span{color:var(--muted)}.summary-line strong{font-size:13px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-actions button{min-height:70px;border:1px solid var(--line);border-radius:11px;background:var(--panel2);color:#fff;font-weight:900}.quick-actions button:hover{border-color:var(--accent)}
/* Ticketing */.ticket-layout{height:100%;display:grid;grid-template-columns:minmax(700px,1.45fr) minmax(420px,.8fr);gap:12px}.ticket-left{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;min-height:0}.quick-entry{padding:15px}.entry-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr 110px;gap:9px}.entry-help{margin-top:9px;color:var(--muted);font-size:11px;display:flex;justify-content:space-between}.market-browser{display:grid;grid-template-rows:auto auto minmax(0,1fr);min-height:0}.tabs{display:flex;gap:6px;padding:12px 14px 8px}.tabs button{border:1px solid var(--line);background:var(--panel2);color:var(--muted);padding:9px 15px;border-radius:9px;font-weight:900}.tabs button.active{background:var(--accent);border-color:var(--accent);color:#fff}.filters{display:grid;grid-template-columns:1fr 1fr 150px 150px;gap:8px;padding:0 14px 12px}.filters input,.filters select{height:39px;border-radius:8px;border:1px solid var(--line);background:#10141a;color:#fff;padding:0 10px}.events{overflow:auto;border-top:1px solid var(--line)}.group{position:sticky;top:0;background:#12161c;color:var(--warning);padding:8px 11px;font-size:10px;font-weight:900;text-transform:uppercase;border-bottom:1px solid var(--line)}.event-row{display:grid;grid-template-columns:60px 60px minmax(250px,1fr) 92px 92px 92px;gap:7px;align-items:center;padding:7px 10px;min-height:57px;border-bottom:1px solid #2a3039}.event-row:hover{background:#1c2129}.event-name strong{display:block;font-size:12px}.event-name span{font-size:10px;color:var(--muted)}.odd{height:36px;border:1px solid #3b4350;border-radius:8px;background:#252b34;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 8px;font-size:11px;font-weight:900}.odd:hover{border-color:var(--success)}.ticket-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}.ticket-head{padding:14px 15px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.ticket-head h2{font-size:15px;margin:0}.toggle{display:flex;background:#10141a;border:1px solid var(--line);border-radius:8px;padding:3px}.toggle button{border:0;background:transparent;color:var(--muted);border-radius:6px;padding:7px 11px;font-size:11px;font-weight:900}.toggle button.active{background:var(--accent);color:#fff}.selections{overflow:auto;padding:8px}.selection{display:grid;grid-template-columns:28px minmax(0,1fr) 55px 28px;gap:8px;align-items:center;padding:10px 6px;border-bottom:1px solid #2b313b}.fix{width:23px;height:23px;border-radius:6px;border:1px solid #444c59;background:#20262f;color:var(--muted);font-size:11px;font-weight:900}.fix.active{background:var(--warning);color:#111}.sel strong{display:block;font-size:12px}.sel span{font-size:10px;color:var(--muted)}.sel-odd{font-weight:900;color:var(--success);text-align:right}.remove{border:0;background:transparent;color:var(--danger);font-size:18px}.ticket-bottom{padding:13px;border-top:1px solid var(--line);background:var(--panel2)}.system-box{display:none;padding:11px;background:#13171d;border:1px solid var(--line);border-radius:9px;margin-bottom:10px}.system-box.show{display:block}.system-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.check-row{display:flex;justify-content:space-between;gap:10px;margin:10px 0}.check{display:flex;gap:8px;align-items:center;font-size:11px;font-weight:700}.check input{accent-color:var(--accent)}.totals{display:grid;grid-template-columns:1fr 1fr;gap:8px}.total{padding:9px;background:#11151b;border:1px solid var(--line);border-radius:8px}.total span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase}.total strong{font-size:17px}.stake{display:grid;grid-template-columns:1fr 110px;gap:8px;margin:9px 0}.stake input{height:45px;border-radius:8px;border:1px solid var(--line);background:#0d1116;color:#fff;padding:0 11px;font-size:19px;font-weight:900}.actions{display:grid;grid-template-columns:115px 1fr;gap:8px}.actions button{height:45px;border-radius:8px;border:0;font-weight:1000}.actions .cancel{background:#432227;color:#ff979b}.actions .confirm{background:var(--success);color:#102313}
/* Tabs */.subtabs{display:flex;gap:6px;padding:12px;border-bottom:1px solid var(--line)}.subtabs button{border:1px solid var(--line);background:var(--panel2);color:var(--muted);border-radius:8px;padding:8px 12px;font-weight:800}.subtabs button.active{background:var(--accent);border-color:var(--accent);color:#fff}.subview{display:none}.subview.active{display:block}.notice{padding:12px 14px;border-radius:10px;background:rgba(88,169,255,.1);border:1px solid rgba(88,169,255,.25);color:#acd3ff;font-size:12px}.amount{font-size:30px;font-weight:1000}.center-panel{max-width:780px;margin:18px auto}.footer{position:fixed;bottom:0;left:0;right:0;height:24px;background:#090c10;color:#65707c;font-size:9px;display:flex;justify-content:center;align-items:center;gap:20px;pointer-events:none}@media(max-width:1200px){body{overflow:auto}.app{height:auto}.ticket-layout,.page-grid{grid-template-columns:1fr}.branch-meta{display:none}.ticket-card{min-height:700px}}

/* Blazor shell additions */
a.brand{color:#fff;text-decoration:none}.main-nav a,.main-nav .nav-disabled{display:inline-flex;align-items:center;border:0;background:transparent;color:#fff;padding:11px 13px;border-radius:8px;font-weight:800;text-decoration:none;white-space:nowrap}.main-nav a.active,.main-nav a:hover{background:rgba(0,0,0,.2)}.main-nav .nav-disabled{opacity:.45;cursor:not-allowed}.empty-state{display:grid;place-items:center;text-align:center;color:var(--muted);min-height:220px}.empty-state strong,.empty-state span{display:block}.empty-state strong{color:var(--text);font-size:15px;margin-bottom:7px}.empty-ticket{display:grid;place-items:center;text-align:center;color:var(--muted)}.empty-ticket>div{max-width:240px}.empty-ticket strong,.empty-ticket span{display:block}.empty-ticket strong{color:var(--text);margin:8px 0 4px}.empty-ticket-icon{width:46px;height:46px;border:1px dashed #48515f;border-radius:12px;display:grid;place-items:center;margin:auto;font-size:28px;color:#66717f}.btn:disabled,button:disabled,input:disabled,select:disabled{opacity:.58;cursor:not-allowed}.footer{z-index:30}

/* Task 12 - poruke centrale / osoblju */
.staff-message-slot {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 10px;
}

.staff-message-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(12,16,22,.18);
    color: rgba(255,255,255,.9);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease;
}

.staff-message-button:hover:not(:disabled) {
    background: rgba(12,16,22,.32);
    border-color: rgba(255,255,255,.32);
}

.staff-message-button:disabled {
    opacity: .48;
    cursor: default;
}

.staff-message-button.staff-message-unread {
    background: #c51f27;
    border-color: #ffffff;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.75), 0 0 18px rgba(255,42,52,.85);
    animation: staffMessageAlert .78s ease-in-out infinite;
    transform-origin: center;
}

.staff-message-icon {
    font-size: 15px;
    line-height: 1;
}

.staff-message-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px #c72e34;
}

@keyframes staffMessageAlert {
    0%, 100% {
        background: #b71921;
        color: #fff;
        border-color: #ff9196;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,255,255,.35), 0 0 12px rgba(255,36,46,.6);
    }
    50% {
        background: #ffd84a;
        color: #241a00;
        border-color: #fff4be;
        transform: scale(1.075);
        box-shadow: 0 0 0 6px rgba(255,216,74,.16), 0 0 28px rgba(255,216,74,.95);
    }
}

.staff-message-overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(4,7,11,.78);
    backdrop-filter: blur(3px);
}

.staff-message-modal {
    width: min(650px, 96vw);
    overflow: hidden;
    border: 1px solid #353d49;
    border-radius: 14px;
    background: #171b22;
    color: #eef2f7;
    box-shadow: 0 24px 70px rgba(0,0,0,.58);
}

.staff-message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 18px;
    border-bottom: 1px solid #303744;
}

.staff-message-header strong {
    display: block;
    margin-top: 2px;
    font-size: 18px;
}

.staff-message-eyebrow {
    color: #ff686e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.staff-message-close {
    width: 34px;
    height: 34px;
    border: 1px solid #3a4350;
    border-radius: 8px;
    background: #242a33;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.staff-message-body {
    max-height: 55vh;
    overflow: auto;
    padding: 24px 22px;
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.staff-message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 18px;
    border-top: 1px solid #303744;
    color: var(--muted);
    font-size: 11px;
}

.staff-message-read {
    border: 0;
    border-radius: 8px;
    background: #d9373d;
    color: white;
    padding: 10px 20px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .staff-message-button span:not(.staff-message-icon):not(.staff-message-dot) {
        display: none;
    }
    .staff-message-slot { margin-right: 6px; }
}

/* Task 12.2 - reliable visibility + stronger cashier alert */
.staff-message-overlay[hidden],
.staff-message-dot[hidden] {
    display: none !important;
}

.staff-message-button.staff-message-unread {
    animation: staffMessageCritical 0.62s steps(2, end) infinite !important;
    font-weight: 1000;
}

@keyframes staffMessageCritical {
    0%, 100% {
        background: #9f1118;
        color: #fff;
        border-color: #fff;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,255,255,.75), 0 0 14px rgba(255,0,13,.95);
    }
    50% {
        background: #ffd400;
        color: #160f00;
        border-color: #fff;
        transform: scale(1.10);
        box-shadow: 0 0 0 8px rgba(255,212,0,.22), 0 0 34px rgba(255,212,0,1);
    }
}

/* Task 13.1 - standard ticket payout */
.payout-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}.payout-search-panel,.payout-ticket-panel,.payout-summary-panel,.payout-empty-state{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.14)}.payout-search-panel{padding:14px}.payout-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:12px}.payout-title-row h1{margin:2px 0 2px;font-size:20px}.payout-title-row p{margin:0;color:var(--muted);font-size:11px}.payout-kicker{font-size:9px;font-weight:1000;letter-spacing:.14em;color:var(--accent);text-transform:uppercase}.payout-search-grid{display:grid;grid-template-columns:minmax(260px,1fr) 180px;gap:9px;max-width:650px}.payout-field{display:flex;flex-direction:column;gap:5px}.payout-field>span{color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.payout-field input{height:44px;border:1px solid var(--line);border-radius:8px;background:#0d1116;color:#fff;padding:0 12px;font-size:15px;font-weight:900;outline:none}.payout-field input:focus{border-color:var(--accent);box-shadow:0 0 0 2px rgba(211,47,53,.15)}.payout-search-button,.payout-pay-button,.payout-secondary{border:0;border-radius:8px;font-weight:1000;cursor:pointer}.payout-search-button{height:44px;align-self:end;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px}.payout-search-button kbd,.payout-pay-button kbd{padding:2px 5px;border:1px solid rgba(255,255,255,.26);border-bottom-width:2px;border-radius:4px;background:rgba(0,0,0,.16);font:inherit;font-size:8px}.payout-secondary{padding:9px 13px;background:#242a33;color:#fff;border:1px solid #3a424e}.payout-alert{margin-top:10px;max-width:760px;padding:9px 11px;border-radius:8px;font-size:11px;font-weight:800}.payout-alert-error{background:rgba(231,76,81,.12);border:1px solid rgba(231,76,81,.35);color:#ff9ca0}.payout-alert-info{background:rgba(65,190,116,.11);border:1px solid rgba(65,190,116,.32);color:#8ee0ae}.payout-content-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:12px}.payout-ticket-panel{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.payout-ticket-header{padding:14px 15px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.payout-ticket-header h2{font-size:20px;margin:2px 0 5px}.payout-ticket-meta{display:flex;flex-wrap:wrap;gap:6px}.payout-ticket-meta span{padding:3px 6px;border-radius:5px;background:#252b34;color:#aeb7c2;font-size:9px;font-weight:800}.payout-status{padding:8px 11px;border:1px solid transparent;border-radius:7px;font-size:10px;font-weight:1000;letter-spacing:.05em}.status-success{background:rgba(65,190,116,.12);border-color:rgba(65,190,116,.35);color:#76dc9d}.status-danger{background:rgba(231,76,81,.12);border-color:rgba(231,76,81,.35);color:#ff8e93}.status-paid{background:rgba(88,169,255,.12);border-color:rgba(88,169,255,.34);color:#8bc4ff}.status-waiting{background:rgba(246,196,73,.11);border-color:rgba(246,196,73,.32);color:#f7d776}.payout-pairs-head,.payout-pair-row{display:grid;grid-template-columns:78px minmax(230px,1fr) 80px 95px 70px 112px;gap:8px;align-items:center}.payout-pairs-head{padding:8px 12px;border-bottom:1px solid var(--line);background:#11151b;color:#747f8d;font-size:8px;font-weight:1000;text-transform:uppercase;letter-spacing:.05em}.payout-pairs{overflow:auto;min-height:0}.payout-pair-row{min-height:70px;padding:8px 12px;border-bottom:1px solid #292f38}.payout-pair-row:hover{background:#1b2027}.payout-pair-live{box-shadow:inset 3px 0 0 #db3e43}.payout-pair-code{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.payout-pair-code strong{font-size:13px}.payout-pair-code small{font-size:8px;color:var(--muted)}.payout-live-badge{padding:2px 5px;border-radius:4px;background:#bd252b;color:#fff;font-size:7px;font-weight:1000}.payout-pair-event strong,.payout-pair-event span,.payout-pair-event small{display:block}.payout-pair-event strong{font-size:11px}.payout-pair-event span{margin-top:2px;color:var(--muted);font-size:8px}.payout-pair-event small{margin-top:3px;color:#aeb7c2;font-size:9px}.payout-pair-event .payout-live-state{color:#f0bd65}.payout-pair-tip,.payout-pair-band,.payout-pair-odds{font-size:11px;font-weight:900}.payout-pair-band{overflow-wrap:anywhere;color:#aeb7c2}.payout-pair-odds{color:var(--success);font-size:13px}.payout-pair-state{display:grid;grid-template-columns:17px 1fr;align-items:center;gap:4px;font-size:9px}.payout-pair-state>span{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-weight:1000}.payout-pair-state small{grid-column:2;color:#ffb2b5;font-size:7px;text-transform:uppercase}.pair-won{color:#73dc9a}.pair-won>span{background:rgba(65,190,116,.16)}.pair-lost{color:#ff8489}.pair-lost>span{background:rgba(231,76,81,.16)}.pair-void{color:#f5cf6c}.pair-void>span{background:rgba(246,196,73,.15)}.pair-pending{color:#aeb7c2}.pair-pending>span{background:#2a3038}.payout-summary-panel{min-height:0;padding:14px;overflow:auto}.payout-summary-title{margin-bottom:8px;font-size:13px;font-weight:1000}.payout-summary-row{display:flex;justify-content:space-between;gap:12px;padding:8px 1px;border-bottom:1px solid #292f38;font-size:10px}.payout-summary-row span{color:var(--muted)}.payout-summary-main{margin:12px 0;padding:13px;border-radius:9px;background:#10151b;border:1px solid #323a45}.payout-summary-main span,.payout-summary-main strong{display:block}.payout-summary-main span{color:var(--muted);font-size:9px;text-transform:uppercase}.payout-summary-main strong{margin-top:4px;color:#72dc9a;font-size:27px}.payout-expiry{margin-bottom:10px;padding:8px 9px;border-radius:7px;background:rgba(88,169,255,.08);border:1px solid rgba(88,169,255,.2)}.payout-expiry span,.payout-expiry strong{display:block;font-size:9px}.payout-expiry span{color:var(--muted)}.payout-expiry strong{margin-top:2px;color:#9ecbff}.payout-expiry.expired{background:rgba(231,76,81,.1);border-color:rgba(231,76,81,.28)}.payout-expiry.expired strong{color:#ff9296}.payout-ready{display:flex;align-items:center;gap:9px;margin:12px 0;padding:9px;border:1px solid rgba(65,190,116,.29);border-radius:8px;background:rgba(65,190,116,.08)}.payout-ready-dot{width:9px;height:9px;border-radius:50%;background:#4dcc82;box-shadow:0 0 10px rgba(77,204,130,.8)}.payout-ready strong,.payout-ready span{display:block}.payout-ready strong{font-size:10px;color:#83dfa6}.payout-ready span{font-size:8px;color:#8d9aa8}.payout-code-field{margin-top:9px}.payout-code-field input{font-size:19px;letter-spacing:.16em}.payout-pay-button{width:100%;height:47px;margin-top:9px;background:var(--success);color:#102313;display:flex;align-items:center;justify-content:center;gap:9px}.payout-blocked{margin-top:12px;padding:12px;border-radius:9px;border:1px solid}.payout-blocked strong,.payout-blocked span,.payout-blocked small{display:block}.payout-blocked strong{font-size:12px}.payout-blocked span{margin-top:4px;font-size:10px;line-height:1.45}.payout-blocked small{margin-top:7px;font-size:8px}.payout-blocked.danger{background:rgba(231,76,81,.09);border-color:rgba(231,76,81,.28);color:#ff969a}.payout-blocked.waiting{background:rgba(246,196,73,.08);border-color:rgba(246,196,73,.25);color:#f3d675}.payout-blocked.paid{background:rgba(88,169,255,.08);border-color:rgba(88,169,255,.25);color:#98c8ff}.payout-empty-state{min-height:260px;display:grid;place-content:center;justify-items:center;text-align:center;color:var(--muted);padding:25px}.payout-empty-state strong{margin:10px 0 4px;color:var(--text);font-size:14px}.payout-empty-state span{max-width:480px;font-size:10px;line-height:1.5}.payout-empty-icon{width:52px;height:52px;border:1px dashed #495361;border-radius:14px;display:grid;place-items:center;font-size:24px;color:#7b8795}.payout-spinner{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:payoutSpin .7s linear infinite}@keyframes payoutSpin{to{transform:rotate(360deg)}}.payout-success-overlay{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;background:rgba(4,7,11,.82);backdrop-filter:blur(4px);padding:20px}.payout-success-modal{width:min(430px,94vw);padding:25px;text-align:center;border:1px solid #35403c;border-radius:14px;background:#171c20;box-shadow:0 30px 80px rgba(0,0,0,.6)}.payout-success-icon{width:56px;height:56px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:rgba(65,190,116,.15);border:1px solid rgba(65,190,116,.4);color:#71db99;font-size:28px;font-weight:1000}.payout-success-modal h2{margin:5px 0 12px;font-size:18px}.payout-success-number{color:var(--muted);font-size:11px;font-weight:900}.payout-success-amount{margin:8px 0 18px;color:#72dc9a;font-size:34px;font-weight:1000}.payout-success-modal button{width:100%;height:44px;border:0;border-radius:8px;background:var(--accent);color:#fff;font-weight:1000;cursor:pointer}@media(max-width:1180px){.payout-content-grid{grid-template-columns:1fr}.payout-summary-panel{min-height:auto}.payout-pairs-head,.payout-pair-row{grid-template-columns:70px minmax(210px,1fr) 70px 85px 60px 100px}}@media(max-width:820px){.payout-shell{height:auto}.payout-search-grid{grid-template-columns:1fr}.payout-search-button{align-self:auto}.payout-pairs-head{display:none}.payout-pair-row{grid-template-columns:65px minmax(0,1fr) 62px;gap:7px}.payout-pair-band,.payout-pair-odds,.payout-pair-state{grid-column:auto}.payout-pair-tip{grid-column:2}.payout-pair-band{grid-column:2}.payout-pair-odds{grid-column:3;grid-row:1}.payout-pair-state{grid-column:3;grid-row:2/4}.payout-title-row{align-items:flex-start}}

/* Task 13.2 - storno + early payout placeholder */
.payout-actions-divider{height:1px;background:#2b323b;margin:14px 0}.payout-cancel-card,.payout-early-placeholder{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border-radius:9px;border:1px solid #313945;background:#11161c}.payout-cancel-card strong,.payout-cancel-card span,.payout-early-placeholder strong,.payout-early-placeholder span{display:block}.payout-cancel-card strong,.payout-early-placeholder strong{font-size:10px}.payout-cancel-card span,.payout-early-placeholder span{margin-top:3px;color:var(--muted);font-size:8px;line-height:1.35}.payout-cancel-card.ready{border-color:rgba(230,81,86,.35);background:rgba(230,81,86,.06)}.payout-cancel-card.ready strong{color:#ff9b9f}.payout-cancel-card.blocked{opacity:.72}.payout-cancel-button{min-width:128px;height:36px;border:1px solid rgba(230,81,86,.45);border-radius:7px;background:#8f2327;color:#fff;font-size:8px;font-weight:1000;cursor:pointer}.payout-cancel-button:disabled{cursor:not-allowed;opacity:.4}.payout-early-placeholder{margin-top:9px;border-style:dashed;opacity:.72}.payout-early-placeholder button{min-width:72px;height:32px;border:1px solid #3a434f;border-radius:7px;background:#222933;color:#7f8a98;font-size:8px;font-weight:1000}.payout-cancel-modal{width:min(470px,94vw);padding:25px;border:1px solid rgba(230,81,86,.4);border-radius:14px;background:#171c20;box-shadow:0 30px 80px rgba(0,0,0,.62);text-align:center}.payout-cancel-icon{width:56px;height:56px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:rgba(230,81,86,.13);border:1px solid rgba(230,81,86,.42);color:#ff8d92;font-size:28px;font-weight:1000}.payout-cancel-modal h2{margin:5px 0 9px;font-size:18px}.payout-cancel-modal p{margin:0;color:#abb5c1;font-size:10px;line-height:1.5}.payout-cancel-modal small{display:block;margin-top:7px;color:#798594;font-size:8px}.payout-cancel-amount{margin:12px 0 5px;color:#ff8d92;font-size:30px;font-weight:1000}.payout-modal-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:9px;margin-top:18px}.payout-modal-actions button{height:42px;border-radius:8px;font-weight:1000;cursor:pointer}.payout-modal-actions .secondary{border:1px solid #3a434f;background:#252c35;color:#fff}.payout-modal-actions .danger{border:1px solid rgba(230,81,86,.5);background:#a2272c;color:#fff}.payout-modal-actions button:disabled{opacity:.5;cursor:not-allowed}.payout-success-icon.cancel{background:rgba(230,81,86,.12);border-color:rgba(230,81,86,.38);color:#ff969a}.payout-success-amount.cancel{color:#ff969a}.payout-cancel-success-modal>small{display:block;margin:-8px 0 15px;color:#7f8a96;font-size:8px}@media(max-width:820px){.payout-cancel-card,.payout-early-placeholder{align-items:stretch;flex-direction:column}.payout-cancel-button,.payout-early-placeholder button{width:100%}.payout-modal-actions{grid-template-columns:1fr}}

/* Task 14.1 - ticket history */
.history-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}.history-toolbar,.history-list{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.14)}.history-toolbar{padding:14px}.history-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.history-title-row h1{margin:2px 0;font-size:20px}.history-title-row p{margin:0;color:var(--muted);font-size:10px}.history-kicker{font-size:8px;font-weight:1000;letter-spacing:.14em;color:var(--accent);text-transform:uppercase}.history-range-badge{padding:6px 9px;border:1px solid #343c47;border-radius:7px;background:#171c22;color:#9ca8b5;font-size:8px;font-weight:900;text-transform:uppercase}.history-filters{display:grid;grid-template-columns:minmax(250px,420px) auto 150px auto;gap:9px;align-items:end}.history-field{display:flex;flex-direction:column;gap:5px}.history-field>span{color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.history-field input{height:42px;border:1px solid var(--line);border-radius:8px;background:#0d1116;color:#fff;padding:0 12px;font-size:14px;font-weight:900;outline:none}.history-field input:focus{border-color:var(--accent);box-shadow:0 0 0 2px rgba(211,47,53,.15)}.history-scope-toggle{height:42px;display:flex;padding:3px;border:1px solid #343c47;border-radius:8px;background:#10151b}.history-scope-toggle button{min-width:92px;border:0;border-radius:6px;background:transparent;color:#8e99a7;font-size:9px;font-weight:1000;cursor:pointer}.history-scope-toggle button.active{background:#2b323b;color:#fff}.history-search-button,.history-clear-button{height:42px;border-radius:8px;font-weight:1000;cursor:pointer}.history-search-button{border:0;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px}.history-search-button kbd{padding:2px 5px;border:1px solid rgba(255,255,255,.25);border-bottom-width:2px;border-radius:4px;background:rgba(0,0,0,.15);font:inherit;font-size:8px}.history-clear-button{padding:0 13px;border:1px solid #3a424e;background:#242a33;color:#fff}.history-list{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.history-table-head,.history-row{display:grid;grid-template-columns:120px 145px minmax(130px,1fr) 120px 55px 95px 100px 120px 72px;gap:8px;align-items:center}.history-table-head{padding:8px 12px;border-bottom:1px solid var(--line);background:#11151b;color:#747f8d;font-size:8px;font-weight:1000;text-transform:uppercase;letter-spacing:.05em}.history-table-body{min-height:0;overflow:auto}.history-row{min-height:52px;padding:7px 12px;border-bottom:1px solid #292f38;font-size:9px;cursor:default}.history-row:hover{background:#1b2027}.history-row.selected{background:#20262e;box-shadow:inset 3px 0 0 var(--accent)}.history-number{font-size:11px;color:#fff}.history-row small{display:block;margin-top:2px}.history-live-badge{width:max-content;padding:2px 4px;border-radius:3px;background:#a92328;color:#fff;font-size:7px;font-weight:1000}.history-win{color:#74d99a}.history-status{width:max-content;padding:4px 7px;border-radius:5px;font-size:8px;font-weight:1000;text-transform:uppercase}.history-status.won{background:rgba(65,190,116,.12);color:#78dc9d}.history-status.lost,.history-status.cancelled{background:rgba(231,76,81,.12);color:#ff8d92}.history-status.paid{background:rgba(88,169,255,.12);color:#90c6ff}.history-status.waiting{background:rgba(246,196,73,.11);color:#f5d675}.history-details-button{height:30px;border:1px solid #3b444f;border-radius:6px;background:#252c34;color:#fff;font-size:8px;font-weight:1000;cursor:pointer}.history-details-button:hover{border-color:#626f7d;background:#303843}.history-pagination{min-height:48px;padding:8px 12px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8995a3;font-size:9px}.history-pagination-actions{display:flex;align-items:center;gap:8px}.history-pagination-actions button{height:31px;padding:0 11px;border:1px solid #3a434e;border-radius:6px;background:#242a32;color:#fff;font-size:8px;font-weight:900;cursor:pointer}.history-pagination-actions button:disabled{opacity:.35;cursor:not-allowed}.history-pagination-actions strong{min-width:55px;text-align:center;color:#d5dbe2}.history-loading-state,.history-empty-state{height:100%;min-height:220px;display:grid;place-content:center;justify-items:center;gap:9px;text-align:center;color:#8d98a5}.history-loading-state strong,.history-empty-state strong{color:#d7dde4;font-size:11px}.history-empty-state span{font-size:9px}.history-detail-overlay{position:fixed;inset:0;z-index:12500;display:grid;place-items:center;padding:20px;background:rgba(4,7,11,.86);backdrop-filter:blur(4px)}.history-detail-modal{width:min(1280px,96vw);height:min(800px,92vh);min-height:420px;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #37404b;border-radius:14px;background:#171c22;box-shadow:0 32px 90px rgba(0,0,0,.68)}.history-detail-header{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.history-detail-header h2{margin:2px 0 6px;font-size:20px}.history-detail-header-actions{display:flex;align-items:center;gap:8px}.history-detail-close{width:34px;height:34px;border:1px solid #3d4651;border-radius:7px;background:#242b34;color:#fff;font-size:20px;cursor:pointer}.history-detail-content{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 300px}.history-detail-pairs{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border-right:1px solid var(--line)}.history-detail-pairs-scroll{height:100%}.history-detail-summary{padding:14px;overflow:auto}.history-detail-placeholder-actions{display:grid;gap:8px;margin-top:16px}.history-detail-placeholder-actions button{height:38px;border:1px dashed #3f4956;border-radius:7px;background:#181e25;color:#66717f;font-size:8px;font-weight:1000}.history-detail-loading{height:100%;display:grid;place-content:center;justify-items:center;gap:10px;color:#a9b3be}@media(max-width:1250px){.history-table-head,.history-row{grid-template-columns:110px 130px minmax(120px,1fr) 105px 48px 85px 90px 105px 66px}.history-filters{grid-template-columns:minmax(220px,1fr) auto 140px auto}}@media(max-width:900px){.history-shell{height:auto}.history-filters{grid-template-columns:1fr 1fr}.history-table-head{display:none}.history-row{grid-template-columns:1fr 1fr 1fr;gap:6px;padding:10px}.history-number{font-size:12px}.history-detail-content{grid-template-columns:1fr}.history-detail-pairs{border-right:0;border-bottom:1px solid var(--line)}.history-detail-summary{max-height:260px}.history-pagination{align-items:flex-start;flex-direction:column}.history-title-row{align-items:flex-start;flex-direction:column}}


/* Centrala: freeze complete application while placement decision is pending. */
body.centrala-waiting .topbar,
body.centrala-waiting .app,
body.centrala-waiting .footer { pointer-events:none !important; user-select:none; }
body.centrala-waiting::after { content:"Čekanje odgovora Centrale…"; position:fixed; inset:0; z-index:20000; display:grid; place-items:center; background:rgba(4,7,11,.42); color:#fff; font-size:18px; font-weight:900; letter-spacing:.02em; cursor:wait; }


/* V18.2 - Blazor-native Centrala processing lock.
   Fixed to the viewport so it also covers the header/navigation. */
.centrala-blazor-lock {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    background: rgba(4, 7, 11, .72);
    cursor: wait;
    pointer-events: all;
    user-select: none;
}
.centrala-blazor-lock__panel {
    min-width: min(420px, calc(100vw - 32px));
    padding: 24px 28px;
    border-radius: 14px;
    background: #171b22;
    border: 1px solid #303744;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
}
.centrala-blazor-lock__panel small {
    display: block;
    margin-top: 8px;
    color: #aeb7c4;
    font-size: 12px;
    font-weight: 600;
}
.centrala-blazor-lock__spinner {
    width: 34px;
    height: 34px;
    margin: 0 auto 14px;
    border: 4px solid rgba(255,255,255,.22);
    border-top-color: #fff;
    border-radius: 50%;
    animation: centrala-lock-spin .8s linear infinite;
}
@keyframes centrala-lock-spin { to { transform: rotate(360deg); } }

/* Customer display */
.customer-display-layout{min-height:100vh;background:#080b10;color:#f4f7fb}
.customer-display-screen{position:fixed;inset:0;background:#080b10;overflow:hidden}
.customer-advertisement{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#080b10}
.customer-advertisement img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center}
.customer-ticket-display{height:100vh;display:flex;flex-direction:column;padding:34px 46px;box-sizing:border-box;gap:20px;background:linear-gradient(180deg,#10151d 0%,#080b10 100%)}
.customer-ticket-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #2a313c;padding-bottom:20px}
.customer-brand{font-size:48px;font-weight:950;letter-spacing:-1px}.customer-subtitle{font-size:20px;color:#aab3c0;margin-top:3px}.customer-ticket-kind{font-size:22px}
.customer-selections{flex:1;min-height:0;overflow:hidden;display:grid;gap:10px;align-content:start}.customer-selections-single{grid-template-columns:1fr}.customer-selections-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}.customer-selection{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;padding:15px 18px;border:1px solid #2a313c;border-radius:12px;background:#121821;min-width:0}.customer-selection-main{min-width:0}.customer-selection-main strong{display:block;font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-selection-main span{display:block;margin-top:6px;color:#aab3c0;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-selection-odd{text-align:right;font-size:31px;font-weight:950}.customer-selections-compact{gap:7px}.customer-selections-compact .customer-selection{padding:9px 13px;border-radius:9px}.customer-selections-compact .customer-selection-main strong{font-size:18px}.customer-selections-compact .customer-selection-main span{font-size:13px;margin-top:3px}.customer-selections-compact .customer-selection-odd{font-size:25px}.customer-page-indicator{text-align:center;color:#aab3c0;font-size:13px;margin-top:-10px}
.customer-empty-ticket{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#aab3c0}.customer-empty-ticket strong{font-size:40px;color:#f4f7fb}.customer-empty-ticket span{font-size:22px;margin-top:10px}
.customer-ticket-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.customer-ticket-summary>div{padding:14px 16px;border:1px solid #2a313c;border-radius:10px;background:#121821}.customer-ticket-summary span{display:block;color:#aab3c0;font-size:14px}.customer-ticket-summary strong{display:block;font-size:24px;margin-top:5px}.customer-ticket-summary .customer-potential strong{font-size:30px}
.customer-message{padding:15px 18px;border-radius:10px;font-size:20px;font-weight:800;text-align:center}.customer-message.info{border:1px solid rgba(62,190,125,.4);background:rgba(62,190,125,.10)}.customer-message.error{border:1px solid rgba(255,93,99,.5);background:rgba(255,93,99,.12)}
.customer-fullscreen-button{position:fixed;right:18px;top:18px;z-index:5;border:1px solid #3a4350;border-radius:8px;background:rgba(10,14,20,.82);color:#fff;padding:9px 13px;cursor:pointer;opacity:.55}.customer-fullscreen-button:hover{opacity:1}
.customer-display-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.customer-display-controls .check{margin:0}
@media (max-width:1100px){.customer-ticket-display{padding:24px}.customer-ticket-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-selection-main strong{font-size:21px}}

@media (max-width:900px){.customer-selections-grid{grid-template-columns:1fr}.customer-selections-compact .customer-selection-main strong{font-size:17px}}

/* V19.3.6 - started prematch + system fixed marker */
.selection.selection-started .sel strong,
.selection.selection-started .sel span,
.selection.selection-started .sel-odd { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .58; }
.selection.selection-started { background: rgba(231,76,81,.07); }
.history-fixed-star { color: var(--warning); margin-right: 4px; font-size: 14px; line-height: 1; }

/* Support V1 */
.support-page{padding:18px;max-width:1500px;margin:0 auto}.support-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.support-toolbar h1{margin:0}.support-toolbar p{margin:4px 0 0;color:#667085}.support-shell{display:grid;grid-template-columns:360px 1fr;min-height:68vh;border:1px solid #d9dee7;border-radius:12px;overflow:hidden;background:#fff}.support-list{border-right:1px solid #e5e7eb;background:#f7f8fa;overflow:auto}.support-conversation{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e5e7eb;background:transparent;padding:14px;cursor:pointer}.support-conversation:hover,.support-conversation.active{background:#fff}.support-conv-top,.support-conv-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.support-conv-sub{font-size:.9rem;margin-top:5px}.support-conv-preview{color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0}.support-conv-bottom{font-size:.78rem;color:#8a94a3}.support-status{font-size:.7rem;padding:3px 7px;border-radius:999px}.support-status.open{background:#dcfce7;color:#166534}.support-status.closed{background:#e5e7eb;color:#475467}.support-unread{background:#d92d20;color:#fff;min-width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}.support-chat{display:flex;flex-direction:column;min-width:0}.support-chat-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #e5e7eb}.support-chat-head h2{margin:0 0 4px}.support-messages{flex:1;padding:18px;overflow:auto;max-height:58vh;background:#fafafa}.support-message{display:flex;margin:8px 0}.support-message.mine{justify-content:flex-end}.support-bubble{max-width:72%;padding:10px 13px;border-radius:12px;background:#fff;border:1px solid #e5e7eb}.support-message.mine .support-bubble{background:#eef6ff}.support-sender{font-weight:700;font-size:.8rem;margin-bottom:5px}.support-bubble time{display:block;color:#8a94a3;font-size:.72rem;margin-top:6px}.support-compose{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-top:1px solid #e5e7eb}.support-compose textarea,.support-new input,.support-new select,.support-new textarea{width:100%;box-sizing:border-box;border:1px solid #cfd5df;border-radius:8px;padding:9px}.support-new{padding:20px;max-width:720px}.support-new label{display:block;margin:12px 0;font-weight:600}.support-actions{display:flex;justify-content:flex-end;gap:8px}.support-empty{padding:24px;color:#667085}.support-empty.big{margin:auto}.support-error{padding:10px 12px;background:#fff1f0;border:1px solid #fda29b;border-radius:8px;color:#b42318;margin-bottom:12px}@media(max-width:900px){.support-shell{grid-template-columns:1fr}.support-list{border-right:0;border-bottom:1px solid #e5e7eb;max-height:280px}.support-bubble{max-width:90%}}

/* Support V1.1 readability + field help */
.support-field-help{display:block;font-weight:400;font-size:.8rem;line-height:1.35;color:#667085;margin:3px 0 6px}.support-bubble,.support-bubble>div:not(.support-sender){color:#1f2937}.support-message.mine .support-bubble{color:#1f2937;background:#eef6ff}.support-message.central .support-bubble{color:#1f2937;background:#fff}.support-sender{color:#344054}.support-bubble time{color:#667085}

/* Support V1.1 - ticket context + screenshot attachments */
.support-ticket-context{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid rgba(88,169,255,.32);border-radius:8px;background:rgba(88,169,255,.08);color:#e9f3ff}.support-ticket-context span{font-size:10px;color:#a9bdd2}.support-capture-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px;padding:10px;border:1px dashed #46515f;border-radius:8px;background:#11161c}.support-capture-box>span{font-size:10px;color:#9aa6b4}.support-attachment-preview{display:grid;grid-template-columns:110px minmax(0,1fr) 30px;align-items:center;gap:10px;margin-top:8px;padding:8px;border:1px solid #39424e;border-radius:8px;background:#12171d;color:#f4f7fa}.support-attachment-preview img{width:110px;height:68px;object-fit:cover;border-radius:5px;border:1px solid #46505d}.support-attachment-preview strong,.support-attachment-preview span{display:block}.support-attachment-preview span{margin-top:3px;font-size:9px;color:#9da9b7}.support-attachment-preview>button{border:0;background:#2c333d;color:#fff;border-radius:6px;width:28px;height:28px;cursor:pointer}.support-attachment{display:flex;align-items:center;gap:6px;margin-top:8px;padding:7px 9px;border:1px solid #46515e;border-radius:7px;background:#252c35;color:#e9eef5;cursor:pointer;font-size:10px}.support-attachment small{color:#aab4c0}.support-compose-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}.payout-support-button{width:100%;margin:0 0 12px;padding:11px 12px;border:1px solid rgba(88,169,255,.38);border-radius:8px;background:rgba(88,169,255,.1);color:#a9d2ff;font-weight:900;cursor:pointer}.payout-support-button:hover{background:rgba(88,169,255,.17);color:#d8ebff}

/* V19.4.5.4 - Customer Display UX */
.customer-advertisement-slide{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center}
.customer-selection{grid-template-columns:minmax(0,1fr)}
.customer-selection-title-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,auto) 105px;gap:14px;align-items:center;min-width:0}
.customer-selection-teams{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:23px}
.customer-selection-tip{white-space:nowrap;text-align:right;font-size:21px;color:#f4f7fb}
.customer-selection-title-row .customer-selection-odd{text-align:right;font-size:31px;font-weight:950;white-space:nowrap}
.customer-selection-meta{display:flex;align-items:center;gap:10px;min-width:0;margin-top:8px;color:#c3cad4;font-size:18px;white-space:nowrap;overflow:hidden}
.customer-selection-meta>span{flex:0 0 auto}
.customer-selection-meta .customer-market-name{font-weight:900;color:#f4f7fb;overflow:hidden;text-overflow:ellipsis}
.customer-live-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;background:#d71920;color:#fff;font-size:14px;font-weight:950;letter-spacing:.4px}
.customer-pre-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;background:#303946;color:#d7dde6;font-size:14px;font-weight:850}
.customer-fixed-badge{display:inline-flex!important;align-items:center;padding:4px 9px;border-radius:6px;background:#f0b429;color:#17120a!important;font-size:15px;font-weight:950;letter-spacing:.25px}
.customer-selection-fixed{border:2px solid rgba(240,180,41,.8);box-shadow:inset 4px 0 0 #f0b429;background:linear-gradient(90deg,rgba(240,180,41,.08),#121821 24%)}
.customer-selections-compact .customer-selection-title-row{grid-template-columns:minmax(0,1fr) minmax(62px,auto) 88px;gap:9px}
.customer-selections-compact .customer-selection-teams{font-size:18px}
.customer-selections-compact .customer-selection-tip{font-size:17px}
.customer-selections-compact .customer-selection-title-row .customer-selection-odd{font-size:25px}
.customer-selections-compact .customer-selection-meta{font-size:15px;margin-top:4px;gap:7px}
.customer-selections-compact .customer-live-badge,.customer-selections-compact .customer-pre-badge{font-size:12px;padding:2px 6px}
.customer-selections-compact .customer-fixed-badge{font-size:12px;padding:2px 6px}
@media (max-width:1100px){.customer-selection-teams{font-size:21px}.customer-selection-meta{font-size:16px}}

/* V19.4.5.5 - Customer Display final readability */
.customer-selection-meta .customer-selection-code,.customer-selection-meta .customer-market-name,.customer-selection-meta .customer-band{font-size:inherit;font-weight:900;color:#f4f7fb}


/* V19.4.5.6 - Customer Display meta alignment */
.customer-selection-meta .customer-selection-code,
.customer-selection-meta .customer-market-name,
.customer-selection-meta .customer-band{font-size:20px!important;font-weight:900;line-height:1.15}
.customer-selection-meta .customer-selection-code{color:#f0b429!important}
.customer-selection-meta .customer-market-name,
.customer-selection-meta .customer-band{color:#f4f7fb!important}
.customer-selections-compact .customer-selection-meta .customer-selection-code,
.customer-selections-compact .customer-selection-meta .customer-market-name,
.customer-selections-compact .customer-selection-meta .customer-band{font-size:18px!important}
@media (max-width:1100px){
  .customer-selection-meta .customer-selection-code,
  .customer-selection-meta .customer-market-name,
  .customer-selection-meta .customer-band{font-size:18px!important}
}

/* V19.4.5.8.7 Customer Display: original single-column layout + scroll */
.customer-selections.customer-selections-single{display:flex!important;flex-direction:column;gap:10px;overflow-y:auto!important;overflow-x:hidden;padding-right:8px;scrollbar-width:auto;scrollbar-color:#596575 #151b24}
.customer-selections.customer-selections-single::-webkit-scrollbar{width:12px}
.customer-selections.customer-selections-single::-webkit-scrollbar-track{background:#151b24;border-radius:10px}
.customer-selections.customer-selections-single::-webkit-scrollbar-thumb{background:#596575;border-radius:10px;border:2px solid #151b24}
.customer-selections.customer-selections-single .customer-selection{flex:0 0 auto;min-height:96px}
.customer-event-time{display:inline!important;color:#83d80d!important;font-size:inherit!important;font-weight:950!important;margin:0 10px 0 0!important;white-space:nowrap!important}
.customer-event-name{display:inline!important;color:#f4f7fb!important;font-size:inherit!important;font-weight:950!important;margin:0!important}
.customer-market-name,.customer-band{text-transform:uppercase}
.customer-ticket-kind{display:flex;align-items:center;gap:14px;justify-content:flex-end;flex-wrap:wrap}
.customer-ticket-status{display:inline-flex;align-items:center;border-radius:999px;padding:7px 13px;font-size:15px;font-weight:950;letter-spacing:.04em}
.customer-ticket-status.waiting{background:rgba(240,180,41,.15);color:#f0b429;border:1px solid rgba(240,180,41,.45)}
.customer-ticket-status.won{background:rgba(131,216,13,.14);color:#83d80d;border:1px solid rgba(131,216,13,.42)}
.customer-ticket-status.lost{background:rgba(239,68,68,.15);color:#ff6464;border:1px solid rgba(239,68,68,.45)}

/* V19.4.5.8.12 - payout pair state colors on Customer Display.
   Pending keeps the existing/default colors. Only resolved WON/LOST pairs are accented. */
.customer-selection-state-won .customer-selection-odd,
.customer-selection-state-won .customer-selection-tip{color:#83d80d!important}
.customer-selection-state-lost .customer-selection-odd,
.customer-selection-state-lost .customer-selection-tip{color:#ff6464!important}

/* Cashout demo UI - quote only, no ticket mutation/payout. */
.cashout-demo-panel{margin-top:14px;padding:14px;border:1px solid rgba(34,197,94,.35);border-radius:12px;background:linear-gradient(145deg,rgba(34,197,94,.09),rgba(15,23,42,.18));}
.cashout-demo-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.cashout-demo-head>div{display:flex;flex-direction:column;gap:2px}.cashout-demo-kicker{font-size:10px;font-weight:800;letter-spacing:.14em;color:#22c55e}.cashout-demo-badge{font-size:9px;font-weight:800;letter-spacing:.12em;padding:4px 7px;border-radius:999px;border:1px solid rgba(250,204,21,.45);color:#facc15}.cashout-demo-amount{font-size:30px;line-height:1;font-weight:900;margin:7px 0 6px}.cashout-demo-meta,.cashout-demo-panel small{display:block;color:var(--muted);font-size:11px;line-height:1.4}.cashout-demo-limit{margin-top:7px;font-size:10px;color:#facc15}.cashout-demo-button,.cashout-demo-accept{width:100%;margin-top:12px;border:0;border-radius:9px;padding:12px 14px;font-weight:900;letter-spacing:.04em;background:#22c55e;color:#07120a;cursor:pointer}.cashout-demo-accept:disabled{opacity:.45;cursor:not-allowed}.cashout-demo-refresh{margin-top:10px;width:100%;padding:8px;border-radius:8px;border:1px solid #3a4351;background:transparent;color:inherit;cursor:pointer}.cashout-demo-unavailable{font-weight:700;margin-bottom:3px}.cashout-demo-loading{display:flex;align-items:center;gap:9px;color:var(--muted);padding:8px 0}.cashout-confirm-modal{width:min(520px,calc(100vw - 32px));border-radius:16px;background:var(--panel,#171b22);border:1px solid #303744;box-shadow:0 24px 80px rgba(0,0,0,.45);overflow:hidden}.cashout-confirm-top{display:flex;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #303744}.cashout-confirm-top h2{margin:4px 0 2px}.cashout-confirm-top p{margin:0;color:var(--muted);font-size:12px}.cashout-confirm-body{padding:24px 22px;text-align:center}.cashout-confirm-label{display:block;color:var(--muted);font-size:12px}.cashout-confirm-amount{display:block;font-size:42px;line-height:1.1;margin:7px 0 18px}.cashout-confirm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.cashout-confirm-stats span{padding:9px 6px;border:1px solid #303744;border-radius:8px;font-size:10px;color:var(--muted)}.cashout-confirm-stats strong{display:block;color:inherit;font-size:12px;margin-top:3px}.cashout-demo-notice{padding:10px;border-radius:8px;background:rgba(250,204,21,.08);color:#facc15;font-size:11px}.cashout-confirm-actions{display:flex;gap:9px;padding:14px 22px;border-top:1px solid #303744}.cashout-confirm-actions .btn{flex:1}.cashout-confirm-actions .cashout-demo-accept{flex:1.5;margin:0}
@media(max-width:720px){.cashout-confirm-stats{grid-template-columns:1fr}.cashout-confirm-actions{flex-direction:column}.cashout-confirm-amount{font-size:34px}}

/* Ticket-entry market identity: keep shortcut visually separate from band/line. */
.market-shortcut-badge{display:inline-flex;align-items:center;margin-left:7px;padding:2px 6px;border-radius:5px;border:1px solid rgba(96,165,250,.45);background:rgba(59,130,246,.12);color:#93c5fd;font-size:10px;font-weight:900;letter-spacing:.04em;vertical-align:middle}.market-band-badge{display:inline-flex;align-items:center;margin-left:5px;padding:2px 6px;border-radius:5px;border:1px solid rgba(250,204,21,.38);background:rgba(250,204,21,.08);color:#fde047;font-size:10px;font-weight:800;vertical-align:middle}

.customer-cashout-offer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0;padding:12px 16px;border:1px solid rgba(65,190,116,.42);border-radius:9px;background:rgba(65,190,116,.10)}.customer-cashout-offer span{font-size:11px;font-weight:1000;letter-spacing:.08em;color:#83dfa6}.customer-cashout-offer strong{font-size:22px;color:#72dc9a}
