﻿:root{
  --sy-blue:#073763;
  --sy-blue-dark:#042845;
  --sy-orange:#ff8a00;
  --sy-orange-dark:#e96f00;
  --sy-gold:#fff2d8;
  --sy-cream:#fff9ef;
  --sy-text:#14233a;
  --sy-muted:#6f7786;
  --sy-border:#f0dfc4;
  --sy-shadow:0 18px 50px rgba(7,55,99,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.sy-home-body{margin:0;background:#fffaf1;color:var(--sy-text);font-family:"Microsoft JhengHei","Noto Sans TC",Arial,sans-serif;line-height:1.6;overflow-x:hidden}.sy-home-body a{text-decoration:none;color:inherit}.sy-container{width:min(1180px,calc(100% - 40px));margin:0 auto}.sy-skip{position:absolute;left:-999px;top:auto}.sy-skip:focus{left:20px;top:20px;background:#fff;color:#000;z-index:9999;padding:10px 14px;border-radius:8px}.sy-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);box-shadow:0 6px 22px rgba(15,35,65,.08)}.sy-header-inner{height:72px;display:flex;align-items:center;gap:22px}.sy-logo{display:flex;align-items:center;gap:10px;min-width:230px;color:var(--sy-blue);font-weight:800;font-size:25px;letter-spacing:.02em}.sy-logo-mark{display:grid;place-items:center;width:38px;height:38px;border:3px solid var(--sy-orange);border-radius:13px;color:var(--sy-orange);font-size:22px;line-height:1}.sy-nav{display:flex;align-items:center;justify-content:center;gap:24px;flex:1;white-space:nowrap}.sy-nav a{font-weight:700;font-size:16px;color:#142033}.sy-nav a:hover{color:var(--sy-orange-dark)}.sy-header-actions{display:flex;gap:10px}.sy-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px 18px;font-weight:800;border:1px solid transparent;transition:.2s ease;white-space:nowrap}.sy-btn-primary{background:linear-gradient(135deg,#ff9d17,#ff7a00);color:#fff;box-shadow:0 10px 22px rgba(255,122,0,.25)}.sy-btn-primary:hover{transform:translateY(-1px);background:var(--sy-orange-dark)}.sy-btn-outline,.sy-btn-light{background:#fff;color:var(--sy-blue);border-color:#d9a35b}.sy-btn-outline:hover,.sy-btn-light:hover{border-color:var(--sy-orange);color:var(--sy-orange-dark)}.sy-btn-large{font-size:18px;padding:14px 28px}.sy-menu-toggle{display:none;background:transparent;border:0;width:42px;height:42px;padding:9px}.sy-menu-toggle span{display:block;height:3px;background:var(--sy-blue);border-radius:3px;margin:6px 0}.sy-hero{position:relative;background:radial-gradient(circle at 76% 36%,#ffd488 0,#fff0cf 25%,#fffaf1 58%);padding:48px 0 92px;overflow:hidden}.sy-hero:before{content:"";position:absolute;inset:auto -10% 0 -10%;height:130px;background:linear-gradient(180deg,rgba(255,255,255,0),#fffaf1 72%)}.sy-hero-inner{position:relative;display:grid;grid-template-columns:1.04fr .96fr;gap:30px;align-items:center}.sy-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--sy-orange-dark);font-weight:800;margin:0 0 12px}.sy-eyebrow:before{content:"";width:36px;height:3px;border-radius:3px;background:var(--sy-orange)}.sy-hero h1{margin:0;color:var(--sy-blue-dark);font-size:clamp(42px,5vw,68px);line-height:1.12;letter-spacing:-.035em;font-weight:900}.sy-hero h1 span{color:var(--sy-orange)}.sy-hero-desc{max-width:570px;font-size:20px;color:#354154;font-weight:700;margin:24px 0 28px}.sy-hero-actions{display:flex;gap:16px;flex-wrap:wrap}.sy-hero-art{height:470px;position:relative}.sy-hero-art:before{content:"";position:absolute;right:0;bottom:22px;width:470px;height:310px;border-radius:42px;background:linear-gradient(145deg,#fff8e9,#ffd28a);box-shadow:var(--sy-shadow)}.sy-book-card{position:absolute;width:112px;height:156px;border-radius:14px;background:#fff;box-shadow:0 16px 38px rgba(0,0,0,.12);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;font-size:14px;font-weight:900;color:var(--sy-blue);padding:14px;z-index:2}.sy-book-card span{color:var(--sy-orange-dark);font-size:13px;margin-top:10px}.sy-book-card-1{left:90px;top:70px;transform:rotate(-7deg)}.sy-book-card-2{left:235px;top:88px;transform:rotate(5deg)}.sy-book-card-3{right:20px;top:100px;transform:rotate(8deg);background:#073763;color:#fff}.sy-book-card-3 span{color:#ffcf82}.sy-headphone{position:absolute;right:135px;top:160px;width:170px;height:170px;border:24px solid rgba(104,58,28,.95);border-left-color:transparent;border-bottom-color:#3f2418;border-radius:50%;z-index:1}.sy-headphone:after{content:"";position:absolute;right:-58px;top:55px;width:74px;height:94px;border-radius:28px;background:linear-gradient(180deg,#8d4e25,#3f2418)}.sy-player-card{position:absolute;left:165px;bottom:78px;width:430px;height:185px;border-radius:22px;background:#073763;color:#fff;box-shadow:0 16px 0 #091f33,0 30px 60px rgba(0,0,0,.25);z-index:3;padding:36px 46px;text-align:center}.sy-player-card>span{font-size:18px;font-weight:900}.sy-wave{display:flex;justify-content:center;align-items:center;gap:9px;height:60px}.sy-wave i{display:block;width:9px;border-radius:99px;background:linear-gradient(#ffd37a,#ff8a00)}.sy-wave i:nth-child(1){height:22px}.sy-wave i:nth-child(2){height:36px}.sy-wave i:nth-child(3){height:50px}.sy-wave i:nth-child(4){height:42px}.sy-wave i:nth-child(5){height:26px}.sy-player-meta{display:flex;justify-content:space-between;align-items:center;font-size:19px}.sy-player-meta b{font-size:28px;color:#fff}.sy-features{position:relative;margin-top:-52px;z-index:5}.sy-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.sy-feature-card{background:#fff;border:1px solid var(--sy-border);border-radius:20px;padding:24px 22px;box-shadow:0 14px 35px rgba(0,0,0,.08);display:grid;grid-template-columns:62px 1fr;column-gap:16px;align-items:center}.sy-feature-icon{grid-row:1/3;width:58px;height:58px;border-radius:16px;background:#fff4e4;color:var(--sy-orange);display:grid;place-items:center;font-size:32px;font-weight:900}.sy-feature-card h2{font-size:19px;margin:0 0 4px;color:var(--sy-blue)}.sy-feature-card p{margin:0;color:#5f6674;font-weight:700;font-size:14px}.sy-stats{padding:28px 0 12px}.sy-stats-inner{display:grid;grid-template-columns:repeat(4,1fr);background:linear-gradient(90deg,#ff9500,#ff8500);border-radius:20px;color:#fff;box-shadow:0 18px 38px rgba(255,133,0,.25);overflow:hidden}.sy-stats-inner div{padding:24px 10px;text-align:center;border-right:1px solid rgba(255,255,255,.34)}.sy-stats-inner div:last-child{border-right:0}.sy-stats strong{display:block;font-size:42px;line-height:1;font-weight:900}.sy-stats span{display:block;font-size:18px;font-weight:900;margin-top:5px}.sy-category-section,.sy-content-section,.sy-service-section,.sy-publisher-strip{padding:20px 0}.sy-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.sy-category-card{background:#fff;border:1px solid var(--sy-border);border-radius:22px;padding:14px 14px 22px;box-shadow:0 12px 30px rgba(7,55,99,.08)}.sy-cat-image{height:118px;border-radius:16px;background-size:cover;background-position:center;margin-bottom:16px}.sy-cat-book .sy-cat-image{background:linear-gradient(135deg,rgba(255,144,0,.28),rgba(255,255,255,.6)),url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="500" height="260"><rect width="500" height="260" fill="%23f7d59d"/><text x="55" y="145" font-size="74" fill="%23073763">BOOK</text></svg>')}.sy-cat-course .sy-cat-image{background:linear-gradient(135deg,rgba(255,144,0,.22),rgba(255,255,255,.5)),url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="500" height="260"><rect width="500" height="260" fill="%23e8d3aa"/><text x="45" y="145" font-size="64" fill="%23073763">COURSE</text></svg>')}.sy-cat-drama .sy-cat-image{background:linear-gradient(135deg,rgba(255,144,0,.18),rgba(0,0,0,.1)),url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="500" height="260"><rect width="500" height="260" fill="%236d2017"/><text x="62" y="145" font-size="70" fill="%23fff">DRAMA</text></svg>')}.sy-cat-publisher .sy-cat-image{background:linear-gradient(135deg,rgba(255,144,0,.18),rgba(255,255,255,.4)),url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="500" height="260"><rect width="500" height="260" fill="%23bf8e48"/><text x="40" y="145" font-size="60" fill="%23fff">PUBLISH</text></svg>')}.sy-category-card h2{margin:0 0 8px;color:var(--sy-blue);font-size:24px}.sy-category-card p{margin:0 0 14px;color:#4d5663;font-weight:700}.sy-category-card a{display:inline-flex;border:2px solid #f5b66b;color:var(--sy-orange-dark);border-radius:999px;padding:8px 16px;font-weight:900}.sy-section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.sy-section-title h2{position:relative;margin:0;color:var(--sy-blue);font-size:28px;font-weight:900;padding-left:28px}.sy-section-title h2:before{content:"★";position:absolute;left:0;color:#ffbf00}.sy-section-title p{margin:2px 0 0;color:#6d7380;font-weight:700}.sy-section-title>a{color:var(--sy-blue);font-weight:900}.sy-card-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.sy-audio-card{position:relative;background:#fff;border:1px solid var(--sy-border);border-radius:18px;padding:12px;box-shadow:0 10px 24px rgba(7,55,99,.07);min-width:0}.sy-audio-card:hover{transform:translateY(-2px);box-shadow:0 18px 35px rgba(7,55,99,.14)}.sy-cover-wrap{width:100%;aspect-ratio:3/4;border-radius:12px;background:#fff3df;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:10px}.sy-cover-wrap img{width:100%;height:100%;object-fit:contain;display:block}.sy-audio-card h3{font-size:16px;line-height:1.35;margin:0 0 6px;color:var(--sy-blue);font-weight:900;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:43px}.sy-audio-card p{margin:0 0 10px;color:#5f6774;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sy-card-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.sy-card-actions a{font-size:13px;font-weight:900;border-radius:999px;padding:5px 9px;background:#f6f7fb;color:var(--sy-blue)}.sy-card-actions .sy-listen{background:var(--sy-orange);color:#fff}.sy-hidden-bound-repeaters{display:none}.sy-service-inner{display:grid;grid-template-columns:1.05fr 2fr;background:#fff4dd;border:1px solid var(--sy-border);border-radius:24px;padding:26px;gap:26px}.sy-service-lead h2{font-size:28px;line-height:1.22;margin:0 0 10px;color:var(--sy-blue)}.sy-service-lead p{color:#5b6572;font-weight:700;margin:0 0 18px}.sy-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.sy-service-grid article{background:#fff;border-radius:18px;padding:18px;text-align:center;border:1px solid #f0dfc4}.sy-service-grid span{display:inline-grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#fff1d7;color:#b06b00;font-weight:900;margin-bottom:8px}.sy-service-grid h3{margin:0 0 6px;color:var(--sy-blue);font-size:18px}.sy-service-grid p{margin:0;color:#5e6570;font-size:14px;font-weight:700}.sy-publisher-strip .sy-container{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.sy-publisher-strip strong{font-size:22px;color:var(--sy-blue);margin-right:12px}.sy-publisher-strip span{display:inline-flex;background:#fff;border:1px solid var(--sy-border);border-radius:999px;padding:7px 14px;font-weight:800;color:#555}.sy-footer{background:#07345d;color:#fff;margin-top:28px;padding:42px 0 18px}.sy-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.6fr;gap:34px}.sy-footer h2,.sy-footer h3{margin:0 0 12px;color:#fff}.sy-footer p{margin:0 0 8px;color:#d6e3f0}.sy-footer a{display:block;color:#d6e3f0;margin:7px 0}.sy-copyright{border-top:1px solid rgba(255,255,255,.18);margin-top:28px;padding-top:18px;text-align:center;color:#bdd0e1}.sy-empty:before{content:"目前尚無資料";grid-column:1/-1;background:#fff;border-radius:16px;padding:24px;text-align:center;color:#6b7280;font-weight:700}
@media (max-width:1100px){.sy-header-inner{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 0}.sy-nav{order:3;width:100%;justify-content:flex-start;overflow:auto;padding-bottom:8px}.sy-hero-inner{grid-template-columns:1fr}.sy-hero-art{height:360px}.sy-feature-grid,.sy-category-grid{grid-template-columns:repeat(2,1fr)}.sy-card-row{grid-template-columns:repeat(3,1fr)}.sy-service-inner{grid-template-columns:1fr}.sy-footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.sy-container{width:min(100% - 24px,1180px)}.sy-header-actions{display:none}.sy-menu-toggle{display:block;margin-left:auto}.sy-nav{display:none;flex-direction:column;align-items:flex-start;background:#fff;border-radius:16px;padding:16px;box-shadow:var(--sy-shadow)}.sy-menu-open .sy-nav{display:flex}.sy-logo{min-width:auto;font-size:21px}.sy-hero{padding-top:28px}.sy-hero h1{font-size:40px}.sy-hero-desc{font-size:17px}.sy-hero-art{display:none}.sy-feature-grid,.sy-category-grid,.sy-stats-inner,.sy-service-grid,.sy-footer-grid{grid-template-columns:1fr}.sy-card-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.sy-audio-card{min-width:180px;scroll-snap-align:start}.sy-section-title{align-items:flex-start;flex-direction:column}.sy-stats-inner div{border-right:0;border-bottom:1px solid rgba(255,255,255,.28)}.sy-stats-inner div:last-child{border-bottom:0}}


/* =========================================================
   尚儀教育有聲雲 Front V2.1.4
   目的：回復先前全寬首頁風格、四區塊直接放圖、三個內容區只顯示二排
   ========================================================= */

/* 四大入口區：比照使用者紅框參考圖，圖片直接放在卡片上方 */
.sy-category-section {
  padding-top: 16px;
  padding-bottom: 18px;
}
.sy-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.sy-category-card {
  position: relative;
  overflow: hidden;
  padding: 14px 14px 20px !important;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(255, 153, 31, .22);
  box-shadow: 0 12px 30px rgba(7,55,99,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sy-category-card:hover {
  transform: translateY(-3px);
  border-color: #ffc06f;
  box-shadow: 0 20px 45px rgba(7,55,99,.13);
}
.sy-category-card .sy-cat-image {
  display: block;
  width: 100%;
  height: 118px;
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff4df;
}
.sy-category-card .sy-cat-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .28s ease;
}
.sy-category-card:hover .sy-cat-image img {
  transform: scale(1.04);
}
.sy-cat-book .sy-cat-image,
.sy-cat-course .sy-cat-image,
.sy-cat-drama .sy-cat-image,
.sy-cat-publisher .sy-cat-image {
  background-image: none !important;
}
.sy-category-card h2 {
  margin: 0 0 7px !important;
  color: var(--sy-orange-dark, #ef7d00) !important;
  font-size: 23px !important;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .02em;
}
.sy-category-card p {
  min-height: 48px;
  margin: 0 0 12px !important;
  color: #4f5b68;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 700;
}
.sy-category-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 7px 16px !important;
  border: 2px solid #f5b66b;
  border-radius: 999px;
  color: var(--sy-orange-dark, #ef7d00) !important;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.sy-category-card a::after {
  content: '›';
  font-size: 20px;
  line-height: 1;
  margin-top: -1px;
}

/* 推薦／最新／熱門：只要二排。
   桌機 6 欄 x 2 排 = 最多 12 筆；平板 3 欄 x 2 排 = 最多 6 筆；手機 2 欄 x 2 排 = 最多 4 筆。 */
.sy-content-section .sy-card-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
}
.sy-content-section .sy-card-row > .sy-audio-card:nth-of-type(n+13),
.sy-content-section .sy-card-row > .sy-audio-card:nth-child(n+13) {
  display: none !important;
}
.sy-content-section .sy-audio-card {
  min-width: 0;
}

/* 避免舊版或其他 CSS 把首頁內容列改回橫向捲動 */
@media (min-width: 761px) {
  .sy-content-section .sy-card-row {
    overflow: hidden !important;
  }
}

@media (max-width: 1100px) {
  .sy-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sy-content-section .sy-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sy-content-section .sy-card-row > .sy-audio-card:nth-of-type(n+7),
  .sy-content-section .sy-card-row > .sy-audio-card:nth-child(n+7) {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .sy-category-section {
    padding-top: 12px;
  }
  .sy-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .sy-category-card {
    padding: 10px 10px 15px !important;
    border-radius: 18px;
  }
  .sy-category-card .sy-cat-image {
    height: 104px;
    border-radius: 13px;
    margin-bottom: 10px;
  }
  .sy-category-card h2 {
    font-size: 18px !important;
  }
  .sy-category-card p {
    min-height: 62px;
    font-size: 13px;
    line-height: 1.5;
  }
  .sy-category-card a {
    padding: 6px 12px !important;
    font-size: 13px;
  }
  .sy-content-section .sy-card-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: hidden !important;
    padding-bottom: 0 !important;
  }
  .sy-content-section .sy-card-row > .sy-audio-card {
    min-width: 0 !important;
    scroll-snap-align: none !important;
  }
  .sy-content-section .sy-card-row > .sy-audio-card:nth-of-type(n+5),
  .sy-content-section .sy-card-row > .sy-audio-card:nth-child(n+5) {
    display: none !important;
  }
}

@media (max-width: 460px) {
  .sy-category-grid {
    grid-template-columns: 1fr;
  }
  .sy-category-card .sy-cat-image {
    height: 150px;
  }
}


/* =========================================================
   Home V2.1.5：出版社專區改為二排摘要＋全部出版社對話框
   ========================================================= */
.sy-publisher-zone{
    padding:30px 0 28px;
}
.sy-publisher-zone-inner{
    padding:0;
}
.sy-publisher-zone-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}
.sy-section-kicker{
    margin:0 0 4px;
    color:#ff7a00;
    font-size:13px;
    font-weight:900;
    letter-spacing:.08em;
}
.sy-publisher-zone h2,
.sy-publisher-modal h2{
    margin:0;
    color:#073763;
    font-size:26px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:.03em;
}
.sy-publisher-zone-head p:last-child,
.sy-publisher-modal-head p:last-child{
    margin:8px 0 0;
    color:#667085;
    font-size:15px;
    font-weight:700;
    line-height:1.65;
}
.sy-publisher-pills{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.sy-publisher-pills-top{
    max-height:112px;
    overflow:hidden;
}
.sy-publisher-pill{
    display:inline-flex;
    align-items:center;
    gap:10px;
    max-width:100%;
    min-height:44px;
    padding:8px 16px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(240,122,0,.28);
    color:#26364f !important;
    text-decoration:none !important;
    font-weight:900;
    box-shadow:0 8px 18px rgba(87,53,12,.05);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.sy-publisher-pill:hover{
    transform:translateY(-2px);
    background:#fff9f0;
    box-shadow:0 14px 24px rgba(240,122,0,.12);
    border-color:rgba(240,122,0,.56);
}
.sy-publisher-pill span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.sy-publisher-pill em{
    flex:0 0 auto;
    min-width:32px;
    height:26px;
    padding:0 8px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff1df;
    color:#ff7600;
    font-style:normal;
    font-weight:900;
}
.sy-publisher-all-btn{
    flex:0 0 auto;
    height:46px;
    padding:0 18px;
    border-radius:999px;
    border:1px solid rgba(255,132,0,.34);
    background:#fff;
    color:#e86d00;
    font-weight:900;
    font-family:inherit;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(87,53,12,.05);
}
.sy-publisher-all-btn:hover{
    background:#fff2df;
}
.sy-modal-open{
    overflow:hidden;
}
.sy-publisher-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
}
.sy-publisher-modal.is-open{
    display:block;
}
.sy-publisher-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(5,20,38,.52);
    backdrop-filter:blur(6px);
}
.sy-publisher-modal-panel{
    position:relative;
    width:min(980px, calc(100vw - 34px));
    max-height:min(78vh, 760px);
    margin:8vh auto 0;
    padding:30px 32px 34px;
    border-radius:30px;
    background:linear-gradient(180deg,#fffdf9 0%,#fff7ea 100%);
    border:1px solid rgba(255,132,0,.28);
    box-shadow:0 36px 90px rgba(0,0,0,.28);
    overflow:auto;
}
.sy-publisher-modal-close{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border-radius:50%;
    border:1px solid rgba(255,132,0,.28);
    background:#fff;
    color:#e86d00;
    font-size:30px;
    line-height:1;
    cursor:pointer;
}
.sy-publisher-modal-head{
    padding-right:56px;
    margin-bottom:20px;
}
.sy-publisher-pills-all{
    gap:12px;
}
@media (max-width: 900px){
    .sy-publisher-zone-head{
        align-items:flex-start;
        flex-direction:column;
    }
    .sy-publisher-all-btn{
        width:100%;
    }
    .sy-publisher-pills-top{
        max-height:108px;
    }
    .sy-publisher-modal-panel{
        margin:5vh auto 0;
        padding:24px 18px 26px;
        border-radius:24px;
        max-height:86vh;
    }
    .sy-publisher-pill{
        min-height:42px;
        padding:8px 14px;
        font-size:15px;
    }
}


/* =========================================================
   Home V2.1.6：出版社專區修正版
   - 不再顯示英文小標
   - 首頁只顯示二排
   - 出版社格式改為：出版社名稱(出版數)
   - 對話框預設強制隱藏
   ========================================================= */
.sy-publisher-zone .sy-section-kicker,
.sy-publisher-modal .sy-section-kicker{
    display:none !important;
}
.sy-publisher-pills-top{
    max-height:112px !important;
    overflow:hidden !important;
}
.sy-publisher-pill{
    gap:0 !important;
}
.sy-publisher-pill em{
    display:none !important;
}
.sy-publisher-pill span{
    white-space:nowrap !important;
}
.sy-publisher-modal{
    display:none !important;
}
.sy-publisher-modal.is-open{
    display:block !important;
}


/* =========================================================
   Publisher Zone V2.1.7：出版社二排底部裁切修正
   原因：二排限制 max-height 太低，第二排膠囊陰影/邊框被 footer 或容器高度裁切。
   ========================================================= */
.sy-publisher-zone{
    padding-bottom:58px !important;
    margin-bottom:0 !important;
}
.sy-publisher-zone-inner{
    padding-bottom:14px !important;
}
.sy-publisher-pills-top{
    max-height:150px !important;
    overflow:hidden !important;
    padding-bottom:22px !important;
    margin-bottom:-8px !important;
}
.sy-publisher-pill{
    margin-bottom:4px !important;
}
.sy-footer{
    margin-top:0 !important;
}

/* audiolist 的出版社專區同樣避免二排被裁切 */
.al-publisher-zone{
    padding-bottom:42px !important;
}
.al-publisher-pills{
    max-height:150px !important;
    overflow:hidden !important;
    padding-bottom:22px !important;
    margin-bottom:-8px !important;
}
.al-publisher-pill{
    margin-bottom:4px !important;
}


/* =========================================================
   Home V2.1.8：首頁上方標籤連結修正＋白底按鈕橘字
   ========================================================= */
.sy-btn-outline,
.sy-btn-outline:link,
.sy-btn-outline:visited,
.sy-btn-light,
.sy-btn-light:link,
.sy-btn-light:visited,
.sy-btn-login,
.sy-btn-plan {
    color: #f07800 !important;
    background: #ffffff !important;
    border-color: rgba(255, 132, 0, .45) !important;
}

.sy-btn-outline:hover,
.sy-btn-light:hover,
.sy-btn-login:hover,
.sy-btn-plan:hover {
    color: #d86000 !important;
    background: #fff7ee !important;
    border-color: #ff8a00 !important;
}

.sy-header-actions .sy-btn-outline,
.sy-header-actions .sy-btn-login {
    min-width: 112px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-weight: 900 !important;
}

.sy-nav a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 42px !important;
}


/* =========================================================
   Home V2.1.9：首頁出版社專區改為開啟對話框
   ========================================================= */
.sy-nav a[onclick*="syOpenPublisherModal"]{
    cursor:pointer;
}
.sy-btn-outline,
.sy-btn-outline:link,
.sy-btn-outline:visited,
.sy-btn-light,
.sy-btn-light:link,
.sy-btn-light:visited{
    color:#f07800 !important;
}


/* =========================================================
   SunnyAudios Home V2.10-MENU：只修首頁手機選單
   限定範圍：.sy-header / .sy-menu-toggle / .sy-nav
   不改首頁 Hero、四大卡、統計列、出版社區、配色與版面
   ========================================================= */

@media (max-width: 760px) {
    .sy-header .sy-header-inner {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) 58px !important;
        align-items: center !important;
        gap: 10px !important;
        width: min(100% - 24px, 1180px) !important;
        min-height: 72px !important;
        height: auto !important;
        flex-wrap: nowrap !important;
    }

    .sy-header .sy-logo {
        grid-column: 1 / 3 !important;
        min-width: 0 !important;
        max-width: calc(100vw - 94px) !important;
        overflow: hidden !important;
    }

    .sy-header .sy-logo-text {
        max-width: calc(100vw - 166px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .sy-header .sy-header-actions {
        display: none !important;
    }

    .sy-header .sy-menu-toggle {
        display: inline-flex !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 20 !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        background: transparent !important;
    }

    .sy-header .sy-menu-toggle span {
        display: block !important;
        width: 32px !important;
        height: 4px !important;
        min-height: 4px !important;
        margin: 4px 0 !important;
        border-radius: 999px !important;
        background: var(--sy-blue) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .sy-header .sy-nav {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: none !important;
        margin: 0 !important;
        padding: 12px 0 6px !important;
        overflow: visible !important;
        white-space: normal !important;
        flex-direction: column !important;
        align-items: stretch !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.sy-menu-open .sy-header .sy-nav {
        display: flex !important;
    }

    .sy-header .sy-nav a {
        display: flex !important;
        width: 100% !important;
        min-height: 46px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 10px 12px !important;
        border-bottom: 1px solid rgba(20, 35, 58, .12) !important;
        white-space: normal !important;
        text-align: left !important;
        overflow: visible !important;
    }
}


/* =========================================================
   SunnyAudios Home V2.10-SCENARIO4
   只恢復首頁四大情境導聽入口；不改 Hero、Header、Footer、推薦區與整體配色
   ========================================================= */

.sy-scenario-head{
    margin: 0 0 18px;
}
.sy-scenario-head h2{
    margin: 0 0 6px;
    color: var(--sy-blue);
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: .02em;
}
.sy-scenario-head p{
    margin: 0;
    color: var(--sy-muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
}
.sy-scenario-grid{
    align-items: stretch;
}
.sy-scenario-card .sy-cat-image{
    background: #fff6e8;
}
.sy-scenario-card .sy-cat-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sy-scenario-card h2{
    line-height: 1.28;
}
.sy-scenario-card p{
    min-height: 58px;
}

@media (max-width: 760px){
    .sy-scenario-head{
        margin-bottom: 14px;
    }
    .sy-scenario-head h2{
        font-size: 24px;
    }
    .sy-scenario-head p{
        font-size: 14px;
    }
    .sy-scenario-card p{
        min-height: 0;
    }
}

@media (max-width: 460px){
    .sy-scenario-card .sy-cat-image{
        height: 150px;
    }
}


/* =========================================================
   SunnyAudios Home V2.10-SCENARIO4-PHOTO
   只替換四大情境區圖片為溫馨照片風；不改首頁其他區塊
   ========================================================= */

.sy-scenario-card .sy-cat-image{
    background:#fff7ec;
    overflow:hidden;
}

.sy-scenario-card .sy-cat-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    filter:saturate(1.02) contrast(1.02);
}

@media (max-width: 760px){
    .sy-scenario-card .sy-cat-image{
        height:160px;
    }
}


/* ===== V220 Main Visual Carousel Functional Fix =====
   只修正：後台 Banner 主視覺直向排列問題。
   不改首頁 UI、不改四大入口、不改內容卡片、不改配色。
*/

.sy-mainvisual {
    position: relative;
    width: 100%;
    margin: 0 auto 28px auto;
    overflow: hidden;
}

.sy-mainvisual-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sy-mainvisual-slide {
    display: none;
    width: 100%;
}

.sy-mainvisual-slide.is-active {
    display: block;
}

.sy-mainvisual-slide a,
.sy-mainvisual-slide picture,
.sy-mainvisual-slide img {
    display: block;
    width: 100%;
}

.sy-mainvisual-slide img {
    height: auto;
    max-width: 100%;
}

.sy-mainvisual-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.sy-mainvisual-prev {
    left: 16px;
}

.sy-mainvisual-next {
    right: 16px;
}

.sy-mainvisual-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 6;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sy-mainvisual-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.65);
    cursor: pointer;
}

.sy-mainvisual-dots button.is-active {
    background: #ff7a00;
}

.sy-mainvisual-stage.is-single .sy-mainvisual-arrow,
.sy-mainvisual-stage.is-single .sy-mainvisual-dots {
    display: none;
}

@media (max-width: 760px) {
    .sy-mainvisual {
        margin-bottom: 18px;
    }

    .sy-mainvisual-prev {
        left: 8px;
    }

    .sy-mainvisual-next {
        right: 8px;
    }

    .sy-mainvisual-dots {
        bottom: 8px;
    }
}


/* ===== V223 Option B: Platform Hero as First Slide =====
   方案B：把平台定位 Hero 做成主視覺輪播第一張。
   第二張開始讀後台 Banner。下方區塊不改。
*/

.sy-mainvisual-optionb {
    position: relative;
    width: 100%;
    margin: 0 auto 18px auto;
    overflow: hidden;
    background: #fffaf1;
}

.sy-mainvisual-optionb .sy-mainvisual-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fffaf1;
}

.sy-mainvisual-optionb .sy-mainvisual-slide {
    display: none;
    width: 100%;
}

.sy-mainvisual-optionb .sy-mainvisual-slide.is-active {
    display: block;
}

.sy-mainvisual-optionb .sy-mainvisual-slide a,
.sy-mainvisual-optionb .sy-mainvisual-slide picture,
.sy-mainvisual-optionb .sy-mainvisual-slide img {
    display: block;
    width: 100%;
}

.sy-mainvisual-optionb .sy-mainvisual-slide img {
    height: auto;
    max-width: 100%;
}

.sy-mainvisual-platform-slide {
    background: radial-gradient(circle at 76% 36%,#ffd488 0,#fff0cf 25%,#fffaf1 58%);
    min-height: 540px;
    overflow: hidden;
}

.sy-platform-slide-inner {
    width: min(100% - 40px, 1180px);
    min-height: 540px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 30px;
    align-items: center;
    position: relative;
}

.sy-platform-slide-copy {
    position: relative;
    z-index: 2;
}

.sy-platform-slide-copy h1 {
    margin: 0;
    color: var(--sy-blue-dark);
    font-size: clamp(42px,5vw,68px);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 900;
}

.sy-platform-slide-copy h1 span {
    color: var(--sy-orange);
}

.sy-platform-slide-art {
    height: 470px;
    position: relative;
}

.sy-platform-slide-art:before {
    content:"";
    position:absolute;
    right:0;
    bottom:22px;
    width:470px;
    height:310px;
    border-radius:42px;
    background:linear-gradient(145deg,#fff8e9,#ffd28a);
    box-shadow:var(--sy-shadow);
}

.sy-platform-slide-art .sy-book-card,
.sy-platform-slide-art .sy-headphone,
.sy-platform-slide-art .sy-player-card {
    display: flex;
}

.sy-mainvisual-optionb .sy-mainvisual-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #073763;
    font-size: 32px;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(0,0,0,.15);
    cursor: pointer;
}

.sy-mainvisual-optionb .sy-mainvisual-prev {
    left: 16px;
}

.sy-mainvisual-optionb .sy-mainvisual-next {
    right: 16px;
}

.sy-mainvisual-optionb .sy-mainvisual-arrow:hover {
    background: #fff;
    color: #ff7a00;
}

.sy-mainvisual-optionb .sy-mainvisual-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 9;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sy-mainvisual-optionb .sy-mainvisual-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.7);
    cursor: pointer;
}

.sy-mainvisual-optionb .sy-mainvisual-dots button.is-active {
    background: #ff7a00;
}

/* V223 後，原本獨立 sy-hero 已併入第一張輪播；避免殘留空白。 */
.sy-mainvisual-optionb + .sy-features {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner {
        min-height: 480px;
    }

    .sy-platform-slide-inner {
        grid-template-columns: 1fr;
        padding: 36px 0 52px;
    }

    .sy-platform-slide-art {
        display: none;
    }
}

@media (max-width: 760px) {
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner {
        min-height: 430px;
    }

    .sy-platform-slide-inner {
        width: min(100% - 28px, 1180px);
        padding: 34px 0 58px;
    }

    .sy-platform-slide-copy h1 {
        font-size: 40px;
    }

    .sy-platform-slide-copy .sy-hero-desc {
        font-size: 17px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-prev {
        left: 8px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-next {
        right: 8px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-arrow {
        width: 32px;
        height: 32px;
        font-size: 25px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-dots {
        bottom: 10px;
    }
}


/* ===== V224 Hero Scope Consistency Fix =====
   讓方案B的第一張平台主視覺與後台 Banner 輪播圖使用同一個主視覺範圍。
   重點：每一張 slide 高度一致，不因圖片原始比例不同而忽高忽低。
*/

.sy-mainvisual-optionb,
.sy-mainvisual-optionb .sy-mainvisual-stage,
.sy-mainvisual-optionb .sy-mainvisual-slide {
    width: 100%;
}

.sy-mainvisual-optionb {
    margin: 0 auto 18px auto;
}

.sy-mainvisual-optionb .sy-mainvisual-stage {
    height: 680px;
    min-height: 680px;
    max-height: 680px;
    position: relative;
    overflow: hidden;
}

.sy-mainvisual-optionb .sy-mainvisual-slide {
    height: 680px;
    min-height: 680px;
    max-height: 680px;
    overflow: hidden;
}

.sy-mainvisual-platform-slide {
    min-height: 680px !important;
}

.sy-platform-slide-inner {
    min-height: 680px !important;
}

/* 後台 Banner 圖片也跟第一張平台主視覺一樣佔滿同一個範圍 */
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) a,
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) picture,
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) img {
    width: 100%;
    height: 100%;
}

.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) img {
    object-fit: cover;
    object-position: center;
}

/* 第一張平台主視覺的內容不要貼到最上與最下 */
.sy-platform-slide-inner {
    padding-top: 34px;
    padding-bottom: 58px;
    box-sizing: border-box;
}

/* 圓點固定在同一個主視覺區底部 */
.sy-mainvisual-optionb .sy-mainvisual-dots {
    bottom: 22px;
}

@media (max-width: 1366px) {
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner {
        height: 620px;
        min-height: 620px !important;
        max-height: 620px;
    }
}

@media (max-width: 1100px) {
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner {
        height: 560px;
        min-height: 560px !important;
        max-height: 560px;
    }

    .sy-platform-slide-inner {
        padding-top: 36px;
        padding-bottom: 54px;
    }
}

@media (max-width: 760px) {
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner {
        height: 500px;
        min-height: 500px !important;
        max-height: 500px;
    }

    .sy-platform-slide-inner {
        padding-top: 34px;
        padding-bottom: 58px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) img {
        object-position: center;
    }

    .sy-mainvisual-optionb .sy-mainvisual-dots {
        bottom: 14px;
    }
}

@media (max-width: 480px) {
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner {
        height: 470px;
        min-height: 470px !important;
        max-height: 470px;
    }
}


/* ===== V225 Hero Box Scope Reduce =====
   依使用者回饋，將方案B主視覺從過大的全幅高度，改成接近紅框示意的範圍：
   - 主視覺區維持置中
   - 寬度收在容器內
   - 高度縮小
   - 第一張平台主視覺與後台 Banner 維持同一範圍
*/

.sy-mainvisual-optionb{
    width:min(100% - 64px, 1360px);
    margin:18px auto 18px auto;
    border-radius:0;
    overflow:visible;
    background:transparent;
}

.sy-mainvisual-optionb .sy-mainvisual-stage{
    height:560px;
    min-height:560px;
    max-height:560px;
    border-radius:0;
    overflow:hidden;
    background:#f4ead2;
    box-shadow:none;
}

.sy-mainvisual-optionb .sy-mainvisual-slide{
    height:560px;
    min-height:560px;
    max-height:560px;
}

.sy-mainvisual-platform-slide{
    min-height:560px !important;
}

.sy-platform-slide-inner{
    width:min(100% - 56px, 1240px);
    min-height:560px !important;
    padding-top:26px;
    padding-bottom:34px;
    gap:24px;
}

.sy-platform-slide-copy h1{
    font-size:clamp(34px, 4.35vw, 58px);
    line-height:1.08;
}

.sy-platform-slide-copy .sy-hero-desc{
    font-size:17px;
    line-height:1.8;
    max-width:92%;
}

.sy-mainvisual-optionb .sy-mainvisual-arrow{
    top:50%;
    width:48px;
    height:48px;
    background:rgba(255,255,255,.88);
}

.sy-mainvisual-optionb .sy-mainvisual-prev{
    left:-24px;
}

.sy-mainvisual-optionb .sy-mainvisual-next{
    right:-24px;
}

.sy-mainvisual-optionb .sy-mainvisual-dots{
    bottom:14px;
}

.sy-platform-slide-art{
    height:390px;
}

.sy-platform-slide-art:before{
    width:430px;
    height:250px;
    right:20px;
    bottom:10px;
    border-radius:34px;
}

.sy-book-card-1{top:16px;left:30px}
.sy-book-card-2{top:34px;right:120px}
.sy-book-card-3{top:54px;right:20px}
.sy-headphone{
    width:260px;
    height:210px;
    right:140px;
    bottom:30px;
}
.sy-player-card{
    width:460px;
    padding:38px 34px 28px;
    right:0;
    bottom:30px;
}
.sy-player-card span{
    font-size:22px;
}
.sy-player-meta{
    margin-top:24px;
}

@media (max-width:1366px){
    .sy-mainvisual-optionb{
        width:min(100% - 44px, 1280px);
    }
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:520px;
        min-height:520px !important;
        max-height:520px;
    }
    .sy-platform-slide-copy h1{
        font-size:clamp(32px, 4vw, 52px);
    }
    .sy-platform-slide-art{
        height:355px;
    }
    .sy-player-card{
        width:420px;
    }
}

@media (max-width:1100px){
    .sy-mainvisual-optionb{
        width:min(100% - 28px, 100%);
        margin-top:14px;
    }
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:470px;
        min-height:470px !important;
        max-height:470px;
    }
    .sy-platform-slide-inner{
        width:min(100% - 32px, 1180px);
        padding-top:26px;
        padding-bottom:40px;
    }
    .sy-platform-slide-copy h1{
        font-size:42px;
    }
    .sy-platform-slide-copy .sy-hero-desc{
        max-width:100%;
    }
    .sy-platform-slide-art{
        display:none;
    }
    .sy-mainvisual-optionb .sy-mainvisual-prev{
        left:8px;
    }
    .sy-mainvisual-optionb .sy-mainvisual-next{
        right:8px;
    }
}

@media (max-width:760px){
    .sy-mainvisual-optionb{
        width:min(100% - 20px, 100%);
        margin-top:12px;
    }
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:410px;
        min-height:410px !important;
        max-height:410px;
    }
    .sy-platform-slide-inner{
        width:min(100% - 28px, 100%);
        padding-top:24px;
        padding-bottom:46px;
    }
    .sy-platform-slide-copy h1{
        font-size:36px;
    }
    .sy-platform-slide-copy .sy-hero-desc{
        font-size:16px;
        line-height:1.7;
    }
    .sy-mainvisual-optionb .sy-mainvisual-arrow{
        width:36px;
        height:36px;
        font-size:26px;
    }
    .sy-mainvisual-optionb .sy-mainvisual-dots{
        bottom:10px;
    }
}

@media (max-width:480px){
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:380px;
        min-height:380px !important;
        max-height:380px;
    }
    .sy-platform-slide-copy h1{
        font-size:31px;
    }
}


/* ===== V226 Hero Content Responsive + Arrow Fix =====
   修正重點：
   1. 不是只縮外框，第一張平台主視覺內部文字、圖形、播放器也同步縮小。
   2. 後台 Banner 圖片改為 contain，完整呈現在同一框內，不裁切文字。
   3. 左右箭頭改放主視覺框內側，避免被視窗或外層 overflow 吃掉。
*/

/* 主視覺外框：維持紅框概念，但不要讓內容爆版 */
.sy-mainvisual-optionb{
    width:min(100% - 64px, 1360px);
    margin:16px auto 18px auto;
    overflow:hidden;
    background:#fffaf1;
}

/* 每張 slide 同一尺寸 */
.sy-mainvisual-optionb .sy-mainvisual-stage,
.sy-mainvisual-optionb .sy-mainvisual-slide{
    height:500px;
    min-height:500px !important;
    max-height:500px !important;
    overflow:hidden;
}

.sy-mainvisual-platform-slide,
.sy-platform-slide-inner{
    height:500px;
    min-height:500px !important;
    max-height:500px !important;
}

/* 第一張：內容區也一起縮 */
.sy-platform-slide-inner{
    width:min(100% - 64px, 1220px);
    display:grid;
    grid-template-columns:1.02fr .98fr;
    gap:22px;
    align-items:center;
    padding:22px 0 42px;
    box-sizing:border-box;
}

.sy-platform-slide-copy h1{
    font-size:clamp(36px, 3.55vw, 52px) !important;
    line-height:1.09 !important;
    letter-spacing:-.035em;
}

.sy-platform-slide-copy .sy-eyebrow{
    font-size:15px;
    margin-bottom:10px;
}

.sy-platform-slide-copy .sy-hero-desc{
    max-width:94%;
    font-size:17px !important;
    line-height:1.72;
    margin:18px 0 22px;
}

.sy-platform-slide-copy .sy-hero-actions{
    max-width:620px;
    gap:12px;
}

.sy-platform-slide-copy .sy-btn-large{
    font-size:17px;
    padding:12px 24px;
}

/* 第一張右側圖形：整組縮小，不再被外框吃掉 */
.sy-platform-slide-art{
    height:360px !important;
    transform:scale(.86);
    transform-origin:center center;
}

.sy-platform-slide-art:before{
    width:410px !important;
    height:250px !important;
    right:24px !important;
    bottom:14px !important;
    border-radius:34px !important;
}

.sy-platform-slide-art .sy-book-card{
    width:96px;
    height:136px;
    font-size:12.5px;
}

.sy-platform-slide-art .sy-book-card span{
    font-size:12px;
}

.sy-platform-slide-art .sy-book-card-1{
    left:34px !important;
    top:18px !important;
}

.sy-platform-slide-art .sy-book-card-2{
    left:180px !important;
    top:32px !important;
}

.sy-platform-slide-art .sy-book-card-3{
    right:8px !important;
    top:42px !important;
}

.sy-platform-slide-art .sy-headphone{
    width:150px !important;
    height:150px !important;
    right:130px !important;
    top:120px !important;
    border-width:20px !important;
}

.sy-platform-slide-art .sy-headphone:after{
    right:-52px;
    top:48px;
    width:64px;
    height:82px;
}

.sy-platform-slide-art .sy-player-card{
    width:410px !important;
    height:158px !important;
    left:128px !important;
    bottom:44px !important;
    padding:26px 34px !important;
    box-sizing:border-box;
}

.sy-platform-slide-art .sy-player-card>span{
    font-size:17px !important;
}

.sy-platform-slide-art .sy-wave{
    margin:14px 0 12px;
}

.sy-platform-slide-art .sy-player-meta{
    margin-top:8px;
}

.sy-platform-slide-art .sy-player-meta span{
    font-size:18px;
}

/* 後台 Banner：完整等比例縮放在同一框內，不裁切文字 */
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) a,
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) picture,
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) img{
    width:100%;
    height:100%;
}

.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) img{
    object-fit:contain !important;
    object-position:center center !important;
    background:#fffaf1;
}

/* 箭頭改放框內，避免被吃掉 */
.sy-mainvisual-optionb .sy-mainvisual-arrow{
    top:50%;
    z-index:30;
    width:42px;
    height:42px;
    border-radius:999px;
    background:rgba(255,255,255,.9);
    box-shadow:0 8px 22px rgba(0,0,0,.16);
}

.sy-mainvisual-optionb .sy-mainvisual-prev{
    left:14px !important;
}

.sy-mainvisual-optionb .sy-mainvisual-next{
    right:14px !important;
}

.sy-mainvisual-optionb .sy-mainvisual-dots{
    bottom:12px;
    z-index:31;
}

/* 中小螢幕同步縮內容，不只縮框 */
@media (max-width:1366px){
    .sy-mainvisual-optionb{
        width:min(100% - 44px, 1280px);
    }

    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:470px;
        min-height:470px !important;
        max-height:470px !important;
    }

    .sy-platform-slide-inner{
        width:min(100% - 54px, 1160px);
    }

    .sy-platform-slide-copy h1{
        font-size:clamp(34px, 3.35vw, 48px) !important;
    }

    .sy-platform-slide-art{
        transform:scale(.78);
    }
}

@media (max-width:1100px){
    .sy-mainvisual-optionb{
        width:min(100% - 28px, 100%);
    }

    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:430px;
        min-height:430px !important;
        max-height:430px !important;
    }

    .sy-platform-slide-inner{
        width:min(100% - 38px, 100%);
        grid-template-columns:1fr;
        padding:26px 0 48px;
    }

    .sy-platform-slide-art{
        display:none !important;
    }

    .sy-platform-slide-copy h1{
        font-size:40px !important;
    }

    .sy-platform-slide-copy .sy-hero-desc{
        max-width:100%;
        font-size:16.5px !important;
    }
}

@media (max-width:760px){
    .sy-mainvisual-optionb{
        width:min(100% - 20px, 100%);
        margin-top:12px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:390px;
        min-height:390px !important;
        max-height:390px !important;
    }

    .sy-platform-slide-inner{
        width:min(100% - 28px, 100%);
        padding:24px 0 48px;
    }

    .sy-platform-slide-copy h1{
        font-size:33px !important;
    }

    .sy-platform-slide-copy .sy-eyebrow{
        font-size:13.5px;
    }

    .sy-platform-slide-copy .sy-hero-desc{
        font-size:15.5px !important;
        line-height:1.62;
        margin:14px 0 18px;
    }

    .sy-platform-slide-copy .sy-hero-actions{
        gap:10px;
    }

    .sy-platform-slide-copy .sy-btn-large{
        width:100%;
        justify-content:center;
        font-size:15.5px;
        padding:11px 20px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-arrow{
        width:34px;
        height:34px;
        font-size:24px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-prev{
        left:8px !important;
    }

    .sy-mainvisual-optionb .sy-mainvisual-next{
        right:8px !important;
    }
}

@media (max-width:480px){
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:360px;
        min-height:360px !important;
        max-height:360px !important;
    }

    .sy-platform-slide-copy h1{
        font-size:28px !important;
    }

    .sy-platform-slide-copy .sy-hero-desc{
        font-size:14.5px !important;
    }
}


/* ===== V227 Hero Fill + Soft Edge Refinement =====
   修正重點：
   1. 主視覺圖片滿版填滿主視覺區。
   2. 邊角不要太銳利，改為柔和圓角。
   3. 主視覺底色與邊框感改柔和。
   4. 箭頭仍維持框內顯示。
*/

/* 主視覺外框：更柔和的背景與圓角 */
.sy-mainvisual-optionb{
    width:min(100% - 64px, 1360px);
    margin:16px auto 18px auto;
    padding:12px;
    border-radius:28px;
    overflow:visible;
    background:linear-gradient(180deg,#f7f1e5 0%, #efe6d5 100%);
    box-shadow:0 10px 26px rgba(7,55,99,.08);
    border:1px solid rgba(226, 207, 172, .55);
}

/* 主視覺內框：圖片填滿整區 */
.sy-mainvisual-optionb .sy-mainvisual-stage{
    height:460px;
    min-height:460px !important;
    max-height:460px !important;
    border-radius:22px;
    overflow:hidden;
    background:#f3ecdf;
    position:relative;
}

/* 每張 slide 與內部內容等高 */
.sy-mainvisual-optionb .sy-mainvisual-slide,
.sy-mainvisual-optionb .sy-mainvisual-slide a,
.sy-mainvisual-optionb .sy-mainvisual-slide picture,
.sy-mainvisual-optionb .sy-mainvisual-slide img{
    width:100%;
    height:100%;
}

.sy-mainvisual-optionb .sy-mainvisual-slide{
    height:460px;
    min-height:460px !important;
    max-height:460px !important;
}

/* 第一張平台主視覺也壓進同一高度範圍 */
.sy-mainvisual-platform-slide,
.sy-platform-slide-inner{
    height:460px;
    min-height:460px !important;
    max-height:460px !important;
}

.sy-platform-slide-inner{
    width:min(100% - 58px, 1200px);
    gap:18px;
    padding:20px 0 36px;
    box-sizing:border-box;
}

/* 第一張內容稍微縮小，跟外框更協調 */
.sy-platform-slide-copy h1{
    font-size:clamp(34px, 3.3vw, 48px) !important;
    line-height:1.08 !important;
}

.sy-platform-slide-copy .sy-eyebrow{
    font-size:14px;
    margin-bottom:8px;
}

.sy-platform-slide-copy .sy-hero-desc{
    font-size:16.5px !important;
    line-height:1.68;
    margin:14px 0 18px;
    max-width:92%;
}

.sy-platform-slide-copy .sy-btn-large{
    font-size:16px;
    padding:11px 22px;
    border-radius:999px;
}

/* 第一張右側圖形再柔和、縮一點 */
.sy-platform-slide-art{
    height:340px !important;
    transform:scale(.80);
    transform-origin:center center;
    filter:saturate(.98);
}

.sy-platform-slide-art:before{
    width:390px !important;
    height:232px !important;
    right:20px !important;
    bottom:16px !important;
    border-radius:30px !important;
    background:linear-gradient(145deg,#fff5e2,#f6deb0) !important;
    box-shadow:0 18px 36px rgba(121,85,23,.12);
}

.sy-platform-slide-art .sy-player-card{
    border-radius:24px !important;
}

/* 後台 Banner 圖片：改為 cover，滿整區 */
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) img{
    object-fit:cover !important;
    object-position:center center !important;
    background:#f3ecdf;
}

/* 箭頭放框內，避免被吃掉 */
.sy-mainvisual-optionb .sy-mainvisual-arrow{
    top:50%;
    z-index:30;
    width:44px;
    height:44px;
    background:rgba(255,255,255,.84);
    color:#073763;
    border-radius:999px;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
    backdrop-filter:blur(2px);
}

.sy-mainvisual-optionb .sy-mainvisual-prev{
    left:14px !important;
}

.sy-mainvisual-optionb .sy-mainvisual-next{
    right:14px !important;
}

.sy-mainvisual-optionb .sy-mainvisual-dots{
    bottom:12px;
}

/* 中尺寸 */
@media (max-width:1366px){
    .sy-mainvisual-optionb{
        width:min(100% - 44px, 1280px);
        padding:10px;
        border-radius:24px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:430px;
        min-height:430px !important;
        max-height:430px !important;
    }

    .sy-platform-slide-inner{
        width:min(100% - 46px, 1140px);
    }

    .sy-platform-slide-copy h1{
        font-size:clamp(31px, 3.1vw, 44px) !important;
    }

    .sy-platform-slide-art{
        transform:scale(.73);
    }
}

@media (max-width:1100px){
    .sy-mainvisual-optionb{
        width:min(100% - 28px, 100%);
        padding:8px;
        border-radius:20px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:400px;
        min-height:400px !important;
        max-height:400px !important;
    }

    .sy-platform-slide-inner{
        width:min(100% - 34px, 100%);
        grid-template-columns:1fr;
        padding:22px 0 42px;
    }

    .sy-platform-slide-art{
        display:none !important;
    }

    .sy-platform-slide-copy h1{
        font-size:38px !important;
    }

    .sy-platform-slide-copy .sy-hero-desc{
        max-width:100%;
        font-size:16px !important;
    }
}

@media (max-width:760px){
    .sy-mainvisual-optionb{
        width:min(100% - 18px, 100%);
        margin-top:12px;
        padding:6px;
        border-radius:18px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:340px;
        min-height:340px !important;
        max-height:340px !important;
    }

    .sy-platform-slide-inner{
        width:min(100% - 24px, 100%);
        padding:20px 0 40px;
    }

    .sy-platform-slide-copy h1{
        font-size:30px !important;
    }

    .sy-platform-slide-copy .sy-eyebrow{
        font-size:13px;
    }

    .sy-platform-slide-copy .sy-hero-desc{
        font-size:14.5px !important;
        line-height:1.58;
    }

    .sy-platform-slide-copy .sy-btn-large{
        width:100%;
        justify-content:center;
        font-size:15px;
        padding:10px 18px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-arrow{
        width:34px;
        height:34px;
        font-size:24px;
    }

    .sy-mainvisual-optionb .sy-mainvisual-prev{
        left:8px !important;
    }

    .sy-mainvisual-optionb .sy-mainvisual-next{
        right:8px !important;
    }
}

@media (max-width:480px){
    .sy-mainvisual-optionb .sy-mainvisual-stage,
    .sy-mainvisual-optionb .sy-mainvisual-slide,
    .sy-mainvisual-platform-slide,
    .sy-platform-slide-inner{
        height:310px;
        min-height:310px !important;
        max-height:310px !important;
    }

    .sy-platform-slide-copy h1{
        font-size:26px !important;
    }

    .sy-platform-slide-copy .sy-hero-desc{
        font-size:13.5px !important;
    }
}


/* ===== V228 Hero No Crop Fix =====
   修正 V227 滿版 cover 導致後台 Banner 左右被裁切的問題。
   目標：
   1. 主視覺框感保留
   2. 圖片完整顯示，不裁左右
   3. 底色與邊框仍維持柔和
*/

/* 主視覺外觀保留 V227 的柔和框感 */
.sy-mainvisual-optionb{
    background:linear-gradient(180deg,#f7f1e5 0%, #efe6d5 100%);
    border:1px solid rgba(226, 207, 172, .55);
    box-shadow:0 10px 26px rgba(7,55,99,.08);
}

.sy-mainvisual-optionb .sy-mainvisual-stage{
    background:linear-gradient(180deg,#f4ede1 0%, #efe6d5 100%);
}

/* 非第一張平台主視覺的 Banner：改回完整顯示，不裁左右 */
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) a,
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) picture{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    background:linear-gradient(180deg,#f4ede1 0%, #efe6d5 100%);
}

.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    object-position:center center !important;
    background:transparent !important;
}

/* 若圖片比例較扁，避免上下空白太硬，給一點內縮呼吸感 */
.sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) picture{
    padding: 0 8px;
    box-sizing: border-box;
}

/* 箭頭與圓點保留在框內 */
.sy-mainvisual-optionb .sy-mainvisual-arrow{
    background:rgba(255,255,255,.86);
    box-shadow:0 8px 22px rgba(0,0,0,.12);
}

.sy-mainvisual-optionb .sy-mainvisual-dots button{
    background:rgba(255,255,255,.72);
}
.sy-mainvisual-optionb .sy-mainvisual-dots button.is-active{
    background:#ff7a00;
}

@media (max-width: 760px){
    .sy-mainvisual-optionb .sy-mainvisual-slide:not(.sy-mainvisual-platform-slide) picture{
        padding: 0 4px;
    }
}


/* ===== V229 Hero Fade In / Fade Out =====
   將首頁主視覺輪播由直接切換改為淡入淡出。
   沿用 V228 的完整顯示、柔和邊框與箭頭位置。
*/

.sy-mainvisual-optionb .sy-mainvisual-stage{
    position:relative;
}

/* 覆寫原本 display:none/block 的切換方式 */
.sy-mainvisual-optionb .sy-mainvisual-slide{
    display:block !important;
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .75s ease-in-out, visibility .75s ease-in-out;
    z-index:1;
}

.sy-mainvisual-optionb .sy-mainvisual-slide.is-active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    z-index:2;
}

/* 減少使用者偏好動態時，取消淡入淡出 */
@media (prefers-reduced-motion: reduce){
    .sy-mainvisual-optionb .sy-mainvisual-slide{
        transition:none !important;
    }
}



/* =========================================================
   Front V26a：手機首頁順序修正版
   更新位置：前台 audios_new
   1. 保留主視覺
   2. 手機版主視覺下方接四大入口
   3. 統計數字區縮小並下移
   4. 首頁手機選單比照其他頁完整選單
   注意：本版不把四大入口改成 2x2 小卡，恢復前一版四大入口完整卡片感。
   ========================================================= */

.sy-home-mobile-only{
  display:none;
}

@media (max-width:760px){
  /* 首頁手機選單：補齊內容，但不影響桌機版 */
  .sy-header{
    z-index:999;
  }
  .sy-header-inner{
    min-height:62px;
    padding:8px 0;
  }
  .sy-logo{
    font-size:19px;
  }
  .sy-logo-mark{
    width:34px;
    height:34px;
    border-radius:11px;
  }
  .sy-home-mobile-only{
    display:flex;
  }
  .sy-nav.sy-home-nav-v26a{
    position:absolute;
    top:62px;
    left:12px;
    right:12px;
    width:auto;
    max-height:calc(100vh - 82px);
    overflow:auto;
    z-index:1000;
    gap:0;
    padding:12px;
    border-radius:22px;
    border:1px solid rgba(239,126,0,.18);
    background:linear-gradient(180deg,#fff 0%,#fff8ee 100%);
    box-shadow:0 18px 50px rgba(7,55,99,.18);
  }
  .sy-nav.sy-home-nav-v26a a{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:44px;
    padding:10px 12px;
    border-radius:14px;
    border-bottom:1px solid rgba(20,35,58,.08);
    color:#073763;
    font-size:15px;
    font-weight:900;
    white-space:normal;
  }
  .sy-nav.sy-home-nav-v26a a:last-child{
    border-bottom:0;
  }
  .sy-nav.sy-home-nav-v26a a:after{
    content:"›";
    color:#ff8200;
    font-size:20px;
    line-height:1;
  }
  .sy-nav.sy-home-nav-v26a .sy-mobile-login{
    margin-top:8px;
    background:#073763;
    color:#fff;
  }
  .sy-nav.sy-home-nav-v26a .sy-mobile-login:after{
    color:#fff;
  }
  .sy-nav.sy-home-nav-v26a .sy-mobile-trial{
    background:#ff8200;
    color:#fff;
  }
  .sy-nav.sy-home-nav-v26a .sy-mobile-trial:after{
    color:#fff;
  }

  /* 手機首頁順序：保留主視覺，接四大入口；統計區下移 */
  main#mainContent{
    display:flex;
    flex-direction:column;
  }
  .sy-mainvisual{
    order:1;
    margin-bottom:10px !important;
  }
  .sy-category-section[aria-labelledby="syScenarioTitle"]{
    order:2;
  }
  #section-featured{
    order:3;
  }
  .sy-features{
    order:4;
  }
  .sy-stats{
    order:5;
  }
  .sy-service-section{
    order:6;
  }
  .sy-publisher-strip{
    order:7;
  }

  /* 四大入口：恢復完整卡片感，只縮小間距，不改成 2x2 小卡 */
  .sy-category-section[aria-labelledby="syScenarioTitle"]{
    padding:12px 0 10px !important;
    background:linear-gradient(180deg,#fffaf1 0%,#fff 100%);
  }
  .sy-scenario-head{
    margin-bottom:12px !important;
  }
  .sy-scenario-head h2{
    font-size:24px !important;
    line-height:1.25;
    margin-bottom:4px !important;
  }
  .sy-scenario-head p{
    font-size:14px !important;
    line-height:1.5 !important;
  }
  .sy-scenario-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .sy-scenario-card{
    padding:12px 12px 14px !important;
    border-radius:20px !important;
    box-shadow:0 10px 24px rgba(7,55,99,.08) !important;
  }
  .sy-scenario-card .sy-cat-image{
    height:128px !important;
    margin-bottom:10px !important;
    border-radius:16px !important;
  }
  .sy-scenario-card h2{
    font-size:20px !important;
    line-height:1.28 !important;
    margin-bottom:5px !important;
  }
  .sy-scenario-card p{
    min-height:0 !important;
    font-size:13.5px !important;
    line-height:1.45 !important;
    margin-bottom:9px !important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .sy-scenario-card a{
    padding:6px 14px !important;
    font-size:13px !important;
  }

  /* 統計數字區：下移後縮小，不再佔掉手機首屏 */
  .sy-stats{
    padding:8px 0 10px !important;
  }
  .sy-stats-inner{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    border-radius:16px !important;
    box-shadow:0 8px 18px rgba(255,133,0,.18) !important;
  }
  .sy-stats-inner div{
    padding:9px 3px !important;
    border-bottom:0 !important;
    border-right:1px solid rgba(255,255,255,.28) !important;
  }
  .sy-stats-inner div:last-child{
    border-right:0 !important;
  }
  .sy-stats strong{
    font-size:18px !important;
    line-height:1.05 !important;
  }
  .sy-stats span{
    font-size:10.5px !important;
    line-height:1.2 !important;
    margin-top:2px !important;
    white-space:nowrap;
  }
}

@media (max-width:380px){
  .sy-scenario-card .sy-cat-image{
    height:112px !important;
  }
  .sy-scenario-card h2{
    font-size:18px !important;
  }
  .sy-stats strong{
    font-size:16px !important;
  }
  .sy-stats span{
    font-size:10px !important;
  }
}


/* =========================================================
   Front V26b：首頁手機選單強制白底面板修正版
   更新位置：前台 audios_new
   修正：首頁手機選單透明疊在內容上、項目跑到主畫面。
   ========================================================= */

@media (max-width:760px){
  body.sy-home-body.sy-menu-open{
    overflow:hidden !important;
  }

  body.sy-home-body.sy-menu-open:before{
    content:"" !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    bottom:0 !important;
    z-index:998 !important;
    background:rgba(7,55,99,.22) !important;
    backdrop-filter:blur(2px) !important;
  }

  .sy-header{
    position:sticky !important;
    top:0 !important;
    z-index:1001 !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(7,55,99,.12) !important;
  }

  .sy-header-inner{
    position:relative !important;
    min-height:64px !important;
  }

  .sy-menu-toggle{
    position:relative !important;
    z-index:1003 !important;
    display:block !important;
    margin-left:auto !important;
    background:#fff !important;
    border:1px solid rgba(139,92,60,.22) !important;
    border-radius:16px !important;
    width:52px !important;
    height:52px !important;
    padding:10px !important;
    box-shadow:0 8px 18px rgba(7,55,99,.08) !important;
  }

  .sy-menu-toggle span{
    background:#073763 !important;
    height:3px !important;
    margin:6px 0 !important;
  }

  /* 關鍵：未開啟時強制隱藏，避免透明選單殘留 */
  .sy-nav.sy-home-nav-v26a,
  .sy-nav.sy-home-nav-v26b,
  #syHomeMobileNav{
    display:none !important;
  }

  /* 關鍵：開啟時固定白底面板，不再透明疊字 */
  body.sy-menu-open .sy-nav.sy-home-nav-v26a,
  body.sy-menu-open .sy-nav.sy-home-nav-v26b,
  body.sy-menu-open #syHomeMobileNav{
    display:flex !important;
    position:fixed !important;
    top:76px !important;
    left:16px !important;
    right:16px !important;
    width:auto !important;
    max-height:calc(100vh - 100px) !important;
    overflow-y:auto !important;
    z-index:1002 !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:8px !important;
    padding:16px !important;
    border-radius:24px !important;
    border:1px solid rgba(239,126,0,.28) !important;
    background:#fffaf1 !important;
    background-image:linear-gradient(180deg,#ffffff 0%,#fff7ea 100%) !important;
    box-shadow:0 22px 60px rgba(7,55,99,.30) !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    backdrop-filter:none !important;
  }

  body.sy-menu-open #syHomeMobileNav a{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    min-height:48px !important;
    padding:12px 16px !important;
    margin:0 !important;
    border:1px solid rgba(239,126,0,.18) !important;
    border-radius:16px !important;
    background:#fff !important;
    color:#073763 !important;
    font-size:18px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    text-align:left !important;
    white-space:normal !important;
    box-shadow:0 6px 14px rgba(7,55,99,.05) !important;
    opacity:1 !important;
  }

  body.sy-menu-open #syHomeMobileNav a:after{
    content:"›" !important;
    color:#ff8200 !important;
    font-size:22px !important;
    font-weight:900 !important;
    margin-left:12px !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-login{
    background:#073763 !important;
    color:#fff !important;
    border-color:#073763 !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-login:after{
    color:#fff !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-trial{
    background:#ff8200 !important;
    color:#fff !important;
    border-color:#ff8200 !important;
    font-size:20px !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-trial:after{
    color:#fff !important;
  }

  /* 避免主內容跑到選單上層 */
  main#mainContent{
    position:relative !important;
    z-index:1 !important;
  }
}


/* =========================================================
   Front V26c：首頁手機內容排序修正版
   更新位置：前台 audios_new
   修正：最新內容、熱門內容在手機版不應跑到推薦內容上方。
   ========================================================= */

@media (max-width:760px){
  main#mainContent{
    display:flex !important;
    flex-direction:column !important;
  }

  /* 手機版正確順序 */
  .sy-mainvisual{
    order:1 !important;
  }

  .sy-category-section[aria-labelledby="syScenarioTitle"]{
    order:2 !important;
  }

  #section-featured{
    order:3 !important;
  }

  #section-new{
    order:4 !important;
  }

  /* 首頁第三個內容區為熱門內容，原始 HTML 沒有 id，因此用同層選擇器指定 */
  #section-new + .sy-content-section{
    order:5 !important;
  }

  .sy-features{
    order:6 !important;
  }

  .sy-stats{
    order:7 !important;
  }

  .sy-service-section{
    order:8 !important;
  }

  #section-publisher{
    order:9 !important;
  }

  .sy-hidden-bound-repeaters{
    order:99 !important;
  }
}


/* =========================================================
   Front V26d：首頁手機選單改為 01 樣式（含問候語／書房入口）
   更新位置：前台 audios_new
   說明：
   1. 首頁手機選單改為頁內白色卡片展開樣式，不再使用浮動遮罩面板。
   2. 新增問候語判斷：已登入顯示名稱＋您好；未登入顯示尚未登入。
   3. 新增「已購書單 / 登入(進入)我的書房 / 申請試用」入口。
   ========================================================= */

@media (max-width:760px){
  body.sy-home-body.sy-menu-open{
    overflow:auto !important;
  }

  body.sy-home-body.sy-menu-open:before{
    content:none !important;
    display:none !important;
  }

  .sy-header{
    position:sticky !important;
    top:0 !important;
    z-index:1001 !important;
    background:#fffdf9 !important;
    box-shadow:0 8px 24px rgba(7,55,99,.10) !important;
  }

  .sy-header-inner{
    position:relative !important;
    min-height:64px !important;
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    row-gap:0 !important;
    padding-top:10px !important;
    padding-bottom:14px !important;
  }

  .sy-menu-toggle{
    position:relative !important;
    z-index:1003 !important;
    display:block !important;
    margin-left:auto !important;
    background:#fff !important;
    border:1px dashed rgba(139,92,60,.55) !important;
    border-radius:18px !important;
    width:58px !important;
    height:58px !important;
    padding:10px !important;
    box-shadow:none !important;
  }

  .sy-menu-toggle span{
    background:#073763 !important;
    height:4px !important;
    margin:6px 0 !important;
    border-radius:999px !important;
  }

  .sy-nav.sy-home-nav-v26a,
  .sy-nav.sy-home-nav-v26b,
  #syHomeMobileNav{
    display:none !important;
    width:100% !important;
    order:20 !important;
    margin-top:14px !important;
  }

  body.sy-menu-open .sy-nav.sy-home-nav-v26a,
  body.sy-menu-open .sy-nav.sy-home-nav-v26b,
  body.sy-menu-open #syHomeMobileNav{
    display:block !important;
    position:static !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    max-height:none !important;
    overflow:visible !important;
    z-index:auto !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    backdrop-filter:none !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-mobile-greeting{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    min-height:54px !important;
    padding:14px 18px !important;
    margin:0 0 12px !important;
    border:1px solid rgba(239,126,0,.18) !important;
    border-radius:22px !important;
    background:#fff !important;
    color:#073763 !important;
    font-size:18px !important;
    font-weight:900 !important;
    line-height:1.35 !important;
    box-shadow:0 4px 12px rgba(7,55,99,.04) !important;
  }

  body.sy-menu-open #syHomeMobileNav a{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    min-height:58px !important;
    padding:14px 18px !important;
    margin:0 0 12px !important;
    border:1px solid rgba(239,126,0,.18) !important;
    border-radius:22px !important;
    background:#fff !important;
    color:#073763 !important;
    font-size:18px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    text-align:left !important;
    white-space:normal !important;
    box-shadow:0 4px 12px rgba(7,55,99,.04) !important;
    opacity:1 !important;
  }

  body.sy-menu-open #syHomeMobileNav a:after{
    content:"›" !important;
    color:#ff8200 !important;
    font-size:24px !important;
    font-weight:900 !important;
    margin-left:12px !important;
    flex:0 0 auto !important;
  }

  /* 01.jpg 風格：書房入口維持白卡，不做藍底強調 */
  body.sy-menu-open #syHomeMobileNav a.sy-mobile-login{
    background:#fff !important;
    color:#073763 !important;
    border-color:rgba(239,126,0,.18) !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-login:after{
    color:#ff8200 !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-trial{
    background:#ef8f2f !important;
    color:#fff !important;
    border-color:#ef8f2f !important;
    font-size:20px !important;
    box-shadow:0 10px 24px rgba(239,143,47,.22) !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-trial:after{
    color:#fff !important;
  }

  main#mainContent{
    position:relative !important;
    z-index:1 !important;
  }
}


/* =========================================================
   Front V26e：手機選單授權判斷與精簡版
   更新位置：前台 audios_new
   修正：
   1. 授權使用者不顯示申請試用。
   2. 未授權顯示「訪客您好」。
   3. 已授權依 ShowName / Client 稱呼問好。
   4. 選單高度縮短，減少卡卡感。
   ========================================================= */

@media (max-width:760px){
  /* V26e：選單不做整頁遮罩，改成頁內展開；覆蓋 V26b 浮層設定 */
  body.sy-home-body.sy-menu-open{
    overflow:auto !important;
  }

  body.sy-home-body.sy-menu-open:before{
    content:none !important;
    display:none !important;
  }

  .sy-header{
    position:sticky !important;
    top:0 !important;
    z-index:1001 !important;
    background:#fffdf9 !important;
    box-shadow:0 8px 24px rgba(7,55,99,.10) !important;
  }

  .sy-header-inner{
    position:relative !important;
    min-height:62px !important;
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    padding-top:9px !important;
    padding-bottom:10px !important;
  }

  .sy-menu-toggle{
    position:relative !important;
    z-index:1003 !important;
    display:block !important;
    margin-left:auto !important;
    background:#fff !important;
    border:1px dashed rgba(139,92,60,.55) !important;
    border-radius:18px !important;
    width:56px !important;
    height:56px !important;
    padding:10px !important;
    box-shadow:none !important;
  }

  .sy-menu-toggle span{
    background:#073763 !important;
    height:4px !important;
    margin:6px 0 !important;
    border-radius:999px !important;
  }

  .sy-nav.sy-home-nav-v26a,
  .sy-nav.sy-home-nav-v26b,
  .sy-nav.sy-home-nav-v26e,
  #syHomeMobileNav{
    display:none !important;
    width:100% !important;
    order:20 !important;
    margin-top:12px !important;
  }

  body.sy-menu-open .sy-nav.sy-home-nav-v26a,
  body.sy-menu-open .sy-nav.sy-home-nav-v26b,
  body.sy-menu-open .sy-nav.sy-home-nav-v26e,
  body.sy-menu-open #syHomeMobileNav{
    display:block !important;
    position:static !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    max-height:none !important;
    overflow:visible !important;
    z-index:auto !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    backdrop-filter:none !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-mobile-greeting{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    min-height:46px !important;
    padding:11px 16px !important;
    margin:0 0 9px !important;
    border:1px solid rgba(239,126,0,.18) !important;
    border-radius:18px !important;
    background:#fff !important;
    color:#073763 !important;
    font-size:17px !important;
    font-weight:900 !important;
    line-height:1.3 !important;
    box-shadow:0 3px 10px rgba(7,55,99,.035) !important;
  }

  body.sy-menu-open #syHomeMobileNav a{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    min-height:48px !important;
    padding:10px 16px !important;
    margin:0 0 8px !important;
    border:1px solid rgba(239,126,0,.16) !important;
    border-radius:18px !important;
    background:#fff !important;
    color:#073763 !important;
    font-size:17px !important;
    font-weight:900 !important;
    line-height:1.2 !important;
    text-align:left !important;
    white-space:normal !important;
    box-shadow:0 3px 10px rgba(7,55,99,.035) !important;
    opacity:1 !important;
  }

  body.sy-menu-open #syHomeMobileNav a:after{
    content:"›" !important;
    color:#ff8200 !important;
    font-size:22px !important;
    font-weight:900 !important;
    margin-left:12px !important;
    flex:0 0 auto !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-login{
    background:#073763 !important;
    color:#fff !important;
    border-color:#073763 !important;
    margin-top:4px !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-login:after{
    color:#fff !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-trial{
    background:#ef8f2f !important;
    color:#fff !important;
    border-color:#ef8f2f !important;
    font-size:18px !important;
    box-shadow:0 8px 20px rgba(239,143,47,.20) !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-trial:after{
    color:#fff !important;
  }

  main#mainContent{
    position:relative !important;
    z-index:1 !important;
  }
}

@media (max-width:380px){
  body.sy-menu-open #syHomeMobileNav .sy-mobile-greeting{
    font-size:16px !important;
    min-height:42px !important;
    padding:9px 14px !important;
  }
  body.sy-menu-open #syHomeMobileNav a{
    font-size:16px !important;
    min-height:44px !important;
    padding:9px 14px !important;
    margin-bottom:7px !important;
    border-radius:16px !important;
  }
}


/* =========================================================
   Front V26f：書房登入判斷與登入／註冊提示版
   更新位置：前台 audios_new
   重點：
   1. IP授權不等於已登入書房。
   2. 帳號登入者才直接進入我的書房。
   3. 未登入書房者提示「您尚未登入書房」，並提供登入／註冊。
   4. 已授權者不顯示申請試用。
   ========================================================= */

@media (max-width:760px){
  body.sy-menu-open #syHomeMobileNav .sy-studyroom-login-note{
    display:block !important;
    width:100% !important;
    padding:12px 15px !important;
    margin:4px 0 8px !important;
    border:1px solid rgba(255,130,0,.22) !important;
    border-radius:18px !important;
    background:linear-gradient(180deg,#fffaf1 0%,#fff3df 100%) !important;
    color:#073763 !important;
    box-shadow:0 3px 10px rgba(7,55,99,.035) !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-studyroom-login-note strong{
    display:block !important;
    font-size:16px !important;
    line-height:1.35 !important;
    font-weight:900 !important;
    margin-bottom:3px !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-studyroom-login-note span{
    display:block !important;
    font-size:13px !important;
    line-height:1.45 !important;
    color:#5d6775 !important;
    font-weight:700 !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-studyroom-login-note em{
    display:block !important;
    margin-top:4px !important;
    font-size:12px !important;
    line-height:1.45 !important;
    color:#b45a00 !important;
    font-style:normal !important;
    font-weight:800 !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-register{
    background:#fff !important;
    color:#073763 !important;
    border-color:rgba(239,126,0,.18) !important;
  }

  body.sy-menu-open #syHomeMobileNav a.sy-mobile-register:after{
    color:#ff8200 !important;
  }

  /* V26f：再稍微壓縮選單，避免太長 */
  body.sy-menu-open #syHomeMobileNav a{
    min-height:46px !important;
    padding-top:9px !important;
    padding-bottom:9px !important;
    margin-bottom:7px !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-mobile-greeting{
    min-height:44px !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
    margin-bottom:8px !important;
  }
}


/* =========================================================
   Front V26g：IP 授權機構問候語＋書房登入判斷修正版
   更新位置：前台 audios_new
   修正：
   1. IP授權範圍內不顯示「訪客您好」，改顯示機構名稱。
   2. IP授權仍不等於已登入書房，仍需登入／註冊。
   3. 已授權者不顯示申請試用。
   ========================================================= */

@media (max-width:760px){
  body.sy-menu-open #syHomeMobileNav .sy-studyroom-login-note em{
    color:#9a4b00 !important;
    background:rgba(255,130,0,.08) !important;
    border-radius:10px !important;
    padding:5px 7px !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-mobile-greeting{
    background:#fff !important;
    border-color:rgba(239,126,0,.20) !important;
  }
}


/* =========================================================
   Front V26h：桌機選單恢復＋手機選單隔離修正版
   更新位置：前台 audios_new
   修正：
   1. 桌機版選單恢復為原本簡潔選單，不顯示手機用問候語／書房提示。
   2. 手機版才顯示問候語、書房登入／註冊提示。
   3. IP 授權機構名稱不再直接顯示 ClientID。
   ========================================================= */

/* 桌機版：強制恢復原本主選單排列，隱藏手機專用項目 */
@media (min-width:761px){
  .sy-home-mobile-only{
    display:none !important;
  }

  .sy-desktop-only{
    display:inline-flex !important;
  }

  .sy-nav.sy-home-nav-v26h{
    display:flex !important;
    position:static !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:26px !important;
    width:auto !important;
    max-height:none !important;
    overflow:visible !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
  }

  .sy-nav.sy-home-nav-v26h a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#073763 !important;
    font-size:16px !important;
    font-weight:900 !important;
    line-height:1.4 !important;
    white-space:nowrap !important;
  }

  .sy-nav.sy-home-nav-v26h a:after{
    content:none !important;
  }
}

/* 手機版：桌機專用 FAQ / 聯絡我們隱藏，手機完整選單保留 */
@media (max-width:760px){
  .sy-desktop-only{
    display:none !important;
  }

  .sy-home-mobile-only{
    display:flex !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-study-greeting{
    margin-top:4px !important;
    background:#f8fbff !important;
    border-color:rgba(7,55,99,.12) !important;
  }
}


/* =========================================================
   Front V26j：桌機選單只保留主選單＋手機書房權限判斷隔離版
   更新位置：前台 audios_new
   修正：
   1. 桌機版只保留藍框主選單。
   2. 手機專用首頁、網站導覽、操作說明、登入／註冊書房不得出現在桌機版。
   3. 手機版保留 IP 授權／書房登入判斷。
   ========================================================= */

/* 桌機版：只保留原主選單 */
@media (min-width:761px){
  .sy-header-actions{
    display:none !important;
  }

  .sy-nav.sy-home-nav-v26j{
    display:flex !important;
    position:static !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:26px !important;
    width:auto !important;
    max-width:none !important;
    max-height:none !important;
    overflow:visible !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
  }

  .sy-nav.sy-home-nav-v26j a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#073763 !important;
    font-size:16px !important;
    font-weight:900 !important;
    line-height:1.4 !important;
    white-space:nowrap !important;
  }

  .sy-nav.sy-home-nav-v26j a:after{
    content:none !important;
  }

  /* 關鍵：手機專用項目在桌機一定隱藏。避免被 .sy-nav a display:inline-flex 覆蓋。 */
  .sy-nav.sy-home-nav-v26j .sy-home-mobile-only,
  .sy-nav.sy-home-nav-v26j a.sy-home-mobile-only,
  .sy-nav.sy-home-nav-v26j div.sy-home-mobile-only,
  .sy-nav.sy-home-nav-v26j .sy-mobile-greeting,
  .sy-nav.sy-home-nav-v26j .sy-studyroom-login-note,
  .sy-nav.sy-home-nav-v26j .sy-study-greeting{
    display:none !important;
  }

  .sy-nav.sy-home-nav-v26j .sy-desktop-only,
  .sy-nav.sy-home-nav-v26j a.sy-desktop-only{
    display:inline-flex !important;
  }
}

/* 手機版：保留完整登入／書房權限邏輯 */
@media (max-width:760px){
  .sy-desktop-only{
    display:none !important;
  }

  .sy-home-mobile-only{
    display:flex !important;
  }

  .sy-header-actions{
    display:none !important;
  }

  body.sy-menu-open #syHomeMobileNav .sy-mobile-greeting,
  body.sy-menu-open #syHomeMobileNav .sy-studyroom-login-note{
    display:block !important;
  }
}


/* =========================================================
   Front V26k：桌機版主選單置中＋右側問候語區
   更新位置：前台 audios_new
   目標：
   1. 橘框視為頁首左右可用寬度。
   2. 左側固定 Logo。
   3. 中間主選單置中。
   4. 右側放問候語／書房狀態。
   5. 手機版仍保留原本漢堡選單與書房權限判斷。
   ========================================================= */

@media (min-width:761px){
  .sy-header{
    background:rgba(255,255,255,.96) !important;
    backdrop-filter:blur(12px) !important;
  }

  .sy-header .sy-header-inner{
    height:72px !important;
    min-height:72px !important;
    display:grid !important;
    grid-template-columns:minmax(260px,1fr) auto minmax(260px,1fr) !important;
    align-items:center !important;
    column-gap:20px !important;
    padding:0 !important;
  }

  .sy-header .sy-logo{
    justify-self:start !important;
    min-width:0 !important;
    max-width:330px !important;
    font-size:24px !important;
    white-space:nowrap !important;
  }

  .sy-header .sy-logo-text{
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .sy-header .sy-menu-toggle{
    display:none !important;
  }

  /* 中間主選單：只保留主要項目，置中 */
  .sy-nav.sy-home-nav-v26k{
    justify-self:center !important;
    display:flex !important;
    position:static !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:24px !important;
    width:auto !important;
    max-width:none !important;
    max-height:none !important;
    overflow:visible !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
  }

  .sy-nav.sy-home-nav-v26k a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#073763 !important;
    font-size:16px !important;
    font-weight:900 !important;
    line-height:1.4 !important;
    white-space:nowrap !important;
  }

  .sy-nav.sy-home-nav-v26k a:after{
    content:none !important;
  }

  .sy-nav.sy-home-nav-v26k .sy-home-mobile-only,
  .sy-nav.sy-home-nav-v26k a.sy-home-mobile-only,
  .sy-nav.sy-home-nav-v26k div.sy-home-mobile-only,
  .sy-nav.sy-home-nav-v26k .sy-mobile-greeting,
  .sy-nav.sy-home-nav-v26k .sy-studyroom-login-note,
  .sy-nav.sy-home-nav-v26k .sy-study-greeting{
    display:none !important;
  }

  .sy-nav.sy-home-nav-v26k .sy-desktop-only,
  .sy-nav.sy-home-nav-v26k a.sy-desktop-only{
    display:inline-flex !important;
  }

  /* 右側問候語／書房狀態 */
  .sy-header .sy-header-actions.sy-desktop-auth-zone{
    justify-self:end !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    min-width:250px !important;
    max-width:360px !important;
    padding:0 !important;
    margin:0 !important;
    gap:0 !important;
  }

  .sy-desktop-auth-text{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-end !important;
    justify-content:center !important;
    gap:2px !important;
    color:#073763 !important;
    line-height:1.25 !important;
    text-align:right !important;
    white-space:nowrap !important;
    max-width:100% !important;
  }

  .sy-desktop-auth-text strong{
    display:block !important;
    max-width:340px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:15px !important;
    font-weight:900 !important;
    color:#073763 !important;
  }

  .sy-desktop-auth-text span{
    display:block !important;
    font-size:12px !important;
    font-weight:800 !important;
    color:#6b7280 !important;
  }

  .sy-desktop-auth-text a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin-left:8px !important;
    color:#ff8200 !important;
    font-size:12px !important;
    font-weight:900 !important;
    text-decoration:none !important;
  }

  .sy-desktop-auth-text a:first-child{
    margin-left:0 !important;
  }

  .sy-desktop-auth-links{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
  }

  .sy-desktop-auth-links a{
    margin-left:0 !important;
  }
}

/* 中尺寸桌機：避免主選單擠到右側問候語 */
@media (min-width:761px) and (max-width:1280px){
  .sy-header .sy-header-inner{
    grid-template-columns:minmax(230px,.9fr) auto minmax(220px,.9fr) !important;
    column-gap:14px !important;
  }

  .sy-nav.sy-home-nav-v26k{
    gap:16px !important;
  }

  .sy-nav.sy-home-nav-v26k a{
    font-size:15px !important;
  }

  .sy-header .sy-logo{
    font-size:21px !important;
  }

  .sy-desktop-auth-text strong{
    max-width:240px !important;
    font-size:14px !important;
  }
}

/* 手機版：右側桌機問候語區隱藏，保留漢堡選單 */
@media (max-width:760px){
  .sy-header .sy-header-actions.sy-desktop-auth-zone{
    display:none !important;
  }

  .sy-nav.sy-home-nav-v26k .sy-desktop-only{
    display:none !important;
  }
}


/* =========================================================
   Front V26l：移除手機選單多餘項目
   更新位置：前台 audios_new
   修正：手機選單移除重複的「首頁／網站導覽／操作說明」。
   ========================================================= */
@media (max-width:760px){
  body.sy-menu-open #syHomeMobileNav a[href="index.aspx"].sy-home-mobile-only,
  body.sy-menu-open #syHomeMobileNav a[href="sitemap.aspx"].sy-home-mobile-only,
  body.sy-menu-open #syHomeMobileNav a[href="Instruction.html"].sy-home-mobile-only{
    display:none !important;
  }
}
