TowerofLondon / worksheet.html
Lashtw's picture
Upload 2 files
65dd74c verified
Raw History Blame Contribute Delete
73.7 kB
<!DOCTYPE html> <html lang="zh-TW"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>奪寶奇謀─倫敦塔大解密・探究學習單 (A4)</title> <!-- Google Fonts: Noto Serif TC + Noto Sans TC + JetBrains Mono --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Noto+Sans+TC:wght@400;500;700;800&family=Noto+Serif+TC:wght@700;900&display=swap" rel="stylesheet"> <!-- KaTeX 數學公式即時渲染引擎 --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css"> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"></script> <style> /* ======================================================== Royal Geometric Dossier / Expedition Blueprint 設計系統 嚴格單頁 A4 列印精度 + 螢幕與行動裝置響應式適配 ======================================================== */ @page { size: A4 portrait; margin: 7mm 9mm; } :root { --navy: #14264a; --navy-mid: #1e3a6d; --navy-soft: #eef2f8; --gold: #b47b1e; --gold-bright: #d97706; --gold-soft: #fef9ec; --crimson: #be123c; --crimson-soft: #fff1f2; --emerald: #047857; --emerald-soft: #ecfdf5; --ink: #1e293b; --ink-muted: #475569; --ink-dim: #64748b; --line: #cbd5e1; --line-strong: #94a3b8; --paper: #ffffff; --card-tint: #fcfbf8; --backdrop: #e6e2d8; --font-serif: "Noto Serif TC", "PMingLiU", "Songti TC", serif; --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace; } *, *::before, *::after { box-sizing: border-box; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; } html, body { margin: 0; padding: 0; font-family: var(--font-sans); background-color: var(--backdrop); background-image: radial-gradient(circle at 20% 15%, rgba(180, 123, 30, 0.08) 0%, transparent 45%), radial-gradient(circle at 80% 85%, rgba(20, 38, 74, 0.08) 0%, transparent 45%); color: var(--ink); line-height: 1.38; font-size: 9.5pt; } /* 浮動操作工具列 (置於紙張上方並支援捲動吸頂,列印時自動隱藏) */ .floating-toolbar { position: sticky; top: 10px; z-index: 999; width: fit-content; max-width: calc(100% - 20px); margin: 12px auto 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; background: rgba(20, 38, 74, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 7px 11px; border-radius: 9999px; border: 1px solid rgba(217, 119, 6, 0.45); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28); } .btn-toolbar { background: var(--navy-mid); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.16); padding: 7px 14px; min-height: 36px; font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; border-radius: 9999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease; text-decoration: none; white-space: nowrap; } .btn-toolbar:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28); background: #284b8d; } .btn-toolbar:active { transform: translateY(0) scale(0.98); } .btn-toolbar.ans-btn { background: linear-gradient(135deg, #059669, #047857); border-color: rgba(167, 243, 208, 0.35); } .btn-toolbar.ans-btn:hover { background: linear-gradient(135deg, #10b981, #059669); } .btn-toolbar.ans-btn.active-mode { background: linear-gradient(135deg, #d97706, #b45309); border-color: rgba(253, 230, 138, 0.5); } .btn-toolbar.print-btn { background: linear-gradient(135deg, #0284c7, #0369a1); } .btn-toolbar.print-btn:hover { background: linear-gradient(135deg, #0ea5e9, #0284c7); } .btn-toolbar.back-btn { background: rgba(255, 255, 255, 0.1); } /* A4 單頁主紙張容器 */ .a4-sheet { width: 210mm; height: 297mm; margin: 12px auto 24px auto; background: var(--paper); padding: 6.5mm 9mm; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.08); border-radius: 2px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.8mm; overflow: hidden; position: relative; } /* 頁首 Masthead */ .sheet-header { display: flex; justify-content: space-between; align-items: center; gap: 8mm; padding-bottom: 2mm; border-bottom: 2.2px solid var(--navy); box-shadow: 0 3px 0 -1px #ffffff, 0 4.2px 0 -1px var(--gold); margin-bottom: 0.6mm; } .masthead-left { display: flex; align-items: center; gap: 3mm; } .masthead-logo { width: 11mm; height: 11mm; border-radius: 6px; object-fit: cover; border: 1.4px solid var(--gold); box-shadow: 0 2px 6px rgba(20, 38, 74, 0.22); flex-shrink: 0; display: block; } .masthead-titles h1 { margin: 0; font-family: var(--font-serif); font-size: 17pt; font-weight: 900; color: var(--navy); letter-spacing: 0.5px; line-height: 1.15; } .meta-fields { display: flex; align-items: flex-end; gap: 3.5mm; font-size: 8.8pt; font-weight: 700; color: var(--ink); white-space: nowrap; } .meta-field { display: inline-flex; align-items: flex-end; gap: 2px; } .meta-line { display: inline-block; border-bottom: 1.3px solid var(--navy); width: 17mm; height: 12px; } .meta-line.short { width: 12mm; } /* 步驟區塊卡片 */ .step-section { border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 2mm 3.2mm 2.2mm 3.2mm; position: relative; } .step-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-bottom: 1.2mm; margin-bottom: 1.6mm; border-bottom: 1px solid #e2e8f0; } .step-title-wrap { display: flex; align-items: center; gap: 6px; } .step-badge { font-family: var(--font-mono); font-size: 7.2pt; font-weight: 700; letter-spacing: 0.6px; background: var(--navy); color: #ffffff; padding: 1.5px 6.5px; border-radius: 4px; border-left: 3px solid var(--gold-bright); } .step-title { margin: 0; font-family: var(--font-serif); font-size: 10.8pt; font-weight: 900; color: var(--navy); letter-spacing: 0.2px; } .step-tag { font-size: 7.2pt; font-weight: 600; color: var(--ink-dim); background: var(--navy-soft); padding: 1.5px 7px; border-radius: 9999px; } /* ======================================================== 第一步:四種堆疊配置 (A)(B)(C)(D) ======================================================== */ .configs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3mm; margin-bottom: 2.3mm; } .config-card { border: 1.2px solid var(--line); border-radius: 5px; background: var(--card-tint); padding: 1.6mm 2mm 1.8mm 2mm; display: flex; flex-direction: column; align-items: center; position: relative; transition: border-color 0.2s ease; } .config-card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1mm; } .config-letter { font-family: var(--font-mono); font-size: 9pt; font-weight: 700; color: var(--navy); background: #ffffff; border: 1.2px solid var(--navy); border-radius: 4px; padding: 0 5px; line-height: 1.45; } .config-teacher-tag { font-size: 6.8pt; font-weight: 700; color: var(--emerald); background: var(--emerald-soft); border: 1px solid #a7f3d0; border-radius: 3px; padding: 0.5px 4px; } .config-img-wrap { width: 100%; height: 27mm; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0.8mm; } .config-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; } .step1-questions { background: var(--navy-soft); border: 1px solid #d5dfef; border-left: 3.5px solid var(--navy); border-radius: 4px; padding: 2mm 3mm; display: flex; flex-direction: column; gap: 1.8mm; } .q-inline-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; font-size: 8.8pt; font-weight: 600; color: var(--ink); } .write-blank-line { flex: 1; min-width: 50mm; border-bottom: 1.3px solid var(--ink-muted); height: 4.6mm; display: inline-flex; align-items: flex-end; padding: 0 4px 0.5px 4px; } /* ======================================================== 第二步:觀察轉動方式 ======================================================== */ .step2-row { display: flex; align-items: center; justify-content: space-between; gap: 4mm; background: var(--gold-soft); border: 1px solid #fcd34d; border-left: 3.5px solid var(--gold-bright); border-radius: 4px; padding: 2mm 3.2mm; } .step2-prompt { font-size: 9pt; font-weight: 700; color: #78350f; } .step2-answer-slot { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 8.8pt; font-weight: 700; color: var(--ink); } .num-input-box { display: inline-flex; align-items: center; justify-content: center; width: 30mm; height: 7mm; border: 1.5px solid var(--gold); border-radius: 4px; background: #ffffff; font-family: var(--font-mono); font-size: 9.2pt; font-weight: 700; } /* ======================================================== 第三步:俯視圖與幾何數值運算 ======================================================== */ .step3-top-grid { display: grid; grid-template-columns: 45mm 1fr; gap: 3.5mm; align-items: stretch; margin-bottom: 2.5mm; } .diagram-card { border: 1px solid var(--line); border-radius: 5px; background: #ffffff; padding: 1.5mm; display: flex; flex-direction: column; align-items: center; justify-content: center; } .diagram-card svg { width: 100%; max-width: 41mm; height: auto; display: block; } .diagram-caption { font-size: 7pt; font-weight: 600; color: var(--ink-dim); margin-top: 1mm; text-align: center; } .step3-q12-col { display: flex; flex-direction: column; gap: 2mm; justify-content: space-between; } .subq-box { border: 1px solid var(--line); border-radius: 5px; background: var(--card-tint); padding: 2mm 2.8mm; } .subq-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px; margin-bottom: 1.4mm; } .subq-title { font-size: 8.9pt; font-weight: 800; color: var(--navy); } .given-pills { display: flex; flex-wrap: wrap; gap: 3px; } .given-pill { font-family: var(--font-mono); font-size: 7.2pt; font-weight: 700; background: #ffffff; border: 1px solid var(--line); color: var(--navy-mid); padding: 0.8px 5px; border-radius: 3px; } .calc-workspace { min-height: 20.5mm; background-color: #ffffff; background-image: radial-gradient(#cbd5e1 0.7px, transparent 0.7px); background-size: 3.5mm 3.5mm; border: 1px dashed var(--line-strong); border-radius: 4px; padding: 1.5mm 2.3mm; display: flex; flex-direction: column; justify-content: space-between; } .calc-hint-bottom { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 3px 6px; font-size: 8.4pt; font-weight: 700; color: var(--ink-muted); margin-top: auto; } .calc-group { display: inline-flex; align-items: baseline; gap: 3px; white-space: nowrap; } .calc-ans-line { display: inline-block; width: 22mm; border-bottom: 1.3px solid var(--ink); } .calc-ans-line.short { width: 14mm; } .inequality-strip { display: flex; align-items: center; gap: 5px; padding-top: 0.5mm; } .inequality-write-area { flex: 1; border-bottom: 1.4px solid var(--ink-muted); height: 6mm; display: flex; align-items: flex-end; padding: 0 4px 1px 4px; } /* 第三步第 3 題:空白座標軸 + 交點說明 */ .step3-q3-wrapper { border: 1px solid var(--line); border-radius: 5px; background: var(--card-tint); padding: 2.2mm 2.8mm; } .q3-header-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px; margin-bottom: 2mm; } .q3-legend-note { font-size: 7.1pt; font-weight: 600; color: var(--ink-dim); background: #ffffff; border: 1px solid #e2e8f0; border-radius: 9999px; padding: 1px 7px; } .q3-main-grid { display: grid; grid-template-columns: 115mm 1fr; gap: 3.5mm; align-items: stretch; } .chart-frame { background: #ffffff; border: 1px solid var(--line); border-radius: 5px; padding: 1.5mm 2mm; display: flex; flex-direction: column; justify-content: center; } .chart-frame svg { width: 100%; height: auto; display: block; } .q3-right-col { display: flex; flex-direction: column; gap: 2mm; justify-content: space-between; } /* 數據記錄表 */ .mini-data-table { width: 100%; border-collapse: collapse; background: #ffffff; font-size: 7.6pt; border-radius: 4px; overflow: hidden; } .mini-data-table th, .mini-data-table td { border: 1px solid var(--line); padding: 1.4mm 1.5mm; text-align: center; } .mini-data-table th { background: var(--navy); color: #ffffff; font-weight: 700; font-family: var(--font-mono); font-size: 7.4pt; } .mini-data-table td.row-label { background: var(--navy-soft); font-weight: 700; color: var(--navy); text-align: left; padding-left: 2mm; white-space: nowrap; } .mini-data-table td.val-cell { height: 6.4mm; font-family: var(--font-mono); font-weight: 700; color: var(--ink); } /* 交點意義作答框 */ .meaning-box { flex: 1; background: #ffffff; border: 1px solid var(--line); border-left: 3.5px solid var(--gold-bright); border-radius: 4px; padding: 2mm 2.5mm; display: flex; flex-direction: column; justify-content: space-between; } .meaning-prompt { font-size: 8.1pt; font-weight: 700; color: var(--navy); line-height: 1.35; } .coord-blank { display: inline-block; min-width: 11mm; border-bottom: 1.3px solid var(--ink); text-align: center; font-family: var(--font-mono); } .handwriting-lines { display: flex; flex-direction: column; gap: 3.8mm; margin-top: 1.6mm; padding-bottom: 0.6mm; } .hw-line { border-bottom: 1px dashed var(--line-strong); height: 3mm; } /* 頁尾 Footer */ .sheet-footer { border-top: 1.2px solid var(--line); padding-top: 1.6mm; display: flex; justify-content: space-between; align-items: center; font-size: 7.2pt; font-weight: 600; color: var(--ink-dim); } .footer-brand { color: var(--navy); font-weight: 700; } .footer-credit { color: var(--ink-muted); font-weight: 600; } .footer-fb-link { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s ease; } .footer-fb-link:hover { color: var(--gold); } /* ======================================================== 學生空白版 vs 教師詳解版 切換邏輯 ======================================================== */ .ans-only, .ans-text { display: none; color: var(--emerald); font-weight: 800; } .svg-ans-only { display: none; } body.show-answers .ans-only { display: block; } body.show-answers .ans-text { display: inline; } body.show-answers .svg-ans-only { display: inline; } body.show-answers .blank-only { display: none !important; } body.show-answers .config-card.is-winner { border-color: var(--emerald); background: var(--emerald-soft); } /* KaTeX 微調避免撐開單頁 */ .katex { font-size: 0.98em !important; } /* ======================================================== 平板與手機響應式適配 (僅限螢幕 screen <= 820px,避免誤觸發列印 A4 版面) ======================================================== */ @media screen and (max-width: 820px) { body { padding: 8px 8px 18px 8px; } .floating-toolbar { position: sticky; top: 8px; width: 100%; max-width: 100%; margin: 0 auto 10px auto; justify-content: center; border-radius: 14px; padding: 6px 8px; } .btn-toolbar { min-height: 44px; padding: 8px 12px; font-size: 13px; } .a4-sheet { width: 100%; height: auto; max-height: none; margin: 0 auto; padding: 14px 12px; gap: 12px; overflow: visible; border-radius: 10px; } .sheet-header { flex-direction: column; align-items: flex-start; gap: 8px; } .meta-fields { width: 100%; flex-wrap: wrap; gap: 10px; } .step-header { flex-wrap: wrap; } .configs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .config-img-wrap { height: 135px; } .step2-row { flex-direction: column; align-items: flex-start; } .step3-top-grid, .q3-main-grid { grid-template-columns: 1fr; } .diagram-card svg { max-width: 210px; } .write-blank-line { min-width: 120px; } .sheet-footer { flex-direction: column; align-items: flex-start; gap: 4px; } } /* ======================================================== 列印模式 (A4 單頁嚴格鎖定) ======================================================== */ @media print { html, body { width: 192mm !important; height: 282mm !important; background: #ffffff !important; background-image: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; } .no-print { display: none !important; } .a4-sheet { width: 192mm !important; height: 282mm !important; max-height: 282mm !important; margin: 0 !important; padding: 0 !important; gap: 1.8mm !important; box-shadow: none !important; border-radius: 0 !important; overflow: hidden !important; page-break-after: avoid !important; break-after: avoid !important; page-break-inside: avoid !important; break-inside: avoid !important; } body:not(.ws-unlocked) .a4-sheet, body:not(.ws-unlocked) .worksheet-lock-overlay { display: none !important; } } /* ======================================================== 學習單進入密碼驗證遮罩 (密碼:藝數摺學) ======================================================== */ body:not(.ws-unlocked) .floating-toolbar, body:not(.ws-unlocked) .a4-sheet { display: none !important; } body.ws-unlocked .worksheet-lock-overlay { display: none !important; } .worksheet-lock-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 38, 74, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 16px; } .worksheet-lock-card { width: 100%; max-width: 400px; background: #ffffff; border: 2px solid var(--gold); border-radius: 12px; padding: 24px 22px; box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4); } .worksheet-lock-card.shake { animation: wsShake 0.36s ease; } @keyframes wsShake { 0%, 100% { transform: translateX(0); } 25%, 75% { transform: translateX(-6px); } 50% { transform: translateX(6px); } } .ws-lock-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; } .ws-lock-badge { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; } .ws-lock-title { margin: 0; font-family: var(--font-serif); font-size: 14pt; font-weight: 900; color: var(--navy); } .ws-lock-sub { margin: 2px 0 0 0; font-size: 8.8pt; color: var(--ink-muted); } .ws-lock-input-wrap { position: relative; display: flex; align-items: center; } .ws-lock-input { width: 100%; min-height: 46px; padding: 8px 44px 8px 12px; border: 1.6px solid var(--line-strong); border-radius: 7px; font-family: var(--font-sans); font-size: 10.5pt; font-weight: 600; color: var(--ink); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .ws-lock-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 38, 74, 0.14); } /* 使用 type="text" + CSS 遮罩,保留中文輸入法 (IME) 正常輸入與組字 */ .ws-lock-input.is-masked { -webkit-text-security: disc; } .ws-lock-input.is-masked::placeholder { -webkit-text-security: none; } .ws-lock-eye { position: absolute; right: 4px; width: 38px; height: 38px; border: none; background: transparent; cursor: pointer; font-size: 16px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; } .ws-lock-eye:hover { background: #f1f5f9; } .ws-lock-err { margin-top: 8px; padding: 7px 10px; border-radius: 6px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-size: 8.8pt; font-weight: 700; } .ws-lock-actions { display: flex; gap: 8px; margin-top: 14px; } .ws-lock-btn { flex: 1; min-height: 44px; border-radius: 7px; font-family: var(--font-sans); font-size: 9.8pt; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.15s ease, background-color 0.2s ease; } .ws-lock-btn-back { background: #f1f5f9; border: 1px solid var(--line); color: var(--ink); } .ws-lock-btn-back:hover { background: #e2e8f0; } .ws-lock-btn-ok { flex: 1.4; background: var(--navy); border: 1px solid var(--gold); color: #ffffff; } .ws-lock-btn-ok:hover { background: var(--navy-mid); transform: translateY(-1px); } </style> </head> <body> <!-- 學習單密碼鎖定遮罩 --> <div id="worksheet-lock-overlay" class="worksheet-lock-overlay no-print" role="dialog" aria-modal="true" aria-labelledby="ws-lock-title"> <div class="worksheet-lock-card"> <div class="ws-lock-head"> <div class="ws-lock-badge" aria-hidden="true">🔒</div> <div> <h2 id="ws-lock-title" class="ws-lock-title">開啟探究學習單</h2> <p class="ws-lock-sub">請輸入密碼以檢視與列印學習單</p> </div> </div> <form id="form-ws-lock" autocomplete="off"> <div class="ws-lock-input-wrap"> <input id="input-ws-lock-pwd" type="text" class="ws-lock-input is-masked" placeholder="請輸入密碼" aria-label="學習單密碼" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"> <button id="btn-ws-lock-eye" type="button" class="ws-lock-eye" title="顯示 / 隱藏密碼" aria-label="顯示或隱藏密碼" aria-pressed="false">👁️</button> </div> <div id="ws-lock-err" class="ws-lock-err" style="display: none;"> ❌ 密碼錯誤,請重新輸入! </div> <div class="ws-lock-actions"> <a href="index.html" class="ws-lock-btn ws-lock-btn-back">返回模擬器</a> <button type="submit" class="ws-lock-btn ws-lock-btn-ok">確認進入</button> </div> </form> </div> </div> <!-- 螢幕預覽控制列 (列印時隱藏) --> <div class="floating-toolbar no-print"> <button id="btn-toggle-ans" type="button" class="btn-toolbar ans-btn"> <svg width="15" height="15" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" /> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" /> </svg> <span id="txt-ans-mode">切換至:教師詳解版</span> </button> <button id="btn-print-sheet" type="button" class="btn-toolbar print-btn"> <svg width="15" height="15" fill="currentColor" viewBox="0 0 16 16"> <path d="M2.5 8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z" /> <path d="M5 1a2 2 0 0 0-2 2v2H2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-1h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1V3a2 2 0 0 0-2-2H5zM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2H4V3zm1 5a2 2 0 0 0-2 2v1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v-1a2 2 0 0 0-2-2H5zm7 2v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1z" /> </svg> 列印學習單 (A4) </button> <a href="index.html" class="btn-toolbar back-btn"> <svg width="15" height="15" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18" /> </svg> 返回 3D 模擬器 </a> </div> <!-- A4 學習單主頁 --> <main class="a4-sheet"> <!-- 頁首 Masthead --> <header class="sheet-header"> <div class="masthead-left"> <img src="puzzlepic.jfif" alt="倫敦塔益智盒" class="masthead-logo"> <div class="masthead-titles"> <h1>奪寶奇謀─倫敦塔大解密</h1> </div> </div> <div class="meta-fields"> <div class="meta-field">班級:<span class="meta-line short"></span></div> <div class="meta-field">姓名:<span class="meta-line"></span></div> <div class="meta-field">座號:<span class="meta-line short"></span></div> </div> </header> <!-- 第一步:觀察堆疊方式 --> <section class="step-section"> <div class="step-header"> <div class="step-title-wrap"> <span class="step-badge">STEP 01</span> <h2 class="step-title">第一步:觀察堆疊方式</h2> </div> <span class="step-tag">觀察 3D 球體排列並比較空間等價關係</span> </div> <div class="configs-grid"> <!-- (A) 2-4 配置 --> <div class="config-card"> <div class="config-card-top"> <span class="config-letter">(A)</span> <span class="config-teacher-tag ans-text" style="color: #be123c; background: #fff1f2; border-color: #fecdd3;">2-4 配置</span> </div> <div class="config-img-wrap"> <img src="images/step1_2-4.png" alt="配置 (A)"> </div> </div> <!-- (B) 3-3 正疊配置 --> <div class="config-card"> <div class="config-card-top"> <span class="config-letter">(B)</span> <span class="config-teacher-tag ans-text" style="color: #be123c; background: #fff1f2; border-color: #fecdd3;">3-3 正疊</span> </div> <div class="config-img-wrap"> <img src="images/step1_3-3正疊.png" alt="配置 (B)"> </div> </div> <!-- (C) 3-3 交錯配置 --> <div class="config-card is-winner"> <div class="config-card-top"> <span class="config-letter">(C)</span> <span class="config-teacher-tag ans-text">3-3 交錯 ★</span> </div> <div class="config-img-wrap"> <img src="images/step1_3-3交錯.png" alt="配置 (C)"> </div> </div> <!-- (D) 1-4-1 配置 --> <div class="config-card is-winner"> <div class="config-card-top"> <span class="config-letter">(D)</span> <span class="config-teacher-tag ans-text">1-4-1 ★</span> </div> <div class="config-img-wrap"> <img src="images/step1_1-4-1.png" alt="配置 (D)"> </div> </div> </div> <div class="step1-questions"> <div class="q-inline-row"> <span>1. 這些堆疊方式中,其實兩兩相同,請問相同的組合是?</span> <span class="write-blank-line"> <span class="ans-text">(A) 與 (B) 相同;(C) 與 (D) 相同(立體旋轉 90° 等價)</span> </span> </div> <div class="q-inline-row"> <span>2. 比較有機會脫出的堆疊方式是?</span> <span class="write-blank-line"> <span class="ans-text">(C) 與 (D)(即 1-4-1/3-3 交錯構型,能創造旋轉避讓空間)</span> </span> </div> </div> </section> <!-- 第二步:觀察轉動方式 --> <section class="step-section"> <div class="step-header"> <div class="step-title-wrap"> <span class="step-badge">STEP 02</span> <h2 class="step-title">第二步:觀察轉動方式</h2> </div> <span class="step-tag">固定球徑 2 cm,調整盒子內徑尋找臨界值</span> </div> <div class="step2-row"> <div class="step2-prompt"> 根據模擬器測試,當球體直徑為 2 cm 時,盒子內徑至少要多大,才能成功脫出呢? </div> <div class="step2-answer-slot"> <span>盒子內徑:</span> <span class="num-input-box"> <span class="blank-only">&nbsp;</span> <span class="ans-text">S ≥ 4.10</span> </span> <span>cm</span> </div> </div> </section> <!-- 第三步:俯視圖與幾何數值運算 --> <section class="step-section"> <div class="step-header"> <div class="step-title-wrap"> <span class="step-badge">STEP 03</span> <h2 class="step-title">第三步:俯視圖與幾何數值運算</h2> </div> <span class="step-tag">二維俯視投影・畢氏定理・函數關係作圖</span> </div> <!-- 3-1 與 3-2 --> <div class="step3-top-grid"> <!-- 左欄:二維俯視向量圖 (白底印刷高對比版) --> <div class="diagram-card"> <svg viewBox="0 0 180 180" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="倫敦塔俯視圖與對角黃線示意圖"> <defs> <radialGradient id="gradGreen" cx="35%" cy="30%" r="70%"> <stop offset="0%" stop-color="#34d399" /> <stop offset="55%" stop-color="#10b981" /> <stop offset="100%" stop-color="#065f46" /> </radialGradient> <radialGradient id="gradRed" cx="35%" cy="30%" r="70%"> <stop offset="0%" stop-color="#fb7185" /> <stop offset="55%" stop-color="#e11d48" /> <stop offset="100%" stop-color="#881337" /> </radialGradient> <radialGradient id="gradBlue" cx="35%" cy="30%" r="70%"> <stop offset="0%" stop-color="#60a5fa" /> <stop offset="55%" stop-color="#2563eb" /> <stop offset="100%" stop-color="#1e3a8a" /> </radialGradient> </defs> <!-- 淺色工程格線背景 --> <rect x="24" y="24" width="132" height="132" fill="#f8fafc" /> <g stroke="#e2e8f0" stroke-width="0.7"> <line x1="57" y1="24" x2="57" y2="156" /> <line x1="90" y1="24" x2="90" y2="156" /> <line x1="123" y1="24" x2="123" y2="156" /> <line x1="24" y1="57" x2="156" y2="57" /> <line x1="24" y1="90" x2="156" y2="90" /> <line x1="24" y1="123" x2="156" y2="123" /> </g> <!-- 盒子實心紅邊 (4cm x 4cm) --> <g stroke="#e11d48" stroke-width="3.4" stroke-linecap="square"> <!-- 上邊與下邊 --> <line x1="24" y1="24" x2="156" y2="24" /> <line x1="24" y1="156" x2="156" y2="156" /> <!-- 左邊 (留中央孔洞 y=57..123) --> <line x1="24" y1="24" x2="24" y2="57" /> <line x1="24" y1="123" x2="24" y2="156" /> <!-- 右邊 (留中央孔洞 y=57..123) --> <line x1="156" y1="24" x2="156" y2="57" /> <line x1="156" y1="123" x2="156" y2="156" /> </g> <!-- 左右圓孔開口區淡綠標示與虛線 --> <rect x="24" y="57" width="132" height="66" fill="#10b981" fill-opacity="0.06" /> <line x1="24" y1="57" x2="24" y2="123" stroke="#059669" stroke-width="2.4" stroke-dasharray="4,3" /> <line x1="156" y1="57" x2="156" y2="123" stroke="#059669" stroke-width="2.4" stroke-dasharray="4,3" /> <!-- 4 顆球 (r = 1cm => 33px, 依幾何接觸配置) --> <!-- G1 (左上綠球) --> <circle cx="57" cy="57" r="31.5" fill="url(#gradGreen)" stroke="#065f46" stroke-width="0.8" /> <text x="57" y="60.5" fill="#ffffff" font-family="JetBrains Mono, monospace" font-size="11" font-weight="700" text-anchor="middle">G1</text> <!-- G2 (右下綠球) --> <circle cx="123" cy="123" r="31.5" fill="url(#gradGreen)" stroke="#065f46" stroke-width="0.8" /> <text x="123" y="126.5" fill="#ffffff" font-family="JetBrains Mono, monospace" font-size="11" font-weight="700" text-anchor="middle">G2</text> <!-- R (右上紅球) --> <circle cx="117" cy="63" r="31.5" fill="url(#gradRed)" stroke="#881337" stroke-width="0.8" /> <text x="117" y="66.5" fill="#ffffff" font-family="JetBrains Mono, monospace" font-size="11" font-weight="700" text-anchor="middle">R</text> <!-- B (左下藍球) --> <circle cx="63" cy="117" r="31.5" fill="url(#gradBlue)" stroke="#1e3a8a" stroke-width="0.8" /> <text x="63" y="120.5" fill="#ffffff" font-family="JetBrains Mono, monospace" font-size="11" font-weight="700" text-anchor="middle">B</text> <!-- 教師版限定:直角三角形輔助虛線 --> <g class="svg-ans-only"> <line x1="24" y1="123" x2="156" y2="123" stroke="#14264a" stroke-width="1.6" stroke-dasharray="3,2" /> <line x1="156" y1="123" x2="156" y2="57" stroke="#14264a" stroke-width="1.6" stroke-dasharray="3,2" /> <polyline points="148,123 148,115 156,115" fill="none" stroke="#14264a" stroke-width="1.2" /> </g> <!-- 黃色對角逃脫線 (連接左孔下緣與右孔上緣) --> <line x1="24" y1="123" x2="156" y2="57" stroke="#ffffff" stroke-width="4.2" stroke-opacity="0.7" stroke-dasharray="5,3" /> <line x1="24" y1="123" x2="156" y2="57" stroke="#f59e0b" stroke-width="2.6" stroke-dasharray="5,3" /> <circle cx="24" cy="123" r="3.6" fill="#ffffff" stroke="#b45309" stroke-width="1.8" /> <circle cx="156" cy="57" r="3.6" fill="#ffffff" stroke="#b45309" stroke-width="1.8" /> <!-- 外圍尺寸標註 (底邊 4cm, 右側孔洞 2cm) --> <g stroke="#64748b" stroke-width="0.9"> <line x1="24" y1="164" x2="156" y2="164" /> <line x1="24" y1="161" x2="24" y2="167" /> <line x1="156" y1="161" x2="156" y2="167" /> <line x1="165" y1="57" x2="165" y2="123" /> <line x1="162" y1="57" x2="168" y2="57" /> <line x1="162" y1="123" x2="168" y2="123" /> </g> <rect x="74" y="159" width="32" height="11" fill="#ffffff" /> <text x="90" y="167.5" fill="#1e293b" font-family="JetBrains Mono, monospace" font-size="8.5" font-weight="700" text-anchor="middle">4 cm</text> <rect x="157" y="84" width="21" height="12" fill="#ffffff" /> <text x="167.5" y="92.5" fill="#059669" font-family="JetBrains Mono, monospace" font-size="8" font-weight="700" text-anchor="middle">2 cm</text> </svg> <div class="diagram-caption">▲ X-Z 水平俯視圖(盒寬 4 cm・對角黃線)</div> </div> <!-- 右欄:第 1 題 + 第 2 題 --> <div class="step3-q12-col"> <!-- 第 1 題:畢氏定理計算黃線淨距 --> <div class="subq-box"> <div class="subq-title-row"> <span class="subq-title">1. 請你運用畢氏定理計算黃線淨距</span> <div class="given-pills"> <span class="given-pill">盒子內徑:4 cm</span> <span class="given-pill">孔洞大小:2 cm</span> <span class="given-pill">球體半徑:1 cm</span> </div> </div> <div class="calc-workspace"> <!-- 學生空白作答區 --> <div class="blank-only" style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end;"> <div class="calc-hint-bottom"> <span class="calc-group">答:黃線淨距 = <span class="calc-ans-line"></span> cm</span> <span class="calc-group">(約 <span class="calc-ans-line short"></span> cm)</span> </div> </div> <!-- 教師詳解 --> <div class="ans-only" style="font-size: 8.3pt; line-height: 1.5;"> <div>• 黃線總長(斜邊)$= \sqrt{4^2 + 2^2} = \sqrt{20} \approx 4.472\text{ cm}$</div> <div>• 扣除兩端各 $1$ 顆球半徑(共 $2r = 2\text{ cm}$):</div> <div>• <strong>黃線淨距 $L_{\text{net}} = \sqrt{20} - 2 \approx 2.472\text{ cm}$</strong> </div> </div> </div> </div> <!-- 第 2 題:脫出的關鍵不等式 --> <div class="subq-box"> <div class="subq-title-row" style="margin-bottom: 1mm;"> <span class="subq-title">2. 請寫出脫出的關鍵不等式</span> </div> <div class="inequality-strip"> <span style="font-size: 8.4pt; font-weight: 700; color: var(--ink-muted); white-space: nowrap;">脫出條件:</span> <div class="inequality-write-area"> <span class="ans-text" style="font-size: 9pt;"> $d_{RB} \le L_{\text{net}}$(紅藍球球心距離 $\le$ 黃線淨距) </span> </div> </div> </div> </div> </div> <!-- 3-3:空白座標軸自行作圖 + 交點意義說明 --> <div class="step3-q3-wrapper"> <div class="q3-header-bar"> <span class="subq-title">3. 請畫出「紅藍球球心距離 ($d_{RB}$)」與「黃線淨距 ($L_{\text{net}}$)」之間的關係圖,並說明交點的意義</span> <span class="q3-legend-note">作圖提示:請以不同顏色或實/虛線區分兩條關係線並標註名稱</span> </div> <div class="q3-main-grid"> <!-- 左側:空白座標軸 (僅有刻度數字、格線與 X/Y 軸標籤;教師版始繪出兩條線與交點) --> <div class="chart-frame"> <svg viewBox="0 0 460 278" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="盒子大小與距離關係空白座標軸"> <defs> <marker id="axisArrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"> <path d="M 0 1 L 9 5 L 0 9 z" fill="#14264a" /> </marker> </defs> <!-- 繪圖區域背景 (學生模式為純白格線) --> <rect x="56" y="22" width="382" height="214" fill="#ffffff" /> <!-- 教師版限定:左右區域底色著色 --> <g class="svg-ans-only"> <rect x="56" y="22" width="191" height="214" fill="#ffe4e6" fill-opacity="0.45" /> <rect x="247" y="22" width="191" height="214" fill="#d1fae5" fill-opacity="0.45" /> <text x="151.5" y="37" fill="#be123c" font-size="10.5" font-weight="700" text-anchor="middle">卡死區 (d_RB &gt; 黃線淨距)</text> <text x="342.5" y="37" fill="#047857" font-size="10.5" font-weight="700" text-anchor="middle">脫出區 (d_RB ≤ 黃線淨距)</text> </g> <!-- 次格線 (Y 每 0.025 cm;X 每 0.01 cm) --> <g stroke="#e2e8f0" stroke-width="0.65"> <!-- Horizontal minor gridlines --> <line x1="56" y1="39.83" x2="438" y2="39.83" /> <line x1="56" y1="75.50" x2="438" y2="75.50" /> <line x1="56" y1="111.17" x2="438" y2="111.17" /> <line x1="56" y1="146.83" x2="438" y2="146.83" /> <line x1="56" y1="182.50" x2="438" y2="182.50" /> <line x1="56" y1="218.17" x2="438" y2="218.17" /> <!-- Vertical minor gridlines --> <line x1="75.10" y1="22" x2="75.10" y2="236" /> <line x1="94.20" y1="22" x2="94.20" y2="236" /> <line x1="113.30" y1="22" x2="113.30" y2="236" /> <line x1="132.40" y1="22" x2="132.40" y2="236" /> <line x1="170.60" y1="22" x2="170.60" y2="236" /> <line x1="189.70" y1="22" x2="189.70" y2="236" /> <line x1="208.80" y1="22" x2="208.80" y2="236" /> <line x1="227.90" y1="22" x2="227.90" y2="236" /> <line x1="266.10" y1="22" x2="266.10" y2="236" /> <line x1="285.20" y1="22" x2="285.20" y2="236" /> <line x1="304.30" y1="22" x2="304.30" y2="236" /> <line x1="323.40" y1="22" x2="323.40" y2="236" /> <line x1="361.60" y1="22" x2="361.60" y2="236" /> <line x1="380.70" y1="22" x2="380.70" y2="236" /> <line x1="399.80" y1="22" x2="399.80" y2="236" /> <line x1="418.90" y1="22" x2="418.90" y2="236" /> </g> <!-- 主格線 (Y 每 0.05 cm;X 每 0.05 cm) --> <g stroke="#cbd5e1" stroke-width="1.05"> <line x1="56" y1="22.00" x2="438" y2="22.00" /> <line x1="56" y1="57.67" x2="438" y2="57.67" /> <line x1="56" y1="93.33" x2="438" y2="93.33" /> <line x1="56" y1="129.00" x2="438" y2="129.00" /> <line x1="56" y1="164.67" x2="438" y2="164.67" /> <line x1="56" y1="200.33" x2="438" y2="200.33" /> <line x1="151.50" y1="22" x2="151.50" y2="236" /> <line x1="247.00" y1="22" x2="247.00" y2="236" /> <line x1="342.50" y1="22" x2="342.50" y2="236" /> <line x1="438.00" y1="22" x2="438.00" y2="236" /> </g> <!-- 外框細線 (右側與頂部閉合) --> <line x1="438" y1="22" x2="438" y2="236" stroke="#cbd5e1" stroke-width="1" /> <line x1="56" y1="22" x2="438" y2="22" stroke="#cbd5e1" stroke-width="1" /> <!-- X 軸與 Y 軸主線 (帶箭頭) --> <line x1="56" y1="236" x2="56" y2="12" stroke="#14264a" stroke-width="1.8" marker-end="url(#axisArrow)" /> <line x1="56" y1="236" x2="450" y2="236" stroke="#14264a" stroke-width="1.8" marker-end="url(#axisArrow)" /> <!-- Y 軸刻度線與數字 (2.40 ~ 2.70) --> <g stroke="#14264a" stroke-width="1.3"> <line x1="51" y1="22.00" x2="56" y2="22.00" /> <line x1="51" y1="57.67" x2="56" y2="57.67" /> <line x1="51" y1="93.33" x2="56" y2="93.33" /> <line x1="51" y1="129.00" x2="56" y2="129.00" /> <line x1="51" y1="164.67" x2="56" y2="164.67" /> <line x1="51" y1="200.33" x2="56" y2="200.33" /> <line x1="51" y1="236.00" x2="56" y2="236.00" /> </g> <g fill="#1e293b" font-family="JetBrains Mono, monospace" font-size="11" font-weight="700" text-anchor="end"> <text x="47" y="26.00">2.70</text> <text x="47" y="61.67">2.65</text> <text x="47" y="97.33">2.60</text> <text x="47" y="133.00">2.55</text> <text x="47" y="168.67">2.50</text> <text x="47" y="204.33">2.45</text> <text x="47" y="240.00">2.40</text> </g> <!-- X 軸刻度線與數字 (4.00 ~ 4.20) --> <g stroke="#14264a" stroke-width="1.3"> <line x1="56.00" y1="236" x2="56.00" y2="241" /> <line x1="151.50" y1="236" x2="151.50" y2="241" /> <line x1="247.00" y1="236" x2="247.00" y2="241" /> <line x1="342.50" y1="236" x2="342.50" y2="241" /> <line x1="438.00" y1="236" x2="438.00" y2="241" /> </g> <g fill="#1e293b" font-family="JetBrains Mono, monospace" font-size="11" font-weight="700" text-anchor="middle"> <text x="56.00" y="254">4.00</text> <text x="151.50" y="254">4.05</text> <text x="247.00" y="254">4.10</text> <text x="342.50" y="254">4.15</text> <text x="438.00" y="254">4.20</text> </g> <!-- 軸標題標籤 --> <text x="64" y="14" fill="#14264a" font-size="11.5" font-weight="800" text-anchor="start">距離 (cm)</text> <text x="247" y="272" fill="#14264a" font-size="11.5" font-weight="800" text-anchor="middle">盒子大小 S (cm)</text> <!-- 教師版限定:兩條函數曲線、交點與輔助線 --> <g class="svg-ans-only"> <!-- 交點垂直與水平對齊虛線 --> <line x1="247.00" y1="120.58" x2="247.00" y2="236" stroke="#047857" stroke-width="1.4" stroke-dasharray="4,3" /> <line x1="56" y1="120.58" x2="247.00" y2="120.58" stroke="#047857" stroke-width="1.4" stroke-dasharray="4,3" /> <!-- 紅藍球心距離 d_RB 曲線 --> <path d="M 56.00,25.26 L 75.10,34.34 L 94.20,43.52 L 113.30,52.79 L 132.40,62.17 L 151.50,71.64 L 170.60,81.22 L 189.70,90.90 L 208.80,100.69 L 227.90,110.58 L 247.00,120.58 L 266.10,130.70 L 285.20,140.92 L 304.30,151.26 L 323.40,161.71 L 342.50,172.29 L 361.60,182.98 L 380.70,193.80 L 399.80,204.74 L 418.90,215.81 L 438.00,227.00" fill="none" stroke="#e11d48" stroke-width="2.6" stroke-linecap="round" /> <!-- 黃線淨距 L_net 曲線 --> <path d="M 56.00,184.54 L 75.10,178.16 L 94.20,171.78 L 113.30,165.39 L 132.40,159.00 L 151.50,152.60 L 170.60,146.20 L 189.70,139.80 L 208.80,133.40 L 227.90,126.99 L 247.00,120.58 L 266.10,114.17 L 285.20,107.76 L 304.30,101.34 L 323.40,94.92 L 342.50,88.49 L 361.60,82.06 L 380.70,75.63 L 399.80,69.20 L 418.90,62.76 L 438.00,56.32" fill="none" stroke="#d97706" stroke-width="2.6" stroke-linecap="round" /> <!-- 端點標記 --> <circle cx="56" cy="25.26" r="3.5" fill="#e11d48" /> <circle cx="438" cy="227.00" r="3.5" fill="#e11d48" /> <circle cx="56" cy="184.54" r="3.5" fill="#d97706" /> <circle cx="438" cy="56.32" r="3.5" fill="#d97706" /> <!-- 線條標示 --> <text x="122" y="51" fill="#be123c" font-size="10.5" font-weight="800" transform="rotate(26 122 51)">紅藍心距 d_RB</text> <text x="348" y="81" fill="#b45309" font-size="10.5" font-weight="800" transform="rotate(-18.5 348 81)">黃線淨距 L_net</text> <!-- 黃金交叉點 (4.10, 2.562) --> <circle cx="247.00" cy="120.58" r="5.5" fill="#ffffff" stroke="#047857" stroke-width="2.6" /> <g transform="translate(247, 96)"> <rect x="-56" y="-12" width="112" height="20" rx="10" fill="#14264a" stroke="#d97706" stroke-width="1.3" /> <text x="0" y="1.5" fill="#fde68a" font-family="JetBrains Mono, monospace" font-size="9.5" font-weight="700" text-anchor="middle">交點 (4.10, 2.562)</text> <polygon points="-4,8 4,8 0,13" fill="#14264a" /> </g> </g> </svg> </div> <!-- 右側:數據紀錄表 + 交點意義說明區 --> <div class="q3-right-col"> <table class="mini-data-table" aria-label="模擬器實驗數據紀錄表"> <thead> <tr> <th>盒子內徑 S (cm)</th> <th>4.00</th> <th>4.10</th> <th>4.20</th> </tr> </thead> <tbody> <tr> <td class="row-label">紅藍心距 $d_{RB}$</td> <td class="val-cell"><span class="ans-text" style="color: #be123c;">2.695</span> </td> <td class="val-cell"><span class="ans-text" style="color: #047857;">2.562</span> </td> <td class="val-cell"><span class="ans-text" style="color: #be123c;">2.413</span> </td> </tr> <tr> <td class="row-label">黃線淨距 $L_{\text{net}}$</td> <td class="val-cell"><span class="ans-text" style="color: #b45309;">2.472</span> </td> <td class="val-cell"><span class="ans-text" style="color: #047857;">2.562</span> </td> <td class="val-cell"><span class="ans-text" style="color: #b45309;">2.652</span> </td> </tr> </tbody> </table> <div class="meaning-box"> <div class="meaning-prompt"> ★ 兩條線的交點座標約為 ( <span class="coord-blank"><span class="ans-text">4.10</span></span> , <span class="coord-blank"><span class="ans-text">2.56</span></span> ),請說明此交點代表的意義: </div> <!-- 學生空白書寫線 --> <div class="handwriting-lines blank-only"> <div class="hw-line"></div> <div class="hw-line"></div> <div class="hw-line"></div> <div class="hw-line"></div> </div> <!-- 教師詳解說明 --> <div class="ans-only" style="font-size: 7.9pt; line-height: 1.48; margin-top: 1.5mm;"> 交點 $(4.10, 2.562)$ 代表當盒子內徑 $S = 4.10\text{ cm}$ 時,<strong>紅藍球心距剛好等於黃線淨距</strong>,為球體能順利脫出的「最小臨界內徑」。交點左側($S &lt; 4.10$)因 $d_{RB} &gt; L_{\text{net}}$ 而卡死;右側($S \ge 4.10$)因 $d_{RB} \le L_{\text{net}}$ 可成功脫出。 </div> </div> </div> </div> </div> </section> <!-- 頁尾 Footer --> <footer class="sheet-footer"> <span class="footer-brand">奪寶奇謀─倫敦塔大解密・幾何探究學習單</span> <span class="footer-credit">設計者:精華國中 藍星宇老師|FB社群:<a href="https://www.facebook.com/groups/1554372228718393" target="_blank" rel="noopener noreferrer" class="footer-fb-link">萬物皆數</a></span> </footer> </main> <script> document.addEventListener('DOMContentLoaded', () => { try { const WS_PASS = '藝數摺學'; const checkAlreadyUnlocked = () => { try { if (sessionStorage.getItem('tol_ws_tab_ok') === '1') return true; const ts = localStorage.getItem('tol_ws_pass_ts'); if (ts) { localStorage.removeItem('tol_ws_pass_ts'); if (Date.now() - Number(ts) <= 30000) { sessionStorage.setItem('tol_ws_tab_ok', '1'); return true; } } } catch (err) { /* ignore storage errors */ } return false; }; const renderAllMath = () => { if (typeof window.renderMathInElement === 'function') { try { window.renderMathInElement(document.body, { delimiters: [ { left: '$$', right: '$$', display: true }, { left: '$', right: '$', display: false } ], throwOnError: false }); } catch (err) { console.warn('[KaTeX render warning]:', err); } } }; const unlockWorksheet = () => { document.body.classList.add('ws-unlocked'); renderAllMath(); }; if (checkAlreadyUnlocked()) { unlockWorksheet(); } else { const pwdInput = document.getElementById('input-ws-lock-pwd'); const eyeBtn = document.getElementById('btn-ws-lock-eye'); const errBox = document.getElementById('ws-lock-err'); const lockForm = document.getElementById('form-ws-lock'); const lockCard = document.querySelector('.worksheet-lock-card'); if (pwdInput) setTimeout(() => pwdInput.focus(), 40); if (eyeBtn && pwdInput) { eyeBtn.addEventListener('click', () => { pwdInput.classList.toggle('is-masked'); const show = !pwdInput.classList.contains('is-masked'); eyeBtn.innerText = show ? '🙈' : '👁️'; eyeBtn.setAttribute('aria-pressed', String(show)); pwdInput.focus(); }); } if (pwdInput) { // 防止中文輸入法 (IME) 按 Enter 選字上屏時誤觸發送表單 pwdInput.addEventListener('keydown', (e) => { if (e.key === 'Enter' && (e.isComposing || e.keyCode === 229)) { e.preventDefault(); } }); } if (lockForm) { lockForm.addEventListener('submit', (e) => { e.preventDefault(); const val = (pwdInput?.value || '').trim(); if (val === WS_PASS) { try { sessionStorage.setItem('tol_ws_tab_ok', '1'); } catch (err) { /* ignore */ } unlockWorksheet(); } else { if (errBox) errBox.style.display = 'block'; if (lockCard) { lockCard.classList.remove('shake'); void lockCard.offsetWidth; lockCard.classList.add('shake'); } if (pwdInput) { pwdInput.focus(); pwdInput.select(); } } }); } } let showingAnswers = false; const btnToggleAns = document.getElementById('btn-toggle-ans'); const txtAnsMode = document.getElementById('txt-ans-mode'); const btnPrintSheet = document.getElementById('btn-print-sheet'); if (btnToggleAns) { btnToggleAns.addEventListener('click', () => { showingAnswers = !showingAnswers; document.body.classList.toggle('show-answers', showingAnswers); btnToggleAns.classList.toggle('active-mode', showingAnswers); if (txtAnsMode) { txtAnsMode.innerText = showingAnswers ? '切換至:學生空白版' : '切換至:教師詳解版'; } }); } if (btnPrintSheet) { btnPrintSheet.addEventListener('click', () => { window.print(); }); } renderAllMath(); window.addEventListener('load', renderAllMath); } catch (err) { console.error('[Worksheet init error]:', err); } }); </script> </body> </html>
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>奪寶奇謀─倫敦塔大解密・探究學習單 (A4)</title>
<!-- Google Fonts: Noto Serif TC + Noto Sans TC + JetBrains Mono -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Noto+Sans+TC:wght@400;500;700;800&family=Noto+Serif+TC:wght@700;900&display=swap"
rel="stylesheet">
<!-- KaTeX 數學公式即時渲染引擎 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"></script>
<style>
/* ========================================================
Royal Geometric Dossier / Expedition Blueprint 設計系統
嚴格單頁 A4 列印精度 + 螢幕與行動裝置響應式適配
======================================================== */
@page {
size: A4 portrait;
margin: 7mm 9mm;
}
:root {
--navy: #14264a;
--navy-mid: #1e3a6d;
--navy-soft: #eef2f8;
--gold: #b47b1e;
--gold-bright: #d97706;
--gold-soft: #fef9ec;
--crimson: #be123c;
--crimson-soft: #fff1f2;
--emerald: #047857;
--emerald-soft: #ecfdf5;
--ink: #1e293b;
--ink-muted: #475569;
--ink-dim: #64748b;
--line: #cbd5e1;
--line-strong: #94a3b8;
--paper: #ffffff;
--card-tint: #fcfbf8;
--backdrop: #e6e2d8;
--font-serif: "Noto Serif TC", "PMingLiU", "Songti TC", serif;
--font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
--font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
}
*,
*::before,
*::after {
box-sizing: border-box;
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
html,
body {
margin: 0;
padding: 0;
font-family: var(--font-sans);
background-color: var(--backdrop);
background-image:
radial-gradient(circle at 20% 15%, rgba(180, 123, 30, 0.08) 0%, transparent 45%),
radial-gradient(circle at 80% 85%, rgba(20, 38, 74, 0.08) 0%, transparent 45%);
color: var(--ink);
line-height: 1.38;
font-size: 9.5pt;
}
/* 浮動操作工具列 (置於紙張上方並支援捲動吸頂,列印時自動隱藏) */
.floating-toolbar {
position: sticky;
top: 10px;
z-index: 999;
width: fit-content;
max-width: calc(100% - 20px);
margin: 12px auto 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
background: rgba(20, 38, 74, 0.94);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
padding: 7px 11px;
border-radius: 9999px;
border: 1px solid rgba(217, 119, 6, 0.45);
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
}
.btn-toolbar {
background: var(--navy-mid);
color: #ffffff;