/* =========================================================
   工藝設計實驗室 craft-lab.html 專用樣式（2026.10 v2）
   風格：工廠／工程圖——深灰鋼板、混凝土灰、雷射橘；直角、裁切記號、尺寸標註、等寬字標籤。
   （與繪見故事設計繪畫實驗室的牛皮紙＋手寫字＋膠帶風格區隔）
   ========================================================= */
.cl-page, .cl-hero, .cl-lb {
	--ink: #111315; --ink-2: #474c53; --ink-3: #868b92;
	--bg: #e8e9e8; --paper: #f8f8f6; --line: #cfd2d4; --steel: #1a1d20;
	--laser: #ff4d1a; --laser-2: #ff7a4d; --metal: #5e6b78; --wood: #a5713e; --green: #3f8a64;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--r: 4px;
}
.cl-page { background: var(--bg); overflow: clip; }
.cl-page .labs-intro .labs-mono { color: var(--laser); }
.cl-page .labs-intro .labs-mono::before { background: var(--laser); }
.cl-page .labs-intro h2 { font-family: "Noto Sans TC", sans-serif; }
.cl-page .labs-intro h2 em { background: linear-gradient(transparent 58%, rgba(255, 77, 26, .32) 58%); }
.cl-page .labs-stats { border-top: 3px solid var(--ink); }
.cl-page .labs-stats div { border-right: 1px dashed var(--line); padding-left: 12px; }
.cl-page .labs-stats div:first-child { padding-left: 0; }
.cl-page .labs-stats div:last-child { border-right: 0; }
.cl-tagline { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--laser); padding: 7px 10px; }

/* ---------- 主視覺：深色鋼板＋工程圖網格 ---------- */
.cl-hero { position: relative; background: var(--steel); overflow: hidden; padding: 130px 0 90px; color: #fff; font-family: "Noto Sans TC", "PingFang TC", sans-serif; }
.cl-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.cl-hero::after { content: ""; position: absolute; right: -200px; top: -200px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 77, 26, .22), transparent 65%); pointer-events: none; }
.cl-hero-in { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 60px; align-items: center; }
.cl-kicker { display: flex; flex-wrap: wrap; gap: 0; font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.cl-kicker span { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .22); margin-right: -1px; color: rgba(255, 255, 255, .72); }
.cl-kicker span:first-child { background: var(--laser); border-color: var(--laser); color: #fff; }
.cl-title { position: relative; display: inline-block; margin: 30px 0 0; padding: 22px 30px 26px; font-family: "Noto Sans TC", sans-serif; font-weight: 900; font-size: clamp(48px, 6.2vw, 88px); line-height: 1.06; letter-spacing: .04em; color: #fff; }
.cl-cut { position: absolute; inset: 0; pointer-events: none; }
.cl-cut svg { width: 100%; height: 100%; overflow: visible; }
.cl-cut-path { fill: none; stroke: var(--laser); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 8 6; }
.cl-laser { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--laser), 0 0 22px 8px rgba(255, 77, 26, .8); left: 0; top: 0; opacity: 0; }
.cl-hero.is-cut .cl-laser { opacity: 1; }
.cl-hero-en { margin: 18px 0 0; font: 600 12.5px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--laser-2); }
.cl-hero-lead { margin: 18px 0 0; max-width: 34em; font-size: 17px; line-height: 1.95; color: rgba(255, 255, 255, .72); }
.cl-hero-lead b { color: #fff; border-bottom: 2px solid var(--laser); }
.cl-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cl-cta-main { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 24px; border-radius: var(--r); background: var(--laser); color: #fff !important; font-weight: 900; font-size: 16px; transition: background .3s, transform .3s var(--ease); }
.cl-cta-main i { font-style: normal; transition: transform .3s var(--ease); }
.cl-cta-main:hover { background: #fff; color: var(--ink) !important; }
.cl-cta-main:hover i { transform: translateX(5px); }
.cl-cta-teacher { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 6px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; font-weight: 700; transition: border-color .3s, background .3s; }
.cl-cta-teacher img { width: 42px; height: 42px; border-radius: 2px; object-fit: cover; }
.cl-cta-teacher small { display: block; font: 600 10.5px/1.3 var(--mono); letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.cl-cta-teacher i { font-style: normal; color: var(--laser-2); }
.cl-cta-teacher:hover { border-color: var(--laser); background: rgba(255, 77, 26, .1); }
.cl-crumb { margin-top: 34px; font-size: 13px; color: rgba(255, 255, 255, .45); display: flex; gap: 8px; flex-wrap: wrap; }
.cl-crumb a { color: rgba(255, 255, 255, .7) !important; }
.cl-crumb b { color: #fff; font-weight: 700; }

/* 規格表式照片排版 */
.cl-sheet { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 10px; aspect-ratio: 1 / .86; padding: 0 0 30px 30px; }
.cl-fr { position: relative; padding: 0; border: 0; overflow: hidden; background: #000; cursor: zoom-in; opacity: 0; transform: translateY(20px); animation: clIn .9s var(--ease) forwards; }
.cl-fr.f1 { grid-column: 1; grid-row: 1 / span 2; }
.cl-fr.f2 { grid-column: 2; grid-row: 1; animation-delay: .1s; }
.cl-fr.f3 { grid-column: 2; grid-row: 2 / span 2; animation-delay: .2s; }
.cl-fr.f4 { grid-column: 1; grid-row: 3; animation-delay: .3s; }
@keyframes clIn { to { opacity: 1; transform: none; } }
.cl-fr img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1s var(--ease), opacity .4s; }
.cl-fr::before, .cl-fr::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--laser); z-index: 2; transition: transform .4s var(--ease); }
.cl-fr::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; }
.cl-fr::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.cl-fr:hover img { transform: scale(1.06); opacity: 1; }
.cl-fr:hover::before { transform: translate(-4px, -4px); } .cl-fr:hover::after { transform: translate(4px, 4px); }
.cl-fr-cap { position: absolute; left: 0; bottom: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 0; background: var(--steel); color: #fff; font-size: 13px; font-weight: 700; }
.cl-fr-cap i { font: 700 11px/1 var(--mono); font-style: normal; background: var(--laser); padding: 9px 8px; margin: -7px 0; }
.cl-fr-cap em { font: 600 10px/1 var(--mono); font-style: normal; letter-spacing: .14em; color: rgba(255, 255, 255, .5); }
.cl-dim { position: absolute; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; color: var(--laser-2); }
.cl-dim b { font-weight: 600; background: var(--steel); padding: 0 8px; position: relative; }
.cl-dim-x { left: 30px; right: 0; bottom: 6px; height: 12px; display: flex; justify-content: center; align-items: center; border-left: 1px solid var(--laser-2); border-right: 1px solid var(--laser-2); }
.cl-dim-x::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(255, 122, 77, .7); }
.cl-dim-y { left: 6px; top: 0; bottom: 30px; width: 12px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--laser-2); border-bottom: 1px solid var(--laser-2); }
.cl-dim-y::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px dashed rgba(255, 122, 77, .7); }
.cl-dim-y b { writing-mode: vertical-rl; padding: 8px 0; }
.cl-hero-down { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; margin-left: -.5px; background: rgba(255, 255, 255, .2); overflow: hidden; z-index: 1; }
.cl-hero-down span { position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--laser); animation: clDown 1.8s ease-in-out infinite; }
@keyframes clDown { to { top: 46px; } }

/* ---------- 頁內導覽：底線分頁 ---------- */
.cl-subnav { position: sticky; top: 70px; z-index: 30; margin: 8px 0 56px; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.cl-subnav.is-stuck { box-shadow: 0 10px 20px -16px rgba(0, 0, 0, .35); }
.cl-subnav-in { position: relative; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cl-subnav-in::-webkit-scrollbar { display: none; }
.cl-subnav a { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 18px 22px; color: var(--ink-3) !important; font-weight: 700; font-size: 15px; border-right: 1px solid var(--line); transition: color .3s, background .3s; }
.cl-subnav a:first-child { border-left: 1px solid var(--line); }
.cl-subnav a i { font: 700 11px/1 var(--mono); font-style: normal; padding: 4px 5px; border: 1px solid currentColor; }
.cl-subnav a:hover { color: var(--ink) !important; background: rgba(255, 255, 255, .5); }
.cl-subnav a.is-on { color: var(--ink) !important; background: var(--paper); }
.cl-subnav a.is-on i { background: var(--laser); border-color: var(--laser); color: #fff; }
.cl-subnav-bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--laser); transition: transform .5s var(--ease), width .5s var(--ease); }

.cl-sec { padding-bottom: 100px; scroll-margin-top: 150px; }
.cl-page .labs-section-head { border-bottom: 3px solid var(--ink); padding-bottom: 16px; }
.cl-sec .labs-section-head h3 small { display: block; color: var(--laser); margin-bottom: 10px; }
.cl-sec .labs-section-head p { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-3); }

/* ---------- 01 兩個工房 ---------- */
.cl-rooms { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: 0; margin-bottom: 52px; background: var(--paper); border: 1px solid var(--line); }
.cl-sign { margin: 0; position: relative; }
.cl-sign button { display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #ccc; }
.cl-sign img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cl-sign button:hover img { transform: scale(1.04); }
.cl-sign figcaption { position: absolute; left: 0; bottom: 0; }
.cl-room-cards { display: grid; }
.cl-room { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 24px 28px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s; }
.cl-room:last-child { border-bottom: 0; }
.cl-room::after { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 4px; background: var(--c); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.cl-room:hover { background: #fff; }
.cl-room:hover::after { transform: scaleY(1); }
.cl-room-no { display: grid; place-items: center; width: 62px; height: 62px; border: 2px solid var(--c); color: var(--c); font: 900 28px/1 "Noto Sans TC", sans-serif; transition: background .35s, color .35s; }
.cl-room:hover .cl-room-no { background: var(--c); color: #fff; }
.cl-room .labs-mono { color: var(--c); font-size: 11px; }
.cl-room h4 { margin: 4px 0 6px; font-size: 21px; font-weight: 900; color: var(--ink); }
.cl-room p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.cl-inline { color: var(--laser) !important; font-weight: 700; white-space: nowrap; margin-left: 4px; }

/* 篩選：分段按鈕 */
.cl-filter { display: inline-flex; flex-wrap: wrap; margin: 0 0 22px; border: 1px solid var(--ink); }
.cl-filter button { --c: var(--ink); appearance: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border: 0; border-right: 1px solid var(--ink); background: var(--paper); color: var(--ink-2); font: 700 14px/1 inherit; font-family: inherit; cursor: pointer; transition: background .25s, color .25s; }
.cl-filter button:last-child { border-right: 0; }
.cl-filter button::before { content: ""; width: 8px; height: 8px; background: var(--c); }
.cl-filter button[data-f="all"]::before { display: none; }
.cl-filter button small { font: 600 11px/1 var(--mono); opacity: .6; }
.cl-filter button:hover { background: #fff; color: var(--ink); }
.cl-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cl-filter button[aria-pressed="true"]::before { background: var(--laser); }

/* 設備卡：工程圖卡 */
.cl-gear { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cl-eq { position: relative; display: flex; flex-direction: column; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s; }
.cl-eq::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); z-index: 2; }
.cl-eq:hover { background: #fff; }
.cl-eq:hover::after { transform: scaleX(1); }
.cl-eq.off { display: none; }
.cl-eq.pop, .cl-w.pop { animation: clPop .5s var(--ease); }
@keyframes clPop { from { opacity: 0; transform: translateY(12px); } }
.cl-eq-ph { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ccc; cursor: zoom-in; }
.cl-eq-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1s var(--ease), filter .4s; }
.cl-eq:hover .cl-eq-ph img { transform: scale(1.06); filter: none; }
.cl-new { position: absolute; left: 0; top: 0; font: 700 10.5px/1 var(--mono); font-style: normal; letter-spacing: .12em; color: #fff; background: var(--laser); padding: 7px 9px; }
.cl-eq-ic { aspect-ratio: 4 / 3; display: grid; place-items: center; background-color: #f1f2f1;
	background-image: linear-gradient(rgba(17, 19, 21, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 19, 21, .06) 1px, transparent 1px); background-size: 16px 16px; }
.cl-eq-ic svg { width: 42%; height: auto; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; transition: transform .6s var(--ease), stroke .3s; }
.cl-eq:hover .cl-eq-ic svg { stroke: var(--c); transform: scale(1.08); }
.cl-eq-bd { padding: 16px 18px 20px; }
.cl-eq-cat { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--ink-3); }
.cl-eq-cat::before { content: ""; width: 7px; height: 7px; background: var(--c); }
.cl-eq h4 { margin: 8px 0 6px; font-size: 18px; font-weight: 900; color: var(--ink); }
.cl-eq p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }

/* 教室實景：四張等寬 */
.cl-photos { margin-top: 56px; }
.cl-photos-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cl-photos-h .labs-mono { color: var(--laser); }
.cl-photos-h p { margin: 0; font: 12px/1 var(--mono); color: var(--ink-3); }
.cl-ph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cl-ph { position: relative; padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ccc; cursor: zoom-in; }
.cl-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cl-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 12, .78), transparent 58%); }
.cl-ph span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; text-align: left; color: #fff; }
.cl-ph b { display: block; font-size: 15px; font-weight: 900; }
.cl-ph small { display: block; margin-top: 2px; font-size: 12px; opacity: .8; }
.cl-ph:hover img { transform: scale(1.06); }

/* 管理老師 */
.cl-master { margin-top: 56px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; padding: clamp(22px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); }
.cl-master-photo { margin: 0; position: relative; }
.cl-master-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cl-master-photo figcaption { position: absolute; left: 0; bottom: 0; }
.cl-master-body { padding: 0; }
.cl-master-body .labs-mono { color: var(--laser); }
.cl-master-body h4 { margin: 8px 0 0; font-size: 32px; font-weight: 900; color: var(--ink); }
.cl-master-body h4 small { font-size: 15px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.cl-master-body .quote { margin: 12px 0 0; padding-left: 14px; border-left: 3px solid var(--laser); font-size: 17px; font-weight: 700; color: var(--ink); }
.cl-master-body p { margin: 10px 0 0; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.cl-master-facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cl-master-facts li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.cl-master-facts b { font: 700 11px/1.9 var(--mono); letter-spacing: .1em; color: var(--laser); }
.cl-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; height: 42px; padding: 0 16px; border: 1px solid var(--ink); font-weight: 700; color: var(--ink) !important; transition: background .25s, color .25s; }
.cl-link i::after { content: "→"; font-style: normal; }
.cl-link:hover { background: var(--ink); color: #fff !important; }

/* ---------- 02 課程 ---------- */
.cl-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.cl-course { position: relative; padding: 30px 26px 26px; border-right: 1px solid var(--line); overflow: hidden; transition: background .35s; }
.cl-course:last-child { border-right: 0; }
.cl-course::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.cl-course:hover { background: #fff; }
.cl-course:hover::before { transform: scaleX(1); }
.cl-course-no { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .1em; color: #fff; background: var(--c); padding: 6px 8px; margin-bottom: 16px; }
.cl-course h4 { margin: 0; font-size: 22px; font-weight: 900; color: var(--ink); }
.cl-course p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.cl-uses { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cl-uses .labs-mono { font-size: 10.5px; color: var(--ink-3); margin-right: 4px; }
.cl-uses i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 4px 9px; }

/* ---------- 03 雷射雕刻專區 ---------- */
.cl-machines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.cl-machine { display: flex; flex-direction: column; }
.cl-machine + .cl-machine { border-left: 1px solid var(--line); }
.cl-machine-ph { position: relative; padding: 0; border: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #ccc; cursor: zoom-in; }
.cl-machine-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cl-machine-ph:hover img { transform: scale(1.04); }
.cl-machine-bd { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cl-machine-bd .labs-mono { color: var(--laser); font-size: 11px; }
.cl-machine-bd h4 { margin: 6px 0 0; font-size: 28px; font-weight: 900; color: var(--ink); }
.cl-machine-bd h4 small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.cl-machine-bd > p { margin: 12px 0 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.cl-spec { margin: 16px 0 0; display: grid; border-top: 2px solid var(--ink); }
.cl-spec div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cl-spec dt { font: 700 11px/1.9 var(--mono); letter-spacing: .08em; color: var(--ink-3); }
.cl-spec dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.cl-machine-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.cl-machine-links a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--ink); color: var(--ink) !important; font-weight: 700; font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.cl-machine-links a i { font-style: normal; }
.cl-machine-links a.is-main { background: var(--laser); border-color: var(--laser); color: #fff !important; }
.cl-machine-links a:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.cl-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }

/* 操作流程：控制台 */
.cl-howto { margin-top: 48px; padding: clamp(22px, 3.4vw, 40px); background: var(--steel); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.cl-howto::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 24px 24px; }
.cl-howto::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: repeating-linear-gradient(90deg, var(--laser) 0 24px, transparent 24px 32px); }
.cl-howto > * { position: relative; }
.cl-howto-h .labs-mono { color: var(--laser-2); }
.cl-howto-h h4 { margin: 8px 0 4px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; color: #fff; }
.cl-howto-h p { margin: 0; font: 12.5px/1.6 var(--mono); color: rgba(255, 255, 255, .5); }
.cl-howto-body { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 28px; margin-top: 26px; align-items: start; }
.cl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid rgba(255, 255, 255, .14); }
.cl-steps li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
.cl-steps button { width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font-family: inherit; transition: background .3s; }
.cl-steps button:hover { background: rgba(255, 255, 255, .05); }
.cl-steps i { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .3); font: 700 14px/1 var(--mono); font-style: normal; color: #fff; transition: background .3s, border-color .3s; }
.cl-steps b { display: block; font-size: 16px; font-weight: 900; color: #fff; }
.cl-steps small { display: none; margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .7); }
.cl-steps em { display: inline-block; margin-top: 6px; font: 600 11px/1 var(--mono); font-style: normal; color: rgba(255, 255, 255, .4); }
.cl-steps button[aria-selected="true"] { background: rgba(255, 77, 26, .12); box-shadow: inset 4px 0 0 var(--laser); }
.cl-steps button[aria-selected="true"] i { background: var(--laser); border-color: var(--laser); }
.cl-steps button[aria-selected="true"] small { display: block; }
.cl-steps button.done i { border-color: var(--laser); color: var(--laser-2); }
.cl-player { position: sticky; top: 150px; }
.cl-player-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; outline: 1px solid rgba(255, 255, 255, .15); outline-offset: 6px; }
.cl-player-box video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.cl-player-cap { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.cl-player-cap .labs-mono { color: var(--laser-2); font-size: 11px; }
.cl-player-cap b { font-size: 18px; color: #fff; }
.cl-player-nav { display: flex; gap: 0; margin-top: 12px; }
.cl-player-nav button { appearance: none; height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .25); margin-right: -1px; background: transparent; color: #fff; font: 700 13.5px/1 inherit; font-family: inherit; cursor: pointer; transition: background .25s, border-color .25s; }
.cl-player-nav button:hover { background: var(--laser); border-color: var(--laser); }
.cl-player-nav button:disabled { opacity: .3; pointer-events: none; }

/* 完整影片 */
.cl-videos { margin-top: 48px; }
.cl-videos-h .labs-mono { color: var(--laser); }
.cl-videos-h h4 { margin: 6px 0 4px; font-size: 24px; font-weight: 900; color: var(--ink); }
.cl-videos-h p { margin: 0 0 18px; font: 12.5px/1.6 var(--mono); color: var(--ink-3); }
.cl-vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.cl-vcard { margin: 0; transition: background .35s; }
.cl-vcard + .cl-vcard { border-left: 1px solid var(--line); }
.cl-vcard:hover { background: #fff; }
.cl-vplay { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer; }
.cl-vplay img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1s var(--ease), opacity .3s; }
.cl-vplay:hover img { transform: scale(1.05); opacity: 1; }
.cl-vplay em { position: absolute; right: 0; bottom: 0; font: 700 12px/1 var(--mono); font-style: normal; color: #fff; background: var(--ink); padding: 7px 9px; }
.cl-vcard video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.cl-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; background: var(--laser); transition: transform .3s var(--ease); }
.cl-play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -6px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.cl-play::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(255, 77, 26, .7); animation: clRing 2s ease-out infinite; }
@keyframes clRing { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }
.cl-vplay:hover .cl-play { transform: scale(1.08); }
.cl-vcard figcaption { padding: 16px 18px 20px; }
.cl-vcard figcaption .labs-mono { color: var(--laser); font-size: 10.5px; }
.cl-vcard figcaption b { display: block; margin-top: 4px; font-size: 17px; font-weight: 900; color: var(--ink); }
.cl-vcard figcaption small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }

/* 教育訓練 */
.cl-train { margin-top: 48px; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 28px; align-items: center; }
.cl-train-txt .labs-mono { color: var(--laser); }
.cl-train-txt h4 { margin: 8px 0 8px; font-size: 26px; font-weight: 900; color: var(--ink); }
.cl-train-txt p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.cl-train-ph { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cl-train-ph button { position: relative; padding: 0; border: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #ccc; cursor: zoom-in; }
.cl-train-ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: transform 1s var(--ease), filter .4s; }
.cl-train-ph button:hover img { transform: scale(1.06); filter: none; }

/* 安全檢查 */
.cl-safe { margin-top: 64px; padding: clamp(22px, 3.4vw, 36px); background: var(--paper); border: 1px solid var(--line); position: relative; }
.cl-safe::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 10px; background: repeating-linear-gradient(-45deg, #ffb400 0 12px, var(--ink) 12px 24px); }
.cl-safe-h { margin-top: 6px; }
.cl-safe-h .labs-mono { color: var(--laser); }
.cl-safe-h h4 { margin: 6px 0 4px; font-size: 24px; font-weight: 900; color: var(--ink); }
.cl-safe-h p { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.cl-check { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cl-check li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cl-check label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; height: 100%; margin: 0; padding: 16px; cursor: pointer; font-weight: 400; transition: background .3s; }
.cl-check label:hover { background: #fff; }
.cl-check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--ink); border-radius: 0; display: grid; place-items: center; background: #fff; cursor: pointer; transition: background .25s, border-color .25s; }
.cl-check input::after { content: ""; width: 7px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .25s var(--ease); }
.cl-check input:checked { background: var(--laser); border-color: var(--laser); }
.cl-check input:checked::after { transform: rotate(45deg) scale(1); }
.cl-check input:focus-visible { outline: 3px solid rgba(255, 77, 26, .4); outline-offset: 2px; }
.cl-check label:has(input:checked) { background: rgba(255, 77, 26, .07); }
.cl-check b { display: block; font-size: 15px; font-weight: 900; color: var(--ink); }
.cl-check span { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.cl-check-bar { margin-top: 18px; height: 6px; background: var(--bg); overflow: hidden; }
.cl-check-bar i { display: block; height: 100%; width: 0; background: var(--laser); transition: width .5s var(--ease); }
.cl-check-msg { margin: 10px 0 0; font: 700 13px/1.5 var(--mono); color: var(--ink-2); }
.cl-check-msg.ok { color: var(--laser); }

/* 線上資源 */
.cl-res { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); }
.cl-res a { position: relative; display: block; padding: 18px 44px 18px 18px; background: var(--ink); color: rgba(255, 255, 255, .7) !important; border-right: 1px solid rgba(255, 255, 255, .15); transition: background .3s; }
.cl-res a:last-child { border-right: 0; }
.cl-res a:hover { background: var(--laser); }
.cl-res .labs-mono { font-size: 10.5px; color: var(--laser-2); }
.cl-res a:hover .labs-mono { color: #fff; }
.cl-res b { display: block; margin-top: 6px; font-size: 16px; color: #fff; }
.cl-res small { display: block; margin-top: 2px; font-size: 12.5px; }
.cl-res i { position: absolute; right: 18px; top: 18px; font-style: normal; color: #fff; font-size: 18px; transition: transform .3s var(--ease); }
.cl-res a:hover i { transform: translate(3px, -3px); }

/* ---------- 04 作品：統一正方形格 ---------- */
.cl-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cl-w { position: relative; padding: 0; border: 0; aspect-ratio: 1; overflow: hidden; background: #ccc; cursor: zoom-in; }
.cl-w.off { display: none; }
.cl-w img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cl-w::before, .cl-w::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid #fff; z-index: 2; opacity: 0; transition: opacity .3s, transform .4s var(--ease); }
.cl-w::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; transform: translate(6px, 6px); }
.cl-w::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; transform: translate(-6px, -6px); }
.cl-w span { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 6px 10px; background: var(--ink); font-size: 12px; font-weight: 700; color: #fff; opacity: 0; transform: translateY(100%); transition: opacity .3s, transform .35s var(--ease); }
.cl-w:hover img { transform: scale(1.06); }
.cl-w:hover::before, .cl-w:hover::after { opacity: 1; transform: none; }
.cl-w:hover span, .cl-w:focus-visible span { opacity: 1; transform: none; }

/* ---------- 結尾 ---------- */
.cl-end { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: clamp(26px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--laser); color: var(--ink-2); }
.cl-end .labs-mono { color: var(--laser); }
.cl-end h3 { margin: 8px 0; font-size: 28px; font-weight: 900; color: var(--ink); }
.cl-end p { margin: 0; font-size: 15px; line-height: 1.8; }
.cl-end-links { display: grid; border-top: 1px solid var(--ink); }
.cl-end-links a { position: relative; display: block; padding: 16px 48px 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink) !important; transition: padding .3s var(--ease), color .3s; }
.cl-end-links a:hover { padding-left: 14px; color: var(--laser) !important; }
.cl-end-links b { display: block; font-size: 16px; }
.cl-end-links small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.cl-end-links i::after { content: "→"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-style: normal; }

/* ---------- 燈箱 ---------- */
.cl-lb { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(12, 13, 14, .95); }
.cl-lb[hidden] { display: none; }
.cl-lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.cl-lb-media img, .cl-lb-media video { max-width: min(1200px, calc(100vw - 140px)); max-height: calc(100vh - 150px); display: block; background: #000; }
.cl-lb figcaption { margin-top: 12px; color: rgba(255, 255, 255, .8); font-size: 14px; text-align: center; }
.cl-lb button { position: absolute; appearance: none; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; width: 48px; height: 48px; font-size: 24px; line-height: 1; cursor: pointer; transition: background .25s, border-color .25s; }
.cl-lb button:hover { background: var(--laser); border-color: var(--laser); }
.cl-lb-x { right: 18px; top: 18px; } .cl-lb-p { left: 14px; top: 50%; margin-top: -24px; } .cl-lb-n { right: 14px; top: 50%; margin-top: -24px; }
.cl-lb.one .cl-lb-p, .cl-lb.one .cl-lb-n { display: none; }

/* ---------- 響應式 ---------- */
@media (max-width: 1100px) {
	.cl-gear { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cl-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-res a:nth-child(2) { border-right: 0; }
	.cl-res a:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.cl-check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.cl-hero { padding: 110px 0 76px; }
	.cl-hero-in { grid-template-columns: 1fr; gap: 44px; }
	.cl-sheet { max-width: 600px; }
	.cl-rooms { grid-template-columns: 1fr; }
	.cl-sign button { aspect-ratio: 16 / 9; height: auto; }
	.cl-room { border-left: 0; }
	.cl-master { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
	.cl-courses { grid-template-columns: 1fr; }
	.cl-course { border-right: 0; border-bottom: 1px solid var(--line); }
	.cl-course:last-child { border-bottom: 0; }
	.cl-machines { grid-template-columns: 1fr; }
	.cl-machine + .cl-machine { border-left: 0; border-top: 1px solid var(--line); }
	.cl-howto-body { grid-template-columns: 1fr; }
	.cl-player { position: static; order: -1; }
	.cl-ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-vgrid { grid-template-columns: 1fr 1fr; }
	.cl-vcard:nth-child(3) { grid-column: span 2; border-left: 0; border-top: 1px solid var(--line); }
	.cl-train { grid-template-columns: 1fr; }
	.cl-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cl-end { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.cl-sheet { padding: 0 0 26px 26px; }
	.cl-fr-cap { font-size: 12px; }
	.cl-fr-cap em { display: none; }
	.cl-gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-eq-bd { padding: 12px 12px 14px; }
	.cl-eq h4 { font-size: 16px; }
	.cl-eq p { font-size: 12.5px; }
	.cl-filter { display: flex; width: 100%; }
	.cl-filter button { flex: 1 1 auto; justify-content: center; padding: 0 12px; border-bottom: 1px solid var(--ink); }
	.cl-master { grid-template-columns: 1fr; gap: 20px; }
	.cl-master-photo { max-width: 140px; }
	.cl-vgrid { grid-template-columns: 1fr; }
	.cl-vcard + .cl-vcard, .cl-vcard:nth-child(3) { grid-column: auto; border-left: 0; border-top: 1px solid var(--line); }
	.cl-train-ph { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-check { grid-template-columns: 1fr; }
	.cl-res { grid-template-columns: 1fr; }
	.cl-res a { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.cl-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.cl-lb { padding: 56px 8px; }
	.cl-lb-media img, .cl-lb-media video { max-width: calc(100vw - 16px); }
	.cl-lb-p, .cl-lb-n { top: auto !important; bottom: 14px; margin-top: 0 !important; }
	.cl-room { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
	.cl-room-no { width: 46px; height: 46px; font-size: 22px; }
	.cl-subnav a { padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.cl-fr { animation: none; opacity: 1; transform: none; }
	.cl-play::after, .cl-hero-down span { animation: none; }
	.cl-laser { display: none; }
}

/* =========================================================
   v3：更多動態與雷射區操作說明
   ========================================================= */
/* 頁面閱讀進度：雷射切割線 */
.cl-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1300; pointer-events: none; }
.cl-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--laser, #ff4d1a) 0 10px, rgba(255, 77, 26, .45) 10px 14px); }
.cl-progress i::after { content: ""; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #ff4d1a, 0 0 12px 4px rgba(255, 77, 26, .8); }

/* 主視覺照片：立體視差 */
.cl-sheet { perspective: 1200px; }
.cl-fr { transition: transform .6s var(--ease); }
.cl-hero .cl-sheet.tilt .cl-fr { animation: none; opacity: 1; transform: none; }

/* 區塊標題：雷射畫線 */
.cl-page .labs-section-head { position: relative; border-bottom-color: transparent; }
.cl-page .labs-section-head::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 3px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.7, 0, .2, 1); }
.cl-page .labs-section-head::before { content: ""; position: absolute; left: 0; bottom: -6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--laser), 0 0 14px 4px rgba(255, 77, 26, .75); opacity: 0; z-index: 1; }
.cl-page .labs-section-head.in::after { transform: scaleX(1); }
.cl-page .labs-section-head.in::before { animation: clHeadDot 1.2s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes clHeadDot { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* 設備卡：聚光 */
.cl-eq-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cl-eq:hover .cl-eq-ph::after { opacity: 1; }

/* 雷射區小導覽 */
.cl-lnav { position: sticky; top: 128px; z-index: 20; display: flex; align-items: center; gap: 14px; margin: -8px 0 28px; padding: 10px 12px; background: var(--steel); color: #fff; overflow-x: auto; scrollbar-width: none; }
.cl-lnav::-webkit-scrollbar { display: none; }
.cl-lnav .labs-mono { flex: none; font-size: 10.5px; color: var(--laser-2); padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .2); }
.cl-lnav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.cl-lnav a { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; color: rgba(255, 255, 255, .7) !important; font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: background .25s, color .25s; }
.cl-lnav a i { font: 700 10.5px/1 var(--mono); font-style: normal; width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid currentColor; }
.cl-lnav a:hover { color: #fff !important; background: rgba(255, 255, 255, .08); }
.cl-lnav a.on { background: var(--laser); color: #fff !important; }
.cl-lnav a.on i { border-color: #fff; }
.cl-laser-sec [id^="l-"], .cl-laser-sec #howto { scroll-margin-top: 200px; }

/* B 選機小幫手 */
.cl-pick { margin-top: 40px; background: var(--paper); border: 1px solid var(--line); }
.cl-pick-h { padding: 24px 28px 0; }
.cl-pick-h .labs-mono, .cl-param-h .labs-mono, .cl-prep-h .labs-mono, .cl-faq-h .labs-mono { color: var(--laser); }
.cl-pick-h h4, .cl-param-h h4, .cl-prep-h h4, .cl-faq-h h4 { margin: 6px 0 4px; font-size: 24px; font-weight: 900; color: var(--ink); }
.cl-pick-h p, .cl-param-h p { margin: 0; font-size: 14px; color: var(--ink-3); }
.cl-pick-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.cl-qs { padding: 22px 28px; display: grid; gap: 18px; }
.cl-q { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cl-q legend { width: 100%; margin: 0 0 8px; padding: 0; border: 0; font-size: 15px; font-weight: 900; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.cl-q legend i { font: 700 11px/1 var(--mono); font-style: normal; color: #fff; background: var(--ink); padding: 4px 6px; }
.cl-q label { margin: 0; font-weight: 400; cursor: pointer; }
.cl-q input { position: absolute; opacity: 0; pointer-events: none; }
.cl-q span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s, transform .2s; }
.cl-q label:hover span { border-color: var(--ink); transform: translateY(-2px); }
.cl-q input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 4px 0 0 var(--laser); }
.cl-q input:focus-visible + span { outline: 3px solid rgba(255, 77, 26, .4); outline-offset: 2px; }
.cl-pick-res { position: relative; padding: 24px 26px; background: var(--steel); color: rgba(255, 255, 255, .75); display: flex; flex-direction: column; overflow: hidden; }
.cl-pick-res .labs-mono { color: var(--laser-2); font-size: 11px; }
.cl-pick-res b { margin-top: 8px; font-size: 32px; font-weight: 900; color: #fff; line-height: 1.15; transition: opacity .25s, transform .35s var(--ease); }
.cl-pick-res b.swap { opacity: 0; transform: translateY(8px); }
.cl-pick-res ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.cl-pick-res li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.7; animation: clPop .45s var(--ease) both; }
.cl-pick-res li:nth-child(2) { animation-delay: .06s; } .cl-pick-res li:nth-child(3) { animation-delay: .12s; }
.cl-pick-res li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--laser); }
.cl-pick-go { margin-top: auto; padding-top: 18px; color: var(--laser-2) !important; font-weight: 700; }
.cl-pick-res::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border: 2px dashed rgba(255, 77, 26, .35); border-radius: 50%; animation: clSpin 30s linear infinite; }
@keyframes clSpin { to { transform: rotate(360deg); } }

/* C 步驟提示 */
.cl-step-prog { margin-top: 12px; height: 3px; background: rgba(255, 255, 255, .12); }
.cl-step-prog i { display: block; height: 100%; width: 0; background: var(--laser); transition: width .25s linear; }
.cl-tip { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border: 1px dashed rgba(255, 122, 77, .5); background: rgba(255, 77, 26, .08); }
.cl-tip span { flex: none; font: 700 10.5px/1.9 var(--mono); letter-spacing: .1em; color: #fff; background: var(--laser); padding: 0 7px; }
.cl-tip b { font-size: 14.5px; font-weight: 500; line-height: 1.7; color: #fff; transition: opacity .25s; }
.cl-tip b.swap { opacity: 0; }

/* D 加工方式＋參數模擬 */
.cl-param { margin-top: 48px; padding: clamp(22px, 3.4vw, 36px); background: var(--paper); border: 1px solid var(--line); }
.cl-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--ink); }
.cl-modes button { appearance: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border: 0; border-right: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; font-family: inherit; transition: background .3s, color .3s; }
.cl-modes button:last-child { border-right: 0; }
.cl-modes svg { grid-row: span 2; width: 88px; height: 58px; background: #e9dcc8; }
.cl-modes b { font-size: 17px; font-weight: 900; }
.cl-modes small { font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.cl-modes button[aria-selected="true"] { background: var(--ink); color: #fff; }
.cl-modes button[aria-selected="true"] small { color: rgba(255, 255, 255, .65); }
.m-fill { fill: #6b4423; opacity: .28; }
.m-scan { stroke: #6b4423; stroke-width: 6; stroke-dasharray: 80 400; stroke-dashoffset: 80; }
.m-line { fill: none; stroke: #4a2c14; stroke-width: 2.5; stroke-dasharray: 260; stroke-dashoffset: 0; }
.m-cut { fill: #e9dcc8; stroke: #1d1206; stroke-width: 2.5; }
.m-cut-glow { fill: none; stroke: #ff4d1a; stroke-width: 3; stroke-dasharray: 20 200; }
.cl-modes button:hover .m-scan, .cl-modes button[aria-selected="true"] .m-scan { animation: clScan 2.4s linear infinite; }
.cl-modes button:hover .m-line, .cl-modes button[aria-selected="true"] .m-line { animation: clDraw 2.4s linear infinite; }
.cl-modes button:hover .m-cut-glow, .cl-modes button[aria-selected="true"] .m-cut-glow { animation: clOrbit 1.6s linear infinite; }
@keyframes clScan { to { stroke-dashoffset: -480; } }
@keyframes clDraw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes clOrbit { to { stroke-dashoffset: -220; } }

.cl-sim { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); }
.cl-sim-ctrl { padding: 20px 22px; display: grid; gap: 16px; align-content: start; border-right: 1px solid var(--line); background: #fff; }
.cl-sim-row { display: grid; gap: 8px; margin: 0; font-weight: 400; }
.cl-sim-row > span { display: flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.cl-sim-row output { font: 700 18px/1 var(--mono); color: var(--laser); }
.cl-sim-row select { height: 42px; padding: 0 12px; border: 1px solid var(--ink); background: #fff; font: 700 14px/1 inherit; font-family: inherit; border-radius: 0; }
.cl-sim-row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: linear-gradient(90deg, var(--laser) var(--p, 40%), var(--line) var(--p, 40%)); outline: none; cursor: pointer; }
.cl-sim-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: var(--ink); border: 3px solid var(--laser); cursor: grab; }
.cl-sim-row input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--ink); border: 3px solid var(--laser); border-radius: 0; cursor: grab; }
.cl-sim-tip { margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-2); }
.cl-sim-stage { display: grid; grid-template-rows: 1fr auto; background: var(--steel); }
.cl-board-mat { position: relative; margin: 22px; min-height: 230px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .8);
	background: repeating-linear-gradient(92deg, rgba(120, 80, 40, .1) 0 3px, transparent 3px 11px), linear-gradient(135deg, #e4cfa9, #d6bb8e); transition: background .4s; }
.cl-board-mat[data-mat="paper"] { background: linear-gradient(135deg, #f5f1ea, #e7e1d6); }
.cl-board-mat[data-mat="leather"] { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .12), transparent 50%), linear-gradient(135deg, #9a6a43, #7a5030); }
.cl-board-mat > * { grid-area: 1 / 1; }
.sim-engrave span { font: 900 clamp(46px, 7vw, 84px)/1 "Noto Sans TC", sans-serif; letter-spacing: .06em; color: rgba(60, 30, 10, var(--d, .6)); text-shadow: 0 0 var(--blur, 0px) rgba(40, 20, 5, var(--burn, 0)); transition: color .3s, text-shadow .3s; }
.sim-line { width: 160px; height: 160px; }
.sim-line path { fill: none; stroke: rgba(50, 25, 8, var(--d, .6)); stroke-width: var(--sw, 1.6); stroke-linejoin: round; transition: stroke .3s, stroke-width .3s; }
.sim-cut { position: relative; width: 150px; height: 150px; border-radius: 50%; border: 2px dashed rgba(40, 20, 5, var(--d, .5)); transition: transform .5s var(--ease), box-shadow .5s, border .3s; }
.sim-cut.through { border: 2px solid rgba(25, 12, 2, .95); transform: translate(10px, 12px) rotate(-6deg); box-shadow: 0 16px 20px -10px rgba(0, 0, 0, .6), inset 0 0 0 var(--char, 0px) rgba(30, 15, 4, .75); background: inherit; }
.sim-cut.through::before { content: ""; position: absolute; inset: -14px -16px -16px -14px; border-radius: 50%; background: rgba(0, 0, 0, .55); z-index: -1; transform: translate(-10px, -12px) rotate(6deg); }
.cl-board-mat:not([data-mode="engrave"]) .sim-engrave, .cl-board-mat:not([data-mode="line"]) .sim-line, .cl-board-mat:not([data-mode="cut"]) .sim-cut { display: none; }
.sim-laser { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #ff4d1a, 0 0 18px 6px rgba(255, 77, 26, .85); opacity: 0; pointer-events: none; }
.sim-laser.run { animation: clSimRun 1.1s ease-in-out; }
@keyframes clSimRun { 0% { opacity: 1; left: 18%; top: 30%; } 25% { left: 82%; top: 30%; } 50% { left: 18%; top: 50%; } 75% { left: 82%; top: 70%; opacity: 1; } 100% { left: 82%; top: 70%; opacity: 0; } }
.cl-sim-out { padding: 0 22px 22px; color: rgba(255, 255, 255, .72); }
.cl-sim-out .labs-mono { color: var(--laser-2); font-size: 10.5px; }
.cl-sim-out b { display: block; margin-top: 4px; font-size: 20px; font-weight: 900; color: #fff; }
.cl-sim-out p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; }
.cl-meter { position: relative; margin-top: 14px; height: 8px; display: grid; grid-template-columns: 1fr 1fr 1fr; background: linear-gradient(90deg, #6b7c8a 0 33%, #3f8a64 33% 66%, #c0392b 66%); }
.cl-meter span { padding-top: 14px; font: 600 10.5px/1 var(--mono); color: rgba(255, 255, 255, .5); text-align: center; }
.cl-meter i { position: absolute; top: -5px; left: var(--x, 50%); width: 4px; height: 18px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 2px var(--steel); transition: left .4s var(--ease); }

/* E 檔案＋材料 */
.cl-prep { margin-top: 48px; }
.cl-files { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cl-files article { position: relative; padding: 18px 16px 20px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, transform .35s var(--ease); }
.cl-files article:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 16px 24px -20px rgba(0, 0, 0, .5); z-index: 1; }
.cl-ft { display: inline-block; font: 700 10px/1 var(--mono); letter-spacing: .08em; color: #fff; background: var(--ink); padding: 5px 7px; }
.cl-files b { display: block; margin-top: 12px; font-size: 17px; font-weight: 900; color: var(--ink); }
.cl-files p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.cl-files strong { color: var(--laser); }
.cl-mat { margin-top: 24px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); }
.cl-mat-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cl-mat-top > b { font-size: 19px; font-weight: 900; color: var(--ink); }
.cl-mat-tabs { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.cl-mat-tabs button { appearance: none; height: 38px; padding: 0 14px; border: 0; border-right: 1px solid var(--ink); background: #fff; font: 700 13.5px/1 inherit; font-family: inherit; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.cl-mat-tabs button:last-child { border-right: 0; }
.cl-mat-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cl-mat-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cl-mat-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-items: start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-left-width: 4px; transition: transform .3s var(--ease), opacity .3s; }
.cl-mat-list li[data-k="ok"] { border-left-color: var(--green); }
.cl-mat-list li[data-k="eng"] { border-left-color: #e0a100; }
.cl-mat-list li[data-k="no"] { border-left-color: #c0392b; background: #fff7f5; }
.cl-mat-list li:hover { transform: translateX(4px); }
.cl-mat-list li.off { display: none; }
.cl-mat-list li.pop { animation: clPop .4s var(--ease); }
.cl-mat-list i { grid-row: span 2; width: 30px; height: 30px; display: grid; place-items: center; font-style: normal; font-weight: 900; color: #fff; }
.cl-mat-list li[data-k="ok"] i { background: var(--green); } .cl-mat-list li[data-k="eng"] i { background: #e0a100; } .cl-mat-list li[data-k="no"] i { background: #c0392b; }
.cl-mat-list b { font-size: 15px; font-weight: 900; color: var(--ink); }
.cl-mat-list small { font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }

/* G 常見問題 */
.cl-faq { margin-top: 48px; }
.cl-faq-list { margin-top: 16px; border-top: 2px solid var(--ink); }
.cl-faq details { border-bottom: 1px solid var(--line); background: var(--paper); transition: background .3s; }
.cl-faq details[open] { background: #fff; }
.cl-faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; font-size: 16px; font-weight: 900; color: var(--ink); }
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary i { font: 700 11px/1 var(--mono); font-style: normal; color: var(--laser); border: 1px solid var(--laser); padding: 5px 6px; }
.cl-faq summary::after { content: "+"; margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ink); font: 400 20px/1 var(--mono); transition: transform .35s var(--ease), background .25s, color .25s; }
.cl-faq details[open] summary::after { transform: rotate(45deg); background: var(--laser); border-color: var(--laser); color: #fff; }
.cl-faq summary:hover { color: var(--laser); }
.cl-faq details > div { padding: 0 18px 18px 64px; animation: clPop .4s var(--ease); }
.cl-faq details p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.cl-faq details p b { color: var(--ink); border-bottom: 2px solid rgba(255, 77, 26, .5); }

@media (max-width: 1100px) {
	.cl-files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cl-mat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.cl-pick-body { grid-template-columns: 1fr; }
	.cl-modes { grid-template-columns: 1fr; }
	.cl-modes button { border-right: 0; border-bottom: 1px solid var(--ink); }
	.cl-modes button:last-child { border-bottom: 0; }
	.cl-sim { grid-template-columns: 1fr; }
	.cl-sim-ctrl { border-right: 0; border-bottom: 1px solid var(--line); }
	.cl-lnav { top: 126px; }
}
@media (max-width: 680px) {
	.cl-lnav { margin-left: -16px; margin-right: -16px; }
	.cl-lnav .labs-mono { display: none; }
	.cl-files { grid-template-columns: 1fr 1fr; }
	.cl-mat-list { grid-template-columns: 1fr; }
	.cl-faq details > div { padding-left: 18px; }
	.cl-qs, .cl-pick-h { padding-left: 18px; padding-right: 18px; }
	.cl-board-mat { margin: 14px; min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
	.cl-page .labs-section-head::after { transition: none; transform: none; }
	.cl-page .labs-section-head.in::before, .cl-pick-res::after, .m-scan, .m-line, .m-cut-glow, .sim-laser.run { animation: none !important; }
}

/* ===== 2026-10-07：第二位管理老師、老師作品 ===== */
.cl-master-2 { margin-top: 16px; }
.cl-twall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cl-tw { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.cl-tw:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }
.cl-tw-media { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #111; cursor: zoom-in; }
.cl-tw-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cl-tw:hover .cl-tw-media img { transform: scale(1.05); }
video.cl-tw-media { object-fit: contain; cursor: auto; }
.cl-tw-tag { position: absolute; left: 0; top: 0; z-index: 2; padding: 7px 10px; background: var(--ink); font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.cl-tw-zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; background: rgba(255, 255, 255, .92); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .35s var(--ease); }
.cl-tw-zoom::before, .cl-tw-zoom::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); }
.cl-tw-zoom::before { width: 14px; height: 2px; margin: -1px 0 0 -7px; }
.cl-tw-zoom::after { width: 2px; height: 14px; margin: -7px 0 0 -1px; }
.cl-tw:hover .cl-tw-zoom, .cl-tw-media:focus-visible .cl-tw-zoom { opacity: 1; transform: none; }
.cl-tw figcaption { padding: 16px 18px 20px; border-top: 3px solid var(--laser); flex: 1; }
.cl-tw figcaption .labs-mono { color: var(--laser); font-size: 10.5px; }
.cl-tw figcaption b { display: block; margin-top: 4px; font-size: 17px; font-weight: 900; color: var(--ink); }
.cl-tw figcaption small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
/* 影片封面 */
.cl-tw-play { cursor: pointer; text-align: left; }
.cl-tw-play img { filter: saturate(.85) brightness(.75); }
.cl-tw-play:hover img { filter: saturate(1) brightness(.85); }
.cl-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 20px; background: linear-gradient(180deg, rgba(10, 10, 10, .15) 30%, rgba(10, 10, 10, .85)); color: #fff; }
.cl-cover::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(255, 255, 255, .45); pointer-events: none; }
.cl-cover-k { font: 700 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--laser-2); }
.cl-cover-t { margin-top: 8px; font-family: "Noto Serif TC", serif; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; line-height: 1.15; }
.cl-cover-s { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.cl-tw-btn { position: absolute; left: 50%; top: 40%; z-index: 2; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--laser); box-shadow: 0 10px 30px rgba(232, 80, 42, .5); transition: transform .35s var(--ease); }
.cl-tw-btn::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: clRing 2s ease-out infinite; }
.cl-tw-btn i { position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.cl-tw-play:hover .cl-tw-btn { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .cl-tw-btn::after { animation: none; } }
@media (max-width: 991px) {
	.cl-twall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.cl-tw-video { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.cl-tw-video figcaption { border-top: 0; border-left: 3px solid var(--laser); display: flex; flex-direction: column; justify-content: flex-end; }
}
@media (max-width: 560px) {
	.cl-twall { grid-template-columns: 1fr; }
	.cl-tw-video { grid-column: auto; display: flex; }
	.cl-tw-video figcaption { border-left: 0; border-top: 3px solid var(--laser); }
}
