* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Verdana, Arial, sans-serif;
    color: #ffffff;
    background: #17132c;
    background-image:
        linear-gradient(rgba(35, 22, 68, .94), rgba(16, 18, 41, .97)),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(255,255,255,.025) 3px,
            rgba(255,255,255,.025) 4px
        );
}

.site-header {
    height: 88px;
    display: flex;
    align-items: center;
    border-bottom: 4px solid #090713;
    background: #26154a;
    box-shadow: inset 0 -4px 0 #412270;
}

.header-inner {
    width: min(1120px, 94%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow:
        3px 3px 0 #54226f,
        -2px -2px 0 #54226f,
        0 4px 0 #090713;
}

.logo-capped {
    color: #ff63c7;
}

.logo-hotel {
    color: #59f5ff;
}

.top-status {
    padding: 9px 14px;
    color: #c8fbff;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #5aeaf3;
    background: #152f44;
    box-shadow: 3px 3px 0 #080711;
}

.page {
    width: min(1120px, 94%);
    margin: 28px auto 60px;
}

.game-shell {
    overflow: hidden;
    border: 4px solid #090713;
    background: #30235b;
    box-shadow:
        8px 8px 0 rgba(0,0,0,.32),
        inset 0 0 0 3px #5d3a8d;
}

.hotel-stage {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(20,13,42,.93) 0%,
            rgba(20,13,42,.63) 36%,
            rgba(20,13,42,.05) 70%
        ),
        url("/hotel-view.png") center right / cover no-repeat;
}

.welcome-box {
    position: relative;
    z-index: 2;
    width: 430px;
    margin-left: 42px;
    padding-top: 65px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 10px;
    color: #261742;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    background: #5cf4ff;
    border: 2px solid #090713;
    box-shadow: 3px 3px 0 #090713;
}

.welcome-box h1 {
    margin: 0;
    font-size: 55px;
    line-height: .95;
    letter-spacing: -3px;
    text-shadow: 4px 4px 0 #090713;
}

.welcome-box h1 span {
    color: #ff62c6;
}

.welcome-box p {
    width: 390px;
    margin: 20px 0;
    color: #eeeaff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.6;
    text-shadow: 1px 2px 0 #000;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.game-button {
    display: inline-block;
    padding: 14px 22px;
    color: #11252a;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    border: 3px solid #080711;
    background: #58eff8;
    box-shadow:
        inset 0 -5px 0 rgba(0,0,0,.17),
        4px 4px 0 #080711;
}

.game-button:hover {
    transform: translate(2px, 2px);
    box-shadow:
        inset 0 -5px 0 rgba(0,0,0,.17),
        2px 2px 0 #080711;
}

.game-button.pink {
    color: #ffffff;
    background: #d84caa;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 4px solid #090713;
    background: #20183d;
}

.stat-box {
    padding: 22px;
    text-align: center;
    border-right: 3px solid #090713;
}

.stat-box:last-child {
    border-right: 0;
}

.stat-number {
    color: #5af4ff;
    font-size: 30px;
    font-weight: 900;
    text-shadow: 2px 2px 0 #080711;
}

.stat-title {
    margin-top: 5px;
    color: #c7bddf;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.lower-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-top: 20px;
}

.retro-panel {
    padding: 20px;
    border: 4px solid #090713;
    background: #30235b;
    box-shadow: 5px 5px 0 rgba(0,0,0,.25);
}

.retro-panel h2 {
    margin: -20px -20px 18px;
    padding: 11px 15px;
    color: #ffffff;
    font-size: 17px;
    background: #653c94;
    border-bottom: 3px solid #090713;
}

.retro-panel p {
    color: #d9d1ea;
    line-height: 1.6;
}

.news-tag {
    color: #5cf4ff;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 760px) {
    .hotel-stage {
        min-height: 650px;
        background-position: 60% center;
    }

    .welcome-box {
        width: auto;
        margin: 0;
        padding: 45px 25px;
    }

    .welcome-box p {
        width: auto;
    }

    .welcome-box h1 {
        font-size: 44px;
    }

    .stats-strip,
    .lower-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        border-right: 0;
        border-bottom: 3px solid #090713;
    }
}

/* Dashboard avatar rendered by Nitro, using the player's current figure. */
.dashboard-welcome { display: flex; align-items: center; gap: 32px; }
.dashboard-avatar { flex: 0 0 188px; overflow: hidden; border: 4px solid #090713; background: #30235b; box-shadow: 4px 4px 0 #59f5ff; text-align: center; }
.dashboard-avatar iframe { display: block; width: 180px; height: 260px; border: 0; }
.avatar-caption { display: block; padding: 10px; border-top: 3px solid #090713; color: #ff63c7; font-size: 12px; font-weight: bold; letter-spacing: 2px; }
.dashboard-welcome-copy { flex: 1; min-width: 0; }
@media (max-width: 600px) { .dashboard-welcome { flex-direction: column; gap: 24px; } .dashboard-welcome-copy { width: 100%; text-align: center; } }

/* Standalone local Nitro Avatar Editor. */
.avatar-change-button { display: block; padding: 12px 4px; border-top: 3px solid #090713; background: #59f5ff; color: #090713; text-decoration: none; font-size: 12px; font-weight: bold; }
.avatar-change-button:hover { background: #ff63c7; }
.avatar-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.avatar-editor-heading h1 { margin: 10px 0; font-size: 32px; }
.avatar-editor-heading p { color: #d9d1ea; line-height: 1.5; }
.avatar-editor-heading .game-button { font-size: 12px; white-space: nowrap; }
#avatar-save-status { color: #c8fbff; min-height: 22px; font-size: 12px; line-height: 1.5; }
#avatar-editor-frame { display: block; width: 100%; height: 850px; border: 4px solid #090713; background: #211739; box-shadow: 6px 6px 0 #653c94; }
@media (max-width: 760px) { .avatar-editor-heading { align-items: flex-start; flex-direction: column; gap: 6px; } #avatar-editor-frame { height: 1150px; } }
@media (max-width: 540px) { #avatar-editor-frame { height: 1600px; } }
/* Public player profiles and community. */
.logo { text-decoration:none; }
.site-nav { width:min(1120px,94%); margin:18px auto; display:flex; flex-wrap:wrap; gap:8px; }
.site-nav a { color:#c8fbff; text-decoration:none; font-size:11px; font-weight:bold; padding:10px 14px; border:2px solid #090713; background:#30235b; }
.site-nav a:hover { color:#090713; background:#59f5ff; }
.avatar-profile-button { display:block; padding:12px 4px; border-top:3px solid #090713; color:white; background:#b43f8e; font-size:12px; font-weight:bold; text-decoration:none; }
.profile-hero { display:flex; align-items:center; gap:40px; padding:24px 36px; background:linear-gradient(110deg,#30235b,#412366); }
.profile-avatar { flex:0 0 188px; border:4px solid #090713; box-shadow:5px 5px 0 #59f5ff; background:#30235b; }
.profile-avatar iframe { display:block; border:0; }
.profile-copy { min-width:0; }
.profile-copy h1 { font-size:40px; margin:12px 0 20px; overflow-wrap:anywhere; text-shadow:3px 3px #090713; }
.player-status,.rank-chip { display:inline-block; padding:7px 10px; border:2px solid #090713; font-size:10px; font-weight:bold; background:#504263; color:#d9d1ea; margin-right:8px; }
.player-status:before { content:'●'; margin-right:7px; color:#9b8cae; }
.player-status.is-online { background:#153b38; color:#75ffe2; }
.player-status.is-online:before { color:#75ffe2; }
.rank-chip { background:#763766; color:#ffc1ed; }
.player-motto { font-size:17px; overflow-wrap:anywhere; }
.profile-meta { display:flex; flex-wrap:wrap; gap:20px; color:#c7bddf; font-size:11px; margin-top:24px; }
.profile-stats { grid-template-columns:repeat(5,1fr); border:4px solid #090713; margin-top:24px; }
.profile-sections { display:grid; grid-template-columns:1fr 1.7fr; gap:22px; margin-top:24px; }
.profile-sections h2 span { float:right; color:#c8fbff; }
.badge-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:10px; }
.badge-card { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:#211739; border:2px solid #594379; padding:14px 8px; }
.badge-card img { object-fit:contain; image-rendering:pixelated; }
.badge-card span { font-size:10px; overflow-wrap:anywhere; text-align:center; }
.badge-card small { color:#59f5ff; font-size:9px; }
.badge-placeholder { color:#ff63c7; font-size:28px!important; }
.room-grid { display:grid; gap:12px; }
.room-card { border:2px solid #594379; padding:16px; background:#211739; overflow-wrap:anywhere; }
.room-card h3 { margin:10px 0; font-size:15px; color:#c8fbff; }
.room-card p { font-size:12px; margin:8px 0 16px; }
.room-card span,.room-card small { font-size:10px; color:#c7bddf; }
.room-card small { float:right; }
.room-door { font-size:9px; color:#ff9fdf; font-weight:bold; letter-spacing:1px; }
.community-heading { display:flex; justify-content:space-between; gap:24px; align-items:center; margin:28px 0; }
.community-heading h1 { font-size:36px; margin:12px 0; }
.community-heading p { color:#c7bddf; }
.community-heading strong { color:#59f5ff; }
.player-search label { display:block; font-size:12px; margin-bottom:8px; font-weight:bold; }
.player-search div { display:flex; gap:8px; }
.player-search input { width:240px; border:3px solid #090713; padding:12px; background:#eae2ff; color:#211739; font-size:13px; }
.player-search .game-button { font-size:12px; padding:12px 16px; cursor:pointer; }
.player-search>a { display:inline-block; margin-top:12px; color:#c8fbff; font-size:11px; }
.community-results-title { font-size:18px; margin:30px 0 18px; }
.community-results-title span { color:#ff9fdf; margin-left:8px; }
.community-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.player-card { display:flex; gap:16px; align-items:center; padding:18px 12px; border:3px solid #090713; background:#30235b; color:white; text-decoration:none; box-shadow:4px 4px 0 #653c94; min-width:0; }
.player-card:hover { border-color:#59f5ff; }
.player-card>div:last-child { min-width:0; }
.player-card h2 { font-size:14px; margin:0 0 10px; overflow-wrap:anywhere; }
.player-card p { font-size:11px; color:#d9d1ea; line-height:1.6; overflow-wrap:anywhere; }
.community-avatar { width:78px; height:130px; flex:0 0 78px; display:flex; align-items:center; justify-content:center; background:#211739; border:2px solid #594379; }
.community-avatar img { image-rendering:pixelated; max-width:76px; max-height:126px; }
.avatar-loading { font-size:9px; text-align:center; color:#b2a1c8; }
.profile-link { color:#59f5ff; font-size:9px; font-weight:bold; }
.pagination { display:flex; justify-content:center; align-items:center; gap:24px; margin:32px 0; font-size:12px; }
.pagination a { color:#59f5ff; }
#community-renderer { position:fixed; left:-100px; top:0; width:64px; height:64px; border:0; pointer-events:none; }
.missing-player { padding:40px; }
@media(max-width:900px) { .community-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .community-heading { align-items:flex-start; flex-direction:column; } }
@media(max-width:650px) { .profile-hero { flex-direction:column; padding:24px; gap:24px; text-align:center; } .profile-copy h1 { font-size:30px; } .profile-meta { justify-content:center; } .profile-stats { grid-template-columns:repeat(2,1fr); } .profile-sections,.community-grid { grid-template-columns:1fr; } .player-search input { width:200px; } }
/* Actual Arcturus friends and request controls. */
.friend-controls { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:18px; }
.friend-action { margin:0; }
.friend-action .game-button,.friend-login { font-size:11px; padding:10px 14px; cursor:pointer; font-family:inherit; }
.relationship-chip { display:inline-block; color:#ffb7e8; font-size:9px; font-weight:bold; padding:7px 9px; margin:6px 4px 0 0; background:#472649; border:1px solid #855084; }
.friend-sync-note { color:#b7a8d1!important; font-size:11px; line-height:1.7!important; max-width:670px; margin-top:18px; }
.profile-friends,.dashboard-friends { margin-top:24px; }
.profile-friends h2 span { float:right; color:#c8fbff; }
.player-card h3 { font-size:14px; margin:0 0 10px; overflow-wrap:anywhere; }
.view-friends { font-size:12px; margin-top:24px; }
.friend-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.friend-summary>a,.friend-summary>span { display:flex; flex-direction:column; align-items:center; gap:10px; padding:18px 10px; border:2px solid #594379; background:#211739; text-decoration:none; color:#c7bddf; font-size:11px; font-weight:bold; }
.friend-summary strong { color:#59f5ff; font-size:28px; }
.friend-summary .has-requests { border-color:#ff63c7; color:#ffc1ed; }
.friend-summary .has-requests strong { color:#ff9fdf; }
.dashboard-friends>h3 { font-size:15px; margin:26px 0 16px; color:#c8fbff; }
.request-count { display:inline-block; margin-left:8px; padding:5px 8px; background:#b43f8e; color:white; border:2px solid #090713; font-size:11px; }
.friend-request-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.friend-request-card { display:flex; align-items:center; gap:18px; padding:16px; border:2px solid #855084; background:#211739; min-width:0; }
.friend-request-card>div:last-child { min-width:0; }
.request-player { color:#c8fbff; font-size:14px; font-weight:bold; text-decoration:none; overflow-wrap:anywhere; }
.friend-request-card p { margin:10px 0; font-size:11px; }
.friend-request-card .friend-controls { margin-top:12px; }
.friend-request-card .game-button { font-size:10px; padding:9px 12px; }
.friend-empty { font-size:12px; }
.view-more { display:inline-block; margin-top:18px; font-size:11px; font-weight:bold; color:#59f5ff; }
.site-nav .nav-friend-requests { color:#ffc1ed; border-color:#a54c8c; background:#472649; }
.friends-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:28px 0; }
.friends-heading h1 { font-size:32px; margin:12px 0; overflow-wrap:anywhere; }
.friends-heading p { color:#c7bddf; font-size:12px; }
.friends-heading .game-button { font-size:11px; white-space:nowrap; }
.request-tabs { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }
.request-tabs a { color:#c8fbff; font-size:12px; padding:12px; border:2px solid #090713; background:#30235b; text-decoration:none; }
.request-tabs [aria-current] { background:#653c94; border-color:#ff63c7; }
.friend-feedback { padding:32px; }
.friend-feedback .game-button { margin:12px 12px 0 0; }
@media(max-width:760px) { .friend-request-grid { grid-template-columns:1fr; } .friends-heading { flex-direction:column; align-items:flex-start; } .friend-summary { gap:7px; } .friend-summary>a,.friend-summary>span { font-size:9px; } }

/* Staff workspace — existing Capped Hotel palette and controls. */
.staff-page{padding-bottom:48px}.staff-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 22px;background:#2a1b47;border:2px solid #7256a3;border-bottom:4px solid #120b24;border-radius:12px;margin-bottom:24px}.staff-bar p{margin:8px 0 0;color:#c9bddf;font-size:12px}.staff-bar nav{display:flex;gap:8px;flex-wrap:wrap}.staff-bar nav a{padding:10px 12px;background:#3e2862;border:1px solid #6c519b;border-radius:5px;color:#77f0e8;text-decoration:none;font-size:11px;font-weight:bold}.staff-bar nav a:hover{background:#5e3987;color:white}.staff-heading{margin:24px 0}.staff-heading h1{font-size:30px;margin:12px 0}.staff-heading p,.staff-note{color:#c9bddf;font-size:12px;line-height:1.7}.staff-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:24px 0}.staff-metrics>div{padding:22px 14px;background:linear-gradient(145deg,#412567,#271b40);border:2px solid #6c4a94;border-radius:9px;text-align:center;box-shadow:0 4px #0c0918}.staff-metrics strong{display:block;font-size:30px;color:#85fff1}.staff-metrics span{display:block;font-size:11px;font-weight:bold;margin-top:10px;color:#e0d4ef}.staff-two-column,.staff-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.staff-balances{grid-template-columns:repeat(3,1fr)}.staff-search{padding:18px 0;margin:12px 0 20px}.staff-search>label{display:block;margin-bottom:10px;color:#e1d5f3;font-size:12px;font-weight:bold}.staff-search>div{display:flex;gap:10px;align-items:center}.staff-search input{flex:1;min-width:100px}.staff-page input,.staff-page select{background:#171025;color:white;border:2px solid #745399;border-radius:5px;padding:12px;font:inherit;font-size:13px}.staff-page input:focus,.staff-page select:focus{outline:2px solid #79ebdf;outline-offset:2px}.staff-table-wrap{overflow-x:auto}.staff-table{width:100%;border-collapse:collapse;font-size:12px}.staff-table th{background:#27173f;color:#91f7e8;padding:14px 10px;text-align:left;border-bottom:2px solid #735195;white-space:nowrap}.staff-table td{padding:15px 10px;border-bottom:1px solid #634685;vertical-align:middle;line-height:1.6}.staff-table td small{display:block;color:#c6b8df;font-size:10px}.staff-table td p{font-size:11px;margin:7px 0 0;max-width:190px;overflow-wrap:anywhere}.staff-table .community-avatar{width:68px;height:104px;background:transparent;border:0}.staff-table .community-avatar img{max-height:104px}.staff-results{padding:8px 15px}.staff-user-link,.staff-inline-link{color:#82f3e8;text-decoration:none;font-weight:bold}.staff-user-link:hover,.staff-inline-link:hover{text-decoration:underline;color:#ffa2df}.staff-player-hero{display:flex;align-items:center;gap:30px}.staff-player-hero iframe{border:0;flex-shrink:0;border-radius:12px;background:radial-gradient(ellipse at bottom,#734ba3,#291b43)}.staff-player-hero h1{font-size:32px;margin:14px 0}.staff-notice{border-left:4px solid #f58bce;padding:16px;background:#442340;border-radius:4px;line-height:1.6}.staff-action-form{display:grid;gap:14px;margin-top:16px}.staff-action-form label{display:grid;gap:8px;font-size:12px;font-weight:bold;color:#dfd2f0}.staff-action-form button{justify-self:start}.staff-action-grid h2{font-size:20px}.staff-action-grid p{font-size:12px;line-height:1.7}.staff-ban-history{padding:16px 0;border-top:1px solid #684988}.staff-ban-history small{color:#c9bddf;line-height:1.8}.staff-ban-status{display:inline-block;padding:5px 9px;background:#3c3353;border-radius:4px;font-size:10px;font-weight:bold}.staff-ban-status.active{background:#6c2e58;color:#ffb0de}.staff-inventory{margin:25px 0}.staff-inventory h2 span{font-size:12px;color:#bfb1da;margin-left:10px}.staff-section-heading{display:flex;gap:20px;justify-content:space-between;align-items:center}.staff-section-heading p{font-size:12px;line-height:1.7;color:#c9bddf}.staff-inventory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.staff-inventory-item{display:flex;gap:12px;background:#251a3c;border:1px solid #624380;border-radius:7px;padding:14px;align-items:center;overflow:hidden}.staff-inventory-item h3{font-size:12px;margin:0 0 7px}.staff-inventory-item p,.staff-inventory-item small{font-size:10px;color:#c8b9dc;margin:5px 0;overflow-wrap:anywhere}.staff-furni-icon{object-fit:contain;image-rendering:pixelated;flex-shrink:0;background:radial-gradient(#614080,#2c203d);border:1px solid #765599;border-radius:8px;padding:4px}.staff-furni-placeholder{display:grid;place-items:center;width:64px;height:64px;font-size:32px;color:#bba0d6;flex-shrink:0}.staff-furniture-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.staff-furniture-card{padding:18px;background:#35204f;border:2px solid #73539c;border-radius:10px;box-shadow:0 4px #0b0717}.staff-furniture-title{display:flex;gap:12px;align-items:center}.staff-furniture-title h2{font-size:15px;margin:0 0 8px;line-height:1.4}.staff-furniture-title p,.staff-furniture-card>p{font-size:11px;color:#cebfdf;line-height:1.7;overflow-wrap:anywhere}.staff-furniture-card>small{font-size:10px;line-height:1.8;color:#92ede4}.staff-room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.staff-audit-list{display:grid;gap:18px}.staff-audit-entry{background:#35204f;border:2px solid #725094;border-radius:10px;padding:22px}.staff-audit-entry>div:first-child{display:flex;justify-content:space-between;gap:15px;align-items:center}.staff-audit-entry time{font-size:11px;color:#ccbade}.staff-audit-entry h3{font-size:15px;margin:17px 0 10px}.staff-audit-entry p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.staff-audit-values{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.staff-audit-values>div{min-width:0;background:#1c142e;border:1px solid #614480;border-radius:6px;padding:15px}.staff-audit-values span{font-size:10px;font-weight:bold;color:#8df3e7}.staff-audit-values pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.7;color:#e4d8f4;margin:12px 0 0}.staff-feedback{max-width:820px;margin:25px auto}.staff-feedback p{line-height:1.8}.staff-confirmation{max-width:850px;margin:20px auto}.staff-confirmation h1{font-size:27px}.staff-confirmation p{font-size:13px;line-height:1.8}.staff-confirmation .actions{margin-top:22px}.staff-confirmation .staff-furni-icon{float:left;margin:0 18px 15px 0}@media(max-width:1000px){.staff-metrics{grid-template-columns:repeat(3,1fr)}.staff-furniture-grid,.staff-inventory-grid,.staff-room-grid{grid-template-columns:repeat(2,1fr)}.staff-bar{align-items:flex-start;flex-direction:column}}@media(max-width:650px){.staff-two-column,.staff-action-grid,.staff-furniture-grid,.staff-inventory-grid,.staff-room-grid,.staff-audit-values{grid-template-columns:1fr}.staff-player-hero{flex-direction:column;gap:10px;text-align:center}.staff-metrics{grid-template-columns:repeat(2,1fr)}.staff-balances{grid-template-columns:repeat(3,1fr)}.staff-metrics strong{font-size:23px}.staff-search>div{flex-wrap:wrap}.staff-section-heading{align-items:flex-start;flex-direction:column}.staff-audit-entry>div:first-child{align-items:flex-start;flex-direction:column}}
.staff-confirm{max-width:850px;margin:20px auto}.staff-confirm p{font-size:13px;line-height:1.8}.staff-confirm form{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}.staff-confirm-item{display:flex;gap:16px;align-items:center;margin-bottom:18px}

.staff-give-entry{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:22px 0;border:3px solid #75eadf;background:linear-gradient(120deg,#412763,#28203f)}.staff-give-entry h2{margin:12px 0;font-size:23px}.staff-give-entry p{font-size:12px;line-height:1.8}.staff-give-button{white-space:nowrap}.staff-give-selection{max-width:750px;margin:24px auto}.staff-give-selection>p{line-height:1.8;font-size:13px}.staff-give-selection>.staff-inline-link{display:inline-block;margin-top:24px}.staff-catalogue-give{margin-top:18px}.staff-grant-success{padding:18px;border:2px solid #80e9cb;border-radius:6px;background:#1e4a46;margin:18px 0;color:#dffff6}.staff-grant-success p{font-size:12px;line-height:1.8;margin:10px 0 0}@media(max-width:650px){.staff-give-entry{align-items:flex-start;flex-direction:column}}

.staff-give-disabled{opacity:.5;cursor:not-allowed;box-shadow:none}

/* Staff Rewards Center */
.staff-reward-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.staff-reward-tabs a{background:#35245b;border:2px solid #5cf3dd;border-radius:8px;color:#fff;padding:12px 18px;font-weight:900;text-decoration:none}.staff-reward-tabs a:hover{background:#6750a1}.staff-rewards{border-color:#70eadc}.staff-reward-target{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;background:#332052;padding:15px;border:2px solid #f491d1;border-radius:10px;color:#fff;position:sticky;top:8px;z-index:2}.staff-rewards>.retro-panel,.staff-rewards .staff-give-entry{margin-top:20px}.staff-badge-image{object-fit:contain;image-rendering:pixelated;background:#201537;border:2px solid #69e8dc;border-radius:8px;padding:8px;width:64px;height:64px}.staff-reward-history-row{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid #6a5089}.staff-reward-history-row time{font-size:12px;color:#bdaccf}.staff-currency-preview{border:2px solid #64ead8;padding:15px;border-radius:8px;background:#32234d;margin:15px 0}.staff-rewards [id^="reward-"]{scroll-margin-top:90px}

.staff-reward-avatar{display:inline-block;width:50px;height:72px;overflow:hidden;flex:0 0 50px}.staff-reward-avatar iframe{width:180px;height:260px;transform:scale(.27777);transform-origin:top left;border:0;pointer-events:none}
.staff-rewards>h2{margin:18px 0;padding:0;background:none;border:0;font-size:26px}.staff-reward-target a{color:#6df0dd;font-weight:700}

/* Existing native type-5 Diamonds and Owner reward controls. */
.dashboard-currencies,.staff-balances{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.currency-alias-note{font-size:11px;line-height:1.6;color:#c9bddf;margin:10px 0 20px}.staff-reward-tabs{flex-wrap:wrap}
@media(max-width:800px){.dashboard-currencies,.staff-balances,.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
