/* Keep theme heading/table decoration inside the plugin boundary. */
.nf12-standings[data-nf12-standings] .nf12-chart-heading .nf12-title{all:unset!important;display:block!important;font:700 24px/1.4 system-ui,-apple-system,"Noto Sans JP",sans-serif!important;color:#192b27!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important;text-indent:0!important;letter-spacing:normal!important;position:static!important}
.nf12-standings[data-nf12-standings] .nf12-title::before,.nf12-standings[data-nf12-standings] .nf12-title::after{content:none!important;display:none!important}
.nf12-standings[data-nf12-standings] :where(.nf12-table-scroll table,.nf12-table-scroll thead,.nf12-table-scroll tbody,.nf12-table-scroll tr,.nf12-table-scroll th,.nf12-table-scroll td){margin:0;padding:0;border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none;text-shadow:none;color:inherit;position:static;float:none;text-indent:0;text-transform:none;letter-spacing:normal;font:inherit;vertical-align:middle;line-height:1.6}
.nf12-standings[data-nf12-standings] .nf12-table-scroll :where(th,td){border-radius:0!important}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody :where(th,td){background:transparent!important;background-image:none!important;box-shadow:none!important}
.nf12-standings[data-nf12-standings] .nf12-table-scroll thead th{background:#050505!important;color:#fff!important}
.nf12-standings[data-nf12-standings] .nf12-table-scroll :where(th::before,th::after,td::before,td::after,table::before,table::after){content:none}
.nf12-standings{--nf12-accent:#086c5a;container-type:inline-size;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;color:#192b27;background:#fff;border:1px solid #e1e6e2;border-radius:14px;padding:24px;margin:24px 0;min-width:0;max-width:100%;box-sizing:border-box}
.nf12-standings *{box-sizing:border-box;min-width:0}
.nf12-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.nf12-chart-heading h2{font-size:24px;margin:0}.nf12-season{font-size:12px;letter-spacing:.04em;color:#657970}
.nf12-caption,.nf12-footnote{font-size:13px;line-height:1.8;color:#5f706a;overflow-wrap:anywhere}.nf12-footnote{margin:20px 0 0}
.nf12-standings[data-nf12-standings] .nf12-table-scroll,.nf12-chart-scroll{width:100%;max-width:100%;margin-top:18px}
.nf12-standings[data-nf12-standings] .nf12-table-scroll table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;font-size:13px}
.nf12-standings[data-nf12-standings] .nf12-table-scroll th,.nf12-standings[data-nf12-standings] .nf12-table-scroll td{padding:15px 6px;text-align:center;border-right:1px solid #fff;border-bottom:1px solid #e6e6e6;overflow-wrap:anywhere}
.nf12-standings[data-nf12-standings] .nf12-table-scroll thead th{background:#050505;color:white;font-weight:600;line-height:1.7}
.nf12-standings[data-nf12-standings] .nf12-table-scroll thead th:first-child{border-radius:10px 0 0 0!important;width:9%}.nf12-standings[data-nf12-standings] .nf12-table-scroll thead th:nth-child(2){width:26%}.nf12-standings[data-nf12-standings] .nf12-table-scroll thead th:last-child{border-radius:0 10px 0 0!important;width:15%}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody tr:nth-child(odd){background:#f0f0f0}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody th{text-align:left;font-weight:400;border-inline-start:4px solid var(--team-color);padding-inline-start:10px}
.nf12-standings[data-nf12-standings] .nf12-table-scroll a{color:#0767b0;text-underline-offset:3px}.nf12-points{font-weight:750}
.nf12-form{display:flex;gap:0;justify-content:center;align-items:center;padding:5px 3px}
.nf12-result{flex:none;width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-weight:800;font-size:13px;color:#fff;line-height:1}
.nf12-result.W{background:#369b16}.nf12-result.D{background:#687480}.nf12-result.L{background:#e52626}.nf12-result.none{background:#e4e8e5;color:#62716b}
.nf12-result.nf12-latest{width:22px;height:22px;font-size:16px;box-shadow:0 0 0 2px #fff,0 0 0 3px #111;margin-inline-start:3px}
.nf12-chart-scroll svg{width:100%;max-width:100%;height:auto;display:block}
.nf12-axis{font:12px system-ui,sans-serif;fill:#51655c}.nf12-endpoint{font:12px system-ui,sans-serif;font-weight:600}.nf12-value{font:bold 17px system-ui,sans-serif;fill:#192b27}
.nf12-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.nf12-legend button{background:white;color:#263e33;border:1px solid #d6e0d9;border-left:4px solid var(--team-color);border-radius:5px;padding:7px 10px;cursor:pointer;font:inherit;font-size:12px;max-width:100%;overflow-wrap:anywhere}
.nf12-legend button[aria-pressed=true]{background:#e9f2ed;border-color:var(--team-color)}
.nf12-standings details{margin-top:16px}.nf12-standings summary{cursor:pointer;font-size:13px;color:#426355;overflow-wrap:anywhere}
.nf12-warnings{background:#fff9e9;border:1px solid #ecdfba;border-radius:6px;padding:10px 14px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.nf12-warnings ul{padding-inline-start:18px}
.nf12-error{padding:18px;background:#fff0ed;color:#9d3122;border-radius:8px;overflow-wrap:anywhere}.nf12-empty{padding:32px;text-align:center;color:#657970}
.nf12-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.nf12-bar{transform-origin:center 320px;transform:scaleY(0)}.nf12-bar-horizontal{transform-box:fill-box;transform-origin:left center;transform:scaleX(0)}
.nf12-animate .nf12-bar{animation:nf12-grow .7s ease both}.nf12-animate .nf12-bar-horizontal{animation:nf12-grow-horizontal .7s ease both}
@keyframes nf12-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes nf12-grow-horizontal{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@container (max-width:820px){
.nf12-standings[data-nf12-standings] .nf12-table-scroll table,.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody{display:block;width:100%}
.nf12-standings[data-nf12-standings] .nf12-table-scroll thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dce4dd;border-top:4px solid var(--team-color);border-radius:10px;background:#fff;overflow:visible}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody tr:nth-child(odd){background:#f4f6f3}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody th,.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody td{border:0;padding:10px 4px;white-space:normal;text-align:center}
.nf12-standings[data-nf12-standings] .nf12-table-scroll td::before{content:attr(data-label);display:block;font-size:10px;font-weight:400;color:#657970;margin-bottom:5px}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-rank{grid-column:span 1;font-size:15px;font-weight:700;align-self:center}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-team-name{grid-column:span 3;text-align:left;padding:12px 8px;font-weight:600;border:0;font-size:13px;align-self:center}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-form-cell{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px;border-top:1px solid #dce4dd}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-form-cell::before{margin:0}.nf12-form{gap:0}
}
.nf12-preview{background:#f4f6f3;margin:0;color:#192b27;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif}.nf12-preview *{box-sizing:border-box}
.nf12-preview main{width:100%;max-width:1400px;margin:0 auto;padding:40px 28px}.nf12-preview header{margin-bottom:28px}.nf12-preview h1{font-size:36px;letter-spacing:.02em;margin:8px 0}.nf12-eyebrow{font-size:11px;letter-spacing:.2em;color:#086c5a;font-weight:700}.nf12-preview header>p:last-child{font-size:14px;color:#657970}
.nf12-preview form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));align-items:end;gap:14px;padding:20px;background:#e8eeea;border-radius:12px}
.nf12-preview label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;min-width:0}
.nf12-preview form input,.nf12-preview form select,.nf12-preview form button{width:100%;min-width:0;font:inherit;border:1px solid #bfcfc5;border-radius:6px;padding:9px 8px;background:#fff;color:#192b27;min-height:40px}
.nf12-preview button{cursor:pointer;font-size:13px}.nf12-preview button[type=submit],.nf12-preview form>button:not([type]){background:#086c5a;color:white;border-color:#086c5a}
.nf12-help{font-size:12px;color:#60766a;line-height:1.8;overflow-wrap:anywhere}.nf12-preview #nf12-copy-status{font-size:12px;grid-column:1/-1}.nf12-preview #nf12-copy-status:empty{display:none}
.nf12-standings :focus-visible,.nf12-preview :focus-visible{outline:3px solid #308ab3;outline-offset:3px}
@media(max-width:640px){.nf12-preview main{padding:22px 12px}.nf12-preview h1{font-size:28px}.nf12-standings{padding:16px 12px}.nf12-chart-heading{align-items:start;flex-direction:column;gap:6px}.nf12-preview form{padding:14px;gap:12px}}
@media(prefers-reduced-motion:reduce){.nf12-bar,.nf12-bar-horizontal,.nf12-animate .nf12-bar,.nf12-animate .nf12-bar-horizontal{animation:none;transform:none}}

.nf12-result-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 10px;font-size:12px;line-height:1.5;margin:12px 0 8px}.nf12-legend-item{display:inline-flex;align-items:center;gap:2px}.nf12-standings[data-nf12-standings] .nf12-result-legend+.nf12-table-scroll{margin-top:8px}.nf12-round-rank{font-family:system-ui,sans-serif;font-weight:750;pointer-events:none}

@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url("vendor/fontawesome/fa-solid-900.woff2") format("woff2")}
.nf12-standings .fas{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-variant:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;display:inline-block;line-height:1}
.nf12-standings .fa-lg{font-size:1.333333em;vertical-align:-.0667em}
.nf12-standings .fa-check-circle::before{content:"\f058"}.nf12-standings .fa-minus-circle::before{content:"\f056"}.nf12-standings .fa-times-circle::before{content:"\f057"}
.nf12-result.W,.nf12-result.D,.nf12-result.L{background:transparent}.nf12-result.nf12-latest{font-size:16.5px}.nf12-team-label,.nf12-axis-title{font-weight:750}.nf12-digit-reel{will-change:transform}

.nf12-round-result{font-family:"Font Awesome 5 Free";font-weight:900;pointer-events:none}

/* Table typography: pt increments; desktop column headings keep their size. */
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody{font-size:calc(13px + 1pt)}
@container (max-width:820px){
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody{font-size:calc(13px + 2pt)}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-rank{font-size:calc(15px + 2pt)}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-team-name{font-size:calc(13px + 1pt)}
.nf12-standings[data-nf12-standings] .nf12-table-scroll td::before{font-size:calc(10px + 1pt)}
}

/* 1.3.6: larger desktop type and eight statistics in one mobile row. */
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody{font-size:calc(13px + 2pt)}
.nf12-standings[data-nf12-standings] .nf12-table-scroll thead{font-size:calc(13px + 1pt)}
@container (max-width:820px){
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody tr{grid-template-columns:repeat(8,minmax(0,1fr))}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-rank{grid-column:span 2}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-team-name{grid-column:span 6}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody td:not(.nf12-rank):not(.nf12-form-cell){padding:10px 1px}
.nf12-standings[data-nf12-standings] .nf12-table-scroll tbody td:not(.nf12-rank):not(.nf12-form-cell)::before{white-space:nowrap;font-size:min(calc(10px + 1pt),3.9cqi)}
}

@container (max-width:820px){
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-rank{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:10px 12px 0;font-weight:800}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-rank::before{display:inline;margin:0;white-space:nowrap;font-weight:700}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-team-name{grid-column:1/-1;padding:8px 12px 12px}
}

@container (max-width:820px){
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-rank{grid-column:1/span 4;padding:12px 4px 12px 8px;gap:4px;white-space:nowrap}
.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-team-name{grid-column:5/span 4;padding:12px 8px 12px 4px;overflow-wrap:anywhere}
}
@container (max-width:300px){.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-rank{grid-column:1/span 5}.nf12-standings[data-nf12-standings] .nf12-table-scroll .nf12-team-name{grid-column:6/span 3}}
