/* ✦ per-window skins: id card, fax, newspaper, terminal, pager, arcade, IM ✦ */

/* ───────── title-bar skins ───────── */
.skin-id .bar, .skin-holo .bar {
  background: linear-gradient(90deg, #ffd6f1, #d6f2ff, #e6ffd0, #ece0ff, #ffd6f1);
  background-size: 200% 100%; animation: barflow 6s linear infinite;
}
@keyframes barflow { to { background-position: 200% 0; } }
.skin-fax .bar { background: linear-gradient(180deg, #eef5ff 0%, #bdd3f2 48%, #9fbbe6 52%, #d2e2f8 100%); }
.skin-news .bar { background: linear-gradient(180deg, #fffdf6 0%, #ebe3cd 48%, #d9cfb4 52%, #f1ebda 100%); }
.skin-term .bar { background: linear-gradient(180deg, #4a5072 0%, #20243a 48%, #12141f 52%, #2a2f48 100%); color: var(--lime); border-bottom-color: #000; }
.skin-pager .bar { background: linear-gradient(180deg, #e3fbff 0%, #8fdcf7 48%, #56c2ea 52%, #b3ecff 100%); }
.skin-arcade .bar { background: linear-gradient(180deg, #ffb3e6 0%, #c04dff 48%, #8524dd 52%, #cb6bff 100%); color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); }
.skin-im .bar { background: linear-gradient(180deg, #fffbd6 0%, #ffdc5a 48%, #f5c400 52%, #ffe98a 100%); }

/* ───────── shared bits ───────── */
.caret::after { content: "▋"; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sparkle.burst { animation: burst 1.2s cubic-bezier(0.2, 0.8, 0.3, 1) forwards; }
@keyframes burst {
  to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.4) rotate(260deg); }
}
@keyframes buzz {
  20% { transform: translateX(-4px) rotate(-1deg); } 40% { transform: translateX(4px) rotate(1deg); }
  60% { transform: translateX(-2px); } 80% { transform: translateX(2px); }
}

/* ───────── status widget: mood ring + mini player ───────── */
.widget-body > *, .player { min-width: 0; }
.moodrow { display: flex; align-items: center; gap: 12px; }
.orb {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: conic-gradient(from 0deg, #ff8ad8, #ffd36e, #c6ff3d, #6ee7ff, #8a7bff, #ff8ad8);
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.25), inset 0 4px 6px rgba(255, 255, 255, 0.7), 0 6px 14px -6px #8a7bff;
  animation: hue 6s linear infinite;
}
.orb::after { content: ""; position: absolute; left: 20%; top: 12%; width: 40%; height: 28%; border-radius: 50%; background: rgba(255, 255, 255, 0.8); filter: blur(1px); }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.player {
  padding: 8px 10px; border-radius: 10px; background: #1f1a4d; color: var(--lime);
  font-family: var(--term); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}
.spectrum { display: flex; align-items: flex-end; gap: 2px; height: 26px; }
.spectrum i { flex: 1; height: 30%; background: linear-gradient(0deg, #c6ff3d, #ffd36e 70%, #ff5c8a); animation: eq 0.6s ease-in-out infinite alternate; }
.np-scroll { margin: 4px 0; overflow: hidden; white-space: nowrap; font-size: 18px; }
.np-scroll span { display: inline-block; padding-left: 100%; animation: ticker 12s linear infinite; text-shadow: 0 0 8px rgba(198, 255, 61, 0.5); }
@keyframes ticker { to { transform: translateX(-100%); } }
.np-time { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.np-prog { flex: 1; height: 4px; border-radius: 9px; background: rgba(198, 255, 61, 0.25); }
.np-prog i { display: block; width: 0; height: 100%; border-radius: 9px; background: var(--lime); transition: width 1s linear; }

/* ───────── about: holographic ID ───────── */
.idcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; gap: 14px; margin-bottom: 16px; padding: 14px; overflow: hidden; border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #eef1ff 50%, #fdf0ff 100%);
  box-shadow: 0 0 0 1px rgba(70, 50, 170, 0.2), 0 16px 28px -14px rgba(60, 40, 160, 0.55);
  transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.2s ease-out;
}
.id-holo {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.3; mix-blend-mode: overlay;
  background: repeating-linear-gradient(115deg, #ff8ad8 0%, #ffd36e 6%, #c6ff3d 12%, #6ee7ff 18%, #8a7bff 24%, #ff8ad8 30%);
  background-size: 300% 300%; background-position: var(--mx) var(--my);
  animation: holo 8s linear infinite; transition: opacity 0.3s;
}
.idcard.hover .id-holo { opacity: 0.6; animation: none; }
.id-photo {
  position: relative; flex: none; display: grid; place-items: center; overflow: hidden;
  width: 86px; height: 108px; border-radius: 10px;
  font-family: var(--display); font-weight: 800; font-size: 52px; color: #fff;
  background: linear-gradient(160deg, #b9a4ff, #3d6bff);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7), 0 6px 12px -6px #3d6bff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}
.id-photo img { width: 100%; height: 100%; object-fit: cover; }
.id-star { position: absolute; right: 6px; bottom: 4px; font-size: 14px; animation: twinkle 2.4s ease-in-out infinite; }
.id-info { min-width: 0; }
.id-info h2 { margin: 2px 0; font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; }
.id-info p { margin: 0; font-size: 14px; color: var(--ink-2); }
.win-body .id-info p { margin: 0; }
.id-meta { font-family: var(--term); font-size: 16px !important; }
.barcode {
  width: 150px; max-width: 100%; height: 22px; margin-top: 8px;
  background: repeating-linear-gradient(90deg, #1d1747 0 2px, transparent 2px 4px, #1d1747 4px 5px, transparent 5px 8px, #1d1747 8px 11px, transparent 11px 12px);
}
.typed p { position: relative; }
.typed .ghost { visibility: hidden; }
.typed .live { position: absolute; inset: 0; }
.statbars { display: grid; gap: 7px; margin: 6px 0 16px; }
.stat { display: grid; grid-template-columns: 110px 1fr 32px; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 9.5px; text-transform: uppercase; }
.stat b { font-family: var(--term); font-size: 19px; text-align: right; }
.sbar { height: 12px; padding: 2px; border-radius: 99px; background: #fff; box-shadow: inset 0 1px 3px rgba(40, 30, 120, 0.3); }
.sbar i { display: block; width: var(--v); height: 100%; border-radius: 99px; background: linear-gradient(90deg, #3d6bff, #b07cff, #ff8ad8); animation: fill 1.2s cubic-bezier(0.2, 1, 0.3, 1) both; animation-delay: var(--d); }
@keyframes fill { from { width: 0; } }

/* ───────── linkedin: fax machine ───────── */
.fax {
  margin-bottom: 4px; padding: 12px 12px 0; border-radius: 14px;
  background: linear-gradient(180deg, #f1f3fa, #cdd3e6);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(70, 50, 170, 0.25), 0 12px 22px -14px rgba(40, 30, 120, 0.6);
}
.fax-top {
  display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 6px;
  font-family: var(--term); font-size: 16px; color: #c6ff3d; background: #1f1a4d; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
.fax-status { flex: 1; }
.led { width: 9px; height: 9px; border-radius: 50%; background: #ffb000; box-shadow: 0 0 8px #ffb000; animation: blink 0.5s steps(1) infinite; }
.led.done { background: #4cff6a; box-shadow: 0 0 8px #4cff6a; animation: none; }
.fax-slot { height: 10px; margin: 10px 4px 0; border-radius: 6px 6px 0 0; background: #1d1747; box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.6); }
.paper-wrap { margin: 0 14px; overflow: hidden; }
.paper {
  position: relative; padding: 12px 28px 14px;
  font-family: var(--term); font-size: 17px; line-height: 24px; color: #26304a;
  background: repeating-linear-gradient(180deg, #ffffff 0 24px, #e3f4e0 24px 48px);
  animation: feed 2.2s steps(22) both;
}
.paper::before, .paper::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14px;
  background: radial-gradient(circle, #cdd3e6 3px, transparent 3.5px) 0 6px / 14px 24px;
}
.paper::before { left: 4px; } .paper::after { right: 4px; }
@keyframes feed { from { transform: translateY(-100%); } }
.paper-head { display: flex; flex-direction: column; margin-bottom: 4px; border-bottom: 2px dashed #26304a; }
.paper-head b { font-size: 26px; letter-spacing: 0.12em; }
.paper-lines { margin: 0; padding: 0; list-style: none; }
.paper-lines li { display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
.paper-lines span { color: #6b7090; }
.paper-skills { margin-top: 4px; }
.paper-foot { margin-top: 6px; text-align: center; color: #6b7090; }

/* ───────── blog: newspaper ───────── */
.news {
  margin-bottom: 4px; padding: 14px 16px; border-radius: 6px; color: #222;
  font-family: Georgia, "Times New Roman", serif;
  background: #fbf8f0 radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 / 4px 4px;
  box-shadow: 0 0 0 1px #d6cdb4, 0 14px 24px -14px rgba(80, 60, 20, 0.5);
  transform: rotate(-0.6deg);
}
.news-mast { margin-bottom: 8px; padding-bottom: 6px; text-align: center; border-bottom: 3px double #222; }
.news-mast h2 { margin: 4px 0 2px; font-family: Georgia, serif; font-size: 2.1rem; font-style: italic; letter-spacing: -0.03em; line-height: 1; }
.news-ed {
  display: flex; justify-content: space-between; gap: 8px; padding: 2px 0;
  font-family: var(--pixel); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6450;
}
.news-mast > .news-ed:first-child { border-bottom: 1px solid #222; }
.news-mast > .news-ed:last-child { justify-content: center; }
.news-lead { position: relative; display: block; padding: 10px 64px 12px 0; border-bottom: 1px solid #cfc6ae; color: #222; text-decoration: none; }
.news-lead h3 { margin: 6px 0 4px; font-size: 1.4rem; line-height: 1.15; }
.news-lead:hover h3, .news-list a:hover { text-decoration: underline wavy #e04fae; text-underline-offset: 3px; }
.news-tag { padding: 2px 6px; font-family: var(--pixel); font-size: 9px; color: #fbf8f0; background: #222; }
.news time { font-size: 13px; font-style: italic; color: #6b6450; }
.burst {
  position: absolute; right: 0; top: 4px; display: grid; place-items: center; width: 60px; height: 60px;
  font-family: var(--display); font-weight: 800; font-size: 13px; font-style: normal; color: #d4004c; background: #ffe94a;
  clip-path: polygon(50% 0, 61% 18%, 80% 8%, 79% 29%, 100% 31%, 87% 48%, 100% 65%, 79% 68%, 80% 90%, 61% 81%, 50% 100%, 39% 81%, 20% 90%, 21% 68%, 0 65%, 13% 48%, 0 31%, 21% 29%, 20% 8%, 39% 18%);
  animation: wiggle 1.2s ease-in-out infinite;
}
@keyframes wiggle { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(8deg) scale(1.12); } }
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dotted #cfc6ae; font-size: 15px; }
.news-list li:last-child { border-bottom: 0; }
.news-list a { color: #222; text-decoration: none; }
.news-list time { flex: none; }

.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #e0002f; vertical-align: 1px; animation: blink 1.2s steps(1) infinite; }

/* ───────── github: terminal ───────── */
.term {
  position: relative; height: 290px; margin-bottom: 4px; padding: 14px; overflow: auto; border-radius: 12px;
  font-family: var(--term); font-size: 18px; line-height: 1.3; color: #d6dcff; background: #0d0f1c;
  box-shadow: inset 0 0 0 1px #2c3150, inset 0 0 40px rgba(110, 231, 255, 0.08), 0 14px 24px -14px rgba(0, 0, 0, 0.6);
  scrollbar-width: thin; scrollbar-color: #3a3f5c transparent;
}
.term { background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); }
.tl { margin-bottom: 4px; overflow-wrap: anywhere; }
.tl.dim { color: #6b7099; }
.term a { color: #6ee7ff; text-decoration: none; }
.term a:hover { text-decoration: underline; }
.ps { color: var(--lime); } .pd { color: #8a7bff; } .st { color: #ffd36e; }
.lg { float: right; color: #ff8ad8; }
.ds { padding-left: 2.4em; font-size: 16px; color: #8d93b8; }
.langbar { display: flex; height: 10px; margin-top: 8px; overflow: hidden; border-radius: 99px; box-shadow: 0 0 0 1px #2c3150; }
.langbar i { display: block; height: 100%; animation: growbar 0.9s ease-out both; }
@keyframes growbar { from { flex-grow: 0; } }
.langkeys { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; font-size: 15px; color: #8d93b8; }
.langkeys span::before { content: "●"; margin-right: 4px; color: var(--c); }

/* ───────── x: pager ───────── */
.pager {
  position: relative; margin-bottom: 4px; padding: 14px 16px 16px; border-radius: 24px 24px 34px 34px;
  background: linear-gradient(160deg, #a5ebff, #3d9fd6 45%, #2a6fb0);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -6px 12px rgba(0, 0, 0, 0.25), 0 18px 30px -16px #1d4f8a;
}
.pager::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 6px; height: 38%; pointer-events: none;
  border-radius: 20px 20px 45% 45%; background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
}
.pager.go { animation: buzz 0.35s linear; }
.pager-top { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-family: var(--pixel); font-size: 9px; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.pager-sig { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.pager-sig i { width: 3px; background: #fff; }
.pager-sig i:nth-child(1) { height: 25%; } .pager-sig i:nth-child(2) { height: 50%; } .pager-sig i:nth-child(3) { height: 75%; } .pager-sig i:nth-child(4) { height: 100%; animation: blink 1.4s steps(1) infinite; }
.lcd {
  position: relative; min-height: 118px; padding: 10px 12px; border-radius: 10px;
  font-family: var(--term); font-size: 21px; line-height: 1.15; color: #1f2d12;
  background: linear-gradient(180deg, #c2e092, #a1c46c);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.35), 0 0 0 4px #1a2b4a;
}
.lcd::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}
.lcd-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 16px; border-bottom: 1px dashed rgba(31, 45, 18, 0.5); }
.lcd-msg { text-transform: uppercase; }
.lcd-msg.go { animation: lcdin 0.6s steps(8) both; }
@keyframes lcdin { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.pager-btns { position: relative; display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.pager-btns button {
  width: 42px; height: 26px; border: 0; border-radius: 999px; cursor: pointer; font-size: 12px; color: #1a2b4a;
  background: linear-gradient(180deg, #ffffff, #cfe4f5);
  box-shadow: inset 0 -3px 4px rgba(0, 0, 0, 0.15), 0 3px 0 #1a4f80;
  transition: transform 0.08s, box-shadow 0.08s;
}
.pager-btns button:active { transform: translateY(3px); box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.15), 0 0 0 #1a4f80; }
.pager-btns .pager-main { width: 58px; color: #e04fae; }

/* ───────── hack the box: arcade cabinet ───────── */
.arcade {
  position: relative; margin-bottom: 4px; padding: 18px 16px 14px; overflow: hidden; border-radius: 14px;
  text-align: center; color: #fff; font-family: var(--pixel);
  background: radial-gradient(ellipse at 50% 0%, #2a0f5c 0%, #0a0420 70%);
  box-shadow: inset 0 0 0 2px #b23cff, 0 0 26px -6px #b23cff;
}
.arcade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px);
}
.arc-title { font-size: 24px; letter-spacing: 0.04em; color: #ffd36e; text-shadow: 0 0 12px #ff8a00, 3px 3px 0 #e04fae; }
.arc-sub { margin: 8px 0 10px; font-size: 10px; color: #6ee7ff; animation: blink 1.2s steps(1) infinite; }
.scores { width: 100%; border-collapse: collapse; font-family: var(--term); font-size: 21px; }
.scores td { padding: 1px 6px; text-align: left; }
.scores td:last-child { text-align: right; color: var(--lime); text-shadow: 0 0 8px rgba(198, 255, 61, 0.6); }
.scores tr { animation: slidein 0.4s steps(4) both; animation-delay: var(--d); }
.scores tr:nth-child(1) td:first-child { color: #ffd36e; }
.scores tr:nth-child(2) td:first-child { color: #dfe3f0; }
.scores tr:nth-child(3) td:first-child { color: #ff9a5a; }
@keyframes slidein { from { opacity: 0; transform: translateX(-30px); } }
.coin { margin: 12px 0; font-size: 11px; color: #ff8ad8; animation: blink 0.9s steps(1) infinite; }
.ctf { position: relative; z-index: 1; padding-top: 12px; text-align: left; border-top: 1px dashed rgba(255, 255, 255, 0.25); }
.ctf.go { animation: buzz 0.35s linear; }
.ctf .label { display: block; margin-bottom: 6px; color: #a49ce0; }
.ctf-row { display: flex; gap: 8px; }
.ctf input {
  flex: 1; min-width: 0; padding: 4px 10px; border: 1px solid #6ee7ff; border-radius: 8px;
  font-family: var(--term); font-size: 19px; color: var(--lime); background: #000;
}
.ctf input:focus { outline: none; box-shadow: 0 0 0 2px #6ee7ff, 0 0 14px #6ee7ff; }
.ctf-msg { min-height: 1.4em; margin: 8px 0 0; font-family: var(--term); font-size: 18px; }
.ctf-msg.ok { color: var(--lime); text-shadow: 0 0 8px rgba(198, 255, 61, 0.6); }
.ctf-msg.no { color: #ff5c8a; }

/* ───────── contact: instant messenger ───────── */
.im-away { margin-bottom: 10px; padding: 8px 12px; border-radius: 10px; background: #fffbe0; box-shadow: 0 0 0 1px #f0d36a; }
.im-away p { margin: 2px 0 0 !important; font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive; font-size: 14px; color: #b0006a; }
.im-log {
  height: 130px; padding: 8px 10px; overflow: auto; border-radius: 10px;
  font: 14px/1.45 Arial, Helvetica, sans-serif; background: #fff; box-shadow: inset 0 1px 3px rgba(40, 30, 120, 0.3);
}
.im-log p { margin: 0 0 4px !important; }
.im-log .them { color: #2f3fe0; }
.im-log .me { color: #e0002f; }
.im-sys { text-align: center; font-size: 12px; color: var(--muted); }
.im-typing { font-style: italic; color: var(--muted); }
.im-typing span { animation: blink 1s steps(1) infinite; }
.im-typing span:nth-child(2) { animation-delay: 0.2s; } .im-typing span:nth-child(3) { animation-delay: 0.4s; }
.im-form { margin-top: 8px; }
.im-form textarea {
  width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; resize: none;
  font: 14px Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; box-shadow: inset 0 1px 3px rgba(40, 30, 120, 0.3);
}
.im-form textarea:focus { outline: none; box-shadow: inset 0 1px 3px rgba(40, 30, 120, 0.3), 0 0 0 2px var(--blue); }
.im-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.im-fmt { display: flex; gap: 4px; }
.im-fmt > * { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; font: 12px Georgia, serif; background: #fff; box-shadow: var(--ring); }

/* ───────── status widget: "latest drop" link ───────── */
.np-time a { color: inherit; white-space: nowrap; text-decoration: underline dotted; text-underline-offset: 3px; }
.np-time a:hover { color: #fff; }
.np-prog i { width: 100%; animation: npprog 14s linear infinite; }
@keyframes npprog { from { width: 0; } }

/* ───────── cve_scan.exe: antivirus 2000 ───────── */
.skin-av .bar { background: linear-gradient(180deg, #ffe2b8 0%, #ffab5a 48%, #f5862a 52%, #ffc283 100%); }
.av {
  overflow: hidden; border-radius: 12px; background: #f4f2fb;
  box-shadow: 0 0 0 1px rgba(70, 50, 170, 0.25), 0 14px 24px -14px rgba(60, 40, 160, 0.5);
}
.av-head {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #fff;
  background: linear-gradient(135deg, #e0452f, #b0124f 55%, #5b1a8f);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.av-head b { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; }
.av-head small { font-family: var(--pixel); font-size: 8.5px; opacity: 0.9; }
.av-logo {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; font-size: 26px;
  background: radial-gradient(circle at 50% 30%, #fff6c8, #ffc02e); color: #b0124f; text-shadow: none;
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.2), inset 0 2px 2px #fff;
}
.av-scan { padding: 16px 14px; font-family: var(--term); font-size: 17px; }
.av-bar { height: 16px; margin: 6px 0; padding: 2px; border-radius: 4px; background: #fff; box-shadow: inset 0 1px 3px rgba(40, 30, 120, 0.35); }
.av-bar i { display: block; width: 0; height: 100%; border-radius: 2px; background: repeating-linear-gradient(90deg, #e0452f 0 10px, #ff8a5a 10px 12px); }
.av-file { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.av-summary {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-size: 14px;
  background: #fff6e6; border-bottom: 1px solid #f3d6a8;
}
.av-summary small { font-family: var(--pixel); font-size: 8.5px; color: var(--muted); }
.av-big { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: #e0452f; letter-spacing: -0.04em; }
.av-list { margin: 0; padding: 6px; list-style: none; }
.av:not(.done) .av-list { display: none; }
.av-list li { animation: slidein 0.35s steps(4) both; animation-delay: var(--d); }
.av-row {
  display: grid; grid-template-columns: 92px auto 1fr 14px; grid-template-areas: "sev id prod chev" "sev ttl ttl chev";
  align-items: center; gap: 2px 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px;
  text-align: left; cursor: pointer; background: transparent;
}
.av-row:hover, .av-row[aria-expanded="true"] { background: #fff; box-shadow: var(--ring); }
.sev {
  grid-area: sev; justify-self: start; padding: 4px 8px; border-radius: 6px;
  font-family: var(--pixel); font-size: 9px; color: #fff; white-space: nowrap;
}
.sev-critical .sev { background: #6b0f3a; }
.sev-high .sev { background: linear-gradient(180deg, #ff5a4a, #d0221a); box-shadow: 0 0 10px -2px #ff5a4a; }
.sev-medium .sev { background: linear-gradient(180deg, #ffb04a, #e77b0a); }
.sev-low .sev { background: linear-gradient(180deg, #e3d36a, #b59d12); }
.cve-id { grid-area: id; font-family: var(--term); font-size: 18px; font-weight: 700; }
.prod { grid-area: prod; font-family: var(--pixel); font-size: 9px; color: var(--muted); }
.ttl { grid-area: ttl; font-size: 14px; color: var(--ink-2); }
.chev { grid-area: chev; color: var(--muted); transition: transform 0.2s; }
.av-row[aria-expanded="true"] .chev { transform: rotate(90deg); }
.av-detail { margin: 2px 10px 10px 112px; font-size: 14px; }
.av-detail p { margin: 6px 0 10px !important; color: var(--ink-2); }

/* ───────── talks.avi: CRT TV ───────── */
.skin-tv .bar { background: linear-gradient(180deg, #ffd6d6 0%, #ff8080 48%, #e0454f 52%, #ffb3b3 100%); }
.tv {
  margin-bottom: 4px; padding: 14px 14px 12px; border-radius: 22px;
  background: linear-gradient(160deg, #eef0f8, #c3c8de 60%, #a6adc9);
  box-shadow: inset 0 2px 0 #fff, inset 0 -6px 12px rgba(0, 0, 0, 0.15), 0 18px 30px -16px rgba(40, 30, 120, 0.6);
}
.tv-body { display: flex; gap: 12px; }
.tv-screen {
  position: relative; flex: 1; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px / 20px;
  background: #0b0d16; box-shadow: 0 0 0 6px #2b2f45, 0 0 0 8px #8e94b2, inset 0 0 40px rgba(0, 0, 0, 0.9);
}
.tv-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.18), transparent 45%);
}
.tv-screen.on::after { background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08), transparent 45%); }
.tv-static {
  position: absolute; inset: -50%; opacity: 0.5;
  background: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, #555 1px 2px, #000 2px 3px),
    repeating-radial-gradient(circle at 73% 61%, #999 0 1px, #000 1px 3px);
  background-blend-mode: difference; animation: noise 0.18s steps(3) infinite;
}
@keyframes noise { 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -5%); } 100% { transform: translate(-2%, -2%); } }
.tv-screen.flick { animation: flick 0.4s steps(3); }
@keyframes flick { 0% { filter: brightness(3) saturate(0); } 60% { filter: brightness(0.4); } 100% { filter: none; } }
.tv-osd {
  position: absolute; top: 12px; left: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between;
  font-family: var(--term); font-size: 22px; color: #7dff7a; text-shadow: 0 0 6px #7dff7a, 2px 2px 0 #000;
}
.tv-rec { color: #ff5a5a; text-shadow: 0 0 6px #ff5a5a, 2px 2px 0 #000; animation: blink 1.2s steps(1) infinite; }
.tv-screen.on .tv-osd { display: none; }
.tv-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 10px;
  padding: 20px; border: 0; cursor: pointer; color: #fff; background: rgba(5, 6, 15, 0.45);
  font-family: var(--term); font-size: 20px; text-shadow: 2px 2px 0 #000;
}
.tv-play-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 26px;
  background: radial-gradient(circle at 50% 30%, #ff8a8a, #d0021b); box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.3), inset 0 3px 3px rgba(255, 255, 255, 0.6), 0 0 24px rgba(255, 60, 60, 0.6);
  transition: transform 0.2s;
}
.tv-play:hover .tv-play-icon { transform: scale(1.1); }
.tv-screen.on .tv-play, .tv-screen.on .tv-static { display: none; }
.tv-screen iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; }
.tv-side { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 46px; padding-top: 6px; }
.knob { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#6b7090, #dfe2f0, #6b7090, #dfe2f0, #6b7090); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35), inset 0 0 0 4px #b9bed6; }
.knob.small { width: 24px; height: 24px; }
.tv-grille { flex: 1; width: 30px; min-height: 40px; border-radius: 4px; background: repeating-linear-gradient(0deg, #4a4f6a 0 2px, transparent 2px 5px); }
.tv-led { width: 8px; height: 8px; border-radius: 50%; background: #4cff6a; box-shadow: 0 0 8px #4cff6a; }
.tv-brand { margin: 10px 2px 8px; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.06em; color: #2b2f45; }
.tv-brand small { margin-left: 6px; font-family: var(--pixel); font-size: 8px; font-weight: 400; color: var(--muted); }
.tv-guide { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tv-guide button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px;
  text-align: left; cursor: pointer; background: rgba(255, 255, 255, 0.65); box-shadow: var(--ring);
}
.tv-guide button[aria-pressed="true"] { background: #1f1a4d; color: #fff; }
.tv-guide-ch { padding: 3px 7px; border-radius: 6px; font-family: var(--pixel); font-size: 9px; background: #e0002f; color: #fff; }
.tv-guide-ttl { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; }
.tv-guide-ttl small { font-family: var(--pixel); font-size: 8.5px; font-weight: 400; opacity: 0.75; }
@media (max-width: 720px) {
  .tv-side { display: none; }
  .av-row { grid-template-columns: 84px 1fr 14px; grid-template-areas: "sev id chev" "sev ttl chev"; }
  .prod { display: none; }
  .av-detail { margin-left: 10px; }
}
