/* 2006 韓國原州交流音樂會電子節目冊：照原州印的節目單：白紙水墨梅枝、紅到金的漸層、藍色漸層標題列、粉紅漸層的英文標題、✤ 花飾。 */
:root {
	--red: #c8202a;
	--gold: #f2c44c;
	--blue: #2a3f9e;
	--blue-2: #7d8ee0;
	--pink: #d9606e;
	--paper: #fdfcf9;
	--ink: #1f1d22;
	--ink-soft: rgba(31, 29, 34, .7);
	--line: rgba(42, 63, 158, .18);
	--serif: "Noto Serif TC", "Songti TC", serif;
	--sans: "Noto Sans TC", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, sans-serif;
	--latin: "Cormorant Garamond", "Times New Roman", serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--pad: clamp(18px, 5.5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wj-main { position: relative; z-index: 1; overflow-x: clip; }
.wj-skip { position: absolute; left: -999px; }
.wj-skip:focus { left: 12px; top: 70px; z-index: 50; padding: 8px 14px; background: var(--paper); }
/* 水墨梅枝：淡淡地固定在左下與右上 */
.wj-plum { position: fixed; z-index: 0; width: min(70vw, 620px); opacity: .55; mix-blend-mode: multiply; pointer-events: none; }
.wj-plum--l { left: -18vw; bottom: -8vh; transform: scaleX(-1); }
.wj-plum--r { right: -16vw; top: 30vh; opacity: .35; }

/* ---------- 藍色標題列 ---------- */
.wj-bar { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; gap: 4px; padding: calc(4px + env(safe-area-inset-top)) 8px 4px; background: linear-gradient(90deg, var(--blue) 0%, #3e55b8 55%, var(--blue-2) 100%); color: #fff; box-shadow: 0 6px 16px -10px rgba(20, 30, 90, .9); }
.wj-bar__back, .wj-bar__share { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.wj-bar svg { width: 22px; height: 22px; }
.wj-bar__nav { flex: 1; display: flex; justify-content: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.wj-bar__nav::-webkit-scrollbar { display: none; }
.wj-bar__nav a { display: grid; justify-items: center; padding: 3px 12px; border-radius: 6px; text-decoration: none; line-height: 1.25; white-space: nowrap; transition: background .3s; }
.wj-bar__nav b { font-size: .95rem; font-weight: 700; letter-spacing: .1em; }
.wj-bar__nav small { font-size: .66rem; opacity: .8; letter-spacing: .08em; }
.wj-bar__nav a.is-on { background: rgba(255, 255, 255, .2); box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- 封面：上半白底、下半紅到金 ---------- */
.wj-cover { position: relative; display: grid; min-height: calc(100svh - 52px); }
.wj-cover__top { position: relative; display: grid; justify-items: center; gap: 10px; padding: 34px var(--pad) 20px; text-align: center; }
.wj-title { width: min(94vw, 720px); margin: 0; -webkit-mask: radial-gradient(72% 74% at 50% 50%, #000 62%, transparent 100%); mask: radial-gradient(72% 74% at 50% 50%, #000 62%, transparent 100%); }
.wj-title img { mix-blend-mode: multiply; clip-path: inset(0 100% 0 0); animation: wj-wipe 1.6s var(--ease) .2s forwards; }
@keyframes wj-wipe { to { clip-path: inset(0 0 0 0); } }
.wj-cover__zh { margin: 0; font-family: var(--serif); font-size: clamp(1.05rem, 4.2vw, 1.35rem); font-weight: 700; letter-spacing: .16em; color: var(--red); opacity: 0; animation: wj-up .9s var(--ease) 1.2s forwards; }
@keyframes wj-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wj-route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 6px; width: min(100%, 520px); margin-top: 6px; opacity: 0; animation: wj-up .9s var(--ease) 1.5s forwards; }
.wj-route__end { display: grid; justify-items: center; line-height: 1.25; }
.wj-route__end img { width: 54px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 6px 12px -8px rgba(0, 0, 0, .5); }
.wj-route__end b { margin-top: 6px; font-size: 1.05rem; }
.wj-route__end small { color: var(--ink-soft); font-family: var(--latin); font-size: .95rem; }
.wj-route svg { width: 100%; height: 70px; overflow: visible; }
.wj-route__line { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.wj-route__dot { fill: var(--red); }
.wj-cover__cond { position: absolute; right: var(--pad); bottom: -40px; z-index: 2; width: clamp(84px, 22vw, 140px); margin: 0; padding: 4px; background: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); opacity: 0; animation: wj-up .9s var(--ease) 1.9s forwards; }
.wj-cover__cond figcaption { padding: 4px 0 0; font-size: .8rem; text-align: center; }
.wj-cover__band { position: relative; display: grid; align-content: end; padding: 0 var(--pad) 26px; background: linear-gradient(170deg, #b61622 0%, var(--red) 34%, #e2532f 66%, var(--gold) 100%); color: #fff; overflow: hidden; }
.wj-cover__band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 10%, rgba(255, 255, 255, .18), transparent 70%); }
.wj-cover__photo { position: relative; width: calc(100% + var(--pad) * 2); max-width: none; height: clamp(180px, 38vh, 380px); margin: 0 calc(var(--pad) * -1) 18px; object-fit: cover; object-position: 50% 30%; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.wj-cover__info { position: relative; display: grid; gap: 2px; margin: 0; font-size: .95rem; }
.wj-cover__info div { display: flex; gap: 10px; }
.wj-cover__info dt { flex: none; font-weight: 700; }
.wj-cover__info dd { margin: 0; }
.wj-cover__when { position: relative; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .4); font-family: var(--serif); letter-spacing: .06em; }

/* ---------- 章節標題 ---------- */
.wj-sec { position: relative; max-width: 960px; margin: 0 auto; padding: 64px var(--pad) 30px; }
.wj-h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 26px; padding: 6px 16px; background: linear-gradient(90deg, var(--blue), var(--blue-2) 70%, transparent); color: #fff; font-size: 1.2rem; }
.wj-h small { font-size: .9rem; font-weight: 400; opacity: .9; letter-spacing: .2em; }
[data-wj-in] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-wj-in].is-in { opacity: 1; transform: none; }

/* ---------- 致詞 ---------- */
.wj-letters { display: grid; gap: 26px; }
.wj-letter { padding: 0 0 22px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(20, 30, 90, .7); }
.wj-letter__tag { margin: 0 0 16px; padding: 4px 18px; background: linear-gradient(90deg, var(--pink), rgba(217, 96, 110, .5) 60%, transparent); color: #fff; font-family: var(--latin); font-size: 1.4rem; letter-spacing: .02em; }
.wj-letter__head { display: flex; gap: 16px; align-items: center; padding: 0 20px 10px; }
.wj-letter__head img { width: 78px; box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .6); }
.wj-letter__kind { margin: 0; color: var(--pink); font-weight: 700; letter-spacing: .3em; }
.wj-letter__who { margin: 0; font-size: 1.1rem; font-weight: 700; }
.wj-letter__en { margin: 0; color: var(--ink-soft); font-family: var(--latin); font-size: 1rem; }
.wj-letter__body { padding: 0 22px; font-family: var(--latin); font-size: 1.12rem; line-height: 1.65; }
.wj-letter__body p { margin: 0 0 .7em; text-align: justify; hyphens: auto; }
.wj-letter__date { margin: 6px 22px 0; text-align: right; color: var(--ink-soft); font-family: var(--latin); }

/* ---------- 曲目：一張節目單 ---------- */
.wj-program { padding: 0 0 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px rgba(20, 30, 90, .7); }
.wj-program__bar { margin: 0 0 18px; padding: 8px 0; background: linear-gradient(90deg, #233a9a, #4b62c8 50%, #9aa8ea); color: #fff; font-family: var(--latin); font-size: 1.3rem; font-weight: 500; letter-spacing: .3em; text-align: center; }
.wj-pieces { margin: 0; padding: 0 clamp(16px, 5vw, 40px); list-style: none; }
.wj-piece { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 9px 0 9px 26px; position: relative; }
.wj-piece::before { content: "✤"; position: absolute; left: 0; top: 9px; color: var(--blue); }
.wj-piece__en { font-family: var(--latin); font-size: 1.22rem; font-weight: 500; line-height: 1.35; }
.wj-piece__by { color: var(--ink-soft); font-family: var(--latin); font-size: 1.05rem; text-align: right; }
.wj-piece__zh { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; }
.wj-stars { display: flex; justify-content: space-around; margin: 6px 20% 10px; color: var(--blue); font-size: 1.3rem; }
.wj-stars i { font-style: normal; }
.wj-encore { margin: 14px clamp(16px, 5vw, 40px) 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .98rem; }
.wj-encore span { font-family: var(--latin); font-size: 1.05rem; }

/* ---------- 兩個樂團 ---------- */
.wj-band { margin: 0 0 30px; padding: 22px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(20, 30, 90, .7); }
.wj-band__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.wj-band__flag { width: 56px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.wj-band__head h3 { margin: 0; font-size: 1.3rem; }
.wj-band__head p { margin: 0; color: var(--ink-soft); font-family: var(--latin); font-size: 1.1rem; }
.wj-band__people { display: flex; gap: 14px; margin-bottom: 14px; }
.wj-band__people figure { margin: 0; width: 110px; }
.wj-band__people img { box-shadow: 0 8px 14px -10px rgba(0, 0, 0, .6); }
.wj-band__people figcaption { padding-top: 4px; font-size: .92rem; text-align: center; }
.wj-band__people a { text-decoration: none; border-bottom: 1px solid var(--blue-2); }
.wj-band__photo { margin: 0 0 14px; }
.wj-band__text p { margin: 0 0 .8em; text-align: justify; word-break: keep-all; }
.wj-band__plan-h { margin: 16px 0 6px; font-weight: 700; }
.wj-band__plan { margin: 0; padding-left: 1.2em; }
.wj-units { display: grid; gap: 4px; margin: 0; padding: 16px 20px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px var(--line); }
.wj-units div { display: grid; grid-template-columns: 7em 1fr; gap: 10px; }
.wj-units dt { color: var(--ink-soft); }
.wj-units dd { margin: 0; }

/* ---------- 原版節目單 ---------- */
.wj-scans { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.wj-scans a { display: block; box-shadow: 0 0 0 1px var(--line), 0 12px 20px -14px rgba(0, 0, 0, .6); cursor: zoom-in; }
.wj-links { margin: 26px 0 60px; }
.wj-links a { display: inline-block; padding: 8px 22px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; letter-spacing: .12em; }
.wj-box { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(15, 20, 50, .9); }
.wj-box[hidden] { display: none; }
.wj-box img { max-height: 92svh; width: auto; }
.wj-box button { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); font-size: 1.6rem; cursor: pointer; }

@media (min-width: 900px) {
	.wj-cover { grid-template-columns: 1.05fr 1fr; min-height: calc(100svh - 52px); }
	.wj-cover__top { align-content: center; }
	.wj-cover__band { align-content: center; padding: 40px 48px; }
	.wj-cover__photo { width: 100%; height: auto; margin: 0 0 22px; -webkit-mask: none; mask: none; box-shadow: 0 0 0 6px rgba(255, 255, 255, .85), 0 30px 50px -30px rgba(0, 0, 0, .8); }
	.wj-cover__cond { right: auto; left: calc(52.5% - 70px); bottom: 40px; }
	.wj-letters { grid-template-columns: 1fr 1fr; align-items: start; }
	.wj-bands { display: grid; }
	.wj-plum { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; }
}
