/* Sleigh or Skip page styles. Built fresh for Part 2b; shared pieces live in /assets/ptm.css. */

/* ---------- Masthead ---------- */
.mast { background: var(--teal); color: var(--card); position: relative; padding-bottom: 26px; }
.bunting { height: 18px; background:
    radial-gradient(circle at 12px 0, var(--red) 0 10px, transparent 10.5px) 0 0 / 48px 18px repeat-x,
    radial-gradient(circle at 36px 0, var(--gold) 0 10px, transparent 10.5px) 0 0 / 48px 18px repeat-x; }
.mast .inner { padding-top: 18px; }
.series { font-size: 15px; letter-spacing: .06em; color: var(--gold); }
.mast h1 { white-space: nowrap; font-size: clamp(34px, 12.6vw, 84px); line-height: .95; margin: 8px 0 4px; color: var(--card); text-shadow: 3px 3px 0 var(--red); letter-spacing: -.01em; }
.mast h1 .or { font-size: .5em; color: var(--gold); text-shadow: 2px 2px 0 var(--ink); vertical-align: .35em; margin: 0 .08em; }
.dek { margin: 12px 0 0; font-size: 17px; text-wrap: balance; }
.friends-banner { text-wrap: balance; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mast .stamp { background: var(--card); }
.mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background:
    radial-gradient(circle at 10px 12px, var(--paper) 0 8px, transparent 8.5px) 0 0 / 20px 12px repeat-x; }

/* Verdict stamps */
.v-sleigh { background: var(--gold) !important; color: var(--ink); border-color: var(--ink); }
.v-skip { background: var(--card) !important; color: var(--muted); border-color: var(--muted); border-style: dashed; }
.v-split { background: var(--teal-soft) !important; color: var(--teal); border-color: var(--teal); }
.stamp.gold { background: var(--ink) !important; color: var(--gold); border-color: var(--gold); }

.fieldbar { position: sticky; top: 0; z-index: 6; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 16px; padding: 9px 12px; text-align: center; border-bottom: 2px solid var(--ink); }
.previewbar { background: var(--ink); color: var(--card); font-size: 15px; padding: 8px 16px; text-align: center; }

/* ---------- Friends test banner (remove at launch) ---------- */
.friends-banner { background: var(--gold); color: var(--ink); font-size: 16px; line-height: 1.4; text-align: center; padding: 8px 16px; border-bottom: 2px solid var(--ink); }
.friends-banner a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Intro, About this guide, status ---------- */
.intro { font-size: 18px; line-height: 1.5; margin: 20px 0 0; }
.intro a { color: var(--teal); font-weight: 700; text-decoration-thickness: 2px; }
.about { background: var(--card); border: 2px dashed var(--line); border-radius: 4px; margin-top: 12px; }
.about summary { cursor: pointer; font-weight: 700; color: var(--teal); padding: 10px 14px; list-style: none; }
.about summary::-webkit-details-marker { display: none; }
.about summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 700; color: var(--red); }
.about[open] summary::before { content: "\2212"; }
.about ul { margin: 0; padding: 0 16px 12px 34px; display: grid; gap: 6px; font-size: 16px; }
.jenmode { margin-top: 12px; }
.status { font-size: 16px; border-radius: 4px; padding: 10px 12px; background: var(--card); border: 2px solid var(--teal); margin: 12px 0; }
.status.warn { border-color: var(--red); background: var(--red-soft); }
/* The one-time person check pops up above the wish list bar, wherever you are on the page */
.ts-box { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 7; max-width: 520px; margin: 0 auto; box-shadow: 3px 3px 0 var(--ink); border-color: var(--ink); }
.ts-box p { margin: 0 0 8px; font-weight: 600; }
/* Personal link box on the wish list */
.plink { display: grid; gap: 10px; }
.plink h3 { font-size: 22px; color: var(--teal); border-bottom: 3px double var(--red); padding-bottom: 6px; }
.plink p { margin: 0; font-size: 16px; }
.plink .url { font-family: var(--f-type); font-size: 15px; background: var(--paper); border: 2px dashed var(--line); border-radius: 3px; padding: 8px 10px; overflow-wrap: anywhere; user-select: all; }
.before { font-size: 16px; background: var(--gold-soft); border: 2px solid var(--gold); border-radius: 4px; padding: 10px 12px; display: grid; gap: 8px; }

/* ---------- Controls ---------- */
.controls { display: grid; gap: 12px; padding-block: 18px 6px; }
.parks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.park { font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; border: 2px solid var(--ink); border-radius: 4px; background: var(--card); color: var(--ink); padding: 11px 8px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); -webkit-tap-highlight-color: transparent; }
.park[aria-pressed="true"] { background: var(--teal); color: var(--card); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
#park-fest { grid-column: 1 / -1; background: var(--gold); color: var(--ink); font-size: 17px; letter-spacing: .02em; }
#park-fest::before, #park-fest::after { content: "\2726"; color: var(--red); margin: 0 10px; }
#park-fest[aria-pressed="true"] { background: var(--red); color: var(--card); }
#park-fest[aria-pressed="true"]::before, #park-fest[aria-pressed="true"]::after { color: var(--gold); }
.search { border-radius: 4px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; border: 2px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 4px; padding: 6px 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--card); }
/* Celebration chips (Festival of Holidays, Galaxy's Edge – Life Day): gold with a sparkle */
.chip.event { background: var(--gold); border-color: var(--red); color: var(--ink); font-weight: 700; }
.chip.event::before { content: "\2726"; color: var(--red); margin-right: 6px; }
.chip.event[aria-pressed="true"] { background: var(--red); color: var(--card); }
.chip.event[aria-pressed="true"]::before { color: var(--gold); }
.count { font-size: 15px; color: var(--muted); }

/* ---------- Treat cards (ticket stubs) ---------- */
main.inner { padding-bottom: 96px; }
.list { display: grid; gap: 16px; padding-block: 8px; }
.item { display: grid; gap: 10px; min-width: 0; }
.item.ticket { --notch-at: 46px; }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 2px solid var(--ink); border-radius: 3px; background: var(--line); }
.photo.fit { object-fit: contain; background: var(--paper); }
.pcap { font-family: var(--f-type); font-size: 14px; color: var(--muted); margin-top: -6px; }
.top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.top > div { min-width: 0; }
.name { font-family: var(--f-head); font-size: 23px; line-height: 1.15; overflow-wrap: anywhere; }
.badge { display: inline-block; font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--card); background: var(--red); border-radius: 3px; padding: 1px 7px; margin-left: 8px; vertical-align: 3px; }
.where { font-size: 15.5px; color: var(--muted); margin-top: 3px; }
.where a.map { color: var(--teal); font-weight: 700; }
.desc { font-size: 17px; }
.note { font-family: var(--f-type); font-weight: 700; font-size: 15.5px; color: var(--red); }
.spot { font-family: var(--f-type); font-size: 15.5px; background: var(--gold-soft); border: 2px dashed var(--gold); border-radius: 3px; padding: 8px 10px; }
.spot .muted { color: var(--muted); }

/* Jen's take: handwriting on a lined note */
.take { background: var(--card); background-image: repeating-linear-gradient(transparent 0 29px, rgba(31,92,99,.18) 29px 30px); border-left: 4px solid var(--red); padding: 6px 12px 8px 14px; }
.take .lbl { display: block; font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--red); }
.take p { margin: 0; font-family: var(--f-hand); font-size: 24px; line-height: 30px; font-weight: 500; color: var(--ink); white-space: pre-wrap; }
.take.clamp p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.take .more { font: inherit; font-size: 16px; font-weight: 700; color: var(--red); background: none; border: 0; padding: 6px 0 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Facts row */
/* All tags in one row of small chips under the description, wrapping only when needed */
.facts { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 14px; line-height: 1.3; }
.facts > span:not(.stamp) { background: var(--paper); border: 1.5px solid var(--line); border-radius: 3px; padding: 2px 8px; font-weight: 600; white-space: nowrap; }
.facts .stamp { font-size: 12.5px; padding: 1px 7px; }
.facts .tagj { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
/* Jen's own tag: small gold star */
.facts .tagj .star { color: var(--gold); text-shadow: 0 0 1px var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Crowd tag tickboxes in the Rate it form */
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tick { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--teal); cursor: pointer; min-height: 44px; }
.tick input { width: 22px; height: 22px; accent-color: var(--teal); margin: 0; cursor: pointer; }
.adult { font-family: var(--f-type); font-size: 15.5px; color: var(--muted); }

/* Crowd box */
.crowd { display: grid; gap: 6px; background: var(--paper); border: 2px solid var(--line); border-radius: 3px; padding: 10px 12px; }
.crowd-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.crowd-top .big { font-family: var(--f-head); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.crowd .muted { color: var(--muted); font-size: 15px; }
.mini { display: grid; grid-template-columns: 6.8em 1fr 2.2em; align-items: center; gap: 8px; font-size: 15px; }
.mini .tr { height: 10px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--card); overflow: hidden; }
.mini .tr i { display: block; height: 100%; background: var(--gold); }
.mini b { text-align: right; font-variant-numeric: tabular-nums; }

/* Rating bar and panel */
.ratebar { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 2px dashed var(--line); padding-top: 12px; }
.score { font-size: 15.5px; color: var(--muted); margin: 0; }
.score b { color: var(--ink); font-size: 17px; }
.rate { display: grid; gap: 14px; border-top: 2px dashed var(--line); padding-top: 12px; }
.rq { font-weight: 700; font-size: 17px; color: var(--red); }
.rq small { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.scale { display: flex; gap: 8px; margin-top: 8px; }
.dot { width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 4px; background: var(--card); color: var(--ink); font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; padding: 0; box-shadow: 2px 2px 0 var(--ink); -webkit-tap-highlight-color: transparent; }
.dot[aria-pressed="true"] { background: var(--gold); transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.ends { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; max-width: 262px; margin-top: 4px; }
.elf { font: inherit; font-size: 16px; font-weight: 600; border: 2px dashed var(--teal); color: var(--teal); background: transparent; border-radius: 4px; padding: 8px 12px; cursor: pointer; justify-self: start; text-align: left; }
.elf[aria-pressed="true"] { background: var(--teal); color: var(--card); border-style: solid; }

/* Heart button (round) */
.heart { flex: none; width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 2px 2px 0 var(--ink); -webkit-tap-highlight-color: transparent; }
.heart svg { width: 22px; height: 22px; }
.heart[aria-pressed="true"] { color: var(--red); background: var(--red-soft); }
.heart[aria-pressed="true"] svg path { fill: currentColor; }

/* Field mode tools */
.field { display: grid; gap: 8px; border-top: 2px dashed var(--line); padding-top: 12px; }
.field label { font-size: 15.5px; font-weight: 700; }
.field textarea { font: inherit; font-size: 17px; width: 100%; min-height: 70px; border: 2px solid var(--ink); border-radius: 4px; padding: 8px 10px; background: var(--card); color: var(--ink); }
.frow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.frow .muted, .muted { color: var(--muted); font-size: 15px; }
.frow input[type="range"] { flex: 1; accent-color: var(--teal); min-height: 32px; }

.empty { color: var(--muted); padding: 16px 0; font-size: 17px; }

/* ---------- How it works ---------- */
.how { margin-top: 20px; }
.how h2 { font-size: 24px; color: var(--red); border-bottom: 3px double var(--red); padding-bottom: 6px; margin-bottom: 10px; }
.how ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

footer { font-size: 15px; color: var(--muted); padding-block: 0 24px; }

/* ---------- Wish list bar and view ---------- */
.wishbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--teal); color: var(--card); border-top: 3px solid var(--gold); padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px)); }
.wishbar .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wishbar b { font-family: var(--f-head); font-weight: 400; font-size: 20px; }
.wish { display: grid; gap: 16px; padding-block: 18px 8px; }
.wish h2 { font-size: 34px; line-height: 1.05; }
.wish h2 em { font-style: normal; color: var(--red); }
.progress { display: grid; gap: 8px; }
.progress.ticket { --notch-at: 50%; }
.progress b { font-family: var(--f-head); font-weight: 400; font-size: 21px; }
.progress .tr { height: 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; display: block; }
.progress .tr i { display: block; height: 100%; background: var(--gold); }
.wgroup h3 { font-family: var(--f-type); font-weight: 700; font-size: 15.5px; color: var(--teal); margin: 0 0 8px; }
.wrow { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-left: 6px solid var(--red); border-radius: 4px; padding: 10px 12px; margin-bottom: 8px; }
.wrow .n { font-weight: 700; font-size: 17px; }
.wrow .w { font-size: 15px; color: var(--muted); }
.wrow.done { border-left-color: var(--teal); }
.wrow.done .n { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; opacity: .75; }
.tried { font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; border: 2px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.tried[aria-pressed="true"] { background: var(--teal); color: var(--card); }
.ratelink { font: inherit; font-size: 15px; font-weight: 700; color: var(--red); background: none; border: 0; padding: 4px 0 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ai { display: grid; gap: 12px; }
.ai h3 { font-size: 22px; color: var(--teal); border-bottom: 3px double var(--red); padding-bottom: 6px; }
.ai p { margin: 0; font-size: 16px; }
.aitext { font-family: var(--f-type); white-space: pre-wrap; font-size: 15px; background: var(--paper); border: 2px dashed var(--line); border-radius: 3px; padding: 12px; max-height: 300px; overflow: auto; }
.ok { font-size: 16px; color: var(--teal); font-weight: 700; }

@media (max-width: 380px) {
  .ticket { padding: 24px 28px; }
  .ticket::before { inset: 8px 13px; }
  .dot { width: 42px; height: 42px; }
  .scale { gap: 6px; }
}
