*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh;background:#0f172a;color:#e2e8f0;font-family:Segoe UI,Arial,sans-serif}.hero,.golf-log{width:min(100%,1000px);margin:0 auto;padding:80px 30px}.golf-log h1{margin-bottom:10px;font-size:clamp(2.5rem,8vw,4rem)}.golf-log-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.golf-log-heading h1{min-width:0;margin-bottom:0}.golf-log-heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.course-config-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:12px 16px;border:1px solid #0284c7;border-radius:8px;background:#0369a1;color:#f0f9ff;font:inherit;font-weight:700;text-decoration:none;transition:background-color .15s,border-color .15s}.course-config-button:hover,.course-config-button:focus-visible{border-color:#38bdf8;background:#075985}.add-round-button{flex:0 0 auto;width:fit-content;padding:12px 18px;border:1px solid #16a34a;border-radius:8px;background:#15803d;color:#f0fdf4;font:inherit;font-weight:700;cursor:pointer;transition:background-color .15s,border-color .15s}.add-round-button:hover,.add-round-button:focus-visible{border-color:#4ade80;background:#166534}.add-round-button:disabled{cursor:wait;opacity:.6}.pages{margin-top:0}.pages h2{margin-bottom:10px;font-size:2rem}.pages-intro{margin-bottom:24px;color:#94a3b8}.page-card{display:block;max-width:520px;padding:24px;border:1px solid #334155;border-radius:12px;background:#1e293b;color:inherit;text-decoration:none;transition:transform .2s,border-color .2s}.page-card:hover,.page-card:focus-visible{transform:translateY(-2px);border-color:#38bdf8}.page-card h3{margin-bottom:8px;font-size:1.25rem}.page-card p{color:#94a3b8;line-height:1.6}.page-card-label{display:inline-block;margin-bottom:14px;color:#38bdf8;font-size:.8rem;letter-spacing:1.5px;text-transform:uppercase}.glow{position:fixed;z-index:-1;top:-100px;right:-100px;width:500px;height:500px;border-radius:50%;background:#0ea5e955;filter:blur(120px)}.back-link{display:inline-block;margin-bottom:48px;color:#38bdf8;text-decoration:none}.back-link:hover,.back-link:focus-visible{text-decoration:underline}.intro{max-width:650px;margin-bottom:40px;color:#94a3b8;font-size:1.2rem;line-height:1.7}.course-page-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:-20px 0 32px}.course-page-links a{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 16px;border:1px solid #0ea5e9;border-radius:8px;background:linear-gradient(135deg,#0ea5e9,#0284c7);box-shadow:0 4px 14px #0284c733;color:#082f49;font:inherit;font-weight:700;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}.course-page-links .course-details-link:after{content:"\2192";font-size:1.1em}.course-page-links a:hover,.course-page-links a:focus-visible{transform:translateY(-1px);box-shadow:0 6px 18px #0284c755}.course-page-links .course-config-button{border-color:#0284c7;background:#0369a1;color:#f0f9ff}.course-page-links .course-config-button:hover,.course-page-links .course-config-button:focus-visible{border-color:#38bdf8;background:#075985}.course-setup-badge{display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:4px 9px;border:1px solid #f59e0b88;border-radius:999px;background:#78350f66;color:#fcd34d;font-size:.78rem;font-weight:700;text-decoration:none}a.course-setup-badge:hover,a.course-setup-badge:focus-visible{border-color:#fbbf24;background:#78350f;text-decoration:underline}.course-setup-notice{display:grid;justify-items:start;gap:10px;padding:16px;border:1px solid #92400e;border-radius:9px;background:#451a03;color:#fde68a}.course-setup-notice p{color:#fcd34d}.course-setup-notice a{color:#bae6fd;font-weight:700}.empty-state{max-width:650px;padding:28px;border:1px solid #334155;border-radius:12px;background:#1e293b}.empty-state h2{margin-bottom:8px;font-size:1.25rem}.empty-state p{color:#94a3b8;line-height:1.6}.public-score-notice,.form-help,.scorecard-note{color:#94a3b8;font-size:.9rem;line-height:1.6}.public-score-notice{margin-bottom:18px}.player-filter{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:20px;padding:12px 14px;border:1px solid #475569;border-radius:7px;color:#cbd5e1}.player-filter legend{padding:0 6px}.player-filter label{display:inline-flex;align-items:center;gap:7px;cursor:pointer}.player-filter input{accent-color:#38bdf8}.course-filter{display:grid;width:min(100%,360px);gap:8px;margin-bottom:24px;color:#cbd5e1}.course-filter select{width:100%;padding:11px 12px;border:1px solid #475569;border-radius:7px;background:#1e293b;color:#e2e8f0;font:inherit}.admin-panel{display:grid;gap:20px;max-width:720px;margin-top:56px;padding-top:28px;border-top:1px solid #334155}.admin-panel>h2{font-size:1.4rem}.round-editor-dialog{width:min(960px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;overflow-y:auto;border:1px solid #475569;border-radius:14px;background:#0f172a;color:#e2e8f0}.round-editor-dialog::backdrop{background:#020617bf;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.round-editor-form{border:0;border-radius:0;background:transparent}.round-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.round-editor-heading h2{font-size:1.4rem}.round-dialog-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#e2e8f0;font-size:1.5rem;line-height:1;cursor:pointer}.round-dialog-close:disabled{cursor:wait;opacity:.6}.admin-form{display:grid;gap:14px;padding:22px;border:1px solid #334155;border-radius:12px;background:#1e293b}.admin-form h3{font-size:1.1rem}.admin-form p{color:#94a3b8;line-height:1.5}.admin-form .form-help{margin-top:-4px}.admin-form label{display:grid;gap:8px;color:#cbd5e1;font-size:.95rem}.scorecard-entry-list{display:grid;gap:14px}.scorecard-entry,.par-entry{min-width:0;padding:14px;border:1px solid #475569;border-radius:8px}.scorecard-entry legend,.par-entry legend{padding:0 6px;color:#bae6fd;font-weight:700}.scorecard-entry-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.scorecard-entry-heading label{flex:1}.hole-entry-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px}.hole-entry-grid label{gap:4px;text-align:center;font-size:.78rem}.hole-entry-grid input{padding:8px 4px;text-align:center}.par-entry-grid{max-width:720px}.form-row{display:flex;gap:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wide-field{grid-column:1 / -1}.admin-form input,.admin-form textarea,.admin-form select{width:100%;min-width:0;padding:11px 12px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#e2e8f0;font:inherit}.admin-form input[type=file]{padding:8px}.admin-form button,.admin-panel>button,.course-note-form>button,.hole-photo-upload>button,.secondary-button{width:fit-content;padding:11px 16px;border:0;border-radius:7px;background:#38bdf8;color:#0f172a;font:inherit;font-weight:700;cursor:pointer}.form-row button{flex:0 0 auto}.admin-form button:disabled,.admin-panel button:disabled{cursor:wait;opacity:.6}.admin-panel .secondary-button{border:1px solid #475569;background:transparent;color:#e2e8f0}.danger-button{width:fit-content;padding:11px 16px;border:1px solid #7f1d1d;border-radius:7px;background:#7f1d1d;color:#fff;font:inherit;font-weight:700;cursor:pointer}.danger-button:disabled{cursor:wait;opacity:.6}.admin-actions{display:flex;justify-content:flex-end}.log-status{color:#94a3b8;line-height:1.6}.log-status.error{color:#fca5a5}.round-list{display:grid;gap:16px;padding:0;list-style:none}.round-card{position:relative;isolation:isolate;overflow:hidden;padding:24px;border:1px solid #334155;border-radius:12px;background:#1e293b}.round-card-watermark{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}.round-heading{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.round-heading h2{margin-bottom:6px;font-size:1.35rem}.round-heading time{color:#94a3b8}.round-result{display:flex;align-items:center;gap:12px}.round-scores{display:grid;gap:4px;min-width:140px;color:#cbd5e1;font-size:.85rem}.round-scores-label{color:#94a3b8;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-align:right;text-transform:uppercase}.round-scores ul{display:grid;gap:3px;list-style:none}.round-scores li{display:flex;align-items:baseline;justify-content:flex-end;gap:8px}.round-scores li strong{min-width:2.5ch;color:#38bdf8;font-size:1.15rem;text-align:right}.form-actions{display:flex;flex-wrap:wrap;gap:10px}.round-card-secondary-links{position:relative;z-index:1;border-top:1px solid #334155;padding-top:16px}.round-card details{position:relative;z-index:1}.round-card summary{display:flex;align-items:center;gap:12px;color:#38bdf8;cursor:pointer}.round-card summary .round-course-rating{margin-left:auto}.scorecard-scroll{position:relative;z-index:1;overflow-x:auto;margin-top:16px}.scorecard{width:100%;border-collapse:collapse;text-align:center;white-space:nowrap}.round-card .scorecard{table-layout:fixed}.scorecard caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}.scorecard th,.scorecard td{min-width:0;padding:8px 2px;border-bottom:1px solid #334155}.round-card .scorecard th:first-child{width:110px;text-align:left}.round-card .scorecard .scorecard-subtotal{width:58px}.round-card .scorecard .scorecard-total{width:54px}.scorecard .scorecard-subtotal{border-left:1px solid #475569;background:#172554;color:#bfdbfe;font-family:Trebuchet MS,Segoe UI,sans-serif;font-size:.95rem;font-weight:700}.scorecard .scorecard-total{border-left:2px solid #38bdf8;background:#082f49;color:#7dd3fc;font-family:Trebuchet MS,Segoe UI,sans-serif;font-size:1rem;font-weight:800}.scorecard .par-row .par-front-total{border-left:2px solid #22d3ee;background:#164e63;color:#cffafe;font-size:1rem;font-style:italic}.scorecard .par-row .par-back-total{border-left:2px solid #a78bfa;background:#3b2f63;color:#ede9fe;font-size:1rem;font-style:italic}.scorecard .par-row .par-round-total{border-left:2px solid #fbbf24;background:#713f12;color:#fef3c7;font-size:1.05rem;font-style:italic}.scorecard .score-marker{position:relative;z-index:0;display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;vertical-align:middle}.scorecard .score-marker-birdie{border:1.5px solid #38bdf8;color:#bae6fd}.scorecard .score-marker-bogey{border:1px solid #cbd5e1;border-radius:2px}.scorecard .score-marker-double-bogey{isolation:isolate}.scorecard .score-marker-double-bogey:before,.scorecard .score-marker-double-bogey:after{position:absolute;z-index:-1;border:1px solid #cbd5e1;border-radius:2px;content:""}.scorecard .score-marker-double-bogey:before{inset:2px}.scorecard .score-marker-double-bogey:after{inset:-2px}.scorecard .score-marker-worse{border:1px solid #ef4444;border-radius:2px;background:#7f1d1d;color:#fee2e2;font-weight:700}.scorecard thead{color:#94a3b8}.scorecard .par-row{background:#0c4a6e;color:#bae6fd;font-size:.9rem;font-weight:700}.scorecard .par-row th,.scorecard .par-row td{border-bottom-color:#0369a1}.scorecard-note{margin-top:10px}.course-filter-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:24px}.course-filter-row .course-filter{margin-bottom:0}.tee-time-button{display:inline-flex;min-height:43px;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid #a78bfa;border-radius:8px;background:linear-gradient(135deg,#6d28d9,#4c1d95);box-shadow:0 4px 14px #2e106566;color:#f5f3ff;font-weight:800;letter-spacing:.035em;text-decoration:none;white-space:nowrap;transition:transform .15s,border-color .15s,background-color .15s,box-shadow .15s}.tee-time-button>span{color:#fde047;font-size:1.2rem;line-height:1}.tee-time-button:hover,.tee-time-button:focus-visible{transform:translateY(-1px);border-color:#c4b5fd;background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 6px 18px #2e106599}.tee-time-button:focus-visible{outline:2px solid #ddd6fe;outline-offset:3px}.course-tee-time-form{max-width:720px;margin-top:24px}.course-tee-time-form h2{font-size:1.3rem}.course-details{display:grid;gap:16px;margin:24px 0 32px}.course-details h2{font-size:1.6rem}.course-section-heading{margin-top:12px;font-size:1.25rem}.player-stats-button{display:inline-flex;width:fit-content;align-items:center;gap:10px;padding:12px 16px;border:1px solid #4ade80;border-radius:9px;background:linear-gradient(135deg,#166534,#14532d);box-shadow:0 4px 14px #052e1b80;color:#f0fdf4;font:inherit;font-weight:700;cursor:pointer;transition:transform .15s,background-color .15s,border-color .15s,box-shadow .15s}.player-stats-button:hover,.player-stats-button:focus-visible{transform:translateY(-1px);border-color:#86efac;background:linear-gradient(135deg,#15803d,#166534);box-shadow:0 6px 18px #052e1b99}.player-stats-button:focus-visible{outline:2px solid #bbf7d0;outline-offset:3px}.player-stats-link-player{padding:3px 8px;border:1px solid #86efac66;border-radius:999px;background:#052e1b80;color:#bbf7d0;font-size:.9rem}.player-stats-link-arrow{color:#bbf7d0;font-size:1.2rem;line-height:1}.player-stats-page h1{margin-top:18px}.player-average-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.player-worst-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.player-stats-page>section,.player-average-grid>section,.player-worst-period{display:grid;gap:14px;margin-top:24px;padding:20px;border:1px solid #7f1d1d;border-radius:12px;background:#1c1017}.player-average-grid>section,.player-worst-period{margin-top:0}.player-stats-page>section h2{color:#fecaca;font-size:1.4rem}.player-average-grid>section h2{color:#fecaca;font-size:1.4rem}.player-worst-period h3{color:#fecaca;font-size:1.1rem}.player-stats-help{color:#cbd5e1;line-height:1.5}.worst-hole-list,.average-hole-list{display:grid;gap:9px;list-style:none}.worst-hole-list li{display:grid;grid-template-columns:42px 76px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border:1px solid #991b1b;border-left:5px solid #ef4444;border-radius:8px;background:#450a0a;color:#fee2e2}.worst-hole-rank{color:#fca5a5;font-weight:800}.worst-hole-difference{color:#f87171;font-size:1.25rem;text-align:center}.worst-hole-detail{display:grid;gap:4px;min-width:0}.worst-hole-detail>span{color:#fecaca;font-size:.9rem}.player-stats-page>.player-best-section{border-color:#166534;background:#0c1c18}.player-stats-page>.player-best-section h2{color:#bbf7d0}.player-stats-page>.player-worst-average-section{border-color:#7f1d1d;background:#1c1017}.average-hole-list li{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 13px;border:1px solid #166534;border-radius:8px;background:#052e1b;color:#dcfce7}.player-worst-average-section .average-hole-list li{border-color:#991b1b;background:#450a0a;color:#fee2e2}.average-hole-list li>strong{color:#86efac;font-size:1.1rem}.player-worst-average-section .average-hole-list li>strong{color:#f87171}.average-hole-list li>small{color:#cbd5e1}.course-notes-link{display:inline-block;text-decoration:none}.round-course-notes-link{display:inline-flex;align-items:center;gap:12px;margin-top:8px;padding:8px 12px;border:1px solid #0284c7;border-radius:7px;background:#0c4a6e;color:#e0f2fe;font-weight:600;text-decoration:none;transition:background-color .15s,border-color .15s}.round-course-notes-link:hover,.round-course-notes-link:focus-visible{border-color:#38bdf8;background:#075985}.round-course-rating{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;min-height:24px;color:#fbbf24;white-space:nowrap}.round-course-rating>span:not([aria-hidden=true]){color:#cbd5e1;font-size:.8rem;font-weight:400}.course-notes-page>h1{margin:18px 0 8px}.course-notes-back-log{display:inline-block;margin:0 0 16px 12px;text-decoration:none}.course-notes-section{display:grid;gap:14px;margin-top:24px;padding:20px;border:1px solid #334155;border-radius:12px;background:#1e293b}.course-notes-section h2{font-size:1.35rem}.course-rating-summary{display:flex;align-items:center;gap:10px;color:#94a3b8}.course-rating-summary>strong{color:#e2e8f0;font-size:1.4rem}.course-gallery{display:grid;gap:14px}.course-gallery-viewer{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px}.course-gallery-slide{display:grid;gap:10px;min-width:0;margin:0}.course-gallery-slide img{display:block;width:100%;max-height:min(65vh,620px);object-fit:contain;border:1px solid #475569;border-radius:10px;background:#0f172a}.course-gallery-slide figcaption{color:#cbd5e1;text-align:center;line-height:1.5}.course-gallery-arrow{display:grid;place-items:center;width:42px;height:52px;border:1px solid #475569;border-radius:8px;background:#0f172a;color:#e2e8f0;font-size:1.5rem;cursor:pointer}.course-gallery-arrow:disabled{cursor:default;opacity:.4}.course-gallery-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;color:#94a3b8}.course-gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px}.course-gallery-thumbnails button{flex:0 0 84px;width:84px;height:64px;overflow:hidden;border:2px solid #475569;border-radius:6px;background:#0f172a;cursor:pointer}.course-gallery-thumbnails button.selected{border-color:#38bdf8}.course-gallery-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}.course-gallery-upload{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #334155;border-radius:8px;background:#0f172a}.course-gallery-upload label{display:grid;gap:8px;color:#cbd5e1;font-size:.9rem}.course-gallery-upload input{width:100%;min-width:0;padding:10px;border:1px solid #475569;border-radius:7px;background:#0b1220;color:#e2e8f0;font:inherit}.course-gallery-upload button{width:fit-content;padding:11px 16px;border:0;border-radius:7px;background:#38bdf8;color:#0f172a;font:inherit;font-weight:700;cursor:pointer}.course-gallery-upload button:disabled{cursor:wait;opacity:.6}.course-gallery-selected-file{grid-column:1 / -1;color:#94a3b8;font-size:.9rem;overflow-wrap:anywhere}.rating-stars,.rating-picker{display:inline-flex;gap:3px;color:#64748b;font-size:1.4rem}.rating-control{display:grid;gap:8px;color:#cbd5e1}.rating-star-filled{color:#fbbf24}.rating-picker button{padding:0 2px;border:0;background:transparent;color:#64748b;font-size:1.7rem;cursor:pointer}.rating-picker button.rating-star-filled{color:#fbbf24}.course-note-form{display:grid;justify-items:start;gap:12px}.course-note-form label{display:grid;width:100%;gap:8px;color:#cbd5e1}.course-note-form textarea,.hole-photo-upload input[type=file]{width:100%;padding:10px 12px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#e2e8f0;font:inherit}.course-note-list{display:grid;gap:10px;list-style:none}.course-note-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px;border:1px solid #334155;border-radius:8px;background:#0f172a}.course-note-list p{white-space:pre-wrap}.hole-selector{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory;scrollbar-color:#475569 #0f172a}.hole-selector button{display:grid;width:42px;min-width:42px;height:42px;place-items:center;border:1px solid #475569;border-radius:6px;background:#450a0a;border-color:#991b1b;color:#f87171;font:inherit;font-weight:700;cursor:pointer;scroll-snap-align:center}.hole-selector button.has-photo{border-color:#166534;background:#052e16;color:#4ade80}.hole-selector button:hover{filter:brightness(1.2)}.hole-selector button.selected{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf855}.hole-detail-navigation{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:stretch;gap:12px;padding:14px;border:1px solid #475569;border-radius:12px;background:linear-gradient(145deg,#172033,#111827);box-shadow:0 12px 30px #02061766}.hole-detail-arrow{display:grid;width:42px;height:54px;align-self:start;margin-top:8px;place-items:center;border:1px solid #475569;border-radius:10px;background:#0f172a;color:#bae6fd;font:inherit;font-size:1.5rem;font-weight:700;cursor:pointer;transition:border-color .15s,background-color .15s,color .15s,transform .15s}.hole-detail-arrow:hover,.hole-detail-arrow:focus-visible{transform:translateY(-1px);border-color:#38bdf8;background:#0c4a6e;color:#e0f2fe}.hole-detail-arrow:focus-visible,.hole-selector button:focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}.hole-note-card{display:grid;min-width:0;gap:14px;scroll-margin-top:20px;padding:4px}.hole-note-card h3{color:#bae6fd;font-size:1.1rem}.hole-note-card h3 span{color:#94a3b8;font-size:.9rem;font-weight:400}.hole-photo-frame{display:grid;min-height:220px;max-height:480px;place-items:center;overflow:hidden;border:1px solid #475569;border-radius:8px;background:#0f172a}.hole-photo{display:block;width:100%;max-height:480px;object-fit:contain}.hole-photo-empty{padding:32px 16px;color:#94a3b8;text-align:center}.hole-image-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px;border:1px solid #334155;border-radius:8px;background:#0f172a}.hole-photo-upload{display:grid;justify-items:start;gap:10px;max-width:520px}.hole-photo-upload label{display:grid;gap:8px;color:#cbd5e1;font-size:.9rem}.hole-notes-content{display:grid;gap:12px;padding-top:14px;border-top:1px solid #475569}.hole-notes-content h4{color:#bae6fd;font-size:1.05rem}.stats-table th,.stats-table td{min-width:100px}.stats-table th:first-child{min-width:72px}.stats-table.all-courses-hole-table{table-layout:fixed}.stats-table.all-courses-hole-table th,.stats-table.all-courses-hole-table td{min-width:0;padding:8px 4px;white-space:normal}.stats-table.all-courses-hole-table thead th{font-size:.82rem;line-height:1.25}.stats-table.all-courses-hole-table th:first-child{width:56px}.stats-table.all-courses-round-table{table-layout:fixed;white-space:normal}.stats-table.all-courses-round-table th,.stats-table.all-courses-round-table td{min-width:0;padding:8px 6px;overflow-wrap:anywhere}.stats-table.all-courses-round-table th:first-child{width:160px}.stats-table.all-courses-round-table th:nth-child(2),.stats-table.all-courses-round-table td:nth-child(2){width:210px}.stats-table.all-courses-round-table th:nth-child(3),.stats-table.all-courses-round-table td:nth-child(3){width:140px}.stats-table.all-courses-round-table th:nth-child(n+4),.stats-table.all-courses-round-table td:nth-child(n+4){width:90px}.stats-table .stats-total-row{background:#0c4a6e;color:#e0f2fe;font-weight:800}.stats-table .stats-total-row th,.stats-table .stats-total-row td{border-top:2px solid #38bdf8}.course-config-form{max-width:720px;margin-top:40px}.course-config-form h2{font-size:1.4rem}.course-par-settings{display:grid;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #334155}.course-par-settings h3{font-size:1.1rem}.course-par-settings>label{display:grid;max-width:320px;gap:8px}.course-image-settings{display:grid;gap:12px;padding:16px;border:1px solid #475569;border-radius:9px;background:#0f172a}.course-image-settings h3{font-size:1.05rem}.course-image-settings label{display:grid;gap:8px;color:#cbd5e1;font-size:.95rem}.course-image-settings input[type=range]{height:24px;padding:0;accent-color:#38bdf8;cursor:pointer}.course-image-preview-frame{width:min(100%,420px);height:160px;overflow:hidden;border:1px solid #475569;border-radius:8px;background:#1e293b}.course-image-preview{width:100%;height:100%;object-fit:cover}.course-scorecard-settings{display:grid;justify-items:start;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #334155}.course-scorecard-settings h3{margin:0}.course-scorecard-settings>label{display:grid;gap:8px}.course-scorecard-settings input[type=file]{width:100%;max-width:480px;padding:9px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#e2e8f0}.course-scorecard-preview-frame{display:grid;place-items:center;width:100%;min-height:140px;max-height:620px;overflow:auto;padding:12px;border:1px solid #475569;border-radius:8px;background:#0f172a}.course-scorecard-preview{display:block;max-width:100%;max-height:580px;object-fit:contain}.course-scorecard-settings .course-scorecard-link{text-decoration:none}.course-scorecard-settings .course-scorecard-link:hover,.course-scorecard-settings .course-scorecard-link:focus-visible{background:#0ea5e9}.course-config-access{margin-top:32px}@media(max-width:600px){.hole-detail-navigation{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px;padding:8px}.hole-detail-arrow{width:34px;height:46px;font-size:1.2rem}.hole-photo-frame{min-height:170px}.hole-image-controls{align-items:stretch;flex-direction:column;padding:10px}.hole-photo-upload{max-width:none}.course-gallery-viewer{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px}.course-gallery-arrow{width:34px;height:44px}.course-gallery-upload{grid-template-columns:minmax(0,1fr)}.course-gallery-selected-file{grid-column:1}.player-average-grid,.player-worst-grid{grid-template-columns:minmax(0,1fr);gap:14px}.player-stats-page>section,.player-average-grid>section,.player-worst-period{padding:14px}.worst-hole-list li{grid-template-columns:32px 56px minmax(0,1fr);gap:8px;padding:10px}.average-hole-list li{grid-template-columns:62px minmax(0,1fr);gap:8px}.average-hole-list li>small{grid-column:2}.course-notes-section{padding:14px}.course-note-list li{flex-direction:column}.hole-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.scorecard-entry,.par-entry{padding:10px}.scorecard-entry-heading{align-items:stretch;flex-direction:column}.round-card{padding:18px}.scorecard-scroll{margin-right:-8px;margin-left:-8px;padding:0 8px 6px}.round-card .scorecard{width:max-content;min-width:100%;table-layout:auto;font-size:.8rem}.round-card .scorecard th,.round-card .scorecard td{min-width:32px;padding:6px 4px}.round-card .scorecard th:first-child{width:auto;min-width:68px}.round-card .scorecard .scorecard-subtotal,.round-card .scorecard .scorecard-total{width:auto}.round-card .scorecard .score-marker{width:22px;height:22px}.round-card .scorecard .scorecard-subtotal{font-size:.82rem}.round-card .scorecard .scorecard-total{font-size:.86rem}.round-card .scorecard .par-row{font-size:.78rem}.round-card .scorecard .par-row .par-front-total,.round-card .scorecard .par-row .par-back-total{font-size:.84rem}.round-card .scorecard .par-row .par-round-total{font-size:.88rem}.course-details .scorecard-scroll{margin-right:-12px;margin-left:-12px;padding:0 12px 6px}.course-details .stats-table{width:max-content;min-width:100%;font-size:.76rem}.course-details .stats-table th,.course-details .stats-table td{min-width:58px;padding:6px 5px}.course-details .stats-table th:first-child{min-width:48px}.course-details .stats-table thead th{white-space:normal;line-height:1.25}.round-heading{align-items:flex-start}.round-result{align-items:flex-end;flex-direction:column;gap:8px}.round-scores{min-width:0}.round-scores-label{text-align:left}.round-scores li{justify-content:flex-start}.form-grid{grid-template-columns:1fr}.wide-field{grid-column:auto}.form-row{flex-direction:column}}.poker-stats{width:min(100%,1100px);margin:0 auto;padding:48px 30px 80px}.poker-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.poker-heading h1{margin-bottom:8px;font-size:clamp(2.5rem,8vw,4rem)}.poker-heading .intro{margin-bottom:0}.poker-page-card{margin-top:16px;border-color:#7e22ce}.poker-page-card .page-card-label{color:#c084fc}.poker-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.poker-stat-card{display:grid;gap:8px;min-width:0;padding:18px;border:1px solid #334155;border-radius:10px;background:#1e293b}.poker-stat-card span{color:#94a3b8;font-size:.88rem}.poker-stat-card strong{overflow-wrap:anywhere;font-size:clamp(1.15rem,3vw,1.7rem)}.poker-stat-card.positive strong,.poker-net.positive{color:#4ade80}.poker-stat-card.negative strong,.poker-net.negative{color:#f87171}.poker-entry-panel,.poker-import-panel{margin-bottom:24px}.poker-entry-panel h2,.poker-import-panel h2,.poker-history h2{margin-bottom:14px}.poker-import-panel p{margin-bottom:14px;color:#94a3b8;line-height:1.6}.poker-import-panel input[type=file]{width:100%;max-width:480px;padding:9px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#e2e8f0}.poker-history-table{min-width:850px}.poker-history-table td{vertical-align:top}.poker-net{font-weight:700;white-space:nowrap}.poker-delete-button{padding:6px 9px;border:1px solid #7f1d1d;border-radius:6px;background:#7f1d1d;color:#fee2e2;font:inherit;cursor:pointer}.poker-delete-button:disabled{cursor:wait;opacity:.6}.poker-access-copy{margin-bottom:18px;color:#94a3b8;line-height:1.6}.fantasy-baseball{width:min(100%,1120px);margin:0 auto;padding:48px 30px 80px}.fantasy-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:24px 0}.fantasy-heading h1{margin-bottom:8px;font-size:clamp(2.5rem,8vw,4rem)}.fantasy-intro,.fantasy-help{color:#94a3b8;line-height:1.6}.fantasy-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;border-bottom:1px solid #334155}.fantasy-nav button{padding:11px 15px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#cbd5e1;font:inherit;font-weight:700;cursor:pointer}.fantasy-nav button:hover,.fantasy-nav button.active{border-color:#334155;background:#1e293b;color:#7dd3fc}.fantasy-panel{display:grid;gap:18px;padding:22px;border:1px solid #334155;border-radius:12px;background:#111c2d}.fantasy-panel>h2,.fantasy-section-heading h2{font-size:1.45rem}.fantasy-section-heading{display:flex;justify-content:space-between;gap:16px}.fantasy-ranking-list{display:grid;gap:8px;list-style:none}.fantasy-ranking-row{display:grid;grid-template-columns:26px 44px minmax(0,1fr) 90px 76px;align-items:center;gap:12px;min-width:0;padding:12px 14px;border:1px solid #334155;border-radius:8px;background:#1e293b;cursor:grab}.fantasy-ranking-row:active{cursor:grabbing}.fantasy-ranking-row.dragging{opacity:.45}.fantasy-drag-handle{color:#94a3b8;font-size:1.3rem;text-align:center}.fantasy-rank-number{color:#7dd3fc;font-weight:800;text-align:center}.fantasy-rank-player{display:grid;gap:4px;min-width:0}.fantasy-rank-player strong{overflow-wrap:anywhere}.fantasy-rank-player span,.fantasy-player-type{color:#94a3b8;font-size:.88rem}.fantasy-player-type{text-transform:capitalize}.fantasy-rank-actions{display:flex;justify-content:flex-end;gap:5px}.fantasy-rank-actions button{width:34px;height:34px;border:1px solid #475569;border-radius:6px;background:#0f172a;color:#e2e8f0;font:inherit;cursor:pointer}.fantasy-rank-actions button:disabled{cursor:not-allowed;opacity:.4}.fantasy-sign-in{display:grid;gap:14px;padding:16px;border:1px solid #334155;border-radius:10px;background:#1e293b}.fantasy-sign-in summary{width:fit-content;color:#7dd3fc;font-weight:700;cursor:pointer}.fantasy-sign-in .admin-form{padding:0;border:0;background:transparent}.fantasy-roster-controls,.fantasy-stats-controls{display:flex;flex-wrap:wrap;gap:16px}.fantasy-roster-controls label,.fantasy-stats-controls label,.fantasy-player-type-control{display:grid;gap:8px;min-width:min(100%,260px);color:#cbd5e1}.fantasy-roster-controls select,.fantasy-stats-controls select,.fantasy-player-type-control select{min-width:0;padding:11px 12px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#e2e8f0;font:inherit}.fantasy-add-player{margin-top:4px}.fantasy-lineup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fantasy-lineup-slot{display:grid;gap:7px;color:#bae6fd;font-weight:700}.fantasy-lineup-slot select{min-width:0;padding:10px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#e2e8f0;font:inherit}.fantasy-stats-form,.fantasy-stats-form h3{margin-top:4px}.fantasy-stats-form .fantasy-player-type-control{max-width:320px}.fantasy-mlb-checkbox{display:flex!important;align-items:center;gap:10px!important}.fantasy-mlb-checkbox input{width:auto;accent-color:#38bdf8}.fantasy-stat-grid label{min-width:0}.fantasy-stat-grid input:disabled,.fantasy-lineup-slot select:disabled,.fantasy-stats-controls select:disabled{cursor:not-allowed;opacity:.65}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}@media(max-width:720px){.poker-stats,.fantasy-baseball{padding:36px 20px 60px}.poker-summary,.fantasy-lineup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.poker-summary{grid-template-columns:minmax(0,1fr)}.poker-heading,.fantasy-heading{align-items:center}.fantasy-lineup-grid{grid-template-columns:minmax(0,1fr)}.fantasy-ranking-row{grid-template-columns:20px 32px minmax(0,1fr) 58px;gap:8px;padding:10px}.fantasy-player-type{grid-column:3}.fantasy-rank-actions{grid-column:4;grid-row:1 / span 2;flex-direction:column}.fantasy-rank-actions button{width:30px;height:30px}}
