/* Physics symbol dictionary — reference-first visual system. */
:root {
    --dict-ink: #172033;
    --dict-muted: #667085;
    --dict-surface: rgba(255, 255, 255, 0.82);
    --dict-border: rgba(74, 94, 58, 0.14);
    --dict-shadow: 0 18px 54px rgba(49, 61, 42, 0.09);
}

html {
    scroll-padding-top: 9rem;
}

body {
    background:
        radial-gradient(circle at 88% 4%, rgba(101, 121, 84, 0.1), transparent 28rem),
        #f6f7f4;
    color: var(--dict-ink);
    letter-spacing: 0;
}

.art-main {
    padding-bottom: 0;
}

.art-hero {
    min-height: 20rem;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
    background:
        radial-gradient(circle at 84% 14%, rgba(101, 121, 84, 0.16), transparent 22rem),
        radial-gradient(circle at 8% 100%, rgba(8, 145, 178, 0.08), transparent 18rem),
        linear-gradient(145deg, #f8faf6 0%, #edf3e8 55%, #f5f7f2 100%);
    color: var(--dict-ink);
}

.art-hero::before {
    top: -9rem;
    right: -5rem;
    width: 27rem;
    height: 27rem;
    border: 1px solid rgba(101, 121, 84, 0.1);
    background: rgba(255, 255, 255, 0.3);
}

.art-hero::after {
    bottom: -8rem;
    left: -7rem;
    width: 22rem;
    height: 22rem;
    background: rgba(8, 145, 178, 0.045);
}

.art-hero .art-container {
    max-width: 72rem;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.art-breadcrumb {
    margin-bottom: 1.6rem;
    color: #66745e;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
}

.art-breadcrumb a,
.art-breadcrumb a:hover,
.art-breadcrumb .art-current-page {
    color: inherit;
}

.art-breadcrumb a {
    text-decoration: underline;
    text-decoration-color: rgba(82, 102, 69, 0.28);
    text-underline-offset: 0.22em;
}

.art-breadcrumb a:hover {
    color: #304426;
    text-decoration-color: currentColor;
}

.art-hero-title {
    max-width: 12ch;
    margin-bottom: 1rem;
    color: #172033;
    font-size: clamp(2.4rem, 6vw, 4.7rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.art-hero-subtitle {
    max-width: 37rem;
    margin-bottom: 1.6rem;
    color: #596579;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.85;
}

.art-hero-meta {
    gap: 0.5rem;
}

.art-hero .art-tag {
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(74, 94, 58, 0.13);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    color: #4a5a3d;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.dict-searchbar {
    top: 0;
    z-index: 120;
    margin-top: -2.15rem;
    padding: 0 0 1.1rem;
    border: 0;
    background: linear-gradient(to bottom, rgba(246, 247, 244, 0), rgba(246, 247, 244, 0.94) 56%, #f6f7f4);
    box-shadow: none;
}

.dict-searchbar-inner {
    max-width: 72rem;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(74, 94, 58, 0.14);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 60px rgba(49, 61, 42, 0.11);
    backdrop-filter: blur(24px) saturate(155%);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.dict-search-row {
    gap: 0.75rem;
}

.dict-search-wrap svg {
    left: 1rem;
    width: 1.2rem;
    height: 1.2rem;
    stroke: #657954;
    stroke-width: 1.8;
}

#dict-search {
    min-height: 3.35rem;
    padding: 0.78rem 1rem 0.78rem 3rem;
    border: 1px solid rgba(74, 94, 58, 0.16);
    border-radius: 1rem;
    background: rgba(245, 247, 243, 0.86);
    color: var(--dict-ink);
    font-size: 0.98rem;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}

#dict-search:hover {
    border-color: rgba(74, 94, 58, 0.3);
}

#dict-search:focus {
    border-color: #657954;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(101, 121, 84, 0.12);
}

.dict-esc-hint {
    padding-inline: 0.25rem;
    color: #778173;
}

.dict-esc-hint kbd {
    padding: 0.18rem 0.42rem;
    border-color: rgba(74, 94, 58, 0.17);
    border-radius: 0.38rem;
    background: #f5f7f3;
    box-shadow: 0 1px 0 #fff inset;
}

.dict-chips {
    gap: 0.4rem;
}

.dict-chip {
    min-height: 2.35rem;
    padding: 0.42rem 0.78rem;
    border-color: rgba(74, 94, 58, 0.13);
    border-radius: 999px;
    background: rgba(249, 250, 248, 0.82);
    color: #63705e;
    font-size: 0.75rem;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.1s ease;
}

.dict-chip:hover {
    border-color: rgba(101, 121, 84, 0.42);
    background: #f0f4ed;
}

.dict-chip:active,
.view-btn:active,
.dict-alpha-btn:active,
.sym-card:active {
    transform: scale(0.98);
}

.dict-chip.active {
    border-color: #657954;
    background: #657954;
    box-shadow: 0 5px 14px rgba(74, 94, 58, 0.2);
}

.dict-content {
    min-height: 50vh;
    padding: clamp(1.6rem, 4vw, 3rem) 0 5rem;
    background: transparent;
}

.dict-content-inner {
    max-width: 72rem;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.dict-result-bar {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(74, 94, 58, 0.12);
}

.dict-result-bar > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.dict-count-label {
    color: var(--dict-muted);
    font-size: 0.86rem;
    font-variant-numeric: tabular-nums;
}

.dict-count-label strong {
    color: #304426;
    font-size: 1rem;
}

.dict-sort-row {
    gap: 0.45rem;
}

.dict-sort-row label {
    color: #697568;
}

.dict-sort-row select {
    min-height: 2.5rem;
    padding: 0.42rem 2rem 0.42rem 0.75rem;
    border-color: rgba(74, 94, 58, 0.15);
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.82);
    color: #35412f;
}

.view-toggle {
    gap: 0.2rem;
    padding: 0.2rem;
    border: 1px solid rgba(74, 94, 58, 0.13);
    border-radius: 0.85rem;
    background: rgba(232, 237, 227, 0.72);
}

.view-btn {
    min-height: 2.15rem;
    padding: 0.38rem 0.72rem;
    border: 0;
    border-radius: 0.62rem;
    color: #63705e;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.56);
}

.view-btn.active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(49, 61, 42, 0.12);
    color: #304426;
}

.dict-notation-guide {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid rgba(74, 94, 58, 0.13);
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(240, 245, 236, 0.92), rgba(249, 250, 247, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.dict-notation-examples {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.dict-notation-sample {
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 94, 58, 0.14);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    color: #405334;
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1;
}

.dict-notation-sample.is-variable {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.dict-notation-sample.is-upright {
    font-style: normal;
}

.dict-notation-separator {
    color: #7a8675;
    font-size: 0.7rem;
}

.dict-notation-copy h2 {
    margin: 0 0 0.2rem;
    color: #304426;
    font-size: 0.9rem;
    font-weight: 780;
    line-height: 1.4;
}

.dict-notation-copy p {
    margin: 0;
    color: #647061;
    font-size: 0.8rem;
    line-height: 1.65;
}

.dict-notation-copy i {
    color: #405334;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 650;
}

#dict-grid {
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 1rem;
}

.sym-card {
    min-height: 15.5rem;
    padding: 1.25rem;
    border-color: rgba(74, 94, 58, 0.12);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 30px rgba(49, 61, 42, 0.055);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.sym-card:hover {
    border-color: rgba(101, 121, 84, 0.32);
    background: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 48px rgba(49, 61, 42, 0.11);
    transform: translateY(-0.2rem);
}

.sym-card:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.38);
    outline-offset: 0.2rem;
}

.sym-card-header {
    min-height: 3.5rem;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.sym-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.3rem;
    min-width: 3.3rem;
    height: 3.3rem;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 1rem;
    background: color-mix(in srgb, currentColor 8%, white);
    font-size: 1.75rem;
    letter-spacing: -0.035em;
}

.sym-symbol sub,
.dict-entry-sym sub,
.sym-desc-short sub,
.sym-unit-label sub,
.dict-entry-unit sub,
.dict-modal-sym sub,
.c-val sub {
    position: relative;
    bottom: -0.28em;
    font-size: 0.62em;
    line-height: 0;
    vertical-align: baseline;
}

.sym-symbol sup,
.dict-entry-sym sup,
.sym-desc-short sup,
.sym-unit-label sup,
.dict-entry-unit sup,
.dict-modal-sym sup,
.c-val sup {
    position: relative;
    top: -0.46em;
    font-size: 0.62em;
    line-height: 0;
    vertical-align: baseline;
}

.sym-cat-tag,
.sym-stage-tag {
    min-height: 1.55rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.67rem;
}

.sym-name-zh {
    margin-bottom: 0.15rem;
    color: #172033;
    font-size: 1.04rem;
    font-weight: 780;
    letter-spacing: -0.01em;
}

.sym-name-en {
    margin-bottom: 0.65rem;
    color: #7b8494;
    font-size: 0.76rem;
}

.sym-desc-short {
    display: -webkit-box;
    overflow: hidden;
    color: #657083;
    font-size: 0.84rem;
    line-height: 1.68;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.sym-card-footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-color: rgba(74, 94, 58, 0.1);
}

.sym-unit-label {
    color: #6b5947;
    font-family: "SFMono-Regular", Consolas, monospace;
}

.sym-arrow {
    width: 1rem;
    height: 1rem;
    stroke: #8b9688;
}

.dict-empty {
    padding: 5rem 1.5rem;
    border-color: rgba(74, 94, 58, 0.13);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.8);
}

.dict-empty h2 {
    font-size: 1.15rem;
}

.dict-empty-report {
    display: inline-flex;
    min-height: 2.75rem;
    margin-top: 0.9rem;
    padding: 0.65rem 1rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 94, 58, 0.18);
    border-radius: 0.8rem;
    background: #657954;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.dict-empty-report:hover {
    background: #526645;
}

.dict-empty-report:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.38);
    outline-offset: 0.2rem;
}

mark {
    border-radius: 0.3rem;
    background: #e5efd9;
    color: #304426;
    box-shadow: 0 0 0 0.12rem #e5efd9;
}

.art-info-box {
    max-width: 48rem;
    margin: 3rem auto 0;
    border-color: rgba(74, 94, 58, 0.13);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.art-info-box h2 {
    margin: 0;
    color: #304426;
    font-size: 1rem;
    font-weight: 780;
    line-height: 1.4;
}

.dict-overlay {
    justify-content: center;
    padding: 0.75rem;
    background: rgba(17, 24, 39, 0.34);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    transition: opacity 0.18s ease;
}

.dict-modal {
    width: min(39rem, 100%);
    max-width: none;
    height: auto;
    max-height: calc(100dvh - 1.5rem);
    padding: 1.6rem;
    border-color: rgba(255, 255, 255, 0.66);
    border-radius: 1.65rem;
    background: rgba(252, 253, 251, 0.96);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.18);
    transform: translateY(0.75rem) scale(0.985);
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.dict-overlay.open .dict-modal {
    transform: translateY(0) scale(1);
}

.dict-modal-close {
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    border-color: rgba(74, 94, 58, 0.13);
    border-radius: 999px;
    background: rgba(237, 241, 234, 0.86);
    color: #526645;
    font-size: 0.85rem;
}

.dict-modal-close:hover {
    background: #e4eadf;
    color: #304426;
}

.physics-symbol-card__glyph {
    border-radius: 1.1rem;
}

.dict-modal .physics-symbol-card__header {
    padding-right: 3.25rem;
}

.dict-report {
    margin-top: 1rem;
    border: 1px solid rgba(74, 94, 58, 0.14);
    border-radius: 1rem;
    background: rgba(245, 248, 243, 0.82);
    overflow: clip;
}

.dict-report summary {
    display: flex;
    min-height: 3.6rem;
    padding: 0.75rem 0.9rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #405334;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.dict-report summary::-webkit-details-marker {
    display: none;
}

.dict-report summary:hover {
    background: rgba(232, 238, 227, 0.65);
}

.dict-report summary:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.38);
    outline-offset: -3px;
}

.dict-report-summary-copy {
    display: grid;
    gap: 0.12rem;
}

.dict-report-summary-copy strong {
    font-size: 0.85rem;
    line-height: 1.4;
}

.dict-report-summary-copy small {
    color: #73806f;
    font-size: 0.72rem;
    line-height: 1.45;
}

.dict-report-toggle {
    display: inline-flex;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 94, 58, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    transition: transform 0.18s ease;
}

.dict-report[open] .dict-report-toggle {
    transform: rotate(180deg);
}

.dict-report-form {
    display: grid;
    grid-template-columns: minmax(10rem, 0.75fr) minmax(0, 1.25fr);
    gap: 0.85rem;
    padding: 0.9rem;
    border-top: 1px solid rgba(74, 94, 58, 0.11);
    background: rgba(255, 255, 255, 0.56);
}

.dict-report-form label {
    display: grid;
    align-content: start;
    gap: 0.35rem;
    color: #53604f;
    font-size: 0.74rem;
    font-weight: 650;
}

.dict-report-form select,
.dict-report-form textarea {
    width: 100%;
    border: 1px solid rgba(74, 94, 58, 0.16);
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.9);
    color: #263124;
    font: inherit;
}

.dict-report-form select {
    min-height: 2.75rem;
    padding: 0.55rem 2rem 0.55rem 0.7rem;
}

.dict-report-form textarea {
    min-height: 5.25rem;
    padding: 0.65rem 0.7rem;
    line-height: 1.55;
    resize: vertical;
}

.dict-report-form select:focus-visible,
.dict-report-form textarea:focus-visible {
    border-color: #657954;
    outline: 3px solid rgba(101, 121, 84, 0.18);
}

.dict-report-actions {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 0.75rem;
}

.dict-report-submit {
    display: inline-flex;
    min-height: 2.75rem;
    padding: 0.65rem 0.95rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.75rem;
    background: #657954;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 720;
    text-decoration: none;
}

.dict-report-submit:hover {
    background: #526645;
}

.dict-report-submit:active {
    transform: scale(0.98);
}

.dict-report-submit:focus-visible {
    outline: 3px solid rgba(8, 145, 178, 0.38);
    outline-offset: 0.2rem;
}

.dict-report-actions small {
    color: #73806f;
    font-size: 0.7rem;
    line-height: 1.45;
}

#dict-grid.dict-mode {
    gap: 1rem;
}

.dict-alpha-index {
    position: sticky;
    top: 10.5rem;
    width: 16rem;
    min-width: 16rem;
    padding: 1rem;
    border-color: rgba(74, 94, 58, 0.13);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 34px rgba(49, 61, 42, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dict-alpha-btn {
    min-width: 1.75rem;
    min-height: 1.75rem;
    border-radius: 0.5rem;
}

.dict-alpha-btn:hover {
    background: #edf2e9;
}

.dict-list-section {
    border-color: rgba(74, 94, 58, 0.13);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 34px rgba(49, 61, 42, 0.055);
}

.dict-list-header {
    padding: 1rem 1.25rem;
    border-color: rgba(74, 94, 58, 0.1);
    background: #f3f6f1;
}

.dict-entry {
    min-height: 4.6rem;
    padding: 0.85rem 1.25rem;
    border-color: rgba(74, 94, 58, 0.07);
    transition: background-color 0.14s ease, transform 0.1s ease;
}

.dict-entry:hover {
    background: #f4f7f2;
}

.dict-entry:active {
    transform: scale(0.995);
}

.dict-entry:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(8, 145, 178, 0.35);
    outline-offset: -3px;
}

@media (max-width: 800px) {
    .art-hero {
        min-height: 17rem;
    }

    .dict-searchbar {
        margin-top: -1.5rem;
    }

    .dict-searchbar-inner {
        margin-inline: 1rem;
    }

    #dict-grid.dict-mode {
        gap: 0.8rem;
    }

    .dict-alpha-index {
        position: static;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 8rem;
    }

    .art-hero {
        min-height: 15rem;
        padding: 2.5rem 0 4rem;
    }

    .art-hero-title {
        font-size: clamp(2.25rem, 12vw, 3.3rem);
    }

    .art-hero-subtitle {
        font-size: 0.94rem;
        line-height: 1.75;
    }

    .dict-searchbar {
        margin-top: -1.25rem;
        padding-bottom: 0.75rem;
    }

    .dict-searchbar-inner {
        gap: 0.7rem;
        margin-inline: 0.7rem;
        padding: 0.7rem;
        border-radius: 1.15rem;
    }

    #dict-search {
        min-height: 3.15rem;
        font-size: 0.92rem;
    }

    .dict-esc-hint {
        display: none;
    }

    .dict-chips {
        flex-wrap: nowrap;
        margin-inline: -0.7rem;
        padding: 0 0.7rem 0.2rem;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .dict-chips::-webkit-scrollbar {
        display: none;
    }

    .dict-chip {
        min-height: 2.75rem;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .dict-content {
        padding-top: 1.25rem;
    }

    .dict-content-inner {
        padding-inline: 1rem;
    }

    .dict-result-bar {
        align-items: flex-start;
    }

    .dict-result-bar > div {
        width: 100%;
        justify-content: space-between;
    }

    .dict-sort-row {
        min-width: 0;
    }

    .dict-sort-row label {
        display: none;
    }

    .dict-sort-row select {
        max-width: 7.5rem;
    }

    .view-btn {
        min-height: 2.5rem;
    }

    .dict-notation-guide {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 0.9rem;
    }

    .dict-notation-examples {
        justify-content: flex-start;
    }

    #dict-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sym-card {
        min-height: 0;
        padding: 1rem;
        border-radius: 1.15rem;
    }

    .sym-card-header {
        min-height: 3rem;
    }

    .sym-symbol {
        width: 3rem;
        min-width: 3rem;
        height: 3rem;
    }

    .dict-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .dict-modal {
        width: 100%;
        height: auto;
        max-height: 90dvh;
        padding: 1.25rem 1rem max(1.25rem, env(safe-area-inset-bottom));
        border-radius: 1.5rem 1.5rem 0 0;
        transform: translateY(1.5rem) scale(0.99);
        transform-origin: bottom center;
    }

    .dict-report-form {
        grid-template-columns: 1fr;
    }

    .dict-report-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .dict-report-submit {
        width: 100%;
    }

    .dict-overlay.open .dict-modal {
        transform: translateY(0) scale(1);
    }

    .dict-entry {
        min-height: 4.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .dict-chip,
    .view-btn,
    .sym-card,
    .dict-overlay,
    .dict-modal,
    .dict-alpha-btn,
    .dict-entry,
    .dict-report-toggle,
    #dict-search {
        transition-duration: 1ms !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .art-hero .art-tag,
    .dict-searchbar-inner,
    .dict-alpha-index,
    .dict-modal {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (prefers-contrast: more) {
    .dict-searchbar-inner,
    .sym-card,
    .dict-alpha-index,
    .dict-list-section {
        border-color: #526645;
    }
}

@media print {
    .dict-searchbar,
    .dict-result-bar,
    .dict-overlay,
    #art-related,
    #site-footer {
        display: none !important;
    }

    .art-hero {
        min-height: 0;
        padding: 1.5rem 0;
        background: #fff;
    }

    #dict-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sym-card {
        break-inside: avoid;
        box-shadow: none;
    }
}
