/* ============================================================
   Fake module screens for Spotlight (Option D v2) — dense pass
   Six simplified animated vignettes filling the full frame.
   ============================================================ */

.vg { position: absolute; inset: 0; padding: 26px 30px; font-family: var(--font); color: var(--ink); background: linear-gradient(180deg, var(--surface), var(--sidebar)); animation: vg-in .45s ease both; overflow: hidden; }
@keyframes vg-in { from { opacity: 0; transform: scale(1.012); } to { opacity: 1; transform: scale(1); } }

/* shared atoms */
.vg .sk { height: 12px; border-radius: 6px; background: var(--surface-sunk); flex: 0 0 auto; }
.vg .vg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
.vg .vg-title { font-size: 16px; font-weight: 800; letter-spacing: -.2px; display: flex; align-items: center; gap: 10px; }
.vg .vg-sub { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.vg .m-dot { width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; background: linear-gradient(120deg, var(--accent-deep), var(--accent-bright)); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.vg .pop { opacity: 0; transform: translateY(8px) scale(.96); animation: vg-pop .5s cubic-bezier(.2,.9,.3,1.2) forwards; }
@keyframes vg-pop { to { opacity: 1; transform: translateY(0) scale(1); } }
.vg .rise { opacity: 0; transform: translateY(14px); animation: vg-rise .55s ease forwards; }
@keyframes vg-rise { to { opacity: 1; transform: translateY(0); } }
.vg .vg-check { width: 22px; height: 22px; border-radius: 50%; background: oklch(0.62 0.15 152); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.vg .vg-check svg { width: 12px; height: 12px; }
.vg .vg-pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 12px; background: var(--accent-wash); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent); white-space: nowrap; }
.vg .fb { border-left: 3px solid var(--accent-bright); }

/* ---------- STORY ---------- */
.vgStory { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
.vgStory .profile { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.vgStory .who { display: flex; align-items: center; gap: 13px; }
.vgStory .who .vg-pill { margin-left: auto; }
.vgStory .av { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.vgStory .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vgStory .chip { font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 999px; padding: 7px 14px; }
.vgStory .anec { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 13px; }
.vgStory .anec b { color: var(--ink); }
.vgStory .side { display: flex; flex-direction: column; gap: 14px; }
.vgStory .ring-card { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.vgStory .ring { position: relative; width: 124px; height: 124px; }
.vgStory .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vgStory .ring .track { stroke: var(--surface-sunk); }
.vgStory .ring .fill { stroke: url(#vgs-grad); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: vgs-ring 1.6s .9s cubic-bezier(.3,0,.2,1) forwards; }
@keyframes vgs-ring { to { stroke-dashoffset: 22; } }
.vgStory .ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.vgStory .stat { padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.vgStory .stat b { color: var(--ink); }

/* ---------- ESSAYS ---------- */
.vgEssay { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; align-items: start; }
.vgEssay .doc { padding: 20px 24px; display: flex; flex-direction: column; gap: 13px; }
.vgEssay .doc-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.vgEssay .doc-top .vg-sub { margin-left: auto; }
.vgEssay .doc .sent { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.vgEssay .hl { background: linear-gradient(90deg, var(--accent-tint), var(--accent-tint)) no-repeat; background-size: 0% 100%; border-radius: 3px; animation: vge-sweep .9s 1s ease forwards; padding: 1px 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@keyframes vge-sweep { to { background-size: 100% 100%; } }
.vgEssay .doc-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.vgEssay .side { display: flex; flex-direction: column; gap: 14px; }
.vgEssay .fbc { padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.vgEssay .fbc .vg-title { font-size: 14.5px; }
.vgEssay .fb-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--accent-bright); }
.vgEssay .okc { padding: 14px 18px; display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.vgEssay .okc b { color: var(--ink); }

/* ---------- RESUME ---------- */
.vgRes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.vgRes .page { position: relative; padding: 20px 24px; display: flex; flex-direction: column; gap: 11px; overflow: hidden; }
.vgRes .sec { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin-top: 6px; }
.vgRes .scan { position: absolute; left: 0; right: 0; top: 0; height: 38px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), color-mix(in srgb, var(--accent) 12%, transparent)); border-block: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent); animation: vgr-scan 3s .6s cubic-bezier(.4,0,.3,1) forwards; }
@keyframes vgr-scan { 0% { transform: translateY(54px); } 40% { transform: translateY(150px); } 75% { transform: translateY(255px); } 100% { transform: translateY(345px); } }
.vgRes .side { display: flex; flex-direction: column; gap: 13px; }
.vgRes .note { padding: 14px 16px; display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.vgRes .note b { color: var(--ink); }
.vgRes .score { padding: 15px 16px; display: flex; flex-direction: column; gap: 9px; }
.vgRes .score .row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 800; letter-spacing: -.1px; }
.vgRes .bar { height: 9px; border-radius: 6px; background: var(--surface-sunk); overflow: hidden; }
.vgRes .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)); animation: vgres-fill 1.6s 2.6s cubic-bezier(.3,0,.2,1) forwards; }
@keyframes vgres-fill { to { width: 82%; } }

/* ---------- RECS ---------- */
.vgRecs { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: start; }
.vgRecs .col { display: flex; flex-direction: column; gap: 13px; }
.vgRecs .rec { padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.vgRecs .av { width: 42px; height: 42px; border-radius: 50%; font-size: 14.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); flex: 0 0 auto; }
.vgRecs .who { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.vgRecs .who b { font-size: 15px; letter-spacing: -.1px; }
.vgRecs .status { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 6px 13px; white-space: nowrap; }
.vgRecs .status.ok { background: color-mix(in srgb, oklch(0.62 0.15 152) 14%, transparent); color: oklch(0.46 0.13 152); }
.vgRecs .status.wip { background: var(--surface-sunk); color: var(--ink-3); }
.vgRecs .tip { padding: 15px 17px; display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.vgRecs .tip b { color: var(--ink); }
.vgRecs .brief { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.vgRecs .brief .vg-sub { margin-bottom: 8px; }
.vgRecs .item { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 700; letter-spacing: -.1px; }
.vgRecs .item:last-child { border-bottom: none; }

/* ---------- INTERVIEWS ---------- */
.vgInt { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.vgInt .chat { display: flex; flex-direction: column; gap: 12px; }
.vgInt .chat-top { display: flex; align-items: center; gap: 9px; margin-bottom: 2px; }
.vgInt .chat-top .vg-sub { margin-left: auto; }
.vgInt .bub { max-width: 86%; padding: 14px 18px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
.vgInt .q { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); border-bottom-left-radius: 5px; }
.vgInt .a { align-self: flex-end; background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent); border-bottom-right-radius: 5px; display: flex; flex-direction: column; gap: 8px; width: 64%; }
.vgInt .dots { display: flex; gap: 5px; padding: 4px 2px; }
.vgInt .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .35; animation: vgi-dot 1s infinite; }
.vgInt .dots i:nth-child(2) { animation-delay: .18s; }
.vgInt .dots i:nth-child(3) { animation-delay: .36s; }
@keyframes vgi-dot { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }
.vgInt .review { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.vgInt .review .vg-sub { margin-bottom: 6px; }
.vgInt .crit { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 700; letter-spacing: -.1px; }
.vgInt .crit .vg-sub { margin: 0 0 0 auto; font-weight: 600; }
.vgInt .crit.warn .vg-check { background: var(--accent-bright); }
.vgInt .fbx { padding-top: 13px; border-top: 1px solid var(--line); display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 7px; }
.vgInt .fbx b { color: var(--ink); }

/* ---------- FINAL REVIEW ---------- */
.vgFin { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.vgFin .list { padding: 8px 22px; display: flex; flex-direction: column; }
.vgFin .row { display: flex; align-items: center; gap: 13px; padding: 17px 2px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; letter-spacing: -.1px; }
.vgFin .row:last-child { border-bottom: none; }
.vgFin .row .vg-sub { margin-left: auto; }
.vgFin .verdict { padding: 20px 22px; display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.vgFin .meter { width: 100%; height: 10px; border-radius: 6px; background: var(--surface-sunk); overflow: hidden; }
.vgFin .meter i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)); animation: vgf-fill 1.8s .8s cubic-bezier(.3,0,.2,1) forwards; }
@keyframes vgf-fill { to { width: 88%; } }
.vgFin .mini { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--ink-2); align-self: flex-start; }
.vgFin .mini .vg-check { width: 18px; height: 18px; }
.vgFin .mini .vg-check svg { width: 10px; height: 10px; }
.vgFin .ready { display: flex; align-items: center; gap: 9px; background: linear-gradient(110deg, var(--accent-deep), var(--accent-bright)); color: #fff; border-radius: 999px; padding: 12px 24px; font-size: 15px; font-weight: 800; letter-spacing: -.1px; box-shadow: 0 14px 30px -14px rgba(74,42,110,.55); margin-top: 6px; }
.vgFin .ready svg { width: 16px; height: 16px; }

/* ---------- frame-bottom variants ---------- */
.fxD .fxD-shots { height: 470px; min-height: 0; flex: 0 0 470px; }
.fxD-fade .fxD-shots { height: 470px; flex: 0 0 470px; }
/* complete: default — frame fully closed, nothing cropped */
/* fade: the bottom of the browser melts into the page instead of a hard edge */
.fxD-fade .fxD-frame {
  border-bottom: none;
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 68%, transparent 96%);
}
.fxD-fade .vg { padding-bottom: 26px; }
.fxD-fade .vgStory .anec, .fxD-fade .vgEssay .doc-foot, .fxD-fade .vgRes .score,
.fxD-fade .vgRecs .tip, .fxD-fade .vgInt .fbx, .fxD-fade .vgFin .ready { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .vg .pop, .vg .rise { animation-duration: .01s; animation-delay: 0s !important; }
  .vgStory .ring .fill, .vgFin .meter i, .vgEssay .hl, .vgRes .bar i { animation-duration: .01s; animation-delay: 0s !important; }
  .vgRes .scan { display: none; }
}
