:root {
  --bg: #ffffff; --paper: #ffffff; --ink: #192d42; --muted: #607184; --line: #dce5ed;
  --brand: #194f7e; --brand-2: #24699e; --accent: #dcebf7; --soft: #f0f6fb;
  --radius: 16px; --wrap: 820px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
a { color: var(--brand-2); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 1320px; padding: 0 32px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 9; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 3px 18px rgba(22, 61, 99, .055); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { max-width: 1320px; padding: 0 32px; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: 38px; height: 38px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.2; gap: 3px; }
.brand-copy strong { font-size: 18px; font-weight: 750; letter-spacing: .01em; }
.header-search { display: flex; align-items: stretch; width: min(320px, 28vw); margin-left: auto; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.header-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px #e7f1fa; }
.header-search input { display: block; min-width: 0; flex: 1; width: auto; border: 0; padding: 8px 11px; font: inherit; font-size: 14px; color: var(--ink); background: transparent; outline: 0; }
.header-search input::placeholder { color: #75869a; }
.header-search button { display: inline-flex; flex: none; align-items: center; gap: 7px; white-space: nowrap; border: 0; border-left: 1px solid var(--line); padding: 0 12px; background: #f0f6fb; color: var(--brand); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.header-search button:hover { background: #e2eef8; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink); font-weight: 650; font-size: 14px; text-decoration: none; }
.nav-link:hover { color: var(--brand); }
.header-login { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--ink); padding: 6px 0; }
.header-login:hover { color: var(--brand); border-color: var(--brand); }
.css-icon { display: inline-block; position: relative; flex: none; width: 14px; height: 14px; vertical-align: -2px; }
.css-icon-user::before { content: ""; position: absolute; width: 5px; height: 5px; border: 1.5px solid currentColor; border-radius: 50%; left: 4px; top: 0; }
.css-icon-user::after { content: ""; position: absolute; width: 10px; height: 5px; border: 1.5px solid currentColor; border-radius: 8px 8px 2px 2px; left: 2px; bottom: 0; }
.css-icon-arrow::before, .css-icon-external::before { content: ""; position: absolute; width: 7px; height: 7px; border-top: 1.8px solid currentColor; border-right: 1.8px solid currentColor; right: 2px; top: 2px; }
.css-icon-arrow::before { transform: rotate(45deg); top: 4px; right: 3px; }
.css-icon-arrow::after { content: ""; position: absolute; width: 10px; height: 1.8px; background: currentColor; top: 7px; left: 1px; }
.css-icon-external::after { content: ""; position: absolute; width: 8px; height: 8px; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; bottom: 1px; left: 1px; }
.css-icon-search::before { content: ""; position: absolute; width: 8px; height: 8px; border: 1.7px solid currentColor; border-radius: 50%; left: 1px; top: 1px; }
.css-icon-search::after { content: ""; position: absolute; width: 6px; height: 1.7px; background: currentColor; transform: rotate(45deg); right: 0; bottom: 1px; }
.who { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.who img { border-radius: 50%; }
.btn, .btn-ghost { display: inline-block; border-radius: 999px; padding: 9px 18px; font: inherit; font-size: 15px; cursor: pointer; text-decoration: none; }
.btn { background: var(--brand); color: #fff; border: 0; }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }

.hero { padding: 40px 0 16px; }
.hero h1 { font-size: 34px; line-height: 1.3; margin: 0 0 8px; }
.cards { list-style: none; padding: 0; display: grid; gap: 14px; }
.cards:not(.home-cards) a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); text-decoration: none; }
.cards:not(.home-cards) a:hover { border-color: var(--brand-2); }
.cards:not(.home-cards) strong { display: block; font-size: 19px; margin-bottom: 4px; }
.cards:not(.home-cards) span { color: var(--muted); font-size: 15px; }
.cards.big img { display: block; border-radius: 10px; margin-bottom: 10px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.home-hero { position: relative; background: #eff8fc; box-shadow: 0 0 0 100vmax #eff8fc; clip-path: inset(0 -100vmax); text-align: center; padding: 68px 20px 76px; }
.home-hero-inner { max-width: 900px; margin: 0 auto; }
.home-hero h1 { font-size: clamp(38px, 4.5vw, 60px); line-height: 1.25; letter-spacing: -.035em; margin: 0 0 16px; color: #183858; }
.home-hero p { font-size: clamp(17px, 1.8vw, 24px); color: #4f6478; line-height: 1.65; margin: 0; }
.home-featured { padding: 60px 0 8px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(34px, 6vw, 90px); margin-bottom: 76px; }
.feature-row:nth-child(even) .feature-visual { order: 2; }
.feature-visual { min-width: 0; min-height: 310px; background: #eef7fb; display: grid; place-items: center; padding: 24px; box-shadow: 0 12px 30px rgba(22,61,99,.095); }
.feature-visual > a { display: block; width: 100%; }
.feature-visual img { display: block; width: 100%; height: auto; }
.feature-visual.has-video { min-height: 570px; }
.feature-visual iframe, .feature-visual video { display: block; height: 520px; aspect-ratio: 9 / 16; max-width: 100%; border: 0; background: #10283f; object-fit: contain; }
.feature-copy { border-left: 5px solid var(--brand); padding-left: 28px; }
.feature-eyebrow { display: block; color: var(--brand); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.feature-copy h2 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.45; letter-spacing: -.02em; margin: 0 0 18px; }
.feature-copy h2 a { color: var(--ink); text-decoration: none; }
.feature-copy h2 a:hover { color: var(--brand); }
.feature-copy p { font-size: 16px; line-height: 1.9; color: var(--muted); margin: 0 0 24px; }
.feature-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.feature-links a { color: var(--brand); font-weight: 700; text-decoration: none; }
.feature-links a:hover { text-decoration: underline; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 26px; }
.home-section-heading h2 { font-size: 25px; margin: 0; }
.home-section-heading span { color: var(--muted); font-size: 13px; }
.home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 26px; row-gap: 44px; margin: 0 0 80px; }
.home-card { min-width: 0; background: var(--paper); display: flex; flex-direction: column; }
.home-media { min-width: 0; background: #eef7fb; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(22,61,99,.07); }
.home-media > a { display: block; width: 100%; }
.home-media img { display: block; width: 100%; height: auto; }
.home-media.has-video { height: 490px; }
.home-media iframe, .home-media video { display: block; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border: 0; background: #10283f; object-fit: contain; }
.home-card-body { padding: 18px 0 0; display: flex; flex: 1; flex-direction: column; }
.home-card-meta { color: var(--brand); font-size: 12px; font-weight: 700; margin-bottom: 9px; }
.home-card h3 { font-size: 19px; line-height: 1.5; margin: 0 0 10px; }
.home-card h3 a { color: var(--ink); text-decoration: none; }
.home-card h3 a:hover { color: var(--brand); }
.home-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 18px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.home-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.home-card-actions a { font-size: 14px; font-weight: 700; color: var(--brand); text-decoration: none; }
.home-card-actions a:hover { text-decoration: underline; }
.pin-badge { display: inline-block; margin-right: 8px; padding: 1px 7px; background: #194f7e; color: #fff; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; vertical-align: 1px; }
.home-section-heading h2 small { margin-left: 10px; color: var(--muted); font-size: 15px; font-weight: 600; }
.home-more.is-paged { padding-top: 40px; }
.home-cards + .pager { margin: -40px 0 80px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 14px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-current { background: #194f7e; border-color: #194f7e; color: #fff; }
.pager .is-disabled { color: #b3c0cc; }
.pager .pager-gap { border: 0; background: none; min-width: 20px; padding: 0; color: var(--muted); }
@media (max-width: 560px) { .pager .pager-step { padding: 0 10px; } }

.search-page { padding-bottom: 60px; }
.search-page h1 { font-size: clamp(30px, 3vw, 42px); margin: 12px 0 4px; }
.search-intro { color: var(--muted); margin: 0 0 24px; }
.search-page-form { display: flex; max-width: 760px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(22,61,99,.055); }
.search-page-form:focus-within { border-color: var(--brand); }
.search-page-form input { min-width: 0; flex: 1; border: 0; padding: 14px 16px; font: inherit; color: var(--ink); outline: 0; }
.search-page-form button { display: inline-flex; align-items: center; gap: 9px; border: 0; background: var(--brand); color: #fff; padding: 0 23px; font: inherit; font-weight: 700; cursor: pointer; }
.search-page-form button:hover { background: #123d64; }
.search-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); margin: 44px 0 0; padding-bottom: 10px; }
.search-summary h2 { font-size: 20px; margin: 0; }
.search-summary span { color: var(--muted); font-size: 14px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.search-results li.search-static { grid-template-columns: 1fr; }
.search-result-image { align-self: start; display: block; background: #eef7fb; }
.search-result-image img { display: block; width: 100%; height: auto; }
.search-result-copy time { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.search-result-copy h3 { font-size: 19px; line-height: 1.45; margin: 0 0 7px; }
.search-result-copy h3 a { color: var(--ink); text-decoration: none; }
.search-result-copy h3 a:hover { color: var(--brand); }
.search-result-copy p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.search-result-link { color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: none; }
.search-result-link:hover { text-decoration: underline; }
.search-empty { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; margin-top: 24px; padding: 28px; }
.search-empty h2 { margin: 0 0 6px; font-size: 20px; }
.search-empty p { color: var(--muted); margin: 0 0 12px; }
.search-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 28px; font-size: 14px; }
.search-pagination a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; }
.search-pagination span { color: var(--muted); }

.crumbs { font-size: 13px; color: var(--muted); padding: 30px 0 12px; }
.crumbs a { color: var(--muted); }
.post h1 { font-size: clamp(29px, 3vw, 39px); line-height: 1.35; letter-spacing: -.025em; margin: 12px 0 12px; }
.meta { color: var(--muted); font-size: 13px; margin: 0 0 28px; }
.answer { background: var(--soft); border: 1px solid #d5e5f1; border-radius: 14px; padding: 21px 24px; margin: 0 0 30px; box-shadow: 0 6px 20px rgba(22, 61, 99, .04); }
.answer .label { margin: 0; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 1px; }
.answer p:last-child { margin: 7px 0 0; font-size: 17px; }
.tools h2, .faq h2, .related h2, .prose h2 { font-size: 22px; margin: 28px 0 10px; }
.tool-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tool-list li { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 20px; box-shadow: 0 5px 18px rgba(22, 61, 99, .045); }
.tool-list .num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.tool-list h3 { margin: 0; font-size: 18px; }
.tool-list p { margin: 2px 0 0; }
.tag { display: inline-block; font-size: 13px; background: #e7f1fa; color: var(--brand); border-radius: 6px; padding: 0 8px; }

.prose h3 { font-size: 19px; margin: 22px 0 6px; }
.prose figure { margin: 22px 0; }
.prose figure img { display: block; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.prose figcaption { font-size: 14px; color: var(--muted); }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose .note { background: var(--soft); border: 1px solid #d5e5f1; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.prose .go { display: inline-block; margin: 6px 0 4px; background: var(--brand); color: #fff; border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: 15px; }

.unlock { margin: 36px 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: 0 12px 32px rgba(22, 61, 99, .075); }
.unlock h2 { margin: 0 0 6px; font-size: 22px; }
.checks { text-align: left; display: inline-block; margin: 6px auto 14px; padding-left: 0; list-style: none; }
.checks li { position: relative; padding-left: 23px; }
.checks li::before { content: ""; position: absolute; width: 10px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); top: 10px; left: 2px; }
.gbtn { display: flex; justify-content: center; min-height: 44px; }
.devlogin { margin-top: 10px; }
.edm-opt { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ink); font-size: 14px; cursor: pointer; }
.edm-opt input { width: 16px; height: 16px; margin: 0; accent-color: #194f7e; }
.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.unlock > .btn { margin-top: 10px; }

.login-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 62px; align-items: center; min-height: 570px; padding: 68px 0 90px; }
.login-kicker, .login-panel-kicker { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .12em; margin: 0 0 14px; }
.login-intro h1 { color: #173d62; font-size: clamp(34px, 3vw, 40px); line-height: 1.28; letter-spacing: -.035em; margin: 0 0 20px; }
.login-intro > p:not(.login-kicker) { color: var(--muted); font-size: 17px; margin: 0 0 26px; }
.login-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.login-benefits li { position: relative; padding-left: 27px; color: #344f69; }
.login-benefits li::before { content: ""; position: absolute; left: 1px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.login-panel { background: #fff; border: 1px solid #d8e5ee; border-radius: 17px; padding: 34px 32px; box-shadow: 0 18px 48px rgba(21, 63, 99, .1); }
.login-panel h2 { color: #173d62; font-size: 26px; margin: 0 0 8px; }
.login-panel > p:not(.login-panel-kicker) { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.login-panel .gbtn { justify-content: flex-start; align-items: center; }
.login-panel .gbtn .muted { font-size: 13px; margin: 0; }
.login-panel .devlogin { margin: 12px 0 0; }
.login-panel .devlogin button { border-radius: 7px; font-size: 14px; }
.login-panel .edm-opt { display: flex; align-items: flex-start; line-height: 1.6; margin: 20px 0 0; }
.login-panel .edm-opt input { margin-top: 3px; flex: none; }
.login-panel .login-privacy { border-top: 1px solid var(--line); padding-top: 17px; margin: 22px 0 0 !important; font-size: 12px !important; }

@media (max-width: 700px) { .login-page { grid-template-columns: 1fr; gap: 27px; min-height: 0; padding: 42px 0 58px; } .login-intro h1 { font-size: 34px; } .login-intro > p:not(.login-kicker) { font-size: 15px; } .login-panel { padding: 25px 22px; } }

.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 8px 0; box-shadow: 0 3px 12px rgba(22, 61, 99, .035); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 0; }
.related { margin: 30px 0; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ok { color: var(--brand-2); }

.house-promo { margin-top: 64px; padding: 70px 0 76px; background: #f2f7fb; border-top: 1px solid #dce9f3; }
.house-promo .wrap { max-width: 1320px; padding: 0 32px; }
.house-promo-hero { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 380px; overflow: hidden; background: #e5f0fa; border: 1px solid #d2e4f3; border-radius: 20px; box-shadow: 0 20px 48px rgba(20, 65, 105, .1); }
.house-promo-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #e5f0fa 5%, rgba(229,240,250,.97) 38%, rgba(229,240,250,0) 63%); }
.house-promo-hero > img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: 66% center; }
.house-promo-heading { position: relative; z-index: 1; grid-column: 1; grid-row: 1; align-self: center; padding: 46px 0 46px 54px; }
.house-promo-kicker { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .09em; margin: 0 0 20px; }
.house-promo-kicker span { color: #6c8499; font-weight: 600; }
.house-promo-heading h2 { color: #153e65; font-size: clamp(34px, 3.5vw, 52px); letter-spacing: -.045em; line-height: 1.27; margin: 0 0 16px; }
.house-promo-heading > p:not(.house-promo-kicker) { max-width: 390px; color: #536c82; font-size: 16px; line-height: 1.8; margin: 0 0 24px; }
.house-promo-hero-link { display: inline-flex; align-items: center; gap: 13px; min-height: 43px; padding: 8px 19px; background: #194f7e; color: #fff; border-radius: 7px; font-size: 14px; font-weight: 750; text-decoration: none; box-shadow: 0 8px 20px rgba(25,79,126,.18); }
.house-promo-hero-link:hover { background: #123d64; }
.house-promo-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 42px 0 14px; padding: 0 2px 13px; border-bottom: 1px solid #cddde9; }
.house-promo-list-head strong { color: #173e62; font-size: 21px; }
.house-promo-list-head span { color: #688099; font-size: 13px; }
.house-promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.house-promo-grid { gap: 18px; }
.house-promo-card { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d9e5ee; border-radius: 14px; box-shadow: 0 8px 22px rgba(22, 61, 99, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.house-promo-card:hover { transform: translateY(-3px); border-color: #a9cae3; box-shadow: 0 16px 34px rgba(22, 61, 99, .12); }
.house-promo-media { position: relative; display: block; min-height: 100%; overflow: hidden; background: #e5f0fa; }
.house-promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; transition: transform .5s ease; }
.house-promo-card:hover .house-promo-media img { transform: scale(1.045); }
.house-promo-badge { position: absolute; top: 12px; left: 12px; padding: 4px 9px; background: rgba(255,255,255,.92); color: var(--brand); border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; box-shadow: 0 3px 10px rgba(22,61,99,.12); }
.house-promo-body { display: flex; flex-direction: column; min-width: 0; padding: 24px 26px 24px; }
.house-promo-number { display: flex; align-items: center; gap: 9px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.house-promo-number i { width: 17px; height: 1px; background: #a7c4da; }
.house-promo-card h3 { color: #193c5f; font-size: 23px; line-height: 1.3; margin: 8px 0 10px; }
.house-promo-card .house-promo-hook { color: #194f7e; font-size: 16px; font-weight: 800; line-height: 1.5; margin: 0 0 6px; }
.house-promo-card p { color: #61778a; font-size: 14px; line-height: 1.75; margin: 0; overflow-wrap: anywhere; }
.house-promo-points { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 5px; }
.house-promo-points li { position: relative; padding-left: 20px; color: #3f5a72; font-size: 13px; font-weight: 650; }
.house-promo-points li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 9px; height: 5px; border-left: 2px solid #2f7fc1; border-bottom: 2px solid #2f7fc1; transform: rotate(-45deg); }
.house-promo-cta { display: inline-flex; align-self: flex-start; align-items: center; gap: 9px; margin-top: auto; min-height: 38px; padding: 7px 16px; background: #194f7e; color: #fff; border-radius: 7px; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(25,79,126,.16); transition: background .18s ease; }
.house-promo-cta:hover { background: #123d64; }
.site-footer { background: #163c61; color: #fff; padding: 48px 0 52px; font-size: 14px; }
.site-footer .wrap { max-width: 1320px; padding: 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 20px; }
.footer-brand img { display: block; object-fit: contain; background: #fff; border-radius: 9px; padding: 2px; }
.footer-primary p { margin: 16px 0 0; color: #d6e6f3; }
.footer-primary .footer-contact { margin-top: 10px; }
.footer-contact a { color: #fff; font-weight: 650; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-secondary { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-secondary a { color: #fff; text-decoration: none; }
.footer-secondary a:hover { text-decoration: underline; }
.footer-secondary p { max-width: 340px; color: #bfd4e5; line-height: 1.65; margin: 8px 0 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 28px; }
  .post h1 { font-size: 25px; }
  .bar { min-height: 66px; }
  .site-header .wrap, .site-footer .wrap, .house-promo .wrap { padding: 0 16px; }
  .nav-link { display: none; }
  .header-nav { gap: 12px; }
  .header-login { padding: 8px 11px; font-size: 12px; }
}
@media (max-width: 1000px) { .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature-row { gap: 32px; } }
@media (max-width: 1000px) { .house-promo-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); } .house-promo-heading { padding-left: 34px; } .house-promo-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .wrap-wide { padding: 0 16px; } .home-hero { padding: 50px 18px 56px; } .home-featured { padding-top: 36px; } .feature-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 54px; } .feature-row:nth-child(even) .feature-visual { order: 0; } .feature-copy { padding-left: 18px; border-left-width: 3px; } .feature-visual { min-height: 0; padding: 14px; } .feature-visual.has-video { min-height: 0; } .feature-visual iframe, .feature-visual video { height: min(130vw, 520px); } .home-cards { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 700px) { .footer-inner { flex-direction: column; gap: 28px; } }
@media (max-width: 700px) { .house-promo { padding: 40px 0 48px; } .house-promo-hero { display: flex; flex-direction: column; min-height: 0; } .house-promo-hero::after { display: none; } .house-promo-heading { padding: 28px 26px 12px; } .house-promo-heading h2 { font-size: 35px; } .house-promo-heading > p:not(.house-promo-kicker) { font-size: 14px; } .house-promo-hero > img { min-height: 0; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: right center; } .house-promo-list-head { margin-top: 32px; } .house-promo-list-head strong { font-size: 18px; } .house-promo-grid { grid-template-columns: 1fr; gap: 10px; } .house-promo-card { grid-template-columns: 1fr; } .house-promo-media { aspect-ratio: 16 / 9; } .house-promo-body { padding: 18px 20px 20px; } .house-promo-card h3 { font-size: 21px; } }
@media (max-width: 700px) { .site-header .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-top: 9px; padding-bottom: 9px; } .brand { grid-column: 1; grid-row: 1; } .header-nav { grid-column: 2; grid-row: 1; } .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; } .search-results li { grid-template-columns: 110px minmax(0, 1fr); gap: 15px; } .search-result-copy h3 { font-size: 16px; } .search-result-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } }

/* ---- 收藏按鈕 ---- */
.post-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 28px; }
.post-meta-row .meta { margin: 0; }
.fav-form { margin: 0; }
.fav-btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 15px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s; }
.fav-btn:hover { border-color: var(--brand-2); }
.fav-btn.on { background: #fdecef; border-color: #f2b8c3; color: #b0304a; }
.fav-heart { width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 4.3 2.5h2c.7-1.4 2.2-2.5 4.3-2.5 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 4.3 2.5h2c.7-1.4 2.2-2.5 4.3-2.5 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.fav-btn.on .fav-heart { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 4.3 2.5h2c.7-1.4 2.2-2.5 4.3-2.5 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 4.3 2.5h2c.7-1.4 2.2-2.5 4.3-2.5 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }

/* ---- 共用表單 ---- */
.err { color: #b0304a; }
.small { font-size: 13px; }
.small-btn { padding: 4px 13px; font-size: 13px; }
.btn-danger { display: inline-block; border: 0; border-radius: 999px; padding: 9px 18px; background: #b0304a; color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.profile-form, .wish-form { display: grid; gap: 6px; padding: 22px 24px; }
.profile-form label:not(.row):not(.chip), .wish-form label { font-weight: 650; margin-top: 8px; }
.profile-form input:not([type=checkbox]), .profile-form select, .wish-form input, .wish-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.profile-form input:focus, .profile-form select:focus, .wish-form input:focus, .wish-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px #e7f1fa; }
.profile-form fieldset { border: 0; padding: 0; margin: 10px 0 4px; }
.profile-form legend { font-weight: 650; padding: 0; margin-bottom: 8px; }
.profile-form .row { margin: 8px 0 0; }
.profile-form .btn, .wish-form .btn { justify-self: start; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; cursor: pointer; background: #fff; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px #cfe2f2; }

/* ---- 會員中心 ---- */
.account { padding: 34px 0 56px; }
.account-head { display: flex; align-items: center; gap: 16px; }
.account-head img, .account-avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.account-avatar { display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 26px; font-weight: 700; }
.account-head h1 { margin: 0; font-size: 28px; line-height: 1.3; }
.account-head p { margin: 2px 0 0; font-size: 14px; }
.account-tabs { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; margin: 24px 0 8px; border-bottom: 1px solid var(--line); }
.account-tabs a { white-space: nowrap; padding: 8px 14px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 15px; }
.account-tabs a:hover { color: var(--brand); }
.account-tabs span { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 2px; border-radius: 999px; background: var(--accent); color: var(--brand); font-size: 12px; text-align: center; }
.account-section { padding-top: 18px; scroll-margin-top: 90px; }
.account-section h2 { font-size: 21px; margin: 10px 0 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fav-list, .my-wishes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fav-list li { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.fav-list a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.fav-list a strong { display: block; font-size: 16px; }
.fav-list a span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); font-size: 14px; }
.fav-list a:hover strong { color: var(--brand); }
.fav-list form { margin: 0; flex: none; }
.my-wishes li { border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.my-wishes strong { font-size: 16px; }
.my-wishes .muted { font-size: 13px; }
.my-wishes .wish-reply { flex-basis: 100%; }
.account-danger { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.account-danger form { margin: 0; }
.account-danger details { flex: 1; min-width: 240px; }
.account-danger summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 8px 0; }
.account-danger details form { margin-top: 6px; }

/* ---- 許願池 ---- */
.wish-hero { padding: 40px 0 8px; }
.wish-kicker { margin: 0; color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.wish-hero h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; margin: 6px 0 10px; letter-spacing: -.02em; }
.wish-hero p { margin: 0 0 6px; color: var(--muted); }
.wish-stats { font-size: 14px; }
.wish-stats strong { color: var(--brand); font-size: 18px; }
.wish-login { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; background: var(--soft); }
.wish-login p { margin: 0; }
.wish-tabs { display: flex; gap: 6px; margin: 22px 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; }
.wish-tabs a { white-space: nowrap; padding: 8px 14px; color: var(--muted); text-decoration: none; font-weight: 650; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.wish-tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.wish-empty { padding: 20px 0 40px; }
.wish-list { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 10px; }
.wish-item { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; scroll-margin-top: 90px; }
.wish-item:target { border-color: var(--brand-2); box-shadow: 0 0 0 3px #e7f1fa; }
.wish-vote { flex: none; margin: 0; }
.wish-vote button, .wish-vote .static { display: grid; place-items: center; width: 56px; padding: 7px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); font: inherit; line-height: 1.2; }
.wish-vote button { cursor: pointer; }
.wish-vote button:hover { border-color: var(--brand-2); color: var(--brand); }
.wish-vote button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.wish-vote span { font-size: 12px; font-weight: 700; }
.wish-vote strong { font-size: 19px; }
.wish-body { min-width: 0; flex: 1; }
.wish-body h2 { font-size: 17px; margin: 2px 0 4px; line-height: 1.5; overflow-wrap: anywhere; }
.wish-body p { margin: 0 0 4px; font-size: 15px; overflow-wrap: anywhere; }
.wish-body .wish-meta { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.wish-status { display: inline-block; border-radius: 6px; padding: 0 8px; font-size: 12px; font-weight: 700; background: #eef2f6; color: var(--muted); }
.wish-status.s-open { background: #fff4dc; color: #8a5a00; }
.wish-status.s-doing { background: #e7f1fa; color: var(--brand); }
.wish-status.s-done { background: #e3f4ea; color: #1e6b3f; }
p.wish-reply { background: var(--soft); border-radius: 10px; padding: 8px 12px; margin: 6px 0 0; font-size: 14px; }
.wish-done-link { font-weight: 650; }
.wish-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 34px 0 10px; padding: 20px 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid #d5e5f1; }
.wish-cta p { margin: 0; }
.wish-cta strong { display: block; font-size: 17px; }
@media (max-width: 560px) {
  .who-name { display: none; }
  .account-head h1 { font-size: 23px; }
  .wish-item { gap: 12px; padding: 14px; }
  .wish-vote button, .wish-vote .static { width: 48px; }
  .fav-list li { align-items: flex-start; }
}

/* ---- 成長系統 ---- */
.who-lv, .lv-chip { display: inline-block; border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 800; line-height: 18px; background: linear-gradient(135deg, #194f7e, #3a86c4); color: #fff; letter-spacing: .02em; }
.who-lv { margin-left: 6px; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; gap: 8px; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 10px; background: #13314f; color: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: 0 10px 30px rgba(10, 30, 50, .3); font-size: 14px; font-weight: 650; animation: toast-in .35s ease; transition: opacity .4s, transform .4s; }
.toast.out { opacity: 0; transform: translateY(8px); }
.toast-ic { font-size: 20px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }

.badge-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; flex: none; border: 3px solid; background: #fff; }
.badge-ic.sm { width: 22px; height: 22px; font-size: 12px; border-width: 2px; vertical-align: middle; }
.badge-ic.lg { width: 60px; height: 60px; font-size: 30px; }
.badge-ic.t-bronze { border-color: #c98a55; background: #fdf3ea; }
.badge-ic.t-silver { border-color: #a9b6c3; background: #f3f6f9; }
.badge-ic.t-gold { border-color: #e2b23c; background: #fff8e1; }
.badge-ic.t-legend { border-color: #8b5cf6; background: linear-gradient(135deg, #f3edff, #e3f0ff); box-shadow: 0 0 0 2px #e9ddff; }

.level-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 22px; align-items: center; margin: 22px 0 6px; padding: 20px 22px; border-radius: var(--radius); background: linear-gradient(135deg, #13314f, #1f5f97); color: #fff; }
.level-badge { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 24px; background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .35); text-align: center; }
.level-num { font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.level-num b { display: block; font-size: 34px; line-height: 1; }
.level-title { font-size: 12px; opacity: .9; padding: 0 6px; }
.level-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.level-row strong { font-size: 22px; }
.level-card .muted { color: #c9dcef; }
.level-main p { margin: 6px 0 0; }
.xp-bar { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; margin-top: 8px; }
.xp-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffd166, #ffb347); min-width: 4px; }
.level-stats { grid-column: 1 / -1; list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; text-align: center; font-size: 12px; color: #c9dcef; }
.level-stats b { display: block; font-size: 19px; color: #fff; }

.badge-group-h { font-size: 15px; margin: 22px 0 10px; color: var(--muted); }
.badge-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.badge-wall li { display: grid; justify-items: center; text-align: center; gap: 3px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.badge-wall li strong { font-size: 14px; line-height: 1.4; }
.badge-wall li .small { line-height: 1.45; }
.badge-wall li.locked .badge-ic { filter: grayscale(1); opacity: .35; }
.badge-wall li.locked strong { color: var(--muted); }
.badge-date { color: var(--brand); font-weight: 650; }
.badge-prog { display: block; width: 80%; height: 5px; border-radius: 999px; background: #e7eef5; overflow: hidden; margin-top: 4px; }
.badge-prog span { display: block; height: 100%; background: var(--brand-2); }
.xp-log { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.xp-log li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px 14px; border-bottom: 1px solid #edf2f7; font-size: 14px; }
.xp-log li:last-child { border-bottom: 0; }
.xp-log b { color: #1e7a45; }
.xp-log b.neg { color: #b0304a; }

.comments { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.comments-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.comments-head h2 { font-size: 22px; margin: 20px 0 10px; }
.top-fan { margin: 0; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.comment-form { display: grid; gap: 8px; margin-bottom: 16px; }
.comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; }
.comment-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px #e7f1fa; }
.comment-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.comment-login { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.comment-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.comment { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; scroll-margin-top: 90px; }
.comment:target { border-color: var(--brand-2); box-shadow: 0 0 0 3px #e7f1fa; }
.comment-who { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 14px; }
.comment-who time { margin-left: auto; }
.comment-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--brand); font-weight: 800; font-size: 13px; }
.pill-first { font-size: 11px; font-weight: 800; color: #b0304a; background: #fdecef; border-radius: 6px; padding: 0 6px; }
.comment-body { margin: 8px 0 4px; overflow-wrap: anywhere; }
.comment-reply { background: var(--soft); border-left: 3px solid var(--brand); border-radius: 8px; padding: 8px 12px; margin: 8px 0 4px; font-size: 14px; }
.comment-reply p { margin: 2px 0 0; }
.comment-actions { display: flex; justify-content: flex-end; }
.like-form { margin: 0; }
.like-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 12px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.like-btn.on { background: #e7f1fa; border-color: var(--brand-2); color: var(--brand); font-weight: 700; }
.like-btn.static { cursor: default; }

.mini-level { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--soft); }
.mini-level .xp-bar { flex: 1; min-width: 120px; margin: 0; background: #dbe7f2; }
.rank-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rank-list li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #edf2f7; }
.rank-list li:last-child { border-bottom: 0; }
.rank-list li.me { background: #f3f8fd; }
.rank-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef2f6; font-weight: 800; font-size: 13px; flex: none; }
.rank-no.r1 { background: #ffd666; } .rank-no.r2 { background: #d9e0e7; } .rank-no.r3 { background: #f0c09a; }
.rank-xp { margin-left: auto; white-space: nowrap; }
.record-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.record-list li { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.record-list li > div { flex: 1; min-width: 0; display: grid; }
.record-who { text-align: right; font-size: 14px; }
table.plain { width: 100%; border-collapse: collapse; font-size: 14px; }
table.plain th, table.plain td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.plain th { color: var(--muted); font-size: 13px; }
.level-table { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 8px; }
.level-table li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.level-table b { margin-left: auto; font-size: 13px; white-space: nowrap; flex: none; }
.level-table .lv-chip { flex: none; }
.level-table li > span:not(.lv-chip) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-grid { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.shop-item { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; scroll-margin-top: 90px; }
.shop-item.featured { border: 2px solid #8b5cf6; background: linear-gradient(180deg, #faf7ff, #fff); }
.shop-item h3 { margin: 6px 0 0; font-size: 18px; }
.shop-price { margin: 0; font-size: 20px; font-weight: 800; color: var(--brand); }
.shop-item .checks { margin: 4px 0 8px; padding-left: 18px; font-size: 14px; flex: 1; }
.shop-item .checks li { margin-bottom: 4px; }
.shop-buy[disabled] { background: #9aabbb; cursor: not-allowed; }
.shop-item form { margin: 0; }
@media (max-width: 560px) {
  .level-card { grid-template-columns: 1fr; justify-items: stretch; }
  .level-badge { width: 100%; height: auto; padding: 10px; grid-auto-flow: column; justify-content: center; gap: 12px; }
  .level-stats { grid-template-columns: repeat(3, 1fr); }
  .rank-title { display: none; }
  .comment-who time { margin-left: 0; width: 100%; }
}

.plain th, .plain td:not(.muted) { white-space: nowrap; }
.plain td.muted { min-width: 180px; }

/* 圖示：SVG 線條圖示與 ChatGPT 生成的勳章圖（不使用 emoji） */
.ui-ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.toast-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .12); flex: none; font-size: inherit; }
.toast-ic .ui-ic { width: 18px; height: 18px; }
.toast-ic .badge-ic { width: 30px; height: 30px; }
.like-btn { display: inline-flex; align-items: center; gap: 6px; }
.like-btn .ui-ic { width: 15px; height: 15px; }
.like-btn.on .ui-ic { fill: rgba(47, 123, 192, .18); }
.badge-ic.has-img { border: 0; background: none; box-shadow: none; padding: 0; overflow: visible; }
.badge-ic.has-img img { width: 100%; height: 100%; display: block; object-fit: contain; }
.badge-ic:not(.has-img) { font-weight: 800; color: #3b4b5c; }
.badge-ic.xl { width: 88px; height: 88px; }
/* ---- 成長中心：分頁 ---- */
.gc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 28px; align-items: center; padding: 36px 0 8px; }
.gc-hero h1 { margin: 4px 0 8px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; }
.gc-hero-text p { margin: 0; }
.gc-me { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); color: var(--ink); text-decoration: none; }
a.gc-me:hover { border-color: var(--brand-2); }
.gc-me-lv { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.1; text-align: center; }
.gc-me-lv b { display: block; font-size: 24px; }
.gc-me-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.gc-me-main strong { font-size: 16px; }
.gc-me .xp-bar { margin: 2px 0; background: #dbe7f2; }
.gc-me-guest { justify-content: space-between; flex-wrap: wrap; }
.gc-tabs { display: flex; gap: 4px; margin: 26px 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.gc-tabs a { white-space: nowrap; padding: 10px 16px; margin-bottom: -1px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; border-bottom: 2px solid transparent; }
.gc-tabs a:hover { color: var(--ink); }
.gc-tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.gc-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 48px; }
.gc-two > * { min-width: 0; }
.gc-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: #fff; margin-bottom: 20px; scroll-margin-top: 90px; }
.gc-two .gc-card { margin-bottom: 0; }
.gc-card h2 { margin: 0 0 14px; font-size: 19px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gc-card .rank-list { border: 0; border-radius: 0; margin: 0 -22px -20px; }
.gc-card .rank-list li { padding: 10px 22px; }
.rank-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 20px; }
.gc-chips a { padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); text-decoration: none; background: #fff; }
.gc-chips a:hover { border-color: var(--brand); color: var(--brand); }
.xp-rules { list-style: none; padding: 0; margin: 0; }
.xp-rules li { display: grid; grid-template-columns: minmax(0, 1fr) auto 92px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf2f7; }
.xp-rules li:last-child { border-bottom: 0; }
.xp-rules li > span:first-child { display: grid; }
.xp-rules b { color: var(--brand); white-space: nowrap; }
.xp-rules li > span:last-child { text-align: right; white-space: nowrap; }
.gc-card .level-table { grid-template-columns: 1fr; gap: 6px; }
.level-table li.reached { background: var(--soft); border-color: #c8dcee; }
.gc-lead { margin: 0 0 18px; max-width: 760px; }
.shop-top { display: flex; align-items: center; gap: 12px; }
.shop-top h3 { margin: 0; }
.shop-left { margin: 0; color: #6d28d9; }
.shop-actions { display: grid; gap: 6px; }
.shop-actions .btn, .shop-actions button { width: 100%; justify-content: center; text-align: center; }
.shop-item.owned { border-color: #9cc7a8; }
.shop-buy.is-owned { display: inline-flex; align-items: center; gap: 6px; background: #e8f5ec; color: #23703c; }
.small-btn .ui-ic, .shop-buy .ui-ic { width: 15px; height: 15px; }
.wall-intro { background: var(--soft); }
.wall-intro p { margin: 0 0 12px; }
.wall-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.wall-grid li { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 12px; }
.wall-grid.patrons li { border-color: #d8c8fb; background: linear-gradient(180deg, #faf7ff, #fff); }
.wall-no { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #6d28d9; }
.gc-empty { padding: 40px 0; text-align: center; }
@media (max-width: 820px) {
  .gc-hero, .gc-two { grid-template-columns: 1fr; }
  .gc-hero { padding-top: 24px; gap: 16px; }
  .xp-rules li { grid-template-columns: minmax(0, 1fr) auto; }
  .xp-rules li > span:last-child { grid-column: 1 / -1; text-align: left; }
}

/* ---- 贊助特權 ---- */
.name-vip { background: linear-gradient(90deg, #2563eb, #9333ea 55%, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.shop-tag { display: inline-block; font-size: 12px; font-weight: 700; line-height: 20px; padding: 0 8px; border-radius: 999px; background: #fff4e0; color: #9a5a00; text-decoration: none; border: 1px solid #f3d9a8; vertical-align: middle; }
.shop-tag:hover { background: #ffe9c2; }
.comment-avatar[class*="frame-"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--fr); }
.comment-avatar.frame-sky { --fr: #38bdf8; } .comment-avatar.frame-sunset { --fr: #fb923c; } .comment-avatar.frame-mint { --fr: #34d399; }
.comment-avatar.frame-sakura { --fr: #f472b6; } .comment-avatar.frame-galaxy { --fr: #8b5cf6; } .comment-avatar.frame-gold { --fr: #d4a72c; }
.early-tag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 6px; background: #ede9fe; color: #6d28d9; font-size: 12px; font-weight: 800; vertical-align: middle; }
.kit-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 30px; padding: 14px 16px; border: 1px dashed #c8dcee; border-radius: 12px; background: var(--soft); }
.kit-bar .btn, .kit-bar .btn-ghost { display: inline-flex; align-items: center; gap: 7px; }
.kit-bar .ui-ic { width: 16px; height: 16px; }
.copyable { position: relative; }
.copy-btn { position: absolute; top: 8px; right: 8px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--brand); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.copy-btn:hover { border-color: var(--brand); }
.wish-vip { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 6px; background: #ede9fe; color: #6d28d9; font-size: 12px; font-weight: 700; }
.wish-form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.perk-note { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(180deg, #faf7ff, #fff); border: 1px solid #d8c8fb; }
.perk-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.perk-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.perk-list li > div { flex: 1; min-width: 0; display: grid; }
.perk-exp { flex: none; font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.perk-consult { display: grid; gap: 6px; justify-items: start; margin: 14px 0; }
.perk-consult p { margin: 0; }
.frame-pick { display: flex; flex-wrap: wrap; gap: 14px; padding: 6px 0; }
.frame-pick label { display: grid; justify-items: center; gap: 6px; cursor: pointer; font-size: 12px; }
.frame-pick input { position: absolute; opacity: 0; pointer-events: none; }
.frame-pick .comment-avatar { width: 40px; height: 40px; font-size: 15px; }
.frame-pick input:checked + .comment-avatar { outline: 2px solid var(--brand); outline-offset: 6px; }
.frame-pick input:focus-visible + .comment-avatar { outline: 2px dashed var(--brand); outline-offset: 6px; }
