@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&family=Noto+Serif:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#17372d;background:#f3f5f3;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:7px;font-weight:600;transition:background .15s}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:3px solid #bd8a25;outline-offset:3px}header{height:94px;background:#fff;border-bottom:1px solid #dce3df;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px)}.brand{display:flex;align-items:center;gap:14px;letter-spacing:.15em;font-weight:700;font-size:14px}.brand small{display:block;letter-spacing:.03em;font-weight:400;margin-top:5px;color:#68776e}.crest{font-size:34px;color:#a17b30}.header-note{font-size:14px;color:#6e7d74}main{max-width:1260px;margin:auto;padding:36px 28px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;margin:0 0 9px;color:#728176}h1,h2,p{margin-top:0}h1{font-family:'Libre Baskerville',Georgia,serif;font-size:36px;margin-bottom:0}h2{font-size:20px;margin:0}.round{padding:10px 18px;border:1px solid #d3ddd5;border-radius:30px;font-size:14px;background:white}.layout{display:grid;grid-template-columns:320px 1fr;gap:24px}.panel{background:white;border:1px solid #dce3df;border-radius:12px;padding:24px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.badge{background:#edf2ed;border-radius:20px;padding:4px 10px;font-size:14px}.participants label{display:block;font-size:14px;margin-bottom:8px}.input-row{display:flex;gap:8px}input{width:100%;min-width:0;border:1px solid #d1dcd4;border-radius:7px;padding:11px;font-size:14px}.add-button{background:#1e513c;color:white;width:44px;flex-shrink:0;font-size:23px}ol{padding:0;list-style:none;margin:24px -12px 0}li{display:flex;align-items:center;gap:10px;padding:12px;border-radius:7px;margin:4px 0}li.active{background:#eaf1ec;color:#20523c;font-weight:700}.number{color:#839187;font-size:13px;min-width:22px}.person-name{flex:1;overflow-wrap:anywhere}.remove{background:transparent;color:#8c978f;padding:4px;font-size:20px}.muted,.hint{color:#748177;font-size:14px;line-height:1.6}.current{background:#173f30;color:#fff;border-radius:12px;padding:26px 30px;margin-bottom:24px}.current-top{display:flex;justify-content:space-between;font-size:14px;color:#bfd1c4}.current .eyebrow{color:#c2d2c7}.shooter{text-align:center;padding:20px 0 28px}.initials{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 17px;border:1px solid #8e9e70;border-radius:50%;color:#e8ca89;font-family:Georgia,serif;font-size:23px}.shooter h2{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(24px,3vw,36px);line-height:1.4;overflow-wrap:anywhere}.shooter p{color:#b6cabd;margin:12px 0 0;font-size:14px}.navigation{display:flex;gap:12px}.back{background:#305443;color:#e3ebe5;padding:15px 20px}.primary{background:#e9c47b;color:#263b2a;flex:1;padding:15px 20px;display:flex;justify-content:space-between;gap:8px}.primary:hover:not(:disabled){background:#f2d49b}.insignia .section-title{margin-bottom:12px}.insignia-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.insignia-option{background:#fff;border:1px solid #dce3df;padding:16px 8px;color:#334e3e;font-size:14px}.insignia-option span{display:block;font-size:23px;margin-bottom:10px;color:#a47b32}.insignia-option.selected{border:2px solid #286142;background:#eff5ef;padding:15px 7px}.insignia-option.won{background:#f1f3f1;color:#758276}.award-row{border-top:1px solid #e5eae6;margin-top:22px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;color:#768177}.award-row button{background:#24543c;color:white;padding:12px 18px;white-space:nowrap}#status{font-size:14px;color:#24543c;margin:10px 0 0}.results{margin-top:24px}#results{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.result{border-left:2px solid #dbc28d;padding-left:13px}.result strong{display:block;font-size:14px;margin-bottom:8px}.result span{font-size:14px;color:#7d897f;overflow-wrap:anywhere}footer{display:flex;justify-content:space-between;margin-top:25px;color:#839086;font-size:12px;gap:15px}@media(max-width:850px){.layout{grid-template-columns:260px 1fr}.insignia-grid{grid-template-columns:repeat(2,1fr)}.award-row{align-items:stretch;flex-direction:column}#results{grid-template-columns:repeat(3,1fr)}.header-note{display:none}}@media(max-width:640px){main{padding:24px 16px}.layout{display:flex;flex-direction:column}.participants{order:2}.panel{padding:20px}.current{padding:24px 20px}.navigation{flex-direction:column}.primary{justify-content:center}.insignia-grid{grid-template-columns:repeat(2,1fr)}h1{font-size:30px}#results{grid-template-columns:repeat(2,1fr)}footer{flex-direction:column}.section-title{flex-wrap:wrap}}
.shot-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #496553;padding-top:18px;margin-bottom:18px}.shot-summary strong{display:block;color:#e9c47b;font-size:28px}.shot-summary span,.shot-help{font-size:14px;color:#c2d2c7}.shot-help{line-height:1.5}.shot-badge{font-size:12px;white-space:nowrap;color:#617867;font-weight:400}.participants li{gap:7px}
#personal-shots{display:block;max-width:160px;font-size:28px;font-weight:700;color:#e9c47b;background:#254b3b;border:1px solid #789782;margin-bottom:7px;padding:7px 10px}.shot-summary label{font-size:14px;color:#c2d2c7}

.member-toggle{display:flex!important;align-items:center;gap:8px;font-size:14px;margin:10px 0 0}.member-toggle input{width:18px;height:18px;flex-shrink:0}.participants li{flex-wrap:wrap}.participants li .member-toggle{width:100%;margin:2px 0}.participants li .remove{font-size:14px;padding:6px 10px;background:#edf1ed}.struck .person-name{text-decoration:line-through;color:#89958b}.struck{background:#f4f5f4}.participants .person-name{min-width:100px}

/* Vereinslayout nach ssvborbach.de */

:root{background:#417522;color:#333;font-family:'Noto Sans',Arial,sans-serif}html{scroll-behavior:smooth}header.club-sidebar{position:fixed;inset:0 auto 0 0;width:29%;max-width:360px;height:100vh;overflow-y:auto;display:block;background:#547f29;padding:48px 38px;border:0;color:#e2e8ce}.club-brand{display:block;color:#e2e8ce;text-decoration:none}.club-brand img{display:block;width:160px;max-width:100%;height:auto;margin:0 auto 20px}.club-brand strong{font-size:25px;line-height:1.3;display:block}.club-subtitle{font-size:14px;opacity:.8;margin-top:12px}.club-sidebar nav{margin-top:46px}.club-sidebar nav a{display:block;color:#e2e8ce;text-decoration:none;font-family:'Noto Serif',Georgia,serif;padding:12px 0;border-top:1px solid #729348;font-size:16px}.club-sidebar nav a:hover{text-decoration:underline;color:white}.sidebar-note{font-size:14px;line-height:1.8;margin-top:32px;color:#e2e8ce}main{margin-left:min(29%,360px);max-width:none;padding:42px 36px}.heading{background:#fff;padding:30px;margin-bottom:24px;align-items:center;gap:15px}h1,h2,.shooter h2{font-family:'Noto Serif',Georgia,serif;color:#333}h1{font-size:30px;line-height:1.4}.eyebrow{color:#61754e}.round{border-radius:0;white-space:nowrap;color:#417522}.layout{grid-template-columns:minmax(245px,.8fr) minmax(0,1.4fr);gap:24px}.panel,.current{border-radius:0;border:0;box-shadow:0 0 1px #335b22}.current{background:white;color:#333}.current-top,.current .eyebrow,.shooter p{color:#66745d}.initials{border-color:#638b37;color:#417522}.primary,.award-row button,.add-button{background:#417522;color:white;border-radius:0}.primary:hover:not(:disabled){background:#305d19}.back{background:#e9eedf;color:#385527;border-radius:0}.shot-summary{border-color:#dce3d4}.shot-summary strong{color:#417522}.shot-summary span,.shot-summary label,.shot-help{color:#65725e}#personal-shots{background:#f5f7ef;color:#315820;border-color:#94aa7b;border-radius:0}.insignia-option{border-radius:0}.insignia-option.selected{border-color:#547f29;background:#edf3e5}.insignia-option span{color:#547f29}.muted,.hint{color:#666}.results{margin-top:24px}.result{border-color:#638b37}footer{color:#edf2e6}.participants li.active{background:#eaf1dc;color:#335723}.participants .person-name{font-size:16px}.participants li .member-toggle{font-size:14px}.shot-badge{font-size:14px}input{border-radius:0}.section-title{align-items:flex-start}#results{grid-template-columns:repeat(3,1fr);row-gap:24px}
@media(min-width:1500px){main{max-width:1300px;margin-left:360px}}
@media(max-width:1100px){header.club-sidebar{width:27%;padding:35px 24px}.club-brand strong{font-size:22px}main{margin-left:27%;padding:28px 24px}.layout{grid-template-columns:1fr}.participants{order:2}.heading{flex-wrap:wrap}h1{font-size:28px}.insignia-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){header.club-sidebar{position:static;width:100%;max-width:none;height:auto;padding:22px}.club-brand{display:flex;align-items:center;gap:18px}.club-brand img{width:65px;margin:0}.club-brand strong{font-size:20px;max-width:290px}.club-subtitle,.sidebar-note{display:none}.club-sidebar nav{display:flex;flex-wrap:wrap;gap:0 20px;margin-top:20px}.club-sidebar nav a{font-size:14px;padding:8px 0}main{margin:0;padding:18px 14px}.heading{padding:22px}h1{font-size:25px}.layout{display:flex}.insignia-grid{grid-template-columns:repeat(2,1fr)}#results{grid-template-columns:repeat(2,1fr)}}

.result .hit-details{display:block;margin-top:10px;font-size:14px;line-height:1.6;color:#417522;font-weight:600}

.shooter .current-target{background:#eaf1dc;color:#315820;border-left:4px solid #547f29;padding:14px 16px;font-size:18px;font-weight:700;margin:22px auto 10px;max-width:560px;line-height:1.5}

.insignia-shot-field{margin-top:22px}.insignia-shot-field label{display:block;font-size:16px;font-weight:600;margin-bottom:8px}.insignia-shot-field input{max-width:220px}.insignia-shot-field .hint{margin:8px 0 0}

.year-panel{margin-bottom:24px}.year-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.year-tab{padding:10px 20px;background:#edf2e7;color:#315820}.year-tab.chosen{background:#417522;color:white}#add-year{flex-wrap:wrap;align-items:center}#new-year{max-width:120px}#add-year button{background:#417522;color:white;padding:12px 16px}.year-panel .hint{margin:12px 0 0}

.insignia-name-field{margin-top:22px}.insignia-name-field label{display:block;font-size:16px;font-weight:600;margin-bottom:8px}.insignia-name-field input{max-width:420px}.insignia-name-field .hint{margin:8px 0 0}

#add-shots{display:block;margin-top:10px;padding:10px 12px;background:#417522;color:white}.personal-sum{font-size:14px;margin-top:12px}.shot-summary .personal-sum strong{display:inline;font-size:18px}

.year-group{display:inline-flex;align-items:center;gap:4px}.delete-button{background:#fff1ef;color:#9a2921;border:1px solid #e5b9b4;padding:7px 10px;font-size:14px}.delete-button:hover{background:#fbe0dc}.year-group .delete-button{min-height:40px}

.insignia-image{display:block;width:90px;height:90px;object-fit:contain;margin:0 auto 12px;background:white;border-radius:6px}.honour-image{display:block;width:75px;height:75px;object-fit:contain;background:white;border-radius:6px;margin-bottom:12px}.target-image{width:110px;height:110px;object-fit:contain;background:white;border-radius:8px;margin-bottom:12px}.target-image[hidden]{display:none}.insignia-option.won::after{content:"✓ Vergeben";display:block;margin-top:8px;font-size:14px;color:#417522}

#list{max-height:520px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#547f29 #eaf1dc;padding-right:8px}#viewer-participants{max-height:480px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#547f29 #eaf1dc;padding-right:8px!important}@media(max-width:640px){#list{max-height:380px}}

/* Mehr Platz für Teilnehmer in der Schießleitung */
@media(min-width:1101px){
 .layout{align-items:stretch}
 .participants{display:flex;flex-direction:column;min-height:0}
 .participants #list{flex:1 1 auto;height:0;min-height:560px;max-height:none}
}
@media(min-width:641px) and (max-width:1100px){
 .participants #list{max-height:75vh;max-height:75dvh}
}
@media(max-width:640px){
 .participants #list{max-height:65vh;max-height:65dvh}
}

/* Admin-Inhalt mittig im Bereich neben der Vereinsleiste */
@media(min-width:1101px){
 body.admin-page{padding-left:min(29vw,360px)}
 .admin-page main{width:100%;max-width:1300px;margin-left:auto;margin-right:auto}
}
@media(min-width:701px) and (max-width:1100px){
 body.admin-page{padding-left:27vw}
 .admin-page main{width:100%;max-width:1000px;margin-left:auto;margin-right:auto}
}
@media(max-width:700px){
 body.admin-page{padding-left:0}
 .admin-page main{width:100%;margin-left:auto;margin-right:auto}
}

.undo-controls{margin:16px 0;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.undo-controls button{background:#edf2e7;color:#315820;border:1px solid #9bb58c;padding:12px 16px}.undo-controls small{display:block;flex-basis:100%;font-size:14px;color:#66745d}#undo-feedback{font-size:14px;color:#315820}
