body { margin: 0; background: #000; color: #fff; font-family: sans-serif; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
#chat { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 12px; padding-bottom: 100px; }
.balao { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(5px); padding: 12px; border-radius: 18px; max-width: 80%; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 5px; }

.barra { 
    display: flex; align-items: center; gap: 15px; padding: 15px; 
    background: rgba(0,0,0,0.95); border-top: 1px solid #222; 
    position: fixed; bottom: 0; width: 100%; box-sizing: border-box;
    z-index: 100; backdrop-filter: blur(10px);
}

.icon { color: #1a73e8; font-size: 24px; cursor: pointer; }
input { flex: 1; background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 12px; border-radius: 25px; outline: none; }

/* GAVETA OIO ONE — visual evoluído, mantendo os mesmos módulos e handlers */
.gaveta-container {
    position: fixed; bottom: -100%; left: 0; width: 100%; height: 82%;
    background: linear-gradient(180deg, rgba(18,20,27,.98), rgba(7,9,14,.99));
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-radius: 30px 30px 0 0;
    border-top: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 -18px 60px rgba(0,0,0,.55), 0 -2px 18px rgba(26,115,232,.08);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000; display: flex; flex-direction: column;
}

.gaveta-container.aberta { bottom: 0 !important; }

.handle-area { width: 100%; height: 42px; display: flex; justify-content: center; align-items: center; cursor: pointer; flex: 0 0 42px; }
.handle-bar { width: 54px; height: 5px; background: rgba(255,255,255,0.28); border-radius: 10px; }

.gaveta-content {
    padding: 8px 18px 28px;
    text-align: center;
    color: white;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.gaveta-content h3 {
    margin-top: 4px !important;
    font-size: 22px !important;
    letter-spacing: 2px !important;
}

.secao-hub-titulo {
    color: #72a9ff;
    font-size: 11px;
    font-weight: 800;
    margin: 22px 0 11px 3px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    border-left: 3px solid #1a73e8;
    padding-left: 9px;
}

.grid-apps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.app-item {
    min-height: 72px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 13px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 7px 20px rgba(0,0,0,.18);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
    -webkit-tap-highlight-color: transparent;
}

.app-item:active {
    transform: scale(.97);
    border-color: rgba(26,115,232,.55);
    background: rgba(26,115,232,.12);
}

.app-item i {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 21px;
    color: #1a73e8;
    border-radius: 11px;
    background: rgba(26,115,232,.09);
}

.app-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 380px) {
    .gaveta-container { height: 84%; }
    .gaveta-content { padding-left: 12px; padding-right: 12px; }
    .grid-apps { gap: 8px; }
    .app-item { min-height: 66px; padding: 10px; gap: 9px; border-radius: 15px; font-size: 12px; }
    .app-item i { width: 30px; min-width: 30px; height: 30px; font-size: 18px; }
}
