/* ==========================================================================
   Music Theme - EU / Spotify-style dark theme
   Scoped to .eu-theme so it never leaks into other pages.
   ========================================================================== */

:root {
    --eu-bg: #000000;
    --eu-bg-1: #121212;
    --eu-surface: #181818;
    --eu-surface-2: #242424;
    --eu-surface-3: #2a2a2a;
    --eu-text: #ffffff;
    --eu-text-dim: #b3b3b3;
    --eu-text-mute: #7a7a7a;
    --eu-accent: #f80000;
    --eu-accent-2: #ff3b3b;
    --eu-danger: #f15e6c;
    --eu-border: rgba(255, 255, 255, .08);
    --eu-radius: 12px;
    --eu-radius-lg: 20px;
    --eu-gap: 16px;
    --eu-shell: 480px;
    --eu-font-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --eu-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* 桌面端也按移动端显示：整站限定最大宽度并居中 */
html {
    background: #050505;
}

.eu-theme {
    max-width: var(--eu-shell);
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: var(--eu-font-body);
    color: var(--eu-text);
    background:
        radial-gradient(1200px 640px at 50% -12%, rgba(248, 0, 0, .20), transparent 62%),
        radial-gradient(900px 520px at 100% 100%, rgba(248, 0, 0, .08), transparent 60%),
        var(--eu-bg) !important;
    background-attachment: scroll !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 60px rgba(0, 0, 0, .55);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 固定定位元素(底栏/弹层)同样限制在移动端宽度内并居中 */
.eu-theme .footer,
.eu-modal,
.eu-fix,
.eu-agree-bar {
    left: 50% !important;
    right: auto !important;
    width: 100% !important;
    max-width: var(--eu-shell);
    transform: translateX(-50%);
}

.eu-theme * {
    box-sizing: border-box;
}

.eu-theme a {
    color: inherit;
    text-decoration: none;
}

.eu-theme img {
    max-width: 100%;
}

.eu-theme h1,
.eu-theme h2,
.eu-theme h3,
.eu-theme h4 {
    font-family: var(--eu-font-head);
    margin: 0;
}

.eu-theme ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.eu-theme ::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 8px;
}

.eu-theme ::-webkit-scrollbar-track {
    background: transparent;
}

/* Layout ------------------------------------------------------------------ */
.eu-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px 110px;
}

/* Header + notice ticker -------------------------------------------------- */
.eu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0 6px;
}

.eu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--eu-font-head);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.02em;
}

.eu-logo .eu-logo-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    color: var(--eu-accent-2);
}

/* Brand logo image */
.eu-logo-img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.eu-brand-logo {
    display: block;
    height: 42px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.eu-notice {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    background: var(--eu-surface);
    border: 1px solid var(--eu-border);
    border-radius: 999px;
    padding: 8px 14px;
    overflow: hidden;
}

.eu-notice .eu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--eu-accent);
    flex: 0 0 auto;
    box-shadow: 0 0 8px var(--eu-accent);
}

.eu-notice .eu-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.eu-notice .eu-ticker {
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    color: var(--eu-text-dim);
    animation: eu-ticker 20s linear infinite;
}

.eu-notice .eu-ticker:hover {
    animation-play-state: paused;
}

@keyframes eu-ticker {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* User summary card ------------------------------------------------------- */
.eu-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: linear-gradient(135deg, var(--eu-surface-2), var(--eu-surface));
}

.eu-user .eu-user-hello {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--eu-text-dim);
}

.eu-user .eu-user-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
}

.eu-user .eu-user-name img {
    width: 22px;
    height: 22px;
}

.eu-user .eu-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.eu-user .eu-score-num {
    font-family: var(--eu-font-head);
    font-weight: 800;
    font-size: 22px;
    color: var(--eu-accent-2);
    line-height: 1;
}

.eu-user .eu-score-label {
    margin-top: 6px;
    font-size: 11px;
    color: var(--eu-text-mute);
}

/* Action grid ------------------------------------------------------------- */
.eu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.eu-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 6px;
    background: var(--eu-surface);
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    transition: transform .15s ease, background .15s ease;
}

.eu-tile:active {
    transform: scale(.96);
    background: var(--eu-surface-2);
}

.eu-tile .eu-tile-ico {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--eu-accent-2);
    background: linear-gradient(135deg, rgba(248, 0, 0, .24), rgba(248, 0, 0, .06));
}

.eu-tile .eu-tile-ico svg {
    width: 22px;
    height: 22px;
}

.eu-tile .eu-tile-txt {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    color: var(--eu-text-dim);
    text-transform: capitalize;
}

/* Sections + media cards -------------------------------------------------- */
.eu-section {
    margin-top: 30px;
}

.eu-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.eu-section-title {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
}

.eu-card-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

.eu-card-row::-webkit-scrollbar {
    height: 6px;
}

.eu-media-card {
    flex: 0 0 auto;
    width: 142px;
    padding: 10px;
    scroll-snap-align: start;
    background: var(--eu-surface);
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    transition: background .15s ease, transform .15s ease;
}

.eu-media-card:active {
    background: var(--eu-surface-2);
    transform: translateY(-2px);
}

.eu-media-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.eu-media-card .eu-media-title {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eu-embed {
    margin-top: 26px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    overflow: hidden;
    background: var(--eu-surface);
}

.eu-embed iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* Auth pages (login / register) ------------------------------------------- */
.eu-auth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-width: 460px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}

.eu-auth-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.eu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--eu-font-head);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -.02em;
}

.eu-brand .eu-logo-mark {
    width: 30px;
    height: 30px;
    color: var(--eu-accent-2);
}

.eu-lang {
    display: flex;
    gap: 10px;
}

.eu-lang a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--eu-surface);
    border: 1px solid var(--eu-border);
}

.eu-lang a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.eu-auth-card {
    padding: 26px 22px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: linear-gradient(180deg, var(--eu-surface-2), var(--eu-surface));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.eu-auth-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.eu-auth-title {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 22px;
}

.eu-auth-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--eu-text-dim);
}

.eu-auth-link {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--eu-accent-2);
    border-bottom: 1px solid transparent;
    transition: border-color .15s ease;
}

.eu-auth-link:hover {
    border-color: var(--eu-accent-2);
}

.eu-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    margin-bottom: 12px;
    padding: 0 14px;
    background: var(--eu-bg-1);
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.eu-field:focus-within {
    border-color: var(--eu-accent);
    box-shadow: 0 0 0 3px rgba(248, 0, 0, .18);
}

.eu-field .eu-field-label {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--eu-text-mute);
    white-space: nowrap;
}

.eu-field .eu-field-input {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    border: 0;
    outline: none;
    background: none;
    color: var(--eu-text);
    font-family: var(--eu-font-body);
    font-size: 15px;
}

.eu-field .eu-field-input::placeholder {
    color: var(--eu-text-mute);
}

/* Stacked field variant (long labels, e.g. register) */
.eu-field-col {
    display: block;
    margin-bottom: 12px;
}

.eu-field-col .eu-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--eu-text-mute);
}

.eu-field-col .eu-field-input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    background: var(--eu-bg-1);
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    color: var(--eu-text);
    font-family: var(--eu-font-body);
    font-size: 15px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.eu-field-col .eu-field-input::placeholder {
    color: var(--eu-text-mute);
}

.eu-field-col .eu-field-input:focus {
    border-color: var(--eu-accent);
    box-shadow: 0 0 0 3px rgba(248, 0, 0, .18);
}

/* Phone field with country prefix (prefix inline, same row) */
.eu-phone {
    display: flex;
    align-items: stretch;
    min-height: 52px;
    background: var(--eu-bg-1);
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.eu-phone:focus-within {
    border-color: var(--eu-accent);
    box-shadow: 0 0 0 3px rgba(248, 0, 0, .18);
}

.eu-phone .eu-phone-prefix {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 12px 0 14px;
    color: var(--eu-text-dim);
    font-size: 15px;
    border-right: 1px solid var(--eu-border);
}

.eu-phone .eu-phone-input {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    padding: 0 14px;
    border: 0;
    outline: none;
    background: none;
    color: var(--eu-text);
    font-family: var(--eu-font-body);
    font-size: 15px;
}

.eu-phone .eu-phone-input::placeholder {
    color: var(--eu-text-mute);
}

/* Searchable combobox (bank list) */
.eu-combobox {
    position: relative;
}

.eu-combobox-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    background: var(--eu-surface-2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

.eu-combobox-list.is-open {
    display: block;
}

.eu-combobox-item {
    padding: 12px 14px;
    font-size: 14px;
    color: var(--eu-text);
    cursor: pointer;
    border-bottom: 1px solid var(--eu-border);
}

.eu-combobox-item:last-child {
    border-bottom: 0;
}

.eu-combobox-item:hover,
.eu-combobox-item.is-active {
    background: var(--eu-accent);
    color: #fff;
}

.eu-combobox-empty {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--eu-text-mute);
}

.eu-auth-alt {
    display: block;
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--eu-accent-2);
}

.eu-pwd-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 4px;
    border: 0;
    background: none;
    color: var(--eu-text-mute);
    cursor: pointer;
}

.eu-pwd-toggle svg {
    width: 20px;
    height: 20px;
}

.eu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--eu-accent);
    color: #fff;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease;
}

.eu-btn:hover {
    background: var(--eu-accent-2);
}

.eu-btn:active {
    transform: scale(.98);
}

.eu-btn svg {
    width: 18px;
    height: 18px;
}

.eu-auth-foot {
    margin-top: 22px;
    text-align: center;
    font-size: 12px;
    color: var(--eu-text-mute);
}

.eu-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 6px;
    font-size: 12px;
    color: var(--eu-text-dim);
}

.eu-agree img {
    width: 18px;
    height: 18px;
}

/* Popup modals (home page chuang*) ---------------------------------------- */
.eu-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.eu-modal .eu-modal-panel {
    width: 100%;
    max-width: 420px;
    max-height: 80vh;
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: var(--eu-surface);
    color: var(--eu-text);
}

.eu-modal .eu-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.eu-modal .eu-modal-title {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
}

.eu-modal .eu-modal-close {
    padding: 0;
    border: 0;
    background: none;
    color: var(--eu-text-dim);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.eu-rich {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.6;
    color: var(--eu-text-dim);
}

/* Footer / bottom nav (fixed) — scoped so the shared floor.html is untouched elsewhere */
.eu-theme .footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #0a0a0a !important;
    border-top: 1px solid var(--eu-border);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.eu-theme .footer>.no-gutters,
.eu-theme .footer .col-auto,
.eu-theme .footer .col-auto .row {
    width: 100% !important;
    max-width: 100% !important;
}

.eu-theme .footer .row {
    background-color: #0a0a0a !important;
}

.eu-theme .footer p {
    color: var(--eu-text-dim) !important;
}

.eu-theme .footer a {
    color: var(--eu-text-dim);
}

/* Tint the green footer icons (BG-019 / BG-021) to match the red theme */
.eu-theme .footer .tarb img {
    filter: hue-rotate(-115deg) saturate(1.5) brightness(1.05);
}

/* Bootstrap modal tweak on home page -------------------------------------- */
.eu-theme .tanchuang .modal-content {
    background: var(--eu-surface);
    color: var(--eu-text);
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
}

.eu-theme .tanchuang .modal-body p {
    color: var(--eu-text-dim);
}

.eu-theme .btn-important {
    background: var(--eu-accent) !important;
    border-color: var(--eu-accent) !important;
    color: #fff !important;
}

/* Landing / splash page (user/index) -------------------------------------- */
.eu-landing {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 84px 28px 48px;
    text-align: center;
}

.eu-landing-top {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.eu-landing-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--eu-border);
    background: var(--eu-surface);
    color: var(--eu-text);
    cursor: pointer;
}

.eu-landing-icon svg {
    width: 20px;
    height: 20px;
}

.eu-landing-logo {
    height: 58px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    margin-bottom: 30px;
}

.eu-landing-name {
    font-family: var(--eu-font-head);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -.02em;
}

.eu-landing-tag {
    margin-top: 8px;
    font-family: var(--eu-font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--eu-accent-2);
}

.eu-landing-cta {
    width: auto;
    min-width: 240px;
    padding: 0 30px;
    margin: 38px auto 0;
}

.eu-landing-hint {
    margin-top: 18px;
    font-size: 12px;
    color: var(--eu-text-mute);
}

/* Agreement page (user/agreement) ----------------------------------------- */
.eu-agree-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 18px 150px;
}

.eu-agree-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 0 16px;
}

.eu-agree-head img {
    height: 30px;
    width: auto;
}

.eu-agree-title {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 20px;
}

.eu-agree-card {
    padding: 20px 18px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: var(--eu-surface);
    color: var(--eu-text-dim);
    font-size: 14px;
    line-height: 1.8;
}

.eu-agree-card h3 {
    margin: 0 0 14px;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
    color: var(--eu-text);
}

.eu-agree-card a {
    color: var(--eu-accent-2);
    font-weight: 600;
}

.eu-agree-card .eu-agree-tip {
    margin-top: 14px;
}

.eu-agree-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 10, 10, .96);
    border-top: 1px solid var(--eu-border);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.eu-agree-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--eu-text-dim);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: color .15s ease;
}

.eu-agree-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: var(--eu-accent);
    cursor: pointer;
}

.eu-agree-toggle.is-warn {
    color: var(--eu-danger);
}

.eu-agree-join {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--eu-accent);
    color: #fff;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease;
}

.eu-agree-join:active {
    transform: scale(.98);
}

/* Account page (my/index) -------------------------------------------------- */
.eu-account {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px 110px;
}

.eu-account-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0 8px;
}

.eu-account-head img {
    height: 32px;
    width: auto;
}

.eu-account-title {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
}

.eu-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: linear-gradient(135deg, var(--eu-surface-2), var(--eu-surface));
}

.eu-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--eu-bg-1);
    border: 2px solid var(--eu-accent);
}

.eu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eu-profile-name {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
    word-break: break-all;
}

.eu-profile-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--eu-text-dim);
}

.eu-profile-sub img {
    width: 18px;
    height: 18px;
}

.eu-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.eu-stat {
    padding: 16px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    background: var(--eu-surface);
}

.eu-stat-label {
    font-size: 12px;
    color: var(--eu-text-dim);
}

.eu-stat-value {
    margin-top: 8px;
    font-family: var(--eu-font-head);
    font-weight: 800;
    font-size: 20px;
}

.eu-stat.is-accent .eu-stat-value {
    color: var(--eu-accent-2);
}

.eu-menu {
    margin-top: 20px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    overflow: hidden;
    background: var(--eu-surface);
}

.eu-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--eu-border);
    transition: background .15s ease;
}

.eu-menu-item:last-child {
    border-bottom: 0;
}

.eu-menu-item:active {
    background: var(--eu-surface-2);
}

.eu-menu-ico {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--eu-accent-2);
    background: linear-gradient(135deg, rgba(248, 0, 0, .22), rgba(248, 0, 0, .05));
}

.eu-menu-ico svg {
    width: 18px;
    height: 18px;
}

.eu-menu-text {
    flex: 1;
    font-size: 14px;
}

/* Capitalize the first letter of each word in menu labels */
.eu-cap .eu-menu-text {
    text-transform: capitalize;
}

.eu-menu-arrow {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--eu-text-mute);
}

/* Order / grab page (rot_order/index) ------------------------------------- */
.eu-order {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px 110px;
}

.eu-order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 8px;
}

.eu-order-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--eu-text-dim);
}

.eu-order-back svg {
    width: 16px;
    height: 16px;
}

.eu-order-title {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
}

.eu-order-card {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: linear-gradient(135deg, var(--eu-surface-2), var(--eu-surface));
}

.eu-order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.eu-order-card-head .name {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 16px;
}

.eu-order-card-head img {
    width: 24px;
    height: 24px;
}

.eu-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--eu-border);
}

.eu-order-row .lef {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eu-order-row .lef img {
    width: 30px;
    height: 30px;
}

.eu-order-row .time {
    font-size: 12px;
    color: var(--eu-text-dim);
}

.eu-order-row .money {
    margin-top: 4px;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 16px;
}

.eu-order-row .rig {
    max-width: 46%;
    font-size: 11px;
    line-height: 1.4;
    text-align: right;
    color: var(--eu-text-mute);
}

.eu-order-start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 18px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: var(--eu-surface);
}

.eu-order-start .lef {
    font-size: 14px;
    color: var(--eu-text-dim);
}

.eu-order-start .lef span {
    color: var(--eu-accent-2);
    font-weight: 700;
}

.eu-order-start .rig {
    min-width: 110px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--eu-accent);
    color: #fff;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease;
}

.eu-order-start .rig:active {
    transform: scale(.97);
}

.eu-order-gif {
    margin-top: 18px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    overflow: hidden;
}

.eu-order-gif img,
.eu-order-gif video {
    display: block;
    width: 100%;
}

/* Order detail modal */
.eu-fix {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    background: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.eu-fix.hidden {
    display: none;
}

.eu-fix .val {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: var(--eu-surface);
    color: var(--eu-text);
}

.eu-fix .tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eu-fix .orderName {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
}

.eu-fix .closeIcon {
    width: 18px;
    height: 18px;
    cursor: pointer;
    filter: invert(1) opacity(.7);
}

.eu-fix .fontIcon {
    margin-top: 16px;
    text-align: center;
}

.eu-fix .fontIcon img {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
}

.eu-fix .mucsiName {
    margin-top: 10px;
    font-size: 14px;
}

.eu-fix .toaa {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
    text-align: center;
}

.eu-fix .toaa>div {
    flex: 1;
    font-size: 11px;
    color: var(--eu-text-mute);
}

.eu-fix .toaa h4 {
    margin: 6px 0 0;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--eu-accent-2);
}

.eu-fix .musicPin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--eu-border);
}

.eu-fix .musicPin .name {
    font-size: 14px;
}

.eu-fix .musicPin input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--eu-border);
    border-radius: 8px;
    background: var(--eu-bg-1);
    color: var(--eu-text);
    font-family: var(--eu-font-body);
    font-size: 13px;
    outline: none;
}

.eu-fix .star-rating {
    display: flex;
    gap: 4px;
}

.eu-fix .star-rating .star,
.eu-fix .star-rating .star1 {
    font-size: 22px;
    line-height: 1;
    color: #3a3a3a;
    cursor: pointer;
    transition: color .12s ease;
}

.eu-fix .star-rating .star:hover,
.eu-fix .star-rating .star.active,
.eu-fix .star-rating .star1:hover,
.eu-fix .star-rating .star1.active1 {
    color: #ffc107;
}

.eu-fix .plays {
    margin-top: 16px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--eu-accent);
    color: #fff;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.eu-fix .plays:active {
    transform: scale(.98);
}

/* Generic top bar (back + title) ------------------------------------------ */
.eu-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0 10px;
}

.eu-topbar .eu-back {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--eu-border);
    border-radius: 50%;
    background: var(--eu-surface);
    color: var(--eu-text);
    cursor: pointer;
}

.eu-topbar .eu-back svg {
    width: 20px;
    height: 20px;
}

.eu-topbar .eu-topbar-title {
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 18px;
}

/* Language page (user/lang) ----------------------------------------------- */
.eu-lang-item .eu-lang-code {
    margin-left: 8px;
    font-size: 11px;
    color: var(--eu-text-mute);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.eu-lang-item.is-active {
    background: linear-gradient(135deg, rgba(248, 0, 0, .16), rgba(248, 0, 0, .04));
}

/* Generic content components ---------------------------------------------- */
.eu-card {
    padding: 18px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    background: var(--eu-surface);
}

.eu-card+.eu-card {
    margin-top: 14px;
}

.eu-card-title {
    margin-bottom: 10px;
    font-family: var(--eu-font-head);
    font-weight: 700;
    font-size: 16px;
}

.eu-card-sub {
    font-size: 12px;
    color: var(--eu-text-dim);
}

.eu-amount {
    font-family: var(--eu-font-head);
    font-weight: 800;
    font-size: 28px;
    color: var(--eu-accent-2);
}

.eu-note {
    font-size: 12px;
    line-height: 1.7;
    color: var(--eu-text-mute);
}

.eu-empty {
    padding: 48px 16px;
    text-align: center;
    font-size: 13px;
    color: var(--eu-text-mute);
}

.eu-empty svg {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    opacity: .5;
}

.eu-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(248, 0, 0, .15);
    color: var(--eu-accent-2);
}

.eu-btn-ghost {
    background: var(--eu-surface);
    color: var(--eu-text);
    border: 1px solid var(--eu-border);
}

.eu-btn-ghost:hover {
    background: var(--eu-surface-2);
}

.eu-btn-sm {
    height: 40px;
    font-size: 13px;
}

.eu-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius);
    background: var(--eu-bg-1);
    cursor: pointer;
}

.eu-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--eu-accent);
}

.eu-radio span {
    font-size: 14px;
}

.eu-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--eu-border);
}

.eu-form-row:first-child {
    border-top: 0;
}

.eu-form-row .k {
    font-size: 13px;
    color: var(--eu-text-dim);
}

.eu-form-row .v {
    font-size: 13px;
    text-align: right;
    color: var(--eu-text);
}

.eu-list {
    border: 1px solid var(--eu-border);
    border-radius: var(--eu-radius-lg);
    overflow: hidden;
    background: var(--eu-surface);
}

.eu-list-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--eu-border);
}

.eu-list-item:last-child {
    border-bottom: 0;
}

@media (max-width: 360px) {
    .eu-grid {
        gap: 8px;
    }

    .eu-tile .eu-tile-ico {
        width: 40px;
        height: 40px;
    }

    .eu-media-card {
        width: 126px;
    }
}
