/* ================================================================
   shadcn/ui Dark Theme — Valorant Accent
   Exact port of shadcn/ui CSS variables + component patterns
   ================================================================ */

/* --- Design Tokens (shadcn dark + Valorant red primary) --- */
:root {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 355 100% 63%;
    /* #ff4655 Valorant Red */
    --primary-foreground: 0 0% 100%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 355 100% 63%;
    /* match primary for ring */
    --radius: 0.5rem;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;

    /* Valorant Tier Colors */
    --tier-select: 200 100% 50%;
    /* Blue */
    --tier-deluxe: 165 100% 40%;
    /* Green/Cyan */
    --tier-premium: 310 50% 55%;
    /* Pink/Purple */
    --tier-exclusive: 25 95% 65%;
    /* Orange/Gold */
    --tier-ultra: 48 95% 65%;
    /* Yellow/Gold */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: hsl(var(--background));
    background-image:
        linear-gradient(180deg, hsl(var(--background) / 0.66), hsl(var(--background) / 0.88)),
        linear-gradient(90deg, hsl(var(--background) / 0.76), hsl(var(--background) / 0.38)),
        url("./images/oni2-bg.png");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: hsl(var(--foreground));
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "rlig" 1, "calt" 1;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, hsl(var(--primary) / 0.08), transparent 34%),
        linear-gradient(180deg, hsl(210 70% 12% / 0.35), transparent 42%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 65%);
    z-index: -1;
}

::selection {
    background-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: none;
    color: hsl(var(--primary) / 0.8);
}

/* ================================================================
   NAVBAR — shadcn-style top bar
   ================================================================ */
.navbar {
    background-color: hsl(var(--background) / 0.8) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid hsl(var(--border));
    padding: 0 0;
    min-height: 4rem;
}

.navbar>.container {
    height: 4rem;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0;
    color: hsl(var(--foreground)) !important;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.brand-mark {
    width: 28px;
    height: 28px;
    background-color: hsl(var(--background));
    border-radius: calc(var(--radius) - 2px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    box-shadow: 0 0 15px hsl(var(--primary) / 0.3);
}

.brand-logo,
.auth-logo {
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0 0 12px hsl(var(--primary) / 0.32));
}

.brand-logo {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

.auth-logo {
    width: 48px;
    height: 48px;
}

.navbar-toggler {
    color: hsl(var(--foreground));
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: calc(var(--radius) - 2px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: hsl(var(--accent));
}

.navbar-toggler:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.navbar-toggler-icon {
    width: 1.25rem;
    height: 0.875rem;
    background-image:
        linear-gradient(hsl(var(--foreground)), hsl(var(--foreground))),
        linear-gradient(hsl(var(--foreground)), hsl(var(--foreground))),
        linear-gradient(hsl(var(--foreground)), hsl(var(--foreground)));
    background-repeat: no-repeat;
    background-position: top center, center center, bottom center;
    background-size: 100% 2px;
    filter: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground)) !important;
    padding: 0.5rem 0.875rem !important;
    border-radius: calc(var(--radius) - 2px);
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.nav-link:hover {
    color: hsl(var(--foreground)) !important;
    background-color: hsl(var(--accent));
}

.nav-link.active {
    color: hsl(var(--foreground)) !important;
    background-color: hsl(var(--accent));
}

.nav-link:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar>.container {
        height: auto;
        min-height: 3rem;
        flex-wrap: wrap;
    }

    .navbar-collapse {
        flex-basis: 100%;
        margin-top: 0.5rem;
        padding: 0.75rem;
        background-color: hsl(var(--popover));
        border: 1px solid hsl(var(--border));
        border-radius: var(--radius);
        box-shadow: 0 10px 24px rgb(0 0 0 / 0.28);
    }

    .navbar-collapse .navbar-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 0.25rem !important;
    }

    .navbar-collapse .navbar-nav+.navbar-nav {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid hsl(var(--border));
    }

    .navbar-collapse .nav-link {
        padding: 0.625rem 0.75rem !important;
        border-radius: calc(var(--radius) - 2px) !important;
        border-bottom: 0;
    }

    .navbar-collapse .dropdown-menu {
        width: 100%;
        margin: 0.25rem 0 0.5rem;
        box-shadow: none;
    }
}

/* ================================================================
   CARDS — exact shadcn card
   ================================================================ */
.card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    color: hsl(var(--card-foreground));
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card.interactive-card:hover,
.quick-action:hover {
    border-color: hsl(var(--primary) / 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgb(0 0 0 / 0.3);
}

.card.interactive-card:hover::after,
.quick-action:hover::after,
.skin-card:hover::after {
    opacity: 1;
}


.card-header {
    background-color: transparent;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 0;
}

.card-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.card-body,
.card-content {
    padding: 1.5rem;
    padding-top: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    padding-top: 0;
    background: transparent;
    border-top: none;
}

/* ================================================================
   BUTTONS — shadcn button variants
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    height: 2.25rem;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    border: 1px solid transparent;
    line-height: 1;
    gap: 0.5rem;
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Default (primary) */
.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
    box-shadow: none;
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
    border-color: hsl(var(--primary) / 0.9);
    color: hsl(var(--primary-foreground));
    transform: none;
    box-shadow: none;
}

/* Outline */
.btn-outline-primary,
.btn-outline {
    background-color: hsl(var(--background));
    border-color: hsl(var(--input));
    color: hsl(var(--foreground));
}

.btn-outline-primary:hover,
.btn-outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    border-color: hsl(var(--input));
}

/* Secondary */
.btn-secondary,
.btn-outline-secondary {
    background-color: hsl(var(--secondary));
    border-color: transparent;
    color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover,
.btn-outline-secondary:hover {
    background-color: hsl(var(--secondary) / 0.8);
    color: hsl(var(--secondary-foreground));
    border-color: transparent;
}

.btn-success {
    background-color: hsl(160 60% 38%);
    border-color: hsl(160 60% 38%);
    color: #fff;
}

.btn-success:hover {
    background-color: hsl(160 60% 34%);
    border-color: hsl(160 60% 34%);
    color: #fff;
}

.btn-warning {
    background-color: hsl(46 95% 65%);
    border-color: hsl(46 95% 65%);
    color: hsl(222.2 84% 4.9%);
}

.btn-warning:hover {
    background-color: hsl(46 95% 58%);
    border-color: hsl(46 95% 58%);
    color: hsl(222.2 84% 4.9%);
}

.btn-outline-info,
.btn-outline-success,
.btn-outline-warning {
    background-color: hsl(var(--background));
    border-color: hsl(var(--input));
    color: hsl(var(--foreground));
}

.btn-outline-info:hover {
    background-color: hsl(220 70% 50% / 0.16);
    border-color: hsl(220 70% 50% / 0.3);
    color: hsl(220 70% 72%);
}

.btn-outline-success:hover {
    background-color: hsl(160 60% 45% / 0.16);
    border-color: hsl(160 60% 45% / 0.3);
    color: hsl(160 60% 68%);
}

.btn-outline-warning:hover {
    background-color: hsl(46 95% 65% / 0.16);
    border-color: hsl(46 95% 65% / 0.3);
    color: hsl(46 95% 72%);
}

/* Ghost */
.btn-ghost {
    background-color: transparent;
    border-color: transparent;
    color: hsl(var(--foreground));
}

.btn-ghost:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* Destructive */
.btn-danger,
.btn-outline-danger {
    background-color: transparent;
    border-color: hsl(var(--input));
    color: hsl(var(--destructive-foreground));
}

.btn-outline-danger {
    color: hsl(0, 62.8%, 60%);
}

.btn-outline-danger:hover {
    background-color: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
    border-color: hsl(var(--destructive));
}

/* Button sizes */
.btn-sm {
    height: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: calc(var(--radius) - 2px);
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 0.875rem;
    height: 0.875rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 999px;
    color: hsl(var(--primary-foreground));
    animation: spin 0.65s linear infinite;
}

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

/* ================================================================
   FLIP CARDS (Valorant Store Reveal Style)
   ================================================================ */
.store-item-container {
    perspective: 1200px;
    height: 100%;
}

.skin-flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    will-change: transform;
}

.skin-flip-card.is-revealed {
    transform: rotateY(180deg);
}

/* Stable hover: scale only, avoid translateY to prevent jitter loops */
.skin-flip-card:hover {
    transform: scale(1.02);
}

.skin-flip-card.is-revealed:hover {
    transform: rotateY(180deg) scale(1.02);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    overflow: hidden;
    /* Ensure faces are slightly separated in 3D space for stability */
    transform: translateZ(0);
}

/* The 'Mystery' card back (what you see first) */
.card-front {
    background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--secondary)));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.card-front:hover {
    border-color: hsl(var(--primary) / 0.5);
    background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--primary) / 0.1));
}

.card-front i {
    font-size: 2.5rem;
    color: hsl(var(--primary) / 0.3);
    filter: drop-shadow(0 0 10px hsl(var(--primary) / 0.1));
    animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.card-front::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at center, transparent 0%, hsl(var(--background)) 100%),
        repeating-linear-gradient(45deg, hsl(var(--primary) / 0.03) 0px, hsl(var(--primary) / 0.03) 1px, transparent 1px, transparent 10px);
}

.card-front::after {
    content: "REVEAL";
    position: absolute;
    bottom: 1.5rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: hsl(var(--muted-foreground));
    opacity: 0.5;
}

/* The actual skin info (the back face) */
.card-back {
    background: hsl(var(--card));
    transform: rotateY(180deg) translateZ(1px);
    /* Ensure it's in front when flipped */
    display: flex;
    flex-direction: column;
}


/* Tier Specific Backs */
.tier-card-select .card-back,
.tier-card-精选 .card-back {
    border-color: hsl(var(--tier-select) / 0.5);
    box-shadow: 0 0 20px hsl(var(--tier-select) / 0.15);
}

.tier-card-deluxe .card-back,
.tier-card-豪华 .card-back {
    border-color: hsl(var(--tier-deluxe) / 0.5);
    box-shadow: 0 0 20px hsl(var(--tier-deluxe) / 0.15);
}

.tier-card-premium .card-back,
.tier-card-尊享 .card-back {
    border-color: hsl(var(--tier-premium) / 0.5);
    box-shadow: 0 0 20px hsl(var(--tier-premium) / 0.15);
}

.tier-card-exclusive .card-back,
.tier-card-独家 .card-back {
    border-color: hsl(var(--tier-exclusive) / 0.5);
    box-shadow: 0 0 20px hsl(var(--tier-exclusive) / 0.15);
}

.tier-card-ultra .card-back,
.tier-card-至臻 .card-back {
    border-color: hsl(var(--tier-ultra) / 0.5);
    box-shadow: 0 0 20px hsl(var(--tier-ultra) / 0.15);
}

/* Accent Gradients for different tiers */
.tier-card-select .skin-img-wrap,
.tier-card-精选 .skin-img-wrap {
    background:
        radial-gradient(ellipse at 50% 80%, hsl(var(--tier-select) / 0.25), transparent 70%),
        linear-gradient(180deg, hsl(var(--tier-select) / 0.06), hsl(var(--tier-select) / 0.12)) !important;
}

.tier-card-deluxe .skin-img-wrap,
.tier-card-豪华 .skin-img-wrap {
    background:
        radial-gradient(ellipse at 50% 80%, hsl(var(--tier-deluxe) / 0.25), transparent 70%),
        linear-gradient(180deg, hsl(var(--tier-deluxe) / 0.06), hsl(var(--tier-deluxe) / 0.12)) !important;
}

.tier-card-premium .skin-img-wrap,
.tier-card-尊享 .skin-img-wrap {
    background:
        radial-gradient(ellipse at 50% 80%, hsl(var(--tier-premium) / 0.25), transparent 70%),
        linear-gradient(180deg, hsl(var(--tier-premium) / 0.06), hsl(var(--tier-premium) / 0.12)) !important;
}

.tier-card-exclusive .skin-img-wrap,
.tier-card-独家 .skin-img-wrap {
    background:
        radial-gradient(ellipse at 50% 80%, hsl(var(--tier-exclusive) / 0.25), transparent 70%),
        linear-gradient(180deg, hsl(var(--tier-exclusive) / 0.06), hsl(var(--tier-exclusive) / 0.12)) !important;
}

.tier-card-ultra .skin-img-wrap,
.tier-card-至臻 .skin-img-wrap {
    background:
        radial-gradient(ellipse at 50% 80%, hsl(var(--tier-ultra) / 0.25), transparent 70%),
        linear-gradient(180deg, hsl(var(--tier-ultra) / 0.06), hsl(var(--tier-ultra) / 0.12)) !important;
}

/* Reveal Animation */
.is-revealed .card-back::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: sweep 1.5s ease-out forwards;
}

@keyframes sweep {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

/* Staggered reveal animations */
@keyframes reveal-pop {
    0% {
        transform: scale(0.9) translateY(10px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.reveal-stagger {
    animation: reveal-pop 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}


/* ================================================================
   INPUTS — shadcn input
   ================================================================ */
.form-control,
.form-select {
    display: flex;
    width: 100%;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid hsl(var(--input));
    background-color: hsl(var(--background));
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    height: 2.5rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    outline: none;
}

.form-control::placeholder {
    color: hsl(var(--muted-foreground));
}

textarea.form-control {
    height: auto;
    min-height: 5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.375rem;
}

.form-text {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.375rem;
}

/* ================================================================
   BADGES — shadcn badge
   ================================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid transparent;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    transition: color 0.15s, background-color 0.15s;
}

/* Tier badges — colored subtle variants */
.tier-badge {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
}

.tier-精选,
.tier-Select,
.tier-select {
    background-color: hsl(213 70% 50% / 0.15);
    color: hsl(213 70% 65%);
    border-color: hsl(213 70% 50% / 0.2);
}

.tier-豪华,
.tier-Deluxe,
.tier-deluxe {
    background-color: hsl(170 60% 42% / 0.15);
    color: hsl(170 60% 60%);
    border-color: hsl(170 60% 42% / 0.2);
}

.tier-尊享,
.tier-Premium,
.tier-premium {
    background-color: hsl(335 55% 55% / 0.15);
    color: hsl(335 55% 70%);
    border-color: hsl(335 55% 55% / 0.2);
}

.tier-独家,
.tier-Exclusive,
.tier-exclusive {
    background-color: hsl(25 90% 60% / 0.15);
    color: hsl(25 90% 70%);
    border-color: hsl(25 90% 60% / 0.2);
}

.tier-至臻,
.tier-Ultra,
.tier-ultra {
    background-color: hsl(46 95% 65% / 0.15);
    color: hsl(46 95% 70%);
    border-color: hsl(46 95% 65% / 0.2);
}

/* ================================================================
   SKIN CARDS
   ================================================================ */
.skin-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, hsl(var(--card)), hsl(var(--secondary) / 0.5));
}

.skin-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 10px 10px -5px rgb(0 0 0 / 0.3);
}

.skin-flip-card .card-back:hover {
    transform: rotateY(180deg) translateZ(1px);
}

.skin-img-wrap {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--secondary) / 0.5);
    background-image:
        linear-gradient(45deg, hsl(var(--background) / 0.5) 25%, transparent 25%),
        linear-gradient(-45deg, hsl(var(--background) / 0.5) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, hsl(var(--background) / 0.5) 75%),
        linear-gradient(-45deg, transparent 75%, hsl(var(--background) / 0.5) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
}

.skin-img-wrap-sm {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--secondary) / 0.5);
    padding: 1rem;
    overflow: hidden;
}

.skin-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skin-card:hover .skin-img {
    transform: scale(1.1) rotate(2deg);
}

/* ================================================================
   FAVORITE BUTTON — shadcn outline toggle
   ================================================================ */
.fav-btn {
    font-size: 0.75rem !important;
    height: 1.75rem !important;
    padding: 0 0.5rem !important;
}

.fav-btn.btn-outline-secondary {
    background-color: transparent !important;
    border-color: hsl(var(--input)) !important;
    color: hsl(var(--muted-foreground)) !important;
}

.fav-btn.btn-outline-secondary:hover {
    background-color: hsl(var(--accent)) !important;
    color: hsl(var(--accent-foreground)) !important;
    border-color: hsl(var(--input)) !important;
}

.fav-btn.btn-warning {
    background-color: hsl(46 95% 65% / 0.15) !important;
    color: hsl(46 95% 70%) !important;
    border-color: hsl(46 95% 65% / 0.2) !important;
}

.fav-btn.btn-warning:hover {
    background-color: hsl(46 95% 65% / 0.25) !important;
}

/* ================================================================
   TABLES — shadcn table
   ================================================================ */
.table {
    width: 100%;
    caption-side: bottom;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    --bs-table-bg: transparent;
    --bs-table-border-color: hsl(var(--border));
}

.table thead th {
    height: 2.5rem;
    padding: 0 1rem;
    text-align: left;
    vertical-align: middle;
    font-weight: 500;
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    border-top: none;
}

.table tbody tr {
    border-bottom: 1px solid hsl(var(--border));
    transition: background-color 0.15s;
}

.table tbody tr:hover {
    background-color: hsl(var(--muted) / 0.5);
}

.table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

/* ================================================================
   DROPDOWNS — shadcn dropdown-menu
   ================================================================ */
.dropdown-menu {
    background-color: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    padding: 0.25rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    color: hsl(var(--popover-foreground));
    min-width: 8rem;
}

.dropdown-item {
    color: hsl(var(--popover-foreground));
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.8125rem;
    padding: 0.375rem 0.5rem;
    transition: background-color 0.1s, color 0.1s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.dropdown-item.active {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.dropdown-divider {
    border-color: hsl(var(--border));
    margin: 0.25rem 0;
}

/* ================================================================
   ALERTS — shadcn alert
   ================================================================ */
.alert {
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.alert-success {
    border-color: hsl(160 60% 45% / 0.3);
    color: hsl(160 60% 60%);
}

.alert-danger {
    border-color: hsl(var(--destructive) / 0.5);
    color: hsl(0 62.8% 60%);
}

.alert-info {
    border-color: hsl(220 70% 50% / 0.3);
    color: hsl(220 70% 65%);
}

.alert-warning {
    border-color: hsl(46 95% 65% / 0.3);
    color: hsl(46 95% 70%);
}

.alert .btn-close {
    top: 50%;
    transform: translateY(-50%);
    padding: 0.75rem 1rem;
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.5;
}

/* ================================================================
   PAGINATION — shadcn style
   ================================================================ */
.pagination {
    gap: 0.25rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border: 1px solid transparent;
    background-color: transparent;
    color: hsl(var(--foreground));
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0 0.5rem;
}

.page-link:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    border-color: transparent;
}

.page-item.active .page-link {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: transparent;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    background: transparent;
}

/* ================================================================
   SEPARATOR
   ================================================================ */
.separator {
    height: 1px;
    width: 100%;
    background-color: hsl(var(--border));
    margin: 1rem 0;
}

/* ================================================================
   SECTION HEADING — page title pattern
   ================================================================ */
.page-header {
    margin-bottom: 2rem;
    position: relative;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: uppercase;
    background: linear-gradient(to bottom right, #fff 50%, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.05em;
}

.page-header p {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    margin: 0.5rem 0 0;
    font-weight: 500;
}


/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state .empty-icon {
    color: hsl(var(--muted-foreground));
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.empty-state h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ================================================================
   APP LAYOUT PATTERNS
   ================================================================ */
.app-main {
    min-height: calc(100vh - 8rem);
}

.app-footer {
    border-top: 1px solid hsl(var(--border));
    padding: 1.5rem 0;
}

.app-footer small,
.app-footer a {
    color: hsl(var(--muted-foreground));
}

.auth-shell {
    min-height: calc(100vh - 12rem);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 420px);
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.auth-copy {
    max-width: 540px;
}

.auth-copy h1 {
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1rem;
}

.auth-copy p {
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
    max-width: 32rem;
}

.auth-visual {
    margin-top: 1.75rem;
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
    padding: 0.875rem 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.auth-visual span {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.25rem 1rem;
    border-right: 1px solid hsl(var(--border) / 0.75);
    color: hsl(var(--foreground));
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    text-wrap: balance;
}

.auth-visual span:first-child {
    padding-left: 0;
}

.auth-visual span:last-child {
    border-right: 0;
    padding-right: 0;
}

.auth-visual span i {
    color: hsl(var(--primary));
    flex: 0 0 auto;
    font-size: 1rem;
}

.auth-card {
    background: hsl(var(--card) / 0.88);
    backdrop-filter: blur(18px);
}

.auth-card:hover {
    transform: none;
    border-color: hsl(var(--border));
}

.eyebrow {
    color: hsl(var(--primary));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 1.875rem;
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    background: hsl(var(--secondary) / 0.55);
    color: hsl(var(--foreground));
    font-size: 0.8125rem;
}

.status-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: hsl(160 60% 45%);
    box-shadow: 0 0 0 4px hsl(160 60% 45% / 0.12);
    flex: 0 0 auto;
}

.status-dot.warning {
    background: hsl(46 95% 65%);
    box-shadow: 0 0 0 4px hsl(46 95% 65% / 0.12);
}

.region-badge {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border-color: hsl(var(--border));
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    background: hsl(var(--card) / 0.72);
}

.summary-label {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}

.summary-value {
    font-size: 1rem;
    font-weight: 700;
}

.section-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-kicker {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.store-card-frame {
    height: 260px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-height: 4.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1rem;
    background: hsl(var(--card) / 0.72);
    color: hsl(var(--foreground));
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.35), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.quick-action-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius);
    background: hsl(var(--secondary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.quick-action-title {
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    font-weight: 600;
}

.quick-action-meta {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
}

.account-banner {
    border: 1px solid hsl(160 60% 45% / 0.35);
    border-radius: var(--radius);
    background: hsl(160 60% 20% / 0.12);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-grid {
    counter-reset: steps;
}

.process-step {
    height: 100%;
}

.process-step:hover {
    transform: none;
}

.step-number {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--primary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.subtle-box {
    background: hsl(var(--secondary) / 0.65);
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    padding: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.bind-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 1.25rem;
    align-items: start;
}

.bind-guide-panel,
.bind-form-card,
.bind-account-card {
    border: 1px solid hsl(var(--border) / 0.9);
    border-radius: var(--radius);
    background: hsl(var(--card) / 0.62);
    backdrop-filter: blur(18px);
}

.bind-guide-panel {
    padding: 1.25rem;
}

.bind-step {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.bind-step:last-child {
    padding-bottom: 0;
}

.bind-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 0.9375rem;
    top: 2.375rem;
    bottom: 0.25rem;
    width: 1px;
    background: hsl(var(--border));
}

.bind-step-marker {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: hsl(var(--primary-foreground));
    background: hsl(var(--primary));
    box-shadow: 0 0 0 6px hsl(var(--primary) / 0.12);
    font-size: 0.8125rem;
    font-weight: 800;
}

.bind-step-content h2 {
    margin: 0;
    color: hsl(var(--foreground));
    font-size: 1rem;
    font-weight: 750;
}

.bind-step-content p {
    margin: 0.45rem 0 0.875rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.7;
}

.bind-step-content details {
    margin-top: 0.75rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.8125rem;
}

.bind-step-content summary {
    cursor: pointer;
    width: max-content;
    color: hsl(var(--muted-foreground));
    font-weight: 650;
}

.bind-step-content ul {
    margin: 0.625rem 0 0;
    padding-left: 1.1rem;
    line-height: 1.7;
}

.bind-code-note {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.625rem;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border) / 0.75);
    border-radius: calc(var(--radius) - 2px);
    background: hsl(var(--background) / 0.42);
}

.bind-code-note code {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: hsl(var(--foreground));
    font-size: 0.75rem;
}

.bind-form-panel {
    display: grid;
    gap: 0.875rem;
    position: sticky;
    top: 5.75rem;
}

.bind-form-card {
    overflow: hidden;
}

.bind-form-header {
    padding: 1.25rem 1.25rem 0;
}

.bind-form-header h2 {
    margin: 0;
    color: hsl(var(--foreground));
    font-size: 1.05rem;
    font-weight: 750;
}

.bind-form-header p {
    margin: 0.35rem 0 0;
    color: hsl(var(--muted-foreground));
    font-size: 0.8125rem;
}

.bind-form-card form {
    padding: 1.25rem;
}

.bind-token-input {
    min-height: 8rem;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.bind-token-note {
    display: flex;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid hsl(var(--border) / 0.75);
    color: hsl(var(--muted-foreground));
    background: hsl(var(--background) / 0.26);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.bind-token-note i {
    color: hsl(46 95% 70%);
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.bind-account-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.bind-account-card span,
.bind-account-card small {
    display: block;
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    font-weight: 650;
}

.bind-account-card strong {
    display: block;
    margin: 0.15rem 0;
    color: hsl(var(--foreground));
    font-size: 0.9375rem;
}

.bind-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    text-decoration: none;
}

.bind-back-link:hover {
    color: hsl(var(--foreground));
}

.search-shell {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.skin-card-body {
    padding: 0.75rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-tile {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.25rem;
    background: hsl(var(--card) / 0.72);
}

.stat-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--secondary));
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
}

.stat-label {
    color: hsl(var(--muted-foreground));
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

.table-shell {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
    background: hsl(var(--card) / 0.72);
}

.table-shell .table {
    margin-bottom: 0;
}

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

.admin-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-overview {
    display: grid;
    gap: 0.875rem;
}

.admin-panel {
    border: 1px solid hsl(var(--border) / 0.9);
    border-radius: var(--radius);
    background: hsl(var(--card) / 0.58);
    backdrop-filter: blur(18px);
}

.admin-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid hsl(var(--border) / 0.75);
}

.admin-panel-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: hsl(var(--foreground));
    font-size: 0.9375rem;
    font-weight: 700;
}

.admin-panel-header h2 i {
    color: hsl(var(--primary));
    font-size: 1rem;
}

.admin-panel-header p {
    margin: 0.35rem 0 0;
    color: hsl(var(--muted-foreground));
    font-size: 0.8125rem;
}

.admin-panel-body {
    padding: 1.25rem;
}

.admin-status-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-status-list>div,
.admin-inline-stat {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
}

.admin-status-list>div+div {
    border-left: 1px solid hsl(var(--border) / 0.75);
}

.admin-status-list span,
.admin-inline-stat span {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-status-list strong,
.admin-inline-stat strong {
    color: hsl(var(--foreground));
    font-size: 1.05rem;
}

.admin-health {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.25rem 0.625rem;
    color: hsl(var(--muted-foreground));
    background: hsl(var(--secondary) / 0.65);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-health::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
}

.admin-health.is-on {
    color: hsl(160 60% 60%);
    background: hsl(160 60% 20% / 0.32);
}

.admin-health.is-off {
    color: hsl(46 95% 70%);
    background: hsl(46 95% 20% / 0.26);
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1rem;
}

.admin-table-shell {
    background: hsl(var(--card) / 0.62);
    backdrop-filter: blur(18px);
}

.admin-table {
    --bs-table-hover-bg: hsl(var(--muted) / 0.24);
}

.admin-table thead th {
    height: 3rem;
    background: hsl(var(--background) / 0.34);
    color: hsl(var(--muted-foreground));
    font-weight: 700;
}

.admin-table td {
    height: 3.625rem;
    color: hsl(var(--foreground));
    border-color: hsl(var(--border) / 0.78);
}

.admin-strong {
    color: hsl(var(--foreground));
    font-weight: 650;
}

.admin-muted {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.admin-code {
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.16);
    border-radius: 999px;
    padding: 0.125rem 0.5rem;
    font-size: 0.8125rem;
}

.admin-region {
    color: hsl(var(--foreground));
    font-weight: 650;
    letter-spacing: 0.04em;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.625rem;
    color: hsl(var(--muted-foreground));
    background: hsl(var(--secondary) / 0.72);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.admin-badge-success {
    color: hsl(160 60% 70%);
    background: hsl(160 60% 20% / 0.45);
}

.admin-badge-danger {
    color: hsl(0 85% 72%);
    background: hsl(var(--primary) / 0.18);
}

.admin-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.admin-icon-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    background: hsl(var(--background) / 0.35);
    transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.admin-icon-btn:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--accent));
    border-color: hsl(var(--border));
}

.admin-icon-btn.is-danger {
    color: hsl(0 85% 70%);
}

.admin-icon-btn.is-danger:hover {
    color: hsl(var(--destructive-foreground));
    background: hsl(var(--destructive));
    border-color: hsl(var(--destructive));
}

.admin-icon-btn.is-info {
    color: hsl(210 90% 72%);
}

.admin-icon-btn.is-success {
    color: hsl(160 60% 65%);
}

.admin-icon-btn.is-warning {
    color: hsl(46 95% 70%);
}

.admin-current-user {
    color: hsl(var(--muted-foreground));
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ================================================================
   UTILITY OVERRIDES
   ================================================================ */
.text-muted {
    color: hsl(var(--muted-foreground)) !important;
}

.text-foreground {
    color: hsl(var(--foreground)) !important;
}

.text-primary {
    color: hsl(var(--primary)) !important;
}

.text-danger {
    color: hsl(0 62.8% 60%) !important;
}

.bg-muted {
    background-color: hsl(var(--muted)) !important;
}

.border-muted {
    border-color: hsl(var(--border)) !important;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .auth-copy {
        display: none;
    }

    .dashboard-summary,
    .stat-grid,
    .settings-grid,
    .admin-actions,
    .bind-layout {
        grid-template-columns: 1fr;
    }

    .bind-form-panel {
        position: static;
    }

    .admin-status-list {
        grid-template-columns: 1fr;
    }

    .admin-status-list>div+div {
        border-left: 0;
        border-top: 1px solid hsl(var(--border) / 0.75);
    }

    .admin-panel-header,
    .admin-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .section-toolbar,
    .search-shell {
        align-items: stretch;
        flex-direction: column;
    }

    .card-header,
    .card-body,
    .card-content {
        padding: 1rem;
    }

    .card-body,
    .card-content {
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .skin-img-wrap {
        aspect-ratio: 4/3;
    }

    .skin-img-wrap-sm {
        aspect-ratio: 4/3;
    }

    .btn:not(.btn-sm):not(.btn-ghost):not(.fav-btn):not(.dropdown-item) {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 0.6rem 0 !important;
        border-bottom: 1px solid hsl(var(--border));
        border-radius: 0 !important;
    }

    .navbar-collapse .nav-link {
        padding: 0.625rem 0.75rem !important;
        border-bottom: 0;
        border-radius: calc(var(--radius) - 2px) !important;
    }

    .store-card-frame {
        height: 220px;
    }

    .account-banner {
        align-items: stretch;
    }
}
