








.op-screen {
    position: fixed;
    z-index: 250;
    inset: 0;
    background: #1b1b1b;
    color: #dedee0;
    overflow: hidden;
    font-family: var(--font-body, -apple-system, BlinkMacSystemFont, sans-serif);
}
.op-screen.hidden { display: none !important; }
.op-header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: grid;
    grid-template-columns: 54px minmax(0,1fr) 54px;
    min-height: 58px;
    align-items: center;
    padding: 0 max(10px, env(safe-area-inset-left));
    background: #1b1b1b;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.op-header h2 {
    margin: 0;
    color: #e1e1e3;
    font: 700 18px var(--font-heading, sans-serif);
    text-align: center;
    letter-spacing: -.25px;
}
.op-back {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #dedee0;
    font-size: 18px;
    cursor: pointer;
}
.op-back:hover { background: rgba(255,255,255,.07); color: #fff; }
.op-scroll {
    height: calc(100dvh - 58px);
    overflow: auto;
    padding: 22px clamp(18px, 4vw, 44px) calc(108px + env(safe-area-inset-bottom));
}

.op-profile-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 12px 24px;
    text-align: center;
}
.op-profile-hero img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: #303033;
}
.op-profile-hero h3 {
    margin: 12px 0 0;
    color: #fff;
    font: 700 20px var(--font-heading, sans-serif);
}
.op-profile-hero p { margin: 5px 0 0; color: #99999e; font-size: 13px; }

.op-group {
    width: min(680px, 100%);
    margin: 20px auto 0;
    overflow: hidden;
    border-radius: 13px;
    background: #29292c;
}
.op-group.op-no-margin { margin-top: 0; }
.op-group > h4 {
    margin: 0;
    padding: 13px 16px 9px;
    color: #8e8e93;
    background: #1b1b1b;
    font: 600 12px var(--font-heading, sans-serif);
    letter-spacing: .02em;
    text-transform: none;
}
.op-group-notice {
    margin: 0;
    padding: 0 16px 12px;
    color: #99999e;
    background: #1b1b1b;
    font-size: 12px;
}
.op-row,
a.op-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    width: 100%;
    min-height: 58px;
    align-items: center;
    gap: 14px;
    padding: 11px 15px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.075);
    background: #29292c;
    color: #eee;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.op-row:last-child { border-bottom: 0; }
.op-row:not(.op-static):hover { background: #313134; }
.op-row > span { min-width: 0; }
.op-row b { display: block; font: 600 14px var(--font-heading, sans-serif); }
.op-row small { display: block; margin-top: 3px; color: #96969b; font-size: 12px; line-height: 1.35; }
.op-row > i { color: #8d8d92; font-size: 13px; }
.op-row.op-static { cursor: default; }

.op-signout {
    display: flex;
    width: min(680px, 100%);
    min-height: 50px;
    margin: 24px auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: #29292c;
    color: #ef5960;
    font: 700 14px var(--font-heading, sans-serif);
    cursor: pointer;
}

.op-page-prompt {
    width: min(680px, 100%);
    margin: 0 auto 14px;
    color: #d8d8da;
    font: 600 15px var(--font-heading, sans-serif);
}
.op-radio-list {
    width: min(680px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 13px;
    background: #29292c;
}
.op-radio-row {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.075);
    color: #eee;
    cursor: pointer;
}
.op-radio-row:last-child { border-bottom: 0; }
.op-radio-row span { font: 600 14px var(--font-heading, sans-serif); }
.op-radio-row input {
    width: 20px;
    height: 20px;
    accent-color: #25b5e8;
}
.op-check-row {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.075);
    color: #eee;
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}
.op-check-row:last-child { border-bottom: 0; }
.op-check-row:hover { background: rgba(255,255,255,0.03); }
.op-check-row span { font: 600 14px var(--font-heading, sans-serif); line-height: 1.35; }
.op-radio-check { color: #20b5e8; font-size: 16px; font-weight: 900; }
.op-radio-check.hidden { display: none !important; }
.op-info-card,
.op-info-copy {
    width: min(680px, 100%);
    margin: 16px auto 0;
    padding: 14px 16px;
    border-radius: 11px;
    background: #242427;
    color: #aaaab0;
    font-size: 12px;
    line-height: 1.55;
}
.op-info-copy { background: transparent; padding: 0; color: #d0d0d3; font-size: 14px; }

.op-toggle-row,
.op-friend-toggle-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) 46px;
    min-height: 64px;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,.075);
    cursor: pointer;
}
.op-toggle-row:last-child,
.op-friend-toggle-row:last-child { border-bottom: 0; }
.op-toggle-row > span b { display: block; color: #eee; font: 600 14px var(--font-heading, sans-serif); }
.op-toggle-row > span small { display: block; margin-top: 3px; color: #96969b; font-size: 11.5px; line-height: 1.35; }
.op-toggle-row input,
.op-friend-toggle-row input {
    position: absolute;
    right: 15px;
    width: 42px;
    height: 24px;
    opacity: 0;
    cursor: pointer;
}
.op-toggle-row > i,
.op-friend-toggle-row > i {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #55555a;
    transition: background .15s ease;
    pointer-events: none;
}
.op-toggle-row > i::after,
.op-friend-toggle-row > i::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform .15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.op-toggle-row input:checked + i,
.op-friend-toggle-row input:checked + i { background: #20b5e8; }
.op-toggle-row input:checked + i::after,
.op-friend-toggle-row input:checked + i::after { transform: translateX(18px); }
.op-toggle-row input:disabled + i,
.op-friend-toggle-row input:disabled + i { opacity: .5; }
.op-gws-label { display: flex; align-items: center; gap: 10px; }
.op-gws-label img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: #3a3a3d; }

.op-list {
    width: min(680px, 100%);
    margin: 16px auto 0;
    overflow: hidden;
    border-radius: 13px;
    background: #29292c;
}
.op-friend-toggle-row {
    grid-template-columns: 48px minmax(0,1fr) 46px;
}
.op-friend-toggle-row img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #39393c;
}
.op-friend-toggle-row > span b { color: #fff; font: 600 14px var(--font-heading, sans-serif); }

.op-field {
    display: block;
    width: min(680px, 100%);
    margin: 16px auto 0;
}
.op-field > span {
    display: block;
    margin-bottom: 7px;
    color: #cfcfd2;
    font: 600 13px var(--font-heading, sans-serif);
}
.op-field textarea,
.op-field select {
    width: 100%;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 10px;
    background: #29292c;
    color: #fff;
    font: 400 14px var(--font-body, sans-serif);
    outline: none;
}
.op-field textarea { min-height: 170px; resize: vertical; padding: 12px; }
.op-field select { height: 48px; padding: 0 12px; }
.op-field textarea:focus,
.op-field select:focus { border-color: #20b5e8; box-shadow: 0 0 0 2px rgba(32,181,232,.12); }
.op-field > small { display: block; margin-top: 5px; color: #85858b; text-align: right; }
.op-muted { width: min(680px, 100%); margin: 12px auto 0; color: #8f8f94; font-size: 12px; line-height: 1.45; }
.op-pad { padding: 16px; margin: 0; width: auto; }
.op-primary,
.op-secondary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #22afe5;
    color: #fff;
    font: 700 13px var(--font-heading, sans-serif);
    cursor: pointer;
}
.op-primary { display: flex; width: min(680px, 100%); margin: 18px auto 0; }
.op-secondary { background: #414145; }
.op-secondary.danger { color: #ff747a; }
.op-primary:disabled,
.op-secondary:disabled { opacity: .55; cursor: default; }

.op-success-state {
    display: grid;
    width: min(520px, 100%);
    margin: 80px auto 0;
    place-items: center;
    text-align: center;
}
.op-success-state i { margin-bottom: 16px; color: #30c77b; font-size: 46px; }
.op-success-state h3 { margin-bottom: 8px; color: #fff; }
.op-success-state p { color: #a0a0a5; }

.op-section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.op-section-title-row h2 { margin: 0; color: #d2d2d4; font: 600 16px var(--font-heading, sans-serif); letter-spacing: -.45px; }
.op-section-title-row button {
    border: 0;
    background: transparent;
    color: #24afe4;
    font: 600 12px var(--font-heading, sans-serif);
    cursor: pointer;
}
.op-chat-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.op-chat-strip::-webkit-scrollbar { display: none; }
.op-chat-empty-card {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) auto;
    width: min(520px, 100%);
    min-height: 70px;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    background: #2c2c2f;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.op-chat-empty-card > i:first-child { color: #f58e1e; font-size: 24px; }
.op-chat-empty-card span b,
.op-chat-empty-card span small { display: block; }
.op-chat-empty-card span b { font-size: 13px; }
.op-chat-empty-card span small { margin-top: 3px; color: #22afe5; font-size: 11px; }
.op-chat-card {
    display: flex;
    flex: 0 0 min(300px, 75vw);
    min-height: 72px;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: #2c2c2f;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.op-chat-card img,
.op-chat-list-row img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #3a3a3d;
}
.op-chat-card span b,
.op-chat-card span small,
.op-chat-list-row span b,
.op-chat-list-row span small { display: block; }
.op-chat-card span small,
.op-chat-list-row span small { margin-top: 3px; color: #99999e; font-size: 11.5px; }
.op-subtitle { width: min(680px,100%); margin: 24px auto 10px; color: #dedee0; font: 700 16px var(--font-heading, sans-serif); }
.op-steps { width: min(680px,100%); margin: 0 auto; padding: 0; list-style: none; counter-reset: opstep; }
.op-steps li {
    position: relative;
    min-height: 62px;
    margin-bottom: 8px;
    padding: 12px 14px 12px 54px;
    border-radius: 11px;
    background: #29292c;
    counter-increment: opstep;
}
.op-steps li::before {
    content: counter(opstep);
    position: absolute;
    left: 15px;
    top: 14px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #f58e1e;
    color: #fff;
    font-weight: 800;
}
.op-steps b { display: block; color: #fff; font-size: 13px; }
.op-steps small { display: block; margin-top: 4px; color: #9a9a9f; font-size: 11.5px; }
.op-chat-list-row,
.op-candidate-row {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) auto;
    width: min(680px,100%);
    min-height: 68px;
    align-items: center;
    gap: 12px;
    margin: 0 auto 8px;
    padding: 10px 13px;
    border: 0;
    border-radius: 11px;
    background: #29292c;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.op-candidate-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #3a3a3d; }
.op-candidate-row span b,
.op-candidate-row span small { display: block; }
.op-candidate-row span small { margin-top: 3px; color: #99999e; font-size: 11.5px; }
.op-chat-detail-hero { width: min(680px,100%); margin: 0 auto; padding: 18px; border-radius: 13px; background: #29292c; text-align: center; }
.op-chat-detail-hero > i { color: #f58e1e; font-size: 32px; }
.op-chat-detail-hero h3 { margin: 10px 0 4px; color: #fff; }
.op-chat-detail-hero p { margin: 0; color: #99999e; font-size: 12px; }
.op-member-section { width: min(680px,100%); margin: 20px auto 0; }
.op-member-section h4 { margin-bottom: 8px; color: #99999e; font-size: 12px; }
.op-member-row,
.op-playlog-row {
    display: flex;
    min-height: 60px;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: #29292c;
}
.op-member-row:first-of-type,
.op-playlog-row:first-child { border-radius: 11px 11px 0 0; }
.op-member-row:last-child,
.op-playlog-row:last-child { border-bottom: 0; border-radius: 0 0 11px 11px; }
.op-member-row img,
.op-playlog-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #38383b; }
.op-playlog-row img { border-radius: 8px; }
.op-member-row b,
.op-playlog-row b { color: #fff; font-size: 13px; }
.op-playlog-row span b,
.op-playlog-row span small { display: block; }
.op-playlog-row span small { margin-top: 3px; color: #99999e; font-size: 11.5px; }

.op-announcement-list { width: min(760px,100%); margin: 0 auto; }
.op-announcement-row {
    display: grid;
    grid-template-columns: 64px minmax(0,1fr) auto;
    width: 100%;
    min-height: 80px;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.065);
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.op-announcement-row.unread { box-shadow: inset 3px 0 0 #22afe5; background: rgba(34,175,229,.035); }
.op-announcement-row img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #303033; }
.op-announcement-row span b,
.op-announcement-row span small { display: block; }
.op-announcement-row span small { margin-top: 5px; color: #939398; font-size: 11.5px; }
.op-announcement-hero { display: block; width: min(680px,100%); max-height: 280px; margin: 0 auto 18px; border-radius: 12px; object-fit: cover; }
.op-copy-page { width: min(680px,100%); margin: 0 auto; }
.op-copy-page h3 { margin: 22px 0 8px; color: #fff; font: 700 17px var(--font-heading, sans-serif); }
.op-copy-page p { margin: 0 0 12px; color: #c8c8cc; font-size: 13px; line-height: 1.6; }

.op-header-info-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: #2c2c2e;
    color: #fff;
    font: 600 13px var(--font-heading, sans-serif);
    cursor: pointer;
    transition: all 0.15s ease;
}
.op-header-info-button:hover {
    background: #3a3a3d;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}
.op-media-details { width: 100%; }
.op-detail-row { display: grid; grid-template-columns: minmax(120px,.55fr) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.op-detail-row b { color: #a7a7ac; font-size: 12px; }
.op-detail-row span { color: #eee; font-size: 12px; word-break: break-word; }

.op-action-grid { display: flex; width: min(520px,100%); margin: 0 auto; gap: 9px; justify-content: center; }
.op-action-grid .op-primary { width: auto; margin: 0; flex: 1; }
.op-action-list { width: min(680px,100%); margin: 0 auto; overflow: hidden; border-radius: 13px; background: #29292c; }
.op-action-list button {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    width: 100%;
    min-height: 62px;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.075);
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.op-action-list button:last-child { border-bottom: 0; }
.op-action-list button:hover { background: rgba(255,255,255,.04); }
.op-action-list button span b,
.op-action-list button span small { display: block; }
.op-action-list button span small { margin-top: 3px; color: #96969b; font-size: 11.5px; }
.op-action-list button.danger b { color: #ff747a; }

.op-dialog-overlay {
    position: fixed;
    z-index: 12000;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(8px);
}
.op-dialog-overlay.hidden { display: none !important; }
.op-dialog {
    width: min(410px,100%);
    padding: 20px;
    border-radius: 15px;
    background: #303033;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.op-dialog h3 { margin: 0 0 9px; color: #fff; font: 700 18px var(--font-heading, sans-serif); }
.op-dialog p { margin: 0; color: #b5b5ba; font-size: 13px; line-height: 1.55; }
.op-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.op-dialog-actions button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #444448; color: #fff; font-weight: 700; cursor: pointer; }
.op-dialog-actions button.primary { background: #22afe5; }
.op-toast {
    position: fixed;
    z-index: 13000;
    left: 50%;
    bottom: max(80px, calc(env(safe-area-inset-bottom) + 22px));
    max-width: min(440px, calc(100vw - 30px));
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(25,25,27,.96);
    color: #fff;
    font: 600 13px var(--font-heading, sans-serif);
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
    box-shadow: 0 8px 26px rgba(0,0,0,.4);
}
.op-toast.show { opacity: 1; transform: translate(-50%,0); }
.op-loading,
.op-empty { width: min(680px,100%); margin: 20px auto; color: #97979c; text-align: center; font-size: 13px; }


#friendSettingsNotifyView .settings-content-panel { max-width: 680px; }
#friendsNoteButton { cursor: pointer; }
#friendsNotifyButton { white-space: normal; }
#opHomeChatSection { margin-top: 27px; }

@media (max-width: 620px) {
    .op-scroll { padding-inline: 14px; }
    .op-group, .op-radio-list, .op-list { border-radius: 10px; }
    .op-action-grid { flex-direction: column; }
    .op-action-grid .op-primary, .op-action-grid .op-secondary { width: 100%; }
    .op-detail-row { grid-template-columns: 1fr; gap: 3px; }
}


.op-license-list {
    width: min(680px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 13px;
    background: #29292c;
}
.op-license-list .op-row { border-radius: 0; }
.op-license-detail pre {
    max-height: 62vh;
    overflow: auto;
    margin: 14px 0 0;
    padding: 14px;
    border-radius: 10px;
    background: #242427;
    color: #c9c9cd;
    font: 11.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: pre-wrap;
    user-select: text;
    -webkit-user-select: text;
}
.op-inline-link { color: #28aee2; text-decoration: none; }

body.op-light-theme {
    --bg-main: #f3f3f5;
    --bg-card: #fff;
    --bg-card-hover: #f7f7f8;
    --bg-input: #ececee;
    --border-color: rgba(0,0,0,.08);
    --text-primary: #1f1f21;
    --text-secondary: #75757a;
    --text-muted: #9b9ba0;
    background: #f3f3f5 !important;
    color: #202023 !important;
}
body.op-light-theme .navbar { background: rgba(255,255,255,.94) !important; border-bottom-color: rgba(0,0,0,.08) !important; }
body.op-light-theme .brand-title,
body.op-light-theme .notification-button,
body.op-light-theme .native-icon-btn { color: #202023 !important; }
body.op-light-theme .main-content,
body.op-light-theme #page-home,
body.op-light-theme .native-tab-page { background: #f3f3f5 !important; }
body.op-light-theme .nso-section-heading h2,
body.op-light-theme .home-content-section > h2,
body.op-light-theme .native-friends-top-bar h1,
body.op-light-theme .native-page-heading h1 { color: #29292d !important; }
body.op-light-theme .friends-page-grid .friend-card,
body.op-light-theme .media-item,
body.op-light-theme .service-launch-card { background: #fff !important; }
body.op-light-theme .friends-page-grid .friend-name,
body.op-light-theme .media-title { color: #222225 !important; }
body.op-light-theme .home-dock { background: rgba(255,255,255,.96) !important; box-shadow: 0 8px 26px rgba(0,0,0,.16) !important; }
body.op-light-theme .op-browser-notification-card { background: #ffffff; border: 1px solid rgba(0,0,0,.08); }
body.op-light-theme .op-browser-notification-card b { color: #232327; }
body.op-light-theme .op-browser-notification-card small { color: #65656b; }

body.op-light-theme .friend-detail-current-game { background: #fff; }
body.op-light-theme .friend-detail-current-game:hover { background: #f7f7f8; }
body.op-light-theme .friend-detail-current-game-copy strong { color: #242428; }
body.op-light-theme .friend-detail-presence { border-color: rgba(0,0,0,.08); }

body.op-light-theme .friend-settings-screen,
body.op-light-theme .sent-req-detail-screen,
body.op-light-theme .fc-search-screen,
body.op-light-theme .friend-detail-view,
body.op-light-theme .chatted-users-view,
body.op-light-theme .profile-view,
body.op-light-theme .notification-view { background: #f3f3f5 !important; color: #222225 !important; }
body.op-light-theme .settings-top-header,
body.op-light-theme .req-detail-top-header,
body.op-light-theme .fc-search-header,
body.op-light-theme .chatted-users-header { background: #f3f3f5 !important; color: #222225 !important; border-bottom-color: rgba(0,0,0,.07) !important; }

body.op-light-theme .op-screen { background: #f3f3f5; color: #252528; }
body.op-light-theme .op-header { background: #f3f3f5; border-bottom-color: rgba(0,0,0,.07); }
body.op-light-theme .op-header h2,
body.op-light-theme .op-back,
body.op-light-theme .op-profile-hero h3,
body.op-light-theme .op-page-prompt,
body.op-light-theme .op-copy-page h3,
body.op-light-theme .op-row,
body.op-light-theme a.op-row,
body.op-light-theme .op-radio-row,
body.op-light-theme .op-check-row,
body.op-light-theme .op-toggle-row > span b,
body.op-light-theme .op-friend-toggle-row > span b,
body.op-light-theme .op-announcement-row,
body.op-light-theme .op-action-list button,
body.op-light-theme .op-dialog h3 { color: #222225; }
body.op-light-theme .op-check-row:hover { background: rgba(0,0,0,0.03); }
body.op-light-theme .op-radio-check { color: #0098ca; }
body.op-light-theme .op-group,
body.op-light-theme .op-row,
body.op-light-theme a.op-row,
body.op-light-theme .op-radio-list,
body.op-light-theme .op-list,
body.op-light-theme .op-action-list,
body.op-light-theme .op-license-list,
body.op-light-theme .op-signout { background: #fff; }
body.op-light-theme .op-group > h4,
body.op-light-theme .op-group-notice { background: #f3f3f5; }
body.op-light-theme .op-group > h4,
body.op-light-theme .op-row small,
body.op-light-theme .op-toggle-row > span small,
body.op-light-theme .op-action-list button span small,
body.op-light-theme .op-announcement-row span small { color: #77777c; }
body.op-light-theme .op-row,
body.op-light-theme a.op-row,
body.op-light-theme .op-radio-row,
body.op-light-theme .op-toggle-row,
body.op-light-theme .op-friend-toggle-row,
body.op-light-theme .op-action-list button,
body.op-light-theme .op-announcement-row { border-bottom-color: rgba(0,0,0,.075); }
body.op-light-theme .op-row:not(.op-static):hover,
body.op-light-theme .op-action-list button:hover { background: #f6f6f7; }
body.op-light-theme .op-info-card { background: #e8e8eb; color: #626268; }
body.op-light-theme .op-info-copy,
body.op-light-theme .op-copy-page p { color: #505055; }
body.op-light-theme .op-field input,
body.op-light-theme .op-field textarea,
body.op-light-theme .op-field select,
body.op-light-theme .op-license-detail pre { background: #fff; color: #28282c; border-color: rgba(0,0,0,.12); }
body.op-light-theme .op-dialog { background: #fff; }
body.op-light-theme .op-dialog p { color: #606066; }
body.op-light-theme .op-dialog-actions button { background: #ececef; color: #222225; }
body.op-light-theme .op-dialog-actions button.primary { background: #22afe5; color: #fff; }


#opUserPage {
    z-index: 235 !important;
    background: #1b1b1b !important;
    color: #e1e1e3;
    padding-bottom: 0;
}
#opUserPage .op-header {
    display: grid !important;
    position: sticky;
    top: 0;
    z-index: 4;
    min-height: 58px;
    background: #1b1b1b;
}
#opUserPage .op-scroll {
    width: 100% !important;
    max-width: none !important;
    height: calc(100dvh - 58px) !important;
    min-height: 0;
    overflow-y: auto;
    margin: 0 !important;
    padding: 0 0 calc(96px + env(safe-area-inset-bottom)) !important;
    background: #1b1b1b;
}
body:has(#opUserPage:not(.hidden)) .home-dock {
    display: flex !important;
    z-index: 260 !important;
}

.native-user-page {
    width: min(850px, calc(100vw - 48px));
    margin: 72px auto 118px;
    padding: 0 0 28px;
}
.native-user-hero {
    display: grid;
    justify-items: center;
    margin-bottom: 22px;
    animation: nso-native-rise .25s cubic-bezier(.2,.8,.2,1) both;
}
.native-user-hero img {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    object-fit: cover;
    background: #303033;
}
.native-user-hero h3 {
    margin: 8px 0 0;
    color: #e7e7e8;
    font: 700 22px var(--font-heading);
    letter-spacing: -.02em;
}

.native-user-card,
.native-user-action-card,
.native-user-play-list {
    background: #323234;
    border: 0;
    box-shadow: none;
}
.native-friend-code-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 82px;
    padding: 16px 22px;
    border-radius: 9px;
    animation: nso-native-rise .27s .025s cubic-bezier(.2,.8,.2,1) both;
}
.native-friend-code-copy { min-width: 0; }
.native-user-label {
    display: block;
    margin-bottom: 5px;
    color: #ababaf;
    font-size: 11px;
    font-weight: 600;
}
.native-friend-code-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e5e5e7;
    font: 700 16px var(--font-heading);
    cursor: pointer;
    transition: opacity .14s ease, transform .12s ease;
}
.native-friend-code-button:hover { opacity: .86; }
.native-friend-code-button:active { transform: scale(.98); }
.native-copy-status {
    position: absolute;
    left: 22px;
    bottom: 5px;
    min-height: 12px;
    color: #25b9ea;
    font-size: 10px;
}
.native-user-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 9px;
    animation: nso-native-rise .29s .05s cubic-bezier(.2,.8,.2,1) both;
}
.native-user-action-card {
    min-height: 100px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border-radius: 9px;
    color: #e5e5e7;
    cursor: pointer;
    transition: background .14s ease, transform .12s ease;
}
.native-user-action-card i { font-size: 34px; font-weight: 400; }
.native-user-action-card span { font: 700 13px var(--font-heading); }
.native-user-action-card:hover { background: #39393c; }
.native-user-action-card:active { transform: scale(.985); background: #3c3c3f; }

.native-user-section {
    margin-top: 46px;
    animation: nso-native-rise .3s .075s cubic-bezier(.2,.8,.2,1) both;
}
.native-user-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3c3c3e;
}
.native-user-section-head > div { display: grid; gap: 3px; }
.native-user-section-head strong {
    color: #e0e0e2;
    font: 700 14px var(--font-heading);
}
.native-user-section-head span {
    color: #a4a4a9;
    font-size: 12px;
}
.native-user-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1db8ec;
    font: 700 12px var(--font-heading);
    cursor: pointer;
    transition: background .14s ease, transform .12s ease;
}
.native-user-change:hover { background: rgba(29,184,236,.08); }
.native-user-change:active { transform: scale(.96); }
.native-user-change i { font-size: 13px; }
.native-user-presence {
    width: 100%;
    min-height: 80px;
}
.native-user-offline {
    min-height: 80px;
    display: grid;
    place-items: center;
    border-bottom: 1px solid #3c3c3e;
    color: #a8a8ac;
    font-size: 13px;
}
.native-user-presence-row {
    width: 100%;
    min-height: 126px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    padding: 17px 18px;
    border: 0;
    background: #444446;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .13s ease, transform .12s ease;
    animation: nso-native-row .22s ease-out both;
}
.native-user-presence-row:hover { background: #4a4a4c; }
.native-user-presence-row:active { background: #505053; transform: scale(.996); }
.native-user-presence-row:disabled { cursor: default; }
.native-user-presence-row img {
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    border-radius: 5px;
    object-fit: cover;
    background: #2a2a2c;
}
.native-user-presence-row img.native-user-presence-image-missing { visibility: hidden; }
.native-user-presence-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}
.native-user-presence-online {
    color: #1fd46a;
    font: 700 12px var(--font-heading);
}
.native-user-presence-copy strong {
    overflow: hidden;
    color: #e8e8ea;
    font: 700 17px var(--font-heading);
    line-height: 1.22;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.native-play-section { margin-top: 30px; }
.native-user-play-list {
    margin-top: 12px;
    border-radius: 0;
    overflow: hidden;
}
.native-user-play-row {
    width: 100%;
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 13px 17px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.035);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .13s ease;
    animation: nso-native-row .22s ease-out both;
}
.native-user-play-row:last-child { border-bottom: 0; }
.native-user-play-row:hover { background: rgba(255,255,255,.035); }
.native-user-play-row:active { background: rgba(255,255,255,.06); }
.native-user-play-row img {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 4px;
    object-fit: cover;
    background: #28282a;
}
.native-user-play-row img.native-user-play-image-missing { visibility: hidden; }
.native-user-play-copy { min-width: 0; display: grid; gap: 3px; }
.native-user-play-copy strong {
    overflow: hidden;
    color: #e4e4e6;
    font: 700 14px var(--font-heading);
    white-space: nowrap;
    text-overflow: ellipsis;
}
.native-user-play-copy > span { font-size: 12px; }
.native-playtime-highlight { color: #11b9ee; }
.native-playtime-normal { color: #a5a5a9; }
.native-user-loading,
.native-user-empty {
    min-height: 82px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 20px;
    color: #99999e;
    font-size: 12px;
}


.tab-page.active {
    animation: nso-native-tab-enter .2s cubic-bezier(.2,.8,.2,1) both;
}
.service-launch-card,
.friends-page-grid > *,
.album-page-grid > * {
    animation: nso-native-card-enter .22s ease-out both;
}
.service-launch-card:active { transform: scale(.992); }
.service-launch-card.launching-service {
    position: relative;
    overflow: hidden;
}
.service-launch-card.launching-service::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -19px 0 0 -19px;
    border: 4px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    animation: service-launch-spin .7s linear infinite;
}

@keyframes nso-native-rise {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nso-native-row {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nso-native-tab-enter {
    from { opacity: .35; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nso-native-card-enter {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nso-native-shimmer {
    to { transform: translateX(100%); }
}

@media (max-width: 640px) {
    .native-user-page { width: calc(100vw - 28px); margin-top: 66px; }
    .native-user-hero img { width: 88px; height: 88px; }
    .native-friend-code-card { padding-inline: 17px; }
    .native-user-action-card { min-height: 88px; }
    .native-user-presence-row { min-height: 104px; padding: 13px; gap: 14px; }
    .native-user-presence-row img { width: 78px; height: 78px; }
    .native-user-presence-copy strong { font-size: 15px; }
    .native-user-play-row { min-height: 84px; padding-inline: 13px; gap: 13px; }
    .native-user-play-row img { width: 53px; height: 53px; }
}

@media (prefers-reduced-motion: reduce) {
    .native-user-hero,
    .native-friend-code-card,
    .native-user-actions,
    .native-user-section,
    .native-user-play-row,
    .tab-page.active,
    .service-launch-card,
    .friends-page-grid > *,
    .album-page-grid > *,
    .service-launch-card.launching-service::after {
        animation: none !important;
    }
    .native-friend-code-button,
    .native-user-action-card,
    .native-user-change {
        transition: none !important;
    }
}


body.op-light-theme {
    --text-primary: #18181b;
    --text-secondary: #505057;
    --text-muted: #707077;
}


body.op-light-theme .navbar {
    background: #e60012 !important;
    border-bottom-color: transparent !important;
}
body.op-light-theme .brand-title,
body.op-light-theme .user-name,
body.op-light-theme .navbar .notification-button {
    color: #fff !important;
}
body.op-light-theme .notification-button span { border-color: #e60012; }


body.op-light-theme .friends-grid .friend-name,
body.op-light-theme .friends-page-grid .friend-game.friend-game-playing,
body.op-light-theme .op-section-title-row h2,
body.op-light-theme .service-tab-btn.active {
    color: #222225 !important;
}
body.op-light-theme .friends-grid .friend-time,
body.op-light-theme .friends-page-grid .friend-time { color: #66666d; }
body.op-light-theme .text-action { color: #168fbe; }
body.op-light-theme .btn-album-action {
    background: #fff;
    color: #232327;
    border-color: rgba(0,0,0,.12);
}
body.op-light-theme .btn-album-action:hover:not(:disabled) {
    background: #f0f0f2;
    color: #17171a;
    border-color: rgba(0,0,0,.18);
}
body.op-light-theme .btn-album-download,
body.op-light-theme .btn-album-download:hover:not(:disabled) {
    background: #2e96ea;
    border-color: #2e96ea;
    color: #fff;
}


body.op-light-theme .friend-detail-back,
body.op-light-theme .friend-detail-more,
body.op-light-theme .notification-back,
body.op-light-theme .profile-back { color: #252529; }
body.op-light-theme .friend-detail-more:hover,
body.op-light-theme .friend-activity-row.clickable:hover { background: rgba(0,0,0,.045); }
body.op-light-theme .friend-detail-panel h2,
body.op-light-theme .friend-detail-activity h3,
body.op-light-theme .friend-meta-item h4,
body.op-light-theme .friend-activity-row strong { color: #222225; }
body.op-light-theme .friend-detail-note,
body.op-light-theme .friend-detail-presence,
body.op-light-theme .friend-detail-presence-offline-text,
body.op-light-theme .friend-meta-item p,
body.op-light-theme .friend-activity-row span.playtime-normal { color: #626269; }
body.op-light-theme .friend-detail-note i { background: #e2e2e5; color: #55555b; }
body.op-light-theme .friend-detail-actions button {
    background: #fff;
    color: #222225;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
body.op-light-theme .friend-detail-actions button:hover:not(:disabled) {
    background: #f0f0f2;
    color: #17171a;
}
body.op-light-theme .friend-detail-actions i { color: #56565c; }
body.op-light-theme .friend-detail-presence,
body.op-light-theme .friend-activity-row { border-color: rgba(0,0,0,.09); }
body.op-light-theme .friend-detail-current-game:active { background: #ececef; }


body.op-light-theme .friends-functional-menu {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.08);
}
body.op-light-theme .friends-functional-menu button { color: #242428; }
body.op-light-theme .friends-functional-menu button:hover { background: rgba(0,0,0,.055); }
body.op-light-theme .friends-functional-menu button.danger { color: #d73d47; }
body.op-light-theme .friends-functional-user-row,
body.op-light-theme .friends-functional-request-row {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.055);
}
body.op-light-theme .friends-functional-user-row strong,
body.op-light-theme .friends-functional-request-row strong { color: #222225; }
body.op-light-theme .friends-functional-user-row span,
body.op-light-theme .friends-functional-request-row span,
body.op-light-theme .friends-functional-request-row small { color: #65656c; }
body.op-light-theme .friends-functional-user-row > button,
body.op-light-theme .friends-functional-request-actions button,
body.op-light-theme .friends-functional-qr-actions button {
    background: #ececef;
    color: #252529;
}
body.op-light-theme .friends-functional-request-actions button.primary {
    background: #22aee8;
    color: #fff;
}


body.op-light-theme .friends-functional-qr-card {
    background: #fff;
    color: #222225;
    border-color: rgba(0,0,0,.09);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
body.op-light-theme .friends-functional-qr-header { border-bottom-color: rgba(0,0,0,.08); }
body.op-light-theme .friends-functional-qr-header button,
body.op-light-theme .friends-functional-qr-header h2,
body.op-light-theme .friends-functional-friend-code { color: #222225; }
body.op-light-theme .friends-functional-qr-label { color: #66666d; }


body.op-light-theme .settings-back-btn,
body.op-light-theme .settings-top-header h2,
body.op-light-theme .req-detail-back-btn,
body.op-light-theme .req-detail-more-btn,
body.op-light-theme .fc-search-close-btn,
body.op-light-theme .fc-search-header h2 { color: #222225; }
body.op-light-theme .settings-menu-row,
body.op-light-theme .settings-section-divider span,
body.op-light-theme .settings-status-label,
body.op-light-theme .toggle-row-copy strong,
body.op-light-theme .add-friend-section h3 { color: #242428; }
body.op-light-theme .settings-menu-row {
    border-bottom-color: rgba(0,0,0,.08);
}
body.op-light-theme .settings-menu-row:hover { color: #111114; background: rgba(0,0,0,.035); }
body.op-light-theme .settings-menu-row i { color: #76767c; }
body.op-light-theme .settings-subtext,
body.op-light-theme .toggle-row-copy span,
body.op-light-theme .empty-blocked-text,
body.op-light-theme .add-friend-section p { color: #63636a; }
body.op-light-theme .settings-section-divider { border-bottom-color: rgba(0,0,0,.10); }
body.op-light-theme .add-friend-top-card,
body.op-light-theme .add-friend-full-card,
body.op-light-theme .sent-request-card {
    background: #fff;
    color: #242428;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.07);
}
body.op-light-theme .add-friend-top-card:hover,
body.op-light-theme .add-friend-full-card:hover,
body.op-light-theme .sent-request-card:hover { background: #f2f2f4; }
body.op-light-theme .fc-badge-icon { border-color: #505057; color: #303034; }
body.op-light-theme .sent-request-info strong { color: #242428; }
body.op-light-theme .sent-request-info span { color: #66666d; }


body.op-light-theme .req-detail-dropdown {
    background: #fff;
    border-color: rgba(0,0,0,.09);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
body.op-light-theme .dropdown-item-delete:hover { background: rgba(0,0,0,.05); }
body.op-light-theme .req-detail-panel h2,
body.op-light-theme .req-detail-meta-block strong,
body.op-light-theme .req-detail-activity-block h3,
body.op-light-theme .req-activity-item-info strong { color: #242428; }
body.op-light-theme .req-detail-meta-block p,
body.op-light-theme .req-activity-item-info span.muted { color: #626269; }
body.op-light-theme .req-detail-activity-list { background: #fff; }
body.op-light-theme .req-activity-item { border-bottom-color: rgba(0,0,0,.07); }
body.op-light-theme .fc-input-box {
    background: #fff;
    border-color: rgba(0,0,0,.11);
}
body.op-light-theme .fc-input-box.active-focused { border-color: #22b8f0; }
body.op-light-theme .fc-input { color: #222225; }
body.op-light-theme .fc-input::placeholder { color: #9a9aa0; }
body.op-light-theme .fc-prefix,
body.op-light-theme .fc-subtext,
body.op-light-theme .fc-result-label { color: #65656c; }
body.op-light-theme .fc-result-sheet {
    background: #fff;
    color: #222225;
    box-shadow: 0 -10px 34px rgba(0,0,0,.18);
}
body.op-light-theme .fc-sheet-handle { background: #c9c9cd; }
body.op-light-theme .fc-result-name,
body.op-light-theme .fc-result-code { color: #222225; }


body.op-light-theme .notification-panel h2,
body.op-light-theme .profile-panel h2 { color: #222225; }
body.op-light-theme .notification-item,
body.op-light-theme .profile-membership,
body.op-light-theme .profile-logout {
    background: #fff;
    color: #242428;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
body.op-light-theme .notification-item p,
body.op-light-theme .profile-panel > p { color: #5e5e65; }
body.op-light-theme .notification-item span { color: #74747b; }
body.op-light-theme .profile-logout { color: #d64a55; }


body.op-light-theme .op-secondary { background: #ececef; color: #242428; }
body.op-light-theme .op-secondary.danger { color: #d84d56; }
body.op-light-theme .op-success-state h3,
body.op-light-theme .op-subtitle,
body.op-light-theme .op-steps b,
body.op-light-theme .op-chat-detail-hero h3,
body.op-light-theme .op-playlog-row b,
body.op-light-theme .op-field > span { color: #242428; }
body.op-light-theme .op-success-state p,
body.op-light-theme .op-steps small,
body.op-light-theme .op-chat-card span small,
body.op-light-theme .op-chat-list-row span small,
body.op-light-theme .op-candidate-row span small,
body.op-light-theme .op-chat-detail-hero p,
body.op-light-theme .op-playlog-row span small,
body.op-light-theme .op-muted { color: #64646b; }
body.op-light-theme .op-chat-empty-card,
body.op-light-theme .op-chat-card,
body.op-light-theme .op-steps li,
body.op-light-theme .op-chat-list-row,
body.op-light-theme .op-candidate-row,
body.op-light-theme .op-chat-detail-hero,
body.op-light-theme .op-playlog-row {
    background: #fff;
    color: #242428;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.055);
}
body.op-light-theme .op-chat-empty-card span b,
body.op-light-theme .op-chat-card span b,
body.op-light-theme .op-chat-list-row span b,
body.op-light-theme .op-candidate-row span b { color: #242428; }
body.op-light-theme .op-profile-hero p { color: #64646b; }
body.op-light-theme .op-back:hover { background: rgba(0,0,0,.055); color: #111114; }
body.op-light-theme .op-gws-label img,
body.op-light-theme .op-friend-toggle-row img,
body.op-light-theme .op-chat-card img,
body.op-light-theme .op-chat-list-row img,
body.op-light-theme .op-candidate-row img { background: #e8e8eb; }


body.op-light-theme #opUserPage {
    background: #f3f3f5 !important;
    color: #222225;
}
body.op-light-theme #opUserPage .op-header,
body.op-light-theme #opUserPage .op-scroll {
    background: #f3f3f5 !important;
    border-bottom-color: rgba(0,0,0,.07);
}
body.op-light-theme .native-user-hero img { background: #e4e4e7; }
body.op-light-theme .native-user-hero h3,
body.op-light-theme .native-friend-code-button,
body.op-light-theme .native-user-action-card,
body.op-light-theme .native-user-section-head strong,
body.op-light-theme .native-user-presence-copy strong,
body.op-light-theme .native-user-play-copy strong { color: #222225; }
body.op-light-theme .native-user-label,
body.op-light-theme .native-user-section-head span,
body.op-light-theme .native-user-offline,
body.op-light-theme .native-playtime-normal,
body.op-light-theme .native-user-loading,
body.op-light-theme .native-user-empty { color: #626269; }
body.op-light-theme .native-user-card,
body.op-light-theme .native-user-action-card,
body.op-light-theme .native-user-play-list,
body.op-light-theme .native-user-presence-row {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
body.op-light-theme .native-user-action-card:hover,
body.op-light-theme .native-user-presence-row:hover { background: #f1f1f3; }
body.op-light-theme .native-user-action-card:active,
body.op-light-theme .native-user-presence-row:active { background: #e9e9ec; }
body.op-light-theme .native-user-section-head,
body.op-light-theme .native-user-offline,
body.op-light-theme .native-user-play-row { border-color: rgba(0,0,0,.08); }
body.op-light-theme .native-user-play-row:hover { background: rgba(0,0,0,.035); }
body.op-light-theme .native-user-play-row:active { background: rgba(0,0,0,.06); }
body.op-light-theme .native-user-presence-row img,
body.op-light-theme .native-user-play-row img { background: #e7e7ea; }


body.op-light-theme .game-sheet {
    background: #fff;
    color: #222225;
    box-shadow: 0 -12px 36px rgba(0,0,0,.20);
}
body.op-light-theme .game-sheet-handle { background: #c6c6ca; }
body.op-light-theme .game-sheet-name { color: #222225; }




body.dark-theme .navbar {
    background: #1b1b1b !important;
    border-bottom-color: var(--border-color) !important;
}
body.dark-theme .brand {
    background: #e60012 !important;
}
body.dark-theme .brand-title,
body.dark-theme .navbar .notification-button {
    color: #fff !important;
}
body.dark-theme .notification-button span {
    border-color: #1b1b1b !important;
}
body.op-light-theme .navbar {
    background: rgba(255,255,255,.94) !important;
    border-bottom-color: rgba(0,0,0,.08) !important;
}
body.op-light-theme .brand {
    background: #e60012 !important;
}
body.op-light-theme .brand-title {
    color: #fff !important;
}
body.op-light-theme .navbar .notification-button {
    color: #202023 !important;
}
body.op-light-theme .notification-button span {
    border-color: #fff !important;
}


.logo-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.switch-logo-svg {
    display: block;
    flex: 0 0 auto;
}
.switch-logo-svg-top {
    width: 26px;
    height: 26px;
}
.switch-logo-svg-login {
    width: 104px;
    height: 104px;
}
.login-logo {
    display: grid;
    place-items: center;
}
@media (max-width: 720px) {
    .logo-icon,
    .switch-logo-svg-top {
        width: 22px;
        height: 22px;
    }
}

.op-legal-disclaimer-box {
    margin: 14px auto 20px;
    padding: 14px 18px;
    max-width: 680px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    line-height: 1.5;
    color: #b0b0b5;
}
.op-legal-disclaimer-box b {
    display: block;
    margin-bottom: 6px;
    color: #dedee2;
}
body.op-light-theme .op-legal-disclaimer-box {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #55555c;
}
body.op-light-theme .op-legal-disclaimer-box b {
    color: #1b1b1f;
}


body.op-light-theme #mediaModal {
    background: #f3f3f5 !important;
    color-scheme: light;
}
body.op-light-theme .media-preview-card {
    background: #f3f3f5 !important;
}
body.op-light-theme .media-viewer-header {
    background: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,.09);
}
body.op-light-theme .media-viewer-header h2,
body.op-light-theme .media-viewer-header .modal-close,
body.op-light-theme .media-viewer-actions button {
    color: #222225 !important;
}
body.op-light-theme .media-viewer-header .modal-close:hover,
body.op-light-theme .media-viewer-actions button:hover:not(:disabled) {
    background: rgba(0,0,0,.055) !important;
    color: #111114 !important;
}
body.op-light-theme #mediaModalContent {
    background: #ececee;
}
body.op-light-theme .media-preview-card img,
body.op-light-theme .media-preview-card video {
    background: #e4e4e7;
    color-scheme: light;
}
body.op-light-theme .media-modal-meta {
    background: rgba(255,255,255,.97) !important;
    border: 1px solid rgba(0,0,0,.09);
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
body.op-light-theme .media-modal-meta p {
    color: #5f5f66 !important;
}
body.op-light-theme .media-modal-meta strong {
    color: #202023 !important;
}



.op-language-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.op-language-copy b {
    color: inherit;
    font: 600 14px var(--font-heading, sans-serif);
}
.op-language-copy small {
    color: #96969b;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.35;
}
body.op-light-theme .op-language-copy small { color: #68686e; }

.friends-functional-qr-loading {
    width: 190px;
    height: 190px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    color: #a8a8ad;
    font-size: 12px;
}
.friends-functional-qr-loading i { font-size: 22px; }
body.op-light-theme .friends-functional-qr-loading { color: #64646a; }




.friends-page-grid .friend-online-platform {
    display: none !important;
}

.friends-page-grid .friend-game {
    color: #a6a6ab;
    font-weight: 400;
    margin-top: 4px;
}

.friends-page-grid .friend-game.friend-game-playing {
    color: #1fd46a;
    font-weight: 600;
    margin-top: 4px;
}

.friends-page-grid .friend-card:has(.friend-game-playing) .friend-avatar-wrap::after {
    content: '';
    display: block;
    position: absolute;
    right: -1px;
    bottom: 1px;
    width: 22px;
    height: 22px;
    border: 3px solid #303032;
    border-radius: 50%;
    background: #1fd46a;
    box-sizing: border-box;
    pointer-events: none;
}

.friends-page-grid .friend-card:hover:has(.friend-game-playing) .friend-avatar-wrap::after {
    border-color: #38383a;
}

body.op-light-theme .friends-page-grid .friend-game {
    color: #66666d !important;
}

body.op-light-theme .friends-page-grid .friend-game.friend-game-playing {
    color: #1aaf58 !important;
}

body.op-light-theme .friends-page-grid .friend-card:has(.friend-game-playing) .friend-avatar-wrap::after,
body.op-light-theme .friends-page-grid .friend-card:hover:has(.friend-game-playing) .friend-avatar-wrap::after {
    border-color: #fff;
}


.brand {
    min-width: 0;
}

.logo-icon {
    flex: 0 0 auto;
    min-width: 24px;
    overflow: visible;
}

.brand-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 360px) {
    .nav-container {
        padding-left: 14px;
        padding-right: 14px;
        gap: 10px;
    }

    .brand {
        margin-left: -14px;
    }

    .user-profile-menu {
        gap: 8px;
        flex: 0 0 auto;
    }
}

@media (max-width: 720px) {
    .logo-icon {
        min-width: 22px;
    }
}


.op-status-card {
    margin: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.op-status-card.op-status-active {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}
.op-status-card.op-status-cloud {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}
.op-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
}
.op-status-active .op-status-badge {
    color: #10b981;
}
.op-status-cloud .op-status-badge {
    color: #f59e0b;
}
.op-status-card p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.4;
}

body.op-light-theme .op-status-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}
body.op-light-theme .op-status-card.op-status-active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}
body.op-light-theme .op-status-card.op-status-cloud {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}
