/* SILVER_COACH_WALL_20261118 大光影無框教練牆：文字導覽＋實景照淡入淡出（接在 SILVER_FLOW_20261118 之後；只作用瀏覽器版首頁，PWA 不動） */

/* 新牆出現後，原本的輪播收起（仍留在頁面供「完整介紹與證照」大圖使用） */
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .silver-coaches.fl-wall-ready .silver-coach-stage{display:none!important}

html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-wall{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:"photo tabs" "photo info"!important;grid-template-rows:auto 1fr!important;
  column-gap:clamp(48px,7vw,120px)!important;margin-top:clamp(36px,4vw,64px)!important;align-items:start!important;
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-wall *{box-sizing:border-box}

/* ---- 文字導覽 ---- */
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tabs{
  grid-area:tabs!important;display:flex!important;gap:clamp(18px,2.4vw,34px)!important;overflow-x:auto!important;
  padding:clamp(28px,5vw,72px) 0 18px!important;border-bottom:.5px solid rgba(53,43,36,.12)!important;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tabs::-webkit-scrollbar{display:none}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tab{
  flex:0 0 auto!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  padding:8px 0!important;min-height:44px!important;cursor:pointer!important;scroll-snap-align:start;
  font-family:var(--cv-mono,"JetBrains Mono",ui-monospace,monospace)!important;font-size:12px!important;font-weight:400!important;
  letter-spacing:.15em!important;color:#352B24!important;opacity:.3!important;position:relative!important;
  transition:opacity .4s ease,color .4s ease!important;
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tab:hover,html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tab:focus-visible{opacity:.65!important;outline:none!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tab[aria-selected="true"]{opacity:1!important;font-weight:700!important;color:#3F5546!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tab[aria-selected="true"]::after{content:"";position:absolute;left:0;right:.15em;bottom:-19px;height:1px;background:#3F5546}

/* ---- 大光影照片（淡入淡出疊放，邊緣輕微羽化） ---- */
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-photos{grid-area:photo!important;position:relative!important;aspect-ratio:4/5!important;width:100%!important;margin:0!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-slide{
  position:absolute!important;inset:0!important;margin:0!important;cursor:zoom-in!important;
  opacity:0!important;transform:scale(1.025)!important;pointer-events:none!important;
  transition:opacity 1s cubic-bezier(.22,.8,.24,1),transform 1.6s cubic-bezier(.22,.8,.24,1)!important;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 3%,#000 95%,transparent 100%),linear-gradient(to right,transparent 0,#000 3%,#000 97%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to bottom,transparent 0,#000 3%,#000 95%,transparent 100%),linear-gradient(to right,transparent 0,#000 3%,#000 97%,transparent 100%);
  mask-composite:intersect;
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-slide.is-on{opacity:1!important;transform:none!important;pointer-events:auto!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-slide img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}

/* 照片上的排字（參考雜誌教練頁） */
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-over{position:absolute!important;inset:0!important;pointer-events:none!important;padding:0!important;margin:0!important;background:none!important;color:#2F3A33!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-over *{color:#2F3A33!important;white-space:nowrap!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-brand{position:absolute!important;top:9.5%!important;left:11%!important;display:flex!important;align-items:center!important;gap:14px!important;
  font-family:var(--tt-serif,"Noto Serif TC",serif)!important;font-size:clamp(12px,1.2vw,17px)!important;letter-spacing:.04em!important;text-transform:uppercase!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-brand i{display:block!important;width:clamp(13px,1.35vw,19px)!important;height:clamp(13px,1.35vw,19px)!important;border:2px solid #2F3A33!important;transform:rotate(45deg)!important;margin:0 4px!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-mid{position:absolute!important;top:37%!important;left:11%!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-eyebrow{font-family:var(--tt-serif,"Noto Serif TC",serif)!important;font-size:clamp(11px,1.05vw,15px)!important;letter-spacing:.06em!important;text-transform:uppercase!important;
  padding-bottom:10px!important;border-bottom:2px solid #2F3A33!important;margin-bottom:clamp(18px,3vw,44px)!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-name{font-family:var(--tt-serif,"Noto Serif TC",serif)!important;font-size:clamp(32px,4.4vw,62px)!important;font-weight:500!important;line-height:1.05!important;margin-bottom:clamp(10px,1.2vw,16px)!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-focus{font-family:"Noto Sans TC",system-ui,sans-serif!important;font-size:clamp(14px,1.5vw,21px)!important;font-weight:700!important;letter-spacing:.04em!important}

/* ---- 資訊文字：純文字懸浮、大留白 ---- */
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-info{grid-area:info!important;position:relative!important;padding-top:clamp(40px,5vw,80px)!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-panel{animation:fl-in .9s cubic-bezier(.22,.8,.24,1) both}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-panel[hidden]{display:none!important}
@keyframes fl-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;margin:-1px!important;padding:0!important;border:0!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-facts{margin:0!important;padding:0!important;display:grid!important;gap:0!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-facts dt{
  margin:0 0 14px!important;font-family:var(--cv-mono,"JetBrains Mono",ui-monospace,monospace)!important;font-size:10.5px!important;
  font-weight:500!important;letter-spacing:.24em!important;text-transform:uppercase!important;color:#3F5546!important;opacity:.75!important;
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-facts dd{
  margin:0 0 clamp(40px,4.4vw,64px)!important;padding:0!important;max-width:30em;
  font-family:var(--cv-mono,"JetBrains Mono",ui-monospace,monospace),"Noto Sans TC",sans-serif!important;font-size:14.5px!important;
  font-weight:300!important;line-height:2!important;letter-spacing:.06em!important;color:#352B24!important;
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-acts{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px 40px!important;margin-top:clamp(8px,1.6vw,24px)!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-link,html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-more{
  position:relative!important;display:inline-flex!important;align-items:center!important;gap:.9em!important;min-height:44px!important;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;cursor:pointer!important;
  font-size:15px!important;letter-spacing:.1em!important;text-decoration:none!important;
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-link{color:#3F5546!important;font-weight:500!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-more{color:rgba(53,43,36,.5)!important;font-weight:300!important;font-size:13px!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-more:hover{color:#352B24!important}
/* 懸停時文字前方浮現微光綠點 */
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-link::before{
  content:"";position:absolute;left:-16px;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:#3F5546;
  box-shadow:0 0 0 4px rgba(63,85,70,.10),0 0 10px 1px rgba(63,85,70,.35);opacity:0;transform:scale(.4);
  transition:opacity .35s ease,transform .35s cubic-bezier(.22,.8,.24,1);
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-link:hover::before,html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-link:focus-visible::before{opacity:1;transform:none}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-arrow{font-family:var(--cv-mono,"JetBrains Mono",ui-monospace,monospace)!important;font-weight:300!important;transition:transform .35s cubic-bezier(.22,.8,.24,1)!important}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-link:hover .fl-arrow{transform:translateX(6px)!important}

@media (max-width:760px){
  html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-wall{grid-template-columns:1fr!important;grid-template-areas:"tabs" "photo" "info"!important;column-gap:0!important}
  html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tabs{padding:4px 0 14px!important;margin-bottom:24px!important;gap:24px!important}
  html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-tab[aria-selected="true"]::after{bottom:-15px}
  html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-info{padding-top:36px!important}
  html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-facts dd{font-size:14px!important;margin-bottom:36px!important}
  html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-link::before{left:-12px}
}
@media (prefers-reduced-motion:reduce){
  html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-slide,html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-panel{transition:none!important;animation:none!important;transform:none!important}
}
html:not(.st-pwa-home):is(:root,#cv-a):is(:root,#cv-b):is(:root,#cv-c):is(:root,#cv-d) .fl-brand > span{font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important}
