@font-face {
  font-family: "Sunny Myeongjo";
  src: url("./assets/display.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --column: 448px;
  --header-height: 64px;
  --outer: #060606;
  --base: #0e0e0e;
  --surface: #191919;
  --inset: #101010;
  --text: #f2f2f2;
  --muted: #bdbdbd;
  --quiet: #a3a3a3;
  --line: rgb(255 255 255 / 12%);
  --edge: rgb(255 255 255 / 21%);
  --emphasis: #dddddd;
  --focus: #dedede;
  --control: #1b1b1b;
  --rose-pink-rgb: 198 88 141;
  --selected-tab: linear-gradient(to top, rgb(var(--rose-pink-rgb) / 57%) 0%, rgb(145 57 100 / 38%) 8%, rgb(97 39 69 / 21%) 16%, transparent 26%), rgb(8 8 8 / 57%);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --sheet: linear-gradient(145deg, #202020, #181818 56%, #151515);
  --display: "Sunny Myeongjo", "Batang", "AppleMyungjo", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: dark;
  scroll-padding-block: calc(var(--header-height) + 12px) calc(78px + env(safe-area-inset-bottom));
  font-family: var(--sans);
  background: var(--outer);
  color: var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-color: #494949 var(--outer);
}
* { box-sizing: border-box; }
body { margin: 0 auto; width: 100%; max-width: var(--column); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; font-size: 1rem; line-height: 1.6; background: var(--base); box-shadow: 0 0 0 1px rgb(239 239 239 / 4%), 0 18px 72px rgb(0 0 0 / 24%); }
main { flex: 1; min-width: 0; }
main:focus { outline: 0; }
.wrap { width: calc(100% - 36px); margin-inline: auto; }
button, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; padding: 0; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, p, a, button { word-break: keep-all; overflow-wrap: break-word; }
input { min-width: 0; caret-color: var(--emphasis); }
input::placeholder { color: #a4a4a4; opacity: 1; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: #525252; color: white; }
svg { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 20; top: 8px; padding: 8px 15px; background: var(--surface); color: white; }
.masthead { position: sticky; top: 0; z-index: 8; background: rgb(14 14 14 / 96%); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.brand { min-height: 44px; display: inline-flex; align-items: center; }
.wordmark { display: block; width: 98px; aspect-ratio: 503 / 122; background: url("./assets/sunny.png") center / contain no-repeat; }
@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
  .wordmark {
    background: #ff58c5;
    -webkit-mask: url("./assets/sunny.png") center / contain no-repeat;
    mask: url("./assets/sunny.png") center / contain no-repeat;
  }
}
.header-search, .poster-date, .favorite, .button { background: var(--control); border: 1px solid var(--line); }
.header-search { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #dedede; background: transparent; border-color: transparent; }
.dock [data-icon] { display: inline-flex; }
.header-search svg { width: 21px; height: 21px; }
.category-band { position: sticky; z-index: 7; top: var(--header-height); border-bottom: 1px solid rgb(255 255 255 / 7%); background: rgb(14 14 14 / 95%); }
.category-band > .wrap { width: 100%; display: flex; align-items: flex-start; }
.category-band .category-tabs { flex: 1; min-width: 0; }
.expand-categories { width: 44px; height: 44px; margin: 3px 4px 0 0; flex: none; display: grid; place-items: center; color: #bdbdbd; border-radius: 50%; }
.expand-categories svg { transform: rotate(90deg); }
.category-band.expanded .category-tabs { flex-wrap: wrap; row-gap: 3px; }
.category-band.expanded .expand-categories svg { transform: rotate(-90deg); }
.expand-categories:focus-visible { outline-offset: -4px; }
.category-tabs { display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 3px 16px 11px; scroll-padding-inline: 16px; overscroll-behavior-x: contain; }
.category-tabs::-webkit-scrollbar, .feature-track::-webkit-scrollbar { display: none; }
.category-tabs button { flex: none; min-width: 46px; min-height: 44px; padding-inline: 12px; border: 1px solid transparent; border-radius: 24px; font-size: .91rem; letter-spacing: -.025em; color: #bdbdbd; white-space: nowrap; }
.category-tabs button[aria-selected="true"], .library-tabs button[aria-selected="true"], .dock a[aria-current="page"] {
  color: #f1f1f1;
  background: var(--selected-tab);
  background-origin: border-box;
  background-repeat: no-repeat;
  border: 1px solid rgb(255 255 255 / 17%);
  border-top-color: rgb(255 255 255 / 26%);
  border-bottom-color: rgb(182 86 133 / 63%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%), inset 0 -1px 0 rgb(221 117 169 / 14%), 0 3px 9px rgb(0 0 0 / 18%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.category-tabs button[aria-selected="true"], .dock a[aria-current="page"] { font-weight: 700; }
.category-tabs button:focus-visible { outline-offset: 1px; }
.header-search, .category-tabs button, .dock a, .library-tabs button, .button, .favorite { transition: transform 130ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .header-search:hover, .category-tabs button:not([aria-selected="true"]):hover, .dock a:not([aria-current]):hover, .library-tabs button:not([aria-selected="true"]):hover, .favorite:hover, .button:hover { background-color: #282828; border-color: #4f4f4f; color: #f3f3f3; }
}
.header-search:active, .category-tabs button:active, .dock a:active, .button:active, .favorite:active { transform: scale(.97); }
.feature-deck { position: relative; padding-top: 15px; }
.feature-rotation { position: absolute; z-index: 2; bottom: 0; right: 15px; color: #c6c6c6; width: 44px; height: 39px; display: grid; place-items: center; border-radius: 22px; }
.feature-rotation:empty { display: none; }
.feature-rotation:focus-visible { outline-offset: -3px; }
.feature-copy { pointer-events: none; }
.feature-poster.feature-peek { scroll-snap-align: none; }
.feature-track { position: relative; display: flex; gap: 11px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline-start: 20px; padding: 1px 20px 4px; overscroll-behavior-x: contain; }
.feature-track::after { content: ""; flex: 0 0 7px; }
.feature-poster {
  flex: 0 0 calc(100% - 17px); min-width: 0; aspect-ratio: 3 / 4; display: flex; flex-direction: column;
  position: relative; overflow: hidden; scroll-snap-align: start; border-radius: 23px; padding: 0;
  border: 1px solid rgb(210 210 210 / 17%); border-top-color: rgb(229 229 229 / 31%);
  background: radial-gradient(ellipse at 100% -8%, rgb(255 255 255 / 6%), transparent 60%), linear-gradient(153deg, #202020, #161616 57%, #131313);
  box-shadow: inset 0 1px 0 rgb(236 236 236 / 5%);
}
.poster-love { background: linear-gradient(154deg, #222222, #161616 62%, #131313); }
.poster-match { background: linear-gradient(154deg, #1e1e1e, #151515 62%, #111111); }
.poster-top { position: absolute; z-index: 2; inset: 16px 16px auto; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.poster-top .favorite, .poster-top .poster-date { pointer-events: auto; }
.poster-kind { color: #d3d3d3; font-size: .9rem; }
.poster-date { position: relative; min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 18px; color: #dfdfdf; font-size: .83rem; }
.poster-date:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.down-mark { width: 6px; height: 6px; margin: -3px 1px 0 2px; border: solid currentColor; border-width: 0 1.2px 1.2px 0; transform: rotate(45deg); }
.poster-date input { z-index: 1; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.poster-date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; cursor: pointer; }
.feature-media { position: absolute; inset: 0; background: linear-gradient(150deg, #2d2d2d, #202020 62%, #161616); }
.poster-love .feature-media { background: linear-gradient(145deg, #242424, #353535 60%, #202020); }
.poster-match .feature-media { background: linear-gradient(145deg, #343434, #242424 50%, #191919); }
.feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster-copy { position: relative; z-index: 1; padding: 58px 21px 24px; background: linear-gradient(transparent, rgb(0 0 0 / 66%)); }
.poster-copy h1, .poster-copy h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.85rem, 8.1vw, 2.48rem); line-height: 1.27; letter-spacing: -.038em; }
.poster-copy h1 span, .poster-copy h2 span, .poster-copy em { display: block; }
.poster-copy em { font-style: normal; color: #d1d1d1; }
.poster-copy p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin-top: 10px; letter-spacing: -.02em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 9px 17px; border-radius: 13px; font-weight: 650; font-size: .97rem; line-height: 1.45; text-align: center; }
.button-primary { background: #303030; border-color: #535353; color: #f4f4f4; }
.button-light, .button-kept { background: #191919; color: #dedede; }
.button-kept { border-color: rgb(179 179 179 / 47%); }
.poster-action { display: flex; flex: 1; min-height: 100%; flex-direction: column; justify-content: flex-end; position: relative; width: 100%; border-radius: inherit; }
.poster-action:focus-visible { outline-offset: -4px; z-index: 1; }
.full { width: 100%; }
.feature-navigation { display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 39px; }
.feature-navigation > button { color: #b4b4b4; height: 34px; width: 31px; border-radius: 20px; display: grid; place-items: center; }
.feature-dots { display: flex; align-items: center; }
.feature-dots button { height: 32px; min-width: 23px; display: grid; place-items: center; border-radius: 13px; }
.feature-dots span { background: #606060; width: 6px; height: 5px; border-radius: 4px; transition: transform .16s var(--ease-out); }
.feature-dots button[aria-current="true"] span { transform: scaleX(2.4); background: #b9b9b9; }
.catalog { padding: 14px 0 26px; }
.catalog.standalone, .content-page { padding-block: 26px 38px; min-height: 52vh; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 13px; margin-bottom: 13px; }
.section-heading h1, .section-heading h2, .content-page h1, .result-sheet h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.4; }
.section-heading h2 { font-size: 1.55rem; }
.section-heading h1, .content-page h1 { font-size: 2rem; }
.result-count { font-size: .84rem; color: var(--quiet); }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.topic-card { min-width: 0; position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #151515; transition: border-color .16s; }
.topic-card:hover, .topic-card:focus-within { border-color: rgb(182 182 182 / 46%); }
.card-link { display: flex; flex-direction: column; min-height: 100%; border-radius: inherit; }
.card-link:focus-visible { outline-offset: -3px; }
.cover-slot { display: block; aspect-ratio: 1.5; background: var(--cover, #2d2d2d); overflow: hidden; border-bottom: 1px solid rgb(234 234 234 / 5%); }
.cover-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme-nature { --cover: #2d2d2d; --tag: #bfbfbf; }
.theme-love { --cover: #303030; --tag: #bebebe; }
.theme-match { --cover: #2f2f2f; --tag: #c3c3c3; }
.theme-wealth { --cover: #313131; --tag: #c5c5c5; }
.theme-work { --cover: #303030; --tag: #c7c7c7; }
.theme-daily { --cover: #323232; --tag: #c4c4c4; }
.card-copy { padding: 11px 12px 15px; }
.card-category { display: block; font-size: .76rem; line-height: 1.6; color: var(--tag); font-weight: 650; }
.card-copy h3 { margin-top: 2px; font-weight: 700; font-size: 1.04rem; line-height: 1.5; letter-spacing: -.03em; }
.card-copy p { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-top: 4px; letter-spacing: -.02em; }
.favorite { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #cfcfcf; background: #171717; }
.favorite::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; }
.topic-card .favorite { position: absolute; top: 9px; right: 9px; }
.poster-top .favorite { position: relative; }
.favorite.active { color: #c2c2c2; border-color: #7f7f7f; }
.favorite.active svg { fill: #b7b7b7; }
.favorite svg { width: 16px; height: 16px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 12px; margin: 1px 0 19px; background: var(--surface); border: 1px solid #575757; border-radius: 13px; color: #c6c6c6; }
.search-box:focus-within { border-color: var(--focus); }
.search-box input { flex: 1; height: 47px; width: 100%; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.search-box input::-webkit-search-cancel-button { display: none; }
.clear-search { width: 34px; height: 40px; flex: none; }
.empty-state { text-align: center; padding: 33px 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--sheet); }
.empty-state h2 { font-size: 1.2rem; letter-spacing: -.03em; }
.empty-state p { margin-top: 7px; color: var(--muted); font-size: .95rem; }
.empty-state .button { margin-top: 20px; }
.footer { margin-top: auto; padding: 3px 0 calc(87px + env(safe-area-inset-bottom)); }
.footer-inner { min-height: 59px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--quiet); font-size: .83rem; }
.footer-inner > span { font-weight: 700; letter-spacing: .08em; }
.footer a, .back-button { min-height: 40px; display: inline-flex; align-items: center; }
.footer a:hover, .back-button:hover { color: var(--emphasis); }
.dock { z-index: 10; position: fixed; bottom: calc(10px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: min(calc(100% - 30px), 412px); padding: 5px; border-radius: 31px; border: 1px solid #393939; border-top-color: #494949; background: rgb(19 19 19 / 96%); box-shadow: 0 8px 25px rgb(0 0 0 / 35%); }
.dock a { min-height: 44px; display: flex; justify-content: center; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 24px; color: #bcbcbc; font-size: .84rem; }
.dock a svg { width: 18px; height: 18px; }
.dock a[aria-current="page"] svg { fill: rgb(183 183 183 / 18%); }
.back-button { color: var(--muted); gap: 3px; margin: -5px 0 11px -3px; font-size: .9rem; }
.reading-layout, .result-layout { display: grid; gap: 20px; align-items: start; }
.reading-intro > p, .page-subtitle, .result-heading > p { color: var(--muted); font-size: .98rem; line-height: 1.7; margin-top: 7px; }
.intro-meta { display: flex; gap: 7px; align-items: center; color: var(--emphasis); margin-top: 12px; font-size: .86rem; }
.form-sheet, .result-sheet, .pillars { background: var(--sheet); border: 1px solid var(--line); border-top-color: var(--edge); border-radius: 18px; padding: 20px; }
.form-sheet h2 { font-size: 1.2rem; letter-spacing: -.03em; }
.date-fields { border: 0; margin: 19px 0 0; padding: 0; min-width: 0; }
.date-fields legend { padding: 0; margin-bottom: 7px; font-weight: 650; }
.date-fields legend span { margin-left: 4px; font-size: .8rem; color: var(--quiet); font-weight: 500; }
.date-row { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 6px; }
.date-part { min-width: 0; display: flex; align-items: center; gap: 3px; height: 47px; padding: 0 10px; border: 1px solid #595959; border-radius: 9px; background: var(--inset); }
.date-part:focus-within { border-color: var(--focus); outline: 1px solid var(--focus); }
.date-part:has([aria-invalid="true"]) { border-color: #acacac; }
.date-part input { width: 100%; flex: 1; padding: 0; border: 0; outline: 0; background: none; line-height: 2; font-variant-numeric: tabular-nums; }
.date-part span[aria-hidden] { color: var(--muted); font-size: .85rem; }
.field-error { color: #bebebe; font-size: .855rem; }
.field-error:not(:empty) { margin-top: 7px; }
.form-sheet > button { margin-top: 22px; }
.privacy-note, .basis { color: var(--quiet); font-size: .82rem; margin-top: 11px; }
.privacy-note { text-align: center; }
.privacy-note svg { margin-right: 5px; }
.result-heading { margin-bottom: 17px; }
.result-layout { gap: 13px; }
.pillars { display: flex; flex-wrap: wrap; column-gap: 25px; row-gap: 12px; }
.pillar-block > span, .pillar-block small { display: block; color: var(--muted); font-size: .83rem; }
.pillar-block > div { display: flex; align-items: baseline; gap: 7px; }
.pillar-block strong { font-family: var(--display); font-size: 1.75rem; color: #c1c1c1; }
.pillar-block div span { font-family: var(--display); font-size: 1rem; color: #bcbcbc; }
.pillars > p { flex: 1 0 100%; border-top: 1px solid var(--line); padding-top: 9px; color: var(--muted); font-size: .88rem; }
.result-sheet h2 { font-size: 1.49rem; }
.result-sheet > p:not(.basis), .reflection p, .guide section p { line-height: 1.85; margin-top: 12px; }
.reflection { background: rgb(80 80 80 / 19%); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; margin-top: 19px; }
.reflection h3 { font-size: .93rem; color: #c4c4c4; }
.reflection p { margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.actions .button { padding-inline: 13px; }
.library-tabs { display: flex; gap: 7px; margin: 18px 0; }
.library-tabs button { display: inline-flex; gap: 7px; justify-content: center; align-items: center; padding: 8px 16px; min-height: 44px; font-size: .92rem; border: 1px solid transparent; border-radius: 22px; color: #c2c2c2; }
.library-tabs button span { font-size: .78rem; }
.saved-list { display: grid; gap: 10px; }
.saved-row { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 11px; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--sheet); }
.saved-row:hover { border-color: #7e7e7e; }
.saved-icon { flex: none; width: 42px; height: 48px; border-radius: 9px; display: grid; place-items: center; color: var(--tag); background: var(--cover); }
.saved-copy { flex: 1 1 70%; min-width: 0; }
.saved-copy > * { display: block; }
.saved-copy > span { font-size: .8rem; font-weight: 650; color: var(--tag); }
.saved-copy strong { font-size: 1.07rem; }
.saved-copy small, .saved-row time { font-size: .79rem; color: var(--quiet); }
.saved-row time { margin-left: 53px; }
.guide section { margin-top: 23px; border-top: 1px solid var(--line); padding-top: 16px; }
.guide h2 { font-size: 1.18rem; }
.guide section p { color: var(--muted); }
.reference-links { display: flex; flex-wrap: wrap; gap: 3px 12px; }
.reference-links a { text-decoration: underline; text-underline-offset: 3px; color: var(--emphasis); font-size: .87rem; }
.notice { position: fixed; z-index: 14; left: 50%; bottom: calc(77px + env(safe-area-inset-bottom)); translate: -50% 5px; opacity: 0; pointer-events: none; max-width: calc(100% - 32px); width: max-content; background: #363636; color: #f6f6f6; border: 1px solid var(--edge); padding: 8px 15px; border-radius: 16px; font-size: .89rem; transition: opacity .16s, translate .16s; }
.notice.visible { opacity: 1; translate: -50% 0; }
@media (max-width: 374px) {
  .wrap { width: calc(100% - 28px); }
  .category-tabs { padding-inline: 13px; }
  .feature-track { padding-inline: 14px; scroll-padding-inline-start: 14px; }
  .poster-copy h1, .poster-copy h2 { font-size: 1.72rem; }
  .poster-copy { padding: 42px 16px 17px; }
  .poster-copy p { font-size: .89rem; }
  .card-copy { padding: 9px 10px 12px; }
  .form-sheet, .result-sheet, .pillars { padding: 15px; }
  .date-part { padding-inline: 7px; }
  .dock a { gap: 4px; }
}
@media (hover: none) and (pointer: coarse) {
  body:has(.date-part input:focus, .search-box input:focus) .dock { visibility: hidden; }
}
@media (prefers-reduced-transparency: reduce) {
  .masthead, .category-band, .dock { background: #141414; }
  .category-tabs button[aria-selected="true"], .library-tabs button[aria-selected="true"], .dock a[aria-current="page"] { background-color: #0c0c0c; background-image: linear-gradient(to top, #71334f 0%, #421d2f 9%, #24171e 17%, #0c0c0c 26%); }
  .category-tabs button[aria-selected="true"], .library-tabs button[aria-selected="true"], .dock a[aria-current="page"] { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
