/* =============================================================
   版型三：廟埕慶典 Festival — 繽紛熱鬧的現代雜誌風
   ============================================================= */
.t-festival {
    --t-bg: #fff6ea;
    --t-bg2: #ffe9d6;
    --t-card: #ffffff;
    --t-fg: #2c1650;
    --t-fg2: #6b5a86;
    --t-line: rgba(44, 22, 80, .14);
    --t-accent: #ff3b6b;
    --t-accent2: #ffb400;
    --t-btn-bg: #ff3b6b;
    --t-btn-fg: #fff;
    --t-radius: 20px;
    --t-head: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    --pink: #ff3b6b;
    --yellow: #ffc83d;
    --teal: #13a89e;
    --purple: #6c3fd1;
    --indigo: #2c1650;
    --orange: #ff8a3d;
}
.t-festival .t-btn { box-shadow: 4px 4px 0 var(--indigo); border: 2px solid var(--indigo); }
.t-festival .t-chip { background: var(--yellow); color: var(--indigo); }
.fs-wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.fs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 900; letter-spacing: .1em; border: 2.5px solid var(--indigo); box-shadow: 5px 5px 0 var(--indigo); transition: transform .15s, box-shadow .15s; cursor: pointer; font-size: 16px; }
.fs-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--indigo); }
.fs-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--indigo); }
.fs-btn.outline { background: #fff; color: var(--indigo); }
.fs-btn.white { background: #fff; color: var(--pink); }
.fs-btn.small { padding: 9px 18px; font-size: 14px; box-shadow: 3px 3px 0 var(--indigo); }
.fs-btn.big { padding: 16px 40px; font-size: 19px; background: var(--yellow); color: var(--indigo); }

/* ---------- LED 跑馬燈 ---------- */
.fs-led { position: relative; z-index: 101; background: #0b0710; overflow: hidden; height: 38px; display: flex; align-items: center; border-bottom: 2px solid #26182f; }
.fs-led::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, transparent 1px, #0b0710 1.6px) 0 0 / 4px 4px; pointer-events: none; }
.fs-led-track { display: flex; white-space: nowrap; animation: fs-marquee 38s linear infinite; }
.fs-led-track span { font: 900 19px/1 var(--t-head); letter-spacing: .18em; color: #ffb21e; text-shadow: 0 0 6px #ff7a00, 0 0 14px rgba(255, 90, 0, .7); padding-right: 20px; }
.fs-led-track span:nth-child(2) { color: #ff4d5e; text-shadow: 0 0 6px #ff1e3c, 0 0 14px rgba(255, 30, 60, .7); }
@keyframes fs-marquee { to { transform: translateX(-50%); } }

/* ---------- 頁首 ---------- */
.fs-header { position: sticky; top: 0; z-index: 100; padding: 12px 0; transition: padding .3s; }
.fs-header-in { width: min(1200px, 100% - 24px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 2.5px solid var(--indigo); border-radius: 999px; padding: 8px 10px 8px 12px; box-shadow: 5px 5px 0 var(--indigo); }
.fs-header.scrolled { padding: 8px 0; }
.fs-brand { display: flex; align-items: center; gap: 10px; }
.fs-badge, .fs-logo { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.fs-badge { display: grid; place-items: center; background: conic-gradient(from 30deg, var(--pink), var(--orange), var(--yellow), var(--teal), var(--purple), var(--pink)); color: #fff; font: 900 21px var(--t-head); text-shadow: 0 2px 0 var(--indigo); border: 2.5px solid var(--indigo); }
.fs-logo { object-fit: cover; border: 2.5px solid var(--indigo); }
.fs-brand b { font: 900 21px var(--t-head); letter-spacing: .12em; }
.fs-nav { display: flex; align-items: center; gap: 2px; }
.fs-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background .2s; }
.fs-nav a:hover, .fs-nav a.on { background: var(--yellow); }
.fs-nav .fs-nav-cta { background: var(--pink); color: #fff; margin-left: 6px; }
.fs-nav .fs-nav-cta:hover { background: var(--indigo); }
.fs-toggle { display: none; background: var(--yellow); border: 2px solid var(--indigo); border-radius: 50%; width: 44px; height: 44px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.fs-toggle i { width: 18px; height: 2.5px; background: var(--indigo); border-radius: 2px; }

/* ---------- Hero ---------- */
.fs-hero { position: relative; min-height: calc(100vh - 38px); margin-top: -82px; padding: 140px 0 160px; overflow: hidden; isolation: isolate; background: linear-gradient(170deg, #ff5d8f 0%, #ff8a5c 45%, #ffc94d 100%); display: flex; align-items: center; }
.fs-rays { position: absolute; left: 50%; top: 55%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax; z-index: -2; background: repeating-conic-gradient(rgba(255, 255, 255, .16) 0 7deg, transparent 7deg 15deg); animation: fs-spin 90s linear infinite; }
@keyframes fs-spin { to { transform: rotate(360deg); } }
.fs-photo { position: absolute; inset: -10% 0 0; background: center / cover; opacity: .22; mix-blend-mode: multiply; z-index: -2; }
.fs-cloud { position: absolute; color: rgba(255, 255, 255, .9); z-index: -1; filter: drop-shadow(0 6px 0 rgba(44, 22, 80, .15)); transition: translate .5s ease-out; }
.fs-cloud.c1 { width: 220px; top: 16%; left: 4%; animation: fs-float 9s ease-in-out infinite; }
.fs-cloud.c2 { width: 300px; bottom: 26%; right: 3%; animation: fs-float 12s ease-in-out infinite reverse; }
.fs-cloud.c3 { width: 160px; top: 12%; right: 30%; opacity: .7; animation: fs-float 10s ease-in-out infinite; }
@keyframes fs-float { 50% { margin-top: -14px; } }
.fs-roofline { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: -1; color: var(--indigo); display: flex; justify-content: center; align-items: flex-end; transition: translate .5s ease-out; }
.fs-roof { width: min(1100px, 120%); height: 100%; opacity: .92; }
.fs-flags { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; justify-content: space-around; align-items: flex-end; z-index: 0; pointer-events: none; }
.fs-flags span { position: relative; width: 6px; height: calc(70px + (var(--i) * 7px) % 50px); background: var(--indigo); border-radius: 3px; }
.fs-flags span::before { content: ""; position: absolute; left: 6px; top: 0; width: 46px; height: 40px; background: var(--c); border: 2px solid var(--indigo); clip-path: polygon(0 0, 100% 50%, 0 100%); transform-origin: left center; animation: fs-wave 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.13s); }
@keyframes fs-wave { 0%, 100% { transform: skewY(-8deg) scaleX(1); } 50% { transform: skewY(8deg) scaleX(.86); } }

.fs-hero-in { position: relative; z-index: 2; width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; }
.fs-sticker { display: inline-block; background: var(--yellow); color: var(--indigo); font-weight: 900; letter-spacing: .15em; padding: 8px 18px; border: 2.5px solid var(--indigo); border-radius: 999px; box-shadow: 4px 4px 0 var(--indigo); transform: rotate(-4deg); transition: translate .5s ease-out; }
.fs-hero h1 { margin: 22px 0 14px; font: 900 clamp(64px, 11vw, 150px)/1 var(--t-head); letter-spacing: .06em; color: #fff; -webkit-text-stroke: 3px var(--indigo); paint-order: stroke fill; text-shadow: 7px 7px 0 var(--indigo); animation: fs-pop .9s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes fs-pop { from { transform: scale(.4) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.fs-tagline { font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; color: var(--indigo); letter-spacing: .06em; background: rgba(255, 255, 255, .65); display: inline-block; padding: 4px 14px; border-radius: 8px; }
.fs-hero-btns { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.fs-ticket-hero { position: relative; display: block; background: #fff; border: 3px solid var(--indigo); border-radius: 26px; padding: 30px 30px 26px; box-shadow: 10px 10px 0 var(--indigo); transform: rotate(2.5deg); transition: transform .3s, translate .5s ease-out; }
.fs-ticket-hero:hover { transform: rotate(0) scale(1.02); }
.fs-ticket-hero .tag { position: absolute; top: -18px; right: 24px; background: var(--pink); color: #fff; font-weight: 900; padding: 6px 16px; border-radius: 999px; border: 2.5px solid var(--indigo); transform: rotate(6deg); animation: fs-wiggle 2.4s ease-in-out infinite; }
@keyframes fs-wiggle { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-4deg) scale(1.06); } }
.fs-ticket-hero small { font-weight: 900; color: var(--pink); letter-spacing: .2em; }
.fs-ticket-hero b { display: block; font-size: 23px; line-height: 1.4; margin: 6px 0 16px; }
.fs-ticket-hero p { color: var(--t-fg2); font-size: 14px; margin: 10px 0 16px; }
.fs-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fs-count div { background: var(--indigo); color: var(--yellow); border-radius: 12px; text-align: center; padding: 10px 4px 6px; }
.fs-count i { display: block; font: 900 34px/1 var(--t-head); font-style: normal; font-variant-numeric: tabular-nums; }
.fs-count span { font-size: 12px; color: #fff; letter-spacing: .2em; }

/* ---------- 數字帶 ---------- */
.fs-stats { background: var(--indigo); color: #fff; padding: 26px 0; border-top: 3px solid var(--indigo); }
.fs-stats .fs-wrap { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; }
.fs-stats div { text-align: center; }
.fs-stats b { display: block; font: 900 42px/1.1 var(--t-head); color: var(--yellow); }
.fs-stats div:nth-child(2) b { color: #ff9ec4; } .fs-stats div:nth-child(3) b { color: #6fe3d6; } .fs-stats div:nth-child(4) b { color: #c7b2ff; }
.fs-stats span { font-size: 14px; letter-spacing: .25em; opacity: .85; }

/* ---------- 區塊共用 ---------- */
.fs-sec { position: relative; padding: 110px 0; }
.fs-title { font: 900 clamp(30px, 4.4vw, 48px)/1.25 var(--t-head); letter-spacing: .06em; margin-bottom: 44px; }
.fs-title span { display: block; font-size: 14px; letter-spacing: .4em; color: var(--pink); margin-bottom: 8px; }
.fs-title.light { color: #fff; }
.fs-title.light span { color: var(--yellow); }

/* Bento */
.fs-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 20px; }
.fs-bento .b { position: relative; border: 3px solid var(--indigo); border-radius: 26px; padding: 26px; box-shadow: 6px 6px 0 var(--indigo); overflow: hidden; transition: transform .25s, box-shadow .25s; background: #fff; }
.fs-bento .b::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fs-bento .b:hover::after { opacity: 1; }
.fs-bento small { display: block; font-weight: 900; letter-spacing: .25em; font-size: 13px; opacity: .8; }
.fs-bento b { display: block; font: 900 24px/1.35 var(--t-head); margin-top: 6px; }
.fs-bento .intro { grid-column: span 2; grid-row: span 2; background: #fff; }
.fs-bento .intro .q { font: 900 120px/.7 Georgia, serif; color: var(--pink); display: block; height: 50px; }
.fs-bento .intro p { font-size: 17px; line-height: 2; white-space: pre-line; }
.fs-bento .deity { background: linear-gradient(150deg, var(--pink), #ff7aa2); color: #fff; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.fs-bento .deity b { font-size: 34px; text-shadow: 3px 3px 0 var(--indigo); }
.fs-bento .deity .halo { position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .35) 0 10deg, transparent 10deg 20deg); animation: fs-spin 30s linear infinite; }
.fs-bento .hours { background: var(--yellow); }
.fs-bento .founded { background: var(--purple); color: #fff; }
.fs-bento .line { background: var(--teal); color: #fff; }
.fs-bento .line p { font-weight: 700; margin-top: 4px; }
.fs-bento .photo { grid-column: span 2; background: center / cover; min-height: 200px; display: flex; align-items: flex-end; }
.fs-bento .photo span { background: #fff; border: 2.5px solid var(--indigo); border-radius: 999px; padding: 6px 16px; font-weight: 900; font-size: 14px; }

/* 擲筊 */
.fs-jiao-sec { background: radial-gradient(ellipse at 70% 30%, #4b2a86, var(--indigo) 65%); color: #fff; overflow: hidden; }
.fs-stars { position: absolute; inset: 0; background: radial-gradient(2px 2px at 10% 20%, #fff8, transparent), radial-gradient(1.5px 1.5px at 30% 70%, #fff7, transparent), radial-gradient(2px 2px at 60% 15%, #ffd23f99, transparent), radial-gradient(1.5px 1.5px at 85% 60%, #fff8, transparent), radial-gradient(2px 2px at 45% 45%, #ff9ec488, transparent), radial-gradient(1.5px 1.5px at 75% 85%, #fff6, transparent); background-size: 340px 300px; animation: fs-twinkle 6s ease-in-out infinite alternate; }
@keyframes fs-twinkle { to { opacity: .45; } }
.fs-jiao-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.fs-jiao-lead { color: #e6dcff; font-size: 17px; line-height: 2; }
.fs-tally { display: flex; gap: 12px; margin: 26px 0 16px; flex-wrap: wrap; }
.fs-tally li { padding: 8px 18px; border-radius: 999px; font-weight: 900; border: 2px solid #fff; }
.fs-tally .s { background: var(--pink); } .fs-tally .x { background: var(--teal); } .fs-tally .y { background: #4a3a6a; }
.fs-tally b { font-size: 20px; margin-left: 6px; color: var(--yellow); }
.fs-note { font-size: 13px; color: #b9a8e0; }
.fs-jiao { text-align: center; background: rgba(255, 255, 255, .06); border: 2.5px dashed rgba(255, 255, 255, .35); border-radius: 30px; padding: 40px 30px; }
.fs-blocks { display: flex; justify-content: center; gap: 30px; height: 150px; align-items: flex-end; perspective: 700px; }
.bei { width: 150px; }
.bei .inner { position: relative; height: 90px; transform-style: preserve-3d; transition: transform .25s; transform: rotateX(180deg); }
.bei.flat .inner { transform: rotateX(0); }
.bei .face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .25)); }
.bei .face.round { transform: rotateX(180deg); }
.bei .flat path:first-child { fill: #ff7a6a; stroke: #6e1414; stroke-width: 3; }
.bei .flat .hl { fill: none; stroke: #ffd0c4; stroke-width: 4; stroke-linecap: round; opacity: .8; }
.bei .round path { fill: #c2241b; stroke: #5a0d0d; stroke-width: 3; }
.bei .round .hl { fill: rgba(255, 255, 255, .35); }
.bei.b2 { transform: scaleX(-1); }
.fs-jiao.throwing .bei.b1 { animation: fs-toss 1.3s cubic-bezier(.3, .2, .3, 1); }
.fs-jiao.throwing .bei.b2 { animation: fs-toss2 1.3s cubic-bezier(.3, .2, .3, 1); }
@keyframes fs-toss { 0% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-170px) rotate(540deg); } 80% { transform: translateY(0) rotate(700deg); } 90% { transform: translateY(-14px) rotate(712deg); } 100% { transform: translateY(0) rotate(720deg); } }
@keyframes fs-toss2 { 0% { transform: scaleX(-1) translateY(0) rotate(0); } 45% { transform: scaleX(-1) translateY(-150px) rotate(-500deg); } 80% { transform: scaleX(-1) translateY(0) rotate(-700deg); } 90% { transform: scaleX(-1) translateY(-10px) rotate(-712deg); } 100% { transform: scaleX(-1) translateY(0) rotate(-720deg); } }
.fs-jiao-result { font: 900 40px/1.2 var(--t-head); margin: 24px 0 6px; letter-spacing: .15em; min-height: 1.2em; }
.fs-jiao.res-s .fs-jiao-result { color: var(--yellow); text-shadow: 0 0 20px rgba(255, 210, 63, .7); animation: fs-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
.fs-jiao.res-x .fs-jiao-result { color: #6fe3d6; }
.fs-jiao.res-y .fs-jiao-result { color: #c7b2ff; }
.fs-jiao-meaning { min-height: 3.4em; color: #e6dcff; margin-bottom: 20px; }

/* 票券 */
.fs-tickets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.fs-ticket { --c: var(--pink); display: flex; border: 3px solid var(--indigo); border-radius: 22px; background: #fff; box-shadow: 6px 6px 0 var(--indigo); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.fs-ticket.c-yellow { --c: var(--yellow); } .fs-ticket.c-teal { --c: var(--teal); } .fs-ticket.c-purple { --c: var(--purple); } .fs-ticket.c-red { --c: #ff4b3e; }
.fs-ticket .stub { flex: none; width: 110px; background: var(--c); color: var(--indigo); display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 3px dashed var(--indigo); position: relative; padding: 14px 6px; }
.fs-ticket.c-teal .stub, .fs-ticket.c-purple .stub, .fs-ticket.c-red .stub, .fs-ticket.c-pink .stub { color: #fff; }
.fs-ticket .stub::before, .fs-ticket .stub::after { content: ""; position: absolute; right: -14px; width: 24px; height: 24px; border-radius: 50%; background: var(--t-bg); border: 3px solid var(--indigo); }
.fs-ticket .stub::before { top: -15px; } .fs-ticket .stub::after { bottom: -15px; }
.fs-ticket .stub b { font: 900 46px/1 var(--t-head); }
.fs-ticket .stub small { font-weight: 900; letter-spacing: .15em; font-size: 13px; text-transform: uppercase; }
.fs-ticket .body { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.fs-ticket .cat { align-self: flex-start; background: var(--c); color: #fff; font-size: 12.5px; font-weight: 900; padding: 2px 12px; border-radius: 999px; border: 2px solid var(--indigo); }
.fs-ticket.c-yellow .cat { color: var(--indigo); }
.fs-ticket .body b { font-size: 20px; line-height: 1.45; }
.fs-ticket em { font-style: normal; color: var(--t-fg2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fs-ticket .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 700; margin-top: 4px; }
.fs-empty { color: var(--t-fg2); }

/* 神明殿 */
.fs-deity-sec { background: var(--t-bg2); }
.fs-gods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.fs-god { text-align: center; background: #fff; border: 3px solid var(--indigo); border-radius: 26px; padding: 30px 20px 24px; box-shadow: 6px 6px 0 var(--indigo); transition: transform .3s; }
.fs-god:hover { transform: translateY(-8px) rotate(-1.5deg); }
.fs-god .orb { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 50%; font: 900 46px var(--t-head); color: #fff; text-shadow: 3px 3px 0 var(--indigo); border: 3px solid var(--indigo); background: radial-gradient(circle at 35% 30%, hsl(var(--h) 100% 80%), hsl(var(--h) 85% 55%)); box-shadow: 0 0 0 8px hsl(var(--h) 100% 90%); }
.fs-god:hover .orb { animation: fs-bounce .6s; }
@keyframes fs-bounce { 30% { transform: scale(1.15) rotate(-8deg); } 60% { transform: scale(.95) rotate(5deg); } }
.fs-god b { font-size: 21px; display: block; }
.fs-god small { display: block; color: var(--pink); font-weight: 900; letter-spacing: .1em; margin: 2px 0 10px; }
.fs-god p { font-size: 14px; color: var(--t-fg2); line-height: 1.8; }

/* 故事 Z 字 */
.fs-story { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; --p: 0; }
.fs-story::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: repeating-linear-gradient(var(--indigo) 0 10px, transparent 10px 20px); opacity: .25; }
.fs-story::after { content: ""; position: absolute; left: 50%; top: 0; width: 4px; margin-left: -2px; height: calc(var(--p) * 100%); background: linear-gradient(var(--pink), var(--yellow)); border-radius: 2px; }
.fs-story article { position: relative; background: #fff; border: 3px solid var(--indigo); border-radius: 22px; padding: 22px 26px; box-shadow: 6px 6px 0 var(--indigo); }
.fs-story article:nth-child(even) { margin-top: 90px; }
.fs-story .yr { display: block; font: 900 54px/1 var(--t-head); color: transparent; -webkit-text-stroke: 2px var(--pink); }
.fs-story article:nth-child(3n+2) .yr { -webkit-text-stroke-color: var(--teal); }
.fs-story article:nth-child(3n) .yr { -webkit-text-stroke-color: var(--purple); }
.fs-story h3 { font-size: 21px; margin: 8px 0 6px; }
.fs-story p { color: var(--t-fg2); font-size: 15px; }

/* 祈福服務吊牌 */
.fs-offer-sec { background: linear-gradient(180deg, var(--t-bg), #ffe3ef); }
.fs-tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.fs-tag { position: relative; background: #fff; border: 3px solid var(--indigo); border-radius: 18px 18px 18px 18px; padding: 44px 22px 24px; text-align: center; box-shadow: 6px 6px 0 var(--indigo); transform: rotate(var(--r)); transition: transform .3s; }
.fs-tag:hover { transform: rotate(0) translateY(-6px); }
.fs-tag .hole { position: absolute; top: 14px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; border: 3px solid var(--indigo); background: var(--t-bg); }
.fs-tag b { font-size: 22px; display: block; }
.fs-tag p { font-size: 14px; color: var(--t-fg2); margin: 8px 0 14px; }
.fs-tag span { display: inline-block; background: var(--pink); color: #fff; font-weight: 900; padding: 4px 16px; border-radius: 999px; }
.fs-tag:nth-child(3n+2) span { background: var(--teal); } .fs-tag:nth-child(3n) span { background: var(--purple); }

/* 寫真輪播 */
.fs-gallery { background: var(--yellow); overflow: hidden; }
.fs-gal-head { display: flex; justify-content: space-between; align-items: flex-end; }
.fs-arrows { display: flex; gap: 10px; margin-bottom: 44px; }
.fs-arrows button { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--indigo); background: #fff; font-size: 22px; font-weight: 900; cursor: pointer; box-shadow: 4px 4px 0 var(--indigo); }
.fs-arrows button:hover { background: var(--pink); color: #fff; }
.cr-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(20px, calc((100vw - 1200px) / 2)) 30px; scrollbar-width: none; cursor: grab; }
.cr-track::-webkit-scrollbar { display: none; }
.cr-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.fs-shot { flex: none; width: min(420px, 78vw); scroll-snap-align: center; background: #fff; padding: 12px 12px 18px; border: 3px solid var(--indigo); border-radius: 8px; box-shadow: 6px 6px 0 var(--indigo); transform: rotate(var(--r)); transition: transform .3s; user-select: none; }
.fs-shot:hover { transform: rotate(0) scale(1.03); }
.fs-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; pointer-events: none; }
.fs-shot span { display: block; text-align: center; font-weight: 900; margin-top: 10px; }

/* 交通 */
.fs-visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.fs-visit-card { background: #fff; border: 3px solid var(--indigo); border-radius: 26px; padding: 36px; box-shadow: 6px 6px 0 var(--indigo); }
.fs-visit-card .fs-title { margin-bottom: 24px; }
.fs-visit-card li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 2px dashed var(--t-line); align-items: baseline; }
.fs-visit-card small { flex: none; background: var(--yellow); border-radius: 999px; padding: 1px 12px; font-weight: 900; font-size: 13px; }
.fs-map { border: 3px solid var(--indigo); border-radius: 26px; overflow: hidden; box-shadow: 6px 6px 0 var(--indigo); min-height: 360px; }
.fs-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* 頁尾 */
.fs-footer { background: linear-gradient(120deg, var(--pink), var(--orange)); color: #fff; padding: 60px 0 0; overflow: hidden; border-top: 3px solid var(--indigo); }
.fs-footer-in { width: min(1200px, 100% - 40px); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.fs-footer-hi { font: 900 32px var(--t-head); text-shadow: 3px 3px 0 var(--indigo); }
.fs-wordmark { font: 900 clamp(90px, 20vw, 280px)/1 var(--t-head); text-align: center; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); letter-spacing: .1em; margin: 30px 0 -.12em; white-space: nowrap; }
.fs-credit { background: var(--indigo); text-align: center; font-size: 13px; padding: 14px; position: relative; }
.fs-credit a { color: var(--yellow); }

/* 活動內頁套色 */
.t-festival .t-event-hero { background: linear-gradient(160deg, #ff7aa2, #ffb36b); margin-top: -82px; padding-top: 160px; border-bottom: 3px solid var(--indigo); }
.t-festival .t-event-hero .crumb { color: var(--indigo); }
.t-festival .t-form-card { border: 3px solid var(--indigo); box-shadow: 8px 8px 0 var(--indigo); }
.t-festival .t-meta div, .t-festival .t-mini-events a { border: 2.5px solid var(--indigo); box-shadow: 4px 4px 0 var(--indigo); }
.t-festival .t-event-cover { border: 3px solid var(--indigo); box-shadow: 8px 8px 0 var(--indigo); }

/* ---------- RWD ---------- */
@media (max-width: 1024px) {
    .fs-hero-in, .fs-jiao-grid, .fs-visit { grid-template-columns: 1fr; }
    .fs-ticket-hero { max-width: 480px; }
    .fs-bento { grid-template-columns: repeat(2, 1fr); }
    .fs-bento .deity { grid-row: span 1; }
}
@media (max-width: 860px) {
    .fs-toggle { display: flex; }
    .fs-nav { position: fixed; top: 110px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; background: #fff; border: 3px solid var(--indigo); border-radius: 26px; padding: 14px; box-shadow: 6px 6px 0 var(--indigo); transform: translateY(-20px) scale(.96); opacity: 0; pointer-events: none; transition: .25s; }
    .fs-nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .fs-nav a { padding: 12px 16px; font-size: 17px; }
    .fs-nav .fs-nav-cta { margin: 6px 0 0; text-align: center; }
    .fs-tickets, .fs-story { grid-template-columns: 1fr; }
    .fs-story::before, .fs-story::after { left: 12px; }
    .fs-story article { margin-left: 34px; }
    .fs-story article:nth-child(even) { margin-top: 0; }
}
@media (max-width: 560px) {
    .fs-sec { padding: 80px 0; }
    .fs-bento { grid-template-columns: 1fr; }
    .fs-bento .intro, .fs-bento .photo { grid-column: span 1; }
    .fs-ticket .stub { width: 84px; }
    .fs-ticket .stub b { font-size: 36px; }
    .fs-hero h1 { -webkit-text-stroke-width: 2px; text-shadow: 5px 5px 0 var(--indigo); }
    .fs-blocks { gap: 14px; }
    .bei { width: 120px; }
    .fs-brand b { font-size: 18px; }
    .fs-arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .fs-rays, .fs-led-track, .fs-flags span::before, .fs-cloud, .fs-bento .deity .halo, .fs-stars, .fs-ticket-hero .tag { animation: none; }
    .fs-led-track { transform: none; }
}
