/* evidence exhibit (js/evidence.js): dark-teal frame, paper clip, ~1 degree tilt; the app chrome inside is generic and crisp */
.exhibit-wrap { text-shadow: none; }
.exhibit { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: linear-gradient(160deg, #123535, #0E2A2A 60%, #0B2222); border: 2px solid var(--cream); box-shadow: 0 12px 44px #000; overflow: hidden; color: var(--cream); }
.exhibit-label { position: absolute; left: 20px; top: 6px; font: 22px var(--font-mono); letter-spacing: 0.18em; }
.exhibit-clip { position: absolute; left: 640px; top: -22px; filter: drop-shadow(0 2px 2px #0008); z-index: 6; }
.exhibit-content { position: absolute; font-family: var(--font-ui); font-size: 22px; line-height: 1.3; }
.x-panel { position: absolute; top: 0; bottom: 0; background: #eef2f5; color: #121a22; box-shadow: 0 6px 22px #000a; overflow: hidden; }
.x-panel.second { z-index: 2; }
.x-panel.late { opacity: 0; animation: appear 0.6s ease-out forwards; }
.reduce-motion .x-panel.late { animation-duration: 0.01s; animation-delay: 0s !important; }
.still .x-panel.late { animation: none; opacity: 1; }
.x-opens { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; background: var(--amber); color: #1a1205; font: 700 15px var(--font-mono); letter-spacing: 0.1em; padding: 5px 10px; z-index: 3; }
.exhibit [data-id] { position: relative; }

/* chat */
.x-chat-head { display: flex; align-items: center; gap: 14px; background: #2d5a70; color: #f3f7f9; padding: 6px 16px; }
.x-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #7db4c9, #3f7f99); color: #fff; font: 700 21px/48px var(--font-body); text-align: center; }
.x-name { font-weight: 700; font-size: 24px; line-height: 1.15; }
.x-handle { font: 20px var(--font-mono); opacity: 0.95; line-height: 1.2; }
.x-status { font-size: 19px; opacity: 0.8; line-height: 1.2; }
.x-banner { background: #ffe6a0; color: #3a2a00; padding: 5px 16px; font-size: 21px; line-height: 1.25; border-bottom: 1px solid #d9bb5c; }
.x-msgs { padding: 9px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.x-msg { background: #fff; border: 1px solid #cfd8de; border-radius: 4px 14px 14px 14px; padding: 4px 12px 2px; max-width: 94%; }
.x-msg.muted { background: #e4e9ed; color: #55616b; }
.x-msg-text { line-height: 1.28; }
.x-time { font: 16px var(--font-mono); color: #5d6a74; text-align: right; margin-top: 1px; }
.x-link { margin-top: 6px; border-left: 5px solid #2d7fa0; background: #eaf3f7; padding: 5px 10px; }
.x-link-site { font: 700 17px var(--font-mono); color: #2d7fa0; }
.x-link-title { font-weight: 700; line-height: 1.2; }
.x-link-url { font: 18px var(--font-mono); color: #1d5f7a; word-break: break-all; line-height: 1.2; }

/* browser */
.x-browser { background: #f7f8fa; }
.x-bar { display: flex; align-items: center; gap: 12px; background: #d5dbe0; padding: 8px 12px; }
.x-dots { font-size: 13px; color: #8b959d; letter-spacing: 2px; }
.x-address { flex: 1; background: #fff; border: 1px solid #aeb8bf; border-radius: 16px; padding: 3px 14px; font: 20px var(--font-mono); color: #1b2a33; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-page { position: relative; padding: 16px 22px; }
.x-h { margin: 6px 0 12px; font: 700 28px/1.2 var(--font-body); }
.x-p { margin: 0 0 10px; }
.x-small { font-size: 18px; color: #66717a; }
.x-field { margin: 0 0 12px; }
.x-label { font-size: 20px; color: #3b4852; margin-bottom: 3px; }
.x-input { height: 44px; background: #fff; border: 2px solid #9fb0bb; border-radius: 6px; }
.x-button { display: inline-block; background: #2d7fa0; color: #fff; font-weight: 700; padding: 8px 28px; border-radius: 6px; margin-top: 4px; }
.x-button.ghost { background: #eef2f5; color: #2d4452; border: 2px solid #9fb0bb; padding: 4px 16px; font-weight: 400; font-size: 19px; }
.x-check { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.x-box { width: 34px; height: 34px; border: 2px solid #7b8a94; background: #fff; border-radius: 4px; text-align: center; font: 700 26px/30px var(--font-body); color: #1c7a43; }
.x-table { font-size: 22px; }
.x-row { display: flex; justify-content: space-between; padding: 7px 4px; border-bottom: 1px solid #c8d0d6; }
.x-table.blurred { filter: blur(2.5px); opacity: 0.75; }
.x-overlay { position: absolute; left: 70px; right: 70px; top: 22px; background: #fff; border: 2px solid #8fa0ab; border-radius: 8px; box-shadow: 0 10px 34px #0007; padding: 14px 24px 14px; }
.x-overlay .x-check { margin-bottom: 8px; }
.x-steps-title { font-weight: 700; margin-bottom: 12px; }
.x-steps ol { margin: 0 0 6px; padding-left: 30px; }
.x-steps li { padding: 3px 8px; margin-left: -8px; margin-bottom: 16px; width: fit-content; max-width: 100%; }   /* shrink-wrapped so clue loops hug the line; roomy so loops on adjacent lines never touch */
kbd { font: 700 20px var(--font-mono); background: #e8edf0; border: 1px solid #8a98a2; border-bottom-width: 3px; border-radius: 5px; padding: 0 8px; margin: 0 2px; }
.x-overlay .x-small { margin: 4px 0 8px; }

/* phone lock screen */
.x-phone { background: linear-gradient(170deg, #1b2c44, #2a2347 55%, #14202e); color: #f2f4f8; border-radius: 30px 30px 0 0; border: 3px solid #05080a; border-bottom: 0; box-shadow: 0 8px 30px #000a; padding: 0 18px; }
.x-phone-status { display: flex; justify-content: space-between; font-size: 17px; padding: 8px 6px 0; opacity: 0.85; }
.x-phone-time { text-align: center; font: 300 70px/1.05 var(--font-body); letter-spacing: 0.02em; margin: 4px 0 6px; }
.x-phone-date { text-align: center; font-size: 20px; opacity: 0.85; margin-bottom: 6px; }
.x-notifs { display: flex; flex-direction: column; gap: 9px; }
.x-notif { background: rgba(236,240,246,.94); color: #151b23; border-radius: 16px; padding: 8px 14px 9px; }
.x-notif-top { display: flex; justify-content: space-between; font: 700 16px var(--font-mono); color: #4b5866; letter-spacing: 0.06em; text-transform: uppercase; }
.x-notif-title { font-weight: 700; font-size: 23px; line-height: 1.2; }
.x-notif-text { font-size: 21px; line-height: 1.25; }
.x-notif-sub { font-size: 18px; color: #4b5866; }
.x-notif-link { font: 17px/1.2 var(--font-mono); color: #1d5f7a; overflow-wrap: anywhere; margin: 2px 0; }
.x-phone.second .x-notif-link { font-size: 14px; }
.x-notif.stack { background: rgba(236,240,246,.8); margin: 0 14px; box-shadow: 0 7px 0 -3px rgba(236,240,246,.5), 0 13px 0 -6px rgba(236,240,246,.28); text-align: center; padding: 6px 14px 6px; }
.x-notif.stack .x-notif-title { font-size: 22px; }
.x-notif-actions { display: flex; gap: 12px; margin-top: 6px; }
.x-act { flex: 1; text-align: center; font-weight: 700; font-size: 21px; padding: 5px 0; border-radius: 10px; background: #d3dae3; }
.x-act.go { background: #2d7fa0; color: #fff; }


/* email (generic mail-client message) */
.x-email { background: #fbfcfd; display: flex; flex-direction: column; font-size: 20px; }
.x-email .x-banner { flex: none; font-size: 18px; line-height: 1.2; padding: 4px 14px; }
.x-mail-head { flex: none; background: #eef2f5; border-bottom: 1px solid #cfd8de; padding: 6px 14px 5px; }
.x-mail-row { display: flex; gap: 8px; align-items: baseline; line-height: 1.22; margin-bottom: 5px; }
.x-mail-label { flex: none; width: 96px; font-size: 16px; color: #66717a; }
.x-mail-val { min-width: 0; flex: 1; padding-right: 24px; overflow-wrap: anywhere; font-size: 19px; }   /* room for the inspect tick */
.x-mail-addr { font: 17px var(--font-mono); color: #1d4a5e; }
.x-mail-val b { font-size: 18px; }
.x-mail-val b + .x-mail-addr { display: block; }
.x-mail-subjrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 5px; padding-top: 5px; border-top: 1px solid #d5dce1; }
.x-mail-subject { font-weight: 700; font-size: 21px; line-height: 1.2; }
.x-mail-date { flex: none; font: 16px var(--font-mono); color: #5d6a74; white-space: nowrap; padding-top: 2px; }
.x-mail-body { flex: 1 1 auto; padding: 10px 14px 4px; }
.x-mail-p { margin: 0 0 7px; font-size: 20px; line-height: 1.28; width: fit-content; max-width: 100%; }
.x-mail-link { margin: 2px 0 6px; font-size: 19px; padding: 6px 22px; }
.x-mail-att { flex: none; padding-right: 30px !important; display: flex; align-items: center; gap: 10px; margin: 0 14px 12px; background: #e6ebef; border: 1px solid #b9c4cc; border-radius: 8px; padding: 6px 12px; width: fit-content; max-width: calc(100% - 28px); }
.x-mail-clip { font-size: 20px; }
.x-mail-fn { font-weight: 700; font-size: 19px; overflow-wrap: anywhere; }
.x-mail-size { font: 16px var(--font-mono); color: #5d6a74; white-space: nowrap; }

/* phone beside an email: narrow, tighter type */
.x-phone.second { padding: 0 12px; }
.x-phone.second .x-phone-time { font-size: 56px; }
.x-phone.second .x-phone-date { font-size: 17px; margin-bottom: 20px; }
.x-phone.second .x-notif-title { font-size: 20px; }
.x-phone.second .x-notif-text { font-size: 18px; }
.x-phone.second .x-notif-sub { font-size: 15px; overflow-wrap: anywhere; }
.x-phone.second .x-notif-top { font-size: 14px; padding-right: 22px; }

/* feed (generic fictional social network post): neutral greys + one warm accent, no real brand colours or icons */
.x-feed { background: #f1f1ee; display: flex; flex-direction: column; font-size: 20px; line-height: 1.28; }
.x-feed-net { flex: none; background: #3b3f45; color: #f1f1ee; font: 700 17px var(--font-mono); letter-spacing: 0.22em; text-transform: uppercase; padding: 4px 14px; }
.x-feed-author { flex: none; display: flex; align-items: center; gap: 10px; padding: 7px 12px 2px; }
.x-feed .x-avatar { width: 42px; height: 42px; font-size: 18px; line-height: 42px; background: linear-gradient(135deg, #c9a46c, #8c6a3c); }
.x-feed .x-avatar.small { width: 28px; height: 28px; font-size: 12px; line-height: 28px; background: linear-gradient(135deg, #9aa3ad, #6b7580); }
.x-feed-name { font-weight: 700; font-size: 21px; line-height: 1.15; }
.x-feed-namerow { display: flex; align-items: baseline; gap: 10px; }
.x-feed-about { font-size: 15px; color: #4a6f9a; }
.x-feed-about.x-opener { cursor: pointer; }
.x-feed-about.x-opener:hover { text-decoration: underline; }
.x-feed-about.x-opener:focus-visible, body:not(.using-mouse) .x-feed-about.x-opener:focus { outline: var(--ring-w) solid var(--ring); outline-offset: 2px; text-decoration: underline; }
.x-panel.closed { visibility: hidden; pointer-events: none; }
.x-feed-sub { font-size: 16px; color: #62666c; line-height: 1.2; }
.x-feed-text { flex: none; padding: 3px 12px 6px; font-size: 20px; line-height: 1.25; }
.x-feed-flag { flex: none; padding: 0 12px 4px; font-size: 15px; color: #7a7e84; }
.x-feed-img { position: relative; flex: 1 1 0; min-height: 90px; overflow: hidden; background: #cfcdc6; }
.x-feed-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 10px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 14px, rgba(0,0,0,.04) 14px 28px), linear-gradient(160deg, #a9b0a6, #8d9688 55%, #7b8577); color: #3d443b; }
.x-feed-ph-label { font: 700 16px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.x-feed-ph-alt { font-size: 15px; max-width: 90%; opacity: .85; }
.x-feed-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.x-feed-img.has-img .x-feed-ph { visibility: hidden; }
.x-feed-tag { position: absolute; left: 0; bottom: 0; background: rgba(20,24,28,.82); color: #f1f1ee; font: 700 13px var(--font-mono); letter-spacing: 0.1em; padding: 2px 8px; pointer-events: none; }
.exhibit .x-feed-spot[data-id] { position: absolute; }
.x-feed-counts { flex: none; padding: 4px 12px; font-size: 16px; color: #4d5157; border-bottom: 1px solid #d3d3cd; }
.x-feed-actions { flex: none; display: flex; gap: 8px; padding: 5px 12px; }
.x-feed-act { flex: 1 1 0; text-align: center; background: #e3e2dc; border: 1px solid #bdbcb4; border-radius: 6px; font-weight: 700; font-size: 17px; padding: 4px 6px; color: #2c2f33; }
.x-feed-act:first-child { flex: 1.5 1 0; }
.x-feed-act.live { cursor: pointer; }
.x-feed-act.live:hover { background: #d7d5cc; }
.x-feed-act.live:focus-visible, body:not(.using-mouse) .x-feed-act.live:focus { outline: var(--ring-w) solid var(--ring); outline-offset: -4px; box-shadow: inset 0 0 0 7px rgba(14,42,42,.85); }
.x-feed-comments { flex: none; padding: 2px 12px 8px; display: flex; flex-direction: column; gap: 5px; }
.x-feed-comment { display: flex; gap: 7px; align-items: flex-start; }
.x-feed-comment.reply { margin-left: 30px; }
.x-feed-cbody { background: #e6e5df; border-radius: 12px; padding: 3px 10px; font-size: 16px; line-height: 1.22; }
.x-feed .x-opens { font-size: 13px; }

/* report form (case screen) */
.report-form { text-shadow: none; }
.report-form h2 { margin: 0 0 4px; font: 600 28px var(--font-title); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.report-intro { font-size: calc(21px * var(--ts) * var(--fit)); line-height: 1.3; margin-bottom: 8px; }
.rf-list { display: flex; flex-direction: column; gap: 6px; }
.rf { display: flex; gap: 10px; align-items: flex-start; text-align: left; width: 100%; background: rgba(3,7,8,.72); border: 2px solid rgba(237,230,211,.55); padding: 6px 10px; font-size: calc(21px * var(--ts) * var(--fit)); line-height: 1.22; color: var(--cream); }
.rf:hover { border-color: var(--amber); background: rgba(14,32,32,.88); }
.rf.on { background: rgba(63,165,154,.2); border-color: var(--solved); }
.rf-box { flex: none; width: 26px; height: 26px; margin-top: 1px; border: 2px solid currentColor; border-radius: 4px; font: 700 20px/22px var(--font-body); text-align: center; color: var(--glow); }
.rf.on .rf-box { background: var(--solved); border-color: var(--solved); color: #06201c; }
.rf-text { flex: 1; }
.rf-key { flex: none; font: 15px var(--font-mono); opacity: .6; margin-top: 4px; }
.btn-outline.report-btn { min-width: 0; width: 100%; }
.compose-row { display: flex; gap: 24px; }
.choice.compose { width: 640px; }

/* report list in the case notes */
.report-list { list-style: none; margin: 0; padding: 0; font-size: calc(20px * var(--ts) * var(--fit)); line-height: 1.25; }
.report-list li { display: flex; gap: 8px; margin-bottom: 3px; }
.report-list .mk { flex: none; width: 24px; font: 700 20px var(--font-mono); text-align: center; }
.report-list .mk.ok { color: #7fe0d4; } .report-list .mk.bad { color: #ff8b80; } .report-list .mk.dot { color: var(--cream); opacity: .7; }
.report-list .tag { color: var(--amber); font: 16px var(--font-mono); white-space: nowrap; }
.report-list .why { display: block; font-size: 0.9em; opacity: .85; }
.report-sub { margin: 6px 0 3px; font: 600 20px var(--font-title); letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }

/* clue circles (case notes) */
.clue-svg { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 5; }
.clue-path { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(200,53,43,.8)); stroke-dasharray: 1; stroke-dashoffset: 1; animation: circleDraw 0.4s ease-out forwards; }
@keyframes circleDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.clue-badge { opacity: 0; animation: appear 0.2s ease-out forwards; }
.clue-badge circle { fill: var(--red); stroke: #f4dcd8; stroke-width: 2; }
.clue-badge text { fill: #fff; font: 700 19px var(--font-mono); }
.still .clue-path { animation: none; stroke-dashoffset: 0; }
.still .clue-badge { animation: none; opacity: 1; }
.reduce-motion .clue-path { animation-duration: 0.01s !important; animation-delay: 0s !important; }   /* circles appear instantly */
.reduce-motion .clue-badge { animation-duration: 0.01s; animation-delay: 0s !important; }
/* ?debug: show every targetable element (amber dashed); clue targets in red */
.debug-targets [data-id] { outline: 2px dashed var(--amber); outline-offset: 1px; }
.debug-targets .debug-clue { outline: 3px solid var(--red); }

/* case notes, evidence layout */
.notes-panel { background: rgba(11,20,20,.93); border: 1px solid rgba(237,230,211,.25); text-shadow: none; }
.clue-caps { background: rgba(11,20,20,.93); padding: 8px 18px 4px; text-shadow: none; }
.clue-caps ol { font-size: calc(24px * var(--ts) * var(--fit)); margin-bottom: 0; padding-left: 34px; }
.notes-right .note, .notes-right .athome { font-size: calc(26px * var(--ts) * var(--fit)); line-height: 1.35; }

/* click-to-inspect (js/inspect.js): case screen only */
.inspect-hint { display: flex; align-items: center; gap: 12px; margin-top: 4px; font: calc(22px * var(--ts) * var(--fit))/1.3 var(--font-mono); color: var(--amber); }
.inspect-hint .mag-icon { flex: none; }
.inspect-pt.inspect-live { cursor: zoom-in; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='13' cy='13' r='8' fill='%23fff8' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M19.5 19.5L28 28' stroke='%23fff' stroke-width='8' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='13' r='8' fill='none' stroke='%23111' stroke-width='3'/%3E%3Cpath d='M19.5 19.5L28 28' stroke='%23111' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 13 13, zoom-in; transition: box-shadow .12s, background-color .12s; }
.inspect-pt.inspect-live:hover { box-shadow: inset 0 0 0 3px rgba(232,165,75,.9), 0 0 12px rgba(232,165,75,.5); }
.inspect-pt.inspect-live:focus-visible, body:not(.using-mouse) .inspect-pt.inspect-live:focus { outline: var(--ring-w) solid var(--ring); outline-offset: -4px; box-shadow: inset 0 0 0 7px rgba(14,42,42,.85); }   /* the same ring, inset (flush elements sit under the panel's overflow clip) with a dark inner band so it reads on the light page too */
.inspect-pt.inspected::after { content: '✓'; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #3FA59A; border: 2px solid #eef2f5; box-sizing: content-box; color: #fff; font: 700 12px/16px var(--font-mono); text-align: center; pointer-events: none; }
/* paper evidence tag */
.inspect-note { position: absolute; z-index: 30; box-sizing: border-box; background: #e8dfc6; color: #1b1a14; padding: 18px 22px 16px 46px; box-shadow: 0 10px 26px #000c; transform: rotate(var(--tilt, -1deg)); text-shadow: none; border-left: 6px solid var(--amber); }
.inspect-note-hole { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #3a362c; box-shadow: inset 0 2px 3px #000a; }
.inspect-note-label { font: 700 18px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #8a5a12; margin-bottom: 6px; }
.inspect-note-text { font: 400 calc(24px * var(--ts)) / 1.3 var(--font-body); word-break: break-word; }

/* news (a newspaper clipping or a security alert; fictional paper) */
.x-news { background: #ece5d0; color: #1c1a15; font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.25; display: flex; flex-direction: column; }
.x-news-head { flex: none; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 18px 6px; border-bottom: 3px double #1c1a15; }
.x-news-mast { font-weight: 700; font-size: 25px; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; }
.x-news-date { font: 15px var(--font-mono); color: #5a5648; text-align: right; }
.x-news-main { padding: 8px 18px 8px; }
.x-news-kicker { width: fit-content; font: 700 15px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #a3281f; margin-bottom: 4px; }
.x-news-h { margin: 0 0 5px; font-weight: 700; font-size: 24px; line-height: 1.1; }
.x-news-by { width: fit-content; font-style: italic; font-size: 16px; color: #5a5648; margin-bottom: 8px; }
.x-news-p { margin: 0 0 6px; width: fit-content; max-width: 100%; }
.x-news-box { margin-top: 10px; border: 2px solid #1c1a15; background: #e1d9bf; padding: 6px 12px 6px; }
.x-news-box-title { font: 700 15px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #5a3d12; }
.x-news-box ul { margin: 2px 0 0; padding-left: 26px; font-size: 18px; line-height: 1.25; }
.x-news-box li { margin-bottom: 2px; width: fit-content; max-width: 100%; }
.x-news.alert { background: #f4f5f7; font-family: var(--font-body); }
.x-news.alert .x-news-head { background: #8c2a22; color: #fff; border-bottom: 0; }
.x-news.alert .x-news-date { color: #f2d6d2; }
.x-news.second { font-size: 18px; }
.x-news.second .x-news-main { padding: 8px 14px; }
.x-news.second .x-news-h { font-size: 24px; }
.x-news.second .x-news-mast { font-size: 21px; }
.x-news.second .x-news-box ul { font-size: 16px; }

/* repo (a generic code-hosting page: neutral greys, no real brand look) */
.x-repo { background: #f4f5f7; font-size: 18px; line-height: 1.25; display: flex; flex-direction: column; }
.x-repo-bar { flex: none; display: flex; align-items: center; gap: 10px; background: #2b3138; color: #eef0f2; padding: 8px 14px; }
.x-repo-name { font: 700 20px var(--font-mono); overflow-wrap: anywhere; }
.x-repo-site { flex: none; font: 700 14px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #aab4be; }
.x-repo-site::after { content: ' /'; }
.x-repo-title.mono { font: 600 17px var(--font-mono); }
.x-news-tag { position: absolute; left: 0; bottom: 0; background: rgba(28,26,21,.82); color: #ece5d0; font: 700 12px var(--font-mono); letter-spacing: 0.1em; padding: 2px 8px; }
.x-repo-body { padding: 2px 12px 8px; }
.x-repo-label { font: 700 14px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #5b6670; margin: 8px 0 3px; }
.x-repo-row { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #d3d8dd; border-radius: 6px; padding: 4px 10px; margin-bottom: 4px; }
.x-repo .x-avatar.small { width: 30px; height: 30px; font-size: 13px; line-height: 30px; background: linear-gradient(135deg, #8fa3b3, #5e7284); }
.x-repo-mid { flex: 1; min-width: 0; }
.x-repo-title { font-weight: 700; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.x-repo-meta { font-size: 15px; color: #5b6670; }
.x-repo-commit.reverted .x-repo-title { text-decoration: line-through; text-decoration-color: #9a3b32; color: #6a5a58; }
.x-pill { flex: none; font: 700 13px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 9px; border-radius: 10px; background: #dde1e5; color: #34404a; }
.x-pill.open, .x-pill.passed { background: #cdebe3; color: #12574a; }
.x-pill.merged { background: #f1dfb4; color: #6a4a0c; }
.x-pill.failed, .x-pill.reverted { background: #f3d2cd; color: #8a2a21; }
.x-repo-sha { flex: none; font: 14px var(--font-mono); color: #6a757f; }
.x-repo-run { flex: none; width: 56px; font: 700 16px var(--font-mono); }
.x-repo-btext { flex: 1; min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.x-repo-btime { flex: none; font: 14px var(--font-mono); color: #5b6670; }
.x-repo-build.failed { border-left: 5px solid #b3453b; }
.x-repo-gap { justify-content: center; border-style: dashed; background: #e9ecef; color: #4d5862; font-style: italic; font-size: 16px; }
.x-repo.second { font-size: 16px; }
.x-repo.second .x-repo-title { font-size: 16px; }
.x-repo.second .x-repo-title.mono { font-size: 15px; }
.x-repo.second .x-repo-meta { font-size: 14px; }
.x-repo.second .x-repo-btext { font-size: 14px; }

/* response form (case screen, "Morning After" cases): the same rows as the report form */
.resp-form .rf-step { font: 600 20px var(--font-mono); letter-spacing: 0.1em; color: var(--glow); opacity: .8; margin-bottom: 2px; }
.rf-count { margin: 0 0 8px; font: 700 calc(22px * var(--ts) * var(--fit)) var(--font-mono); color: var(--amber); }
.rf-count.done { color: #7fe0d4; }
.rf-count.warn { color: #ff8b80; }
.rf-count.nudge { animation: nudge 0.35s; }
@keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.reduce-motion .rf-count.nudge, .still .rf-count.nudge { animation: none; text-decoration: underline; }
.choice.locked { opacity: .55; }
.choice.locked:hover:not(:disabled) { border-color: rgba(237,230,211,.85); background: rgba(3,7,8,.72); box-shadow: none; }

/* notes of a response case: tabs, then one page at a time */
.notes-tabs { display: flex; gap: 10px; }
.notes-tab { background: rgba(3,7,8,.78); border: 2px solid rgba(237,230,211,.6); padding: 4px 22px; font: 600 24px var(--font-title); letter-spacing: 0.1em; text-transform: uppercase; }
.notes-tab:hover { border-color: var(--amber); }
.notes-tab[aria-selected="true"] { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.notes-page { background: rgba(11,20,20,.93); border: 1px solid rgba(237,230,211,.25); text-shadow: none; }
.notes-page-body { padding: 12px 26px 8px; }
.notes-page .legend { font: calc(18px * var(--ts) * var(--fit)) var(--font-mono); color: var(--glow); opacity: .85; margin: 0 0 10px; }
.report-list.resp { font-size: calc(22px * var(--ts) * var(--fit)); column-count: 2; column-gap: 44px; }
.report-list.resp li { break-inside: avoid; margin-bottom: 12px; padding: 2px 6px 2px 4px; border-left: 4px solid transparent; }
.report-list.resp li.mine { border-left-color: var(--amber); background: rgba(232,165,75,.1); }
.report-list.resp .mk.weak { color: var(--amber); }
.report-list.resp .tag { font-size: calc(16px * var(--ts) * var(--fit)); }
.report-list.resp .tag.mine { color: #ffd9a0; }


/* search results page (1-003): generic, neutral */
.x-search { background: #f7f8fa; display: flex; flex-direction: column; }
.x-search-bar { flex: none; display: flex; align-items: center; gap: 12px; background: #d5dbe0; padding: 8px 12px; }
.x-search-word { font: 700 17px var(--font-mono); letter-spacing: 0.06em; color: #4b5963; text-transform: uppercase; }
.x-search-q { flex: 1; min-width: 0; background: #fff; border: 1px solid #aeb8bf; border-radius: 16px; padding: 3px 14px; font-size: 20px; line-height: 1.2; color: #1b2a33; overflow-wrap: anywhere; }   /* the query wraps, never clipped */
.x-search-list { padding: 8px 14px 0; display: flex; flex-direction: column; gap: 12px; }   /* roomy: a clue loop around one result must not touch the next */
.x-sr { padding: 7px 10px 8px; margin-left: -10px; margin-right: -4px; }
.x-sr-line { padding-right: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; line-height: 1.2; }
.x-sr-tag { flex: none; font: 700 14px var(--font-body); background: #e4e9ed; color: #3b4852; border: 1px solid #9fb0bb; border-radius: 4px; padding: 0 7px; }
.x-sr-url { font: 14px var(--font-mono); color: #1c7a43; overflow-wrap: anywhere; }
.x-sr-title { font-weight: 700; font-size: 21px; line-height: 1.2; color: #1d5f7a; margin: 2px 0 2px; }
.x-sr-snip { font-size: 18px; line-height: 1.25; color: #46525b; }

/* browser: dark page variant, padlock, thin notice at the top of the page (1-003) */
.x-browser.dark { background: #12171c; color: #e3e8ec; }
.x-browser.dark .x-h { font-size: 30px; margin-top: 14px; }
.x-browser.dark .x-p { color: #b8c3cb; }
.x-browser.dark .x-small { color: #8f9ca5; font: 17px var(--font-mono); margin-top: 8px; }
.x-browser.dark .x-button { margin-right: 8px; }
.x-browser.dark .x-button.ghost { background: transparent; color: #c9d3da; border-color: #5a6a75; }
.x-browser.dark .x-small[data-id] { width: fit-content; padding: 2px 6px; margin-left: -6px; }
.x-address { display: flex; align-items: center; gap: 8px; }
.x-lock { flex: none; color: #1c7a43; }
.x-browser.dark .x-address { font-size: 17px; }
.x-notice { margin: -16px -22px 16px; font-size: 16px; line-height: 1.15; padding: 3px 22px; }   /* two lines stay under CONFIG.exhibit.circle.thinPx = bracket mark */

/* feed variant 'thread' (2-002, fictional network "Нитка" / "Thread-like"): dark page, round avatar, thin left rail on replies */
.x-feed.thread { background: #15181c; color: #e6e8ea; }
.x-feed.thread .x-feed-net { background: #0d0f12; color: #9aa4ad; font: 700 18px var(--font-title); letter-spacing: 0.04em; text-transform: none; padding: 5px 14px; border-bottom: 1px solid #2a3037; }
.x-feed.thread .x-avatar { border-radius: 50%; background: linear-gradient(135deg, #5b6670, #343c44); }
.x-feed.thread .x-avatar.small { background: linear-gradient(135deg, #6a747e, #424a52); }
.x-feed.thread .x-feed-sub { color: #98a2ab; }
.x-feed.thread .x-feed-flag { color: #c9a46c; font-size: 16px; }
.x-feed.thread .x-feed-img { border-radius: 10px; margin: 0 12px; background: #20252b; }
.x-feed.thread .x-feed-counts { color: #b4bcc3; border-bottom: 1px solid #2a3037; }
.x-feed.thread .x-feed-cbody { background: transparent; padding: 0 4px; color: #d6dade; }
.x-feed.thread .x-feed-comment.reply { border-left: 2px solid #38414a; margin-left: 14px; padding-left: 12px; }
.x-feed.thread .x-feed-comment.reply .x-avatar { display: none; }

/* search results as the second panel / with result photos (2-002) */
.x-search-sum { flex: none; padding: 7px 14px; font-size: 18px; font-weight: 700; color: #1b2a33; border-bottom: 1px solid #d5dbe0; }
.x-search.second .x-search-q { font-size: 17px; }
.x-sr.has-thumb { display: flex; gap: 10px; align-items: center; }
.x-sr-body { min-width: 0; flex: 1 1 auto; }
.x-sr-thumb { position: relative; flex: none; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: #cfd5da; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; line-height: 1.1; color: #5a666e; padding: 3px; }
.x-sr-thumb-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-sr-thumb.has-img .x-sr-thumb-alt { visibility: hidden; }
.x-search.second .x-sr-title { font-size: 19px; }
.x-search.second .x-sr-snip { font-size: 16px; }
