@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Mono;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/space-mono-vietnamese-700-normal-DWQgDHuA.woff2) format("woff2"),url(/assets/space-mono-vietnamese-700-normal-D-KrLuLr.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Mono;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/space-mono-latin-ext-700-normal-B2s3bDs2.woff2) format("woff2"),url(/assets/space-mono-latin-ext-700-normal-B_E7P90g.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Mono;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/space-mono-latin-700-normal-mWgeinG7.woff2) format("woff2"),url(/assets/space-mono-latin-700-normal-D7A851RN.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@layer reset,tokens,base,layout,components,utilities;@layer reset{*{box-sizing:border-box}html{overflow-y:scroll}@supports (scrollbar-gutter: stable){html{overflow-y:auto;scrollbar-gutter:stable}}}@layer tokens{:root{--font-sans: "DM Sans Variable", system-ui, -apple-system, "Segoe UI", sans-serif;--bg: #fff;--bg-alt: #F5F5F5;--white: #fff;--text: #111;--text-muted: #475569;--text-subtle: #64748b;--text-faint: #94a3b8;--muted: #94a3b8;--border: #e5e7eb;--border-strong: #cbd5e1;--surface-hover: #f1f5f9;--ink: #0A1520;--on-ink: #fff;--danger: #ef4444;--star-color: #f59e0b;--brand: #0066B1;--brand-hover: #0050A0;--brand-subtle: #E3EEF8;--brand-text: #FFFFFF;--wm-gradient-light: linear-gradient( to right, #002E68 0%, #0055A0 30%, #4A7090 62%, #2A3848 85%, #111820 100% );--wm-gradient-dark: linear-gradient( to right, #0050A0 0%, #0078D4 28%, #6A8EA8 58%, #B8C8D8 80%, #E8EEF5 100% );--wm-letter-spacing: .12em;--wm-weight: 600;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--space-7: 48px;--space-8: 64px;--gap-micro: var(--space-1);--gap-tight: var(--space-2);--gap-inline: var(--space-3);--gap-feed: var(--space-3);--gap-section: var(--space-5);--gap-page: var(--space-4);--gap-field: var(--space-4);--gap-header: var(--space-4);--indent-comment: var(--space-4);--pad-card-m: var(--space-4);--pad-card-d: 20px;--shell-topbar-height: 52px;--shell-sidebar-width: 0px;--shell-sidebar-rail-width: 72px;--shell-sidebar-expanded-width: 272px;--shell-rightrail-width: 0px;--shell-rightrail-expanded-width: 312px;--rail-left: 272px;--rail-right: 312px;--feed-max: 720px;--form-max: 560px;--auth-max: 400px;--utility-max: 560px;--utility-wide-max: 800px;--shell-gap: var(--space-5);--bottomnav-h: 56px;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px);--z-content: 1;--z-sticky: 10;--z-sidebar: 30;--z-topbar: 40;--z-bottomnav: 40;--z-drawer-backdrop: 1000;--z-drawer: 1010;--z-dropdown: 1100;--z-popover: 1200;--z-modal-backdrop: 1300;--z-modal: 1310;--z-toast: 1400;--radius-btn: 10px;--radius-card: 12px;--radius-elevated: 14px;--radius-chip: 8px;--fs-title: 22px;--fs-section: 17px;--fs-card: 15px;--fs-body: 15px;--fs-comment: 14px;--fs-meta: 12px;--fs-nav: 14px;--fs-navm: 10px;--fs-btn: 14px;--fs-label: 13px;--fs-helper: 12px;--fs-input: 16px;--lh-title: 1.2;--lh-section: 1.3;--lh-card: 1.35;--lh-body: 1.5;--lh-meta: 1.4;--lh-tight: 1;--fw-body: 400;--fw-meta: 500;--fw-strong: 600;--fw-title: 700;--size-tap: 44px;--size-btn-m: 44px;--size-btn-d: 40px;--size-input-m: 44px;--size-input-d: 40px;--size-icon-btn: 40px;--size-row: 44px;--size-settings-row: 56px;--size-chip: 32px;--shadow-elevated: 0 8px 24px rgba(0, 0, 0, .08)}@media(min-width:768px){:root{--fs-title: 28px;--fs-section: 19px;--fs-card: 16px;--gap-feed: var(--space-4);--gap-page: var(--space-6)}}@media(min-width:48rem){:root{--shell-sidebar-width: var(--shell-sidebar-rail-width)}}@media(min-width:64rem){:root{--shell-sidebar-width: var(--shell-sidebar-expanded-width)}}@media(min-width:80rem){:root{--shell-rightrail-width: var(--shell-rightrail-expanded-width)}}}@layer base{html,body,#root{height:100%}body{margin:0;min-height:100svh;font-family:var(--font-sans);font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);background:var(--bg-alt)}#root{isolation:isolate;position:relative}html[data-theme=dark] body{color:#f1f5f9;background:#0f172a}html[data-theme=dark] .card{background:#1e293b;border-color:#334155}html[data-theme=dark] .input{background:#1e293b;border-color:#334155;color:#f1f5f9}html[data-theme=dark] .button{background:#f1f5f9;color:#0f172a}}@layer layout{.page{min-height:100svh;padding:var(--gap-page)}.container{width:100%;max-width:960px;margin:0 auto}.stack>*+*{margin-top:var(--space-3)}@media(min-width:768px){.page{padding:var(--gap-page)}}.app-shell{display:grid;grid-template-columns:var(--shell-sidebar-width) minmax(0,1fr) var(--shell-rightrail-width);grid-template-rows:var(--shell-topbar-height) 1fr auto;grid-template-areas:"topbar topbar topbar" "sidebar main rail" "footer footer footer";min-height:100svh;padding-inline:var(--safe-left) var(--safe-right)}@media(max-width:47.99rem){.app-shell{grid-template-columns:1fr;grid-template-rows:var(--shell-topbar-height) 1fr;grid-template-areas:"topbar" "main"}}.desktop-topbar{grid-area:topbar;position:sticky;top:0;z-index:var(--z-topbar);isolation:isolate;height:var(--shell-topbar-height);background:var(--white);border-bottom:1px solid var(--border);padding-top:var(--safe-top);display:flex;align-items:center}.topbar-mobile-search{display:none}@media(max-width:47.99rem){.desktop-topbar-search{display:none}.topbar-mobile-search{display:inline-flex}}.desktop-sidebar{grid-area:sidebar;position:sticky;top:var(--shell-topbar-height);height:calc(100svh - var(--shell-topbar-height));width:var(--shell-sidebar-width);z-index:var(--z-sidebar);isolation:isolate;overflow-y:auto;background:var(--white);border-right:1px solid var(--border);display:flex;flex-direction:column}@media(max-width:47.99rem){.desktop-sidebar{display:none}}@media(max-width:63.99rem){.desktop-sidebar .nav-label{display:none}}.app-main{grid-area:main;min-width:0;padding-bottom:calc(var(--bottomnav-h) + var(--safe-bottom) + 16px)}@media(min-width:48rem){.app-main{padding-bottom:16px}}.right-rail{grid-area:rail;width:var(--shell-rightrail-width);padding:16px;overflow-y:auto;background:var(--white);border-left:1px solid var(--border)}@media(max-width:79.99rem){.right-rail{display:none}}.legal-footer{grid-area:footer;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);background:var(--white);border-top:1px solid var(--border);font-size:var(--fs-meta);color:var(--text-muted)}.legal-footer__link{color:var(--text-muted);text-decoration:none}.legal-footer__sep{color:var(--text-faint)}@media(max-width:47.99rem){.legal-footer{display:none}}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;height:calc(var(--bottomnav-h) + env(safe-area-inset-bottom,0px));background:var(--bg);border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-around;z-index:var(--z-bottomnav);isolation:isolate;padding:0 4px;padding-bottom:var(--safe-bottom)}@media(min-width:48rem){.mobile-bottom-nav{display:none}}.tpl-feed,.tpl-detail,.tpl-search,.tpl-profile{width:100%;max-width:var(--feed-max);margin:0 auto;padding:var(--gap-page) var(--space-4)}.profile-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}@media(min-width:768px){.profile-post-grid{grid-template-columns:repeat(4,1fr);gap:4px}}.profile-post-tile{position:relative;aspect-ratio:1 / 1;display:block;overflow:hidden;background:var(--surface-hover);text-decoration:none;color:inherit}.profile-post-tile img{width:100%;height:100%;object-fit:cover;display:block}.profile-post-tile__fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:8px;background:var(--surface-hover);color:var(--text-muted);font-size:12px;font-weight:600;text-align:center;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}.tpl-form{width:100%;max-width:var(--form-max);margin:0 auto;padding:var(--gap-page) var(--space-4)}.tpl-utility{width:100%;max-width:var(--utility-max);margin:0 auto;padding:var(--gap-page) var(--space-4)}.tpl-utility-wide{width:100%;max-width:var(--utility-wide-max);margin:0 auto;padding:var(--gap-page) var(--space-4)}}@layer components{.card{border:1px solid var(--border);border-radius:var(--radius-card);padding:var(--pad-card-m);background:var(--bg)}.input,.button{width:100%;min-height:var(--size-input-m);font-size:var(--fs-input);font-family:inherit}.input{padding:10px 12px;border:1px solid var(--border-strong);border-radius:var(--radius-btn)}.button{padding:10px 12px;border:0;border-radius:var(--radius-btn);background:var(--ink);color:var(--on-ink);cursor:pointer;font-weight:var(--fw-strong)}.button:disabled{opacity:.6;cursor:not-allowed}@media(min-width:768px){.card{padding:var(--pad-card-d)}.input,.button{min-height:var(--size-input-d)}}.feed-filter-chips{display:flex;align-items:center;gap:8px;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.feed-filter-chips__label{display:none}.feed-filter-chips__trail{flex-shrink:0;width:16px}.feed-filter-chip{flex-shrink:0;padding:6px 14px;border-radius:20px;border:1px solid #e5e7eb;background:#fff;color:#475569;font-size:13px;font-weight:400;cursor:pointer;white-space:nowrap;font-family:inherit}.feed-filter-chip.is-active{border-color:#111;background:#111;color:#fff;font-weight:600}@media(min-width:1024px){.feed-filter-chips{background:var(--white);border-radius:10px;padding:10px 14px;overflow-x:visible;flex-wrap:wrap}.feed-filter-chips__label{display:inline-block;font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-right:4px}.feed-filter-chips__trail{display:none}.feed-filter-chip{padding:6px 14px;border-radius:18px;border:1.5px solid var(--border-strong);background:var(--white);color:var(--text-muted);font-size:13px;font-weight:500;transition:border-color .12s ease,color .12s ease,background .12s ease}.feed-filter-chip:hover{border-color:var(--brand);color:var(--brand)}.feed-filter-chip.is-active{background:var(--brand-subtle);color:var(--brand);border-color:var(--brand);font-weight:600}.feed-filter-chips__more-wrap{position:relative;display:inline-flex}.feed-filter-chips__more-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:200px;background:var(--white);border:1px solid var(--border-strong);border-radius:10px;box-shadow:0 8px 24px #00000014;padding:6px;display:flex;flex-direction:column;z-index:20}.feed-filter-chips__more-item{appearance:none;background:transparent;border:0;padding:8px 12px;border-radius:6px;text-align:left;color:var(--text);font-size:14px;font-family:inherit;font-weight:500;cursor:pointer}.feed-filter-chips__more-item:hover{background:var(--surface-hover)}.feed-filter-chips__more-item.is-active{background:var(--brand-subtle);color:var(--brand);font-weight:600}}.feed-sort-surface{display:none}@media(min-width:1024px){.feed-sort-surface{display:flex;align-items:center;gap:4px;background:var(--white);border-radius:10px;padding:6px}.feed-sort-tab{flex:0 0 auto;padding:8px 16px;border-radius:8px;border:0;background:transparent;color:var(--text-muted);font-size:14px;font-weight:500;cursor:pointer;font-family:inherit}.feed-sort-tab.is-active{background:var(--brand-subtle);color:var(--brand);font-weight:600}}body.quiz-mode .desktop-sidebar,body.quiz-mode .desktop-topbar,body.quiz-mode .mobile-bottom-nav,body.quiz-mode .right-rail{display:none!important}body.quiz-mode .app-main{padding-bottom:0}@keyframes quizSlideIn{0%{transform:translate(60px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes quizFadeIn{0%{opacity:0}to{opacity:1}}.quiz-question-enter{animation:quizSlideIn .25s ease-out forwards}@media(prefers-reduced-motion:reduce){.quiz-question-enter{animation:quizFadeIn .2s ease forwards}}@keyframes heart-pop{0%{transform:scale(1)}35%{transform:scale(1.3)}70%{transform:scale(.92)}to{transform:scale(1)}}.heart-pop{animation:heart-pop .32s ease-out;display:inline-flex}@media(prefers-reduced-motion:reduce){.heart-pop{animation:none}}.auth-shell{min-height:100svh;background:var(--bg-alt);display:flex;align-items:flex-start;justify-content:center;padding:var(--space-6) var(--space-4);padding-top:var(--space-7)}@media(min-width:768px){.auth-shell{align-items:center;padding:var(--space-7) var(--space-4)}}.auth-card{width:100%;max-width:var(--auth-max);background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-elevated);padding:var(--space-6) var(--space-5);display:flex;flex-direction:column;gap:var(--space-5)}@media(min-width:768px){.auth-card{padding:var(--space-7) var(--space-6);box-shadow:var(--shadow-elevated)}}.auth-wordmark{text-align:center;font-weight:var(--wm-weight);letter-spacing:var(--wm-letter-spacing);font-size:22px;color:var(--ink);background:var(--wm-gradient-light);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.auth-heading{display:flex;flex-direction:column;gap:var(--space-1)}.auth-title{margin:0;font-size:24px;font-weight:var(--fw-title);color:var(--text);line-height:var(--lh-title)}.auth-subtitle{margin:0;font-size:14px;color:var(--text-subtle);line-height:var(--lh-body)}.auth-form{display:flex;flex-direction:column;gap:var(--space-4)}.auth-field{display:flex;flex-direction:column;gap:var(--space-2)}.auth-label{font-size:14px;font-weight:var(--fw-strong);color:var(--text)}.auth-input{width:100%;height:48px;padding:0 12px;font-size:16px;font-family:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border-strong);border-radius:var(--radius-btn);box-sizing:border-box}.auth-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #0066b126}.auth-input-wrap{position:relative}.auth-input-wrap .auth-input{padding-right:44px}.auth-eye-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:0;cursor:pointer;padding:8px;color:var(--text-subtle);display:inline-flex;align-items:center;justify-content:center}.auth-forgot-row{display:flex;justify-content:flex-end}.auth-forgot-link{font-size:14px;color:var(--brand);text-decoration:none;font-weight:var(--fw-meta)}.auth-forgot-link:hover{text-decoration:underline}.auth-error{margin:0;font-size:14px;color:var(--danger)}.auth-button{width:100%;height:48px;padding:0 16px;font-size:16px;font-family:inherit;font-weight:var(--fw-strong);color:var(--brand-text);background:var(--brand);border:0;border-radius:var(--radius-btn);cursor:pointer}.auth-button:hover:not(:disabled){background:var(--brand-hover)}.auth-button:disabled{opacity:.55;cursor:not-allowed}.auth-legal{margin:0;font-size:12px;color:var(--text-faint);text-align:center;line-height:var(--lh-body)}.auth-legal a{color:var(--text-subtle);text-decoration:underline}.auth-footer-link{text-align:center;font-size:14px;color:var(--text-subtle)}.auth-footer-link a{color:var(--brand);font-weight:var(--fw-strong);text-decoration:none;margin-left:4px}.auth-footer-link a:hover{text-decoration:underline}.auth-success{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);text-align:center;padding:var(--space-3) 0}.auth-success-icon{width:56px;height:56px;border-radius:50%;background:var(--brand-subtle);color:var(--brand);display:inline-flex;align-items:center;justify-content:center}.auth-success-text{margin:0;font-size:14px;color:var(--text-muted);line-height:var(--lh-body)}}@layer utilities{.scroll-x-hidden::-webkit-scrollbar{display:none}}
