:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--green:#164b3d;--dark:#153229;--bg:#f4f7f4;--border:#e0e8e2;--gray:#66766f;--mint:#e8f3ed;--white:#fff;--red:#9b3830;color:var(--dark);background:var(--bg);font-size:15px}
*{box-sizing:border-box}body{margin:0;min-height:100vh}h1{font-size:clamp(1.9rem,4.5vw,2.65rem);letter-spacing:-.035em;line-height:1.12;margin:8px 0}h2{font-size:1.2rem;letter-spacing:-.02em;margin:0 0 12px}h3{font-size:1rem;margin:0 0 12px}p{line-height:1.5;margin:7px 0 16px}a{color:var(--green)}a:hover{color:#237658}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}input,select{background:#fff;border:1px solid #cedbd1;border-radius:10px;padding:12px;color:var(--dark);width:100%;outline-offset:2px}input:focus,select:focus{outline:2px solid #65a586}label{display:flex;flex-direction:column;gap:7px;font-weight:620;font-size:.92rem}hr{border:0;border-top:1px solid var(--border);margin:3px 0}summary{cursor:pointer;font-weight:650}details{padding:10px 0}details[open]>summary{margin-bottom:16px}
.topbar{background:var(--green);color:white}.top-inner{max-width:1160px;margin:auto;padding:17px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.brand{color:white;text-decoration:none;font-weight:800;letter-spacing:.12em;font-size:1.08rem}.brand span{vertical-align:middle}.topbar nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.topbar nav a,.nav-link{background:transparent;border:0;text-decoration:none;color:#eaf7ee;font-size:.9rem;padding:5px 0}.topbar nav a:hover,.nav-link:hover{color:white;text-decoration:underline}.topbar form{margin:0}.container{max-width:1160px;margin:0 auto;padding:34px 22px 72px}.footer{color:#84928b;padding:18px;text-align:center;font-size:.8rem}.narrow{max-width:560px;margin:30px auto}.lead{font-size:1.1rem;color:var(--gray)}.eyebrow{letter-spacing:.13em;text-transform:uppercase;color:#518b6a;font-weight:800;font-size:.72rem;margin:0 0 8px}.muted{color:var(--gray)}.small{font-size:.82rem}.alert{border-radius:12px;padding:14px 16px;margin:0 0 20px;font-size:.92rem;line-height:1.5}.alert.error{background:#fff1ee;border:1px solid #e8b6af;color:#9a3027}.alert.success{background:#e5f6eb;border:1px solid #b4ddc3;color:#175535}.alert.info{background:#eaf3fa;border:1px solid #cbdde8;color:#31556b}.error-text{color:var(--red)!important}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:26px}.heading p:last-child{color:var(--gray);margin-bottom:0}.card{border:1px solid var(--border);border-radius:18px;background:white;padding:24px;box-shadow:0 2px 8px rgba(13,46,32,.03);margin-bottom:18px}.stack{display:flex;flex-direction:column;gap:17px}.stack h2{margin:0}.stack p{margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d6e3da;border-radius:11px;background:white;color:var(--dark);font-size:.92rem;font-weight:700;padding:11px 17px;min-height:43px;text-decoration:none;text-align:center;line-height:1.2}.btn:hover{background:var(--mint);color:var(--dark)}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:#246a54;color:#fff}.btn.full{width:100%;margin:5px 0}.btn.smallbtn{min-height:35px;padding:8px 12px;font-size:.82rem}.textbtn{border:0;background:none;color:#426e59;text-decoration:underline;cursor:pointer;padding:6px;font-size:.86rem}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.columns{display:grid;grid-template-columns:minmax(250px,1fr) minmax(360px,1.5fr);gap:16px}.columns>*{align-self:start}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}.field-row>*{min-width:0}.align-end{align-self:end}.table-wrap{overflow-x:auto;width:100%}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:.91rem}th{background:#f4f8f5;color:#456453;font-weight:700;font-size:.78rem}th,td{padding:13px 11px;border-bottom:1px solid #eaf0ec}tbody tr:hover{background:#fafffb}tbody tr:last-child td{border-bottom:0}tr.total{font-weight:800;background:#edf6f0}td .small{display:block}.hole-table{max-width:560px}.hole-table input{max-width:115px;padding:8px}.tiny{max-width:100px;min-width:73px;padding:9px!important}.checkline{display:flex;flex-direction:row;gap:10px;align-items:center}.checkline input{width:auto}.round-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.round-link{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:var(--dark);gap:12px;margin:0;min-height:118px}.round-link:hover{border-color:#6fa68a;background:#fdfffd}.round-link p{margin:8px 0 0;font-size:.88rem}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row.between{justify-content:space-between}.gap{gap:9px}.arrow{font-size:1.35rem;color:var(--green)}.pill{background:#e7f3ea;border:1px solid #d4e9d9;border-radius:99px;padding:5px 9px;font-size:.72rem;font-weight:700;color:#296344;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.metric{border:1px solid var(--border);border-radius:16px;background:white;padding:19px;min-width:0}.metric span{display:block;color:var(--gray);font-size:.83rem;margin-bottom:9px}.metric strong{font-size:clamp(1.2rem,2vw,1.75rem);letter-spacing:-.035em}.player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.player-tile{border:1px solid var(--border);padding:12px;border-radius:12px;display:flex;flex-direction:row;align-items:center;gap:10px;cursor:pointer;font-size:.92rem}.player-tile:has(input:checked){border-color:#367856;background:#ebf8ef}.player-tile input{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}.player-tile small{display:block;font-weight:400;color:var(--gray);margin-top:4px}.fee-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.settings{border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.flight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.flight-card{border:1px solid var(--border);border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:8px}.flight-card h3{margin:0}.flight-card ol{margin:5px 0 12px;padding-left:23px;line-height:2}.flight-card li{padding-left:4px}.payment-row{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border)}.payment-row>div:first-child{flex:1}.payment-row>div:first-child span{display:block}.payment-row form{margin:0}.detail-list{font-size:.86rem;color:#52665c;line-height:1.9}.empty{padding:40px;text-align:center}
/* One-handed mobile scoring */
.score-layout{max-width:780px;margin:0 auto}.score-layout .heading{margin-bottom:20px}.scoring{padding:17px}.score-header{display:grid;grid-template-columns:50px 1fr 50px;align-items:center;text-align:center;gap:10px}.hole-title h2{font-size:1.9rem;margin:0 0 2px}.hole-title span:last-child{color:var(--gray);font-size:.88rem}.score-header button{padding:8px;min-height:52px;font-size:1.2rem}.hole-track{display:grid;grid-template-columns:repeat(9,1fr);gap:5px;margin:20px 0 8px}.hole-dot{border-radius:8px;border:1px solid #d7e1d9;background:#f5f8f6;min-height:35px;font-weight:700;color:#62786a;font-size:.85rem}.hole-dot.filled{background:#e1f2e7;color:#196444}.hole-dot.active{background:var(--green);color:white;border-color:var(--green)}.save-status{text-align:center;font-size:.83rem;color:#638471;min-height:18px;padding:3px 0 10px}.score-rows{display:flex;flex-direction:column;gap:11px;margin:6px 0 20px}.score-player{border:1px solid #e2e9e4;border-radius:13px;padding:12px;background:#fcfefc}.player-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.player-heading strong{font-size:1.02rem}.player-heading .muted{margin-left:3px}.badges{margin-left:auto;font-size:.74rem;font-weight:750}.badges.birdie{color:#19744b}.badges.warning{color:#9a6129}.score-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.step-label{text-align:center;color:var(--gray);font-size:.76rem;font-weight:700;margin-bottom:5px}.step-controls{display:flex;align-items:center;justify-content:center;gap:5px}.step-btn{background:#eaf2ec;border:0;border-radius:9px;color:var(--green);font-size:1.55rem;font-weight:700;min-width:40px;height:44px}.step-btn:hover{background:#d2e7d8}.number-score{font-size:1.16rem;font-weight:700;text-align:center;width:64px;min-width:0;height:44px;padding:4px;border-radius:9px;-moz-appearance:textfield;appearance:textfield}.number-score::-webkit-inner-spin-button,.number-score::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quick-btn{display:block;margin:11px auto 1px;border:0;background:transparent;color:#487961;font-size:.79rem;text-decoration:underline;padding:6px 10px}
@media(max-width:820px){.columns{grid-template-columns:1fr}.round-list{grid-template-columns:1fr}.flight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.container{padding:22px 13px 50px}.top-inner{padding:14px 13px}.topbar nav{gap:13px}.topbar nav a,.topbar nav button{font-size:.8rem}.heading{align-items:flex-start}.card{padding:16px;border-radius:14px}.metric{padding:14px}.metric strong{font-size:1.26rem}.field-row{grid-template-columns:1fr}.flight-grid{grid-template-columns:1fr}.player-grid{grid-template-columns:1fr 1fr}.fee-grid{grid-template-columns:1fr}.score-inputs{gap:6px}.step-btn{min-width:34px;width:34px;height:44px}.number-score{width:47px}.score-header{grid-template-columns:44px 1fr 44px}.score-player{padding:10px}.payment-row{gap:6px}.payment-row>strong{min-width:80px;text-align:right}.payform .btn{min-width:83px}}
@media print{body{background:white;color:black}.topbar,.footer,.print-hide,.btn,button{display:none!important}.container{max-width:none;padding:0}.card,.metric{box-shadow:none;border:1px solid #ccc;break-inside:avoid}.metrics{grid-template-columns:repeat(4,1fr)}.heading{margin-bottom:12px}details:not([open])>*{display:block}a{text-decoration:none;color:black}}
/* Course library v1.1 */
.course-list{display:flex;flex-direction:column;gap:8px}.course-entry{border:1px solid var(--border);border-radius:12px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.course-entry p{margin:5px 0 0}.course-entry .actions form{margin:0}.hole-table input{min-width:65px;max-width:96px}.hole-table th,.hole-table td{padding:8px 5px}

/* v1.3 – Karte & GPS */
.gps-heading{margin-bottom:16px}.gps-course-switch{display:flex;gap:14px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.gps-course-switch label{font-size:.84rem}.gps-course-switch select{width:min(500px,100%)}.gps-panel{border:1px solid var(--border);border-radius:18px;background:white;overflow:hidden;margin-bottom:18px;box-shadow:0 2px 8px rgba(13,46,32,.04)}.gps-toolbar{padding:14px;display:flex;align-items:end;flex-wrap:wrap;gap:10px}.gps-toolbar label{margin-right:auto;min-width:185px}.gps-toolbar select{width:100%}.gps-map-wrap{position:relative}.gps-map{height:clamp(360px,60vh,660px);width:100%;background:#e8e8e8}.gps-map-hint{position:absolute;bottom:22px;left:10px;z-index:450;max-width:min(420px,85%);background:#ffffffed;box-shadow:0 1px 7px #0002;padding:7px 12px;border-radius:9px;font-size:.76rem;color:#334b3a;pointer-events:none}.gps-status{padding:10px 16px;border-top:1px solid var(--border);font-size:.85rem;color:#315d47;line-height:1.4}.gps-error{color:#a93227!important}.gps-distances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 14px 0}.gps-distance{border:1px solid #d7e5d9;border-radius:14px;padding:14px 10px;text-align:center;min-width:0}.gps-distance.selected{background:#e9f4eb;border-color:#7eb78f}.gps-distance span{display:block;font-size:.79rem;color:#506c58}.gps-distance strong{display:block;font-size:clamp(1.35rem,4.4vw,2.1rem);font-variant-numeric:tabular-nums;margin-top:6px}.gps-panel>p{padding:0 17px 15px;margin:12px 0 0}.gps-search{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.gps-search label{flex:1;min-width:230px}.gps-editor-row{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.gps-editor-row label{min-width:160px;flex:1}.gps-marking{background:#9a4b21!important;color:white!important;border-color:#9a4b21!important}.gps-attribution{margin:4px 0 0}.gps-green-pin{display:flex;align-items:center;justify-content:center;border:3px solid white;color:white;font-size:14px;font-weight:800;border-radius:50%;height:32px;width:32px;box-shadow:0 2px 7px #0008}.gps-green-front{background:#316eb9}.gps-green-center{background:#12663f}.gps-green-back{background:#9c6034}.gps-user-dot{display:block;width:22px;height:22px;background:#1684e5;border:4px solid white;border-radius:50%;box-shadow:0 0 0 3px #1684e566,0 2px 5px #0006;margin:5px}.gps-user-icon{background:none;border:0}.gps-green-icon{background:none;border:0}
@media(max-width:600px){.gps-toolbar .btn{flex:1}.gps-toolbar label{flex-basis:100%}.gps-map{height:58vh;min-height:335px}.gps-distances{gap:5px;padding:8px}.gps-distance{padding:12px 5px}.gps-distance span{font-size:.72rem}.gps-editor-row>*{flex:1 1 100%}}

/* v1.4 – Flight-Auslosung und feste HCP-Werte */
.player-hcp{display:inline-block;color:#296344;background:#edf6ef;border-radius:7px;padding:3px 8px;margin-left:6px;font-size:.79rem;white-space:nowrap}
.si-locked{background:#e8f0e9;color:#315b41;font-weight:800;cursor:not-allowed}
.hole-dot{min-height:49px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px}
.hole-dot strong{line-height:1.1;font-size:.96rem}
.hole-dot small{font-size:.56rem;letter-spacing:.01em;line-height:1.1;opacity:.9}
.hole-reference details{padding:0}.hole-reference details[open] summary{margin-bottom:14px}
.hole-reference .table-wrap{max-height:460px;overflow-y:auto}
@media(max-width:520px){.hole-track{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.hole-dot{min-height:48px}.hole-dot small{font-size:.58rem}.player-hcp{margin-left:0;display:block;width:max-content;margin-top:4px}}

/* v1.4.3: Standortberechtigung auf Smartphones */
.gps-status-line{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:9px 13px;flex-wrap:wrap}
.gps-status-line .gps-status{padding:0;border:0;flex:1;min-width:230px}
.gps-help-button{font-size:.82rem;white-space:nowrap}
.gps-permission-help{padding:14px 16px;background:#f2f7f2;border-top:1px solid var(--border);font-size:.86rem;line-height:1.5}
.gps-permission-help p{margin:8px 0}
.gps-permission-help[hidden]{display:none}
@media(max-width:600px){.gps-status-line .gps-status{flex:1 1 100%;min-width:0}.gps-help-button{width:100%}}

/* Zockerrunde 1.4.4 – Passwortspeicherung und vertrauenswuerdiges Geraet */
.password-save-dialog{border:1px solid #d8e9dd;border-radius:20px;box-shadow:0 24px 90px rgba(8,34,21,.28);padding:24px;max-width:min(510px,calc(100vw - 28px));width:100%;color:var(--dark)}
.password-save-dialog::backdrop{background:rgba(9,31,22,.72)}
.password-save-dialog h2{font-size:1.35rem;line-height:1.25;margin:12px 0}
.password-save-dialog p{line-height:1.55}
.password-save-dialog .alert{margin-top:14px}
.password-save-dialog form{margin-top:20px}
.password-save-icon{font-size:2rem}
.checkline span{line-height:1.4}
@media(max-width:520px){.password-save-dialog{padding:19px;border-radius:16px}}
/* Zockerrunde v1.6: private, short-lived member onboarding */
.registration-qr-wrap {display:flex;align-items:center;flex-direction:column;gap:10px;padding:20px 12px;background:#f4f8f5;border-radius:16px;border:1px solid #d9e8de;}
#registration-qr {background:#fff;padding:14px;border-radius:12px;min-height:220px;min-width:220px;display:flex;align-items:center;justify-content:center;}
#registration-qr svg {max-width:100%;}
#registration-invite-url {font-size:.9rem;}


/* v1.6.1 – iPhone / Android: all screens, touch navigation, safe areas */
html{min-width:0;-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:70px}
body{min-width:0;overflow-wrap:break-word}
.top-inner,.container,.card,.flight-card,.metric,.gps-panel,.course-entry{min-width:0}
input,select,button,textarea{max-width:100%}
input[type="checkbox"]{width:21px;height:21px;min-width:21px;accent-color:var(--green)}
input[type="file"]{white-space:normal;overflow:hidden}
a,button,input,select,summary{-webkit-tap-highlight-color:rgba(22,75,61,.16)}
:where(a,button,input,select,summary,textarea):focus-visible{outline:3px solid #298b64;outline-offset:3px}
.mobile-nav{display:none}
.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.table-wrap table{min-width:max-content}
.table-wrap .hole-table{min-width:335px}
.table-scroll-hint{margin:5px 0 10px;font-size:.79rem;color:#596d60;display:none}
.homescreen-tip{display:none}
.score-nav-actions{gap:10px}
.score-nav-actions .btn{flex:1 1 0}
.gps-distance strong{white-space:nowrap}
@media(max-width:900px){
  .desktop-nav{display:none}
  .top-inner{flex-wrap:nowrap;min-height:60px;padding:12px max(14px,env(safe-area-inset-right)) 12px max(14px,env(safe-area-inset-left));gap:10px}
  .brand{font-size:1rem;letter-spacing:.07em;white-space:nowrap}
  .mobile-nav{display:block;position:relative;flex:none;margin-left:auto;padding:0}
  .mobile-nav > summary{list-style:none;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:750;border:1px solid #ffffff75;border-radius:10px;min-height:46px;padding:10px 13px;cursor:pointer;white-space:nowrap}
  .mobile-nav > summary::-webkit-details-marker{display:none}
  .mobile-nav[open]>summary{background:#ffffff1b}
  .mobile-nav-panel{position:absolute;right:0;top:calc(100% + 9px);width:min(290px,calc(100vw - 26px));z-index:1200;border-radius:15px;background:#fff;box-shadow:0 14px 42px #00180e50;border:1px solid #dce7df;padding:9px}
  .mobile-nav-panel nav{display:flex;flex-direction:column;align-items:stretch;gap:2px}
  .mobile-nav-panel nav a,.mobile-nav-panel .nav-link{display:flex;width:100%;align-items:center;text-decoration:none;color:#153229;font-size:1rem;font-weight:650;min-height:47px;padding:11px 14px;border-radius:8px}
  .mobile-nav-panel nav a:hover,.mobile-nav-panel .nav-link:hover{background:#e8f3ed;color:#153229;text-decoration:none}
  .mobile-nav-panel nav form{width:100%;margin:0}
  .mobile-nav-panel .nav-link{text-align:left;cursor:pointer}
  .mobile-nav-panel nav a[aria-current="page"]{background:#e8f3ed}
}
@media(max-width:650px){
  .container{padding:20px max(13px,env(safe-area-inset-right)) calc(60px + env(safe-area-inset-bottom)) max(13px,env(safe-area-inset-left))}
  h1{font-size:clamp(1.55rem,7vw,2rem);line-height:1.17;overflow-wrap:anywhere}
  h2{line-height:1.28}
  p{overflow-wrap:anywhere}
  .heading{margin-bottom:18px;gap:12px}
  .heading>.btn,.heading>.actions{width:100%}
  .heading .actions .btn{flex:1}
  .heading p{margin-bottom:4px}
  .card{padding:16px;margin-bottom:14px}
  .narrow{margin:10px auto}
  .btn{min-height:48px;padding:12px 14px;font-size:.98rem}
  .btn.smallbtn{min-height:44px;padding:10px 12px;font-size:.86rem}
  .textbtn{min-height:44px}
  input:not([type="checkbox"]), select, textarea{min-height:48px;font-size:16px;padding:11px 12px}
  .hole-table input:not([type="checkbox"]){padding:8px 6px;min-height:44px;font-size:16px}
  .hole-table th,.hole-table td{padding:9px 5px}
  .field-row{grid-template-columns:1fr}
  .round-list,.columns,.flight-grid,.fee-grid{grid-template-columns:minmax(0,1fr)}
  .player-grid{grid-template-columns:minmax(0,1fr)}
  .player-tile{min-height:56px;padding:12px 14px;align-items:center}
  .player-tile input{width:23px;height:23px;flex-shrink:0}
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .metric{padding:12px}
  .metric strong{font-size:1.25rem}
  .actions{gap:9px}
  .flight-card{padding:16px}
  .flight-card select{width:100%}
  .table-wrap:not(.members-table) table{min-width:540px}
  .table-wrap .hole-table{min-width:350px!important}
  .table-scroll-hint[data-overflow="yes"]{display:block}
  .course-entry{align-items:stretch}
  .course-entry>.actions{width:100%}
  .course-entry>.actions>.btn,.course-entry>.actions>form{flex:1 1 auto}
  .course-entry>.actions>form>.btn{width:100%}
  .members-table{overflow:visible}
  .members-table table,.members-table tbody,.members-table tr,.members-table td{display:block;min-width:0;width:100%;white-space:normal}
  .members-table thead{display:none}
  .members-table tr{border:1px solid var(--border);border-radius:12px;padding:12px;margin:0 0 10px;background:#fff}
  .members-table td{padding:4px 0;border:0;font-size:.93rem}
  .members-table td:first-child{font-size:1rem;margin-bottom:4px}
  .members-table td:nth-child(2)::before{content:"Login: ";color:var(--gray)}
  .members-table td:nth-child(3)::before{content:"Status: ";color:var(--gray)}
  .members-table td:nth-child(4){margin-top:9px}
  .members-table td:nth-child(4)>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  .members-table td:nth-child(4)>.actions form{margin:0}
  .members-table td:nth-child(4)>.actions .btn{width:100%;height:100%;min-height:44px}
  .payment-row{flex-wrap:wrap;align-items:center}
  .payment-row>div:first-child{min-width:130px}
  .payment-row>strong{margin-left:auto}
  .payment-row form{width:100%}
  .payment-row form button{width:100%}
  .scoring{padding:12px}
  .score-header{position:sticky;top:0;z-index:5;background:#fff;padding:8px 0 11px;border-bottom:1px solid #eaf0ec;grid-template-columns:48px minmax(0,1fr) 48px}
  .score-header button{min-height:48px}
  .hole-title h2{font-size:1.65rem}
  .hole-title span:last-child{font-size:.8rem}
  .hole-track{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:14px}
  .hole-dot{min-width:0;min-height:49px;padding:3px 0}
  .score-player{padding:11px}
  .step-controls{gap:4px}
  .step-btn{min-width:44px;width:44px;height:48px;flex:0 0 44px}
  input.number-score{width:auto;min-width:0;flex:1 1 0;max-width:68px;height:48px;min-height:48px;font-size:18px;padding:3px}
  .score-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .score-nav-actions{position:sticky;bottom:0;z-index:6;background:#fffffff0;backdrop-filter:blur(8px);padding:12px 4px max(12px,env(safe-area-inset-bottom));border-top:1px solid #d7e6dc;margin:0 -3px -5px}
  .score-nav-actions .btn{min-height:52px;padding:10px 8px}
  .gps-toolbar{align-items:stretch;padding:12px}
  .gps-toolbar label{flex-basis:100%;min-width:0}
  .gps-toolbar .btn{flex:1 1 calc(50% - 5px);min-height:48px}
  .gps-panel{display:flex;flex-direction:column}
  .gps-panel .gps-toolbar{order:0}
  .gps-panel .gps-distances{order:1;padding:10px;gap:5px}
  .gps-panel .gps-map-wrap{order:2}
  .gps-panel .gps-status-line{order:3}
  .gps-panel .gps-permission-help{order:4}
  .gps-panel>p{order:5}
  .gps-distance{padding:10px 4px}
  .gps-distance strong{font-size:clamp(1.25rem,5.1vw,1.7rem)}
  .gps-distance span{font-size:.72rem}
  .gps-map{height:54vh;height:54dvh;min-height:300px}
  .gps-map-hint{bottom:12px;left:8px;right:8px;max-width:none}
  .gps-status-line{padding:10px 12px;gap:8px}
  .gps-status-line .gps-status{min-width:0}
  #registration-qr{min-width:0;max-width:100%;min-height:180px;padding:10px}
  .registration-qr-wrap{padding:12px 8px}
  #registration-invite-url{font-size:16px}
  .password-save-dialog{max-height:calc(100dvh - 30px);overflow-y:auto;padding:18px}
  .homescreen-tip{display:block;margin-top:18px;font-size:.84rem;color:var(--gray)}
}
@media(max-width:390px){
  .brand{font-size:.91rem;letter-spacing:.04em}
  .top-inner{padding-left:10px;padding-right:10px}
  .score-inputs{grid-template-columns:minmax(0,1fr)}
  .stepper{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:5px}
  .step-label{text-align:left;margin:0;font-size:.85rem}
  .step-controls{justify-content:space-between}
  input.number-score{max-width:90px}
  .score-player{padding:10px}
  .hole-dot small{font-size:.55rem}
  .members-table td:nth-child(4)>.actions{grid-template-columns:1fr}
}
@media(max-width:340px){
  .metrics{grid-template-columns:1fr}
  .brand{font-size:.83rem}
  .mobile-nav>summary{padding:8px 10px}
  .score-header{grid-template-columns:44px minmax(0,1fr) 44px}
}
@media(orientation:landscape) and (max-height:480px){
  .gps-map{height:68vh;min-height:220px}
  .score-header{position:static}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
@media print{.mobile-nav,.table-scroll-hint,.homescreen-tip{display:none!important}}

/* Separate flight-internal team match (v1.7.0) */
.match-panel {border:1px solid var(--border,#d5e0dc);border-radius:14px;padding:16px;margin-top:12px;}
.match-panel form {margin-top:12px;}
.match-saldo {font-size:clamp(1.3rem,6vw,2rem);font-weight:800;letter-spacing:-.03em;color:#145544;}
#team-match-card .table-wrap {max-height:310px;overflow:auto;}
@media(max-width:600px){.match-panel {padding:12px;}#team-match-card td,#team-match-card th {padding:8px 10px;white-space:nowrap;}}

/* v1.7.1: Compact mobile team match preview before start */
.draw-match-preview{padding:12px;border:1px solid #d5e4dc;border-radius:12px;background:#f4f8f5;margin:12px 0}.draw-match-preview p{margin:5px 0}.draw-match-preview strong{display:block;margin-bottom:5px}

/* v1.7.2 – FAQ and protected administrator round removal */
.round-entry{margin:0;padding:0;display:flex;flex-direction:column;min-width:0;overflow:hidden;}
.round-entry .round-link{padding:18px 20px;min-height:94px;min-width:0;}
.round-entry-actions{display:flex;justify-content:flex-end;padding:0 16px 12px;}
.round-entry-actions .btn{min-height:44px;}
.btn.danger-outline{border-color:#e0b8b7;color:#9f332f;background:#fff;}
.btn.danger-outline:hover{background:#fff3f2;color:#8c2420;}
.btn.danger{border-color:#9d312d;background:#a92c26;color:#fff;}
.btn.danger:hover{background:#8c2420;color:#fff;}
.round-delete-shortcut{margin:0 0 18px;text-align:right;}
.delete-round-panel{max-width:770px;margin-inline:auto;}
.delete-round-panel .alert.error{margin:0;}

.faq-search{max-width:860px;display:flex;flex-direction:column;gap:10px;}
.faq-search input{font-size:16px;}
.faq-search p{margin:0;}
.faq-sections{max-width:860px;}
.faq-section h2{margin:0 0 15px;font-size:1.13rem;}
.faq-entry{border-top:1px solid var(--border);}
.faq-entry summary{cursor:pointer;list-style:none;padding:15px 29px 15px 0;position:relative;font-weight:700;line-height:1.5;min-height:48px;}
.faq-entry summary::-webkit-details-marker{display:none;}
.faq-entry summary::after{content:'+';position:absolute;right:2px;top:12px;font-size:1.4rem;color:var(--green);}
.faq-entry[open] summary::after{content:'−';}
.faq-answer{padding:0 18px 17px 0;color:#425d50;line-height:1.65;}
.faq-entry[hidden],.faq-section[hidden],#faq-no-results[hidden]{display:none!important;}
@media(max-width:520px){
  .round-entry .round-link{padding:16px;min-height:86px;}
  .round-entry-actions{padding:0 12px 12px;}
  .delete-round-panel .actions{flex-direction:column-reverse;align-items:stretch;}
  .delete-round-panel .actions .btn{width:100%;min-height:50px;}
  .faq-section{padding:16px;}
  .faq-entry summary{font-size:.93rem;}
}
@media print{.round-entry-actions,.round-delete-shortcut,.faq-search{display:none!important}}

/* v1.7.3 GPS – compact, one-hand navigation (iOS Safari & Android Chrome) */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gps-heading{margin-bottom:10px}
.gps-heading h1{font-size:clamp(1.55rem,5vw,2.1rem)}
.gps-toolbar{display:flex;gap:9px;align-items:end;padding:12px}
.gps-toolbar>label{flex:1 1 210px;min-width:130px}
.gps-hole-buttons{display:flex;gap:6px}
.gps-hole-step{min-width:48px;width:48px;font-size:1.8rem!important;padding:4px!important;line-height:1.15}
.gps-map-switch{min-width:83px}
.gps-map-wrap{isolation:isolate}
.gps-map{height:min(62dvh,660px);min-height:310px}
.gps-floating-tools{position:absolute;z-index:600;right:12px;top:70px;display:flex;flex-direction:column;gap:10px}
.gps-float-btn{display:grid;place-items:center;width:52px;height:52px;background:#fff;color:#164b3d;border:1px solid #c8d8ce;border-radius:16px;font-size:1.55rem;box-shadow:0 3px 15px #0003;cursor:pointer;touch-action:manipulation}
.gps-float-btn:focus-visible{outline:3px solid #2b9bcb;outline-offset:2px}
.gps-map-hint[hidden]{display:none!important}
.gps-status-line{display:flex;gap:10px;align-items:center;padding:10px 12px;min-height:66px;background:#f4f8f5}
.gps-status-symbol{display:grid;place-items:center;min-width:30px;width:30px;height:30px;border-radius:50%;background:#e1eee5;color:#1b6847;font-weight:800}
.gps-status-line[data-state=error]{background:#fff8f6}
.gps-status-line[data-state=error] .gps-status-symbol{background:#f8e1db;color:#a12f2b}
.gps-status-line .gps-status{padding:0;min-width:0;flex:1;font-size:.84rem;line-height:1.35}
.gps-help-button{flex:0 0 auto;min-height:44px;padding:8px 12px;border-radius:10px}
.gps-permission-help{padding:12px 15px;background:#f4f8f5;font-size:.86rem;line-height:1.5}
.gps-permission-help[hidden]{display:none!important}
.gps-permission-help p{margin:6px 0 12px}
.gps-help-actions{display:flex;gap:8px;flex-wrap:wrap}
.gps-help-actions .btn{min-height:45px}
.gps-distances{gap:7px;padding:12px}
.gps-distance{padding:12px 4px}
.gps-distance span{font-size:.75rem}
.gps-distance strong{font-size:clamp(1.4rem,5vw,1.85rem);white-space:nowrap}
@media(max-width:650px){
 .gps-heading p{font-size:.84rem}
 .gps-panel .gps-toolbar{display:flex;gap:8px;padding:10px;align-items:center}
 .gps-panel .gps-toolbar label{flex:1 1 100%;min-width:0}
 .gps-hole-buttons{flex:1 1 auto}
 .gps-hole-step{flex:1 1 auto;width:auto;min-width:50px;min-height:46px}
 .gps-panel .gps-map-switch{flex:0 0 auto;min-height:46px}
 .gps-panel .gps-distances{order:1;padding:10px 8px;gap:6px}
 .gps-panel .gps-map-wrap{order:2}
 .gps-panel .gps-status-line{order:3;flex-wrap:nowrap;gap:8px}
 .gps-panel .gps-permission-help{order:4}
 .gps-panel>p{order:5}
 .gps-map{height:56dvh;min-height:290px}
 .gps-floating-tools{top:60px;right:10px}
 .gps-float-btn{width:48px;height:48px}
 .gps-status-line .gps-status{flex:1 1 auto;min-width:0}
 .gps-help-button{width:auto;min-width:66px;max-width:120px;font-size:.78rem;white-space:normal}
 .gps-distance strong{font-size:clamp(1.23rem,5vw,1.7rem)}
 .gps-distance span{font-size:.68rem}
}
@media(max-width:360px){.gps-distance span{font-size:.61rem}.gps-map{min-height:265px}.gps-toolbar label{font-size:.85rem}}

/* Zockerrunde 1.7.4: compact Matchplay on the mobile scoring screen */
.match-live-panel[hidden]{display:none!important}
.match-live-panel{margin:12px 0 14px;padding:14px;border:1px solid #b8d7c7;border-radius:16px;background:#eef7f0;min-width:0}
.match-live-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;font-size:.91rem;color:#153f32}
.match-live-teams{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px}
.match-live-team{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px;background:#fff;border-radius:10px;font-size:.82rem;overflow-wrap:anywhere}
.match-live-team strong{color:#165442;letter-spacing:.04em;font-size:.78rem}
.match-live-score{display:flex;align-items:center;justify-content:center;gap:14px;margin:12px 0;text-align:center;flex-wrap:wrap}
.match-live-number{font-size:clamp(2rem,9vw,3.4rem);line-height:1;font-variant-numeric:tabular-nums;color:#17533f}
.match-live-score span{font-size:.9rem;font-weight:600;max-width:230px}
.match-hole-status{padding:10px;background:#dceee2;border-radius:9px;font-size:.85rem;font-weight:600;line-height:1.4}
.match-live-details{margin-top:10px;font-size:.82rem}
.match-live-details summary{cursor:pointer;font-weight:650;padding:7px 0;min-height:40px}
.match-live-details .table-wrap{max-height:275px;overflow:auto}
.match-live-details th,.match-live-details td{padding:7px 8px;white-space:nowrap}
@media(max-width:390px){.match-live-panel{padding:10px}.match-live-teams{gap:7px}.match-live-team{padding:8px}}

/* Zockerrunde v1.7.4 – clear, accessible gross-score color bands. */
.golf-score{font-weight:800;color:#163b2e;border:1px solid transparent}
.golf-score-eagle{background:#fef1a8!important;color:#563900!important;border-color:#e6bb3b!important}
.golf-score-birdie{background:#ffe0e3!important;color:#8a1732!important;border-color:#e99fad!important}
.golf-score-par{background:#dff4e6!important;color:#165b37!important;border-color:#a0d6b1!important}
.golf-score-bogey{background:#dbeafe!important;color:#174c80!important;border-color:#9bbce9!important}
.golf-score-double{background:#e8ddf9!important;color:#543178!important;border-color:#b7a1d4!important}
.golf-score-open{background:#f6f8f6;color:#64756a;border-color:#dce5df}
.score-current-label{border-radius:7px;padding:4px 8px;font-size:.75rem;white-space:nowrap}
input.number-score.golf-score{border-width:2px;transition:background-color .12s ease}
.score-overview{margin-top:16px}
.score-overview details summary{cursor:pointer;font-size:1.04rem;font-weight:750;min-height:44px;display:flex;align-items:center}
.score-overview details[open] summary{margin-bottom:8px}
.score-legend{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 18px}
.score-legend .golf-score{display:inline-flex;min-height:30px;align-items:center;border-radius:7px;padding:4px 7px;font-size:.72rem}
.colored-scorecards{display:grid;gap:15px}
.colored-scorecard-player{min-width:0;border:1px solid #e6ece7;border-radius:12px;padding:9px;background:white}
.colored-scorecard-name{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;margin-bottom:9px;align-items:center}
.colored-scorecard-name strong{font-size:.94rem}
.colored-scorecard-half{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;margin-top:4px}
.colored-scorecard-cell{padding:4px 0 5px;min-width:0;min-height:50px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:1px solid transparent;border-radius:7px;cursor:pointer;touch-action:manipulation}
.colored-scorecard-cell small{font-size:.64rem;line-height:1.1;opacity:.85;font-weight:600}
.colored-scorecard-cell strong{font-size:1.05rem;line-height:1.15;font-variant-numeric:tabular-nums}
.colored-scorecard-cell.selected{outline:2px solid #134837;outline-offset:1px}
.colored-scorecard-cell:focus-visible{outline:3px solid #175c9e;outline-offset:1px}
@media(max-width:400px){.colored-scorecard-player{padding:7px}.colored-scorecard-half{gap:3px}.colored-scorecard-cell{min-height:46px}.colored-scorecard-cell small{font-size:.58rem}.colored-scorecard-cell strong{font-size:.97rem}.score-legend .golf-score{font-size:.68rem}}

/* v1.7.5: prominent single-checkbox deletion confirmation, touch-friendly */
.delete-round-panel .checkline{display:flex;align-items:flex-start;gap:12px;line-height:1.5;}
.delete-round-panel .checkline input[type="checkbox"]{width:22px;height:22px;min-width:22px;min-height:22px;margin-top:1px;accent-color:#a92c26;cursor:pointer;}
.delete-round-panel .checkline span{flex:1;}

/* v1.7.6: Always reachable return to the current LIVE scoring flight. */
.scoring-return {
  position:fixed;z-index:1250;bottom:calc(18px + env(safe-area-inset-bottom));right:20px;
  display:flex;gap:10px;align-items:center;justify-content:center;
  min-height:56px;max-width:calc(100vw - 26px);padding:10px 18px;
  border-radius:999px;background:#164b3d;color:#fff!important;
  box-shadow:0 5px 26px rgba(10,38,25,.29);border:2px solid #fff;
  font-weight:800;text-decoration:none;font-size:1rem;line-height:1.15;
}
.scoring-return:hover,.scoring-return:focus-visible {background:#226d50;color:#fff!important;}
.scoring-return-icon{font-size:1.35rem;line-height:1}
.scoring-return-flight{font-weight:600;font-size:.76rem;opacity:.87}
body.has-scoring-return .container{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
body.has-scoring-return .footer{padding-bottom:calc(85px + env(safe-area-inset-bottom))}
@media(max-width:650px){
  .scoring-return{left:13px;right:13px;bottom:calc(8px + env(safe-area-inset-bottom));min-height:58px;font-size:1.08rem;}
  .scoring-return-flight{margin-left:auto;font-size:.82rem}
  body.has-scoring-return .container{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
}
@media print{.scoring-return{display:none!important}}

/* v1.8.0: finger-friendly test mode + feedback */
.feedback-item{border:1px solid #dee8e1;border-radius:12px;padding:15px;margin-bottom:12px;min-width:0;overflow-wrap:anywhere}
.feedback-item p{margin:8px 0}
.feedback-item details{margin-top:12px;padding:9px;border-radius:10px;background:#f4f8f5}
.feedback-item summary{cursor:pointer;min-height:40px;font-weight:700}
.preserve-lines{white-space:pre-line;overflow-wrap:anywhere}

/* v1.8.1: friendly PWA install panel, compact on iPhone and Android. */
.pwa-install-menu[hidden]{display:none!important}
.pwa-install-dialog{border:0;border-radius:22px;padding:0;width:min(92vw,460px);max-height:min(86dvh,750px);color:var(--dark);box-shadow:0 18px 70px rgba(0,0,0,.24);overflow:auto}
.pwa-install-dialog::backdrop{background:rgba(8,35,24,.60);backdrop-filter:blur(2px)}
.pwa-install-content{padding:24px;display:flex;flex-direction:column;gap:13px}
.pwa-install-brand{display:flex;align-items:center;gap:14px}
.pwa-install-brand img{width:66px;height:66px;border-radius:15px;flex:none}
.pwa-install-brand h2{font-size:1.26rem;margin:3px 0 0;line-height:1.23}
.pwa-install-content p{margin:0;line-height:1.48}
.pwa-install-content .eyebrow{font-size:.68rem}
.pwa-install-instructions{border-radius:13px;padding:13px;background:var(--mint);font-size:.93rem;line-height:1.5}
.pwa-install-instructions[hidden]{display:none}
.pwa-install-instructions ol{padding-left:23px;margin:9px 0 7px}
.pwa-install-instructions li{margin:7px 0}
.pwa-install-instructions p{font-size:.84rem;margin-top:7px}
.pwa-install-actions{display:flex;flex-direction:column;gap:6px}
.pwa-install-actions .btn{min-height:49px;margin:0}
.pwa-install-note{font-size:.8rem}
@media(max-width:520px){.pwa-install-dialog{width:calc(100% - 24px);max-height:86dvh;border-radius:18px}.pwa-install-content{padding:20px}.pwa-install-brand img{width:58px;height:58px}.pwa-install-brand h2{font-size:1.13rem}}

/* v1.8.2: iPhone status bar, readable dashboard and 4-tab navigation */
@media (display-mode: standalone){
  .topbar{padding-top:max(44px,env(safe-area-inset-top,0px));}
}
.mobile-dock{display:none}
.home-actions{display:flex;gap:10px;flex-wrap:wrap}
.home-score-main{min-height:58px;font-size:1.08rem}
.player-home-card{border:2px solid #9ccfb1}
.score-save-tools{border-radius:12px;background:#edf6ef;padding:9px 12px;margin:12px 0}
.score-save-tools .save-status{margin:0;padding:3px 0;font-weight:700;line-height:1.4}
.save-status.score-awaiting{color:#8a510b}
.score-save-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.score-save-actions .btn[hidden]{display:none}
.member-link-request{padding:12px;border:1px solid #d3e4d7;border-radius:12px;line-height:1.6}
@media(max-width:900px){
  .mobile-dock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:1500;background:#fff;border-top:1px solid #d8e4d9;box-shadow:0 -3px 18px #183e2520;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));gap:5px}
  .mobile-dock a{min-height:55px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;border-radius:12px;text-decoration:none;font-size:1.55rem;color:#1a4736;font-weight:800;line-height:1}
  .mobile-dock a span{font-size:.73rem;line-height:1.2}
  .mobile-dock .mobile-dock-score{background:#164b3d;color:#fff}
  body.has-mobile-dock .container{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  body.has-mobile-dock .footer{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  .home-actions .btn{flex:1 1 135px}
}
@media(max-width:400px){.mobile-dock a{font-size:1.3rem}.mobile-dock a span{font-size:.68rem}.score-inputs{gap:7px}.number-score{min-width:47px}.step-btn{min-width:44px}}
@media print{.mobile-dock{display:none!important}}

/* v1.8.3: Flight Matchplay remains compact until the user opens the details. */
.match-board-collapsible{min-width:0}
.match-board-summary{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;
  cursor:pointer;list-style:none;min-height:48px;
  border:1px solid #d5e4db;border-radius:12px;padding:10px 14px;
  background:#f2f8f3;color:#143f33;
}
.match-board-summary::-webkit-details-marker{display:none}
.match-board-summary:focus-visible{outline:3px solid #198b64;outline-offset:3px}
.match-board-title{font-size:.95rem;font-weight:750}
.match-board-score{font-weight:800;font-variant-numeric:tabular-nums;color:#17533f}
.match-board-count{color:#546c60;font-size:.85rem}
.match-board-toggle{font-size:.84rem;color:#17533f;margin-left:auto;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.match-board-hide{display:none}
.match-board-collapsible[open] .match-board-show{display:none}
.match-board-collapsible[open] .match-board-hide{display:inline}
.match-board-collapsible[open] .match-board-summary{border-radius:12px 12px 0 0}
.match-board-content{border:1px solid #d5e4db;border-top:0;border-radius:0 0 12px 12px;padding:12px 14px;min-width:0}
.match-board-content .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:620px){
  .match-board-summary{gap:7px 10px;padding:12px;}
  .match-board-title{flex-basis:100%}
  .match-board-score{font-size:.93rem}
  .match-board-count{font-size:.8rem}
  .match-board-toggle{flex-basis:100%;text-align:right;margin-left:0;min-height:25px}
  .match-board-content{padding:10px}
  .match-board-content td,.match-board-content th{white-space:nowrap}
}

/* v1.8.4: reachable round completion + mobile-friendly orientation control */
.finish-cta{border:1px solid #b8d6c4;background:#f0f8f2;margin:18px 0}
.finish-cta .btn{min-height:50px;display:inline-flex;align-items:center;justify-content:center}
.finish-flight{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:15px 0;border-bottom:1px solid #dce5df}
.finish-flight:last-child{border:0}.finish-flight .actions{display:flex;flex-wrap:wrap;gap:8px}
.finish-flight p{margin:5px 0 0}.finish-confirm{display:flex;gap:10px;align-items:flex-start;font-weight:600;line-height:1.5}
.finish-confirm input{width:22px;height:22px;flex-shrink:0;margin-top:1px}
.gps-orientation-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 14px 12px}
.gps-orientation-toolbar button{min-height:48px;min-width:165px}
.gps-orientation-toolbar span{flex:1;min-width:150px}
.gps-green-tee{background:#e8b12f!important;color:#241d05!important}
@media(max-width:500px){.finish-cta .btn{width:100%}.gps-orientation-toolbar button{width:100%}.gps-orientation-toolbar span{font-size:.82rem}.finish-flight .actions{width:100%}.finish-flight .actions>a{flex:1}.finish-flight .actions form{flex:1}.finish-flight .actions form button{width:100%}}


/* v1.8.5: all four players on ONE screen; native touch wheels for strokes and putts. */
.score-rows.score-wheel-board{display:block;margin:10px 0 16px;min-width:0;overflow:hidden}
.score-wheel-board .wheel-grid{display:grid;grid-template-columns:repeat(var(--flight-players,4),minmax(0,1fr));gap:8px;min-width:0}
.score-wheel-board .wheel-player-headings{margin:0 0 8px}
.score-wheel-board .wheel-player-head{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;padding:4px 1px;}
.score-wheel-board .wheel-player-initials{height:42px;width:42px;display:grid;place-items:center;border-radius:50%;font-weight:800;background:#e3f0e7;color:#11573e;font-size:1rem}
.score-wheel-board .wheel-player-name{display:block;max-width:100%;font-weight:750;font-size:clamp(.7rem,1.9vw,.98rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.score-wheel-board .wheel-player-hcp{font-size:.69rem;color:#597265}
.score-wheel-board .wheel-player-badge{min-height:18px;border-radius:7px;padding:2px 4px;font-size:.65rem;line-height:1.1;color:#62766b}
.score-wheel-board .wheel-player-badge.is-birdie{background:#d8f4df;color:#176542;font-weight:700}
.score-wheel-board .wheel-player-badge.is-penalty{background:#fff0db;color:#955c12;font-weight:700}
.score-wheel-board .wheel-player-badge.is-done{color:#176542}
.score-wheel-board .wheel-row-title{font-weight:800;color:#164b3d;text-align:center;font-size:.95rem;margin:8px 0 6px}
.score-wheel-board .wheel-picker-grid{margin-bottom:10px}
.score-wheel-board .score-wheel-cell{min-width:0;position:relative;isolation:isolate;}
.score-wheel-board .score-wheel{height:132px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scroll-padding:44px 0;padding:44px 0;border-radius:14px;background:linear-gradient(#f2f4f3,#fff 35%,#fff 65%,#f2f4f3);scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-y;outline-offset:2px;position:relative;z-index:2;}
.score-wheel-board .score-wheel::-webkit-scrollbar{display:none}
.score-wheel-board .score-wheel-option{height:44px;line-height:44px;scroll-snap-align:center;text-align:center;white-space:nowrap;font-weight:600;color:#a7b0ac;font-size:1rem;user-select:none;-webkit-user-select:none;cursor:pointer;font-variant-numeric:tabular-nums}
.score-wheel-board .score-wheel-option.is-selected{color:#142e25;font-size:1.65rem;font-weight:850}
.score-wheel-board .score-wheel.golf-score-eagle .is-selected{color:#6c4a00}
.score-wheel-board .score-wheel.golf-score-birdie .is-selected{color:#8c1733}
.score-wheel-board .score-wheel.golf-score-par .is-selected{color:#14683b}
.score-wheel-board .score-wheel.golf-score-bogey .is-selected{color:#1c5482}
.score-wheel-board .score-wheel.golf-score-double .is-selected{color:#643c86}
.score-wheel-board .score-wheel-focus{position:absolute;inset:44px 0 auto; height:44px;border:2px solid #4f9b7e;border-radius:12px;background:#e8f3ed87;pointer-events:none;z-index:3}
.score-wheel-board .score-wheel.golf-score-eagle~.score-wheel-focus{background:#fef1a8a8;border-color:#d3ae43}
.score-wheel-board .score-wheel.golf-score-birdie~.score-wheel-focus{background:#ffe0e3aa;border-color:#b76477}
.score-wheel-board .score-wheel.golf-score-par~.score-wheel-focus{background:#dff4e6a6;border-color:#65ad83}
.score-wheel-board .score-wheel.golf-score-bogey~.score-wheel-focus{background:#dbeafea6;border-color:#6290bd}
.score-wheel-board .score-wheel.golf-score-double~.score-wheel-focus{background:#e8ddf9a6;border-color:#8e76b5}
.score-wheel-board .wheel-quick-grid{margin:5px 0 0}
.score-wheel-board .wheel-quick{height:43px;border:1px solid #c9ded0;border-radius:10px;background:#f3faf5;color:#17543b;font-weight:750;font-size:.75rem;padding:4px 2px}
.score-wheel-board .wheel-quick:focus-visible{outline:3px solid #248e68;outline-offset:2px}
.score-wheel-board .wheel-hint{text-align:center;margin:8px 0 2px;font-size:.78rem;line-height:1.35}
.score-wheel-board .score-wheel-readonly{height:66px;display:flex;align-items:center;justify-content:center;border:1px solid #dae5de;background:#f2f7f4;border-radius:12px;font-size:1.45rem;font-weight:800;font-variant-numeric:tabular-nums}
/* Force a four-column grid even under the old <=390px one-column scoring rules. */
@media(max-width:650px){
 .scoring{padding:10px}
 .score-wheel-board .wheel-grid{gap:5px}
 .score-wheel-board .wheel-player-initials{width:34px;height:34px;font-size:.82rem}
 .score-wheel-board .wheel-player-name{font-size:clamp(.64rem,2.7vw,.87rem)}
 .score-wheel-board .wheel-player-hcp{font-size:.61rem}
 .score-wheel-board .score-wheel{border-radius:11px}
 .score-wheel-board .score-wheel-option.is-selected{font-size:1.5rem}
 .score-wheel-board .wheel-quick{font-size:.68rem}
 .score-header{position:static}
 .score-nav-actions .btn{font-size:.88rem}
}
@media(max-width:360px){
 .score-wheel-board .wheel-grid{gap:3px}
 .score-wheel-board .wheel-player-hcp{font-size:.58rem}
 .score-wheel-board .wheel-player-initials{height:30px;width:30px}
 .score-wheel-board .score-wheel-focus{border-radius:9px}
}

/* On a smartphone the score entry remains above long reference controls. */
.hole-picker-details{padding:3px 0 5px;margin:4px 0 8px}
.hole-picker-details>summary{display:block;background:#f1f7f3;border:1px solid #d6e6da;border-radius:10px;padding:10px 13px;font-size:.82rem;text-align:center;list-style:none;color:#1f5c44}
.hole-picker-details>summary::-webkit-details-marker{display:none}
.hole-picker-details>summary::after{content:'  ▾';color:#477b5c}
.hole-picker-details[open]>summary::after{content:'  ▴'}
.hole-picker-details .hole-track{margin:10px 0}
.match-inline-collapse{padding:0;margin:0}
.match-inline-summary{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap;list-style:none;background:#edf7f0;border:1px solid #cfe2d4;border-radius:12px;padding:10px;min-height:44px;color:#16523d;font-size:.86rem}
.match-inline-summary::-webkit-details-marker{display:none}
.match-inline-summary::after{content:'▾';font-weight:900}
.match-inline-collapse[open] .match-inline-summary::after{content:'▴'}
.match-inline-saldo{font-size:.95rem;white-space:nowrap}
.match-inline-body{padding:11px;border:1px solid #dce9df;border-top:0;border-radius:0 0 12px 12px}
.match-inline-body p{margin:7px 0}
@media(max-width:650px){.match-inline-summary{padding:9px 7px;font-size:.76rem}.match-inline-saldo{font-size:.8rem}.score-layout .heading{margin-bottom:8px}.score-layout .heading h1{font-size:1.35rem}.score-layout>.muted.small{font-size:.72rem}.score-layout .actions.print-hide{margin-bottom:6px!important}.score-layout .actions.print-hide .btn{min-height:40px;font-size:.78rem;padding:7px}.score-wheel-board .wheel-row-title{margin:4px 0 4px}.score-save-tools{margin:6px 0;padding:6px}.score-save-tools .save-status{font-size:.73rem}}

/* v1.8.6: first schematically drawn hole, available separately from georeferenced GPS */
#score-open-bahn[hidden] {display:none!important}
.bahn-links {margin-bottom:14px;gap:9px;flex-wrap:wrap}
.bahn-card {max-width:700px;margin:0 auto 24px;padding:clamp(12px,3vw,22px);overflow:hidden}
.bahn-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.bahn-facts>div {background:#eff6ef;border:1px solid #d1e4d2;border-radius:12px;padding:10px 6px;text-align:center;min-width:0}
.bahn-facts span {display:block;color:#506858;font-size:.75rem}
.bahn-facts strong {font-size:1.35rem;color:#164b3d;font-variant-numeric:tabular-nums}
.bahn-figure {margin:0 auto 14px;max-width:480px}
.bahn-figure img {display:block;width:100%;height:auto;max-height:min(66vh,710px);object-fit:contain;margin:auto;border-radius:18px;box-shadow:0 4px 18px #1c493718}
.bahn-figure figcaption {font-size:.77rem;color:#506858;line-height:1.45;margin:10px 1px}
.bahn-live {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px;border-radius:14px;background:#eef7ef;border:1px solid #d1e6d5}
.bahn-live small {display:block;color:#536a5c;font-size:.78rem}
.bahn-live strong {display:block;font-size:1.65rem;color:#164b3d;line-height:1.2}
@media(max-width:540px){.bahn-card {padding:12px}.bahn-links .btn{flex:1 1 160px;text-align:center}.bahn-facts strong{font-size:1.1rem}.bahn-figure img{max-height:58vh}}
