/* Podsmith Pro additions — sits on top of styles.css */
.pro-tag { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 999px; }
.link-btn { border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }
.wide-btn { width: 100%; }

/* Header */
.pro-pill { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pro-pill.warn { color: #C92A2A; background: rgba(224, 49, 49, .1); }
.acct { position: relative; }
.acct-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; }
.acct-menu { position: absolute; right: 0; top: 40px; z-index: 50; width: 250px; background: var(--surface); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.16); padding: 8px; }
.acct-who { padding: 8px 10px 6px; display: flex; flex-direction: column; }
.acct-who b { font-size: 14px; }
.acct-who span { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.acct-plan { margin: 2px 10px 8px; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.acct-item { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--ink); cursor: pointer; text-decoration: none; }
.acct-item:hover { background: var(--bg); }

/* Intro & outro */
.io { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-top: 16px; }
.io-head h3 { margin: 0; font-size: 15px; letter-spacing: -0.01em; }
.io-head p { margin: 4px 0 14px; font-size: 13.5px; color: var(--muted); }
.io-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.io-slot { background: var(--bg); border-radius: 12px; padding: 12px; min-width: 0; transition: opacity .2s; }
.io-slot.off .io-meta, .io-slot.off .io-play { opacity: .45; }
.io-label { font-size: 12.5px; font-weight: 600; margin-bottom: 8px; }
.io-label em { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.io-empty { width: 100%; border: 1.5px dashed var(--line); background: var(--surface); border-radius: 10px; padding: 14px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 14px; transition: border-color .15s, color .15s; }
.io-empty:hover { border-color: var(--accent); color: var(--ink); }
.io-plus { color: var(--accent); font-weight: 700; margin-right: 4px; }
.io-full { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "play meta inc" "act act act"; gap: 8px 10px; align-items: center; }
.io-play { grid-area: play; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.io-play .pi { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.io-play.playing { color: var(--accent); }
.io-play.playing .pi { width: 9px; height: 11px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; margin: 0; }
.io-meta { grid-area: meta; min-width: 0; display: flex; flex-direction: column; }
.io-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.io-dur { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.io-include { grid-area: inc; cursor: pointer; display: inline-flex; position: relative; }
.io-include .switch { display: inline-block; }
.io-include input { position: absolute; opacity: 0; pointer-events: none; }
.io-include input:checked + .switch { background: var(--accent); }
.io-include input:checked + .switch::after { transform: translateX(16px); }
.io-actions { grid-area: act; display: flex; gap: 4px; }
.io-actions button { border: 0; background: none; color: var(--muted); font-size: 12.5px; cursor: pointer; padding: 3px 6px; border-radius: 6px; }
.io-actions button:hover { color: var(--ink); background: var(--surface); }
.io-busy { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; padding: 12px 4px; }

/* Done screen: part levels + publish */
.parts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin: -6px auto 20px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.parts-k { font-weight: 600; color: var(--ink); }
.part i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 6px; vertical-align: 1px; }
.part b { color: var(--ink); font-weight: 600; }
.done { max-width: 520px; }
.publish { text-align: left; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin: 28px 0 8px; }
.pub-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pub-title { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.pub-note { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.pub-show { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.pub-show b { color: var(--ink); }
#pub-form .field { margin-bottom: 12px; }
.field textarea { background: var(--bg); border: 1.5px solid transparent; border-radius: 10px; padding: 9px 11px; color: var(--ink); font: inherit; font-size: 14px; width: 100%; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--accent); }
.pub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; border-radius: 8px; padding: 8px 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); font-weight: 600; }
.pub-hint { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.pub-progress { margin-top: 14px; }
.pub-progress .stage { text-align: center; }
.pub-error { color: #C92A2A; background: rgba(224, 49, 49, .08); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin: 12px 0 0; }
.pub-done { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.pub-done b { display: block; }
.pub-done span { color: var(--muted); font-size: 13.5px; }
.pub-done .btn { margin-left: auto; flex: none; }
.pub-check { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; }

/* Paywall */
body.gated main { filter: blur(3px); pointer-events: none; user-select: none; }
.gate { position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 70%, transparent); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.gate-card { width: min(460px, 100%); background: var(--surface); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.18); padding: 30px 28px 22px; text-align: center; }
.gate-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.gate h2 { margin: 0 0 6px; }
.gate-sub { color: var(--muted); margin: 0 0 14px; }
.gate-list { text-align: left; margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.gate-list li { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.gate-list b { color: var(--ink); display: block; margin-bottom: 2px; }
.gate-price { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.gate-price b { font-size: 30px; color: var(--ink); letter-spacing: -0.02em; }
.gate-fine { font-size: 12.5px; color: var(--faint); margin: 10px 0 6px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(10, 10, 12, .45); display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; width: min(440px, 100%); background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-card h3 { margin: 0 0 12px; font-size: 19px; letter-spacing: -0.01em; }
.modal-x { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg); color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
.bz-steps { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
.bz-steps b { color: var(--ink); }
.bz-steps a { color: var(--accent); }
.modal .field { margin-bottom: 12px; }
.bz-fine { font-size: 12px; color: var(--faint); margin: 10px 0 0; text-align: center; }
.bz-shows { display: grid; gap: 8px; }
.bz-show { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; text-align: left; font-weight: 600; font-size: 14px; color: var(--ink); }
.bz-show:hover { border-color: var(--accent); }
.bz-show img, .bz-art { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--bg); flex: none; }
.bz-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .io-grid { grid-template-columns: 1fr; }
  .pub-row { grid-template-columns: 1fr 1fr; }
  .seg button { font-size: 12.5px; padding: 8px 2px; }
  .top-right { gap: 8px; }
  .help-link { display: none; }
}
