/* Home: seleção e chamada no topo; ferramentas e navegação em um único bloco. */
body.global-home{height:100svh;min-height:0;overflow:hidden;grid-template-rows:120px minmax(0,1fr) auto}
body.global-home>main{min-height:0}
body.global-home>header{margin:0;padding:10px 0;border:0;display:flex;justify-content:center;min-width:0}
.home-topbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:center;gap:22px;width:min(760px,calc(100% - 32px));height:100%}
body.global-home>header .models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;width:100%;min-width:0}
.home-topbar .identity{justify-content:center;padding:8px 5px;gap:8px;min-width:0}.home-topbar .identity img{width:34px;height:34px}.home-topbar .identity>span{font-size:12px}
.ask-sticker{display:block;position:absolute;right:15px;top:50%;width:144px;transform:translateY(-50%) rotate(15deg);border:4px solid #f4f3dc;border-radius:9px;background:#f4f3dc;box-shadow:0 5px 17px #0008;text-decoration:none;transition:transform .2s ease;z-index:2}
.ask-sticker img{display:block;width:100%;height:auto;border-radius:4px}.ask-sticker:hover{transform:translateY(-50%) rotate(8deg) scale(1.04)}.ask-sticker:focus-visible{outline:3px solid #d9f979;outline-offset:6px}
body.global-home>footer.home-dock{width:min(760px,calc(100% - 32px));margin:0 auto 12px;padding:9px 14px;border:1px solid #78957c55;border-radius:13px;background:#10201c;box-sizing:border-box}
.home-dock .tool-panel{position:static;transform:none;width:100%;max-width:none;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.home-dock>nav{width:100%;margin-top:9px;padding-top:9px;border-top:1px solid #78957c38;gap:7px 20px}.home-dock>nav a{font-size:11px}
.home-dock .panel-note{margin-top:7px}.global-home #fallback{height:90%;inset:0;width:100%}
@media(max-width:600px){body.global-home{grid-template-rows:102px minmax(0,1fr) auto}.home-topbar{grid-template-columns:minmax(0,1fr) 100px;gap:7px;width:calc(100% - 24px)}.ask-sticker{width:86px;right:8px;border-width:3px}.home-topbar .identity{padding:7px 2px;gap:4px;flex-direction:column}.home-topbar .identity img{width:27px;height:27px}.home-topbar .identity>span{font-size:10px}.home-topbar .identity small{display:none}body.global-home>footer.home-dock{width:calc(100% - 24px);padding:8px;margin-bottom:10px}.home-dock .tool-panel{padding:0;bottom:auto}.home-dock .tool-panel button{padding:5px 6px;font-size:10px}.home-dock .toolbar-row{gap:4px}.home-dock .secondary-row{margin-top:6px}.home-dock .controls{width:100%;gap:7px}.home-dock .panel-note{font-size:6px;gap:5px}.home-dock>nav{gap:7px 13px;margin-top:7px;padding-top:7px}.home-dock>nav a{font-size:10px}}
@media(max-height:540px){body.global-home{grid-template-rows:80px minmax(0,1fr) auto}.home-topbar .identity img{width:24px;height:24px}.ask-sticker{width:100px}.home-dock .panel-note{display:none}.home-dock .tool-panel button{padding:3px 5px}.home-dock>nav{margin-top:5px;padding-top:5px}.home-dock .secondary-row{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.ask-sticker{transition:none}}
