.portal-shell{--portal-bg:#000;--portal-sidebar:#000;--portal-card:#121212;--portal-border:#ffffff1f;--portal-text:#fff;--portal-muted:#9a9a9a;--portal-accent:#5c6bff;--portal-accent-soft:#222;--portal-active:#1a1a1a;--portal-paper:#171717;--portal-ink:#f4f4f4;--portal-ink-soft:#a3a3a3;--portal-sheet:#121212;--portal-line:#ffffff1f;--portal-placeholder:#666;--portal-dot:#ffffff0d;--portal-field:#0c0c0c;background:var(--portal-bg);min-height:100vh;color:var(--portal-text);font-family:var(--font-body), system-ui, sans-serif}.portal-shell ::selection{background:var(--portal-accent);color:#fff}.portal-shell a{text-decoration:none}.portal-shell select option{color:#141414;background-color:#fff}.portal-shell h1:not(.portal-wordmark):not(.story-title){font-family:var(--font-display), Georgia, serif;letter-spacing:-.03em;border-left:3px solid #fff;padding-left:.8rem;font-weight:600;line-height:1.12}.portal-shell h1.story-title{font-family:var(--font-body), system-ui, sans-serif;letter-spacing:-.03em;color:var(--portal-ink);border-left:0;padding-left:0;font-weight:700;line-height:1.15}.portal-shell[data-theme=light]{--portal-bg:#f3f1eb;--portal-sidebar:#f3f1eb;--portal-card:#fff;--portal-border:#0000001a;--portal-text:#141414;--portal-muted:#5c5c5c;--portal-accent-soft:#e7e4dc;--portal-active:#e8e6df;--portal-paper:#f7f6f2;--portal-ink:#141414;--portal-ink-soft:#5c5c5c;--portal-sheet:#fff;--portal-line:#0000001a;--portal-placeholder:#b0ada6;--portal-dot:#1111110b;--portal-field:#fff;background:var(--portal-bg);color:var(--portal-text)}.portal-shell[data-theme=light] aside{background:var(--portal-sidebar);border-color:var(--portal-border)}.portal-shell[data-theme=light] h1:not(.portal-wordmark):not(.story-title){border-left-color:#141414}.portal-shell[data-theme=light] .portal-rail-active{color:#141414;background:#fff;border-color:#0000001f}.portal-shell[data-theme=light] .portal-rail-idle{color:#000000b3}.portal-shell[data-theme=light] .portal-rail-idle:hover{color:#141414;background:#0000000a}.portal-wordmark{font-family:var(--font-display), Georgia, serif;letter-spacing:-.03em;font-weight:600}@layer components{.portal-input{border:1px solid var(--portal-border);background:var(--portal-field);width:100%;color:var(--portal-text);border-radius:.9rem;outline:none;padding:.75rem .95rem}.portal-input:focus{border-color:var(--portal-accent)}.portal-label{color:var(--portal-muted);margin-bottom:.4rem;font-size:.8rem;display:block}.portal-search{border:1px solid var(--portal-border);background:var(--portal-field);border-radius:999px;align-items:center;gap:.75rem;width:100%;padding:.85rem 1.15rem;display:flex}.portal-search input{width:100%;color:var(--portal-text);background:0 0;outline:none;font-size:.95rem}.portal-search input::placeholder{color:var(--portal-muted)}.portal-btn{border:1px solid var(--portal-border);width:100%;color:var(--portal-text);cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;padding:.72rem 1.15rem;font-weight:600;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.portal-btn:hover:not(:disabled){background:#ffffff0f;border-color:#fff6}.portal-btn:disabled{opacity:.45;cursor:not-allowed}.portal-btn-primary{background:var(--portal-accent);border-color:var(--portal-accent);color:#fff}.portal-btn-primary:hover:not(:disabled){background:#6e7bff;border-color:#6e7bff}.portal-btn:focus-visible,.portal-input:focus-visible,.portal-chip:focus-visible,.portal-rail-active:focus-visible,.portal-rail-idle:focus-visible{outline:2px solid var(--portal-accent);outline-offset:2px}.portal-card{border:1px solid var(--portal-border);background:var(--portal-card);border-radius:1.35rem;padding:1.35rem}.portal-paper{background-color:var(--portal-paper);background-image:radial-gradient(var(--portal-dot) .7px, transparent .7px);min-height:240px;color:var(--portal-ink);background-size:3px 3px;border-radius:1.6rem;flex-direction:column;padding:1.6rem 1.45rem 1.35rem;transition:transform .15s;display:flex}.portal-paper:hover{transform:translateY(-2px)}.portal-paper h2{font-family:var(--font-display), Georgia, serif;letter-spacing:-.03em;color:var(--portal-ink);font-weight:600}.portal-badge{color:#fff;background:0 0;border:1px solid #ffffff29;border-radius:999px;align-items:center;max-width:100%;padding:.2rem .6rem;font-size:.7rem;font-weight:600;display:inline-flex}.portal-chip{color:#c8c8c8;cursor:pointer;background:0 0;border:1px solid #ffffff29;border-radius:999px;align-items:center;gap:.35rem;padding:.45rem .9rem;font-size:.875rem;font-weight:600;display:inline-flex}.portal-chip:hover{color:#fff;border-color:#ffffff52}.portal-chip-active{color:#111;background:#fff;border-color:#fff}.portal-chip-active:hover{color:#111;background:#f3f3f3;border-color:#f3f3f3}.portal-tab{color:var(--portal-muted);border-radius:999px;padding:.4rem .95rem;font-size:.85rem;font-weight:600}.portal-tab-active{color:#111;background:#fff}.portal-rail-active{color:#fff;background:#141414;border:1px solid #fff3}.portal-rail-idle{color:#ffffffd1;border:1px solid #0000}.portal-rail-idle:hover{color:#fff;background:#ffffff0a}.portal-rail-nav{scrollbar-width:none}.portal-rail-nav::-webkit-scrollbar{display:none}.portal-folder-tab{color:#fff;background:#000;border:1px solid #ffffff29;border-bottom-color:#000;border-radius:1rem 1rem 0 0;margin-bottom:-1px;position:relative}.profile-hero{border:1px solid var(--portal-border);background:#111;border-radius:1.5rem;padding:1.75rem 1.5rem 1.6rem;position:relative;overflow:hidden}.profile-hero-glow{pointer-events:none;filter:blur(8px);background:radial-gradient(closest-side,#5c6bff38,#0000 72%);width:70%;height:180%;position:absolute;top:-55%;right:-12%}.profile-section{scroll-margin-top:1.5rem}.profile-nav-link{width:100%;color:var(--portal-muted);text-align:left;border-radius:.9rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .7rem;font-size:.875rem;display:flex}.profile-nav-link:hover{color:#fff;background:#ffffff0a}.profile-nav-link-active{color:#fff;background:#1a1a1a;box-shadow:inset 0 0 0 1px #ffffff1f}.portal-sheet{background:var(--portal-sheet);color:var(--portal-ink)}.story-title-field,.story-summary-field{color:var(--portal-ink)}.story-title-field::placeholder,.story-summary-field::placeholder,.story-editor-placeholder{color:var(--portal-placeholder)}.story-summary-field{color:var(--portal-ink-soft)}.story-editor,.story-body{color:var(--portal-ink);font-size:21px;line-height:1.7}.story-editor{outline:none;min-height:50vh}.story-editor p,.story-body p{margin:.85em 0}.story-editor h2,.story-body h2{letter-spacing:-.02em;margin:1.4em 0 .35em;font-size:1.7rem;font-weight:700;line-height:1.25}.story-editor blockquote,.story-body blockquote{border-left:3px solid var(--portal-ink);color:var(--portal-ink-soft);margin:1.4em 0;padding-left:1.1rem;font-style:italic}.story-editor ul,.story-body ul,.story-editor ol,.story-body ol{margin:.8em 0;padding-left:1.4rem}.story-editor li,.story-body li{margin:.3em 0}.story-editor a,.story-body a{color:inherit;text-decoration:underline}.story-editor hr,.story-body hr{border:0;border-top:1px solid var(--portal-line);margin:2rem 0}.story-editor img,.story-body img,.story-editor figure,.story-body figure{margin:1.4rem 0}.story-editor img,.story-body img{border-radius:.4rem;width:100%;height:auto;display:block}}
