/* Drama Space theme on top of base.css (PubMonex site template). */
:root {
  --ink: #1d1622;
  --ink-2: #5d5266;
  --paper: #faf6f8;
  --surface: #ffffff;
  --line: #ece2e8;
  --pitch: #c2255c;       /* accent: links, labels */
  --pitch-deep: #3b1530;  /* plum: header, footer */
  --flood: #ff8fb3;       /* highlight on dark */
  --gold: #e8a317;
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
body { font-size: 18.5px; }
h1 { text-transform: none; letter-spacing: -.02em; font-weight: 800; line-height: 1.05; }
.article h2 { text-transform: none; font-size: 30px; letter-spacing: -.01em; }
.site-head { background: var(--pitch-deep); }
.logo { text-transform: none; font-weight: 800; letter-spacing: -.01em; }
.logo i { background: var(--flood); color: var(--pitch-deep); }
.logo b { color: var(--flood); font-weight: 800; }
.site-nav a[aria-current] { color: var(--flood); }
.site-foot { background: var(--pitch-deep); color: #cdb9c8; }
.site-foot a { color: #f3dbe7; }
.top-ad-wrap { background: #f3ebf0; }

/* Article header art */
.art-hero { aspect-ratio: 16 / 7; border-radius: 14px; margin: 0 0 22px; display: grid; place-items: end start; padding: 20px 22px; color: #fff; font: 700 15px var(--body); letter-spacing: .12em; text-transform: uppercase; position: relative; overflow: hidden; max-width: 100%; }
.art-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
.art-hero span { position: relative; z-index: 1; }
.tone-k { background: radial-gradient(circle at 20% 30%, #ff8fb3, transparent 45%), radial-gradient(circle at 80% 70%, #6c5ce7, transparent 50%), #2a1036; }
.tone-c { background: radial-gradient(circle at 75% 25%, #f7b267, transparent 45%), radial-gradient(circle at 20% 80%, #c2255c, transparent 55%), #3a0d14; }
.tone-ai { background: radial-gradient(circle at 30% 70%, #4dd4ff, transparent 45%), radial-gradient(circle at 80% 20%, #ff5dc8, transparent 45%), #0f1030; }
.tone-app { background: radial-gradient(circle at 70% 70%, #ffd166, transparent 45%), radial-gradient(circle at 25% 25%, #ef476f, transparent 50%), #22102a; }

/* Lists of titles inside articles */
.pick { border-left: 3px solid var(--pitch); padding: 2px 0 2px 16px; margin: 22px 0; }
.pick h3 { margin: 0 0 2px; font-family: var(--display); font-size: 22px; }
.pick .meta { font-size: 14.5px; color: var(--ink-2); margin: 0 0 6px; }
.pick p { margin: 0; }
.note { background: #f3ebf0; border-radius: 10px; padding: 12px 16px; font-size: 15.5px; color: var(--ink-2); margin: 30px 0 0; }

/* Home */
.home-intro { margin: 0 0 26px; }
.home-intro h1 { margin-bottom: 8px; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 0; }
.card .art-hero { aspect-ratio: 16 / 9; border-radius: 0; margin: 0; }
.card .txt { padding: 14px 16px 18px; }
.card .cat { font: 700 12.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--pitch); }
.card b { display: block; font: 800 22px/1.15 var(--display); margin: 4px 0 6px; letter-spacing: -.01em; }
.card span.d { font-size: 15.5px; color: var(--ink-2); }
.card.feature { grid-column: 1 / -1; }
@media (min-width: 760px) { .card.feature { flex-direction: row; } .card.feature .art-hero { flex: 1.2; aspect-ratio: auto; min-height: 260px; } .card.feature .txt { flex: 1; align-self: center; padding: 22px 26px; } .card.feature b { font-size: 30px; } }

/* Static pages */
.page h1 { font-size: clamp(34px, 5vw, 48px); }
.page h2 { font-size: 24px; margin-top: 32px; }

/* Ad log toggle (only with ?pmx_debug=1) */
.pmxlog-toggle { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 1002; font: 600 12px var(--body); border: 0; border-radius: 999px; padding: 6px 12px; background: #0c2d48; color: #fff; cursor: pointer; }
.pmxlog-toggle span { display: inline-block; min-width: 1.6em; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: #f97316; }

/* Slot labels (position, size, no fill) only in debug mode */
.pmx-ad[data-size]::after, .pmx-ad.is-empty::after { display: none; }
.pmx-debug .pmx-ad[data-size]::after, .pmx-debug .pmx-ad.is-empty::after { display: block; }
