/* DRS Server Guide — tablet app (frame in device.css) */
.g-body { flex: 1; min-height: 0; display: flex; gap: 14px; padding: 4px 16px 26px 16px; }

.g-side {
    width: 230px; flex: none; min-height: 0;
    display: flex; flex-direction: column; gap: 12px;
    padding: 18px 12px;
    border-radius: 22px; background: var(--window); border: 1px solid var(--line-soft);
}
.g-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.g-logo {
    width: 42px; height: 42px; border-radius: 13px; flex: none;
    display: grid; place-items: center;
    font-size: 13px; font-weight: 800; letter-spacing: 0.04em; color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 22px -10px var(--accent), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.g-server { font-size: 15px; font-weight: 800; color: var(--white); line-height: 1.2; }

nav { display: grid; gap: 2px; overflow-y: auto; min-height: 0; margin-right: -6px; padding-right: 6px; }
nav button {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 8px; border-radius: 11px;
    font-size: 13.5px; font-weight: 700; color: var(--text); text-align: left;
    transition: background 0.15s;
}
nav button:hover { background: rgba(255, 255, 255, 0.04); }
nav button .ico {
    width: 30px; height: 30px; border-radius: 9px; flex: none;
    display: grid; place-items: center; font-size: 16px;
    background: var(--row); border: 1px solid var(--line-soft);
}
nav button.active { background: var(--accent-soft); color: var(--white); }
nav button.active .ico { background: var(--accent); border-color: transparent; }

.g-close {
    margin-top: auto;
    display: flex; align-items: center; gap: 10px;
    padding: 6px; border-radius: 14px;
    font-size: 13px; font-weight: 700; color: var(--muted);
}
.g-close:hover { color: var(--white); }

.g-main {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
    border-radius: 22px; background: var(--window); border: 1px solid var(--line-soft);
    overflow: hidden;
}
.g-head { padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.g-search {
    height: 44px; padding: 0 14px; border-radius: 13px;
    display: flex; align-items: center; gap: 10px;
    background: #0f1119; border: 1px solid var(--line); color: var(--muted);
    transition: border-color 0.15s;
}
.g-search:focus-within { border-color: var(--accent); }
.g-search svg { width: 18px; height: 18px; flex: none; }
.g-search input { flex: 1; border: 0; outline: none; background: transparent; color: var(--white); font: 600 14px "Manrope", sans-serif; }
.g-search input::placeholder { color: var(--muted); }

.g-content { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 22px 22px; }
.g-content::-webkit-scrollbar { width: 6px; }
.g-content::-webkit-scrollbar-thumb { background: #2a2d42; border-radius: 6px; }
.welcome { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
h2 { font-size: 21px; font-weight: 800; color: var(--white); margin-bottom: 14px; }

.items { display: grid; gap: 10px; }
.item {
    padding: 14px 16px; border-radius: 14px;
    background: var(--row); border: 1px solid var(--line-soft);
    animation: fade 0.2s ease-out;
}
.item b { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--white); }
.item p { font-size: 13.5px; line-height: 1.55; color: var(--text); }
.empty { padding: 40px 0; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }

@media (prefers-reduced-motion: reduce) { .item { animation: none; } }
