@font-face{font-family:Lora;src:url('/assets/lora-regular.ttf') format('truetype');font-weight:400 500;font-style:normal;font-display:swap}
.page-corners {
  --corner-size: clamp(65px, 8vw, 124px);
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url('/assets/border/tnhove_goc_tren_trai.svg') left top / var(--corner-size) auto no-repeat,
    url('/assets/border/tnhove_goc_tren_phai.svg') right top / var(--corner-size) auto no-repeat,
    url('/assets/border/tnhove_goc_duoi_trai.svg') left bottom / var(--corner-size) auto no-repeat,
    url('/assets/border/tnhove_goc_duoi_phai.svg') right bottom / var(--corner-size) auto no-repeat;
}
@media (max-width: 800px) {
  .page-corners { --corner-size: 65px; opacity: .85; }
}
@media (max-width: 480px) {
  .page-corners { --corner-size: 55px; }
}
@font-face{font-family:Lora;src:url('/assets/lora-italic.ttf') format('truetype');font-weight:400 500;font-style:italic;font-display:swap}
@font-face{font-family:Vietnam;src:url('/assets/vietnam-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Vietnam;src:url('/assets/vietnam-medium.ttf') format('truetype');font-weight:500 700;font-display:swap}
:root{--paper:#f3eee5;--ink:#37382e;--muted:#706b5f;--line:#d8d1c4;--rust:#925b48;--olive:#525744;--serif:Lora,Georgia,serif;--sans:Vietnam,Arial,sans-serif;--shadow:0 16px 45px #40332618;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.7 var(--sans);-webkit-font-smoothing:antialiased}body.dialog-open{overflow:hidden}button,input,textarea{font:inherit}button,a,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid var(--rust);outline-offset:5px}::selection{background:var(--theme-button,#d6b5a0);color:var(--theme-button-label,#30281e)}::-webkit-scrollbar{width:9px;height:5px}::-webkit-scrollbar-thumb{background:var(--theme-ornament,#b7ab99);border-radius:8px}::-webkit-scrollbar-track{background:var(--paper)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:400;text-wrap:balance}h1,h2{letter-spacing:-.035em}em{font-weight:400}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.wrap{width:calc(100% - 112px);max-width:1376px;margin-inline:auto}.text-button{display:inline-flex;gap:12px;align-items:center;padding:8px 0;background:none;border-bottom:1px solid currentColor;font-size:12px;line-height:1.6}.text-button:hover{color:var(--rust)}.text-button .icon{width:17px;height:17px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:20px;padding:14px;background:var(--ink);color:var(--paper);z-index:10}.skip-link:focus{top:12px}
.site-header{min-height:104px;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{font-family:var(--serif);font-size:34px;letter-spacing:-.06em;line-height:1;display:inline-flex;align-items:center;transition:opacity .2s}.brand:hover{opacity:.85}.brand-logo{height:80px;width:auto;max-width:100%;object-fit:contain;display:block}.site-header nav{display:flex;align-items:center;gap:38px;font-size:12px}.site-header nav>a{padding:12px 0}.site-header nav>a:hover{color:var(--rust)}.saved-nav{display:flex;align-items:center;gap:9px;background:transparent;padding:7px 0 7px 28px;border-left:1px solid var(--line);font-size:12px}.saved-nav .icon{width:16px}.saved-nav #saved-count{font-size:12px;color:var(--rust);margin-left:3px}.hero{position:relative;min-height:585px;display:flex;align-items:center;background:#36382c;color:#f4ede0;isolation:isolate;overflow:hidden}.hero-image{position:absolute;inset:0;z-index:-2;background:#37382c url('/assets/room-at-dusk.png') center 54%/cover no-repeat}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#25281f70,transparent 70%),linear-gradient(0deg,#21251f95,transparent 24%);z-index:-1}.hero-copy{padding:60px 6.1% 104px;max-width:850px}.hero h1{font-size:clamp(36px,4.35vw,66px);line-height:1.3;letter-spacing:-.04em}.hero h1 em{color:#e3c5a7}.hero-copy>p{font-size:13px;line-height:1.95;color:#dfd7c6;margin-top:25px}.hero-link{display:inline-flex;align-items:center;gap:18px;border-bottom:1px solid #e8dbc278;padding:10px 0;margin-top:26px;font-size:12px}.hero-link:hover{color:#e3c5a7}.hero-link .icon{width:18px}.hero-foot{position:absolute;bottom:24px;left:6.1%;right:4%;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#d4cbbb}.hero-foot>a{display:flex;margin-left:auto;margin-right:16px}.interlude{display:flex;align-items:center;justify-content:center;gap:28px;padding:48px 0 54px;color:var(--muted)}.interlude p{font-family:var(--serif);font-size:15px;font-style:italic;text-align:center}.fine-line{width:60px;height:1px;background:var(--theme-divider,#c7bda9)}.mobile-break{display:none}
.library{padding:25px 0 62px}.section-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.section-heading h2{font-size:38px;line-height:1.35}.section-heading h2 span{color:var(--rust)}.section-heading p{margin-top:12px;color:var(--muted);font-size:12px}.section-heading>.text-button{margin-bottom:3px;white-space:nowrap}.library-tools{margin-top:32px;padding-bottom:18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filters button{font-size:12px;padding:8px 15px;background:transparent;border-radius:30px;color:var(--theme-muted-readable,#625e51);white-space:nowrap}.filters button:hover{background:var(--theme-secondary,#e6dfd3)}.filters button[aria-pressed=true]{background:var(--olive);color:var(--theme-button-label,#fff8e8)}.result-count{font-size:12px;white-space:nowrap;color:var(--muted)}.quote-grid{margin-top:27px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.quote-card{min-width:0;position:relative;display:flex;flex-direction:column}.card-caption{display:flex;justify-content:space-between;align-items:center;padding:14px 1px 1px;gap:20px;color:var(--theme-muted-readable,#706957);font-size:12px}.caption-link{font-size:12px;background:none;padding:4px}.caption-link:hover{color:var(--rust)}.library-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:27px}.library-bottom>p{font-family:var(--serif);font-size:12px;font-style:italic;color:var(--muted)}.state-message{grid-column:1/-1;padding:45px 15px;text-align:center;color:var(--muted)}.state-message button{display:block;margin:16px auto 0}.state-message h3{font:24px var(--serif);margin-bottom:8px}.state-message p{font-size:13px}
.closing{text-align:center;padding:80px 0 75px}.closing>.icon{color:var(--theme-ornament,#96785f);width:27px;height:27px;margin-bottom:21px}.closing h2{font-size:35px;line-height:1.45}.closing>p{font-size:12px;line-height:1.95;color:var(--muted);margin-top:20px}.closing>.text-button{margin-top:25px;font-size:12px;color:var(--theme-accent-readable,#765d45)}.site-footer{border-top:1px solid var(--line);padding:0;display:block}.site-footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 0 30px;width:100%}.site-footer-left{display:flex;align-items:center;gap:20px;flex:1}.site-footer-left .brand{font-size:26px}.site-footer-left .brand-logo{height:52px}.site-footer-left p{font-size:12px;color:var(--muted);white-space:nowrap}.footer-copy{font-size:12px;color:var(--muted);text-align:center;white-space:nowrap;flex:1;margin:0}.site-footer-right{font-size:12px;color:var(--muted);text-align:right;white-space:nowrap;flex:1}
.quote-dialog{padding:0;border:0;background:var(--paper);color:var(--ink);max-width:min(1000px,calc(100vw - 64px));width:100%;max-height:calc(100dvh - 64px);overscroll-behavior:contain;border-radius:4px;box-shadow:0 25px 90px #191b2650}.quote-dialog::backdrop{background:#24291fbd}.dialog-shell{display:grid;grid-template-columns:.65fr 1fr;min-height:650px}.detail-image{position:relative;background:#37382c url('/assets/room-at-dusk.png') 68% center/cover;color:#f1e4cd;padding:35px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}.detail-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#20251fbd,transparent 75%);z-index:-1}.detail-image>span{font:29px var(--serif);letter-spacing:-.05em}.detail-image>p{font:italic 28px/1.6 var(--serif)}.detail-body{position:relative;padding:48px 42px 35px;min-width:0}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--theme-secondary,#e8e0d3)}.icon-button:hover{background:var(--theme-border,#d9cebc)}.close-dialog{position:absolute;right:17px;top:14px}.detail-category{font-size:12px;color:var(--rust);margin-bottom:10px}.detail-body h2{font-size:27px;padding-right:14px;line-height:1.45}.detail-body blockquote{font:italic 23px/1.7 var(--serif);margin:24px 0;color:var(--theme-quote-readable,#725a44)}.detail-actions{display:flex;flex-wrap:wrap;gap:24px;margin:16px 0 0}.detail-actions .text-button{font-size:12px;gap:6px;border:0}.detail-actions button[aria-pressed=true] .icon{fill:currentColor}.meaning{font-size:12px;line-height:1.95}.meaning p+p{margin-top:15px}.private-note{margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}.private-note h3{font:22px var(--serif);margin-bottom:8px}.private-note>p{font-size:12px;color:var(--muted)}textarea{background:var(--theme-input,#ece5d9);border:1px solid var(--theme-border,#cbc0ae);border-radius:4px;color:var(--ink);padding:13px;width:100%;resize:vertical;min-height:90px;max-height:250px;margin-top:14px;font-size:12px;caret-color:var(--rust)}textarea::placeholder{color:var(--theme-muted-readable,#665b49)}.note-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:7px}.note-bottom>span{font-size:12px;color:var(--muted)}.small-button{padding:8px 13px;background:var(--olive);color:var(--theme-button-label,#fff8e8);font-size:12px;border-radius:3px}.small-button:hover{background:var(--theme-hover,#3e4535)}#note-status{min-height:20px;margin-top:7px;color:var(--theme-note-readable,#655139);font-size:12px}.ai-later{display:flex;align-items:flex-start;gap:11px;margin-top:21px;padding-top:20px;border-top:1px solid var(--line)}.ai-later>.icon{width:18px;color:var(--theme-muted-readable,#7b705c)}.ai-later strong{font-weight:500;font-size:12px}.ai-later p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:5px}.ai-later>span{font-size:12px;white-space:nowrap;border:1px solid var(--theme-border,#c9bda9);border-radius:4px;padding:1px 5px;color:var(--theme-accent-readable,#735b44);margin-left:auto}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;visibility:hidden;background:var(--theme-button,#424936);color:var(--theme-button-label,#fff8e8);padding:12px 24px;box-shadow:var(--shadow);border-radius:4px;z-index:20;font-size:12px;max-width:calc(100vw - 30px);text-align:center;transition:opacity .2s,transform .2s,visibility .2s}.toast.visible{visibility:visible;opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.hero{min-height:650px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.site-header nav{gap:25px}.hero{min-height:530px}.hero h1{font-size:49px}.quote-grid{gap:20px}.dialog-shell{grid-template-columns:.55fr 1fr}.detail-body{padding-inline:30px}}
@media(max-width:800px){.wrap{width:calc(100% - 40px)}.site-header{min-height:88px;height:auto;padding:8px 0}.brand{font-size:29px}.brand-logo{height:66px}.site-header nav{gap:20px}.site-header nav>a:first-child{display:none}.saved-nav{padding-left:18px}.hero{min-height:505px}.hero-copy{padding:56px 32px 105px}.hero h1{font-size:43px}.hero-image{background-position:61% center}.hero:after{background:linear-gradient(90deg,#25281f99,#25281f10),linear-gradient(0deg,#21251f90,transparent 30%)}.hero-foot{left:32px;right:28px;font-size:12px}.hero-foot>span:last-child{display:none}.hero-foot>a{margin-right:0}.interlude{padding:35px 0;gap:15px}.interlude p{font-size:13px}.fine-line{width:35px}.section-heading h2{font-size:31px}.section-heading p{font-size:12px}.section-heading{align-items:flex-start}.section-heading>.text-button{margin-top:7px;font-size:12px}.filters{gap:3px}.filters button{padding:7px 11px;font-size:12px}.result-count{display:none}.quote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 18px}.library{padding-bottom:45px}.closing{padding:60px 0}.site-footer-top{flex-direction:column;gap:14px;padding:24px 0 28px;text-align:center}.site-footer-left{justify-content:center;flex-wrap:wrap;text-align:center;gap:12px}.site-footer-right{text-align:center}.dialog-shell{display:block}.detail-image{min-height:150px;padding:25px;background-position:center 54%}.detail-image>p{font-size:20px;margin-top:18px}.detail-image>p br{display:none}.detail-image>span{font-size:23px}.detail-body{padding:33px 28px}.quote-dialog{max-width:calc(100vw - 30px);max-height:calc(100dvh - 30px)}.close-dialog{top:12px;right:12px}.detail-body h2{padding-right:20px}}
@media(max-width:480px){.wrap{width:calc(100% - 32px)}.site-header{min-height:78px;height:auto;padding:8px 0;gap:10px}.site-header nav{gap:13px;font-size:12px}.saved-nav{font-size:12px;gap:5px;padding-left:13px}.saved-nav .icon{width:14px}.brand{font-size:27px}.brand-logo{height:54px}.site-footer .brand-logo{height:40px}.hero{min-height:490px}.hero-copy{padding:45px 23px 92px}.hero h1{font-size:35px;line-height:1.4}.hero-copy>p{font-size:12px}.hero-link{font-size:12px;gap:12px}.hero-foot{left:23px;right:21px;bottom:20px}.hero-foot>span{font-size:12px}.hero-image{background-position:59% center}.mobile-break{display:initial}.interlude{padding:30px 0;gap:14px}.fine-line{width:27px}.interlude p{font-size:12px;line-height:1.9}.library{padding-top:13px}.section-heading{display:block}.section-heading h2{font-size:29px}.section-heading>.text-button{margin-top:13px}.section-heading p{font-size:12px}.library-tools{margin-top:17px;padding-bottom:15px}.filters{gap:5px}.filters button{font-size:12px;padding:7px 10px}.quote-grid{gap:23px;margin-top:21px;grid-template-columns:1fr}.card-caption{font-size:12px;padding-top:11px}.library-bottom{align-items:flex-start;gap:12px}.library-bottom>p{max-width:20ch;font-size:12px}.library-bottom .text-button{font-size:12px;white-space:nowrap}.closing h2{font-size:29px}.closing>p{font-size:12px}.site-footer-left p{white-space:normal}.detail-body{padding:35px 23px 25px}.detail-body h2{font-size:25px}.detail-body blockquote{font-size:22px}.detail-image{min-height:135px}.note-bottom{align-items:flex-start}.note-bottom>span{max-width:17ch}.private-note>p{font-size:12px}.ai-later{gap:8px}.ai-later>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media(prefers-reduced-motion:no-preference){.hero-copy{animation:arrive .9s cubic-bezier(.16,1,.3,1) both}@keyframes arrive{from{transform:translateY(12px);filter:blur(3px)}to{transform:translateY(0);filter:blur(0)}}}

.hero-image-transition{position:absolute;inset:0;background-position:inherit;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity 1.2s ease-in-out}
.hero-image-transition.is-visible{opacity:1}
.hero-image-transition.is-resetting{transition:none}

.hero h1 em { display: inline-block; margin-left: clamp(36px, 6vw, 100px); }
.hero-foot > .hero-foot-link { margin: 0; padding: 10px 0; }
.hero-tagline { font-family: var(--serif); font-size: 13px; font-style: italic; color: #d4cbbb; line-height: 1.75; }
.hero-quote-text { white-space: nowrap; flex-shrink: 0; }
.hero-foot > a.hero-tagline { border: 0; padding: 0; background: none; text-decoration: none; }
.hero-foot > a.hero-tagline:hover { color: #e3c5a7; }

/* ── Trang About riêng biệt ── */
.nav-active { color: var(--rust) !important; font-weight: 500; }
.about-page-main { padding-block: 44px 96px; min-height: calc(100vh - 220px); }
.about-article { max-width: 820px; margin-inline: auto; }
.about-hero-header { text-align: center; margin-bottom: 44px; }
.about-hero-kicker { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin-bottom: 14px; font-weight: 500; }
.about-hero-title { font-size: clamp(38px, 4.5vw, 54px); line-height: 1.25; color: var(--ink); letter-spacing: -.035em; }
.about-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 16px; color: var(--theme-ornament,#b7ab99); }
.about-dot { font-size: 9px; color: var(--rust); opacity: .75; }
.about-hero-tagline { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--muted); line-height: 1.75; max-width: 600px; margin-inline: auto; }

.about-story-card { background: linear-gradient(90deg, color-mix(in srgb,var(--theme-surface,#f8edda) 93%,transparent) 0%, color-mix(in srgb,var(--theme-surface,#f8edda) 88%,transparent) 65%, color-mix(in srgb,var(--theme-surface,#f8edda) 60%,transparent) 100%), url('https://res.cloudinary.com/dtpw5htqs/image/upload/v1795378153/fuck_fneigt.webp') right bottom / auto 90% no-repeat, var(--theme-surface,#f8edda); border: 1px solid var(--theme-border,#cdb99a); border-radius: 3px; padding: 64px 72px; box-shadow: 0 10px 32px #593b2020; }
.about-story-card p { font-family: var(--sans); font-size: 16px; line-height: 2.1; color: var(--theme-ink-readable,#37382e); margin: 0 0 24px; text-align: left; }
.about-story-card em { font-family: inherit; font-style: italic; }

.about-quote-box { margin: 38px 0; padding: 26px 32px; background: var(--theme-secondary,#e5ded185); border-left: 3px solid var(--rust); border-radius: 0 6px 6px 0; }
.about-quote-box blockquote { font-family: var(--serif); font-size: 16px; font-style: italic; line-height: 1.95; color: var(--theme-quote-readable,#62503f); margin: 0; text-align: left; }

.about-return-action { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center; }
.about-return-note { font-family: var(--serif); font-size: 14px !important; font-style: italic; color: var(--muted) !important; margin-bottom: 16px !important; text-align: center !important; }
.about-return-link { display: inline-flex; margin-top: 0; font-size: 13px; }

.library-tools { flex-wrap: wrap; }
.filters { min-width: 0; max-width: 100%; }
.filters button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }

@media (max-width: 800px) {
  .site-header nav > a:first-child { display: inline; }
  .hero-quote-text { white-space: normal; }
  .about-page-main { padding-block: 28px 64px; }
  .about-story-card { padding: 40px 32px 44px; }
  .about-hero-title { font-size: 36px; }
  .about-story-card p { font-size: 15px; line-height: 2; text-align: left; }
  .about-quote-box { padding: 20px 22px; margin: 28px 0; }
  .about-quote-box blockquote { font-size: 15px; }
}

@media (max-width: 480px) {
  .about-page-main { padding-block: 16px 48px; }
  .about-story-card { padding: 30px 20px 36px; border-radius: 4px; }
  .about-hero-title { font-size: 30px; }
  .about-hero-tagline { font-size: 14px; }
  .about-story-card p { font-size: 14.5px; line-height: 1.95; }
  .about-quote-box { padding: 18px 18px; margin: 24px 0; }
}

@media (max-width: 800px) {
  .hero-copy { width: 100%; padding: 48px 24px 130px; }
  .hero h1 { max-width: 12em; font-size: clamp(29px, 7vw, 43px); line-height: 1.35; }
  .hero h1 em { margin-left: 0; }
  .hero-foot { left: 24px; right: 24px; bottom: 26px; }
  .hero-foot > a, .hero-foot > span:last-child { display: none; }
  .hero-foot .hero-quote-text { flex-shrink: 1; max-width: 34ch; white-space: normal; line-height: 1.65; }
  .site-footer-left p { display: none; }
  .about-story-card { background-position: center, center center; background-size: auto, contain; }
}
