/* Harks theme: original colours. Load AFTER furgarden.css. */
/* Readability (all themes): larger small print, less empty header */
.scene { min-height: 180px; padding: 22px 18px 18px; }
.thread { padding: 10px 0; }
.thread-title { font-size: 19px; }
.thread-meta { font-size: 13px; }
.thread-last { font-size: 12.5px; margin-top: 3px; }
.tag { font-size: 11px; }

.scene-split .wordmark { z-index: auto; justify-self: start; -webkit-text-stroke-width: 11px; }
.scene-split .wordmark::before { left: -14px; top: -8px; width: 34px; height: 18px; }
.usercard { justify-self: end; background: var(--paper-2); border: var(--bw) solid var(--wood-edge); border-radius: var(--r-card); box-shadow: 0 var(--lift) 0 var(--wood-edge); }
.usercard .player, .usercard .walletcard { box-sizing: border-box; justify-self: stretch; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 860px) { .scene.scene-split { justify-items: center; } .scene-split .wordmark, .usercard { justify-self: center; } .scene-split .wordmark { -webkit-text-stroke-width: 9px; } }
/* No banner art: logo and card sit directly on the page background */
.scene.scene-split { min-height: 0; padding: 4px 0 18px; border: 0; border-radius: 0; background: none; overflow: visible; grid-template-columns: minmax(0, 1fr) auto; }
.scene-split .wordmark { margin-left: 18px; font-size: 112px; }
.scene-split .wordmark::after { content: none; }
.scene-split .usercard { display: flex; align-items: center; gap: 18px; width: auto; padding: 12px 18px; }
.scene-split .usercard .player { grid-template-columns: 70px auto; padding: 0 18px 0 0; border: 0; border-right: 2px solid var(--tan-line); }
.scene-split .usercard .walletcard { width: 170px; padding: 0; }
.scene-split + .cnav { border-radius: var(--r-card); }
@media (max-width: 860px) {
  .scene.scene-split { grid-template-columns: minmax(0, 1fr); padding: 8px 0 16px; gap: 16px; }
  .scene-split .wordmark { margin: 0; font-size: 76px; }
  .scene-split .usercard { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; max-width: 360px; box-sizing: border-box; }
  .scene-split .usercard .player { padding: 0 0 8px; border-right: 0; border-bottom: 2px solid var(--tan-line); }
  .scene-split .usercard .walletcard { width: 100%; }
}

/* Logo: Beachday in the header and footer, no leaf. Font file: fonts/beachday.otf (unmodified).
   If it fails to load, the logo falls back to Londrina Solid. */
@font-face { font-family: 'Harks Logo'; font-weight: 400 900; font-display: swap;
  src: url('/fonts/beachday.otf') format('opentype'); }
:root { --font-logo: 'Harks Logo', 'Londrina Solid', system-ui, sans-serif; }
.wordmark, .foot-logo { font-family: var(--font-logo); }
.wordmark::before, .scene-split .wordmark::before { content: none; }

/* Page background: lightened swirl pattern, tiled */
body { background: #a5dbec url('/img/harks-bg.png') repeat left top / 300px 300px; }

/* Logo: no outline or shadow */
.wordmark, .foot-logo, .scene-split .wordmark { -webkit-text-stroke: 0; text-shadow: none; }

/* Footer: small white card floating under the main box */
.foot { box-sizing: border-box; width: calc(100% - 40px); max-width: 1160px; margin: 22px auto 24px; padding: 12px 22px;
  background: #ffffff; color: var(--ink-soft); border: 2px solid #9fd0f7; border-radius: 18px; box-shadow: var(--shadow); }
.foot::before { content: none; }
.foot .foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 24px; max-width: none; margin: 0; }
.foot .foot-logo { margin: 0; font-size: 28px; }
.foot nav { margin: 0 auto; }
.foot .foot-links { margin: 0; gap: 4px 16px; font-size: 13px; }
.foot .foot-links a, .foot .foot-links .tbd { color: #165a96; }
.foot .copy { margin: 0; font-size: 12px; color: var(--ink-soft); }
.foot .build-ver { flex-basis: 100%; margin: 0; font-size: 10px; line-height: 1.2; text-align: right; color: var(--ink-soft); opacity: 1; }
@media (max-width: 860px) {
  .foot { width: calc(100% - 24px); }
  .foot .foot-in { flex-direction: column; gap: 8px; }
  .foot .foot-links { justify-content: center; }
  .foot .build-ver { flex-basis: auto; text-align: center; }
}

/* Header logo: white outline with a very soft lift so it shows on the pale background */
.wordmark, .scene-split .wordmark { -webkit-text-stroke: 10px #ffffff; paint-order: stroke fill; filter: drop-shadow(0 2px 2px rgba(22, 74, 124, .22)); }
@media (max-width: 860px) { .scene-split .wordmark { -webkit-text-stroke-width: 8px; } }

/* Footer: no logo; links on top, copyright and build number underneath */
.foot .foot-logo { display: none; }
.foot .foot-in { flex-direction: column; gap: 5px; text-align: center; }
.foot nav { margin: 0; }
.foot .foot-links { justify-content: center; }
.foot .build-ver { flex-basis: auto; text-align: center; }

/* Original colours: wood, cream paper, jungle green, orange */
body { background-color: #b9e5f1; }
.wordmark, .scene-split .wordmark { color: #ffa927; -webkit-text-stroke: 7px #6e3208; paint-order: stroke fill; filter: none; text-shadow: 0 4px 0 rgba(60, 25, 0, .2); }
@media (max-width: 860px) { .scene-split .wordmark { -webkit-text-stroke-width: 6px; } }
.foot { background: var(--paper-2); border-color: var(--tan-line); color: var(--ink-soft); }
.foot .foot-links a, .foot .foot-links .tbd { color: var(--brown); }

/* Brown swapped for the original blue-button blues */
:root {
  --wood-1:#48afee; --wood-2:#2f93e2; --wood-3:#2579c4; --wood-edge:#1b5aa8;
  --paper:#eef8ff; --paper-2:#ffffff; --tan-line:#c7e1f3;
  --ink:#17324f; --ink-soft:#4b6783; --brown:#17599a; --shadow:0 8px 18px rgba(22,74,124,.14);
}
/* Flat white main box: no torn paper or rivets */
.sheet { filter: none; }
.sheet::before, .sheet::after { display: none; }
.panel { clip-path: none; background: #ffffff; border: 2px solid #9fd0f7; border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.wordmark, .scene-split .wordmark { -webkit-text-stroke-color: #1b5aa8; text-shadow: 0 4px 0 rgba(22, 74, 124, .2); }
.foot { background: #ffffff; border-color: #9fd0f7; }

/* Menu aligned left (the clock now lives in the footer) */
.cnav { grid-template-columns: minmax(0, 1fr) auto; padding-left: 10px; padding-right: 14px; }
.cnav .navlinks { justify-content: flex-start; }
@media (max-width: 860px) {
  .cnav { grid-template-columns: minmax(0, 1fr); padding: 8px 10px; }
  .cnav .tools { justify-content: flex-start; }
}
/* Footer clock */
.foot .foot-clock { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 800; color: var(--brown); }

/* Orange message + notification buttons */
.cnav .tools .btn-round { --c:#ffb840; --shade:#f58a12; --edge:#a14d05; }
/* Centre the buttons in the bar: .tools also styles the search rows on other pages, which gave it a 12px
   bottom margin that pushed these up. */
.cnav .tools { margin: 0; }

/* Menu dividers belong to the tabs, so they always line up with them */
.cnav { background: linear-gradient(var(--wood-1) 0 55%, var(--wood-2) 55% 100%); }
@media (min-width: 861px) {
  .cnav { padding-top: 0; padding-bottom: 0; padding-left: 0; min-height: 64px; }
  .cnav .navlinks { align-self: stretch; align-items: stretch; gap: 0; }
  .cnav .navlinks > li { display: flex; align-items: center; justify-content: center; padding: 0 6px; border-right: 2px solid rgba(15, 60, 115, .22); }
  .cnav .navlinks > li > .menu { top: calc(100% + 10px); }
}

/* The signed-out nav bar: just the blue bar, no menus or buttons. */
.cnav.cnav-empty { min-height: 44px; }
@media (min-width: 861px) { .cnav.cnav-empty { min-height: 64px; } }
