/* ==========================================================================
   Porchlink theme: Zine (indie comic artist)
   1. Colours  2. Misregistered riso title (signature)  3. Sticker links  4. Details
   ========================================================================== */
/* 1. Colours */
[data-theme="zine"] {
  --bg: #F1EDE4; --surface: #FFFFFF; --ink: #1D2346; --muted: #4F5478;
  --accent: #3255A4; --accent-ink: #ffffff; --line: #1D2346; --focus: #E2387F;
  --pink: #FF5FA2; --blue: #3255A4; --yellow: #FFE45C; --ink-zine: #1D2346; --dots: rgba(255, 95, 162, .35);
  --font-display: 'Bagel Fat One', system-ui, sans-serif;
  --radius: 10px; --radius-card: 14px;
}
[data-theme="zine"][data-mode="dark"] {
  --bg: #1B1F3B; --surface: #262B52; --ink: #F6F1E7; --muted: #C5C3DA;
  --accent: #FFE45C; --accent-ink: #1B1F3B; --line: #F6F1E7; --focus: #FFE45C;
  --blue: #6F8FE0; --dots: rgba(255, 228, 92, .25);
}
/* 2. Signature: two-colour misregistered name, nudges back into register on load */
[data-theme="zine"] .pl-name {
  font-weight: 400; font-size: clamp(2.4rem, 12vw, 3.4rem); line-height: 1; color: var(--blue);
  text-shadow: 3px 3px 0 var(--pink);
}
[data-theme="zine"].pl-ready .pl-name { animation: zn-reg .9s .2s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes zn-reg { from { text-shadow: 12px -6px 0 var(--pink); } to { text-shadow: 3px 3px 0 var(--pink); } }
[data-theme="zine"] .pl-feature-title, [data-theme="zine"] .pl-info h2, [data-theme="zine"] .pl-form h2 { font-weight: 400; font-size: 1.35rem; color: var(--blue); }
[data-theme="zine"][data-mode="dark"] .pl-feature-title, [data-theme="zine"][data-mode="dark"] .pl-form h2 { color: var(--yellow); }
[data-theme="zine"] .pl-bg svg { width: 100%; height: 100%; }
/* 3. Links: stickers with a hard offset shadow, alternately tilted */
[data-theme="zine"] .pl-link { border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--pink); }
[data-theme="zine"] li:nth-child(odd) > .pl-link { transform: rotate(-.7deg); }
[data-theme="zine"] li:nth-child(even) > .pl-link { transform: rotate(.6deg); }
[data-theme="zine"] .pl-link:hover { transform: rotate(0) translate(-2px, -2px) !important; box-shadow: 6px 6px 0 var(--pink); }
[data-theme="zine"] .pl-link--primary { border-color: var(--line); }
/* 4. Details */
[data-theme="zine"] .pl-avatar { border: 3px solid var(--line); box-shadow: 4px 4px 0 var(--blue); }
[data-theme="zine"] .pl-feature, [data-theme="zine"] .pl-form, [data-theme="zine"] .pl-group { border: 2px solid var(--line); }
[data-theme="zine"] .pl-code { border-color: var(--pink); background: var(--yellow); color: #1D2346; }
[data-theme="zine"] .pl-code-label { color: #1D2346; }
[data-theme="zine"] .pl-code button { background: #1D2346; color: #fff; }
