:root {
 --paper:#fff7fa; --paper-deep:#fbe6ef; --white:#ffffff;
 --ink:#422b39; --muted:#78616f; --jade:#ad3263; --jade-dark:#84234b;
 --red:#ad3263; --line:#efd5e1; --shadow:0 16px 48px rgba(147,54,94,.08);
 --sans:"Pretendard","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
}
body { background:radial-gradient(ellipse at 85% 4%,#fce1ed 0,transparent 38%),radial-gradient(ellipse at 5% 24%,#ffedf4 0,transparent 30%),var(--paper); background-size:auto; }
body::before { display:none; }
::selection { background:#f7c8dc; color:#582c42; }
.site-header { background:rgba(255,250,252,.94); border-bottom-color:var(--line); }
.nav-wrap { min-height:84px; gap:1.4rem; }
.brand { gap:.7rem; flex-shrink:0; }
.brand-image { width:48px; height:48px; max-height:none; object-position:center; }
.brand-copy { display:grid; line-height:1.15; gap:.3rem; letter-spacing:-.045em; }
.brand-copy strong { font-size:1.5rem; color:#71314e; font-weight:850; }
.brand-copy small { font-size:.66rem; font-weight:650; letter-spacing:.18em; color:#9b6a80; }
.main-nav { gap:1.2rem; }
.main-nav a { font-size:.87rem; color:#6d5060; }
.nav-cta { background:var(--jade); border:1px solid var(--jade); border-radius:999px; padding:.7rem 1.1rem; box-shadow:0 4px 12px #ad32631a; }
.nav-cta:hover { background:var(--jade-dark); }
.nav-toggle { border-color:var(--line); border-radius:10px; background:white; padding:.5rem .9rem; }
h1,h2 { font-family:var(--sans); }
h1 { font-size:clamp(2.8rem,6.2vw,5.6rem); line-height:1.13; letter-spacing:-.065em; }
h2 { font-size:clamp(1.8rem,3.5vw,2.8rem); line-height:1.3; }
h3 { line-height:1.45; }
.eyebrow { color:var(--jade); letter-spacing:.14em; font-size:.75rem; }
.hero { padding:5rem 0 4rem; gap:3.5rem; }
.hero-copy { line-height:1.95; }
.button { border:1px solid var(--jade); background:var(--jade); border-radius:12px; padding:.85rem 1.35rem; box-shadow:0 6px 16px #ad32631a; transition:background .18s,transform .18s,box-shadow .18s; }
.button:hover { background:var(--jade-dark); box-shadow:0 8px 22px #ad326326; transform:translateY(-2px); }
.button.secondary { color:var(--jade-dark); background:#fff; border-color:#eac3d5; box-shadow:none; }
.button.secondary:hover { background:#fff0f6; }
.name-seal { border-radius:36px 36px 100px 36px; background:linear-gradient(135deg,#fff,#fce1ee); border-color:#f5cfdf; min-height:340px; box-shadow:0 20px 50px #b23f6812; }
.name-seal::before { border-color:#efb4ce; width:270px; height:270px; }
.name-seal::after { border-color:#f3c8da; width:220px; height:220px; }
.seal-hangul { color:#9b3560; font-family:var(--sans); letter-spacing:-.08em; font-weight:800; }
.seal-stamp { border-radius:12px; border-color:#d784a7; color:#ad3263; transform:rotate(7deg); }
.theme-finder { border:1px solid var(--line); border-radius:28px; box-shadow:var(--shadow); background:#fffcfe; }
.theme-search { border:1px solid var(--line); border-radius:12px; background:#fff7fb; }
.category-chips { gap:.55rem; }
.category-chips button { border:1px solid var(--line); border-radius:999px; color:#775368; background:white; padding:.55rem .85rem; font-size:.84rem; font-weight:650; }
.category-chips button.active,.category-chips button:hover { color:white; background:var(--jade); border-color:var(--jade); }
.theme-grid { background:transparent; border:0; gap:1rem; grid-template-columns:repeat(3,minmax(0,1fr)); }
.theme-card { padding:1.55rem; min-height:260px; background:white; border:1px solid var(--line); border-radius:20px; transition:border-color .18s,box-shadow .18s,transform .18s; }
.theme-card:hover { background:#fffafd; border-color:#dba0ba; box-shadow:0 10px 26px #a9346210; transform:translateY(-3px); }
.theme-card .theme-category { display:inline-block; padding:.25rem .6rem; border-radius:6px; background:#fcebf3; color:#9f3862; font-size:.68rem; letter-spacing:.02em; }
.theme-card h3 { margin:.9rem 0 .75rem; font-size:1.1rem; letter-spacing:-.035em; }
.theme-card p { font-size:.87rem; line-height:1.9; }
.theme-arrow { margin-top:1.2rem; width:30px; height:30px; text-align:center; border-radius:50%; background:#fcebf3; }
.theme-hero { padding:4rem 0 3rem; align-items:center; grid-template-columns:1.3fr .7fr; gap:3rem; }
.theme-hero h1 { font-size:clamp(2.5rem,5.2vw,4.6rem); line-height:1.2; max-width:780px; }
.theme-brief { border-radius:24px; padding:1.8rem; box-shadow:var(--shadow); background:linear-gradient(145deg,#fff,#fff0f6); }
.theme-brief-label { font-size:.7rem; letter-spacing:.16em; }
.theme-brief h2 { font-size:1.3rem; }
.theme-brief ul { padding-left:1.2rem; color:#79566a; line-height:2.2; }
.theme-brief p { color:var(--muted); font-size:.9rem; }
.breadcrumb { font-size:.79rem; }
.generator-shell { border:1px solid var(--line); border-radius:26px; overflow:hidden; box-shadow:0 20px 55px #b53b6610; }
.generator-head { background:#fbe7f0; color:#71314e; border-bottom:1px solid var(--line); padding:1.6rem 2rem; }
.generator-head h2 { font-size:1.35rem; }
.generator-head p { color:#976c81; }
.workbench-form { gap:1rem; padding:2rem; }
.workbench-form fieldset { border:1px solid var(--line); border-radius:16px; padding:1.4rem; background:#fffcfe; }
.workbench-form legend { color:#984369; font-size:.94rem; }
.control-grid input,.control-grid select { border-color:#e9d1dd; border-radius:10px; background:white; min-height:48px; font-size:.92rem; }
.control-grid input::placeholder { color:#9b8591; font-size:.84rem; }
.field label { color:#6d485b; font-size:.81rem; }
.advanced { border-radius:16px; border-color:var(--line); background:#fffcfe; padding:1.2rem 1.4rem; }
.advanced summary { color:#8f4162; font-size:.92rem; }
.check { font-size:.88rem; color:#7c5e6f; }
input[type=checkbox] { accent-color:var(--jade); }
.control-note { line-height:1.85; font-size:.85rem; }
.workbench-actions { padding:.5rem 0; gap:1rem; }
.workbench-actions .text-button { font-size:.88rem; margin-left:.4rem; }
.result-toolbar { padding:1rem 2rem; border-top:1px solid var(--line); background:#fffafd; font-size:.85rem; }
.results { padding:1.5rem 2rem; gap:1rem; background:#fff7fb; }
.name-card,.name-card:nth-child(2),.name-card:nth-child(5) { border:1px solid var(--line); border-radius:18px; background:white; padding:1.4rem; }
.name-top h3 { color:#88365a; font-family:var(--sans); font-size:1.6rem; }
.tag { border:0; border-radius:5px; background:#fbeef4; color:#925575; font-size:.7rem; padding:.23rem .5rem; }
.romanization { color:#ad527b; font-size:.84rem; margin-top:.6rem; }
.meaning { line-height:1.85; }
.name-card>p { font-size:.9rem; }
.name-card details summary { color:#98657d; }
.card-actions button,.toolbar-actions button,#comparison button { border-radius:8px; border-color:var(--line); font-size:.79rem; padding:.48rem .65rem; }
.card-actions button:hover,.toolbar-actions button:hover { background:#fcebf3; }
.generator-note { background:#fff5fa; font-size:.8rem; line-height:1.9; }
#comparison { margin:1.5rem 2rem 2rem; border-color:var(--line); }
#comparison h3 { color:#8f4162; font-size:1.1rem; }
#comparison>p { font-size:.88rem; color:var(--muted); }
.table-scroll { border:1px solid var(--line); border-radius:14px; }
table { font-size:.88rem; }
th { color:#87405f; background:#fcf0f6; }
td,th { border-color:var(--line); line-height:1.8; }
.longform { max-width:900px; background:rgba(255,255,255,.75); padding:2.5rem 3.2rem; border:1px solid var(--line); border-radius:28px; margin:4rem auto; }
.longform section { margin:3.5rem 0; }
.longform p,.legal-main p,.legal-main li { color:#705866; line-height:2; }
.longform h2 { color:#74334e; font-size:1.6rem; letter-spacing:-.04em; }
.article-byline { font-size:.79rem; line-height:1.9; }
.article-toc a { font-size:.85rem; text-decoration:none; color:var(--jade); }
.story-lead { font-family:var(--sans); font-size:1.15rem; font-weight:600; }
.longform blockquote { background:#fff0f7; border-color:#d879a4; border-radius:0 14px 14px 0; color:#974969; font-size:.95rem; }
.essay-examples article { border:1px solid var(--line); border-top:3px solid #e8a3c0; border-radius:16px; padding:1.6rem; background:#fffbfe; }
.essay-examples h3 { color:#a1406a; font-size:1.1rem; }
.source-note { background:#fff5fa; border-radius:16px; }
.source-note h2 { font-size:1.1rem; }
.source-note p { font-size:.85rem; }
.process-grid { border:1px solid var(--line); border-radius:22px; background:white; overflow:hidden; }
.process-number { margin-bottom:1.2rem; font-family:var(--sans); font-weight:750; color:#d58baa; }
.guide-section { background:linear-gradient(115deg,#9c3c66,#7a2a50); }
.guide-block p { color:#f5d5e5; }
.guide-kicker { color:#fac1dc; }
.use-card { border-radius:20px; }
.faq-list { border-top-color:var(--line); }
.faq-list summary { color:#82415e; }
.related-theme { border-radius:16px; padding:1.3rem; }
.related-theme p { color:var(--muted); line-height:1.85; }
.category-heading { border-bottom-color:var(--line); }
.category-heading span { font-size:.8rem; color:var(--muted); }
.legal-main { max-width:900px; }
.legal-header { border-color:var(--line); }
.legal-header h1 { font-size:clamp(2.5rem,5.5vw,4.5rem); }
.legal-toc { border-radius:20px; padding:1.5rem; gap:.7rem 1.4rem; }
.legal-toc a { color:#974566; text-decoration:none; font-size:.9rem; }
.legal-toc a:hover { text-decoration:underline; }
.legal-main section h2 { color:#8e3f60; line-height:1.6; }
.site-footer { border-top-color:var(--line); background:#fbeaf2; }
.footer-links a { border-radius:8px; background:#fff8fc; font-size:.78rem; }
.footer-copy { font-size:.85rem; line-height:1.9; }
@media(min-width:1450px) { .theme-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1040px) { .main-nav { top:84px; background:#fff8fc; border-bottom-color:var(--line); padding:1.5rem; } .main-nav a { padding:.65rem .8rem; } .nav-wrap { min-height:76px; } .main-nav { top:76px; } }
@media(max-width:960px) { .theme-hero { grid-template-columns:1fr; gap:1.5rem; } .theme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hero { gap:2rem; } .longform { margin:3rem 1rem; } }
@media(max-width:720px) { .nav-wrap { min-height:70px; } .main-nav { top:70px; } .brand-image { width:40px; height:40px; max-height:none; } .brand-copy strong { font-size:1.25rem; } .brand-copy small { font-size:.58rem; } .hero { padding:3rem 0; } .theme-hero { padding:2.5rem 0 2rem; } .theme-hero h1 { font-size:2.65rem; } .theme-brief { padding:1.35rem; } .theme-grid { grid-template-columns:1fr; } .theme-card { min-height:0; padding:1.4rem; } .theme-finder { padding:1.3rem; border-radius:22px; } .generator-shell { width:calc(100% - 1.5rem); border-radius:20px; box-shadow:var(--shadow); } .generator-head { padding:1.3rem; } .workbench-form { padding:1rem; } .workbench-form fieldset { padding:1rem; } .results { padding:1rem; } .result-toolbar { padding:1rem; } .longform { padding:1.8rem 1.3rem; border-radius:20px; } .longform h2 { font-size:1.4rem; } .longform p { font-size:.95rem; } .section { padding:3rem 0; } .theme-brief p { margin-bottom:0; } .button { padding:.75rem 1.05rem; font-size:.9rem; } .name-seal { min-height:290px; border-radius:26px 26px 70px 26px; } .workbench-actions { align-items:stretch; } .workbench-actions>.button { width:100%; } }
@media(prefers-reduced-motion:reduce) { .button,.theme-card { transition:none; } .button:hover,.theme-card:hover { transform:none; } }

/* A restrained reading scale: 16px body, 14px UI, and compact headings. */
:root { --sans: 'Noto Sans KR', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', 'Malgun Gothic', system-ui, sans-serif; }
html { font-size:16px; }
body { font-size:1rem; line-height:1.85; letter-spacing:.01em; }
h1,h2,h3 { letter-spacing:-.025em; font-weight:700; }
h1,.theme-hero h1,.legal-header h1 { font-size:2.75rem; line-height:1.45; }
.hero h1 { font-size:3rem; line-height:1.35; }
h2 { font-size:1.75rem; line-height:1.55; }
h3 { font-size:1.25rem; line-height:1.6; }
p,.hero-copy,.theme-hero .hero-copy,.legal-lede,.section-intro p,.directory-hero p { font-size:1rem; line-height:1.95; }
.main-nav a,.nav-cta,.nav-toggle,.button,.workbench-actions .text-button,.category-chips button { font-size:.875rem; }
.eyebrow,.theme-brief-label,.theme-card .theme-category,.story-label { font-size:.75rem; }
.theme-card h3 { font-size:1.125rem; line-height:1.6; }
.theme-card p,.related-theme p { font-size:.9375rem; line-height:1.95; }
.generator-head h2 { font-size:1.25rem; line-height:1.6; }
.generator-head p,.theme-brief p,.control-note,.check,.generator-note,.field label,.advanced summary,.workbench-form legend { font-size:.875rem; line-height:1.85; }
.control-grid input,.control-grid select { font-size:1rem; }
.control-grid input::placeholder { font-size:.875rem; }
.result-toolbar,.result-status { font-size:.875rem; line-height:1.8; }
.name-top h3 { font-size:1.5rem; line-height:1.5; }
.name-top { align-items:center; }
.tag { font-size:.75rem; line-height:1.6; }
.romanization { font-size:.875rem; line-height:1.8; }
.meaning,.name-card>p,.name-card details,.card-actions button,.toolbar-actions button,#comparison button { font-size:.875rem; line-height:1.85; }
.name-story { margin:1rem 0 1.15rem; padding:1rem 0; border-top:1px solid #f3e0e9; border-bottom:1px solid #f3e0e9; }
.story-label { display:block; color:#a64c75; font-weight:650; letter-spacing:.04em; margin-bottom:.55rem; }
.name-story p { font-size:.9375rem; line-height:2; color:#715363; margin:0; text-wrap:pretty; word-break:keep-all; overflow-wrap:anywhere; }
.name-story+.meaning { color:#8b6d7e; min-height:0; margin-bottom:.85rem; }
.name-card { display:flex; flex-direction:column; }
.name-card .card-actions { margin-top:auto; padding-top:1rem; }
#comparison h3 { font-size:1.125rem; }
#comparison>p,.table-scroll table,.article-byline,.article-toc a,.source-note p,.footer-copy,.footer-links a,.footer-bottom,.legal-toc a { font-size:.875rem; line-height:1.85; }
.longform p,.longform .story-lead { font-size:1rem; line-height:2; }
.longform h2 { font-size:1.625rem; line-height:1.6; }
.essay-examples h3,.theme-brief h2,.category-heading h2,.legal-main section h2 { font-size:1.25rem; line-height:1.65; }
.longform blockquote { font-size:1rem; line-height:1.9; }
.longform .source-note h2 { font-size:1.125rem; }
.process-number { font-size:1.5rem; }
.theme-empty h3 { font-size:1.25rem; }
.brand-copy strong { font-size:1.375rem; }
.brand-copy small { font-size:.6875rem; }
@media(max-width:960px) { h1,.theme-hero h1,.legal-header h1,.hero h1 { font-size:2.25rem; } }
@media(max-width:720px) {
 h1,.theme-hero h1,.legal-header h1,.hero h1 { font-size:1.875rem; line-height:1.5; }
 h2,.longform h2 { font-size:1.5rem; line-height:1.6; }
 h3,.theme-card h3,.theme-brief h2 { font-size:1.125rem; }
 .longform p,.hero-copy,.theme-hero .hero-copy,.legal-lede { font-size:1rem; }
 .name-story p,.theme-card p { font-size:.9375rem; }
 .brand-copy strong { font-size:1.25rem; }
 .brand-copy small { font-size:.625rem; }
 .field label,.control-note { font-size:.875rem; }
}

/* The visitor-supplied spring landscape becomes a circular name vignette. */
.hero { grid-template-columns:1.05fr .95fr; align-items:center; gap:3.5rem; padding-top:3.8rem; padding-bottom:3.8rem; }
.name-landscape { margin:0; padding:1.7rem 1.8rem 1.8rem; border:1px solid #efd2e0; border-radius:28px; background:linear-gradient(145deg,#fffafd,#fcecf4); box-shadow:0 18px 45px #b4436810; }
.landscape-orbit { width:min(100%,330px); margin:0 auto 1.6rem; padding:10px; border:1px solid #edbbd1; border-radius:50%; position:relative; }
.landscape-orbit::after { content:''; position:absolute; inset:4px; border:1px solid #f6d9e6; border-radius:50%; pointer-events:none; }
.landscape-circle { position:relative; aspect-ratio:1; border-radius:50%; overflow:hidden; background:#dcaac7; }
.landscape-circle img { display:block; width:100%; height:100%; object-fit:cover; object-position:44% 50%; }
.landscape-circle::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,#3d24442b 55%,#39223bbc 100%); }
.landscape-name { position:absolute; z-index:1; bottom:13%; left:5%; right:5%; text-align:center; color:white; display:grid; gap:.25rem; text-shadow:0 2px 12px #3d163f60; }
.landscape-name .landscape-kicker { font-size:10px; letter-spacing:.16em; color:#ffecf6; }
.landscape-name strong { font-size:2.5rem; font-weight:700; line-height:1.25; letter-spacing:.06em; }
.landscape-name>span:last-child { font-size:11px; letter-spacing:.03em; color:#fff2fa; }
.name-landscape figcaption { text-align:left; }
.name-landscape .eyebrow { margin-bottom:.65rem; font-size:12px; }
.name-landscape h2 { font-size:1.3rem; line-height:1.65; font-weight:700; color:#8a3b5e; margin-bottom:.9rem; letter-spacing:-.025em; }
.name-landscape figcaption>p:not(.eyebrow) { font-size:15px; line-height:1.95; color:#7a5b6d; margin:.75rem 0; word-break:keep-all; overflow-wrap:anywhere; }
.landscape-footnote { display:block; margin-top:1rem; padding-top:.8rem; border-top:1px solid #efd7e2; color:#946e84; font-size:12px; line-height:1.8; }
@media(max-width:960px) { .hero { grid-template-columns:1fr 1fr; gap:2rem; } .name-landscape { padding:1.2rem; } .name-landscape h2 { font-size:1.125rem; } }
@media(max-width:720px) { .hero { grid-template-columns:1fr; gap:2rem; padding:2.5rem 0; } .name-landscape { padding:1.5rem; border-radius:24px; } .landscape-orbit { max-width:310px; } .name-landscape h2 { font-size:1.25rem; } .landscape-name strong { font-size:2.25rem; } }
.landscape-orbit { width:min(100%,270px); margin-bottom:1.3rem; }
.landscape-name .landscape-kicker { font-size:12px; letter-spacing:.08em; }
.landscape-name>span:last-child { font-size:12px; }
.name-landscape { padding:1.4rem 1.8rem; }
.name-landscape figcaption>p:not(.eyebrow) { margin:.6rem 0; }
.landscape-footnote { font-size:13px; margin-top:.8rem; padding-top:.65rem; }
@media(max-width:720px) { .name-landscape { padding:1.4rem; } .landscape-orbit { width:min(100%,290px); } .landscape-name .landscape-kicker { font-size:11px; } }
.specialist-controls{border-color:#dfaac1!important;background:#fff5fa!important}.specialist-case{font-size:15px;line-height:1.95;color:#824e69}.specialist-results{padding:1.5rem 2rem;background:#fffcfe;border-block:1px solid var(--line)}.specialist-results h3{font-size:20px;color:var(--jade-dark)}.role-era-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.case-facts{margin:1rem 0 0;display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.case-facts div{padding:.6rem;background:#fdf2f7;border-radius:8px}.case-facts dt{font-size:12px;color:#97657c}.case-facts dd{font-size:14px;margin:.25rem 0 0;color:#624153}.table-scroll caption{text-align:left;padding:1rem;font-size:14px;color:var(--jade-dark)}@media(max-width:600px){.specialist-results{padding:1.25rem 1rem}.role-era-grid,.case-facts{grid-template-columns:1fr}}
.lexicon-grid{display:grid;gap:1rem;margin-top:1.5rem}.lexicon-entry{border:1px solid var(--line);border-radius:16px;background:white;padding:1.3rem 1.5rem}.lexicon-entry h3{font-size:21px;color:var(--jade-dark)}.lexicon-entry h3 small{font-size:14px;font-weight:400;margin-left:.5rem}.lexicon-entry p{font-size:15px;line-height:1.95}.lexicon-entry .control-note{font-size:13px}
.scope-notice{font-size:14px!important;line-height:1.9!important;padding:1rem 1.2rem;border-left:3px solid #dda3be;background:#fff4f9;color:#85526a}.worked-example{margin:2rem 0!important;padding:1.25rem 0;border-top:1px solid var(--line)}.worked-example h3{font-size:19px;color:#8b3e5e}.example-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1rem 0}.example-settings div{background:#fdf0f6;border:1px solid #f2dce7;border-radius:10px;padding:.65rem .8rem}.example-settings dt{font-size:12px;color:#9a6680}.example-settings dd{font-size:14px;line-height:1.8;margin:.3rem 0 0;color:#72455c}.empty-example{padding:1.2rem;background:#fff6fa;border-left:3px solid #d5a5ba}.editorial-decision{border-left:3px solid #d9a0bc;padding-left:1.2rem}.theme-hero{align-items:start}.longform .worked-example .button{font-size:14px}.longform .worked-example p{font-size:15px}@media(max-width:600px){.example-settings{grid-template-columns:1fr 1fr}.worked-example .table-scroll{margin-inline:-.2rem}}
#worked-example{scroll-margin-top:100px}.longform h2 a{text-decoration:none}.example-settings dd{overflow-wrap:anywhere}.name-landscape img{background:#eac2d8}.scope-notice a{color:var(--jade-dark)}
