/* BalconPunk2077: keep the graphite theme, add red operational markers. */
:root {
  --signal-red:#ff625e;
  --signal-blue:#68cfff}

html {
  scroll-behavior:smooth}
body {
  overflow-x:hidden}
.brand span {
  font-size:clamp(18px,2vw,28px);
  letter-spacing:-1px}
.brand small {
  letter-spacing:3px;
  font-size:10px}
.brand svg {
  stroke:var(--signal-red);
  filter:drop-shadow(0 0 7px #ff625e55)}
header {
  gap:22px;
  flex-wrap:wrap}
header nav {
  gap:20px}
header nav a {
  white-space:nowrap}
header nav a[href="#clinic"] {
  color:#ff9690}
header nav a.active {
  border-color:var(--signal-red)}

.red-icon {
  display:inline-block!important;
  width:27px!important;
  height:27px!important;
  object-fit:contain;
  vertical-align:middle;
  margin-right:9px;
  flex-shrink:0;
  filter:drop-shadow(0 0 6px #ff45452b)}
.product-brand {
  display:flex;
  align-items:center;
  min-height:35px;
  line-height:1.5}
.product .product-art img {
  object-fit:contain;
  padding:8px;
  transition:transform .25s ease}
.product:hover .product-art img {
  transform:scale(1.035)}
.product-art {
  background:radial-gradient(ellipse at center,#27333f 0,#171b24 70%)}
.product-art .source-dot {
  border-color:#ff625e}
.tech-label {
  display:inline-block;
  color:#83daff;
  border:1px solid #3f7c91;
  padding:3px 7px;
  font-size:10px;
  letter-spacing:1.6px;
  margin:8px 0 0}
.art-note {
  font-size:11px;
  color:#bfc0cc;
  max-width:500px;
  line-height:1.6}
.detail-art img {
  max-height:470px;
  object-fit:contain}
.detail-body li {
  line-height:1.8}
.stats {
  row-gap:1px}
.stat strong {
  overflow-wrap:anywhere}

.ad-network {
  padding:36px 0}
.ad-network-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px}
.broadcast {
  border:1px solid #3b3745;
  background:linear-gradient(130deg,#251b23,#191e29);
  padding:24px;
  position:relative;
  border-top:2px solid var(--signal-red);
  display:flex;
  flex-direction:column;
  min-height:310px}
.broadcast:nth-child(2n) {
  background:linear-gradient(130deg,#1a2933,#1b1a23);
  border-top-color:var(--signal-blue)}
.broadcast-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
  gap:12px}
.broadcast-top img {
  width:110px;
  height:50px;
  object-fit:contain;
  object-position:left center}
.broadcast-top span {
  font-size:9px;
  letter-spacing:1px;
  color:#adb3c4}
.broadcast>small {
  color:#92cde8;
  letter-spacing:1px;
  font-size:10px}
.broadcast h3 {
  font-size:26px;
  line-height:1.15;
  margin:14px 0;
  color:#f6f2f5;
  letter-spacing:-.5px}
.broadcast p {
  font-size:13px;
  line-height:1.8;
  color:#c6c6d2}
.broadcast a {
  margin-top:auto;
  padding-top:18px;
  color:#ff9690;
  font-size:10px;
  letter-spacing:1.5px}
.broadcast a:hover {
  color:white;
  text-decoration:underline}

.culture-ads {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin:20px 0 64px}
.culture-ads article {
  display:flex;
  border:1px solid #343848;
  background:#181b25;
  min-height:220px;
  overflow:hidden}
.culture-ads img {
  width:37%;
  object-fit:cover}
.culture-ads article>div {
  padding:18px;
  align-self:center}
.culture-ads small {
  font-size:8px;
  letter-spacing:1.5px;
  color:#ff9690}
.culture-ads h3 {
  font-size:19px;
  line-height:1.2;
  margin:10px 0}
.culture-ads strong {
  font-size:11px;
  color:#84d6ff}
.culture-ads p {
  font-size:11px;
  color:#bfc3d0;
  line-height:1.7}

.clinic-hero {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:70px;
  padding:55px 0 45px}
.clinic-hero h1 {
  font-size:clamp(40px,5.6vw,76px);
  line-height:1.04;
  letter-spacing:-2px;
  margin:30px 0}
.clinic-hero h1 em {
  color:#ff7773;
  font-style:normal}
.clinic-hero p {
  font-size:16px;
  line-height:1.9;
  color:#c9c9d6;
  max-width:520px}
.clinic-hero figure {
  margin:0;
  position:relative;
  background:#10121a;
  border:1px solid #663239;
  border-bottom:3px solid #ff625e;
  box-shadow:0 0 60px #ff343410}
.clinic-hero figure img {
  display:block;
  width:100%;
  max-height:530px;
  object-fit:cover}
.clinic-hero figcaption {
  background:#1e131c;
  color:#ff9f98;
  font-size:9px;
  letter-spacing:2px;
  padding:13px 20px;
  line-height:1.8}
.clinic-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:25px 0 30px}
.clinic-tags span {
  border:1px solid #694044;
  color:#ffb5ae;
  font-size:10px;
  padding:6px 10px;
  letter-spacing:1px}
.clinic-lore {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  padding:24px 0 50px;
  border-bottom:1px solid #353443;
  margin-bottom:35px}
.clinic-lore h2 {
  font-size:23px;
  color:#edecf4}
.clinic-lore p {
  color:#bec1d0;
  font-size:13px;
  line-height:1.9}
.therapy-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin:30px 0}
.therapy-card {
  padding:28px;
  border:1px solid #423c49;
  background:linear-gradient(145deg,#241c26,#181d28);
  border-top:2px solid #ff625e;
  min-width:0}
.therapy-card h2 {
  font-size:30px;
  margin:18px 0 6px}
.therapy-card .muted {
  font-size:13px;
  min-height:25px}
.therapy-price {
  font-size:32px;
  color:#ffb0a7;
  margin:20px 0}
.therapy-price small {
  font-size:12px;
  color:#c0bdce}
.therapy-card dl {
  margin:0 0 24px}
.therapy-card dl>div {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #393642;
  padding:10px 0;
  font-size:12px;
  line-height:1.6}
.therapy-card dt {
  color:#aab0c4}
.therapy-card dd {
  margin:0;
  text-align:right;
  color:#e2dfe9}
.therapy-card summary {
  cursor:pointer;
  padding:12px 0;
  color:#83d4ff;
  font-size:13px}
.therapy-card li {
  font-size:13px;
  color:#d0cdda;
  line-height:1.9;
  margin-bottom:10px}
.therapy-card details[open] {
  border-top:1px solid #51404b}
.therapy-card ul {
  padding-left:20px}
.clinic-links {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:30px 0}
.crafting {
  margin:32px 0;
  padding:26px;
  border:1px solid #405062;
  background:#15212b}
.crafting h2 {
  font-size:25px}
.craft-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
  margin:22px 0}
.craft-grid small {
  display:block;
  color:#97bed1;
  letter-spacing:1px;
  font-size:10px}
.craft-grid strong {
  display:block;
  font-size:28px;
  color:#eaf6ff;
  margin-top:9px}
.crafting p,.crafting li {
  font-size:13px;
  color:#c3d2df;
  line-height:1.8}
.crafting>small {
  font-size:11px;
  color:#9ec0d4}
.intel-note {
  border-left:2px solid #ff625e;
  padding-left:24px}
.corp-statbar strong {
  font-size:clamp(17px,2vw,27px);
  overflow-wrap:anywhere}
.stock-controls small {
  line-height:1.7}
.corp-body article p {
  line-height:1.9}
.standard-therapy {
  padding:24px;
  border:1px solid #3e4a59;
  background:#171e28;
  margin-bottom:35px}
.standard-therapy p {
  font-size:13px;
  color:#c5cbd6;
  line-height:1.8}
.standard-therapy table {
  width:100%;
  font-size:12px;
  border-collapse:collapse}
.standard-therapy td,.standard-therapy th {
  padding:12px;
  text-align:left;
  border-bottom:1px solid #384353;
  white-space:nowrap}

@media(min-width:1400px) {
  header {
  flex-wrap:nowrap}
}
@media(max-width:1100px) {
  header nav {
  gap:12px}
.ad-network-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))}
.culture-ads {
  grid-template-columns:1fr}
.culture-ads img {
  width:140px;
  max-height:200px}
.clinic-hero {
  gap:30px}
.clinic-lore {
  gap:20px}
.brand {
  margin-right:auto}
}

@media(max-width:700px) {
  header {
  gap:15px}
header nav {
  order:3;
  width:100%;
  overflow-x:auto;
  padding-bottom:7px;
  justify-content:flex-start;
  gap:20px}
header nav a {
  flex-shrink:0}
.brand span {
  font-size:23px}
.brand svg {
  width:32px}
.clinic-hero {
  grid-template-columns:1fr;
  padding-top:30px;
  gap:28px}
.clinic-hero figure {
  max-width:420px;
  width:100%;
  justify-self:center}
.clinic-hero h1 {
  font-size:44px}
.clinic-lore,.therapy-grid,.ad-network-grid {
  grid-template-columns:1fr}
.therapy-card {
  padding:21px}
.broadcast {
  min-height:280px}
.craft-grid {
  gap:14px}
.craft-grid strong {
  font-size:23px}
.therapy-card dl>div {
  gap:12px}
.therapy-card dd {
  max-width:65%}
.corp-statbar {
  grid-template-columns:repeat(2,minmax(0,1fr))}
.culture-ads article>div {
  padding:14px}
.culture-ads img {
  width:110px}
.crafting {
  padding:20px}
.red-icon {
  width:24px!important;
  height:24px!important}
.product-brand {
  font-size:10px}
}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}
.product .product-art img {
  transition:none}
}

