@charset "UTF-8";
/* ============================================================================
   壹号玩家台球俱乐部 · 官网首页样式
   ----------------------------------------------------------------------------
   设计基调：高端商务运动风
     · 深空黑打底（#05070B），不用纯黑，留一点冷调空间感
     · 品牌蓝 #3B7FFF —— 与小程序端主色一致，保持品牌统一
     · 金属金 #D9B45B —— 只在"徽章、分隔、悬停点亮"这类点睛处出现，不铺开用
     · 动效克制：呼吸光、滚动淡入、悬停上浮，不做弹跳与旋转

   目录
     01 变量与重置        02 通用容器与纹理      03 顶部导航
     04 首屏 Hero         05 区块通用            06 核心优势
     07 品牌风采          08 页脚                09 入场动效
     10 响应式            11 无障碍与降级
   ========================================================================== */

/* ---------------------------------------------------------------- 01 变量 */
:root {
  /* 色板 */
  --bg:        #05070B;
  --bg-deep:   #04060A;
  --brand:     #3B7FFF;
  --brand-2:   #6BA4FF;
  --gold:      #D9B45B;
  --gold-2:    #F0D89A;
  --text:      #F2F5FA;
  --text-2:    #A9B4C4;
  --text-3:    #6C7889;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans CJK SC", sans-serif;
  --font-num:  "SF Pro Display", -apple-system, "Helvetica Neue", Helvetica,
               Arial, sans-serif;

  /* 布局 */
  --gutter:    clamp(24px, 5vw, 64px);
  --container: 1440px;

  /* 缓动 */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-slow: cubic-bezier(.6, .05, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 锚点跳转时给固定导航留出高度，否则标题会被导航压住 */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  /* 深色底上的中文，关掉次像素渲染更干净 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 700; line-height: 1.22; letter-spacing: .01em; }

::selection { background: rgba(59, 127, 255, .32); color: #fff; }

/* 深色页面里默认滚动条是浅色的，会非常刺眼 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12);
  border-radius: 6px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .2); }

/* ------------------------------------------------- 02 通用容器与台呢纹理 */
/* 全屏噪声层：给纯色底一点"布面"颗粒，避免大面积死黑显得廉价。
   用 SVG feTurbulence 现场生成，不额外请求图片。 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: grainDrift 26s linear infinite;
}
@keyframes grainDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 160px 160px; }
}

/* 所有正文区块比噪声层高一层 */
.nav, main, .footer { position: relative; z-index: 2; }

/* ------------------------------------------------------------ 03 顶部导航 */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 24px 0;
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background .4s var(--ease),
              border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
/* 滚动后才浮出毛玻璃底：首屏保持完全干净 */
.nav.is-solid {
  padding: 13px 0;
  background: rgba(5, 7, 11, .74);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand { display: inline-flex; align-items: center; gap: 13px; }
.nav__mark { width: 34px; height: 34px; flex: none; }
.nav__text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .14em;
  white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a {
  position: relative;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--text-2);
  padding: 4px 0;
  transition: color .35s var(--ease);
}
/* 下划线从中间向两侧展开，比默认的整条下划线克制 */
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

/* 吧台管理入口 —— 它不是页面内锚点，而是跳到同域的另一个系统。
   用金色和页面导航区分开：店内员工要在手机上快速找到它，必须一眼可辨。
   选择器多带一层 a，为了压过上面那条 .nav__links a 的同色规则（不用 !important）。 */
.nav__links a.nav__link--sys { color: rgba(217, 180, 91, .9); }
.nav__links a.nav__link--sys:hover { color: var(--gold-2); }

/* ------------------------------------------------------------ 04 首屏 Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* 背景单独一层，带上下 14% 余量 —— 滚动视差位移时不会在边缘露底 */
.hero__bg {
  position: absolute;
  inset: -14% 0;
  background-color: var(--bg);
  background-image: url("../img/hero-bg.webp");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  will-change: transform;
}

/* 暗调遮罩：压住图片亮度、把视觉重心交给中间的文字 */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,11,.92) 0%, rgba(5,7,11,.5) 32%,
                            rgba(5,7,11,.58) 62%, var(--bg) 100%),
    radial-gradient(74% 62% at 50% 46%, rgba(5,7,11,.18), rgba(5,7,11,.9) 100%);
}

/* 呼吸光：冷蓝为主、暖金为辅，9 秒一轮，慢到几乎是"察觉不到的活着" */
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 48% at 50% 44%, rgba(59,127,255,.20), transparent 68%),
    radial-gradient(38% 32% at 76% 74%, rgba(217,180,91,.11), transparent 70%),
    radial-gradient(34% 30% at 22% 26%, rgba(107,164,255,.10), transparent 72%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .72; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.07); }
}

/* 悬浮微尘：canvas 绘制，见 main.js */
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  text-align: center;
  max-width: 1080px;
}

.hero__logo { margin: 0 auto 34px; }
.hero__logo svg {
  width: clamp(74px, 7.2vw, 106px);
  height: auto;
  /* 金色球体在暗底上需要一点外发光才"立"得住 */
  filter: drop-shadow(0 10px 42px rgba(217, 180, 91, .3));
}

.hero__title {
  font-size: clamp(54px, 7.6vw, 118px);
  font-weight: 700;
  letter-spacing: .09em;
  /* 文字自带一个从亮白到冷灰的渐变，比纯白更有金属感 */
  background: linear-gradient(180deg, #FFFFFF 0%, #E9EEF6 44%, #9EADC3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 注意：background-clip:text 下 text-shadow 会被裁掉，只能用 drop-shadow */
  filter: drop-shadow(0 0 46px rgba(59, 127, 255, .38));
  text-indent: .09em;   /* 补偿末字右侧多出的字距，让整行视觉居中 */
}

.hero__kicker {
  margin-top: 18px;
  font-size: clamp(12px, 1.05vw, 16px);
  letter-spacing: .64em;
  text-indent: .64em;
  color: rgba(217, 180, 91, .84);
}

.hero__slogan {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: .16em;
  color: var(--text-2);
}
.hero__slogan i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .62;
  flex: none;
}

/* 向下滚动提示 */
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  color: var(--text-3);
  animation: floatY 2.8s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -9px); }
}
.hero__mouse svg { width: 21px; height: 35px; display: block; }
.hero__mouse rect {
  fill: none;
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1.4;
}
.hero__wheel { fill: var(--gold); animation: wheelDrop 2.2s var(--ease-slow) infinite; }
@keyframes wheelDrop {
  0%   { transform: translate(0, 0);    opacity: 0; }
  18%  { opacity: 1; }
  68%  { transform: translate(0, 11px); opacity: 0; }
  100% { transform: translate(0, 11px); opacity: 0; }
}
.hero__scroll-text {
  font-size: 11px;
  letter-spacing: .3em;
  text-indent: .3em;
}

/* ------------------------------------------------------------ 05 区块通用 */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(92px, 12vh, 168px) var(--gutter);
}

.section__head { text-align: center; margin-bottom: clamp(52px, 6vw, 84px); }

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .46em;
  text-indent: .46em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .82;
}
/* 标题上下各一道向内收的金色细线，代替常见的"标题 + 装饰箭头" */
.section__eyebrow::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 13px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}

.section__title {
  margin-top: 16px;
  font-size: clamp(29px, 3.1vw, 46px);
  letter-spacing: .06em;
}

.section__desc {
  margin-top: 14px;
  font-size: clamp(13px, 1.05vw, 15px);
  letter-spacing: .18em;
  color: var(--text-3);
}

/* ------------------------------------------------------------ 06 核心优势 */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
}

.adv-card {
  position: relative;
  padding: clamp(34px, 3.2vw, 48px) clamp(28px, 2.6vw, 42px) clamp(32px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.014));
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .55s var(--ease), border-color .55s var(--ease),
              box-shadow .55s var(--ease);
}
/* 顶边高光：平时只露一点，悬停时整条点亮 */
.adv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,127,255,.75),
                                      rgba(217,180,91,.6), transparent);
  opacity: .3;
  transition: opacity .55s var(--ease);
}
/* 悬停光晕：从卡片顶部往下铺一层很淡的蓝 */
.adv-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(72% 58% at 50% 0%, rgba(59,127,255,.17), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s var(--ease);
}
.adv-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-2);
  box-shadow: 0 30px 64px -30px rgba(0,0,0,.92), 0 0 0 1px rgba(59,127,255,.1);
}
.adv-card:hover::before { opacity: 1; }
.adv-card:hover::after  { opacity: 1; }

.adv-card__icon {
  color: var(--gold);
  margin-bottom: 26px;
  transition: color .55s var(--ease), transform .55s var(--ease);
}
.adv-card__icon svg {
  width: clamp(40px, 3.4vw, 48px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adv-card:hover .adv-card__icon { color: var(--brand-2); transform: translateY(-2px); }

.adv-card__en {
  display: block;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 9px;
}

.adv-card__title {
  font-size: clamp(20px, 1.7vw, 25px);
  letter-spacing: .08em;
  margin-bottom: 15px;
}

.adv-card__text {
  font-size: 14.5px;
  line-height: 1.92;
  color: var(--text-2);
}

/* ------------------------------------------------------------ 07 品牌风采 */
.gallery__stage { position: relative; }

.gallery__viewport {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #090C12;
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, .95);
}

.gallery__track {
  display: flex;
  transition: transform .9s var(--ease-slow);
  will-change: transform;
}

.slide { position: relative; flex: 0 0 100%; margin: 0; }

.slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 748;
  object-fit: cover;
  /* 统一压暗降饱和：不同来源的照片放在一起才不会花 */
  filter: saturate(.94) brightness(.84) contrast(1.04);
  transition: transform 1.4s var(--ease), filter .7s var(--ease);
}
.slide:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) brightness(.95) contrast(1.04);
}

.slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(40px, 5vw, 64px) clamp(26px, 4vw, 52px) clamp(24px, 2.6vw, 38px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  background: linear-gradient(180deg, transparent, rgba(5,7,11,.9) 74%);
  pointer-events: none;
}

/* 图片加载失败（替换实拍图时文件名对不上会触发）：
   不留浏览器的碎图图标，也不让 alt 文字孤零零躺在白底上。
   尺寸由 img 的 width/height 属性撑住，这里只换掉视觉。 */
.slide.is-broken img {
  background:
    linear-gradient(135deg, #0D1118 0%, #131A24 50%, #0B0F16 100%);
  /* font-size:0 是为了让失败时的 alt 文本不显示 —— 否则一行白字压在深底上
     比碎图更难看。图片位仍由 img 的 width/height 属性撑住，布局不塌。 */
  color: transparent;
  font-size: 0;
}

.slide__tag {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--gold);
  padding-bottom: 2px;
}

.slide__text {
  font-size: clamp(17px, 1.65vw, 26px);
  font-weight: 500;
  letter-spacing: .06em;
  color: #fff;
}

/* 左右切换按钮 */
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(9, 12, 18, .58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text-2);
  opacity: 0;
  transition: opacity .4s var(--ease), background .4s var(--ease),
              color .4s var(--ease), border-color .4s var(--ease);
}
.gallery__stage:hover .gallery__arrow { opacity: 1; }
.gallery__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery__arrow:hover {
  background: rgba(59, 127, 255, .24);
  border-color: rgba(107, 164, 255, .6);
  color: #fff;
}
.gallery__arrow--prev { left: clamp(12px, 1.6vw, 24px); }
.gallery__arrow--next { right: clamp(12px, 1.6vw, 24px); }

/* 指示点：当前点拉成一小段横条 */
.gallery__dots {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}
.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  transition: width .45s var(--ease), background .45s var(--ease);
}
.gallery__dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

/* 自动轮播进度条：走完一轮换下一张，悬停时停住 */
.gallery__bar {
  margin: 16px auto 0;
  width: min(240px, 42%);
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .09);
  overflow: hidden;
}
.gallery__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}
.gallery__bar i.is-running {
  animation: barFill var(--gal-duration, 6000ms) linear forwards;
}
@keyframes barFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---------------------------------------------------------------- 08 页脚 */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: clamp(58px, 7vw, 84px) 0 clamp(42px, 5vw, 58px);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer__mark { width: 28px; height: 28px; }
.footer__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .16em;
}

.footer__copy {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-3);
}

/* 吧台点餐管理台入口（同域子站） */
.footer__links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
}
.footer__links a {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-3);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.footer__links a:hover {
  color: var(--gold);
  border-bottom-color: rgba(217, 180, 91, .5);
}

/* 备案区：工信部备案号常驻，公安备案位预留（未填则整体隐藏） */
.footer__legal {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--text-3);
}

.legal__police { display: inline-flex; align-items: center; gap: 10px; }
/* 必须显式覆盖：class 选择器的 display 优先级高于浏览器默认的 [hidden]{display:none}，
   少了这一条，未填写的公安备案位会以空白形式占位。 */
.legal__police[hidden] { display: none; }
.legal__sep { color: rgba(255, 255, 255, .18); }

.legal__link {
  color: var(--text-3);
  border-bottom: 1px solid transparent;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.legal__link:hover { color: var(--gold); border-bottom-color: rgba(217, 180, 91, .45); }

/* ------------------------------------------------------------ 09 入场动效 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- 10 响应式适配 */
@media (max-width: 1180px) {
  :root { --gutter: clamp(22px, 4vw, 44px); }
  .adv-card { padding: 34px 26px 32px; }
}

@media (max-width: 980px) {
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 两栏时第三张卡会单独占一行左边，让它居中更平衡 */
  .adv-card:last-child { grid-column: 1 / -1; }
  .hero__title { letter-spacing: .07em; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .nav { padding: 16px 0; }
  .nav.is-solid { padding: 11px 0; }
  /* 导航项从 2 个变 3 个（多了「吧台管理」）：窄屏必须收一收间距和字号，
     否则 375px 宽度下品牌名会和链接挤在一起。 */
  .nav__links { gap: 15px; }
  .nav__links a { font-size: 12.5px; letter-spacing: .04em; }
  .nav__text { font-size: 15px; letter-spacing: .1em; }

  .hero__slogan { flex-direction: column; gap: 10px; }
  /* 竖排时圆点分隔符没有意义，横过来做分隔更省空间 —— 直接隐藏 */
  .hero__slogan i { display: none; }
  .hero__kicker { letter-spacing: .44em; text-indent: .44em; }
  .hero__scroll { bottom: 22px; }

  .adv-grid { grid-template-columns: minmax(0, 1fr); }
  .adv-card:last-child { grid-column: auto; }

  /* 触屏没有 hover，切换按钮常驻显示，否则手机上找不到切换入口 */
  .gallery__arrow { opacity: 1; width: 42px; height: 42px; }
  .slide figcaption { gap: 6px 12px; }
}

@media (max-width: 520px) {
  .nav__links { gap: 12px; }
  /* 超窄屏收起品牌文字，只留 1 号球图标，把宽度让给三个导航项。
     手机是店内员工进管理台的主要设备，入口不能因为挤而被折行或藏起来。 */
  .nav__text { display: none; }
  .footer__legal { font-size: 12px; line-height: 2; }
}

/* ------------------------------------------- 11 无障碍与动效降级 */
/* 用户在系统里开了「减弱动态效果」，就把所有位移/呼吸/自动播放停掉。
   自动轮播的停止同时由 JS 处理（见 main.js）。 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 键盘导航：给焦点一个明确的可见环 */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 4px;
}
/* 轮播整体可聚焦（方向键切换），焦点环跟着卡片圆角走 */
.gallery__stage:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 6px;
  border-radius: 26px;
}
