/* Daily Dose — Power Pill styles */

@font-face { font-family: 'Dela Gothic One'; src: url('/fonts/dela-gothic-one-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --ink: #111111;
  --muted: #555555;
  --line: #D9D9D9;
  --paper: #FFFFFF;
  --yellow: #FFE600;
  --red: #FF2D2D;
  --red-deep: #D9141C;
  --red-text: #C8101C;
  --display: 'Dela Gothic One', sans-serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: 0.55; cursor: default; }
a { color: var(--ink); }
.hidden { display: none !important; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 18px; min-height: 100vh; }
.narrow { max-width: 460px; }

/* Logo pill */
.brand { display: flex; align-items: center; gap: 10px; }
.brand h1, .brand span { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.3px; }
.pill { position: relative; width: 44px; height: 20px; display: flex; transform: rotate(-30deg); filter: drop-shadow(2px 3px 0 var(--ink)); flex-shrink: 0; }
.pill::before, .pill::after { content: ''; flex: 1; }
.pill::before { border-radius: 99px 0 0 99px; background: radial-gradient(circle at 35% 30%, #FF8A80 0%, var(--red) 45%, var(--red-text) 100%); }
.pill::after { border-radius: 0 99px 99px 0; background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #EDEDF2 55%, #BFC0CC 100%); }
.pill-shine { position: absolute; left: 6px; top: 3px; width: 26px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.75); }
.pill.big { width: 170px; height: 78px; filter: drop-shadow(5px 7px 0 var(--ink)); }
.pill.big .pill-shine { left: 18px; top: 10px; width: 104px; height: 12px; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Buttons */
.btn-primary { min-height: 52px; border-radius: 99px; border: none; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 6px 0 22px; text-decoration: none; }
.btn-primary .dot { width: 40px; height: 40px; border-radius: 99px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.btn-outline { min-height: 44px; border-radius: 99px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; padding: 0 18px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-square { width: 44px; height: 44px; border-radius: 12px; border: none; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-link { background: none; border: none; padding: 8px 0; font-size: 14px; font-weight: 700; text-decoration: underline; color: var(--ink); }

/* Cards */
.hero { position: relative; background: var(--yellow); border-radius: 28px; padding: 22px 20px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.hero .pill.big { position: absolute; right: -18px; top: 8px; transform: rotate(-28deg); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 400; line-height: 0.95; letter-spacing: -1px; margin: 0; }
.panel { border: 2.5px solid var(--ink); border-radius: 24px; padding: 18px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.notice { border-radius: 18px; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.notice.error { background: #FFE3E3; color: #8A0A10; }
.notice.ok { background: #E4F8EE; color: #0C5A35; }

/* Tables */
.rows { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; font-size: 14px; }
.rows dt, .rows dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--muted); }
.rows dd { font-weight: 700; text-align: right; }
.rows dt:first-of-type, .rows dd:first-of-type { border-top: 1.5px solid var(--ink); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 1.5px solid var(--ink); }
.list .meta { font-size: 13px; color: var(--muted); }

.codes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 16px; font-weight: 700; }
.codes li { background: #F4F4F4; border-radius: 10px; padding: 8px 10px; text-align: center; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--ink); padding: 0 14px; font: inherit; font-size: 16px; font-weight: 500; }

/* Login / lock style full-yellow screens */
.screen-yellow { background: var(--yellow); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.spacer { flex: 1; }

h2.section { margin: 8px 0 0; font-family: var(--display); font-weight: 400; font-size: 22px; }

@media (min-width: 900px) {
  .wrap { padding: 36px 40px; }
}

/* Page-specific bits */
.login-title { font-size: 56px; }
.setup-title { font-size: 40px; position: relative; }
.page-title { font-size: 44px; }
.hero-number { font-size: 76px; position: relative; }
.hero-sub { font-weight: 700; font-size: 15px; position: relative; }
.recovery-summary { cursor: pointer; font-weight: 700; }
.recovery-form { margin-top: 14px; }
.check span { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.check input { width: 22px; height: 22px; min-height: 0; }
.meta-text { margin: 0; font-size: 13px; color: var(--muted); }

/* Channels page */
.intro { margin: 0; font-size: 15px; line-height: 1.4; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 40px; border-radius: 99px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab .count { font-size: 12px; background: var(--yellow); color: var(--ink); border-radius: 99px; padding: 1px 7px; }
.channel-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.channel { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 99px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 18px; }
.avatar.c0 { background: #FFE600; } .avatar.c1 { background: #FF2D2D; } .avatar.c2 { background: #2F5BFF; color: #fff; } .avatar.c3 { background: #19C37D; } .avatar.c4 { background: #FF7A1A; }
.channel-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.channel-info strong { font-size: 15px; overflow-wrap: anywhere; }
.channel-info .meta { font-size: 12px; color: var(--muted); }
.hint { font-size: 12px; font-weight: 700; }
.hint.entertainment { color: #0C5A35; }
.hint.ignored { color: var(--red-text); }
.channel-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 99px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn.active { background: var(--ink); color: #fff; }
.accept-text { margin: 0; font-size: 14px; }
.home-links { display: flex; flex-wrap: wrap; gap: 8px; }
