.home-news-demo-section {
    padding: 4rem 2rem 4.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(240,253,250,0.68));
    border-top: 1px solid rgba(15,23,42,0.06);
    border-bottom: 1px solid rgba(15,23,42,0.06);
    scroll-margin-top: 88px;
}

.home-news-demo-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.home-news-demo-top {
    display: block;
    margin-bottom: 1.5rem;
}

.home-news-demo-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}

.home-news-demo-title {
    font-size: 2rem;
    line-height: 1.18;
    letter-spacing: 0;
    margin: 0 0 0.6rem;
    color: #0f172a;
}

.home-news-demo-lead {
    max-width: 680px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}

.home-news-demo-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: start;
    color: #075985;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-news-demo-status::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #14b8a6;
}

.home-news-demo-section-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.home-news-demo-section-row-levels {
    margin-top: 0;
    margin-bottom: 0.15rem;
}

.home-news-demo-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.home-news-demo-section-note {
    font-size: 0.78rem;
    color: #94a3b8;
}

.home-news-demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.home-news-demo-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    white-space: nowrap;
}

.home-news-demo-tab:hover {
    border-color: #0f766e;
    color: #0f766e;
    background: #f0fdf9;
}

.home-news-demo-tab[aria-selected="true"] {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.home-news-demo-tab:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

.home-news-demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(318px, 0.75fr);
    gap: 1rem;
    align-items: start;
}

.home-news-demo-reader,
.home-news-demo-word-card,
.home-news-demo-saved,
.home-news-demo-action {
    background: #fff;
    border: 1px solid rgba(15,23,42,0.09);
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(15,23,42,0.08);
}

.home-news-demo-reader {
    padding: 1.25rem;
    min-width: 0;
}

.home-news-demo-article-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.home-news-demo-news-title {
    font-size: 1.2rem;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
    letter-spacing: 0;
}

.home-news-demo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.4;
}

.home-news-demo-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-news-demo-meta span:not(:last-child)::after {
    content: "";
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: #cbd5e1;
    margin-left: 0.35rem;
}

.home-news-demo-levels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.35rem;
    margin: 0.35rem 0 1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.home-news-demo-levels button {
    min-height: 2.55rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #475569;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.home-news-demo-levels button[aria-pressed="true"] {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15,23,42,0.18);
}

.home-news-demo-levels button:focus-visible,
.demo-word:focus-visible,
.home-news-demo-card-actions button:focus-visible,
.home-news-demo-close:focus-visible,
.home-news-demo-cta:focus-visible,
.home-news-demo-translate-float button:focus-visible {
    outline: 3px solid rgba(20,184,166,0.42);
    outline-offset: 2px;
}

.home-news-demo-excerpt {
    min-height: 278px;
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.82;
}

.home-news-demo-excerpt p {
    margin: 0 0 0.9rem;
}

.home-news-demo-excerpt p:last-child {
    margin-bottom: 0;
}

.home-news-demo-read-more {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted, #6b7280);
    font-style: italic;
    text-align: right;
}

.demo-word {
    display: inline;
    min-width: 0;
    padding: 0.08rem 0.18rem;
    margin: 0 0.02rem;
    border: 1px solid #7dd3fc;
    border-radius: 6px;
    background: #e0f2fe;
    color: #075985;
    font: inherit;
    font-weight: 800;
    line-height: inherit;
    cursor: pointer;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.demo-word:hover {
    background: #bae6fd;
    border-color: #38bdf8;
}

.demo-word.is-added {
    color: #14532d;
    background: #dcfce7;
    border-color: #86efac;
}

.demo-word.is-known {
    color: #475569;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.home-news-demo-reader-hint {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.9rem;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.home-news-demo-reader-hint span {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.home-news-demo-reader-message {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: #e9f8f4;
    border: 1px solid #99f6e4;
    color: #134e4a;
}

.home-news-demo-reader-message strong {
    font-size: 0.92rem;
    line-height: 1.35;
}

.home-news-demo-reader-message span {
    color: #315b62;
    font-size: 0.86rem;
    line-height: 1.45;
}

.home-news-demo-translate-float {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
    z-index: 999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.home-news-demo-translate-float button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    max-width: min(520px, 100%);
    min-height: 3rem;
    padding: 0.72rem 1.15rem;
    border: 0;
    border-radius: 16px;
    background: #ccfbf1;
    color: #134e4a;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
    cursor: pointer;
    pointer-events: auto;
    font: inherit;
}

.home-news-demo-translate-float span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-weight: 900;
}

.home-news-demo-translate-float strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
}

.home-news-demo-side {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.home-news-demo-word-card,
.home-news-demo-saved,
.home-news-demo-action {
    padding: 1rem;
}

.home-news-demo-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.42);
}

.home-news-demo-dialog {
    animation: home-news-demo-card-in 0.22s cubic-bezier(0.34, 1.2, 0.64, 1);
    width: min(500px, 90vw);
    max-height: min(82dvh, 720px);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
    outline: none;
}

@keyframes home-news-demo-card-in {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.home-news-demo-word-card-placeholder {
    min-height: 9.5rem;
}

.home-news-demo-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.home-news-demo-dialog .home-news-demo-card-head {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.9rem 1rem;
    background: #e9f8f4;
    border-bottom: 1px solid #d5eee8;
}

.home-news-demo-card-kicker {
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.home-news-demo-card-title {
    margin: 0.1rem 0 0;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.home-news-demo-dialog .home-news-demo-card-title {
    font-size: 1.55rem;
}

.home-news-demo-card-word-main {
    min-width: 0;
}

.home-news-demo-word-title-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.home-news-demo-word-title-row .home-news-demo-card-title {
    overflow-wrap: anywhere;
}

.home-news-demo-speak {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f766e;
    cursor: pointer;
    font-size: 0.8rem;
}

.home-news-demo-transcription {
    margin: 0.1rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.35;
}

.home-news-demo-word-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.home-news-demo-word-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0 0.45rem;
    border-radius: 7px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 800;
}

.home-news-demo-word-badge-level {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}

.home-news-demo-base-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.82rem;
}

.home-news-demo-base-form strong {
    color: #334155;
}

.home-news-demo-base-form small {
    color: #64748b;
}

.home-news-demo-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.home-news-demo-translation {
    margin: 0 0 0.6rem;
    color: #243044;
    font-size: 1.16rem;
    line-height: 1.3;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.home-news-demo-meaning {
    margin: 0.25rem 0 0.45rem;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
    font-style: italic;
}

.home-news-demo-definition {
    margin: 0 0 0.75rem;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.48;
}

.home-news-demo-mini-title {
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 0.45rem;
}

.home-news-demo-examples,
.home-news-demo-mnemonic,
.home-news-demo-verb-line,
.home-news-demo-card-status {
    border-radius: 10px;
    margin: 0.65rem 0;
}

.home-news-demo-examples {
    display: grid;
    gap: 0.38rem;
}

.home-news-demo-examples p {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.45rem;
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
    font-style: italic;
    line-height: 1.42;
}

.home-news-demo-examples p:last-of-type {
    margin-bottom: 0;
}

.home-news-demo-examples p strong {
    color: #94a3b8;
    font-style: italic;
}

.home-news-demo-examples small,
.home-news-demo-chip-group small {
    display: inline-flex;
    align-items: center;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-news-demo-mnemonic {
    padding: 0.7rem 0.75rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.home-news-demo-mnemonic-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.42rem;
}

.home-news-demo-mnemonic-header .home-news-demo-mini-title {
    margin-bottom: 0;
    color: #92400e;
}

.home-news-demo-mnemonic-icon {
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.home-news-demo-mnemonic-help {
    margin-left: auto;
    position: relative;
}

.home-news-demo-mnemonic-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.home-news-demo-mnemonic-help-btn:hover {
    background: rgba(180, 83, 9, 0.22);
}

.home-news-demo-mnemonic-tooltip {
    position: fixed;
    z-index: 1100;
    width: min(280px, calc(100vw - 2rem));
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: #1e1208;
    color: #fef3c7;
    font-size: 0.78rem;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(15,23,42,0.32);
}

.home-news-demo-mnemonic-tooltip[hidden] {
    display: none;
}

.home-news-demo-mnemonic-tooltip strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
    color: #fde68a;
}

.home-news-demo-mnemonic-tooltip p {
    margin: 0 0 0.45rem;
    color: #fef3c7;
}

.home-news-demo-mnemonic-tooltip p:last-child {
    margin-bottom: 0;
}

.home-news-demo-mnemonic-tooltip b {
    color: #fde68a;
}

.home-news-demo-mnemonic-text {
    margin: 0;
    color: #7c2d12;
    font-size: 0.87rem;
    line-height: 1.5;
}

.home-news-demo-mnemonic-anchors {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.28rem 0 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c2410c;
    letter-spacing: 0.02em;
}

.home-news-demo-mnemonic-anchors span:last-child {
    color: #9a3412;
}

.home-news-demo-mnemonic-anchor {
    display: inline;
    background: linear-gradient(135deg, rgba(255,179,0,0.45), rgba(255,130,0,0.28));
    border: 1px solid rgba(217, 119, 6, 0.35);
    border-radius: 4px;
    padding: 0 2px;
    color: #92400e;
    font-style: normal;
    font-weight: 700;
}

.home-news-demo-word-image {
    margin: 0.75rem 0 0.25rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.home-news-demo-word-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-news-demo-verb-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    padding: 0.55rem 0.65rem;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    color: #5b21b6;
    font-size: 0.82rem;
}

.home-news-demo-verb-line span {
    font-weight: 900;
}

.home-news-demo-verb-line strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news-demo-chip-group {
    display: grid;
    gap: 0.34rem;
    margin: 0.65rem 0;
}

.home-news-demo-chip-group > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.home-news-demo-chip-group span {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    max-width: 100%;
    padding: 0 0.48rem;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-news-demo-card-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0.9rem 1rem 0.25rem;
}

.home-news-demo-chip-group.is-synonyms span {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.home-news-demo-chip-group.is-antonyms span {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.home-news-demo-card-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.84rem;
    line-height: 1.4;
    font-weight: 800;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.home-news-demo-card-status.is-learning {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.home-news-demo-card-status.is-known {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.home-news-demo-expand-link {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0;
    border: none;
    background: none;
    color: #4f46e5;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-news-demo-expand-link:hover {
    color: #3730a3;
}

.home-news-demo-chip-group .home-news-demo-expand-link {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    text-decoration: none;
}

.home-news-demo-info-message {
    display: grid;
    gap: 0.25rem;
    margin: 0 0 0.8rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #3730a3;
}

.home-news-demo-info-message strong {
    color: #312e81;
    font-size: 0.9rem;
}

.home-news-demo-info-message span {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.42;
}

.home-news-demo-progress-bar {
    margin-top: 0.55rem;
    height: 4px;
    border-radius: 4px;
    background: #c7d2fe;
    overflow: hidden;
}

.home-news-demo-progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    animation: home-news-demo-progress 28s cubic-bezier(0.1, 0.05, 0.3, 1) forwards;
}

@keyframes home-news-demo-progress {
    0%   { width: 0%; }
    15%  { width: 35%; }
    40%  { width: 58%; }
    70%  { width: 78%; }
    90%  { width: 90%; }
    100% { width: 95%; }
}

.home-news-demo-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.95rem;
}

.home-news-demo-dialog .home-news-demo-card-actions {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.8rem 1rem 1rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.home-news-demo-card-actions button {
    min-height: 2.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
}

.home-news-demo-card-actions .home-news-demo-save {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.home-news-demo-card-actions .home-news-demo-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-color: #7c3aed;
    color: #6d28d9;
    background: #faf5ff;
}

.home-news-demo-card-actions button[disabled] {
    cursor: default;
}

.home-news-demo-card-actions .home-news-demo-save[disabled] {
    border-color: #86efac;
    background: #dcfce7;
    color: #14532d;
}

.home-news-demo-save-hint {
    margin: 0.45rem 0 0.7rem;
    color: #0f766e;
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 700;
}

.home-news-demo-card-actions button[disabled]:not(.home-news-demo-save) {
    border-color: #dbe4ee;
    background: #f8fafc;
    color: #94a3b8;
}

.home-news-demo-empty {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.home-news-demo-skeleton {
    display: grid;
    gap: 0.6rem;
}

.home-news-demo-skeleton span {
    display: block;
    height: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #e2e8f0, #f8fafc, #e2e8f0);
    background-size: 220% 100%;
    animation: home-news-demo-shimmer 1.2s linear infinite;
}

.home-news-demo-skeleton span:nth-child(1) {
    width: 44%;
}

.home-news-demo-skeleton span:nth-child(2) {
    width: 82%;
}

.home-news-demo-skeleton span:nth-child(3) {
    width: 68%;
}

@keyframes home-news-demo-shimmer {
    from { background-position: 220% 0; }
    to { background-position: -220% 0; }
}

.home-news-demo-saved h3 {
    margin: 0 0 0.65rem;
    color: #0f172a;
    font-size: 1rem;
    letter-spacing: 0;
}

.home-news-demo-saved-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-height: 2rem;
}

.home-news-demo-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 1.9rem;
    padding: 0 0.6rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 0.82rem;
    font-weight: 800;
}

.home-news-demo-chip-more {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.home-news-demo-cta {
    width: 100%;
    min-height: 3.1rem;
    border-radius: 12px;
    text-align: center;
}

.home-news-demo-saved-note {
    margin-top: 0.75rem;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.5;
}

.home-news-demo-note,
.home-news-demo-toast {
    margin-top: 0.7rem;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
}

.home-news-demo-toast {
    color: #047857;
    font-weight: 700;
}

html.news-intent-landing .hero {
    padding-top: 3.2rem;
    padding-bottom: 2.5rem;
}

html.news-intent-landing .hero-cta {
    margin-bottom: 1.5rem;
}

@media (hover:hover) and (pointer:fine) and (min-width:769px) {
    .home-news-demo-card-actions button:hover,
    .home-news-demo-close:hover {
        border-color: #0f766e;
        color: #0f766e;
    }

    .home-news-demo-card-actions .home-news-demo-save:hover {
        color: #fff;
        background: #115e59;
    }
}

@media (max-width: 980px) {
    .home-news-demo-grid {
        grid-template-columns: 1fr;
    }

    .home-news-demo-excerpt {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .home-news-demo-section {
        padding: 2.6rem 1.25rem 3rem;
    }

    .home-news-demo-dialog-backdrop {
        align-items: center;
        padding: 0.75rem;
    }

    .home-news-demo-dialog {
        width: min(500px, 92vw);
        max-height: 82dvh;
    }

    .home-news-demo-dialog .home-news-demo-card-title {
        font-size: 1.38rem;
    }

    .home-news-demo-title {
        font-size: 1.55rem;
    }

    .home-news-demo-lead {
        font-size: 0.94rem;
    }

    .home-news-demo-reader,
    .home-news-demo-word-card,
    .home-news-demo-saved,
    .home-news-demo-action {
        border-radius: 14px;
    }

    .home-news-demo-reader,
    .home-news-demo-word-card,
    .home-news-demo-saved,
    .home-news-demo-action {
        padding: 1rem;
    }

    .home-news-demo-dialog {
        padding: 0;
        border-radius: 20px;
    }

    .home-news-demo-news-title {
        font-size: 1.08rem;
    }

    .home-news-demo-excerpt {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .home-news-demo-card-actions {
        grid-template-columns: 1fr;
    }

    .home-news-demo-levels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html.news-intent-landing .hero {
        padding-top: 2.1rem;
        padding-bottom: 1.7rem;
    }
}

@media (max-width: 390px) {
    .home-news-demo-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-news-demo-levels button {
        min-height: 2.4rem;
        font-size: 0.9rem;
    }

    .home-news-demo-meta {
        font-size: 0.78rem;
    }

    .home-news-demo-card-title {
        font-size: 1.12rem;
    }
}
