/* Composite page only; neither original application's styles are changed. */
[hidden]{display:none!important}
.topbar{padding:12px 20px;min-height:66px;padding-top:calc(12px + env(safe-area-inset-top))}
.brand-icon{width:25px;height:25px;color:#fb923c;flex-shrink:0}
.site-meta{font-size:12px;color:var(--fg-mute);text-align:right;line-height:1.5}
.event-nav{max-width:1460px;margin:0 auto;display:flex;gap:12px;padding:14px 20px 0}
.event-tab{flex:1;min-height:52px;padding:8px 16px;border:1px solid var(--bd);border-radius:12px;color:var(--fg-mute);background:var(--surface);font:600 16px var(--txt);cursor:pointer;transition:background .18s,border-color .18s,color .18s;display:flex;align-items:center;justify-content:center;gap:10px}
.event-tab svg{width:20px;height:20px;flex:0 0 auto}
.event-tab small{font:500 12px var(--txt);color:var(--fg-mute)}
.event-tab[aria-selected="true"]{color:var(--gold);background:#211b13;border-color:#9a7326}
.event-tab.shooting[aria-selected="true"]{color:#fdba74;background:#23170f;border-color:#b16a31}
.event-tab:hover{background:var(--surface-2)}
button:focus-visible,.event-panel:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.event-tab:focus-visible{outline-offset:3px}
.event-info{max-width:1460px;margin:0 auto;padding:12px 20px 0;display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--fg-mute)}
.event-info b{color:var(--fg);font-family:var(--num);font-size:18px}
.site-footer{margin:0;text-align:center;color:var(--fg-mute);font-size:12px;padding:12px 16px 16px}
.shooting-layout{max-width:1460px;margin:0 auto;padding:20px;display:flex;flex-direction:column;gap:16px;min-height:0}
.shooting-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.shooting-heading h1{font-size:20px;margin:0;line-height:1.3}
.shooting-heading p{color:var(--fg-mute);font-size:13px;margin:4px 0 0}
.shooting-summary{text-align:right;font-size:13px;color:var(--fg-mute);white-space:nowrap}
.shooting-summary strong{color:#fdba74;font:700 25px var(--num);padding:0 3px}
.shooting-summary span{display:block;font-size:12px}
.shooting-boards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;min-height:0}
.shooting-board{border:1px solid var(--bd);border-radius:16px;padding:18px;background:var(--surface);min-width:0;display:flex;flex-direction:column;min-height:0}
.shooting-board h2{display:flex;align-items:center;justify-content:space-between;font-size:18px;gap:8px;margin:0 0 16px}
.shooting-board h2 span{font-size:12px;color:var(--fg-mute);font-weight:400}
.shooting-board.male h2{color:#93c5fd}
.shooting-board.female h2{color:#f9a8d4}
.shooting-rows{list-style:none;padding:0;margin:0;display:grid;grid-template-rows:repeat(8,minmax(0,1fr));gap:8px;flex:1;min-height:0}
.shooting-row{display:flex;align-items:center;gap:14px;min-width:0;padding:10px 12px;min-height:66px;border:1px solid var(--bd);border-radius:10px;background:#111a2b}
.shooting-rank{display:flex;justify-content:center;align-items:center;width:30px;height:30px;flex:0 0 auto;background:var(--surface-2);border-radius:8px;color:var(--fg-mute);font:600 20px var(--num)}
.shooting-person{flex:1;min-width:0}
.shooting-name{display:block;font-size:18px;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shooting-dept{display:block;color:var(--fg-mute);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shooting-score{font:700 32px var(--num);line-height:1;flex:0 0 auto;white-space:nowrap}
.shooting-score small{font:400 12px var(--txt);margin-left:3px;color:var(--fg-mute)}
.shooting-row.first{border-color:#8a691f;background:linear-gradient(90deg,#302711,#151b27)}
.shooting-row.first .shooting-rank{background:var(--gold);color:#271e09}
.shooting-row.first .shooting-score{color:var(--gold)}
.shooting-row.second .shooting-rank{background:#cbd5e1;color:#172033}
.shooting-row.third .shooting-rank{background:#e0a477;color:#28170b}
.shooting-row.empty .shooting-name{color:var(--fg-mute);font-weight:400}
.shooting-note{margin:0;color:var(--fg-mute);font-size:12px;text-align:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1024px){.shooting-layout{height:calc(100dvh - 182px - env(safe-area-inset-top));min-height:0}.shooting-boards{flex:1}.shooting-row{min-height:0}}
@media(min-width:901px) and (max-height:800px){.shooting-board{padding:12px}.shooting-board h2{font-size:16px;margin-bottom:8px}.shooting-rows{gap:5px}.shooting-row{padding:4px 10px}.shooting-name{font-size:16px}.shooting-dept{font-size:11px;line-height:1.15}.shooting-score{font-size:26px}}
@media(max-width:900px){
 .topbar{padding:10px 12px;padding-top:calc(10px + env(safe-area-inset-top));min-height:60px}.brand{font-size:16px;gap:6px}.brand-icon{width:21px;height:21px}.site-meta{font-size:11px}
 .event-nav{padding:10px 12px 0;gap:8px}.event-tab{min-height:46px;font-size:14px;padding:8px;gap:6px}.event-tab svg{width:17px;height:17px}.event-tab small{display:none}
 .event-info{padding:10px 16px 0;font-size:12px}
 .shooting-layout{padding:12px 10px 0;gap:8px;height:calc(100dvh - 154px - env(safe-area-inset-top));min-height:410px}
 .shooting-heading{gap:8px}.shooting-heading h1{font-size:16px}.shooting-heading p{font-size:11px;margin-top:2px}.shooting-summary{font-size:11px}.shooting-summary strong{font-size:22px}.shooting-summary span{font-size:10px}
 .shooting-boards{gap:8px;flex:1}.shooting-board{padding:8px 6px;border-radius:12px}.shooting-board h2{font-size:14px;margin-bottom:8px;gap:3px}.shooting-board h2 span{font-size:10px}
 .shooting-rows{gap:4px}.shooting-row{gap:5px;padding:4px 5px;border-radius:8px;min-height:0}.shooting-rank{width:20px;height:23px;font-size:15px;border-radius:6px}.shooting-name{font-size:15px}.shooting-dept{font-size:10px;line-height:1.3}.shooting-score{font-size:24px}.shooting-score small{font-size:10px;margin-left:1px}
 .shooting-note{font-size:10px;line-height:1.3}.site-footer{font-size:10px;padding:8px 12px}
}
@media(max-width:360px){.shooting-score{font-size:20px}.shooting-rank{width:18px;font-size:13px}.shooting-name{font-size:14px}.shooting-score small{display:none}.brand{font-size:14px}.site-meta{font-size:10px}}
@media(max-width:900px) and (max-height:600px){.shooting-dept{display:none}.shooting-layout{height:auto;min-height:0}.shooting-row{min-height:36px}.shooting-heading p{display:none}}
@media(prefers-reduced-motion:reduce){.event-tab{transition:none}}
