/* The rounded Modern Weekly design with the Lady Justice masthead. */
:root { --gold: #dfbd54; --black: #0b0c0c; }

.bar { background: var(--black); overflow: hidden; border-radius: 0 0 16px 16px; }
.bar .in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 220px;
  align-items: center;
  gap: 22px;
  padding-top: 0;
  padding-bottom: 0;
}
.justice {
  display: block;
  width: 220px;
  height: 147px;
  object-fit: contain;
  mask-image: linear-gradient(to right, transparent, #000 18%);
}
.plate .crime {
  padding-inline-start: min(6px, .12em);
  letter-spacing: calc(.01em - .2px);
}
.plate .times { background: var(--gold); border-radius: 7px; }
.ed { letter-spacing: .07em; }
.nav a.on, .ag { background: var(--gold); border-radius: 4px; }
.tick { background: var(--gold); }
.ph em { background: var(--black); border-radius: 0 0 6px 0; }
.grid .person { border: 1px solid #c9cbc4; border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.grid .person:hover { transform: none; box-shadow: none; border-color: #947320; }
.cb { padding: 11px 10px 13px; }
.ag { letter-spacing: .04em; padding: 4px 6px; }
.ag.none { background: #f3f3f1; }
.side { border-top-color: var(--gold); border-radius: 12px; overflow: hidden; }
.show-all { background: var(--gold); border: 1px solid #947320; border-radius: 7px; }
.panel { border: 1px solid #b8bbb2; border-radius: 14px; box-shadow: 0 16px 48px #0005; }
.panel .pp { border-radius: 13px 0 0 13px; overflow: hidden; }
.panel .x { border-radius: 6px; }
.wk .n { background: var(--gold); border-radius: 10px; }
.wk .read { border: 1px solid #b8bbb2; border-radius: 6px; }
.wk .read:hover { background: var(--gold); }
.foot { background: var(--black); }
.foot b { color: var(--gold); }
.mast:focus-visible { outline-color: #fff; }
.srch input, .srch button[type="submit"], .sform input, .sform button { border-radius: 6px; }
.srch button[type="submit"], .sform button { background: var(--gold); }
.sres .sp { border-radius: 8px; overflow: hidden; }

@media (max-width: 900px) {
  .bar .in { grid-template-columns: minmax(0, 1fr) 180px; gap: 0 16px; padding-bottom: 14px; }
  .mast { grid-column: 1; grid-row: 1; }
  .plate { font-size: 48px; }
  .ed { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .justice { grid-column: 2; grid-row: 1; width: 180px; height: 120px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .in { padding-left: 18px; padding-right: 18px; }
  .pg { padding-left: 18px; padding-right: 18px; }
  .tick .in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tick .in > div { padding: 12px 18px; }
  .tick .in > div:nth-child(2n) { border-right: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sec { gap: 12px; flex-wrap: wrap; }
  .log tbody, .log tr, .log th, .log td { display: block; width: 100% !important; }
  .log tr { padding: 12px 0; border-bottom: 1px solid #dcdcd8; }
  .log th, .log td { padding: 3px 0; border-bottom: 0; }
  .panel[open] { grid-template-columns: minmax(0, 1fr); max-height: 85vh; overflow-y: auto; }
  .panel .pp { max-height: 220px; border-radius: 13px 13px 0 0; }
  .panel .pp img { height: 220px; object-fit: contain; }
  .panel .pi { max-height: none; padding: 18px; }
  .panel .x { background: #fff; z-index: 1; }
  .wk { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; }
  html.js .srch .srch-toggle { background: var(--gold); border-radius: 6px; }
}
@media (max-width: 540px) {
  .bar .in { grid-template-columns: minmax(0, 1fr) 128px; gap: 0 8px; }
  .plate { font-size: clamp(28px, 8.6vw, 42px); }
  .justice { width: 128px; height: 112px; }
  .ed { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .grid .person { transition: none; }
}
@media (max-width: 360px) {
  .bar .in { grid-template-columns: minmax(0, 1fr) 104px; }
  .justice { width: 104px; height: 100px; }
}
