@charset "UTF-8";

:root {
  --paper: #faf7f2;
  --ink: #403a39;
  --muted: #736a67;
  --rose: #925065;
  --rose-light: #efd8dc;
  --line: #e5ded7;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button, input { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
img, svg { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--rose); outline-offset: 5px; }
::selection { background: #e7bdc5; color: #3b2930; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; padding: 12px 20px; transform: translateY(-150%); z-index: 100; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: relative; z-index: 10; }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 31px; font-weight: 600; letter-spacing: -1.2px; }
.brand img { width: 37px; height: 37px; }
.brand-dot { color: var(--rose); }
.brand-domain { font-weight: 400; }
.desktop-nav { display: flex; gap: 38px; margin-left: 30px; }
.desktop-nav a { display: flex; align-items: center; gap: 7px; font-size: 13px; position: relative; padding-block: 14px; }
.desktop-nav a::after { content: ""; position: absolute; width: 0; height: 1px; background: var(--rose); bottom: 5px; left: 0; transition: width .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a.current::after { width: 100%; }
.desktop-nav a span { color: var(--rose); font: 9px var(--mono); align-self: flex-start; margin-top: 2px; }
.header-end { display: flex; align-items: center; }
.header-note { font: 9px var(--mono); letter-spacing: 1.6px; color: var(--muted); }
.menu-toggle { display: none; }
.mobile-nav { padding: 20px 24px; border-bottom: 1px solid var(--line); background: #fffaf7; }
.mobile-nav a { display: block; padding: 15px 8px; }
.hero { min-height: 642px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 8px; position: relative; padding-top: 18px; padding-bottom: 26px; }
.hero-copy { padding-bottom: 6px; position: relative; z-index: 1; }
.eyebrow { font: 10px/1.5 var(--mono); letter-spacing: 1.8px; display: flex; align-items: center; gap: 12px; color: var(--rose); margin: 0 0 22px; }
.tiny-spark { font-size: 22px; line-height: 1; }
.hello-line { height: 1px; width: 52px; background: #d9b9bf; margin-left: 5px; }
.hero-name { font-size: 13px; letter-spacing: 2px; margin: 28px 0 20px; }
.hero-name > span:first-child { margin-inline: 11px; color: #c2a9ae; }
.hero-name > span:last-child { font: italic 14px Georgia, serif; color: var(--muted); letter-spacing: .2px; }
h1 { font: 500 clamp(52px, 5.6vw, 78px)/1.33 var(--serif); letter-spacing: -2px; margin: 0 0 25px; }
.ink-word { color: var(--rose); position: relative; display: inline-block; }
.ink-word svg { position: absolute; left: -2px; bottom: -5px; width: 100%; height: 14px; stroke: #cb939f; stroke-width: 1.6px; fill: none; }
.hero-description { color: var(--muted); font-size: 14px; line-height: 2; margin: 0; letter-spacing: .4px; }
.mobile-break { display: none; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 31px; }
.button { min-height: 49px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border-radius: 7px; font-size: 13px; transition: background .2s, transform .2s, box-shadow .2s; }
.primary { color: #fffaf5; background: #88495e; box-shadow: 0 5px 13px #8c465c14; }
.primary:hover { background: #71394d; transform: translateY(-2px); box-shadow: 0 7px 16px #8c465c22; }
.button span { font-size: 19px; }
.text-link { font-size: 12px; padding-block: 14px; }
.text-link span { margin-left: 9px; color: var(--rose); }
.text-link:hover { color: var(--rose); }
.hero-footnote { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; letter-spacing: .4px; margin: 27px 0 0; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #8b9b7e; }
.footnote-separator { color: #baaea8; margin-inline: 3px; }
.hero-art { position: relative; min-width: 0; padding-bottom: 14px; }
.garden-art { width: 113%; max-width: none; height: auto; margin-left: -5%; }
.art-caption { position: absolute; right: 6%; top: 32px; color: #9b827d; font: 8px var(--mono); letter-spacing: 2px; }
.vertical-note { position: absolute; right: -20px; top: 26%; writing-mode: vertical-rl; font-family: var(--serif); font-size: 13px; color: #9c8b85; letter-spacing: 4px; }
.mood-sticker { position: absolute; bottom: 44px; left: 16%; padding: 14px 17px; display: flex; align-items: center; gap: 12px; background: #fffdf9ed; border: 1px solid #e6d7d0; box-shadow: 0 9px 23px #724e3910; border-radius: 7px; transform: rotate(-3deg); transition: transform .25s; text-align: left; }
.mood-sticker:hover { transform: rotate(0) translateY(-3px); }
.mood-icon { color: #b27889; font-size: 30px; }
.mood-label { display: block; font-size: 9px; color: var(--muted); margin-bottom: 5px; letter-spacing: 1px; }
.mood-sticker strong { font-size: 11px; font-weight: 500; letter-spacing: .5px; }
.mood-next { font-size: 18px; color: #a98790; margin-left: 7px; }
.interest-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 84px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-label { color: var(--muted); font: 9px var(--mono); letter-spacing: 1.1px; }
.interest-strip > span:not(.strip-label) { display: flex; align-items: center; gap: 11px; font-size: 11px; color: #645b59; }
.interest-strip i { font-style: normal; color: #a1797d; font-size: 22px; }
.scroll-cue { font-size: 10px; color: var(--muted); display: flex; gap: 13px; }
.scroll-cue span { color: var(--rose); }
.section-space { padding-block: 102px; }
.section-number { font-size: 9px; padding: 3px 6px; border: 1px solid #d9c5c5; border-radius: 3px; letter-spacing: 0; }
h2 { font: 500 38px/1.5 var(--serif); letter-spacing: -.6px; margin: 0; }
h2 em { font-style: normal; color: var(--rose); }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-subtitle { color: var(--muted); font-size: 12px; margin: 15px 0 0; line-height: 1.8; }
.about-section { display: grid; grid-template-columns: 1.06fr 1.25fr .78fr; gap: 48px; align-items: start; }
.about-heading h2 { line-height: 1.6; }
.about-flower { color: #d5b4b9; font-size: 45px; margin-top: 25px; margin-left: 2px; line-height: 1; transform: rotate(14deg); }
.about-body { padding-top: 39px; }
.about-body p { font-size: 12px; line-height: 2.1; color: var(--muted); margin: 0 0 16px; }
.about-body .about-lead { font-size: 17px; line-height: 1.85; color: var(--ink); margin-bottom: 20px; }
.serif-inline { font: italic 21px Georgia, serif; color: var(--rose); }
.interest-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.interest-tags span { font-size: 10px; color: #746966; background: #f0eae3; border-radius: 4px; padding: 7px 10px; }
.little-note { position: relative; margin-top: 52px; padding: 27px 25px 25px; min-height: 254px; background: #f3e7e3; transform: rotate(3deg); box-shadow: 5px 8px 0 #eadfd84d; }
.note-tape { position: absolute; top: -10px; left: 32%; width: 83px; height: 24px; background: #e6d4b982; transform: rotate(-5deg); }
.note-kicker { margin: 0 0 25px; font: 8px var(--mono); letter-spacing: 1.5px; color: #896e69; display: flex; justify-content: space-between; }
.note-kicker span { font-size: 13px; }
.note-writing { font: 21px/1.8 var(--serif); margin: 0 0 16px; letter-spacing: 2px; }
.note-writing em { font-style: normal; color: var(--rose); }
.note-signature { font: 11px var(--serif); color: var(--muted); }
.note-fox { position: absolute; bottom: 13px; right: 15px; width: 53px; height: 40px; fill: none; stroke: #b78993; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-7deg); }
.projects-section { background: #f2eee7; border-top: 1px solid #e9e2d9; border-bottom: 1px solid #e9e2d9; padding-top: 84px; padding-bottom: 66px; }
.projects-heading { display: flex; align-items: center; justify-content: space-between; }
.handwritten { color: #a58382; font: italic 20px Georgia, serif; transform: rotate(-7deg); margin-right: 26px; margin-top: 27px; }
.project-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 35px 0 24px; gap: 20px; }
.project-filters { display: flex; gap: 5px; flex-wrap: wrap; }
.filter { background: transparent; min-height: 40px; padding: 11px 15px; border-radius: 5px; color: #706562; font-size: 11px; transition: background .2s; }
.filter.active { background: #fffaf5; box-shadow: 0 1px 4px #67564f0b; color: var(--rose); }
.filter:hover { background: #e9e0d7; }
.filter span { margin-left: 7px; color: var(--muted); font: 9px var(--mono); }
.filter-status { font: 10px var(--sans); color: var(--muted); white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.project-card { border: 1px solid #e7ded4; background: #fffcf7; border-radius: 11px; overflow: hidden; min-width: 0; transition: box-shadow .25s, transform .25s; }
.project-card:hover { box-shadow: 0 10px 24px #725b4410; transform: translateY(-4px); }
.project-visual { height: 244px; position: relative; overflow: hidden; display: grid; place-items: center; border-bottom: 1px solid #e8ddd5; }
.visual-label { position: absolute; top: 20px; left: 20px; font: 7px var(--mono); letter-spacing: 1.4px; color: #8a6c70; }
.concept-label { position: absolute; bottom: 15px; right: 18px; font: 7px var(--mono); letter-spacing: 1.2px; color: #745c58; }
.visual-ai { background: #eededf; }
.idea-window { width: 79%; padding: 0 15px 17px; background: #fffcf8; border: 1px solid #e2ccd0; border-radius: 8px; box-shadow: 7px 9px 0 #b5838a14; transform: rotate(-5deg); margin-top: 13px; }
.window-top { height: 30px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid #f0e4df; }
.window-top > span { width: 4px; height: 4px; border-radius: 50%; background: #cda8ab; }
.window-top i { font: 7px var(--mono); margin-left: auto; color: #a38085; }
.idea-search { background: #f5eeea; border-radius: 4px; padding: 10px 7px; margin: 13px 0 12px; font-size: 8px; color: #99827c; display: flex; align-items: center; gap: 6px; }
.idea-search > span { font-size: 13px; color: #b17c8a; }
.idea-search i { margin-left: auto; font: 6px var(--mono); }
.idea-row { display: flex; align-items: center; gap: 9px; }
.idea-icon { font-size: 27px; color: #bd8d9b; }
.idea-row b { font-size: 9px; font-weight: 500; display: block; margin-bottom: 5px; }
.idea-row small { font-size: 6px; color: #897b73; }
.idea-row > span:last-child { margin-left: auto; color: #bc9aa2; }
.mini-tags { display: flex; gap: 5px; margin-top: 12px; }
.mini-tags span { font: 6px var(--mono); color: #9d7d83; border: 1px solid #ecdce0; border-radius: 3px; padding: 4px 5px; }
.floating-star { position: absolute; right: 12px; top: 54px; color: #a25d71; font-size: 37px; transform: rotate(12deg); }
.visual-materials { background: #e7e9df; }
.visual-materials .visual-label { color: #748066; }
.molecule-art { width: 96%; height: 210px; margin-top: 12px; }
.materials-coordinate { position: absolute; bottom: 15px; left: 20px; color: #7d8b74; font: 6px var(--mono); }
.visual-web { background: #e6e1ec; }
.visual-web .visual-label { color: #82728f; }
.mini-browser { width: 76%; transform: rotate(5deg); background: #fffaf5; border: 1px solid #cfc7d7; border-radius: 7px; box-shadow: -6px 8px 0 #82728f0e; margin-top: 17px; }
.mini-browser-bar { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 11px; border-bottom: 1px solid #e9e0df; color: #9c8a91; font: 8px var(--mono); }
.mini-browser-bar i { font-style: normal; font-size: 7px; }
.mini-page { height: 128px; position: relative; padding: 20px 16px; }
.mini-hello { font: 5px var(--mono); color: #a07980; display: block; margin-bottom: 9px; letter-spacing: .8px; }
.mini-page b { font: 18px/1.45 var(--serif); }
.mini-page em { font-style: normal; color: var(--rose); }
.mini-page img { position: absolute; width: 61px; height: 61px; right: 13px; top: 31px; transform: rotate(-9deg); }
.mini-button { display: inline-block; width: 44px; height: 11px; border-radius: 2px; background: #a5677c; margin-top: 12px; }
.mini-line { display: inline-block; width: 17px; height: 1px; margin: 0 0 5px 10px; background: #d3b6bd; }
.web-spark { position: absolute; left: 18px; bottom: 37px; color: #90749d; font-size: 34px; }
.project-content { padding: 23px 22px 21px; }
.project-meta { display: flex; justify-content: space-between; gap: 9px; font: 8px var(--mono); letter-spacing: 1px; color: var(--muted); }
.project-meta > span:last-child { color: #b09b94; }
h3 { font: 500 25px var(--serif); margin: 16px 0 12px; }
.project-content p { margin: 0; color: var(--muted); font-size: 10px; line-height: 2; }
.project-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid #eee5de; }
.project-tag { color: #8e6e74; background: #f4e8e8; font-size: 9px; padding: 5px 7px; border-radius: 3px; }
.live-tag { background: #e9ece1; color: #64765f; }
.project-open { background: transparent; color: var(--rose); font-size: 10px; min-height: 36px; padding: 8px 0 8px 8px; }
.project-open > span { margin-left: 10px; font-size: 17px; }
.project-open:hover { color: #542434; text-decoration: underline; text-underline-offset: 5px; }
.projects-disclaimer { color: var(--muted); font-size: 10px; margin: 23px 0 0; line-height: 1.8; }
.projects-disclaimer > span { color: var(--rose); margin-right: 5px; }
.in-between { text-align: center; padding-block: 80px; border-bottom: 1px solid var(--line); }
.interlude-star { font-size: 32px; color: #b9939e; display: inline-block; transform: rotate(12deg); }
.in-between p { font: 500 30px var(--serif); margin: 20px 0 15px; letter-spacing: 2px; }
.in-between em { font-style: normal; color: var(--rose); }
.interlude-english { font: 8px var(--mono); letter-spacing: 2.5px; color: #897b72; }
.contact-section { padding-block: 85px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.contact-section h2 { font-size: 34px; }
.contact-section p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 2; margin-bottom: 0; }
.contact-links { display: grid; gap: 13px; }
.contact-links > a, .contact-links > button { display: flex; align-items: center; gap: 15px; padding: 20px 22px; background: #f2ebe4; border: 1px solid #e6dcd3; border-radius: 7px; text-align: left; transition: background .2s; }
.contact-links > a:hover, .contact-links > button:hover { background: #ece2da; }
.github-link svg { fill: #79605e; width: 23px; height: 23px; flex-shrink: 0; }
.contact-links strong { display: block; font-weight: 500; font-size: 13px; margin-bottom: 5px; }
.contact-links small { color: var(--muted); font-size: 9px; line-height: 1.6; }
.contact-arrow { margin-left: auto; color: #91727a; font-size: 22px; }
.copy-link > span:first-child { font-size: 29px; line-height: 1; width: 23px; color: #94717e; }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 27px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #736563; }
.footer-brand > span > span { margin-inline: 5px; color: #c3aaa9; }
.site-footer > p { margin: 0; color: var(--muted); font: 9px var(--mono); }
.site-footer > p > span { color: var(--rose); }
.site-footer > a { font-size: 10px; color: var(--muted); padding-block: 12px; }
.site-footer > a > span { margin-left: 8px; color: var(--rose); }
.site-footer .demo-footer { flex-basis: 100%; text-align: center; font: 8px var(--sans); color: #85786d; padding-top: 5px; letter-spacing: .7px; }
dialog { width: min(580px, calc(100% - 36px)); max-height: calc(100dvh - 48px); padding: 34px; border: 1px solid #e2cecb; border-radius: 14px; background: #fffaf4; color: var(--ink); box-shadow: 0 24px 100px #3c222f22; }
dialog::backdrop { background: #40303565; backdrop-filter: blur(5px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-top .eyebrow { margin: 0; font-size: 9px; }
.dialog-close { background: #f1e5e1; width: 38px; height: 38px; border-radius: 50%; font-size: 25px; line-height: 1; }
dialog h2 { margin-top: 22px; font-size: 32px; }
#dialog-description { font-size: 14px; line-height: 1.9; color: var(--rose); margin-block: 14px 22px; }
.dialog-body { display: grid; gap: 16px; }
.dialog-body h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; margin: 0 0 7px; }
.dialog-body p { margin: 0; font-size: 12px; line-height: 2; color: var(--muted); }
.dialog-note { font-size: 10px; line-height: 1.8; color: #85685f; background: #f4eae2; padding: 12px; border-radius: 5px; margin: 23px 0; }
.dialog-done { font-size: 12px; }
body.dialog-open { overflow: hidden; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: #684a55; color: #fffaf6; padding: 15px 23px; border-radius: 7px; box-shadow: 0 8px 30px #4f39432e; font-size: 12px; line-height: 1.7; z-index: 100; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: softly-in .7s ease both; }
  .hero-art { animation: softly-in .9s .1s ease both; }
  @keyframes softly-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (min-width: 1500px) { .hero { min-height: 690px; } }
@media (max-width: 1120px) {
  .shell { width: calc(100% - 64px); }
  .header-note { display: none; }
  .hero { min-height: 595px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  /* Keep the illustration inside the tablet gutter. */
  .garden-art { width: 108%; margin-left: -5%; }
  h1 { font-size: 64px; }
  .hero-footnote { font-size: 9px; gap: 6px; }
  .vertical-note { right: -6px; font-size: 11px; }
  .about-section { gap: 28px; grid-template-columns: 1fr 1.1fr .8fr; }
  .section-heading h2 { font-size: 32px; }
  .note-writing { font-size: 19px; letter-spacing: 1px; }
  .little-note { padding-inline: 21px; }
  .project-grid { gap: 16px; }
  .project-visual { height: 216px; }
  .project-content { padding-inline: 17px; }
  .project-content p { font-size: 10px; }
  .contact-section { gap: 36px; }
  .contact-section h2 { font-size: 29px; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 83px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 557px; gap: 0; }
  h1 { font-size: 53px; letter-spacing: -1.5px; }
  .hero-name { font-size: 12px; letter-spacing: 1px; }
  .hero-name > span:last-child { font-size: 12px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 16px; }
  .button { padding-inline: 16px; gap: 15px; font-size: 11px; }
  .hero-footnote .footnote-separator, .hero-footnote { font-size: 8px; }
  .garden-art { width: 119%; margin-left: -11%; }
  .art-caption { font-size: 6px; top: 16px; }
  .mood-sticker { left: 5%; bottom: 24px; padding: 10px 11px; gap: 8px; }
  .mood-sticker strong { font-size: 9px; }
  .mood-icon { font-size: 24px; }
  .vertical-note { right: -9px; font-size: 10px; }
  .interest-strip { min-height: 73px; }
  .interest-strip > span:not(.strip-label) { font-size: 10px; gap: 7px; }
  .strip-label, .scroll-cue { display: none; }
  .about-section { grid-template-columns: 1fr 1.3fr; gap: 35px; }
  .little-note { grid-column: 2; margin-top: 0; min-height: 150px; }
  .note-writing { font-size: 20px; }
  .note-writing br { display: none; }
  .note-kicker { margin-bottom: 15px; }
  .section-space { padding-block: 72px; }
  .handwritten { display: none; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .project-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .project-card:last-child .project-visual { height: 100%; min-height: 235px; border-bottom: 0; border-right: 1px solid #e8ddd5; }
  .project-visual { height: 250px; }
  .project-content { padding: 23px; }
  .project-toolbar { align-items: flex-start; }
  .filter-status { margin-top: 16px; }
  .project-bottom { margin-top: 20px; }
  .contact-section { grid-template-columns: 1fr; gap: 35px; padding-block: 65px; }
  .contact-links { grid-template-columns: 1fr 1fr; }
  .contact-links > a, .contact-links > button { padding: 18px 15px; gap: 10px; }
  .contact-links small { font-size: 8px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 30px; }
  .shell { width: calc(100% - 44px); }
  .header-inner { min-height: 76px; }
  .brand { font-size: 28px; gap: 9px; }
  .brand img { width: 32px; height: 32px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid #e1d7ce; border-radius: 50%; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--rose); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-top: 49px; padding-bottom: 0; gap: 7px; }
  .hero-copy { padding-left: 3px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  .hello-line { width: 37px; }
  .hero-name { margin-top: 24px; margin-bottom: 18px; font-size: 12px; }
  h1 { font-size: clamp(48px, 10.6vw, 65px); line-height: 1.35; letter-spacing: -1px; margin-bottom: 23px; }
  .hero-description { font-size: 12px; line-height: 2; }
  .hero-actions { margin-top: 26px; gap: 26px; }
  .button { padding: 13px 18px; gap: 19px; font-size: 12px; }
  .text-link { font-size: 11px; }
  .hero-footnote { font-size: 8px; margin-top: 24px; gap: 6px; }
  .hero-art { width: min(100%, 460px); margin-inline: auto; padding-bottom: 0; margin-top: 3px; }
  .garden-art { width: 110%; margin-left: -5%; }
  .art-caption { font-size: 7px; top: 21px; right: 6%; }
  .vertical-note { right: 0; top: 25%; font-size: 10px; }
  .mood-sticker { left: 12%; bottom: 32px; padding: 12px 14px; }
  .mood-sticker strong { font-size: 10px; }
  .interest-strip { display: grid; grid-template-columns: 1fr 1fr; padding: 17px 5px; gap: 14px; }
  .interest-strip > span:not(.strip-label) { font-size: 10px; gap: 9px; }
  .interest-strip > span:nth-child(3), .interest-strip > span:nth-child(5) { padding-left: 16px; }
  .interest-strip i { font-size: 19px; width: 20px; text-align: center; }
  .section-space { padding-block: 58px; }
  .about-section { grid-template-columns: 1fr; gap: 25px; }
  .section-heading h2 { font-size: 31px; line-height: 1.65; }
  .about-heading h2 br { display: initial; }
  .section-subtitle { font-size: 11px; margin-top: 12px; }
  .about-flower { display: none; }
  .about-body { padding-top: 0; }
  .about-body .about-lead { font-size: 17px; }
  .about-body p { font-size: 12px; }
  .interest-tags { margin-top: 19px; }
  .little-note { grid-column: auto; width: 94%; margin: 12px auto 0; padding: 26px 26px; }
  .note-writing { font-size: 22px; }
  .note-writing br { display: none; }
  .note-fox { width: 58px; height: 43px; }
  .projects-section { padding-top: 55px; padding-bottom: 40px; }
  .projects-heading h2 { font-size: 30px; }
  .project-toolbar { margin-top: 27px; margin-bottom: 22px; flex-wrap: wrap; gap: 0; }
  .project-filters { gap: 2px; width: 100%; }
  .filter { font-size: 10px; padding: 10px 10px; min-height: 44px; }
  .filter span { font-size: 8px; margin-left: 4px; }
  .filter-status { margin: 11px 0 0 2px; font-size: 9px; }
  .project-grid { grid-template-columns: 1fr; gap: 21px; }
  .project-card:last-child { grid-column: auto; display: block; }
  .project-card:last-child .project-visual { border-right: 0; border-bottom: 1px solid #e8ddd5; min-height: 0; height: 260px; }
  .project-visual { height: 260px; }
  .project-content { padding: 24px; }
  .project-content p { font-size: 11px; }
  .project-open { min-height: 44px; font-size: 11px; }
  .project-tag { font-size: 10px; }
  .idea-window { width: 76%; }
  .idea-search { font-size: 9px; padding-block: 12px; }
  .idea-row b { font-size: 10px; }
  .idea-row small { font-size: 7px; }
  .mini-tags span { font-size: 7px; }
  .mini-browser { width: 75%; }
  .molecule-art { width: 90%; height: 230px; }
  .projects-disclaimer { font-size: 9px; margin-top: 21px; }
  .in-between { padding-block: 57px; }
  .in-between p { font-size: 24px; letter-spacing: 1px; }
  .interlude-english { font-size: 7px; }
  .contact-section { padding-block: 57px; gap: 28px; }
  .contact-section h2 { font-size: 29px; }
  .contact-section h2 em { display: block; }
  .contact-section p:not(.eyebrow) { font-size: 11px; }
  .contact-links { grid-template-columns: 1fr; gap: 12px; }
  .contact-links > a, .contact-links > button { padding: 20px; gap: 14px; }
  .contact-links small { font-size: 9px; }
  .site-footer { padding-block: 24px; gap: 13px; }
  .site-footer > p:not(.demo-footer) { order: 3; flex-basis: 100%; font-size: 8px; }
  .site-footer > a { margin-left: auto; }
  .site-footer .demo-footer { order: 4; text-align: left; font-size: 8px; padding-top: 0; }
  dialog { padding: 25px; }
  dialog h2 { font-size: 29px; }
  .dialog-top .eyebrow { font-size: 8px; letter-spacing: 1px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 36px); }
  h1 { font-size: 45px; }
  .hero-footnote { font-size: 7px; }
  .hero-name > span:first-child { margin-inline: 8px; }
  .filter { font-size: 9px; padding-inline: 9px; }
  .about-heading h2, .projects-heading h2 { font-size: 27px; }
  .note-writing { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .primary:hover, .project-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .primary, .filter.active, .project-tag { border: 1px solid ButtonText; }
  .project-visual { border: 1px solid CanvasText; }
}

/* V2: a generated character, contained at every breakpoint. */
.hero-art-v2 { isolation: isolate; padding: 35px 0 30px; }
.hero-art-v2 .garden-art { position: relative; width: 100%; max-width: 100%; max-height: 555px; object-fit: contain; margin: 0; z-index: 1; }
.hero-art-v2::before { content: ""; position: absolute; z-index: -1; inset: 12% 0 5%; border-radius: 50%; background: radial-gradient(ellipse, #efddd9b0, #f2e8e050 62%, transparent 72%); }
.art-orbit { position: absolute; z-index: -1; inset: 15% 3% 8%; border: 1px dashed #dac2c0; border-radius: 50%; transform: rotate(-18deg); }
.art-spark { position: absolute; color: #b07d89; font-size: 31px; }
.spark-one { top: 20%; left: 9%; }.spark-two { top: 40%; right: 0; font-size: 23px; }
.hero-art-v2 .art-caption { top: 10px; right: 8%; }
.hero-art-v2 .vertical-note { right: 0; z-index: 2; }
.hero-art-v2 .mood-sticker { bottom: 10px; left: 8%; z-index: 3; }
.desktop-nav { gap: 25px; }
.playground-section { border-bottom: 1px solid var(--line); }
.playground-layout { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.explore-paths { display: grid; gap: 28px; padding-top: 8px; }
.explore-paths article { display: flex; gap: 21px; }
.path-symbol { flex: 0 0 39px; height: 39px; border: 1px solid #decdc6; border-radius: 50%; display: grid; place-items: center; font-size: 23px; color: var(--rose); }
.explore-paths h3 { font-size: 21px; margin: 0 0 9px; }
.explore-paths p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0 0 11px; }
.path-tags { color: #957879; font-size: 9px; letter-spacing: .8px; }
.idea-desk { min-width: 0; border: 1px solid #e1cfca; border-radius: 12px; padding: 27px 29px; background: #fffaf6; box-shadow: 7px 9px 0 #eee4dd80; }
.desk-heading { display: flex; justify-content: space-between; align-items: center; color: #a07981; font: 9px var(--mono); letter-spacing: 1.6px; border-bottom: 1px solid #eadcd5; padding-bottom: 17px; }
.desk-heading > span:last-child { font-size: 24px; }
.desk-intro { font: 20px var(--serif); margin: 24px 0 17px; }
.idea-categories { display: flex; flex-wrap: wrap; gap: 6px; }
.idea-category { background: #f3ebe4; color: #756966; border: 1px solid transparent; padding: 10px 12px; min-height: 40px; border-radius: 5px; font-size: 10px; }
.idea-category.active { color: var(--rose); border-color: #d9b8c0; background: #f7e8eb; }
.idea-category:hover { background: #eedcde; }
.idea-prompt { min-height: 169px; padding: 25px 0 20px; }
#idea-time { color: #aa8b7d; font: 8px var(--mono); letter-spacing: 1.5px; }
.idea-prompt h3 { font-size: 24px; line-height: 1.5; margin: 14px 0 11px; }
.idea-prompt p { font-size: 12px; line-height: 2; color: var(--muted); margin: 0; }
.desk-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#idea-count { color: #9c827f; font: 10px var(--mono); }
.desk-note { font-size: 9px; line-height: 1.9; color: #93837b; border-top: 1px solid #eadcd5; padding-top: 17px; margin: 22px 0 0; }
@media (max-width: 1120px) { .playground-layout { gap: 38px; } }
@media (max-width: 850px) { .desktop-nav { gap: 17px; margin-left: 0; }.hero-art-v2 { padding-top: 35px; }.playground-layout { gap: 27px; grid-template-columns: 1fr 1.1fr; }.idea-desk { padding: 23px 20px; }.explore-paths article { gap: 14px; }.explore-paths h3 { font-size: 19px; } }
@media (max-width: 640px) { .hero-art-v2 { margin-top: 17px; padding: 34px 0 45px; }.hero-art-v2 .garden-art { max-height: 490px; }.hero-art-v2 .mood-sticker { bottom: 13px; left: 9%; }.hero-art-v2 .art-caption { top: 6px; }.playground-layout { grid-template-columns: 1fr; gap: 34px; margin-top: 30px; }.explore-paths { gap: 25px; }.idea-desk { padding: 24px; }.idea-category { min-height: 44px; }.idea-prompt { min-height: 180px; }.idea-prompt h3 { font-size: 23px; } }

/* Handwritten display typography, derived from OFL-licensed Yozai. */
@font-face { font-family: "Feiqi Hand"; src: url("../assets/fonts/feiqi-hand.woff") format("woff"); font-style: normal; font-weight: 400 700; font-display: swap; }
:root { --serif: "Feiqi Hand", "Noto Serif SC", "Songti SC", Georgia, serif; }
h1 { font-size: clamp(55px, 5.5vw, 77px); line-height: 1.3; letter-spacing: 0; }
h2, h3, .note-writing { font-weight: 400; letter-spacing: .3px; }
.hero-name, .mood-sticker strong, .look-button strong { font-family: "Feiqi Hand", var(--sans); }
.hero-name { font-size: 17px; }.mood-sticker strong { font-size: 15px; }
.desktop-nav { gap: 22px; }.header-note { font-size: 8px; letter-spacing: 1px; }
.wardrobe-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-bottom: 1px solid var(--line); }
.wardrobe-intro h2 { font-size: 42px; line-height: 1.4; }
.wardrobe-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 29px; }
.look-button { min-width: 0; display: flex; align-items: center; gap: 11px; text-align: left; padding: 14px 13px; border: 1px solid #e6d9d0; border-radius: 8px; background: #fffbf6; min-height: 72px; transition: border-color .2s, background .2s; }
.look-button:first-child { grid-column: 1 / -1; }
.look-button.active { background: #f6e6e8; border-color: #b78192; }
.look-button:hover { border-color: #ba8a98; }
.look-button strong { display: block; font-size: 18px; font-weight: 400; margin-bottom: 5px; }
.look-button small { display: block; color: var(--muted); font-size: 9px; line-height: 1.6; }
.look-check { margin-left: auto; color: var(--rose); opacity: 0; }.look-button.active .look-check { opacity: 1; }
.look-dot { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 16px; box-shadow: inset 0 0 0 1px #49333010; }
.rose-dot { background: #d3a1b0; }.sage-dot { background: #a7ad91; }.blue-dot { background: #9aa7bf; }.lilac-dot { background: #bca6c7; }.cocoa-dot { background: #bd9273; }
.wardrobe-footnote { font-size: 9px; line-height: 1.8; color: #938178; margin-top: 18px; }
.wardrobe-stage { margin: 0; min-width: 0; }.look-frame { height: 510px; position: relative; background: radial-gradient(ellipse at 50% 60%, #efddd8, #f6ece580 60%, transparent 73%); border: 1px solid #e6d6ce; border-radius: 45% 45% 12px 12px; padding: 28px 17px 14px; }
.look-frame img { width: 100%; height: 100%; object-fit: contain; }
.look-edition { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); color: #a1877f; font: 8px var(--mono); letter-spacing: 1.5px; white-space: nowrap; }
.wardrobe-stage figcaption { text-align: center; display: grid; gap: 9px; margin-top: 21px; }
#look-number { color: #ab8c87; font: 9px var(--mono); }#look-title { font: 24px var(--serif); }#look-description { font-size: 11px; line-height: 1.8; color: var(--muted); }
@media (max-width: 1120px) { .header-note { display: none; }.desktop-nav { gap: 20px; }.wardrobe-section { gap: 35px; }.look-frame { height: 480px; }.look-button { padding: 12px 10px; gap: 8px; }.look-button small { font-size: 8px; } }
@media (max-width: 850px) { .desktop-nav { gap: 14px; }.desktop-nav a { font-size: 12px; }.wardrobe-section { gap: 28px; grid-template-columns: 1fr 1fr; }.wardrobe-options { grid-template-columns: 1fr; gap: 7px; }.look-button { min-height: 57px; padding: 10px 12px; }.look-button strong { margin-bottom: 2px; }.wardrobe-intro h2 { font-size: 35px; }.look-frame { height: 510px; } }
@media (max-width: 640px) { h1 { font-size: clamp(45px, 11.8vw, 65px); }.hero-name { font-size: 15px; }.hero-name > span:last-child { font-size: 12px; }.mood-sticker strong { font-size: 13px; }.wardrobe-section { grid-template-columns: 1fr; gap: 30px; }.wardrobe-intro h2 { font-size: 34px; }.wardrobe-intro h2 br { display: none; }.wardrobe-options { grid-template-columns: 1fr 1fr; gap: 8px; }.look-frame { height: 440px; max-width: 400px; margin-inline: auto; }.wardrobe-footnote { font-size: 8px; }.look-button strong { font-size: 17px; } }
@media (max-width: 360px) { .look-button { gap: 7px; padding-inline: 9px; }.look-button small { font-size: 7px; }.look-dot { width: 12px; height: 12px; flex-basis: 12px; }.look-frame { height: 380px; } }
/* A quiet dialogue-card treatment, with the same paper-and-rose palette. */
.wardrobe-stage figcaption { position: relative; border: 1px solid #dcc5c7; border-radius: 9px; background: #fffaf6; padding: 22px 24px 20px; margin-top: 20px; box-shadow: 3px 4px 0 #ebdeda70; }
.wardrobe-stage figcaption::before { content: ""; position: absolute; width: 10px; height: 10px; border-top: 1px solid #dcc5c7; border-left: 1px solid #dcc5c7; background: #fffaf6; top: -6px; left: 50%; transform: rotate(45deg); }
#look-description { font-family: "Feiqi Hand", var(--sans); font-size: 17px; line-height: 1.75; }
#look-title { color: var(--rose); }
@media (max-width: 640px) { #look-description { font-size: 16px; }.wardrobe-stage figcaption { padding: 21px 18px 18px; } }
/* Approved white-background character art is displayed on white portrait mounts. */
.hero-art-v2 { background: #fff; border: 1px solid #f1e4df; border-radius: 45% 45% 16px 16px; padding: 34px 20px 35px; box-shadow: 0 15px 40px #a5687010; }
.hero-art-v2::before, .hero-art-v2 .art-orbit { display: none; }
.hero-art-v2 .garden-art { max-height: 510px; background: white; }
.look-frame { background: #fff; }.look-frame img { background: #fff; }
.profile-view { min-height: 100vh; position: relative; isolation: isolate; padding: 0 0 22px; background: #f6eee8; }
.profile-backdrop { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#fbf5ef50, #f7eee9b5 58%, #f7eee9), url('../assets/profile-garden.webp') center top / 100% auto no-repeat; }
.profile-shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.profile-topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #c9a8a875; }
.profile-home { font-size: 12px; padding: 14px 0; display: inline-flex; gap: 12px; align-items: center; }.profile-home:hover { color: var(--rose); }
.profile-chapter { font: 9px var(--mono); letter-spacing: 2px; color: #836964; }.profile-chapter i { padding: 0 12px; color: #b48d90; font-style: normal; }.profile-topmark { font-size: 25px; color: var(--rose); }
.profile-heading { text-align: center; padding: 36px 0 30px; }.profile-heading .eyebrow { justify-content: center; margin: 0 0 12px; font-size: 9px; letter-spacing: 2.5px; }
.profile-heading h1 { font: 46px/1.25 var(--serif); margin: 0; letter-spacing: 1px; }.profile-heading h1 em { color: var(--rose); font-style: normal; }.profile-heading > p:last-child { font-size: 11px; color: #7b6964; margin: 14px 0 0; }
.rpg-layout { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.25fr); gap: 32px; align-items: start; }
.rpg-portrait-panel { background: white; border: 1px solid #d2b6b3; outline: 1px solid #eee0d8; outline-offset: 5px; border-radius: 160px 160px 9px 9px; padding: 37px 20px 14px; position: relative; box-shadow: 0 13px 38px #76504815; }
.portrait-ribbon { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 20px; align-items: center; font: 8px var(--mono); letter-spacing: 3px; color: #a37682; }.portrait-ribbon > span:last-child { font-size: 19px; }
.profile-portrait { width: 100%; height: 536px; object-fit: contain; background: white; }
.portrait-plaque { margin: 5px auto 0; display: grid; gap: 7px; text-align: center; width: 80%; border-top: 1px solid #eadbd4; padding-top: 17px; }.portrait-plaque > span { font: 32px var(--serif); color: var(--rose); }.portrait-plaque small { font: 7px var(--mono); letter-spacing: 2px; color: #a0827b; }.portrait-note { font-size: 9px; color: #99877f; margin: 13px 0 0; text-align: center; }
.rpg-information { min-width: 0; }.rpg-window { border: 1px solid #c7a4a5; border-radius: 10px; background: #fffaf4f5; box-shadow: 5px 6px 0 #dfcdc04d, 0 12px 30px #7a505010; overflow: hidden; }
.rpg-windowbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; background: #ecd8d8; border-bottom: 1px solid #d6b7b9; padding: 12px 21px; color: #815862; font: 17px var(--serif); }.rpg-windowbar i { font-style: normal; margin-right: 7px; }.window-decoration { font: 10px var(--mono); color: #b38c94; }
.profile-tabs { display: flex; padding: 17px 24px 0; gap: 6px; border-bottom: 1px solid #e7d8cf; }
.profile-tab { background: transparent; min-height: 43px; padding: 8px 22px 12px; border-radius: 6px 6px 0 0; border-bottom: 2px solid transparent; color: #927a73; font: 18px var(--serif); }.profile-tab.active { color: var(--rose); border-bottom-color: var(--rose); background: #f5e9e5; }.profile-tab:hover { background: #f6eee8; }
.profile-panel { padding: 25px 29px 28px; min-height: 389px; }.panel-eyebrow { font: 8px var(--mono); letter-spacing: 1.7px; color: #b18b81; margin: 0 0 13px; }.profile-panel h2 { font: 29px/1.4 var(--serif); margin: 0 0 12px; }.profile-panel h2 em { color: var(--rose); }.profile-lead { font-size: 12px; line-height: 1.9; color: #786961; margin: 0 0 22px; }
.character-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0 0 22px; }.character-facts dt { font-size: 9px; color: #a08a7e; margin-bottom: 6px; }.character-facts dd { font-size: 12px; margin: 0; color: #65534f; }
.trait-card { background: #f7eee6; border: 1px solid #e8d8cd; border-radius: 7px; padding: 14px 16px; }.trait-card > span { font-size: 8px; color: #a08478; display: block; margin-bottom: 12px; letter-spacing: 1px; }.trait-card > div { display: flex; align-items: center; gap: 15px; margin: 8px 0; }.trait-card b { font-size: 11px; font-weight: 400; width: 60px; }.trait-card i { font-size: 12px; font-style: normal; color: #b67c91; letter-spacing: 3px; }.trait-card small { margin-left: auto; font-size: 8px; color: #a48b7e; }.trait-card p { font-size: 8px; line-height: 1.7; color: #a08c7e; margin: 12px 0 0; }
.quest-list { display: grid; gap: 20px; margin: 22px 0; }.quest-list article { display: flex; gap: 17px; }.quest-list article > span { color: #b18190; font-size: 24px; width: 27px; flex: 0 0 27px; }.quest-list h3, .inventory-list h3 { font: 19px var(--serif); margin: 0 0 6px; }.quest-list p, .inventory-list p { font-size: 11px; line-height: 1.9; color: #857167; margin: 0; }
.rpg-text-link { display: inline-block; font-size: 11px; color: var(--rose); padding: 12px 0; }.rpg-text-link:hover { text-decoration: underline; }.rpg-text-link > span { margin-left: 14px; }
.inventory-list { display: grid; gap: 12px; margin: 22px 0 12px; }.inventory-list article { display: flex; gap: 13px; align-items: start; border: 1px solid #eadbd1; background: #fffdfa; border-radius: 6px; padding: 14px; }.inventory-mark { color: #b58c94; font-size: 23px; flex: 0 0 25px; }.inventory-list small { white-space: nowrap; background: #f0e4dd; color: #9b7c72; border-radius: 3px; padding: 4px 6px; font-size: 8px; margin-left: auto; }.profile-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 20px; }.profile-panel-actions .button { min-height: 43px; font-size: 11px; }
.story-label { font-size: 9px; color: #a78a7b; }.story-text p { font-size: 12px; line-height: 2.1; color: #7a655b; }.story-signature { font: 14px var(--serif); color: #b1828d; display: block; margin-top: 17px; }
.story-episodes { display: grid; gap: 15px; margin-top: 20px; }.story-episodes article { border-left: 2px solid #dcbcc3; padding-left: 15px; }.story-episodes h3 { font: 19px var(--serif); margin: 0 0 6px; color: #8e5d70; }.story-episodes p { font-size: 11px; line-height: 1.9; color: #847065; margin: 0; }.story-episodes small { display: block; font: 7px var(--mono); color: #baa397; letter-spacing: 1px; margin-bottom: 5px; }
.rpg-dialogue { position: relative; margin-top: 26px; border: 1px solid #cda7af; border-radius: 10px; background: #fffaf5f7; padding: 27px 58px 25px 124px; min-height: 137px; box-shadow: 4px 5px 0 #dfcad04d; }.dialogue-speaker { position: absolute; top: -13px; left: 130px; background: #a2677d; color: white; border: 1px solid #8e536b; border-radius: 5px; padding: 5px 23px; font: 16px var(--serif); }.dialogue-content p { font: 18px/1.7 var(--serif); margin: 0; color: #74545e; }.dialogue-disclaimer { font-size: 7px; color: #ac9590; margin: 12px 0 0; }
#profile-dialogue-next { position: absolute; bottom: 20px; right: 17px; display: flex; align-items: center; flex-direction: column; gap: 5px; background: transparent; color: #9e6a81; padding: 7px; min-height: 44px; }#profile-dialogue-next span { font-size: 8px; }#profile-dialogue-next i { font-size: 23px; font-style: normal; }
.chibi-guide { position: absolute; left: 5px; bottom: 5px; width: 113px; padding: 0; background: transparent; }.chibi-guide img { width: 100%; height: 127px; object-fit: contain; }.chibi-guide:hover { transform: translateY(-3px); }.chibi-guide:focus-visible { outline-offset: 0; border-radius: 8px; }
.profile-footer { display: flex; justify-content: space-between; gap: 20px; margin: 27px 0 0; padding: 18px 0; color: #927b72; font: 12px var(--serif); }.profile-footer a { color: var(--rose); }
body.profile-route .toast { z-index: 120; }
@media (max-width: 1000px) { .profile-shell { width: calc(100% - 48px); }.rpg-layout { gap: 24px; grid-template-columns: minmax(0,.7fr) minmax(0,1.2fr); }.profile-panel { padding: 23px; }.profile-portrait { height: 510px; }.profile-tabs { padding-inline: 17px; }.profile-tab { padding-inline: 17px; }.rpg-dialogue { padding-left: 109px; }.dialogue-speaker { left: 114px; }.chibi-guide { width: 99px; } }
@media (max-width: 760px) { .profile-shell { width: calc(100% - 36px); }.profile-backdrop { background-size: auto 550px; }.profile-heading { padding: 30px 0 28px; }.profile-heading h1 { font-size: 36px; }.profile-chapter { font-size: 7px; letter-spacing: 1px; }.profile-chapter i { padding: 0 6px; }.profile-topmark { display: none; }.rpg-layout { grid-template-columns: 1fr; gap: 29px; }.rpg-portrait-panel { width: min(100%, 340px); margin-inline: auto; padding: 29px 18px 16px; }.profile-portrait { height: 385px; }.portrait-ribbon { top: 12px; }.portrait-plaque { padding-top: 12px; }.portrait-plaque > span { font-size: 29px; }.profile-panel { min-height: 0; padding: 23px; }.profile-tabs { justify-content: space-between; padding: 13px 17px 0; gap: 2px; }.profile-tab { padding: 9px 18px 12px; }.profile-panel h2 { font-size: 28px; }.rpg-windowbar { padding: 12px 17px; }.rpg-dialogue { padding: 27px 46px 24px 109px; margin-top: 26px; }.dialogue-content p { font-size: 17px; }.dialogue-speaker { left: 111px; }.chibi-guide img { height: 115px; }.profile-footer { font-size: 11px; }.hero-art-v2 .garden-art { max-height: 490px; }.hero-art-v2 { padding-inline: 18px; } }
@media (max-width: 360px) { .profile-tab { padding-inline: 13px; }.profile-panel { padding: 20px 17px; }.trait-card { padding-inline: 12px; }.trait-card > div { gap: 8px; }.trait-card i { letter-spacing: 1px; }.rpg-dialogue { padding-left: 85px; padding-right: 40px; }.chibi-guide { width: 79px; }.dialogue-speaker { left: 85px; }.profile-chapter { display: none; } }
@media (prefers-reduced-motion: reduce) { .chibi-guide:hover { transform: none; } }
.stat-row meter { flex: 1; min-width: 30px; height: 11px; border: 0; border-radius: 8px; overflow: hidden; background: #eadcd5; }
.stat-row meter::-webkit-meter-bar { border: 0; background: #eadcd5; border-radius: 8px; }.stat-row meter::-webkit-meter-optimum-value { background: linear-gradient(90deg,#c298a4,#956679); border-radius: 8px; }.stat-row meter::-moz-meter-bar { background: #b58195; }
.stat-row small { min-width: 54px; text-align: right; font-variant-numeric: tabular-nums; }.trait-card .stat-row { margin: 12px 0; }.trait-card .rpg-text-link { padding-bottom: 0; }
.chapter-picker { display: flex; gap: 7px; flex-wrap: wrap; margin: 20px 0; }.chapter-button { min-width: 38px; min-height: 38px; background: #f2e5dd; border: 1px solid #e2ccc2; border-radius: 5px; color: #a17d80; font: 11px var(--mono); }.chapter-button.active { background: #996479; color: #fffaf4; border-color: #996479; }.chapter-page { min-height: 275px; }.chapter-page > p { font: 9px var(--sans); color: #aa8479; letter-spacing: 1px; }.chapter-page h3 { font: 26px/1.5 var(--serif); color: #805769; margin: 12px 0 16px; }#chapter-text p { font-size: 12px; line-height: 2.1; color: #7b655d; margin: 0 0 13px; }.chapter-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e5d1c7; padding-top: 14px; }.chapter-navigation button { background: transparent; color: var(--rose); padding: 10px 0; min-height: 44px; font-size: 11px; }.chapter-navigation button:disabled { opacity: .35; cursor: default; }#chapter-progress { font: 9px var(--mono); color: #a78a80; }
.party-section { margin-top: 65px; padding: 37px 36px 34px; background: #fffaf4e8; border: 1px solid #d5baba; border-radius: 13px; box-shadow: 5px 6px 0 #dfcdc04d; }.party-heading { text-align: center; }.party-heading .eyebrow { justify-content: center; margin-bottom: 12px; }.party-heading h2 { font: 34px/1.5 var(--serif); }.party-heading > p:last-child { font-size: 11px; color: #947e73; margin: 11px 0 28px; }.party-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }.companion-card { padding: 13px 15px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 9px; border: 1px solid #e4d5c8; background: #f8f2e9; min-width: 0; transition: border-color .2s,background .2s; }.companion-card.active { background: #f5e6e9; border: 1px solid #a7788b; box-shadow: inset 0 0 0 2px #fff7f0; }.companion-card:hover { border-color: #b88f9b; }.companion-art { height: 208px; display: grid; place-items: center; width: 100%; }.companion-art img { height: 100%; width: 100%; object-fit: contain; }.companion-card strong { font: 27px var(--serif); color: #79545f; }.companion-card > span:not(.companion-art) { font-size: 10px; color: #937e72; }.companion-card small { font: 9px var(--sans); color: #b08b87; width: 100%; margin-top: 7px; padding-top: 12px; border-top: 1px solid #dfcec5; text-align: center; }.companion-card small i { float: right; font-style: normal; }
.companion-details { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; margin-top: 25px; border: 1px solid #e4cdc7; border-radius: 9px; padding: 26px; background: #fffaf6; }#companion-role { font: 8px var(--sans); letter-spacing: 1px; color: #b08f80; margin: 0 0 9px; }#companion-name { font: 29px var(--serif); margin: 0 0 12px; color: #8b6071; }#companion-bio { font-size: 12px; line-height: 2; color: #877065; margin: 0 0 14px; }#companion-skill { font-size: 10px; line-height: 1.8; color: #a47580; }.companion-quote { border-left: 1px solid #e6d5cc; padding-left: 27px; }.companion-quote > span { font: 10px var(--sans); color: #b49288; }#companion-quote { font: 20px/1.8 var(--serif); color: #906477; margin: 14px 0 12px; }#companion-talk { background: #f2e2e4; border: 1px solid #dcbcc4; color: #9c6d80; border-radius: 5px; padding: 11px 16px; min-height: 44px; font-size: 11px; }
.companion-sheet { border-top: 1px solid #e3cec5; padding-top: 18px; margin-top: 18px; }.companion-sheet-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 15px; }.companion-sheet-heading strong { font: 15px var(--mono); color: var(--rose); }.companion-sheet-heading span { font-size: 10px; color: #a2867b; }.companion-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; }.companion-stats .stat-row { display: flex; gap: 8px; align-items: center; }.companion-stats b { font: 10px var(--sans); width: 32px; flex-shrink: 0; }.companion-stats small { font: 8px var(--mono); min-width: 48px; color: #9e8076; }.companion-equipment { font-size: 10px; color: #9c7b72; line-height: 1.9; margin-top: 16px; }
@media (max-width: 760px) { .party-section { margin-top: 38px; padding: 28px 18px 22px; }.party-heading h2 { font-size: 29px; }.party-grid { gap: 9px; }.companion-art { height: 123px; }.companion-card { padding: 9px 6px 12px; gap: 7px; }.companion-card strong { font-size: 22px; }.companion-card > span:not(.companion-art) { font-size: 8px; line-height: 1.6; }.companion-card small { font-size: 8px; }.companion-card small i { display: none; }.companion-details { grid-template-columns: 1fr; padding: 22px 18px; gap: 20px; }.companion-quote { border-left: 0; padding: 19px 0 0; border-top: 1px solid #e6d5cc; }.chapter-page { min-height: 335px; }.chapter-page h3 { font-size: 24px; }.companion-stats { gap: 12px; }.companion-stats .stat-row { gap: 6px; } }
@media (max-width: 360px) { .companion-art { height: 99px; }.companion-stats { grid-template-columns: 1fr; } }
.profile-heading .profile-adventure-link { margin-top: 20px; min-height: 43px; font-size: 11px; padding: 11px 20px; }
