/* --- Base and Reset --- */
html { background-color: #24252d; min-height: 100vh; }
* { font-family: 'Rubik', sans-serif; margin: 0; padding: 0; box-sizing: border-box; }

/* --- Themes --- */
body { width: 100%; color: #fff; background: #1e1f25; display: flex; flex-direction: column; min-height: 100vh; text-align: center; font-size: 1rem; }
body.theme-orange { background: linear-gradient(-45deg, #39ff0069, #ff4100, #ffc800, #dd4700, #0049ff69) 200% 200%; animation: Gradient 4s ease infinite; }
body.theme-blue { background: linear-gradient(-45deg, #00bcdd, #00dd55, #0055dd, #00dd69, #00ff22) 200% 200%; animation: Gradient 4s ease infinite; }
@keyframes Gradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

body.theme-dark header, body header { background: #111215a0; }
body.theme-dark .room-card, body .room-card { background: #282a36; }
body.theme-dark .player-row, body .player-row { background: #3a3d4d; }
body.theme-dark .modal-content, body .modal-content { background: rgba(30, 31, 37, 0.9); }
body.theme-dark .stat-item, body .stat-item { background: #44475a; }
body.theme-dark .player-info-modal-vrstats, body .player-info-modal-vrstats { background: #44475a; }
body.theme-dark .player-info-modal-lastseen, body .player-info-modal-lastseen { color: #ccc; }

body.theme-orange .room-card { background: #2e2f3680; }
body.theme-orange .player-row { background: #2e2f36bf; }
body.theme-orange .modal-content { background: rgba(0,0,0,0.6); }
body.theme-orange .stat-item { background: #3a3d4d; }
body.theme-orange .player-info-modal-vrstats { background: #3a3d4d; }

body.theme-blue .room-card { background: #2e2f3680; }
body.theme-blue .player-row { background: #2e2f36bf; }
body.theme-blue .modal-content { background: rgba(0,0,0,0.6); }
body.theme-blue .stat-item { background: #3a3d4d; }
body.theme-blue .player-info-modal-vrstats { background: #3a3d4d; }

hr { color: white; } p { margin-top: 0.5rem; margin-bottom: 0.25rem; } a { color: #ffdaa3; } a:hover { text-decoration: underline; }
h1 { margin: 10px 0 0.5rem 0; font-size: 1.5em; text-decoration: none; } h2 { margin-bottom: 1rem; } button { cursor: pointer; } input, select { font-family: inherit; font-size: 1em; }
body.no-scroll { overflow: hidden; }

/* --- Header --- */
header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 0.6rem 1rem 0.6rem 1rem;
    padding-top: calc(0.6rem + constant(safe-area-inset-top)); 
    padding-top: calc(0.6rem + env(safe-area-inset-top));
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    position: sticky; top: 0; z-index: 10; flex-wrap: wrap; gap: 5px; 
}
header h1 { font-size: 1.8em; display: flex; align-items: center; margin: 0; flex-grow: 1; flex-shrink: 1; justify-content: left; text-align: left; min-width: 0; order: 1; margin-right: auto; }
.header-logo { height: 1.6em; width: 1.6em; margin-right: 0.5rem; }
.header-buttons { display: flex; align-items: center; gap: 0.5rem; order: 2; margin-left: 0; flex-shrink: 0; }
#user-profile-btn, #settings-btn { font-size: 1.6em; background: none; border: none; color: white; cursor: pointer; transition: transform 0.2s; padding: 0.3em; line-height: 1; display: flex; align-items: center; justify-content: center; }
#user-profile-btn:hover, #settings-btn:hover { transform: rotate(15deg); }
#user-profile-btn svg { width: 1em; height: 1em; fill: currentColor; }

#header-stats { flex-basis: 100%; text-align: center; font-size: 1.1em; font-weight: 300; color: #FFF; opacity: 1; height: auto; margin-top: 0; padding-bottom: 5px; order: 3; transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out, padding 0.3s ease-in-out; }
#header-stats.hidden { opacity: 0; height: 0; padding-bottom: 0; overflow: hidden; margin-top: 0; }
#header-stats .excited { animation: excited 1s infinite; display: inline-block; font-weight: bold; }

/* --- Main --- */
main { flex: 1; padding: 1rem; max-width: 600px; margin: 0 auto; width: 100%; }
#rooms-container { display: flex; flex-direction: column; gap: 1rem; }
#loading, #not-found-container { text-align: center; font-weight: bold; font-size: 1.4rem; padding: 1rem; color: #fff; }
#not-found-container { display: none; color: #ffaaaa; }

/* --- Indicators --- */
#history-indicator, #filter-indicator, #history-controls-main { display: none; padding: 10px; text-align: center; font-style: italic; background: #333; margin: 0 auto 1rem auto; border-radius: 8px; max-width: 90%; color: #fff; }

#history-indicator { display: none; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; background-color: #ff000040; }
#history-indicator button { margin-left: 0; padding: 5px 12px; background: #555; border: none; color: white; border-radius: 4px; cursor: pointer; font-size: 0.9em; }
#history-indicator button:hover { background: #777; }

#history-controls-main { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 10px; background-color: #ff000040; max-width: 600px; padding: 15px; border: 1px solid #444; }
#history-controls-main .history-indicator-controls { display: flex; gap: 5px; width: 100%; justify-content: center; }
#history-controls-main button { margin: 0; padding: 8px 12px; background: #555; border: none; color: white; border-radius: 4px; cursor: pointer; font-size: 0.9em; flex: 1; }
#history-controls-main button:hover { background: #777; }
.history-date-input { padding: 8px; background: #2e2f36; border: 1px solid #555; color: white; border-radius: 4px; font-family: inherit; width: 100%; max-width: 300px; text-align: center; }

#filter-indicator { background-color: #00aaff40; }
#filter-indicator button { margin-left: 10px; padding: 5px 12px; background: #555; border: none; color: white; border-radius: 4px; cursor: pointer; font-size: 0.9em; }

/* --- Modals --- */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 20; opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal.hidden { opacity: 0; visibility: hidden; }
.modal-content { padding: 1.5rem; border-radius: 1rem; box-shadow: 0 0 20px rgba(0,0,0,0.4); width: 90%; max-width: 450px; max-height: 80vh; overflow-y: auto; position: relative; }
.modal-content h2 { margin-top: 0; margin-bottom: 1.5rem; text-align: center; }
.modal-close-btn { margin-top: 1.5rem; padding: 0.6rem 1.2rem; border: none; border-radius: 0.4rem; background: #ff9900; color: white; cursor: pointer; font-weight: bold; display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.modal-close-btn:hover { background: #ffad33; }
.modal-close-btn.top-right { position: absolute; top: 10px; right: 10px; background: #555; color: #fff; border: none; border-radius: 50%; width: 28px; height: 28px; font-size: 16px; line-height: 28px; text-align: center; cursor: pointer; margin: 0; padding: 0; z-index: 21; }
.modal-close-btn.top-right:hover { background: #777; }

.setting-row { margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.setting-row > label:not(.switch) { display: inline-block; text-align: left; flex-shrink: 1; min-width: 100px; }
.setting-row input[type="text"], .setting-row input[type="datetime-local"], .setting-row select { padding: 0.4rem; background: #2e2f36bf; border: 1px solid #555; color: white; border-radius: 0.3rem; flex-grow: 1; min-width: 120px; }

.switch { position: relative; display: inline-block; width: 50px; height: 24px; flex-shrink: 0; flex-grow: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: #ff9900; }
input:focus + .slider { box-shadow: 0 0 1px #ff9900; }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }

.setting-row button:not(.modal-close-btn):not(.search-icon-btn):not(.fav-add-header-btn):not(#favorites-btn) { padding: 0.4rem 0.8rem; border: none; border-radius: 0.4rem; background: #555; color: white; }
.setting-row button:not(.modal-close-btn):not(.search-icon-btn):not(.fav-add-header-btn):not(#favorites-btn):hover { background: #777; }
.view-mode-btn { font-size: 1.5em; padding: 0.2em 0.5em; opacity: 0.6; } .view-mode-btn.active { opacity: 1; background: #777; }

#favorites-btn { background: rgba(255, 215, 0, 0.15); color: #FFD700; border: 2px solid rgba(255, 215, 0, 0.5); width: 100%; padding: 10px; font-weight: bold; border-radius: 12px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px; } 
#favorites-btn:hover { background: rgba(255, 215, 0, 0.25); box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); transform: translateY(-2px); }

#favorites-list-container { max-height: 50vh; overflow-y: auto; margin-bottom: 1rem; border: 1px solid #555; border-radius: 5px; padding: 5px; }
#favorites-list .player-row { margin-bottom: 5px; cursor: default; }
#favorites-list .player-info { cursor: pointer; }
#favorites-list p { text-align: center; color: #aaa; padding: 1rem; }
.edit-nickname-btn, .remove-favorite-btn { background: #666; color: white; border: none; border-radius: 50%; width: 28px; height: 28px; font-size: 16px; line-height: 28px; text-align: center; cursor: pointer; margin-left: 4px; flex-shrink: 0; padding: 0; }
.edit-nickname-btn { margin-left: auto; background: #777; }
.remove-favorite-btn { background: #ff5555; }
.edit-nickname-btn:hover { background: #999; }
.remove-favorite-btn:hover { background: #ff7777; }
.fav-add-header-btn { width: 100%; background: #4CAF50; margin-bottom: 10px; padding: 8px; font-weight: bold; border: none; border-radius: 5px; color: white; cursor: pointer; }
.fav-add-header-btn:hover { background: #45a049; }
#fav-search-wrapper { margin-bottom: 1rem; border-bottom: 1px solid #555; padding-bottom: 1rem; display: none; }
#fav-search-wrapper.visible { display: block; }
#fav-search-results { max-height: 150px; overflow-y: auto; margin-top: 5px; }

#nickname-modal-content input { width: 100%; }
.nickname-modal-buttons { display: flex; justify-content: space-around; margin-top: 1.5rem; }
.nickname-modal-buttons button { margin: 0; }

.user-search-container { display: flex; align-items: stretch; gap: 5px; width: 100%; }
#user-login-view input[type="text"] { margin-bottom: 0; flex-grow: 1; }
.search-icon-btn { padding: 0.4rem 0.8rem; font-size: 1.2em; line-height: 1; background: #555; color: white; border: 1px solid #555; border-radius: 0.3rem; flex-shrink: 0; cursor: pointer; }
.search-icon-btn:hover { background: #777; }
#user-search-results { margin-top: 1rem; max-height: 40vh; overflow-y: auto; }
.search-result-row { cursor: pointer; transition: background 0.2s; margin-bottom: 5px; }
.search-result-row:hover { background: #4a4d5d; }
.select-profile-btn { margin-left: auto; font-size: 0.9em; padding: 3px 8px; background: #666; color: white; border: none; border-radius: 3px; cursor: pointer;}
#user-profile-view { text-align: center; }
#user-profile-display { margin-bottom: 1.5rem; }
#logout-btn { display: none; }
#logout-btn.large-logout { background: #ff5555; margin-left: auto; margin-right: auto; width: auto; padding: 0.6rem 2rem; }
#logout-btn.large-logout:hover { background: #ff7777; }

.player-info-modal-header { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; text-align: left; }
.player-mii-large { width: 60px; height: 60px; border-radius: 5px; background: #555; object-fit: cover; flex-shrink: 0;}
.player-info-modal-header > div { display: flex; flex-direction: column; overflow: hidden; }
.player-info-modal-lastseen { font-size: 0.9em; color: #ccc; margin-bottom: 0.8rem; text-align: center; min-height: 1.2em; display: flex; flex-direction: column; gap: 2px; }
.player-info-modal-cache-status { font-size: 0.8em; font-style: italic; color: #f0c040; margin-top: 1rem; text-align: center; }
.player-info-modal-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin-bottom: 0.8rem; text-align: center; }
.stat-item { padding: 8px 5px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-label { font-size: 0.8em; color: #aaa; margin-bottom: 2px; }
.stat-value { font-size: 1em; font-weight: 500; color: #fff; }
.vr-stats-heading { font-size: 1em; font-weight: bold; margin-top: 1rem; margin-bottom: 0.5rem; text-align: center; color: #ccc; }
.stat-value.vr-positive { color: #4CAF50; }
.stat-value.vr-negative { color: #F44336; }
.player-info-modal-active-rank { font-size: 0.9em; margin-top: 1rem; text-align: center; color: #ccc;}
.player-info-modal-buttons { display: flex; justify-content: center; gap: 10px; margin-top: 1rem; flex-wrap: wrap; }
.player-info-modal-buttons button, .player-info-modal-buttons .discord-btn { margin: 0; padding: 0.6rem 1.2rem; border: none; border-radius: 0.4rem; background: #ff9900; color: white; cursor: pointer; font-weight: bold; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-size: 0.9rem; flex: 1 1 auto; min-width: 120px; }
.player-info-modal-buttons .visit-btn { background: #555; } .player-info-modal-buttons .visit-btn:hover { background: #777; }
.player-info-modal-buttons .report-btn { background: #e74c3c; } .player-info-modal-buttons .report-btn:hover { background: #ff5555; }
.player-info-modal-buttons .discord-btn { background: #7289DA; } .player-info-modal-buttons .discord-btn:hover { background: #5b6eae; }
.discord-btn img, .visit-btn-icon { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; }
.modal-content.small-modal { max-width: 380px; padding-top: 40px; }
.player-info-loading-text { color: #f0c040; font-size: 0.85em; font-style: italic; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Report Modal */
#report-modal .modal-content { padding: 0; max-width: 500px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 2px solid rgba(231, 76, 60, 0.3); background: rgba(231, 76, 60, 0.1); }
.modal-header h2 { font-size: 1.5rem; font-weight: 700; color: #e74c3c; margin: 0; }
#rr-report-player-display { padding: 20px 25px 0 25px; border-bottom: 1px solid #444; }
#report-form { padding: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #fff; font-weight: 600; font-size: 0.95rem; text-align: left; }
.form-group input[type="text"], .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(231, 76, 60, 0.3); border-radius: 10px; color: #fff; font-size: 1rem; font-family: inherit; transition: all 0.3s ease; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e74c3c' d='M6 9L1 4h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-group select option { background: #1a1a2e; color: #fff; padding: 10px; }
.form-group input[type="text"]:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: rgba(231, 76, 60, 0.6); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 15px rgba(231, 76, 60, 0.3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input[type="file"] { width: 100%; padding: 10px; background: rgba(255, 255, 255, 0.05); border: 2px dashed rgba(231, 76, 60, 0.3); border-radius: 10px; color: #fff; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; }
.form-group input[type="file"]:hover { border-color: rgba(231, 76, 60, 0.5); background: rgba(255, 255, 255, 0.08); }
.file-info { display: block; margin-top: 5px; font-size: 0.8rem; color: #9ca3af; font-style: italic; text-align: left; }
.form-actions { display: flex; gap: 12px; margin-top: 25px; }
.btn-cancel, .btn-submit { flex: 1; padding: 12px 20px; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; margin-top: 0; color: #fff; }
.btn-cancel { background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.2); }
.btn-cancel:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.btn-submit { background: rgba(231, 76, 60, 0.3); border: 2px solid rgba(231, 76, 60, 0.5); color: #e74c3c; }
.btn-submit:hover { background: rgba(231, 76, 60, 0.4); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.report-status { margin-top: 15px; padding: 12px 15px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; text-align: center; display: none; margin: 15px 25px 0 25px; }
.report-status.success { display: block; background: rgba(46, 204, 113, 0.2); border: 2px solid rgba(46, 204, 113, 0.5); color: #2ecc71; }
.report-status.error { display: block; background: rgba(231, 76, 60, 0.2); border: 2px solid rgba(231, 76, 60, 0.5); color: #e74c3c; }

/* Room Cards */
.room-card { padding: 1rem; border-radius: 0.6rem; box-shadow: 0 4px 10px #00000080; text-align: left; transition: transform 0.2s ease-in-out; }
.room-card:hover { transform: translateY(-3px); }
.room-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.room-name { font-weight: bold; font-size: 1.2rem; }
.room-info-link { font-size: 1.2rem; font-weight: bold; color: #fff; text-decoration: none; padding: 0 0.2rem; }
.room-info-link:hover { color: #ff9900; }
.room-details { font-size: 0.9rem; color: #aaa; margin-top: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid #444; text-align: center; }
.room-detail-flipper { transition: opacity 0.3s ease-in-out; display: inline-block; }
.room-player-count { font-weight: bold; font-size: 1.2em; color: #fff; }
.room-card-footer { margin-top: 1rem; padding-top: 0.5rem; border-top: 1px solid #444; font-size: 0.8em; color: #ccc; text-align: center; }
.room-card-footer a { color: #ff9900; font-weight: bold; }

/* Player List */
.player-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.player-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0.5rem; border-radius: 0.4rem; position: relative; cursor: pointer; }
.player-mii { width: 40px; height: 40px; border-radius: 50%; background: #444; object-fit: cover; flex-shrink: 0; }
.player-info { flex: 1; overflow: hidden; }
.player-name { font-size: 1.1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: 'CTMKF', 'Rubik', sans-serif; }
.player-name small { font-size: 0.8em; font-weight: normal; opacity: 0.8; font-family: 'CTMKF', 'Rubik', sans-serif; }
.player-fc { font-size: 0.8em; color: #aaa; }
.player-vrbr { font-size: 1em; font-weight: 400; color: #ddd; white-space: nowrap; width: 70px; text-align: right; transition: opacity 0.3s ease-in-out; flex-shrink: 0; }
.openhost { text-decoration: underline; text-decoration-color: #00aeff; text-decoration-style: wavy; }

/* Player Menu */
.player-menu-btn { background: none; border: none; color: #aaa; font-size: 1.4rem; font-weight: bold; cursor: pointer; padding: 0 0.5rem; margin-left: auto; line-height: 1; order: 3; z-index: 5; }
.player-menu-btn:hover { color: #fff; }
.player-menu { display: none; position: absolute; right: 5px; top: calc(100% - 10px); background: #1e1f25; border-radius: 0.4rem; box-shadow: 0 4px 10px #000000a0; z-index: 15; min-width: 180px; overflow: hidden; }
.player-menu button { display: block; width: 100%; padding: 0.6rem 1rem; background: none; border: none; color: #fff; text-align: left; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.player-menu button:hover { background: #2e2f36; }
.player-menu .remove-highlight { color: #ff5555; }
.player-menu .player-menu-row { display: flex; gap: 5px; padding: 0.4rem 0.5rem; }
.player-menu .player-menu-row button { flex: 1; justify-content: center; padding: 0.5rem; }
.player-menu .report-btn-menu { color: #e74c3c; }
.player-menu .report-btn-menu:hover { background: #ff555520; }

/* Highlights */
.player-row.highlighted { background: #4a443a; border-left: 3px solid #ffcc00; }
.player-row.is-user { background: #3a4a44; border-left: 3px solid #00cc66; }
.joinable { color: #33ff33; } .not-joinable { color: #ff3333; } .course-selection { color: #ffff33; } .split-room { color: #ff9933; }

/* Footer */
.footer-links { text-align: center; padding: 1.5rem 1rem; font-size: 0.9em; }
.footer-links p { margin: 0.5rem 0; }
.footer-button { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; background: rgba(0,0,0,0.2); border-radius: 0.4rem; text-decoration: none; color: #fff; font-weight: 500; transition: background 0.2s; }
.footer-button:hover { background: rgba(0,0,0,0.4); text-decoration: none; }
.footer-button.wiki-link { font-size: 1.1em; font-weight: bold; }
.footer-icon { width: 1em; height: 1em; margin-right: 0.5rem; vertical-align: middle; }

.excited { font-weight: bold; animation: excited 1s infinite; }
@keyframes excited { 0%,100%{color:#cba6f7} 17%{color:#f38ba8} 33%{color:#fab387} 50%{color:#f9e2af} 67%{color:#a6e3a1} 83%{color:#89b4fa} }
.wide-char { font-family: 'CTMKF', 'Rubik', sans-serif; font-size: 0.5rem; transform: scaleY(2); display: inline-block; }

/* Desktop */
body.desktop-view main { max-width: none; padding: 20px; }
body.desktop-view #rooms-container { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; }
body.desktop-view .room-card { width: 420px; flex-grow: 0; flex-shrink: 0; }
body.desktop-view { font-size: 1.05rem; }
body.desktop-view header h1 { font-size: 1.6rem; }
body.desktop-view #header-stats { font-size: 1.2em; }
body.desktop-view .room-name { font-size: 1.3em; }
body.desktop-view .room-details { font-size: 1.0em; }
body.desktop-view .player-mii { width: 48px; height: 48px; }
body.desktop-view .player-name { font-size: 1.15em; }
body.desktop-view .player-fc { font-size: 0.9em; }
body.desktop-view .player-vrbr { font-size: 1.0em; width: 80px; }
body.desktop-view .modal-content { max-width: 500px; }
body.desktop-view .modal-content.small-modal { max-width: 400px; }
body.desktop-view .player-menu .player-menu-row { flex-direction: column; }
body.desktop-view #history-controls-main { max-width: none; }