:root {
  color-scheme: dark;
  --ink: #f4f7f5;
  --muted: #a9b8b1;
  --bg: #06110e;
  --surface: #0c1d18;
  --surface-2: #122721;
  --line: rgba(255,255,255,.12);
  --lime: #b8ee3d;
  --lime-deep: #8bc51b;
  --orange: #ff8737;
  --success: #6edb8f;
  --radius: 1.25rem;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .7rem 1rem; background: var(--lime); color: #07110e; border-radius: .5rem; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: .75rem max(1rem, calc((100vw - var(--max))/2)); background: rgba(6,17,14,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; gap: .72rem; align-items: center; text-decoration: none; }
.brand-mark { width: 48px; height: 52px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 3px 7px rgba(0,0,0,.35)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.04rem; }
.brand-copy small { margin-top: .28rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .17em; }
.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a { padding: .65rem .78rem; color: var(--muted); border-radius: .65rem; text-decoration: none; font-size: .92rem; font-weight: 700; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.065); }
.main-nav .nav-login { margin-left: .4rem; padding-inline: 1rem; background: var(--lime); color: #0a160f; }
.main-nav .nav-login:hover, .main-nav .nav-login[aria-current="page"] { color: #0a160f; background: #cbff52; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); color: var(--ink); padding: .6rem .8rem; }
.hero { position: relative; min-height: 690px; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: #071510 url("assets/hobby-kicker-hero-ohne-ball.png") center bottom / 100% auto no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,13,10,.98) 0%, rgba(3,13,10,.83) 35%, rgba(3,13,10,.18) 73%), linear-gradient(0deg, #06110e 0%, transparent 36%); }
.floodlight-flicker { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.floodlight-glow { position: absolute; width: clamp(46px, 5.5vw, 78px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,252,220,.55) 0 5%, rgba(255,226,137,.24) 18%, rgba(255,210,92,.08) 39%, transparent 68%); mix-blend-mode: screen; filter: blur(.6px); opacity: .25; animation: floodlight-flicker 5.4s ease-in-out infinite; }
.floodlight-glow-near { top: 24.8%; left: 57.7%; }
.floodlight-glow-far { top: 10.2%; left: 89.1%; animation-duration: 6.3s; animation-delay: -1.7s; }
@keyframes floodlight-flicker { 0%, 18%, 22%, 67%, 71%, 100% { opacity: .25; transform: scale(1); } 19% { opacity: .19; transform: scale(.985); } 20% { opacity: .29; transform: scale(1.018); } 68% { opacity: .21; } 69% { opacity: .27; transform: scale(1.01); } }
.passing-ball { position: absolute; z-index: 2; width: 42px; height: auto; opacity: 0; pointer-events: none; filter: drop-shadow(0 5px 4px rgba(0,0,0,.52)); will-change: left, top, width, transform; }
.hero-inner { position: relative; z-index: 3; width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 5.5rem 0 5.2rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: var(--lime); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { max-width: 640px; margin: 0; font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: .86; letter-spacing: -.055em; text-transform: uppercase; font-weight: 950; }
.hero-title-line { display: flex; align-items: flex-start; flex-direction: column; gap: .18em; white-space: nowrap; }
.album-folders { margin-bottom: 2rem; }
.folder-upload { margin: 2rem 0; padding: 1.2rem; border: 1px solid #698273; border-radius: .8rem; }
.folder-dropzone { padding: 1.5rem; margin: 1rem 0; border: 2px dashed #98b96b; border-radius: .8rem; }
.folder-dropzone:focus, .folder-dropzone.drag-active { outline: 3px solid var(--lime); background: #193c2d; }
.folder-upload .field { max-width: 460px; }
.folder-upload li { overflow-wrap: anywhere; margin: .5rem 0; }
.photo-management { padding: 1rem; display: grid; gap: .7rem; border-top: 1px solid #698273; }
.photo-management > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.photo-management select { width: 100%; min-width: 0; }
.photo-management [role="status"]:empty { display: none; }
.album-folder-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.album-folder-card { border: 1px solid #698273; border-radius: .8rem; padding: 1rem; display: grid; gap: .8rem; }
.album-folder-card > a { color: var(--lime); font-weight: 800; }
.album-folder-card form { display: flex; flex-wrap: wrap; gap: .6rem; }
.album-folder-card .field { width: 100%; }
.album-folder-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.album-folder-links a { border: 1px solid #698273; border-radius: .6rem; padding: .7rem 1rem; color: inherit; text-decoration: none; }
.album-folder-links a[aria-current] { background: var(--lime); color: #071713; }
#album-create-form { max-width: 460px; display: grid; gap: .75rem; }
.hero-figure-row { display: flex; align-items: center; gap: 1.5%; width: 100%; max-width: 640px; }
.hero-figure-row > svg { display: block; flex-shrink: 0; height: auto; overflow: hidden; }
.figure-dein { width: 29.46%; transform: translateY(-7%) scaleY(.92); transform-origin: center; }
.figure-feierabend { width: 69.04%; }
.hero h1 .hero-title-yellow { color: var(--lime); -webkit-text-stroke: 0; }
.hero-title-yellow { flex: 0 0 auto; white-space: nowrap; }
.hero-figure-title { display: block; width: 100%; max-width: 640px; height: auto; margin: 0; object-fit: contain; filter: drop-shadow(0 5px 16px rgba(0,0,0,.42)); }
.hero-lead { max-width: 470px; margin: 1.45rem 0 0; color: #d7dfdb; font-size: clamp(1.02rem, 1.75vw, 1.18rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .76rem 1.2rem; border: 1px solid transparent; border-radius: .75rem; text-decoration: none; font-weight: 850; cursor: pointer; }
.button-primary { background: var(--lime); color: #07120e; }
.button-primary:hover { background: #caff50; transform: translateY(-1px); }
.button-secondary { background: rgba(8,22,17,.62); border-color: rgba(255,255,255,.2); color: var(--ink); backdrop-filter: blur(10px); }
.button-secondary:hover { background: rgba(255,255,255,.1); }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 760px; margin-top: 3.2rem; border-top: 1px solid rgba(255,255,255,.22); }
.hero-meta div { padding: 1rem 1rem 0 0; }
.hero-meta small { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.hero-meta strong { display: block; margin-top: .28rem; font-size: .95rem; }
.section { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 5.5rem 0; }
.status-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; margin-top: -1rem; padding: 1.6rem 1.8rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius); box-shadow: var(--shadow); }
.status-label { color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.status-title { margin: .4rem 0 .1rem; font-size: clamp(1.35rem, 3vw, 2rem); }
.status-detail { margin: 0; color: var(--muted); }
.status-badge { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; padding: .7rem 1rem; border-radius: 999px; background: rgba(110,219,143,.12); color: var(--success); border: 1px solid rgba(110,219,143,.28); font-weight: 850; }
.status-badge::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(110,219,143,.1); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { max-width: 680px; margin: 0; font-size: clamp(2rem,5vw,4.4rem); line-height: .96; letter-spacing: -.055em; text-transform: uppercase; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.feature-card { min-height: 260px; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-num { color: var(--lime); font-size: .74rem; font-weight: 900; letter-spacing: .15em; }
.feature-card h3 { margin: 4.4rem 0 .6rem; font-size: 1.35rem; }
.feature-card p { color: var(--muted); margin: 0; }
.demo-note { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto 4rem; padding: .85rem 1rem; border: 1px dashed rgba(184,238,61,.35); border-radius: .75rem; color: var(--muted); text-align: center; font-size: .88rem; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; max-width: var(--max); margin: 0 auto; padding: 2rem 1rem 3rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }
.site-footer > :last-child { justify-self: end; }
.footer-ball { color: var(--lime); margin-right: .5rem; }
.footer-links { display: flex; gap: 1rem; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 80; max-width: calc(100% - 2rem); padding: .8rem 1rem; background: var(--ink); color: var(--bg); border-radius: .7rem; box-shadow: var(--shadow); font-weight: 750; opacity: 0; pointer-events: none; transform: translate(-50%, 1rem); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; padding: .7rem; background: #0b1c17; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem 1rem; }
  .main-nav .nav-login { margin-left: 0; }
  .hero { min-height: 650px; }
  .hero::before { background-position: center bottom; background-size: 100% auto; }
  .hero::after { background: linear-gradient(90deg, rgba(3,13,10,.94), rgba(3,13,10,.35)), linear-gradient(0deg,#06110e,transparent 50%); }
  .floodlight-glow-near { top: 24.8%; left: 34%; }
  .floodlight-glow-far { display: none; }
  .hero h1 { max-width: 540px; font-size: clamp(2rem,7.2vw,3.7rem); }
  .hero-figure-title { max-width: 540px; }
  .section-heading { display: grid; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 2.5rem; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer > :last-child { justify-self: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 560px) {
  .brand-copy small { display: none; }
  .hero-inner { padding-bottom: 3rem; }
  .hero-title-line { gap: .18em; }
  .hero h1 { font-size: clamp(1.8rem,9.5vw,2.7rem); }
  .hero-figure-title { width: min(100%,480px); }
  .hero-lead { max-width: 390px; font-size: .98rem; }
  .hero-meta { grid-template-columns: 1fr; gap: .6rem; border-top: 0; margin-top: 2rem; }
  .hero-meta div { border-left: 2px solid rgba(184,238,61,.45); padding: .3rem 0 .3rem .8rem; }
  .status-band { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } .floodlight-glow { animation: none !important; opacity: .25; } }

/* Interior pages */
.page-hero { min-height: 360px; display: grid; align-items: end; padding: 5rem max(1rem, calc((100vw - var(--max))/2)) 3.5rem; background: radial-gradient(circle at 85% 20%, rgba(184,238,61,.11), transparent 28%), linear-gradient(145deg,#081a15,#07110e); border-bottom: 1px solid var(--line); }
.page-hero > div { max-width: 820px; }
.page-hero h1 { margin: 0; font-size: clamp(3rem,8vw,6.4rem); line-height: .91; letter-spacing: -.065em; text-transform: uppercase; }
.page-hero > div > p:last-child { max-width: 660px; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.1rem; }
.page-content { padding-top: 3.5rem; }
.text-link { color: var(--lime); text-decoration: none; font-weight: 850; white-space: nowrap; }
.pill { display: inline-block; padding: .28rem .5rem; border-radius: 99px; background: rgba(184,238,61,.1); color: var(--lime); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.event-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; min-height: 245px; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.event-card:hover { border-color: rgba(184,238,61,.4); transform: translateY(-2px); }
.event-date { width: 64px; height: 72px; display: grid; place-content: center; text-align: center; background: var(--lime); color: #07110e; border-radius: .8rem; }
.event-date strong { font-size: 1.65rem; line-height: 1; }
.event-date span { font-size: .65rem; font-weight: 950; letter-spacing: .12em; }
.event-body h3, .event-body h2 { margin: .8rem 0 .45rem; line-height: 1.15; }
.event-body p { color: var(--muted); margin: 0; }
.event-arrow { position: absolute; right: 1.1rem; bottom: 1rem; color: var(--lime); font-size: 1.4rem; }
.home-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6rem; align-items: center; }
.home-copy h2 { margin: 0; font-size: clamp(2.7rem,6vw,5.4rem); line-height: .91; letter-spacing: -.06em; text-transform: uppercase; }
.home-copy > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: 1.06rem; }
.home-copy .button { margin-top: 1rem; }
.principles { border-top: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.principles article > span { color: var(--lime); font-weight: 900; }
.principles h3 { margin: 0 0 .25rem; font-size: 1.2rem; }
.principles p { margin: 0; color: var(--muted); }
.anniversary-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding-inline: 2rem; background: var(--lime); color: #07110e; border-radius: var(--radius); overflow: hidden; }
.anniversary-card .eyebrow { color: #243b0a; }
.anniversary-card h2 { max-width: 760px; margin: 0; font-size: clamp(2rem,4.5vw,4rem); line-height: 1; letter-spacing: -.05em; }
.anniversary-card p:last-child { max-width: 600px; }
.anniversary-number { font-size: clamp(7rem,18vw,13rem); line-height: .8; font-weight: 950; opacity: .13; }
.event-list { display: grid; gap: 1rem; }
.event-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.event-desc { max-width: 670px; margin-top: .8rem !important; }
.album-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.album-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.album-button { width: 100%; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.album-button:hover { transform: translateY(-3px); border-color: rgba(184,238,61,.5); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.album-button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.album-card > div:last-child { padding: 1.2rem 1.3rem 1.5rem; }
.album-card h2 { margin: .7rem 0 .2rem; font-size: 1.45rem; }
.album-card p { margin: 0; color: var(--muted); }
.album-open-label { display: block; margin-top: 1rem; color: var(--lime); font-size: .8rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.album-featured { grid-row: span 2; }
.album-cover { min-height: 180px; display: grid; place-items: center; }
.album-featured .album-cover { min-height: 400px; }
.hero-cover { background: linear-gradient(0deg,rgba(4,14,11,.4),transparent), url("assets/hobby-kicker-hero.png") 62% 50%/cover; }
.album-orange { background: linear-gradient(135deg,#ff8737,#74260d); }
.album-lime { background: linear-gradient(135deg,#b8ee3d,#315a14); }
.album-cover span { font-size: 5rem; font-weight: 950; color: rgba(7,17,14,.38); }
.published-photo-section { margin-bottom: 1.2rem; }
.published-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.published-photo { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.published-photo img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; background: #10251e; }
.published-photo figcaption { display: grid; gap: .25rem; padding: 1rem; }
.published-photo figcaption span { color: var(--muted); font-size: .78rem; }
.photo-timeline-section { margin-bottom: 1.5rem; padding: clamp(1.1rem,3vw,1.7rem); overflow: hidden; background: linear-gradient(145deg,rgba(184,238,61,.1),rgba(16,37,30,.04)); border: 1px solid rgba(184,238,61,.25); border-radius: var(--radius); }
.photo-timeline-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.photo-timeline-heading h2 { margin: .2rem 0 0; font-size: clamp(1.6rem,4vw,2.5rem); }
.timeline-all { flex: 0 0 auto; padding: .65rem .9rem; color: var(--green); background: white; border: 1px solid var(--line); border-radius: 999px; font-weight: 850; text-decoration: none; cursor: pointer; }
.timeline-all.active { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.photo-timeline { position: relative; display: flex; gap: .45rem; padding: .6rem .1rem 1rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-color: var(--lime) rgba(16,37,30,.1); scrollbar-width: thin; }
.photo-timeline::before { content: ''; position: absolute; top: 31px; right: .1rem; left: .1rem; height: 2px; background: linear-gradient(90deg,var(--orange),var(--lime)); opacity: .65; }
.photo-year { position: relative; z-index: 1; flex: 0 0 78px; min-height: 64px; display: grid; place-content: center; gap: .18rem; padding: .55rem .35rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s ease,border-color .18s ease,background .18s ease; }
.photo-year:hover { transform: translateY(-3px); border-color: var(--lime); }
.photo-year span { color: var(--green); font-size: .92rem; font-weight: 900; }
.photo-year small { font-size: .62rem; white-space: nowrap; }
.photo-year.has-photos::after { content: ''; position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; background: var(--orange); border: 2px solid white; border-radius: 50%; }
.photo-year.current { border-color: rgba(255,135,55,.55); }
.photo-year.current span::after { content: ' · heute'; color: var(--orange); font-size: .58rem; text-transform: uppercase; }
.photo-year.active { color: #dce9e3; background: var(--green); border-color: var(--green); box-shadow: 0 10px 22px rgba(7,42,31,.22); }
.photo-year.active span { color: var(--lime); }
.timeline-range { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .7rem; }
.timeline-range strong { color: var(--green); font-size: .68rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.timeline-empty .info-icon { width: auto; min-width: 50px; padding: 0 .65rem; border-radius: 999px; }
.info-panel { display: grid; grid-template-columns: auto 1fr; gap: 1rem; margin-top: 1rem; padding: 1.3rem 1.5rem; background: rgba(184,238,61,.08); border: 1px solid rgba(184,238,61,.22); border-radius: var(--radius); }
.info-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--bg); font-weight: 950; }
.info-panel h3 { margin: 0; }
.info-panel p { margin: .35rem 0 0; color: var(--muted); }

/* Forms and login */
.form-card, .login-card, .legal-card { max-width: 920px; margin: 0 auto; padding: clamp(1.3rem,4vw,2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-bottom: 2.3rem; color: var(--muted); font-size: .78rem; font-weight: 800; }
.form-progress span { padding: .8rem 0; border-bottom: 2px solid var(--line); }
.form-progress .active { color: var(--lime); border-color: var(--lime); }
fieldset { margin: 0 0 2.4rem; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 850; }
.form-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1rem; }
.field { grid-column: span 2; display: grid; gap: .45rem; }
.field.wide { grid-column: span 2; }
.field.small { grid-column: span 2; }
.field.full { grid-column: 1/-1; }
.field > span, .mini-select > span { color: #d5ddd9; font-size: .82rem; font-weight: 750; }
.field input, .field select, .mini-select select { width: 100%; min-height: 48px; padding: .7rem .8rem; background: #07140f; color: var(--ink); border: 1px solid rgba(255,255,255,.16); border-radius: .65rem; }
.field input:focus, .field select:focus, .mini-select select:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
.check-field { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.check-field input { width: 20px; height: 20px; accent-color: var(--lime); }
.check-field strong { display: block; color: var(--ink); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.form-footer p { margin: 0; color: var(--muted); font-size: .78rem; }
.login-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); max-width: 940px; margin: 0 auto; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.login-card { width: 100%; border-radius: var(--radius) 0 0 var(--radius); box-shadow: none; }
.login-card h2 { font-size: 2rem; }
.login-card .field { margin-bottom: 1rem; }
.login-mark, .legal-monogram { width: 52px; height: 52px; display: grid; place-items: center; background: var(--lime); color: var(--bg); border-radius: 50%; font-weight: 950; }
.auth-standalone { width: min(520px, 100%); }
.auth-support-text { color: var(--muted); line-height: 1.6; }
.password-rules { display: grid; gap: .25rem; margin: .2rem 0 1rem; padding: .85rem 1rem; background: rgba(184,238,61,.08); border-left: 3px solid var(--lime); border-radius: .45rem; }
.password-rules strong { color: var(--ink); font-size: .85rem; }
.password-rules span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.auth-error { margin: 0 0 1rem; padding: .8rem 1rem; background: rgba(255,111,74,.12); color: #ffb29d; border: 1px solid rgba(255,111,74,.35); border-radius: .55rem; line-height: 1.45; }
.auth-error[hidden] { display: none; }
.forgot-button { width: 100%; margin-top: .85rem; text-align: center; }
.auth-loading { min-height: 55vh; display: grid; place-items: center; align-content: center; gap: 1rem; color: var(--muted); }
.auth-loading span { width: 34px; height: 34px; border: 3px solid rgba(184,238,61,.25); border-top-color: var(--lime); border-radius: 50%; animation: auth-spin .8s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.field-hint { margin: .25rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.button-block { width: 100%; margin-top: .7rem; }
.login-note { color: var(--muted); text-align: center; font-size: .78rem; }
.login-aside { display: grid; align-content: center; padding: 3rem; background: linear-gradient(150deg,rgba(184,238,61,.18),rgba(12,29,24,.98)), url("assets/hobby-kicker-hero.png") 70% 50%/cover; background-blend-mode: multiply; border: 1px solid var(--line); }
.login-aside h2 { margin: 0; font-size: clamp(2.4rem,5vw,4rem); line-height: .96; letter-spacing: -.05em; }
.check-list { display: grid; gap: .7rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list span { color: var(--lime); margin-right: .55rem; }
.success-card { max-width: 700px; margin: 0 auto; padding: 3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 1.4rem; background: var(--lime); color: var(--bg); border-radius: 50%; font-size: 1.6rem; font-weight: 950; }
.success-card .eyebrow { justify-content: center; }
.success-card h2 { margin: 0; font-size: 3rem; }
.process-list { max-width: 450px; display: grid; gap: .7rem; margin: 2rem auto; padding: 0; text-align: left; list-style: none; }
.process-list li { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; align-items: center; color: var(--muted); }
.process-list li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.process-list li.done > span, .process-list li.current > span { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.process-list strong, .process-list small { display: block; }
.legal-card h2 { font-size: 2rem; }
.legal-card h3 { margin: 2rem 0 .3rem; }
.legal-card p { color: var(--muted); }
.legal-heading { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.legal-heading h2 { margin: .2rem 0 0; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.placeholder-line { display: inline-block; margin: .18rem 0; padding: .08rem .4rem; background: rgba(255,135,55,.1); border: 1px dashed rgba(255,135,55,.45); border-radius: .3rem; color: #ffc29b; }
.muted-copy { color: var(--muted); }
.legal-warning { margin-top: 2rem; padding: 1rem 1.1rem; background: rgba(255,135,55,.09); border-left: 3px solid var(--orange); border-radius: .5rem; }
.legal-warning p { margin: .35rem 0 0; }

/* Dashboards */
.dashboard-page .site-footer { display: none; }
.dashboard { display: grid; grid-template-columns: 238px 1fr; min-height: calc(100vh - 76px); background: #eff3f0; color: #13241d; }
.dashboard-nav { display: flex; flex-direction: column; padding: 1.4rem 1rem; background: #091b15; color: var(--ink); border-right: 1px solid rgba(255,255,255,.08); }
.persistent-nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; box-sizing: border-box; }
.session-note { color: #b1c4b9; font-size: .85rem; margin-top: 1.5rem; }
.signed-content { min-width: 0; background: #071713; color: #f4f7f5; }
.dash-user { display: flex; align-items: center; gap: .7rem; padding: .5rem .4rem 1.4rem; border-bottom: 1px solid var(--line); }
.dash-avatar { width: 38px; height: 38px; display: grid; place-items: center; background: var(--lime); color: var(--bg); border-radius: 50%; font-weight: 900; }
.dash-user strong, .dash-user small { display: block; }
.dash-user small { color: var(--muted); font-size: .72rem; }
.dashboard-nav nav { display: grid; gap: .25rem; margin-top: 1.2rem; }
.dashboard-nav nav a, .dashboard-nav nav button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .72rem .8rem; background: none; color: var(--muted); border: 0; border-radius: .55rem; text-decoration: none; text-align: left; cursor: pointer; }
.dashboard-nav nav a:hover, .dashboard-nav nav button:hover, .dashboard-nav nav .active { background: rgba(255,255,255,.07); color: var(--ink); }
.dashboard-nav nav span { width: 20px; color: var(--lime); }
.logout-button { margin-top: auto; padding: .7rem; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: .55rem; cursor: pointer; }
.dashboard-content { min-width: 0; padding: clamp(1.2rem,3vw,2.5rem); }
.dash-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.dash-header p { margin: 0; color: #65766e; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.dash-header h1 { margin: .25rem 0 0; font-size: clamp(2.2rem,4vw,3.4rem); letter-spacing: -.055em; }
.demo-chip { padding: .4rem .65rem; background: #dfe8e3; color: #4a5e55; border-radius: 99px; font-size: .72rem; font-weight: 800; }
.dash-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 1rem; }
.dash-main, .mini-panel, .master-panel, .stat-card { background: white; border: 1px solid #dbe3df; border-radius: 1rem; box-shadow: 0 8px 30px rgba(15,40,29,.05); }
.dash-main { padding: 1.4rem; }
.dash-section-head, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dash-section-head h2, .panel-heading h2 { margin: .15rem 0 0; }
.dash-section-head a { color: #4a675a; text-decoration: none; font-size: .82rem; font-weight: 750; }
.kicker { color: #6c7b74; font-size: .65rem; font-weight: 900; letter-spacing: .13em; }
.dashboard .status-band { margin: 0 0 1rem; background: #10251e; color: var(--ink); box-shadow: none; }
.status-badge.cancelled { color: #ff9c67; background: rgba(255,135,55,.12); border-color: rgba(255,135,55,.28); }
.dash-events { display: grid; gap: .65rem; }
.dash-event { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .8rem 0; border-top: 1px solid #e6ece9; }
.small-date { width: 50px; height: 54px; border-radius: .6rem; }
.small-date strong { font-size: 1.2rem; }
.dash-event h3 { margin: 0; font-size: .98rem; }
.dash-event p { margin: .15rem 0 0; color: #6b7a73; font-size: .78rem; }
.rsvp-group { display: flex; gap: .3rem; }
.rsvp-group button, .row-actions button { padding: .5rem .65rem; background: #edf2ef; color: #506159; border: 1px solid #d7e1dc; border-radius: .5rem; font-size: .72rem; font-weight: 750; cursor: pointer; }
.rsvp-group button.selected, .row-actions button:not(:disabled):hover { background: #dff6a9; color: #29420d; border-color: #a9d840; }
.rsvp-group button.selected.no { background: #ffe3d2; color: #863e18; border-color: #f6b087; }
.dash-side { display: grid; align-content: start; gap: 1rem; }
.mini-panel { padding: 1.3rem; }
.mini-panel h2 { margin: .5rem 0; }
.mini-panel p { color: #687a71; font-size: .86rem; }
.upload-panel { background: #10251e; color: white; border-color: #10251e; }
.upload-panel p { color: #b7c6bf; }
.photo-upload-form { display: grid; gap: .8rem; margin-top: 1rem; }
.photo-upload-form label { display: grid; gap: .35rem; color: #d7e4de; font-size: .76rem; font-weight: 800; }
.photo-upload-form input, .photo-upload-form select { width: 100%; padding: .65rem .7rem; background: rgba(255,255,255,.08); color: white; border: 1px solid rgba(255,255,255,.18); border-radius: .55rem; }
.photo-upload-form select option { color: #10251e; }
.photo-upload-form input[type="file"] { padding: .5rem; font-size: .72rem; }
.photo-upload-form small { color: #91a79d; }
.panel-icon { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(184,238,61,.15); color: var(--lime); border-radius: .6rem; font-size: 1.3rem; }
.upload-button { width: 100%; margin-top: .5rem; }
.profile-list { margin: 1rem 0; }
.profile-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #e5ebe8; }
.profile-list dt { color: #6b7a73; }
.profile-list dd { margin: 0; font-weight: 700; }
.inline-ok { color: #267346; }
.text-button { padding: 0; background: none; color: #315a46; border: 0; font-weight: 800; cursor: pointer; }
.master-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; margin-bottom: 1rem; }
.stat-card { display: flex; justify-content: space-between; min-height: 138px; padding: 1.1rem; }
.stat-card span, .stat-card strong, .stat-card small { display: block; }
.stat-card span { color: #6c7b74; font-size: .75rem; font-weight: 750; }
.stat-card strong { margin: .7rem 0 .1rem; font-size: 2rem; }
.stat-card small { color: #75867d; }
.stat-card i { width: 34px; height: 34px; display: grid; place-items: center; background: #ebf0ed; border-radius: .5rem; font-style: normal; font-weight: 900; }
.stat-card.good i { background: #e2f5e8; color: #237443; }
.master-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; }
.master-panel { padding: 1.2rem; }
.count-badge { min-width: 28px; height: 28px; display: grid; place-items: center; background: #e4f7ae; color: #31510d; border-radius: 50%; font-size: .78rem; font-weight: 900; }
.count-badge.orange { background: #ffe1cf; color: #8a3f16; }
.queue-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: .7rem; align-items: center; padding: .75rem 0; border-top: 1px solid #e4ebe7; }
.photo-row { grid-template-columns: auto minmax(140px,1fr) minmax(110px,auto) minmax(110px,auto) auto; }
.avatar, .photo-thumb { width: 36px; height: 36px; display: grid; place-items: center; background: #e9efec; color: #355346; border-radius: 50%; font-size: .7rem; font-weight: 900; }
.queue-row strong, .queue-row small { display: block; }
.queue-row small { color: #6d7f76; font-size: .72rem; }
.queue-state { padding: .3rem .5rem; background: #f2eee8; color: #8a6a3f; border-radius: 99px; font-size: .65rem; font-weight: 800; }
.queue-state.verified { background: #e3f5e8; color: #2e7247; }
.row-actions button:disabled { cursor: not-allowed; opacity: .55; }
.mini-select { display: grid; gap: .2rem; }
.mini-select select { min-height: 36px; padding: .35rem; background: white; color: #253c31; border-color: #d4dfd9; font-size: .72rem; }
.master-controls { margin-top: 1rem; }
.control-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: .6rem; }
.control-grid button { display: grid; gap: .2rem; padding: 1rem; background: #f7f9f8; color: #243b30; border: 1px solid #dfe7e3; border-radius: .75rem; text-align: left; cursor: pointer; }
.control-grid button:hover { border-color: #8fb832; background: #f5fbe7; }
.control-grid button > span { color: #61811d; font-size: 1.2rem; }
.control-grid small { color: #74847c; }
.empty-state { display: grid; place-items: center; min-height: 150px; color: #6e8077; }
.empty-state span { width: 36px; height: 36px; display: grid; place-items: center; background: #e4f5e9; color: #267346; border-radius: 50%; }
.admin-dialog { width: min(680px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; overflow: auto; background: white; color: #17281f; border: 0; border-radius: 1.1rem; box-shadow: 0 24px 90px rgba(0,0,0,.38); }
.admin-dialog.wide-dialog { width: min(980px, calc(100% - 2rem)); }
.admin-dialog::backdrop { background: rgba(2,12,8,.7); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; background: #edf2ef; color: #263b31; border: 0; border-radius: 50%; font-size: 1.45rem; cursor: pointer; }
.admin-form { padding: clamp(1.4rem,4vw,2.4rem); }
.admin-form h2 { margin: .25rem 3rem .5rem 0; font-size: clamp(2rem,5vw,3rem); letter-spacing: -.045em; }
.admin-form > p { margin: 0 0 1.5rem; color: #66786f; }
.admin-form .field { margin-bottom: 1rem; }
.admin-form .field input, .admin-form .field select, .admin-form .field textarea { background: #f7f9f8; color: #17281f; border-color: #d7e1dc; }
.admin-form .field textarea { width: 100%; padding: .75rem .8rem; resize: vertical; border: 1px solid #d7e1dc; border-radius: .65rem; }
.operations-dialog { min-height: 360px; }
.operation-form { display: flex; align-items: end; gap: .8rem; flex-wrap: wrap; margin: 1.25rem 0; padding: 1rem; background: #f3f7f5; border: 1px solid #dfe8e3; border-radius: .8rem; }
.operation-form .field { min-width: 210px; flex: 1; margin: 0; }
.operation-form-grid { display: grid; grid-template-columns: repeat(3,1fr); align-items: end; }
.operation-form-grid .full { grid-column: 1 / -1; }
.operation-list, .audit-list { display: grid; margin-top: 1rem; border-top: 1px solid #dfe7e3; }
.operation-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid #e3eae6; }
.operation-row strong, .operation-row small { display: block; }
.operation-row small { margin-top: .2rem; color: #6c7d74; }
.operation-note { padding: .8rem 1rem; background: #fff7e9; color: #76582c !important; border-left: 3px solid #e3a53d; border-radius: .4rem; }
.cash-balance { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1rem 1.2rem; background: #10251e; color: white; border-radius: .8rem; }
.cash-balance span { color: #b9c9c1; }
.cash-balance strong { color: var(--lime); font-size: 2rem; }
.cash-value { font-weight: 900; white-space: nowrap; }
.cash-value.income { color: #267346; }
.cash-value.expense { color: #b9542c; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.security-grid section { min-width: 0; }
.operation-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.audit-row { display: grid; grid-template-columns: 120px 1fr; gap: .8rem; padding: .75rem 0; border-bottom: 1px solid #e3eae6; }
.audit-row time, .audit-row small { color: #6c7d74; font-size: .74rem; }
.audit-row strong, .audit-row small { display: block; }
.status-options { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.status-options legend { color: #61736a; font-size: .78rem; border: 0; }
.status-options label { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center; padding: .9rem; background: #f7f9f8; border: 1px solid #dce5e0; border-radius: .7rem; cursor: pointer; }
.status-options input { width: 20px; height: 20px; accent-color: #719b16; }
.status-options strong, .status-options small { display: block; }
.status-options small { margin-top: .12rem; color: #71827a; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.admin-form-grid .full { grid-column: 1/-1; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #e0e7e3; }
.admin-dialog .button-secondary { color: #32483d; border-color: #cedad4; background: white; }
.event-detail-dialog { width: min(600px, calc(100% - 2rem)); }
.event-detail-content { padding: clamp(1.5rem, 5vw, 2.6rem); }
.event-detail-content h2 { margin: .25rem 3rem .8rem 0; color: #17281f; font-size: clamp(2rem, 5vw, 3rem); line-height: .98; letter-spacing: -.045em; }
.event-detail-content > p { color: #52665c; }
.event-detail-meta { margin: 1rem 0 .4rem; color: #17281f !important; font-weight: 850; }
.event-login-note { margin: 1.4rem 0 1rem; padding: .9rem 1rem; background: #f2f6f4; color: #61736a; border-left: 3px solid #8bb526; border-radius: .45rem; }
.album-detail-dialog { width: min(820px, calc(100% - 2rem)); }
.album-detail-content { padding: clamp(1.5rem, 5vw, 2.6rem); }
.album-detail-content h2 { margin: .25rem 3rem .8rem 0; color: #17281f; font-size: clamp(2rem, 5vw, 3rem); line-height: .98; letter-spacing: -.045em; }
.album-detail-content > p { color: #52665c; }
.album-detail-meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; color: #42584d; }
.album-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.4rem; }
.album-preview-item { min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; overflow: hidden; background: linear-gradient(145deg, #102a20, #397052); color: white; border-radius: .75rem; }
.album-preview-item:nth-child(3n+2) { background: linear-gradient(145deg, #ef7f33, #8a3617); }
.album-preview-item:nth-child(3n+3) { background: linear-gradient(145deg, #b8ee3d, #486c18); color: #102016; }
.album-preview-item strong { font-size: 2rem; line-height: 1; }
.album-preview-item span { margin-top: .25rem; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.album-more { margin: .8rem 0 0; font-size: .86rem; font-weight: 800; }
.album-detail-note { display: grid; gap: .3rem; margin-top: 1.4rem; padding: 1rem; background: #f2f6f4; border-left: 3px solid #8bb526; border-radius: .45rem; }
.album-detail-note span { color: #61736a; font-size: .86rem; line-height: 1.5; }
.members-form { max-width: none; }
.master-account-row { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; margin-bottom: 1rem; padding: .9rem; background: #10251e; color: white; border-radius: .75rem; }
.master-account-row strong, .master-account-row small { display: block; }
.master-account-row small { color: #afc0b8; }
.master-avatar { background: var(--lime); color: #10251e; }
.all-rights { padding: .35rem .55rem; background: rgba(184,238,61,.15); color: var(--lime); border-radius: 99px; font-size: .72rem; font-weight: 850; }
.rights-table-wrap { overflow-x: auto; border: 1px solid #dfe7e3; border-radius: .75rem; }
.rights-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.rights-table th { padding: .65rem .7rem; background: #f1f5f3; color: #61736a; text-align: center; white-space: nowrap; }
.rights-table th:first-child { text-align: left; }
.rights-table td { padding: .75rem .7rem; border-top: 1px solid #e2e9e5; text-align: center; }
.rights-table td:first-child { min-width: 180px; text-align: left; }
.rights-table td strong, .rights-table td small { display: block; }
.rights-table td small { color: #71827a; }
.right-check { display: inline-grid; place-items: center; cursor: pointer; }
.right-check input { width: 19px; height: 19px; accent-color: #719b16; }
.right-check span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.rights-note { display: grid; gap: .2rem; margin-top: 1rem; padding: .8rem 1rem; background: #f5f8f6; border-left: 3px solid #8bb526; border-radius: .4rem; }
.rights-note span { color: #64766d; font-size: .82rem; }
.member-admin-list { display: grid; gap: .75rem; }
.member-admin-row { display: grid; grid-template-columns: minmax(190px,1.4fr) 120px 155px 130px 130px; gap: .75rem; align-items: end; padding: 1rem; background: #f7f9f8; border: 1px solid #dfe7e3; border-radius: .8rem; }
.member-admin-row.membership-passive { background: #f2f0ec; }
.member-admin-person strong, .member-admin-person small { display: block; }
.member-admin-person small { margin-top: .15rem; color: #6b7d74; }
.member-admin-row label { display: grid; gap: .3rem; color: #607269; font-size: .75rem; font-weight: 800; }
.member-admin-row input[type="number"], .member-admin-row select { width: 100%; min-height: 42px; padding: .55rem .65rem; background: white; border: 1px solid #cfdbd5; border-radius: .55rem; }
.dues-check { grid-template-columns: auto 1fr !important; align-items: center; padding: .6rem; background: white; border: 1px solid #d8e2dd; border-radius: .55rem; }
.dues-check input { width: 20px; height: 20px; accent-color: #719b16; }
.dues-check input:disabled + span { color: #8b8f8d; text-decoration: line-through; }
.dues-overview { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin: 1rem 0; }
.dues-overview article { padding: 1rem; background: #eef4f1; border-radius: .75rem; }
.dues-overview span, .dues-overview strong, .dues-overview small { display: block; }
.dues-overview strong { margin: .3rem 0; font-size: 1.6rem; }
.dues-overview small { color: #687970; }
.dues-overview .passive-summary { background: #fff3df; }
.contact-directory { padding: clamp(1rem,3vw,2rem); }
.contact-note { max-width: 760px; color: #63766d; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.25rem; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; background: white; border: 1px solid #dfe7e3; border-radius: .9rem; }
.contact-avatar { width: 46px; height: 46px; display: grid; place-items: center; background: #10251e; color: var(--lime); border-radius: 50%; font-weight: 900; }
.contact-card h2 { margin: 0 0 .45rem; font-size: 1.15rem; }
.contact-card a, .contact-card address, .contact-card div > span { display: block; margin-top: .25rem; color: #53675d; font-style: normal; word-break: break-word; }

@media (max-width: 1000px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
  .event-card:last-child { grid-column: 1/-1; }
  .home-split { gap: 3rem; }
  .master-stats { grid-template-columns: 1fr 1fr; }
  .master-layout { grid-template-columns: 1fr; }
  .control-grid { grid-template-columns: repeat(3,1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { grid-template-columns: 1fr 1fr; }
  .member-admin-row { grid-template-columns: 1fr 1fr; }
  .member-admin-person { grid-column: 1/-1; }
}
@media (max-width: 820px) {
  .event-grid, .home-split, .album-grid, .login-layout { grid-template-columns: 1fr; }
  .published-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .event-card:last-child { grid-column: auto; }
  .album-featured { grid-row: auto; }
  .album-featured .album-cover { min-height: 260px; }
  .login-card { border-radius: var(--radius) var(--radius) 0 0; }
  .login-aside { min-height: 420px; }
  .dashboard { grid-template-columns: 1fr; }
  .dashboard-nav { display: flex; }
  .dashboard { grid-template-columns: 180px minmax(0,1fr); }
  .persistent-nav { padding: 1rem .5rem; }
  .dashboard-page .site-header { display: flex; }
  .queue-row { grid-template-columns: auto 1fr; }
  .queue-state, .mini-select, .row-actions { grid-column: 2; }
  .security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .dashboard { grid-template-columns: 130px minmax(0,1fr); }
  .persistent-nav nav a { padding: .7rem .4rem; font-size: .85rem; overflow-wrap: anywhere; }
  .dash-user strong { overflow-wrap: anywhere; }
  .page-hero { min-height: 300px; padding-top: 4rem; }
  .page-hero h1 { font-size: 3.25rem; }
  .anniversary-card, .event-row { grid-template-columns: 1fr; }
  .album-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .published-photo-grid { grid-template-columns: 1fr; }
  .photo-timeline-heading { align-items: stretch; flex-direction: column; }
  .timeline-all { align-self: flex-start; }
  .anniversary-number { position: absolute; right: -.4rem; bottom: 0; }
  .event-row .button { justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .field, .field.wide, .field.small, .field.full { grid-column: 1; }
  .form-progress { grid-template-columns: 1fr; }
  .form-progress span:not(.active) { display: none; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .legal-grid, .master-stats, .dash-side, .control-grid { grid-template-columns: 1fr; }
  .dash-event { grid-template-columns: auto 1fr; }
  .rsvp-group { grid-column: 2; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .operation-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .full { grid-column: 1; }
  .dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .contact-grid, .dues-overview, .member-admin-row { grid-template-columns: 1fr; }
  .member-admin-person { grid-column: 1; }
}
.watermark-preview { margin: 1rem 0; padding: 1rem; min-height: 150px; display: grid; place-items: center; background: repeating-conic-gradient(#dadada 0% 25%, #f4f4f4 0% 50%) 50% / 24px 24px; border-radius: 12px; }
.watermark-preview img { max-width: 100%; max-height: 280px; object-fit: contain; }
#watermark-form fieldset { min-width: 0; }
.watermark-photo-preview { margin: 1rem 0; padding: .75rem; background: #071b13; border: 1px solid #728071; border-radius: 12px; }
.watermark-photo-preview img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; }
.watermark-photo-preview figcaption { color: #d6e2db; margin-top: .5rem; overflow-wrap: anywhere; }
#watermark-form p, #watermark-form label { color: #d6e2db; }
#watermark-form input[type="range"] { width: 100%; accent-color: #c3d42c; }
.download-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 1rem 0; }
.download-photo-grid label { display: flex; flex-direction: column; gap: .5rem; padding: .75rem; border: 1px solid #728071; border-radius: 10px; overflow-wrap: anywhere; cursor: pointer; }
.download-photo-grid img { width: 100%; height: 120px; object-fit: cover; }
.photo-downloads summary { cursor: pointer; }
.photo-downloads form { margin-top: 1rem; }
[hidden] { display: none !important; }
#public-sponsors { width:min(var(--max),calc(100% - 2rem)); margin:.75rem auto; }
.sponsor-card { width:260px; max-width:100%; padding:.65rem; border:1px solid var(--line); border-radius:10px; background:var(--surface); font-size:.75rem; color:var(--muted); }
.persistent-nav .sponsor-card { width:100%; margin-bottom:1rem; }
.sponsor-card > small { font-size:.6rem; letter-spacing:.08em; }
.sponsor-card p { margin:.5rem 0; }
.sponsor-open { display:block; width:100%; padding:.35rem; margin:.35rem 0; border:0; border-radius:6px; background:#fff; cursor:pointer; }
.sponsor-open img { display:block; width:100%; height:65px; object-fit:contain; }
.sponsor-controls { display:flex; align-items:center; justify-content:space-between; gap:.3rem; }
.sponsor-controls button { background:transparent; color:var(--ink); border:1px solid var(--line); border-radius:4px; cursor:pointer; padding:.15rem .4rem; }
.sponsor-popup,.sponsor-editor { max-width:min(600px,calc(100vw - 2rem)); max-height:85vh; overflow:auto; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:12px; padding:1.5rem; }
.sponsor-popup::backdrop,.sponsor-editor::backdrop { background:#000a; }
.sponsor-popup img { display:block; max-width:100%; width:300px; height:140px; object-fit:contain; background:white; border-radius:8px; margin:1rem 0; }
.sponsor-edit-logo { width:180px; height:70px; object-fit:contain; background:white; }
.sponsor-editor fieldset { margin:1rem 0; padding:.7rem; border:1px solid var(--line); }
#imprint-form { display:grid; gap:1rem; margin-top:1rem; }
.visitor-preview-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding:.8rem max(1rem,calc((100vw - var(--max))/2)); background:#123450; color:white; font-size:.85rem; }
.view-mode-switch [data-visitor-mode] { margin-top:.6rem; }
#imprint-form input, #imprint-form textarea { background:#123450; color:#fff; border:1px solid #5681a0; }
.sponsor-active { display:flex; align-items:center; gap:.6rem; padding:.6rem 0; }
.sponsor-active input { width:auto; accent-color:var(--accent); }
.sponsor-editor input:not([type="checkbox"]) { background:#123450; color:#fff; border:1px solid #5681a0; }
.sponsor-editor [data-remove] { background:#482127; color:#fff; border:1px solid #a86670; padding:.5rem .8rem; border-radius:6px; cursor:pointer; }
.persistent-nav .home-weather { margin:.75rem 0; padding:.7rem; font-size:.72rem; }
.persistent-nav .home-weather > strong { font-size:.78rem; }
.persistent-nav .weather-three-days { gap:.25rem; }
.persistent-nav .home-weather small { font-size:.65rem; }
.public-weather-sidebar { position:sticky; top:76px; height:calc(100vh - 76px); overflow-y:auto; box-sizing:border-box; }
#new-year-public:has(.new-year-card) { width:min(var(--max),calc(100% - 2rem)); margin:.75rem auto; }
.new-year-card { max-width:300px; margin:.75rem 0; padding:.8rem; border:1px solid #90773d; border-radius:12px; background:#111c1b; color:#e4e7eb; font-size:.75rem; }
.new-year-card > strong { display:block; color:#f3d783; font-size:1.4rem; margin:.4rem 0; }
.new-year-card .button { padding:.5rem; font-size:.75rem; }
.new-year-overlay { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:#081014; color:#f5db91; }
.new-year-overlay::backdrop { background:#081014; }
.new-year-overlay canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.new-year-message { position:relative; min-height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:2rem; gap:1rem; }
.new-year-message h2 { font-size:clamp(2.5rem,8vw,7rem); text-transform:none; line-height:1.1; color:#e4e7eb; text-shadow:2px 2px #90773d; margin:0; }
.new-year-message > strong { font-size:clamp(3rem,10vw,8rem); }
.birthday-overlay .new-year-message h2 { font-size:clamp(1.6rem,4vw,3.5rem); }
.birthday-overlay .new-year-message > strong { font-size:clamp(2rem,6vw,5rem); max-width:90vw; overflow-wrap:anywhere; line-height:1.15; }
.holiday-easter { --holiday-bg:#18342d; --holiday-ink:#ffe3a6; --holiday-accent:#f3bdce; }
.holiday-snowman { --holiday-bg:#172d3c; --holiday-ink:#e8f5ff; --holiday-accent:#bacbdc; }
.snowman-overlay { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:transparent; color:white; }
.snowman-overlay::backdrop { background:rgba(6,15,24,.32); }
.snowman-overlay canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.snowman-controls { position:absolute; top:1rem; right:1rem; display:flex; align-items:center; gap:1rem; padding:.6rem; background:#142a39; border-radius:10px; font-size:.8rem; }
.holiday-halloween { --holiday-bg:#191222; --holiday-ink:#ffd298; --holiday-accent:#bc97ee; }
.holiday-christmas { --holiday-bg:#102d27; --holiday-ink:#f4dfac; --holiday-accent:#e4b2af; }
.holiday-card { max-width:300px; margin:.75rem 0; padding:.8rem; border:1px solid var(--holiday-accent); border-radius:12px; background:var(--holiday-bg); color:var(--holiday-ink); font-size:.8rem; }
.holiday-card h3 { color:var(--holiday-ink); margin:.4rem 0; }
.holiday-card > span { font-size:2rem; }
.holiday-card .button { padding:.5rem; font-size:.75rem; }
.holiday-setting { margin:1rem 0; padding:1rem; border:1px solid var(--line); border-radius:10px; }
.holiday-overlay { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:var(--holiday-bg); color:var(--holiday-ink); }
.holiday-overlay::backdrop { background:#081014; }
.holiday-overlay canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.holiday-message { position:relative; min-height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:2rem; text-align:center; gap:1rem; }
.holiday-message h2 { font-size:clamp(2.4rem,7vw,6rem); color:var(--holiday-ink); line-height:1.1; text-transform:none; margin:0; }
.holiday-message p { max-width:600px; }
.holiday-emblem { font-size:clamp(3rem,8vw,6rem); }
#new-year-public:has(.holiday-card) { width:min(var(--max),calc(100% - 2rem)); margin:.75rem auto; }
.public-weather-sidebar .home-weather { margin:.75rem 0; padding:.7rem; font-size:.72rem; }
.public-weather-sidebar .home-weather > strong { font-size:.78rem; }
.public-weather-sidebar .weather-three-days { gap:.25rem; }
.public-weather-sidebar .home-weather small { font-size:.65rem; }
@media(max-width:820px) { .public-weather-sidebar { padding:1rem .5rem; } }
@media(max-width:620px) { .public-weather-sidebar .weather-three-days { grid-template-columns:1fr; } }
.home-weather { width:100%; max-width:500px; margin:0; padding:.8rem 1rem; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--muted); font-size:.8rem; }
.home-weather > strong { color:var(--ink); font-size:.85rem; }
.weather-three-days { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.6rem; margin:.65rem 0; }
.weather-three-days > div { display:flex; flex-direction:column; gap:.2rem; text-align:center; }
.home-weather p { margin:.45rem 0; }
.home-weather small { font-size:.7rem; }
.home-weather a { color:inherit; }
.site-counter-wrap { max-width:var(--max); margin:0 auto; padding:.4rem 1rem 1.2rem; text-align:center; }
#site-counter-line { font-size:.75rem; color:var(--muted); line-height:1.7; }
.dues-status-ok { color:#126436; font-weight:700; }
.dues-status-open { color:#744200; }
.member-account-actions { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:.7rem; padding:.7rem 0; color:#102b4b; }
.member-account-actions .button { color:#102b4b; border-color:#477dae; }
.member-account-actions [data-account-action="delete"] { color:#9b1823; border-color:#9b1823; }
.members-form, #contact-edit-form { background:#dfedff; color:#102b4b; border-radius:12px; }
.members-form .member-admin-row { background:#c9dfff; color:#102b4b; }
.members-form .field input, .members-form .field select, .members-form .member-admin-row input[type="number"], .members-form .member-admin-row select, #contact-edit-form .field input, #contact-edit-form .field select { background:#173f6b; color:#fff; border:1px solid #477dae; }
.members-form input::placeholder, #contact-edit-form input::placeholder { color:#c5d9f1; opacity:1; }
.members-form .field span, #contact-edit-form .field span, #contact-edit-form p { color:#102b4b; }
.contact-whatsapp-option { display:flex; align-items:center; gap:.6rem; color:#102b4b; }
.contact-whatsapp-option input { width:20px; height:20px; accent-color:#136f41; }
.contact-whatsapp-badge { display:block; font-size:.8rem; font-weight:700; color:#126436; }
.header-social-links { display:flex; align-items:center; justify-content:flex-end; gap:.15rem; margin-left:.45rem; }
.main-nav .header-social-links a, .header-social-links > span { display:inline-flex; align-items:center; justify-content:center; width:34px; height:38px; padding:0; border-radius:7px; color:var(--muted); }
.header-social-links svg { flex-shrink:0; }
.header-social-pending { opacity:.45; }
.main-nav .header-social-links a:focus-visible { outline:2px solid var(--lime); outline-offset:2px; }
.contact-edit-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.social-link-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; margin:1.25rem 0; }
.social-link-card { display:flex; flex-direction:column; gap:.6rem; padding:1.3rem; border:1px solid var(--line); border-radius:14px; color:var(--ink); text-decoration:none; background:var(--surface); }
.social-link-card > span { font-size:2rem; color:var(--lime); }
a.social-link-card:hover, a.social-link-card:focus-visible { border-color:var(--lime); }
.social-link-card small { color:var(--muted); }
.social-link-pending { opacity:.7; }
.contact-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1rem; }
.members-table-scroll { overflow-x:auto; }
.members-overview { width:100%; border-collapse:collapse; text-align:left; }
.members-overview th, .members-overview td { padding:.85rem; border-bottom:1px solid #bdcdc2; vertical-align:top; }
.members-overview tbody tr:nth-child(even) { background:#edf3ee; }
.members-overview td { min-width:150px; }
.members-overview th { min-width:170px; }
.member-duty-fields { grid-column:1 / -1; display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.7rem; }
.member-admin-person { grid-row:1; }
.published-photo > img { cursor: zoom-in; }
.published-photo > img:focus-visible { outline: 3px solid #d4ee48; outline-offset: 3px; }
.gallery-open { margin: .5rem; }
.gallery-viewer { width: min(1400px, 96vw); max-width: 96vw; max-height: 94dvh; padding: 1rem; background: #081a13; color: #fff; border: 1px solid #728071; border-radius: 12px; }
.gallery-viewer::backdrop { background: rgba(0,0,0,.9); }
.gallery-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gallery-viewer-toolbar p { overflow-wrap: anywhere; min-width: 0; }
.gallery-viewer button { background: #243d30; color: white; border: 1px solid #728071; border-radius: 8px; padding: .7rem; cursor: pointer; }
.gallery-viewer button:disabled { opacity: .35; cursor: default; }
.gallery-viewer-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem; }
.gallery-viewer-stage img { width: 100%; height: min(70dvh, 900px); object-fit: contain; }
.gallery-viewer-help { text-align: center; color: #d6e2db; }
.photo-access-row { display: flex; align-items: start; gap: .8rem; padding: .8rem; margin: .5rem 0; border: 1px solid #728071; border-radius: 8px; overflow-wrap: anywhere; }
.photo-access-row input { flex: 0 0 auto; }
#photo-access-list { max-height: 420px; overflow-y: auto; }
.view-mode-switch { padding: .8rem 0; border-bottom: 1px solid #728071; }
.view-mode-switch p, .view-mode-switch small { color: #d6e2db; display: block; }
.view-mode-switch .button { width: 100%; white-space: normal; padding: .6rem; }
