/* "Is it really blue?" in the piste card (piste-reports.js): the measured steepness, what skiers say and reported
   spots. Buttons reuse .btn from friends.css; colours come from design/tokens.css. */

.pc { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--separator); }
.pc-title { margin: 0 0 var(--space-2); font-size: 15px; font-weight: 700; }
.pc-label { margin: var(--space-3) 0 6px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.pc-note, .pc-summary { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.pc-glyph { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Measured: neutral, within its colour (green tick colour) or steeper than its colour (orange, like the map's line) */
.pc-measured { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px 9px 10px; border-radius: 12px; background: var(--fill); }
.pc-measured .pc-glyph { margin-top: 1px; color: var(--muted); }
.pc-measured p { margin: 0; font-size: 14px; line-height: 1.4; }
.pc-measured.ok .pc-glyph { color: var(--live); }
.pc-measured.warn { background: rgb(217 115 13 / .12); }
.pc-measured.warn .pc-glyph { color: var(--wx-avalanche); }

/* Skiers say: easier / as marked / harder */
.pc-verdict { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.pc-verdict.warn { color: var(--caution-strong); }
.pc-verdict.ok { color: var(--live); }
.pc-bar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; }
.pc-bar i { min-width: 0; }
.pc-bar .easier { background: var(--piste-green); }
.pc-bar .same { background: var(--piste-blue); }
.pc-bar .harder { background: var(--wx-avalanche); }
.pc-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--space-2); }
.pc-ask { flex-basis: 100%; font-size: 13px; font-weight: 600; }
.pc-choice, .pc-small {
  min-height: 32px; padding: 0 12px; border: 1px solid var(--stroke); border-radius: 999px; background: var(--glass-solid);
  font: 600 13px/1 var(--font); color: var(--text); cursor: pointer;
}
.pc-small { min-height: 28px; padding: 0 10px; font-size: 12px; }
.pc-choice:hover, .pc-small:hover { background: var(--fill-hover); }
.pc-choice[aria-pressed="true"], .pc-small[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pc-choice:disabled, .pc-small:disabled { opacity: .5; cursor: default; }
.pc-choice:focus-visible, .pc-small:focus-visible, .pc-kind:focus-visible, .pc-link:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 1px; }

/* Reported spots */
.pc-list { margin: 0; padding: 0; list-style: none; }
.pc-report { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 0; }
.pc-report + .pc-report { border-top: 1px solid var(--separator); }
.pc-report.focus { margin: 0 -8px; padding: 8px; border-radius: 10px; background: rgb(var(--accent-rgb) / .1); }
.pc-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.pc-icon.warn { background: var(--caution); color: var(--text); }
.pc-icon.info { background: var(--navy); color: #fff; }
.pc-text { flex: 1 1 160px; min-width: 0; }
.pc-text strong { display: block; font-size: 14px; }
.pc-text small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.pc-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 40px; }
@media (min-width: 700px) { .pc-buttons { margin-left: 0; } }

/* Report a spot */
.pc-start { margin-top: var(--space-3); width: 100%; height: 40px; border-radius: 12px; }
/* Fingers (iOS Safari 2026-11-08): Easier / As marked / Harder were 32 px, Still there / Not there / Show / Remove 28,
   Report a spot 40 */
@media (max-width: 600px), (pointer: coarse) {
  .pc-choice, .pc-small, .pc-kind { min-height: 44px; }
  .pc-start { height: 44px; }
}
.pc-start .pc-glyph { margin-right: 6px; }
.pc-flow { margin-top: var(--space-2); }
.pc-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.pc-kind {
  display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--stroke); border-radius: 12px;
  background: var(--glass-solid); font: inherit; color: var(--text); text-align: left; cursor: pointer;
}
.pc-kind:hover { background: var(--fill-hover); }
.pc-kind strong { display: block; font-size: 13px; }
.pc-kind small { display: block; font-size: 11px; line-height: 1.3; color: var(--muted); }
.pc-chosen { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; text-transform: none; letter-spacing: 0; color: var(--text); }
.pc-chosen .pc-glyph { width: 14px; height: 14px; }
.pc-where { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pc-where .btn { flex: 1 1 140px; height: 40px; border-radius: 12px; }
.pc-link { margin-top: 6px; padding: 4px 0; border: 0; background: none; font: 600 13px/1.2 var(--font); color: var(--accent); cursor: pointer; }
.pc-note .pc-link { margin: 0; }

/* Choosing the spot on the map: a crosshair over the map */
body.pc-picking .maplibregl-canvas { cursor: crosshair; }
