* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: #1a1424; }
body {
  font-family: Inter, system-ui, sans-serif; color: #fff; background: transparent;
  min-height: 100dvh; -webkit-tap-highlight-color: transparent;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
/* sky layer: fixed behind everything, so it covers long pages and avoids iOS fixed-background bugs */
.sky { position: fixed; inset: 0; z-index: -1; background: #1a1424; }
.sky canvas { width: 100%; height: 100%; display: block; }
.hero, .loc, .seg { text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.wrap { max-width: 520px; margin: 0 auto; }

/* header */
.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 0; gap: 10px; }
.brand { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 18px; }
.pill {
  font-size: 14px; background: rgba(255,255,255,0.14); border: 0; border-radius: 999px;
  padding: 8px 14px; min-height: 36px; white-space: nowrap;
}
.top-actions { display: flex; gap: 8px; }

/* segmented sunset / sunrise */
.seg { display: flex; margin: 14px auto 0; background: rgba(0,0,0,0.22); border-radius: 999px; padding: 4px; width: max-content; }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0.75; min-height: 36px; }
.seg button.on { background: rgba(255,255,255,0.92); color: #2a1838; opacity: 1; }

/* location card */
.loc { background: rgba(0,0,0,0.2); border-radius: 14px; padding: 10px 16px; margin: 16px 20px 0; text-align: center; }
.loc-name { font-size: 16px; font-weight: 600; }
.loc-sub { font-size: 12.5px; opacity: 0.8; margin-top: 3px; line-height: 1.5; }
.loc-warn { font-size: 12.5px; color: #ffd9c9; margin-top: 6px; line-height: 1.45; }

/* hero */
.hero { text-align: center; padding: 26px 24px 4px; }
.when { font-size: 15px; opacity: 0.85; }
.score { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 128px; line-height: 1; letter-spacing: -4px; margin-top: 8px; text-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.score small { font-size: 30px; font-weight: 500; letter-spacing: 0; opacity: 0.7; }
.verdict { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 28px; margin-top: 6px; }
.countdown { font-size: 15px; opacity: 0.85; margin-top: 8px; min-height: 20px; }
.reasons { list-style: none; padding: 0; margin: 18px auto 0; display: grid; gap: 8px; font-size: 15px; max-width: 380px; }
.reasons li { background: rgba(0,0,0,0.18); border-radius: 12px; padding: 10px 14px; }

/* cards */
.card { background: rgba(20,14,30,0.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 16px; margin: 14px 16px 0; padding: 14px 16px; }
.card h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; margin: 0 0 10px; }

/* week strip */
.week { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.week::-webkit-scrollbar { display: none; }
.day {
  flex: 0 0 auto; width: 62px; border: 0; border-radius: 12px; padding: 8px 4px 10px;
  background: rgba(255,255,255,0.08); text-align: center; display: grid; gap: 4px;
}
.day.on { background: rgba(255,255,255,0.9); color: #2a1838; }
.day .d { font-size: 12px; opacity: 0.85; }
.day .s { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 700; }
.day .bar { height: 4px; border-radius: 2px; margin: 0 8px; }
.day .best { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #ffb36b; min-height: 12px; }
.day.on .best { color: #c2410c; }

/* viewing times */
.times { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 15px; }
.times .t { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.times .hl { color: #ffcf9a; }
.note { font-size: 13px; opacity: 0.75; margin-top: 10px; line-height: 1.5; }

/* details */
details.card { padding: 0; }
summary { list-style: none; padding: 14px 16px; font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "Show"; opacity: 0.7; font-weight: 400; }
details[open] summary::after { content: "Hide"; }
.detail-body { padding: 0 16px 16px; display: grid; gap: 10px; font-size: 14px; }
.f-row { display: grid; grid-template-columns: 120px 1fr 40px; gap: 10px; align-items: center; }
.f-bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.18); overflow: hidden; }
.f-fill { height: 100%; background: #fff; border-radius: 4px; }
.f-num { text-align: right; opacity: 0.8; font-variant-numeric: tabular-nums; }
.raw { opacity: 0.75; line-height: 1.6; }

/* states */
.center { min-height: 60dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.status { font-size: 16px; opacity: 0.9; max-width: 320px; line-height: 1.5; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.25); border-top-color: #fff; animation: spin 0.9s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* place picker */
.search { width: 100%; max-width: 360px; margin-top: 20px; display: grid; gap: 10px; }
.search input, .field {
  width: 100%; font: inherit; font-size: 17px; color: #1a1424; background: #fff; border: 0;
  border-radius: 14px; padding: 14px 16px; min-height: 50px;
}
.btn { font-weight: 600; font-size: 16px; min-height: 50px; border-radius: 14px; border: 0; background: #fff; color: #1a1424; padding: 0 18px; }
.btn.ghost { background: rgba(255,255,255,0.14); color: #fff; }
.btn.small { min-height: 40px; font-size: 14px; border-radius: 12px; }
.results { display: grid; gap: 6px; text-align: left; }
.results button { font-size: 15px; text-align: left; background: rgba(0,0,0,0.22); border: 0; border-radius: 12px; padding: 12px 14px; min-height: 44px; }
.results small { opacity: 0.7; }
.err { color: #ffd2c4; font-size: 14px; }

.foot { text-align: center; font-size: 11.5px; opacity: 0.55; padding: 22px 20px 18px; line-height: 1.6; }
.offline { display: inline-block; margin-top: 10px; font-size: 13px; background: rgba(0,0,0,0.3); border-radius: 999px; padding: 6px 12px; }

/* rating */
.rate-sub { font-size: 14px; opacity: 0.85; margin: -4px 0 12px; line-height: 1.5; }
.scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.scale button { border: 0; border-radius: 8px; min-height: 40px; font-weight: 600; font-size: 15px; background: rgba(255,255,255,0.12); padding: 0; }
.scale button.on { background: #fff; color: #2a1838; }
.rubric { font-size: 13.5px; opacity: 0.85; margin: 10px 0; min-height: 20px; }
.notes { font-size: 15px; min-height: 0; resize: vertical; margin-bottom: 10px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row .btn { flex: 1; }
.rate-msg { font-size: 13.5px; margin-top: 8px; min-height: 18px; opacity: 0.9; }
.count { opacity: 0.7; font-weight: 400; margin-left: 4px; }
.log-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 14px; }
.log-item:last-of-type { border-bottom: 0; }
.log-item .lp { opacity: 0.75; font-size: 12.5px; }
.log-item .lr { text-align: right; font-variant-numeric: tabular-nums; }
.log-item .del { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 4px 0; font-size: 12.5px; opacity: 0.6; text-decoration: underline; }

/* confidence */
.conf { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; background: rgba(0,0,0,0.25); border: 0; border-radius: 999px; padding: 7px 14px; }
.conf .dot { width: 8px; height: 8px; border-radius: 50%; }
.conf-detail { font-size: 13.5px; line-height: 1.6; }

/* light path map */
.map { height: 280px; border-radius: 12px; overflow: hidden; background: #22202b; }
.legend { display: flex; gap: 14px; font-size: 12.5px; opacity: 0.85; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.leaflet-container { font: 13px Inter, system-ui, sans-serif; }
.leaflet-popup-content { color: #1a1424; margin: 10px 12px; line-height: 1.5; }

/* saved spots and nearby scan */
.save-spot { margin-top: 8px; background: none; border: 0; font-size: 13.5px; opacity: 0.9; text-decoration: underline; padding: 4px; }
.spots { width: 100%; max-width: 360px; margin-top: 26px; text-align: left; }
.spots h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; margin: 0 0 8px; }
.spot-row { display: flex !important; justify-content: space-between; align-items: center; gap: 10px; }
.spot-score { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 700; min-width: 34px; text-align: right; }
.radius.on { background: rgba(255,255,255,0.9); color: #2a1838; }
.near-status { font-size: 14px; opacity: 0.9; min-height: 18px; }
.near-list { display: grid; gap: 6px; }
.near-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); border: 0; border-radius: 12px; padding: 10px 12px; text-align: left; font-size: 14.5px; }
.near-item .ns { font-family: Fraunces, Georgia, serif; font-size: 24px; font-weight: 700; }
.near-item small { opacity: 0.7; }
.leaflet-tooltip.near-tip { background: transparent; border: 0; box-shadow: none; color: #1a1424; font-weight: 700; font-size: 12px; padding: 0; }
.leaflet-tooltip.near-tip::before { display: none; }

/* past date */
.past-bar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; background: rgba(0,0,0,0.3); border-radius: 14px; padding: 8px 12px; }
.past-bar .btn { flex: 0 0 auto; }
.share { margin-top: 16px; }

/* compass */
.compass-box { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.dial { position: relative; width: 96px; height: 96px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); flex: 0 0 auto; }
.dial .n { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; opacity: 0.7; }
.needle { position: absolute; left: 50%; top: 50%; width: 4px; height: 40px; margin-left: -2px; margin-top: -40px; border-radius: 2px; background: #ffb36b; transform-origin: 50% 100%; transition: transform 0.15s linear; }
.needle::after { content: ""; position: absolute; top: -8px; left: -6px; border: 8px solid transparent; border-bottom: 10px solid #ffb36b; border-top: 0; }
.compass-text { font-size: 14.5px; line-height: 1.5; }
.updated { font-size: 12.5px; opacity: 0.7; margin-top: 6px; }
.linkbtn { background: none; border: 0; padding: 4px 2px; font-size: 12.5px; text-decoration: underline; }
.tips { display: grid; gap: 10px; }
.tip b { display: block; font-size: 15px; margin-bottom: 2px; }
.tip span { font-size: 14px; opacity: 0.85; line-height: 1.5; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.select { font: inherit; font-size: 15px; border: 0; border-radius: 10px; padding: 8px 10px; color: #1a1424; background: #fff; }

/* how it works */
.how { max-width: 460px; width: calc(100% - 28px); border: 0; border-radius: 18px; padding: 20px 20px 16px; background: #221b2e; color: #fff; line-height: 1.55; font-size: 15px; }
.how::backdrop { background: rgba(10, 8, 16, 0.6); }
.how h2 { font-family: Fraunces, Georgia, serif; font-size: 24px; margin: 0 0 12px; }
.how svg { width: 100%; height: auto; display: block; margin-bottom: 8px; }
.how ul { padding-left: 18px; margin: 8px 0; }
.how li { margin: 4px 0; }
.how .small { font-size: 13px; opacity: 0.75; }
.how-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; opacity: 0.8; padding: 4px 8px; }
:focus-visible { outline: 2px solid #ffcf9a; outline-offset: 2px; }

/* cloud timeline */
.tl-title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; margin-top: 6px; }
.timeline { width: 100%; height: 170px; display: block; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; opacity: 0.9; }
.tl-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: 3px; }
.spotchip { width: 104px; } .spotchip .d { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; padding: 0 4px; }
.wn { padding-left: 18px; margin: 6px 0 12px; } .wn li { margin: 7px 0; font-size: 14.5px; }
.scale-key { font-size: 12px; opacity: 0.75; margin-top: 6px; }

/* ---------- v4.1 layout ---------- */
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.tab-title { font-family: Fraunces, Georgia, serif; font-size: 28px; margin: 18px 20px 4px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: space-around;
  background: rgba(18, 13, 26, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar button { flex: 1; max-width: 120px; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 12px; color: rgba(255,255,255,0.65); padding: 6px 0; min-height: 52px; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar circle { fill: currentColor; stroke: none; }
.tabbar button[data-go="spots"] circle { fill: none; stroke: currentColor; }
.tabbar button.on { color: #ffcf9a; }

/* compact location */
.loc { background: transparent; padding: 0; margin: 12px 16px 0; text-align: center; }
.loc-line { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; background: rgba(0,0,0,0.25); border: 0; border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.loc-line .loc-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-elev { opacity: 0.8; white-space: nowrap; }
.loc-flag { color: #ffcf9a; font-weight: 700; }
.loc-line .chev { opacity: 0.7; font-size: 12px; transition: transform 0.2s; }
.loc-line[aria-expanded="true"] .chev { transform: rotate(180deg); }
.loc-more { background: rgba(20,14,30,0.5); border-radius: 14px; padding: 10px 14px; margin-top: 8px; }
.loc-sub { opacity: 0.92; }

/* window view hero */
.hero { padding-top: 14px; }
.scene { margin: 10px 0 0; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 30px rgba(0,0,0,0.25); line-height: 0; }
.scene svg { display: block; }
.slider-row { margin: 10px 4px 0; }
.slider-row input[type=range] { width: 100%; accent-color: #ff8f7a; height: 28px; }
.slider-label { font-size: 13px; color: #ffcf9a; margin-top: 2px; min-height: 18px; }
.score { font-size: 88px; margin-top: 6px; }
.scene { margin-top: 14px; }

/* side slice */
.slice { margin: 0; border-radius: 14px; overflow: hidden; line-height: 0; }
.slice-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; opacity: 0.92; }
.slice-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }

/* mini stacks */
.ms { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 2px auto 0; }
.ms-row { display: flex; gap: 2px; height: 7px; }
.ms-row i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.ms-hz { position: relative; width: 34px; height: 6px; border-bottom: 2px solid; margin-top: 1px; }
.ms-hz b { position: absolute; left: 12px; top: 0; width: 10px; height: 5px; border-radius: 5px 5px 0 0; }
.day { width: 66px; }
.day.on .ms-row i[style*="transparent"] { background: transparent; }

/* spots list */
.spot-list { display: grid; gap: 8px; }
.spot-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: rgba(255,255,255,0.08); border: 0; border-radius: 12px; padding: 10px 12px; text-align: left; font-size: 15px; min-height: 56px; }
.spot-item small { opacity: 0.75; display: block; font-size: 12.5px; }
.spot-item .ss { font-family: Fraunces, Georgia, serif; font-size: 26px; font-weight: 700; }
.empty { font-size: 14px; opacity: 0.85; line-height: 1.5; }
.card.empty { text-align: center; }

/* readability and bigger rating buttons */
.note, .rate-sub, .rubric, .near-status { opacity: 0.95; }
.loc-sub, .raw, .tl-legend { opacity: 0.9; }
.scale { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.scale button { min-height: 46px; font-size: 17px; }

/* photo + log it */
.photo-pick { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 8px; }
.photo-pick input { font: inherit; font-size: 13px; color: #fff; max-width: 100%; }
.photo-pick input::file-selector-button { font: inherit; font-size: 13px; border: 0; border-radius: 10px; padding: 8px 12px; margin-right: 8px; background: rgba(255,255,255,0.14); color: #fff; }
.photo-pick span { display: none; }
.photo-meta { font-size: 13px; opacity: 0.9; margin: -2px 0 10px; min-height: 0; }
.linkbtn-solid { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.badge-ok { display: inline-block; font-size: 11px; font-weight: 600; color: #14532d; background: #d8f5e3; border-radius: 999px; padding: 2px 7px; margin-left: 6px; }

/* Darken OpenStreetMap tiles to suit the theme */
.dark-tiles{filter:invert(1) hue-rotate(180deg) brightness(.9) contrast(.85) saturate(.6)}
.log-actions{grid-column:1/-1;display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:6px}
.log-actions .log-send{flex:1;text-align:center}

/* Free Netlify hosting shows a 'Powered by Netlify' badge fixed bottom-right.
   On that host only, lift the tab bar so the badge sits in a strip beneath it. */
html.host-badge body { padding-bottom: calc(76px + 52px + env(safe-area-inset-bottom)); }
html.host-badge .tabbar { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }

/* one-tap rating */
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.quick button { border: 0; border-radius: 14px; background: rgba(255,255,255,0.1); min-height: 76px; padding: 10px 2px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.15; }
.quick button.on { background: #fff; color: #2a1838; }
.quick i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.quick .q1 { background: #6f6a85; } .quick .q2 { background: #ffd9a0; } .quick .q3 { background: #ffa552; }
.quick .q4 { background: linear-gradient(#ffa552, #f0532c); } .quick .q5 { background: #f0532c; box-shadow: 0 0 10px 2px rgba(240,83,44,0.7); }
.rate-more { margin-top: 10px; }
.rate-more summary { font-size: 13.5px; opacity: 0.8; cursor: pointer; padding: 6px 0; }
.rate-more[open] summary { margin-bottom: 10px; }

.rate-banner { display: block; margin: 0 auto 10px; border: 0; border-radius: 999px; padding: 8px 16px; min-height: 36px;
  background: #ffa552; color: #2a1838; font-weight: 600; font-size: 14px; }
.rate-share-note { font-size: 12px; opacity: 0.7; margin-top: 4px; line-height: 1.4; }
#modelVersion { cursor: default; -webkit-user-select: none; user-select: none; padding: 4px 2px; }

/* viewpoints */
.vp { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: stretch; }
.vp .near-item { margin: 0; }
.vp-go { display: flex; align-items: center; justify-content: center; min-width: 52px; padding: 0 10px; border-radius: 12px; background: rgba(255,255,255,0.1); font-size: 13px; font-weight: 600; text-decoration: none; }
.near-list .vp + .vp { margin-top: 6px; }

.quick button b { font-weight: 600; }
.quick button small { font-size: 11px; font-weight: 500; opacity: 0.7; margin-top: -4px; font-variant-numeric: tabular-nums; }
.quick button { min-height: 88px; }

/* install */
.install-bar { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; margin: 0 0 14px;
  padding: 10px 8px 10px 12px; border-radius: 14px; background: rgba(0,0,0,0.28); text-align: left; text-shadow: none; }
.install-bar img { border-radius: 10px; }
.install-text { font-size: 13px; line-height: 1.35; }
.install-bar .btn { min-height: 36px; padding: 0 14px; }
.install-x { background: none; border: 0; font-size: 22px; line-height: 1; opacity: 0.6; padding: 4px 6px; }

/* developer-only controls */
html:not(.dev) .dev-only { display: none !important; }

/* ---------- community ---------- */
.comm-head { display: flex; flex-direction: column; align-items: flex-start; padding: 0 20px 0 0; }
.comm-seg { margin: 4px 0 4px 20px; }
.chips { display: flex; gap: 8px; padding: 6px 20px 10px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: 0 0 auto; border: 1px solid rgba(255,255,255,0.18); background: transparent; border-radius: 999px; padding: 8px 14px; min-height: 38px; font-size: 13.5px; font-weight: 500; }
.chip.on { background: #ffa552; border-color: #ffa552; color: #2a1838; font-weight: 600; }
.comm-map-wrap { position: relative; }
.comm-map { height: 44vh; min-height: 280px; background: #211a2c; }
.comm-add { position: absolute; right: 16px; bottom: 16px; z-index: 500; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 999px;
  background: #fff; color: #2a1838; font-weight: 600; font-size: 14px; padding: 12px 16px; min-height: 44px; box-shadow: 0 4px 14px rgba(0,0,0,0.45); }
.comm-add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.comm-status { margin: 10px 20px 0; }
.comm-strip-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px 8px; }
.comm-strip-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.comm-strip-head span { font-size: 13px; opacity: 0.75; }
.comm-strip { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px 16px; scrollbar-width: none; }
.comm-card { flex: 0 0 150px; display: flex; flex-direction: column; text-align: left; border: 0; padding: 0 0 10px; border-radius: 14px; overflow: hidden; background: #2b2236; }
.comm-card img { width: 150px; height: 100px; object-fit: cover; background: #3a2f47; display: block; }
.cc-place { font-size: 13px; font-weight: 600; padding: 8px 10px 2px; line-height: 1.25; }
.cc-meta { font-size: 12px; opacity: 0.8; padding: 0 10px; display: flex; align-items: center; gap: 6px; }
.cc-meta i, .pv-band i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cpin { background: none; border: 0; }
.cpin-ring { display: block; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #ffa552; overflow: hidden; background: #1a1424; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.cpin-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.comm-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.08); font-size: 14px; }
.comm-offer .btn { flex: 0 0 auto; }
.composer .comp-pick { display: block; margin: 10px 0; }
.composer .comp-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.composer .comp-pick .btn { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; }
.composer .comp-pick:focus-within .btn { outline: 2px solid #ffa552; outline-offset: 2px; }
.comp-preview { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 10px; }
.comp-label { font-size: 13px; font-weight: 600; margin: 6px 0; }
.comp-bands button { min-height: 64px; }
.comp-checks { margin: 12px 0; padding-left: 20px; font-size: 13.5px; line-height: 1.6; }
.comp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; margin-bottom: 12px; }
.comp-consent input { width: 20px; height: 20px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #ffa552; }
.composer #compPost { width: 100%; background: #ffa552; color: #2a1838; }
.composer #compCancel { width: 100%; margin-top: 6px; }
.pv-img { width: 100%; max-height: 50vh; object-fit: cover; border-radius: 12px; background: #3a2f47; min-height: 160px; display: block; }
.pv-band { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; }
.photo-view h2 { margin: 6px 0 2px; }
.pv-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 8px; }
.my-photos, .mod-queue { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.mp-row, .mq-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 8px; font-size: 14px; }
.mp-row img, .mq-row img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #3a2f47; }
.mp-approved { color: #d8f5e3; } .mp-pending { color: #ffd9a0; } .mp-rejected { opacity: 0.7; }
.mp-del { background: none; border: 0; text-decoration: underline; font-size: 13px; opacity: 0.8; min-height: 44px; }
.mq-actions { display: flex; flex-direction: column; gap: 6px; }
.tabbar button[data-go="community"] circle { fill: none; stroke: currentColor; }
