/*
  OP50 v2 r11 — UI Texture, Liquid Glass Optics & Micro-Interaction Polish Layer
  Loaded after lg.css. Strictly preserves the Ocean Park 50th × Arknights Blue-Hour Night /
  Golden Day + Sui Siblings CNY festive + PRTS industrial glass aesthetic.
*/

/* ================= 1. Zero horizontal overflow & clean anchor offset ================= */
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--v2-top-h) + 1.5rem); }
.v2-segm, .v2-sec, [id^="seg-"], [id^="r"] { scroll-margin-top: calc(var(--v2-top-h) + 1.5rem); }

/* ================= 2. Refined Night & Day contrast tokens ================= */
html[data-v2-night] {
  --v2-accent-ink: #C8D2FF;          /* lifted for crisp AAA inline link readability on dark glass */
  --v2-ink-2: #CCD5E2;               /* slightly crisper secondary copy over blue-hour lights */
  --v2-line-soft: rgba(255, 255, 255, .14);
}

/* Crisp inline links with subtle gold-sapphire shimmer underline */
.v2-link {
  color: var(--v2-accent-ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .2s var(--v2-ease), background-size .2s var(--v2-ease), text-shadow .2s;
}
html[data-v2-night] .v2-link:hover {
  color: #EEF2FF;
  text-shadow: 0 0 12px rgba(174, 185, 255, .45);
}

/* ================= 3. Header scroll progress rail & lantern framing ================= */
.v2-top::after {
  bottom: -1px;
  height: 1.5px;
  opacity: .95;
  background:
    linear-gradient(90deg, var(--v2-primary) 0 calc(var(--v2-scroll-p, 0%) * .55), var(--v2-gold-line) calc(var(--v2-scroll-p, 0%) * .55) var(--v2-scroll-p, 0%), rgba(201, 162, 74, .18) var(--v2-scroll-p, 0%), transparent 88%);
}
html.v2-lg .v2-top::after { opacity: .88; }
.v2-top-lans { top: calc(100% + 1px); z-index: 39; }
.v2-top-lans::before { height: 2px; opacity: .85; }
.v2-lan img { filter: drop-shadow(0 6px 12px rgba(16, 10, 4, .45)); }
html[data-v2-night] .v2-lan img { filter: drop-shadow(0 6px 14px rgba(255, 148, 66, .28)); }

/* ================= 4. Liquid Glass optical fixes (Toast, Disabled CTA, Active Crystal Tint) ================= */
/* Fix #1: Toast notification was dark ink on dark WebGL glass -> luminous high-contrast frost pill */
html.v2-lg .v2-notice {
  color: #F4F7FB !important;
  --lg-tint: 14 22 46 .84;
  padding: .75rem 1.375rem;
  border-radius: 999px;
  clip-path: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
html.v2-lg .v2-notice.is-ok { --lg-tint: 18 52 44 .86; }
html.v2-lg .v2-notice.is-bad { --lg-tint: 158 38 30 .88; }
html:not([data-v2-night]).v2-lg .v2-notice {
  color: #F6F8FB !important;
  --lg-tint: 18 24 42 .9;
}
html:not([data-v2-night]).v2-lg .v2-notice.is-bad { --lg-tint: 152 38 30 .92; }
.v2-notice small { opacity: .86; margin-top: .125rem; }
.v2-notice.is-ok b::before {
  content: "✓ ";
  color: #8FE0A8;
}
.v2-notice.is-bad b::before {
  content: "! ";
  color: #FFD1A8;
}

/* Fix #2: Disabled primary button MUST NOT glow bright red in WebGL glass mode */
html.v2-lg .v2-btn-primary:is(.is-disabled, [disabled]),
html[data-v2-night].v2-lg .v2-btn-primary:is(.is-disabled, [disabled]) {
  --lg-tint: 38 46 68 .48;
  color: rgba(235, 240, 248, .52) !important;
  text-shadow: none;
  opacity: .76;
  cursor: not-allowed;
}
html:not([data-v2-night]).v2-lg .v2-btn-primary:is(.is-disabled, [disabled]) {
  --lg-tint: 148 158 170 .58;
  color: rgba(34, 42, 52, .62) !important;
}

/* Fix #3: Active Stamp / Stepper / Calendar Selected -> translucent optical crystal instead of flat opaque cobalt */
html.v2-lg .v2-steps > li.is-cur {
  --lg-tint: 42 62 178 .58;
  color: #FFFFFF;
}
html[data-v2-night].v2-lg .v2-steps > li.is-cur {
  --lg-tint: 48 70 198 .56;
}
html.v2-lg .v2-steps > li.is-cur span {
  background: rgba(255, 255, 255, .2) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
html.v2-lg .v2-cal-d.is-sel {
  --lg-tint: 46 66 188 .64;
  color: #FFFFFF;
}
html[data-v2-night].v2-lg .v2-cal-d.is-sel {
  --lg-tint: 50 74 206 .62;
}
html.v2-lg .v2-stamp.is-cur {
  --lg-tint: 36 56 168 .46;
  color: #FFFFFF;
}
html[data-v2-night].v2-lg .v2-stamp.is-cur {
  --lg-tint: 44 68 192 .44;
}
html.v2-lg .v2-stamp.is-cur::before {
  border-style: solid;
  border-color: rgba(233, 191, 110, .68);
  box-shadow: inset 0 0 18px rgba(130, 165, 255, .18);
}
html.v2-lg .v2-stamp.is-on::before {
  border-style: solid;
  border-color: rgba(233, 191, 110, .58);
}
html.v2-lg .v2-stamp:not(.is-on):not(.is-cur)::before {
  border-color: rgba(255, 255, 255, .14);
}
/* Active station pill dot on the current stamp cell */
.v2-stamp.is-cur .v2-stamp-no {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.v2-stamp.is-cur .v2-stamp-no::after {
  content: "";
  width: .375rem;
  height: .375rem;
  border-radius: 50%;
  background: var(--v2-gold);
  box-shadow: 0 0 8px rgba(233, 191, 110, .85);
}

/* Subtle gold hairline frame & richer readability for chamfered cards */
.v2-card::after, .v2-cal::after {
  opacity: .85;
  transition: opacity .28s var(--v2-ease), transform .32s var(--v2-ease);
}
.v2-card:hover::after, .v2-cal:hover::after { opacity: 1; }

/* ================= 5. Hero Refinement & Interactive Chibi Showcase ================= */
.v2-hero-data {
  width: min(100%, 49rem);
  gap: var(--v2-sp-3) var(--v2-sp-4);
}
.v2-hero-meta {
  padding-right: 1.25rem;
}
html[data-v2-night].v2-lg .v2-hero-data {
  --lg-tint: 8 13 32 .28;
}
html.v2-lg .v2-cd-i {
  padding: .5rem 1.05rem;
  min-width: 6.75rem;
  align-items: center;
  text-align: center;
}
html[data-v2-night].v2-lg .v2-cd-i {
  --lg-tint: 12 18 42 .32;
}
html[data-v2-night].v2-lg .v2-cd-i.is-sf {
  --lg-tint: 98 54 22 .26;
}
.v2-cd-i small {
  margin-bottom: .125rem;
  white-space: nowrap;
}
.v2-cd-i b {
  font-size: 2.3rem;
  justify-content: center;
}

/* Interactive Hero operators: subtle hover nameplate + click jump */
.v2-hero-f {
  position: relative;
}
.v2-hero-op-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.v2-hero-op-btn:focus-visible {
  outline: 2px solid var(--v2-gold);
  outline-offset: 2px;
  border-radius: .75rem;
}
.v2-hero-op-tag {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translate(-50%, 6px) scale(.94);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: .25rem .625rem;
  border-radius: 999px;
  font: 700 var(--v2-fs-0)/1.1 var(--v2-mono);
  letter-spacing: .06em;
  color: #FFFFFF;
  background: rgba(10, 15, 36, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), 0 6px 16px rgba(0, 0, 0, .42);
  border: 1px solid rgba(233, 191, 110, .48);
  transition: opacity .22s var(--v2-ease), transform .24s var(--v2-ease);
  z-index: 6;
}
.v2-hero-op-btn:hover .v2-hero-op-tag,
.v2-hero-op-btn:focus-visible .v2-hero-op-tag {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
@media (prefers-reduced-motion: no-preference) {
  .v2-hero-op-btn .v2-fig {
    transition: filter .28s var(--v2-ease);
  }
  .v2-hero-op-btn:hover .v2-fig {
    filter: drop-shadow(0 1rem 1.35rem rgba(233, 191, 110, .26)) brightness(1.05);
  }
}

/* Soft warm glow behind the hero cloud stage in night mode */
html[data-v2-night] .v2-hero-stage::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 18%;
  height: 5.5rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 191, 110, .18), rgba(158, 55, 41, .08) 55%, transparent 100%);
  pointer-events: none;
}

/* ================= 6. Five Old Friends: balanced density, swap motion, station jump ================= */
.v2-friend {
  display: flex;
  flex-direction: column;
}
.v2-friend-b {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 0;
}
.v2-friend-ft {
  margin-top: auto;
  padding-top: .625rem;
  border-top: 1px solid var(--v2-line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.v2-friend-noalt {
  display: inline-flex;
  align-items: center;
  min-height: 2.125rem;
  padding: 0 .625rem;
  border-radius: 999px;
  font: 600 var(--v2-fs-0)/1 var(--v2-mono);
  letter-spacing: .04em;
  color: var(--v2-ink-2);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--v2-line-soft);
}
.v2-friend-go {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .3rem .55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--v2-gold);
  font: 700 var(--v2-fs-0)/1 var(--v2-mono);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--v2-ease);
}
.v2-friend-go:hover {
  background: var(--v2-gold-soft);
  color: var(--v2-ink);
  transform: translateX(2px);
}
.v2-friend.is-highlight {
  animation: v2-card-ping 1.2s var(--v2-ease);
}
@keyframes v2-card-ping {
  0% { filter: brightness(1); }
  25% { filter: brightness(1.22) drop-shadow(0 0 18px rgba(233, 191, 110, .42)); }
  100% { filter: brightness(1); }
}

/* Smooth portrait swap shimmer when toggling 老朋友 <-> 新相逢 */
.v2-friend-art {
  position: relative;
  overflow: hidden;
  border-radius: .375rem;
}
@media (prefers-reduced-motion: no-preference) {
  .v2-friend.is-swap .v2-friend-art .v2-fig {
    animation: v2-alt-in .42s cubic-bezier(.18, .85, .28, 1) both;
  }
  .v2-friend.is-swap .v2-friend-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 22%, rgba(233, 191, 110, .32) 48%, rgba(255, 255, 255, .28) 52%, transparent 76%);
    animation: v2-alt-scan .52s var(--v2-ease) forwards;
    pointer-events: none;
  }
}
@keyframes v2-alt-in {
  from { opacity: 0; transform: scale(.93) translateY(.45rem); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes v2-alt-scan {
  from { transform: translateX(-110%); }
  to { transform: translateX(120%); }
}

/* Interactive Route Strip stations */
.v2-route-btn {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform .18s var(--v2-ease), opacity .18s;
}
.v2-route-btn:hover { transform: translateY(-1px); }
.v2-route-btn:hover span { color: var(--v2-gold); }
.v2-route-btn:focus-visible { outline: 2px solid var(--v2-gold); outline-offset: 3px; border-radius: .375rem; }

/* ================= 7. Merch Showcase: Backlit Studio Vitrine & Lightbox Trigger ================= */
.v2-merch {
  position: relative;
  align-content: space-between;
}
.v2-merch:has(.v2-merch-pic) .v2-merch-g { display: none; }
.v2-merch-open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  text-align: left;
}
.v2-merch-open:focus-visible {
  outline: 2px solid var(--v2-gold);
  outline-offset: 3px;
}
/* Harmonized backlit museum vitrine: keeps the approved light backdrop so clear acrylic reads,
   while adding gentle radial studio falloff + chamfered glass lip so it belongs naturally in night mode */
html[data-v2-night] .v2-merch .v2-merch-pic {
  padding: .45rem;
  border-radius: .375rem;
  background:
    radial-gradient(120% 60% at 25% -15%, rgba(255, 255, 255, .28), rgba(255, 255, 255, .04) 55%, transparent 72%),
    linear-gradient(160deg, rgba(233, 191, 110, .14), rgba(16, 24, 52, .35) 55%, rgba(120, 175, 255, .12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 0 0 1px rgba(233, 191, 110, .24),
    0 .625rem 1.5rem -.5rem rgba(0, 0, 0, .45);
}
html[data-v2-night] .v2-merch .v2-merch-pic img {
  background: radial-gradient(circle at 50% 42%, #F3F6FA 0%, #DFE5EF 64%, #C7D0DF 100%);
  padding: .5rem;
  filter: drop-shadow(0 .5rem .75rem rgba(18, 24, 48, .18));
  transition: transform .35s var(--v2-ease), filter .35s var(--v2-ease);
}
html:not([data-v2-night]) .v2-merch .v2-merch-pic img {
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #EEF2F6 70%, #E0E6EE 100%);
  padding: .5rem;
  transition: transform .35s var(--v2-ease);
}
@media (prefers-reduced-motion: no-preference) {
  .v2-merch:hover .v2-merch-pic img {
    transform: scale(1.045) translateY(-2px);
  }
}
.v2-merch-zoom {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  font: 700 var(--v2-fs-0)/1 var(--v2-mono);
  letter-spacing: .04em;
  color: #FFFFFF;
  background: rgba(12, 18, 42, .74);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s var(--v2-ease), transform .22s var(--v2-ease);
  pointer-events: none;
}
.v2-merch:hover .v2-merch-zoom,
.v2-merch-open:focus-visible .v2-merch-zoom {
  opacity: 1;
  transform: none;
}
.v2-merch-meta {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
/* Lightbox light studio backing when previewing transparent merch PNG/WebP */
.v2-lb-pic.is-merch img {
  background: radial-gradient(circle at 50% 42%, #F5F7FA 0%, #DDE4EE 72%, #C5CFDF 100%);
  padding: 1.25rem;
}

/* ================= 8. Booking: Calendar clarity, Quota Bars, Quick-Pick & Demo Fill ================= */
.v2-daycard .v2-tag-sample { justify-self: start; }
.v2-daycard.is-empty {
  padding: var(--v2-sp-6) var(--v2-sp-5);
  min-height: 17.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-align: center;
  border: 1px dashed rgba(201, 162, 74, .4);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(10, 15, 36, .35));
  clip-path: polygon(0 0, calc(100% - var(--v2-cut)) 0, 100% var(--v2-cut), 100% 100%, var(--v2-cut) 100%, 0 calc(100% - var(--v2-cut)));
}
html:not([data-v2-night]) .v2-daycard.is-empty {
  background: rgba(var(--v2-glass-rgb), .65);
  border-color: var(--v2-line);
}
.v2-empty-ic {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--v2-gold);
  opacity: .85;
}
.v2-empty-sub {
  max-width: 20rem;
  font-size: var(--v2-fs-2);
  color: var(--v2-ink-2);
}
.v2-qpick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: .25rem;
}
.v2-qpick-btn {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(233, 191, 110, .48);
  background: rgba(233, 191, 110, .14);
  color: var(--v2-ink);
  font: 700 var(--v2-fs-1)/1 var(--v2-mono);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .18s, transform .18s var(--v2-ease), border-color .18s;
}
.v2-qpick-btn:hover {
  background: rgba(233, 191, 110, .28);
  border-color: var(--v2-gold);
  transform: translateY(-1px);
}

/* Animated quota bars inside Day Detail */
.v2-qbar {
  display: block;
  width: 100%;
  height: .25rem;
  margin-top: .5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
html:not([data-v2-night]) .v2-qbar { background: rgba(20, 24, 28, .1); }
.v2-qbar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--v2-lv-hi), var(--v2-gold-line));
  transition: width .45s var(--v2-ease);
}
.v2-qbar.lv-mid i { background: linear-gradient(90deg, var(--v2-lv-mid), var(--v2-gold)); }
.v2-qbar.lv-lo i, .v2-qbar.lv-full i { background: var(--v2-lv-lo); }

/* Form header demo quick-fill button */
.v2-form-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.v2-demo-fill {
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(233, 191, 110, .45);
  background: rgba(233, 191, 110, .14);
  color: var(--v2-gold);
  font: 700 var(--v2-fs-1)/1 var(--v2-mono);
  cursor: pointer;
  transition: background-color .18s, transform .18s var(--v2-ease);
}
.v2-demo-fill:hover {
  background: rgba(233, 191, 110, .26);
  transform: translateY(-1px);
}

/* Ticket booking no. copy row */
.v2-tk-no-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem 1rem;
  margin: .125rem 0 1.125rem;
}
.v2-tk-no-row .v2-tk-no { margin: 0; }
.v2-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--v2-gold-line);
  background: rgba(233, 191, 110, .14);
  color: var(--v2-gold);
  font: 700 var(--v2-fs-1)/1 var(--v2-mono);
  cursor: pointer;
  transition: background-color .18s, transform .16s var(--v2-ease);
}
.v2-copy-btn:hover { background: rgba(233, 191, 110, .26); transform: translateY(-1px); }
.v2-copy-btn:active { transform: scale(.96); }

/* ================= 9. Stamp Card: Tactile Seal Slam + Particle Spark Burst ================= */
.v2-spark {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  pointer-events: none;
  z-index: 260;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: v2-spark-fly .72s cubic-bezier(.16, .84, .32, 1) forwards;
}
@keyframes v2-spark-fly {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(45deg); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(.2) rotate(220deg); }
}

/* ================= 10. Footer 2-step confirm + Back-to-Top Glass Pill ================= */
.v2-btn-text[data-confirm="1"] {
  color: #FFAE9E !important;
  text-decoration-color: #FFAE9E;
  font-weight: 800;
}
.v2-top-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 5.75rem;
  z-index: 35;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24);
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .22), transparent 60%), rgba(12, 18, 42, .72);
  color: #F4F7FB;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 .5rem 1.5rem rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  backdrop-filter: blur(12px) saturate(1.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(.75rem) scale(.92);
  transition: opacity .25s var(--v2-ease), transform .28s var(--v2-ease), border-color .2s;
}
html:not([data-v2-night]) .v2-top-fab {
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .65), transparent 60%), rgba(238, 242, 244, .88);
  color: var(--v2-ink);
  border-color: rgba(20, 24, 28, .16);
}
html.v2-scrolled .v2-top-fab {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.v2-top-fab:hover {
  border-color: var(--v2-gold);
  transform: translateY(-2px);
}

/* ================= 11. Mobile 390x844 Precision Layout & Spacing ================= */
@media (max-width: 760px) {
  /* Keep entire Hero + CTA + Date/Countdown cleanly framed above the floating bottom nav capsule */
  .v2-hero {
    padding: 1.5rem 0 1.25rem;
  }
  .v2-hero-art {
    width: min(100%, 20.5rem);
    padding-bottom: 3%;
  }
  .v2-hero-txt {
    gap: .52rem;
  }
  .v2-display {
    font-size: 2.35rem;
    line-height: 1.05;
  }
  .v2-slogan b {
    font-size: 1.2rem;
  }
  .v2-lead {
    font-size: .84rem;
    line-height: 1.55;
  }
  .v2-hero-data {
    padding: .75rem .875rem;
    gap: .5rem;
  }
  .v2-hero-meta {
    padding-bottom: .5rem;
  }
  html.v2-lg .v2-cd-i {
    padding: .4rem .625rem;
    min-width: 0;
  }
  .v2-cd-i b {
    font-size: 1.75rem;
  }
  /* Slimmer mobile action bar above bottom nav pill so booking stays breathable */
  html.v2-lg .v2-actbar {
    padding-bottom: calc(var(--v2-tab-h) + 1rem + env(safe-area-inset-bottom, 0px));
  }
  html.v2-lg .v2-actbar-in {
    min-height: 3.75rem;
    padding-block: .4rem;
  }
  /* Mobile notice stays clean & crisp under header */
  html.v2-lg .v2-notice {
    width: auto;
    max-width: calc(100% - 2rem);
  }
  /* Hide FAB on narrow mobile where bottom pill nav occupies bottom-right */
  .v2-top-fab { display: none; }
}

/* ================= 12. 16:9 Wide Desktop (1440px - 1920px) Refinement ================= */
@media (min-width: 1440px) {
  .v2-hero {
    padding: 1.75rem 0 2.25rem;
  }
  .v2-hero-in {
    gap: 2rem;
  }
  .v2-friends {
    gap: 1rem;
  }
  .v2-merchs {
    gap: 1.125rem;
  }
}

/* Reduced motion strict guard */
@media (prefers-reduced-motion: reduce) {
  .v2-spark { display: none !important; }
  .v2-friend.is-highlight { animation: none !important; }
}
