
.ua26-scorebar{
    --green:#123f2f;
    --gold:#f0c95c;
    --red:#c92e43;
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    margin:10px 0;
    padding:14px 16px 11px;
    border-radius:15px;
    border:1px solid rgba(0,0,0,.08);
    background:
      linear-gradient(180deg,rgba(255,255,255,.98),rgba(249,249,247,.98));
    color:#173126;
    font-family:Arial,Helvetica,sans-serif;
    box-shadow:0 5px 18px rgba(0,0,0,.10);
    position:relative;
    overflow:hidden;
}
.ua26-scorebar:before{
    content:"";
    position:absolute;
    left:0;right:0;top:0;height:4px;
    background:linear-gradient(90deg,#249a4b,#e0c14f,#c92e43,#249a4b);
}
.ua26-scorebar-top{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    min-height:28px;
}
.ua26-scorebar-title{
    text-align:center;
    font-size:16px;
    line-height:1.3;
}
.ua26-scorebar-title strong{font-weight:800}
.ua26-scorebar-santa{margin-left:18px;font-weight:800}
.ua26-scorebar-santa span{display:inline}
.ua26-scorebar-status{
    position:absolute;
    right:14px;
    top:12px;
    font-size:9px;
    color:#6d7b73;
    opacity:.75;
}
.ua26-sb-dot{
    display:inline-block;width:7px;height:7px;border-radius:50%;
    background:#d0d0d0;margin-right:4px;
}
.ua26-sb-dot.ok{background:#2fa85a;box-shadow:0 0 5px rgba(47,168,90,.45)}
.ua26-sb-dot.error{background:#c92e43}

.ua26-scorebar-summary{
    display:flex;
    justify-content:center;
    gap:28px;
    margin:5px 0 10px;
    font-size:12px;
    font-weight:700;
}
.ua26-scorebar-summary small{font-size:10px;color:#718078;font-weight:600}
.ua26-scorebar-summary em{
    font-style:normal;
    margin-left:5px;
    font-size:9px;
    color:#7d6c2d;
    background:#f7efc9;
    border:1px solid #e7d994;
    padding:2px 6px;
    border-radius:999px;
    text-transform:uppercase;
}

.ua26-day-row{
    display:grid;
    grid-template-columns:repeat(25,minmax(0,1fr));
    gap:4px;
}
.ua26-day{
    height:38px;
    min-width:0;
    border-radius:7px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#dedede;
    color:#fff;
    font-size:14px;
    font-weight:800;
    transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.ua26-day.is-hit{
    background:linear-gradient(180deg,#2faf51,#209542);
    color:#fff;
    box-shadow:inset 0 -2px rgba(0,0,0,.08),0 2px 5px rgba(35,145,70,.18);
}
.ua26-day.is-hit:before{content:"✓";font-size:9px;margin-right:2px;opacity:.8}
.ua26-day:hover{transform:translateY(-1px)}

.ua26-scorebar-bottom{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:9px;
    font-size:10px;
    color:#69776f;
}
.ua26-next{font-weight:700}
.ua26-scorebar-note{
    text-transform:uppercase;
    letter-spacing:1px;
    opacity:.6;
}

@media(max-width:700px){
    .ua26-scorebar{padding:12px 10px 9px}
    .ua26-scorebar-top{padding-top:8px}
    .ua26-scorebar-title{font-size:13px}
    .ua26-scorebar-santa{margin-left:8px}
    .ua26-scorebar-summary{gap:12px;font-size:11px}
    .ua26-day-row{gap:2px}
    .ua26-day{height:30px;border-radius:5px;font-size:11px}
    .ua26-scorebar-status{display:none}
    .ua26-scorebar-bottom{font-size:9px}
    .ua26-scorebar-note{display:none}
}
@media(max-width:460px){
    .ua26-scorebar-title{font-size:11px}
    .ua26-scorebar-summary{display:block;text-align:center}
    .ua26-santa-summary{margin-top:4px}
    .ua26-day{height:25px;font-size:9px}
    .ua26-day.is-hit:before{display:none}
}


/* =========================================================
   v1.1.0 — Day-click popup containing the main Advent widget
   ========================================================= */
body.ua26-modal-open{overflow:hidden}
.ua26-day{cursor:pointer}
.ua26-day:focus-visible{outline:3px solid #f0c95c;outline-offset:2px}

.ua26-day-modal{
    display:none;
    position:fixed;
    z-index:999999;
    inset:0;
    padding:28px;
    align-items:center;
    justify-content:center;
}
.ua26-day-modal.is-open{display:flex}
.ua26-day-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(2,18,12,.78);
    backdrop-filter:blur(5px);
}
.ua26-day-modal-panel{
    position:relative;
    z-index:2;
    width:min(1120px,96vw);
    max-height:94vh;
    overflow:auto;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.18);
    background:#0a3026;
    box-shadow:0 25px 90px rgba(0,0,0,.55);
}
.ua26-day-modal-head{
    position:sticky;
    top:0;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:13px 18px;
    color:#fff;
    background:linear-gradient(180deg,#0d4534,#0a3026);
    border-bottom:1px solid rgba(255,255,255,.12);
}
.ua26-day-modal-kicker{
    font-size:9px;
    letter-spacing:1.6px;
    opacity:.58;
    font-weight:800;
}
.ua26-day-modal-head h3{
    margin:2px 0 0;
    font-size:20px;
    color:#fff;
}
.ua26-day-modal-close{
    width:36px;height:36px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:27px;
    line-height:1;
    cursor:pointer;
}
.ua26-day-modal-close:hover{background:rgba(255,255,255,.16)}
.ua26-day-modal-body{padding:16px}
.ua26-day-modal-body .ukbota-advent26{margin:0;min-height:0}

@media(max-width:700px){
    .ua26-day-modal{padding:10px}
    .ua26-day-modal-panel{width:100%;max-height:96vh;border-radius:14px}
    .ua26-day-modal-body{padding:8px}
    .ua26-day-modal-head h3{font-size:16px}
}
