/* ===== Base ===== */
:root {
    --color-primary: #c0392b;
    --color-primary-dark: #96281b;
    --color-accent: #e67e22;
    --color-accent-light: #f39c12;
    --color-bg-light: #fdf6f0;
    --color-bg-warm: #fef9f4;
    --color-text: #2c3e50;
    --color-text-muted: #7f8c8d;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text);
    background-color: #fafafa;
}

/* ===== Navbar ===== */
.navbar-brand .brand-icon { font-size: 1.3rem; }
.navbar .nav-link.active { color: #f39c12 !important; font-weight: 500; }
.category-dropdown {
    max-height: 400px;
    overflow-y: auto;
    min-width: 280px;
}
.category-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    font-size: 0.9rem;
}
.category-dropdown .dropdown-item .badge { font-size: 0.7rem; }

/* ===== Hero ===== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, #1a1a2e 100%);
    color: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.hero-section h1 { font-weight: 700; font-size: 2.5rem; }
.hero-section .lead { opacity: 0.9; }
.hero-search {
    max-width: 500px;
    margin: 0 auto;
}
.hero-search .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
}
.hero-search .btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 24px;
}

/* ===== Section ===== */
.section-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }
.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

/* ===== Category Grid ===== */
.category-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    padding: 20px 10px;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    color: inherit;
}
.category-card .emoji { font-size: 2rem; display: block; margin-bottom: 8px; }
.category-card .cat-name { font-weight: 600; font-size: 0.95rem; }
.category-card .cat-en { font-size: 0.75rem; color: var(--color-text-muted); }
.category-card .cat-count {
    font-size: 0.7rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-top: 4px;
}

/* ===== Menu Card ===== */
.menu-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    overflow: hidden;
    height: 100%;
}
.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.menu-card .card-body { padding: 20px; }
.menu-card .menu-name-ko {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.menu-card .menu-name-en {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.menu-card .menu-romanized {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 8px;
}
.menu-card .menu-desc {
    font-size: 0.85rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-card .card-footer {
    background: transparent;
    border-top: 1px solid #f0f0f0;
    padding: 10px 20px;
}
.menu-card .category-badge {
    background: var(--color-bg-light);
    color: var(--color-primary);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 500;
}

/* ===== Value Blocks ===== */
.use-case-card {
    position: relative;
    border-radius: 20px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(230, 126, 34, 0.12), transparent 32%),
        linear-gradient(180deg, #fff8f1 0%, #ffffff 100%);
    border: 1px solid rgba(192, 57, 43, 0.08);
    box-shadow: 0 12px 32px rgba(44, 62, 80, 0.06);
}
.use-case-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}
.use-case-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.use-case-card p {
    color: #5f6b76;
    margin-bottom: 18px;
    line-height: 1.7;
}
.use-case-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}
.use-case-link:hover {
    color: var(--color-primary-dark);
}
.finder-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 22px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    background:
        radial-gradient(circle at top right, rgba(243, 156, 18, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fff8f1 100%);
    border: 1px solid rgba(44, 62, 80, 0.07);
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.05);
}
.finder-card:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(44, 62, 80, 0.09);
}
.finder-emoji {
    font-size: 1.8rem;
}
.finder-card strong {
    font-size: 1.02rem;
}
.finder-card small {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===== Detail Page ===== */
.detail-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    padding: 50px 0 40px;
}
.detail-header h1 { font-size: 2rem; font-weight: 700; }
.lang-card {
    border: none;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.lang-card .lang-header {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang-card .lang-body { padding: 16px 20px; }
.lang-card .lang-name { font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.lang-card .lang-desc { font-size: 0.9rem; color: #555; line-height: 1.7; }

.lang-en .lang-header { background: #e8f4fd; color: #1a73e8; }
.lang-jp .lang-header { background: #fce8e8; color: #d32f2f; }
.lang-cn-s .lang-header { background: #fff3e0; color: #e65100; }
.lang-cn-t .lang-header { background: #e8f5e9; color: #2e7d32; }

.utility-panel {
    background: #fff;
    border: 1px solid rgba(192, 57, 43, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(44, 62, 80, 0.06);
}
.utility-panel-highlight {
    background:
        radial-gradient(circle at top right, rgba(230, 126, 34, 0.12), transparent 24%),
        linear-gradient(180deg, #fffefb 0%, #ffffff 100%);
}
.utility-panel-head {
    margin-bottom: 18px;
}
.utility-panel-head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.utility-panel-head p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}
.utility-summary-box {
    border-radius: 16px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #fff6ef 0%, #fff 100%);
    border: 1px solid rgba(230, 126, 34, 0.16);
    margin-bottom: 12px;
}
.utility-summary-box-alt {
    background: linear-gradient(180deg, #f5f8fb 0%, #fff 100%);
    border-color: rgba(44, 62, 80, 0.12);
}
.utility-summary-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.utility-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.utility-fact-card {
    border-radius: 16px;
    background: #faf6f2;
    padding: 16px;
}
.utility-fact-card span,
.utility-fact-card small {
    display: block;
    color: var(--color-text-muted);
}
.utility-fact-card strong {
    display: block;
    font-size: 1.05rem;
    margin: 4px 0;
}
.copy-ready-grid {
    display: grid;
    gap: 12px;
}
.copy-ready-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 16px;
    padding: 16px 18px;
    background: #fffdfa;
}
.copy-ready-label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.copy-ready-value {
    font-weight: 700;
    font-size: 1.05rem;
}
.copy-ready-subvalue {
    color: var(--color-accent);
    font-size: 0.85rem;
    margin-top: 4px;
}
.utility-copy-btn {
    flex-shrink: 0;
    min-width: 72px;
}
.utility-phrase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.utility-phrase-card {
    border-radius: 18px;
    border: 1px solid rgba(44, 62, 80, 0.08);
    padding: 18px;
    background: #fff;
}
.utility-phrase-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.utility-phrase-title {
    font-weight: 800;
}
.utility-phrase-caption {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 2px;
}
.utility-phrase-text {
    color: #334155;
    line-height: 1.8;
}
.utility-chip-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.utility-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff6ef;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(230, 126, 34, 0.18);
}
.utility-chip:hover {
    color: var(--color-primary-dark);
    background: #ffefe1;
}
.utility-chip-accent {
    background: #fff0ef;
    border-color: rgba(192, 57, 43, 0.18);
}
.utility-chip-neutral {
    background: #f3f6f8;
    border-color: rgba(44, 62, 80, 0.1);
    color: #334155;
}
.profile-summary-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #3d4b5a;
}
.profile-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.profile-column-card {
    border-radius: 18px;
    padding: 18px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(44, 62, 80, 0.08);
}
.profile-column-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.recommend-hero {
    background: linear-gradient(135deg, #7c1d12 0%, #b45309 50%, #111827 100%);
}
.recommend-section-head {
    margin-bottom: 20px;
}
.recommend-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 10px;
}
.recommend-section-head h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.recommend-section-head p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}
.recommend-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(230, 126, 34, 0.12), transparent 34%),
        linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.05);
}
.recommend-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.recommend-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.recommend-card-en {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 500;
}
.recommend-card-desc {
    color: #566270;
    line-height: 1.7;
    margin-bottom: 14px;
}
.recommend-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.theme-hero {
    background: linear-gradient(135deg, #0f766e 0%, #155e75 52%, #1f2937 100%);
}
.theme-hero-shell {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}
.theme-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.theme-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: rgba(255,255,255,0.72);
    margin-bottom: 10px;
}
.theme-card {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 34%),
        linear-gradient(180deg, #f4fffd 0%, #ffffff 100%);
    border: 1px solid rgba(15, 118, 110, 0.10);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}
.theme-card-link {
    text-decoration: none;
    color: inherit;
}
.theme-card-link:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.theme-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}
.theme-card-icon {
    font-size: 1.8rem;
}
.theme-card-stat {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
}
.theme-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.theme-card p {
    color: #55626f;
    line-height: 1.7;
    margin-bottom: 16px;
}
.theme-preview-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.theme-preview-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef7f6;
    color: #155e75;
    font-size: 0.82rem;
    font-weight: 600;
}
.theme-link {
    color: #0f766e;
    font-weight: 800;
    margin-top: auto;
}
.theme-highlight-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.theme-highlight-item {
    border-radius: 18px;
    padding: 18px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(15, 118, 110, 0.10);
}
.theme-highlight-item strong {
    display: block;
    line-height: 1.7;
}

.compare-hero {
    background: linear-gradient(135deg, #1f2937 0%, #374151 55%, #7c1d12 100%);
}
.compare-head-grid,
.compare-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.compare-menu-card {
    border-radius: 20px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(243, 156, 18, 0.10), transparent 30%),
        linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.05);
}
.compare-menu-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.compare-menu-en {
    color: var(--color-primary);
    margin-bottom: 10px;
}
.compare-menu-desc {
    color: #566270;
    line-height: 1.7;
}
.compare-table th,
.compare-table td {
    vertical-align: top;
}
.compare-suggestion-card {
    border-radius: 18px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.04);
}
.compare-suggestion-names {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.compare-suggestion-names span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}
.compare-suggestion-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.category-insight-panel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    border-radius: 20px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(26, 188, 156, 0.16), transparent 35%),
        linear-gradient(135deg, #f2fbf8 0%, #ffffff 100%);
    border: 1px solid rgba(22, 160, 133, 0.12);
}
.category-insight-copy h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.category-insight-copy p {
    margin: 0;
    color: #55626f;
}
.category-insight-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== Search ===== */
.search-hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 50px 0 40px;
}
.search-result-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s;
}
.search-result-item:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.highlight { background: #fff3cd; padding: 1px 3px; border-radius: 3px; }

/* ===== Today ===== */
.today-hero {
    background: linear-gradient(135deg, var(--color-accent), #d35400);
    color: #fff;
    padding: 50px 0 40px;
}
.today-card {
    border: none;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s;
}
.today-card:hover { transform: translateY(-3px); }
.today-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
}

/* ===== Category Page ===== */
.category-hero {
    background: linear-gradient(135deg, #16a085, #1abc9c);
    color: #fff;
    padding: 50px 0 40px;
}

/* ===== Pagination ===== */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: none;
    color: var(--color-text);
}
.pagination .page-item.active .page-link {
    background: var(--color-primary);
    color: #fff;
}

/* ===== Breadcrumb ===== */
.breadcrumb-custom {
    background: var(--color-bg-warm);
    padding: 12px 0;
    font-size: 0.85rem;
}
.breadcrumb-custom a { color: var(--color-primary); text-decoration: none; }

/* ===== Static Pages ===== */
.page-hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 50px 0 40px;
}
.content-section { background: #fff; border-radius: 12px; padding: 30px; margin-bottom: 20px; }
.faq-item .accordion-button:not(.collapsed) {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

/* ===== Footer ===== */
footer.bg-dark .text-muted,
footer.bg-dark p.text-muted,
footer.bg-dark small.text-muted {
    color: #adb5bd !important;
}
footer.bg-dark a.text-muted,
footer.bg-dark .footer-link {
    color: #ced4da !important;
    transition: color 0.2s;
}
footer.bg-dark a.text-muted:hover,
footer.bg-dark .footer-link:hover {
    color: #fff !important;
}
footer.bg-dark h5,
footer.bg-dark h6 {
    color: #f8f9fa;
}

/* ===== Back to Top ===== */
#backToTop { transition: opacity 0.3s; }

/* ===== Stats ===== */
.stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}
.stat-card .stat-number { font-size: 2rem; font-weight: 800; }
.stat-card .stat-label { font-size: 0.85rem; opacity: 0.8; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section { padding: 50px 0 40px; }
    .hero-section h1 { font-size: 1.8rem; }
    .category-dropdown { max-height: 300px; }
    .detail-header h1 { font-size: 1.5rem; }
    .navbar .input-group { margin-top: 10px; }
    .section-header-inline,
    .copy-ready-card,
    .utility-phrase-top,
    .category-insight-panel,
    .recommend-card-top,
    .theme-card-top,
    .theme-hero-shell {
        flex-direction: column;
        align-items: flex-start;
    }
    .utility-facts-grid,
    .utility-phrase-grid,
    .profile-columns,
    .compare-head-grid,
    .compare-profile-grid,
    .theme-highlight-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.5rem; }
    .category-card { padding: 14px 8px; }
    .category-card .emoji { font-size: 1.5rem; }
    .utility-panel,
    .use-case-card,
    .category-insight-panel {
        padding: 18px;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }
.fade-in:nth-child(5) { animation-delay: 0.4s; }

/* ===== Admin ===== */
.admin-container { max-width: 600px; margin: 50px auto; }
.admin-body {
    background:
        radial-gradient(circle at top right, rgba(230, 126, 34, 0.14), transparent 28%),
        linear-gradient(180deg, #f7f1ea 0%, #efe6dd 100%);
    min-height: 100vh;
}
.admin-shell { min-height: 100vh; }
.admin-hero {
    background: linear-gradient(135deg, #7c1d12 0%, #96281b 42%, #111827 100%);
    color: #fff;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
}
.admin-kicker {
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    opacity: 0.72;
    margin-bottom: 10px;
}
.admin-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.admin-hero p {
    margin: 0;
    opacity: 0.82;
}
.admin-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.admin-alert {
    border: none;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.admin-stat-card {
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}
.admin-stat-card strong {
    font-size: 1.8rem;
    display: block;
    line-height: 1.1;
}
.admin-stat-label {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.admin-panel {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.74);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}
.admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.admin-panel-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.admin-panel-head p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}
.admin-form-grid {
    display: grid;
    gap: 18px;
}
.admin-form-row label {
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
}
.admin-preview-wrap {
    background: linear-gradient(180deg, rgba(17,24,39,0.04), rgba(17,24,39,0.08));
    border-radius: 18px;
    padding: 16px;
}
.admin-og-canvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.16);
}
.admin-inline-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 0.86rem;
}
.admin-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-status-list {
    display: grid;
    gap: 14px;
}
.admin-status-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}
.admin-status-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.admin-status-list .label {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}
.admin-status-list code {
    background: #f3efe9;
    color: #5b4636;
    border-radius: 8px;
    padding: 4px 8px;
    word-break: break-all;
}
.admin-status-list.compact > div {
    padding-bottom: 10px;
}
.admin-callout {
    border-radius: 18px;
    background: #f8f2ea;
    padding: 18px;
}
.admin-callout strong {
    display: block;
    margin-bottom: 8px;
}
.admin-callout ul {
    padding-left: 18px;
}
.admin-callout li + li {
    margin-top: 6px;
}
.admin-color-input {
    width: 100%;
    min-width: 0;
    height: 44px;
}

@media (max-width: 768px) {
    .admin-hero {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-panel {
        padding: 22px;
    }
    .admin-panel-head,
    .admin-actions,
    .admin-status-list > div {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}
