/* Your winter (public/js/yourwinter.js): the second door on the drop panel and the season in review. Built on Your day's
   own classes (.sec-head, .box/.grp, .legs, .exp-btn, .again, .sample-flag), so both looks and both themes carry over;
   only what is new is styled here, the press look at the foot. Nothing here touches a single day's view. */

/* ---------- the second door, inside the drop panel ---------- */
.yw-door { margin: 26px auto 0; padding: 20px 16px 4px; max-width: 620px; border-top: 1.5px dashed var(--line-strong); }
.yw-door h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.drop .yw-door label.pick { margin-top: 12px; background: none; color: var(--ink-1); border: 2px solid var(--ink-1); padding: 8px 18px; }

/* ---------- the winter ---------- */
.yw { margin: 8px 0 0; }
.yw[aria-busy="true"] { opacity: .6; cursor: progress; }
.yw-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 18px; }
.yw-head .kicker { flex-basis: 100%; }
.yw-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); letter-spacing: -.025em; line-height: 1.05; }
.yw-pick { font-size: var(--text-small); color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.yw-pick select { font: inherit; font-size: 1rem; min-height: 40px; padding: 4px 10px; border-radius: 8px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink-1); max-width: 100%; }
.yw-when { margin: 6px 0 0; color: var(--ink-2); }
.yw-progress { margin: 22px 0 8px; font-family: var(--font-data); font-weight: 600; }
.yw-bar { height: 6px; border-radius: 3px; background: var(--band); overflow: hidden; max-width: 520px; }
.yw-bar i { display: block; height: 100%; width: 0; background: var(--her-blue); transition: width .2s; }
.yw .sample-flag { margin: 14px 0 0; }
.yw-none { margin: 22px 0; font-size: 1.05rem; }

.yw-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 22px 0 6px; border-top: 2px solid var(--ink-1); }
.yw-num { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.yw-num b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.yw-num b small { font-family: var(--font-data); font-size: .42em; font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.yw-num span { font-size: var(--text-small); color: var(--ink-2); }
@media (max-width: 560px) { .yw-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.yw-box { columns: 1; }
.yw-box .grp dd { text-align: right; overflow-wrap: anywhere; font-family: var(--font-text); font-weight: 500; }
.yw-box .grp dd .nm { font-weight: 700; }
.yw-box .grp dd em { font-style: normal; color: var(--ink-3); font-family: var(--font-text); font-weight: 500; }

.yw-pic { margin-top: 30px; }
.yw-pic .pic-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 12px; }
.yw-prev { display: block; width: 100%; max-width: 340px; height: auto; margin: 14px 0 0; border-radius: 10px; box-shadow: 0 8px 24px rgba(16, 42, 74, .14); }

.yw-sec { margin-top: 34px; }
.yw-resorts { list-style: none; margin: 10px 0 0; padding: 0; }
.yw-resorts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.yw-resorts li b { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.yw-resorts .yw-links { margin-left: auto; display: inline-flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--text-small); }
.yw-resorts .yw-links a { color: var(--ink-1); text-underline-offset: 3px; }
.yw-days { min-width: 560px; }
@media (max-width: 560px) {   /* Your day's phone rules stack .legs rows; the days list gets its own two-column card instead */
  .yw-days { min-width: 0; width: 100%; }
  .yw-days tr.yw-day { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "date date date see" "where where where see" "n1 n2 n3 see"; column-gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .yw-days tr.yw-day td { display: block; padding: 0; border: 0; }
  .yw-days tr.yw-day td:nth-child(1) { grid-area: date; font-weight: 700; }
  .yw-days tr.yw-day td:nth-child(2) { grid-area: where; overflow-wrap: anywhere; }
  .yw-days tr.yw-day td[data-l] { color: var(--ink-2); font-size: var(--text-small); white-space: nowrap; }
  .yw-days tr.yw-day td[data-l]::before { content: attr(data-l) " "; }
  .yw-days tr.yw-day td:nth-child(3) { grid-area: n1; }
  .yw-days tr.yw-day td:nth-child(4) { grid-area: n2; }
  .yw-days tr.yw-day td:nth-child(5) { grid-area: n3; }
  .yw-days tr.yw-day td.see { grid-area: see; display: flex; flex-direction: column; gap: 6px; }
  .yw-days td.see .see-it + .see-it { margin-left: 0; }
}
.yw-days td.see .see-it + .see-it { margin-left: 6px; }
.yw-days tbody tr.yw-day:hover { background: var(--band); }
.yw-days button.see-it { font: inherit; font-size: var(--text-small); min-height: 36px; padding: 4px 12px; border-radius: 99px; border: 1.5px solid var(--line-strong); background: none; color: var(--ink-1); cursor: pointer; white-space: nowrap; }
.yw-days button.see-it:focus-visible { outline: 3px solid var(--her-blue); outline-offset: 2px; }
.yw-skip { margin: 8px 0; }
.yw-skip summary { cursor: pointer; }
.yw-skip .yw-show { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; font-size: var(--text-small); }
.yw-skip[open] .yw-show { display: none; }
.yw-skip ul { margin: 6px 0 0; padding-left: 20px; font-size: var(--text-small); color: var(--ink-2); overflow-wrap: anywhere; }
.yw-privacy { margin: 30px 0 0; font-size: var(--text-small); color: var(--ink-3); max-width: 60em; }
.yw-back { margin: 0 0 14px; }

/* ---------- the press look ---------- */
html[data-look="press"] body[data-page="yourday"] .yw-door { border-top: 2px solid var(--p-ink-1); }
html[data-look="press"] body[data-page="yourday"] .yw-door h2,
html[data-look="press"] body[data-page="yourday"] .yw-title,
html[data-look="press"] body[data-page="yourday"] .yw-num b,
html[data-look="press"] body[data-page="yourday"] .yw-resorts li b { font-family: var(--p-font-display); }
html[data-look="press"] body[data-page="yourday"] .drop .yw-door label.pick { background: transparent; color: var(--p-ink-1); border: 2px solid var(--p-ink-1); border-radius: 0; }
html[data-look="press"] body[data-page="yourday"] .yw-nums { border-top: 3px solid var(--p-ink-1); }
html[data-look="press"] body[data-page="yourday"] .yw-num { border-bottom-color: var(--p-line); }
html[data-look="press"] body[data-page="yourday"] .yw-num span,
html[data-look="press"] body[data-page="yourday"] .yw-when,
html[data-look="press"] body[data-page="yourday"] .yw-pick { color: var(--p-ink-2); font-family: var(--p-font-narrow); font-weight: 600; }
html[data-look="press"] body[data-page="yourday"] .yw-num b small,
html[data-look="press"] body[data-page="yourday"] .yw-progress { font-family: var(--p-font-narrow); }
html[data-look="press"] body[data-page="yourday"] .yw-bar { border-radius: 0; background: var(--p-raise); }
html[data-look="press"] body[data-page="yourday"] .yw-bar i { background: var(--p-blue); }
html[data-look="press"] body[data-page="yourday"] .yw-pick select { border-radius: 0; border: 2px solid var(--p-ink-1); background: var(--p-bg); color: var(--p-ink-1); }
html[data-look="press"] body[data-page="yourday"] .yw-resorts li { border-bottom-color: var(--p-line); }
html[data-look="press"] body[data-page="yourday"] .yw-prev { border-radius: 0; }
html[data-look="press"] body[data-page="yourday"] .yw-days button.see-it { border-radius: 0; border: 2px solid var(--p-ink-1); color: var(--p-ink-1); }
html[data-look="press"] body[data-page="yourday"] :is(.yw-days button.see-it, .yw-pick select, .yw-resorts a):focus-visible { outline: 3px solid var(--p-blue-text); outline-offset: 2px; }
html[data-look="press"] body[data-page="yourday"] .yw-privacy { color: var(--p-ink-3); }
#winter:not([hidden]) ~ .foot { display: none; }   /* (the winter has its own privacy line; the page foot speaks of one day) */
