:root { --c: #0f766e; }
  * { box-sizing: border-box; margin: 0; }
  body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
         background: #f5f3ee; color: #1c1917; min-height: 100vh;
         display: flex; flex-direction: column; align-items: center; padding: 28px 18px; }
  .card { width: 100%; max-width: 420px; }
  .lang { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 18px; }
  .lang button { border: 1px solid #d6d3d1; background: #fff; border-radius: 20px;
                 padding: 5px 12px; font-size: 13px; cursor: pointer; }
  .lang button.on { background: var(--c); color: #fff; border-color: var(--c); }
  .logo { width: 72px; height: 72px; border-radius: 50%; background: var(--c); color: #fff;
          display: flex; align-items: center; justify-content: center; font-size: 30px;
          font-weight: 700; margin: 0 auto 14px; }
  h1 { text-align: center; font-size: 24px; }
  .tag { text-align: center; color: #78716c; margin: 6px 0 26px; }
  a.btn { display: flex; align-items: center; gap: 14px; background: #fff; color: inherit;
          text-decoration: none; padding: 16px 18px; border-radius: 14px; margin-bottom: 12px;
          font-size: 17px; font-weight: 600; border: 2px solid transparent;
          box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .1s; }
  a.btn:active { transform: scale(.98); border-color: var(--c); }
  a.btn .i { font-size: 24px; }
  a.btn .arrow { margin-left: auto; color: var(--c); }
  body.dark { background: #0c0a09; color: #fafaf9; }
  body.dark a.btn { background: #1c1917; box-shadow: none; border-color: #292524; }
  body.dark .tag, body.dark footer { color: #a8a29e; }
  body.dark .lang button { background: #1c1917; color: #fafaf9; border-color: #44403c; }
  body.dark .lang button.on { background: var(--c); border-color: var(--c); }
  .today { background: var(--c); color: #fff; border-radius: 16px; padding: 18px 20px; margin-bottom: 18px; }
  .today .h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
  .today .h b { font-size: 18px; }
  .today .d { font-size: 12px; opacity: .85; }
  .today ul { list-style: none; padding: 0; }
  .today li { padding: 6px 0; border-top: 1px solid rgba(255,255,255,.25); font-size: 15px; }
  .today .ct { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin: 12px 0 2px; opacity: .95; }
  .today .ch { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .8; font-size: 12px; }
  .today ul li { padding: 5px 0 5px 12px; position: relative; }
  .today ul li::before { content: "•"; position: absolute; left: 0; }
  .today .ft { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; flex-wrap: wrap; gap: 6px; }
  .today .p { font-weight: 700; font-size: 20px; }
  .today .hr { font-size: 13px; opacity: .9; }
  .today .s { display: inline-block; background: rgba(0,0,0,.25); font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-left: 6px; }
  /* ---- brand theme (e.g. Dock Bilbao) ---- */
  body.themed { background: var(--bg); color: var(--tx); position: relative; overflow-x: hidden; }
  body.themed::before { content: ""; position: fixed; top: 0; right: 0; width: 46vw; height: 100vh;
        background: var(--grey); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .35; z-index: -1; }
  body.themed::after { content: ""; position: fixed; top: 0; right: 0; width: 34vw; height: 30vh;
        background: var(--red); clip-path: polygon(40% 0, 100% 0, 100% 100%); z-index: -1; }
  body.themed .card { position: relative; z-index: 1; }
  body.themed .wm { font-family: Georgia, "Times New Roman", serif; color: var(--sand); font-size: 76px;
        line-height: 1; letter-spacing: -2px; margin: 4px 0 6px; }
  body.themed .tag { text-align: left; color: var(--tx); opacity: .85; font-family: Georgia, serif; margin-bottom: 22px; }
  body.themed .lang button { background: transparent; color: var(--tx); border-color: rgba(255,255,255,.35); }
  body.themed .lang button.on { background: var(--sand); color: var(--bg); border-color: var(--sand); }
  body.themed .today { background: var(--red); border-radius: 4px; }
  body.themed a.btn { background: var(--sand); color: var(--bg); border-radius: 4px; box-shadow: none; }
  body.themed a.btn .arrow { color: var(--red); }
  body.themed a.btn:active { border-color: var(--red); }
  body.themed footer, body.themed footer a { color: var(--sand); }
  .empty { text-align: center; color: #a8a29e; padding: 30px 0; }
  footer { margin-top: auto; padding-top: 30px; font-size: 12px; color: #a8a29e; text-align: center; }
  footer a { color: inherit; }
