.tournament-observed { color: #586366; font-size: .78rem; line-height: 1.75; max-width: 760px; }
.tournament-ledger { margin-top: 36px; padding: 25px 28px; border: 1px solid #aeb6b6; background: #f8f8f4; }
.tournament-ledger h2 { margin: 0 0 20px; color: #233e43; font-size: 1.3rem; }
.tournament-ledger dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; }
.tournament-ledger dt { color: #586366; font-size: .75rem; }
.tournament-ledger dd { color: #233e43; margin: 8px 0 0; font-size: .94rem; font-weight: 700; }
.tournament-ledger > p { color: #586366; font-size: .78rem; line-height: 1.65; margin: 20px 0 0; }
.tournament-npcs { margin-top: 48px; }
.tournament-npcs header p { color: #31535c; font: 700 .72rem/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.tournament-npcs h2 { color: #233e43; margin: 10px 0; font-size: 1.6rem; }
.tournament-npcs header > span { color: #586366; font-size: .88rem; line-height: 1.7; }
.tournament-npc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tournament-npc-grid article { border: 1px solid #aeb6b6; background: #fffdf7; }
.tournament-npc-grid .is-new { border-color: #887155; }
.tournament-npc-grid a { display: block; color: inherit; text-decoration: none; height: 100%; }
.tournament-npc-grid a:hover, .tournament-npc-grid a:focus-visible { background: #eff1ee; }
.tournament-npc-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 18%; background: #20343a; }
.tournament-npc-grid article a > div { padding: 16px; }
.tournament-npc-grid span { color: #775535; font-size: .71rem; font-weight: 700; }
.tournament-npc-grid h3 { color: #233e43; font-size: 1.02rem; margin: 9px 0; line-height: 1.5; }
.tournament-npc-grid p { color: #586366; font-size: .75rem; line-height: 1.6; margin: 0; }
.tournament-npc-grid b { display: inline-block; color: #23575e; font-size: .73rem; margin-top: 12px; }
.tournament-npc-note { color: #586366; font-size: .78rem; line-height: 1.8; }
.tournament-public-portraits { margin-top: 58px; padding-top: 44px; border-top: 1px solid #aeb6b6; }
.tournament-public-portraits > header > p { margin: 0; color: #31535c; font: 700 .72rem/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.tournament-public-portraits > header h2 { margin: 10px 0; color: #233e43; font-size: 1.6rem; }
.tournament-public-portraits > header span { color: #586366; font-size: .88rem; line-height: 1.7; }
.public-portrait-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 25px; }
.public-portrait-pairs > article { overflow: hidden; border: 1px solid #aeb6b6; background: #fffdf7; }
.public-portrait-pairs > article > header { min-height: 94px; padding: 16px 17px; border-bottom: 1px solid #c8ceca; background: #edf1ea; }
.public-portrait-pairs > article > header span { color: #586366; font: 700 .62rem/1.5 ui-monospace, monospace; letter-spacing: .08em; }
.public-portrait-pairs > article > header h3 { margin: 7px 0 0; color: #233e43; font-size: .94rem; line-height: 1.55; }
.public-portrait-pairs > article > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #aeb6b6; }
.public-portrait-pairs figure { min-width: 0; margin: 0; background: #fff; }
.public-portrait-pairs figure img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #20343a; }
.participant-sheet-link { position: relative; display: block; color: inherit; text-decoration: none; overflow: hidden; }
.participant-sheet-link::after { position: absolute; right: 10px; bottom: 10px; padding: 7px 9px; content: "登録者シートを見る →"; color: #fff; background: rgba(23, 56, 60, .9); border: 1px solid rgba(255,255,255,.52); font-size: .64rem; font-weight: 800; letter-spacing: .03em; opacity: .92; }
.draw-person__copy > small::after { content: " →"; }
.participant-sheet-link:hover::after, .participant-sheet-link:focus-visible::after { color: #18383c; background: #f4eee1; border-color: #f4eee1; }
.participant-sheet-link:focus-visible { outline: 4px solid rgba(49, 83, 92, .35); outline-offset: -4px; }
.portrait-placeholder { position: relative; display: grid; width: 100%; aspect-ratio: 3 / 4; place-items: center; padding: 26px; border: 10px solid #81725e; color: #5f5b51; background: linear-gradient(145deg, #f8f5ea, #e9e4d5); box-shadow: inset 0 0 0 2px #d5cab0, inset 0 0 0 6px #f5f0df; text-align: center; }
.portrait-placeholder::before { position: absolute; inset: 10px; border: 1px solid #b9ad91; content: ""; pointer-events: none; }
.portrait-placeholder span { position: relative; max-width: 13em; font-size: clamp(.68rem, 1.1vw, .82rem); font-weight: 700; line-height: 1.9; letter-spacing: .04em; }
.public-portrait-pairs figcaption { display: grid; min-height: 116px; align-content: start; gap: 5px; padding: 12px; }
.public-portrait-pairs figcaption b { color: #233e43; font-size: .79rem; line-height: 1.45; overflow-wrap: anywhere; }
.public-portrait-pairs figcaption small { color: #775535; font-size: .65rem; font-weight: 700; }
body.official-site .portrait-report-trigger { display: inline-flex; align-items: center; justify-self: start; gap: 6px; margin-top: 7px; padding: 7px 9px; border: 1px solid #789094 !important; color: #31535c; background: #eef3f2; font: 700 .62rem/1.4 inherit; cursor: pointer; }
.portrait-report-trigger svg { flex: 0 0 auto; width: 17px; height: 17px; }
body.official-site .portrait-report-trigger:hover, body.official-site .portrait-report-trigger:focus-visible { border-color: #9b5047 !important; color: #7c4942; background: #f7eeea; }
body.official-site .portrait-report-trigger:focus-visible { outline: 3px solid #a9472b !important; outline-offset: 3px !important; }
.site-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.public-portrait-note { margin: 18px 0 0; padding: 16px 18px; border-left: 4px solid #887155; color: #586366; background: #f8f8f4; font-size: .74rem; line-height: 1.8; }
.public-portrait-note b { color: #31535c; }
.portrait-report-dialog { width: min(560px, calc(100% - 28px)); max-width: none; padding: 0; border: 1px solid #778386; color: #202728; background: #f8f8f4; box-shadow: 0 22px 65px rgba(10, 25, 28, .34); }
.portrait-report-dialog::backdrop { background: rgba(4, 14, 16, .7); backdrop-filter: blur(3px); }
.portrait-report-form { display: grid; gap: 11px; padding: clamp(22px, 5vw, 36px); }
.portrait-report-form__eyebrow { margin: 0; color: #31535c; font: 800 .67rem/1.4 ui-monospace, monospace; letter-spacing: .14em; }
.portrait-report-form h2 { margin: 0; color: #233e43; font-size: clamp(1.45rem, 4vw, 2rem); }
.portrait-report-form__target, .portrait-report-form__status { margin: 0; color: #586366; font-size: .78rem; line-height: 1.75; }
.portrait-report-form__target b { color: #7c4942; }
.portrait-report-form label { margin-top: 5px; color: #233e43; font-size: .74rem; font-weight: 800; }
body.official-site .portrait-report-form select, body.official-site .portrait-report-form textarea { width: 100%; border: 1px solid #778386 !important; border-radius: 0; color: #202728; background: #fff; font: inherit; }
.portrait-report-form select { min-height: 46px; padding: 8px 11px; }
.portrait-report-form textarea { resize: vertical; padding: 11px; line-height: 1.6; }
body.official-site .portrait-report-form select:focus-visible, body.official-site .portrait-report-form textarea:focus-visible { outline: 3px solid #31535c !important; outline-offset: 2px !important; }
.portrait-report-form__note { margin: 0; padding: 11px 13px; border-left: 3px solid #77522d; color: #384548; background: #ece9df; font-size: .78rem; line-height: 1.75; }
.portrait-report-form__status:not(:empty) { padding: 10px 12px; border: 1px solid #aeb6b6; background: #fff; }
.portrait-report-form__status.is-error { border-color: #b6756d; color: #7c4942; background: #f7eeea; }
.portrait-report-form__status.is-success { border-color: #6f8b78; color: #315846; background: #edf4ef; }
.portrait-report-form__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.portrait-report-form__actions button { min-height: 44px; padding: 9px 16px; border: 1px solid #31535c; font: 800 .76rem/1.3 inherit; cursor: pointer; }
body.official-site .portrait-report-form__submit { border-color: #234a52 !important; color: #fff; background: #234a52; }
body.official-site .portrait-report-form__submit:hover { border-color: #163b42 !important; color: #fff; background: #163b42; }
body.official-site .portrait-report-form__cancel { border-color: #718083 !important; color: #234a52; background: #f8f8f4; }
body.official-site .portrait-report-form__cancel:hover { border-color: #31535c !important; color: #173a40; background: #e4eeeb; }
body.official-site .portrait-report-form__actions button:focus-visible { outline: 3px solid #a9472b !important; outline-offset: 3px !important; }
body.official-site .portrait-report-form__actions button:disabled { border-color: #718080 !important; color: #384548; background: #d7ddda; cursor: wait; }
@media (max-width: 900px) { .tournament-npc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tournament-ledger dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .public-portrait-pairs { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .tournament-ledger { padding: 22px; } .tournament-npc-grid { gap: 10px; } .tournament-npc-grid article a > div { padding: 12px; } .tournament-npc-grid h3 { font-size: .92rem; } }
.tournament-draw { margin-top: 46px; color: #233e43; }
.tournament-draw__heading > p { color: #31535c; font: 700 .72rem/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.tournament-draw__heading h2 { margin: 10px 0; font-size: 1.6rem; }
.tournament-draw__heading > span { color: #586366; font-size: .88rem; line-height: 1.7; }
.draw-quarterfinals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.draw-match { padding: 22px; border: 1px solid #aeb6b6; background: #fffdf7; scroll-margin-top: 24px; }
.draw-match > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #d3d8d2; }
.draw-match header span, .draw-following > span { color: #586366; font: 600 .66rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.draw-match h3 { margin: 5px 0 0; font-size: 1.08rem; }
.draw-match header > b { flex-shrink: 0; color: #4c6055; background: #e9eee5; border: 1px solid #b6c0b4; padding: 5px 9px; font-size: .72rem; }
.draw-versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 132px; padding: 20px 0; }
.draw-person { display: grid; grid-template-columns: clamp(68px, 7vw, 86px) minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; padding: 8px; border: 1px solid transparent; color: inherit; text-decoration: none; }
.draw-person:hover, .draw-person:focus-visible { border-color: #8f9b98; background: #edf1ea; }
.draw-person:focus-visible { outline: 3px solid rgba(49, 83, 92, .28); outline-offset: 2px; }
.draw-person__avatar { display: grid; width: 100%; aspect-ratio: 1; overflow: hidden; place-items: center; border: 1px solid #8f9b98; background: #20343a; box-shadow: inset 0 0 0 3px rgba(255,255,255,.18); }
.draw-person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.draw-person__avatar.is-boru img, .draw-person__avatar.is-npc-face img, .draw-person__avatar.is-approved img { object-position: center; }
.draw-person__avatar--empty { padding: 7px; border: 5px solid #81725e; color: #5f5b51; background: linear-gradient(145deg, #f8f5ea, #e9e4d5); box-shadow: inset 0 0 0 1px #d5cab0; text-align: center; }
.draw-person__avatar--empty small { font-size: .58rem; font-weight: 800; line-height: 1.4; }
.draw-person__copy { min-width: 0; }
.draw-person__kind { color: #775535; font-size: .68rem; font-weight: 700; }
.draw-person h4 { color: #233e43; font-size: 1rem; line-height: 1.45; margin: 5px 0; overflow-wrap: anywhere; }
.draw-person p { color: #586366; font-size: .7rem; line-height: 1.55; margin: 0; overflow-wrap: anywhere; }
.draw-person__copy > small { display: inline-block; margin-top: 5px; color: #24565c; font-size: .61rem; font-weight: 800; }
.draw-versus__mark { color: #566660; font: 700 .72rem/1.5 ui-monospace, monospace; }
.draw-result { margin: 0; border-top: 1px dashed #b6c0b4; padding-top: 12px; color: #586366; font-size: .76rem; }
.draw-later { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.draw-later .draw-following:last-child { grid-column: 1 / -1; }
.draw-following { padding: 19px; background: #edf1ea; border: 1px solid #b6c0b4; scroll-margin-top: 24px; }
.draw-following h3 { font-size: 1rem; margin: 7px 0 12px; }
.draw-following > p { font-size: .72rem; line-height: 1.8; margin: 10px 0 12px; }
.draw-following > p a, .draw-following > small a { color: #24565c; text-underline-offset: 3px; }
.draw-following > small { display: block; color: #586366; font-size: .7rem; }
.draw-versus--later { min-height: 112px; padding: 12px 0; border-block: 1px solid #c3cbc2; }
.draw-following__route::before { content: "進出元："; color: #6c786f; font-weight: 800; }
.draw-note { color: #586366; font-size: .78rem; line-height: 1.8; }
.draw-note { margin: 20px 0; }
@media (max-width: 760px) { .draw-quarterfinals { grid-template-columns: 1fr; } .draw-later { grid-template-columns: 1fr; gap: 10px; } .draw-later .draw-following:last-child { grid-column: 1; } .draw-versus { min-height: 116px; } }
@media (max-width: 520px) { .draw-versus { grid-template-columns: 1fr; gap: 8px; } .draw-versus__mark { justify-self: center; } .draw-person { grid-template-columns: 74px minmax(0, 1fr); width: 100%; } }
@media (max-width: 420px) { .draw-match { padding: 18px; } .draw-person h4 { font-size: 1rem; } .participant-sheet-link::after { right: 7px; bottom: 7px; padding: 6px 7px; font-size: .58rem; } }
