        :root {
            --primary: #E1306C; 
            --primary-hover: #C13584;
            --bg: #fafafa;
            --text: #262626;
            --text-light: #737373;
            --card-bg: #ffffff;
            --border: #dbdbdb;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg);
            color: var(--text);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            line-height: 1.6;
        }

        header {
            background: linear-gradient(90deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
            width: 100%;
            padding: 40px 0;
            text-align: center;
            color: white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        h1 { margin: 0; font-size: 2.2rem; letter-spacing: -0.5px; padding: 0 10px; font-weight: 800; }
        p.subtitle { margin: 10px 0 0; opacity: 0.95; font-size: 1.1rem; padding: 0 10px; }

        .container {
            width: 90%;
            max-width: 700px;
            margin-top: 30px;
        }

        .input-area {
            background: var(--card-bg);
            padding: 20px;
            border: 1px solid var(--border);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 25px;
            position: sticky;
            top: 15px;
            z-index: 100;
        }

        textarea {
            width: 100%;
            height: 90px;
            border: 2px solid #eee;
            border-radius: 8px;
            padding: 12px;
            font-size: 17px;
            resize: vertical;
            box-sizing: border-box;
            font-family: inherit;
            transition: border-color 0.2s;
        }

        textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

        .ad-slot {
            width: 100%;
            min-height: 120px;
            background-color: #f4f4f4;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            margin-bottom: 25px;
            border: 1px dashed #ccc;
            border-radius: 8px;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .results {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .result-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: transform 0.1s, box-shadow 0.1s;
        }
        
        .result-card:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .result-info {
            flex: 1;
            min-width: 0;
            margin-right: 20px;
        }

        .style-name {
            font-size: 0.7rem;
            color: var(--text-light);
            margin-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .result-text {
            font-size: 1.3rem;
            word-break: break-all;
            color: #000;
        }

        .copy-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            flex-shrink: 0; 
            white-space: nowrap;
            transition: background-color 0.2s;
        }

        .copy-btn:hover { background-color: var(--primary-hover); }
        .copy-btn:active { transform: translateY(1px); }
        .copy-btn.copied { background-color: #27ae60; }

        .content-section {
            background: white;
            padding: 40px;
            border-radius: 12px;
            margin-top: 50px;
            border: 1px solid var(--border);
            box-shadow: 0 2px 10px rgba(0,0,0,0.02);
        }

        .content-section h2 {
            color: var(--text);
            font-size: 1.6rem;
            margin-top: 0;
            margin-bottom: 20px;
        }

        .content-section h3 {
            color: #444;
            font-size: 1.3rem;
            margin-top: 30px;
            margin-bottom: 10px;
        }

        .content-section p, .content-section li {
            color: #555;
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }
        
        .content-section ul {
            padding-left: 20px;
        }

        .social-tags {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 15px;
            flex-wrap: wrap;
        }
        .tag {
            background: rgba(255,255,255,0.25);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid rgba(255,255,255,0.4);
        }

        /* --- STYLY PRO BOOKMARK TOAST --- */
        .bookmark-toast {
            position: fixed;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%) translateY(100px); /* Schované dole */
            background-color: #222;
            color: white;
            padding: 15px 25px;
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            gap: 15px;
            z-index: 9999;
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            max-width: 90%;
            width: max-content;
            font-size: 0.9rem;
            border: 1px solid #444;
        }

        .bookmark-toast.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }

        .bookmark-icon {
            font-size: 1.2rem;
        }

        .bookmark-close {
            background: none;
            border: none;
            color: #aaa;
            font-size: 1.4rem;
            cursor: pointer;
            padding: 0 5px;
            line-height: 1;
            margin-left: 5px;
        }
        .bookmark-close:hover { color: white; }

        .shortcut-key {
            background: rgba(255,255,255,0.2);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: monospace;
            font-weight: bold;
            color: #fff;
        }

        footer {
            margin-top: auto;
            padding: 40px 20px;
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-light);
            background: #f0f0f0;
            width: 100%;
            box-sizing: border-box;
        }
        
        footer a { color: var(--text); text-decoration: none; margin: 0 10px; }
        footer a:hover { text-decoration: underline; }

        @media (max-width: 600px) {
            .content-section { padding: 20px; }
            .copy-btn { padding: 10px 15px; font-size: 0.8rem; }
            .result-text { font-size: 1.1rem; }
            h1 { font-size: 1.8rem; }
            .bookmark-toast { width: 85%; justify-content: space-between; padding: 12px 20px; }
        }
        .back-btn { display: inline-block; margin-bottom: 20px; padding: 10px 20px; background: #eee; border-radius: 5px; color: #333; text-decoration: none; font-weight: normal; }
        .back-btn:hover { background: #ddd; }
        /* Styling for the alternative cross-promo banner */
.promo-banner-alt {
    background: #6c5ce7; /* Fialová barva druhého webu */
    color: white;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.95rem;
}

.promo-banner-alt:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* --- COOKIE CONSENT BAR --- */
.cookie-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2d3436;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: none; /* Skryté, dokud JS nerozhodne jinak */
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.85rem;
}

.cookie-bar p { margin: 0; padding-right: 20px; color: #dfe6e9; line-height: 1.4; }
.cookie-bar a { color: #81ecec; text-decoration: underline; }

.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-bar { flex-direction: column; text-align: center; gap: 15px; bottom: 10px; left: 10px; right: 10px; }
    .cookie-bar p { padding-right: 0; }
}