@font-face{font-family:ntSomic;src:url(../media/NTSomic_Regular-s.p.2j5kj5a3ovsrm.woff2)format("woff2");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:ntSomic;src:url(../media/NTSomic_Medium-s.p.0pet-nhnmhf7c.woff2)format("woff2");font-display:swap;font-weight:700;font-style:normal}@font-face{font-family:ntSomic;src:url(../media/NTSomic_Bold-s.p.3ymp2_kvdsu2h.woff2)format("woff2");font-display:swap;font-weight:900;font-style:normal}@font-face{font-family:ntSomic Fallback;src:local(Arial);ascent-override:96.43%;descent-override:19.1%;line-gap-override:9.55%;size-adjust:104.74%}.ntsomic_ef3e6277-module__RPJMfq__className{font-family:ntSomic,ntSomic Fallback}.ntsomic_ef3e6277-module__RPJMfq__variable{--font-ntsomic:"ntSomic", "ntSomic Fallback"}
:root{--brand-1:#674991;--brand-credits:#6058cd;--brand-2:#ff6386;--secondary-dark:#4a326b;--secondary-accent-2:#c6bcd4;--secondary-red-error:#e86f6f;--light-1:#fdfcff;--light-2:#fbfcff;--light-3:#ededed;--light-4:#f0eff2;--white:#fff;--grey-dark-1:#9090a9;--grey-dark-2:#b0b0c2;--grey-dark-3:#d0d1db;--tag-1:#ede9f4;--tag-2:#fddde7;--tag-3:#f8efd9;--tag-4:#e9f4f0;--tag-5:#fee8e2;--tag-6:#dfedf7;--radius-32:32px;--radius-26:26px;--radius-18:18px;--radius-12:12px;--radius-10:10px;--header-height:60px;--tab-bar-height:60px;--composer-offset:160px;--chat-bottom-gap:20px;--container-width:1020px;--shadow-card:0 14px 42px #4a326b14}html,body{max-width:100vw;overflow-x:hidden}html{height:100%}body{min-height:100%;color:var(--secondary-dark);background:var(--light-4);font-family:var(--font-ntsomic), "NTSomic", sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{background:0 0;border:0}img{max-width:100%;display:block}:focus-visible{outline:2px solid var(--brand-1);outline-offset:3px}.skip-link{z-index:200;background:var(--brand-1);color:var(--white);border-radius:var(--radius-12);padding:10px 16px;font-weight:700;position:absolute;top:-56px;left:12px}.skip-link:focus{top:12px}.page-shell{min-height:100vh;padding-top:var(--header-height)}.page-shell--tabs{padding-bottom:calc(var(--tab-bar-height) + env(safe-area-inset-bottom))}.app-header{z-index:30;height:var(--header-height);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfcfff5;border-bottom:1px solid #c6bcd48c;position:fixed;inset:0 0 auto;overflow:visible}.app-header__inner{width:min(100%, var(--container-width));grid-template-columns:72px 1fr auto;align-items:center;gap:10px;height:100%;margin:0 auto;padding:0 10px;display:grid}.app-header__inner--shell{grid-template-columns:1fr auto}.header-logo-link{justify-self:start}.header-nav{display:none}.tab-bar{z-index:28;height:calc(var(--tab-bar-height) + env(safe-area-inset-bottom));padding:0 6px env(safe-area-inset-bottom);background:#fbfcfffa;border-top:1px solid #c6bcd48c;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:fixed;inset:auto 0 0}.tab-bar a{min-height:var(--tab-bar-height);color:var(--grey-dark-1);justify-content:center;align-items:center;font-size:14px;font-weight:900;display:inline-flex}.tab-bar a.is-active{color:var(--brand-1)}.header-nav a.is-active,.header-nav a:hover{background:var(--brand-1);color:var(--white)}.text-danger{color:#8f253c;text-align:right;cursor:pointer;font-size:14px;font-weight:900}.header-logo{text-transform:uppercase;letter-spacing:-.04em;color:var(--secondary-dark);justify-self:center;font-size:22px;font-weight:900}.header-lead{flex-direction:row;align-items:center;gap:10px;min-width:0;display:flex}.header-portrait{object-fit:cover;object-position:top center;background:var(--tag-1);border-radius:12px;flex-shrink:0;width:36px;height:36px}.header-lead__text{flex-direction:column;min-width:0;display:flex}.header-title{letter-spacing:-.04em;white-space:nowrap;text-overflow:ellipsis;font-size:20px;font-weight:700;overflow:hidden}.header-subtitle{color:var(--grey-dark-1);font-size:13px;font-weight:500}.header-actions{z-index:2;align-items:center;gap:10px;display:flex;position:relative}.hamburger,.icon-button,.send-button{border-radius:var(--radius-18);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;width:50px;height:50px;transition:background-color .2s ease-in-out,color .2s ease-in-out,transform .2s ease-in-out;display:inline-flex}.hamburger,.icon-button{background:var(--white);color:var(--brand-1);box-shadow:inset 0 0 0 2px var(--light-4)}.hamburger:hover,.icon-button:hover{background:var(--brand-1);color:var(--white)}.hamburger{position:relative}.hamburger span{background:currentColor;border-radius:999px;height:2px;position:absolute;left:13px}.hamburger span:first-child{width:24px;top:16px}.hamburger span:nth-child(2){width:24px;top:24px}.hamburger span:nth-child(3){width:15px;top:32px}.profile-chip{background:var(--white);min-height:40px;color:var(--brand-1);box-shadow:inset 0 0 0 2px var(--light-4);border-radius:16px;align-items:center;padding:0 14px;font-size:14px;font-weight:900;display:inline-flex}.profile-chip.is-active,.profile-chip:hover{background:var(--brand-1);color:var(--white);box-shadow:none}.credits-badge{background:linear-gradient(135deg, var(--brand-credits) 0%, #836bab 100%);min-height:40px;color:var(--white);white-space:nowrap;border-radius:16px;align-items:center;gap:8px;padding:0 14px;font-size:14px;font-weight:900;display:inline-flex}.credits-badge span{opacity:.8}.hint{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;flex-shrink:0;display:inline-flex;position:relative}.hint__panel{z-index:40;border-radius:var(--radius-12);background:var(--white);width:min(260px,100vw - 20px);color:var(--secondary-dark);box-shadow:inset 0 0 0 2px var(--secondary-accent-2);padding:12px 14px;font-size:14px;font-weight:500;line-height:1.35;position:absolute;top:calc(100% + 8px);left:0}.hint--end .hint__panel{left:auto;right:0}.memory-chip{background:var(--white);min-height:40px;color:var(--brand-1);box-shadow:inset 0 0 0 2px var(--light-4);border-radius:16px;align-items:center;padding:0 14px;font-size:14px;font-weight:900;display:inline-flex}.page-content{width:min(100%, var(--container-width));margin:0 auto;padding:20px 10px 30px}.hero-banner{background:linear-gradient(135deg, var(--brand-1) 0%, #836bab 100%);border-radius:var(--radius-32);color:var(--white);gap:18px;padding:24px 20px;display:grid}.hero-banner h1,.hero-banner__title{letter-spacing:-.05em;color:var(--white);font-size:25px;font-weight:900;line-height:1.05}.hero-banner p{color:#ffffffe0;font-size:15px;line-height:1.28}.story-pills,.story-labels,.tag-row,.starter-row,.swipe-row{flex-wrap:wrap;gap:10px;display:flex}.starter-chip,.swipe-chip{-webkit-user-select:none;user-select:none;border-radius:16px;justify-content:center;align-items:center;min-height:40px;padding:0 18px;font-size:14px;font-weight:900;transition:background-color .2s ease-in-out,color .2s ease-in-out;display:inline-flex}.story-label{background:var(--light-4);min-height:28px;color:var(--secondary-dark);border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}
.story-label--tinted:nth-child(6n+1),.starter-chip:nth-child(6n+1){background:var(--tag-1)}.story-label--tinted:nth-child(6n+2),.starter-chip:nth-child(6n+2){background:var(--tag-2)}.story-label--tinted:nth-child(6n+3),.starter-chip:nth-child(6n+3){background:var(--tag-3)}.story-label--tinted:nth-child(6n+4),.starter-chip:nth-child(6n+4){background:var(--tag-4)}.story-label--tinted:nth-child(6n+5),.starter-chip:nth-child(6n+5){background:var(--tag-5)}.story-label--tinted:nth-child(6n),.starter-chip:nth-child(6n){background:var(--tag-6)}.progress-status-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.progress-status{gap:8px;display:grid}.progress-status__row{justify-content:space-between;align-items:center;gap:12px;display:flex}.progress-status__line{margin:0;font-size:16px;font-weight:700}.text-button{color:var(--secondary-dark);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin:30px 0 18px;display:flex}.section-head h2{letter-spacing:-.04em;font-size:24px;font-weight:900}.section-head p{color:var(--grey-dark-1);font-size:14px}.section-head__actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.dialog-list,.request-list,.account-actions{gap:12px;display:grid}.dialog-card,.account-card,.request-card{border-radius:var(--radius-26);background:var(--white);box-shadow:var(--shadow-card)}.dialog-card{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;display:grid;overflow:hidden}.dialog-card__open{grid-template-columns:84px minmax(0,1fr);align-items:center;gap:12px;min-height:84px;padding:0 4px 0 0;display:grid}.dialog-card__image{object-fit:cover;object-position:top center;background:var(--tag-1);width:84px;height:108px}.dialog-card__body{gap:6px;padding:12px 4px 12px 0;display:grid}.dialog-card__name{letter-spacing:-.04em;font-size:18px;font-weight:900}.dialog-card__meta{color:var(--grey-dark-1);font-size:13px}.dialog-card__delete{color:var(--grey-dark-1);padding:0 16px;font-size:13px;font-weight:700}.account-jump{flex-wrap:wrap;gap:8px;display:flex}.account-jump a{background:var(--white);min-height:40px;color:var(--brand-1);box-shadow:inset 0 0 0 2px var(--light-4);border-radius:16px;align-items:center;padding:0 14px;font-size:14px;font-weight:900;display:inline-flex}.account-card,.request-card{scroll-margin-top:calc(var(--header-height) + 16px);gap:12px;padding:18px 16px;display:grid}.account-card h2,.request-card__title{letter-spacing:-.03em;font-size:18px;font-weight:900}.account-card p,.request-card__meta{color:var(--grey-dark-1);font-size:14px;line-height:1.35}.request-card{grid-template-columns:minmax(0,1fr)}.request-card__actions{flex-wrap:wrap;gap:8px;display:flex}.check-row{color:var(--secondary-dark);flex-wrap:wrap;align-items:center;gap:12px;font-size:14px;font-weight:700;display:flex}.check-row label{align-items:center;gap:8px;display:inline-flex}.ledger-amount{font-weight:900}.ledger-amount--spend{color:var(--secondary-red-error)}.thread-bar{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.thread-pill{flex:none;align-items:center;gap:2px;display:inline-flex}.thread-pill__action{min-width:28px;min-height:40px;color:var(--grey-dark-1);cursor:pointer;font:inherit;background:0 0;border:0;font-weight:900}.thread-pill--active .thread-pill__action{color:var(--brand-1)}.fork-marker{background:var(--tag-1);color:var(--brand-1);min-height:32px;font:inherit;cursor:pointer;border:0;border-radius:16px;padding:0 12px;font-size:13px;font-weight:900}.fork-marker:disabled{opacity:.45;cursor:default}.thread-bar::-webkit-scrollbar{display:none}.thread-nav{top:var(--header-height);z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfcfff5;gap:8px;padding:4px 0 10px;display:grid;position:sticky}.thread-nav__row{align-items:center;gap:8px;display:flex}.thread-nav__row .thread-bar{flex:1;min-width:0}.thread-tree-toggle{flex:none}.chat-mode-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.segmented{border-radius:var(--radius-26);background:var(--tag-1);gap:2px;padding:3px;display:inline-flex}.segmented__btn{border-radius:var(--radius-26);min-width:44px;min-height:44px;color:var(--secondary-dark);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 14px;font-size:13px;font-weight:700}.segmented__btn--active{background:var(--white);box-shadow:var(--shadow-card)}.spoiler-toggle{color:var(--secondary-dark);align-items:center;gap:8px;font-size:13px;font-weight:700;display:inline-flex}.spoiler-toggle input{width:18px;height:18px}.progress-picker{gap:10px;margin:0;padding:0;list-style:none;display:grid}.progress-picker__item{border-radius:var(--radius-18);background:var(--white);box-shadow:inset 0 0 0 2px var(--light-4);gap:6px;padding:12px 14px;display:grid}.progress-picker__title{font-size:16px;font-weight:900}.progress-picker__meta{color:var(--grey-dark-1);font-size:14px;font-weight:700}.progress-picker--compact .progress-picker__item{padding:10px 12px}.progress-notice{border-radius:var(--radius-18);background:var(--tag-1);color:var(--secondary-dark);gap:12px;padding:14px 16px;display:grid}.progress-notice__text{gap:4px;display:grid}.progress-notice__text p{color:var(--grey-dark-1);margin:0;font-size:14px;line-height:1.35}.progress-notice .btn-secondary{justify-self:start}.memory-chip:hover{background:var(--brand-1);color:var(--white);box-shadow:none}.thread-tree{max-height:280px;margin:0;padding:4px 0 0;list-style:none;overflow:auto}.thread-tree ol{margin:0;padding:0 0 0 16px;list-style:none}.thread-tree li{margin:0}.thread-tree__node{width:100%;color:var(--grey-dark-1);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 0;font-size:14px;font-weight:700;display:flex}.thread-tree__node--current{color:var(--brand-1);font-weight:900}.thread-tree__node:disabled{cursor:default}.thread-tree__role{text-transform:uppercase;font-size:11px;font-weight:900}.thread-chip{background:var(--white);min-height:40px;color:var(--secondary-dark);white-space:nowrap;box-shadow:inset 0 0 0 2px var(--light-3);border-radius:16px;justify-content:center;align-items:center;padding:0 16px;font-size:14px;font-weight:900;display:inline-flex}.thread-chip--active{background:var(--brand-1);color:var(--white);box-shadow:none}
.empty-state--action{justify-items:start;gap:16px;display:grid}.drawer a.is-active{background:var(--tag-1);color:var(--brand-1)}.character-card{border-radius:var(--radius-26);background:var(--white);box-shadow:var(--shadow-card);flex-direction:column;display:flex;overflow:hidden}.character-card__image{aspect-ratio:1/1.287;object-fit:cover;object-position:top center;background:var(--tag-1)}.character-card__body{flex:1;gap:12px;padding:16px 14px 14px;display:grid}.character-card__name{letter-spacing:-.04em;font-size:20px;font-weight:900;line-height:1.05}.character-card__summary{color:var(--grey-dark-1);min-height:52px;font-size:14px;line-height:1.22}.character-card__footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.btn,.btn-secondary,.btn-danger{border-radius:var(--radius-18);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;min-height:50px;padding:0 24px;font-size:16px;font-weight:900;transition:background-color .2s ease-in-out,color .2s ease-in-out,box-shadow .2s ease-in-out;display:inline-flex}.btn{background:var(--brand-1);color:var(--white)}.btn:hover{background:var(--secondary-dark)}.btn-secondary{background:var(--white);color:var(--secondary-dark);box-shadow:inset 0 0 0 2px var(--light-4)}.btn-secondary:hover{background:var(--brand-1);color:var(--white)}.btn-danger{background:var(--brand-2);color:var(--white)}.btn:disabled,.btn-secondary:disabled,.btn-danger:disabled,.send-button:disabled,.icon-button:disabled{cursor:wait;opacity:.6}.btn-square{width:50px;min-width:50px;padding:0}.send-button{background:var(--brand-1);color:var(--white);font-size:26px;font-weight:900}.send-button:hover{background:var(--secondary-dark)}.form-shell{place-items:center;min-height:100vh;padding:24px 12px;display:grid}.auth-card{background:var(--light-2);border-radius:var(--radius-32);width:min(100%,420px);box-shadow:var(--shadow-card);gap:18px;padding:28px 22px;display:grid}.auth-card h1{letter-spacing:-.05em;font-size:32px;font-weight:900}.auth-card p{color:var(--grey-dark-1);line-height:1.25}.form-grid{gap:12px;display:grid}.field{gap:8px;display:grid}.field label{font-size:14px;font-weight:700}.field input,.field textarea,.field select,.composer-input{background:var(--light-4);width:100%;min-height:50px;color:var(--secondary-dark);border-radius:var(--radius-18);box-shadow:inset 0 0 0 3px var(--light-4);border:0;padding:0 16px;transition:box-shadow .2s ease-in-out}.field textarea{resize:vertical;min-height:90px;padding:14px 16px}.field input:hover,.field textarea:hover,.field select:hover,.composer-input:hover{box-shadow:inset 0 0 0 2px var(--secondary-accent-2)}.field input:focus,.field textarea:focus,.field select:focus,.composer-input:focus{box-shadow:inset 0 0 0 3px var(--secondary-accent-2);outline:none}.field input[aria-invalid=true],.field textarea[aria-invalid=true],.composer-input[aria-invalid=true]{box-shadow:inset 0 0 0 3px var(--secondary-red-error)}.error-banner,.empty-state,.status-note{border-radius:var(--radius-18);padding:14px 16px;font-size:14px;line-height:1.3}.empty-state,.status-note{background:var(--white);color:var(--grey-dark-1)}.error-banner{color:#8f253c;background:#e86f6f1f}.auth-footer{color:var(--grey-dark-1);flex-wrap:wrap;align-items:center;gap:10px;display:flex}.auth-link{color:var(--brand-1);font-weight:900}.start-sheet-backdrop{z-index:40;background:#4a326b38;justify-content:center;align-items:flex-end;padding:10px;display:flex;position:fixed;inset:0}.start-sheet{background:var(--light-2);border-radius:var(--radius-32) var(--radius-32) 0 0;width:min(100%,480px);max-height:min(92vh,760px);padding:22px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:var(--shadow-card);gap:16px;display:grid;overflow:auto}.start-sheet__eyebrow,.start-sheet__lead,.start-sheet__empty{color:var(--grey-dark-1);font-size:14px;line-height:1.3}.start-sheet h2{letter-spacing:-.04em;font-size:24px;font-weight:900;line-height:1.1}.start-sheet__who{gap:12px;display:grid}.start-sheet__who h3{font-size:16px;font-weight:900}.persona-choice-list{gap:10px;display:grid}.persona-choice{border-radius:var(--radius-18);background:var(--white);min-height:64px;color:var(--secondary-dark);text-align:left;cursor:pointer;box-shadow:inset 0 0 0 2px var(--light-4);gap:4px;padding:12px 16px;transition:background-color .2s ease-in-out,color .2s ease-in-out,box-shadow .2s ease-in-out;display:grid}.persona-choice__name{font-size:16px;font-weight:900}.persona-choice__meta{color:var(--grey-dark-1);font-size:14px;font-weight:700}.persona-choice.is-selected{background:var(--brand-1);color:var(--white);box-shadow:none}.persona-choice.is-selected .persona-choice__meta{color:#ffffffd1}.start-sheet__actions{grid-template-columns:1fr 1.4fr;gap:10px;display:grid}@media (min-width:641px){.start-sheet-backdrop{align-items:center}.start-sheet{border-radius:var(--radius-32);padding-bottom:22px}}.drawer-backdrop{inset:var(--header-height) 0 0 0;z-index:20;background:#4a326b2e;position:fixed}.drawer{inset:var(--header-height) auto 0 0;z-index:21;background:var(--light-4);border-top-right-radius:var(--radius-32);border-bottom-right-radius:var(--radius-32);width:min(320px,100% - 40px);box-shadow:var(--shadow-card);gap:12px;padding:20px;display:grid;position:fixed}.drawer button,.drawer a{border-radius:var(--radius-18);background:var(--white);min-height:50px;color:var(--secondary-dark);align-items:center;padding:0 18px;font-weight:900;display:inline-flex}.chat-layout{min-height:100vh;padding-top:var(--header-height);flex-direction:column;display:flex}.chat-layout--tabs{--chat-composer-clearance:calc(var(--composer-offset) + var(--tab-bar-height) + env(safe-area-inset-bottom) + var(--chat-bottom-gap))}.chat-layout--tabs .chat-main{padding-bottom:var(--chat-composer-clearance)}.chat-layout--tabs .message-list>.message-row:last-child{scroll-margin-bottom:var(--chat-composer-clearance)}.chat-main{width:min(100%, var(--container-width));flex:1;align-content:start;gap:16px;margin:0 auto;padding:18px 10px 124px;display:grid}.message-list{align-content:start;gap:14px;display:grid}.message-row{align-items:flex-start;display:flex}.message-row--user{justify-content:flex-end}.message-row--character,.message-row--system{justify-content:flex-start}.message-stack{align-content:start;gap:8px;max-width:85%;display:grid}
.emotion-pill{border-radius:var(--radius-26);background:var(--tag-1);width:fit-content;min-height:36px;color:var(--brand-1);align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:900;display:inline-flex}.emotion-pill__sprite{background:var(--brand-1);width:22px;height:22px;color:var(--white);border-radius:11px;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.message-retry{margin-top:8px}.message-interrupt{background:var(--tag-1);color:var(--secondary-dark);border-radius:var(--radius-18);flex-direction:column;gap:8px;padding:12px 14px;font-size:14px;font-weight:500;line-height:1.35;display:flex}.message-interrupt .message-retry{min-height:40px;margin-top:0;padding:0 16px;font-size:14px}.proactive-pill{border-radius:var(--radius-26);background:var(--tag-1);width:fit-content;min-height:28px;color:var(--secondary-dark);align-items:center;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.guide-pill{border-radius:var(--radius-26);background:var(--tag-6);width:fit-content;min-height:28px;color:var(--secondary-dark);align-items:center;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.spoiler-pill{border-radius:var(--radius-26);background:var(--tag-5);width:fit-content;min-height:28px;color:var(--secondary-dark);align-items:center;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.bubble{border-radius:var(--radius-18);white-space:pre-wrap;word-break:break-word;height:fit-content;padding:14px 16px;font-size:16px;line-height:1.28}.bubble--character{background:var(--white);color:var(--secondary-dark)}.bubble--guide{background:var(--tag-6);color:var(--secondary-dark)}.bubble--user{background:var(--brand-1);color:var(--white)}.bubble--system{background:var(--tag-1);color:var(--secondary-dark)}.message-gallery{gap:8px;margin:0;padding:0;list-style:none;display:grid}.message-gallery img{border-radius:var(--radius-18);background:var(--tag-1);width:100%;max-width:320px;display:block}.message-gallery p{color:var(--grey-dark-1);margin:6px 0 0;font-size:12px}.message-gallery__pending{border-radius:var(--radius-18);background:var(--tag-1);width:100%;max-width:320px;min-height:220px;color:var(--grey-dark-1);justify-content:center;align-items:center;font-size:14px;font-weight:500;display:flex}.message-meta{color:var(--grey-dark-1);align-items:center;gap:10px;font-size:13px;font-weight:500;display:flex}.fork-link{color:var(--brand-1);cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.fork-link:disabled{opacity:.45;cursor:default}.swipe-row{align-items:center}.swipe-chip{background:var(--white);min-width:40px;color:var(--secondary-dark)}.swipe-chip--active{background:var(--brand-1);color:var(--white)}.composer-shell{z-index:25;padding:12px 10px calc(12px + env(safe-area-inset-bottom));background:#fbfcfffa;border-top:1px solid #c6bcd48c;position:fixed;inset:auto 0 0}.composer-shell--tabs{bottom:calc(var(--tab-bar-height) + env(safe-area-inset-bottom));padding-bottom:12px}.composer-inner{width:min(100%, var(--container-width));gap:10px;margin:0 auto;display:grid}.composer-row{align-items:flex-end;gap:10px;display:flex}.composer-input{resize:none;min-height:50px;max-height:140px;padding:14px 16px;line-height:1.2}.composer-actions{flex-wrap:wrap;gap:10px;display:flex}.loading-screen{min-height:100vh;color:var(--grey-dark-1);place-items:center;display:grid}.composer-attach{align-items:center;gap:8px;display:inline-flex}.composer-attach__preview{border-radius:var(--radius-10);object-fit:cover;width:44px;height:44px}.composer-attach__clear{min-height:44px;color:var(--brand-1);cursor:pointer;padding:0 12px;font-weight:700}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.memory-page{gap:20px;display:grid}.memory-intro h1{letter-spacing:-.04em;margin:8px 0 10px;font-size:24px;font-weight:900}.memory-intro p{color:var(--grey-dark-1);font-size:14px;line-height:1.35}.memory-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--brand-1);font-size:13px;font-weight:900}.memory-list{gap:14px;list-style:none;display:grid}.memory-card{background:var(--white);border-radius:var(--radius-26);box-shadow:var(--shadow-card);gap:12px;padding:18px 16px;display:grid}.memory-card--provisional{box-shadow:inset 0 0 0 2px var(--tag-2), var(--shadow-card)}.memory-card__meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.memory-key,.memory-flag{border-radius:14px;align-items:center;min-height:28px;padding:0 12px;font-size:13px;font-weight:900;display:inline-flex}.memory-key{background:var(--tag-1);color:var(--secondary-dark)}.memory-flag{background:var(--tag-2);color:var(--secondary-dark)}.memory-flag--locked{background:var(--tag-4)}.memory-statement{font-size:16px;line-height:1.35}.memory-actions{flex-wrap:wrap;gap:10px;display:flex}.memory-edit .field textarea{background:var(--light-4);width:100%;min-height:90px;color:var(--secondary-dark);border-radius:var(--radius-18);resize:vertical;border:0;padding:14px 16px}.memory-episodes h2{letter-spacing:-.03em;margin:8px 0 12px;font-size:18px;font-weight:900}.memory-episodes__empty{color:var(--grey-dark-1);font-size:14px;line-height:1.35}@media (min-width:641px){.page-content,.chat-main{padding-left:20px;padding-right:20px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}@media (max-width:640px){.header-lead{gap:8px}.header-title{font-size:18px}.credits-badge span,.chat-layout .profile-chip{display:none}}
@media (min-width:1025px){.header-portrait{width:40px;height:40px}.app-header__inner{grid-template-columns:90px 1fr auto;padding:0 20px}.app-header__inner--shell{grid-template-columns:1fr auto auto}.header-nav{justify-self:start;align-items:center;gap:8px;display:flex}.header-nav a{background:var(--white);min-height:40px;color:var(--secondary-dark);box-shadow:inset 0 0 0 2px var(--light-4);border-radius:16px;align-items:center;padding:0 16px;font-size:14px;font-weight:900;display:inline-flex}.header-logo-link{justify-self:center}.tab-bar{display:none}.page-shell--tabs{padding-bottom:0}.composer-shell--tabs{padding-bottom:calc(12px + env(safe-area-inset-bottom));bottom:0}.chat-layout--tabs{--chat-composer-clearance:calc(var(--composer-offset) + env(safe-area-inset-bottom) + var(--chat-bottom-gap))}.page-content{padding:30px 20px 40px}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

