/* ═══════════════════════════════════════════════
   EconHub Search — Stylesheet
   ═══════════════════════════════════════════════ */

:root {
    --bg-deep: #000511;
    --bg-main: #0a192f;
    --bg-card: rgba(10, 25, 47, 0.93);
    --bg-glass: rgba(10, 25, 47, 0.84);
    --bg-glass-hover: rgba(17, 34, 64, 0.85);

    --border-main: #304a6e;
    --border-hover: #61dafb;
    --border-glass: rgba(135, 206, 250, 0.20);

    --text-main: #e6edf8;
    --text-secondary: #96a4bf;
    --text-heading: #f4f7ff;

    --primary: #61dafb;
    --primary-hover: #8be9ff;
    --primary-text: #082032;
    --primary-faint: rgba(97, 218, 251, 0.08);

    --danger: #ff7b7b;
    --danger-hover: #ff9b9b;

    --highlight-bg: #e2b324;
    --highlight-text: #0a192f;

    --shadow-main: rgba(0, 0, 0, 0.34);
    --shadow-card: rgba(0, 0, 0, 0.12);
    --focus-shadow: rgba(97, 218, 251, 0.20);

    --primary-gradient: linear-gradient(135deg, #37a2f5 0%, #61dafb 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4bb2ff 0%, #8be9ff 100%);

    --select-bg: #0f2444;
    --link-btn-bg: rgba(97, 218, 251, 0.06);
    --link-btn-hover: rgba(97, 218, 251, 0.18);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

body.light-mode {
    --bg-deep: #f0f4f8;
    --bg-main: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.97);
    --bg-glass: rgba(255, 255, 255, 0.92);
    --bg-glass-hover: rgba(243, 247, 252, 0.98);

    --border-main: #d0dae8;
    --border-hover: #007bff;
    --border-glass: rgba(0, 0, 0, 0.10);

    --text-main: #18212f;
    --text-secondary: #5f6f82;
    --text-heading: #0d1520;

    --primary: #007bff;
    --primary-hover: #3395ff;
    --primary-text: #ffffff;
    --primary-faint: rgba(0, 123, 255, 0.06);

    --danger: #d64545;
    --danger-hover: #f05a5a;

    --highlight-bg: #ffc107;
    --highlight-text: #000;

    --shadow-main: rgba(48, 66, 92, 0.14);
    --shadow-card: rgba(48, 66, 92, 0.07);
    --focus-shadow: rgba(0, 123, 255, 0.18);

    --primary-gradient: linear-gradient(135deg, #2575fc 0%, #4da3ff 100%);
    --primary-gradient-hover: linear-gradient(135deg, #3c88ff 0%, #70b7ff 100%);

    --select-bg: #ffffff;
    --link-btn-bg: rgba(0, 123, 255, 0.06);
    --link-btn-hover: rgba(0, 123, 255, 0.14);
}

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

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.mobile-only-button {
    display: none;
}

/* ── Main container ── */
.search-container {
    position: relative;
    z-index: 1;
    width: min(1480px, calc(100vw - 36px));
    margin: 18px auto;
    padding: 18px 22px 20px;
    background-color: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 48px var(--shadow-main);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 36px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body.light-mode .search-container {
    box-shadow: 0 8px 40px rgba(48, 66, 92, 0.12), 0 1px 3px rgba(0,0,0,0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

.search-container.is-minimized {
    transform: scale(0.96) translateY(-18px);
    opacity: 0;
    pointer-events: none;
}

.search-container h1 {
    color: var(--primary);
    text-align: center;
    font-size: 1.75rem;
    line-height: 1.1;
    margin: 0 0 12px;
    flex-shrink: 0;
    letter-spacing: -0.01em;
    font-weight: 800;
}

.label-icon {
    font-size: 0.82em;
    opacity: 0.55;
    margin-right: 3px;
}

/* ── Top corner buttons ── */
.panel-control-button {
    position: absolute;
    top: 14px;
    background: var(--primary-faint);
    border: 1px solid var(--border-main);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: color 0.22s, border-color 0.22s, background-color 0.22s;
    z-index: 10;
}

.panel-control-button:hover {
    color: var(--primary);
    border-color: var(--border-hover);
    background-color: var(--link-btn-hover);
}

#minimize-panel-button { left: 14px; }
#theme-toggle { right: 14px; }

/* ── Restore button ── */
.restore-button {
    position: fixed;
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.75);
    border: 1px solid var(--border-main);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 30;
    transition: color 0.22s, border-color 0.22s, opacity 0.35s, transform 0.35s;
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
}

.restore-button.is-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.restore-button:hover {
    color: var(--primary);
    border-color: var(--border-hover);
}

body.light-mode .restore-button {
    background: rgba(255, 255, 255, 0.92);
    border-color: var(--border-main);
    color: var(--text-main);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

body.light-mode .restore-button:hover {
    color: var(--primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.98);
}

/* ── Search form ── */
#search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.search-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
}

body.light-mode .search-panel {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.search-row-layout {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.search-left {
    flex: 1;
    min-width: 0;
}

.search-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    padding-bottom: 1px;
}

.search-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    user-select: none;
}

.small-label {
    margin-bottom: 6px;
    font-size: 0.76rem;
}

/* ── Conditions ── */
.conditions-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-condition-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 8px;
}

.search-condition-row.first-row {
    grid-template-columns: minmax(0, 1fr);
}

.condition-input-wrap {
    width: 100%;
}

/* ── Inputs ── */
.title-condition-input,
.advanced-fields input {
    width: 100%;
    border: 1px solid var(--border-main);
    background: rgba(255,255,255,0.02);
    color: var(--text-main);
    font-size: 0.95rem;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    min-width: 0;
    transition: border-color 0.22s, box-shadow 0.22s;
}

body.light-mode .title-condition-input,
body.light-mode .advanced-fields input {
    background: rgba(0, 0, 0, 0.02);
}

.title-condition-input::placeholder,
.advanced-fields input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.title-condition-input:focus,
.advanced-fields input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--focus-shadow);
}

.condition-operator {
    width: 84px;
    border: 1px solid var(--border-main);
    background-color: var(--select-bg);
    color: var(--text-heading);
    border-radius: var(--radius-sm);
    padding: 8px 24px 8px 10px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.22s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2396a4bf'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.condition-operator option {
    background-color: var(--select-bg);
    color: var(--text-heading);
}

.condition-operator:hover,
.condition-operator:focus {
    border-color: var(--primary);
    outline: none;
}

/* ── Buttons (unified) ── */
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.12s, box-shadow 0.22s;
    white-space: nowrap;
}

.outline-button {
    padding: 0 14px;
    border: 1px solid var(--border-main);
    background: transparent;
    color: var(--text-secondary);
}

.outline-button:hover:not(:disabled) {
    background: var(--primary-faint);
    border-color: var(--primary);
    color: var(--primary);
}

.outline-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.outline-button.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-faint);
}

/* Remove condition */
.remove-condition-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 123, 123, 0.25);
    background: rgba(255, 123, 123, 0.05);
    color: var(--danger);
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.22s, background 0.22s, color 0.22s, transform 0.12s;
}

.remove-condition-button:hover {
    border-color: var(--danger);
    background: rgba(255, 123, 123, 0.12);
    color: var(--danger-hover);
    transform: scale(1.05);
}

/* Search submit */
.search-submit-button {
    padding: 0 18px;
    border: none;
    background: var(--primary-gradient);
    color: var(--primary-text);
    font-weight: 700;
    box-shadow: 0 2px 8px var(--focus-shadow);
}

.search-submit-button:hover:not(:disabled) {
    background: var(--primary-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--focus-shadow);
}

.search-submit-button:active:not(:disabled) {
    transform: translateY(0);
}

.search-submit-button:disabled,
.search-submit-button.loading {
    background: var(--border-main);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Shared icon color */
.action-button i,
.remove-condition-button i,
.panel-control-button i,
.restore-button i,
.mobile-only-button i {
    color: inherit;
}

/* ── Advanced fields ── */
.advanced-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
}

.advanced-fields.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.advanced-fields:not(.hidden) {
    max-height: 140px;
    opacity: 1;
    margin-top: 10px;
}

.advanced-field {
    min-width: 0;
}

/* ── Results area ── */
#results-area {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    min-height: 0;
}

.results-wrapper {
    display: flex;
    gap: 16px;
    width: 100%;
    min-height: 0;
}

/* ── Sidebar (wider) ── */
.sidebar {
    flex: 0 0 270px;
    height: 100%;
    overflow-y: auto;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
}

body.light-mode .sidebar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-main);
    margin-bottom: 10px;
    cursor: pointer;
    user-select: none;
}

.sidebar-header:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.sidebar-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-title-icon {
    font-size: 0.76rem;
    opacity: 0.55;
}

.toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

/* ── Facets ── */
.facet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s, border-left-color 0.2s;
    border-left: 3px solid transparent;
    margin-bottom: 2px;
}

.facet-item:hover {
    background-color: var(--bg-glass-hover);
    border-left-color: var(--border-main);
}

.facet-item.active {
    font-weight: 700;
    color: var(--text-heading);
    background-color: var(--primary-faint);
    border-left-color: var(--primary);
}

.facet-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
    font-size: 0.8rem;
}

.facet-count {
    background-color: var(--border-main);
    color: var(--text-heading);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.facet-placeholder {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.facet-placeholder i {
    font-size: 0.78rem;
    opacity: 0.5;
}

/* ── Main content ── */
.main-content {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Results header with sort ── */
#results-header {
    margin-bottom: 10px;
    flex-shrink: 0;
    min-height: 24px;
}

.results-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#results-count {
    color: var(--text-secondary);
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sort-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    cursor: default;
}

.sort-label i {
    font-size: 0.76rem;
    opacity: 0.6;
}

.sort-select {
    border: 1px solid var(--border-main);
    background-color: var(--select-bg);
    color: var(--text-heading);
    border-radius: var(--radius-sm);
    padding: 5px 28px 5px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.22s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2396a4bf'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.sort-select option {
    background-color: var(--select-bg);
    color: var(--text-heading);
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* ── Empty state ── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    text-align: center;
    opacity: 0.65;
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 18px;
}

.empty-state-title {
    color: var(--text-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.empty-state-subtitle {
    color: var(--text-secondary);
    font-size: 0.86rem;
    margin: 0;
}

/* ── Paper cards ── */
#papers-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.paper-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 8px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px var(--shadow-card);
    position: relative;
}

body.light-mode .paper-card {
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(48,66,92,0.06);
}

.paper-card:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--shadow-main);
}

.card-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-meta-top {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.77rem;
    color: var(--text-secondary);
}

.card-meta-top .meta-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.card-meta-top .meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta-top .fa-solid {
    color: var(--primary);
    font-size: 0.68rem;
    opacity: 0.7;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.5;
}

.card-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    align-items: center;
}

.card-metadata span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-metadata .fa-solid {
    color: var(--primary);
    font-size: 0.72rem;
    opacity: 0.7;
    width: 1em;
}

/* ── External link button (right side of card) ── */
.card-link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-main);
    background: var(--link-btn-bg);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.22s, border-color 0.22s, background 0.22s, transform 0.15s;
    align-self: center;
}

.card-link-button:hover {
    color: var(--primary);
    border-color: var(--border-hover);
    background: var(--link-btn-hover);
    transform: scale(1.08);
}

.card-link-button i {
    color: inherit;
}

/* ── Highlight ── */
.highlight {
    background-color: var(--highlight-bg);
    color: var(--highlight-text);
    padding: 0.08em 0.24em;
    border-radius: 3px;
    font-weight: 700;
}

/* ── Messages & Loader ── */
.message {
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
}

.loader-container {
    display: flex;
    justify-content: center;
    padding: 24px;
}

.spinner {
    border: 4px solid rgba(128, 128, 128, 0.2);
    border-left-color: var(--primary);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Scrollbars ── */
.sidebar::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb {
    background-color: rgba(97, 218, 251, 0.30);
    border-radius: 999px;
}

.sidebar::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track {
    background: transparent;
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */

@media (max-width: 1180px) {
    .search-row-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .search-right {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-bottom: 0;
    }
}

@media (max-width: 1100px) {
    .search-container {
        width: calc(100vw - 20px);
        margin: 10px auto;
        height: calc(100vh - 20px);
        padding: 16px;
    }

    .sidebar {
        flex-basis: 240px;
    }
}

@media (max-width: 960px) {
    .search-container {
        display: block;
        max-width: none;
        width: 100%;
        margin: 0;
        min-height: 100vh;
        height: auto;
        border-radius: 0;
        padding: 16px 12px;
    }

    #results-area {
        display: block;
        overflow: visible;
        min-height: auto;
    }

    .results-wrapper {
        display: block;
        min-height: auto;
    }

    .sidebar {
        height: auto;
        overflow: hidden;
        margin-bottom: 12px;
    }

    #facets-container {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .sidebar.is-expanded #facets-container {
        max-height: 1000px;
        margin-top: 8px;
    }

    .sidebar.is-expanded .toggle-icon {
        transform: rotate(180deg);
    }

    .main-content {
        height: auto;
        overflow: visible;
        margin-top: 8px;
        padding-right: 0;
    }

    #minimize-panel-button,
    #restore-panel-button {
        display: none !important;
    }
}

@media (max-width: 720px) {
    .advanced-fields {
        grid-template-columns: 1fr;
    }

    .advanced-fields:not(.hidden) {
        max-height: 220px;
    }

    .search-condition-row {
        grid-template-columns: 84px minmax(0, 1fr) 36px;
    }

    .results-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .search-row-layout {
        flex-direction: column;
    }

    .search-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .search-condition-row,
    .search-condition-row.first-row {
        grid-template-columns: 1fr;
    }

    .remove-condition-button {
        width: 100%;
        min-width: 0;
        height: 32px;
    }

    .condition-operator {
        width: 100%;
    }

    #theme-toggle {
        display: none;
    }

    .mobile-only-button {
        display: inline-flex;
        width: 36px;
        height: 36px;
        min-height: 36px;
        border-radius: var(--radius-sm);
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border-main);
        background: transparent;
        color: var(--text-secondary);
        cursor: pointer;
        font-size: 0.95rem;
        transition: color 0.22s, border-color 0.22s, background 0.22s;
    }

    .mobile-only-button:hover {
        color: var(--primary);
        border-color: var(--border-hover);
        background: var(--primary-faint);
    }

    .paper-card {
        padding: 12px;
    }

    .card-link-button {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }
}