/* ==========================================================================
   Porchlink theme: Tideline (open-water swim coach)
   1. Colours  2. Type  3. Drifting waves (signature motion)  4. Links  5. Details
   ========================================================================== */
/* 1. Colours */
[data-theme="tideline"] {
  --bg: #DDEFEA; --surface: #F4FBF9; --ink: #0E3B43; --muted: #3F6A70;
  --accent: #E8552A; --accent-ink: #ffffff; --line: rgba(14, 59, 67, .18); --focus: #0E3B43;
  --sea: #BFE3DE; --sea-2: #7FC4C0; --sea-3: #2E8C93; --wave-1: rgba(46, 140, 147, .22); --wave-2: rgba(46, 140, 147, .35);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --radius: 999px; --radius-card: 24px;
}
[data-theme="tideline"][data-mode="dark"] {
  --bg: #07242A; --surface: #0E3640; --ink: #DDEFEA; --muted: #93BDBF;
  --accent: #FF7A4A; --accent-ink: #07242A; --line: rgba(221, 239, 234, .16); --focus: #FF7A4A;
  --sea: #0E3640; --sea-2: #1C5D66; --sea-3: #2E8C93; --wave-1: rgba(46, 140, 147, .2); --wave-2: rgba(46, 140, 147, .32);
}
/* 2. Type */
[data-theme="tideline"] .pl-name { font-weight: 800; letter-spacing: -.03em; font-size: clamp(2rem, 9vw, 2.6rem); }
/* 3. Waves: bottom of the screen, drifting sideways */
[data-theme="tideline"] body { position: relative; }
[data-theme="tideline"] .pl-bg { position: absolute; top: auto; height: 220px; }
[data-theme="tideline"] .pl-bg-waves { position: absolute; bottom: 0; left: 0; width: 200% !important; height: 220px !important; }
[data-theme="tideline"] .tl-waves { animation: tl-drift 14s linear infinite; }
@keyframes tl-drift { to { transform: translateX(-300px); } }
/* 4. Links: rounded pills, buoy-orange primary */
[data-theme="tideline"] .pl-link { padding-left: 22px; }
[data-theme="tideline"] .pl-link:hover { background: var(--ink); color: var(--bg); }
[data-theme="tideline"] .pl-link:hover .pl-link-sub { color: inherit; opacity: .8; }
[data-theme="tideline"] .pl-link--primary:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.05); }
/* 5. Details */
[data-theme="tideline"] .pl-avatar { border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--sea-3); }
[data-theme="tideline"] .pl-info-list span:last-child { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
[data-theme="tideline"] .pl-page { padding-bottom: 140px; }
