.profile-reader{--pr-bg:#faf6ec;--pr-panel:#fffdf9;--pr-fg:#312820;--pr-muted:#726453;--pr-line:#dfcfae;--pr-gold:#9e6d2f;--pr-note:#eee5d3;color:var(--pr-fg);background:var(--pr-bg);min-height:100vh;font-family:system-ui,-apple-system,'Noto Sans TC',sans-serif;line-height:1.85;font-size:18px;box-sizing:border-box}.profile-reader *{box-sizing:border-box}.profile-reader.pr-dark{--pr-bg:#111010;--pr-panel:#1d1915;--pr-fg:#f0e5cd;--pr-muted:#b5a589;--pr-line:#514433;--pr-gold:#dcba76;--pr-note:#292218}.pr-header{display:flex;align-items:center;justify-content:space-between;padding:16px 5%;border-bottom:1px solid var(--pr-line);gap:12px}.pr-brand{font-family:Georgia,'Noto Serif TC',serif;letter-spacing:2px;color:var(--pr-gold);font-size:18px}.pr-actions{display:flex;gap:8px;flex-wrap:wrap}.profile-reader button{font:inherit;font-size:15px;min-height:44px;border:1px solid var(--pr-line);border-radius:10px;padding:8px 16px;background:var(--pr-panel);color:var(--pr-fg);cursor:pointer;white-space:nowrap}.profile-reader button.pr-active{background:var(--pr-gold);color:var(--pr-bg);border-color:var(--pr-gold)}.profile-reader button:focus-visible,.profile-reader summary:focus-visible{outline:3px solid var(--pr-gold);outline-offset:3px}.pr-hero{max-width:1050px;margin:auto;padding:42px 30px 24px}.pr-eyebrow{color:var(--pr-gold);font-size:13px;letter-spacing:3px}.profile-reader h1{font-family:Georgia,'Noto Serif TC',serif;font-size:clamp(28px,4vw,44px);line-height:1.4;font-weight:600;margin:18px 0}.pr-hero p{font-size:15px;color:var(--pr-muted);margin:7px 0}.pr-notice{background:var(--pr-note);border-left:3px solid var(--pr-gold);padding:14px 18px;border-radius:4px;font-size:15px;margin:20px 0}.pr-domains,.pr-layers{display:flex;gap:8px;overflow-x:auto;max-width:1100px;margin:auto;padding:12px 20px;scrollbar-width:thin;background:var(--pr-bg)}.pr-domains{position:sticky;top:0;z-index:2;border-bottom:1px solid var(--pr-line)}.pr-layers{position:sticky;top:70px;z-index:1;padding-top:10px;padding-bottom:10px;border-bottom:1px solid var(--pr-line)}.pr-main{max-width:940px;margin:auto;padding:24px 30px 60px}.pr-main h2{font-family:Georgia,'Noto Serif TC',serif;font-size:30px;color:var(--pr-gold);margin:16px 0 24px}.pr-answer{background:var(--pr-panel);border:1px solid var(--pr-line);border-radius:14px;padding:24px 28px;margin:0 0 22px}.pr-answer h3{font-family:Georgia,'Noto Serif TC',serif;line-height:1.6;font-size:23px;font-weight:600;margin:10px 0 18px}.pr-direct{line-height:1.95;overflow-wrap:anywhere}.pr-status{font-size:12px;letter-spacing:1px;color:var(--pr-gold);border:1px solid var(--pr-line);padding:3px 8px;border-radius:20px}.pr-rule_gap,.pr-data_gap,.pr-unsupported{border-style:dashed}.pr-answer small{display:block;font-size:12px;color:var(--pr-muted);overflow-wrap:anywhere}.pr-evidence{font-size:15px;margin-top:15px;border-top:1px solid var(--pr-line);padding-top:12px}.pr-evidence summary{cursor:pointer;color:var(--pr-gold)}.pr-evidence p{line-height:1.85}.pr-ref{margin-top:14px}.pr-months{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.pr-footer{padding:24px 30px 40px;border-top:1px solid var(--pr-line);max-width:1050px;margin:auto;color:var(--pr-muted);font-size:13px;overflow-wrap:anywhere}@media(max-width:600px){.profile-reader{font-size:18px}.pr-header{padding:12px 16px;align-items:flex-start}.pr-brand{font-size:15px;letter-spacing:1px;max-width:175px}.pr-actions button{padding:5px 10px;font-size:13px}.pr-hero{padding:26px 20px 10px}.pr-domains,.pr-layers{padding-left:14px;padding-right:14px}.pr-main{padding:16px 14px 35px}.pr-answer{padding:20px 18px;margin-bottom:16px}.pr-answer h3{font-size:21px}.pr-layers{top:70px}.pr-main h2{font-size:26px}.profile-reader p{margin-top:14px;margin-bottom:14px}.pr-footer{padding:22px 20px}.pr-notice{padding:12px 14px}}

.pr-review-note summary{cursor:pointer}.pr-review-note p{margin-bottom:0}@media(max-width:600px){.pr-header{padding:10px 14px}.pr-brand{font-size:13px;letter-spacing:.5px;max-width:160px}.pr-hero{padding:10px 18px 4px}.pr-hero .pr-eyebrow{display:none}.profile-reader .pr-hero h1{font-size:24px;line-height:1.4;margin:8px 0 10px}.profile-reader .pr-hero p{font-size:12px;line-height:1.6;margin:4px 0}.pr-hero .pr-review-note{padding:8px 10px;margin:10px 0 6px;font-size:12px}.pr-main h2{font-size:23px;margin:2px 0 16px}.pr-main{padding-top:12px}}
.profile-local-form{max-width:820px;margin:20px auto;padding:24px;color:#312820;background:#faf6ec;font:16px/1.7 system-ui}.profile-local-form label{display:block;margin:15px 0}.profile-local-form input:not([type=checkbox]),.profile-local-form select,.profile-local-form textarea{display:block;max-width:100%;width:100%;font:inherit;min-height:44px;padding:9px;border:1px solid #be9a61;border-radius:7px;background:#fffdf9;color:#312820}.profile-local-form textarea{min-height:120px}.profile-local-form button{font:inherit;padding:12px 18px;min-height:44px;background:#9e6d2f;color:#fff;border:0;border-radius:9px}.profile-local-form input[type=checkbox]{width:20px;height:20px;margin:0 10px}.profile-local-form [role=status]{border-left:3px solid #9e6d2f;padding:12px}.profile-local-form button:disabled{opacity:.6}

/* Use the existing annual reader's full-page geometry for this result type. */
body.reception-preview[data-reading-system="profile"][data-panel-collapsed="false"] #main{position:fixed;inset:var(--reception-header) 0 0;width:100%;max-width:none;margin:0;padding:0;max-height:none;overflow-y:auto;overflow-x:clip;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;background:#111010;scroll-padding-top:195px}
body.reception-preview[data-reading-system="profile"][data-panel-collapsed="false"] #site-footer,
body.reception-preview[data-reading-system="profile"][data-panel-collapsed="false"] #character-presence,
body.reception-preview[data-reading-system="profile"][data-panel-collapsed="false"] #scene-tools{display:none}
body.reception-preview[data-reading-system="profile"][data-panel-collapsed="false"] #reception-stage{visibility:hidden}
body.reception-preview[data-reading-system="profile"] .consult-panel-bar{margin:0;min-height:52px;padding:4px 18px;align-items:center;background:#111010}
body.reception-preview[data-reading-system="profile"] #consult-collapse{min-height:44px;font-size:14px;padding:8px 14px}
.profile-integrated{width:100%;max-width:1200px;margin:auto;padding:12px clamp(8px,3vw,30px) 32px}
.profile-integrated .pr-domains{top:52px}
.profile-integrated .pr-layers{top:122px}
.profile-integrated .pr-domains button,.profile-integrated .pr-layers button{flex-shrink:0}
.profile-integrated .pr-period{font-size:13px;color:var(--pr-muted);overflow-wrap:anywhere}
.profile-integrated .pr-full-prose p{margin:0 0 1.3em}
.profile-integrated .pr-brand{display:none}
.profile-integrated .pr-header{justify-content:flex-end;padding:6px 14px}
.profile-integrated .pr-hero{padding:12px 24px 4px}
.profile-integrated .pr-hero h1{font-size:clamp(23px,4vw,32px);margin:8px 0 12px}
.profile-integrated .pr-eyebrow{display:none}
.profile-integrated .pr-hero p{font-size:13px;line-height:1.6;margin:4px 0}
.profile-integrated .pr-review-note{padding:8px 12px;margin:10px 0}
.profile-integrated .pr-context-application h3{font-size:18px;margin:0 0 10px}
.profile-library input[type=file]{max-width:100%;font:inherit;margin:10px 0 18px}
.profile-library .saved-card{margin:14px 0}
@media(max-width:600px){.profile-integrated{padding-inline:0}.profile-integrated .result-toolbar{padding-inline:14px}.profile-integrated .pr-domains{top:52px}.profile-integrated .pr-layers{top:122px}}
