/* T07 live G6 composition; scope all rules to the new home. */
body[data-ui-page=home]{background:var(--bg);max-width:600px;padding-top:max(env(safe-area-inset-top),14px);padding-bottom:110px;font-family:var(--font-ui)}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#homeDate{font-size:12px;color:var(--ink-3);padding:0 8px 6px}.home{gap:12px;padding:5px 16px 0}
#leHero{height:min(52vh,480px);min-height:350px;border-radius:26px;position:relative;overflow:hidden;background:#e7e5df;isolation:isolate}
#leScene{position:absolute;inset:0;overflow:hidden;background:#e7e5df}.le-world{position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none}.le-world img,.le-shadow{position:absolute;left:0;top:0;max-width:none}.le-shadow{border-radius:50%}
.le-toolbar{position:absolute;top:12px;left:12px;right:12px;display:flex;align-items:center;gap:10px}.le-toolbar label{margin-right:auto}.le-toolbar select,.le-toolbar>span,.le-toolbar button,.le-caption p,.le-caption button{border:0;border-radius:24px;background:var(--glass-strong);backdrop-filter:blur(var(--glass-blur));color:var(--ink);padding:10px 12px;font:inherit;font-size:12px;box-shadow:var(--shadow)}
.le-toolbar select{max-width:140px;min-height:44px}.le-toolbar button{min-width:44px;min-height:44px}.le-caption{position:absolute;bottom:14px;left:14px;right:14px;display:flex;flex-direction:column;align-items:center;gap:8px}.le-caption p{max-width:100%;font-size:12px;line-height:1.5}.le-caption button{font-size:15px;padding:12px 22px}
.le-move{position:absolute;top:50%;width:44px;height:44px;transform:translateY(-50%);border:1px dashed var(--glass-edge);border-radius:24px;background:var(--glass-strong);color:var(--ink);font-size:26px;z-index:2}#lePrev{left:10px}#leNext{right:10px}
#t05-entries{padding:0;margin:0}.le-large{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.le-large>a,.le-large>.entry{display:flex;flex-direction:column;align-items:center;justify-content:center;height:108px;padding:10px;border-radius:22px;background:var(--glass-strong);box-shadow:var(--shadow);text-decoration:none;color:var(--ink);font-size:15px;text-align:center;gap:5px}.le-large .entry{margin:0}.le-large .ico svg{width:36px;height:36px}.le-large .e-lb{font-size:13px;color:var(--ink)}.le-large .e-main{font-size:10px}.le-large>a::before{content:'';width:38px;height:38px;background:center/contain no-repeat}.le-large>a[href='/interaction-pool.html']::before{background-image:url('/ui-kit/icons/ill_pool.svg')}.le-large>a[href='/commissions.html']::before{background-image:url('/ui-kit/icons/ill_tasks.svg')}
#t05-entries .t05-entry-grid{grid-template-columns:repeat(4,1fr);gap:8px}#t05-entries .t05-entry-grid>a,#t05-entries .t05-entry-grid>button{min-height:83px;font-size:12px;padding:8px 3px;gap:4px;box-shadow:var(--shadow)}.t05-entry-grid img{width:25px;height:25px}.t05-entry-grid small{font-size:10px}
.vlog,.traces{background:var(--glass-strong);border:0;border-radius:24px;box-shadow:var(--shadow)}.vlog{height:auto;max-height:500px;min-height:180px}.vlog-scroll{max-height:410px}.traces{padding:18px}.trace-mini{background:transparent;padding:8px 0}.traces .th{font:500 16px var(--font-ui)}#leStatusEdit{float:right;border:0;background:transparent;color:var(--accent-ink);font-size:12px;padding:0 0 10px 10px;min-height:34px}.ritual{padding:12px}
#leStatusSheet{position:fixed;top:auto;bottom:0;margin:0 auto;width:min(100%,600px);max-height:85dvh;border:0;border-radius:28px 28px 0 0;background:var(--bg);padding:18px 18px max(24px,env(safe-area-inset-bottom));color:var(--ink)}#leStatusSheet::backdrop{background:rgba(20,30,40,.22)}#leStatusSheet>button{display:block;margin-left:auto;width:44px;height:44px;background:transparent;border:0;font-size:26px}#leStatusSheet .status-zone{border:0;padding:0;background:none}.status-select,.trace-input{font-size:16px}
.le-full{overflow:hidden}.le-full #leHero{position:fixed;inset:0;height:100dvh;min-height:0;border-radius:0;z-index:20}.le-full .le-toolbar{top:max(env(safe-area-inset-top),16px)}.le-full .le-caption{bottom:calc(100px + env(safe-area-inset-bottom))}.le-full #vtalk-shared-nav{z-index:30}.le-full #vtalk-shared-nav .ui-glass{background:var(--glass-strong)}.le-hot{position:absolute;transform:translate(-50%,-50%);border:0;border-radius:24px;background:var(--glass-strong);color:var(--ink);padding:11px 14px;box-shadow:var(--shadow);font-size:12px;white-space:nowrap;z-index:1}.le-hot::before{content:'●';font-size:8px;color:var(--accent-ink);margin-right:6px}.le-hot:disabled{opacity:.65}.le-full .le-move{top:50%}.le-full #leStatusSheet{z-index:40}

.le-function-icon{width:25px;height:25px;background:var(--accent-ink);mask:var(--le-icon) center/contain no-repeat;-webkit-mask:var(--le-icon) center/contain no-repeat}.le-large .ico img{width:40px;height:40px}.traces h3{font-size:12px;color:var(--ink-3);font-weight:400;padding-top:14px}.traces #leMyStatus{font-size:14px;padding-top:8px}

.le-hot{display:flex;align-items:center;gap:5px}.le-hot .le-function-icon{width:16px;height:16px;flex:none}.le-hot::before{margin-right:0}

/* G11 L/H locked: shared controls, flat weather and safe content insets. */
body.vtalk-ui-page[data-ui-page=home]{padding-bottom:calc(var(--ui-nav-reserve,102px) + var(--ui-player-reserve,0px) + env(safe-area-inset-bottom))!important}
body[data-ui-page=home]:not(.le-full)::before{content:'';position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top);background:var(--bg);z-index:25;pointer-events:none}
.le-home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 4px 6px;min-height:40px}
#homeDate{font:var(--t-title);font-family:var(--font-display);color:var(--ink);padding:0;white-space:nowrap}
#leCurrentAction{font:var(--t-section);font-weight:400;color:var(--ink-2);max-width:12em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.le-toolbar{align-items:flex-start}.le-toolbar select,.le-toolbar>span{height:32px;min-height:32px;padding:0 10px;font:var(--t-caption);display:flex;align-items:center;border-radius:var(--r-pill)}
.le-toolbar>span{background:var(--glass-support);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none}
.le-toolbar select{min-width:86px}.le-toolbar label{display:flex;align-items:flex-start}
.le-caption p{display:none}.le-caption button{height:36px;padding:0 16px;font-size:15px}
.le-move{width:32px;height:32px;padding:5px;border:0;border-radius:50%;background:var(--glass-edge);box-shadow:none;display:grid;place-items:center}
.le-move svg,#leLeave svg{width:22px;height:22px;display:block;flex:none}#lePrev svg,#leLeave svg{transform:rotate(180deg)}
#leLeave{width:44px;height:44px;min-height:44px;padding:11px;display:grid;place-items:center;flex:none}.le-full .le-toolbar label,.le-full .le-toolbar>span{margin-top:6px}
.le-large #xinchao-peek{font:var(--t-sub);font-family:var(--font-display)}
.traces{padding:0;background:none;box-shadow:none}.traces>h2{font:var(--t-section);margin:12px 0 var(--space-section-after)}
.le-state-card{padding:16px;border-radius:20px;background:var(--glass-support);margin-bottom:10px}.le-state-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.traces .le-state-head h3{font:var(--t-sub);color:var(--ink-2);padding:0}.traces #leMyStatus{font:var(--t-title);padding:10px 0 6px}
.le-secondary,#leStatusEdit{float:none;display:flex;align-items:center;gap:5px;min-height:32px;padding:6px 10px;border:1px solid var(--glass-edge);border-radius:var(--r-pill);background:var(--track);font:var(--t-sub);font-family:var(--font-display);color:var(--accent-ink)}
.le-secondary svg{width:15px;height:15px}.le-state-card .trace-mini{font:var(--t-body);padding:12px 0 8px}.le-state-card .tm{font:var(--t-caption);color:var(--ink-3);margin-top:8px}
#leStatusSheet:focus{outline:none}#leStatusSheet button:focus:not(:focus-visible){outline:none}#leStatusSheet :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#leStatusSheet{z-index:40}#leStatusSheet button,.le-caption button,.le-toolbar select,.le-hot{font-family:var(--font-display)}

/* M1 supplies 60px only while its edge player is present; no reserve otherwise. */

body[data-ui-page=home].le-full::before{content:"";position:fixed;top:0;left:0;right:0;height:calc(env(safe-area-inset-top) + 16px);background:linear-gradient(to bottom,color-mix(in srgb,var(--bg) 70%,transparent),transparent);z-index:25;pointer-events:none}

/* T07 §17.2: 36px visual / transparent 44px hit area; no text capsule. */
.le-hot{width:36px;height:36px;padding:0;border:1px solid var(--glass-edge);border-radius:50%;display:grid;place-items:center;transform:translate(-50%,-50%);background:var(--glass-strong)}
.le-hot::before{content:'';position:absolute;inset:-5px;margin:0;background:transparent;border:0;border-radius:50%}
.le-hot .le-function-icon{width:20px;height:20px}
.le-hot.is-dot{width:14px;height:14px;background:rgba(255,255,255,.9)}
.le-hot.is-dot::before{inset:-16px}.le-hot.is-dot .le-function-icon{display:none}
.le-hot[aria-disabled=true]{opacity:.45}.le-full #toast{z-index:45}
.le-hot:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
