/* 概念 B：動態編排 Kinetic Editorial
   米白紙張＋細格線，襯線大標由遮罩中滑出，超大斜體編號、跑馬燈色帶；手機平放微旋、硬陰影；轉場用橘綠黑三色斜向色塊 */
[data-theme="editorial"] {
    /* 風格提案用：維持原本的網路字型（教學頁只有在網址指定這個風格時才載入 Google Fonts） */
    --gs-font-body: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
    --gs-bg: #f2ece1; --gs-ink: #141414; --gs-ink-2: rgba(20, 20, 20, .64); --gs-accent: #e2572b; --gs-accent-2: #2f5d4c; --gs-hi: #f4c430;
    --gs-panel: rgba(255, 255, 255, .6); --gs-line: rgba(20, 20, 20, .16);
    --gs-cap-bg: #141414; --gs-cap-ink: #f2ece1; --gs-cap-dim: rgba(242, 236, 225, .38);
    --gs-frame: #141414; --gs-frame-edge: #141414; --gs-font-display: "Noto Serif TC", "Songti TC", serif; --gs-font-latin: "Instrument Serif", "Noto Serif TC", serif;
}
[data-theme="editorial"] .gs-bg { background: var(--gs-bg); }
[data-theme="editorial"] .gs-bg-decor { background-image: linear-gradient(rgba(20, 20, 20, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 20, .06) 1px, transparent 1px); background-size: 120px 120px; background-position: -1px -1px; }
[data-theme="editorial"] .gs-bg-decor::after { content: ''; position: absolute; left: 120px; right: 120px; top: 132px; height: 2px; background: #141414; }
[data-theme="editorial"] .gs-brand { font-family: var(--gs-font-display); }
[data-theme="editorial"] .gs-brand .mark { filter: none; }
[data-theme="editorial"] .gs-brand em { border-color: #141414; color: #141414; font-family: "Noto Sans TC", sans-serif; }
/* 文字：大標由遮罩中滑出 */
[data-theme="editorial"] .kl { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
[data-theme="editorial"] .gs-scene.on .kc { animation-name: edChar; animation-duration: .9s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); animation-delay: calc(var(--ed, 0s) + .2s + var(--l, 0) * .12s + var(--i) * .02s); }
@keyframes edChar { from { opacity: 1; transform: translateY(105%); } to { opacity: 1; transform: none; } }
[data-theme="editorial"] .gs-title { font-weight: 900; letter-spacing: -.01em; line-height: 1.12; }
[data-theme="editorial"] .gs-big { font-size: 170px; line-height: 1.02; letter-spacing: -.02em; }
[data-theme="editorial"] .gs-kicker { font-family: "Noto Sans TC", sans-serif; letter-spacing: .32em; color: var(--gs-accent); }
[data-theme="editorial"] .gs-kicker::before { width: 70px; height: 3px; border-radius: 0; background: #141414; }
[data-theme="editorial"] .gs-unit b { border-radius: 0; background: #141414; font-family: "Outfit", sans-serif; }
[data-theme="editorial"] .gs-unit { color: #141414; }
[data-theme="editorial"] .gs-dots i { border-radius: 0; background: rgba(20, 20, 20, .2); }
[data-theme="editorial"] .gs-dots i.past { background: #141414; }
[data-theme="editorial"] .gs-dots i.now { background: var(--gs-accent); border-radius: 0; }
[data-theme="editorial"] .gs-path li span { border-radius: 0; border: 2px solid #141414; background: transparent; color: #141414; }
[data-theme="editorial"] .gs-path li + li::before { background: #141414; height: 2px; }
[data-theme="editorial"] .gs-path li.on span { background: #141414; color: #f2ece1; border-color: #141414; box-shadow: 6px 6px 0 var(--gs-accent); }
[data-theme="editorial"] .gs-step { border-radius: 0; background: #141414; box-shadow: 8px 8px 0 var(--gs-accent); font-family: "Outfit", sans-serif; }
/* 開場：超大斜體編號、拍立得插畫、跑馬燈 */
[data-theme="editorial"] .gs-bignum { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; font-size: 820px; letter-spacing: -.06em; color: var(--gs-accent); -webkit-text-stroke: 0; right: -60px; bottom: -260px; opacity: .95; }
[data-theme="editorial"] .gs-scene.on .gs-bignum { animation: edBig 1.4s cubic-bezier(.16, 1, .3, 1) calc(var(--ed, 0s)) both; }
@keyframes edBig { from { transform: translateY(40%) rotate(8deg); opacity: 0; } to { transform: none; opacity: .95; } }
[data-theme="editorial"] .gs-hero { top: 190px; right: 210px; bottom: auto; width: 640px; height: 470px; padding: 18px 18px 70px; background: #fff; -webkit-mask-image: none; mask-image: none; box-shadow: 14px 14px 0 #141414; transform: rotate(4deg); border: 2px solid #141414; overflow: visible; }
[data-theme="editorial"] .gs-hero-img { position: relative; inset: auto; width: 100%; height: 100%; overflow: hidden; border: 2px solid #141414; }
[data-theme="editorial"] .gs-hero::after { content: '大南方智慧餐飲圈・顧客教學'; position: absolute; left: 22px; bottom: 18px; font: 700 26px "Noto Sans TC", sans-serif; color: #141414; letter-spacing: .1em; }
[data-theme="editorial"] .gs-scene.on .gs-hero { animation: edHero 1.2s var(--spring) calc(var(--ed, 0s) + .35s) both; }
@keyframes edHero { from { opacity: 0; transform: rotate(-12deg) translateY(120px) scale(.9); } to { opacity: 1; transform: rotate(4deg); } }
[data-theme="editorial"] .gs-marquee { position: absolute; z-index: 4; left: -40px; right: -40px; bottom: 0; display: block; padding: 14px 0 16px; background: #141414; color: #f2ece1; overflow: hidden; white-space: nowrap; font: 900 34px "Noto Sans TC", sans-serif; letter-spacing: .08em; }
[data-theme="editorial"][data-scene="title"] .gs-caption { bottom: 120px; }
[data-theme="editorial"] .gs-marquee div { display: inline-flex; gap: 36px; padding-left: 36px; animation: edMarq 22s linear infinite; }
[data-theme="editorial"] .gs-marquee i { font-style: normal; color: var(--gs-accent); }
@keyframes edMarq { to { transform: translateX(-50%); } }
[data-theme="editorial"] .gs-title-text { top: 150px; bottom: 300px; }
[data-theme="editorial"] .gs-title-text .gs-big { margin-bottom: 40px; }
[data-theme="editorial"] .gs-mark .mark { width: 92px; height: 92px; filter: none; }
[data-theme="editorial"] .gs-count { font-family: "Instrument Serif", serif; font-style: italic; color: #141414; }
[data-theme="editorial"] .gs-count b { font-size: 64px; font-weight: 400; }
[data-theme="editorial"] .gs-sub { border-radius: 0; background: var(--gs-accent); box-shadow: 8px 8px 0 #141414; font-family: "Noto Sans TC", sans-serif; }
/* 裝置：平放微旋＋硬陰影 */
[data-theme="editorial"] .gs-frame.mock-phone { border-color: #141414; box-shadow: 18px 18px 0 var(--gs-accent), 18px 18px 0 2px #141414; }
[data-theme="editorial"] .gs-device[data-device="tablet"] .gs-frame { box-shadow: 18px 18px 0 var(--gs-accent-2), 18px 18px 0 2px #141414; }
[data-theme="editorial"] .gs-floor, [data-theme="editorial"] .gs-glare { display: none; }
[data-theme="editorial"] .gs-btn-side { background: #141414; }
[data-theme="editorial"] .gs-try span { border-radius: 0; background: #141414; box-shadow: 6px 6px 0 var(--gs-accent); }
[data-theme="editorial"] .gs-try span::before { border-radius: 0; border-color: #141414; }
[data-theme="editorial"] .gs-try b { background: var(--gs-hi); border-radius: 0; color: #141414; }
[data-theme="editorial"] .gs-notice { border-radius: 0; background: #141414; color: #f2ece1; box-shadow: 12px 12px 0 var(--gs-accent); }
/* 清單：大號斜體編號＋細線 */
[data-theme="editorial"] .gs-checks { gap: 0; border-top: 2px solid #141414; }
[data-theme="editorial"] .gs-checks li { padding: 26px 0; border: 0; border-bottom: 2px solid #141414; border-radius: 0; background: none; }
[data-theme="editorial"] .gs-tick { width: 92px; height: 70px; border-radius: 0; background: none; color: var(--gs-accent); font-family: "Instrument Serif", serif; font-style: italic; font-size: 76px; font-weight: 400; line-height: 1; }
[data-theme="editorial"] .gs-tick svg { stroke: var(--gs-accent); width: 54px; height: 54px; }
[data-theme="editorial"] .gs-ck-text b { font-family: var(--gs-font-display); font-size: 44px; }
[data-theme="editorial"] .gs-illus-ring { border-radius: 0; background: var(--gs-hi); border: 2px solid #141414; width: 440px; height: 440px; transform: rotate(-6deg); box-shadow: 16px 16px 0 #141414; }
[data-theme="editorial"] .gs-illus-orbit { border-radius: 0; border: 2px solid #141414; width: 520px; height: 520px; transform: rotate(8deg); animation: none; }
[data-theme="editorial"] .gs-illus img { filter: none; }
/* 字幕：黑底色塊 */
[data-theme="editorial"] .gs-caption p { border-radius: 0; padding: 8px 20px; backdrop-filter: none; -webkit-backdrop-filter: none; }
[data-theme="editorial"] .gs-caption span.on { color: #fff; }
[data-theme="editorial"] .gs-end-text .gs-big { font-size: 150px; }
[data-theme="editorial"] .gs-qr img { border-radius: 0; border: 2px solid #141414; box-shadow: 10px 10px 0 var(--gs-accent); }
[data-theme="editorial"] .gs-coach-tip { border-radius: 0; background: var(--gs-hi); box-shadow: 10px 10px 0 #141414; }
[data-theme="editorial"] .gs-coach-pos[data-side="left"] .gs-coach-tip::after { border-left-color: var(--gs-hi); }
[data-theme="editorial"] .gs-rings i { border-color: var(--gs-accent); box-shadow: none; }
[data-theme="editorial"] .gs-spot { background: radial-gradient(circle at var(--x) var(--y), transparent calc(var(--r) - 2px), rgba(242, 236, 225, .82) calc(var(--r) + 3px)); }
[data-theme="editorial"] .gs-toast { border-radius: 0; box-shadow: 8px 8px 0 var(--gs-accent); }
[data-format="portrait"][data-theme="editorial"] .gs-bignum { font-size: 560px; bottom: 260px; }
[data-format="portrait"][data-theme="editorial"] .gs-hero { left: 160px; right: 160px; width: auto; top: 200px; height: 560px; }
[data-format="portrait"][data-theme="editorial"] .gs-marquee { bottom: 760px; }
