.stage-window-body {
    display: flex;
    height: calc(100% - 40px);
    background: #C0C0C0;
}

.stage-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stage-planet-container {
    flex: 1;
    min-width: 0;
    position: relative;
    background: #FFFFFF;
    border: 2px inset #FFF;
    margin: 10px 10px 10px 10px;
    overflow: hidden;
}

.stage-planet-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.stage-planet-canvas:active {
    cursor: grabbing;
}

/* Three.js renderer styles */
.stage-planet-container canvas {
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
}

.stage-planet-container canvas:active {
    cursor: grabbing;
}

.stage-metrics-section {
    background: #C0C0C0;
    border: 2px outset #FFF;
    margin: 1px 10px 1px 10px;
    padding: 6px 12px;
    height: 40px;
    display: flex;
    align-items: center;
}

.stage-metrics-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.stage-metric-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stage-metric-label {
    font-size: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stage-metric-value {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.stage-users-panel {
    width: 380px;
    background: #C0C0C0;
    border-left: 2px outset #FFF;
    padding: 10px;
    overflow-y: auto;
}

.stage-users-header {
    background: #C0C0C0;
    border: 2px outset #FFF;
    padding: 8px;
    margin-bottom: 10px;
    text-align: center;
    color: #000;
}

.stage-user-card {
    background: #C0C0C0;
    border: 2px outset #FFF;
    padding: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.1s ease;
}

.stage-user-card:hover {
    background: #A0A0A0;
    border: 2px inset #FFF;
}

.stage-user-card:active {
    background: #808080;
    border: 2px inset #000;
}

.stage-user-avatar {
    width: 40px;
    height: 40px;
    border: 2px solid #000;
    margin-right: 10px;
    flex-shrink: 0;
}

.stage-user-info {
    flex: 1;
    min-width: 0;
}

.stage-user-name {
    font-weight: bold;
    color: #000;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stage-user-proofs {
    color: #555;
    font-size: 12px;
}

.stage-planet-tooltip {
    position: absolute;
    background: #C0C0C0;
    border: 2px outset #FFF;
    padding: 8px;
    font-size: 12px;
    color: #000;
    pointer-events: none;
    z-index: 1000;
    max-width: 200px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stage-planet-tooltip .tooltip-username {
    font-weight: bold;
    margin-bottom: 4px;
}

.stage-planet-tooltip .tooltip-proofs {
    color: #555;
    margin-bottom: 4px;
}

.stage-planet-tooltip .tooltip-ip {
    color: #777;
    font-size: 11px;
}

.stage-planet-tooltip .tooltip-location {
    color: #555;
    margin-bottom: 4px;
    font-size: 11px;
}

.stage-planet-tooltip .tooltip-isp {
    color: #777;
    font-size: 11px;
}

.stage-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 16px;
    background: #C0C0C0;
    border: 2px outset #FFF;
    padding: 20px;
}

.stage-no-users {
    text-align: center;
    color: #555;
    padding: 20px;
    font-style: italic;
}

/* --- Windows 95 User Card Styles --- */
.w95-user-card {
    background: #C0C0C0;
    border: 2px outset #FFF;
    padding: 12px 16px 10px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: inherit;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    width: 330px;
    min-width: 0;
    max-width: 100%;
}
.w95-user-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.w95-user-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: #f0f0f0;
    object-fit: cover;
    border: 2px solid #000;
    flex-shrink: 0;
}
.w95-user-card-title {
    font-size: 1.08em;
    font-weight: bold;
    color: #000;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.w95-user-card-address {
    font-size: 0.97em;
    color: #555;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    text-decoration: underline;
}
.w95-user-card-stats {
    display: flex;
    flex-direction: row;
    gap: 0 24px;
    margin: 8px 0 0 0;
}
.w95-user-card-stats-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 0;
}
.w95-user-card-stat {
    display: flex;
    flex-direction: column;
    font-size: 0.97em;
    min-width: 0;
}
.w95-user-card-stat-label {
    color: #555;
    font-size: 0.89em;
    margin-bottom: 1px;
    font-weight: normal;
}
.w95-user-card-stat-value {
    font-weight: 500;
    color: #000;
    font-size: 0.97em;
    word-break: break-all;
}
.w95-user-card-stat-value.prove {
    color: #ff03c3;
    font-weight: 700;
    font-size: 0.97em;
}
.w95-user-card-success-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.93em;
    font-weight: 500;
}
.w95-user-card-success-label {
    color: #000000;
    font-weight: normal;
    letter-spacing: 0.04em;
    font-size: 0.93em;
}
.w95-user-card-success {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1ca93a;
    font-size: 0.93em;
}
.w95-user-card-success-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1ca93a;
    display: inline-block;
}
.w95-user-card-success-dot.success-green {
    background: #1ca93a;
}
.w95-user-card-success-dot.success-yellow {
    background: #ffd600;
}
.w95-user-card-success-dot.success-red {
    background: #e53935;
}
.w95-user-card-success.success-green {
    color: #1ca93a;
}
.w95-user-card-success.success-yellow {
    color: #ffd600;
}
.w95-user-card-success.success-red {
    color: #e53935;
}
