:root{--ink:#163c36;--text:#163c36;--muted:#6d807a;--line:#dae3dd;--paper:#f3f6f1;--accent:#d6ed83;--amber:#a87522;--surface:#ffffff;--surface-alt:#e8eee7;--input-bg:#fbfcfa;--track-bg:#e8eee5;--notice-bg:#e4efd6;--warning-bg:#fff8e8;--error-bg:#ffe6e1;--error-text:#8e3131;--danger:#9c403e}
:root[data-theme="dark"]{--text:#e3ece2;--muted:#8fa39a;--line:#2d3d37;--paper:#10181a;--surface:#182420;--surface-alt:#22302a;--input-bg:#131f1b;--track-bg:#24322b;--notice-bg:#1f3327;--warning-bg:#332a14;--error-bg:#3a1f1f;--error-text:#ff9d92;--danger:#c8564f}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--text:#e3ece2;--muted:#8fa39a;--line:#2d3d37;--paper:#10181a;--surface:#182420;--surface-alt:#22302a;--input-bg:#131f1b;--track-bg:#24322b;--notice-bg:#1f3327;--warning-bg:#332a14;--error-bg:#3a1f1f;--error-text:#ff9d92;--danger:#c8564f}}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--text);font:15px/1.6 system-ui,sans-serif;transition:background-color .15s ease,color .15s ease}a{color:inherit}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:0;border-radius:10px;background:var(--ink);color:white;padding:12px 20px;min-height:44px;text-decoration:none;display:inline-flex;gap:12px;justify-content:center;align-items:center}button:hover,.button:hover{filter:brightness(1.15)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #90b841;outline-offset:3px}.secondary{background:var(--surface-alt);color:var(--text)}.quiet{background:transparent;color:var(--text);padding:8px}.danger{background:var(--danger)}.wide{width:100%}.top{min-height:82px;padding:16px 3%;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;gap:6px;align-items:center;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-1px}.brand>span:not(.brand-mark){font-weight:400}.brand small{font-size:8px;letter-spacing:1.8px;align-self:flex-end;margin:0 0 7px 4px}/* The rounded square, background and icon are all baked into icon/logo.png itself (see
   gen-logo.php history / the favicon task) - this just sizes and spaces the wrapper, no
   compositing here that could drift out of sync with the favicon derived from the same file. */
.brand-mark{width:40px;height:40px;margin-right:4px;flex-shrink:0;display:block}
.brand-mark img{display:block;width:100%;height:100%}.top nav{display:flex;gap:22px;font-size:13px}.top nav a{text-decoration:none}.top nav a:hover{text-decoration:underline}
/* Hamburger toggle for [data-main-nav] (see resources/views/layout.blade.php,
   public/nav-toggle.js) - hidden entirely above the 900px breakpoint where the nav is always
   shown inline; below it, the button appears and the nav itself becomes a collapsible panel
   instead of wrapping onto the header as a cramped second row. */
.nav-toggle{display:none;background:transparent;border:1px solid var(--line);color:var(--text);border-radius:20px;width:40px;height:40px;min-height:40px;padding:0;align-items:center;justify-content:center;flex-shrink:0}
.nav-toggle:hover{background:var(--surface-alt)}
.nav-toggle:focus-visible{outline:3px solid #90b841;outline-offset:3px}
.nav-toggle span:not([hidden]){display:inline-flex;align-items:center;justify-content:center;line-height:0}/* body is a column flexbox (see body{display:flex} below); a flex item with auto cross-axis
   margins shrinks to its content width instead of stretching, which would make .page hug narrow
   content and center it - width:100% forces it back to the full 1200px so content inside starts
   at the left edge with any leftover space on the right, not around it. */
.page{width:100%;max-width:1200px;margin:auto;padding:38px 24px 90px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}h1{font-size:clamp(28px,4vw,48px);line-height:1.15;letter-spacing:-1.7px;margin:10px 0 22px}h2{font-size:25px;line-height:1.25;letter-spacing:-.8px;margin:10px 0 24px}h3{margin:0 0 12px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#698448}.muted{color:var(--muted)}.fine{font-size:12px;color:var(--muted)}.card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 4px 18px #123a2205}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.columns{display:grid;grid-template-columns:1.5fr 1fr;gap:25px}.stack>*+*{margin-top:20px}label{display:block;font-weight:600;font-size:13px;margin-bottom:18px}label small{display:block;font-weight:400;color:var(--muted);margin-top:5px}input:not([type=checkbox]),select,textarea{display:block;width:100%;margin-top:7px;padding:12px 13px;border:1px solid var(--line);border-radius:9px;background:var(--input-bg);color:var(--text)}textarea{min-height:95px;resize:vertical}.checks{display:flex;gap:20px;flex-wrap:wrap}.checks label{font-weight:400}
/* Pairs a field/social-link's community checkbox with its own "Öffentlich anzeigen" one - the
   public toggle sits visually attached to (never separate from) the community toggle it depends
   on, since it can never be checked while that one is unchecked (profile-visibility-toggle.js). */
.field-visibility-row{display:inline-flex;align-items:center;gap:10px;padding:6px 12px;border-radius:10px;background:var(--surface-alt)}
.public-visibility-toggle{display:inline-flex;align-items:center;gap:4px;font-weight:400;font-size:12px;color:var(--muted)}
.public-visibility-toggle input:disabled{opacity:.35}
.public-visibility-toggle .icon{margin-right:0}.notice{max-width:1150px;margin:15px auto;padding:14px 20px;border-radius:9px;background:var(--notice-bg)}.error{background:var(--error-bg);color:var(--error-text)}.auth-shell{max-width:1180px;margin:7vh auto;padding:24px;display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center}.auth-story{padding:35px 10px}.auth-story h1{font-size:clamp(36px,5vw,65px)}.auth-story>p{max-width:440px}.auth-grid{display:flex;gap:35px;margin:45px 0;font-size:34px}.auth-grid small{display:block;font-size:12px}.auth-card{padding:38px}.badge{display:inline-block;font-size:11px;background:var(--surface-alt);color:#365227;border-radius:20px;padding:4px 10px}.badge.is-warn{background:var(--warning-bg);color:var(--amber)}.badge.is-on{background:var(--accent);color:var(--ink)}.visit-card{margin:14px 0}.visit-card summary{font-weight:600}.visit-details{margin-top:14px;display:flex;flex-direction:column;gap:14px}.danger-zone{border-color:var(--danger)}.add-visit-details{margin-top:18px}.gear{position:relative}.gear.equipped{border:2px solid #759845;background:linear-gradient(150deg,#f2f8e7,#fff)}.gear-icon{font-size:38px;margin:10px 0}.gear form{display:inline}.tabs{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}.tabs a{padding:8px 14px;border-radius:8px;text-decoration:none;background:var(--surface-alt);color:var(--text)}
.profile-builder-links{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.stats{display:flex;gap:28px;flex-wrap:wrap}.stats strong{display:block;font-size:30px;font-variant-numeric:tabular-nums}.stats small{color:var(--muted)}.avatar{width:70px;height:70px;object-fit:cover;border-radius:50%;background:var(--surface-alt);display:grid;place-items:center;font-size:28px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions input,.actions select{width:auto;max-width:100%}.empty{padding:50px 24px;text-align:center;color:var(--muted)}table{width:100%;border-collapse:collapse}td,th{padding:12px;border-bottom:1px solid var(--line);text-align:left}.scroll{overflow-x:auto}dialog{border:0;border-radius:18px;width:min(660px,94vw);max-height:90dvh;padding:28px;background:var(--surface);color:var(--text)}dialog::backdrop{background:#123830ad}dialog .close{float:right}img.cover{width:100%;max-height:330px;object-fit:cover;border-radius:12px}.map-page{height:calc(100dvh - 82px);position:relative}.map-page #map{height:100%;z-index:0}.map-panel{position:absolute;left:20px;top:20px;bottom:25px;width:310px;background:var(--surface);border-radius:16px;z-index:500;padding:22px;display:flex;flex-direction:column;box-shadow:0 8px 30px #153d2420}.map-panel input:not([type=checkbox]),.map-panel select{margin-bottom:10px}.map-results{overflow:auto;flex:1}.map-row{display:flex;align-items:center;gap:12px;background:var(--surface);color:var(--text);padding:10px 0;text-align:left;width:100%;font-size:12px}.map-row img,.map-row .star{width:58px;height:58px;object-fit:cover;border-radius:8px;flex-shrink:0}.star{display:grid;place-items:center;background:#fff0d4;color:var(--amber);font-size:30px}.map-tools{position:absolute;right:20px;top:20px;z-index:500;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.pin{width:94px;text-align:center}.pin b{position:relative;display:block;margin:auto auto 4px;width:30px;height:30px;border-radius:50%;background:var(--surface);border:3px solid #3e6b50;font-size:19px;line-height:24px;color:#284e36}.pin.wishlist b{border-color:#c09143;color:#a87522}.pin.neutral b{border-color:var(--muted);color:var(--muted)}/* !important defeats vendor/leaflet.css's higher-specificity .leaflet-container .leaflet-marker-pane img{width:auto} - without it, a marker photo silently renders at its own aspect ratio instead of the square crop below. */
.pin img{width:88px!important;height:88px;object-fit:cover;border:3px solid white;border-radius:10px;box-shadow:0 4px 15px #1235}.pin b img{border:0;border-radius:0;box-shadow:none;width:22px!important;height:22px}.pin b svg{width:18px;height:18px;vertical-align:-3px}.cluster{background:#245e49;color:white;border:6px solid #bed299;border-radius:50%;display:grid;place-content:center;width:58px;height:58px;font-weight:800;font-size:20px}
/* Privacy badge on a spot marker's existing status circle (.pin b) - never replaces the
   neutral/wishlist/flown icon itself, just an overlay in the free bottom-right corner. A solid
   background + border keeps it legible over any map tile colour. See map-core.js/spot-form.js. */
.pin-lock{position:absolute;right:-4px;bottom:-4px;width:15px;height:15px;border-radius:50%;background:var(--surface);border:2px solid var(--ink);display:flex;align-items:center;justify-content:center;color:var(--ink);line-height:1}
.pin-lock svg{width:8px;height:8px;vertical-align:0}
/* The user's own position, shown as a plain "you are here" dot - deliberately not reusing .pin's
   flown/wishlist/neutral spot-marker styling, so it reads as something other than a spot. */
.own-location-marker{position:relative;width:18px;height:18px}
.own-location-dot{position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#2f7dfa;border:2px solid #fff;box-shadow:0 1px 4px #1235}
.own-location-pulse{position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#2f7dfa;opacity:.55;animation:own-location-pulse 2s ease-out infinite}
@keyframes own-location-pulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(2.8);opacity:0}}
/* Positioned (not part of the button row's own flex flow, so it never changes .map-tools' height
   and in turn never affects the zoom-control clearance below) and right-anchored so it can never
   reach the map's top-left zoom control on the opposite side, at any width. */
.locate-status{position:absolute;top:56px;right:0;left:auto;width:min(260px,60vw);margin:0;padding:8px 12px;border-radius:10px;background:var(--surface);color:var(--error-text);box-shadow:0 8px 30px #153d2420;font-size:12px;line-height:1.5}
.locate-status:empty{display:none}
@keyframes spin{to{transform:rotate(360deg)}}
.is-loading .icon{animation:spin .8s linear infinite}
/* Icon-only on narrow phones (aria-label keeps the accessible name) so the 3-button map-tools row
   stays touch-friendly and fits on one line instead of wrapping into the zoom control above it. */
@media(max-width:650px){.locate-label{display:none}#locate-me{padding-left:14px;padding-right:14px;min-width:44px}}.map-form{height:280px;border-radius:12px;margin-bottom:20px;z-index:0}.hidden{display:none!important}details{margin:16px 0}summary{cursor:pointer}nav[role=navigation] svg{width:20px}nav[role=navigation]{margin-top:25px}@media(max-width:900px){.top{flex-wrap:wrap}.nav-toggle{display:inline-flex;margin-left:auto}nav[data-main-nav]{display:none;order:4;width:100%;flex-direction:column;align-items:stretch;gap:2px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}nav[data-main-nav].is-open{display:flex}nav[data-main-nav] a{padding:12px 8px;border-radius:8px}nav[data-main-nav] a:hover{background:var(--surface-alt);text-decoration:none}.map-page{height:calc(100dvh - 120px)}.auth-shell{gap:25px}.columns{grid-template-columns:1fr}}@media(max-width:650px){.top{padding:12px 18px;gap:10px}.brand small{display:none}.auth-shell{display:block;margin:10px auto}.auth-story{padding:10px}.auth-story h1{font-size:38px}.auth-grid{display:none}.auth-card{padding:24px}.page{padding:24px 16px 80px}.card{padding:20px}.page-title{align-items:flex-start;flex-direction:column}.map-panel{left:12px;right:12px;top:80px;bottom:30px;width:auto;max-width:350px}.map-tools{right:12px;left:12px;justify-content:space-between;top:12px}.map-panel.closed{display:none}.map-page .leaflet-top.leaflet-left .leaflet-control-zoom{margin-top:100px}.stats{gap:18px}h1{font-size:30px}.auth-story .muted{display:none}}
.map-panel.closed{display:none}.grid>*{min-width:0}.card{overflow-wrap:anywhere}.avatar+.avatar{display:none}@media(max-width:400px){.grid{grid-template-columns:1fr}.tabs{flex-wrap:wrap}}
.map-photo-credit{font-size:10px;line-height:1.5;color:#526860;margin:0 0 12px;overflow-wrap:anywhere}
.spot-layer{width:min(1160px,96vw);height:92dvh;max-height:92dvh;padding:0;overflow:hidden;background:var(--paper)}.spot-layer-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;background:var(--surface);border-bottom:1px solid var(--line);height:64px}.spot-layer-toolbar button{font-size:26px;padding:0;width:44px;background:var(--surface-alt);color:var(--text)}.spot-layer iframe{border:0;width:100%;height:calc(100% - 64px);background:var(--paper)}.spot-layer iframe[hidden]{display:none}.spot-layer>p{position:absolute;top:64px;left:0;padding:24px}.spot-layer-open{overflow:hidden}.spot-layer-page .top{display:none}.spot-layer-page .page{padding-top:20px}@media(max-width:650px){.spot-layer{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0}}
.photo-picker{border-top:1px solid var(--line);margin:25px 0;padding-top:20px}.photo-picker .actions input{flex:1;min-width:160px}.photo-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo-choice{display:flex;flex-direction:column;gap:8px;width:100%;padding:8px;border:3px solid transparent;background:var(--surface-alt);color:var(--text);text-align:left}.photo-choice img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}.photo-choice span{font-size:12px;overflow-wrap:anywhere;line-height:1.4}.photo-choice[aria-pressed=true]{border-color:#487743;background:var(--notice-bg)}.photo-choice:disabled{opacity:.5;cursor:default}.photo-results .fine{margin:5px 0 18px;overflow-wrap:anywhere}@media(max-width:650px){.photo-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
.current-photo{display:flex;align-items:center;gap:16px;padding:12px;margin:14px 0 20px;border:2px solid #789a4d;border-radius:12px;background:var(--notice-bg)}.current-photo img{width:112px;height:112px;object-fit:cover;border-radius:9px}.current-photo p{margin:5px 0}.current-photo a{overflow-wrap:anywhere}@media(max-width:480px){.current-photo{align-items:flex-start}.current-photo img{width:92px;height:92px}}
/* Client-side "just selected this file" preview (see public/photo-preview.js) - a bounded-size
   thumbnail, never the huge in-flight-detail rendering .flight-entry-photo uses further down. */
.photo-preview{display:block;max-width:280px;max-height:200px;width:auto;height:auto;object-fit:cover;border-radius:10px;margin-top:8px}
.spot-media-manager{border-top:1px solid var(--line);margin:25px 0;padding-top:20px}.saved-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.saved-media{border:2px solid var(--line);border-radius:12px;background:var(--surface-alt);padding:10px;min-width:0}.saved-media.is-cover{border-color:#789a4d;background:var(--notice-bg)}.saved-media img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.saved-media strong{display:block;margin-top:8px}.saved-media p{min-height:38px}.saved-media .actions{gap:6px}.saved-media button{font-size:11px;padding:8px 10px;min-height:38px}@media(max-width:650px){.saved-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:390px){.saved-media-grid{grid-template-columns:1fr}}
/* No title, no card padding, no gap: the photo sits flush against the card's own edges/radius
   (overflow:hidden on the card clips it to the rounded corners), so it reads as a full-bleed
   cover image rather than "a picture inside a padded box". Only .spot-location-details keeps a
   normal padding, on the right on desktop / below the photo on mobile. */
.spot-location-card{margin-bottom:28px;padding:0;overflow:hidden}.spot-location-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:0;align-items:stretch}.spot-location-photo{min-width:0;background:var(--surface-alt);display:flex;flex-direction:column}.spot-location-photo>img{display:block;width:100%;height:100%;min-height:390px;object-fit:cover}.spot-photo-credit{padding:12px 16px;background:var(--surface-alt)}.spot-photo-credit p{margin:2px 0}.spot-photo-placeholder{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted);text-align:center;padding:24px}
.spot-photo-placeholder p{margin:0}
/* Visually separates the "Bild vorschlagen" action from the empty-photo placeholder above it -
   a full-width rule plus its own spacing/background, not just another line in the same stack. */
.spot-photo-placeholder-action{width:100%;margin-top:6px;padding:20px 16px 18px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:8px}.spot-location-details{min-width:0;padding:26px}.spot-location-details .map-form{height:310px}.social-embed{position:relative;width:100%;margin:18px 0;overflow:hidden;border-radius:12px;background:var(--surface-alt)}.social-embed.youtube{aspect-ratio:16/9}.social-embed.instagram{min-height:580px}.social-embed iframe{display:block;border:0;width:100%;height:100%;min-height:inherit}.pending-photo{border-color:#c79b42;background:var(--warning-bg)}.admin-photo-proposal{padding:18px 0;border-top:1px solid var(--line)}.admin-photo-proposal:first-of-type{border-top:0}.admin-photo-compare{display:flex;gap:14px;flex-wrap:wrap;margin:14px 0}.admin-photo-compare figure{margin:0;min-width:150px;flex:1}.admin-photo-compare img{display:block;width:100%;max-width:340px;aspect-ratio:16/10;object-fit:cover;border-radius:14px}.admin-photo-compare figcaption{margin-top:6px;color:var(--muted);font-size:.85rem}@media(max-width:820px){.spot-location-grid{grid-template-columns:1fr}.spot-location-photo>img{min-height:0;aspect-ratio:4/3}.spot-location-details .map-form{height:300px}}@media(max-width:480px){.spot-location-details{padding:16px}.spot-location-details .map-form{height:250px}}
.pilot-contributions{margin:34px 0}.contribution-heading{display:flex;align-items:end;justify-content:space-between;gap:18px}.contribution-heading h2{margin:3px 0 4px}.contribution-heading p.fine{margin:0}.pilot-contribution-list{display:grid;gap:12px}.flight-entry{padding:16px 18px}.flight-entry-head{display:flex;align-items:center;gap:14px}.flight-avatar{width:48px;height:48px;font-size:18px;flex-shrink:0}.flight-entry-meta{min-width:0}.flight-entry-meta strong,.flight-entry-meta small{display:block}.flight-entry-meta small{color:var(--muted);margin-top:2px}
/* Teaser and full description occupy the exact same slot - only one of the two is ever visible
   (display:none by default on the full text, flipped by the same :has() toggle everything else
   below reacts to), so opening "mehr lesen" replaces the teaser instead of appending the full
   text below it. */
.pilot-description{margin:10px 0 0;color:var(--muted);white-space:pre-line}
.pilot-description-full{display:none;margin:10px 0 0;white-space:pre-line}
.flight-entry:has(.flight-entry-toggle[open]) .pilot-description{display:none}
.flight-entry:has(.flight-entry-toggle[open]) .pilot-description-full{display:block}
/* The flight's own photo (if any) and the rest of its content sit side by side - a compact,
   square 20% teaser thumbnail while collapsed, growing into a genuinely prominent, non-square 50%
   photo once expanded (see the .flight-entry:has() rules below, which key off the same <details>
   this app already uses for "mehr lesen"/"weniger anzeigen" and now drive every other detail area
   too - description, photo width and size, the body and the social section - from one toggle,
   still no JS). A flight with no uploaded photo never reserves this column at all -
   .flight-entry-content-col's flex:1 then simply fills the full row on its own. */
.flight-entry-row{display:flex;gap:16px;align-items:stretch;min-height:96px}
/* align-self:center opts the photo column out of the row's align-items:stretch - without it, the
   expanded row's explicit min-height:260px (below) is taller than the aspect-ratio-derived square,
   and stretch would win over aspect-ratio, silently turning the photo back into a tall rectangle. */
.flight-entry-photo-col{flex:0 0 20%;aspect-ratio:1/1;align-self:center;min-width:0;border-radius:12px;overflow:hidden;background:var(--surface-alt);transition:flex-basis .15s ease}
.flight-entry-photo-col .flight-entry-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
/* The trigger is the whole square, not just the <img>, so the click target matches what the
   cursor:zoom-in hint applies to. Resets every default <button> look (border/background/padding)
   so it reads as a plain, clickable photo rather than a button sitting on top of one. */
.flight-entry-photo-trigger{display:block;width:100%;height:100%;padding:0;margin:0;border:0;background:none;cursor:zoom-in;min-height:0}
.flight-entry-photo-trigger:hover .flight-entry-photo,.flight-entry-photo-trigger:focus-visible .flight-entry-photo{filter:brightness(.92)}
.flight-entry-content-col{flex:1;min-width:0}
.flight-entry:has(.flight-entry-toggle[open]) .flight-entry-row{min-height:260px}
/* aspect-ratio:1/1 is inherited unchanged from .flight-entry-photo-col above - the flight photo
   stays exactly square whether collapsed or expanded, only its width (and therefore its size)
   grows from a 20% teaser to a genuinely prominent 50% square. */
.flight-entry:has(.flight-entry-toggle[open]) .flight-entry-photo-col{flex-basis:50%}
.flight-entry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:10px}
.flight-entry-toggle{margin:0}
.flight-entry-toggle summary{list-style:none;font-size:12px;font-weight:700;cursor:pointer;color:#5b714b}
.flight-entry-toggle summary::-webkit-details-marker{display:none}
.flight-entry-toggle summary::after{content:' ▾'}
.flight-entry-toggle[open] summary::after{content:' ▴'}
.flight-toggle-open{display:none}
.flight-entry-toggle[open] .flight-toggle-closed{display:none}
.flight-entry-toggle[open] .flight-toggle-open{display:inline}
/* "Flug bearbeiten" is a plain link to the flight's own editing mask on "Spot bearbeiten" (see
   SpotController::form()'s ?flight= handling) - never a second, inline edit form here. */
.flight-entry-edit-link{margin-left:auto;font-size:12px;font-weight:700;padding:4px 10px;border-radius:8px;background:var(--surface-alt);color:var(--text);text-decoration:none}
.flight-entry-body{display:none;margin-top:14px;padding-top:14px;border-top:1px solid var(--line);flex-direction:column;gap:12px}
.flight-entry:has(.flight-entry-toggle[open]) .flight-entry-body{display:flex}
.visit-lock{display:inline-flex;vertical-align:-2px;margin-left:6px;color:var(--muted)}.visit-lock .icon{margin-right:0}
/* "Mehr von diesem Flug" now sits below the photo/content row rather than inside
   .flight-entry-body, so it needs its own :has()-driven visibility tied to the same toggle
   instead of inheriting .flight-entry-body's. Still a normal section, not a bordered/highlighted
   sub-box - only the individual embeds below get their own card treatment (.social-embed-card),
   so a flight with several links doesn't read as one big special area. */
.flight-entry-social{display:none;margin-top:18px}
.flight-entry:has(.flight-entry-toggle[open]) .flight-entry-social{display:block}
.flight-entry-social>.eyebrow{margin:0 0 10px}
.flight-entry-social-embeds{display:flex;flex-wrap:wrap;gap:16px}
.social-embed-card{flex:1 1 260px;max-width:50%;min-width:0;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--surface);display:flex;flex-direction:column;justify-content:center}
.social-embed-card .social-embed{margin:0}
.social-embed-card>.button{width:100%}
.flight-entry-social-embeds .social-embed.instagram{min-height:520px}/* align-items:stretch (the grid default, set explicitly here since it used to be overridden to
   start) makes every card in a row match the row's tallest one - same equal-height logic as
   .dash-grid. The cards themselves stay plain blocks (no flex column), so only the card's own box
   grows; its content stays put at the top instead of being stretched apart. */
.spot-utility-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;align-items:stretch}.spot-utility-grid>*{margin:0}@media(max-width:520px){.flight-entry{padding:12px 14px}.flight-avatar{width:40px;height:40px;font-size:15px}.flight-entry-body{padding-top:12px}.flight-entry-edit-link{margin-left:0}.flight-entry-row{flex-direction:column;min-height:0;gap:12px}.flight-entry-photo-col{flex-basis:auto;width:100%;aspect-ratio:1/1;height:auto}.flight-entry:has(.flight-entry-toggle[open]) .flight-entry-row{min-height:0}.social-embed-card{max-width:100%;flex-basis:100%}.flight-entry-social-embeds .social-embed.instagram{min-height:480px}}
/* One shared dialog for every flight photo on the page (see spot-detail.js), not a copy per
   flight - the trigger just swaps its <img src> before opening, same "single instance, reused
   for whichever card was clicked" pattern as #spot-layer. Full original photo, letterboxed via
   contain so nothing is cropped, unlike the square cover-cropped card thumbnail it was opened
   from. */
.flight-photo-lightbox{width:min(1400px,96vw);max-width:96vw;height:auto;max-height:92dvh;padding:0;border-radius:0;background:none;overflow:visible}
.flight-photo-lightbox::backdrop{background:#0b1a14e6}
.flight-photo-lightbox img{display:block;width:100%;height:100%;max-height:92dvh;object-fit:contain;border-radius:12px;background:var(--surface)}
.flight-photo-lightbox .dialog-close{position:absolute;top:-16px;right:-16px;width:40px;height:40px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;border:2px solid var(--surface)}
@media(max-width:650px){.flight-photo-lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.flight-photo-lightbox img{max-height:100dvh;border-radius:0}.flight-photo-lightbox .dialog-close{top:14px;right:14px}}
.top-actions{display:flex;align-items:center;gap:12px}
/* Current-locale trigger (see components/language-switcher.blade.php) - same 40px circle
   footprint as .theme-toggle/.notif-bell summary, filled with --accent so it reads as a distinct
   "current language" chip rather than a plain icon button. The dropdown itself is toggled by
   public/language-switcher.js (open/outside-click/Escape); CSS only ever reacts to the [hidden]
   attribute and .is-open, never owns the open/closed state itself. */
.language-switcher{position:relative}
.language-switcher-trigger{background:var(--accent);border:1px solid var(--accent);color:var(--ink);border-radius:20px;width:40px;height:40px;min-height:40px;padding:0;font-size:13px;font-weight:700;letter-spacing:.5px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.language-switcher-trigger:hover{filter:brightness(.95)}
.language-switcher-trigger:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.language-switcher.is-open .language-switcher-trigger{border-radius:12px 12px 4px 4px}
/* On mobile .top-actions wraps onto its own row flush with the left edge (unlike desktop, where
   the whole action cluster sits at the far right) - anchoring the menu to the trigger's right
   edge there would push most of it off-screen to the left, so it switches to a left anchor. */
@media(max-width:650px){.language-switcher-trigger{width:36px;height:36px;min-height:36px;font-size:12px}.language-switcher-menu{left:0;right:auto}}
.language-switcher-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:180px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:6px;z-index:40;display:flex;flex-direction:column;gap:2px}
.language-switcher-menu[hidden]{display:none}
.language-switcher-menu form{margin:0}
.language-switcher-item{width:100%;background:transparent;border:none;color:var(--text);border-radius:8px;padding:9px 12px;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}
.language-switcher-item:hover{background:var(--surface-alt)}
.language-switcher-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.language-switcher-item[aria-checked="true"]{font-weight:700}
.language-switcher-item .icon{flex-shrink:0}
[data-theme="dark"] .language-switcher-menu{box-shadow:0 10px 30px rgba(0,0,0,.5)}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .language-switcher-menu{box-shadow:0 10px 30px rgba(0,0,0,.5)}}
.theme-toggle{background:transparent;border:1px solid var(--line);color:var(--text);border-radius:20px;width:40px;height:40px;min-height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
.theme-toggle:hover{background:var(--surface-alt);filter:none}
/* The light/dark icon spans are plain inline boxes, so their height follows the button's
   inherited line-height (27px) rather than the 18px icon - align-items:center on .theme-toggle
   then centers that taller, baseline-shifted box instead of the icon glyph itself, leaving it a
   couple px off-center. Flex-centering + line-height:0 collapses the span to the icon's own size
   so there is nothing left to center but the icon. */
.theme-toggle span:not([hidden]){display:inline-flex;align-items:center;justify-content:center;line-height:0}
[data-theme="dark"] .eyebrow{color:#9fc76c}
[data-theme="dark"] .badge{color:#a9d97e}
[data-theme="dark"] .star{color:var(--amber)}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .eyebrow{color:#9fc76c}:root:not([data-theme]) .badge{color:#a9d97e}}
@media(max-width:650px){.theme-toggle{width:36px;height:36px;min-height:36px}}
/* Flex column body + flex:1 on the single <main> makes a short page's footer sit flush at the
   viewport bottom instead of floating mid-page, while a normal long page still just flows past it. */
body{display:flex;flex-direction:column;min-height:100vh}
body>main{flex:1 0 auto}
.site-footer{border-top:1px solid var(--line);margin-top:40px;padding:20px 3%;text-align:center;flex-shrink:0}
.site-footer-inner{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 20px;font-size:12px;color:var(--muted)}
.site-footer-inner nav{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.site-footer-inner a{color:var(--muted);text-decoration:none}
.site-footer-inner a:hover{text-decoration:underline}
.site-footer-inner a.footer-feedback-link{display:inline-flex;align-items:center;gap:6px}
.site-footer-inner a.footer-feedback-link .icon{margin-right:0}
@media(max-width:480px){.site-footer-inner{flex-direction:column;gap:8px}}
.canton-map{width:100%;max-width:340px;margin:0 auto;display:block}
.canton-shape{fill:var(--surface-alt);stroke:var(--paper);stroke-width:.15;transition:fill .15s ease}
.canton-shape:hover{fill:#c3cfc0}
.canton-shape.is-visited{fill:var(--ink)}
.canton-shape.is-visited:hover{filter:brightness(1.15)}
/* Only inside an SVG marked [data-canton-map] (see public/reveal-animations.js): visited cantons
   start invisible and fade in one after another once the card scrolls into view, instead of all
   appearing at once. Scoped to that attribute so it never touches the /stats page's own canton
   map, which uses a different (.intensity-1..4) colour scheme, not .is-visited. */
[data-canton-map] .canton-shape.is-visited{opacity:0;transition:opacity .5s ease,fill .15s ease}
[data-canton-map] .canton-shape.is-visited.is-revealed{opacity:1}
@media(prefers-reduced-motion:reduce){[data-canton-map] .canton-shape.is-visited{opacity:1}}
.canton-shape.is-target{stroke:var(--amber);stroke-width:.6}
[data-theme="dark"] .canton-shape{stroke:var(--paper)}
[data-theme="dark"] .canton-shape:hover{fill:#324339}
[data-theme="dark"] .canton-shape.is-visited{fill:var(--accent)}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .canton-shape:hover{fill:#324339}:root:not([data-theme]) .canton-shape.is-visited{fill:var(--accent)}}
.quick-actions{display:flex;flex-wrap:wrap;gap:10px}
.quick-actions a,.quick-actions button{min-height:46px}
.equip-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.equip-strip.has-two{grid-template-columns:repeat(2,1fr)}
.equip-slot{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:14px 6px;border-radius:14px;background:var(--paper)}
.equip-slot .gear-art{width:64px;height:46px}
.equip-slot.is-empty{opacity:.5}
.equip-slot strong{font-size:12px;line-height:1.3}
.equip-slot small{color:var(--muted);font-size:11px}
.pulse-counts{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.pulse-counts strong{display:block;font-size:24px;font-variant-numeric:tabular-nums}
.pulse-counts small{color:var(--muted)}
@media(max-width:700px){.equip-strip{gap:8px}.equip-slot .gear-art{width:54px;height:40px}}
@media(max-width:420px){.pulse-counts{gap:14px}}
.tabs a.is-active{background:var(--ink);color:#fff}
.notif-bell{position:relative}
.notif-bell summary{list-style:none;cursor:pointer;width:40px;height:40px;border-radius:20px;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:17px;position:relative}
/* Matches .theme-toggle's own mobile size exactly, so the two icon buttons stay the same size
   next to each other at every width - must come after the base rule above since an earlier media
   query would lose to this rule's equal specificity by source order. */
@media(max-width:650px){.notif-bell summary{width:36px;height:36px;min-height:36px}}
.notif-bell summary::-webkit-details-marker{display:none}
.notif-bell summary:hover{background:var(--surface-alt)}
.notif-count{position:absolute;top:-4px;right:-4px;background:var(--danger);color:#fff;border-radius:10px;font-size:10px;font-weight:700;line-height:1.5;min-width:16px;text-align:center;padding:0 4px}
.notif-dropdown-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(360px,90vw);max-height:420px;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 15px 45px #123a2225;z-index:600;padding:8px}
.notif-dropdown-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line);font-size:13px}
.notif-dropdown-head a{font-size:12px}
.notif-list{display:flex;flex-direction:column}
.notif-item{display:flex;flex-direction:column;gap:8px;padding:12px;border-bottom:1px solid var(--line)}
.notif-item:last-child{border-bottom:0}
.notif-item.is-unread{background:var(--surface-alt);border-radius:10px}
.notif-item-link{display:flex;gap:12px;align-items:flex-start;text-decoration:none;color:inherit}
.notif-icon{flex-shrink:0;width:34px;height:34px;border-radius:10px;background:var(--paper);display:grid;place-items:center;font-size:16px}
.notif-item-text{min-width:0;display:flex;flex-direction:column;gap:2px}
.notif-item-text strong{font-size:13px;line-height:1.4}
.notif-body{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.notif-item-text small{color:var(--muted)}
.notif-actions{display:flex;gap:6px;flex-wrap:wrap;padding-left:46px}
.notif-actions button{font-size:11px;padding:6px 10px;min-height:32px}
@media(max-width:480px){.notif-dropdown-panel{position:fixed;left:12px;right:12px;top:70px;width:auto}.notif-actions{padding-left:0}}
.drone-zone-panel{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}
.drone-zone-panel .eyebrow{display:block;margin-bottom:8px}
.drone-zone-option{display:flex;align-items:center;gap:8px;font-weight:400;font-size:13px;margin-bottom:8px}
.drone-zone-option input{margin:0}
.drone-zone-all{font-weight:700}
.drone-zone-categories{margin-bottom:6px}
.drone-zone-status{margin-bottom:8px}
.drone-zone-disclaimer{line-height:1.5}
.drone-zone-disclaimer a{color:inherit;text-decoration:underline}
.drone-zone-popup{font-size:13px;line-height:1.5;max-width:240px}
.drone-zone-popup strong{display:block;font-size:14px;margin-bottom:2px}
.drone-zone-popup p{margin:4px 0}
.leaflet-popup-content .drone-zone-popup .fine{color:var(--muted);font-size:11px}
.nearby-hint{margin:14px 0}
.nearby-hint>p{margin:0 0 10px;font-weight:600}
.nearby-hint-item{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--line);font-size:13px}
.nearby-hint-item:first-of-type{border-top:0}
.nearby-hint-item span{color:var(--muted);font-size:12px}
/* Central icon sizing: every <x-icon> uses one of these three tiers instead of one-off pixel
   values, and always takes its color from the surrounding text (currentColor) - see
   App\View\Components\Icon and resources/icons/*.svg. */
.icon{display:inline-block;vertical-align:middle;flex-shrink:0;margin-right:6px}
.icon-sm{width:14px;height:14px}
.icon-md{width:18px;height:18px}
.icon-lg{width:28px;height:28px}
.top nav a{display:inline-flex;align-items:center;gap:8px}
.tabs a{display:inline-flex;align-items:center;gap:8px}
/* Flex containers already space icon+label via gap - avoid doubling up with the default margin. */
button .icon,.button .icon,.top nav a .icon,.tabs a .icon{margin-right:0}
/* Solo, label-less icon buttons (drag handle, eye toggle, resize handle, dialog close, theme toggle). */
.dash-eye .icon,.dash-drag-handle .icon,.dash-resize-handle .icon,.dialog-close .icon,.theme-toggle .icon,.notif-bell summary .icon,.star .icon,.feature-icon .icon,.notif-icon .icon,.nearby-row-placeholder .icon,.flight-row-placeholder .icon,.adventure-photo-empty .icon{margin-right:0}
/* "Flugwetter" card (spot.blade.php + weather-card.js) - a compact panel, not a stack of large
   sub-cards: fixed 4x2 metric grid on desktop (2 columns on tablet/mobile), a segmented day
   control, small time chips reusing the existing .scroll utility (horizontal scroll on mobile),
   never a new generic selector component. Precipitation+probability and sunrise+sunset are each
   one grid cell, not four extra ones - see weather-card.js. */
.weather-card{padding:18px 22px}
.weather-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.weather-head h2{margin:0;font-size:18px}
.weather-hint{margin:3px 0 10px;font-size:11px}
.weather-days{display:inline-flex;flex-wrap:wrap;gap:2px;background:var(--surface-alt);border-radius:9px;padding:3px}
.weather-days button{padding:5px 11px;border-radius:6px;border:0;background:transparent;color:var(--text);cursor:pointer;font:inherit;font-size:12px}
.weather-days button.is-active{background:var(--ink);color:#fff}
.weather-hours{display:flex;gap:6px;margin-bottom:14px;padding-bottom:2px}
.weather-hours button{flex-shrink:0;padding:4px 10px;border-radius:14px;border:0;background:var(--surface-alt);color:var(--text);cursor:pointer;font:inherit;font-size:11.5px}
.weather-hours button.is-active{background:var(--ink);color:#fff}
.weather-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 16px}
.weather-metric{display:flex;flex-direction:column;gap:1px;min-width:0}
/* The measurement itself (e.g. "18.3 °C") is the value a pilot actually scans for, so it carries
   the visual weight; the label stays small/muted - one clearly primary and one clearly secondary
   line per cell, not two same-weight lines. Kept compact enough that the fixed 4x2 grid still
   doesn't grow the card noticeably taller. */
.weather-metric-label{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;letter-spacing:.3px}
.weather-metric-label .icon{width:12px;height:12px;flex-shrink:0;color:var(--muted);margin-right:0}
.weather-metric-value{font-weight:800;font-size:21px;line-height:1.2;letter-spacing:-.3px}
.weather-wind-arrow{transition:transform .2s ease}
.weather-disclaimer{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.weather-unavailable{color:var(--muted)}
@media(max-width:700px){.weather-grid{grid-template-columns:repeat(2,1fr);gap:12px 20px}}

/* Drone Bingo (App\Services\BingoService, resources/views/drone-bingo.blade.php +
   dashboard/cards/drone_bingo.blade.php). Completed-cell colours swap on dark mode the same way
   the canton map already does (var(--ink) on light, var(--accent) on dark), for the same reason:
   var(--ink) is too close to the dark surface colour to read as "filled" there. */
.bingo-summary{display:flex;flex-wrap:wrap;gap:18px;align-items:baseline;margin:6px 0 18px}
.bingo-summary strong{font-size:26px;font-variant-numeric:tabular-nums}
.bingo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:520px;margin:0 auto}
.bingo-cell{aspect-ratio:1/1;border:1px solid var(--line);border-radius:10px;background:var(--surface-alt);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;font-size:11px;line-height:1.25;padding:4px;cursor:pointer;transition:background .2s ease,transform .2s ease}
.bingo-cell:hover{background:var(--paper)}
.bingo-cell:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
.bingo-cell.is-free{background:var(--accent);color:var(--ink);font-weight:700;cursor:default}
.bingo-cell.is-completed{background:var(--ink);color:#fff;border-color:var(--ink)}
.bingo-cell.in-bingo-line{box-shadow:0 0 0 2px var(--amber)}
.bingo-cell-progress{font-size:10px;opacity:.75}
[data-theme="dark"] .bingo-cell.is-completed{background:var(--accent);color:var(--ink)}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .bingo-cell.is-completed{background:var(--accent);color:var(--ink)}}
@keyframes bingo-pop{0%{transform:scale(.85);opacity:.5}60%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.bingo-cell.is-newly-completed{animation:bingo-pop .6s ease}
@media(prefers-reduced-motion:reduce){.bingo-cell.is-newly-completed{animation:none}}
@keyframes bingo-celebration-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.bingo-celebration{margin:0 0 18px;padding:14px 18px;border-radius:12px;background:var(--notice-bg);border:1px solid var(--accent);font-weight:600;animation:bingo-celebration-in .5s ease}
.bingo-celebration.is-full-house{background:var(--accent);color:var(--ink)}
@media(prefers-reduced-motion:reduce){.bingo-celebration{animation:none}}
.bingo-cell-dialog-status{display:inline-block;margin-top:10px;padding:4px 10px;border-radius:20px;font-size:12px;background:var(--surface-alt)}
.bingo-cell-dialog-status.is-done{background:var(--accent);color:var(--ink)}
.dash-bingo-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;max-width:130px;margin:10px 0}
.dash-bingo-cell{aspect-ratio:1/1;border-radius:3px;background:var(--surface-alt)}
.dash-bingo-cell.is-filled{background:var(--ink)}
[data-theme="dark"] .dash-bingo-cell.is-filled{background:var(--accent)}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .dash-bingo-cell.is-filled{background:var(--accent)}}

/* Challenges (App\Services\ChallengeService, resources/views/challenges.blade.php +
   dashboard/cards/challenge.blade.php) - reuses .card/.grid/.button/.badge/.progress throughout;
   only the prominent "active challenge" hero card needs its own accent treatment. */
.challenge-feature{border-left:4px solid var(--accent);padding-left:20px}
.challenge-feature h3{margin-top:6px;font-size:22px}
.challenge-admin-form label{display:block;margin:10px 0}
.challenge-admin-form textarea{width:100%;font:inherit}
@media(max-width:480px){.bingo-cell{font-size:9px;padding:2px;gap:0}.bingo-grid{gap:5px}}

/* Dashboard "current challenge" hero card - deliberately more present/emotional than a normal info
   card ("hier läuft gerade etwas Besonderes"), but still the light DroneSpots palette. This one
   card is intentionally theme-invariant: it always renders on a bright accent-to-cream gradient,
   even in dark mode - var(--paper)/var(--surface) resolve to near-black there, which would turn it
   into exactly the dark card the task explicitly rules out, so the light end of the gradient and
   the icon plate use fixed light values instead of theme tokens (var(--ink)/var(--accent) are the
   same in both themes already, so text/the gradient's bright end need no override). The decorative
   circle is purely CSS (no new asset), kept subtle via low opacity. */
.challenge-hero{position:relative;overflow:hidden;padding:30px 28px;border:none;border-radius:20px;background:linear-gradient(155deg,var(--accent) 0%,#fbfbf5 68%);box-shadow:0 14px 34px rgba(20,50,40,.14)}
.challenge-hero-decor{position:absolute;top:-60px;right:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 70%);pointer-events:none}
.challenge-hero .eyebrow{position:relative;color:var(--ink);font-weight:800;letter-spacing:1.2px}
.challenge-hero-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px}
.challenge-hero-counter{font-size:13px;font-weight:700;color:var(--ink);opacity:.75;font-variant-numeric:tabular-nums}
.challenge-slider-track{position:relative;display:grid}
.challenge-slide{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease}
.challenge-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.challenge-hero-top{position:relative;display:flex;align-items:center;gap:16px;margin:10px 0 10px}
.challenge-hero-icon{flex-shrink:0;width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:16px;box-shadow:0 6px 16px rgba(20,50,40,.12)}
.challenge-hero-icon .icon{width:30px;height:30px;color:var(--ink)}
.challenge-hero h2{position:relative;margin:0;font-size:26px;line-height:1.15;color:var(--ink)}
.challenge-hero-teaser{position:relative;margin:0 0 22px;font-size:15px;color:var(--ink);opacity:.8;max-width:46ch;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.7em}
.challenge-hero-progress-text{position:relative;margin:0 0 8px;font-size:15px;font-weight:700;color:var(--ink)}
.challenge-hero-progress-text strong{font-size:23px;font-variant-numeric:tabular-nums}
.challenge-hero-status{position:relative;margin:0 0 8px;display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:var(--ink)}
.challenge-hero-bar{position:relative;display:block;width:100%;height:16px;border-radius:20px;margin-bottom:14px;appearance:none;border:none}
.challenge-hero-bar::-webkit-progress-bar{background:rgba(255,255,255,.55);border-radius:20px}
.challenge-hero-bar::-webkit-progress-value{background:var(--ink);border-radius:20px;transition:width .3s ease}
.challenge-hero-bar::-moz-progress-bar{background:var(--ink);border-radius:20px}
.challenge-hero-time{position:relative;margin:0 0 18px;font-size:13px;font-weight:600;color:var(--ink);opacity:.75}
.challenge-hero-cta{position:relative;background:var(--ink);color:#fff;border:none;box-shadow:0 8px 20px rgba(20,50,40,.2)}
.challenge-hero-cta:hover{filter:brightness(1.1)}
.challenge-slider-controls{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;margin-top:6px}
.challenge-slider-arrow{width:36px;height:36px;flex-shrink:0;border:none;border-radius:50%;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;cursor:pointer;box-shadow:0 4px 12px rgba(20,50,40,.12)}
.challenge-slider-arrow:hover{filter:brightness(.96)}
.challenge-slider-arrow:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.challenge-slider-dots{display:flex;align-items:center;gap:8px}
.challenge-slider-dot{width:9px;height:9px;padding:0;border:none;border-radius:6px;background:rgba(0,0,0,.2);cursor:pointer;transition:width .2s ease,background .2s ease}
.challenge-slider-dot.is-active{width:22px;background:var(--ink)}
.challenge-slider-dot:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.challenge-hero-compact{padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
.challenge-hero-compact p{position:relative;margin:0;font-weight:700;color:var(--ink)}
@media(max-width:480px){.challenge-hero{padding:22px 20px}.challenge-hero h2{font-size:21px}.challenge-hero-icon{width:46px;height:46px}.challenge-hero-icon .icon{width:24px;height:24px}.challenge-hero-compact{padding:16px 20px}}
/* Challenge Hub (resources/views/challenges.blade.php) - each challenge as its own standalone
   card, 2-up on desktop/1-up on mobile, reusing the exact same .challenge-hero visual language as
   the dashboard/profile slider (components/challenge-card.blade.php) rather than a second design. */
.challenge-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}
@media(max-width:768px){.challenge-grid{grid-template-columns:1fr}}
.challenge-hero-static{height:100%;display:flex;flex-direction:column}
.challenge-hero-static>:last-child{margin-top:auto}
/* A whole card links to the same place its own "Challenge ansehen" link does (Hub grid only - the
   detail page's own hero never sets :href, so it never gets this overlay); aria-hidden/tabindex=-1
   since the visible link already provides the same, real, keyboard/screen-reader-reachable target. */
.challenge-hero-cover-link{position:absolute;inset:0;z-index:1}
.challenge-hero-period{position:relative;margin:0 0 10px;font-size:13px;font-weight:600;color:var(--ink);opacity:.75}
.challenge-hero-reward{position:relative;margin:0 0 10px;font-size:13px;color:var(--ink);opacity:.8}
.challenge-hero-status.is-failed{opacity:.65}
/* Challenge detail page (resources/views/challenge-show.blade.php / challenge-public.blade.php) -
   a focused single-column width for the hero + task-breakdown, rather than stretching across the
   full .page width. */
.challenge-detail{max-width:720px;margin:0 auto}
.challenge-task-list{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}
.challenge-task-list li{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.4}
.challenge-task-list li .icon{flex-shrink:0;width:20px;height:20px;margin-top:2px;color:var(--ink)}
/* iOS Safari zooms the whole page in when a text field with a computed font-size below 16px gets focus
   (body text is 15px and controls inherit it; stats.css even sets 13px). Fixed once, globally and only for
   touch devices (primary pointer coarse = phones/tablets), so the desktop look is unchanged. !important so no
   component rule can re-introduce the zoom. Deliberately NOT solved with maximum-scale/user-scalable in the
   viewport meta - pinch-zoom must stay available (accessibility). */
@media (pointer:coarse){
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]):not([type=reset]):not([type=file]):not([type=color]):not([type=image]):not([type=hidden]),select,textarea,[contenteditable=""],[contenteditable="true"]{font-size:16px!important}
}
.flight-entry{scroll-margin-top:16px}
/* ---- Map pages (/map, /discover): map + filter overlay, ONE spot slider under the map, drone zones ------------------
   Three independent areas (public/map.js): (1) the map with the filter panel as a left overlay (.map-panel), (2) the spots of
   the CURRENT map section as a horizontal slider under the map (.map-spots > .map-results > .map-item > a.map-row, same cards
   on phones and desktop - only the card width differs), (3) the BAZL drone-zone options. Hiding the filter panel never hides
   the slider. STACK mode (small/short screens - the same media query as map.js): the filter panel leaves the map and sits
   under it instead of covering it. Card width = a number of cards per row (--cards, the half card is the "swipe me" hint),
   not a fixed pixel size: 2.5 on phones/tablets, 3.5 on desktop, 4.5 on very wide screens. */
.map-page{--vh:100vh;--chrome:105px;--below:264px;--gap:12px;--cards:3.5;--gaps:3;--pad:16px;--card-min:200px;--img-h:88px;
	--map-h:clamp(400px,calc(var(--vh) - var(--chrome) - var(--below)),820px);
	position:relative;height:auto;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
@supports (height:100dvh){.map-page{--vh:100dvh}}
@media(max-width:1000px){.map-page{--cards:2.5;--gaps:2}}
@media(min-width:1500px){.map-page{--cards:4.5;--gaps:4}}
@media(max-width:900px){.map-page{--chrome:120px}}
/* short windows (landscape phones, small laptop windows): the map must not be taller than the screen; the page scrolls to the slider */
@media(max-height:560px){.map-page{--map-h:clamp(340px,calc(var(--vh) - var(--chrome) - 40px),760px)}}
/* phones: the map keeps (nearly) the viewport height (100dvh follows the iOS toolbar, 100vh is the fallback): 230px less leaves the
   slider heading plus the top of the first cards peeking in under the (wrapping, ~143px) header; never below 340px, never above 760px. */
@media(max-width:650px){.map-page{--chrome:143px;--below:87px;--gap:10px;--card-min:120px;--img-h:70px;--map-h:clamp(340px,calc(var(--vh) - var(--chrome) - var(--below)),760px)}}
/* stack mode on a phone: the compact filter bar sits between map and slider, so the map gives up ~50px to keep the slider heading in view */
@media(max-width:650px) and (max-height:719px){.map-page{--below:137px}}
.map-page #map{order:1;flex:none;height:var(--map-h);z-index:0}
/* the redundant top-left zoom control would sit under the filter overlay / tool buttons; the bottom-right one stays */
.map-page .leaflet-top.leaflet-left .leaflet-control-zoom{display:none}
/* (1) filter panel = floating overlay on the map (its own scroll if the map is short) */
.map-panel{position:absolute;left:12px;top:12px;bottom:auto;right:auto;width:300px;max-width:calc(100% - 24px);max-height:calc(var(--map-h) - 24px);overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;z-index:500;background:var(--surface);border-radius:16px;box-shadow:0 8px 30px #153d2420}
.map-panel.closed{display:none}
.map-panel input:not([type=checkbox]),.map-panel select{margin-bottom:8px;min-height:38px;padding-top:5px;padding-bottom:5px}
.map-panel h2{margin:2px 0 10px;font-size:21px;line-height:1.2}
.map-panel .eyebrow{margin:0 0 2px}
/* shorter desktop windows: the page title in the overlay gives way to the filters */
@media(min-width:651px) and (max-height:899px){.map-panel .eyebrow,.map-panel h2{display:none}}
.map-filters{margin:0}
.map-filters>summary{display:none}
/* narrow tablets: the tool buttons would run into the panel, so it starts below them */
@media(max-width:860px){.map-panel{top:80px;max-height:calc(var(--map-h) - 100px)}}
@media(max-width:650px){
.map-panel{left:10px;top:62px;width:min(236px,66vw);max-width:none;max-height:calc(var(--map-h) - 74px);padding:12px;border-radius:14px}
.map-panel .eyebrow,.map-panel h2{display:none}
.map-panel .grid{grid-template-columns:1fr!important;gap:0!important}
.map-panel input:not([type=checkbox]),.map-panel select{margin-bottom:8px;min-height:40px;padding-top:6px;padding-bottom:6px}
.map-tools{left:12px;right:12px;top:12px;justify-content:space-between;gap:6px}
.map-tools .button,.map-tools button{min-height:40px;padding:8px 12px;font-size:13px;gap:8px}
}
/* (2) the spot slider */
.map-spots{order:3;flex:none;padding:14px 16px 0;min-width:0}
.map-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 4px}
.map-results-head #result-count{margin:0;font-size:15px;font-weight:700;color:var(--text)}
.map-results-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.map-link-button{display:inline-flex;flex-shrink:0;min-height:0;padding:6px 0 6px 8px;background:transparent;color:var(--text);font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;border-radius:8px}
.map-link-button[hidden]{display:none}
/* arrow buttons: only for mouse users (touch swipes, trackpads scroll sideways) */
.map-slider-nav{display:none;gap:6px}
@media(hover:hover) and (pointer:fine){.map-slider-nav{display:inline-flex}}
.map-nav-button{width:32px;height:32px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--surface);color:var(--text);border:1px solid var(--line)}
.map-nav-button:disabled{opacity:.35;cursor:default}
/* swipe + momentum, snaps card by card, no visible scrollbar, never moves by itself; the strip runs edge to edge (negative margin) */
.map-results{position:relative;display:flex;flex:none;gap:var(--gap);min-height:0;margin:0 -16px;padding:4px 16px 14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 16px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
.map-results::-webkit-scrollbar{display:none}
.map-results>.empty{flex:0 0 100%;margin:0;padding:10px 0}
.map-item{flex:0 0 clamp(var(--card-min),calc((100% + var(--pad) - var(--gap)*var(--gaps))/var(--cards)),420px);min-width:0;display:flex;flex-direction:column;scroll-snap-align:start;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 4px 16px #153d2410}
.map-item[hidden]{display:none}
.map-item.is-active{border-color:#759845;box-shadow:0 0 0 2px #759845,0 4px 16px #153d2418}
.map-item .map-row{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;min-height:0;padding:0;font-size:13px;text-decoration:none;background:transparent;color:var(--text)}
.map-item .map-row img,.map-item .map-row .star{width:100%;height:var(--img-h);aspect-ratio:auto;border-radius:0;object-fit:cover}
.map-item .map-row .star{display:flex;align-items:center;justify-content:center}
.map-item .map-row-text{flex:none;min-width:0;padding:8px 10px 10px}
.map-item .map-row-text strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:13.5px;line-height:1.25}
.map-item .map-row-text small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;line-height:1.45}
.map-item .map-photo-credit{margin:0;padding:0 10px 8px;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:651px){
.map-item .map-row-text{padding:10px 12px 12px}
.map-item .map-row-text strong{font-size:15px}
.map-item .map-row-text small{font-size:12.5px}
.map-item .map-photo-credit{padding:0 12px 10px;font-size:10px}
}
.map-row-lock{display:inline-flex;vertical-align:-2px;margin-left:6px;color:var(--muted)}
.map-row-lock svg{width:13px;height:13px}
.map-row-text .map-row-status{display:inline-flex;align-items:center;gap:6px;margin-top:2px;color:var(--muted)}
.map-row-status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--muted);flex-shrink:0}
.map-row-status.is-flown::before{background:#759845}
.map-row-status.is-wishlist::before{background:#c09143}
/* A pin marked from the slider (and vice versa). */
.pin.is-active b{box-shadow:0 0 0 5px #75984566;transform:scale(1.18)}
.pin.is-active img{outline:3px solid #759845}
/* (3) drone zones: a compact section INSIDE the filter panel (right under the spot filters): title + info icon, "Alle anzeigen", then one toggle chip per BAZL category with its map colour. The long notes/source/data status live in the info dialog. */
.zone-filter{border-top:1px solid var(--line);margin:4px 0 12px;padding-top:10px}
.zone-filter-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 8px;margin-bottom:8px}
.zone-filter-title{display:flex;align-items:center;gap:6px;margin:0;font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--muted)}
.zone-info-button{position:relative;width:26px;height:26px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:transparent;color:var(--muted);border:1px solid var(--line)}
.zone-info-button::after{content:"";position:absolute;inset:-9px}
.zone-info-button .icon{width:14px;height:14px}
.zone-filter .drone-zone-all{margin:0;font-size:12.5px;white-space:nowrap}
.zone-filter .drone-zone-categories{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.zone-filter .drone-zone-categories .drone-zone-option{margin:0;min-height:32px;padding:4px 10px 4px 8px;gap:6px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:12px;line-height:1.2;cursor:pointer}
.zone-filter .drone-zone-categories .drone-zone-option:has(input:checked){border-color:#759845;background:var(--surface-alt)}
.zone-filter .drone-zone-option input{width:15px;height:15px;min-height:0;padding:0;flex-shrink:0}
.drone-zone-swatch{display:inline-block;width:10px;height:10px;flex-shrink:0;border:1.5px solid var(--muted);border-radius:3px;background:transparent}
.drone-zone-note{margin:8px 0 0;color:var(--error-text)}
.drone-zone-note[hidden]{display:none}
.zone-info{width:min(440px,92vw);max-width:none;padding:0;border:0;border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 20px 60px #0004}
.zone-info-box{padding:18px 20px 20px}
.zone-info-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.zone-info-top button{width:36px;height:36px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:transparent;color:var(--text);border:1px solid var(--line)}
/* STACK: small/short screens (the same query as map.js) - map, then the filter section, then the slider */
@media (max-width:650px) and (max-height:719px),(max-height:560px){
.map-page #map{min-height:340px}
.map-panel,.map-panel.closed{order:2;position:static;display:flex;flex:none;width:auto;max-width:none;max-height:none;overflow:visible;margin:0;padding:12px 16px 4px;border-radius:0;box-shadow:none;border-top:1px solid var(--line)}
.map-panel .eyebrow,.map-panel h2{display:none}
.map-panel .grid{grid-template-columns:1fr 1fr!important}
.map-panel input:not([type=checkbox]),.map-panel select{margin-bottom:0}
.map-filters{margin:6px 0 0}
.map-filters>summary{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:0 4px;font-weight:600;cursor:pointer;list-style:none}
.map-filters>summary::-webkit-details-marker{display:none}
.map-filters>summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 4px 0 0;transition:transform .15s}
.map-filters[open]>summary::after{transform:rotate(-135deg);margin-top:4px}
.map-tools{left:12px;right:12px;top:12px;justify-content:space-between;gap:6px}
}

/* Spot form: breathing room below the "Spot speichern" button (before "Deine Flüge" etc.) */
#spot-form{margin-bottom:32px}

/* "Mit diesem Flug geschafft": the flight that completed a challenge (partials/challenge-completion-flight.blade.php) - the same .flight-row mini card as the dashboard lists, sitting inside the challenge hero. The hero keeps its light gradient and dark ink in both themes, so the block uses the hero's own ink instead of the theme surface. */
.challenge-completion{position:relative;margin:14px 0 14px;padding:10px 12px 8px;border-radius:12px;background:rgba(255,255,255,.66);border:1px solid rgba(20,50,40,.14);color:var(--ink)}
.challenge-completion a{color:inherit}
.challenge-completion-title{display:flex;align-items:center;gap:6px;margin:0 0 2px;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--ink);opacity:.75}
.challenge-completion .flight-row{border-bottom:0;padding:6px 0 4px}
.challenge-completion .flight-row img,.challenge-completion .flight-row-placeholder{width:46px;height:46px}
.challenge-completion .flight-row-placeholder{background:rgba(255,255,255,.7);color:#5f7d3b}
.challenge-completion .flight-row-text strong{font-size:14px;overflow-wrap:anywhere}
.challenge-completion .flight-row-text small{color:var(--ink);opacity:.7}
.challenge-completion-note{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:1.45;color:var(--ink);opacity:.85}
.challenge-completion-note .icon{flex-shrink:0;margin-top:2px}
/* guests: link to the public game "Wo ist der Spot?" next to the language switcher (only while the feature is on) */
.top-game-link{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--surface-alt);color:var(--text);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.top-game-link:hover{filter:brightness(.97)}
.top-game-link .icon{margin:0}
@media(max-width:560px){.top-game-link span{display:none}.top-game-link{padding:8px 11px}}

/* ---- main navigation: as much as fits, then denser, then the hamburger (public/nav-toggle.js measures; the 900px media query above still collapses it on a phone) ------------ */
.top nav a{white-space:nowrap}
/* step 1: tighter - no icons in the links, smaller gaps, no "SWITZERLAND" line */
.top.is-dense nav{gap:15px}
.top.is-dense nav a .icon{display:none}
.top.is-dense .brand small{display:none}
.top.is-dense .top-actions{gap:8px}
/* step 2: the hamburger (the same panel as on a phone), with the full list and the icons */
.top.is-compact{flex-wrap:wrap}
.top.is-compact .nav-toggle{display:inline-flex;margin-left:auto}
.top.is-compact nav[data-main-nav]{display:none;order:4;width:100%;flex-direction:column;align-items:stretch;gap:2px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.top.is-compact nav[data-main-nav].is-open{display:flex}
.top.is-compact nav[data-main-nav] a{padding:12px 8px;border-radius:8px}
.top.is-compact nav[data-main-nav] a:hover{background:var(--surface-alt);text-decoration:none}
.top .brand,.top .top-actions{flex-shrink:0}
/* Administration -> Orte: Zeile mit dem Spot (aufklappbar) und - nur bei eigenen Spots - dem Button "Wo ist der Spot?" rechts daneben */
.admin-spot-guess{display:flex;align-items:center;flex:0 0 auto;gap:10px;margin:12px 0}
.admin-spot-guess .badge{white-space:nowrap}
.admin-spot-guess button{white-space:nowrap;margin:0;min-height:36px;padding:6px 14px;font-size:13px}

/* Administration -> Orte: Überschrift links, Filter (Benutzer, Kanton, Berechtigung) oben rechts */
.admin-spots-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px 28px;flex-wrap:wrap;margin-bottom:8px}
.admin-spots-head h2{margin-bottom:4px}
.admin-spot-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px 12px;margin-left:auto}
.admin-spot-filter label{margin:0;font-size:12px}
.admin-spot-filter input,.admin-spot-filter select{min-height:38px;margin-top:4px;padding:6px 10px;font-size:13px;min-width:0}
.admin-spot-filter input{width:150px}
.admin-spot-filter select{max-width:190px}
.admin-spot-filter button,.admin-spot-filter .button{min-height:38px;padding:6px 16px;font-size:13px;margin:0}
@media(max-width:760px){.admin-spot-filter{margin-left:0;width:100%}.admin-spot-filter label{flex:1 1 140px}.admin-spot-filter input,.admin-spot-filter select{width:100%;max-width:none}}
/* Administration -> Orte: klassische Seitennavigation (Zurück · Seitenzahlen · Weiter, Seite x von y, Einträge pro Seite) */
.admin-pager{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.admin-pager-count{margin:0}
.admin-pager-nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.admin-pager-step{min-height:36px;padding:6px 14px;font-size:13px}
.admin-pager-step.is-disabled{opacity:.45;cursor:default;pointer-events:none}
.admin-pager-page{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 8px;border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:600;text-decoration:none;color:var(--text);background:var(--surface)}
a.admin-pager-page:hover{border-color:#759845;background:var(--surface-alt)}
.admin-pager-page.is-current{border-color:var(--ink);background:var(--ink);color:#fff}
.admin-pager-gap{padding:0 2px;color:var(--muted)}
.admin-pager-size{display:flex;align-items:center;gap:8px;margin:0}
.admin-pager-size label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:600}
.admin-pager-size select{min-height:36px;padding:4px 10px;font-size:13px;width:auto}
@media(max-width:760px){.admin-pager{flex-direction:column;align-items:flex-start}}
/* Administration -> Benutzer: kompakte Tabelle - Pilot (mit Admin-/Founder-Kennzeichen), E-Mail, Status als Badge, Aktionen in einer Zeile */
.admin-users{width:100%;border-collapse:collapse}
.admin-users th{padding:8px 10px;font-size:12px;letter-spacing:.3px;text-align:left;color:var(--muted);border-bottom:2px solid var(--line);white-space:nowrap}
.admin-users td{padding:12px 10px;vertical-align:top;border-bottom:1px solid var(--line)}
.admin-users tbody tr:last-child td{border-bottom:0}
.admin-users tbody tr:hover{background:var(--surface-alt)}
.admin-users td .badge{margin-left:6px;white-space:nowrap}
.admin-users td strong+.badge{margin-left:8px}
.admin-user-status.is-active{background:#e3efcf;color:#2f5a1d}
.admin-user-status.is-blocked{background:var(--error-bg);color:var(--error-text)}
.admin-user-actions{min-width:260px}
.admin-user-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.admin-user-buttons form{margin:0}
.admin-user-buttons button{min-height:34px;padding:5px 12px;font-size:13px;margin:0}
.admin-user-edit{margin:10px 0 0}
.admin-user-edit summary{font-size:13px;color:var(--muted)}
.admin-user-edit form{display:grid;gap:8px;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-alt)}
.admin-user-edit input{margin:0;min-height:38px}
.admin-user-edit-buttons{display:flex;flex-wrap:wrap;gap:8px}
.admin-user-edit-buttons button{min-height:34px;padding:5px 12px;font-size:13px;margin:0}
:root[data-theme="dark"] .admin-user-status.is-active{background:#2d4a24;color:#c9e8a8}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .admin-user-status.is-active{background:#2d4a24;color:#c9e8a8}}
/* Administration -> Orte als Tabelle (wie Benutzer): Nr., Ort, Benutzer, Status, Berechtigung, Aktionen */
.admin-spots-table td:first-child{color:var(--muted);white-space:nowrap}
.admin-spots-table td .fine{margin:0}
.admin-spots-table td .badge{margin-left:0}
.admin-spots-table td .badge+.badge{margin-left:6px}
.admin-badge-game{background:#e3eafb;color:#2c4aa8}
:root[data-theme="dark"] .admin-badge-game{background:#1f2a47;color:#9bb6ff}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .admin-badge-game{background:#1f2a47;color:#9bb6ff}}
.admin-spots-table .admin-user-buttons .button{min-height:34px;padding:5px 12px;font-size:13px}
.admin-spots-table .admin-user-edit form .grid{gap:8px}
.admin-spots-table .admin-user-edit label{margin:0;font-size:12px}
.admin-spots-table .admin-user-edit form{max-width:420px}
.admin-user-buttons .admin-spot-guess{margin:0}
/* sortierbare Spaltenköpfe der Administration-Tabellen (Klick: aufsteigend, nochmals: absteigend) */
.admin-users th a.admin-sort{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none;white-space:nowrap}
.admin-users th a.admin-sort:hover{color:var(--ink);text-decoration:underline}
.admin-users th a.admin-sort.is-active{color:var(--ink)}
.admin-sort-mark{font-size:10px;opacity:.45}
.admin-sort.is-active .admin-sort-mark{opacity:1}
/* iPhone/iPad (Safari, auch Chrome/Firefox auf iOS): kein automatisches Hineinzoomen beim Fokussieren eines Eingabefelds ("Spot suchen" auf der Karte) und damit
   keine seitliche Scrollleiste. Zusätzlich zur Regel für Touchgeräte weiter oben gilt die 16px-Schrift ausdrücklich für iOS-Browser (-webkit-touch-callout gibt es nur
   dort), die Schriftgrösse wird nicht automatisch vergrössert, und nichts darf seitlich über die Seite hinausragen. Pinch-Zoom bleibt möglich (kein maximum-scale). */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@supports (-webkit-touch-callout:none){
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]):not([type=reset]):not([type=file]):not([type=color]):not([type=image]):not([type=hidden]),select,textarea{font-size:16px!important}
}
html,body{overflow-x:clip}
.map-page{overflow-x:clip}
.map-panel{overflow-x:hidden}
/* iPhone: die Eingabefelder erben die Schrift ihres Labels (13px) - Safari zoomt dann beim Antippen hinein (Faktor 16/13). Die Regel für Touchgeräte weiter oben greift auf
   manchen iPhones nicht (pointer:coarse), darum zusätzlich über Bildschirmbreite und hover:none, also über Bedingungen, die jeder mobile Browser kennt. */
@media (max-width:1100px),(pointer:coarse),(hover:none){
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]):not([type=reset]):not([type=file]):not([type=color]):not([type=image]):not([type=hidden]),select,textarea{font-size:16px!important}
}
/* iOS: die Feldschrift kommt aus --field-font-size (public/ios-field-zoom.js): 16px bei 100 % Seitenzoom, grösser bei kleinerem Seitenzoom, damit die Felder auf dem
   Bildschirm 16 Punkte gross sind und Safari nicht hineinzoomt. Ohne Skript gilt weiterhin 16px. */
@supports (-webkit-touch-callout:none){
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]):not([type=reset]):not([type=file]):not([type=color]):not([type=image]):not([type=hidden]),select,textarea{font-size:var(--field-font-size,16px)!important}
}
