/* Optional light content theme. Original site.css and page styles stay unchanged. */
:root {
    color-scheme: light;
    background-color: #242424;
    --mf-paper: #f5f2e9;
    --mf-ink: #242b28;
    --mf-accent: #c44116;
    --mf-olive: #252e29;
}
body {
    --mf-text: #242b28;
    --mf-muted: #62665e;
    --mf-surface: #f5f2e9;
    --mf-card: #faf9f3;
    --mf-soft: #e8e3d6;
    --mf-line: #ccc9bc;
    --mf-icon: brightness(0) saturate(100%) opacity(.8);
    --sg-surface: #faf9f3;
    --sg-text: #242b28;
    --sg-text-dim: #62665e;
    --sg-line: #ccc9bc;
    --sg-accent: #a73712;
    color: var(--mf-text);
    background-color: var(--mf-paper);
    color-scheme: light;
    accent-color: var(--mf-accent);
}
/* White artwork remains legible on the dark frame and photographic banners. */
body header, body footer,
body [class*="bg-[linear-gradient("][class*="url("],
body [class*="bg-[url("]:not(dialog),
body .aihome__fortune-float {
    --mf-text: #fff;
    --mf-muted: #d1d5df;
    --mf-surface: #020618;
    --mf-card: #0f172a;
    --mf-soft: #1d293d;
    --mf-line: #647084;
    --mf-icon: none;
    color: var(--mf-text);
}
body header, body footer { background-color: #020618 !important; }
body [class~="text-white"] { color: var(--mf-text) !important; }
body [class*="text-white/"] { color: var(--mf-muted) !important; }
body [class~="bg-slate-950"], body [class~="bg-[#020618]"],
body [class~="bg-[#030618]"] { background-color: var(--mf-surface) !important; }
body [class~="bg-slate-900"], body [class~="bg-slate-900/60"],
body [class~="bg-white"], body [class~="bg-white/5"] { background-color: var(--mf-card) !important; }
body [class~="bg-slate-800"], body [class~="bg-white/10"],
body [class~="bg-white/20"] { background-color: var(--mf-soft) !important; }
body [class*="border-white"], body [class*="border-slate-"],
body [class*="border-black/"] { border-color: var(--mf-line) !important; }
body [class*="divide-white/"] > :not(:last-child) { border-color: var(--mf-line) !important; }
body [class*="text-slate-"], body [class*="text-gray-"] { color: var(--mf-muted) !important; }
body [class~="text-indigo-500"], body [class~="text-indigo-400"] { color: #a73712 !important; }
body [class*="border-indigo-"] { border-color: #a73712 !important; }
body [class~="border-b-indigo-500"] { border-bottom-color: #a73712; }
body [class~="bg-indigo-600/30"], body [class~="bg-indigo-600/40"],
body [class~="bg-indigo-600/10"], body [class~="bg-indigo-500/20"] {
    background-color: #eaeedc !important;
    color: #242b28;
}
body [class~="bg-indigo-500"], body [class~="bg-indigo-600"],
body [class~="bg-red-600"], body [class~="bg-blue-600"] {
    --mf-text: #fff;
    --mf-muted: #fff;
    --mf-icon: none;
    color: #fff !important;
    background-color: #c44116 !important;
}
body [class~="bg-indigo-600"] { background-color: #252e29 !important; }
body [class~="bg-red-600"] { background-color: #b42332 !important; }
body [class~="bg-blue-600"] { background-color: #255a9c !important; }
body [class~="hover:bg-white/10"]:hover,
body [class~="hover:bg-white/5"]:hover { background-color: var(--mf-soft) !important; }
body [class~="hover:text-white"]:hover { color: var(--mf-text) !important; }
body [class~="hover:bg-indigo-500"]:hover,
body [class~="hover:bg-indigo-600"]:hover { background-color: #a73712 !important; color: #fff !important; }
body [class*="text-red-"], body [class*="text-rose-"] { color: #ae2337 !important; }
body [class*="text-blue-"], body [class*="text-sky-"] { color: #245a94 !important; }
body [class*="text-green-"], body [class*="text-emerald-"] { color: #30643e !important; }
body [class*="text-yellow-"], body [class*="text-amber-"] { color: #805218 !important; }
body [class*="bg-red-"][class*="/"], body [class*="bg-rose-"][class*="/"] { background-color: #f8e4e5 !important; }
body [class*="bg-blue-"][class*="/"], body [class*="bg-sky-"][class*="/"] { background-color: #e4ecf5 !important; }
body [class*="bg-green-"][class*="/"] { background-color: #e6edde !important; }
body label[style*="color:red"], body label[style*="color: red"] { color: #ae2337 !important; }

/* Forms and native option menus. */
body input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="range"]):not([type="color"]),
body textarea, body select {
    color: #242b28 !important;
    background-color: #faf9f3 !important;
    border-color: #9e9f92 !important;
    color-scheme: light;
}
body input::placeholder, body textarea::placeholder { color: #6b6e65 !important; opacity: 1; }
body select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%2362665e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}
body select option, body select.ma option, body[data-type='ma'] select option { background: #faf9f3; color: #242b28; }
body input:disabled, body textarea:disabled, body select:disabled { background-color: #e8e3d6 !important; }
body :is(a, button, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid #a73712; outline-offset: 3px; }
body .custom-select, body .selected-value { color: #242b28; }
body .custom-select .selected-value svg path[stroke="white"] { stroke: var(--mf-text); }
body .all_agree { background-color: #252e29; color: #fff; }

/* Tables, including sticky rows/columns and prediction highlights. */
body table {
    --mf-text: #242b28;
    --mf-muted: #62665e;
    --mf-icon: brightness(0) saturate(100%) opacity(.8);
    color: #242b28;
    border-color: #b9b9ac;
}
body table tr th, body table tr td { border-color: #b9b9ac; }
body table tr th,
body .table-fix thead tr:nth-child(n) th,
body.predictionResult_weight_detail .table-fix thead tr:nth-child(n) th,
body .predictionResult_weight_detail .table-fix thead tr:nth-child(n) th,
body .about_result thead tr:nth-child(n) th {
    background-color: #e8e3d6 !important;
    color: #242b28;
    box-shadow: none;
}
body table tr td,
body .table-fix tbody tr:nth-child(n) td:first-child,
body .predictionResult_weight_detail .table-fix tbody tr:nth-child(n) td:first-child { background-color: #faf9f3; }
body table tbody tr:nth-child(even) td { background-color: #f0eee4; }
body.predictionResult_weight_detail .table-fix tbody tr:nth-child(odd) td:first-child { background-color: #faf9f3; }
body.predictionResult_weight_detail .table-fix tbody tr:nth-child(even) td:first-child { background-color: #f0eee4; }
body table td.td_1 { background-color: #e8e3d6; }
body .not_apply_bg { background-color: #f5f2e9 !important; }
body #bar_result1 tr td, body #bar_result2 tr td { background-color: #e8e3d6; color: #242b28; }
body #a1_head th.active,
body #user_list tr.active td, body #join_list tr.active td,
body #days_list tr.active td, body #result_list tr.active td,
body table td.rank_1, body table td.rank_2, body table td.rank_3 { background-color: #e0e8cc !important; color: #242b28 !important; }
body .race-dt.active, body .race-no.active, body table td.active_darkhorse {
    --mf-text: #fff;
    --mf-muted: #fff;
    --mf-icon: none;
    background-color: #252e29 !important;
    color: #fff !important;
    border-color: #252e29 !important;
}
body table td.result_match { background-color: #e0e8cc; color: #242b28; }
body .limit_tr td { border-bottom-color: #696f61; }
body .limit_td { border-right-color: #696f61; }
body .sub_menu.fixed__ { background-color: #eaeedc; }
body .bg_2 { background-color: #f0eee4; }
body .history_uuid:hover p, body .history_uuid.active p { color: #a73712; }
body .group.active span::before { color: var(--mf-text); }
body table td[data-type="scale_n"]::before { color: #242b28; }
body table td[data-type^="scale_"].scale-plus { background-color: #dde8f3 !important; }
body table td[data-type^="scale_"].scale-minus { background-color: #f6dfe1 !important; }

/* Only monochrome UI icons change color. Horse-number artwork stays intact. */
body img[src*="/ico/ic-arrow-"], body img[src*="/ico/ic-chevron-"],
body img[src*="/ico/ic-chev-"], body img[src*="/ico/ic-calendar"],
body img[src*="/ico/ic-x."], body img[src*="/ico/ic-user"],
body img[src*="/ico/ic-key"], body img[src*="/ico/ic-point"],
body img[src*="/ico/ic-menu"], body img[src*="/ico/ic-login"],
body img[src*="/ico/ic-lock"], body img[src*="/ico/ic-refresh"],
body img[src*="/ico/ic-edit"], body img[src*="/ico/ic-ai-star"],
body img[src*="/ico/ic-tarot"], body img[src*="/ico/ic-check"],
body img[src*="/ico/ic-cash"], body img[src*="/ico/ic-receipt"] { filter: var(--mf-icon); }

/* Dialogs generated by the existing scripts. */
body dialog {
    --mf-text: #242b28;
    --mf-muted: #62665e;
    --mf-surface: #f5f2e9;
    --mf-card: #faf9f3;
    --mf-soft: #e8e3d6;
    --mf-line: #ccc9bc;
    --mf-icon: brightness(0) saturate(100%) opacity(.8);
    color: #242b28 !important;
    background-color: #f5f2e9 !important;
}
body dialog[class*="bg-[url("] { background-image: none !important; }
body dialog::backdrop { background-color: rgba(17,22,20,.58); }
body dialog button:not([class*="bg-"]) { background-color: #e8e3d6; color: #242b28; }
body .event_modal button { background-color: #252e29; color: #fff; }
body .jconfirm .jconfirm-box, body .jconfirm .jconfirm-box-container .jconfirm-box { background: #faf9f3; color: #242b28; border-color: #ccc9bc; }
body .jconfirm .jconfirm-box .jconfirm-content,
body .jconfirm .jconfirm-box .jconfirm-title-c, body .jconfirm .jconfirm-box .jconfirm-closeIcon { color: #242b28; }
body .jconfirm .jconfirm-box .jconfirm-buttons button,
body .jconfirm .jconfirm-box .jconfirm-buttons button:hover { background: #252e29 !important; color: #fff !important; text-shadow: none; }
body .ui-widget-content, body .ui-widget-header { background: #faf9f3; color: #242b28; border-color: #ccc9bc; }
body .ui-widget-header { background: #e8e3d6; }
body .ui-state-default, body .ui-widget-content .ui-state-default { background: #f0eee4; color: #242b28; border-color: #ccc9bc; }
body .ui-state-active, body .ui-widget-content .ui-state-active { background: #252e29; color: #fff; border-color: #252e29; }
body .ui-state-highlight, body .ui-widget-content .ui-state-highlight { background: #e0e8cc; color: #242b28; }
body .ui-datepicker .ui-icon { background-image: url('/static/external/jquery-ui-1.14.1/images/ui-icons_444444_256x240.png'); }
body .ui-datepicker td a.ui-state-active { background: #252e29; color: #fff; }
body .ui-datepicker td a.ui-state-hover { background: #e0e8cc; color: #242b28; }
body.deploy_page .ui-datepicker td a.ui-state-active { background: #252e29 !important; color: #fff !important; }
body .jstree-default-dark { background: #faf9f3; color: #242b28; }
body .jstree-default-dark .jstree-anchor { color: #242b28; text-shadow: none; }
body .jstree-default-dark .jstree-clicked, body .jstree-default-dark .jstree-hovered { background: #e0e8cc; color: #242b28; box-shadow: none; }
body .replay-btn { background: #faf9f3; border-color: #ccc9bc; color: #242b28; }
body .sg-next { color: #fff; }
body .box .overlay { background: rgba(37,46,41,.82); color: #fff; }
body [class*="bg-linear-"][class*="from-[#2A2F66]"] { --mf-text: #fff; --mf-muted: #e1e4f5; --mf-icon: none; color: #fff; }

/* Contrast adjustments for the existing light homepage variants. */
body :is(.aihome--v5, .aihome--v7) { --aihome-muted: #62665e; }
body .aihome--v5 { --aihome-orange: #a73712; }
body .aihome--v5 .aihome__race-action { color: #a73712; }
body .aihome--v5 .aihome__folio b { color: #62665e; }
body :is(.aihome--v6, .aihome--v7) .aihome__focus-panel .aihome__eyebrow { color: #ffbc99; }

@media print {
    :root, body { background-color: #fff !important; color: #242b28 !important; }
}

/* index1: palette overrides scoped to this homepage variant. */
body .aihome:not([class*="aihome--v"]) { --aihome-bg:#f5f2e9; --aihome-line:#ccc9bc; --aihome-muted:#62665e; color:#242b28; color-scheme:light; }
body .aihome:not([class*="aihome--v"]) a:focus-visible, body .aihome:not([class*="aihome--v"]) button:focus-visible { outline:2px solid #ccc9bc; }
body .aihome:not([class*="aihome--v"]) .aihome__brand { color:#62665e; }
body .aihome:not([class*="aihome--v"]) .aihome__lead { color:#62665e; }
body .aihome:not([class*="aihome--v"]) .aihome__button--secondary { border:1px solid #ccc9bc; background:#e8e3d6; }
body .aihome:not([class*="aihome--v"]) .aihome__button--secondary:hover { background:#e8e3d6; }
body .aihome:not([class*="aihome--v"]) .aihome__section-head p { color:#a73712; }
body .aihome:not([class*="aihome--v"]) .aihome__text-link { color:#62665e !important; }
body .aihome:not([class*="aihome--v"]) .aihome__text-link:hover { color:#242b28 !important; }
body .aihome:not([class*="aihome--v"]) .aihome__retry { border:1px solid #ccc9bc; background:#faf9f3; }
body .aihome:not([class*="aihome--v"]) .aihome__race-head { background:#faf9f3; }
body .aihome:not([class*="aihome--v"]) .aihome__race-meta { color:#62665e; }
body .aihome:not([class*="aihome--v"]) .aihome__prediction-table th { color:#62665e; }
body .aihome:not([class*="aihome--v"]) .aihome__prediction-table tbody td { background:#faf9f3; }
body .aihome:not([class*="aihome--v"]) .aihome__prediction-table .aihome__rank { color:#a73712; }
body .aihome:not([class*="aihome--v"]) .aihome__number { background:#e8e3d6; }
body .aihome:not([class*="aihome--v"]) .aihome__race-link { background:#eaeedc; border-top:1px solid #ccc9bc; }
body .aihome:not([class*="aihome--v"]) .aihome__race-link:hover { background:#eaeedc; }
body .aihome:not([class*="aihome--v"]) .aihome__schedule-list a:hover { background:#eaeedc; }
body .aihome:not([class*="aihome--v"]) .aihome__explore-link:hover { background:#faf9f3; }
body .aihome:not([class*="aihome--v"]) .aihome__result-date { color:#a73712; }
body .aihome:not([class*="aihome--v"]) .aihome__more > a, body .aihome:not([class*="aihome--v"]) .aihome__more > button { background:#faf9f3; }
body .aihome:not([class*="aihome--v"]) .aihome__more > a:hover, body .aihome:not([class*="aihome--v"]) .aihome__more > button:hover { background:#e8e3d6; }
body .aihome:not([class*="aihome--v"]) .aihome__hero { color:#fff; --mf-icon:none; }
body .aihome:not([class*="aihome--v"]) .aihome__hero .aihome__brand, body .aihome:not([class*="aihome--v"]) .aihome__hero .aihome__lead { color:#d1d5df; }
body .aihome:not([class*="aihome--v"]) .aihome__hero .aihome__button--secondary { color:#fff; border-color:#8892a5; background:rgba(255,255,255,.08); }
body .aihome:not([class*="aihome--v"]) .aihome__button--primary { color:#fff; --mf-icon:none; }

/* index2: palette overrides scoped to this homepage variant. */
body .aihome--v2 { --aihome-line:#ccc9bc; --aihome-muted:#62665e; color:#242b28; background:#f5f2e9; color-scheme:light; }
body .aihome--v2 a:focus-visible, body .aihome--v2 button:focus-visible { outline:2px solid #ccc9bc; }
body .aihome--v2 .aihome__eyebrow { color:#a73712; }
body .aihome--v2 .aihome__primary { background:#c44116; border:1px solid #ccc9bc; }
body .aihome--v2 .aihome__primary:hover { background:#c44116; }
body .aihome--v2 .aihome__result-panel { border-left:1px solid #ccc9bc; background:#faf9f3; }
body .aihome--v2 .aihome__result-panel p { color:#62665e; }
body .aihome--v2 .aihome__result-date { color:#a73712; }
body .aihome--v2 .aihome__panel-link { border-top:1px solid #ccc9bc; }
body .aihome--v2 .aihome__result-panel:hover .aihome__panel-link { color:#a73712; }
body .aihome--v2 .aihome__context { color:#a73712; }
body .aihome--v2 .aihome__retry { border:1px solid #ccc9bc; color:#242b28; background:#faf9f3; }
body .aihome--v2 .aihome__race-list { border-top:1px solid #ccc9bc; }
body .aihome--v2 .aihome__prediction-table .aihome__rank { color:#62665e; }
body .aihome--v2 .aihome__prediction-table .aihome__top-pick .aihome__rank { color:#a73712; }
body .aihome--v2 .aihome__top-pick strong { color:#242b28; }
body .aihome--v2 .aihome__race-link { color:#a73712; }
body .aihome--v2 .aihome__race-link:hover { color:#242b28; }
body .aihome--v2 .aihome__schedule-list a:hover { background:#e8e3d6; border-color:#ccc9bc; }
body .aihome--v2 .aihome__sub-link { color:#a73712; }
body .aihome--v2 .aihome__analysis-list a:hover h3 { color:#a73712; }
body .aihome--v2 .aihome__utility { background:#faf9f3; }
body .aihome--v2 .aihome__utility a:hover { background:#faf9f3; }
body .aihome--v2 .aihome__disclaimer { color:#62665e; }
body .aihome--v2 .aihome__primary { background:#c44116; color:#fff; border-color:#c44116; --mf-icon:none; }
body .aihome--v2 .aihome__primary:hover { background:#a73712; }

/* index3: palette overrides scoped to this homepage variant. */
body .aihome--v3 { --aihome-line:#ccc9bc; --aihome-muted:#62665e; --aihome-gold:#c44116; color:#242b28; background:#f5f2e9; color-scheme:light; }
body .aihome--v3 a:focus-visible, body .aihome--v3 button:focus-visible { outline:2px solid #ccc9bc; }
body .aihome--v3 .aihome__lead { color:#62665e; }
body .aihome--v3 .aihome__primary { background:#c44116; color:#242b28; border:1px solid #ccc9bc; }
body .aihome--v3 .aihome__primary:hover { background:#c44116; }
body .aihome--v3 .aihome__intro-guide { color:#62665e; }
body .aihome--v3 .aihome__spotlight { border:1px solid #ccc9bc; background:#faf9f3; }
body .aihome--v3 .aihome__spotlight-head h2 { color:#a73712; }
body .aihome--v3 #aihome-feature-meta { color:#62665e; }
body .aihome--v3 .aihome__small-label { color:#a73712; }
body .aihome--v3 .aihome__metrics { border-top:1px solid #ccc9bc; border-bottom:1px solid #ccc9bc; }
body .aihome--v3 .aihome__metrics > div { border-left:1px solid #ccc9bc; }
body .aihome--v3 .aihome__metrics dt { color:#62665e; }
body .aihome--v3 .aihome__feature-note { color:#62665e; }
body .aihome--v3 .aihome__feature-link { border-top:1px solid #ccc9bc; }
body .aihome--v3 .aihome__feature-link:hover { color:#a73712; }
body .aihome--v3 #aihome-retry { border:1px solid #ccc9bc; background:#faf9f3; }
body .aihome--v3 .aihome__race-card { background:#f5f2e9; }
body .aihome--v3 .aihome__race-card--selected { border-color:#ccc9bc; background:#faf9f3; }
body .aihome--v3 .aihome__race-head > span { color:#62665e; }
body .aihome--v3 .aihome__rank { color:#62665e; }
body .aihome--v3 .aihome__race-actions button { color:#a73712; }
body .aihome--v3 .aihome__race-actions button[aria-pressed='true'] { color:#a73712; }
body .aihome--v3 .aihome__race-actions button:disabled { color:#62665e; }
body .aihome--v3 #aihome-schedule a:hover { border-color:#ccc9bc; }
body .aihome--v3 .aihome__review { border-top:1px solid #ccc9bc; }
body .aihome--v3 .aihome__comparison-row > span { color:#62665e; }
body .aihome--v3 .aihome__result-numbers small { color:#62665e; }
body .aihome--v3 .aihome__match-note { color:#a73712; }
body .aihome--v3 .aihome__next-grid a:hover h3 { color:#a73712; }
body .aihome--v3 .aihome__disclaimer { color:#62665e; }
body .aihome--v3 .aihome__primary { background:#c44116; color:#fff; border-color:#c44116; --mf-icon:none; }
body .aihome--v3 .aihome__primary:hover { background:#a73712; }

/* index4: palette overrides scoped to this homepage variant. */
body .aihome--v4 { --aihome-line:#ccc9bc; --aihome-muted:#62665e; --aihome-accent:#c44116; color:#a73712; background:#f5f2e9; color-scheme:light; }
body .aihome--v4 a:focus-visible, body .aihome--v4 button:focus-visible { outline:2px solid #ccc9bc; }
body .aihome--v4 .aihome__hero { background:radial-gradient(ellipse at 85% 35%, #e8e3d6, transparent 68%); }
body .aihome--v4 .aihome__lead { color:#a73712; }
body .aihome--v4 .aihome__period { color:#a73712; border:1px solid #ccc9bc; background:#e8e3d6; }
body .aihome--v4 #aihome-context { color:#a73712; }
body .aihome--v4 .aihome__primary { background:#c44116; border:1px solid #ccc9bc; color:#242b28; }
body .aihome--v4 .aihome__primary:hover { background:#c44116; }
body .aihome--v4 .aihome__guide-link { color:#a73712; }
body .aihome--v4 .aihome__guide-link:hover { color:#a73712; }
body .aihome--v4 .aihome__benefits { border-left:1px solid #ccc9bc; }
body .aihome--v4 .aihome__step { color:#a73712; }
body .aihome--v4 .aihome__caption { color:#a73712; }
body .aihome--v4 #aihome-retry { border:1px solid #ccc9bc; background:#e8e3d6; }
body .aihome--v4 .aihome__race { border:1px solid #ccc9bc; background:#faf9f3; }
body .aihome--v4 .aihome__race:hover { background:#faf9f3; border-color:#ccc9bc; }
body .aihome--v4 .aihome__picks li:first-child .aihome__rank { color:#a73712; }
body .aihome--v4 .aihome__race-action { color:#a73712; }
body .aihome--v4 .aihome__legend strong { color:#a73712; }
body .aihome--v4 #aihome-schedule a { border:1px solid #ccc9bc; }
body .aihome--v4 #aihome-schedule a:hover { background:#e8e3d6; border-color:#ccc9bc; }
body .aihome--v4 .aihome__review { border-top:1px solid #ccc9bc; }
body .aihome--v4 .aihome__secondary { border:1px solid #ccc9bc; color:#a73712; }
body .aihome--v4 .aihome__secondary:hover { background:#faf9f3; border-color:#ccc9bc; }
body .aihome--v4 .aihome__comparison-row > span { color:#a73712; }
body .aihome--v4 .aihome__more-links a:hover h3 { color:#a73712; }
body .aihome--v4 .aihome__disclaimer { color:#62665e; }
body .aihome--v4 .aihome__primary { background:#c44116; color:#fff; border-color:#c44116; --mf-icon:none; }
body .aihome--v4 .aihome__primary:hover { background:#a73712; }

/* index6: palette overrides scoped to this homepage variant. */
body .aihome--v6 { --aihome-line:#ccc9bc; --aihome-muted:#62665e; --aihome-accent:#c44116; background:#f5f2e9; color:#a73712; color-scheme:light; }
body .aihome--v6 .aihome__primary { background:#c44116; color:#242b28; }
body .aihome--v6 .aihome__primary:hover { background:#c44116; }
body .aihome--v6 .aihome__modes { background:#faf9f3; border:1px solid #ccc9bc; }
body .aihome--v6 .aihome__modes button[aria-pressed="true"] { background:#e8e3d6; color:#242b28; }
body .aihome--v6 #aihome6-date { background:#f5f2e9; color:#a73712; }
body .aihome--v6 .aihome__focus-panel { background:#faf9f3; }
body .aihome--v6 #aihome6-focus-note { color:#a73712; }
body .aihome--v6 #aihome6-focus { border:1px solid #ccc9bc; color:#a73712; }
body .aihome--v6 .aihome__track { scrollbar-color:#ccc9bc #ccc9bc; }
body .aihome--v6 .aihome__track::-webkit-scrollbar-thumb { background:#e8e3d6; }
body .aihome--v6 .aihome__race { background:#faf9f3; border:1px solid #ccc9bc; }
body .aihome--v6 .aihome__race.is-selected { border-color:#ccc9bc; background:#e8e3d6; box-shadow:inset 0 3px 0 #ccc9bc; }
body .aihome--v6 .aihome__badge { background:#e8e3d6; color:#a73712; }
body .aihome--v6 [data-status="running"] .aihome__badge { background:#e8e3d6; color:#a73712; }
body .aihome--v6 [data-status="complete"] .aihome__badge { background:#e8e3d6; color:#a73712; }
body .aihome--v6 .aihome__bet-badge { border:1px solid #ccc9bc; background:#faf9f3; color:#62665e; }
body .aihome--v6 .aihome__bet-badge.is-hit { color:#a73712; background:#e8e3d6; border-color:#ccc9bc; }
body .aihome--v6 .aihome__hit-summary { color:#a73712; }
body .aihome--v6 .aihome__highlight-hit { color:#a73712; background:#e8e3d6; }
body .aihome--v6 #aihome6-retry { border:1px solid #ccc9bc; }
body .aihome--v6 .aihome__rail button[aria-current="true"] { background:#c44116; color:#242b28; border-color:#ccc9bc; }
body .aihome--v6 .aihome__primary { background:#c44116; color:#fff; border-color:#c44116; --mf-icon:none; }
body .aihome--v6 .aihome__primary:hover { background:#a73712; }
body .aihome--v6 .aihome__modes button[aria-pressed="true"], body .aihome--v6 .aihome__rail button[aria-current="true"] { background:#252e29; color:#fff; border-color:#252e29; }
body .aihome--v6 .aihome__race.is-selected { background:#eaeedc; border-color:#c44116; box-shadow:inset 0 3px 0 #c44116; }
body .aihome--v6 .aihome__focus-panel { background:#252e29; color:#fff; }
body .aihome--v6 #aihome6-focus, body .aihome--v6 #aihome6-focus-note { color:#e2e7db; }
body .aihome--v6 .aihome__bet-badge.is-hit { color:#71451a; background:#f2e1bf; border-color:#ceb180; }
body .aihome--v6 .aihome__hit-summary, body .aihome--v6 .aihome__highlight-hit { color:#71451a; }

/* Scale artwork: white outlines become dark; colored fills remain intact. */
body table td[data-type="scale_1"][data-scale_change^="1"],
body table td[data-type="scale_1"][data-scale_change^="2"],
body table td[data-type="scale_1"][data-scale_change^="3"],
body table td[data-type="scale_1"][data-scale_change^="4"],
body table td[data-type="scale_1"][data-scale_change^="5"],
body table td[data-type="scale_b"][data-scale_change^="1"],
body table td[data-type="scale_d"][data-scale_change^="7"],
body table td[data-type="scale_d"][data-scale_change^="8"],
body table td[data-type="scale_d"][data-scale_change^="9"],
body table td[data-type="scale_g"][data-scale_change^="1"],
body table td[data-type="scale_m"][data-scale_change^="1"],
body table td[data-type="scale_m"][data-scale_change^="2"],
body table td[data-type="scale_m"][data-scale_change^="3"],
body table td[data-type="scale_m"][data-scale_change^="4"],
body table td[data-type="scale_m"][data-scale_change^="5"],
body table td[data-type="scale_r"][data-scale_change^="1"],
body table td[data-type="scale_w"][data-scale_change^="1"],
body table td[data-type="scale_w"][data-scale_change^="2"],
body table td[data-type="scale_w"][data-scale_change^="3"],
body table td[data-type="scale_w"][data-scale_change^="4"],
body table td[data-type="scale_w"][data-scale_change^="5"],
body table td[data-type="scale_y"][data-scale_change^="1"] { background-blend-mode:difference; }
body table td[data-type="scale_b"][data-scale_change^="2"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M2%2010.333C2.00009%205.73071%205.73069%202%2010.333%202V10.333H2Z%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%222%22%20x2%3D%2210%22%20y2%3D%229.75%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%2210%22%20x2%3D%222.5%22%20y2%3D%2210%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_b"][data-scale_change^="3"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.333%2018.6328C5.7417%2018.6328%202.01886%2014.9201%202.00098%2010.333L2%2010.2998C2.01798%205.71278%205.74176%202%2010.333%202V18.6328Z%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%209C1.27124%209.32824%201.25%209.66176%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75V17.25C5.99593%2017.25%202.75%2014.0041%202.75%2010C2.75%209.66063%202.77519%209.32696%202.82031%209H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%222%22%20x2%3D%2210%22%20y2%3D%2217.75%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_b"][data-scale_change^="4"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.333%2010H18.333C18.3329%2014.4907%2014.7809%2018.1494%2010.333%2018.3242V18.6328C5.7417%2018.6328%202.01886%2014.9201%202.00098%2010.333L2%2010.2998C2.01798%205.71278%205.74176%202%2010.333%202V10Z%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%209C1.27124%209.32824%201.25%209.66176%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75V17.25C5.99593%2017.25%202.75%2014.0041%202.75%2010C2.75%209.66063%202.77519%209.32696%202.82031%209H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M18.6914%209C18.7288%209.32824%2018.75%209.66176%2018.75%2010C18.75%2014.8325%2014.8325%2018.75%2010%2018.75V17.25C14.0041%2017.25%2017.25%2014.0041%2017.25%2010C17.25%209.66063%2017.2248%209.32696%2017.1797%209H18.6914Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%220.75%22%20y1%3D%22-0.75%22%20x2%3D%228.5%22%20y2%3D%22-0.75%22%20transform%3D%22matrix%284.37114e-08%201%201%20-4.37114e-08%2011.25%201.25%29%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3Cline%20x1%3D%220.75%22%20y1%3D%22-0.75%22%20x2%3D%228.25%22%20y2%3D%22-0.75%22%20transform%3D%22matrix%281%20-4.37114e-08%20-4.37114e-08%20-1%209.75%209.25%29%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_b"][data-scale_change^="5"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_g"][data-scale_change^="2"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M2%2010.333C2.00009%205.73071%205.73069%202%2010.333%202V10.333H2Z%22%20fill%3D%22%2300BBA7%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%222%22%20x2%3D%2210%22%20y2%3D%229.75%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%2210%22%20x2%3D%222.5%22%20y2%3D%2210%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_g"][data-scale_change^="3"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.333%2018.6328C5.7417%2018.6328%202.01886%2014.9201%202.00098%2010.333L2%2010.2998C2.01798%205.71278%205.74176%202%2010.333%202V18.6328Z%22%20fill%3D%22%2300BBA7%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%209C1.27124%209.32824%201.25%209.66176%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75V17.25C5.99593%2017.25%202.75%2014.0041%202.75%2010C2.75%209.66063%202.77519%209.32696%202.82031%209H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%222%22%20x2%3D%2210%22%20y2%3D%2217.75%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_g"][data-scale_change^="4"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.333%2010H18.333C18.3329%2014.4907%2014.7809%2018.1494%2010.333%2018.3242V18.6328C5.7417%2018.6328%202.01886%2014.9201%202.00098%2010.333L2%2010.2998C2.01798%205.71278%205.74176%202%2010.333%202V10Z%22%20fill%3D%22%2300BBA7%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%209C1.27124%209.32824%201.25%209.66176%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75V17.25C5.99593%2017.25%202.75%2014.0041%202.75%2010C2.75%209.66063%202.77519%209.32696%202.82031%209H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M18.6914%209C18.7288%209.32824%2018.75%209.66176%2018.75%2010C18.75%2014.8325%2014.8325%2018.75%2010%2018.75V17.25C14.0041%2017.25%2017.25%2014.0041%2017.25%2010C17.25%209.66063%2017.2248%209.32696%2017.1797%209H18.6914Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%220.75%22%20y1%3D%22-0.75%22%20x2%3D%228.5%22%20y2%3D%22-0.75%22%20transform%3D%22matrix%284.37114e-08%201%201%20-4.37114e-08%2011.25%201.25%29%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3Cline%20x1%3D%220.75%22%20y1%3D%22-0.75%22%20x2%3D%228.25%22%20y2%3D%22-0.75%22%20transform%3D%22matrix%281%20-4.37114e-08%20-4.37114e-08%20-1%209.75%209.25%29%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_g"][data-scale_change^="5"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20fill%3D%22%2300BBA7%22%20fill-opacity%3D%220.4%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_r"][data-scale_change^="2"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%228%22%20height%3D%228%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%2F%3E%20%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2216%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%20%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_r"][data-scale_change^="3"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%228%22%20height%3D%2216%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%2F%3E%20%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2216%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%20%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_r"][data-scale_change^="4"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M2%202%20H10%20V10%20H18%20V18%20H2%20Z%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%20%2F%3E%20%3Cpath%20d%3D%22M2%202%20H10%20V10%20H18%20V18%20H2%20Z%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20fill%3D%22none%22%20%2F%3E%20%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2216%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%20%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_r"][data-scale_change^="5"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%2300A6F4%22%20fill-opacity%3D%220.4%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_y"][data-scale_change^="2"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M2%2010.333C2.00009%205.73071%205.73069%202%2010.333%202V10.333H2Z%22%20fill%3D%22%23FDC700%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%222%22%20x2%3D%2210%22%20y2%3D%229.75%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%2210%22%20x2%3D%222.5%22%20y2%3D%2210%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_y"][data-scale_change^="3"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.333%2018.6328C5.7417%2018.6328%202.01886%2014.9201%202.00098%2010.333L2%2010.2998C2.01798%205.71278%205.74176%202%2010.333%202V18.6328Z%22%20fill%3D%22%23FDC700%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%209C1.27124%209.32824%201.25%209.66176%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75V17.25C5.99593%2017.25%202.75%2014.0041%202.75%2010C2.75%209.66063%202.77519%209.32696%202.82031%209H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%2210%22%20y1%3D%222%22%20x2%3D%2210%22%20y2%3D%2217.75%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_y"][data-scale_change^="4"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.333%2010H18.333C18.3329%2014.4907%2014.7809%2018.1494%2010.333%2018.3242V18.6328C5.7417%2018.6328%202.01886%2014.9201%202.00098%2010.333L2%2010.2998C2.01798%205.71278%205.74176%202%2010.333%202V10Z%22%20fill%3D%22%23FDC700%22%20fill-opacity%3D%220.4%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%2011C1.27124%2010.6718%201.25%2010.3382%201.25%2010C1.25%205.16751%205.16751%201.25%2010%201.25V2.75C5.99593%202.75%202.75%205.99594%202.75%2010C2.75%2010.3394%202.77519%2010.673%202.82031%2011H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M1.30859%209C1.27124%209.32824%201.25%209.66176%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75V17.25C5.99593%2017.25%202.75%2014.0041%202.75%2010C2.75%209.66063%202.77519%209.32696%202.82031%209H1.30859Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Cpath%20d%3D%22M18.6914%209C18.7288%209.32824%2018.75%209.66176%2018.75%2010C18.75%2014.8325%2014.8325%2018.75%2010%2018.75V17.25C14.0041%2017.25%2017.25%2014.0041%2017.25%2010C17.25%209.66063%2017.2248%209.32696%2017.1797%209H18.6914Z%22%20fill%3D%22%23242b28%22%2F%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3Cline%20x1%3D%220.75%22%20y1%3D%22-0.75%22%20x2%3D%228.5%22%20y2%3D%22-0.75%22%20transform%3D%22matrix%284.37114e-08%201%201%20-4.37114e-08%2011.25%201.25%29%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3Cline%20x1%3D%220.75%22%20y1%3D%22-0.75%22%20x2%3D%228.25%22%20y2%3D%22-0.75%22%20transform%3D%22matrix%281%20-4.37114e-08%20-4.37114e-08%20-1%209.75%209.25%29%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }
body table td[data-type="scale_y"][data-scale_change^="5"] { background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20fill%3D%22%23FDC700%22%20fill-opacity%3D%220.4%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E"); }

/* Editable prediction cells: keep the existing dashed edges visible on paper. */
body.edit table td.lb { border-left-color: #69715f; }
body.edit table td.rb { border-right-color: #69715f; }
body.edit table td.tb { border-top-color: #69715f; }
body.edit table td.bb { border-bottom-color: #69715f; }

/* Prediction rank symbols use white SVG artwork in the original dark theme. */
body table img[src*="/images/rank/"] { filter: var(--mf-icon); }

/* Ready-to-play media icons: black on the light theme; active playback stays red. */
body {
    --mf-audio-ready-icon: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M4.16663%208.33325V9.99992C4.16663%2013.2216%206.7783%2015.8333%209.99996%2015.8333C13.2216%2015.8333%2015.8333%2013.2216%2015.8333%209.99992V8.33325%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpath%20d%3D%22M10%2015.8333V18.3333%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpath%20d%3D%22M6.66663%2018.3333H13.3333%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Crect%20x%3D%227.5%22%20y%3D%221.66675%22%20width%3D%225%22%20height%3D%2210.8333%22%20rx%3D%222.5%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E");
    --mf-video-ready-icon: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M10.8427%203.3383C10.7059%203.33697%2010.5822%203.336%2010.4743%203.33528C10.4552%203.33398%2010.436%203.33331%2010.4166%203.33331H9.58325C9.56285%203.33331%209.54261%203.33405%209.52257%203.33549C9.41519%203.33627%209.29222%203.33734%209.15633%203.33878C8.64395%203.34424%207.94621%203.35517%207.20647%203.37707C6.46805%203.39893%205.68111%203.4319%204.99234%203.48195C4.3268%203.53031%203.6824%203.59881%203.27057%203.70853L3.25905%203.71169C2.76178%203.85184%202.31009%204.12033%201.94973%204.4904C1.58936%204.8605%201.33313%205.31908%201.20727%205.81998C1.20273%205.83805%201.1988%205.85627%201.19548%205.87461C0.948185%207.24066%200.827075%208.62643%200.833672%2010.0145C0.825147%2011.4131%200.946267%2012.8094%201.19549%2014.1858C1.2004%2014.2129%201.20667%2014.2398%201.21425%2014.2663C1.35299%2014.7516%201.61494%2015.1928%201.97445%2015.5472C2.33393%2015.9016%202.77881%2016.1574%203.26595%2016.2902L3.27057%2016.2914C3.6824%2016.4011%204.3268%2016.4697%204.99234%2016.518C5.68111%2016.5681%206.46805%2016.601%207.20647%2016.6229C7.94621%2016.6448%208.64395%2016.6557%209.15633%2016.6612C9.29223%2016.6626%209.4152%2016.6637%209.52258%2016.6645C9.54262%2016.6659%209.56285%2016.6666%209.58325%2016.6666H10.4166C10.437%2016.6666%2010.4572%2016.6659%2010.4773%2016.6645C10.5846%2016.6637%2010.7076%2016.6626%2010.8435%2016.6612C11.3559%2016.6557%2012.0536%2016.6448%2012.7934%2016.6229C13.5318%2016.601%2014.3187%2016.5681%2015.0075%2016.518C15.673%2016.4697%2016.3174%2016.4011%2016.7293%2016.2914L16.7408%2016.2883C17.2381%2016.1481%2017.6898%2015.8796%2018.0501%2015.5096C18.4105%2015.1395%2018.6667%2014.6809%2018.7926%2014.18C18.7971%2014.1619%2018.801%2014.1437%2018.8044%2014.1253C19.0498%2012.7694%2019.1709%2011.394%2019.1662%2010.0162C19.1747%208.61746%2019.0536%207.22092%2018.8044%205.84439C18.801%205.82606%2018.7971%205.80785%2018.7926%205.78979C18.6667%205.2889%2018.4105%204.83031%2018.0501%204.46021C17.6898%204.09014%2017.2381%203.82165%2016.7408%203.68151C16.7311%203.67879%2016.7214%203.67624%2016.7117%203.67387C16.3065%203.5753%2015.6681%203.51302%2015.0023%203.46885C14.315%203.42326%2013.5292%203.39318%2012.7912%203.37324C12.0521%203.35326%2011.3548%203.34329%2010.8427%203.3383ZM8.20804%207.18005C8.12492%207.29107%208.12492%207.48994%208.12492%207.88768V12.1121C8.12492%2012.5099%208.12492%2012.7087%208.20804%2012.8198C8.28047%2012.9165%208.39135%2012.977%208.5119%2012.9856C8.65024%2012.9955%208.81752%2012.888%209.15209%2012.6729L12.4378%2010.5607C12.7281%2010.3741%2012.8733%2010.2807%2012.9234%2010.1621C12.9672%2010.0584%2012.9672%209.9414%2012.9234%209.83773C12.8733%209.71907%2012.7281%209.62575%2012.4378%209.43912L9.15209%207.32689C8.81752%207.11181%208.65024%207.00427%208.5119%207.01415C8.39135%207.02276%208.28047%207.0833%208.20804%207.18005Z%22%20fill%3D%22%23000000%22%2F%3E%20%3C%2Fsvg%3E");
}
body:not([data-lang="jp"]) td.media.audio.ready:not(.start),
body button.media.audio.ready:not(.start):not(.ing),
body li[data-content_type="professional"].ready:not(.start),
body li[data-content_type="comic"].ready:not(.start) {
    background-image: var(--mf-audio-ready-icon);
}
body td.media.video.ready:not(.start),
body button.media.video.ready:not(.start) {
    background-image: var(--mf-video-ready-icon);
}
body img[src*="/media/ic-microphone-stop.svg"],
body img[src*="/media/ic-youtube-stop.svg"] { filter: brightness(0); }
body .jstree-default-dark .jstree-audio { background-image: var(--mf-audio-ready-icon) !important; }
body .jstree-default-dark .jstree-clicked .jstree-audio {
    background-image: url('/static/images/media/ic-microphone-start.svg') !important;
}

/* Chemi slider marker and the pending result symbol on the light theme. */
body {
    --mf-chemi-slider-icon: url("data:image/svg+xml,%3Csvg%20width%3D%2219%22%20height%3D%2298%22%20viewBox%3D%220%200%2019%2098%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cg%20filter%3D%22url%28%23filter0_d_3411_1969%29%22%3E%20%3Crect%20x%3D%228.99707%22%20y%3D%222%22%20width%3D%221%22%20height%3D%2280%22%20rx%3D%220.5%22%20fill%3D%22%23000000%22%20shape-rendering%3D%22crispEdges%22%2F%3E%20%3Cpath%20d%3D%22M9.06445%2082.75C9.25694%2082.4169%209.73721%2082.4169%209.92969%2082.75L16.4248%2094C16.6173%2094.3333%2016.3771%2094.75%2015.9922%2094.75H3.00195C2.61705%2094.75%202.37689%2094.3333%202.56934%2094L9.06445%2082.75Z%22%20fill%3D%22%231D293D%22%20stroke%3D%22%23000000%22%2F%3E%20%3C%2Fg%3E%20%3Cdefs%3E%20%3Cfilter%20id%3D%22filter0_d_3411_1969%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2218.9941%22%20height%3D%2297.25%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%20%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%20%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%20%3CfeOffset%2F%3E%20%3CfeGaussianBlur%20stdDeviation%3D%221%22%2F%3E%20%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%20%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.25%200%22%2F%3E%20%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_3411_1969%22%2F%3E%20%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect1_dropShadow_3411_1969%22%20result%3D%22shape%22%2F%3E%20%3C%2Ffilter%3E%20%3C%2Fdefs%3E%20%3C%2Fsvg%3E");
    --mf-chemi-pending-icon: url("data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2215%22%20viewBox%3D%220%200%2010%2015%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M2.94922%209.88281C2.96875%207.46094%203.61328%206.69922%204.78516%205.97656C5.625%205.42969%206.26953%204.82422%206.26953%203.92578C6.26953%202.94922%205.50781%202.30469%204.57031%202.30469C3.65234%202.30469%202.8125%202.91016%202.77344%204.0625H0C0.0585938%201.30859%202.08984%200%204.58984%200C7.30469%200%209.23828%201.42578%209.23828%203.82812C9.23828%205.42969%208.41797%206.46484%207.12891%207.22656C6.03516%207.89062%205.54688%208.51562%205.52734%209.88281V10.0977H2.94922V9.88281ZM4.29688%2014.5117C3.37891%2014.5117%202.63672%2013.7695%202.65625%2012.8711C2.63672%2011.9727%203.37891%2011.25%204.29688%2011.25C5.15625%2011.25%205.91797%2011.9727%205.91797%2012.8711C5.91797%2013.7695%205.15625%2014.5117%204.29688%2014.5117Z%22%20fill%3D%22%23000000%22%20fill-opacity%3D%221%22%2F%3E%20%3C%2Fsvg%3E");
}
body #slider_range.custom-range::-webkit-slider-thumb {
    background-image: var(--mf-chemi-slider-icon);
}
body #slider_range.custom-range::-moz-range-thumb {
    height: 96px;
    width: 20px;
    border: 0;
    border-radius: 8px;
    background: transparent var(--mf-chemi-slider-icon) center no-repeat;
}
body [class~="bg-[#161C2E]"]:has(#slider_range) { background-color: #e8e3d6; }
body [class~="bg-[#161C2E]"]:has(#slider_range) [class~="bg-white"] { background-color: #000 !important; }
body table img[src*="/ico/score/ic-q.svg"] {
    content: var(--mf-chemi-pending-icon);
    filter: none;
}

/* Keep the two slider labels readable over every part of the gradient. */
body #slider_range + div > p {
    color: #000;
    background-color: #faf9f3;
    border: 1px solid #b9b9ac;
    border-radius: 4px;
    padding: 2px 6px;
    height: fit-content;
    line-height: 1.5;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
}

/* Keep the lowest fortune grade outline opaque after a scale change. */
body table td[data-type="scale_y"][data-scale_change^="1"] {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%2F%3E%20%3C%2Fsvg%3E");
    background-blend-mode: normal;
}

/* Bottom detail table: opaque dark M3 symbols on both unchanged and edited cells. */
body #edit_area td[data-type="scale_m"] { background-blend-mode: normal; }
body #edit_area td[data-type="scale_m"][data-scale_change^="1"] {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%222%22%20viewBox%3D%220%200%2014%202%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Crect%20width%3D%2214%22%20height%3D%222%22%20rx%3D%221%22%20fill%3D%22%23242b28%22%2F%3E%20%3C%2Fsvg%3E");
}
body #edit_area td[data-type="scale_m"][data-scale_change^="2"] {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.0076%202.83087C10.022%202.84678%2010.0485%202.87539%2010.0847%202.92657C10.1857%203.06914%2010.3078%203.27902%2010.5046%203.61896L17.3591%2015.4578C17.5566%2015.7988%2017.6781%2016.0106%2017.7517%2016.1697C17.7774%2016.2253%2017.7889%2016.2622%2017.7957%2016.283C17.7935%2016.2879%2017.7909%2016.2923%2017.7878%2016.2967C17.7666%2016.3012%2017.7288%2016.3105%2017.6667%2016.3162C17.4921%2016.3322%2017.2482%2016.3338%2016.8542%2016.3338H3.14624C2.75236%2016.3338%202.50839%2016.3322%202.33374%2016.3162C2.27122%2016.3105%202.23287%2016.3013%202.21167%2016.2967C2.2086%2016.2923%202.20603%2016.2879%202.20386%2016.283C2.21065%2016.2622%202.22296%2016.2256%202.24878%2016.1697C2.32243%2016.0105%202.44386%2015.799%202.64136%2015.4578L9.49487%203.61896C9.69168%203.27901%209.81381%203.06914%209.91479%202.92657C9.95065%202.87596%209.97643%202.84694%209.99097%202.83087C9.99652%202.83027%2010.002%202.83035%2010.0076%202.83087Z%22%20fill%3D%22%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E");
}
body #edit_area td[data-type="scale_m"][data-scale_change^="3"] {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M10.0076%202.83087C10.022%202.84678%2010.0485%202.87539%2010.0847%202.92657C10.1857%203.06914%2010.3078%203.27902%2010.5046%203.61896L17.3591%2015.4578C17.5566%2015.7988%2017.6781%2016.0106%2017.7517%2016.1697C17.7774%2016.2253%2017.7889%2016.2622%2017.7957%2016.283C17.7935%2016.2879%2017.7909%2016.2923%2017.7878%2016.2967C17.7666%2016.3012%2017.7288%2016.3105%2017.6667%2016.3162C17.4921%2016.3322%2017.2482%2016.3338%2016.8542%2016.3338H3.14624C2.75236%2016.3338%202.50839%2016.3322%202.33374%2016.3162C2.27122%2016.3105%202.23287%2016.3013%202.21167%2016.2967C2.2086%2016.2923%202.20603%2016.2879%202.20386%2016.283C2.21065%2016.2622%202.22296%2016.2256%202.24878%2016.1697C2.32243%2016.0105%202.44386%2015.799%202.64136%2015.4578L9.49487%203.61896C9.69168%203.27901%209.81381%203.06914%209.91479%202.92657C9.95065%202.87596%209.97643%202.84694%209.99097%202.83087C9.99652%202.83027%2010.002%202.83035%2010.0076%202.83087Z%22%20fill%3D%22%23242b28%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E");
}
body #edit_area td[data-type="scale_m"][data-scale_change^="4"] {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cpath%20d%3D%22M9.99976%202.41669C14.1878%202.41669%2017.5836%205.81168%2017.5837%209.99969C17.5837%2014.1879%2014.1879%2017.5837%209.99976%2017.5837C5.81175%2017.5835%202.41675%2014.1877%202.41675%209.99969C2.41692%205.81179%205.81185%202.41686%209.99976%202.41669Z%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E");
}
body #edit_area td[data-type="scale_m"][data-scale_change^="5"] {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cg%20clip-path%3D%22url%28%23clip0_313_740%29%22%3E%20%3Cpath%20d%3D%22M9.99976%202.28998C14.2578%202.28998%2017.7097%205.74191%2017.7097%209.99994C17.7097%2014.258%2014.2578%2017.7099%209.99976%2017.7099C5.74173%2017.7099%202.28979%2014.258%202.28979%209.99994C2.28982%205.74192%205.74174%202.29%209.99976%202.28998Z%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.25025%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpath%20d%3D%22M9.99976%205.62396C12.4165%205.62396%2014.3757%207.58322%2014.3757%209.99994C14.3757%2012.4167%2012.4165%2014.3759%209.99976%2014.3759C7.58304%2014.3759%205.62378%2012.4167%205.62378%209.99994C5.62379%207.58323%207.58305%205.62398%209.99976%205.62396Z%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.25025%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fg%3E%20%3Cdefs%3E%20%3CclipPath%20id%3D%22clip0_313_740%22%3E%20%3Crect%20width%3D%2216.67%22%20height%3D%2216.67%22%20fill%3D%22%23242b28%22%20transform%3D%22translate%281.66479%201.66498%29%22%2F%3E%20%3C%2FclipPath%3E%20%3C%2Fdefs%3E%20%3C%2Fsvg%3E");
}

/* My predictions: keep the scale outlines dark when edited cell colors change. */
body .editTableWrapper #queryResult td[data-type="scale_r"] { background-blend-mode: normal; }
body .editTableWrapper #queryResult td[data-type="scale_r"][data-scale_change^="1"] {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2216%22%20stroke%3D%22%23242b28%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-dasharray%3D%223%203%22%20%2F%3E%20%3C%2Fsvg%3E");
}

/* Darkhorse checkbox ticks were white in the original theme. */
body input:checked + svg.darkhorse_checkbox path {
    stroke: #000;
    opacity: 1;
}
body input:not(:checked) + svg.darkhorse_checkbox path { opacity: 0; }

/* The venue dropdown belongs to the dark header, including its expanded list. */
body header #sel_meet,
body header #sel_meet .selected-value,
body header #sel_meet .options,
body header #sel_meet .options li { color: #fff; }

/* Tarot/prediction actions: readable labels in both class-based and native states. */
body :is(#btn_tarot, .btn_tarot, #btn_prediction, .btn_prediction) {
    --mf-text: #242b28;
    --mf-muted: #242b28;
    --mf-icon: brightness(0) saturate(100%) opacity(.85);
    background-image: none;
    background-color: #faf9f3 !important;
    border-color: #9c9f91 !important;
    color: #242b28 !important;
    opacity: 1;
    cursor: pointer !important;
}
body :is(#btn_prediction, .btn_prediction) {
    --mf-text: #733b23;
    --mf-muted: #733b23;
    background-color: #f2dccb !important;
    border-color: #bd7854 !important;
    color: #733b23 !important;
}
body :is(#btn_tarot, .btn_tarot):where(.ready, :not(.btn_ready)):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #eaeedc !important;
    border-color: #747e64 !important;
}
body :is(#btn_prediction, .btn_prediction):where(.ready, :not(.btn_ready)):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #eac3aa !important;
    border-color: #9f5030 !important;
}
body :is(#btn_tarot, .btn_tarot, #btn_prediction, .btn_prediction):is(.btn_ready:not(.ready), :disabled, [aria-disabled="true"]) {
    --mf-text: #62665e;
    --mf-muted: #62665e;
    --mf-icon: brightness(0) saturate(100%) opacity(.72);
    background-color: #e8e5dc !important;
    border-color: #c2c2b7 !important;
    color: #62665e !important;
    opacity: 1;
    cursor: not-allowed !important;
}

/* Weight-analysis row actions use the same restrained palette as the page actions. */
body table .result_btn {
    --mf-text: #242b28;
    --mf-muted: #242b28;
    --mf-icon: brightness(0) saturate(100%) opacity(.85);
    background-image: none;
    background-color: #faf9f3 !important;
    border-color: #b9b9ac !important;
    color: #242b28 !important;
    color-scheme: light;
    opacity: 1;
    cursor: pointer !important;
}
body table .result_btn.btn_pd {
    background-color: #f2dccb !important;
    border-color: #bd957a !important;
    color: #733b23 !important;
}
body table .result_btn.btn_detail {
    background-color: #eaeedc !important;
    border-color: #a2af92 !important;
    color: #34452d !important;
}
body table .result_btn:where(.ready, :not(.btn_ready)):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #eeece1 !important;
    border-color: #8e9584 !important;
}
body table .result_btn.btn_pd:where(.ready, :not(.btn_ready)):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #eac3aa !important;
}
body table .result_btn.btn_detail:where(.ready, :not(.btn_ready)):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #dfe7ce !important;
}
body table .result_btn:is(.btn_ready:not(.ready), :disabled, [aria-disabled="true"]) {
    background-color: #e8e5dc !important;
    border-color: #c2c2b7 !important;
    color: #62665e !important;
    opacity: 1;
    cursor: not-allowed !important;
}

/* Fortune result actions share the soft prediction-button palette. */
body.forturn :is(#btn_ok, #btn_question_again, #btn_print, #btn_mail) {
    --mf-text: #733b23;
    --mf-muted: #733b23;
    --mf-icon: brightness(0) saturate(100%) opacity(.85);
    background-image: none;
    background-color: #f2dccb !important;
    border-color: #bd7854 !important;
    color: #733b23 !important;
    opacity: 1;
}
body.forturn :is(#btn_ok, #btn_question_again, #btn_print, #btn_mail):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #eac3aa !important;
    border-color: #9f5030 !important;
}
body.forturn :is(#btn_ok, #btn_question_again, #btn_print, #btn_mail):is(:disabled, [aria-disabled="true"]) {
    --mf-text: #62665e;
    --mf-muted: #62665e;
    --mf-icon: brightness(0) saturate(100%) opacity(.72);
    background-color: #e8e5dc !important;
    border-color: #c2c2b7 !important;
    color: #62665e !important;
    cursor: not-allowed;
}

/* Prediction-result header legend uses white score SVGs in the original theme. */
body table thead img:is([src*="/ico/score/ic-5.svg"], [src*="/ico/score/ic-4.svg"], [src*="/ico/score/ic-3.svg"]) {
    filter: var(--mf-icon);
}

/* Keep white horse-number marks distinct from paper without changing their fills. */
body img[src*="/images/horse/kr/1.svg"],
body img[src*="/images/horse/kr/1-rec.svg"],
body[data-lang="jp"] svg.horse.waku1 {
    outline: 1px solid rgba(0, 0, 0, .3);
    outline-offset: -1px;
    border-radius: 50%;
}
body img[src*="/images/horse/kr/1-rec.svg"],
body[data-lang="jp"] svg.horse.waku1.rec { border-radius: 20%; }

/* Ready deployment step: dark artwork on the light table surface. */
body .step_body td[data-result="READY"] {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22currentColor%22%20class%3D%22bi%20bi-arrow-right-circle%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%3Cpath%20fill%3D%22%23242b28%22%20fill-rule%3D%22evenodd%22%20d%3D%22M1%208a7%207%200%201%200%2014%200A7%207%200%200%200%201%208m15%200A8%208%200%201%201%200%208a8%208%200%200%201%2016%200M4.5%207.5a.5.5%200%200%200%200%201h5.793l-2.147%202.146a.5.5%200%200%200%20.708.708l3-3a.5.5%200%200%200%200-.708l-3-3a.5.5%200%201%200-.708.708L10.293%207.5z%22%2F%3E%0A%3C%2Fsvg%3E");
}

