:root {
    --hub-border: rgba(255, 255, 255, 0.10);
    --hub-border-strong: rgba(255, 255, 255, 0.16);
    --hub-text-dim: rgba(255, 255, 255, 0.68);
    --hub-text-soft: rgba(255, 255, 255, 0.52);
    --hub-text-main: rgba(255, 255, 255, 0.94);
    --hub-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    --hub-shadow-soft: 0 18px 56px rgba(0, 0, 0, 0.16);
    --hub-surface: rgba(10, 12, 18, 0.62);
    --hub-surface-soft: rgba(8, 10, 14, 0.34);
    --hub-pill-bg: rgba(255, 255, 255, 0.05);
    --hub-pill-text: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] {
    --hub-border: rgba(0, 0, 0, 0.10);
    --hub-border-strong: rgba(0, 0, 0, 0.16);
    --hub-text-dim: rgba(17, 24, 39, 0.70);
    --hub-text-soft: rgba(17, 24, 39, 0.48);
    --hub-text-main: rgba(17, 24, 39, 0.95);
    --hub-shadow: 0 22px 50px rgba(15, 23, 42, 0.10);
    --hub-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
    --hub-surface: rgba(255, 255, 255, 0.78);
    --hub-surface-soft: rgba(255, 255, 255, 0.62);
    --hub-pill-bg: rgba(255, 255, 255, 0.72);
    --hub-pill-text: rgba(17, 24, 39, 0.82);
}

.hub-shell {
    position: relative;
    z-index: 1;
    padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
    padding-bottom: 32px;
}

.hub-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background:
        radial-gradient(circle at 15% 18%,
            rgba(183, 166, 137, 0.08),
            transparent 24%),
        radial-gradient(circle at 83% 14%,
            rgba(96, 132, 118, 0.09),
            transparent 24%),
        radial-gradient(circle at 62% 36%,
            rgba(87, 103, 141, 0.07),
            transparent 20%),
        radial-gradient(circle at 74% 72%,
            rgba(122, 109, 92, 0.05),
            transparent 18%);
    mix-blend-mode: screen;
}

[data-theme="light"] .hub-atmosphere {
    opacity: 0.22;
    background:
        radial-gradient(circle at 18% 20%,
            rgba(196, 178, 154, 0.18),
            transparent 24%),
        radial-gradient(circle at 82% 18%,
            rgba(166, 184, 176, 0.18),
            transparent 24%),
        radial-gradient(circle at 62% 40%,
            rgba(189, 195, 210, 0.16),
            transparent 24%);
    mix-blend-mode: multiply;
}

.hub-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hub-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hub-brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-brand-copy {
    line-height: 1.05;
}

.hub-brand-title {
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: var(--hub-text-main);
}

.hub-brand-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--hub-text-soft);
}

.hub-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.hub-intro {
    margin-top: 10px;
    margin-bottom: 6px;
    padding: 0;
    min-height: 0;
}

.hub-intro-copy {
    max-width: none;
}

.hub-intro-kicker,
.hub-auth-kicker,
.hub-room-kicker,
.hub-feature-kicker,
.hub-visual-label,
.hub-carousel-kicker {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hub-text-soft);
    font-weight: 700;
}

.hub-auth-panel {
    margin-top: 18px;
    border-radius: 30px;
    border: 1px solid var(--hub-border);
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.025)),
        var(--hub-surface);
    box-shadow: var(--hub-shadow-soft);
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hub-auth-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.hub-auth-title {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 820;
    letter-spacing: -0.03em;
    color: var(--hub-text-main);
}

.hub-auth-sub {
    margin-top: 8px;
    color: var(--hub-text-dim);
    font-size: 14px;
}

.hub-auth-grid {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.hub-auth-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hub-carousel-shell {
    margin-top: 8px;
}

.hub-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.hub-carousel-controls {
    display: flex;
    gap: 10px;
}

.hub-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--hub-border);
    background: var(--hub-pill-bg);
    color: var(--hub-pill-text);
    font-size: 18px;
    transition:
        transform 160ms ease,
        background 160ms ease,
        opacity 160ms ease;
}

.hub-nav-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.10);
}

[data-theme="light"] .hub-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.95);
}

.hub-nav-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.hub-room-tabs {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hub-room-tab {
    border-radius: 999px;
    padding: 10px 15px;
    border: 1px solid var(--hub-border);
    background: var(--hub-pill-bg);
    color: var(--hub-text-dim);
    font-size: 13px;
    font-weight: 700;
    transition:
        background 160ms ease,
        color 160ms ease,
        border-color 160ms ease;
}

.hub-room-tab.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--hub-text-main);
    border-color: var(--hub-border-strong);
}

[data-theme="light"] .hub-room-tab.is-active {
    background: rgba(255, 255, 255, 0.96);
}

.hub-carousel {
    margin-top: 12px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.hub-carousel::-webkit-scrollbar {
    display: none;
}

.hub-room-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
}

.hub-carousel-dots {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hub-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.24);
    transition:
        transform 160ms ease,
        background 160ms ease;
}

[data-theme="light"] .hub-dot {
    background: rgba(17, 24, 39, 0.18);
}

.hub-dot.is-active {
    background: rgba(255, 255, 255, 0.92);
    transform: scale(1.15);
}

[data-theme="light"] .hub-dot.is-active {
    background: rgba(17, 24, 39, 0.82);
}

.hub-room-shell {
    border-radius: 34px;
    border: 1px solid var(--hub-border);
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)),
        var(--hub-surface-soft);
    padding: 22px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: min(76vh, 760px);
    display: flex;
    flex-direction: column;
}

.hub-room-copy {
    max-width: 760px;
}

.hub-room-title {
    margin-top: 8px;
    font-size: clamp(28px, 2.8vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 850;
    color: var(--hub-text-main);
}

.hub-room-sub {
    margin-top: 8px;
    max-width: 54ch;
    color: var(--hub-text-dim);
    font-size: 15px;
    line-height: 1.62;
}

.hub-room-layout {
    margin-top: 18px;
    flex: 1;
}

.hub-room-layout-publish {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 18px;
    align-items: stretch;
    height: 100%;
}

.hub-room-visual {
    position: relative;
    min-height: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--hub-border);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--hub-shadow);
}

.hub-room-visual-publish {
    background:
        linear-gradient(180deg,
            rgba(5, 8, 12, 0.12),
            rgba(5, 8, 12, 0.54)),
        radial-gradient(circle at 20% 16%,
            rgba(216, 201, 177, 0.32),
            transparent 22%),
        radial-gradient(circle at 78% 20%,
            rgba(149, 168, 157, 0.22),
            transparent 22%),
        radial-gradient(circle at 64% 82%,
            rgba(87, 101, 121, 0.18),
            transparent 26%),
        linear-gradient(135deg,
            #201c18 0%,
            #18181d 36%,
            #12161c 64%,
            #171f20 100%);
}

[data-theme="light"] .hub-room-visual-publish {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.48)),
        radial-gradient(circle at 20% 16%,
            rgba(214, 196, 170, 0.55),
            transparent 24%),
        radial-gradient(circle at 78% 20%,
            rgba(184, 199, 191, 0.45),
            transparent 24%),
        radial-gradient(circle at 64% 82%,
            rgba(198, 205, 217, 0.42),
            transparent 28%),
        linear-gradient(135deg,
            #f1ece6 0%,
            #ececf0 38%,
            #e4e9ee 64%,
            #eef2f3 100%);
}

.hub-visual-title {
    margin-top: 12px;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 860;
    max-width: 10ch;
    color: var(--hub-text-main);
}

.hub-visual-sub {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--hub-text-dim);
    max-width: 34ch;
}

.hub-visual-cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--hub-pill-bg);
    border: 1px solid var(--hub-border);
    color: var(--hub-pill-text);
    font-weight: 700;
    transition:
        transform 160ms ease,
        background 160ms ease;
}

.hub-visual-cta:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .hub-visual-cta:hover {
    background: rgba(255, 255, 255, 0.96);
}

.hub-room-tools {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.hub-tool-tile,
.hub-feature-panel,
.hub-tool-line {
    color: inherit;
    text-decoration: none;
}

.hub-tool-tile {
    min-height: 0;
    border-radius: 28px;
    border: 1px solid var(--hub-border);
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.022)),
        radial-gradient(circle at 84% 18%,
            rgba(255, 255, 255, 0.05),
            transparent 24%),
        var(--hub-surface);
    padding: 18px;
    box-shadow: var(--hub-shadow-soft);
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

[data-theme="light"] .hub-tool-tile {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.88),
            rgba(255, 255, 255, 0.68)),
        radial-gradient(circle at 84% 18%,
            rgba(210, 216, 228, 0.30),
            transparent 28%),
        rgba(255, 255, 255, 0.72);
}

.hub-tool-tile:hover,
.hub-feature-panel:hover,
.hub-tool-line:hover {
    transform: translateY(-3px);
    border-color: var(--hub-border-strong);
}

.hub-tool-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hub-text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hub-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .icon-badge {
    background: rgba(255, 255, 255, 0.65);
}

.icon-badge svg {
    width: 20px;
    height: 20px;
}

.hub-tool-pill {
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 11px;
    line-height: 1;
    font-weight: 760;
    color: var(--hub-pill-text);
    border: 1px solid var(--hub-border);
    background: var(--hub-pill-bg);
}

.hub-tool-title {
    margin-top: 22px;
    font-size: 22px;
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 840;
    color: var(--hub-text-main);
}

.hub-tool-sub {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.58;
    color: var(--hub-text-dim);
    max-width: 32ch;
}

/* =========================================================
   MEASURE ROOM
   ========================================================= */

.hub-measure-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    grid-template-rows:
        repeat(2, minmax(220px, 1fr));
    gap: 18px;
    width: 100%;
    flex: 1;
    align-items: stretch;
}

.hub-measure-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 220px;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid var(--hub-border);
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)),
        radial-gradient(circle at 86% 14%,
            rgba(255, 255, 255, 0.045),
            transparent 28%),
        var(--hub-surface);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--hub-shadow-soft);
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.hub-measure-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 82% 12%,
            rgba(255, 255, 255, 0.065),
            transparent 34%);
    transition: opacity 170ms ease;
}

.hub-measure-card:hover {
    transform: translateY(-3px);
    border-color: var(--hub-border-strong);
}

.hub-measure-card:hover::before {
    opacity: 1;
}

.hub-measure-card-primary {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)),
        radial-gradient(circle at 14% 14%,
            rgba(165, 149, 125, 0.13),
            transparent 26%),
        radial-gradient(circle at 86% 16%,
            rgba(79, 106, 132, 0.15),
            transparent 30%),
        var(--hub-surface);
}

[data-theme="light"] .hub-measure-card {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.90),
            rgba(255, 255, 255, 0.70)),
        radial-gradient(circle at 84% 18%,
            rgba(210, 216, 228, 0.26),
            transparent 30%),
        rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .hub-measure-card-primary {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.94),
            rgba(255, 255, 255, 0.72)),
        radial-gradient(circle at 16% 14%,
            rgba(214, 196, 170, 0.28),
            transparent 28%),
        radial-gradient(circle at 86% 16%,
            rgba(198, 208, 224, 0.32),
            transparent 30%),
        rgba(255, 255, 255, 0.76);
}

.hub-measure-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hub-measure-card-kicker {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hub-text-soft);
    font-weight: 750;
}

.hub-measure-card-arrow {
    flex: 0 0 auto;
    color: var(--hub-text-soft);
    font-size: 19px;
    line-height: 1;
    transition:
        transform 160ms ease,
        color 160ms ease;
}

.hub-measure-card:hover .hub-measure-card-arrow {
    color: var(--hub-text-main);
    transform: translateX(3px);
}

.hub-measure-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 30px;
}

.hub-measure-card-title {
    margin: 0;
    color: var(--hub-text-main);
    font-size: clamp(21px, 1.65vw, 28px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 850;
}

.hub-measure-card-sub {
    margin-top: 10px;
    max-width: 30ch;
    color: var(--hub-text-dim);
    font-size: 13px;
    line-height: 1.52;
}

/* =========================================================
   SHARED FEATURE PANELS
   ========================================================= */

.hub-feature-panel {
    min-height: 0;
    border-radius: 30px;
    border: 1px solid var(--hub-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--hub-shadow-soft);
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.hub-feature-panel-primary {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 16% 14%,
            rgba(165, 149, 125, 0.16),
            transparent 22%),
        radial-gradient(circle at 84% 18%,
            rgba(79, 106, 132, 0.18),
            transparent 26%),
        var(--hub-surface);
}

.hub-feature-panel-secondary {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 84% 18%,
            rgba(90, 118, 107, 0.16),
            transparent 22%),
        var(--hub-surface);
}

[data-theme="light"] .hub-feature-panel-primary,
[data-theme="light"] .hub-feature-panel-secondary {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.90),
            rgba(255, 255, 255, 0.72)),
        radial-gradient(circle at 84% 18%,
            rgba(198, 208, 224, 0.28),
            transparent 28%),
        rgba(255, 255, 255, 0.74);
}

.hub-feature-title {
    margin-top: 14px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 860;
    max-width: 11ch;
    color: var(--hub-text-main);
}

.hub-feature-sub {
    margin-top: 12px;
    color: var(--hub-text-dim);
    font-size: 15px;
    line-height: 1.62;
    max-width: 34ch;
}

.hub-tool-line {
    min-height: 84px;
    border-radius: 24px;
    border: 1px solid var(--hub-border);
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.018)),
        var(--hub-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 760;
    color: var(--hub-text-main);
    box-shadow: var(--hub-shadow-soft);
    transition:
        transform 170ms ease,
        border-color 170ms ease;
}

[data-theme="light"] .hub-tool-line {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.90),
            rgba(255, 255, 255, 0.72)),
        rgba(255, 255, 255, 0.72);
}

.hub-tool-line span:last-child {
    color: var(--hub-text-soft);
}

.hub-tool-line-quiet {
    min-height: 92px;
}

.hub-tool-line small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--hub-text-soft);
    font-weight: 700;
}

.hub-room-layout-reach {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 18px;
    align-items: stretch;
    height: 100%;
}

.hub-reach-cluster {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* =========================================================
   CONTENT OS
   ========================================================= */

.hub-content-os-cluster {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-template-rows:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
    min-height: 0;
    height: 100%;
}

.hub-content-os-cluster .hub-tool-tile {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 24px;
    overflow: hidden;
}

.hub-content-os-cluster .icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.hub-content-os-cluster .icon-badge svg {
    width: 18px;
    height: 18px;
}

.hub-content-os-cluster .hub-tool-pill {
    padding: 7px 11px;
    font-size: 10px;
}

.hub-content-os-cluster .hub-tool-title {
    margin-top: 14px;
    font-size: 20px;
}

.hub-content-os-cluster .hub-tool-sub {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.45;
    max-width: 38ch;
}

.hub-content-os-cluster .hub-tool-tile:last-child {
    grid-column: 1 / -1;
}

.hub-room-layout-money {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.owner-locked {
    opacity: 0.65;
    filter: grayscale(0.08);
}

.muted,
.thin {
    color: var(--hub-text-dim);
}

.hub-shell {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .hub-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .hub-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hub-carousel-header {
    justify-content: center;
}

.hub-room-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.875rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.hub-carousel-controls {
    display: none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .hub-room-layout-publish,
    .hub-room-layout-reach {
        grid-template-columns: 1fr;
    }

    .hub-measure-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .hub-measure-card {
        min-height: 210px;
    }

    .hub-room-layout-money {
        grid-template-columns: 1fr 1fr;
    }

    .hub-room-shell {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .hub-shell {
        padding-top:
            calc(env(safe-area-inset-top, 0px) + 20px);
        padding-bottom: 20px;
    }

    .hub-content-os-cluster {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
    }

    .hub-content-os-cluster .hub-tool-tile:last-child {
        grid-column: auto;
    }

    .hub-topbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .hub-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hub-carousel-header {
        align-items: flex-start;
    }

    .hub-room-shell {
        padding: 20px;
        border-radius: 28px;
        min-height: auto;
    }

    .hub-room-tools,
    .hub-reach-cluster,
    .hub-room-layout-money {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .hub-measure-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 14px;
    }

    .hub-measure-card {
        min-height: 180px;
        padding: 20px;
        border-radius: 24px;
    }

    .hub-measure-card-body {
        padding-top: 28px;
    }

    .hub-measure-card-title {
        font-size: 24px;
    }

    .hub-feature-title,
    .hub-visual-title {
        font-size: 30px;
    }

    .hub-room-title {
        font-size: 32px;
    }

    .hub-room-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hub-room-tabs::-webkit-scrollbar {
        display: none;
    }
}