/* Cryptonix Widgets — Shared Styles */

.abw-widget {
    font-family: inherit;
    box-sizing: border-box;
}

.abw-error {
    padding: 10px;
    background: #fff3f3;
    border: 1px solid #f3b3b3;
    border-radius: 6px;
    color: #a33;
    font-size: 13px;
}

/* Weather Widget */
.abw-weather {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef6ff;
    border-radius: 10px;
    padding: 10px 14px;
    max-width: 280px;
}
.abw-weather-icon { width: 48px; height: 48px; }
.abw-weather-city { font-weight: 600; font-size: 14px; }
.abw-weather-temp { font-size: 20px; font-weight: 700; color: #1a5eab; }
.abw-weather-desc { font-size: 12px; color: #555; }

/* Cricket Widget */
.abw-cricket {
    background: #f2fff2;
    border-radius: 10px;
    padding: 12px 16px;
    max-width: 340px;
}
.abw-cricket-header { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.abw-cricket-match { padding: 6px 0; border-top: 1px solid #dcefdc; }
.abw-cricket-match:first-of-type { border-top: none; }
.abw-cricket-teams { font-weight: 600; font-size: 13px; }
.abw-cricket-status { font-size: 12px; color: #2a7a2a; }

/* Trending Widget */
.abw-trending {
    background: #fff8ee;
    border-radius: 10px;
    padding: 12px 16px;
    max-width: 340px;
}
.abw-trending-header { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.abw-trending-list { margin: 0; padding-left: 18px; }
.abw-trending-item { font-size: 13px; margin-bottom: 6px; }
.abw-trending-item a { text-decoration: none; color: #333; }
.abw-trending-item a:hover { color: #d0021b; }

/* Reading Time */
.abw-reading-time {
    display: inline-block;
    font-size: 13px;
    color: #666;
    margin: 6px 0;
}

/* WhatsApp Share */
.abw-whatsapp-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.abw-whatsapp-share:hover { background: #1ebe57; }

/* Breaking News Ticker */
.abw-ticker {
    display: flex;
    align-items: center;
    background: #d0021b;
    color: #fff;
    overflow: hidden;
    border-radius: 4px;
    height: 36px;
}
.abw-ticker-label {
    background: #a00114;
    padding: 0 12px;
    font-weight: 700;
    font-size: 12px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.abw-ticker-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: abw-scroll 30s linear infinite;
    padding-left: 20px;
}
.abw-ticker-item {
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
}
@keyframes abw-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Horoscope Widget */
.abw-horoscope-single {
    background: #f5f0ff;
    border-radius: 10px;
    padding: 14px 16px;
    max-width: 320px;
}
.abw-horoscope-single .abw-horoscope-sign { font-weight: 700; font-size: 15px; color: #6a3fc7; }
.abw-horoscope-single .abw-horoscope-msg { font-size: 13px; margin: 6px 0; color: #333; }
.abw-horoscope-single .abw-horoscope-date { font-size: 11px; color: #888; }

.abw-horoscope-grid { max-width: 100%; }
.abw-horoscope-header { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.abw-horoscope-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.abw-horoscope-card {
    background: #f5f0ff;
    border-radius: 8px;
    padding: 10px 12px;
}
.abw-horoscope-card .abw-horoscope-sign { font-weight: 700; font-size: 13px; color: #6a3fc7; margin-bottom: 4px; }
.abw-horoscope-card .abw-horoscope-msg { font-size: 12px; color: #333; }

/* Rate Widgets */
.abw-rate-single {
    display: inline-block;
    background: #fff8e1;
    border-radius: 10px;
    padding: 10px 16px;
    text-align: center;
    min-width: 140px;
}
.abw-rate-label { font-size: 12px; color: #666; }
.abw-rate-value { font-size: 20px; font-weight: 700; color: #b8860b; }
.abw-rate-updated { font-size: 10px; color: #999; margin-top: 4px; }

.abw-rate-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.abw-rate-board-item {
    background: #fff8e1;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
}
.abw-rate-board-label { font-size: 11px; color: #666; }
.abw-rate-board-value { font-size: 17px; font-weight: 700; color: #b8860b; }

/* AQI Widget */
.abw-aqi {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 10px 14px;
    max-width: 220px;
}
.abw-aqi-city { font-size: 12px; color: #666; }
.abw-aqi-level { font-size: 15px; font-weight: 700; }

/* Currency Widget */
.abw-currency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
}
.abw-currency-equals { color: #888; }
.abw-currency-value { color: #2e7d32; }

/* Stocks Widget */
.abw-stocks {
    display: inline-block;
    background: #eef2ff;
    border-radius: 10px;
    padding: 10px 16px;
    text-align: center;
    min-width: 130px;
}
.abw-stocks-symbol { font-size: 12px; color: #666; font-weight: 600; }
.abw-stocks-price { font-size: 20px; font-weight: 700; color: #1a237e; }
.abw-stocks-change { font-size: 13px; font-weight: 600; }
.abw-stocks-change.abw-up { color: #2e7d32; }
.abw-stocks-change.abw-down { color: #c62828; }

/* Today in History */
.abw-history {
    background: #fef6e4;
    border-radius: 10px;
    padding: 12px 16px;
    max-width: 400px;
}
.abw-history-header { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.abw-history-event { font-size: 13px; color: #333; }

/* Quote Widget */
.abw-quote {
    background: #f0f7ff;
    border-left: 4px solid #1a5eab;
    border-radius: 6px;
    padding: 12px 16px;
    max-width: 400px;
}
.abw-quote-text { font-size: 14px; font-style: italic; color: #333; }
.abw-quote-author { font-size: 12px; color: #666; margin-top: 6px; text-align: right; }

/* Sun Times Widget */
.abw-sun-times {
    background: #fff3e0;
    border-radius: 10px;
    padding: 10px 16px;
    max-width: 200px;
}
.abw-sun-city { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.abw-sun-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }

/* YouTube Widget */
.abw-youtube {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
}
.abw-youtube iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Calculator Widgets (shared style for all calculators) */
.abw-calculator {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px 18px;
    max-width: 380px;
}
.abw-calc-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.abw-calculator label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 10px;
    margin-bottom: 4px;
}
.abw-calc-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.abw-calc-btn {
    margin-top: 14px;
    width: 100%;
    padding: 10px;
    background: #1a5eab;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.abw-calc-btn:hover { background: #144a87; }
.abw-calc-result {
    margin-top: 14px;
    padding: 10px 12px;
    background: #f5f9ff;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.7;
    min-height: 10px;
}
.abw-calc-disclaimer {
    margin-top: 10px;
    font-size: 10px;
    color: #999;
}

/* Joke Widget */
.abw-joke {
    background: #fff0f5;
    border-radius: 10px;
    padding: 14px 16px;
    max-width: 400px;
}
.abw-joke-header { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.abw-joke-q { font-size: 13px; color: #333; margin-bottom: 6px; }
.abw-joke-a { font-size: 13px; color: #d6336c; font-weight: 600; }

/* Riddle Widget */
.abw-riddle {
    background: #f0fff4;
    border-radius: 10px;
    padding: 14px 16px;
    max-width: 400px;
}
.abw-riddle-header { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.abw-riddle-q { font-size: 13px; color: #333; margin-bottom: 10px; }
.abw-riddle-btn {
    padding: 6px 14px;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}
.abw-riddle-answer {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
}

/* Festival Countdown */
.abw-festival {
    background: linear-gradient(135deg, #ff9a56, #ff6a88);
    color: #fff;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    max-width: 280px;
}
.abw-festival-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.abw-festival-countdown { font-size: 18px; font-weight: 700; }

/* Fun Fact */
.abw-fact {
    background: #eef7ff;
    border-radius: 10px;
    padding: 14px 16px;
    max-width: 400px;
}
.abw-fact-header { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.abw-fact-text { font-size: 13px; color: #333; }

/* Poll Widget */
.abw-poll {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    max-width: 400px;
}
.abw-poll-question { font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.abw-poll-options { display: flex; gap: 10px; }
.abw-poll-option-btn {
    flex: 1;
    padding: 10px;
    background: #f0f4ff;
    border: 1px solid #c3d4ff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.abw-poll-option-btn:hover { background: #dbe6ff; }
.abw-poll-result-row { margin-bottom: 10px; }
.abw-poll-result-label { font-size: 12px; margin-bottom: 4px; }
.abw-poll-bar-bg { background: #eee; border-radius: 4px; height: 10px; overflow: hidden; }
.abw-poll-bar-fill { height: 100%; background: #1a5eab; transition: width 0.4s ease; }
.abw-poll-total { font-size: 11px; color: #888; margin-top: 6px; }

/* Author Bio Widget */
.abw-author-bio {
    display: flex;
    gap: 12px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 14px 16px;
    max-width: 500px;
    align-items: flex-start;
}
.abw-author-avatar img { border-radius: 50%; }
.abw-author-name a { font-weight: 700; font-size: 14px; color: #1a5eab; text-decoration: none; }
.abw-author-desc { font-size: 12px; color: #555; margin: 4px 0; }
.abw-author-meta { font-size: 11px; color: #999; }

/* Related Posts Widget */
.abw-related-posts { max-width: 100%; }
.abw-related-header { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.abw-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.abw-related-card { text-decoration: none; color: inherit; display: block; }
.abw-related-thumb img { width: 100%; border-radius: 6px; display: block; }
.abw-related-title { font-size: 12px; margin-top: 6px; color: #222; line-height: 1.4; }

/* Share Bar Widget */
.abw-share-bar { display: flex; gap: 8px; }
.abw-share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    border: none;
    cursor: pointer;
}
.abw-share-fb { background: #1877f2; }
.abw-share-twitter { background: #000; }
.abw-share-telegram { background: #229ED9; }
.abw-share-whatsapp { background: #25D366; }
.abw-share-copy { background: #666; }

/* Newsletter Widget */
.abw-newsletter {
    background: #eef4ff;
    border-radius: 10px;
    padding: 16px 18px;
    max-width: 420px;
}
.abw-newsletter-title { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.abw-newsletter-form { display: flex; gap: 8px; }
.abw-newsletter-input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
}
.abw-newsletter-btn {
    padding: 9px 16px;
    background: #1a5eab;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.abw-newsletter-msg { font-size: 12px; margin-top: 8px; }
.abw-success-text { color: #2e7d32; }
.abw-error-text { color: #c62828; }

/* Table of Contents Widget */
.abw-toc {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 14px 18px;
    max-width: 420px;
}
.abw-toc-header { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.abw-toc-list { margin: 0; padding-left: 18px; }
.abw-toc-item { font-size: 13px; margin-bottom: 5px; }
.abw-toc-item a { color: #1a5eab; text-decoration: none; }
.abw-toc-item a:hover { text-decoration: underline; }
.abw-toc-level-3 { margin-left: 14px; font-size: 12px; }

/* ===== MINI GAMES ===== */
.abw-game {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 18px;
    max-width: 420px;
    text-align: center;
}

/* Spin the Wheel */
.abw-spin-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.abw-spin-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 16px;
}
.abw-spin-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    z-index: 2;
    color: #d0021b;
}
.abw-spin-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    border: 4px solid #333;
    overflow: hidden;
}
.abw-spin-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 0;
    transform-origin: 0 0;
    text-align: right;
    padding-right: 8px;
}
.abw-spin-label span {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    white-space: nowrap;
}
.abw-spin-btn, .abw-quiz-next-btn, .abw-memory-restart-btn, .abw-ttt-restart-btn, .abw-unscramble-btn, .abw-unscramble-next-btn {
    padding: 10px 24px;
    background: #1a5eab;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.abw-spin-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.abw-spin-result { margin-top: 12px; font-size: 15px; font-weight: 700; color: #d0021b; }

/* GK Quiz */
.abw-quiz-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.abw-quiz-progress { font-size: 12px; color: #666; margin-bottom: 10px; }
.abw-quiz-question { font-size: 14px; font-weight: 600; margin-bottom: 12px; min-height: 40px; }
.abw-quiz-options { display: flex; flex-direction: column; gap: 8px; }
.abw-quiz-option-btn {
    padding: 10px;
    background: #f0f4ff;
    border: 1px solid #c3d4ff;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}
.abw-quiz-option-btn:hover:not(:disabled) { background: #dbe6ff; }
.abw-quiz-option-btn:disabled { cursor: default; }
.abw-quiz-correct { background: #d4edda !important; border-color: #28a745 !important; }
.abw-quiz-wrong { background: #f8d7da !important; border-color: #dc3545 !important; }
.abw-quiz-feedback { margin-top: 10px; font-size: 13px; font-weight: 600; min-height: 18px; }
.abw-quiz-next-btn { margin-top: 12px; }

/* Memory Game */
.abw-memory-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.abw-memory-stats { font-size: 12px; color: #666; margin-bottom: 12px; }
.abw-memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.abw-memory-card {
    aspect-ratio: 1;
    background: #1a5eab;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    user-select: none;
}
.abw-memory-card.abw-memory-flipped,
.abw-memory-card.abw-memory-matched {
    background: #f0f4ff;
}
.abw-memory-card.abw-memory-matched { opacity: 0.5; cursor: default; }

/* Tic Tac Toe */
.abw-ttt-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.abw-ttt-status { font-size: 13px; margin-bottom: 12px; font-weight: 600; }
.abw-ttt-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 240px;
    margin: 0 auto 14px;
}
.abw-ttt-cell {
    aspect-ratio: 1;
    background: #f6f7f7;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}
.abw-ttt-cell:hover { background: #eef4ff; }

/* Word Unscramble */
.abw-unscramble-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.abw-unscramble-scrambled {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #1a5eab;
    margin-bottom: 8px;
}
.abw-unscramble-hint { font-size: 12px; color: #888; margin-bottom: 12px; }
.abw-unscramble-input-row { display: flex; gap: 8px; }
.abw-unscramble-input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.abw-unscramble-feedback { margin-top: 10px; font-size: 13px; font-weight: 600; min-height: 18px; }
.abw-unscramble-next-btn { margin-top: 10px; }

/* ===== DAILY ENGAGEMENT WIDGETS ===== */

/* Push Notification Opt-in */
.abw-push-optin {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a5eab, #2e7db8);
    color: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    max-width: 440px;
}
.abw-push-icon { font-size: 28px; flex-shrink: 0; }
.abw-push-text { flex: 1; }
.abw-push-title { font-weight: 700; font-size: 14px; }
.abw-push-sub { font-size: 11px; opacity: 0.9; margin-top: 2px; }
.abw-push-btn {
    background: #fff;
    color: #1a5eab;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

/* Live Reader Counter */
.abw-live-readers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f0;
    border: 1px solid #ffcdd2;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #c62828;
}
.abw-live-dot {
    width: 8px;
    height: 8px;
    background: #e53935;
    border-radius: 50%;
    animation: abw-pulse 1.5s infinite;
}
@keyframes abw-pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(229, 57, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* Daily Streak */
.abw-streak {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff8e1;
    border-radius: 12px;
    padding: 12px 18px;
}
.abw-streak-flame { font-size: 30px; }
.abw-streak-count { font-size: 22px; font-weight: 800; color: #e65100; line-height: 1; }
.abw-streak-label { font-size: 11px; color: #666; margin-top: 2px; }

/* Save for Later Button */
.abw-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 12px;
    cursor: pointer;
    color: #333;
}
.abw-save-btn.abw-saved {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

/* Reading List */
.abw-reading-list { max-width: 500px; }
.abw-reading-list-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.abw-reading-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}
.abw-reading-list-item a { color: #1a5eab; text-decoration: none; flex: 1; }
.abw-reading-list-remove {
    background: none;
    border: none;
    color: #c62828;
    cursor: pointer;
    font-size: 14px;
    padding: 0 6px;
}
.abw-reading-list-empty { font-size: 13px; color: #888; padding: 12px 0; }

/* For You */
.abw-for-you { max-width: 100%; }
.abw-for-you-header { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.abw-for-you-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.abw-for-you-card { text-decoration: none; color: inherit; display: block; }
.abw-for-you-card img { width: 100%; border-radius: 6px; display: block; }
.abw-for-you-title { font-size: 12px; margin-top: 6px; color: #222; line-height: 1.4; }
.abw-for-you-loading { font-size: 12px; color: #888; grid-column: 1 / -1; }

/* ===== IMPORTANT & COMPLIANCE WIDGETS ===== */

/* Cookie Consent */
.abw-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c1c1c;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 99999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.abw-cookie-text { font-size: 12px; flex: 1; min-width: 220px; }
.abw-cookie-text a { color: #7ec8ff; }
.abw-cookie-actions { display: flex; gap: 8px; }
.abw-cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.abw-cookie-accept { background: #4caf50; color: #fff; }
.abw-cookie-reject { background: transparent; color: #ccc; border: 1px solid #666; }

/* Listen to Article */
.abw-listen-btn {
    padding: 10px 18px;
    background: #1a5eab;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.abw-listen-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Font Size Adjuster */
.abw-font-adjuster {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f6f7f7;
    border-radius: 20px;
    padding: 6px 12px;
}
.abw-font-label { font-size: 11px; color: #666; margin-right: 4px; }
.abw-font-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.abw-font-reset { font-weight: 700; }

/* Correction Log */
.abw-correction {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    border-radius: 6px;
    padding: 12px 16px;
    max-width: 500px;
    margin: 12px 0;
}
.abw-correction-label { font-weight: 700; font-size: 12px; color: #f57f17; margin-bottom: 6px; }
.abw-correction-text { font-size: 13px; color: #333; }

/* Report Error */
.abw-report-toggle-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}
.abw-report-form { margin-top: 10px; max-width: 380px; }
.abw-report-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
}
.abw-report-submit-btn {
    margin-top: 8px;
    padding: 7px 16px;
    background: #1a5eab;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}
.abw-report-msg { margin-top: 6px; font-size: 12px; }

/* Site Search */
.abw-search-box { position: relative; max-width: 340px; }
.abw-search-form { display: flex; }
.abw-search-input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
}
.abw-search-submit {
    padding: 9px 14px;
    background: #1a5eab;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}
.abw-search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 4px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.abw-search-suggestion-item {
    display: block;
    padding: 8px 12px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}
.abw-search-suggestion-item:hover { background: #f6f7f7; }

/* Advertise Form */
.abw-advertise-form {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 18px;
    max-width: 400px;
}
.abw-advform-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.abw-advform-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 8px;
    box-sizing: border-box;
    font-family: inherit;
}
.abw-advform-submit {
    padding: 9px 20px;
    background: #1a5eab;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.abw-advform-status { margin-top: 8px; font-size: 12px; }
