/* ==========================================================================
   BookTracker — mobile-first styles.

   Layout lives here once; themes (bottom of file) only swap the custom
   properties below. To add a theme: copy a [data-theme] block, change the
   values, and add it to accounts/themes.py.
   ========================================================================== */

:root {
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-heading: var(--font-body);

    --radius: 10px;
    --radius-chip: 999px;
    --gutter: 16px;
    --tap: 44px;              /* minimum touch target */
    --nav-height: 64px;
    --max-width: 760px;

    /* Which logo artwork to show. Dark themes flip these. */
    --show-logo-on-light: block;
    --show-logo-on-dark: none;
}


/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    /* Room for the bottom tab bar on phones. */
    padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 0.5em;
    overflow-wrap: anywhere;   /* very long titles wrap instead of overflowing */
}

h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 1.25em;
}

p { margin: 0 0 0.75em; }

a {
    color: var(--link);
    text-underline-offset: 2px;
}

img { max-width: 100%; height: auto; }

.muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }
.text-center { text-align: center; }
.mt { margin-top: 12px; }
.mt-lg { margin-top: 16px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* ---------- Header & navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--gutter);
    padding-top: calc(10px + env(safe-area-inset-top));
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: block;
    flex-shrink: 1;
    min-width: 0;
}

.logo {
    height: 38px;
    width: auto;
    /* On narrow phones next to the Log In / Create Account links, shrink
       rather than push them onto two lines. */
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.logo-on-light { display: var(--show-logo-on-light); }
.logo-on-dark { display: var(--show-logo-on-dark); }

/* Stacked logo above the login / sign-up forms. */
.hero-logo {
    max-width: 240px;
    margin: 8px auto 20px;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.header-links {
    display: flex;
    gap: 14px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Phones: app-style tab bar pinned to the bottom. */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
}

.tab-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: var(--nav-height);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
}

.tab-bar a[aria-current="page"] {
    color: var(--accent);
    font-weight: 600;
}

.tab-icon { font-size: 1.35rem; line-height: 1; }


/* ---------- Page layout ---------- */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px var(--gutter) 32px;
}

.page-section + .page-section { margin-top: 32px; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.card + .card { margin-top: 12px; }

.stack > * + * { margin-top: 12px; }


/* ---------- Messages ---------- */

.messages {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.messages li {
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--border);
}

.messages li + li { margin-top: 8px; }

.messages li.error,
.messages li.warning {
    background: var(--danger-bg);
    color: var(--danger-text);
}


/* ---------- Buttons ---------- */

.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--tap);
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-contrast);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover,
button:hover { filter: brightness(1.08); }

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.btn-block { width: 100%; }

.btn-link {
    background: none;
    border: none;
    color: var(--link);
    padding: 0;
    min-height: auto;
    font-weight: 400;
    text-decoration: underline;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}


/* ---------- Forms ---------- */

label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
    width: 100%;
    min-height: var(--tap);
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--input-bg);
    color: var(--text);
    /* 16px stops iOS Safari from zooming in on focus. */
    font: inherit;
    font-size: 16px;
}

textarea { min-height: 140px; resize: vertical; }

/* Password field with a show/hide eye (added by password-toggle.js). */
.password-field {
    position: relative;
    display: block;
}

.password-field input { padding-right: 48px; }

.password-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    min-height: 40px;
    width: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-muted);
}

.password-toggle:hover {
    color: var(--text);
    filter: none;
}

/* Hide Edge's built-in reveal button so there aren't two eyes. */
.password-field input::-ms-reveal { display: none; }

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--accent);
    vertical-align: middle;
}

/* Django's {{ form.as_p }} output. */
.form p { margin-bottom: 16px; }

.form .helptext,
.form .helptext ul {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form .helptext ul { padding-left: 18px; }

.errorlist {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    color: var(--danger-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-row label { margin: 0; }

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin-bottom: 12px;
}

.checkbox-grid .checkbox-row {
    font-weight: 500;
    margin: 0;
}

.form input[type="number"],
.form input[type="url"] {
    width: 100%;
    min-height: var(--tap);
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--input-bg);
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

/* "Waiting for review" note on reader-submitted books. */
.pending-note {
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px dashed var(--accent);
    border-radius: var(--radius);
    background: var(--chip-bg);
    font-size: 0.9rem;
}

fieldset {
    min-width: 0;   /* browsers default this to min-content, which overflows */
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px 4px;
    margin: 0 0 16px;
}

legend {
    font-weight: 700;
    padding: 0 6px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.search-form {
    display: flex;
    gap: 8px;
}

/* Inputs sitting beside a button: let them shrink instead of pushing the
   button (or the whole page) past the screen edge. */
.search-form input,
.add-tag-form select {
    flex: 1;
    width: auto;
    min-width: 0;
}


/* ---------- Chips (filters and tags) ---------- */

.chip-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 0 calc(var(--gutter) * -1) 12px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    scrollbar-width: none;
}

.chip-row::-webkit-scrollbar { display: none; }

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.chip-list form { margin: 0; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--chip-border);
    border-radius: var(--radius-chip);
    background: var(--chip-bg);
    color: var(--chip-text);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.chip:hover { filter: brightness(0.97); }

.chip[aria-current="true"],
.chip[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-contrast);
}

.chip-count {
    font-size: 0.8rem;
    opacity: 0.8;
}


/* ---------- Book lists ---------- */

.book-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.book-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.book-row:last-child { border-bottom: none; }

/* Jumping to #book-12 shouldn't tuck the row under the sticky header. */
.book-row { scroll-margin-top: 90px; }

.load-more {
    list-style: none;
    padding: 16px 0;
}

.load-more.is-loading a {
    opacity: 0.6;
    pointer-events: none;
}

.load-more.is-loading a::after { content: "…"; }

.book-row h3 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.book-row h3 a {
    color: var(--text);
    text-decoration: none;
}

.book-row p { margin-bottom: 6px; }

.cover {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 4px;
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

/* Stand-in when a book has no cover image. */
.cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.status-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.status-form select {
    width: auto;
    min-height: 38px;
    padding: 6px 10px;
}

/* Small tag chips on search results; suggested ones are lighter/dashed. */
.result-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border: 1px solid var(--chip-border);
    border-radius: var(--radius-chip);
    background: var(--chip-bg);
    color: var(--chip-text);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.tag-chip:hover { border-color: var(--accent); }

.tag-chip-suggested,
.chip-suggested {
    background: transparent;
    border-style: dashed;
    font-weight: 500;
}

.tag-chip-warning { color: var(--danger-text); }

/* "Coming Oct 6" / "Out today!" on search results. */
.release-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 10px;
    border-radius: var(--radius-chip);
    background: var(--chip-bg);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
}

/* "Series: Knockemout #1" under a book's author line. */
.series {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.series-label {
    color: var(--text-muted);
}

.series-name {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text);
}

/* {% rating %}: stars and spice peppers. Empty peppers are faded copies. */
.ratings {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    margin-bottom: 6px;
}

.rating {
    white-space: nowrap;
    line-height: 1;
}

.rating-stars {
    color: var(--star);
    letter-spacing: 1px;
}

.rating-peppers { letter-spacing: -1px; }

.rating-peppers .rating-off {
    opacity: 0.2;
    filter: grayscale(1);
}

.stars {
    color: var(--star);
    letter-spacing: 1px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 8px;
}

.toolbar-field {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.toolbar-field select {
    max-width: 100%;
    min-width: 0;
    text-overflow: ellipsis;
}

.toolbar label { margin: 0; font-weight: 500; }

.toolbar select {
    width: auto;
    min-height: 38px;
    padding: 6px 10px;
}


/* ---------- Homepage ---------- */

/* One-time tip (e.g. "choose a theme in Account"). */
.tip-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 12px 12px 16px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--chip-bg);
    color: var(--text);
}

.tip-banner p { margin: 0; flex: 1; }

.tip-banner form { margin: 0; }

.tip-dismiss {
    min-height: 32px;
    width: 32px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1;
}

.tip-dismiss:hover { background: var(--surface); filter: none; }

.dashboard {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
}

.widget h2 {
    font-size: 1.2rem;
    margin: 0;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.widget .book-list .book-row:first-child { padding-top: 0; }

.widget-source {
    margin: 10px 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.genre-picker select {
    width: auto;
    max-width: 55vw;
    min-height: 36px;
    padding: 4px 10px;
}

.shelf-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 16px 0 8px;
}

/* A sideways-scrolling row of covers. */
.shelf {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    list-style: none;
    margin: 0 -16px;
    padding: 0 16px 6px;
    scroll-snap-type: x proximity;
    scroll-padding: 0 16px;   /* snap to the padding, not the card's edge */
    scrollbar-width: none;
}

.shelf::-webkit-scrollbar { display: none; }

.shelf-item {
    flex: 0 0 96px;
    scroll-snap-align: start;
}

.shelf-item a {
    display: block;
    color: var(--text);
    text-decoration: none;
}

.shelf-cover {
    position: relative;
    display: block;
    margin-bottom: 6px;
}

.shelf-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.shelf-title,
.shelf-author {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.85rem;
    line-height: 1.25;
}

.shelf-title {
    -webkit-line-clamp: 2;
    font-weight: 600;
}

.shelf-author {
    -webkit-line-clamp: 1;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.shelf-detail {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}


/* Kindle Unlimited: the book-page box and the little "KU" badges. */
.ku-box h3 { margin-bottom: 6px; }

.ku-box.ku-yes { border-color: var(--accent); }

.ku-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ku-actions button[aria-pressed="true"] {
    border-color: var(--accent);
    color: var(--accent);
}

.ku-badge {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 4px;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.shelf-cover .ku-badge {
    position: absolute;
    left: 4px;
    bottom: 4px;
}

/* Author rows with a Follow button (book page, Following page). */
.author-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.author-row + .author-row { border-top: 1px solid var(--border); }

.author-row p { margin: 2px 0 0; }

.card.author-list { padding-top: 6px; padding-bottom: 6px; }


/* ---------- Book detail ---------- */

.book-hero {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 20px;
}

.book-hero h2 { margin-bottom: 4px; }

.book-hero .cover-placeholder { font-size: 2.5rem; }

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.meta-list li + li { margin-top: 4px; }

.description p { margin-bottom: 0.9em; }

.rating-table {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    margin: 0 0 12px;
}

.rating-table dt { color: var(--text-muted); }
.rating-table dd { margin: 0; }

.add-tag-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}


/* ---------- Larger screens ---------- */

@media (min-width: 720px) {
    body { padding-bottom: 0; }

    .site-header { padding-left: 24px; padding-right: 24px; }

    /* The tab bar moves up into the header as plain links. */
    .tab-bar {
        position: static;
        background: none;
        border: none;
        padding: 0;
        gap: 4px;
    }

    .tab-bar a {
        flex: none;
        flex-direction: row;
        min-height: 40px;
        padding: 0 12px;
        border-radius: var(--radius);
        font-size: 0.95rem;
    }

    .tab-bar a[aria-current="page"] { background: var(--chip-bg); }

    .tab-icon { font-size: 1rem; }

    main { padding-top: 32px; }

    .logo { height: 44px; }

    h2 { font-size: 1.85rem; }

    .book-hero { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }

    .book-row { grid-template-columns: 72px minmax(0, 1fr); }

    .chip-row {
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .shelf-item { flex-basis: 112px; }
}


/* ==========================================================================
   Themes
   ========================================================================== */

/* Cozy Library — warm paper, serif, burgundy and brass. */
[data-theme="cozy"] {
    color-scheme: light;
    --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

    --bg: #FBF7F0;
    --surface: #FFFDF9;
    --surface-2: #F3ECDF;
    --input-bg: #FFFFFF;
    --text: #2B2320;
    --text-muted: #6B5E57;
    --border: #E8DECF;
    --border-strong: #CDBFAB;
    --link: #7A2E3A;
    --accent: #7A2E3A;
    --accent-contrast: #FFFFFF;
    --focus: #B08D57;
    --chip-bg: #F3E8D8;
    --chip-border: #E2D2BA;
    --chip-text: #5A4632;
    --star: #B08D57;
    --success-bg: #EEF3E6;
    --success-text: #3D5226;
    --danger-bg: #F8E6E6;
    --danger-text: #8A1F1F;
    --shadow: 0 1px 2px rgba(60, 40, 20, 0.08);
}

/* Moody Romantasy — ink and plum, soft gold. */
[data-theme="moody"] {
    color-scheme: dark;
    --show-logo-on-light: none;
    --show-logo-on-dark: block;
    --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

    --bg: #1C1624;
    --surface: #251D30;
    --surface-2: #2F2540;
    --input-bg: #1F1829;
    --text: #EDE6F2;
    --text-muted: #B3A6C0;
    --border: #3A2E4B;
    --border-strong: #574670;
    --link: #E2C487;
    --accent: #D4AF6A;
    --accent-contrast: #1C1624;
    --focus: #E2C487;
    --chip-bg: #3A2650;
    --chip-border: #4F3668;
    --chip-text: #EBDDF5;
    --star: #D4AF6A;
    --success-bg: #22332A;
    --success-text: #BFE3C9;
    --danger-bg: #3D1F28;
    --danger-text: #F5B8C4;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Clean & Modern — bright, crisp, one teal accent. */
[data-theme="modern"] {
    color-scheme: light;
    --radius: 8px;

    --bg: #F7F8FA;
    --surface: #FFFFFF;
    --surface-2: #F1F3F5;
    --input-bg: #FFFFFF;
    --text: #111827;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --border-strong: #D1D5DB;
    --link: #0F766E;
    --accent: #0F766E;
    --accent-contrast: #FFFFFF;
    --focus: #14B8A6;
    --chip-bg: #E6F4F2;
    --chip-border: #CCE9E5;
    --chip-text: #115E59;
    --star: #D97706;
    --success-bg: #ECFDF5;
    --success-text: #065F46;
    --danger-bg: #FEF2F2;
    --danger-text: #991B1B;
    --shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

/* Soft & Playful — blush and lavender, rounded everything. */
[data-theme="playful"] {
    color-scheme: light;
    --font-body: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif;
    --radius: 18px;

    --bg: #FFF5F7;
    --surface: #FFFFFF;
    --surface-2: #FCE8EE;
    --input-bg: #FFFFFF;
    --text: #3B2A3F;
    --text-muted: #7A6680;
    --border: #F3D5DF;
    --border-strong: #E5B8C8;
    --link: #7552B0;
    --accent: #7552B0;
    --accent-contrast: #FFFFFF;
    --focus: #E58FB0;
    --chip-bg: #FCE1EA;
    --chip-border: #F6C9D8;
    --chip-text: #7B3F61;
    --star: #E0719B;
    --success-bg: #EEF8F1;
    --success-text: #2F6B45;
    --danger-bg: #FDECEF;
    --danger-text: #9B2342;
    --shadow: 0 2px 6px rgba(117, 82, 176, 0.08);
}
