.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.favorite-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(244, 168, 200, 0.45);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.favorite-btn:hover:not(:disabled),
.favorite-btn.is-active {
    background: linear-gradient(135deg, var(--pink-100), var(--gold-100));
    box-shadow: var(--shadow-gold);
    transform: scale(1.05);
}

.favorite-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.favorite-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.card-surface-inner {
    padding: 1rem;
    margin-bottom: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 245, 250, 0.9), rgba(255, 252, 240, 0.9));
    border: 1px solid rgba(244, 168, 200, 0.3);
}

.rating-panel {
    padding: 0.75rem 0.85rem;
    margin-top: 0.15rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(244, 168, 200, 0.22);
}

.rating-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.rating-header h2 {
    margin: 0;
    font-size: 0.82rem;
    color: var(--pink-500);
    white-space: nowrap;
    flex-shrink: 0;
}

.rating-summary {
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.star-rating {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.12rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.star-rating::-webkit-scrollbar {
    display: none;
}

.star-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    color: #ddd;
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.star-btn:hover:not(:disabled),
.star-btn.is-active {
    color: var(--gold-300);
    background: linear-gradient(135deg, var(--pink-100), var(--gold-100));
    transform: translateY(-1px);
}

.star-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.rating-hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-tryon-history {
    margin-bottom: 0;
}

.product-tryon-history h2 {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--pink-500);
}

.product-tryon-scroll {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.product-tryon-item {
    flex: 0 0 108px;
    text-align: center;
}

.product-tryon-item .zoomable-img-btn img {
    width: 108px;
    height: 135px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.product-tryon-date,
.product-tryon-color {
    margin: 0.3rem 0 0;
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.gallery-main-frame {
    cursor: zoom-in;
}

.gallery-zoom-hint {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.product-badge--heart {
    background: linear-gradient(135deg, #ff6b9d, #e87aab);
}

.detail-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0;
}

.detail-cta-row .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
}

.detail-cta-icon {
    flex-shrink: 0;
    line-height: 1;
}

.detail-cta-text {
    line-height: 1.35;
}

.btn-magic {
    color: #fff;
    background: linear-gradient(135deg, #e87aab, #d4af37);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.25);
}

.btn-gold {
    color: #4a2c3d;
    background: linear-gradient(135deg, var(--gold-200), var(--gold-300));
    box-shadow: var(--shadow-gold);
}

.btn-block {
    width: 100%;
}

.feature-hint {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.inquiry-panel,
.modal-card {
    margin-top: 0;
    padding: 0;
}

.detail-section--inquiry.inquiry-panel {
    padding: 1rem;
}

.panel-header,
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-header h2,
.modal-header h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--pink-500);
}

.panel-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.inquiry-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.inquiry-summary div {
    padding: 0.75rem 0.65rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--pink-100), var(--gold-100));
    text-align: center;
    min-width: 0;
}

.inquiry-summary strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
}

.inquiry-summary span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.inquiry-list {
    display: grid;
    gap: 0.65rem;
}

.inquiry-item {
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid rgba(244, 168, 200, 0.35);
    overflow: hidden;
}

.inquiry-item summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

.inquiry-item summary::-webkit-details-marker {
    display: none;
}

.inquiry-shop {
    flex: 1 1 100%;
    font-weight: 700;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inquiry-price {
    flex-shrink: 0;
    color: var(--pink-500);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
}

.inquiry-save {
    flex: 1 1 100%;
    font-size: 0.8rem;
    color: var(--gold-400);
    font-weight: 600;
}

@media (max-width: 640px) {
    .detail-cta-row {
        flex-wrap: nowrap;
        gap: 0.4rem;
    }

    .detail-cta-row .btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.5rem 0.3rem;
        font-size: 0.68rem;
        min-height: 40px;
    }

    .detail-cta-icon {
        font-size: 0.95rem;
    }

    .detail-cta-text {
        font-size: 0.68rem;
    }

    .detail-section--inquiry.inquiry-panel {
        padding: 1rem;
        margin-top: 0;
    }

    .inquiry-summary {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .inquiry-summary div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        text-align: right;
        padding: 0.7rem 0.85rem;
    }

    .inquiry-summary span {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .inquiry-summary strong {
        font-size: 0.9rem;
        text-align: left;
    }

    .inquiry-item summary {
        flex-direction: column;
        align-items: stretch;
    }

    .inquiry-shop {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .inquiry-price {
        align-self: flex-start;
    }

    .inquiry-detail-body .btn {
        width: 100%;
        justify-content: center;
    }
}

.inquiry-detail-body {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.inquiry-thumb {
    display: block;
    width: 100%;
    max-width: 220px;
    margin-top: 0.75rem;
    border-radius: 12px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(74, 44, 61, 0.5);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(0.65rem, env(safe-area-inset-top, 0px)) 0.65rem max(0.85rem, env(safe-area-inset-bottom, 0px));
    z-index: 500;
    overflow: hidden;
}

.modal-overlay[hidden] {
    display: none;
}

body.tryon-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.tryon-modal-open .site-footer {
    display: none;
}

.modal-card {
    width: min(520px, 100%);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.modal-card--magic {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 245, 250, 0.98), rgba(255, 252, 240, 0.98));
}

.tryon-modal-card {
    display: flex;
    flex-direction: column;
    max-height: min(92dvh, 100%);
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

.tryon-modal-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: inherit;
    flex: 1 1 auto;
}

.tryon-modal-header {
    flex-shrink: 0;
    margin: 0;
    padding: 1rem 1.1rem 0.75rem;
    background: linear-gradient(180deg, rgba(255, 248, 252, 0.98), rgba(255, 252, 245, 0.92));
    border-bottom: 1px solid rgba(244, 168, 200, 0.22);
}

.tryon-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 0.85rem 1.1rem 1.1rem;
}

.tryon-result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.magic-sparkles {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(244, 168, 200, 0.25), transparent 35%),
        radial-gradient(circle at 80% 25%, rgba(212, 175, 55, 0.2), transparent 30%);
}

.tryon-steps {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.tryon-step {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(244, 168, 200, 0.25);
}

.tryon-step.is-active {
    color: var(--pink-500);
    border-color: var(--gold-300);
    background: linear-gradient(135deg, var(--pink-100), var(--gold-100));
}

.tryon-step.is-done {
    color: var(--gold-400);
}

.tryon-phase[hidden],
.tryon-result[hidden] {
    display: none;
}

.color-picker.is-locked {
    opacity: 0.55;
    pointer-events: none;
}

.modal-desc {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.color-picker--visual {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(244, 168, 200, 0.35);
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.color-option.is-active {
    border-color: var(--gold-300);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.color-option-media {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--pink-100), #fff);
    display: grid;
    place-items: center;
}

.color-option-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-option-fallback {
    font-size: 1.5rem;
    opacity: 0.5;
}

.color-option-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tryon-loading {
    margin-top: 1.25rem;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 232, 241, 0.95), rgba(255, 248, 230, 0.95));
    border: 1px solid rgba(244, 168, 200, 0.35);
}

.tryon-loading-orbit {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 0.85rem;
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-400), var(--gold-300));
    animation: orbitSpin 1.6s linear infinite;
}

.orbit-dot--1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-dot--2 { bottom: 8px; left: 8px; animation-delay: -0.5s; }
.orbit-dot--3 { bottom: 8px; right: 8px; animation-delay: -1s; }

@keyframes orbitSpin {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.1); }
}

.tryon-loading-title {
    margin: 0 0 0.65rem;
    font-weight: 700;
    color: var(--pink-500);
}

.tryon-loading-text {
    margin: 0.65rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    min-height: 2.8em;
}

.progress-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--pink-100);
    overflow: hidden;
}

.progress-bar--glow {
    box-shadow: 0 0 12px rgba(244, 168, 200, 0.35);
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--pink-400), var(--gold-300));
    transition: width 0.4s ease;
}

.result-title {
    margin: 0 0 0.85rem;
    text-align: center;
    font-weight: 700;
    color: var(--pink-500);
}

.tryon-result-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-frame {
    margin: 0;
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(244, 168, 200, 0.3);
}

.result-frame--hero {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: var(--shadow-gold);
}

.result-frame figcaption {
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.zoomable-img-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
}

.tryon-result-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 46vh;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.zoom-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
}

.zoom-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}

.zoom-lightbox[hidden] {
    display: none !important;
}

body.zoom-open {
    overflow: hidden;
    touch-action: none;
}

.zoom-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 6, 10, 0.92);
    z-index: 0;
}

.zoom-lightbox-header {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: max(0.75rem, env(safe-area-inset-top, 0px)) 0.85rem 0.65rem;
    background: linear-gradient(180deg, rgba(12, 6, 10, 0.98) 0%, rgba(12, 6, 10, 0.88) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--pink-500);
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.zoom-lightbox-close:hover {
    background: var(--pink-100);
}

.zoom-lightbox-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    min-width: 0;
}

.zoom-lightbox-toolbar button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.zoom-lightbox-reset {
    font-size: 1rem !important;
}

#zoom-level-label {
    min-width: 3.4rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
}

.zoom-lightbox-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    touch-action: none;
    cursor: grab;
}

.zoom-lightbox-stage:active {
    cursor: grabbing;
}

.zoom-lightbox-viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    will-change: transform;
    max-width: 100%;
    max-height: 100%;
}

.zoom-lightbox-stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 7.5rem);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.zoom-lightbox-hint {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin: 0;
    padding: 0.45rem 0.85rem max(0.65rem, env(safe-area-inset-bottom, 0px));
    text-align: center;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(12, 6, 10, 0.72);
}

@media (max-width: 560px) {
    .tryon-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .tryon-modal-card {
        width: 100%;
        max-height: 94dvh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .tryon-result-gallery {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .tryon-result-img {
        max-height: 38vh;
        object-fit: contain;
        background: #fff;
    }

    .result-frame {
        padding: 0.55rem;
    }

    .tryon-steps {
        gap: 0.35rem;
    }

    .tryon-step {
        font-size: 0.7rem;
        padding: 0.3rem 0.55rem;
    }
}

.tryon-error {
    margin-top: 0.75rem;
    color: #c0392b;
    font-size: 0.88rem;
}

.tryon-no-avatar {
    margin-top: 0.5rem;
    padding: 1.1rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    background: linear-gradient(165deg, rgba(255, 248, 252, 0.98), rgba(255, 252, 240, 0.95));
    border: 1px solid rgba(244, 168, 200, 0.35);
    box-shadow: 0 10px 28px rgba(212, 93, 148, 0.1);
}

.tryon-no-avatar-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tryon-no-avatar-title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--pink-500);
}

.tryon-no-avatar-desc {
    margin: 0 0 0.85rem;
    font-size: 0.84rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.tryon-no-avatar .btn {
    text-decoration: none;
}

.profile-page .page-header {
    margin-bottom: 1.25rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.profile-card {
    padding: 1.5rem;
    text-align: center;
}

.profile-avatar-ring {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-300), var(--gold-300));
    font-size: 1.75rem;
}

.profile-card h2 {
    margin: 0 0 0.25rem;
}

.profile-username {
    margin: 0 0 1rem;
    color: var(--text-muted);
}

.profile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.profile-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(244, 168, 200, 0.2);
    font-size: 0.9rem;
}

.profile-note {
    padding: 1.5rem;
}

.profile-note h3 {
    margin: 0 0 0.5rem;
    color: var(--pink-500);
}

.profile-note p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.profile-note-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 760px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.login-section {
    padding: 2rem 0 3rem;
}

.login-container {
    max-width: 440px;
}

.login-card {
    padding: 2rem 1.75rem;
    text-align: center;
}

.login-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.login-title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.login-desc {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.92rem;
}

.login-error {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(192, 57, 43, 0.08);
    color: #c0392b;
    font-size: 0.9rem;
    text-align: right;
}

.login-success {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(39, 174, 96, 0.1);
    color: #1e8449;
    font-size: 0.9rem;
    text-align: right;
}

.login-back-link {
    width: 100%;
    margin-top: 0.75rem;
}

.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.profile-logout-btn {
    color: #c0392b;
    border-color: rgba(192, 57, 43, 0.25);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: right;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.login-field input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(244, 168, 200, 0.45);
    background: rgba(255, 255, 255, 0.92);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.login-field input:focus {
    outline: none;
    border-color: var(--pink-400);
    box-shadow: 0 0 0 3px rgba(244, 168, 200, 0.25);
}

.login-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.login-hint {
    margin: 1.25rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.profile-credentials-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-flash {
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

.profile-flash--ok {
    background: rgba(39, 174, 96, 0.1);
    color: #1e8449;
}

.profile-flash--err {
    background: rgba(192, 57, 43, 0.08);
    color: #c0392b;
}
