/* whats-new — the seller popup's rows (inside a bd-toast card) and /updates. */

/* Icon tile: a soft state tint with the icon in the state's ink. */
.wn-tile { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--r-sm); }
.wn-tile .icu { width: 20px; height: 20px; }
.wn-gold { background: var(--gold-lighter, var(--gold-lighter)); color: var(--gold-deep, var(--gold-deep)); }
.wn-green { background: var(--green-light, var(--green-light)); color: var(--green-dark, var(--green-dark)); }
.wn-blue { background: var(--blue-light, var(--blue-light)); color: var(--blue-dark); }

/* ---- popup ---- */
.wn-pop { display: flex; flex-direction: column; gap: 8px; }
.wn-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-btn); background: rgba(255, 255, 255, .72); color: var(--dark-primary, var(--dark-primary)); text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.wn-row .wn-tile { background: var(--white); }
.wn-row:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .wn-row:hover { background: var(--white); } }
.wn-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.55; }
.wn-txt b { font-size: var(--fs-small); font-weight: 700; }
.wn-txt span { font-size: var(--fs-meta); font-weight: 500; color: var(--dark-secondary, var(--dark-secondary)); }
/* the toast's own gold button closes the list, full width like the rows */
[data-bdt-toast] .wn-pop + [data-bdt-button] { width: 100%; }

/* ---- /updates page ---- */
.wn-hero { padding: 116px 16px 28px; text-align: center; background: linear-gradient(165deg, #fffef5 0%, #fef9e7 40%, var(--gray-50, var(--gray-50)) 100%); }
.wn-hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; color: var(--dark-primary); }
.wn-hero p { margin-top: 6px; color: var(--dark-muted); font-size: var(--fs-body); }
#wnPage { width: 100%; max-width: 720px; margin: 0 auto; padding: 8px 16px 48px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.wn-card { background: var(--white); border: 1px solid var(--gray-200, var(--gray-200)); border-radius: var(--r-card, 24px); padding: 22px; box-shadow: var(--shadow-sm); scroll-margin-top: 100px; animation: wn-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
.wn-card:nth-child(2) { animation-delay: .06s; }
.wn-card:nth-child(3) { animation-delay: .12s; }
.wn-card:target { border-color: var(--gold-light, var(--gold-light)); box-shadow: 0 0 0 4px var(--gold-bg, var(--gold-bg)), var(--shadow-md); }
.wn-head { display: flex; align-items: center; gap: 12px; }
.wn-head .wn-tile { width: 48px; height: 48px; border-radius: var(--r-field); }
.wn-head .wn-tile .icu { width: 24px; height: 24px; }
.wn-htxt h2 { font-size: var(--fs-lead); font-weight: 800; line-height: 1.5; }
.wn-meta { display: flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--dark-muted); }
.wn-new { background: var(--gold-primary, var(--gold-primary)); color: var(--btn-ink); font-weight: 700; font-size: var(--fs-caption); padding: 1px 9px; border-radius: var(--r-pill); }
.wn-short { margin-top: 14px; color: var(--dark-secondary); font-size: var(--fs-body); }
.wn-points { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.wn-points li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.8; }
.wn-points .icu { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--green-primary, var(--green-primary)); }
.wn-cta { display: inline-flex; align-items: center; margin-top: 16px; height: 42px; padding: 0 22px; border-radius: var(--r-pill); background: var(--gold-primary, var(--gold-primary)); color: var(--btn-ink); font-weight: 700; font-size: var(--fs-small); box-shadow: 0 8px 24px rgba(245, 184, 0, .25); transition: transform .15s ease, background-color .15s ease; }
.wn-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .wn-cta:hover { background: #e0a800; } }
@media (max-width: 640px) { .wn-card { padding: 18px; border-radius: var(--r-card); } .wn-hero { padding-top: 104px; } }
@keyframes wn-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wn-card { animation: none; } .wn-row, .wn-cta { transition: none; } }
