/*
 * litecoinhorizon.com theme for webmail.litecoinhorizon.com.
 * Source: the live home page and its style.css and css/home.css (2026-11-29) and the site repo
 * (Website/style.css, css/home.css, css/checkout.css, partials/nav.php and footer.php). The site
 * is dark by default ("ash and ember": warm charcoal surfaces, a gold to ember flame for the main
 * action, Litecoin blue only in the logo), so this is a dark theme. The webmail has no site header
 * or nav (owner, 2026-10-22): the mail bar takes the site header's surface and carries the site's
 * logo; the footer is the site's; forms follow the site's checkout fields and the buttons its
 * flame and outlined pills. Inter is self-hosted from the site's own files (SIL OFL 1.1, see
 * assets/fonts/OFL.txt). Everything is scoped to the footer or the webmail's own classes. HTML
 * mail is shown on a warm white plate (the site's light surface), because sanitised mail keeps no
 * colours of its own and its images expect a light page.
 */

/* The site's two Inter files: one variable font, weights 100 to 900. The latin-ext file is the
   site's subset and holds only U+0141, U+0142 and U+20BF; the ranges below match the files. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/themes/litecoinhorizon.com/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/themes/litecoinhorizon.com/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0141-0142, U+20BF;
}

:root {
  /* the site's palette: the ash ramp, the ember to gold accent, the light surface */
  --lh-ink-950: #0b0a10;
  --lh-ink-900: #141017;
  --lh-ink-850: #1a141d;
  --lh-ink-800: #221a26;
  --lh-ink-700: #2c2231;
  --lh-ink-600: #3a2e40;
  --lh-ink-400: #6e5c76;
  --lh-ink-300: #b9aab5;
  --lh-ink-200: #d6cbd2;
  --lh-ink-100: #ebe4e9;
  --lh-white: #fffdf8;
  --lh-text: #f4f7fb;
  --lh-ember-500: #e8481c;
  --lh-ember-300: #ff8c3a;
  --lh-gold: #f4b735;
  --lh-gold-bright: #ffd774;
  --lh-ember-deep: #9a2d0c;
  --lh-green: #16a34a;
  /* light-theme text, used only on the HTML mail plate */
  --lh-light-text: #141017;
  --lh-light-muted: #6b5f72;
  /* notices: 12% of ember, green or gold over the card surface */
  --lh-error-bg: #331a1d;
  --lh-ok-bg: #1a2522;
  --lh-draft-bg: #30241f;
  --lh-flame: linear-gradient(0deg, #e8481c 0%, #ff6a1f 35%, #f4b735 70%, #ffd774 100%);
  --lh-shadow-2: 0 4px 10px -2px rgba(0, 0, 0, .65);
  --lh-shadow-3: 0 16px 32px -12px rgba(0, 0, 0, .75);
  --lh-ease: .22s cubic-bezier(.16, 1, .3, 1);

  /* the webmail's tokens, set from it */
  --accent: var(--lh-gold);
  --on-accent: var(--lh-ink-950);
  --bg: var(--lh-ink-950);
  --card: var(--lh-ink-850);
  --text: var(--lh-text);
  --muted: var(--lh-ink-300);
  --line: var(--lh-ink-600);
  --error-bg: var(--lh-error-bg);
  --error-text: var(--lh-ember-300);
  --ok-bg: var(--lh-ok-bg);
  --ok-text: var(--lh-text);
  --draft-bg: var(--lh-draft-bg);
  --selected-bg: var(--lh-ink-700);
  --row-hover-bg: var(--lh-ink-800);
  --folders-bg: var(--lh-ink-900);
  --folder-hover-bg: var(--lh-ink-800);
  --folder-current-bg: var(--lh-ink-700);
  --pane-bg: var(--lh-ink-850);
  --mailbar-bg: var(--lh-ink-850);
  --mailbar-text: var(--lh-text);
  --mailbar-brand: var(--lh-text);
  --mailbar-line: var(--lh-ink-600);
  --link: var(--lh-gold-bright);
  --focus: var(--lh-gold-bright);

  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);

  /* 6px fields, 16px cards, pill buttons and tags */
  --radius: 6px;
  --radius-card: 16px;
  --radius-tag: 999px;
  --radius-pill: 999px;

  --page-pad: clamp(16px, 4vw, 40px);
  --card-pad: 28px;
  --control-pad-y: 12px;
  --control-pad-x: 12px;
  --btn-pad-y: 8px;
  --btn-pad-x: 16px;
  --pane-pad: 14px;
  --mailbar-height: 64px;
  --mailbar-pad-x: clamp(16px, 3vw, 40px);
  --mailbar-gap: 16px;
  --folder-pad-y: 8px;

  /* dark scrollbars, select lists, file and check inputs */
  color-scheme: dark;
}

body {
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------ site footer */
/* The site's footer: the copyright line, the legal links in small tracked capitals, the X link. */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--lh-ink-600);
  background: var(--lh-ink-850);
  color: var(--lh-ink-300);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer .footer-legal a { color: var(--lh-ink-300); text-decoration: none; }
.site-footer .footer-legal a:hover { color: var(--lh-gold-bright); }
.site-footer .footer-socials { display: flex; gap: 15px; font-size: 16px; font-weight: 800; }
.site-footer .footer-socials a { color: var(--lh-text); text-decoration: none; }
.site-footer .footer-socials a:hover { color: var(--lh-gold-bright); }
.site-footer a:focus-visible { outline: 3px solid var(--lh-gold-bright); outline-offset: 2px; border-radius: 6px; }

@media (max-width: 768px) {
  .site-footer { flex-direction: column; gap: 12px; padding: 20px 16px; text-align: center; }
  .site-footer .footer-legal { justify-content: center; }
}

/* ------------------------------------------------------------ headings */
/* The site's page titles: heavy Inter capitals with tight tracking. Subjects keep their case. */

.signin-title,
.compose-title,
.account-title,
.agent-title {
  color: var(--lh-text);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-transform: uppercase;
}
.message-subject,
.signin .card h2,
.account-page .card h2 { color: var(--lh-text); font-weight: 800; letter-spacing: -.01em; }

/* ------------------------------------------------------------ buttons and forms */
/* Secondary: an outlined pill that turns gold on hover. Main action: the flame (ember at the
   base, gold at the crown) under ash text in tracked capitals; it lifts on hover. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lh-ink-400);
  border-radius: 999px;
  background: transparent;
  color: var(--lh-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color var(--lh-ease), color var(--lh-ease), transform var(--lh-ease), box-shadow var(--lh-ease);
}
.btn:hover { border-color: var(--lh-gold-bright); color: var(--lh-gold-bright); }
.btn:focus-visible { outline: 3px solid var(--lh-gold-bright); outline-offset: 2px; }
.btn-compose,
.btn-send {
  border-color: transparent;
  background: var(--lh-flame) border-box;
  color: var(--lh-ink-950);
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: var(--lh-shadow-2);
}
.btn-compose:hover,
.btn-send:hover {
  border-color: transparent;
  color: var(--lh-ink-950);
  filter: none;
  transform: translateY(-2px);
  box-shadow: var(--lh-shadow-3), 0 0 0 1px rgba(255, 215, 116, .7);
}
.btn-danger { border-color: var(--lh-ember-500); color: var(--lh-ember-300); }
.btn-danger:hover { border-color: var(--lh-ember-300); background: var(--lh-error-bg); color: var(--lh-ember-300); }

/* The full-width submit buttons (sign in, change password): the site's flame button. */
.signin button[type="submit"],
.account-form button[type="submit"] {
  min-height: 48px;
  margin-top: 24px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--lh-flame);
  color: var(--lh-ink-950);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: var(--lh-shadow-2);
  transition: transform var(--lh-ease), box-shadow var(--lh-ease);
}
.signin button[type="submit"]:hover,
.account-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--lh-shadow-3), 0 0 0 1px rgba(255, 215, 116, .7);
}
.signin button[type="submit"]:focus-visible,
.account-form button[type="submit"]:focus-visible { outline: 3px solid var(--lh-gold-bright); outline-offset: 2px; }

/* The site's checkout fields: a bold label, a 6px field one step darker than the card. */
.signin label,
.account-form label,
.compose label {
  margin: 18px 0 6px;
  color: var(--lh-ink-200);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.signin-form label[for="address"],
.account-form label[for="current"] { margin-top: 0; }
.signin input[type="email"],
.signin input[type="password"],
.account-form input[type="password"],
.compose input[type="text"],
.compose textarea,
.search input[type="search"],
.actions select {
  border: 1px solid var(--lh-ink-400);
  border-radius: 6px;
  background: var(--lh-ink-900);
  color: var(--lh-text);
  font-family: inherit;
  transition: border-color var(--lh-ease);
}
.signin input[type="email"],
.signin input[type="password"],
.account-form input[type="password"],
.compose input[type="text"],
.compose textarea { padding: 12px; }
.signin input::placeholder,
.compose input::placeholder,
.search input::placeholder { color: var(--lh-ink-300); opacity: 1; }
.signin input:hover,
.account-form input:hover,
.compose input[type="text"]:hover,
.compose textarea:hover,
.search input[type="search"]:hover,
.actions select:hover { border-color: var(--lh-ink-300); }
.signin input:focus,
.account-form input:focus,
.compose input:focus,
.compose textarea:focus,
.search input[type="search"]:focus,
.actions select:focus { outline: 3px solid var(--lh-gold-bright); outline-offset: 2px; border-color: var(--lh-gold); }

/* The site's notices: a 12% tint of the colour over the card, with a border of it. */
.error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--lh-ember-500);
  border-radius: 6px;
  background: var(--lh-error-bg);
  color: var(--lh-ember-300);
  font-size: 14px;
}
.flash { border-bottom-color: var(--lh-ink-600); font-size: 14px; }
.flash-ok { box-shadow: inset 4px 0 0 var(--lh-green); background: var(--lh-ok-bg); color: var(--lh-text); }
.flash-err { box-shadow: inset 4px 0 0 var(--lh-ember-500); background: var(--lh-error-bg); color: var(--lh-ember-300); }
.draft-offer { box-shadow: inset 4px 0 0 var(--lh-gold); background: var(--lh-draft-bg); color: var(--lh-text); }
.mail-wait { box-shadow: var(--lh-shadow-3); }

.muted { color: var(--lh-ink-300); }

/* The site's quiet links: gold, a thin underline set low. Mail bodies keep their own. */
.back a,
.attachments a,
.images-note a,
.error-page .card a,
.account-page .card a {
  color: var(--lh-gold-bright);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 116, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--lh-ease);
}
.back a:hover,
.attachments a:hover,
.images-note a:hover,
.error-page .card a:hover,
.account-page .card a:hover { text-decoration-color: currentColor; }
.back a:focus-visible,
.attachments a:focus-visible,
.images-note a:focus-visible,
.pager a:focus-visible,
.compose-page a:focus-visible,
.account-page a:focus-visible,
.agent-page a:focus-visible,
.signin a:focus-visible { outline: 3px solid var(--lh-gold-bright); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------ sign-in and error pages */
/* The site has no sign-in page: one of its cards (the card surface, a hairline, 16px corners) in
   a 440px column on the ash page. */

.signin {
  max-width: calc(440px + 2 * var(--page-pad));
  padding: 64px var(--page-pad);
}
.signin-card {
  padding: 28px;
  border: 1px solid var(--lh-ink-600);
  border-radius: 16px;
  background: var(--lh-ink-850);
  box-shadow: var(--lh-shadow-3);
}
.signin .brand { display: block; margin: 0 0 20px; }
.signin .signin-title {
  margin: 0;
  color: var(--lh-text);
  font-size: clamp(24px, 4vw, 30px);
}
.signin .card {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.signin-form .error { margin: 0 0 16px; }
.error-page .card h2 { margin: 0 0 8px; font-size: 18px; }
.error-page .card p { margin: 0 0 12px; color: var(--lh-ink-200); }

/* Sign-in and error pages (screen-card): the card sits in the middle of the page and the site
   footer stays at the bottom. */
.screen-card {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.screen-card .signin {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ------------------------------------------------------------ mail bar */
/* The site header, condensed into the webmail's one bar: the card surface with a hairline under
   it, the site's logo (blue disc and LITECOIN / HORIZON) linking to the website, then "Mail" in
   the wordmark's heavy capitals linking to the inbox; a flame Compose, the muted address, the
   nav's bold links and an outlined Sign out. */

.mailbar { font-family: var(--font-body); }

/* One line at every width: the brand area never wraps; "Mail" ends in an ellipsis first. */
.mailbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.mailbar-brand .site-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  /* room for the focus ring inside the bar's clipping */
  padding: 4px;
  border-radius: 6px;
}
.mailbar-brand .site-brand img { display: block; width: auto; height: 40px; }
.mailbar-home {
  min-width: 0;
  overflow: hidden;
  padding-left: 14px;
  border-left: 1px solid var(--lh-ink-600);
  color: var(--lh-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.6;
  text-decoration: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--lh-ease);
}
.mailbar-home:hover { color: var(--lh-gold-bright); }
.mailbar a:focus-visible { outline: 3px solid var(--lh-gold-bright); outline-offset: 2px; border-radius: 6px; }
/* inside the brand area's clipping */
.mailbar-brand a:focus-visible { outline-offset: -3px; }
.mailbar-who { color: var(--lh-ink-300); font-size: 13px; }
.mailbar .mailbar-link {
  color: var(--lh-text);
  font-size: 14px;
  font-weight: 700;
  transition: color var(--lh-ease);
}
.mailbar .mailbar-link:hover { color: var(--lh-gold-bright); text-decoration: none; }
.mailbar .btn { white-space: nowrap; }
.mailbar .btn-compose:focus-visible { border-radius: 999px; }

/* ------------------------------------------------------------ panes */
/* Folders on the sunken surface, the list and the message on the card surface. The open folder
   and the open message are one step lighter with a gold edge. */

.folders-pane { padding: 16px 10px; }
.folders { display: grid; gap: 2px; }
.folder { color: var(--lh-ink-200); font-size: 14px; font-weight: 600; }
.folder:hover { color: var(--lh-text); }
.folder.is-current { color: var(--lh-text); font-weight: 700; box-shadow: inset 3px 0 0 var(--lh-gold); }
.folder:focus-visible { outline: 3px solid var(--lh-gold-bright); outline-offset: -3px; }
.count { padding: 1px 8px; font-size: 11px; font-weight: 800; }

.search input[type="search"] { padding: 8px 12px; font-size: 14px; }
.mail .btn,
.compose-page .draft-offer .btn,
.agent-page .btn { padding: 6px 14px; font-size: 12px; }
.actions select { padding: 6px 8px; font-size: 13px; }
/* The folder name over the list: the site's small tracked label in gold. */
.list-title {
  padding: 16px var(--pane-pad) 8px;
  color: var(--lh-gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.msg-link:focus { outline: 3px solid var(--lh-gold-bright); outline-offset: -3px; }
.msg-who { color: var(--lh-ink-200); font-size: 14px; }
.msg-subject { color: var(--lh-ink-300); font-size: 14px; }
.msg.unread .msg-who,
.msg.unread .msg-subject { font-weight: 700; color: var(--lh-text); }
.msg.selected .msg-link { box-shadow: inset 3px 0 0 var(--lh-gold); }
.msg-date { color: var(--lh-ink-300); font-size: 12px; white-space: nowrap; }
.tag {
  padding: 1px 8px;
  border: 0;
  background: var(--lh-ink-700);
  color: var(--lh-ink-200);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.msg.selected .tag { background: var(--lh-ink-600); }
.tag-flag,
.msg.selected .tag-flag { background: var(--lh-error-bg); color: var(--lh-ember-300); }
.pager { font-size: 13px; }

.reading-pane { padding: 24px 28px; }
.message-subject { font-size: 24px; line-height: 1.2; }
.message-headers { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; font-size: 14px; }
.message-headers dt {
  padding-top: 3px;
  color: var(--lh-ink-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.message-headers dd { color: var(--lh-text); }
.images-note { padding: 10px 14px; border: 1px solid var(--lh-ink-600); background: var(--lh-ink-900); color: var(--lh-ink-200); }
.message-body { max-width: 72ch; font-size: 15px; line-height: 1.6; }
/* HTML mail: a warm white plate with the site's light-theme text colours, set on the container
   only (the tokens the webmail's own mail rules read), so nothing inside the mail is restyled. */
.mail-html {
  --link: var(--lh-ember-deep);
  --muted: var(--lh-light-muted);
  --line: var(--lh-ink-200);
  --bg: var(--lh-ink-100);
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: 10px;
  background: var(--lh-white);
  color: var(--lh-light-text);
  color-scheme: light;
}
.mail-text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 14px; color: var(--lh-text); }
.attachments-title { margin-top: 20px; color: var(--lh-text); font-size: 16px; font-weight: 800; }
.attachments { padding: 0; list-style: none; }
.attachments li { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--lh-ink-600); }

/* ------------------------------------------------------------ compose and account */

.compose-title,
.account-title,
.agent-title { font-size: clamp(24px, 4vw, 30px); }
.compose { padding: 24px 28px 28px; box-shadow: var(--lh-shadow-2); }
.compose-from { color: var(--lh-ink-200); font-size: 14px; }
.compose label.check { margin: 6px 0 0; color: var(--lh-ink-200); font-weight: 500; }
.compose-page .draft-offer { border-color: var(--lh-ink-600); }
.forwarded { border-color: var(--lh-ink-600); }

.account-page { padding-top: 40px; padding-bottom: 80px; }
.account-page .card { margin-top: 24px; box-shadow: var(--lh-shadow-2); }
.account-page .card h2 { margin: 0 0 14px; font-size: 18px; }
.account-page .card .muted { font-size: 14px; }

/* ------------------------------------------------------------ phones */

@media (max-width: 759px) {
  :root { --mailbar-height: 56px; --mailbar-pad-x: 12px; }
  /* One line at 390px: the logo at 30px, then "Mail", Compose, Account and Sign out. */
  .mailbar { gap: 4px; }
  .mailbar-brand { gap: 6px; }
  .mailbar-brand .site-brand { padding: 0; }
  .mailbar-brand .site-brand img { height: 30px; }
  .mailbar-home { padding-left: 6px; font-size: 14px; }
  .mailbar .btn { padding: 6px 9px; font-size: 11px; }
  .mailbar .btn-compose { letter-spacing: .04em; }
  .mailbar .mailbar-link { font-size: 12px; }
  .folders-pane { padding: 8px; }
  .folders { display: flex; }
  .reading-pane { padding: 18px 16px; }
  .mail-html { padding: 16px; }
  .compose { padding: 18px 16px; }
  .signin-card { padding: 20px 16px; }
  .account-page .card { padding: 20px 16px; }
}
/* Small phones (360px): a smaller logo and tighter buttons keep the bar on one line. */
@media (max-width: 380px) {
  :root { --mailbar-pad-x: 10px; }
  .mailbar-brand .site-brand img { height: 26px; }
  .mailbar .btn { padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .mailbar *,
  .site-footer *,
  .btn,
  .signin button[type="submit"],
  .account-form button[type="submit"] { transition: none !important; transform: none !important; }
}
