/* TECHVS - There Can Only Be One - Shared Styles */

:root {
    /* Monochrome / UNI palette (aligned with ARKHIVE) */
    --bg: #090a0d;
    --bg-elevated: #0f1015;
    --panel: rgba(255,255,255,0.03);
    --panel-hover: rgba(255,255,255,0.06);
    --panel-strong: #14151c;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.16);
    --border-strong: #262a34;
    --gridline: rgba(255,255,255,0.03);
    --text: #e8eaf2;
    --text-muted: #aeb4c3;
    --text-dim: #7c8291;
    --accent: #cfe9ff;
    --accent-2: #b5d1ff;
    --accent-3: #a6f0d8;
    --success: #8fe0a1;
    --warning: #f3d08a;
    --danger: #f08c8c;
    --glow: rgba(207, 233, 255, 0.18);
    --glow-purple: rgba(181, 209, 255, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow: 0 24px 50px -32px rgba(0,0,0,0.65);
    --shadow-lg: 0 30px 70px -36px rgba(0,0,0,0.75);
    --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --blur: 18px;
    color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        linear-gradient(90deg, var(--gridline) 1px, transparent 1px),
        linear-gradient(180deg, var(--gridline) 1px, transparent 1px),
        radial-gradient(circle at 20% -10%, rgba(207,233,255,0.06), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(181,209,255,0.05), transparent 40%),
        var(--bg);
    background-size: 120px 120px, 120px 120px, auto, auto, auto;
    background-position: center;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    padding-top: var(--uni-top-offset, 52px);
}

/* Respect uni-menu padding helper */
body.has-uni-menu {
    padding-top: var(--uni-top-offset, 52px) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-2);
}

/* Layout */
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-header h1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Navigation */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(12, 14, 18, 0.78);
    backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--border-strong);
    padding: 0.85rem 1.5rem;
    margin: 0 -1.5rem 1.25rem;
    box-shadow: 0 18px 40px -32px rgba(0,0,0,0.65);
}

.nav-bar .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-bar .logo,
.nav-brand {
    font-size: 1rem;
    font-family: var(--mono);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
}

.nav-bar .logo:hover,
.nav-brand:hover {
    color: #000;
    background: var(--accent);
    border-color: var(--accent);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-family: var(--mono);
}

.nav-links a {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.02);
    transition: all 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--panel-hover);
    border-color: var(--border);
    color: var(--text);
    box-shadow: 0 12px 26px -18px rgba(0,0,0,0.7);
}

/* Panels & Cards */
.panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)) , var(--panel-strong);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(calc(var(--blur) - 6px));
    position: relative;
    overflow: hidden;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.85rem;
}

.panel-header h2,
.panel-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)), var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.25s ease;
}

.card:hover {
    background: var(--panel-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.card.clickable {
    cursor: pointer;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #000;
    border-color: var(--accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(207, 233, 255, 0.35);
}

.btn-secondary {
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--panel-hover);
    border-color: var(--border-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    background: var(--panel);
    color: var(--text);
}

.btn-danger {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.28);
    color: var(--danger);
}

.btn-danger:hover {
    background: rgba(248, 113, 113, 0.2);
}

.btn-success {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.28);
    color: var(--success);
}

.btn-success:hover {
    background: rgba(74, 222, 128, 0.2);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group .hint {
    font-size: 0.8rem;
    color: var(--text-dim);
}

input[type="text"],
input[type="number"],
input[type="search"],
select,
textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text);
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(123, 212, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-dim);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select option {
    background: var(--bg-elevated);
    color: var(--text);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* Checkboxes & toggles */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    background: var(--panel-hover);
}

.checkbox-item.selected {
    background: rgba(123, 212, 255, 0.15);
    border-color: rgba(123, 212, 255, 0.4);
    color: var(--accent);
}

.checkbox-item input {
    display: none;
}

/* Pills & badges */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
}

.pill.accent {
    background: rgba(123, 212, 255, 0.12);
    border-color: rgba(123, 212, 255, 0.3);
    color: var(--accent);
}

.pill.purple {
    background: rgba(199, 150, 255, 0.12);
    border-color: rgba(199, 150, 255, 0.3);
    color: var(--accent-2);
}

.pill.success {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.3);
    color: var(--success);
}

.pill.warning {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
    color: var(--warning);
}

.pill.danger {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.3);
    color: var(--danger);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--accent);
    color: #000;
}

/* Status indicators */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
}

.status-dot.active { background: var(--success); box-shadow: 0 0 8px var(--success); }
.status-dot.pending { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.status-dot.inactive { background: var(--danger); }

/* Device cards */
.device-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)), var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.device-card:hover {
    border-color: rgba(207, 233, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -15px rgba(0,0,0,0.5);
}

.device-card .device-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.device-card .device-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.device-card .device-name {
    font-weight: 600;
    font-size: 1rem;
}

.device-card .device-category {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.device-card .device-notes {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.device-card .device-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.device-card .device-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

/* Match cards for brackets */
.match-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.match-card .match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.match-card .match-vs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.match-card .contender {
    flex: 1;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.match-card .contender:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--border);
}

.match-card .contender.winner {
    background: rgba(74, 222, 128, 0.12);
    border-color: var(--success);
}

.match-card .contender.loser {
    opacity: 0.5;
}

.match-card .vs-divider {
    font-weight: 700;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Champion spotlight */
.champion-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(199, 150, 255, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.champion-card::before {
    content: '👑';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.champion-card .champion-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warning);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.champion-card .champion-name {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.empty-state p {
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)), var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

/* Utilities */
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

.hidden { display: none !important; }
/* Specs Grid for Library Form */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.spec-field label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.spec-field select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spec-field select:hover {
    border-color: var(--border-hover);
}

.spec-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow);
}

.specs-section {
    background: var(--panel);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 0.5rem;
}

.specs-section > label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Specs Header with Toggle */
.specs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.specs-header h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
}

#specs-toggle {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

#specs-toggle:hover {
    background: var(--panel-hover);
    border-color: var(--border-hover);
    color: var(--text);
}

/* Quick Specs Section */
.specs-quick {
    margin-bottom: 1.5rem;
}

.specs-quick h5 {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Detailed Specs Section */
.specs-detailed {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.specs-detailed h5 {
    font-size: 0.8rem;
    color: var(--accent-2);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Spec Groups (Collapsible) */
.spec-group {
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.spec-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--panel);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.spec-group-header:hover {
    background: var(--panel-hover);
}

.spec-group-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel-hover);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.spec-group-fields {
    padding: 1rem;
    background: rgba(0,0,0,0.2);
}

/* Spec Field Types */
.spec-field input[type="text"],
.spec-field input[type="number"],
.spec-field input[type="date"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.spec-field input:hover {
    border-color: var(--border-hover);
}

.spec-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow);
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.checkbox-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-inline span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hyperspace */
.hyperspace-viewport {
    position: relative;
    width: 100%;
    height: clamp(420px, 60vh, 640px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: radial-gradient(circle at 20% 20%, rgba(123,212,255,0.08), transparent 30%),
                radial-gradient(circle at 80% 30%, rgba(199,150,255,0.08), transparent 28%),
                rgba(5,6,10,0.8);
}

#hyperspace-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(180deg, rgba(5,6,10,0.8), rgba(5,6,10,0.95));
}

.hud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(5,6,10,0.2) 0%, transparent 40%, rgba(5,6,10,0.25) 100%);
}

.hud-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hud-row.small {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stacked {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stacked input,
.stacked select {
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
}

.divider {
    height: 1px;
    width: 100%;
    background: var(--border);
    margin: 1rem 0;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.room-card {
    display: block;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.room-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.room-icon {
    font-size: 1.4rem;
    display: inline-flex;
}
