/* 0.8.5.5 — central da Operação Cidade Limpa; escopo restrito à tela hub. */
body[data-screen=hub]{background:#101622}
body[data-screen=hub] #app{width:100%;max-width:1040px;padding:0;gap:0}
body[data-screen=hub] #app>main{border:0;border-radius:0;box-shadow:none;max-height:none}
body[data-screen=hub] #menu-header{background:#142236;border:0;border-bottom:1px solid #35465a;border-radius:0;box-shadow:none;padding:calc(9px + var(--safe-top)) clamp(12px,3vw,32px) 9px;gap:7px}
body[data-screen=hub] #menu-header .brand-icon,body[data-screen=hub] #menu-header .brand small{display:none}
body[data-screen=hub] #menu-header .brand strong{font-size:clamp(13px,3.8vw,19px);white-space:nowrap}
body[data-screen=hub] #menu-header .header-actions button{background:#1d3045;border:1px solid #46596d;border-radius:6px;box-shadow:none;min-width:40px;height:40px;font-size:17px}
body[data-screen=hub] #menu-header .header-actions button:nth-child(2){color:#ffe3a0;font-size:14px;padding-inline:7px}
#screen-hub{background:radial-gradient(ellipse at 50% 0%,#22384c 0%,#15263a 36%,#101a2c 85%);padding:clamp(14px,3vw,32px);padding-bottom:calc(22px + var(--safe-bottom));gap:18px;align-items:stretch;text-align:left}
#screen-hub .city-hub-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}
#screen-hub #hub-home{background:transparent;border:1px solid #8098b44f;border-radius:7px;box-shadow:none;color:#dce6f1;padding:7px 12px;min-height:42px;font:650 14px/1.2 system-ui}
#screen-hub .city-hub-tag{font:700 11px/1.2 system-ui;letter-spacing:.14em;color:#a5b8cb}
#screen-hub .city-hub-title{display:grid;gap:12px;flex:none}
#screen-hub h2{font:900 clamp(23px,5.6vw,36px)/1.13 CidadePixel,monospace;letter-spacing:-.025em;color:#facc15;text-align:left;margin:0;text-shadow:2px 2px #07111f}
#screen-hub .city-hub-title>span{height:1px;background:linear-gradient(90deg,#d8b14b99,#d8b14b00)}
#screen-hub .hub-games{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;flex:none;width:100%}
#screen-hub .hub-tile{--accent:#83dbab;--edge:#456e63;--panel:#182d2e;display:grid;grid-template-columns:clamp(85px,27vw,150px) minmax(0,1fr) 16px;align-items:center;gap:10px;min-height:100px;padding:7px 11px 7px 7px;background:var(--panel);border:1px solid var(--edge);border-radius:8px;box-shadow:0 3px #080f1c;text-align:left;min-width:0;position:relative;overflow:hidden}
#screen-hub .hub-tile.memory{--accent:#d0b9ff;--edge:#756498;--panel:#28273e}
#screen-hub .hub-tile.recycling{--accent:#8edcea;--edge:#487d90;--panel:#1d303e}
#screen-hub .hub-tile:hover{border-color:var(--accent)}
#screen-hub .hub-tile:focus-visible{outline:3px solid #facc15;outline-offset:2px}
#screen-hub .hub-art{display:block;width:100%;height:auto;aspect-ratio:144/88;border:1px solid var(--edge);border-radius:4px;box-shadow:none;image-rendering:pixelated;background:#101c2a}
#screen-hub .hub-copy{min-width:0;display:grid;gap:5px}
#screen-hub .hub-copy strong{font:800 clamp(15px,4.1vw,20px)/1.18 system-ui;color:#f1f5f9;overflow-wrap:normal}
#screen-hub .hub-copy small{font:500 13px/1.24 system-ui;color:#bacbdc;margin:0}
#screen-hub .hub-copy em{font:700 12px/1.15 system-ui;color:#ffe7a2}
#screen-hub .hub-copy em:empty{display:none}
#screen-hub .hub-tile b{display:block;font:700 25px/1 system-ui;color:var(--accent);text-align:right}
#screen-hub .city-hub-tools{display:grid;gap:9px;flex:none;border-top:1px solid #7991af33;padding-top:14px;margin-top:1px}
#screen-hub .city-hub-tools h3{font:700 13px/1.2 system-ui;color:#bbc9da;letter-spacing:.05em}
#screen-hub .hub-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#screen-hub .hub-links button{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:46px;padding:8px 11px;border:1px solid #4d6076;background:#1c2b3e;border-radius:6px;box-shadow:none;color:#e8eff8;font:650 13px/1.2 system-ui;text-align:left}
#screen-hub .hub-links button span{font-size:19px;color:#f4d477;line-height:1}
#screen-hub .hub-links button:hover{background:#2b3c50;border-color:#a4b7cb}
@media(min-width:700px){#screen-hub .hub-games{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}#screen-hub .hub-tile{grid-template-columns:minmax(0,1fr) 16px;grid-template-rows:auto 1fr;align-items:start;gap:12px;padding:9px;min-height:0}#screen-hub .hub-art{grid-column:1/-1}#screen-hub .hub-copy{padding:1px 3px 8px}#screen-hub .hub-tile b{align-self:center;margin-right:3px}#screen-hub .hub-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(orientation:landscape) and (max-height:540px){#screen-hub{padding:10px 18px 16px;gap:12px}#screen-hub h2{font-size:25px}#screen-hub .city-hub-title{gap:6px}#screen-hub .hub-games{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}#screen-hub .hub-tile{grid-template-columns:minmax(0,1fr) 14px;grid-template-rows:auto 1fr;gap:7px;min-height:0;padding:6px}#screen-hub .hub-art{grid-column:1/-1;max-height:106px;object-fit:contain}#screen-hub .hub-copy strong{font-size:15px}#screen-hub .hub-copy small{font-size:12px}#screen-hub .hub-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
