.floor-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-anchor: none;
    overscroll-behavior: contain;
    background: #f3f1ee;
    touch-action: none;
    user-select: none;
}

.floor-stage * {
    overflow-anchor: none;
}

.floor-svg {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

.floor-menu {
    position: fixed;
    z-index: 2000;
    min-width: 11.5rem;
    margin: 0;
    padding: 0.3rem;
    border: 1px solid #e4dfd8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 21, 21, 0.12);
    color: #151515;
    font: 13px/1.3 "Segoe UI", sans-serif;
}

.floor-menu-sub {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    min-width: 8.5rem;
}

.floor-menu-item {
    position: relative;
}

.floor-menu-item:hover > .floor-menu-sub,
.floor-menu-item:focus-within > .floor-menu-sub {
    display: block;
}

.floor-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
    margin: 0;
    padding: 0.4rem 0.55rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.floor-menu button:hover,
.floor-menu-item:hover > button {
    background: #f6f3ef;
}

.floor-menu-caret {
    color: #8a847c;
}

.floor-menu-rule {
    height: 1px;
    margin: 0.3rem 0.35rem;
    background: #eeeae4;
}

.floor-status {
    position: absolute;
    left: 40px;
    bottom: 14px;
    max-width: calc(100% - 180px);
    padding: 0.35rem 0.7rem;
    border: 1px solid #e4dfd8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #3c3834;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    line-height: 1.3;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(21, 21, 21, 0.05);
}
