/* SILVER_TASTE_20261029_V1 首頁質感：字體系統、標題一致、按鈕一致、段落節奏、頁尾。
   只在一般瀏覽器分頁生效；PWA（display-mode:standalone／html.st-pwa-home）完全不套用。
   :is(:root,#st-taste-v1) 只為取得 ID 等級權重，壓過 qr.css 的 :root:has(#首屏) 規則。
   首屏（shadow DOM）與版頭按鈕不動。 */
@media (display-mode:browser){
html:not(.st-pwa-home):is(:root,#st-taste-v1){
  --tt-sans:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  --tt-serif:"Noto Serif TC","Songti TC","PMingLiU",serif;
  --tt-ink:#2F3A33;--tt-text:#3E342C;--tt-soft:#5E5247;--tt-mute:#7A6D60;
  --tt-paper:#D3C8B8;--tt-oat:#E6DED2;--tt-cream:#F3EEE4;
  --tt-forest:#3F5546;--tt-forest-deep:#2C3D31;--tt-line:rgba(53,43,36,.14);
  --tt-h2:clamp(30px,1.6vw + 18px,42px);
}

/* 1. 字體：全頁同一套內文字，取代 Arial 優先的系統字 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body{font-family:var(--tt-sans)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body :is(main,footer,.silver-floating) :is(p,a,button,span,li,dt,dd,small,b,strong,h3,h4,blockquote,figcaption,summary){font-family:var(--tt-sans)!important}

/* 2. 段落標題：統一襯線、同一字級與字重（原本混用無襯線 500／襯線 700） */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main :is(section:not(.contact)>div>h2,.section-heading h2,.visit-head h2),
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #silver-coaches-title,
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #st-jr-title{
  font-family:var(--tt-serif)!important;font-size:var(--tt-h2)!important;font-weight:500!important;line-height:1.42!important;letter-spacing:.04em!important;color:var(--tt-ink)!important;margin-top:0!important;text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main section.contact>h2{color:var(--tt-cream)!important;text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere;font-family:var(--tt-serif)!important;font-size:var(--tt-h2)!important;font-weight:500!important;letter-spacing:.06em!important;line-height:1.42!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #st-home-panel h3{font-family:var(--tt-serif)!important;font-weight:600!important;letter-spacing:.04em!important;color:var(--tt-ink)!important}

/* 3. 內文：提高對比、行距一致 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main :is(#about p:not(.large-copy),.visit-head .sub,.silver-coach-heading p,.visitor-section p,.st-jr-lead,.steps p){color:var(--tt-soft)!important;line-height:1.9!important;letter-spacing:.02em!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #about .large-copy{font-family:var(--tt-serif)!important;font-weight:500!important;color:var(--tt-text)!important;letter-spacing:.03em!important;line-height:1.8!important}

/* 4. 關於銀寶：兩個價值改細框標籤，與下方課程區距離收緊 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #about{padding-bottom:56px!important;align-items:start!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #about .values{display:flex!important;flex-wrap:wrap;gap:10px!important;margin-top:28px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #about .values span{display:inline-flex!important;align-items:center;gap:8px;padding:7px 16px!important;border:1px solid rgba(63,85,70,.32)!important;border-radius:999px!important;font-size:13.5px!important;letter-spacing:.06em!important;color:var(--tt-forest)!important;background:rgba(243,238,228,.35)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #about .values span::before{content:"";width:5px;height:5px;border-radius:50%;background:#7E9A84;flex:none}

/* 5. 課程區：恢復段落標題（原本只剩一顆孤立按鈕），與上一段用細線分隔 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses{padding-top:72px!important;border-top:1px solid var(--tt-line)!important;margin:0 clamp(20px,7vw,101px)!important;padding-left:0!important;padding-right:0!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading{display:flex!important;justify-content:space-between;align-items:end;gap:20px;margin:0 0 6px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading .section-aside{font-size:13px;letter-spacing:.12em;color:var(--tt-mute)}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #silver-home-tools-20260926{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}

/* 6. 教練區：箭頭改圓形細框 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main .silver-coach-controls button{width:52px!important;height:52px!important;min-height:0!important;padding:0!important;border-radius:50%!important;border:1px solid rgba(63,85,70,.35)!important;background:rgba(243,238,228,.7)!important;color:var(--tt-forest)!important;font-size:20px!important;line-height:1!important;box-shadow:0 6px 16px -10px rgba(35,29,24,.45)!important;transition:background .2s,transform .2s}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main .silver-coach-controls button:not(:disabled):hover{background:var(--tt-cream)!important;transform:scale(1.05)}

/* 7. 體驗流程：改深森林綠色帶，讓頁面中段有一次停頓 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey{background:var(--tt-forest-deep)!important;background-image:radial-gradient(120% 90% at 0% 0%,rgba(110,139,116,.22),transparent 60%)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey .visit-head h2{color:var(--tt-cream)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey .visit-head .sub,
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey .steps p{color:rgba(243,238,228,.72)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey .steps h3{color:var(--tt-cream)!important;font-weight:500!important;letter-spacing:.04em!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey .dot{background:transparent!important;border:1px solid rgba(243,238,228,.45)!important;color:var(--tt-cream)!important;font-family:var(--tt-serif)!important;box-shadow:none!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey .rail{background:rgba(243,238,228,.18)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey .rail i{background:#B9C9B6!important}

/* 8. 按鈕：內容區主要按鈕一律森林綠膠囊；深色底上用米白膠囊 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main :is(a.btn,a.button.visit-navigation){display:inline-flex!important;align-items:center;gap:10px;min-height:50px;padding:0 26px!important;border-radius:999px!important;border:0!important;background:var(--tt-forest)!important;color:var(--tt-cream)!important;font-size:15px!important;font-weight:500!important;letter-spacing:.06em!important;text-decoration:none!important;box-shadow:0 10px 22px -14px rgba(28,40,32,.7)!important;transition:background .2s,transform .2s,box-shadow .2s!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main :is(a.btn,a.button.visit-navigation):hover{background:#4B6553!important;transform:translateY(-1px);box-shadow:0 14px 26px -14px rgba(28,40,32,.75)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey a.btn,
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main section.contact a.button.light{display:inline-flex!important;align-items:center;gap:10px;min-height:50px;padding:0 28px!important;border-radius:999px!important;border:0!important;background:var(--tt-cream)!important;color:var(--tt-forest-deep)!important;font-size:15px!important;font-weight:500!important;letter-spacing:.06em!important;text-decoration:none!important;box-shadow:0 10px 24px -14px rgba(0,0,0,.55)!important;transition:background .2s,transform .2s!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #journey a.btn:hover,
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main section.contact a.button.light:hover{background:#FFFBF2!important;transform:translateY(-1px)}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main a.visitor-text-link{text-decoration:none!important;border-bottom:1px solid currentColor!important;padding-bottom:3px!important;letter-spacing:.04em!important;color:var(--tt-forest)!important}

/* 9. 聯絡色帶：與頁尾之間留出呼吸，標題下方加細線 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main section.contact{padding:104px 6% 112px!important;background:var(--tt-forest)!important;background-image:radial-gradient(90% 120% at 50% 0%,rgba(185,201,182,.16),transparent 65%)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main section.contact>p{color:rgba(243,238,228,.78)!important;letter-spacing:.06em!important;margin:14px 0 34px!important}

/* 10. 頁尾：地址改成細字一列，與 LOGO 對齊 */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body>footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding:34px clamp(20px,5vw,72px)!important;background:var(--tt-paper)!important;border-top:1px solid var(--tt-line)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body>footer .silver-venue-address{margin:0!important;font-size:14px!important;font-weight:400!important;letter-spacing:.06em!important;color:var(--tt-soft)!important;text-align:right!important}

/* 11. 課程區重新排版：標題列放選課入口、四個選項改編號清單、課程卡改米白紙卡（森林綠點綴） */
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading{align-items:center!important;margin-bottom:8px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading .section-aside{display:none!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading>#silver-home-tools-20260926{flex:none;background:transparent!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .finder{gap:clamp(28px,4vw,64px)!important;margin-top:36px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs{counter-reset:tt-tab;gap:0!important;border-bottom:1px solid var(--tt-line)}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab{counter-increment:tt-tab;display:grid!important;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:14px!important;padding:22px 14px 22px 6px!important;border:0!important;border-top:1px solid var(--tt-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;translate:none!important;transition:background .25s,color .25s,padding .25s!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab::before{content:counter(tt-tab,decimal-leading-zero);font-family:var(--tt-serif);font-size:15px;letter-spacing:.06em;color:var(--tt-mute);grid-column:1;grid-row:1}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab>span:not(.ico){grid-column:2;grid-row:1}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab .ico{grid-column:3;grid-row:1;width:24px!important;height:24px!important;opacity:.55;color:var(--tt-mute)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab b{font-size:16.5px!important;font-weight:500!important;letter-spacing:.04em;color:var(--tt-text)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab small{display:block;margin-top:4px;font-size:13px!important;letter-spacing:.06em;color:var(--tt-mute)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab:hover{background:rgba(243,238,228,.28)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab[aria-selected="true"]{background:rgba(243,238,228,.55)!important;padding-left:14px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab[aria-selected="true"]::before,
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab[aria-selected="true"] b,
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab[aria-selected="true"] .ico{color:var(--tt-forest)!important;opacity:1}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab[aria-selected="true"] small{color:#5F7A66!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab:focus-visible{outline:2px solid var(--tt-forest);outline-offset:-2px}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel{background:#ECE5DA!important;border:0!important;border-radius:24px!important;padding:clamp(28px,3.6vw,48px)!important;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 34px 60px -44px rgba(47,58,51,.55)!important;min-height:0!important;gap:22px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel::after{opacity:.35}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel h3{font-size:clamp(30px,1.4vw + 16px,38px)!important;margin:0!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .p-desc{color:var(--tt-soft)!important;line-height:1.9!important;max-width:32em}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .chip{background:transparent!important;border:1px solid rgba(63,85,70,.32)!important;color:var(--tt-forest)!important;font-size:13px!important;letter-spacing:.06em;padding:5px 14px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts{border-color:var(--tt-line)!important;padding-block:20px!important;gap:0!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts>div{padding:0 20px;border-left:1px solid var(--tt-line)}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts>div:first-child{padding-left:0;border-left:0}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts dt{font-size:12.5px!important;letter-spacing:.08em!important;color:var(--tt-mute)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts dd{color:var(--tt-ink)!important;font-size:16px}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts dd :is(.num,strong,b){font-family:var(--tt-serif)!important;color:var(--tt-forest)!important;font-weight:600!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .learn h4{font-size:13px!important;font-weight:500!important;letter-spacing:.12em!important;color:var(--tt-forest)!important;margin:0 0 6px!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .learn p{color:var(--tt-soft)!important}
html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses p.fine{margin-top:18px!important;font-size:12.5px!important;letter-spacing:.04em;color:var(--tt-mute)!important}
@media (min-width:861px){
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .finder{grid-template-columns:minmax(0,5fr) minmax(0,8fr)!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .facts{grid-template-columns:1.3fr 1fr 1fr!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .facts>div:first-child{grid-column:auto!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses p.fine{margin-left:calc((100% - clamp(28px,4vw,64px)) * 5 / 13 + clamp(28px,4vw,64px))!important}
}
@media (max-width:860px){
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading{align-items:start!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs{grid-template-columns:1fr 1fr!important;gap:8px!important;border-bottom:0}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab{grid-template-columns:1fr!important;gap:2px!important;padding:14px!important;border:1px solid var(--tt-line)!important;border-radius:16px!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab::before{font-size:13px}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab>span:not(.ico){grid-column:1;grid-row:2}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab .ico{display:none!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses .tabs .tab[aria-selected="true"]{border-color:rgba(63,85,70,.45)!important;padding-left:14px!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts>div{padding:0 0 0 14px}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses #st-home-panel .facts>div:first-child{padding:0 0 12px;}
}
@media (max-width:760px){
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses{margin:0 6%!important;padding-top:56px!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading{flex-direction:column;align-items:start}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main #courses>.section-heading .section-aside{display:none}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main section.contact{padding:76px 7% 84px!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body>footer{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:10px!important;padding:28px 6%!important}
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body>footer .silver-venue-address{text-align:center!important;font-size:13px!important}
}
@media (prefers-reduced-motion:reduce){
  html:not(.st-pwa-home):is(:root,#st-taste-v1) body main :is(a.btn,a.button,.silver-coach-controls button){transition:none!important;transform:none!important}
}
}
