/* Lookup results on search.html (js/tf-lookup.js): domain, IP, network,
   wallet, URL, hash and person. Same surfaces as the search box (tf-omni.css). */

.tfl {
    --tfl-bg: #0e0e0e;
    --tfl-bg-2: #151515;
    --tfl-bg-3: #1c1c1c;
    --tfl-line: #232323;
    --tfl-line-2: #2e2e2e;
    --tfl-text: #ededed;
    --tfl-dim: #9a9a9a;
    --tfl-dimmer: #6b6b6b;
    --tfl-red: #e5564b;
    --tfl-green: #4ade80;
    --tfl-amber: #f5c96a;
    --tfl-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    box-sizing: border-box;
    /* Width of the parent's content box (it has its own side padding), so the
       results never run past the right edge between phone and desktop. */
    width: min(980px, 100%);
    margin: 18px auto 72px;
    /* Above the page's decorative grid lines, which are absolutely placed. */
    position: relative;
    z-index: 2;
    color: var(--tfl-text);
    font-family: var(--font-sans, 'Geist', system-ui, sans-serif);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tfl[hidden] {
    display: none;
}
.tfl *,
.tfl *::before,
.tfl *::after {
    box-sizing: border-box;
}
.tfl button {
    font: inherit;
    color: inherit;
}
.tfl-ic {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

/* While a lookup shows: no title, no cards (tf-omni.css folds the title on the other pages). */
body.tfo-page.tfo-running h1.intro_title__TZuNV {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    overflow: hidden;
}
body.tfo-page h1.intro_title__TZuNV {
    max-height: 340px;
    transition:
        max-height 0.45s var(--tfl-ease, ease),
        opacity 0.3s ease,
        padding 0.45s ease;
}
body.tfl-on .tfo-cards {
    display: none;
}

/* Entrance: each block rises in, one after another. */
.tfl.is-in > * {
    animation: tfl-in 0.42s var(--tfl-ease) both;
    animation-delay: calc(var(--tfl-i, 0) * 45ms);
}
@keyframes tfl-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .tfl *,
    .tfl.is-in > * {
        animation: none !important;
        transition: none !important;
    }
}

/* ------------------------------------------------------------------ head */
.tfl-head {
    /* The canvas menu drops out of the head card over the section cards. */
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)) var(--tfl-bg);
    border: 1px solid var(--tfl-line);
    border-radius: 16px;
    padding: 20px 22px;
}
.tfl-head-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.tfl-kind-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--tfl-bg-3);
    border: 1px solid var(--tfl-line-2);
    color: var(--tfl-text);
    flex: 0 0 auto;
}
.tfl-kind-ic .tfl-ic {
    width: 20px;
    height: 20px;
}
.tfl-head-main {
    min-width: 0;
    flex: 1 1 auto;
}
.tfl-eyebrow {
    font-size: 12px;
    color: var(--tfl-dim);
    letter-spacing: 0.02em;
}
.tfl-value {
    margin: 2px 0 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--tfl-text);
    overflow-wrap: anywhere;
}
.tfl-value.is-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 20px;
    letter-spacing: 0;
}

.tfl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    padding: 0 13px;
    border-radius: 9px;
    border: 1px solid var(--tfl-line-2);
    background: var(--tfl-bg-2);
    color: var(--tfl-text);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.tfl-btn:hover {
    background: var(--tfl-bg-3);
    border-color: #3a3a3a;
    color: #fff;
}
.tfl-btn--icon {
    width: 36px;
    padding: 0;
}
.tfl-btn--icon.is-done {
    color: var(--tfl-green);
    border-color: rgba(74, 222, 128, 0.4);
}
.tfl-btn--primary,
.tfl button.tfl-btn--primary {
    background: #ededed;
    border-color: #ededed;
    color: #0a0a0a;
}
.tfl-btn--primary:hover,
.tfl button.tfl-btn--primary:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

/* flags */
.tfl-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}
.tfl-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    border: 1px solid var(--tfl-line-2);
    background: var(--tfl-bg-2);
    color: var(--tfl-dim);
}
.tfl-flag .tfl-ic {
    width: 13px;
    height: 13px;
}
.tfl-flag--high {
    color: #ff8a80;
    border-color: rgba(229, 86, 75, 0.45);
    background: rgba(229, 86, 75, 0.1);
}
.tfl-flag--medium {
    color: var(--tfl-amber);
    border-color: rgba(245, 201, 106, 0.35);
    background: rgba(245, 201, 106, 0.08);
}

/* key facts */
.tfl-head {
    container-type: inline-size;
}
/* As many columns as facts when there is room, else a split with no empty
   cell left over (6 → 3+3, 5 → 3+2 with the last one wider). */
.tfl-facts {
    display: grid;
    grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
    margin-top: 18px;
    border: 1px solid var(--tfl-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--tfl-line);
    gap: 1px;
}
.tfl-fact {
    background: #0b0b0b;
    padding: 12px 14px;
    min-width: 0;
}
.tfl-fact-label {
    font-size: 11.5px;
    color: var(--tfl-dimmer);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tfl-fact-value {
    margin-top: 3px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--tfl-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* loading */
.tfl-progress {
    margin-top: 18px;
}
.tfl-bar {
    position: relative;
    height: 3px;
    border-radius: 3px;
    background: var(--tfl-bg-3);
    overflow: hidden;
}
.tfl-bar span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 35%;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, #cf362d, transparent);
    animation: tfl-slide 1.4s ease-in-out infinite;
}
@keyframes tfl-slide {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(300%);
    }
}
.tfl-progress-text {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--tfl-dim);
}
.tfl-secs {
    font-variant-numeric: tabular-nums;
    color: var(--tfl-dimmer);
}
.tfl-hint {
    margin: 10px 0 0;
    font-size: 12.5px;
    color: var(--tfl-dimmer);
}
.tfl-skeleton {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.tfl-sk-card {
    border: 1px solid var(--tfl-line);
    border-radius: 14px;
    background: var(--tfl-bg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tfl-sk-card i {
    display: block;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, #161616, #202020, #161616);
    background-size: 200% 100%;
    animation: tfl-shimmer 1.3s linear infinite;
}
.tfl-sk-card i:nth-child(1) {
    width: 40%;
    height: 12px;
}
.tfl-sk-card i:nth-child(2) {
    width: 85%;
}
.tfl-sk-card i:nth-child(3) {
    width: 70%;
}
.tfl-sk-card i:nth-child(4) {
    width: 55%;
}
@keyframes tfl-shimmer {
    to {
        background-position: -200% 0;
    }
}

.tfl-error {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(229, 86, 75, 0.35);
    background: rgba(229, 86, 75, 0.07);
}
.tfl-error > span {
    color: var(--tfl-red);
    display: flex;
}
.tfl-error > div {
    flex: 1 1 auto;
    min-width: 0;
}
.tfl-error b {
    font-weight: 500;
}
.tfl-error p {
    margin: 2px 0 0;
    color: var(--tfl-dim);
    font-size: 13px;
}

/* -------------------------------------------------------------- sections */
.tfl-sections {
    columns: 2 380px;
    column-gap: 14px;
}
.tfl-sections > .tfl-card {
    break-inside: avoid;
    margin-bottom: 14px;
}
.tfl-sections > .tfl-card:last-child {
    margin-bottom: 0;
}
.tfl-card {
    background: var(--tfl-bg);
    border: 1px solid var(--tfl-line);
    border-radius: 14px;
    padding: 16px 18px;
    min-width: 0;
}
.tfl-card-title,
.tfl-block-title,
.tfl-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tfl-text);
}
.tfl-card-title .tfl-ic {
    color: var(--tfl-dim);
}
.tfl-count {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--tfl-dimmer);
    background: var(--tfl-bg-2);
    border: 1px solid var(--tfl-line);
    border-radius: 999px;
    padding: 0 8px;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
}
.tfl-block-title {
    margin: 6px 2px 10px;
    font-size: 14px;
}
.tfl-block-title .tfl-count {
    margin-left: 4px;
}
.tfl-card-note {
    margin: -2px 0 10px;
    font-size: 12.5px;
    color: var(--tfl-dimmer);
}

.tfl-kv {
    margin: 0;
}
.tfl-row {
    display: grid;
    grid-template-columns: minmax(100px, 32%) minmax(0, 1fr);
    gap: 14px;
    padding: 9px 0;
    border-top: 1px solid var(--tfl-line);
}
.tfl-row:first-child {
    border-top: 0;
}
.tfl-row dt {
    margin: 0;
    color: var(--tfl-dim);
    font-size: 13px;
    overflow-wrap: anywhere;
}
.tfl-row dd {
    margin: 0;
    min-width: 0;
    color: var(--tfl-text);
    font-size: 13.5px;
    overflow-wrap: anywhere;
}
.tfl-text.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tfl-note,
.tfl-chip small {
    margin-left: 5px;
    color: var(--tfl-dimmer);
    font-size: 12px;
}
.tfl-dimtext {
    color: var(--tfl-dimmer);
}
.tfl-link {
    color: #d4d4d4;
    text-decoration: underline;
    text-decoration-color: #444;
    text-underline-offset: 3px;
}
.tfl-link:hover {
    color: #fff;
    text-decoration-color: #888;
}
.tfl .tfl-pivot {
    background: none;
    border: 0;
    padding: 0;
    color: var(--tfl-text);
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: #3d3d3d;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.tfl .tfl-pivot:hover {
    text-decoration-color: var(--tfl-red);
}

.tfl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tfl-chip {
    display: inline-block;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--tfl-bg-2);
    border: 1px solid var(--tfl-line);
    font-size: 12.5px;
    color: #d6d6d6;
    line-height: 1.6;
    overflow-wrap: anywhere;
    text-align: left;
    text-decoration: none;
}
.tfl .tfl-chip.is-pivot {
    cursor: pointer;
    transition:
        border-color 0.15s,
        color 0.15s;
}
.tfl .tfl-chip.is-pivot:hover {
    border-color: #444;
    color: #fff;
}
.tfl-chips--roomy {
    gap: 7px;
}
.tfl-chips--roomy .tfl-chip {
    padding: 5px 11px;
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.tfl .tfl-more {
    background: none;
    border: 0;
    padding: 2px 4px;
    color: var(--tfl-dim);
    font-size: 12.5px;
    cursor: pointer;
}
.tfl .tfl-more:hover {
    color: #fff;
}
.tfl .tfl-more--block {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    border-radius: 8px;
    border: 1px dashed var(--tfl-line-2);
}

.tfl-facts[data-n='1'] { --n: 1; }
.tfl-facts[data-n='2'] { --n: 2; }
.tfl-facts[data-n='3'] { --n: 3; }
.tfl-facts[data-n='4'] { --n: 4; }
.tfl-facts[data-n='5'] { --n: 5; }
.tfl-facts[data-n='6'] { --n: 6; }
@container (max-width: 880px) {
    .tfl-facts[data-n='5'],
    .tfl-facts[data-n='6'] {
        --n: 3;
    }
    .tfl-facts[data-n='5'] .tfl-fact:last-child {
        grid-column: span 2;
    }
}
@container (max-width: 560px) {
    .tfl-facts[data-n] {
        --n: 2;
    }
    .tfl-facts[data-n] .tfl-fact:last-child {
        grid-column: auto;
    }
    .tfl-facts[data-n] .tfl-fact:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ------------------------------------------------------------ export bar */
/* Same card and buttons as the email/username/phone results (#introduction in
   css/tf-export.css, .tf-dl-* in css/results.css, .tf-cl-* in tf-canvas-link.css). */
.tfl-export {
    position: relative;
    z-index: 4; /* its menus open over the cards below */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 18px;
    border: 1px solid rgb(207 54 45);
    border-radius: 8px;
    background: #000;
}
.tfl-export-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-variant-numeric: tabular-nums;
}
.tfl-export-dim {
    color: rgba(255, 255, 255, 0.5);
}
.tfl-export-time {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    background: rgba(207, 54, 45, 0.1);
    margin-left: 4px;
}
.tfl-export-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.tfl-dl {
    position: relative;
    display: inline-flex;
}
.tfl .tf-dl-btn {
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    background: transparent;
    color: #e5564b;
    border: 1px solid rgb(207 54 45);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.tfl .tf-dl-btn:hover {
    background: rgba(207, 54, 45, 0.12);
}
.tfl .tf-dl-btn .chev {
    width: 12px;
    height: 12px;
    transition: transform 0.18s ease;
}
.tfl .tf-dl-btn.open .chev,
.tfl .tf-cl-caret[aria-expanded='true'] .chev {
    transform: rotate(180deg);
}
.tfl .tf-cl-group .tf-cl-caret {
    padding: 0 9px;
}
.tfl .tf-dl-anchor {
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
}
.tfl .tf-dl-menu {
    display: none;
    position: absolute;
    top: 6px;
    right: 0;
    z-index: 1000;
    min-width: 240px;
    background: #09090b;
    border: 1px solid #292929;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.tfl .tf-dl-menu.open {
    display: block;
}
.tfl .tf-dl-title {
    font-size: 10.5px;
    color: #71717a;
    padding: 8px 10px;
    border-bottom: 1px solid #1f1f22;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
}
.tfl .tf-dl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    color: #fafafa;
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}
.tfl .tf-dl-item:hover {
    background: #18181b;
}
.tfl .tf-dl-item .ic {
    width: 16px;
    text-align: center;
    color: #e5564b;
}
.tfl .tf-dl-item .lbl {
    flex: 1 1 auto;
}
@media (max-width: 520px) {
    .tfl-export-actions {
        justify-content: flex-start;
        width: 100%;
    }
    .tfl-export-actions > .tfl-dl,
    .tfl-export-actions > .tf-cl-group {
        flex: 1 1 100%;
    }
    .tfl-export-actions .tfl-dl > .tf-dl-btn,
    .tfl-export-actions .tf-cl-group > a.tf-dl-btn {
        flex: 1 1 auto;
    }
}

/* ---------------------------------------------------------------- dialog */
.tfl-modal-back {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px);
    animation: tfl-fade 0.14s ease-out;
}
@keyframes tfl-fade {
    from {
        opacity: 0;
    }
}
.tfl-modal {
    width: min(440px, 100%);
    padding: 22px;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    background: #0e0e0e;
    color: #ededed;
    font-family: var(--font-sans, 'Geist', system-ui, sans-serif);
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    animation: tfl-pop 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes tfl-pop {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
    }
}
.tfl-modal-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.tfl-modal p {
    margin: 0 0 8px;
    color: #a3a3a3;
}
.tfl-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}
.tfl-mbtn,
body button.tfl-mbtn {
    position: static;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #2e2e2e;
    border-radius: 9px;
    background: #151515;
    color: #ededed;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.tfl-mbtn:hover {
    border-color: #444;
}
.tfl-mbtn.is-primary,
body button.tfl-mbtn.is-primary {
    background: #ededed;
    border-color: #ededed;
    color: #0a0a0a;
}
.tfl-mbtn.is-primary:hover {
    background: #fff;
}
@media (max-width: 480px) {
    .tfl-modal-actions {
        flex-direction: column-reverse;
    }
    .tfl-mbtn {
        justify-content: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .tfl-modal,
    .tfl-modal-back {
        animation: none;
    }
}

/* ------------------------------------------------------ person: findings */
.tfl-findings[hidden] {
    display: none;
}
.tfl-runs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 12px;
}
.tfl .tfl-run {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--tfl-line-2);
    border-radius: 999px;
    background: var(--tfl-bg-2);
    color: var(--tfl-dim);
    font-size: 12.5px;
    cursor: pointer;
}
.tfl .tfl-run.is-on {
    border-color: #ededed;
    color: #fff;
}
.tfl-run-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tfl-run-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--tfl-green);
}
.tfl-run--running .tfl-run-dot {
    background: var(--tfl-amber);
    animation: tfl-pulse 1.2s ease-in-out infinite;
}
.tfl-run--error .tfl-run-dot {
    background: var(--tfl-red);
}
.tfl-run-n {
    padding: 0 6px;
    border-radius: 999px;
    background: var(--tfl-bg-3);
    color: var(--tfl-text);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}
.tfl-run-err {
    margin: 0 0 8px;
    color: #f0a39c;
    font-size: 12.5px;
}
.tfl-run-err--lock {
    color: var(--tfl-amber);
}
.tfl-run-err a {
    color: inherit;
    text-decoration: underline;
}
.tfl-found {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8px 24px;
}
.tfl-found-h {
    margin: 0 0 6px;
    color: var(--tfl-dim);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tfl-via {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 3px;
    max-width: 45%;
    flex: 0 1 auto;
}
.tfl-via-chip {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 6px;
    border-radius: 5px;
    background: var(--tfl-bg-3);
    color: var(--tfl-dim);
    font-size: 11px;
    line-height: 18px;
}
.tfl-ent-ic--warn {
    color: var(--tfl-amber);
}

/* -------------------------------------------- person: photos, faces, web */
.tfl-webbox {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tfl-webbox:empty {
    display: none;
}
.tfl-faces {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.tfl .tfl-face-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--tfl-line-2);
    border-radius: 12px;
    background: var(--tfl-bg-2);
    color: var(--tfl-dim);
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.15s;
}
.tfl .tfl-face-group:hover {
    border-color: #555;
}
.tfl .tfl-face-group.is-on {
    border-color: #ededed;
    color: #fff;
}
.tfl-face-strip {
    display: inline-flex;
}
.tfl-face-strip img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
    border: 2px solid var(--tfl-bg-2);
    background: var(--tfl-bg-3);
}
.tfl-face-strip img + img {
    margin-left: -12px;
}
.tfl-face-group.is-multi .tfl-face-n {
    color: var(--tfl-text);
}
.tfl-imgs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.tfl-img {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--tfl-line);
    border-radius: 10px;
    background: var(--tfl-bg-2);
    transition:
        opacity 0.2s,
        border-color 0.15s;
}
.tfl-img[hidden] {
    display: none;
}
.tfl-img:hover {
    border-color: #555;
}
.tfl-img.is-dim {
    opacity: 0.18;
}
.tfl-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tfl-img-faces {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
}
.tfl-img-host {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 7px 5px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ddd;
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tfl-web {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tfl-web li {
    padding: 10px 0;
    border-top: 1px solid var(--tfl-line);
    min-width: 0;
}
.tfl-web li:first-child {
    border-top: 0;
    padding-top: 2px;
}
.tfl-web li[hidden] {
    display: none;
}
.tfl-web li.is-weak {
    opacity: 0.7;
}
.tfl-web-host {
    display: flex;
    gap: 8px;
    color: var(--tfl-dimmer);
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
}
.tfl-web-host span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}
.tfl-web-eng {
    flex: 0 0 auto;
}
.tfl-web-title {
    display: block;
    color: #f2f2f2;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.tfl-web-title:hover {
    text-decoration: underline;
}
.tfl-web-snip {
    margin: 2px 0 0;
    color: var(--tfl-dim);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
@media (max-width: 640px) {
    .tfl-imgs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .tfl-via {
        max-width: 40%;
    }
    .tfl-found {
        grid-template-columns: 1fr;
    }
}

/* one card alone uses the full width */
.tfl-sections.is-single {
    columns: 1;
}

/* dated history: one line per entry */
.tfl-lines {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tfl-lines li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 0;
    border-top: 1px dashed #1f1f1f;
    font-size: 13px;
}
.tfl-lines li:first-child {
    border-top: 0;
    padding-top: 0;
}
.tfl-line-main {
    min-width: 0;
    overflow-wrap: anywhere;
}
.tfl-line-note {
    flex: 0 0 auto;
    color: var(--tfl-dimmer);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .tfl-lines li {
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 0;
    }
}

/* ----------------------------------------------------------- connections */
/* masonry: small groups pack under each other instead of leaving holes */
.tfl-conn-grid {
    columns: 3 270px;
    column-gap: 14px;
}
.tfl-group {
    break-inside: avoid;
    margin-bottom: 14px;
    padding: 14px 14px 10px;
}
.tfl-group-title {
    padding: 0 4px;
}
.tfl-ents {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tfl-ents li[hidden] {
    display: none;
}
.tfl-ent {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 6px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--tfl-text);
    text-align: left;
    text-decoration: none;
    min-width: 0;
}
.tfl .tfl-ent.is-pivot {
    cursor: pointer;
    transition: background 0.12s;
}
.tfl .tfl-ent.is-pivot:hover,
.tfl .tfl-ent.is-pivot:focus-visible {
    background: var(--tfl-bg-2);
    outline: none;
}
.tfl-ent-ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--tfl-bg-2);
    border: 1px solid var(--tfl-line);
    color: var(--tfl-dim);
    flex: 0 0 auto;
    overflow: hidden;
}
.tfl-ent-ic .tfl-ic {
    width: 14px;
    height: 14px;
}
.tfl-ent-ic.has-img {
    padding: 0;
}
.tfl-ent-ic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tfl-ent-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}
.tfl-ent-label {
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tfl-ent-label.is-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12.5px;
}
.tfl-ent-sub {
    font-size: 12px;
    color: var(--tfl-dimmer);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tfl-ent-go {
    color: var(--tfl-dimmer);
    display: flex;
    opacity: 0;
    transition: opacity 0.12s;
}
.tfl-ent-go .tfl-ic {
    width: 14px;
    height: 14px;
}
.tfl-ent.is-pivot:hover .tfl-ent-go,
.tfl-ent.is-pivot:focus-visible .tfl-ent-go {
    opacity: 1;
}
@media (hover: none) {
    .tfl-ent-go {
        opacity: 0.6;
    }
}
.tfl-conf {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: var(--tfl-dimmer);
}
.tfl-conf--ok {
    background: var(--tfl-green);
}
.tfl-conf--guess {
    background: transparent;
    border: 1.5px dashed var(--tfl-amber);
}

.tfl-verdict {
    flex: 0 0 auto;
    font-size: 11.5px;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid var(--tfl-line-2);
    color: var(--tfl-dim);
    white-space: nowrap;
}
.tfl-verdict--ok {
    color: var(--tfl-green);
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.08);
}
.tfl-verdict--no {
    color: var(--tfl-dimmer);
    text-decoration: line-through;
    text-decoration-color: #555;
}
.tfl-verdict--wait {
    animation: tfl-pulse 1.2s ease-in-out infinite;
}
@keyframes tfl-pulse {
    50% {
        opacity: 0.45;
    }
}

/* ------------------------------------------------------- tools & sources */
.tfl-tool-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tfl-tool {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 9px;
    border: 1px solid var(--tfl-line);
    background: var(--tfl-bg);
    color: #d6d6d6;
    font-size: 13px;
    text-decoration: none;
    transition:
        border-color 0.15s,
        color 0.15s;
}
.tfl-tool .tfl-ic {
    width: 13px;
    height: 13px;
    color: var(--tfl-dimmer);
}
.tfl-tool:hover {
    border-color: #3d3d3d;
    color: #fff;
}
.tfl-sources {
    padding: 4px 2px 0;
    font-size: 12.5px;
    color: var(--tfl-dimmer);
}
.tfl-sources p {
    margin: 0 0 6px;
}
.tfl-src-list {
    color: var(--tfl-dim);
}
.tfl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 34px 18px;
    text-align: center;
}
.tfl-empty > span {
    color: var(--tfl-dimmer);
}
.tfl-empty p {
    margin: 0;
    color: var(--tfl-dim);
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 900px) {
    .tfl-head-top {
        flex-wrap: wrap;
    }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 640px) {
    .tfl {
        width: calc(100% - 32px);
        margin-top: 12px;
        gap: 12px;
    }
    .tfl-head {
        padding: 16px;
        border-radius: 14px;
    }
    .tfl-kind-ic {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .tfl-value {
        font-size: 20px;
    }
    .tfl-value.is-mono {
        font-size: 15px;
    }
    .tfl-fact {
        padding: 10px 12px;
    }
    .tfl-sections {
        columns: 1;
    }
    .tfl-sections > .tfl-card {
        margin-bottom: 12px;
    }
    .tfl-skeleton {
        grid-template-columns: 1fr;
    }
    .tfl-card {
        padding: 14px;
    }
    .tfl-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        padding: 9px 0;
    }
    .tfl-row dt {
        font-size: 12px;
    }
    .tfl-conn-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .tfl-error {
        flex-wrap: wrap;
    }
}

/* Person view: add your own email / username to search. */
.tfl-own-wrap {
    margin: 0 0 12px;
}
.tfl-own-row {
    display: flex;
    gap: 8px;
}
.tfl .tfl-own-input {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--tfl-line-2);
    background: var(--tfl-bg-2);
    color: var(--tfl-text);
    font: inherit;
    font-weight: 400;
    font-size: 16px; /* no zoom on iOS */
    outline: none;
    transition: border-color 0.15s;
}
@media (min-width: 700px) {
    .tfl .tfl-own-input {
        font-size: 13.5px;
    }
}
.tfl .tfl-own-input::placeholder {
    color: var(--tfl-dimmer);
    font-weight: 400;
}
.tfl .tfl-own-wrap input.tfl-own-input {
    font-weight: 400;
    letter-spacing: normal;
}
.tfl .tfl-own-input:focus {
    border-color: #555;
}
.tfl .tfl-own-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 9px;
    border: 1px solid var(--tfl-line-2);
    background: var(--tfl-bg-3);
    color: var(--tfl-text);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    flex: none;
}
.tfl .tfl-own-btn:hover {
    border-color: #555;
}
.tfl .tfl-own-btn svg {
    width: 14px;
    height: 14px;
}
.tfl-own-err {
    margin: 6px 2px 0;
    font-size: 12px;
    color: var(--tfl-red);
}
.tfl-own {
    align-self: flex-start;
    margin-top: 2px;
    padding: 1px 6px;
    border-radius: 5px;
    background: var(--tfl-bg-3);
    color: var(--tfl-dim);
    font-size: 11px;
    vertical-align: 1px;
}
.tfl .tfl-chip.is-own {
    border-color: #4a4a4a;
    color: #fff;
}

.tfl .tf-dl-item .state {
    margin-left: auto;
    display: inline-flex;
}
.tfl .tf-dl-item:disabled {
    opacity: 0.6;
    cursor: progress;
}
.tfl-spin {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #e5564b;
    animation: tfl-spin 0.7s linear infinite;
}
@keyframes tfl-spin {
    to {
        transform: rotate(360deg);
    }
}
