/* Vice City Stories — news page */
.nhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
#nform {
  display: grid;
  gap: 14px;
  max-width: none;
  margin: 10px 0 20px;
  padding: 16px;
  border: 2px dashed #ffa51f;
  background: rgba(10, 3, 20, 0.6);
}
#nlist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 14px;
}
.ncard {
  position: relative;
  border: 2px solid var(--nc);
  background: rgba(10, 3, 20, 0.78);
  box-shadow:
    0 0 16px var(--nc),
    inset 0 0 14px rgba(0, 0, 0, 0.5);
  padding: 16px 18px 18px;
  height: auto;
}
.ncard .nid {
  position: absolute;
  right: 12px;
  top: -12px;
  background: #0b0418;
  color: var(--nc);
  border: 2px solid var(--nc);
  padding: 3px 8px;
  font:
    9px "Press Start 2P",
    "Courier New",
    monospace;
}
.ncard .ndt {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #9a85b8;
  margin-bottom: 6px;
}
.ncard h3.nt {
  font-size: 14px !important;
  line-height: 1.6;
  color: var(--nc);
  text-shadow: 0 0 8px var(--nc);
  margin: 0 0 10px !important;
}
.ncard .nd {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.7;
}
.ncard .nx {
  position: absolute;
  right: 10px;
  bottom: 8px;
  background: none;
  border: 0;
  color: #9a85b8;
  cursor: pointer;
  font: 11px "Courier New";
}
.ncard .nx:hover {
  color: #ff2d4d;
}
.nyt {
  position: relative;
  margin-top: 14px;
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 780px;
  background: #000;
  border: 2px solid var(--nc);
  overflow: hidden;
  cursor: pointer;
}
.nyt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}
.nyt .pl {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 54px;
  margin: -27px 0 0 -38px;
  background: #ff1a1a;
  border: 3px solid #fff;
  box-shadow: 0 0 18px #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nyt .pl::after {
  content: "";
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.nyt:hover .pl {
  filter: brightness(1.2);
}
.nyt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.nsl {
  position: relative;
  margin-top: 14px;
  border: 2px solid var(--nc);
  background: #05010a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.nsl img {
  max-width: 100%;
  max-height: 480px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.nsl .ar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 56px;
  background: rgba(5, 1, 10, 0.78);
  color: var(--nc);
  border: 2px solid var(--nc);
  font:
    20px "Press Start 2P",
    "Courier New",
    monospace;
  cursor: pointer;
  box-shadow: 0 0 10px var(--nc);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  touch-action: manipulation;
}
.nsl .ar:hover {
  background: var(--nc);
  color: #05010a;
}
.nsl .al {
  left: 8px;
}
.nsl .arr {
  right: 8px;
}
.nsl .cn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 1, 10, 0.8);
  color: var(--nc);
  padding: 3px 9px;
  font:
    9px "Press Start 2P",
    "Courier New",
    monospace;
  border: 1px solid var(--nc);
}
.nsl .er {
  color: #ff7a8e;
  font-size: 12px;
  padding: 30px;
}
#npager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
#npager button {
  font:
    10px "Press Start 2P",
    "Courier New",
    monospace;
  color: #ffa51f;
  background: #0b0418;
  border: 2px solid #ffa51f;
  padding: 9px 12px;
  cursor: pointer;
  touch-action: manipulation;
  min-width: 38px;
}
#npager button:hover:not(:disabled) {
  background: #ffa51f;
  color: #0b0418;
}
#npager button.on {
  background: #ffa51f;
  color: #0b0418;
  box-shadow: 0 0 12px #ffa51f;
}
#npager button:disabled {
  opacity: 0.35;
  cursor: default;
}
