.cap-tournament{margin:11px 0 14px;border:1px solid #415238;border-radius:6px;background:#101b13;color:#d9e6d0;min-width:0}
.cap-tournament>summary{display:flex;align-items:center;gap:8px 15px;flex-wrap:wrap;padding:12px 14px;cursor:pointer;list-style:none;font-size:11px;line-height:1.65;background:#192719;border-radius:5px;min-height:43px}
.cap-tournament>summary::-webkit-details-marker{display:none}
.cap-tournament>summary::before{content:'+';display:inline-block;color:#bddb8e;font-size:16px;line-height:1;font-weight:500;width:12px;flex:0 0 12px}
.cap-tournament[open]>summary::before{content:'−'}
.cap-tournament>summary>strong{font-size:12px;letter-spacing:.2px;color:#d1e7b3;font-weight:650}
.cap-tournament>summary>span{color:#adbea0;font-size:10px}
.cap-tournament>summary>small{font-size:9px;margin-left:auto;color:#8fa780}
.cap-tournament[open]>summary{border-bottom:1px solid #3f5534;border-radius:5px 5px 0 0;color:#ddefc9}
.cap-tournament summary:focus-visible,.cap-tournament a:focus-visible{outline:2px solid #c4ef72;outline-offset:3px}
.tourney-content{padding:14px;min-width:0}
.tourney-intro{padding:11px 13px;border-left:2px solid #91ad64;background:#162416;border-radius:4px;margin-bottom:12px}
.tourney-intro>strong{font-size:12px;font-weight:650;color:#d6e7c5}
.tourney-intro>p{font-size:11px;line-height:1.8;color:#b0c1a6;margin:6px 0}
.tourney-intro>span{font-size:10px;color:#91ac82;line-height:1.8}
.cap-tournament a{color:#bedb99;text-underline-offset:3px}
.cap-tournament a:hover{text-decoration:underline}
.tourney-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:11px 0}
.tourney-stats>div{padding:10px 12px;border:1px solid #30462b;border-radius:5px;background:#142215;min-width:0}
.tourney-stats strong{font-size:21px;font-weight:650;letter-spacing:-.3px;line-height:1.35;display:block;color:#d1e6b9}
.tourney-stats span{display:block;color:#9eb58e;font-size:9px;line-height:1.7;margin-top:3px}
.tourney-source,.tourney-muted{font-size:10px;line-height:1.8;color:#9db18e;margin:8px 0;overflow-wrap:anywhere}
.tourney-note{font-size:11px;line-height:1.8;color:#b5c7a9;margin:8px 0 11px}
.tourney-empty{border:1px dashed #46543a;border-radius:4px;padding:12px;background:#142014;color:#aebfa2;font-size:11px;line-height:1.8;margin:9px 0}
.tourney-section,.tourney-subsection{min-width:0;border:1px solid #30472c;border-radius:5px;margin:9px 0 0;background:#101d13}
.tourney-section>summary,.tourney-subsection>summary{cursor:pointer;font-size:11px;line-height:1.7;font-weight:600;color:#bdd5a6;padding:10px 12px}
.tourney-section[open]>summary,.tourney-subsection[open]>summary{border-bottom:1px solid #2c4328;background:#162616;color:#d4e9bc}
.tourney-section>p,.tourney-section>h4,.tourney-subsection>p{margin-left:12px;margin-right:12px}
.tourney-section>h4,.tourney-match-body h4{font-size:12px;line-height:1.6;color:#c7ddb4;margin-top:15px;margin-bottom:8px;font-weight:600}
.tourney-section>div:not(.tourney-scroll),.tourney-subsection>div:not(.tourney-scroll){margin:11px 12px}
.tourney-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;min-width:0;scrollbar-width:thin;scrollbar-color:#526b3e #122015;margin:10px 0}
.tourney-table{border-collapse:collapse;width:100%;min-width:720px;font-variant-numeric:tabular-nums;margin:0!important;table-layout:auto}
.tourney-table th{background:#1a2b1a;color:#aabd9b;font-size:9px;font-weight:500;line-height:1.6;text-align:left;padding:8px 10px;white-space:nowrap;text-transform:none;border-bottom:1px solid #3c5530}
.tourney-table td{height:auto!important;font-size:10px;line-height:1.7;vertical-align:top;padding:9px 10px;color:#cadaBF;border-bottom:1px solid #2c4227;white-space:normal;text-align:left}
.tourney-table td:first-child,.tourney-table td:last-child,.tourney-table th:first-child,.tourney-table th:last-child{width:auto;text-align:left;padding:8px 10px}
.tourney-table tbody>tr:last-child>td{border-bottom:0}
.tourney-table td>small,.tourney-table td>span:not(.tourney-hero){display:block;color:#93aa83;font-size:9px;line-height:1.7}
.tourney-table td>details{margin-top:6px;max-width:300px;min-width:110px}
.tourney-table td>details>summary{cursor:pointer;font-size:9px;line-height:1.65;color:#c0d9a6}
.tourney-table td>details>p{font-size:10px;color:#a6bd99;line-height:1.8;margin:7px 0}
.tourney-player-table{min-width:1130px}
.tourney-player-table td:nth-child(1){min-width:150px}
.tourney-player-table td:nth-child(2){min-width:165px}
.tourney-player-table td:nth-child(4){min-width:210px}
.tourney-player-table td:nth-child(5){min-width:185px}
.tourney-match-table{min-width:1160px}
.tourney-match-table td:nth-child(1){min-width:125px}
.tourney-match-table td:nth-child(3){min-width:150px}
.tourney-compact-table{min-width:560px}
.tourney-hero{display:inline-flex;align-items:center;gap:7px;line-height:1.5;font-size:10px;color:#ccdfbc;min-width:110px}
.tourney-hero>img{width:34px;height:22px;border:1px solid #3c5331;border-radius:3px;object-fit:cover;flex:0 0 auto}
.tourney-hero>span{min-width:0;overflow-wrap:anywhere}
.tourney-hero-pool{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin:8px 0;min-width:0}
.tourney-hero-pool>div{min-width:0}
.tourney-hero-pool small{display:block;font-size:9px;line-height:1.7;color:#98b087;padding-left:0;margin-top:2px}
.tourney-table .tourney-hero-pool{grid-template-columns:1fr;min-width:160px;max-width:230px;gap:7px}
.tourney-continuity,.tourney-side-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:11px 12px!important}
.tourney-continuity>div,.tourney-side-grid>section{border:1px solid #31462c;border-radius:4px;background:#152317;padding:10px 11px;min-width:0}
.tourney-continuity h4,.tourney-side-grid h4{font-size:11px;line-height:1.6;color:#c9dcb8;margin:0 0 5px;font-weight:600}
.tourney-continuity p,.tourney-side-grid p{font-size:10px;line-height:1.8;color:#a4bb94;margin:0}
.tourney-mapping,.tourney-pattern,.tourney-other-player{padding:12px;margin:10px 12px;border:1px solid #344b2d;border-radius:4px;background:#142315;min-width:0}
.tourney-mapping h4,.tourney-pattern h4,.tourney-other-player h4{font-size:12px;font-weight:600;line-height:1.6;color:#cce2b8;margin:0 0 7px}
.tourney-mapping h4 small{font-size:9px;color:#96b086;margin-left:5px;font-weight:400}
.tourney-mapping p,.tourney-pattern p,.tourney-other-player p{font-size:10px;color:#a7bd99;line-height:1.8;margin:7px 0}
.tourney-mapping>a{font-size:10px}
.tourney-draft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px!important}
.tourney-draft-grid>section{padding:11px;border:1px solid #31482b;border-radius:4px;background:#142315;min-width:0}
.tourney-draft-grid h4{font-size:12px;color:#cadeb9;margin:0 0 9px;font-weight:600}
.tourney-draft-grid .tourney-hero-pool{grid-template-columns:1fr;gap:10px}
.tourney-match{border:1px solid #324a2b;border-radius:5px;margin:8px 11px;background:#112014;min-width:0}
.tourney-match>summary{display:grid;grid-template-columns:minmax(115px,.8fr) minmax(160px,1.7fr) minmax(110px,1fr);gap:8px 12px;align-items:center;font-size:11px;line-height:1.6;padding:11px 12px;cursor:pointer;list-style:none;background:#162717;border-radius:4px}
.tourney-match>summary::-webkit-details-marker{display:none}
.tourney-match>summary strong{font-size:11px;font-weight:600;color:#cce4ad}
.tourney-match>summary strong small{display:block;font-size:9px;font-weight:400;color:#91ab81;line-height:1.7}
.tourney-match>summary>span{font-size:11px;color:#bdd1ad;overflow-wrap:anywhere}
.tourney-match>summary>span b{color:#79936c;font-size:9px;font-weight:400;margin:0 3px}
.tourney-match>summary>small{font-size:9px;color:#97b085;text-align:right;line-height:1.7}
.tourney-match[open]>summary{background:#22381e;border-bottom:1px solid #526d39;border-radius:4px 4px 0 0}
.tourney-match-body{padding:12px;min-width:0}
.tourney-match-meta{display:flex;gap:7px 16px;flex-wrap:wrap;font-size:10px;color:#aec29d;line-height:1.8;margin:0 0 7px}
.tourney-match-body .tourney-subsection{background:#101d12}
.tourney-match-body .tourney-source{margin-bottom:13px}
.tourney-personal-stats{font-size:11px;line-height:1.8;color:#b4cba2;margin:8px 0}
.tourney-personal-stats>span,.tourney-personal-stats>small{display:block;font-size:10px;line-height:1.8;color:#9eb98d}
.tourney-facts{margin:9px 12px 14px;padding-left:17px;color:#a9c098;font-size:11px;line-height:1.8}
.tourney-facts>li{margin:7px 0}
.tourney-source-list{font-size:10px;line-height:2;overflow-wrap:anywhere}
.tourney-player-hint{font-size:9px;line-height:1.55;color:#8faba0;display:block;margin-top:3px;font-weight:400;white-space:normal}
@media(max-width:1000px){.tourney-draft-grid{grid-template-columns:1fr}.tourney-draft-grid .tourney-hero-pool{grid-template-columns:repeat(2,minmax(0,1fr))}.tourney-match>summary{grid-template-columns:minmax(110px,1fr) minmax(150px,1.4fr)}.tourney-match>summary>small{grid-column:1/-1;text-align:left}.tourney-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cap-tournament>summary{padding:11px 12px;gap:5px 9px}.cap-tournament>summary>strong{font-size:12px}.cap-tournament>summary>span{font-size:10px}.cap-tournament>summary>small{flex-basis:100%;margin:1px 0 0 21px;font-size:9px}.tourney-content{padding:10px}.tourney-intro{padding:10px}.tourney-intro>p{font-size:11px}.tourney-stats{gap:7px}.tourney-stats>div{padding:9px}.tourney-stats strong{font-size:19px}.tourney-stats span{font-size:9px}.tourney-section>summary,.tourney-subsection>summary{font-size:11px;padding:10px}.tourney-section>p,.tourney-section>h4,.tourney-subsection>p{margin-left:10px;margin-right:10px}.tourney-section>div:not(.tourney-scroll),.tourney-subsection>div:not(.tourney-scroll){margin-left:10px;margin-right:10px}.tourney-continuity,.tourney-side-grid{grid-template-columns:1fr;margin:10px!important}.tourney-draft-grid{margin:10px!important}.tourney-draft-grid .tourney-hero-pool{grid-template-columns:1fr}.tourney-mapping,.tourney-pattern,.tourney-other-player{margin:9px 10px;padding:10px}.tourney-match{margin:8px 9px}.tourney-match>summary{grid-template-columns:1fr;gap:4px;padding:10px}.tourney-match>summary>strong{display:flex;align-items:center;justify-content:space-between;gap:7px}.tourney-match>summary>strong small{font-size:9px;text-align:right}.tourney-match>summary>span{font-size:11px}.tourney-match>summary>small{grid-column:auto;font-size:9px}.tourney-match-body{padding:9px}.tourney-match-meta{font-size:9px;gap:4px 8px}.tourney-note{font-size:10px;line-height:1.8}.tourney-table th{font-size:9px}.tourney-table td{font-size:10px}.tourney-hero-pool{grid-template-columns:1fr}.tourney-player-hint{font-size:9px}.tourney-source{font-size:9px}}
@media print{.cap-tournament,.tourney-section,.tourney-subsection,.tourney-match,.tourney-intro,.tourney-mapping,.tourney-pattern,.tourney-other-player,.tourney-continuity>div,.tourney-side-grid>section,.tourney-draft-grid>section,.tourney-stats>div,.tourney-empty{background:#fff!important;border-color:#a0b095!important;color:#233b1c!important}.cap-tournament>summary,.tourney-section>summary,.tourney-subsection>summary,.tourney-match>summary{background:#eef4e9!important;color:#29421e!important}.cap-tournament>summary>strong,.tourney-intro>strong,.tourney-stats strong,.tourney-match>summary strong,.tourney-match>summary>span,.tourney-hero{color:#29451b!important}.tourney-note,.tourney-source,.tourney-muted,.tourney-intro>p,.tourney-stats span,.tourney-table td,.tourney-table td>small,.tourney-player-hint{color:#3f5932!important}.tourney-scroll{overflow:visible}.tourney-table,.tourney-player-table,.tourney-match-table,.tourney-compact-table{min-width:0!important;width:100%!important}.tourney-table th{color:#334c27!important;background:#eef4e9!important}.tourney-table td,.tourney-table th{font-size:8pt;padding:5px!important}.tourney-match{break-inside:avoid}.cap-tournament a{color:#294d18!important}}

/* Dense roster; every additional hero and Match ID remains expandable. */
.tourney-player-table .tourney-hero-pool{gap:4px}.tourney-player-table .tourney-hero-pool>div{padding:3px 4px}.tourney-player-table .tourney-hero img{width:27px;height:18px}.tourney-player-table td{vertical-align:top}.tourney-player-more{margin-top:5px}.tourney-player-table details>summary{font-size:10px;cursor:pointer}.tourney-player-table .tourney-hero-pool small{font-size:9px;line-height:1.3;margin-top:2px}

.cap-tournament{scroll-margin-top:78px}
.tourney-db-role{color:#c7dcae!important;line-height:1.6}

.tourney-scroll-hint{display:none}@media(max-width:760px){.tourney-scroll-hint{display:block;font-size:10px;line-height:1.5;color:#9fb28e;margin:8px 0 5px}}

.tourney-mini-pool{display:flex;gap:7px;align-items:start}.tourney-mini-pool>span{width:46px;flex:0 0 46px}.tourney-mini-pool img{width:40px;height:23px;object-fit:cover;border-radius:3px;display:block}.tourney-mini-pool small{display:block;font-size:9px;line-height:1.4;white-space:nowrap;margin-top:3px}.tourney-player-more>summary{margin-top:6px}
