/* "Senin için" (js/views/discover-view.js): one card at a time, JanitorAI style. */
.dc {
    --dc-bg: #313338;
    --dc-panel: #2a2b30;
    --dc-panel-2: #232428;
    --dc-line: rgba(255, 255, 255, 0.08);
    --dc-text: #ececf1;
    --dc-muted: #a3a6b0;
    --dc-pink: #f786f4;
    --dc-violet: #ae99ff;
    max-width: 640px;
    margin: 0 auto;
    padding: 14px 16px 120px;
    color: var(--dc-text);
}

.dc *, .dc *::before, .dc *::after { box-sizing: border-box; }
.dc button { font: inherit; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.dc-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.dc [hidden] { display: none !important; }

/* Top bar */
.dc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dc-tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--dc-panel-2); border: 1px solid var(--dc-line); border-radius: 12px; }
.dc-tabs a { padding: 7px 14px; border-radius: 9px; color: var(--dc-muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.dc-tabs a[aria-current="page"] { background: #3a3c43; color: #fff; }
.dc-tabs a:hover { color: #fff; }
.dc-top-actions { display: flex; align-items: center; gap: 8px; }
.dc-chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: var(--dc-panel-2); border: 1px solid var(--dc-line); border-radius: 999px; font-size: 13px; color: var(--dc-muted); cursor: pointer; }
.dc-chip-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.dc-chip-btn .dc-dot { width: 7px; height: 7px; border-radius: 50%; background: #6b7280; }
.dc-chip-btn .dc-dot.is-on { background: #22c55e; }
.dc-status { min-height: 18px; margin: -4px 0 10px; color: var(--dc-violet); font-size: 12px; }

/* Preset chips */
.dc-presets { display: flex; gap: 8px; margin: -2px 0 12px; overflow-x: auto; scrollbar-width: none; }
.dc-presets::-webkit-scrollbar { display: none; }
.dc .dc-preset { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: var(--dc-panel-2); color: var(--dc-muted); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dc .dc-preset:hover { color: #fff; }
.dc .dc-preset.is-active { border-color: rgba(247, 134, 244, 0.65); background: rgba(247, 134, 244, 0.12); color: #fbcff9; }
.dc .dc-preset.is-custom { cursor: default; font-style: italic; }
.dc-preset-x { margin-right: -4px; padding: 0 3px; border-radius: 50%; font-size: 15px; line-height: 1; opacity: 0.6; }
.dc-preset-x:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.dc-save-preset { display: flex; gap: 8px; }
.dc-save-preset input { flex: 1; min-width: 0; }

/* Preferences popover */
.dc-prefs { position: relative; }
.dc-prefs-panel { position: absolute; z-index: 30; right: 0; top: calc(100% + 8px); width: 340px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 140px); overflow-y: auto; padding: 14px; background: #26272c; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.dc-prefs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dc-prefs-head h3 { margin: 0 !important; }
.dc-prefs-head .dc-btn { padding: 6px 12px; }
.dc-prefs-backdrop { position: fixed; inset: 0; z-index: 25; background: transparent; }
.dc-prefs-panel h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dc-muted); }
.dc-prefs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc-prefs-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--dc-muted); }
.dc-prefs select, .dc-prefs input { width: 100%; padding: 8px 10px; background: #1d1e22; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; color: var(--dc-text); font: inherit; font-size: 13px; color-scheme: dark; }
.dc-prefs input.is-masked { -webkit-text-security: disc; text-security: disc; }
.dc-prefs hr { border: 0; border-top: 1px solid var(--dc-line); margin: 14px 0; }
.dc-account p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: var(--dc-muted); }
.dc-account strong { color: var(--dc-text); }
.dc-account a { color: var(--dc-violet); }
.dc-account form, .dc-account .dc-account-form { display: flex; flex-direction: column; gap: 8px; }
.dc-row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.dc-btn { padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); background: #34363d; color: var(--dc-text); font-size: 13px; font-weight: 600; cursor: pointer; }
.dc-btn:hover { background: #3d3f47; }
.dc-btn.is-primary { background: linear-gradient(135deg, var(--dc-pink), #d977f5); border-color: transparent; color: #2a0b2b; }
.dc-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.dc-error { color: #fca5a5; font-size: 12.5px; margin: 0; }

/* Card */
.dc-stage { position: relative; }
.dc-card { display: flex; flex-direction: column; gap: 10px; animation: dc-in 0.22s ease; }
.dc-card.is-back { animation-name: dc-in-back; }
@keyframes dc-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dc-in-back { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dc-card { animation: none; } }

.dc-creator { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--dc-panel); border: 1px solid var(--dc-line); border-radius: 14px; }
.dc-creator-avatar { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6d28d9, #db2777); font-weight: 700; font-size: 14px; color: #fff; }
.dc-creator-text { min-width: 0; flex: 1; }
.dc-name { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.dc-author { font-size: 12.5px; color: var(--dc-muted); }
.dc-source { flex-shrink: 0; padding: 3px 9px; border-radius: 999px; background: rgba(174, 153, 255, 0.14); color: #d4c9ff; font-size: 11.5px; font-weight: 600; }

.dc-cover { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.4; max-height: min(62dvh, 520px); padding: 0; overflow: hidden; border: 1px solid var(--dc-line); border-radius: 16px; background: var(--dc-panel-2); cursor: pointer; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.dc-cover-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(26px) brightness(0.55) saturate(1.2); opacity: 0; transition: opacity 0.3s; }
.dc-cover-img { position: relative; display: block; height: 100%; max-width: 100%; margin: 0 auto; object-fit: contain; opacity: 0; transition: opacity 0.3s; }
.dc-cover.is-loaded .dc-cover-bg, .dc-cover.is-loaded .dc-cover-img { opacity: 1; }
.dc-cover-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 800; color: rgba(255, 255, 255, 0.18); background: linear-gradient(110deg, #26272c 30%, #303137 50%, #26272c 70%) 0 0 / 300% 100%; animation: dc-shimmer 1.4s linear infinite; }
.dc-cover.is-loaded .dc-cover-placeholder { display: none; }
.dc-image-note { color: var(--text-muted, #b5b6c4); font-size: 13px; margin: 0 12px; }
.dc-image-note[hidden] { display: none; }
.dc-cover.is-failed .dc-cover-placeholder { animation: none; background: linear-gradient(135deg, #3b2457, #5b2147); color: rgba(255, 255, 255, 0.55); }
@keyframes dc-shimmer { to { background-position: -300% 0; } }
.dc-badges { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.dc-badges span { display: inline-flex; align-items: center; gap: 5px; }
.dc-badges span, .dc-flag { padding: 5px 10px; border-radius: 999px; background: rgba(17, 18, 22, 0.78); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: #f1f1f4; }
.dc-flag { position: absolute; left: 10px; top: 10px; background: rgba(190, 24, 93, 0.85); }

.dc-facts { background: var(--dc-panel); border: 1px solid var(--dc-line); border-radius: 14px; overflow: hidden; }
.dc-fact { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; font-size: 15px; }
.dc-fact + .dc-fact { border-top: 1px solid var(--dc-line); }
.dc-fact-icon { flex-shrink: 0; width: 20px; display: grid; place-items: center; padding-top: 2px; color: #c9c9d1; }
.dc-fact strong { font-weight: 650; }
.dc-fact small { display: block; margin-top: 3px; color: var(--dc-muted); font-size: 12.5px; }
.dc-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid var(--dc-line); }
.dc-tags span { padding: 5px 11px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 999px; font-size: 13px; color: #dcdce2; }
.dc-tags span.is-match { border-color: rgba(247, 134, 244, 0.6); background: rgba(247, 134, 244, 0.1); color: #fbcff9; }

.dc-text { padding: 16px; background: var(--dc-panel); border: 1px solid var(--dc-line); border-radius: 14px; font-size: 15.5px; line-height: 1.6; }
.dc-text p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.dc-text .dc-greeting { margin-top: 12px; padding: 12px 14px; border-left: 3px solid rgba(247, 134, 244, 0.55); background: rgba(0, 0, 0, 0.16); border-radius: 0 10px 10px 0; color: #d6d6dc; font-size: 14.5px; }
.dc-text .dc-greeting-label { display: block; margin-bottom: 4px; color: var(--dc-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-style: normal; }
.dc-clamp { max-height: 10.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.dc .dc-more { margin-top: 8px; padding: 0; background: none; border: 0; color: var(--dc-violet); font-size: 13px; font-weight: 600; cursor: pointer; }

/* Side controls (desktop) and action bar */
.dc-rail { position: fixed; z-index: 20; right: max(16px, calc(50% - 320px - 96px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.dc-pill { display: flex; flex-direction: column; overflow: hidden; background: #26272c; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.dc-pill button { width: 58px; height: 58px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; font-size: 20px; color: #e5e5ea; }
.dc-pill button + button { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.dc-pill button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.dc-pill button:disabled { opacity: 0.35; cursor: default; }
.dc-pill .dc-pill-label { display: block; font-size: 11px; color: var(--dc-muted); margin-top: -4px; }
.dc-position { text-align: center; font-size: 12px; color: var(--dc-muted); font-variant-numeric: tabular-nums; }
.dc .dc-start { position: fixed; z-index: 21; right: max(16px, calc(50% - 320px - 210px)); bottom: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #f9a8f6, var(--dc-pink) 55%, #e07cf2); color: #2a0b2b; font-size: 17px; font-weight: 700; box-shadow: 0 12px 34px rgba(247, 134, 244, 0.35); cursor: pointer; }
.dc .dc-start { white-space: nowrap; }
.dc-start-short { display: none; }
.dc .dc-start:hover:not(:disabled) { filter: brightness(1.05); }
.dc .dc-start:disabled { opacity: 0.6; cursor: not-allowed; }

.dc-empty { padding: 48px 20px; text-align: center; color: var(--dc-muted); background: var(--dc-panel); border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 16px; }
.dc-empty .dc-btn { margin-top: 14px; }

/* Detail dialog */
.dc-dialog { width: min(760px, calc(100% - 24px)); max-height: 88dvh; margin: auto; padding: 0; background: #26272c; color: var(--dc-text); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; }
.dc-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.dc-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: #26272c; border-bottom: 1px solid var(--dc-line); }
.dc-dialog-head h2 { margin: 0; font-size: 19px; }
.dc-dialog-body { padding: 6px 18px 18px; }
.dc-dialog details { margin-top: 12px; background: var(--dc-panel-2); border: 1px solid var(--dc-line); border-radius: 12px; }
.dc-dialog summary { padding: 11px 14px; cursor: pointer; font-weight: 600; }
.dc-dialog details p { margin: 0; padding: 0 14px 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.65; color: #d7d7dd; }
.dc-dialog-meta { margin: 12px 0 0; color: var(--dc-muted); font-size: 13px; }
.dc-dialog-meta a { color: var(--dc-violet); }

/* Phones: a docked bar above the site navigation holds the arrows, like,
   dismiss and start. Nothing floats over the card; sideways swipes on the
   picture also change cards, vertical drags only scroll. */
@media (max-width: 860px) {
    .dc { --dc-dock: 0px; --dc-bar: 62px; padding: 8px 12px calc(var(--dc-dock) + var(--dc-bar) + 24px); }
    .dc-top { margin-bottom: 10px; }
    .dc-tabs a { padding: 6px 11px; font-size: 13px; }
    .dc-search { margin-bottom: 10px; }
    .dc-search-row { padding: 4px 6px 4px 12px; }
    .dc-search .dc-btn { padding: 7px 12px; }
    #dcSearchHint { display: none; }
    .dc-presets { margin-bottom: 8px; }
    .dc .dc-preset { padding: 6px 12px; font-size: 13px; }
    .dc-status { min-height: 0; margin: 0 0 8px; }
    .dc-status:empty { display: none; }

    .dc-card { gap: 8px; }
    .dc-creator { padding: 8px 12px; gap: 10px; }
    .dc-creator-avatar { width: 30px; height: 30px; font-size: 13px; }
    .dc-name { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .dc-author { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dc-cover { aspect-ratio: 1 / 1; max-height: 50dvh; transition: transform 0.2s ease; }
    .dc-fact { font-size: 14px; padding: 10px 14px; }
    .dc-text { font-size: 14.5px; padding: 14px; }

    .dc-rail { top: auto; bottom: var(--dc-dock); left: 0; right: 0; transform: none; flex-direction: row; align-items: center; gap: 10px; height: var(--dc-bar); padding: 8px 12px; background: rgba(30, 31, 36, 0.97); border-top: 1px solid rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
    .dc-pill { flex-direction: row; box-shadow: none; }
    .dc-pill button { width: 46px; height: 44px; font-size: 18px; }
    .dc-pill button + button { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
    /* Up/down become left/right, matching the swipe direction. */
    .dc-pill-nav .dc-icon { transform: rotate(-90deg); }
    .dc-position, .dc-add-btn { display: none !important; }
    .dc .dc-start { left: auto; right: 12px; bottom: calc(var(--dc-dock) + 8px); height: 46px; width: calc(100% - 248px); min-width: 104px; justify-content: center; gap: 8px; padding: 0 12px; font-size: 16px; box-shadow: none; }
    .dc-start-long { display: none; }
    .dc-start-short { display: inline; }
    .dc-prefs-backdrop { background: rgba(0, 0, 0, 0.55); }
    .dc-prefs-panel { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; max-width: none; max-height: calc(100dvh - 64px - var(--dc-dock) - 16px); }
}
@media (min-width: 440px) and (max-width: 860px) {
    .dc-start-long { display: inline; }
    .dc-start-short { display: none; }
}
/* The site's mobile bottom navigation (≈58px plus the safe area) sits below. */
@media (max-width: 768px) {
    .dc { --dc-dock: calc(58px + env(safe-area-inset-bottom, 8px)); }
}
@media (max-width: 420px) {
    .dc-chip-btn .dc-chip-text { display: none; }
}

/* Likes */
.dc-tabs a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dc-tabs .dc-icon { width: 15px; height: 15px; }
.dc-likes-count:empty { display: none; }
.dc-likes-count { min-width: 18px; padding: 0 6px; border-radius: 999px; background: rgba(247, 134, 244, 0.2); color: #fbcff9; font-size: 11.5px; line-height: 18px; text-align: center; }
.dc-pill button.dc-like-btn.is-liked { color: var(--dc-pink); }
.dc-pill button.dc-like-btn.is-liked .dc-icon { fill: currentColor; }
.dc-like-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.dc-like-card { display: flex; flex-direction: column; overflow: hidden; background: var(--dc-panel); border: 1px solid var(--dc-line); border-radius: 14px; }
.dc .dc-like-cover { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 0; background: var(--dc-panel-2); cursor: pointer; }
.dc-like-cover img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0; transition: opacity 0.3s; }
.dc-like-cover.is-loaded img { opacity: 1; }
.dc-like-cover.is-loaded .dc-cover-placeholder { display: none; }
.dc-like-cover.is-failed .dc-cover-placeholder { animation: none; background: linear-gradient(135deg, #3b2457, #5b2147); color: rgba(255, 255, 255, 0.55); }
.dc-like-cover .dc-cover-placeholder { font-size: 44px; }
.dc-like-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.dc-like-body h3 { margin: 0; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.dc-like-body p { margin: 0; color: var(--dc-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-like-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.dc-like-tags span { padding: 2px 8px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; font-size: 11px; color: #cfcfd6; }
.dc-like-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.dc-like-actions .is-primary { flex: 1; }
.dc-like-actions .dc-btn:not(.is-primary) { color: var(--dc-pink); }
.dc-like-actions .dc-btn:not(.is-primary) .dc-icon { fill: currentColor; }
@media (max-width: 860px) {
    .dc-like-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dc-tabs .dc-likes-label { display: none; }
}

/* Card text actions, add button, dialog */
.dc-text-actions { display: flex; gap: 16px; }
.dc-unclamped { max-height: none; -webkit-mask-image: none; mask-image: none; }
.dc-pill button.dc-add-btn.is-added { color: #86efac; }
.dc .dc-link { padding: 0; border: 0; background: none; color: var(--dc-violet); font: inherit; cursor: pointer; }
.dc .dc-link:hover { text-decoration: underline; }
.dc-dialog-tags { padding: 12px 0 0; border-top: 0; }
.dc-dialog-actions { position: sticky; bottom: -18px; margin: 16px -18px -18px; padding: 12px 18px 18px; background: #26272c; border-top: 1px solid var(--dc-line); }
.dc-dialog-actions .dc-btn { display: inline-flex; align-items: center; gap: 7px; }

/* Search the connected sources without leaving the swipe deck. */
.dc-search { margin: 0 0 16px; }
.dc-search-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border: 1px solid var(--dc-line); border-radius: 14px; background: var(--dc-panel-2); }
.dc-search-row:focus-within { border-color: var(--dc-violet); }
.dc-search-icon { display: flex; color: var(--dc-muted); }
.dc-search input { flex: 1; min-width: 0; width: 100%; padding: 8px 0; border: 0; background: transparent; color: var(--dc-text); font: inherit; font-size: 16px; outline: none; }
.dc-search input::placeholder { color: var(--dc-muted); font-size: 14px; }
.dc-search-clear { display: grid; place-items: center; padding: 8px; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.dc-search-clear:focus-visible { outline: 2px solid var(--dc-violet); }
.dc-search p { margin: 6px 2px 0; color: var(--dc-muted); font-size: 11.5px; }
.dc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Undo after ✕: sits above the controls, never over the card text for long. */
.dc-toast { position: fixed; z-index: 22; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px); padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: #1d1e22; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); font-size: 14px; white-space: nowrap; }
.dc-toast span { overflow: hidden; text-overflow: ellipsis; }
.dc-toast .dc-link { flex-shrink: 0; padding: 4px 2px; font-weight: 700; }
@media (max-width: 860px) {
    .dc-toast { bottom: calc(var(--dc-dock) + var(--dc-bar) + 10px); }
}
/* Narrow phones (iPhone SE): smaller buttons so "Başla" never overlaps ✕. */
@media (max-width: 360px) {
    .dc-pill button { width: 40px; }
    .dc .dc-start { width: calc(100% - 206px); min-width: 0; }
    .dc-tabs a { padding: 6px 9px; }
}

/* DataCat security check (hosted on datacat.run) */
.dc-verify { width: min(460px, calc(100% - 24px)); }
.dc-verify-text { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: #d7d7dd; }
.dc-verify-state { margin: 12px 0 0; color: var(--dc-muted); font-size: 14px; }
.dc-verify-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dc-verify-actions .dc-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; }

/* "Ara": search every source, independent of the For You preferences. */
.dc-find-form { margin: 0 0 12px; }
.dc-find-form input { flex: 1; min-width: 0; width: 100%; padding: 8px 0; border: 0; background: transparent; color: var(--dc-text); font: inherit; font-size: 16px; outline: none; }
.dc-find-form input::placeholder { color: var(--dc-muted); font-size: 14px; }
.dc-find-filters { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 2px 0; }
.dc-find-filters label { display: inline-flex; align-items: center; gap: 6px; color: var(--dc-muted); font-size: 13px; }
.dc-find-filters select { padding: 6px 8px; border: 1px solid var(--dc-line); border-radius: 9px; background: var(--dc-panel-2); color: var(--dc-text); font: inherit; font-size: 14px; }
.dc-find-hint { margin: 8px 2px 0; color: var(--dc-muted); font-size: 11.5px; }
.dc-find-status { min-height: 1.2em; margin: 0 2px 12px; color: var(--dc-muted); font-size: 13px; }
.dc-find-status:empty { display: none; }
.dc-find-more { display: flex; justify-content: center; margin: 16px 0 8px; }
.dc-find-card { position: relative; }
.dc-find-card .dc-like-actions .dc-btn { flex: 1; white-space: nowrap; }
.dc-find-quick { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.dc .dc-find-quick button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: rgba(17, 18, 22, 0.72); backdrop-filter: blur(6px); color: #f1f1f4; cursor: pointer; }
.dc .dc-find-quick button:focus-visible { outline: 2px solid var(--dc-violet); }
.dc .dc-find-quick .dc-find-like.is-liked { color: var(--dc-pink); }
.dc .dc-find-quick .dc-find-like.is-liked .dc-icon { fill: currentColor; }
.dc-find-action { flex-direction: column; align-items: stretch; }
.dc-find-action .dc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.dc-find-inlib { display: inline-flex; align-items: center; gap: 5px; color: #86efac; font-size: 12px; font-weight: 600; }
@media (max-width: 860px) {
    .dc-find-hint { display: none; }
}
/* Four tabs on an iPhone SE: "Ara" keeps only its icon. */
@media (max-width: 400px) {
    .dc-tabs .dc-find-label { display: none; }
    .dc-find-quick { top: 6px; right: 6px; gap: 4px; }
    .dc .dc-find-quick button { width: 30px; height: 30px; }
}
