/* ═══════════════════════════════════════════════════════════════
   TIMBERLINE LODGE — s112 deep-custom portal skin
   site youxi--1--112 · index.html
   language: log beams · gondola cabins · avalanche flags · cocoa
   ═══════════════════════════════════════════════════════════════ */

/* ── palette (unchanged from original site) ──────────────────── */
:root {
  --bg: #1B222B;
  --panel: #25303C;
  --panel-2: #303E4C;
  --accent: #BFE3F2;
  --accent2: #E0784A;
  --text: #F4F8FA;
  --soft: #9DB2C0;
  --line: rgba(191,227,242,.25);
  --wood: #6B4A2F;
  --wood-2: #8A6238;
  --snow: #F4F8FA;
  --green: #4CAF6D;
  --blue: #4A90D9;
  --black-d: #14181E;
  --fire: #E0784A;
  --fire-2: #F2A65A;
  --fh: 'Trebuchet MS', sans-serif;
  --fb: 'Segoe UI', sans-serif;
  --fm: 'Courier New', monospace;
  --sec-gap: 30px;
}

/* ═══ 0. reset & base ═══════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

/* the night sky over the ridge, snow drifting sideways */
body.t-lodge {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.22) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 9%, rgba(255,255,255,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 39% 44%, rgba(255,255,255,.16) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 62%, rgba(255,255,255,.2) 0 1px, transparent 2px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px),
    radial-gradient(ellipse at 80% 0%, rgba(191,227,242,.1), transparent 50%),
    var(--bg);
  background-attachment: fixed;
}

[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; display: block; }
img { display: block; max-width: 100%; }
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

::selection { background: var(--accent); color: #1B222B; }

/* ═══ 1. layout shell ════════════════════════════════════════════ */
.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 18px;
}

/* each section is a lodge room paneled in spruce */
.sec {
  position: relative;
  margin-top: var(--sec-gap);
  min-width: 0;
  padding: 15px 16px 17px;
  border-radius: 10px;
  border: 1.5px solid rgba(191,227,242,.22);
  background:
    linear-gradient(180deg, rgba(191,227,242,.05), rgba(27,34,43,.4) 60%),
    var(--panel);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.03),
    0 12px 26px -18px rgba(0,0,0,.75);
}

/* the snow seam along the room rim */
.sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(244,248,250,.45) 0 5px, transparent 5px 10px);
  border-radius: 2px;
  pointer-events: none;
}

/* ═══ 2. callout — the trail stamp ═══════════════════════════════ */
.callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.callout b {
  flex: none;
  font-family: var(--fh);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1B222B;
  background: var(--accent);
  border-radius: 3px;
  padding: 4px 13px;
}

.callout span {
  font-family: var(--fm);
  font-size: 10.5px;
  color: var(--soft);
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.callout::after {
  content: '';
  flex: 1;
  border-top: 1.5px dashed rgba(191,227,242,.3);
}

/* the peak beside the label */
.co-peak {
  flex: none;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  color: var(--accent);
}

/* ═══ 3. header — log beams + snowline ridge ════════════════════ */
.hdr {
  position: relative;
  z-index: 50;
  background: linear-gradient(180deg, #232E3A, #1D262F);
  overflow: hidden;
}

/* the mountain ridge above the roofline */
.s112-ridge {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 44px;
}

.s112-ridge i {
  flex: none;
  width: 68px;
  height: 38px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #E8F2F8 0 24%, #46586A 24%);
}

.s112-ridge i:nth-child(1) { height: 26px; width: 54px; }
.s112-ridge i:nth-child(2) { height: 42px; width: 84px; }
.s112-ridge i:nth-child(3) { height: 34px; width: 70px; }
.s112-ridge i:nth-child(4) { height: 22px; width: 50px; }

.hdr-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 10px;
}

.s112-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hdr-name {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-sub {
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .24em;
  color: var(--soft);
}

.hdr-search {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1.5px solid rgba(191,227,242,.4);
  border-radius: 6px;
}

/* the log beam eaves closing the header */
.s112-beams {
  display: flex;
  height: 13px;
}

.s112-beams i {
  flex: 1;
  height: 100%;
  border-right: 1px solid rgba(27,34,43,.9);
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
  box-shadow: inset 0 3px 0 rgba(244,248,250,.85);
}

.s112-beams i:last-child { border-right: none; }

/* ═══ 4. category rail + search ══════════════════════════════════ */
.s112-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.s112-rail::-webkit-scrollbar { display: none; }

/* each chip is a trail signpost tag */
.s112-sign {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(191,227,242,.35);
  border-radius: 6px;
  padding: 7px 12px;
  background: var(--panel);
}

/* the grade dot on the sign */
.s112-sign-dot {
  flex: none;
  width: 11px;
  height: 11px;
}

.s112-sign-dot.d0 { border-radius: 50%; background: var(--green); }
.s112-sign-dot.d1 { border-radius: 2px; background: var(--blue); }
.s112-sign-dot.d2 {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--black-d);
  border: 1.5px solid rgba(244,248,250,.75);
}
.s112-sign-dot.d3 {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--accent2);
  position: relative;
}

/* the twin diamond mark */
.s112-sign-dot.d3::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--accent2);
}

.s112-sign b {
  font-family: var(--fh);
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
}

.s112-sign em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--soft);
}

.s112-sign.on {
  background: var(--accent);
  border-color: var(--accent);
}

.s112-sign.on b { color: #1B222B; }
.s112-sign.on em { color: #47586A; }
.s112-sign.on .s112-sign-dot.d2 { border-color: #1B222B; }

.s112-sign:active { transform: scale(.96); }

.srch-bar {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.srch-input {
  flex: 1;
  min-width: 0;
  background: #141A21;
  border: 1.5px solid rgba(191,227,242,.28);
  border-radius: 6px;
  padding: 10px 13px;
  font-family: var(--fh);
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

.srch-input:focus { border-color: var(--accent); }

.srch-go {
  flex: none;
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 800;
  color: #1B222B;
  background: var(--accent);
  border-radius: 6px;
  padding: 0 16px;
}

.srch-go:active { transform: scale(.96); }

/* ═══ 5. loading ═════════════════════════════════════════════════ */
.loading-full {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.loading-bar {
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: var(--panel-2);
  overflow: hidden;
  margin: 0 auto 12px;
}

.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: ldslide 1s infinite;
}

@keyframes ldslide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.loading-txt {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--soft);
}

/* ═══ 6. hero — the gondola cabin ════════════════════════════════ */
.hv10 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hv10-label {
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--accent2);
  text-align: center;
}

/* the haul cable with its carrier wheels */
.hv10-cable {
  position: relative;
  width: 100%;
  height: 24px;
}

.hv10-cable::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(157,178,192,.75) 8%,
    rgba(157,178,192,.75) 92%,
    transparent);
}

.hv10-cable i {
  position: absolute;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2.5px solid var(--soft);
  background: var(--bg);
}

.hv10-cable i:nth-child(1) { left: 14%; }
.hv10-cable i:nth-child(2) { left: 50%; margin-left: -5.5px; }
.hv10-cable i:nth-child(3) { right: 14%; }

/* the cabin riding under the cable */
.hv10-cabin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: min(100%, 330px);
  padding: 14px 16px 18px;
  border-radius: 16px 16px 10px 10px;
  border: 2px solid rgba(191,227,242,.32);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(191,227,242,.09), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,.35),
    0 14px 28px -16px rgba(0,0,0,.7);
}

/* the roof rail of the cabin */
.hv10-cabin::before {
  content: '';
  position: absolute;
  display: none;
}

/* the hanger arm gripping the cable */
.hv10-arm {
  width: 5px;
  height: 15px;
  background: var(--soft);
  border-radius: 2px;
}

/* the wide glass window of the cabin */
.hv10-window {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid rgba(191,227,242,.35);
  background: #10161C;
  box-shadow: inset 0 0 20px rgba(0,0,0,.5);
}

.hv10-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the glass glare across the window */
.hv10-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(244,248,250,.18) 0 14%,
    transparent 14% 52%,
    rgba(244,248,250,.08) 52% 58%,
    transparent 58%);
  pointer-events: none;
}

.hv10-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.hv10-nm {
  font-family: var(--fh);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: break-word;
}

.hv10-ds {
  font-size: 12.5px;
  color: var(--soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hv10-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.hv10-meta em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1B222B;
  background: var(--accent);
  border-radius: 3px;
  padding: 3px 10px;
}

.hx-stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
}

.hx-stars i { font-style: normal; }
.hx-stars i.off { opacity: .25; }

.hx-cta {
  align-self: center;
  margin-top: 8px;
  font-family: var(--fh);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #1B222B;
  background: var(--accent);
  border-radius: 4px;
  padding: 8px 20px;
}

.hv10-cabin:active { transform: scale(.98); }

/* ═══ 7. divider — the lift line ═════════════════════════════════ */
.tk-div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 6px 0 10px;
}

.tk-div i {
  width: 38px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(191,227,242,.5), transparent);
}

/* the black diamond marker in the middle */
.tk-div i:nth-child(3) {
  width: 11px;
  height: 11px;
  background: transparent;
  border: 2px solid var(--accent2);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ═══ 8. summit runs — the contour map ═══════════════════════════ */
.s112-contour {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 16px 13px 14px;
  border: 1.5px solid rgba(191,227,242,.22);
  border-radius: 10px;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at 22% 18%, transparent 0 17px, rgba(191,227,242,.08) 17px 18px),
    repeating-radial-gradient(ellipse at 84% 82%, transparent 0 21px, rgba(191,227,242,.07) 21px 22px),
    var(--panel-2);
}

.s112-run {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 9px 9px;
  background: rgba(27,34,43,.9);
  border: 1px solid rgba(191,227,242,.18);
  border-radius: 8px;
}

/* the grade badge pinned to the run */
.s112-run-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 13px;
  height: 13px;
}

.s112-run-badge.g0 { border-radius: 50%; background: var(--green); }
.s112-run-badge.g1 { border-radius: 2px; background: var(--blue); }
.s112-run-badge.g2 {
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  background: var(--black-d);
  border: 1.5px solid rgba(244,248,250,.8);
}
.s112-run-badge.g3 { transform: rotate(45deg); background: var(--accent2); }

.s112-run-art img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(191,227,242,.2);
}

.s112-run-b b {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-run-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--soft);
}

.s112-run:active { transform: scale(.97); }

/* ═══ 9. lift hours — the gondola line ═══════════════════════════ */
.s112-line {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 26px 4px 12px;
  -webkit-overflow-scrolling: touch;
}

.s112-line::-webkit-scrollbar { height: 4px; }
.s112-line::-webkit-scrollbar-thumb { background: rgba(191,227,242,.4); border-radius: 2px; }
.s112-line::-webkit-scrollbar-track { background: transparent; }

/* the haul rope running above the cabins */
.s112-line::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(157,178,192,.7) 5%,
    rgba(157,178,192,.7) 95%,
    transparent);
}

.s112-cabin {
  flex: none;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* cabins ride at a stagger along the rope */
.s112-cabin:nth-child(even) { margin-top: 10px; }

.s112-cabin-arm {
  position: relative;
  width: 4px;
  height: 13px;
  background: var(--soft);
}

/* the grip wheel on the rope */
.s112-cabin-arm::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  border: 2px solid var(--soft);
  background: var(--bg);
}

.s112-cabin-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 7px 6px 8px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1.5px solid rgba(191,227,242,.25);
  border-radius: 10px 10px 8px 8px;
}

.s112-cabin-glass {
  width: 100%;
  height: 62px;
  border-radius: 7px;
  overflow: hidden;
  border: 2px solid rgba(191,227,242,.3);
}

.s112-cabin-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s112-cabin-nm {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-cabin:active { transform: scale(.95); }

/* ═══ 10. patrol bulletin — the avalanche flags ══════════════════ */
.s112-flags {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.s112-flag {
  min-width: 0;
  display: flex;
  gap: 10px;
  padding: 11px 10px;
  background: var(--panel);
  border: 1px solid rgba(191,227,242,.18);
  border-radius: 8px;
}

/* the flagpole */
.s112-flag-pole {
  flex: none;
  width: 32px;
  position: relative;
}

.s112-flag-pole::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--snow), var(--soft));
}

/* the swallowtail hazard flag */
.s112-flag-pole i {
  position: absolute;
  top: 3px;
  left: 8px;
  width: 22px;
  height: 14px;
  clip-path: polygon(0 0, 100% 0, 76% 50%, 100% 100%, 0 100%);
}

.s112-flag-pole.f0 i { background: #E8C547; }
.s112-flag-pole.f1 i { background: var(--accent2); }
.s112-flag-pole.f2 i { background: #C94B3C; }
.s112-flag-pole.f3 i { background: var(--black-d); }

.s112-flag-pole.f3 {
  border-radius: 0;
}

.s112-flag-art img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(191,227,242,.3);
}

.s112-flag-art { flex: none; }

.s112-flag-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s112-flag-b b {
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-flag-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-flag:active { transform: scale(.97); }

/* ═══ 11. gear room — the rental rack ════════════════════════════ */
.s112-rack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 12px;
  padding-top: 14px;
}

/* the rack rail across the wall */
.s112-rack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2px;
  right: 2px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
  box-shadow: 0 3px 8px rgba(0,0,0,.4);
}

.s112-gear {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 10px;
  background: var(--panel);
  border: 1px solid rgba(191,227,242,.18);
  border-radius: 8px;
}

/* the J-hook each pair hangs from */
.s112-gear-hook {
  width: 18px;
  height: 11px;
  border: 2.5px solid var(--soft);
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.s112-gear-art img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid rgba(191,227,242,.3);
}

.s112-gear-tag {
  width: 100%;
  border: 1px dashed rgba(224,120,74,.45);
  background: rgba(224,120,74,.06);
  border-radius: 5px;
  padding: 5px 8px;
  text-align: center;
}

.s112-gear-tag b {
  display: block;
  font-family: var(--fh);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-gear-tag em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--accent2);
}

.s112-gear:active { transform: scale(.97); }

/* ═══ 12. the hearth — the fireside circle ═══════════════════════ */
.s112-hearth {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* the stone fireplace on the lodge wall */
.s112-fireplace {
  position: relative;
  width: 130px;
  height: 58px;
  margin: 2px auto 8px;
}

/* the snow-capped chimney */
.s112-chimney {
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 11px;
  margin-left: -14px;
  background: linear-gradient(180deg, var(--snow) 0 3px, #46586A 3px);
  border-radius: 2px 2px 0 0;
}

/* the mantel beam over the opening */
.s112-fireplace::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 2px;
  right: 2px;
  height: 7px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
  box-shadow: inset 0 2px 0 rgba(244,248,250,.5);
}

/* the arched firebox */
.s112-mouth {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 88px;
  height: 36px;
  margin-left: -44px;
  border-radius: 44px 44px 0 0;
  background: #0F141A;
  border: 3px solid #46586A;
  overflow: hidden;
}

/* the logs the fire sits on */
.s112-mouth::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--wood-2) 0 12px, var(--wood) 12px 24px);
}

/* the flames flickering in the box */
.s112-mouth i {
  position: absolute;
  bottom: 5px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: linear-gradient(180deg, var(--fire-2), var(--fire));
  animation: s112flick 1.6s ease-in-out infinite;
}

.s112-mouth i:nth-child(1) {
  left: 33px;
  width: 20px;
  height: 24px;
}

.s112-mouth i:nth-child(2) {
  left: 20px;
  width: 12px;
  height: 15px;
  background: linear-gradient(180deg, #F6C98A, var(--fire-2));
  animation-delay: .4s;
}

.s112-mouth i:nth-child(3) {
  right: 20px;
  width: 10px;
  height: 13px;
  background: linear-gradient(180deg, #F6C98A, var(--fire));
  animation-delay: .8s;
}

@keyframes s112flick {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.8); opacity: .85; }
}

/* each game is a chair pulled up to the fire */
.s112-seat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--panel-2);
  border: 1px solid rgba(191,227,242,.14);
  border-radius: 8px;
}

.s112-seat-no {
  flex: none;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--accent2);
  border: 1px dashed rgba(224,120,74,.4);
  border-radius: 4px;
  padding: 3px 5px;
}

.s112-seat img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
}

.s112-seat-b {
  flex: 1;
  min-width: 0;
}

.s112-seat-b b {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-seat-b span {
  display: block;
  font-size: 11px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-seat:active { transform: scale(.98); }

/* ═══ 13. cocoa counter — the mug rail ═══════════════════════════ */
.s112-cocoa {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.s112-mug {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 9px;
  background: var(--panel-2);
  border: 1px solid rgba(191,227,242,.18);
  border-radius: 8px;
}

/* the cocoa mug with its steam */
.s112-mug-cup {
  position: relative;
  width: 34px;
  height: 26px;
}

.s112-mug-cup i {
  position: absolute;
  bottom: 0;
  left: 3px;
  width: 22px;
  height: 17px;
  background: linear-gradient(180deg, var(--snow), #C9D8E2);
  border: 1.5px solid rgba(157,178,192,.6);
  border-radius: 3px 3px 7px 7px;
}

/* the mug handle */
.s112-mug-cup i::after {
  content: '';
  position: absolute;
  top: 2px;
  right: -8px;
  width: 7px;
  height: 11px;
  border: 2.5px solid #C9D8E2;
  border-left: none;
  border-radius: 0 7px 7px 0;
}

/* the rising steam */
.s112-mug-cup::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 9px;
  width: 2.5px;
  height: 9px;
  border-radius: 2px;
  background: rgba(244,248,250,.55);
  transform: skewX(-14deg);
  box-shadow: 8px 2px 0 rgba(244,248,250,.3);
  animation: s112steam 2.6s ease-in-out infinite;
}

@keyframes s112steam {
  0%, 100% { opacity: .3; transform: skewX(-14deg) translateY(0); }
  50% { opacity: .9; transform: skewX(-10deg) translateY(-2px); }
}

.s112-mug-art img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(191,227,242,.3);
}

.s112-mug-nm {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-mug:active { transform: scale(.95); }

/* ═══ 14. nordic loops — the forest track ════════════════════════ */
.s112-loops {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s112-loop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: var(--panel);
  border: 1px solid rgba(191,227,242,.18);
  border-radius: 8px;
}

/* the snow-laden pine beside each track */
.s112-loop-tree {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.s112-loop-tree i {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #E8F2F8 0 32%, #3E5A48 32%);
}

.s112-loop-tree i:nth-child(1) { width: 24px; height: 9px; }
.s112-loop-tree i:nth-child(2) { width: 18px; height: 8px; }
.s112-loop-tree i:nth-child(3) { width: 13px; height: 7px; }

.s112-loop-art { flex: none; }

.s112-loop-art img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(191,227,242,.3);
}

.s112-loop-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s112-loop-b b {
  font-family: var(--fh);
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-loop-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--soft);
}

.s112-loop-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.s112-loop:active { transform: scale(.98); }

/* ═══ 15. trail map — the grade boards ═══════════════════════════ */
.s112-boards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 11px 10px;
}

.s112-board {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 11px 10px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1.5px solid rgba(191,227,242,.22);
  border-radius: 8px;
}

/* the wood cap on each hanging board */
.s112-board::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 16px;
  right: 16px;
  height: 4px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
}

.s112-board-grade {
  flex: none;
  width: 14px;
  height: 14px;
}

.s112-board-grade.g0 { border-radius: 50%; background: var(--green); }
.s112-board-grade.g1 { border-radius: 2px; background: var(--blue); }
.s112-board-grade.g2 {
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--black-d);
  border: 1.5px solid rgba(244,248,250,.8);
}
.s112-board-grade.g3 { transform: rotate(45deg); background: var(--accent2); }

.s112-board-b {
  flex: 1;
  min-width: 0;
}

.s112-board-b b {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s112-board-b i {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--soft);
}

.s112-board-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.s112-board:active { transform: scale(.97); }

/* ═══ 16. trail report — the ticket stubs ════════════════════════ */
.s112-stubs {
  position: relative;
  padding: 15px 12px 12px;
  background: var(--panel);
  border: 1.5px solid rgba(191,227,242,.22);
  border-radius: 10px;
}

/* the binder clips holding the stub stack */
.s112-stubs-clip {
  position: absolute;
  top: -7px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
}

.s112-stubs-clip i {
  width: 36px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(180deg, #AFC3CF, #6E8290);
  box-shadow: 0 3px 6px rgba(0,0,0,.45);
}

.arc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--panel-2);
  border: 1px solid rgba(191,227,242,.14);
  border-radius: 8px;
}

.arc img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
}

/* the stub number torn with the ticket */
.s112-stub-no {
  flex: none;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--accent);
  border: 1px dashed rgba(191,227,242,.4);
  border-radius: 4px;
  padding: 3px 5px;
}

.arc-b { flex: 1; min-width: 0; }

.arc-nm {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arc-ds {
  display: block;
  font-size: 11px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* the lift tag clipped to each stub */
.s112-stub-tag {
  flex: none;
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--accent2);
}

.arc:active { transform: scale(.98); }

/* ═══ 17. filter view + empty ════════════════════════════════════ */
.filter-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.filter-back {
  flex: none;
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--panel);
  border: 1.5px solid rgba(191,227,242,.5);
  border-radius: 6px;
  padding: 7px 12px;
}

.filter-title {
  flex: 1;
  min-width: 0;
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-cnt {
  flex: none;
  font-family: var(--fm);
  font-size: 11.5px;
  color: #1B222B;
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 8px;
}

.empty-space {
  text-align: center;
  padding: 40px 0 24px;
}

/* the empty bowl on a wind-scoured day */
.empty-space p {
  font-size: 30px;
  line-height: 1;
  color: var(--soft);
}

.empty-space span {
  display: block;
  margin-top: 10px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--soft);
}

/* ═══ 18. more ═══════════════════════════════════════════════════ */
.more-wrap {
  text-align: center;
  margin-top: 15px;
}

.more-btn {
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--panel);
  border: 1.5px solid rgba(191,227,242,.4);
  border-radius: 6px;
  padding: 10px 22px;
}

.more-btn:active { transform: scale(.97); }

/* ═══ 19. footer — the snow cornice ══════════════════════════════ */
.foot {
  position: relative;
  margin-top: 44px;
  padding: 30px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, #25303C, #1B222B);
}

/* the drifted snow cornice over the roofline */
.s112-cornice {
  position: relative;
  height: 30px;
  margin-bottom: 10px;
  overflow: hidden;
}

.s112-cornice i {
  position: absolute;
  bottom: -6px;
  width: 84px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, var(--snow), rgba(244,248,250,.3));
}

.s112-cornice i:nth-child(1) { left: -8%; height: 24px; }
.s112-cornice i:nth-child(2) { left: 14%; height: 30px; }
.s112-cornice i:nth-child(3) { left: 38%; height: 22px; }
.s112-cornice i:nth-child(4) { left: 62%; height: 29px; }
.s112-cornice i:nth-child(5) { right: -8%; height: 23px; }

.foot-name {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
}

.foot-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}

.foot-links a {
  display: inline;
  font-size: 12.5px;
  color: var(--soft);
  text-decoration: underline;
}

.foot-fine {
  margin-top: 12px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--soft);
  opacity: .75;
}

/* ═══ 20. back-to-top — the summit button ════════════════════════ */
.totop-btn {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 60;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: #1B222B;
  background: radial-gradient(circle at 40% 30%, #EAF4FA, var(--accent));
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}

/* ═══ 21. responsive ═════════════════════════════════════════════ */
@media (max-width: 480px) {
  .sec { padding: 13px 12px 15px; }

  .hv10-window { width: 126px; height: 126px; }

  .hv10-nm { font-size: 19px; }

  .s112-contour { padding: 14px 10px 12px; }

  .s112-run-art img { height: 76px; }

  .s112-cabin { width: 90px; }

  .s112-gear-art img { width: 74px; height: 74px; }

  .s112-cocoa { gap: 8px; }

  .s112-mug-art img { width: 48px; height: 48px; }

  .s112-stubs-clip { left: 18px; right: 18px; }
}

@media (max-width: 375px) {
  .wrap { padding: 0 14px; }

  .hdr-name { font-size: 16px; }

  .s112-contour,
  .s112-flags { gap: 10px; }

  .s112-rack { gap: 14px 10px; }

  .s112-boards { gap: 10px 9px; }

  .s112-flag { gap: 8px; padding: 10px 8px; }

  .s112-flag-pole { width: 26px; }

  .s112-flag-art img { width: 48px; height: 48px; }

  .s112-stub { gap: 8px; }

  .s112-loop { gap: 8px; }
}
