/* 美呀美 · smoked glass navigation */
:root { --hh:5.5rem; }
.u-header,.u-header.is-scrolled,.u-header.is-mega { background:transparent;border-bottom-color:transparent; }
.u-header__in { position:relative;gap:clamp(.8rem,2vw,2rem); }
/* Blur lives on a separate layer so the mobile fixed menu keeps its viewport. */
.u-header__in::before {
  content:"";position:absolute;inset:12px -8px 8px;z-index:-1;pointer-events:none;border-radius:22px;
  background:linear-gradient(120deg,rgba(255,255,255,.095),rgba(255,255,255,.025) 45%,rgba(255,122,46,.065)),rgba(22,19,18,.92);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),inset 0 -1px 0 rgba(255,255,255,.025),0 12px 36px rgba(0,0,0,.22);
}
.u-header__act .u-btn--ghost,.u-burger {
  background:linear-gradient(150deg,rgba(255,255,255,.08),rgba(255,255,255,.025));border-color:rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.u-header__act .u-btn--accent { box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 4px 18px rgba(255,90,0,.16); }
.u-header__act .u-btn--ghost:hover { background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28); }
@media(min-width:961px) {
  .u-nav > ul { gap:.2rem; }
  .u-nav > ul > li > a {
    min-height:42px;display:flex;align-items:center;justify-content:center;padding:.5rem .85rem;
    border:1px solid transparent;border-radius:13px;color:#d2cbc4;letter-spacing:.015em;
    transition:color .25s var(--ease),background-color .25s var(--ease),border-color .25s var(--ease),transform .3s var(--ease);
  }
  .u-nav > ul > li > a::before { display:none; }
  .u-nav > ul > li > a:hover,.u-nav > ul > li.is-open > a,.u-nav > ul > li.has-sub:focus-within > a {
    color:var(--text);background:linear-gradient(150deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border-color:rgba(255,255,255,.18);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  }
  .u-nav > ul > li > a.is-current {
    color:#ffd9bd;background:linear-gradient(150deg,rgba(255,122,46,.2),rgba(255,90,0,.07));border-color:rgba(255,144,77,.3);
    box-shadow:inset 0 1px 0 rgba(255,214,181,.13),0 3px 12px rgba(255,90,0,.045);
  }
  .u-nav > ul > li > a.is-current::after { content:"";width:4px;height:4px;margin-left:.5rem;border:0;border-radius:50%;background:#ff9d5f;transform:none;box-shadow:0 0 8px rgba(255,122,46,.6); }
  .u-sub {
    margin-top:.45rem;padding:.5rem;min-width:12rem;border-radius:16px;
    background:linear-gradient(135deg,rgba(255,255,255,.07),transparent),rgba(27,23,21,.95);
    border-color:rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 16px 40px rgba(0,0,0,.32);
  }
  /* Keeps pointer travel continuous across the visual gap. */
  .u-sub::before { content:"";position:absolute;left:0;right:0;top:-.55rem;height:.6rem; }
  .u-sub a { border-radius:9px;padding:.6rem .8rem; }
  .u-sub a:hover,.u-sub a:focus-visible { background:rgba(255,255,255,.075); }
  .u-mega {
    left:16px;right:16px;border:1px solid rgba(255,255,255,.16);border-radius:24px;
    background:linear-gradient(135deg,rgba(255,255,255,.065),transparent 60%,rgba(255,122,46,.025)),rgba(24,21,19,.95);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 24px 64px rgba(0,0,0,.35);overflow:hidden;
  }
  .u-mega__in { padding-inline:clamp(1.5rem,3vw,3rem);padding-block:1.75rem 2rem;height:min(78vh,42rem);max-height:calc(100dvh - var(--hh) - 1rem);grid-template-rows:minmax(0,1fr); }
  .u-mega--row .u-mega__in { height:auto;grid-template-rows:none; }
  .u-mega__list { gap:.35rem .65rem;border-top:0; }
  .u-mega__list > li { border:0;border-radius:10px; }
  .u-mega__a { padding:.5rem .6rem;border:1px solid transparent;border-radius:10px; }
  .u-mega__a:hover,.u-mega__a.is-active { padding-left:.6rem;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.09); }
  .u-mega__a.is-active { background:rgba(255,122,46,.085);border-color:rgba(255,144,77,.18); }
  .u-mega__stage { border-left-color:rgba(255,255,255,.12); }
  .u-mega .u-chip { border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.035); }
  .u-mega .u-chip:hover { background:rgba(255,122,46,.13);border-color:rgba(255,144,77,.3); }
  .u-mprev__win,.u-mphone__shot { border-color:rgba(255,255,255,.15);box-shadow:0 5px 18px rgba(0,0,0,.1); }
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .u-header__in::before { background:linear-gradient(120deg,rgba(255,255,255,.095),rgba(255,255,255,.025) 45%,rgba(255,122,46,.065)),rgba(22,19,18,.65);-webkit-backdrop-filter:blur(24px) saturate(145%);backdrop-filter:blur(24px) saturate(145%); }
  .u-mega,.u-sub { background:linear-gradient(135deg,rgba(255,255,255,.07),transparent 60%,rgba(255,122,46,.035)),rgba(24,21,19,.8);-webkit-backdrop-filter:blur(28px) saturate(135%);backdrop-filter:blur(28px) saturate(135%); }
}
@media(min-width:961px) and (max-width:1360px) {
  .u-header__in { gap:.65rem; }
  .u-header .u-brand__logo { width:148px;height:40px; }
  .u-nav > ul > li > a { padding:.5rem .6rem;font-size:.85rem; }
  .u-header__act { gap:.45rem; }.u-header__act .u-btn { padding-inline:.9rem; }
}
@media(min-width:961px) and (max-width:1120px) {
  .u-header__in { gap:.45rem; }
  .u-header .u-brand__logo { width:128px;height:36px; }
  .u-nav > ul > li > a { padding-inline:.28rem;font-size:.8125rem; }
  .u-header__act .u-btn--ghost { font-size:0;min-width:40px;padding-inline:0; }
  .u-header__act .u-btn--ghost::before { content:"";width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1ede8' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center/contain no-repeat; }
  .u-header__act .u-btn--accent { font-size:0; }
  .u-header__act .u-btn--accent::after { content:"咨询";font-size:.8125rem; }
}
@media(max-width:960px) {
  :root { --hh:5rem; }
  .u-header__in::before { inset:8px -8px;border-radius:19px; }
  .u-nav { inset:var(--hh) 8px 8px;padding:1.25rem 1rem 2rem;border:1px solid rgba(255,255,255,.15);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.06),transparent),rgba(22,19,18,.97);box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 18px 50px rgba(0,0,0,.3); }
  .u-nav > ul { gap:.4rem; }
  .u-nav > ul > li > a { border:1px solid rgba(255,255,255,.09);border-radius:13px;padding:.8rem 1rem;background:rgba(255,255,255,.035);font-size:1.05rem; }
  .u-nav > ul > li > a.is-current { color:#ffd9bd;border-color:rgba(255,144,77,.3);background:rgba(255,122,46,.12); }
  .u-sub { margin-top:0;padding:.35rem .8rem .6rem;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none; }
  .u-sub a { padding:.65rem .5rem;font-size:.95rem;border-bottom-color:rgba(255,255,255,.08); }
}
@media(prefers-reduced-motion:reduce) {
  .u-nav > ul > li > a { transition:none; }
}
