/* ========================================
   OVP Online — Global Styles
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font: 'Poppins', 'Noto Sans JP', sans-serif;
    --bg: #f8fafc;
    --bg2: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f1f5f9;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-dim: #64748b;
    --accent: #2563eb;
    --accent2: #3b82f6;
    --accent3: #60a5fa;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.3rem;
}

.logo-css-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f92a47 0%, #c4327a 40%, #5d67d6 100%);
    flex-shrink: 0;
}

.logo-css-inner {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
}

.logo-css-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #c4327a;
}

.logo-accent {
    color: var(--accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--text);
    text-decoration: none;
}

.btn-nav {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    text-decoration: none !important;
}

/* --- Hero --- */
.hero {
    position: relative;
    padding: 120px 0 60px;
    text-align: center;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.hero-bg-shapes {
    display: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -100px;
    left: -100px;
    animation: float1 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent3);
    bottom: -60px;
    right: -80px;
    animation: float2 10s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, 30px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, -40px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #f43f5e;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.08);
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.4;
    font-feature-settings: "palt";
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    animation: fadeInDown 0.7s ease;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-dim);
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInDown 0.8s ease;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInDown 0.9s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    text-decoration: none;
}

.btn-arrow {
    transition: transform 0.2s;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- How It Works --- */
.how-it-works {
    padding: 100px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 60px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    width: 220px;
    transition: transform 0.3s, background 0.3s;
}

.step:hover {
    transform: translateY(-4px);
    background: var(--surface-hover);
}

.step-icon-wrap {
    position: relative;
    margin-bottom: 16px;
    display: inline-block;
}

.step-icon {
    font-size: 2.4rem;
}

.step-num {
    position: absolute;
    top: -6px;
    right: -10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--text-dim);
    padding-top: 40px;
}

/* --- Generator / Cards --- */
.generator {
    padding: 100px 0;
    background: #f1f5f9;
}

.container-large {
    max-width: 1300px;
}

.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.generator-grid-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: stretch;
}

.generator-left {
    flex: 0 0 340px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.generator-right {
    flex: 1;
    min-width: 500px;
    display: flex;
    flex-direction: column;
}

.url-card-flat {
    margin-bottom: 32px;
}

.chapter-card-flex {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-card-flex {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    animation: cardIn 0.4s ease;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-step {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.card-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* URL Input */
.url-input-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.url-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    transition: border-color 0.2s;
}

.url-input-wrap:focus-within {
    border-color: var(--accent);
}

.url-icon {
    font-size: 1.1rem;
}

.url-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    padding: 14px 0;
    outline: none;
    font-family: var(--font);
}

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

.url-input:-webkit-autofill,
.url-input:-webkit-autofill:hover, 
.url-input:-webkit-autofill:focus, 
.url-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: var(--text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.btn-primary {
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--font);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #ef4444, #3b82f6);
    border: none;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.95rem;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Promo Card Redesign */
.card-promo {
    background: #ffffff;
    border: 2px solid rgba(244, 63, 94, 0.3);
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.08);
    text-align: center;
}

.card-promo .promo-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.card-promo .promo-title {
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 8px;
}

.card-promo .promo-desc {
    color: var(--text-dim);
    margin-bottom: 24px;
}

.promo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin: 0 auto 16px auto;
    padding: 0;
    list-style: none;
    text-align: left;
    width: fit-content;
}

.promo-features li {
    font-size: 0.9rem;
    color: var(--text);
    white-space: nowrap;
}

.btn-promo {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f43f5e, #c4327a);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    width: fit-content;
    margin: 0 auto;
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

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

/* Messages */
.msg {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
    font-size: 0.85rem;
}

.msg-error {
    background: #fee2e2;
    border: 1px solid #f87171;
    color: #b91c1c;
}

.msg-ok {
    background: #dcfce7;
    border: 1px solid #4ade80;
    color: #15803d;
}

.msg-warn {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #b45309;
}

/* Video Info */
.video-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.video-thumb {
    width: 120px;
    border-radius: 8px;
}

.video-title {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Chapters */
.textarea-wrap {
    margin-bottom: 16px;
}

.label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Consolas', 'Courier New', monospace;
    resize: vertical;
    outline: none;
    line-height: 1.7;
    transition: border-color 0.2s;
}

.textarea:focus {
    border-color: var(--accent);
}

.textarea::placeholder {
    color: var(--text-light);
}

.textarea-hint {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.free-limit-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #b45309;
}

.limit-icon {
    font-size: 1.1rem;
}

.plugin-link {
    color: var(--accent);
    font-weight: 600;
}

/* Customize */
.customize-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.design-card-mini {
    padding: 16px 24px;
    margin-bottom: 20px;
}

.mini-grid {
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.inline-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inline-item .label {
    margin-bottom: 0;
    font-size: 0.8rem;
    white-space: nowrap;
}

.mini-color-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-color-row .color-dot {
    width: 28px;
    height: 28px;
}

.v-divider {
    width: 1px;
    height: 28px;
    background-color: var(--border);
    margin: 0 4px;
}

.color-picker-input {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    -webkit-appearance: none;
}

.color-picker-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-input::-webkit-color-swatch {
    border: 2px solid var(--border);
    border-radius: 50%;
}

.btn-group {
    display: flex;
    gap: 8px;
}

.btn-toggle {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
    font-size: 0.8rem;
}

.btn-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-toggle.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent);
    color: #a5b4fc;
}

.color-row {
    display: flex;
    gap: 10px;
}

.color-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c);
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.color-dot:hover {
    transform: scale(1.15);
}

.color-dot.active {
    border-color: #fff;
    transform: scale(1.15);
}

/* Preview */
.preview-wrap {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.flex-grow-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: none;
    flex-grow: 1;
}

/* Embed Code */
.code-box {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    padding-right: 100px;
}

.code-pre {
    color: var(--text);
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.82rem;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.6;
}

.btn-copy {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font);
}

.btn-copy:hover {
    background: #4f46e5;
}

.compat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.compat-tag {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
}

.compat-tag.ok {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.compat-tag.warn {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

/* Promo Card */
.card-promo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.08));
    border-color: rgba(99, 102, 241, 0.25);
    text-align: center;
}

.promo-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.promo-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.promo-desc {
    color: var(--text-dim);
    margin-bottom: 16px;
}

.promo-features {
    list-style: none;
    text-align: left;
    max-width: 340px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-features li {
    font-size: 0.9rem;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
    text-decoration: none;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 540px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--surface-hover);
}

.steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin-top: 24px;
}

.step-small {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    width: 100%;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    text-align: left;
}

.step-small .step-icon-wrap {
    margin-bottom: 0;
}

.step-small h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-small p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-desc {
    color: var(--text-dim);
    margin-bottom: 24px;
}

.modal-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-features li {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

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

/* Compat Tags */
.compat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.compat-tag {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.compat-tag.ok {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
}

.compat-tag.ng {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

.promo-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 12px;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 700px) {
    .url-input-row {
        flex-direction: column;
    }

    .generator-right {
        position: static;
    }

    .card {
        padding: 24px 20px;
    }

    .preview-iframe {
        height: 560px;
    }

    .header-nav a:not(.btn-nav) {
        display: none;
    }
}