/* Who Sat Where: "The Detective's Desk" look of the app (wood desk, green leather, sketch paper, brass, red wax).
   Every frame and button is the app's own painted part, stretched with border-image like the app's 9-slice. */
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-semibold-italic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url(/fonts/lora.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --wood: #3a1f12; --wood-deep: #1f0f08;
  --leather: #1d3a2a; --leather-deep: #10241a;
  --paper: #f3e6cc; --paper-edge: #e2cfa8;
  --ink: #2e1c12; --ink-soft: #5e4632;
  --brass: #e2b154; --brass-light: #ffdc8e; --brass-deep: #a8741f;
  --wax: #b3262f; --wax-deep: #7d1620;
  --ok: #3d7a4b;
  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --body: "Lora", Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--wood-deep); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 17px/1.55 var(--body);
  background: var(--wood) url(/img/ui/bg_home.webp) center top / 100% auto no-repeat;
  min-height: 100vh;
}
body::before { /* the desk continues below the painted top */
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 30%, #5a3220 0%, #3a1f12 55%, #1f0f08 100%);
}
body.sub { background-image: linear-gradient(#1f0f08e0, #1f0f0899 320px, #1f0f0840 700px, #1f0f0800 1000px), url(/img/ui/bg_home.webp); background-size: 100% auto, 100% auto; background-repeat: no-repeat; }
@media (min-width: 900px) {
  body.sub { background-image: linear-gradient(#1f0f08d0, #1f0f0866 400px, #1f0f0800 900px), linear-gradient(90deg, #1f0f08 0, #1f0f0800 calc(50% - 420px), #1f0f0800 calc(50% + 420px), #1f0f08 100%), url(/img/ui/bg_case.webp);
    background-size: 100% 2400px, 100% 2400px, 1100px auto; background-position: center top; }
  body:not(.sub) { background: linear-gradient(90deg, #1f0f08 0, #1f0f0800 calc(50% - 420px), #1f0f0800 calc(50% + 420px), #1f0f08 100%) center top / 100% 2400px no-repeat,
    linear-gradient(#1f0f0800 1900px, #2a1509 2380px) center top / 100% 2400px no-repeat,
    var(--wood) url(/img/ui/bg_case.webp) center top / 1100px auto no-repeat; }
}
img { max-width: 100%; height: auto; }
a { color: var(--wax-deep); text-underline-offset: 3px; }
a:hover { color: var(--wax); }
:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; }
h2 { font-size: 1.85rem; } h3 { font-size: 1.35rem; }
p { margin: 0 0 .8em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
button { font: inherit; color: inherit; cursor: pointer; }
main { max-width: 1120px; margin: 0 auto; padding: 0 14px 40px; }

/* ---- top bar: the green leather strip ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  max-width: 1120px; margin: 8px auto 0; min-height: 56px; padding: 0 18px;
  border-style: solid; border-width: 0 19px; border-image: url(/img/ui/header.webp) 0 48 fill / 0 19px stretch;
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--brass-light); font: 700 1.45rem/1 var(--display); text-decoration: none; text-shadow: 0 2px 3px #000a; white-space: nowrap; }
.brand img { border-radius: 7px; }
.brand:hover { color: #fff1c9; }
.top-nav { display: flex; gap: 14px; font: 600 1.05rem var(--display); }
.top-nav a { color: #f1dcae; text-decoration: none; }
.top-nav a:hover { color: var(--brass-light); text-decoration: underline; }
@media (max-width: 560px) { .top-nav a:not(.top-app) { display: none; } .topbar { padding: 0 8px; } }

/* ---- painted panels ---- */
.paper { /* the sketch paper stack of the app */
  position: relative; border-style: solid; border-width: 20px 22px 22px 18px;
  border-image: url(/img/ui/paper_stack.webp) 110 261 89 62 fill / 26px 30px 24px 16px stretch;
  padding: 10px 6px 6px; margin: 22px 0;
}
.folder { /* the green leather case file */
  border-style: solid; border-width: 30px; border-image: url(/img/ui/folder.webp) 125 fill / 30px stretch;
  color: #f4e5c5; padding: 4px; margin: 26px 0;
}
.notebook { /* spiral notebook with ruled lines; the rings repeat down the edge */
  position: relative; border-style: solid; border-width: 15px 12px 15px 34px;
  border-image: url(/img/ui/notebook.webp) 42 35 42 98 fill / 15px 12px 15px 34px stretch round;
  padding: 8px 10px 10px 12px;
}
.notebook.flat { margin: 16px -4px 6px; }
.photo { border: 9px solid transparent; border-image: url(/img/ui/photo_frame.webp) 43 fill / 9px stretch; box-shadow: 0 10px 24px #0007; }
.slip { border-style: solid; border-width: 11px 12px; border-image: url(/img/ui/slip.webp) 27 30 fill / 11px 12px stretch; }

/* ---- hero ---- */
.hero { position: relative; text-align: center; padding: 18px 0 4px; }
.plaque { margin: 0 auto; max-width: 400px; position: relative; filter: drop-shadow(0 10px 14px #0009); }
.plaque img { display: block; width: 100%; }
.plaque-sub {
  position: absolute; left: 12%; right: 12%; bottom: 13.6%; color: #f6e3b4; white-space: nowrap;
  font: 700 clamp(.62rem, 2.75vw, .98rem)/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
}
.crow { position: absolute; left: max(-6px, calc(50% - 330px)); top: 6px; width: 92px; filter: drop-shadow(0 8px 8px #0008); }
.lede { color: #f6e7c9; font-size: 1.07rem; max-width: 560px; margin: 14px auto 6px; text-shadow: 0 1px 3px #000c; background: #1f0f08a6; border-radius: 14px; padding: 6px 14px; }
.article .lede { color: var(--paper); text-align: left; margin-left: 0; }
@media (max-width: 520px) { .crow { width: 64px; left: -2px; top: 26px; } .plaque { max-width: 270px; } }

/* ---- mode switch ---- */
.modes { display: flex; justify-content: center; gap: 10px; margin: 14px 0 6px; }
.modes button {
  min-width: 150px; padding: 8px 14px 9px; border-radius: 12px; border: 2px solid #6d5330;
  background: linear-gradient(#244832, #142d1f); color: #e7d2a4; box-shadow: inset 0 1px 0 #ffffff1a, 0 4px 10px #0007;
  display: flex; flex-direction: column; align-items: center; line-height: 1.15;
}
.modes button[aria-selected="true"] { border-color: var(--brass); color: var(--brass-light); background: linear-gradient(#2e5a3f, #193825); }
.m-big { font: 700 1.25rem var(--display); }
.m-small { font-size: .78rem; opacity: .85; }

/* ---- the case ---- */
.game { margin: 8px 0 10px; min-height: 420px; }
.game-wait { text-align: center; font: 600 1.3rem var(--display); }
.case-kicker { display: block; text-align: center; margin: 10px 0 2px; color: #f1dcae; font: 600 .88rem var(--body); letter-spacing: .04em; text-shadow: 0 1px 2px #000; }
.case-head {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 58px; padding: 2px 16px 12px; margin: 0 0 14px;
  border-style: solid; border-width: 0 19px; border-image: url(/img/ui/header.webp) 0 48 fill / 0 19px stretch;
}
.case-title { color: var(--brass-light); font: 700 1.55rem/1.1 var(--display); text-shadow: 0 2px 3px #000a; }
.play { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .play { grid-template-columns: minmax(0, 600px) minmax(0, 440px); justify-content: center; align-items: start; gap: 24px; }
  .play-right { position: sticky; top: 12px; }
}

.board { position: relative; container-type: inline-size; overflow: hidden; touch-action: manipulation; }
.board-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; transition: filter .8s; }
.board.dark .board-img { filter: brightness(.48) saturate(.75) hue-rotate(-12deg); }
.seat {
  position: absolute; width: var(--tok); aspect-ratio: 1; transform: translate(-50%, -50%);
  padding: 0; border: 0; background: none; border-radius: 50%; touch-action: none;
}
.seat.empty::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  border: 2px dashed #fff5dccc; background: #fff3d633; box-shadow: 0 0 0 1px #0004;
}
.seat.target::before { border-color: var(--brass-light); background: #ffdc8e55; animation: pulse 1.4s ease-in-out infinite; }
.seat.hover::before { border-style: solid; background: #ffdc8e88; }
.seat-no { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 max(11px, 3.2cqw) var(--display); text-shadow: 0 1px 2px #000; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.tok { position: absolute; inset: 0; display: block; }
.tok-face { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; pointer-events: none; }
.tok-ring { position: absolute; inset: -3%; width: 106%; height: 106%; pointer-events: none; filter: drop-shadow(0 2px 3px #0009); }
.tok-name {
  position: absolute; left: 50%; top: 88%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  padding: 0 .45em; font: 700 max(9px, 2.05cqw)/1.35 var(--display); color: var(--ink);
  background: #f6e9cc; border: 1px solid #9b7a45; border-radius: 4px; box-shadow: 0 1px 2px #0006;
}
.tok.sel .tok-ring { filter: drop-shadow(0 0 6px #ffd76b); }
.tok.sel { animation: lift .25s ease-out forwards; }
@keyframes lift { to { transform: translateY(-6%) scale(1.06); } }
.tok.culprit .tok-ring { filter: drop-shadow(0 0 8px #ff3344) drop-shadow(0 0 3px #ff3344); }
.chips { position: absolute; right: 2%; bottom: 3%; display: flex; gap: 6px; pointer-events: none; }
.chip { background: #f6ecd5ee; border: 1px solid #a88a58; border-radius: 8px; padding: 1px 8px; font: 600 .85rem/1.5 var(--display); color: var(--ink); box-shadow: 0 2px 4px #0005; }
.chip b { font-weight: 700; }

.tray-wrap { display: flex; align-items: stretch; gap: 8px; margin-top: 14px; }
.tray { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 2px; min-height: 96px; padding: 2px; }
.tray .cameo { width: 62px; }
@media (min-width: 900px) { .tray .cameo { width: 80px; } }
.tray-empty { margin: 0; font: italic 600 1.2rem var(--display); color: var(--ink-soft); }
.tools { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.rb { width: 54px; height: 54px; padding: 0; border: 0; background: none; border-radius: 50%; filter: drop-shadow(0 3px 4px #0008); transition: transform .12s; }
.rb:active { transform: scale(.92); }

.cameo { position: relative; width: 74px; aspect-ratio: 180 / 251; padding: 0; margin: 0; border: 0; background: none; touch-action: none; transition: transform .15s; }
.cameo-face { position: absolute; left: 16%; top: 14%; width: 68%; height: 57%; object-fit: cover; border-radius: 50%; pointer-events: none; }
.cameo-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 3px 4px #0007); }
.cameo-name { position: absolute; left: 14%; right: 14%; bottom: 8.5%; text-align: center; font: 700 .82rem/1 var(--display); color: var(--ink); pointer-events: none; white-space: nowrap; overflow: hidden; }
.cameo.sel { transform: translateY(-6px) scale(1.07); }
.cameo.sel .cameo-frame { filter: drop-shadow(0 0 8px #ffcf55) drop-shadow(0 3px 4px #0007); }
button.cameo:hover { transform: translateY(-3px); }
@media (min-width: 900px) { .cameo { width: 84px; } }

.ghost { position: fixed; left: 0; top: 0; width: 64px; height: 64px; pointer-events: none; z-index: 50; }
.ghost img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; }
.ghost img + img { inset: -3%; width: 106%; height: 106%; border-radius: 0; filter: drop-shadow(0 6px 8px #000a); }
body.dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }

.msg { min-height: 1.4em; margin: 8px 2px 0; color: #f7e8c8; font-size: .98rem; text-shadow: 0 1px 2px #000; }
.notebook .msg, .paper .msg { color: var(--ink); text-shadow: none; }
.msg.bad { color: #ffd0c8; }
.notebook .msg.bad { color: var(--wax); font-weight: 600; }
.msg.hint { color: #fff1c9; }
.link { background: none; border: 0; padding: 0; color: var(--brass-light); text-decoration: underline; font-weight: 700; }
.notebook .link { color: var(--wax-deep); }

/* notebook content */
.seal { position: absolute; right: -16px; top: -18px; width: 58px; filter: drop-shadow(0 3px 4px #0007); }
.nb-title { font: italic 700 2.2rem/1.1 var(--display); color: var(--ink); margin: 4px 0 2px; display: inline-block; border-bottom: 3px solid var(--wax); padding-bottom: 2px; }
.act2-title { color: var(--wax); border-color: transparent; }
.nb-sub { font: 700 1.3rem var(--display); margin: 14px 0 4px; }
.intro { font-size: .98rem; color: var(--ink-soft); margin: 8px 0 4px; }
.clues { list-style: none; margin: 6px 0; padding: 0; }
.clue { display: grid; grid-template-columns: 1.7em 1fr 26px; align-items: start; gap: 4px; padding: 6px 4px; border-radius: 8px; transition: background .2s; }
.clue.about { background: #e9d7a866; }
.cl-n { font: 600 1.2rem/1.3 var(--display); color: var(--ink-soft); }
.cl-t { font: italic 600 1.28rem/1.3 var(--display); color: var(--ink); text-align: left; background: none; border: 0; padding: 0; }
.clue.struck .cl-t { text-decoration: line-through 2px; text-decoration-color: #3a2418aa; opacity: .55; }
.cl-s { width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; border: 2px solid #9a8466; }
.clue.ok .cl-s { border: 0; background: url(/img/ui/tick.webp) center / contain no-repeat; transform: scale(1.25); }
.clue.broken .cl-s { border: 0; background: url(/img/ui/cross.webp) center / contain no-repeat; transform: scale(1.15); }
.clue.broken .cl-t { color: var(--wax); }
.nb-foot { font-size: .82rem; color: var(--ink-soft); margin: 8px 0 0; }
.who { font: 700 2rem var(--display); text-align: center; margin: 16px 0 0; }
.who-q { font: 700 1.5rem var(--display); text-align: center; margin: 8px 0 0; }
.who-help { text-align: center; font-size: .9rem; color: var(--ink-soft); }
.suspects { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 12px; }
.suspects .cameo { width: 70px; }
@media (min-width: 420px) { .suspects .cameo { width: 80px; } }

.brass {
  display: block; width: 100%; min-height: 54px; padding: 0 30px; border-style: solid; border-width: 0 34px;
  border-image: url(/img/ui/btn_brass.webp) 0 87 fill / 0 34px stretch; background: none;
  font: 700 1.5rem/54px var(--display); color: #3a2410; text-shadow: 0 1px 0 #ffe9b0; transition: transform .12s, filter .2s;
}
.brass:active { transform: translateY(2px); }
.brass:disabled { filter: grayscale(.5) brightness(.85); color: #7a5a36; cursor: default; }
.brass-link { display: inline-block; padding: 0 34px; border-style: solid; border-width: 0 30px; border-image: url(/img/ui/btn_brass.webp) 0 87 fill / 0 30px stretch;
  font: 700 1.35rem/48px var(--display); color: #3a2410; text-decoration: none; }
.brass-link:hover { color: #000; }

.ghost-btn { display: block; margin: 10px auto 0; background: none; border: 2px solid #9b7a45; border-radius: 10px; padding: 6px 16px; font: 700 1.15rem var(--display); color: var(--ink); }

/* result */
.result { text-align: center; }
.file-no { font: 600 .92rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 2px; }
.res-title { font-size: 2.1rem; margin: 0; }
.res-sub { font: 600 .86rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.case-card .res-title, .case-card .file-no, .case-card .res-sub { text-align: center; }
.stamp-row { position: relative; width: 78%; margin: 6px auto 0; transform: rotate(-5deg); }
.stamp { display: block; width: 100%; }
.stamp-text { position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(2rem, 9vw, 3.1rem)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #b82d38; opacity: .88; }
.stars { display: flex; justify-content: center; gap: 4px; margin: 8px 0; }
.stars img { width: 50px; filter: drop-shadow(0 3px 3px #0006); }
.res-culprit .cameo { width: 120px; margin: 4px auto; display: block; }
.res-culprit .cameo-name { font-size: 1.15rem; }
.banner {
  margin: 8px auto 10px; max-width: 420px; min-height: 48px; display: flex; align-items: center; justify-content: center; text-align: center;
  border-style: solid; border-width: 0 46px; border-image: url(/img/ui/banner.webp) 0 129 fill / 0 46px stretch;
  font: italic 700 1.45rem/1.1 var(--display); color: var(--wax);
}
.ending { font: italic 600 1.18rem/1.4 var(--display); }
.res-stats { font-size: .95rem; color: var(--ink-soft); }
.res-btns { max-width: 360px; margin: 6px auto; }
.res-next { font-size: .86rem; color: var(--ink-soft); margin-top: 10px; }

/* ---- static cases (guides, archive) ---- */
.case-card { margin: 26px 0; }
.case-card .board-frame { max-width: 600px; margin: 10px auto; }
.cast { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.cast .cameo { width: 64px; }
@media (min-width: 600px) { .cast .cameo { width: 76px; } }
.spoiler { margin: 14px 0 4px; border-top: 2px dashed #b69a6a; padding-top: 10px; }
.spoiler summary { cursor: pointer; font: 700 1.3rem var(--display); color: var(--wax-deep); list-style: none; text-align: center; padding: 8px; border: 2px solid #b69a6a; border-radius: 10px; background: #f8eed7; }
.spoiler summary::-webkit-details-marker { display: none; }
.spoiler[open] summary { margin-bottom: 10px; }
.answer-list { padding-left: 1.1em; }

/* ---- articles ---- */
.article { max-width: 760px; margin: 0 auto; }
.article > h1 { color: var(--brass-light); font-size: clamp(2.1rem, 7vw, 3rem); text-shadow: 0 2px 4px #000c; margin-top: 18px; }
.article > h2, .recent > h2 { color: #f6e3b4; text-shadow: 0 2px 3px #000b; font-size: 2rem; margin-top: 26px; }
.article > p, .recent > p { color: #f2e2c2; text-shadow: 0 1px 2px #000b; }
.article > p a, .recent > p a { color: var(--brass-light); }
.crumbs { margin: 14px 0 0; font-size: .86rem; color: #d9c49b; }
.crumbs a { color: #f1dcae; }
.paper ul, .paper ol { padding-left: 1.2em; }
.paper li { margin: 4px 0; }
.walk h3 { margin-top: 16px; }
.walk .board-frame { max-width: 600px; margin: 12px auto; }
.steps li { margin: 8px 0; }
.how-short, .faq { max-width: 760px; margin-left: auto; margin-right: auto; }
.recent { max-width: 760px; margin: 28px auto; }
.case-links { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.case-links a { display: flex; flex-direction: column; padding: 8px 14px; text-decoration: none; color: var(--ink);
  border-style: solid; border-width: 10px 12px; border-image: url(/img/ui/slip.webp) 27 30 fill / 10px 12px stretch; }
.case-links a span { font: 700 1.2rem var(--display); }
.case-links a small { color: var(--ink-soft); font-size: .82rem; }
.case-links a:hover span { color: var(--wax); }
.prevnext { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; font: 700 1.15rem var(--display); }
.prevnext a { color: var(--brass-light); text-shadow: 0 1px 2px #000; }
.cta { text-align: center; }

/* ---- app block ---- */
.app-card { max-width: 860px; margin-left: auto; margin-right: auto; }
.app-card h2 { color: var(--brass-light); font-size: 1.7rem; margin: 0; }
.app-row { display: flex; align-items: center; gap: 14px; }
.app-icon { border-radius: 16px; box-shadow: 0 4px 10px #0008; flex: none; }
.app-sub { margin: 2px 0 0; color: #d9c49b; font-size: .92rem; }
.app-list { margin: 14px 0; padding-left: 1.1em; }
.app-list li { margin: 3px 0; }
.app-list b { color: var(--brass-light); font-weight: 600; }
.shots { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 10px; }
.shots::-webkit-scrollbar { display: none; }
.shots img { width: 150px; flex: none; border-radius: 14px; box-shadow: 0 6px 14px #000a; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.store { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 12px; border-radius: 10px; background: #000; color: #fff; border: 1px solid #ffffff55; text-decoration: none; min-height: 50px; }
.store.soon { opacity: .8; cursor: default; }
.store-ico { width: 24px; height: 24px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-small { font: .7rem var(--body); }
.store-big { font: 600 1.15rem system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---- footer ---- */
.footer { max-width: 1120px; margin: 30px auto 0; padding: 24px 18px 40px; color: #cdb68c; font-size: .9rem; text-align: center; border-top: 1px solid #ffffff22; }
.footer a { color: #f1dcae; }
.foot-nav { margin-bottom: 14px; line-height: 2; }
.more-title { font: 700 1.2rem var(--display); color: var(--brass-light); margin: 0 0 4px; }
.more { margin-bottom: 14px; line-height: 1.9; }
.muted { opacity: .8; margin: 4px 0; }

@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* ---- print ---- */
@media print {
  body, html { background: #fff !important; } body::before { display: none; }
  .topbar, .footer, .app-card, .no-print, .crumbs, .cta, .lede { display: none !important; }
  .article > h1 { color: #000; text-shadow: none; }
  .paper, .notebook, .photo { border: 1px solid #999 !important; border-image: none !important; background: #fff; box-shadow: none; padding: 10px; }
  .case-card { break-inside: avoid; page-break-inside: avoid; }
  .printable .case-card .intro, .printable .cast { display: none; }
  .answer-key { break-before: page; }
}
