/* Nightbloom fonts, self-hosted. Browsers only download them when Nightbloom uses them. */
@font-face {
  font-family: "Grenze Gotisch";
  src: url("/static/fonts/nightbloom/grenzegotisch.0acc895ff196.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "UnifrakturCook";
  src: url("/static/fonts/nightbloom/unifrakturcook-700.7cf557c5aa88.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/static/fonts/nightbloom/eb-garamond-400.005abdc3a2d3.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/static/fonts/nightbloom/eb-garamond-600.b9a8fd287f9f.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/static/fonts/nightbloom/eb-garamond-400-italic.985f75b87984.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@layer skins {
  .skin-nightbloom {
    --color-bg: #1d1614;
    --color-surface: #f7f9fb;
    --color-ink: #1b2747;
    --color-ink-soft: #4a5875;
    --color-accent: #1b2747;
    --color-accent-2: #4f6a8a;
    --color-accent-3: #8ea3b3;
    --color-border: #1b2747;
    --color-on-accent: #ffffff;
    --color-focus: #f2c14e;
    --color-header-top: transparent;
    --color-header-nav: rgb(0 0 0 / 0.3);
    --color-header-nav-ink: #f3dea0;
    --color-footer: rgb(0 0 0 / 0.3);
    --color-footer-ink: #f3dea0;
    --logo-fill-top: #ffffff;
    --logo-fill-bottom: #dbe6ee;
    --logo-outline: #8a1c1c;
    --sparkle-color: #dbe6ee;
    --lcd-bg: #dbe6ee;
    --lcd-ink: #1b2747;
    --ticker-bg: rgb(255 255 255 / 0.08);
    --shadow-pop: 4px 4px 0 var(--color-border);
    --bg-pattern: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, rgb(0 0 0 / 0.55) 100%);
    --bg-pattern-size: 100% 100%;
    --header-top-strip-h: 12px;
    --header-top-edge-w: 0px;
    --header-top-image:
      url("/static/img/nightbloom/b2-roll.3f9a01019e98.svg"),
      url("/static/img/nightbloom/bp-roses.4f66513188da.svg");
    --header-top-image-size: auto var(--header-top-strip-h), auto calc(100% - var(--header-top-strip-h));
    --header-top-image-repeat: repeat-x;
    --header-top-image-position: left bottom, left top;
    --floral-pattern: url("/static/img/graybloom.55fb570e5705.svg");
    --floral-pattern-size: 220px 220px;
    --font-display: "UnifrakturCook", Georgia, serif;
    --font-body: "EB Garamond", Georgia, serif;
    --font-tabs: "EB Garamond", Georgia, serif;
    --color-header-top-ink: #f3dea0;
    --logo-outline-w: 3px;
    --logo-filter: none;
    --logo-text-shadow: 0.5px 1px 0 rgb(0 0 0 / 0.75);
    --logo-fill-display: none;
    --logo-sparkle-visibility: hidden;
    --logo-paint-order: stroke fill;
    --box-title-stroke: #8a1c1c;
    --band-edge-w: 1px;
    --band-edge-color: #d9b86e;
    --header-nav-shadow: inset 0 -0.5px 0 #8a1c1c, 0 0.5px 0 #8a1c1c, 0 2px 0 rgb(0 0 0 / 0.45), 0 4px 0 -1px #9a7a3c;
    --tabs-size: 1.1875rem;
    --tabs-weight: 600;
    --tabs-tracking: 0.14em;
    --tabs-case: none;
    --tabs-caps: small-caps;
    --tabs-text-shadow: 0.5px 1px 0 rgb(0 0 0 / 0.75);
    --box-bg: url("/static/img/nightbloom/parchment.5b331e6c5ded.jpg") 0 0 / 512px 512px padding-box, #efe3c8 padding-box;
    --box-border: 7.3333cqw solid transparent;
    --box-border-image: url("/static/img/nightbloom/b2-arch-roses.bfd381465442.svg") 150 150 22 150 / 50cqw 50cqw 7.3333cqw 50cqw round;
    --box-radius: 50% 50% 0 0 / 50cqw 50cqw 0 0;
    --box-shadow: inset 0 0 26px rgb(110 70 25 / 0.35), inset 0 0 0 1px rgb(0 0 0 / 0.5);
    --box-filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.45));
    --slot-container: inline-size;
    --box-min-h: 80cqw;
    --box-bar-display: flex;
    --box-bar-justify: center;
    --box-bar-h: 64px;
    --box-bar-pad: 0;
    --box-bar-ink: #f3dea0;
    --box-bar-color: #1d1614;
    --box-bar-border-bottom: none;
    --box-bar-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.7), inset 0 -2.5px 0 #d9b86e, 0 1px 0 rgb(0 0 0 / 0.5);
    --box-bar-image:
      url("/static/img/nightbloom/bp-roses.4f66513188da.svg"),
      url("/static/img/nightbloom/leather-black.ee19afa0aa47.jpg");
    --box-bar-image-size: auto 60px, 512px 512px;
    --box-bar-image-repeat: repeat-x, repeat;
    --box-bar-image-position: center, 0 0;
    --box-bar-text-shadow: 0.5px 1px 0 rgb(0 0 0 / 0.75);
    --box-body-pad: 22px 26px;
    --box-body-align: center;
    --box-ink: #22160e;
    --blog-heading-ink: #8a1c1c;
    --blog-empty-ink: #4a3826;
    --post-preview-font: italic 1.0625rem/22px var(--font-body);
    --post-list-gap: 26px;
    --post-card-direction: column;
    --post-card-align: center;
    --post-card-pad: 0;
    --post-card-bg: transparent;
    --post-card-border: 0 solid transparent;
    --post-card-pinned-bg: transparent;
    --post-text-display: flex;
    --post-date-order: -1;
    --post-date-font: small-caps 0.9375rem/19px var(--font-body);
    --post-date-tracking: 0.1em;
    --post-date-ink: #8a1c1c;
    --post-title-font: 600 1.375rem/26px var(--font-body);
    --post-title-margin: 2px 0 3px;
    --post-preview-margin: 0;
    --post-preview-ink: #4a3826;
    --post-divider: "";
    --post-divider-w: 113px;
    --post-divider-lines: linear-gradient(to right, #a08458 0 46px, transparent 46px 67px, #a08458 67px);
    --post-divider-line-h: 1px;
    --post-divider-line-top: -13px;
    --post-divider-mark: #8a1c1c;
    --post-divider-mark-size: 5px;
    --post-divider-mark-top: -15px;
    --footer-shadow: inset 0 0.5px 0 #8a1c1c, 0 -0.5px 0 #8a1c1c, 0 -2px 0 rgb(0 0 0 / 0.45), 0 -4px 0 -1px #9a7a3c;
    --icon-spot: 28px;
    --icon-spot-bg: transparent;
    --icon-spot-border: 1.5px solid #d9b86e;
    --icon-spot-shadow: inset 0 0 0 2px rgb(0 0 0 / 0.25), 0.5px 1px 0 rgb(0 0 0 / 0.6);
    --footer-text-font: small-caps 1.125rem/1.5 var(--font-body);
    --footer-text-tracking: 0.1em;
    --footer-text-shadow: 0.5px 1px 0 rgb(0 0 0 / 0.75);
    --footer-time-font: 600 1.125rem/1.5 var(--font-body);
    --footer-time-tracking: 0.12em;
    --footer-time-nums: lining-nums tabular-nums;
    --soon-ink: #f3dea0;
    --soon-text-shadow: 0.5px 1px 0 rgb(0 0 0 / 0.75);
  }
}

@layer skins {
  /* Header 2: a quote instead of the tabs */
  .skin-nightbloom {
    --header-nav-display: none;
    --header-quote-display: flex;
    --quote-font: italic 400 1.25rem/1.2 "EB Garamond", Georgia, serif;
    --quote-tracking: 0.02em;
    --quote-by-font: 600 0.95rem/1.2 "EB Garamond", Georgia, serif;
    --quote-by-tracking: 0.12em;
    --quote-by-ink: #d9b86e;
    --quote-text-shadow: 0.5px 1px 0 rgb(0 0 0 / 0.75);
  }
}

@layer skins {
  /* Homepage: six framed tiles beside the Blog box, instead of the empty center and right slots */
  .skin-nightbloom {
    --tile-grid-display: grid;
    --home-side-slots-display: none;
    --tile-bg: url("/static/img/nightbloom/parchment.5b331e6c5ded.jpg") 0 0 / 512px 512px padding-box, #efe3c8 padding-box;
    --tile-border: 22px solid transparent;
    --tile-border-image: url("/static/img/nightbloom/tile-roses.80eb0a002753.svg") 22 round;
    --tile-shadow: inset 0 0 26px rgb(110 70 25 / 0.35), inset 0 0 0 1px rgb(0 0 0 / 0.5);
    --tile-filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.45));
    --tile-ink: #4a3826;
    --tile-bar-h: 60px;
    --tile-bar-bg:
      radial-gradient(ellipse 62% 72% at 50% 50%, rgb(20 15 13 / 0.86) 42%, rgb(20 15 13 / 0) 100%),
      url("/static/img/nightbloom/bp-roses.4f66513188da.svg") center / auto 48px repeat-x,
      url("/static/img/nightbloom/leather-black.ee19afa0aa47.jpg") 0 0 / 512px 512px,
      #1d1614;
    --tile-bar-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.7), inset 0 -2.5px 0 #d9b86e, 0 1px 0 rgb(0 0 0 / 0.5);
    --tile-bar-ink: #f3dea0;
    --tile-title-font: 700 34px/1 "Grenze Gotisch", Georgia, serif;
    --tile-title-shadow: 0.5px 1px 0 rgb(0 0 0 / 0.75);
    --tile-title-stroke: 3px #8a1c1c;
    --tile-body-font: italic 400 18px/1.4 "EB Garamond", Georgia, serif;
  }
}
