.site-header__register[hidden], .site-header__login[hidden], .ticket-reply-form[hidden], footer a[hidden] { display: none !important; }
.site-header__member-tools[hidden], .site-header__profile-wrap[hidden], .site-header__profile-menu[hidden], .site-header__admin-link[hidden] { display: none !important; }
.product-features[hidden] { display: none !important; }
.site-header__member-tools { display: flex; align-items: center; gap: 6px; }
.site-header__download { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 14px; border: 1px solid #ffffff18; border-radius: 999px; color: #e9eae7; background: #1b1c1f80; box-shadow: 0 10px 25px #0003; backdrop-filter: blur(14px); white-space: nowrap; font-size: .83rem; font-weight: 650; }
.site-header__download { background: var(--lime); border-color: var(--lime); color: #172000; cursor: pointer; }
.site-header__download:disabled { cursor: not-allowed; opacity: .72; }
.site-header__download svg { width: 17px; height: 17px; }
.site-header .site-header__bell { width: 46px; padding: 0; }
.site-header__notification-wrap { position: relative; }
.site-header__bell { position: relative; }
.site-header__notification-dot[hidden], .site-header__notification-menu[hidden], .site-header__notification-clear[hidden] { display: none !important; }
.site-header__notification-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid #1b1c1f; border-radius: 50%; background: var(--lime); box-sizing: content-box; }
.site-header__notification-menu { position: absolute; z-index: 30; right: 0; top: calc(100% + 9px); width: min(325px, calc(100vw - 20px)); padding: 12px 14px; border: 1px solid #ffffff1c; border-radius: 18px; color: #e6e8e3; background: #111215ed; box-shadow: 0 24px 60px #0009; backdrop-filter: blur(22px); }
.site-header__notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; margin-bottom: 7px; }
.site-header__notification-heading strong { font-size: .88rem; }
.site-header__notification-clear { padding: 3px 0; border: 0; background: none; color: #92988f; font: inherit; font-size: .7rem; cursor: pointer; }
.site-header__notification-clear:hover { color: var(--lime); }
.site-header__notification-list { max-height: 360px; overflow-y: auto; }
.site-header__notification-empty { margin: 12px 0 5px; color: #a6aba3; font-size: .8rem; }
.site-header__notification-item { position: relative; display: grid; gap: 3px; padding: 10px 4px; border-top: 1px solid #ffffff10; color: #e2e5df; }
.site-header__notification-item:first-child { border-top: 0; }
.site-header__notification-item:hover { color: #fff; background: #ffffff08; }
.site-header__notification-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 650; }
.site-header__notification-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a4aaa1; font-size: .76rem; }
.site-header__notification-item small { color: #777e76; font-size: .72rem; }
.site-header__notification-item.is-unread::after { position: absolute; top: 15px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); content: ""; }
:root[data-theme="light"] .site-header__notification-menu { color: #252d21; background: #ffffffed; border-color: #cbd3c5a8; box-shadow: 0 24px 55px #17251422; }
:root[data-theme="light"] .site-header__notification-item { color: #263023; border-color: #dce3d6; }
:root[data-theme="light"] .site-header__notification-item:hover { background: #e8eee2; color: #172315; }
:root[data-theme="light"] .site-header__notification-item span, :root[data-theme="light"] .site-header__notification-empty { color: #6c7667; }
.site-header__profile-wrap { position: relative; }
.site-header .site-header__profile-trigger { max-width: 190px; gap: 9px; padding: 4px 13px 4px 5px; }
.site-header__avatar, .site-header__menu-avatar { width: 34px; height: 34px; flex: none; object-fit: cover; border-radius: 50%; background: #222; }
.site-header__username { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header__profile-menu { position: absolute; z-index: 30; right: 0; top: calc(100% + 9px); width: min(278px, calc(100vw - 20px)); padding: 8px; border: 1px solid #ffffff1c; border-radius: 17px; color: #e6e8e3; background: rgba(10, 10, 11, .78); box-shadow: 0 24px 60px #0009, inset 0 1px #ffffff0c; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.site-header__menu-profile { display: flex; align-items: center; gap: 10px; padding: 8px 7px; border-radius: 10px; color: inherit; }
.site-header__menu-profile:hover, .site-header__menu-item:not(.is-unavailable):hover { background: #ffffff11; }
.site-header__menu-profile > span { min-width: 0; flex: 1; }
.site-header__menu-profile strong, .site-header__menu-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header__menu-profile strong { font-size: .88rem; font-weight: 750; }
.site-header__menu-profile small { margin-top: 3px; color: #979b96; font-size: .75rem; }
.site-header__menu-profile > svg { width: 14px; height: 14px; color: #969b94; }
.site-header__menu-divider { height: 1px; margin: 6px 5px; background: #ffffff12; }
.site-header__menu-label { display: block; padding: 8px 8px 4px; color: #818680; font-size: .76rem; }
.site-header__menu-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; color: #d8dbd5; font: inherit; font-size: .84rem; font-weight: 700; text-align: left; cursor: pointer; }
.site-header__menu-item small { margin-left: auto; color: #7d837b; font-size: .67rem; font-weight: 500; }
.site-header__menu-item.is-unavailable { color: #858a84; cursor: default; }
.site-header__menu-item.is-unavailable small { display: none; }
.site-header__menu-icon { display: inline-grid; place-items: center; width: 19px; height: 19px; flex: none; color: #919690; font-size: 1rem; font-weight: 600; stroke-width: 2.2; }
.site-header .site-header__menu-logout { min-height: 35px; margin-top: 2px; background: transparent; color: #858a84; font-weight: 650; }
.site-header .site-header__menu-logout .site-header__menu-icon { color: #858a84; }
.site-header .site-header__menu-logout:hover, .site-header .site-header__menu-logout:focus-visible { background: #ffffff17; color: #ff9999; }
.site-header .site-header__menu-logout:hover .site-header__menu-icon, .site-header .site-header__menu-logout:focus-visible .site-header__menu-icon { color: #ff9999; }
:root[data-theme="light"] .site-header__profile-trigger { color: #252d21; background: #ffffffbc; border-color: #cbd3c5a8; }
:root[data-theme="light"] .site-header__profile-menu { color: #252d21; background: #ffffffec; border-color: #cbd3c5a8; box-shadow: 0 24px 55px #17251422; }
:root[data-theme="light"] .site-header__menu-item { color: #3d4739; }
:root[data-theme="light"] .site-header__menu-item.is-unavailable, :root[data-theme="light"] .site-header__menu-item small { color: #8c9589; }
:root[data-theme="light"] .site-header__menu-profile:hover, :root[data-theme="light"] .site-header__menu-item:not(.is-unavailable):hover { background: #e8eee2; }
:root[data-theme="light"] .site-header__menu-divider { background: #dce3d6; }
:root[data-theme="light"] .site-header .site-header__menu-logout { background: transparent; color: #7a8177; }
:root[data-theme="light"] .site-header .site-header__menu-logout .site-header__menu-icon { color: #7a8177; }
:root[data-theme="light"] .site-header .site-header__menu-logout:hover, :root[data-theme="light"] .site-header .site-header__menu-logout:focus-visible { background: #ffe8e8; color: #b22f37; }
:root[data-theme="light"] .site-header .site-header__menu-logout:hover .site-header__menu-icon, :root[data-theme="light"] .site-header .site-header__menu-logout:focus-visible .site-header__menu-icon { color: #b22f37; }
@media (max-width: 650px) { .site-header__download { display: none; } .site-header .site-header__profile-trigger { max-width: 130px; } .site-header__username { max-width: 80px; } .site-header__member-tools { gap: 4px; } }
.auth-privacy-note { margin: 2px 0 0; color: #989e96; font-size: .78rem; line-height: 1.45; }
.ticket-reply-form { display: grid; gap: 10px; margin-top: 16px; padding: 18px; border: 1px solid #ffffff18; border-radius: 15px; background: #111214; }
.ticket-reply-form label { color: #dce0d8; font-weight: 650; }
.ticket-reply-form textarea { width: 100%; min-height: 110px; padding: 12px; border: 1px solid #ffffff20; border-radius: 11px; background: #1a1c1a; color: #f4f6f0; resize: vertical; }
.ticket-reply-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.ticket-reply-actions .button { min-height: 40px; }
#ticket-reply-feedback, #profile-action-feedback { color: #ffaba9; font-size: .82rem; }
#profile-action-fields { display: grid; gap: 12px; }
#profile-action-fields label { display: grid; gap: 6px; color: #c4c8c0; font-size: .84rem; }
#profile-action-fields input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #ffffff20; border-radius: 10px; background: #181a1b; color: #f4f6f0; }
#profile-action-form > button { width: 100%; }
:root[data-theme="light"] .ticket-reply-form, :root[data-theme="light"] #profile-action-fields input { background: #fff; border-color: #dce3d6; color: #263023; }
:root[data-theme="light"] .ticket-reply-form textarea { background: #f6f8f4; border-color: #dce3d6; color: #263023; }
:root[data-theme="light"] .ticket-reply-form label, :root[data-theme="light"] #profile-action-fields label { color: #4a5547; }
.faq-page { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 46px; padding-top: 55px; padding-bottom: 100px; align-items: start; }
.faq-page[hidden] { display: none !important; }
.faq-sidebar { position: sticky; top: 83px; display: grid; gap: 2px; padding: 12px 9px; border: 1px solid #ffffff10; border-radius: 18px; background: #17181a; }
.faq-sidebar p { margin: 8px 10px 5px; color: #888c88; font-size: .78rem; font-weight: 650; }
.faq-sidebar button { width: 100%; padding: 9px 11px; border: 0; border-radius: 9px; background: transparent; color: #aeb1ac; font: inherit; font-size: .83rem; font-weight: 620; text-align: left; cursor: pointer; }
.faq-sidebar button:hover, .faq-sidebar button[aria-current="page"] { background: #2a2b2e; color: #f4f5f3; }
.faq-content { max-width: 790px; }
.faq-content h1 { margin: 1px 0 15px; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.045em; }
.faq-content h2 { margin: 0 0 16px; font-size: 1.35rem; letter-spacing: -.03em; }
.faq-intro, .faq-group > p { margin: 0 0 25px; color: #a5aaa3; font-size: .94rem; line-height: 1.65; }
.faq-content a { color: var(--lime); }
.faq-content a:hover { text-decoration: underline; }
.faq-group { scroll-margin-top: 92px; margin-bottom: 46px; }
.faq-group[hidden] { display: none !important; }
.faq-steps { margin: 25px 0 28px; padding: 0; counter-reset: step; list-style: none; }
.faq-steps li { position: relative; min-height: 74px; margin-left: 13px; padding: 0 0 24px 30px; border-left: 1px solid #303337; counter-increment: step; }
.faq-steps li:last-child { border-left-color: transparent; }
.faq-steps li::before { position: absolute; top: 0; left: -14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2a2c30; color: #e5e7e3; content: counter(step); font-size: .78rem; font-weight: 700; }
.faq-steps strong { display: block; padding-top: 2px; color: #e7e9e5; font-size: .94rem; }
.faq-steps p { margin: 5px 0 0; color: #a6aba4; font-size: .88rem; line-height: 1.6; }
.faq-callout { padding: 17px 19px; border: 1px solid #ffffff0b; border-radius: 12px; background: #17191e; }
.faq-callout strong { color: #e8eae6; font-size: .87rem; }
.faq-callout p { margin: 5px 0 0; color: #a9ada7; font-size: .84rem; line-height: 1.55; }
.faq-group details { margin-bottom: 9px; border: 1px solid #292b2d; border-radius: 11px; background: #0b0c0e; overflow: hidden; }
.faq-group summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 16px; color: #e6e8e3; font-size: .89rem; font-weight: 680; cursor: pointer; list-style: none; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "⌄"; color: #8a8e88; font-size: 1.1rem; line-height: 1; transition: transform .2s; }
.faq-group details[open] summary::after { transform: rotate(180deg); }
.faq-group details p { margin: 0; padding: 0 16px 17px; color: #a8ada6; font-size: .84rem; line-height: 1.65; }
:root[data-theme="light"] .faq-sidebar { background: #f2f4ef; border-color: #dce3d6; }
:root[data-theme="light"] .faq-sidebar button { color: #596354; }
:root[data-theme="light"] .faq-sidebar button:hover, :root[data-theme="light"] .faq-sidebar button[aria-current="page"] { background: #dfe6da; color: #1e2a1c; }
:root[data-theme="light"] .faq-group details { background: #fff; border-color: #dce3d6; }
:root[data-theme="light"] .faq-group summary { color: #253021; }
:root[data-theme="light"] .faq-group details p, :root[data-theme="light"] .faq-intro, :root[data-theme="light"] .faq-group > p { color: #5d6859; }
:root[data-theme="light"] .faq-steps li { border-left-color: #d4ddd0; }
:root[data-theme="light"] .faq-steps li:last-child { border-left-color: transparent; }
:root[data-theme="light"] .faq-steps li::before { background: #e2e9dc; color: #263023; }
:root[data-theme="light"] .faq-steps strong, :root[data-theme="light"] .faq-callout strong { color: #263023; }
:root[data-theme="light"] .faq-steps p, :root[data-theme="light"] .faq-callout p { color: #5d6859; }
:root[data-theme="light"] .faq-callout { background: #eef2e9; border-color: #dce3d6; }
@media (max-width: 760px) { .faq-page { grid-template-columns: 1fr; gap: 25px; padding-top: 28px; } .faq-sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); } .faq-sidebar p { grid-column: 1 / -1; } }

/* Profile settings */
.profile-page .profile-grid { grid-template-columns: minmax(0,1.45fr) minmax(350px,1fr); gap: 14px; align-items: start; }
.profile-page .profile-grid > .panel { padding: 19px 18px 17px; border: 1px solid #ffffff18; border-radius: 18px; background: #08090a; box-shadow: 0 18px 38px #0004; }
.profile-page .profile-grid h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.profile-chat-visibility { padding: 8px 13px; border-radius: 999px; background: #292b2e; color: #f2f3f0; font-size: .78rem; font-weight: 750; }
.profile-chat-empty { min-height: 330px; margin: 18px 0 12px; border-color: #ffffff1b; border-radius: 10px; background: #141516; color: #8c908d; font-size: .88rem; }
.profile-chat-compose { display: flex; align-items: center; gap: 8px; }
.profile-chat-compose input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #151617; color: #7e837d; font-size: .84rem; }
.profile-chat-compose input:disabled { opacity: 1; cursor: not-allowed; }
.profile-chat-compose button { flex: 0 0 40px; height: 40px; border: 0; border-radius: 50%; background: #283e1b; color: #a4c881; font-size: 1.4rem; cursor: not-allowed; }
.profile-chat-note { margin: 12px 0 0; color: #898e88; font-size: .78rem; }
.profile-chat-note a { color: var(--lime); }
.profile-account-group { gap: 10px; margin-top: 18px; }
.profile-account-group + .profile-account-group { padding-top: 17px; border-color: #ffffff13; }
.profile-account h3 { margin: 0; color: #898e89; font-size: .78rem; font-weight: 600; }
.profile-account-row { flex-wrap: nowrap; justify-content: flex-start; gap: 7px; }
.profile-account-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e4e7e2; font-size: .88rem; }
.profile-icon-button { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; padding: 3px; border: 0; border-radius: 6px; background: transparent; color: #858a84; cursor: pointer; }
.profile-icon-button:hover { background: #252725; color: var(--lime); }
.profile-icon-button svg, .profile-setting-link svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-email-edit { margin-left: auto; }
.profile-setting-unavailable { display: flex; align-items: center; gap: 10px; min-height: 30px; color: #9a9e99; font-size: .84rem; }
.profile-setting-unavailable small { margin-left: auto; color: #717771; font-size: .7rem; }
.profile-switch { position: relative; flex: 0 0 32px; width: 32px; height: 19px; border: 1px solid #4b4f4a; border-radius: 12px; background: #222423; }
.profile-switch::before { position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #8b908a; content: ""; }
.profile-setting-link { display: inline-flex; align-items: center; justify-self: start; gap: 9px; padding: 3px 0; border: 0; background: transparent; color: #a3a8a1; font: inherit; font-size: .86rem; text-decoration: none; cursor: pointer; }
.profile-setting-link:hover { color: var(--lime); }
:root[data-theme="light"] .profile-page .profile-grid > .panel { background: #fff; border-color: #dce3d6; box-shadow: 0 14px 30px #26351e13; }
:root[data-theme="light"] .profile-chat-visibility { background: #e9eee4; color: #34452e; }
:root[data-theme="light"] .profile-chat-empty, :root[data-theme="light"] .profile-chat-compose input { background: #f3f6f0; border-color: #dce3d6; color: #5c6758; }
:root[data-theme="light"] .profile-account-row strong { color: #253021; }
:root[data-theme="light"] .profile-account-group + .profile-account-group { border-color: #e2e8de; }
:root[data-theme="light"] .profile-setting-link, :root[data-theme="light"] .profile-setting-unavailable { color: #596553; }
@media (max-width: 800px) { .profile-page .profile-grid { grid-template-columns: 1fr; } .profile-chat-empty { min-height: 250px; } }
.profile-setting-link { font-weight: 540; color: #9fa39e; }
.profile-setting-link svg { width: 17px; height: 17px; stroke-width: 1.75; }
.profile-chat-empty { min-height: 280px; background: #111213; }
.profile-chat-compose input { border: 1px solid #ffffff14; background: #191a1b; }
.profile-chat-compose input::placeholder { color: #858a84; opacity: 1; }
.profile-chat-note { padding-bottom: 1px; }
:root[data-theme="light"] .profile-setting-link { color: #34402f; }
@media (max-width: 800px) { .profile-chat-empty { min-height: 230px; } }

/* Profile edit dialog uses the same neutral surface as the ticket composer. */
#profile-action-dialog { width: min(460px, calc(100% - 32px)); padding: 22px; border: 1px solid #ffffff18; border-radius: 20px; background: #0b0b0d; box-shadow: 0 28px 90px #000b; }
#profile-action-dialog .auth-heading h2 { font-size: 1.35rem; letter-spacing: -.035em; }
#profile-action-dialog .auth-heading .auth-close { border-color: transparent; background: transparent; color: #92959a; }
#profile-action-dialog .auth-heading .auth-close:hover { background: #ffffff12; color: #f4f6f0; }
#profile-action-form { gap: 15px; margin-top: 18px; }
#profile-action-fields label { color: #9da09e; font-size: .82rem; font-weight: 600; }
#profile-action-fields input { min-height: 43px; border-color: #ffffff18; border-radius: 11px; background: #1b1b1e; }
#profile-action-fields input:focus-visible { outline: none; border-color: #9da29c; box-shadow: 0 0 0 2px #ffffff16; }
#profile-action-form > button { min-height: 43px; border-radius: 999px; }
:root[data-theme="light"] #profile-action-dialog { background: #fff; border-color: #dce3d6; }
:root[data-theme="light"] #profile-action-fields input { background: #f2f4ef; border-color: #dce3d6; }
:root[data-theme="light"] #profile-action-fields input:focus-visible { border-color: #9ca997; box-shadow: 0 0 0 2px #25302114; }
.external-game-price--unavailable strong { color: #c9ceca; font-size: 1.08rem; }
.product-page__purchase button:disabled { cursor: not-allowed; background: #303337; border-color: #ffffff18; color: #a5aaa6; }

/* Administrator workspace */
.admin-toolbar { display: flex; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--edge); }
.admin-toolbar input { flex: 1; min-width: 170px; border-radius: 999px; }
.admin-toolbar select, .admin-toolbar button { min-height: 39px; padding: 8px 13px; border: 1px solid var(--edge-light); border-radius: 999px; background: var(--field); color: var(--ink); font: inherit; font-size: .82rem; }
.admin-toolbar button { cursor: pointer; }
.admin-toolbar button:hover { border-color: var(--lime); }
.admin-feedback { margin: 0; padding: 10px 18px; border-bottom: 1px solid var(--edge); color: var(--lime); font-size: .83rem; }
.admin-table-note { margin: 0; padding: 12px 18px; border-top: 1px solid var(--edge); color: var(--muted); font-size: .78rem; }
.admin-account-cell { display: grid; gap: 4px; }
.admin-account-cell small { color: var(--muted); font-size: .73rem; font-weight: 400; }
.admin-badge { display: inline-block; padding: 5px 9px; border: 1px solid var(--edge-light); border-radius: 999px; font-size: .75rem; font-weight: 650; }
.admin-badge.active { color: #bdf3a7; border-color: #74ad5f48; background: #29462545; }
.admin-badge.muted { color: var(--muted); background: var(--field); }
.admin-row-actions { display: flex; align-items: center; gap: 7px; }
.admin-row-action { padding: 6px 10px; border: 1px solid var(--edge-light); border-radius: 8px; background: var(--field); color: var(--ink); font: inherit; font-size: .78rem; cursor: pointer; }
.admin-row-action:hover { border-color: var(--lime); color: var(--lime); }
.admin-row-action.danger:hover { border-color: #d87878; color: #f29494; }
.admin-ticket-link { color: var(--ink); font-weight: 650; text-decoration: none; }
.admin-ticket-link:hover { color: var(--lime); }
.admin-edit-form { display: grid; gap: 15px; margin-top: 19px; }
.admin-edit-form > p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.admin-edit-form label { display: grid; gap: 7px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.admin-edit-form :is(input, select) { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--edge-light); border-radius: 10px; background: var(--field); color: var(--ink); font: inherit; }
.styled-select { position: relative; min-width: 0; }
.styled-select[hidden], .styled-select > select { display: none !important; }
.styled-select__toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 43px; padding: 0 14px; border: 1px solid #ffffff21; border-radius: 12px; background: #1b1c20; color: #e8eae6; font: inherit; font-size: .84rem; font-weight: 650; text-align: left; cursor: pointer; }
.styled-select__toggle:hover, .styled-select__toggle[aria-expanded="true"] { border-color: #ffffff52; background: #222328; }
.styled-select__toggle:focus-visible, .styled-select__option:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.styled-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.styled-select__chevron { flex: none; width: 8px; height: 8px; margin: -4px 2px 0 auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .18s; }
.styled-select__toggle[aria-expanded="true"] .styled-select__chevron { margin-top: 4px; transform: rotate(225deg); }
.styled-select__menu { position: absolute; z-index: 60; top: calc(100% + 7px); left: 0; width: 100%; max-height: min(240px, 45vh); overflow-y: auto; padding: 8px; border: 1px solid #ffffff23; border-radius: 16px; background: #0d0e10f2; box-shadow: 0 18px 50px #000a; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.styled-select__menu[hidden] { display: none; }
.styled-select__menu[data-placement="above"] { top: auto; bottom: calc(100% + 7px); }
.styled-select__option { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 38px; padding: 8px 11px; border: 0; border-radius: 10px; background: transparent; color: #b9bdb8; font: inherit; font-size: .83rem; text-align: left; cursor: pointer; }
.styled-select__option:hover, .styled-select__option:focus-visible, .styled-select__option[aria-selected="true"] { background: #ffffff0e; color: #f5f7f2; }
.styled-select__option[aria-selected="true"]::after { content: "✓"; color: var(--lime); font-weight: 750; }
.admin-toolbar .styled-select { flex: 0 1 190px; }
.admin-toolbar .styled-select__toggle { min-height: 40px; border-radius: 10px; }
#preview-dialog:has(.styled-select__menu:not([hidden])) { overflow: visible; }
:root[data-theme="light"] .styled-select__toggle { border-color: #dce3d6; background: #f7f9f4; color: #263023; }
:root[data-theme="light"] .styled-select__toggle:hover, :root[data-theme="light"] .styled-select__toggle[aria-expanded="true"] { border-color: #aebda7; background: #edf3e8; }
:root[data-theme="light"] .styled-select__menu { border-color: #dce3d6; background: #fffffff2; box-shadow: 0 18px 45px #24301922; }
:root[data-theme="light"] .styled-select__option { color: #5c6858; }
:root[data-theme="light"] .styled-select__option:hover, :root[data-theme="light"] .styled-select__option:focus-visible, :root[data-theme="light"] .styled-select__option[aria-selected="true"] { background: #eef3e8; color: #263023; }
.admin-form-feedback { color: #f29494 !important; }
[data-page="admin"] .metrics { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 760px) { [data-page="admin"] .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); } .admin-toolbar { flex-wrap: wrap; } }
:root[data-theme="light"] .admin-badge.active { color: #347322; background: #e9f4e2; }

/* Subscription cards on the profile */
.profile-subscriptions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.profile-subscriptions h2 { grid-column: 1 / -1; margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.profile-subscription-card { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 168px; overflow: hidden; padding: 22px 26px; border: 1px solid #ffffff19; border-radius: 18px; background: #101510; color: #f5f7f3; text-decoration: none; }
.profile-subscription-card[hidden], .profile-subscription-empty[hidden] { display: none; }
.profile-subscription-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; opacity: .66; }
.profile-subscription-card::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #080a09ed 0%, #0b0f0cbb 44%, #10180c3d 100%), linear-gradient(0deg, #080a09bf, transparent 80%); content: ""; }
.profile-subscription-card__content { display: grid; gap: 7px; }
.profile-subscription-card__content strong { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.035em; }
.profile-subscription-card__status { justify-self: start; padding: 4px 9px; border: 1px solid #b3e66b78; border-radius: 999px; background: #1c351b95; color: #d5f2bd; font-size: .73rem; font-weight: 700; }
#profile-robrun-expiry { color: #d1d8cb; font-size: .82rem; }
.profile-subscription-card__arrow { margin: auto 0 auto auto; color: #e7ede2; font-size: 1.8rem; line-height: 1; }
.profile-subscription-card:hover { border-color: #c6f82272; }
#profile-cs2-card { background: #17100b; }
#profile-cs2-card > img { object-position: center top; }
#profile-cs2-card::before { background: linear-gradient(90deg, #0c0908f2 0%, #140c09c9 48%, #31160930 100%), linear-gradient(0deg, #100b09c7, transparent 80%); }
#profile-cs2-card:hover { border-color: #f28a288c; }
#profile-cs2-card .profile-subscription-card__status { border-color: #f28a288c; background: #51250eaa; color: #ffc686; }
.profile-subscription-card.is-inactive .profile-subscription-card__status { border-color: #ffffff47; background: #222a28aa; color: #c6cfca; }
#profile-robrun-expiry, #profile-cs2-expiry { color: #d1d8cb; font-size: .82rem; }
.profile-subscription-empty { grid-column: 1 / -1; margin: 0; padding: 22px 24px; border: 1px solid var(--edge); border-radius: 17px; background: var(--surface); color: var(--muted); font-size: .88rem; }
.profile-subscription-empty a { color: var(--lime); }
:root[data-theme="light"] .profile-subscription-empty a { color: #537300; }
@media (max-width: 720px) { .profile-subscriptions { grid-template-columns: 1fr; } }

/* Subscriber chat */
.profile-chat-feed { position: relative; min-height: 280px; height: 330px; overflow-y: auto; margin: 18px 0 12px; padding: 14px; border: 1px solid #ffffff1b; border-radius: 10px; background: #111213; }
#profile-chat-messages { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
#profile-chat-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; color: #8c908d; font-size: .88rem; text-align: center; pointer-events: none; }
#profile-chat-status[hidden] { display: none; }
.profile-chat-message { max-width: 92%; padding: 10px 12px; border: 1px solid #ffffff10; border-radius: 12px; background: #1c1d1e; }
.profile-chat-message.is-mine { justify-self: end; background: #26331e; border-color: #9ecc5a2b; }
.profile-chat-message { display: flex; align-items: flex-start; gap: 9px; padding: 0; border: 0; background: transparent; }
.profile-chat-message.is-mine { flex-direction: row-reverse; background: transparent; border: 0; }
.profile-chat-message__avatar { flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #ffffff28; border-radius: 50%; object-fit: cover; background: #202420; }
.profile-chat-message__bubble { min-width: 0; padding: 10px 12px; border: 1px solid #ffffff10; border-radius: 12px; background: #1c1d1e; }
.profile-chat-message.is-mine .profile-chat-message__bubble { background: #26331e; border-color: #9ecc5a2b; }
.profile-chat-message__heading { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.profile-chat-message__heading strong { color: #d6ebc7; font-size: .76rem; }
.profile-chat-message__heading time { color: #929991; font-size: .68rem; }
.profile-chat-message p { margin: 0; color: #e0e4dd; font-size: .86rem; line-height: 1.48; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-chat-remove { margin-left: auto; padding: 2px 4px; border: 0; background: transparent; color: #b2a1a1; font-size: .68rem; cursor: pointer; }
.profile-chat-remove:hover { color: #f39b9b; }
.profile-chat-compose input:not(:disabled) { color: #f4f6f0; }
.profile-chat-compose button:not(:disabled) { background: var(--lime); color: #192205; cursor: pointer; }
.profile-chat-compose button:not(:disabled):hover { filter: brightness(1.08); }
:root[data-theme="light"] .profile-chat-feed { background: #f3f6f0; border-color: #dce3d6; }
:root[data-theme="light"] .profile-chat-message { background: #fff; border-color: #dce3d6; }
:root[data-theme="light"] .profile-chat-message.is-mine { background: #e9f3df; }
:root[data-theme="light"] .profile-chat-message p { color: #263023; }
:root[data-theme="light"] .profile-chat-message__heading strong { color: #36552a; }
:root[data-theme="light"] .profile-chat-message__bubble { background: #fff; border-color: #dce3d6; }
:root[data-theme="light"] .profile-chat-message.is-mine .profile-chat-message__bubble { background: #e9f3df; }
:root[data-theme="light"] .profile-chat-message, :root[data-theme="light"] .profile-chat-message.is-mine { background: transparent; border: 0; }
.product-page.product-page--apex { min-height: 0; }
@media (max-width: 800px) { .profile-chat-feed { height: 280px; min-height: 230px; } }

/* Admin dashboard */
[data-page="admin"].admin-page { width: min(1480px, calc(100% - 48px)); min-height: 78vh; padding: 28px 0 72px; }
.admin-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 22px; align-items: start; }
.admin-sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; min-height: 660px; padding: 20px 13px 15px; border: 1px solid var(--edge); border-radius: 20px; background: #141619; }
.admin-sidebar__brand { display: flex; align-items: center; gap: 11px; padding: 3px 12px 22px; border-bottom: 1px solid #ffffff12; }
.admin-sidebar__mark { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 12px; background: #c6f822; color: #131900; font-size: .96rem; font-weight: 850; letter-spacing: -.08em; }
.admin-sidebar__brand strong, .admin-sidebar__brand small { display: block; line-height: 1.25; }
.admin-sidebar__brand strong { font-size: .96rem; letter-spacing: -.03em; }
.admin-sidebar__brand small { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.admin-sidebar__label { margin: 24px 12px 9px; color: #7d8380; font-size: .67rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.admin-sidebar__overview, .admin-nav button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 9px 13px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #aeb4af; font: inherit; font-size: .84rem; font-weight: 620; text-align: left; }
.admin-sidebar__overview { color: var(--ink); }
.admin-sidebar svg, .admin-refresh svg, .admin-search-wrap svg { width: 18px; height: 18px; flex: none; }
.admin-sidebar__overview svg { color: var(--lime); }
.admin-nav { display: grid; gap: 3px; }
.admin-nav button:hover { background: #ffffff0b; color: var(--ink); }
.admin-nav button[aria-pressed="true"] { border-color: #c6f82225; background: #c6f82216; color: var(--lime); }
.admin-sidebar__foot { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 18px 12px 0; border-top: 1px solid #ffffff12; color: var(--muted); font-size: .76rem; }
.admin-sidebar__status { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #c6f82215; }
.admin-main { min-width: 0; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 102px; margin-bottom: 17px; }
.admin-kicker { color: #8b918d; font-size: .67rem; font-weight: 800; letter-spacing: .14em; }
.admin-header h1 { margin: 5px 0 7px; font-size: clamp(2rem, 3vw, 2.55rem); }
.admin-header p:last-child { color: var(--muted); font-size: .87rem; }
.admin-refresh { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 13px; border: 1px solid var(--edge-light); border-radius: 10px; background: #1a1c1f; color: var(--ink); font: inherit; font-size: .79rem; font-weight: 650; white-space: nowrap; }
.admin-refresh:hover { border-color: #c6f82280; }
[data-page="admin"] .admin-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-metric { position: relative; min-height: 151px; align-content: start; gap: 4px; padding: 18px; overflow: hidden; border-radius: 16px; background: #191b1e; }
.admin-metric::after { content: ""; position: absolute; width: 105px; height: 105px; right: -50px; top: -50px; border: 1px solid #ffffff0b; border-radius: 50%; }
.admin-metric .admin-metric__icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 10px; border-radius: 9px; background: #c6f82216; color: var(--lime); font-size: 1rem; line-height: 1; }
.admin-metric > span:not(.admin-metric__icon) { color: #aaafaa; font-size: .78rem; }
.admin-metric strong { font-size: 1.95rem; letter-spacing: -.06em; }
.admin-metric small { color: #7f8580; font-size: .7rem; }
.admin-data-panel { overflow: hidden; border-radius: 17px; background: #141619; }
.admin-panel-heading { padding: 19px 22px; }
.admin-panel-heading h2 { margin-top: 4px; font-size: 1.32rem; }
.admin-panel-heading > span { font-size: .78rem; }
.admin-data-panel .admin-toolbar { gap: 10px; padding: 14px 22px; }
.admin-search-wrap { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 170px; padding: 0 13px; border: 1px solid var(--edge-light); border-radius: 10px; background: #101214; color: #858b86; }
.admin-search-wrap:focus-within { border-color: #c6f8228a; }
.admin-search-wrap input { width: 100%; min-width: 0; min-height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.admin-data-panel .admin-toolbar select { min-height: 40px; padding-inline: 12px; border-radius: 10px; background: #1e2023; }
.admin-data-panel th { padding-top: 12px; padding-bottom: 12px; background: #191b1e; color: #9da39e; font-size: .73rem; font-weight: 700; letter-spacing: .025em; }
.admin-data-panel td { padding-top: 15px; padding-bottom: 15px; font-size: .82rem; }
.admin-data-panel tbody tr:hover { background: #ffffff07; }
.admin-data-panel .admin-row-actions { flex-wrap: wrap; min-width: 230px; }
.admin-data-panel .table-scroll { overflow-x: hidden; }
.admin-data-panel table { table-layout: fixed; }
.admin-data-panel th, .admin-data-panel td { padding-inline: 12px; white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
.admin-data-panel .admin-row-actions { min-width: 0; }
.admin-data-panel .admin-row-action { white-space: nowrap; }
.admin-data-panel .admin-account-cell { min-width: 0; }
.admin-data-panel .admin-account-cell small { overflow-wrap: anywhere; }
.admin-data-panel .admin-report-message { min-width: 0; }
#admin-records-panel[data-view="users"] :is(th, td):nth-child(1) { width: 18%; }
#admin-records-panel[data-view="users"] :is(th, td):nth-child(2) { width: 20%; }
#admin-records-panel[data-view="users"] :is(th, td):nth-child(3) { width: 8%; }
#admin-records-panel[data-view="users"] :is(th, td):nth-child(4) { width: 9%; }
#admin-records-panel[data-view="users"] :is(th, td):nth-child(5) { width: 26%; }
#admin-records-panel[data-view="users"] :is(th, td):nth-child(6) { width: 19%; }
.admin-data-panel .admin-badge.muted { color: #a9adb0; }
.admin-data-panel .admin-row-action.danger { color: #e79a9a; }
.admin-data-panel .admin-row-action.danger:hover { background: #b3404020; }
.admin-data-panel .admin-table-note { padding: 13px 22px; }
.admin-report-message { display: grid; gap: 3px; min-width: 220px; max-width: 440px; }
.admin-report-message strong { color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.admin-report-message small { display: -webkit-box; max-width: 100%; overflow: hidden; color: var(--muted); font-size: .76rem; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.admin-report-detail { display: grid; gap: 18px; min-width: 0; }
.admin-report-detail__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.admin-report-detail__meta > div { display: grid; gap: 3px; min-width: 0; }
.admin-report-detail__meta span { color: var(--muted); font-size: .78rem; }
.admin-report-detail__meta strong { font-size: .85rem; overflow-wrap: anywhere; }
.admin-report-detail h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.admin-report-detail__body { max-height: min(50vh, 480px); margin: 0; padding: 16px; overflow: auto; border: 1px solid var(--edge); border-radius: 12px; background: var(--field); color: var(--ink); font: .8rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-report-detail__empty { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .admin-report-detail__meta { grid-template-columns: 1fr; } }
@media (max-width: 1050px) { .admin-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 15px; } [data-page="admin"] .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { [data-page="admin"].admin-page { width: min(100% - 28px, 620px); padding-top: 12px; } .admin-layout { display: block; } .admin-sidebar { position: static; min-height: 0; margin-bottom: 15px; padding: 13px; } .admin-sidebar__brand { padding-bottom: 12px; } .admin-sidebar__label, .admin-sidebar__overview, .admin-sidebar__foot { display: none; } .admin-nav { display: flex; gap: 5px; margin-top: 12px; overflow-x: auto; } .admin-nav button { justify-content: center; width: auto; min-width: max-content; padding-inline: 11px; } .admin-nav button svg { width: 15px; height: 15px; } .admin-header { min-height: 80px; } .admin-header h1 { font-size: 2rem; } .admin-panel-heading > span { display: none; } .admin-data-panel .admin-toolbar { flex-wrap: wrap; } .admin-search-wrap { min-width: 100%; } }
@media (max-width: 760px) {
  .admin-data-panel table, .admin-data-panel tbody, .admin-data-panel tr { display: block; width: 100%; }
  .admin-data-panel thead { display: none; }
  .admin-data-panel tbody tr { padding: 9px 14px; border-top: 1px solid var(--edge); }
  .admin-data-panel tbody td, #admin-records-panel[data-view="users"] tbody td:nth-child(n) { display: grid; grid-template-columns: minmax(88px, 32%) minmax(0, 1fr); gap: 10px; width: 100%; padding: 8px 0; border: 0; }
  .admin-data-panel tbody td::before { content: attr(data-label); color: var(--muted); font-size: .75rem; font-weight: 650; }
  .admin-data-panel tbody td[colspan] { display: block; }
  .admin-data-panel tbody td[colspan]::before { content: none; }
}
@media (max-width: 440px) { [data-page="admin"] .admin-metrics { gap: 8px; } .admin-metric { min-height: 137px; padding: 13px; } .admin-refresh { font-size: 0; gap: 0; } .admin-refresh svg { width: 19px; height: 19px; } }
@media (max-width: 440px) { #admin-edit-prices { font-size: .79rem; padding-inline: 10px; } }
:root[data-theme="light"] .admin-sidebar, :root[data-theme="light"] .admin-data-panel { background: #fff; }
:root[data-theme="light"] .admin-sidebar__brand, :root[data-theme="light"] .admin-sidebar__foot { border-color: #e2e7df; }
:root[data-theme="light"] .admin-sidebar__label, :root[data-theme="light"] .admin-kicker { color: #747c72; }
:root[data-theme="light"] .admin-sidebar__overview, :root[data-theme="light"] .admin-nav button { color: #555e55; }
:root[data-theme="light"] .admin-nav button[aria-pressed="true"] { color: #416b04; background: #eaf4da; }
:root[data-theme="light"] .admin-metric, :root[data-theme="light"] .admin-data-panel th { background: #f7f9f4; }
:root[data-theme="light"] .admin-metric > span:not(.admin-metric__icon) { color: #697268; }
:root[data-theme="light"] .admin-search-wrap, :root[data-theme="light"] .admin-refresh, :root[data-theme="light"] .admin-data-panel .admin-toolbar select { background: #f7f9f4; }
:root[data-theme="light"] .admin-data-panel tbody tr:hover { background: #f6f9f1; }

/* Fade the product artwork and feature area into the site footer. */
body:has([data-page="product"]:not([hidden]):not(.product-page--apex)) .footer {
  background: linear-gradient(180deg, #0b0b0d 0%, #0c0d0f 42%, #0d0e10 100%);
}
:root[data-theme="light"] body:has([data-page="product"]:not([hidden]):not(.product-page--apex)) .footer {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8f3 42%, #ecf0e8 100%);
}

/* Keep every newly cropped interface screenshot fully visible in the gallery. */
.home-market .mcard__media { background: #101318; }
.home-market .mcard__media img { object-fit: contain; object-position: center; }

.crypto-checkout { display: grid; gap: 12px; color: var(--ink); }
.crypto-checkout__summary { margin: 0; font-weight: 700; }
.crypto-checkout__order, .crypto-checkout__hint { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.crypto-checkout__hint { margin: 0; }
.crypto-checkout__status { margin: 0; padding: 10px 12px; border: 1px solid var(--edge-light); border-radius: 11px; background: var(--field); font-weight: 650; }
.crypto-checkout__status[data-status="paid"] { color: #b8ee83; border-color: #a9da4766; }
.crypto-checkout__status[data-status="failed"] { color: #e99999; }
#dialog-body .crypto-checkout__qr { width: 190px; height: 190px; max-width: 100%; max-height: none; margin: 0 auto; padding: 8px; border-radius: 12px; background: #fff; object-fit: contain; }
.crypto-checkout__label { display: grid; gap: 8px; color: var(--muted); font-size: .79rem; font-weight: 650; }
.crypto-checkout__amount { font-size: 1.35rem; overflow-wrap: anywhere; }
.crypto-checkout__address-row { display: flex; align-items: center; gap: 8px; }
.crypto-checkout__address { display: block; padding: 10px; border: 1px solid var(--edge-light); border-radius: 9px; background: var(--field); color: var(--ink); overflow-wrap: anywhere; font-size: .78rem; }
.crypto-checkout__address-row .crypto-checkout__address { flex: 1; min-width: 0; }
.crypto-checkout__copy { justify-self: start; padding: 7px 11px; border: 1px solid var(--edge-light); border-radius: 9px; background: var(--field); color: var(--ink); font: inherit; font-size: .78rem; font-weight: 650; cursor: pointer; }
.crypto-checkout__copy:hover { border-color: var(--lime); }
.crypto-checkout__select { min-height: 42px; padding: 8px 11px; border: 1px solid var(--edge-light); border-radius: 10px; background: var(--field); color: var(--ink); font: inherit; }
.crypto-checkout__start { margin-top: 5px; }
.crypto-checkout[data-status="expired"] :is(.crypto-checkout__qr, .crypto-checkout__amount, .crypto-checkout__address, .crypto-checkout__address-row, .crypto-checkout__copy, .crypto-checkout__label),
.crypto-checkout[data-status="failed"] :is(.crypto-checkout__qr, .crypto-checkout__amount, .crypto-checkout__address, .crypto-checkout__address-row, .crypto-checkout__copy, .crypto-checkout__label) { display: none !important; }


/* Administrative lists and checkout picker */
.admin-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--edge); }
.admin-pagination p { margin: 0; color: var(--muted); font-size: .78rem; }
.admin-pagination > div { display: flex; gap: 7px; }
.admin-pagination button:disabled, #admin-chat-toggle:disabled { opacity: .48; cursor: default; }
.profile-chat-compose[hidden] { display: none; }

.crypto-picker { display: grid; gap: 7px; }
.crypto-picker__toggle { width: 100%; min-height: 44px; border-radius: 13px; }
.crypto-picker__chevron { width: 8px; height: 8px; margin: -4px 3px 0 auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.crypto-picker__toggle[aria-expanded="true"] .crypto-picker__chevron { margin-top: 4px; transform: rotate(225deg); }
.crypto-picker__menu { position: relative; inset: auto; width: 100%; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 8px; }
.crypto-picker__menu > button { min-height: 40px; margin: 0; border: 1px solid transparent; background: transparent; font-weight: 550; }
.crypto-picker__menu > button[aria-selected="true"] { grid-column: 1 / -1; grid-row: 1; border-color: var(--edge-light); }
.crypto-picker__menu > button:focus-visible, .crypto-picker__toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.crypto-picker__coin { display: flex; align-items: center; gap: 9px; min-width: 0; }
.crypto-picker__coin small { color: var(--muted); font-size: .72rem; font-weight: 650; }
.crypto-picker__icon { position: relative; flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--edge-light); color: #fff; font: 700 16px/1 system-ui, sans-serif; }
.crypto-picker__icon[data-coin="BTC"] { background: #f7931a; transform: rotate(11deg); }
.crypto-picker__icon[data-coin="LTC"] { background: #345d9d; }
.crypto-picker__icon[data-coin="ETH"] { background: #6578c4; }
.crypto-picker__icon[data-coin="ETH"]::before, .crypto-picker__icon[data-coin="ETH"]::after { content: ""; position: absolute; width: 11px; height: 16px; background: #fff; clip-path: polygon(50% 0, 100% 59%, 50% 75%, 0 59%); }
.crypto-picker__icon[data-coin="ETH"]::after { background: #d5ddff; clip-path: polygon(0 69%, 50% 84%, 100% 69%, 50% 100%); }
.crypto-picker__icon[data-coin="XMR"] { background: linear-gradient(#f26822 60%, #4c4c4c 60%); }
.crypto-picker__icon[data-coin="XMR"]::before { content: ""; width: 23px; height: 12px; margin-top: 4px; background: #fff; clip-path: polygon(0 72%, 22% 72%, 22% 0, 50% 52%, 78% 0, 78% 72%, 100% 72%, 100% 92%, 68% 92%, 68% 43%, 50% 77%, 32% 43%, 32% 92%, 0 92%); }
.crypto-picker__icon[data-coin="SOL"] { background: #17131d; }
.crypto-picker__icon[data-coin="SOL"]::before { content: ""; width: 14px; height: 11px; background: linear-gradient(135deg, #9945ff, #14f195); clip-path: polygon(20% 0, 100% 0, 80% 22%, 0 22%, 0 39%, 80% 39%, 100% 61%, 20% 61%, 20% 78%, 100% 78%, 80% 100%, 0 100%); }
@media (max-width: 390px) { .crypto-picker__menu { grid-template-columns: 1fr; } .admin-pagination { padding-inline: 14px; } }



/* File pickers in the release form and avatar dialog. */
:is(.admin-release-form, #profile-action-fields) input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--edge-light);
  border-radius: 11px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: .84rem;
  text-overflow: ellipsis;
  cursor: pointer;
}

:is(.admin-release-form, #profile-action-fields) input[type="file"]::file-selector-button {
  margin-inline-end: 10px;
  padding: 7px 12px;
  border: 1px solid #c6f82245;
  border-radius: 7px;
  background: #c6f82216;
  color: #dbfa83;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

:is(.admin-release-form, #profile-action-fields) input[type="file"]:hover::file-selector-button {
  background: #c6f82228;
}

:is(.admin-release-form, #profile-action-fields) input[type="file"]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

:root[data-theme="light"] :is(.admin-release-form, #profile-action-fields) input[type="file"]::file-selector-button {
  border-color: #afc78a;
  background: #eaf4da;
  color: #385d06;
}

:root[data-theme="light"] :is(.admin-release-form, #profile-action-fields) input[type="file"]:hover::file-selector-button {
  background: #dfedc9;
}

:root[data-theme="light"] :is(.admin-release-form, #profile-action-fields) input[type="file"]:focus-visible {
  outline-color: #597d17;
}
