:root {
    --primary: #d3bc8e;
    --primary-strong: #f4e8d1;
    --primary-soft: rgba(211, 188, 142, 0.16);
    --primary-soft-2: rgba(244, 232, 209, 0.08);

    --bg-main: #090b13;
    --bg-surface: rgba(14, 18, 32, 0.82);
    --bg-surface-strong: rgba(18, 18, 36, 0.92);
    --bg-card: linear-gradient(145deg, rgba(18, 18, 36, 0.96) 0%, rgba(44, 28, 72, 0.96) 100%);
    --bg-card-soft: rgba(255, 255, 255, 0.04);

    --text-main: #f4e8d1;
    --text-secondary: rgba(236, 229, 216, 0.88);
    --text-muted: rgba(236, 229, 216, 0.62);
    --text-dim: rgba(236, 229, 216, 0.42);

    --border-base: rgba(211, 188, 142, 0.22);
    --border-strong: rgba(244, 232, 209, 0.24);

    --success: #e8d39e;
    --success-soft: rgba(211, 188, 142, 0.14);
    --danger: #9cc1ff;
    --danger-soft: rgba(156, 193, 255, 0.12);
    --warning: #f1d38f;

    --shadow-sm: 0 8px 24px rgba(4, 8, 20, 0.22);
    --shadow-md: 0 18px 42px rgba(3, 8, 20, 0.36);
    --shadow-lg: 0 26px 80px rgba(3, 8, 20, 0.52), 0 0 36px rgba(211, 188, 142, 0.08);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-full: 9999px;

    --transition-base: 0.22s cubic-bezier(0.2, 0.72, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    padding: 24px 16px 48px;
    line-height: 1.6;
    position: relative;
}

.lion-page {
    overflow-x: hidden;
}

.space-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(43, 29, 66, 0.98) 0%, rgba(9, 11, 19, 1) 72%);
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    mix-blend-mode: screen;
}

.nebula-left {
    width: 360px;
    height: 360px;
    left: -120px;
    top: -80px;
    background: rgba(95, 72, 149, 0.34);
}

.nebula-right {
    width: 320px;
    height: 320px;
    right: -90px;
    top: 28%;
    background: rgba(70, 50, 120, 0.28);
}

.nebula-bottom {
    width: 460px;
    height: 460px;
    left: 24%;
    bottom: -200px;
    background: rgba(88, 56, 128, 0.32);
}

.star {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(244, 232, 209, 0.84);
    box-shadow: 0 0 12px rgba(244, 232, 209, 0.45);
    animation: twinkle 4.8s ease-in-out infinite;
}

.star-1 { top: 14%; left: 16%; }
.star-2 { top: 22%; left: 72%; width: 8px; height: 8px; }
.star-3 { top: 34%; left: 60%; width: 5px; height: 5px; }
.star-4 { top: 54%; left: 18%; width: 7px; height: 7px; }
.star-5 { top: 70%; left: 74%; width: 4px; height: 4px; }
.star-6 { top: 82%; left: 48%; width: 5px; height: 5px; }

@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.18); }
}

.page-shell {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.container-wide {
    max-width: 780px;
}

.page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nav-pills,
.header-user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-pill,
.wechat-entry,
.wechat-mini-action {
    border: 1px solid var(--border-base);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.nav-pill.active,
.nav-pill:hover,
.wechat-entry:hover,
.wechat-mini-action:hover,
.wechat-entry-logged {
    color: var(--primary-strong);
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.wechat-profile-link {
    max-width: 100%;
}

.wechat-entry-name {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wechat-entry-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
}

.wechat-entry-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary-strong);
    font-weight: 700;
}

.card,
.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.hero-panel {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: auto 10% -80px;
    height: 180px;
    background: radial-gradient(circle, rgba(211, 188, 142, 0.18) 0%, rgba(211, 188, 142, 0) 70%);
    filter: blur(12px);
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(244, 232, 209, 0.08);
    color: var(--primary);
    border: 1px solid rgba(244, 232, 209, 0.16);
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.header,
.hero-panel h1 {
    font-size: clamp(30px, 5vw, 42px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--primary-strong);
}

.hero-subtitle,
.subtitle {
    margin: 12px auto 0;
    max-width: 620px;
    color: var(--text-secondary);
    font-size: 15px;
}

.hero-pill-row {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.resource-pill,
.spots-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-base);
    color: var(--text-secondary);
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.learning-card {
    margin-bottom: 20px;
}

.section-head,
.learning-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.card h2,
.section-head h2,
.learning-card-head h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-strong);
    margin: 0;
}

.section-desc,
.learning-card-desc,
.form-help,
.warranty-help {
    color: var(--text-muted);
    font-size: 14px;
}

.learning-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(244, 232, 209, 0.08);
}

.learning-balance-label,
.summary-label,
.result-detail-label {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.learning-balance-count {
    font-size: 54px;
    line-height: 1;
    color: var(--primary-strong);
    text-shadow: 0 0 20px rgba(211, 188, 142, 0.18);
}

.learning-balance-meta {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: right;
    max-width: 280px;
}

.learning-actions {
    margin-bottom: 14px;
}

.learning-code-result,
.result-details,
.panel-message,
.copy-panel,
.warranty-summary,
.reuse-panel,
.record-card,
.profile-record-card {
    border: 1px solid rgba(244, 232, 209, 0.10);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
}

.learning-code-head,
.profile-record-head,
.record-head,
.result-detail-item,
.record-divider,
.summary-grid,
.copy-panel-row,
.actions-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.learning-code-head {
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.learning-code-expire,
.learning-code-note,
.record-value,
.result-message,
.profile-muted,
.profile-openid,
.qr-status,
.qr-modal-subtitle {
    color: var(--text-secondary);
}

.learning-code-value,
.record-code,
.mono-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.learning-code-value {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    word-break: break-word;
}

.wechat-state-hint {
    display: none;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    background: rgba(211, 188, 142, 0.08);
    color: var(--primary-strong);
    border: 1px solid rgba(211, 188, 142, 0.16);
}

.wechat-state-hint.show {
    display: block;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(244, 232, 209, 0.12);
    border-radius: 16px;
    font-size: 15px;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.22);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    outline: none;
}

.form-input:focus {
    border-color: rgba(211, 188, 142, 0.38);
    box-shadow: 0 0 0 4px rgba(211, 188, 142, 0.10);
}

.form-input::placeholder {
    color: var(--text-dim);
}

.btn {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #cfb783 0%, #f4e8d1 100%);
    color: #1a1423;
    box-shadow: 0 18px 36px rgba(211, 188, 142, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 22px 42px rgba(211, 188, 142, 0.28);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.24);
    color: var(--text-main);
    border-color: var(--border-base);
}

.btn-dashed {
    border-style: dashed;
}

.btn-inline,
.btn-xs {
    width: auto;
    min-width: 0;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 14px;
}

.status-chip,
.badge,
.team-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
}

.status-chip-success,
.badge-success,
.badge-primary,
.badge-plus {
    background: rgba(211, 188, 142, 0.16);
    color: var(--primary-strong);
    border-color: rgba(211, 188, 142, 0.22);
}

.status-chip-muted,
.badge-muted,
.badge-normal,
.badge-pro {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.08);
}

.badge-error {
    background: rgba(156, 193, 255, 0.14);
    color: #d9e8ff;
    border-color: rgba(156, 193, 255, 0.18);
}

.warranty-section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(244, 232, 209, 0.08);
}

.warranty-section h3,
.records-title,
.profile-title,
.result-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-strong);
}

.records-list,
.profile-records,
.teams-list,
.actions,
.profile-meta-row {
    display: grid;
    gap: 14px;
}

.actions-inline {
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-card {
    border: 1px solid rgba(244, 232, 209, 0.10);
    border-radius: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.team-card:hover,
.team-card.selected {
    transform: translateY(-1px);
    border-color: rgba(211, 188, 142, 0.24);
    box-shadow: var(--shadow-sm);
}

.team-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-strong);
    margin-bottom: 12px;
}

.team-info {
    display: grid;
    gap: 10px;
}

.team-info-item,
.record-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 14px;
}

.result-success,
.result-error,
.result-info {
    text-align: center;
}

.result-icon {
    margin-bottom: 18px;
}

.result-message {
    margin-top: 12px;
    margin-bottom: 20px;
}

.result-tips,
.result-extra {
    margin-top: 18px;
}

.result-tips,
.result-extra-copy {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(244, 232, 209, 0.08);
    border-radius: 18px;
    padding: 14px;
    text-align: left;
}

.result-extra {
    display: grid;
    gap: 12px;
}

.result-detail-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(244, 232, 209, 0.08);
}

.result-detail-item:last-child {
    border-bottom: none;
}

.result-detail-value,
.summary-value,
.record-value {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 700;
}

.info-panel {
    display: grid;
    gap: 12px;
}

.copy-panel-row {
    align-items: stretch;
}

.mono-input {
    letter-spacing: 0.04em;
}

.summary-grid {
    align-items: flex-start;
}

.summary-align-right {
    text-align: right;
}

.record-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.record-span-2 {
    grid-column: 1 / -1;
}

.record-divider {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(244, 232, 209, 0.08);
}

.value-success {
    color: var(--success);
}

.value-danger {
    color: #d9e8ff;
}

.value-warning {
    color: var(--warning);
}

.reuse-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--success);
    font-weight: 800;
    margin-bottom: 10px;
}

.toast {
    position: fixed;
    top: 22px;
    right: 22px;
    min-width: 220px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 16px;
    background: rgba(10, 14, 24, 0.96);
    color: var(--text-main);
    border-radius: 18px;
    border: 1px solid rgba(244, 232, 209, 0.12);
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 100;
}

.toast.show {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.qr-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 20, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.qr-modal-overlay.show {
    display: flex;
}

.qr-modal-card {
    width: min(100%, 420px);
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    position: relative;
    text-align: center;
}

.qr-modal-card h3 {
    font-size: 22px;
    color: var(--primary-strong);
}

.qr-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
}

.qr-box {
    margin: 18px auto 12px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(244, 232, 209, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
}

.qr-spinner,
.spinning {
    animation: qrSpin 0.9s linear infinite;
}

.qr-spinner {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 3px solid rgba(211, 188, 142, 0.14);
    border-top-color: var(--primary);
}

@keyframes qrSpin {
    to {
        transform: rotate(360deg);
    }
}

.profile-shell {
    padding: 28px;
}

.profile-topbar {
    margin-bottom: 16px;
}

.profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
}

.profile-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.profile-avatar-wrap {
    flex: 0 0 auto;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--primary-soft);
}

.profile-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-strong);
    font-size: 24px;
    font-weight: 800;
}

.profile-record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.record-label {
    color: var(--text-muted);
}

.compact-empty-state {
    padding: 16px 0;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .container-wide {
        max-width: 720px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 16px 12px 32px;
    }

    .page-topbar,
    .section-head,
    .learning-card-head,
    .learning-balance-row,
    .summary-grid,
    .copy-panel-row,
    .record-divider,
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-pills,
    .header-user-area {
        width: 100%;
        justify-content: center;
    }

    .page-topbar {
        justify-content: center;
    }

    .card,
    .panel-card,
    .profile-shell,
    .qr-modal-card {
        padding: 20px;
        border-radius: 22px;
    }

    .learning-balance-count {
        font-size: 44px;
    }

    .learning-balance-meta,
    .summary-align-right {
        text-align: left;
    }

    .record-grid {
        grid-template-columns: 1fr;
    }

    .qr-box {
        width: 220px;
        height: 220px;
    }

    .toast {
        left: 12px;
        right: 12px;
        top: 12px;
        max-width: none;
    }

    .btn-inline,
    .btn-xs {
        width: 100%;
    }
}

.info-card {
    margin-bottom: 20px;
}

.info-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.daka-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.daka-textarea {
    resize: vertical;
    min-height: 128px;
}

.daka-toggle-row {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.daka-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.daka-switch input {
    display: none;
}

.daka-switch-ui {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(244, 232, 209, 0.14);
    position: relative;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.daka-switch-ui::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-main);
    top: 3px;
    left: 3px;
    transition: transform var(--transition-base);
}

.daka-switch input:checked + .daka-switch-ui {
    background: rgba(211, 188, 142, 0.28);
    border-color: rgba(211, 188, 142, 0.34);
}

.daka-switch input:checked + .daka-switch-ui::after {
    transform: translateX(20px);
    background: var(--primary-strong);
}

.daka-switch-hint,
.daka-meta-box,
.timeline-updated {
    color: var(--text-muted);
    font-size: 13px;
}

.daka-meta-box {
    border: 1px solid rgba(244, 232, 209, 0.08);
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 18px;
}

.daka-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.stat-card {
    border: 1px solid rgba(244, 232, 209, 0.10);
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-strong);
    line-height: 1;
}

.inline-form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.timeline-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-strong);
    margin-bottom: 14px;
}

.timeline-list {
    display: grid;
    gap: 14px;
}

.timeline-list-real {
    align-items: stretch;
}

.timeline-item {
    border: 1px solid rgba(244, 232, 209, 0.10);
    border-radius: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(211, 188, 142, 0.12);
    color: var(--primary-strong);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.public-hero-panel {
    margin-bottom: 20px;
}

.public-profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.wechat-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

@media (max-width: 640px) {
    .info-card-head,
    .daka-grid,
    .inline-form-row,
    .public-profile-head {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

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