@charset "UTF-8";
:root {
  --system-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-family:var(--cat-font,var(--system-font)); font-size:14px; color-scheme:light;
  --text:#293b32; --muted:#7b8b80; --bg:#e3ece4; --panel:rgba(255,255,250,.57); --surface:rgba(231,239,231,.7);
  --border:rgba(255,255,252,.74); --divider:rgba(78,101,85,.12); --accent:#506e5b; --accent-strong:#3d5948; --accent-ink:#fcfdf8;
  --danger:#aa6259; --shadow:0 12px 32px #304c3b10; --radius:22px; --page-width:430px;
  --phone-wallpaper:radial-gradient(ellipse at 100% 4%,#b3cebdad,transparent 50%),radial-gradient(ellipse at 0% 100%,#e9cfaa82,transparent 47%),linear-gradient(150deg,#ecf1e9,#e0eae2 55%,#ebe8df);
  --sheet:#f1f5ed; --body-bg:#d7e1d9;
}
:root[data-cat-font] { --cat-font:'Cat Custom UI',var(--system-font); }
:root[data-theme=dark] { color-scheme:dark; --text:#e4ece1; --muted:#9bac9e; --bg:#24372d; --panel:rgba(48,67,54,.74); --surface:rgba(52,74,59,.62); --border:rgba(214,236,214,.14); --divider:rgba(214,236,214,.11); --accent:#a7c3ac; --accent-strong:#bfd7c3; --accent-ink:#223c2a; --danger:#e9a69b; --sheet:#2a4032; --body-bg:#16271d; --phone-wallpaper:radial-gradient(ellipse at 100% 4%,#426c4d7d,transparent 50%),radial-gradient(ellipse at 0% 100%,#78674347,transparent 47%),linear-gradient(145deg,#263a2d,#1d3026 55%,#303c30); --shadow:0 15px 36px #07130933; }
@media(prefers-color-scheme:dark) { :root[data-theme=auto] { color-scheme:dark; --text:#e4ece1; --muted:#9bac9e; --bg:#24372d; --panel:rgba(48,67,54,.74); --surface:rgba(52,74,59,.62); --border:rgba(214,236,214,.14); --divider:rgba(214,236,214,.11); --accent:#a7c3ac; --accent-strong:#bfd7c3; --accent-ink:#223c2a; --danger:#e9a69b; --sheet:#2a4032; --body-bg:#16271d; --phone-wallpaper:radial-gradient(ellipse at 100% 4%,#426c4d7d,transparent 50%),radial-gradient(ellipse at 0% 100%,#78674347,transparent 47%),linear-gradient(145deg,#263a2d,#1d3026 55%,#303c30); --shadow:0 15px 36px #07130933; } }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--text); background:var(--body-bg); min-height:100dvh; }
button,input,textarea,select { color:inherit; font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.42; }
a { color:var(--accent); }
button,select,input,textarea,a { -webkit-tap-highlight-color:transparent; }
button,summary { touch-action:manipulation; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select { width:100%; min-width:0; min-height:44px; border:1px solid var(--border); border-radius:14px; padding:11px 13px; background:var(--panel); font-size:14px; }
input[type=checkbox],input[type=radio],input[type=range] { accent-color:var(--accent); }
textarea { min-height:88px; resize:vertical; }
img,video { max-inline-size:100%; }
audio { max-width:100%; }
p,h1,h2,h3 { margin:0; }
p { line-height:1.7; }
h2 { font-size:17px; line-height:1.4; }
h3 { font-size:14px; line-height:1.4; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; }
.cat-icon { display:block; flex:none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.phone { width:min(100%,var(--page-width)); margin:auto; height:100dvh; display:grid; grid-template-rows:auto auto minmax(0,1fr) auto; overflow:hidden; position:relative; isolation:isolate; background:var(--phone-wallpaper); }
.phone[data-wallpaper=linen] { background:radial-gradient(ellipse at 100% 0%,#ebd7b57d,transparent 50%),linear-gradient(145deg,#f4eee4,#e6ddcd); }
.phone[data-wallpaper=green] { background:radial-gradient(ellipse at 100% 0%,#b1c8ad,transparent 55%),linear-gradient(145deg,#e3eadc,#d1dfcf 60%,#e6e3d4); }
.phone::before { content:''; position:absolute; z-index:-1; inset:0; pointer-events:none; background-image:var(--custom-wallpaper,none); background-size:cover; background-position:center; opacity:.28; }
.status { display:flex; align-items:center; justify-content:space-between; height:calc(40px + env(safe-area-inset-top,0px)); padding:env(safe-area-inset-top,0px) 20px 0; font-size:12px; font-weight:650; color:var(--text); gap:12px; }
.status-device { display:flex; align-items:center; gap:7px; }
.status-device b { font-size:9px; letter-spacing:.13em; font-weight:700; opacity:.6; }
.status-device i { width:5px; height:5px; border-radius:50%; background:var(--accent); }
.status-device .connection-label { display:none; }
.app-bar { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:12px; padding:8px 18px 18px; width:100%; min-height:68px; }
.app-bar h1 { font-size:18px; font-weight:650; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-bar-actions { display:flex; align-items:center; justify-content:flex-end; }
.round,.btn.round,.shell-action { width:42px; height:42px; min-width:42px; min-height:42px; padding:0; border:1px solid var(--border); border-radius:50%; background:rgba(255,255,250,.25); display:grid; place-items:center; box-shadow:inset 0 1px #ffffff20; }
.app-bar-actions .btn { width:42px; height:42px; min-width:42px; min-height:42px; padding:0; border-radius:50%; display:grid; place-items:center; }
.screen { grid-row:3; min-width:0; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:none; }
.screen::-webkit-scrollbar { display:none; }
.screen:focus { outline:none; }
.route-body { min-width:0; }
.screen.app-view > .route-body { min-height:100%; padding:0 18px 28px; margin:0; width:100%; }
.screen.app-view:has(.route-body[data-route=chat]) > .route-body { display:flex; flex-direction:column; }
.phone[data-app=home] { grid-template-rows:auto 0 minmax(0,1fr) auto; }
.phone[data-app=home] .screen { overflow:hidden; }
.phone[data-app=home] .route-body { height:100%; }
.phone.immersive { grid-template-rows:auto minmax(0,1fr); }
.phone.immersive .screen { grid-row:2; overflow:hidden; }
.phone.immersive .screen.app-view > .route-body { height:100%; min-height:0; padding:0; }
.dock { grid-row:4; display:flex; align-items:center; justify-content:space-around; width:calc(100% - 36px); height:58px; margin:8px 18px calc(10px + env(safe-area-inset-bottom,0px)); border:1px solid var(--border); border-radius:23px; background:color-mix(in srgb,var(--panel) 80%,transparent); backdrop-filter:blur(24px) saturate(125%); box-shadow:0 12px 28px #2b453614,inset 0 1px #ffffff55; z-index:4; }
.dock-button { width:42px; height:42px; border:0; padding:0; border-radius:16px; background:transparent; color:var(--muted); display:grid; place-items:center; }
.dock-button[aria-current=page] { color:var(--accent-ink); background:var(--accent); box-shadow:0 6px 12px #2d4a3820; }
.dock-icon-image { display:block; width:24px; height:24px; object-fit:cover; border-radius:7px; }
.home-indicator { grid-row:4; display:flex; align-items:center; justify-content:center; height:20px; padding:0; width:100%; background:transparent; border:0; }
.home-indicator::after { content:''; width:90px; height:4px; background:var(--text); opacity:.24; border-radius:20px; }
.phone.immersive .home-indicator { display:none; }
.notice { position:fixed; bottom:max(88px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); z-index:100; width:max-content; max-width:min(89vw,390px); border-radius:16px; background:var(--text); color:var(--bg); padding:11px 16px; box-shadow:var(--shadow); overflow-wrap:anywhere; font-size:12px; }
.stack { display:flex; flex-direction:column; gap:12px; min-width:0; }
.row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; }
.spread { justify-content:space-between; }
.panel { border:1px solid var(--border); border-radius:var(--radius); padding:18px; background:var(--panel); }
.card { border:1px solid var(--border); border-radius:17px; background:var(--panel); padding:13px; min-width:0; }
.panel .panel { border:0; background:transparent; padding:0; }
.btn { min-height:40px; padding:9px 13px; border:1px solid var(--border); border-radius:13px; background:var(--panel); color:var(--text); font-weight:550; font-size:12px; }
.app-bar .shell-action { width:42px; height:42px; padding:0; border-radius:50%; }
.btn:hover:not(:disabled) { background:var(--surface); }
.primary,.btn.primary { color:var(--accent-ink); border-color:transparent; background:var(--accent); }
.primary:hover:not(:disabled),.btn.primary:hover:not(:disabled) { background:var(--accent-strong); }
.danger,.btn.danger { color:var(--danger); }
.quiet,.btn.quiet { background:transparent; border-color:transparent; }
.muted { color:var(--muted); }
.field { display:flex; flex-direction:column; align-items:stretch; gap:7px; min-width:0; font-size:12px; font-weight:500; }
.field:has(> input[type=checkbox]) { flex-direction:row; justify-content:space-between; align-items:center; min-height:36px; }
.chip { display:inline-flex; gap:5px; align-items:center; background:var(--surface); border:0; border-radius:99px; padding:4px 8px; min-height:23px; color:var(--muted); font-size:10px; line-height:1.2; }
.empty { display:grid; gap:7px; text-align:center; padding:34px 18px; border:0; border-radius:20px; overflow-wrap:anywhere; background:var(--panel); color:var(--muted); }
.empty b { font-size:14px; font-weight:550; }
.empty p { font-size:12px; }
.app-page { min-width:0; }
dialog { color:var(--text); background:var(--sheet); border:1px solid var(--border); border-radius:26px; width:min(406px,calc(100vw - 24px)); max-height:85dvh; max-width:calc(100vw - 24px); overflow:auto; box-shadow:0 25px 80px #132a3440; padding:22px; }
dialog:not([open]) { display:none; }
dialog::backdrop { background:#1b302b45; backdrop-filter:blur(5px); }
dialog.sheet { margin:auto auto 0; width:min(430px,100%); max-width:100%; border-radius:26px 26px 0 0; padding-bottom:max(24px,env(safe-area-inset-bottom)); }
dialog.sheet::before { content:''; display:block; width:32px; height:4px; border-radius:10px; background:var(--muted); opacity:.25; margin:-10px auto 16px; }
details summary { cursor:pointer; }
details > summary { min-height:30px; align-content:center; }
details[open] > summary { margin-bottom:12px; }
/* The desktop is a set of pages, not an application directory inside a card. */
.desktop { height:100%; min-height:0; display:flex; flex-direction:column; position:relative; }
.desktop-pages { flex:1; min-height:0; display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
.desktop-pages::-webkit-scrollbar { display:none; }
.desktop-page { flex:0 0 100%; width:100%; min-width:0; height:100%; padding:14px 18px 4px; overflow-y:auto; scrollbar-width:none; scroll-snap-align:start; scroll-snap-stop:always; }
.desktop-page::-webkit-scrollbar { display:none; }
.desktop-hero { display:flex; align-items:center; gap:16px; min-height:112px; padding:10px 5px 14px; }
.desktop-hero time { font:600 58px/.95 Georgia,'Times New Roman',serif; letter-spacing:-4px; font-variant-numeric:tabular-nums; }
.desktop-greeting { display:grid; gap:7px; min-width:0; }
.desktop-greeting small { font-size:10px; color:var(--muted); letter-spacing:.05em; }
.desktop-greeting strong { font-size:14px; font-weight:550; }
.desktop-page-heading { height:46px; display:flex; align-items:center; justify-content:space-between; padding:0 3px; color:var(--muted); font-size:10px; letter-spacing:.18em; }
.desktop-page-heading strong { color:var(--text); font-size:18px; letter-spacing:0; font-weight:500; }
.desktop-mosaic { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px 6px; align-content:start; }
.launch-item { min-width:0; }
.launch-tile { width:100%; min-width:0; height:79px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:0; padding:3px 0; border-radius:18px; background:transparent; color:var(--text); user-select:none; -webkit-touch-callout:none; }
.launch-tile:hover { background:color-mix(in srgb,var(--panel) 50%,transparent); }
.launch-label { font-size:10px; font-weight:450; white-space:nowrap; }
.app-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:15px; border:1px solid var(--border); box-shadow:0 5px 10px #32513c08,inset 0 1px #ffffff70; }
.app-icon.compact { width:34px; height:34px; border-radius:11px; }
.app-icon > img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.tone-peach { color:#85624f; background:#ede0d1b3; }.tone-rose { color:#956f71; background:#eedfe1b3; }.tone-fern { color:#506d5b; background:#dbe9ddb3; }.tone-gold { color:#8a7951; background:#efe7d0b3; }.tone-iris { color:#77708d; background:#e5e2edb3; }.tone-mint { color:#4f776b; background:#daebe3b3; }
.launch-tile[data-app-tile=radio] .app-icon { color:#f7f8f0; background:#35443a; }
.desktop-music { grid-column:1/-1; display:flex; align-items:center; gap:13px; padding:15px; min-height:80px; margin:0 0 6px; border:1px solid #ffffff6b; border-radius:21px; background:#50675a; color:#fcfdf7; text-align:left; box-shadow:0 8px 22px #4053460b; }
.desktop-music-play { width:38px; height:38px; flex:none; display:grid; place-items:center; border:0; border-radius:50%; color:#3e5345; background:#eff4e9; padding:0; }
.desktop-music-copy { min-width:0; flex:1; display:grid; gap:6px; }
.desktop-music-copy small { font-size:10px; opacity:.6; }.desktop-music-copy strong { font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:550; }
.desktop-music-line { height:3px; border-radius:3px; background:#ffffff20; overflow:hidden; }.desktop-music-line i { display:block; height:100%; width:0; background:#ffffff90; }
.desktop-photo { grid-column:span 2; grid-row:span 2; min-height:166px; border:1px solid var(--border); border-radius:24px; overflow:hidden; position:relative; display:flex; align-items:end; padding:14px; color:white; background:#466253; }
.desktop-photo img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.desktop-photo::after { content:''; position:absolute; inset:40% 0 0; background:linear-gradient(transparent,#102c1c90); }
.desktop-photo span { position:relative; z-index:1; font:italic 17px Georgia,serif; }
.desktop-glance { grid-column:span 2; min-height:79px; display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--border); border-radius:20px; background:var(--panel); text-align:left; }
.desktop-glance-copy { display:grid; gap:5px; min-width:0; }.desktop-glance-copy small { font-size:9px; color:var(--muted); letter-spacing:.06em; }.desktop-glance-copy strong { font-size:12px; font-weight:550; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.desktop-glance-copy span { font-size:10px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.desktop-date-number { font:500 32px Georgia,serif; line-height:1; }
.desktop-activity-strip { grid-column:1/-1; display:flex; align-items:center; gap:10px; padding:10px 13px; background:var(--panel); border:1px solid var(--border); border-radius:15px; font-size:11px; text-align:left; }
.desktop-page-bottom { display:flex; align-items:center; justify-content:center; height:34px; flex:none; position:relative; }
.desktop-dots { display:flex; align-items:center; gap:7px; }
.desktop-dots button { width:5px; height:5px; min-height:5px; min-width:5px; padding:0; border:0; border-radius:8px; background:var(--muted); opacity:.3; }
.desktop-dots button[aria-current=page] { width:14px; opacity:.75; }
.desktop-tools { position:absolute; right:18px; display:flex; gap:9px; }
.desktop-tools button { width:28px; height:28px; display:grid; place-items:center; background:transparent; color:var(--muted); border:0; padding:4px; }
.desktop-search-wrap { display:flex; align-items:center; gap:9px; }
.desktop-search-results { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px 3px; margin-top:14px; }
.desktop-search-results .no-apps { grid-column:1/-1; padding:16px; }
.desktop-reordering .launch-tile { animation:desktop-wobble .3s ease-in-out infinite alternate; touch-action:none; }
.launch-tile.dragging { position:relative; z-index:2; outline:2px dashed var(--accent); }
.launch-tile.drop-target { box-shadow:inset 0 0 0 2px var(--accent); }
.reorder-actions { display:flex; justify-content:center; gap:2px; }.reorder-actions .btn { min-height:24px; padding:0 6px; }
.customize { width:min(406px,calc(100vw - 24px)); }
.customize-group { padding:10px 12px; border:1px solid var(--border); border-radius:14px; }
.customize-group > summary { min-height:32px; font-size:12px; font-weight:550; }
.customize-preview,.customize-feedback { font-size:12px; overflow-wrap:anywhere; }
.customize-feedback:not(:empty) { min-height:1.5em; }
.desktop-music-copy { border:0; padding:0; background:transparent; color:inherit; text-align:left; }
.desktop-quote { grid-column:1/-1; padding:30px 20px 36px; border:1px solid var(--border); border-radius:26px; background:linear-gradient(145deg,var(--panel),transparent); margin-bottom:14px; }
.desktop-quote small { color:var(--muted); font-size:9px; letter-spacing:.18em; }
.desktop-quote h2 { font-size:25px; line-height:1.6; font-weight:500; margin:15px 0 12px; }
.desktop-quote p { color:var(--muted); font-size:11px; }
.desktop-live { display:grid; gap:8px; }
button,.btn,summary { transition:background-color .16s,border-color .16s,box-shadow .16s,transform .12s; }
button:active:not(:disabled) { transform:scale(.96); }
dialog[open] { animation:cat-arrive .22s ease-out; }
.route-body { animation:cat-page-in .2s ease-out; }
@keyframes cat-arrive { from { opacity:0; translate:0 12px; } to { opacity:1; translate:0 0; } }
@keyframes cat-page-in { from { opacity:.5; translate:0 5px; } to { opacity:1; translate:0 0; } }
@keyframes desktop-wobble { to { transform:rotate(.8deg); } }
@media(min-width:600px) { body { display:grid; place-items:center; padding:24px; } .phone { height:min(884px,calc(100dvh - 48px)); border-radius:38px; box-shadow:0 30px 90px #203c3b26,0 0 0 1px #ffffff70,inset 0 0 0 1px #ffffff40; } dialog.sheet { margin:auto; border-radius:26px; } }
@media(max-height:700px) { .desktop-hero { min-height:88px; }.desktop-hero time { font-size:48px; }.launch-tile { height:70px; }.desktop-mosaic { gap:5px; }.desktop-music { min-height:70px; }.app-icon { width:42px; height:42px; } }
:root[data-theme=dark] .phone[data-wallpaper] { background:var(--phone-wallpaper); }
@media(prefers-color-scheme:dark) { :root[data-theme=auto] .phone[data-wallpaper] { background:var(--phone-wallpaper); } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition-duration:0s !important; animation-duration:0s !important; } }
