:root{color-scheme:light;--bg:#f7f9fc;--surface:rgba(255,255,255,.84);--solid:#fff;--soft:#f1f6fd;--text:#0f172a;--text2:#334155;--muted:#718096;--border:rgba(148,163,184,.25);--blue:#2563ff;--cyan:#00c2b5;--violet:#8e6dff;--place:#9ca3af;--line:rgba(92,118,151,.16);--shadow:0 20px 60px rgba(36,91,160,.12)}:root[data-theme=dark]{color-scheme:dark;--bg:#08111d;--surface:rgba(12,23,38,.82);--solid:#0d1827;--soft:#122036;--text:#f5f8fc;--text2:#d3deec;--muted:#8ca0b8;--border:rgba(119,147,181,.2);--blue:#4f8bff;--cyan:#1ed2c2;--violet:#a78bfa;--place:#748399;--line:rgba(139,173,211,.13);--shadow:0 24px 70px rgba(0,0,0,.42)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;background:var(--bg);color:var(--text)}button,input,textarea{font:inherit}.hidden{display:none!important}.muted{color:var(--muted)}.app-shell{width:100%;height:100%}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.06em;color:var(--blue);margin:0 0 8px}.brand-lockup,.brand-button{display:flex;align-items:center;gap:12px}.brand-mark{width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#2d6cff,#17c6e8 58%,#2bd6b4);display:grid;place-items:center;color:#fff;font-size:25px;font-weight:900;box-shadow:0 14px 36px rgba(37,99,255,.22)}.brand-mark.small{width:40px;height:40px;border-radius:13px;font-size:18px}.brand-lockup strong{display:block;font-size:23px}.brand-lockup span{display:block;font-size:13px;font-weight:800;color:var(--blue)}.auth-view{width:100%;height:100%;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 18% 14%,rgba(37,99,255,.13),transparent 28%),radial-gradient(circle at 82% 10%,rgba(0,194,181,.11),transparent 29%),var(--bg)}.auth-layout{width:min(1080px,100%);display:grid;grid-template-columns:1.25fr .75fr;gap:64px;align-items:center}.auth-story h1{font-size:60px;line-height:1.08;letter-spacing:-.045em;margin:18px 0}.lead{font-size:18px;line-height:1.8;color:var(--muted);max-width:660px}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:28px;padding:30px;box-shadow:var(--shadow);backdrop-filter:blur(22px)}.auth-card h2{font-size:27px;margin:0 0 6px}.tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;margin:24px 0 16px;border-radius:14px;background:var(--soft)}.tab{border:0;background:transparent;padding:10px;border-radius:10px;color:var(--muted);cursor:pointer}.tab.active{background:var(--solid);color:var(--text);font-weight:800}.form-stack{display:grid;gap:12px}.form-stack input{padding:14px 15px;border:1px solid var(--border);border-radius:13px;background:var(--solid);color:var(--text);outline:0}.primary{border:0;background:linear-gradient(135deg,#2563ff,#4f8bff);color:#fff;border-radius:13px;padding:12px 18px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(37,99,255,.2)}.wide{width:100%;min-height:48px}.message{min-height:20px;color:#d65a54;font-size:13px}.universe-view{position:relative;width:100%;height:100%;overflow:hidden;background:radial-gradient(circle at 48% 42%,rgba(91,159,255,.07),transparent 33%),radial-gradient(circle at 73% 66%,rgba(0,194,181,.05),transparent 26%),var(--bg)}.universe-topbar{position:absolute;top:0;left:0;right:0;height:78px;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;background:linear-gradient(to bottom,color-mix(in srgb,var(--bg) 90%,transparent),transparent);pointer-events:none}.brand-button,.top-actions>*{pointer-events:auto}.brand-button{border:0;background:transparent;color:var(--text);cursor:pointer}.brand-button strong{display:block;font-size:16px}.brand-button small{display:block;color:var(--blue);font-size:10px;font-weight:800}.top-actions{display:flex;gap:8px}.icon-btn,.account-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--border);background:var(--surface);backdrop-filter:blur(20px);display:grid;place-items:center;color:var(--text2);cursor:pointer;box-shadow:0 8px 24px rgba(15,23,42,.06)}.account-btn{border-radius:50%;font-weight:900;color:white;background:linear-gradient(145deg,var(--blue),var(--cyan));border-color:transparent}.graph-stage{position:absolute;inset:0;overflow:hidden}.ambient{position:absolute;border-radius:50%;filter:blur(60px);opacity:.24;pointer-events:none}.ambient.a{width:340px;height:340px;background:rgba(76,120,255,.18);left:10%;top:14%}.ambient.b{width:360px;height:360px;background:rgba(0,194,181,.12);right:9%;bottom:10%}.graph-svg{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.graph-edge{stroke:var(--line);stroke-linecap:round}.graph-node{cursor:pointer}.node-core{stroke:var(--solid);stroke-width:2;filter:drop-shadow(0 5px 10px rgba(37,99,255,.14))}.node-label{fill:var(--text2);font-size:11px;font-weight:750;paint-order:stroke;stroke:var(--bg);stroke-width:4px;pointer-events:none}.node-initial{fill:#fff;font-weight:900;text-anchor:middle;dominant-baseline:central;pointer-events:none}.graph-empty{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:min(520px,82vw);text-align:center;z-index:5}.graph-empty h2{font-size:26px;margin:16px 0 8px}.graph-empty p{color:var(--muted);line-height:1.8}.empty-orbit{width:110px;height:110px;border:1px solid var(--border);border-radius:50%;margin:auto;background:radial-gradient(circle,#4f8bff 0 10%,rgba(79,139,255,.17) 11% 32%,transparent 33%)}.universe-caption{position:absolute;left:74px;top:78px;bottom:auto;z-index:10;display:flex;gap:9px;align-items:center;color:var(--muted);font-size:11px;background:var(--surface);border:1px solid var(--border);padding:8px 11px;border-radius:999px;backdrop-filter:blur(20px)}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 5px rgba(0,194,181,.11)}.stats{color:var(--text2)}.floating-composer{position:absolute;z-index:25;left:50%;bottom:28px;transform:translateX(-50%);width:min(690px,calc(100vw - 120px));display:grid;grid-template-columns:34px 1fr 42px;align-items:center;gap:8px;padding:10px 10px 10px 14px;border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:0 18px 54px rgba(34,85,150,.16);backdrop-filter:blur(24px);transition:.25s}.floating-composer:focus-within{width:min(760px,calc(100vw - 90px));box-shadow:0 22px 70px rgba(37,99,255,.18)}.composer-icon{color:var(--blue);font-size:18px}.floating-composer textarea{border:0;outline:0;resize:none;max-height:126px;background:transparent;color:var(--text);padding:5px 3px;line-height:1.55}.send-btn{width:42px;height:42px;border:0;border-radius:50%;background:linear-gradient(145deg,var(--blue),#4f8bff);color:#fff;font-size:20px;cursor:pointer}.notice{position:absolute;z-index:40;left:50%;top:92px;transform:translateX(-50%);padding:11px 16px;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);color:var(--text2);font-size:13px}.person-peek{position:absolute;z-index:24;right:26px;top:110px;width:310px;padding:22px;border:1px solid var(--border);border-radius:24px;background:var(--surface);box-shadow:var(--shadow);backdrop-filter:blur(22px)}.peek-close,.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:var(--muted);font-size:23px;cursor:pointer}.peek-avatar,.person-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--blue),#5a9cff);color:#fff;font-size:22px;font-weight:900;box-shadow:0 0 0 7px rgba(37,99,255,.09)}.person-peek h2{margin:10px 0 7px}.peek-summary{color:var(--muted);line-height:1.7;font-size:13px}.secondary{border:1px solid var(--border);background:var(--solid);color:var(--text);border-radius:11px;padding:9px 12px;cursor:pointer}.account-menu{position:absolute;right:22px;top:70px;z-index:50;width:220px;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:10px;box-shadow:var(--shadow)}.account-menu>div{padding:9px 10px 12px}.account-menu strong{display:block}.account-menu small{color:var(--muted)}.menu-row{width:100%;border:0;background:transparent;color:var(--text2);padding:10px;text-align:left;cursor:pointer}.person-modal{position:fixed;inset:0;z-index:100}.person-modal-backdrop{position:absolute;inset:0;background:rgba(5,12,22,.34);backdrop-filter:blur(5px)}.person-detail-card{position:absolute;right:18px;top:18px;bottom:18px;width:min(430px,calc(100vw - 36px));overflow:auto;padding:25px;background:var(--solid);border:1px solid var(--border);border-radius:28px;box-shadow:0 30px 90px rgba(0,0,0,.2)}.person-detail-head{display:flex;align-items:center;gap:15px}.person-detail-head h2{margin:3px 0 5px}.detail-highlight-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.detail-highlight-grid section{padding:14px;background:var(--soft);border-radius:16px}.detail-highlight-grid h3,.timeline-heading h3{font-size:13px;margin:0 0 8px}.detail-highlight-grid p{font-size:12px;line-height:1.7;color:var(--muted)}.timeline-heading{display:flex;justify-content:space-between}.timeline-item{display:grid;grid-template-columns:16px 1fr;gap:8px;padding:0 0 18px}.timeline-dot{width:11px;height:11px;border-radius:50%;background:var(--blue);margin-top:4px}.timeline time{font-size:10px;color:var(--muted)}.timeline p{font-size:12px;line-height:1.7;color:var(--text2)}.detail-actions{position:sticky;bottom:-25px;background:linear-gradient(transparent,var(--solid) 28%);padding:32px 0 0;display:flex;gap:8px}.detail-actions .primary{flex:1}@media(max-width:760px){.auth-layout{grid-template-columns:1fr;gap:28px}.auth-story h1{font-size:42px}.auth-card{padding:22px}.universe-topbar{padding:12px}.floating-composer{bottom:18px;width:calc(100vw - 28px)}.universe-caption{left:58px;top:70px;bottom:auto}.stats{display:none}.person-peek{left:14px;right:14px;top:auto;bottom:86px;width:auto}.person-detail-card{inset:8px;width:auto}.detail-highlight-grid{grid-template-columns:1fr}}

/* G9.1 visual assets */
.asset-brand{padding:0;background:none!important;box-shadow:none!important;overflow:hidden}.asset-brand img{display:block;width:100%;height:100%}.icon-btn img,.send-btn img,.peek-close img,.modal-close img,.g6-back img,.g7-recall-hud button img,.g8-found-head button img{width:20px;height:20px;display:block}.icon-btn img,.peek-close img,.modal-close img,.g6-back img,.g7-recall-hud button img,.g8-found-head button img{filter:var(--asset-icon-filter,none)}.send-btn img{width:19px;height:19px;filter:brightness(0) invert(1)}.composer-icon{display:grid;place-items:center}.composer-icon img{width:25px;height:25px}.node-asset{pointer-events:none;filter:drop-shadow(0 5px 10px rgba(37,99,255,.12))}.asset-initial{fill:#fff;font-weight:900;text-anchor:middle;dominant-baseline:central;pointer-events:none;font-size:0!important}.peek-close,.modal-close{display:grid;place-items:center;width:34px;height:34px}.g8-avatar{position:relative;overflow:hidden}.g8-avatar img{position:absolute;inset:0;width:100%;height:100%;opacity:.9}.g8-avatar{color:#fff}.g8-avatar:not(:empty){text-shadow:0 1px 3px rgba(0,0,0,.25)}

/* MOBILE-PERSON-SHEET-20260905 */
@media(max-width:760px){
  .universe-topbar{height:66px;padding:10px 12px;align-items:center}
  .brand-button{gap:7px;padding:0}
  .brand-mark.small{width:36px;height:36px;border-radius:11px;flex:0 0 36px}
  .brand-button strong{font-size:14px;line-height:1.05}
  .brand-button small{font-size:9px;line-height:1;margin-top:2px}
  .top-actions{gap:6px}
  .icon-btn,.account-btn{width:38px;height:38px;border-radius:12px}
  .account-btn{border-radius:50%}
  .universe-caption{left:12px;top:68px;max-width:calc(100vw - 24px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .person-peek{position:absolute;left:8px;right:8px;top:auto;bottom:152px;width:auto;max-height:min(58dvh,calc(100dvh - 300px));padding:0;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;overscroll-behavior:contain;scrollbar-width:none}
  .person-peek::-webkit-scrollbar{display:none}
  .peek-close{right:8px;top:8px;width:30px;height:30px;z-index:3}
  .peek-avatar{width:46px;height:46px;font-size:18px;box-shadow:0 0 0 5px rgba(37,99,255,.08)}
  .person-peek>.eyebrow{margin:8px 0 4px;font-size:10px}
  .person-peek h2{margin:4px 0 5px;font-size:24px;line-height:1.2}
  .peek-summary{margin:0 0 8px;font-size:12px;line-height:1.5}
  .floating-composer{left:14px;right:14px;bottom:14px;transform:none;width:auto;grid-template-columns:28px 1fr 40px;padding:8px 8px 8px 11px;border-radius:24px}
  .floating-composer:focus-within{width:auto}
  .floating-composer textarea{font-size:14px;padding:4px 2px;max-height:96px}
  .send-btn{width:40px;height:40px}
}

/* MOBILE-PERSON-FLOAT-DRAG-20260905 */
@media(max-width:760px){
  .person-peek{
    left:10px;right:10px;bottom:calc(148px + var(--g93-drag-up,0px));top:auto;width:auto;
    height:min(52dvh,520px);max-height:calc(100dvh - 205px);
    transform:none!important;transition:box-shadow .18s ease,background .18s ease;
    padding:0;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;
  }
  .person-peek.g93-dragging{box-shadow:0 28px 80px rgba(0,0,0,.34)}
  .person-card-header,.g93-float-head{flex:0 0 auto;min-height:46px;display:flex;align-items:center;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 98%,transparent);touch-action:none;user-select:none;-webkit-user-select:none;position:relative;z-index:4}
  .g93-drag-handle{height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:ns-resize;touch-action:none;color:var(--muted)}
  .g93-drag-line{display:block;width:34px;height:4px;border-radius:999px;background:color-mix(in srgb,var(--muted) 58%,transparent)}
  .g93-drag-handle small{display:none}
  .person-card-header .peek-close,.g93-float-head .peek-close{position:static;float:none;flex:0 0 38px;width:38px;height:38px;margin:0 5px 0 0;background:transparent;border-radius:50%;z-index:5;font-size:24px}
  .person-card-content,.g93-float-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:10px 14px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch;position:relative;z-index:1}
  .person-card-content::-webkit-scrollbar,.g93-float-body::-webkit-scrollbar{display:none}
  .person-card-content>.peek-avatar,.g93-float-body>.peek-avatar{margin-top:2px}
}