#matchPage [hidden] {
    display: none !important;
}

.sgm-live-message {
    padding: 24px;
    margin: 18px 0;
}

.sgm-live-message h2 {
    margin: 0 0 8px;
    font-size: 19px;
}

.sgm-live-message p {
    color: #65748a;
    margin: 0 0 16px;
}

.sgm-live-message a,
.sgm-live-message button {
    margin-right: 10px;
}

.mobile #matchPage .sgm-live-message {
    padding: 16px;
    margin: 12px 0;
}

.mobile #matchPage .sgm-live-message h2 {
    margin: 0 0 7px;
    color: #2b2f35;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.mobile #matchPage .sgm-live-message p {
    margin: 0 0 14px;
    color: #64758d;
    font-size: 13px;
    line-height: 1.6;
}

.mobile #matchPage .sgm-live-message :is(a, button) {
    width: 100%;
    min-height: 38px;
    height: auto;
    margin: 0;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.sgm-score-panel .sgm-score-ring b,
.sgm-m-score b {
    font-variant-numeric: tabular-nums;
}

.sgm-m-detail-card [data-match-rows] {
    display: grid;
    gap: 10px;
}

.sgm-m-advice [data-match-advice] p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.pc #matchPage .sgm-side {
    min-width: 0;
    align-content: start;
}

.pc #matchPage .sgm-check-list li {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 10px 12px 10px 26px;
    color: #596577;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
    white-space: pre-line;
    background: #f8f9fb;
}

.pc #matchPage .sgm-check-list li::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e60012;
}

.pc #matchPage .sgm-side-card.is-alert .sgm-check-list li {
    background: #fff5f6;
}

.mobile #matchPage .sgm-m-alert,
.mobile #matchPage .sgm-m-advice {
    padding: 14px;
}

.mobile #matchPage :is(.sgm-m-alert, .sgm-m-advice) .sgm-m-section-head {
    margin-bottom: 11px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f5;
}

.mobile #matchPage :is(.sgm-m-alert, .sgm-m-advice) .sgm-m-section-head > div {
    align-items: center;
    gap: 8px;
}

.mobile #matchPage :is(.sgm-m-alert, .sgm-m-advice) .sgm-m-section-head span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #fff0f2;
    color: #e60012;
    font-size: 11px;
    font-weight: 600;
}

.mobile #matchPage .sgm-m-alert-grid,
.mobile #matchPage [data-match-advice] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.mobile #matchPage .sgm-m-alert-grid > span,
.mobile #matchPage [data-match-advice] > p {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 10px 11px 10px 24px;
    border-radius: 9px;
    color: #596577;
    background: #f8f9fb;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.mobile #matchPage .sgm-m-alert-grid > span {
    background: #fff5f6;
    color: #8b4653;
}

.mobile #matchPage .sgm-m-alert-grid > span::before,
.mobile #matchPage [data-match-advice] > p::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 11px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e60012;
}

.mobile #matchPage .sgm-m-advice .sgm-m-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
    gap: 8px;
}

.mobile #matchPage .sgm-m-advice .sgm-m-btn {
    height: 36px;
    font-weight: 600;
}

.mobile #matchPage .sgm-m-remarks {
    display: block;
    min-width: 0;
    padding: 14px 15px 16px;
    border-color: #f4e5bd;
}

.mobile #matchPage .sgm-m-remarks h2 {
    margin: 0 0 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid #f3e5c9;
    color: #8a5d14;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.mobile #matchPage .sgm-m-remarks p {
    width: 100%;
    margin: 0;
    color: #725b37;
    font-size: 13px;
    line-height: 1.75;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

#matchPage [data-match-jump]{cursor:pointer;transition:box-shadow .16s,transform .16s}
#matchPage [data-match-jump]:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#matchPage [data-match-jump][aria-disabled="true"]{cursor:default}
#matchPage [data-match-jump][aria-disabled="false"]:active{transform:scale(.97)}
#matchPage [data-match-state]{scroll-margin-top:88px}
#matchPage .sgm-jump-target{outline:2px solid #e6002d;outline-offset:3px;box-shadow:0 0 0 6px #e6002d0d}
@media(prefers-reduced-motion:reduce){#matchPage [data-match-jump]{transition:none}}

/* Compact decisions stay below the facts, never squeeze the profile column. */
#matchPage .sg-match-choice{display:flex;justify-content:flex-end;gap:8px;margin-top:8px;grid-column:1/-1}
#matchPage .sg-match-choice .match-confirm-condition{margin:0;min-width:86px;padding:7px 12px;border:1px solid #ffd6df;border-radius:14px 5px 14px 14px;background:#fff1f5;color:#d6002b;cursor:pointer;line-height:1.3}
#matchPage .sg-match-choice .match-confirm-condition strong{display:block;font-size:17px}
#matchPage .sg-match-choice .match-confirm-condition small{display:block;margin-top:1px;font-size:11px}
#matchPage .sg-match-choice .is-fail{background:#f5f6f8;border-color:#e0e4ea;color:#647286}
#matchPage .sg-match-choice button:disabled{opacity:.62;cursor:default}
#matchPage .sg-match-choice button:focus-visible{outline:2px solid #e6002d;outline-offset:2px}
.mobile #matchPage .sgm-m-item{padding-bottom:12px}
.mobile #matchPage .sgm-m-item dl>div{grid-template-columns:52px minmax(0,1fr)}

.mobile #matchPage .sgm-m-summary-row{grid-template-columns:80px minmax(0,1fr);gap:12px}.mobile #matchPage .sgm-m-score{box-sizing:border-box;width:80px;height:80px;flex-shrink:0;border-width:5px}.mobile #matchPage .sgm-m-score b{display:flex;align-items:baseline;justify-content:center;gap:1px;font-size:24px;line-height:1.15;letter-spacing:-.03em;white-space:nowrap}.mobile #matchPage .sgm-m-score b small{font-size:14px;font-weight:600;letter-spacing:0;color:#647184}.mobile #matchPage .sgm-m-score>span{font-size:11px;margin-top:4px;line-height:1.3}@media(max-width:360px){.mobile #matchPage .sgm-m-summary-row{grid-template-columns:74px minmax(0,1fr);gap:10px}.mobile #matchPage .sgm-m-score{width:74px;height:74px}.mobile #matchPage .sgm-m-score b{font-size:22px}.mobile #matchPage .sgm-m-score b small{font-size:13px}}
