/* Field Book records. The original data components retain their behavior; their surfaces use paper and ink. */
:root {
  --bg: var(--paper); --bg-2: #EEEADF; --surface: var(--card); --surface-2: #ECE8DC;
  --line: var(--rule-2); --line-2: var(--rule); --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--muted);
  --gold: var(--tbt); --gold-soft: #F0E6CA; --gold-glow: transparent;
  --seam: #833B78; --seam-soft: #EEE3ED; --live: var(--gain); --live-glow: transparent;
  --method: #245C77; --alert: var(--loss); --atc: #2553A0; --tr: #654598; --clash: #93492F;
  --body: var(--sans);
}
.fb-records [hidden] { display: none !important; }
.fb-records main { padding: 0; }
.fb-records h1, .fb-records h2, .fb-records h3 { text-wrap: pretty; }
.fb-records .fb-nav a[aria-current="page"] { border-bottom-color: var(--verm); }
.fb-records .btn, .fb-records .seg, .fb-records .seg button, .fb-records select,
.fb-records .search, .fb-records .fchip, .fb-records .follow { border-radius: 0; box-shadow: none; }
.fb-records .btn, .fb-records .btn.sm, .fb-records .follow { min-height: 44px; }
.fb-records .btn { white-space: normal; }
.fb-records .btn:hover, .fb-records .follow:hover { background: var(--bg-2); border-color: var(--ink); }
.fb-records .seg button[aria-pressed="true"] { color: white; background: var(--cobalt); border-color: var(--cobalt); }
.fb-records .seg { padding: 0; background: transparent; border-color: var(--rule); }
.fb-records .seg button { min-height: 44px; padding: 10px 12px; }
.fb-records .arena { background: transparent; color: var(--muted); border: 0; padding-left: 0; }
.fb-records .g { border-radius: 0; background: transparent; color: var(--muted); box-shadow: none; }
.fb-records .seal { border-radius: 0; background: transparent; border-color: var(--rule); white-space: normal; }
.fb-records .pips i, .fb-records .pips i.on { box-shadow: none; }
.fb-records .qual, .fb-records .swchip { border-radius: 0; white-space: normal; line-height: 1.4; }
.fb-records .status { font-size: 12px; }
.fb-records .dot, .fb-records .vk-tbt, .fb-records .vk-seam, .fb-records .receipt i { box-shadow: none; }
.fb-records .panel, .fb-records .tile, .fb-records details.fold, .fb-records .tbl-wrap,
.fb-records .chapter, .fb-records .moment, .fb-records .dim, .fb-records .receipts,
.fb-records .share-card, .fb-records .share-url, .fb-records .etrack { border-radius: 0; box-shadow: none; }
.fb-records .panel, .fb-records .tile, .fb-records .chapter, .fb-records .receipts,
.fb-records .share-card, .fb-records .moment { background: transparent; }
.fb-records .kicker { color: var(--loss); font-family: var(--mono); }
.fb-records .fb-record-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; text-decoration: underline; font-size: 14px; font-weight: 600; }
.fb-records .fb-record-link:hover { color: var(--cobalt); }
.fb-records .fb-btn { cursor: pointer; }
.fb-records .fb-illustration { display: block; width: 100%; height: 100%; min-width: 0; aspect-ratio: auto; background: transparent; }
.fb-records .fb-illustration img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 0; }
.fb-records .fb-record-character, .fb-records .fb-human { display: block; max-width: 100%; height: 100%; }
.fb-records .fb-foot { margin-top: 0; }
.fb-records .fb-foot p { max-width: none; }
.fb-records .fb-foot .disc { border: 0; padding: 0; }

/* The index: searchable records alongside one editorial poster. */
.fb-directory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 22%); align-items: start; }
.fb-index-main { min-width: 0; padding: 32px 32px 70px var(--gut); }
.fb-index-head { display: grid; gap: 16px; padding-bottom: 24px; }
.fb-index-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fb-index-title h1 { font-size: clamp(62px, 7.5vw, 120px); line-height: .95; }
.fb-index-title > p { display: flex; align-items: center; gap: 12px; border-left: 1px solid var(--rule); padding-left: 24px; flex: 0 0 auto; }
.fb-index-title strong { font: 800 64px/1 var(--display); }
.fb-index-title span { font-size: 13px; line-height: 1.45; }
.fb-index-lede { font: 400 clamp(19px, 2vw, 27px)/1.35 var(--serif); }
.fb-index-poster { position: sticky; top: 0; height: min(980px, 100vh); min-height: 650px; background: var(--cobalt); color: white; overflow: hidden; }
.fb-index-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.fb-index-poster > p { position: relative; margin: 48px 24px 0 !important; font: 500 13px/1.65 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.fb-index-poster > a { position: absolute; bottom: 22px; left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; background: var(--paper); color: var(--ink); font-size: 14px; text-decoration: underline; }
.fb-directory .dir-tools { display: flex; flex-direction: column; gap: 14px; background: transparent; border: 0; border-radius: 0; padding: 0; position: static; margin: 0; }
.fb-directory .dir-row { order: -1; display: flex; flex-wrap: wrap; gap: 10px; }
.fb-directory .search { flex: 1 1 300px; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--muted); background: transparent; }
.fb-directory .search input { min-width: 0; font-size: 15px; }
.fb-directory .search input::placeholder { color: var(--muted); opacity: 1; }
.fb-directory .sel { font-size: 12px; color: var(--muted); gap: 6px; }
.fb-directory .sel select { min-height: 44px; max-width: 220px; background: var(--paper); border-color: var(--rule); font-size: 13px; padding: 8px; }
.fb-directory .atabs { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; border: 0; border-bottom: 1px solid var(--rule); }
.fb-directory .atab { border: 0; border-radius: 0; background: transparent; padding: 10px 0; gap: 7px; font-size: 14px; color: var(--ink-2); }
.fb-directory .atab > .g, .fb-directory .atab > .ic { display: none; }
.fb-directory .atab[aria-pressed="true"] { background: transparent; border-bottom: 3px solid var(--verm); color: var(--ink); box-shadow: none; }
.fb-directory .cnt { color: var(--muted); background: transparent; font-family: var(--mono); font-size: 12px; padding: 0 3px; }
.fb-directory .atab[aria-pressed="true"] .cnt { color: var(--ink); }
.fb-directory .dir-filters { padding: 16px; border: 1px solid var(--rule); background: var(--bg-2); }
.fb-directory .fchips { gap: 8px; }
.fb-directory .fchip { min-height: 40px; background: var(--paper); border-color: var(--rule); color: var(--ink); }
.fb-directory .fchip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fb-directory .fchip[aria-pressed="true"] .cnt { color: var(--paper); }
.fb-directory .fchip:disabled { opacity: .6; }
.fb-directory #dir-results { padding-top: 16px; }
.fb-directory #dir-count { color: var(--ink-2); font-size: 13px; line-height: 1.5; padding: 0; margin-bottom: 6px; }
.fb-directory .ctx { margin: 12px 0 20px; border-radius: 0; border: 0; border-left: 3px solid var(--rule); padding: 0 0 0 12px; background: transparent; font-size: 13px; color: var(--muted); }
.fb-directory .ctx > .ic { display: none; }
.fb-directory .ctx.same { border-color: var(--cobalt); background: transparent; color: var(--ink-2); }
.fb-directory .dir-reset { min-height: 44px; }
.fb-directory .lrows { border: 0; border-radius: 0; overflow: visible; gap: 0; }
.fb-index-key { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 12px 32px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.fb-directory .fb-index-row { display: grid; grid-template-columns: 24px 106px minmax(0, 1fr) minmax(130px, 180px) auto 30px; gap: 10px 14px; padding: 18px 0; align-items: center; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; background: transparent; }
.fb-directory .fb-index-row:hover { background: #EEEADF; }
.fb-row-art { height: 110px; min-width: 0; }
.fb-directory .lr-pos { align-self: start; padding-top: 10px; font: 700 21px/1 var(--display); color: var(--muted); }
.fb-directory .lr-pos .posn { color: var(--ink); }
.fb-directory .lr-id { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; grid-column: auto; grid-row: auto; }
.fb-directory .lr-name { display: block; font: 700 26px/1.12 var(--display); color: var(--ink); white-space: normal; overflow: visible; text-overflow: clip; }
.fb-directory .lr-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; grid-column: auto; }
.fb-directory .lr-meta .model { font-size: 13px; line-height: 1.4; }
.fb-row-caption, .fb-row-evidence { color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.fb-row-evidence { font-family: var(--mono); overflow-wrap: anywhere; }
.fb-directory .lr-ret { text-align: left; border-left: 1px solid var(--rule); padding-left: 16px; }
.fb-directory .lr-ret .ret, .fb-directory .lr-cmp b { font: 700 34px/1 var(--display); }
.fb-directory .lr-cmp { display: grid; gap: 5px; border: 0; padding: 0; margin: 0; background: transparent; color: var(--ink); }
.fb-directory .lr-cmp > span { order: 2; font-size: 11px; }
.fb-directory .lr-cmp > small { display: block; order: 3; font-size: 11px; line-height: 1.35; color: var(--muted); }
.fb-directory .fb-lifetime { display: grid; gap: 7px; }
.fb-directory .fb-lifetime > span { font: 400 11.5px/1.4 var(--mono); color: var(--muted); }
.fb-directory .lr-ret:has(.lr-cmp:not([hidden])) .fb-lifetime { display: none; }
.fb-directory .lr-more { width: 30px; height: 44px; border-radius: 0; background: transparent; border: 0; }
.fb-directory .lr-detail { grid-column: 2 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 13px; }
.fb-directory .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fb-directory .card { border-radius: 0; padding: 20px; border: 1px solid var(--rule); box-shadow: none; background: transparent; gap: 12px; }
.fb-directory .card:hover { transform: none; border-color: var(--ink); background: var(--card); box-shadow: none; }
.fb-directory .fb-catalog-art { height: 190px; margin: -20px -20px 2px; padding: 16px; border-bottom: 1px solid var(--rule); background: #ECE9DC; }
.fb-directory .c-name { font: 700 28px/1.08 var(--display); }
.fb-directory .c-spark { display: none; }
.fb-directory .c-nums { flex-wrap: wrap; gap: 12px; }
.fb-directory .c-cmp { border-radius: 0; background: var(--bg-2); color: var(--ink); }
.fb-directory .c-ret { font-size: 30px; }
.fb-directory .c-pos { background: var(--ink); color: white; border-radius: 0; box-shadow: none; }
.fb-directory .c-more { display: grid; max-height: none; opacity: 1; font-size: 12px; }

/* The profile: its character and its record, followed by the unabridged evidence. */
.fb-profile { max-width: 1540px; margin: 0 auto; padding: 0 var(--gut) 64px; }
.fb-profile .crumbs { padding: 16px 0; font: 500 12px/1.4 var(--mono); }
.fb-profile .crumbs a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; }
.fb-profile-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin: 0 calc(-1 * var(--gut)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fb-profile-copy { padding: 28px var(--gut) 28px; display: grid; align-content: start; gap: 16px; min-width: 0; }
.fb-profile-copy h1 { font-size: clamp(48px, 6.8vw, 100px); line-height: .94; overflow-wrap: anywhere; }
.fb-profile-model { font: 400 21px/1.3 var(--serif); }
.fb-profile-model b { font-weight: 400; }
.fb-profile-copy .swchip { width: fit-content; }
.fb-profile-result { display: grid; gap: 8px; }
.fb-profile .p-ret { font: 800 clamp(56px, 6.2vw, 88px)/1 var(--display); }
.fb-profile .p-perf-l { font: 500 12px/1.5 var(--mono); color: var(--ink-2); }
.fb-profile .ret-ctx { font-size: 13px; line-height: 1.5; color: var(--muted); }
.fb-profile-comparison { border-block: 1px solid var(--rule); padding: 14px 0; display: grid; gap: 14px; }
.fb-profile .stand { border: 0; border-radius: 0; background: transparent; padding: 0; }
.fb-profile .st-l { font: 500 11px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; }
.fb-profile .st-n { font: 700 26px/1.15 var(--display); color: var(--ink); margin-top: 3px; }
.fb-profile .st-d { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.fb-cmp-period { font: 400 11.5px/1.5 var(--mono); color: var(--muted); padding-top: 4px; }
.fb-profile .clocks { font-size: 12px; gap: 0; border: 0; border-radius: 0; background: transparent; }
.fb-profile .clocks > div { background: transparent; padding: 0 14px 0 0; }
.fb-profile .clocks > div + div { border-left: 1px solid var(--rule); padding-left: 18px; }
.fb-profile-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.fb-profile .p-evid { display: grid; gap: 8px; justify-items: start; }
.fb-profile .p-evid p { font-size: 12px; line-height: 1.45; }
.fb-profile-art { background: var(--cobalt) url('/assets/fb/profile-field.webp') center bottom / cover; display: grid; place-items: end center; padding: 36px 7% 10%; min-height: 540px; }
.fb-profile-art .fb-illustration { height: 600px; max-height: 100%; max-width: 560px; }
.fb-profile-art .fb-illustration img { object-position: center bottom; }
.fb-profile-art .fb-record-character, .fb-profile-art .fb-human { width: 84%; max-height: 500px; }
.fb-profile-context { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.fb-profile-context > div { display: grid; gap: 8px; align-content: start; }
.fb-profile-context .p-setup { font-size: 14px; line-height: 1.65; }
.fb-profile-context .fb-small { font-size: 12px; }
.fb-profile-context .fb-record-link { min-height: 36px; }
.fb-account-facts { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.fb-account-facts .p-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.fb-account-facts .p-mini dd { font: 700 24px/1.2 var(--display); }
.fb-profile .chart-card { margin-top: 32px; padding: 24px 0; border: 0; border-block: 1px solid var(--rule); border-radius: 0; background: transparent; }
.fb-profile .chart-head h2 { font: 700 42px/1 var(--display); }
.fb-profile .chart text { font-family: var(--sans); fill: var(--muted); }
.fb-profile .source-history { stroke: var(--a) !important; opacity: .9 !important; }
.fb-profile .source-area { fill: var(--a) !important; }
.fb-profile .rail-t { fill: var(--ink-2) !important; }
.fb-profile .rail-dot { fill: var(--ink-2); }
.fb-profile .tbt-zone { fill: #E9D8AB; opacity: .5; }
.fb-profile .tbt-path, .fb-profile .tbt-pt, .fb-profile .seam-line, .fb-profile .gold-dot { filter: none; }
.fb-profile .flag-bg { fill: var(--seam-soft); stroke: var(--seam); }
.fb-profile .flag-t { fill: var(--seam) !important; }
.fb-profile .chart .tip { background: var(--card); color: var(--ink); border-radius: 0; box-shadow: 2px 3px 0 var(--rule); }
.fb-profile .tiles { gap: 24px; margin-top: 28px; }
.fb-profile .tile { padding: 20px 0; border: 0; border-block: 1px solid var(--rule); }
.fb-profile .tile .big { color: var(--ink); font: 700 25px/1.2 var(--display); }
.fb-profile .p-sec { margin-top: 40px; }
.fb-profile .p-sec > header h2, .fb-profile .rc-head h2 { font: 700 38px/1.05 var(--display); }
.fb-profile .p-sec > header p { line-height: 1.65; }
.fb-profile .chapter.cur { background: var(--seam-soft); border-color: var(--seam); }
.fb-profile .chapter b { font-size: 24px; }
.fb-profile .moment { background: var(--seam-soft); color: var(--seam); border-color: var(--seam); }
.fb-profile .etrack { height: 50px; }
.fb-profile .eseam { box-shadow: none; }
.fb-profile .eseg.cur { background: var(--seam-soft); }
.fb-profile .share-card { background: #ECE9DC; }
.fb-profile .share-card .fb-illustration { width: 100px; height: 110px; flex: none; }
.fb-profile .share-card .fb-record-character { width: 90px; height: 100px; }
.fb-profile .share-url { background: var(--card); color: var(--ink); }
.fb-profile .how, .fb-profile .how-trade, .fb-profile .ht-card, .fb-profile .change-study { border-radius: 0; }
.fb-profile .finding-p { border-radius: 0; background: #EFE8D8; border-color: var(--rule); }
.fb-profile :is(.how-stats, .how-recon, .how-none, .how-more, .glance dl, details.trade, .tside, .ladder span, .qhelp) { border-radius: 0; }
.fb-profile .receipts { padding: 24px; background: #EFE8D8; border-color: var(--rule); }
.fb-profile .dim { background: var(--paper); }
.fb-profile .receipt { border-color: var(--rule); border-radius: 0; }
.fb-profile .term { cursor: help; }
.fb-records .tfilters button { min-height: 44px; }
.fb-profile :is(h2, section, details)[id] { scroll-margin-top: 18px; }

@media (max-width: 1200px) {
  .fb-directory { grid-template-columns: minmax(0, 1fr) 200px; }
  .fb-index-title > p { display: none; }
  .fb-directory .fb-index-row { grid-template-columns: 22px 86px minmax(0, 1fr) 135px 28px; gap: 10px; }
  .fb-directory .fb-index-row > .fb-record-link { grid-column: 3; padding: 0; min-height: 32px; }
  .fb-directory .lr-more { grid-column: 5; grid-row: 1; }
  .fb-row-art { height: 105px; }
  .fb-profile-copy { gap: 13px; }
  .fb-profile-copy h1 { font-size: clamp(48px, 6vw, 76px); }
}
@media (max-width: 960px) {
  .fb-directory { display: block; }
  .fb-index-poster { display: none; }
  .fb-index-main { padding-right: var(--gut); }
  .fb-index-title > p { display: flex; }
  .fb-profile-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .fb-profile-copy { padding: 24px; }
  .fb-profile-art { min-height: 0; padding: 24px 5% 15%; }
  .fb-profile-art .fb-illustration { height: 430px; }
}
@media (max-width: 760px) {
  .fb-profile-hero { display: block; position: relative; }
  .fb-profile-copy { padding: 20px var(--gut) 24px; display: block; }
  .fb-profile-copy > * + * { margin-top: 14px; }
  .fb-profile-copy h1 { padding-right: 34%; font-size: 48px; min-height: 95px; display: flex; align-items: center; }
  .fb-profile-copy .p-tags { padding-right: 32%; }
  .fb-profile-model { padding-right: 32%; font-size: 17px; min-height: 44px; }
  .fb-profile-art { position: absolute; top: 20px; right: var(--gut); width: 29%; height: 200px; padding: 10px 3% 20px; min-height: 0; }
  .fb-profile .clocks { gap: 12px; }
  .fb-profile .clocks > div + div { border: 0; padding-left: 0; }
  .fb-profile-art .fb-illustration, .fb-profile-art .fb-record-character { height: 100%; }
  .fb-profile .p-ret { font-size: 68px; }
  .fb-profile-context { grid-template-columns: 1fr; gap: 18px; }
  .fb-account-facts .p-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-profile .tiles { grid-template-columns: 1fr; gap: 4px; }
  .fb-profile .chart-head h2 { font-size: 36px; }
  .fb-profile .chart-card .seg { width: 100%; }
  .fb-profile .chart-card .seg button { flex: 1; white-space: normal; }
  .fb-profile .receipts { padding: 18px 14px; }
  .fb-profile .share-wrap { grid-template-columns: 1fr; }
  .fb-profile .p-sec > header h2, .fb-profile .rc-head h2 { font-size: 32px; }
  .fb-profile .vocab { gap: 10px 14px; }
}
@media (max-width: 640px) {
  .fb-index-main { padding-top: 24px; }
  .fb-index-head { gap: 14px; padding-bottom: 20px; }
  .fb-index-title h1 { font-size: 58px; }
  .fb-index-title > p { display: none; }
  .fb-index-lede { font-size: 19px; }
  .fb-directory .dir-row { gap: 10px 8px; }
  .fb-directory .search { flex-basis: 100%; }
  .fb-directory .sel { flex: 1; min-width: 0; }
  .fb-directory .sel select { width: 100%; max-width: 100%; }
  .fb-directory .dir-fbtn { order: 0; padding: 8px 12px; }
  .fb-directory .dir-row .seg { display: inline-flex; margin-left: auto; }
  .fb-directory .atabs { gap: 3px 16px; }
  .fb-directory .atab { font-size: 13px; min-height: 44px; }
  .fb-directory .atab .cnt { font-size: 11px; }
  .fb-directory .dir-filters { padding: 12px; }
  .fb-directory .fchip { white-space: normal; font-size: 12px; }
  .fb-index-key { padding-left: 0; font-size: 10px; }
  .fb-directory .fb-index-row { grid-template-columns: 72px minmax(0, 1fr) 28px; gap: 6px 12px; padding: 18px 0; }
  .fb-directory .lr-pos { grid-column: 1; grid-row: 1; padding: 0; z-index: 1; font-size: 19px; }
  .fb-row-art { grid-column: 1; grid-row: 1 / 4; height: 115px; padding-top: 22px; }
  .fb-directory .lr-id { grid-column: 2 / 4; grid-row: 1; }
  .fb-directory .lr-name { font-size: 25px; }
  .fb-directory .lr-ret { grid-column: 2; grid-row: 2; border-left: 0; padding: 4px 0; }
  .fb-directory .lr-ret .ret, .fb-directory .lr-cmp b { font-size: 31px; }
  .fb-directory .fb-lifetime { gap: 4px; }
  .fb-directory .fb-index-row > .fb-record-link { grid-column: 2; grid-row: 3; min-height: 44px; }
  .fb-directory .lr-more { grid-column: 3; grid-row: 3; }
  .fb-directory .lr-detail { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .fb-directory .cards { grid-template-columns: 1fr; }
  .fb-directory .fb-catalog-art { height: 210px; }
  .fb-profile .timeline li { grid-template-columns: 76px 24px minmax(0, 1fr); gap: 10px; }
  .fb-profile .timeline .t { font-family: var(--sans); font-size: 12px; }
  .fb-profile .timeline .evi { width: 24px; height: 28px; border-radius: 0; }
  .fb-profile .tbl-wrap { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-records *, .fb-records *::before, .fb-records *::after { scroll-behavior: auto !important; transition: none !important; }
}
