/* Akira iPAS 資安互動式考證地圖 — 設計語言沿用 AKIRAI（膠囊按鈕、圓形節點、流動虛線），主色改為資安系的綠藍靛 */
:root {
  --bg: #f5f5f5;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --line: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --header-grad: linear-gradient(90deg, #10B981, #0EA5E9, #6366F1);
  --tab-active: linear-gradient(135deg, #0EA5E9, #6366F1);
  --cta: linear-gradient(135deg, #0EA5E9, #6366F1);
  --heat: #F97316;
  --header-h: 62px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans TC', 'Microsoft JhengHei', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: #0369a1; }
button { font-family: inherit; }
.hidden { display: none !important; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-grad); box-shadow: 0 2px 10px var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); padding: 8px 20px; }
.header-side { display: flex; align-items: center; gap: 8px; flex: 1 1 0; }
.header-right { justify-content: flex-end; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: 0 1 auto; min-width: 0; }
.brand-shield { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-title { font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.brand-tag { display: inline-block; background: #fff; color: #0f766e; font-size: .78rem; font-weight: 800; padding: 1px 8px; border-radius: 6px; margin-right: 8px; transform: rotate(-4deg) translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.brand-sub { font-size: .76rem; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 2px solid rgba(255,255,255,.55); border-radius: 20px; padding: 7px 14px; font-size: .88rem; font-weight: 700; color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.14); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hbtn:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0,0,0,.22); }
.hbtn:active { transform: translateY(0); }
.hbtn-bank { background: linear-gradient(135deg, #F97316, #EF4444); }
.hbtn-ai { background: linear-gradient(135deg, #C084FC, #818CF8); }
.hbtn-heat { background: rgba(255,255,255,.2); }
.hbtn-heat::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #fde68a; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.hbtn-heat[aria-pressed="true"] { background: linear-gradient(135deg, #F97316, #EA580C); border-color: #fff; }
.hbtn-heat[aria-pressed="true"]::before { background: #fff; }
.hbtn-icon { width: 38px; height: 38px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #0369a1; }

.search-pop { position: absolute; right: 20px; top: calc(100% + 6px); width: min(420px, calc(100vw - 32px)); background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 10px; z-index: 60; }
.search-pop input { width: 100%; border: 2px solid #bae6fd; border-radius: 20px; padding: 9px 16px; font-size: .95rem; outline: none; }
.search-pop input:focus { border-color: #0EA5E9; }
.search-results { max-height: 60vh; overflow-y: auto; margin-top: 6px; }
.sr-item { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 10px; cursor: pointer; color: var(--text); }
.sr-item:hover, .sr-item.active { background: #f0f9ff; }
.sr-item b { font-size: .95rem; }
.sr-item .sr-meta { display: block; font-size: .75rem; color: var(--text-light); }
.sr-empty { padding: 10px; color: var(--text-light); font-size: .88rem; }

/* ===== Tabs ===== */
.tab-bar { display: flex; justify-content: center; gap: 8px; padding: 12px 16px 0; background: var(--white); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn { position: relative; border: 0; border-radius: 12px 12px 0 0; padding: 9px 18px 8px; background: #eef2f6; color: #475467; font-size: 1rem; font-weight: 800; cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, transform .2s ease; }
.tab-btn:hover { background: #e0f2fe; color: #0369a1; }
.tab-btn .lv { display: inline-block; font-size: .68rem; font-weight: 800; padding: 1px 6px; border-radius: 8px; margin-right: 6px; vertical-align: 2px; background: #fff; color: #64748b; }
.tab-btn .lv.jr { color: #059669; }
.tab-btn .lv.mid { color: #7c3aed; }
.tab-btn.active { background: var(--tab-active); color: #fff; box-shadow: 0 -2px 10px rgba(14,165,233,.25); }
.tab-btn.active .lv { background: rgba(255,255,255,.25); color: #fff; }

.mobile-bar { display: none; gap: 8px; padding: 10px 12px; background: var(--white); border-bottom: 1px solid var(--line); }
.mobile-bar select { flex: 1 1 0; min-width: 0; font-size: .95rem; padding: 8px 10px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: var(--text); }

.sub-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 16px; }
.pill { border: 0; border-radius: 20px; padding: 7px 15px; font-size: .9rem; font-weight: 700; color: #fff; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.12); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.pill .w { font-size: .72rem; opacity: .9; margin-left: 4px; font-weight: 600; }
.pill.all { background: #64748b; }

/* ===== Map ===== */
.map-wrap { position: relative; }
.map { width: 100%; height: 640px; background: var(--bg); overflow: hidden; cursor: grab; touch-action: none; }
.map:active { cursor: grabbing; }
.map svg { display: block; }
.region-rect { fill-opacity: .09; stroke-opacity: .28; stroke-width: 1.5; }
.region-title { font-size: 16px; font-weight: 800; }
.region-weight { font-size: 12px; font-weight: 700; opacity: .85; }
.link { fill: none; stroke: #94a3b8; stroke-width: 1.6; stroke-dasharray: 10 5; animation: flow 1.4s linear infinite; }
.link.chain { stroke: #0EA5E9; stroke-width: 2.2; stroke-dasharray: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -15; } }
@keyframes pulse { 0%, 100% { stroke-opacity: .45; } 50% { stroke-opacity: 1; } }
.node { cursor: pointer; }
.node circle.dot { stroke: #fff; stroke-width: 2.5; transition: r .2s ease; filter: drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.node:hover circle.dot { filter: drop-shadow(0 6px 10px rgba(0,0,0,.28)); }
.node text.lbl { font-size: 12px; fill: #334155; font-weight: 600; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.node.sec text.lbl { font-size: 12.5px; font-weight: 800; }
.node text.ico { fill: #fff; font-size: 15px; font-weight: 800; pointer-events: none; }
.node text.check { fill: #fff; font-size: 16px; font-weight: 900; pointer-events: none; display: none; }
.node.done text.check { display: block; }
.node.done text.ico { display: none; }
.node.done circle.dot { stroke: #22c55e; stroke-width: 3.5; }
.node .badge { display: none; pointer-events: none; }
.heat-on .node .badge { display: block; }
.badge circle { fill: var(--heat); stroke: #fff; stroke-width: 2; }
.badge text { fill: #fff; font-size: 11px; font-weight: 800; }
.heat-on .node.cold { opacity: .38; }
.node.hit circle.dot { animation: glow 1.2s ease-in-out infinite; }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 2px #facc15); } 50% { filter: drop-shadow(0 0 12px #facc15) drop-shadow(0 0 4px #f59e0b); } }

.map-tools { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.map-tools button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #334155; font-size: 1.15rem; font-weight: 800; cursor: pointer; box-shadow: 0 3px 10px var(--shadow); transition: transform .2s ease; }
.map-tools button:hover { transform: translateY(-2px); }
.progress-chip { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.95); border-radius: 20px; padding: 6px 14px; font-size: .82rem; font-weight: 700; color: #475467; box-shadow: 0 3px 10px var(--shadow); }
.progress-chip .bar { display: inline-block; width: 80px; height: 7px; border-radius: 4px; background: #e2e8f0; margin-left: 8px; vertical-align: 1px; overflow: hidden; }
.progress-chip .bar i { display: block; height: 100%; background: linear-gradient(90deg, #10B981, #0EA5E9); }
.heat-legend { position: absolute; left: 16px; bottom: 16px; max-width: min(340px, calc(100% - 84px)); background: rgba(255,255,255,.96); border-radius: 14px; padding: 10px 14px; font-size: .8rem; color: #475467; box-shadow: 0 3px 10px var(--shadow); border-left: 4px solid var(--heat); }
.heat-legend b { color: #c2410c; }

.tooltip { position: fixed; z-index: 80; max-width: 280px; background: rgba(15,23,42,.92); color: #fff; font-size: .82rem; line-height: 1.5; padding: 8px 12px; border-radius: 10px; pointer-events: none; transform: translate(-50%, -100%); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.tooltip b { color: #7dd3fc; }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { position: relative; background: #fff; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,.3); width: min(760px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; transform: scale(.92); transition: transform .3s ease; }
.modal-overlay.open .modal { transform: scale(1); }
.modal-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f5f9; font-size: 1.3rem; cursor: pointer; color: #334155; z-index: 2; }
.modal-close:hover { background: #e2e8f0; }
.modal-body { overflow-y: auto; padding: 28px 32px 26px; -webkit-overflow-scrolling: touch; }
.p-crumb { font-size: .78rem; color: var(--text-light); margin-bottom: 4px; padding-right: 40px; }
.p-crumb .lvchip { display: inline-block; padding: 1px 8px; border-radius: 8px; font-weight: 800; margin-right: 6px; color: #fff; }
.p-title { font-size: 1.5rem; font-weight: 800; margin: 0; line-height: 1.35; padding-right: 40px; }
.p-en { color: var(--text-light); font-size: .9rem; margin: 2px 0 14px; }
.p-desc { font-size: 1.02rem; color: #1e293b; margin: 0 0 16px; }
.p-sec { margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--c, #0EA5E9); background: #f8fafc; border-radius: 0 12px 12px 0; }
.p-sec h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: #0f172a; }
.p-sec p { margin: 0; }
.p-sec ul { margin: 0; padding: 0; list-style: none; }
.p-sec li { position: relative; padding-left: 16px; margin: 5px 0; }
.p-sec li::before { content: '•'; position: absolute; left: 2px; color: var(--c, #0EA5E9); font-weight: 900; }
.p-sec.analogy { background: #fffbeb; border-left-color: #F59E0B; }
.p-sec.exam { background: #eff6ff; border-left-color: #3B82F6; }
.p-sec.confuse { background: #fdf2f8; border-left-color: #EC4899; }
.heat-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 4px 0 6px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.heat-card .hc-num { font-size: 1.8rem; font-weight: 900; color: #c2410c; line-height: 1; }
.heat-card .hc-lbl { font-size: .78rem; color: #7c2d12; }
.heat-card .hc-note { flex-basis: 100%; font-size: .74rem; color: #9a3412; }
.heat-card svg { display: block; }
.heat-card.none { background: #f1f5f9; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { border: 1.5px solid #cbd5e1; background: #fff; border-radius: 16px; padding: 4px 12px; font-size: .85rem; cursor: pointer; color: #334155; transition: transform .2s ease, border-color .2s ease; text-decoration: none; }
.chip:hover { transform: translateY(-2px); border-color: #0EA5E9; color: #0369a1; }
.chip .tabname { color: var(--text-light); font-size: .72rem; margin-left: 4px; }
.p-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.act { border: 0; border-radius: 20px; padding: 9px 18px; font-size: .92rem; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: transform .2s ease, box-shadow .2s ease; }
.act:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.act.primary { background: var(--cta); color: #fff; }
.act.done { background: #dcfce7; color: #166534; }
.act.todo { background: #f1f5f9; color: #334155; }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.p-sec .rank li { display: flex; align-items: center; gap: 10px; padding: 6px 0; margin: 0; border-bottom: 1px dashed #e2e8f0; }
.p-sec .rank li::before { position: static; counter-increment: r; content: counter(r); width: 24px; height: 24px; flex: none; border-radius: 50%; background: #fed7aa; color: #9a3412; font-size: .78rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.p-sec .rank li:nth-child(-n+3)::before { background: #F97316; color: #fff; }
.rank .rk-name { flex: 1 1 auto; min-width: 0; }
.rank .rk-name button { border: 0; background: none; padding: 0; color: #0369a1; font-weight: 700; cursor: pointer; font-size: .95rem; text-align: left; }
.rank .rk-name small { display: block; color: var(--text-light); font-size: .74rem; }
.rank .rk-bar { width: 90px; height: 8px; border-radius: 4px; background: #f1f5f9; flex: none; overflow: hidden; }
.rank .rk-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FDBA74, #F97316); }
.rank .rk-n { width: 42px; text-align: right; font-weight: 800; color: #c2410c; font-size: .9rem; flex: none; }
.cf-group h4 { margin: 14px 0 4px; font-size: .92rem; color: #0f172a; }
.cf-item { margin: 4px 0; font-size: .92rem; }
.cf-item button { border: 0; background: none; padding: 0; color: #0369a1; cursor: pointer; font-size: .78rem; margin-left: 4px; }
.bank-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.bank-table th, .bank-table td { padding: 6px 8px; border-bottom: 1px solid #e2e8f0; text-align: center; }
.bank-table th { background: #f1f5f9; }

/* ===== Static index ===== */
.all-topics { background: #fff; border-top: 1px solid var(--line); }
.all-inner { max-width: 1100px; margin: 0 auto; padding: 36px 20px 20px; }
.all-inner h2 { margin: 0 0 6px; font-size: 1.4rem; }
.all-lead { color: var(--text-light); margin: 0 0 18px; }
.idx-tab { border: 1px solid var(--line); border-radius: 16px; margin: 12px 0; background: #fff; overflow: hidden; }
.idx-tab > summary { cursor: pointer; padding: 14px 18px; font-weight: 800; font-size: 1.05rem; background: #f8fafc; list-style: none; }
.idx-tab > summary::-webkit-details-marker { display: none; }
.idx-tab > summary::after { content: '＋'; float: right; color: #94a3b8; }
.idx-tab[open] > summary::after { content: '－'; }
.idx-body { padding: 4px 18px 16px; columns: 2 320px; column-gap: 28px; }
.idx-sec { break-inside: avoid; margin: 12px 0; }
.idx-sec h3 { font-size: .98rem; margin: 0 0 4px; border-left: 4px solid var(--c); padding-left: 8px; }
.idx-sec h3 small { color: var(--text-light); font-weight: 600; margin-left: 6px; }
.idx-sec ul { margin: 0; padding-left: 18px; }
.idx-sec li { font-size: .88rem; margin: 3px 0; color: #475467; }
.idx-sec li a { font-weight: 700; text-decoration: none; }
.idx-sec li a:hover { text-decoration: underline; }
.site-footer { max-width: 1100px; margin: 0 auto; padding: 18px 20px 40px; font-size: .8rem; color: var(--text-light); }
.site-footer p { margin: 6px 0; }

/* ===== RWD ===== */
@media (max-width: 1023px) {
  .brand-title { font-size: 1.1rem; }
  .hbtn { padding: 6px 11px; font-size: .8rem; }
  .brand-sub { display: none; }
}
@media (max-width: 767px) {
  :root { --header-h: auto; }
  .header-inner { flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .header-side { display: contents; }
  .brand { order: 1; flex: 1 1 calc(100% - 52px); }
  .brand-shield { width: 30px; height: 30px; }
  .brand-title { font-size: 1rem; white-space: normal; line-height: 1.3; }
  .brand-tag { font-size: .7rem; }
  #search-btn { order: 2; flex: none; }
  .hbtn-heat { order: 3; }
  .hbtn-bank { order: 4; }
  .hbtn-ai { order: 5; }
  .hbtn { font-size: .76rem; padding: 5px 10px; flex: 1 1 0; }
  .hbtn-icon { width: 36px; height: 36px; flex: none; }
  .search-pop { right: 12px; left: 12px; width: auto; }
  .tab-bar { display: none; }
  .mobile-bar { display: flex; }
  .sub-nav { display: none; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { border-radius: 20px 20px 0 0; max-height: 92vh; width: 100%; }
  .modal-body { padding: 22px 18px 24px; }
  .p-title { font-size: 1.25rem; }
  .heat-legend { font-size: .74rem; }
  .progress-chip { font-size: .74rem; }
  .progress-chip .bar { width: 50px; }
  .rank .rk-bar { width: 50px; }
}

/* ===== 產業地圖：廠商清單與台灣標記 ===== */
.p-sec.vendors { background: #f0fdfa; border-left-color: #0f766e; }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.vchip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #cbd5e1; border-radius: 16px; padding: 4px 12px; font-size: .88rem; color: #334155; }
.vchip.tw { border-color: #0d9488; }
a.vchip { text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.vchip:hover { transform: translateY(-2px); border-color: #0EA5E9; color: #0369a1; box-shadow: 0 4px 10px rgba(14,165,233,.18); }
a.vchip .ext { font-size: .72rem; color: #94a3b8; }
a.vchip:hover .ext { color: #0369a1; }
.vchip i { font-style: normal; font-size: .68rem; font-weight: 800; color: #fff; background: #0d9488; border-radius: 8px; padding: 1px 6px; }
.v-empty { font-size: .88rem; color: var(--text-light); }
.v-note { font-size: .78rem; color: #475467; margin-top: 8px !important; }
.tw-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: #0f766e; cursor: pointer; }
.pill.tw-btn { background: #fff; color: #0f766e; border: 2px solid #0d9488; box-shadow: none; }
.pill.tw-btn.on { background: #0d9488; color: #fff; }
.mobile-bar .tw-btn { flex: none; border: 2px solid #0d9488; background: #fff; color: #0f766e; border-radius: 10px; font-weight: 700; font-size: .85rem; padding: 0 10px; }
.mobile-bar .tw-btn.on { background: #0d9488; color: #fff; }
.tw-on .node .badge { display: block; }
.tw-on .badge circle { fill: #0d9488; }
.tw-on .node.cold { opacity: .38; }

/* ===== 資安證照：考試資訊表 ===== */
.facts { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: .9rem; border-radius: 12px; overflow: hidden; background: #fffbeb; }
.facts th, .facts td { padding: 8px 12px; border-bottom: 1px solid #fde68a; text-align: left; vertical-align: top; }
.facts th { width: 7.5em; color: #92400e; font-weight: 800; white-space: nowrap; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
@media (max-width: 767px) { .facts th { width: 1%; padding-right: 8px; } .facts th, .facts td { padding-left: 10px; } }

/* ===== 互動教學入口 ===== */
.node path.play { fill: #fff; pointer-events: none; }
.node.done path.play { display: none; }
.node.has-lesson circle.dot { stroke: #fde68a; stroke-width: 3; }
.lesson-btn { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 18px; border-radius: 16px; background: linear-gradient(135deg, #0EA5E9, #6366F1); color: #fff; text-decoration: none; font-weight: 800; font-size: 1.02rem; box-shadow: 0 6px 16px rgba(99,102,241,.28); transition: transform .2s ease, box-shadow .2s ease; }
.lesson-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(99,102,241,.36); }
.lesson-btn .lb-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.lesson-btn small { display: block; font-size: .72rem; font-weight: 700; opacity: .9; letter-spacing: .06em; }

/* ===== Akira 介紹分頁（內容與樣式沿用 AKIRAI 的 Akira 分頁） ===== */
.akira-profile { padding: 40px; overflow-y: auto; -webkit-overflow-scrolling: touch; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.akira-profile[hidden] { display: none; }
.akira-intro { max-width: 900px; margin: 0 auto 40px; text-align: center; }
.akira-intro h2 { font-size: 2.5rem; margin: 0 0 20px; text-shadow: 2px 2px 4px rgba(0,0,0,.2); }
.akira-intro p { font-size: 1.1rem; line-height: 1.8; margin: 0 0 15px; }
.akira-intro .highlight { font-size: 1.3rem; font-weight: bold; color: #ffd700; margin: 20px 0; }
.akira-intro .email { font-size: 1rem; margin-top: 20px; }
.akira-intro .email a { color: #ffd700; text-decoration: none; }
.akira-intro .email a:hover { text-decoration: underline; }
.akira-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.akira-section { background: rgba(255,255,255,.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; padding: 25px; box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.akira-section h3 { font-size: 1.3rem; margin: 0 0 15px; padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,.3); }
.akira-section ul { list-style: none; padding: 0; margin: 0; }
.akira-section li { padding: 8px 0; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.akira-section li:last-child { border-bottom: none; }
.akira-section li strong { color: #ffd700; }
.cert-group { margin-bottom: 16px; }
.cert-group:last-child { margin-bottom: 0; }
.cert-vendor { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffd700; background: rgba(255,215,0,.14); border: 1px solid rgba(255,215,0,.35); border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.cert-group ul { list-style: none; padding: 0; margin: 0; }
.cert-group li { padding: 6px 0 6px 14px; font-size: .9rem; line-height: 1.55; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.cert-group li::before { content: ''; position: absolute; left: 2px; top: .95em; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
.cert-group li:last-child { border-bottom: 0; }
.cert-note { display: block; font-style: normal; font-size: .72rem; opacity: .62; letter-spacing: .02em; margin-top: 1px; }
body.is-profile .map-wrap, body.is-profile .sub-nav, body.is-profile #m-sec, body.is-profile #heat-btn, body.is-profile .heat-legend { display: none !important; }
@media (max-width: 767px) {
  .akira-profile { padding: 20px; }
  .akira-intro h2 { font-size: 1.8rem; }
  .akira-intro p { font-size: 1rem; }
  .akira-sections { grid-template-columns: 1fr; }
}

/* 熱度說明（AK-LEGEND-MINI）：顯示 3 秒後縮成角落的小圓圈；點小圓圈再展開 3 秒。
   尺寸由 JS 以 px 寫在行內樣式，這裡只負責過場與小圓圈的外觀。 */
.heat-legend { box-sizing: border-box; overflow: hidden; transition: width .45s ease, height .45s ease, padding .45s ease, border-radius .45s ease, border-left-width .45s ease, box-shadow .3s ease; }
.heat-legend.lg-fade, .heat-legend.lg-fade * { color: transparent !important; transition: color .18s ease; }
.heat-legend.lg-mini { padding: 0; border-radius: 50%; border-left-width: 0; font-size: 0; cursor: pointer; white-space: nowrap; box-shadow: 0 3px 12px rgba(249, 115, 22, .35); }
.heat-legend.lg-mini::after { content: 'i'; display: block; width: 40px; line-height: 40px; text-align: center; font: italic 700 20px/40px Georgia, 'Times New Roman', serif; color: var(--heat, #F97316); }
.heat-legend.lg-mini:hover { box-shadow: 0 4px 16px rgba(249, 115, 22, .5); }
