/* Arequipa Despertó — portal styles */
:root {
  --red: #E30613;
  --red-dark: #B70510;
  --ink: #0E0E10;
  --ink-2: #2B2B30;
  --muted: #6B6B72;
  --line: #E4E4E4;
  --paper: #FFFFFF;
  --paper-2: #F7F5F0;
  --paper-3: #EFECE4;
  --tag-bg: #111;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
  --condensed: "Archivo Narrow", "Barlow Condensed", system-ui, sans-serif;
  --display: "Anton", "Archivo Black", system-ui, sans-serif;
  --pad: 20px;
  --maxw: 1280px;
}

[data-mode="night"] {
  --ink: #F4F2EC;
  --ink-2: #C9C8C2;
  --muted: #8E8D87;
  --line: #25252A;
  --paper: #0B0B0D;
  --paper-2: #131318;
  --paper-3: #1A1A20;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper-2); color: var(--ink); }
body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Utility top bar */
.utility {
  background: var(--ink);
  color: #DDD;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.utility-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}
.utility .date { text-transform: uppercase; color: #fff; white-space: nowrap; }
.utility .weather { display: inline-flex; align-items: center; gap: 6px; color: #C9C9C9; white-space: nowrap; }
.utility .weather b { color: #fff; font-weight: 600; }
.utility .spacer { flex: 1; }
.utility .util-links { display: flex; gap: 14px; }
.utility .util-links a { color: #C9C9C9; }
.utility .util-links a:hover { color: #fff; }
.utility .live {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; padding: 2px 8px;
  font-weight: 700; letter-spacing: 0.08em;
  white-space: nowrap; flex-shrink: 0;
}
.utility .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: 0.3 } }

/* Masthead */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.mast-left { display: flex; align-items: center; gap: 14px; color: var(--muted); font-family: var(--sans); font-size: 12px; }
.mast-left .edition {
  border: 1px solid var(--line);
  padding: 6px 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink);
}
.mast-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}
.mast-logo .tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mast-logo img {
  height: 86px;
  width: auto;
  object-fit: contain;
}
[data-mode="night"] .mast-logo img { filter: invert(1) hue-rotate(180deg) saturate(1.2); }
.mast-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.15s;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.subscribe-btn {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.subscribe-btn:hover { background: var(--red-dark); }

/* Category nav */
.catnav {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.catnav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav button {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  border: none;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--ink);
  white-space: nowrap;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transition: all 0.15s;
}
.catnav button:hover { color: var(--red); }
.catnav button.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.catnav .first { margin-left: -16px; }

/* Breaking ticker */
.ticker {
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  border-bottom: 1px solid #000;
}
.ticker-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  overflow: hidden;
}
.ticker .label {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker .track {
  display: flex;
  gap: 40px;
  font-size: 13px;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
}
.ticker .track span::before { content: "▸"; color: var(--red); margin-right: 8px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Layout */
.main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
}
@media (max-width: 980px) {
  .main { grid-template-columns: 1fr; }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
}
.hero-main { cursor: pointer; }
.hero-image {
  aspect-ratio: 16/10;
  background: var(--paper-3);
  overflow: hidden;
  position: relative;
}
.hero-image .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,0.04) 14px 15px),
    linear-gradient(160deg, #d8d2c4 0%, #b8b0a0 100%);
  display: flex; align-items: flex-end; padding: 16px;
}
.hero-image .ph-lbl {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.04em;
}
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 14px 0 8px;
}
.kicker.dark { color: var(--ink); }
.hero-main h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-main:hover h1 { color: var(--red); }
.hero-main .deck {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.byline {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex; gap: 10px; align-items: center;
}
.byline b { color: var(--ink); font-weight: 700; }
.byline .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-side .item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.hero-side .item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-side .item .img {
  aspect-ratio: 1;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.hero-side .item .img::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,0.04) 8px 9px),
    linear-gradient(160deg, #d8d2c4, #b8b0a0);
}
.hero-side .item h3 {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.12;
  margin: 4px 0 6px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-side .item:hover h3 { color: var(--red); }
.hero-side .item .small {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  font-weight: 700;
}

/* Section heading */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 8px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.section-head h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
}
.section-head h2 .brush {
  display: inline-block;
  position: relative;
  color: var(--red);
}
.section-head .more {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  cursor: pointer;
}
.section-head .more:hover { color: var(--red); }

/* Article grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 22px;
}
[data-density="compact"] .grid { gap: 18px 16px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
.card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.card .img {
  aspect-ratio: 4/3;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.card .img::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(0,0,0,0.04) 10px 11px),
    linear-gradient(160deg, var(--ph1, #d8d2c4), var(--ph2, #b8b0a0));
}
.card h3 {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  margin: 10px 0 6px;
  color: var(--ink);
  text-wrap: balance;
}
[data-density="compact"] .card h3 { font-size: 17px; }
.card:hover h3 { color: var(--red); }
.card .excerpt {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
  margin: 0 0 8px;
}
[data-density="compact"] .card .excerpt { display: none; }

/* Featured wide card */
.featured-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
  cursor: pointer;
}
.featured-row .img {
  aspect-ratio: 16/9;
  background: var(--paper-3);
  position: relative;
}
.featured-row .img::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(0,0,0,0.04) 12px 13px),
    linear-gradient(160deg, #2c2c30, #4d4047);
}
.featured-row .img-lbl {
  position: absolute; bottom: 12px; left: 14px;
  font-family: ui-monospace, monospace;
  font-size: 11px; color: rgba(255,255,255,0.7);
  z-index: 1;
}
.featured-row .body { padding: 4px 0; }
.featured-row h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.04;
  margin: 8px 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.featured-row:hover h2 { color: var(--red); }

/* Opinion strip */
.opinion {
  background: var(--paper-3);
  padding: 28px var(--pad);
  margin: 28px calc(-1 * var(--pad)) 0;
}
.opinion-inner { max-width: 100%; }
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}
@media (max-width: 720px) { .opinion-grid { grid-template-columns: 1fr; } }
.col-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  cursor: pointer;
}
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 26px;
}
.col-card .name {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 700;
}
.col-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
  margin: 4px 0;
  color: var(--ink);
  text-wrap: balance;
}
.col-card:hover h3 { color: var(--red); }
.col-card .role { font-family: var(--sans); font-size: 11px; color: var(--muted); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.side-block {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.side-block h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.side-block h4 .accent { color: var(--red); }
.ranked .item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.ranked .item:last-child { border-bottom: none; }
.ranked .num {
  font-family: var(--display);
  font-size: 36px;
  line-height: 0.9;
  color: var(--red);
}
.ranked .item h5 {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.ranked .item:hover h5 { color: var(--red); }

/* Weather card */
.weather-card {
  background: var(--ink);
  color: #fff;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.weather-card .city {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #B8B8B8;
}
.weather-card .temp {
  font-family: var(--display);
  font-size: 48px;
  line-height: 1;
  margin: 4px 0;
}
.weather-card .cond { font-family: var(--sans); font-size: 12px; color: #ddd; }
.weather-card .glyph {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #FFB347);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
}

/* Newsletter card */
.newsletter {
  background: var(--red);
  color: #fff;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border: 14px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.newsletter .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}
.newsletter h4 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.05;
  margin: 8px 0 10px;
  text-transform: uppercase;
}
.newsletter p { font-size: 13px; line-height: 1.4; margin: 0 0 12px; opacity: 0.92; }
.newsletter form { display: flex; gap: 6px; }
.newsletter input {
  flex: 1;
  background: rgba(255,255,255,0.95);
  border: none;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
}
.newsletter input:focus { outline: 2px solid #fff; }
.newsletter button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  cursor: pointer;
}
.newsletter button:hover { background: #000; }
.newsletter .ok {
  font-family: var(--sans); font-size: 12px;
  padding: 10px 0; font-weight: 600;
}

/* Tag cloud */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
}
.tags a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Footer */
.foot {
  background: var(--ink);
  color: #C8C7C2;
  font-family: var(--sans);
  font-size: 13px;
  margin-top: 40px;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad) 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .foot-inner { grid-template-columns: 1fr 1fr; } }
.foot h5 {
  font-family: var(--display);
  font-size: 14px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.foot a:hover { color: #fff; }
.foot .brand img { height: 50px; filter: invert(1) hue-rotate(180deg) saturate(1.2); }
.foot .brand p { font-size: 12px; line-height: 1.5; margin: 14px 0 0; max-width: 280px; color: #9A9994; }
.foot-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 16px var(--pad);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8B8B86;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Article modal */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 200;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  animation: fade 0.18s ease-out;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  max-width: 760px;
  width: 100%;
  border: 1px solid var(--line);
  position: relative;
  animation: rise 0.22s cubic-bezier(.2,.7,.3,1);
}
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal .x {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none; background: rgba(0,0,0,0.5); color: #fff;
  cursor: pointer; font-size: 18px; z-index: 2;
}
.modal .hero-img {
  aspect-ratio: 16/9;
  background: var(--paper-3);
  position: relative;
}
.modal .hero-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,0.04) 14px 15px),
    linear-gradient(160deg, var(--ph1, #d8d2c4), var(--ph2, #b8b0a0));
}
.modal .body { padding: 24px 32px 32px; }
.modal .kicker { margin-top: 0; }
.modal h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.04;
  margin: 0 0 12px;
  text-wrap: balance;
}
.modal .deck {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.modal .meta {
  display: flex; gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.modal .meta b { color: var(--ink); }
.modal p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.modal p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 64px;
  float: left;
  line-height: 0.9;
  padding: 6px 10px 0 0;
  color: var(--red);
}
.modal .share {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 22px 0 8px;
}
.modal .share .share-label {
  font-family: var(--sans); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-right: 4px;
}
.modal .share a {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 14px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; cursor: pointer;
  background: transparent; line-height: 1;
}
.modal .share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal .share .share-btn.fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.modal .share .share-btn.tw:hover { background: #000; border-color: #000; color: #fff; }
.modal .share .share-btn.wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.modal .share .share-full {
  margin-left: auto;
  background: var(--red); border-color: var(--red); color: #fff;
}
.modal .share .share-full:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 560px) {
  .modal .share .share-full { margin-left: 0; width: 100%; justify-content: center; }
}

/* Search modal */
.search-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 250;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 80px 20px;
  animation: fade 0.15s;
}
.search-box {
  width: 100%;
  max-width: 640px;
}
.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  color: #fff;
  font-family: var(--display);
  font-size: 38px;
  padding: 8px 0 14px;
  outline: none;
}
.search-box input::placeholder { color: rgba(255,255,255,0.4); }
.search-box .hint {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
}
.search-box .trend {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px;
}
.search-box .trend a {
  color: #fff; padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  font-family: var(--sans); font-size: 13px;
  cursor: pointer;
}
.search-box .trend a:hover { background: var(--red); border-color: var(--red); }
.search-box .close-s {
  position: absolute; top: 24px; right: 24px;
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 40px; height: 40px;
  cursor: pointer; font-size: 18px;
}

/* Read indicator */
.read-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; background: var(--red);
  z-index: 300;
  transition: width 0.1s;
}
