﻿/* ===================================
    1) Theme Tokens and Base
    =================================== */

@import url("https://fonts.googleapis.com/css2?family=Alegreya+SC&display=swap");

:root {
  --bg-page: #121212;
  --bg-panel: #000000;
  --bg-panel-alt: #2f2f2f;
  --location-bg: #000000;
  --text-primary: #a8adb3;
  --text-heading: #a8adb3;
  --text-heading-accent: #79c0ff;
  --text-heading-subtle: #a5d6ff;
  --text-link: #69bdbd;
  --text-strong: #fffb7a;
  --text-emphasis: #75ff91;
  --text-strong-emphasis: #b8b8ff;
  --text-muted: #9aa0a6;
  --text-body: #a8adb3;
  --text-secondary: #c0c0c0;
  --border-soft: #30363d;
  --border-neutral: #555;
  --border-light: #666;
  --bg-darker: #2a2a2a;
  --gradient-dark-blue: #0f1820;
  --color-danger: #ff6b6b;
  --color-code: #9ec9ff;
  --color-success: #378937;
  --color-failure: #893737;
  --focus-ring: #ffd166;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Accessibility helpers */

.skip-link {
  position: fixed;
  left: 12px;
  top: 10px;
  z-index: 2000;
  background: #0b0f14;
  color: #ffffff;
  padding: 8px 12px;
  border: 2px solid var(--focus-ring);
  border-radius: 6px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body {
  font-family: "Alegreya SC", serif;
  font-size: 14pt;
  margin: 40px;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* ===================================
    2) Core Layout
    =================================== */

.container {
  width: 90%;
  margin: 40px auto;
  background: var(--bg-panel);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.landing-page {
  background:
    radial-gradient(circle at top, rgba(121, 192, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #0d1117 0%, var(--bg-page) 56%);
}

.landing-shell {
  max-width: 1080px;
  margin: 48px auto;
  text-align: center;
}

.landing-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--text-heading-subtle);
}

.landing-shell h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  color: #f1f3f4;
}

.landing-intro {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 240px;
  padding: 26px;
  border-radius: 18px;
  text-decoration: none;
  text-align: left;
  color: var(--text-primary);
  background: linear-gradient(
    180deg,
    rgba(15, 24, 32, 0.96) 0%,
    rgba(0, 0, 0, 0.96) 100%
  );
  border: 1px solid rgba(121, 192, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.portal-card-primary {
  background:
    radial-gradient(
      circle at top right,
      rgba(120, 255, 145, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, rgba(15, 24, 32, 0.98) 0%, rgba(0, 0, 0, 0.98) 100%);
}

.portal-card:hover,
.portal-card:focus-visible {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: var(--text-heading-subtle);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.54);
}

.portal-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(121, 192, 255, 0.12);
  color: var(--text-heading-subtle);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-card h2 {
  margin: 0;
  color: #f7f7f7;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.portal-card p {
  margin: 0;
  max-width: 34ch;
  font-size: 1rem;
  color: var(--text-secondary);
}

.memorial-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.memorial-card {
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.14) 0%, rgba(7, 10, 14, 0.8) 52%, rgba(3, 3, 3, 0.96) 100%),
    var(--memorial-image),
    linear-gradient(180deg, rgba(15, 24, 32, 0.98) 0%, rgba(0, 0, 0, 0.98) 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-color: rgba(245, 229, 188, 0.24);
}

.memorial-card-grandpa {
  --memorial-image: url('/assets/images/inmemoriam/grandpa/james-w-snyder-sr.webp');
  /* Enable this after AVIF/WEBP files are in place.
  --memorial-image: image-set(
    url('/assets/images/inmemoriam/grandpa/james-w-snyder-sr.avif') type('image/avif'),
    url('/assets/images/inmemoriam/grandpa/james-w-snyder-sr.webp') type('image/webp'),
    url('/assets/images/inmemoriam/grandpa/james-w-snyder-sr.jpg') type('image/jpeg')
  );
  */
}

.memorial-card-dad {
  --memorial-image: url('/assets/images/inmemoriam/dad/james-w-snyder-jr.webp');
  /* Enable this after AVIF/WEBP files are in place.
  --memorial-image: image-set(
    url('/assets/images/inmemoriam/dad/james-w-snyder-jr.avif') type('image/avif'),
    url('/assets/images/inmemoriam/dad/james-w-snyder-jr.webp') type('image/webp'),
    url('/assets/images/inmemoriam/dad/james-w-snyder-jr.jpg') type('image/jpeg')
  );
  */
}

.memorial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 26%);
  pointer-events: none;
}

.memorial-card > * {
  position: relative;
  z-index: 1;
}

.memorial-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.memorial-card h2 {
  max-width: 12ch;
}

.memorial-card h2 a {
  color: #fff7e1;
  text-decoration: none;
}

.memorial-card h2 a:hover,
.memorial-card h2 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.memorial-card p {
  color: rgba(244, 240, 231, 0.88);
}

.memorial-card .portal-tag {
  background: rgba(245, 229, 188, 0.14);
  color: #fff1c6;
}

.memorial-card .portal-link {
  color: #ffe2a8;
}

.memorial-page .container {
  max-width: 1120px;
  margin: 40px auto;
}

.memorial-shell {
  text-align: left;
}

.memorial-shell .landing-kicker,
.memorial-shell h1 {
  text-align: center;
}

.memorial-story {
  margin: 24px auto 34px;
  max-width: 850px;
  background: rgba(9, 14, 20, 0.86);
  border: 1px solid rgba(165, 214, 255, 0.2);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.memorial-story p {
  margin: 0;
  color: #edf2f7;
  font-size: 1.05rem;
  line-height: 1.8;
}

.memorial-photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.memorial-photo {
  position: relative;
  margin: 0;
  padding: 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(165, 214, 255, 0.2);
  background: linear-gradient(180deg, rgba(16, 25, 35, 0.94), rgba(8, 12, 18, 0.94));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.memorial-photo::after {
  content: "Click to zoom";
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(4, 7, 11, 0.74);
  border: 1px solid rgba(255, 226, 168, 0.42);
  border-radius: 999px;
  padding: 2px 10px;
  color: #ffe2a8;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.memorial-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  cursor: zoom-in;
}

.memorial-photo:hover,
.memorial-photo:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 226, 168, 0.55);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.memorial-guestbook {
  margin-top: 36px;
  background: rgba(9, 14, 20, 0.86);
  border: 1px solid rgba(165, 214, 255, 0.24);
  border-radius: 16px;
  padding: 22px;
}

.memorial-guestbook h2 {
  margin: 0;
  color: #f4f6f7;
}

.memorial-guestbook-intro {
  margin: 10px 0 16px;
  color: #cfd6dd;
}

.memorial-guestbook-form {
  display: grid;
  gap: 10px;
}

.memorial-guestbook-form label {
  color: #e4ebf2;
  font-size: 0.92rem;
}

.memorial-guestbook-form input,
.memorial-guestbook-form textarea {
  width: 100%;
  border: 1px solid rgba(165, 214, 255, 0.28);
  background: rgba(2, 6, 10, 0.72);
  color: #f6f9fb;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.memorial-guestbook-form textarea {
  min-height: 110px;
  resize: vertical;
}

.memorial-guestbook-form button {
  justify-self: start;
  border: 1px solid rgba(255, 226, 168, 0.45);
  background: linear-gradient(180deg, rgba(43, 57, 74, 0.94), rgba(21, 29, 40, 0.96));
  color: #ffebbd;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
}

.memorial-guestbook-status {
  margin: 2px 0 0;
  color: #ffe2a8;
  min-height: 1.4em;
}

.memorial-guestbook-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.memorial-guestbook-entry {
  background: rgba(7, 11, 16, 0.76);
  border: 1px solid rgba(165, 214, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
}

.memorial-guestbook-message {
  margin: 0;
  color: #f0f5f9;
  white-space: pre-wrap;
}

.memorial-guestbook-meta {
  margin: 8px 0 0;
  color: #b7c5d3;
  font-size: 0.84rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.memorial-guestbook-empty {
  margin: 0;
  color: #b7c5d3;
}

@media (max-width: 720px) {
  .memorial-story {
    padding: 18px;
  }

  .memorial-photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .memorial-photo img {
    height: 190px;
  }

  .memorial-guestbook {
    padding: 16px;
  }
}

.portal-link {
  color: var(--text-heading-subtle);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.section-nav {
  margin: 0 0 22px;
  text-align: left;
}

.section-nav a {
  color: var(--text-heading-subtle);
  text-decoration: none;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  text-decoration: underline;
}

.main-layout {
  display: flex;
  height: calc(100vh - 120px);
  /* Adjust based on nav height */
  margin-top: 20px;
  gap: 16px;
  align-items: stretch;
}

.main-layout > .sidebar,
.main-layout > .content,
.main-layout > .right-sidebar {
  height: 100%;
  min-height: 0;
}

.sidebar {
  flex: 1;
  background: var(--bg-panel);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  overflow-y: auto;
}

.sidebar h3 {
  margin-top: 0;
  color: var(--text-heading-subtle);
  text-align: center;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 10px 0;
}

.sidebar a {
  color: var(--text-link);
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}

.content {
  flex: 4;
  padding: 16px;
  background: var(--bg-panel);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  height: 100%;
}

.right-sidebar {
  flex: 1;
  background: var(--bg-panel);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  overflow-y: auto;
}

.right-sidebar-subtext {
  font-size: 10pt;
  text-align: center;
}

.right-sidebar h3 {
  margin-top: 0;
  color: var(--text-heading-subtle);
  text-align: center;
}

.main-layout > .content h2,
.main-layout > .content h3,
.main-layout > .content h4 {
  text-align: center;
}

/* Environment note callouts */

.environment-notes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.note-section {
  border-left: 3px solid var(--text-heading-subtle);
  padding-left: 12px;
}

.note-section h4 {
  margin: 0 0 8px 0;
  color: var(--text-heading-subtle);
  font-size: 10pt;
}

.note-section p {
  margin: 0 0 20px;
  color: var(--text-primary);
}

.note-section p:last-child {
  margin-bottom: 0;
}

.environment-info {
  color: var(--text-primary);
  margin: 0 auto 28px;
  font-size: 10pt;
}

/* Primary navigation */

nav {
  text-align: center;
  margin: 20px 0;
}

nav a {
  color: var(--text-link);
  text-decoration: none;
  margin: 0 10px;
}

nav a:hover {
  text-decoration: underline;
}

.has-env-banner {
  padding-top: 44px;
}

.environment-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11pt;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-soft);
}

.environment-banner strong {
  color: #ffffff;
}

.environment-banner-local {
  background: #1f5f2e;
  color: #d6ffdd;
}

.environment-banner-server {
  background: #7a2e2e;
  color: #ffe3e3;
}

@media (max-width: 720px) {
  .has-env-banner {
    padding-top: 56px;
  }

  .environment-banner {
    font-size: 10pt;
    line-height: 1.2;
    text-align: center;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-heading);
}

h1 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-heading);
  letter-spacing: 0.04em;
}

h2 {
  color: var(--text-heading-accent);
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 6px;
  margin-top: 28px;
}

h3,
h4,
h5,
h6 {
  color: var(--text-heading-subtle);
}

hr {
  border: 0;
  height: 1px;
  background: #30363d;
  margin: 20px 0;
}

p {
  margin-bottom: 20px;
  line-height: 1.45;
}

a {
  color: var(--text-link);
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ===================================
    3) Shared Typography and Components
    =================================== */

/* Link button formatting */

.index-links {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 8px;
}

.resource-links {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.index-link-button,
.sidebar-link-button,
.resource-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-heading);
  background: linear-gradient(
    180deg,
    var(--gradient-dark-blue) 20%,
    var(--location-bg) 80%
  );
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 6px 10px;
  min-height: calc(2 * 1.2em + 12px);
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.resource-link-button {
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 6px 8px;
  min-height: calc(2 * 1.2em + 12px);
}

.sidebar-link-button {
  font-size: 0.78rem;
}

.index-link-button:hover,
.index-link-button:focus-visible,
.sidebar-link-button:hover,
.sidebar-link-button:focus-visible,
.resource-link-button:hover,
.resource-link-button:focus-visible {
  text-decoration: none;
  border-color: var(--text-link);
  box-shadow: 0 4px 14px rgba(82, 201, 201, 0.25);
  transform: translateY(-1px);
}

.town-travel-links {
  display: grid;
  gap: 2px;
}

.town-travel-link {
  width: 95%;
  min-height: auto;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.35;
  padding: 6px 8px;
}

.town-travel-name,
.town-travel-time {
  display: block;
}

.town-travel-name {
  font-weight: 700;
  font-size: 1em;
}

.town-travel-time {
  color: var(--text-muted);
  font-size: 0.86em;
}

strong {
  color: var(--text-strong);
  font-weight: 700;
}

em {
  color: var(--text-emphasis);
  font-style: italic;
}

strong em,
em strong {
  color: var(--text-strong-emphasis);
}

code {
  color: var(--bg-panel);
  background: var(--color-code);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 0 0.3em;
  font-size: 0.95em;
}

pre {
  background: linear-gradient(180deg, #111a26 0%, #0b121b 100%);
  border: 1px solid #2a3a4f;
  border-left: 4px solid var(--text-link);
  border-radius: 8px;
  color: #dce9ff;
  margin: 14px 0;
  overflow-x: auto;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

pre code {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  display: block;
  font-family: "Alegreya SC", serif;
  font-size: 0.92em;
  line-height: 1.55;
  padding: 0;
  white-space: pre;
}

.table-compact {
  font-size: 0.7em;
}

/* Form elements */
textarea,
input[type="text"] {
  background: var(--bg-panel);
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  padding: 8px;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.session-controls {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.session-controls .form-field {
  margin-bottom: 0;
}

#session-filter-count {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11pt;
}

textarea {
  height: 200px;
  resize: vertical;
}

button {
  background: var(--bg-panel);
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

button:hover {
  background: var(--bg-darker);
}

/* Output and content areas */
#output {
  background: var(--bg-panel);
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  min-height: 100px;
  border: 1px solid #333;
}

/* Table styles for character sheets */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: var(--bg-panel);
}

th,
td {
  border: 1px solid var(--border-soft);
  padding: 8px;
  text-align: left;
}

th {
  background: var(--bg-darker);
  color: var(--text-secondary);
}

/* Banded rows for better readability */
tbody tr:nth-child(odd) {
  background: var(--bg-panel);
}

tbody tr:nth-child(even) {
  background: var(--bg-panel-alt);
}

/* Highlighting classes */
table .highest-save {
  background-color: var(--color-success);
  color: var(--text-secondary);
}

table .lowest-save {
  background-color: var(--color-failure);
  color: var(--text-secondary);
}

/* Normalize pricing/info table column widths for consistent rendering */
#pricing-list-mount table,
#information-list-mount table {
  width: 100%;
  table-layout: fixed;
}

#pricing-list-mount th,
#pricing-list-mount td,
#information-list-mount th,
#information-list-mount td {
  overflow-wrap: anywhere;
}

/* Keep narrative-heavy tables flexible for readability */
#pricing-rumors table,
#pricing-tall-tales table {
  table-layout: fixed;
}

/* ===================================
    4) Location and Lore Views
    =================================== */

/* Location pages */
.location-template {
  max-width: 980px;
}

.location-info {
  text-align: justify;
  color: var(--text-primary);
  margin: 0 auto 28px;
  max-width: 900px;
}

.location-sections {
  display: grid;
  gap: 16px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

#pricing-list-mount .pricing-collapsible,
#information-list-mount .pricing-collapsible {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

#pricing-list-mount .pricing-collapsible-summary,
#information-list-mount .pricing-collapsible-summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 20px;
  border-left-color: rgba(27, 37, 48, 0.35);
  background: rgba(27, 37, 48, 0.35);
  border-bottom: 1px solid var(--border-soft);
  border-left: 4px solid var(--text-link);
  user-select: none;
  margin: 0;
}

#pricing-list-mount
  .pricing-collapsible[data-section-kind="information"]
  > .pricing-collapsible-summary,
#information-list-mount
  .pricing-collapsible[data-section-kind="information"]
  > .pricing-collapsible-summary {
  border-left-color: rgba(6, 6, 66, 0.35);
  background: rgba(6, 6, 66, 0.35);
}

#pricing-list-mount .pricing-collapsible-summary::-webkit-details-marker,
#information-list-mount .pricing-collapsible-summary::-webkit-details-marker {
  display: none;
}

#pricing-list-mount .pricing-collapsible-summary::before,
#information-list-mount .pricing-collapsible-summary::before {
  content: "\25B6  ";
  font-size: 0.75em;
  opacity: 0.8;
  color: var(--text-link);
}

#pricing-list-mount
  .pricing-collapsible[data-section-kind="information"]
  > .pricing-collapsible-summary::before,
#information-list-mount
  .pricing-collapsible[data-section-kind="information"]
  > .pricing-collapsible-summary::before {
  color: #7aaeff;
  opacity: 0.95;
}

#pricing-list-mount
  .pricing-collapsible[open]
  > .pricing-collapsible-summary::before,
#information-list-mount
  .pricing-collapsible[open]
  > .pricing-collapsible-summary::before {
  content: "\25BC  ";
}

#pricing-list-mount .pricing-collapsible-summary:hover,
#information-list-mount .pricing-collapsible-summary:hover {
  color: var(--text-heading-accent);
  background: rgba(27, 37, 48, 0.55);
}

#pricing-list-mount .pricing-collapsible-summary h2,
#information-list-mount .pricing-collapsible-summary h2 {
  display: inline;
  margin: 0;
  color: var(--text-heading-accent);
  font-size: 1.05em;
}

#pricing-list-mount .pricing-collapsible-body,
#information-list-mount .pricing-collapsible-body {
  padding: 18px 20px;
}

.location-section {
  background: linear-gradient(180deg, var(--location-bg) 0%, #03162a 100%);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--text-link);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
  text-align: justify;
  line-height: 1.7;
}

.location-section h2 {
  margin: 0 0 10px;
  padding: 0;
  border-bottom: none;
  text-align: left;
  color: var(--text-heading-accent);
}

.location-template > h2 {
  max-width: 800px;
  margin: 0 auto 12px;
  text-align: left;
}

.location-section p {
  margin: 0 0 28px;
}

.location-section p:last-child {
  margin-bottom: 0;
}

/* Lore pages - mirrors location-template visual language */
.lore-article {
  max-width: 980px;
}

.lore-index {
  max-width: 980px;
}

.lore-sections {
  display: grid;
  gap: 16px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.lore-section {
  background: linear-gradient(180deg, #1b2530 0%, var(--bg-panel-alt) 100%);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--text-strong);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
  text-align: justify;
  line-height: 1.7;
}

.lore-section h3 {
  margin: 0 0 10px;
  padding: 0;
  border-bottom: none;
  text-align: left;
  color: var(--text-heading-accent);
  font-size: 1.05em;
}

.lore-section p {
  margin: 0 0 12px;
}

.lore-section p:last-child {
  margin: 0;
}

@media (max-width: 768px) {
  .location-template {
    width: 100%;
    padding: 24px;
  }

  .lore-article {
    width: 100%;
    padding: 24px;
  }
}

/* ===================================
   5) Character and Utility Layout
   =================================== */

/* Character page layout */
.char-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.char-stats table {
  width: auto;
}

.summary-table {
  table-layout: fixed;
}

.summary-table th,
.summary-table td {
  text-align: center;
  width: 20%;
}

.map-key {
  table-layout: fixed;
  width: 100%;
}

.map-key th:nth-child(odd),
.map-key td:nth-child(odd) {
  text-align: center;
  width: 8%;
}

.map-key th:nth-child(even),
.map-key td:nth-child(even) {
  text-align: left;
  width: 25%;
}

.char-backstory {
  flex: 2;
  min-width: 0;
}

/* Flex layouts */
.flex {
  display: flex;
  gap: 20px;
}

/* Utility classes */
.mt-16 {
  margin-top: 16px;
}

.form-card {
  background: #232526;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #000a;
}

.form-card h2 {
  margin-top: 0;
}

.form-field {
  margin-bottom: 10px;
}

.form-field label {
  display: block;
  margin-bottom: 4px;
}

.session {
  background: linear-gradient(180deg, #1e2733 0%, var(--bg-panel-alt) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 15px;
  margin-top: 16px;
}

.session summary {
  cursor: pointer;
  color: var(--text-heading-accent);
  font-weight: 700;
}

.session summary:hover {
  text-decoration: underline;
}

.session details {
  background: var(--bg-panel-alt);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px 16px;
}

.session details > div {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--text-link);
}

.btn {
  padding: 8px 16px;
}

.btn-sm {
  padding: 4px 8px;
}

.btn-primary {
  color: var(--text-link);
  border-color: var(--text-link);
}

.btn-danger {
  color: var(--color-danger);
  border-color: var(--color-danger);
}

.cell-center {
  text-align: center;
}

.stat-divider {
  border-left: 2px solid var(--border-neutral);
}

.modal,
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
}

.modal.active,
.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden],
.image-modal[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  max-width: 78vw;
  max-height: 78vh;
  position: relative;
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-image {
  max-width: 78vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: -30px;
  right: 0;
  color: var(--text-secondary);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: cyan;
}

.inline-link-accent {
  color: var(--text-link);
}

/* Theme tooltip */
.theme-tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
  border-bottom: 1px dotted var(--text-link);
}

.theme-tooltip-note {
  position: absolute;
  text-align: justify;
  white-space: normal;
  --tooltip-shift-x: 0px;
  left: 0;
  bottom: calc(100% + 10px);
  transform: translateX(var(--tooltip-shift-x)) translateY(6px);
  width: 480px;
  max-width: min(480px, 90vw);
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #1e2733 0%, var(--bg-panel-alt) 100%);
  color: var(--text-primary);
  font-size: 12pt;
  line-height: 1.4;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 750;
  pointer-events: none;
}

.theme-tooltip-scroll .theme-tooltip-note {
  bottom: 100%;
  max-height: min(55vh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
}

.theme-tooltip-scroll .theme-tooltip-note::-webkit-scrollbar {
  width: 8px;
}

.theme-tooltip-scroll .theme-tooltip-note::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.theme-tooltip-scroll .theme-tooltip-note::-webkit-scrollbar-thumb {
  background: rgba(121, 192, 255, 0.6);
  border-radius: 8px;
}

.theme-tooltip-preview .theme-tooltip-note {
  position: fixed;
  left: var(--tooltip-fixed-left, 0px);
  top: var(--tooltip-fixed-top, auto);
  bottom: var(--tooltip-fixed-bottom, 0px);
  transform: none;
  width: min(760px, calc(100vw - 24px));
  max-width: min(760px, calc(100vw - 24px));
  max-height: min(78vh, 640px);
  padding: 8px;
  text-align: left;
  overflow: hidden;
  z-index: 5200;
}

.theme-tooltip-preview .theme-tooltip-note::after {
  border-color: #1d2732 transparent transparent transparent;
}

.theme-tooltip-preview .theme-tooltip-note.is-tooltip-flipped::after {
  top: auto;
  bottom: 100%;
  border-color: transparent transparent #1d2732 transparent;
}

.theme-tooltip-preview:hover .theme-tooltip-note,
.theme-tooltip-preview:focus-visible .theme-tooltip-note,
.theme-tooltip-preview:focus-within .theme-tooltip-note {
  visibility: hidden;
  opacity: 0;
}

.theme-tooltip-preview.is-tooltip-active .theme-tooltip-note {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.theme-tooltip-preview-header {
  margin: 0 0 6px;
  color: var(--text-heading-accent);
  font-size: 10pt;
  letter-spacing: 0.03em;
}

.theme-tooltip-preview-frame {
  display: block;
  width: 100%;
  height: min(68vh, 560px);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: #0c1117;
}

.theme-tooltip-note p {
  margin: 0 0 1em;
}

.theme-tooltip-note p:last-child {
  margin-bottom: 0;
}

.theme-tooltip-note::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(14px - var(--tooltip-shift-x));
  margin-left: 0;
  border-width: 6px;
  border-style: solid;
  border-color: var(--bg-panel-alt) transparent transparent transparent;
}

.theme-tooltip:hover .theme-tooltip-note,
.theme-tooltip:focus-visible .theme-tooltip-note,
.theme-tooltip:focus-within .theme-tooltip-note {
  visibility: visible;
  opacity: 1;
  transform: translateX(var(--tooltip-shift-x)) translateY(0);
}

.quest-heading-area {
  color: var(--text-secondary);
  background-color: #115;
}

.quest-heading-dm {
  color: var(--text-secondary);
  background-color: #151;
}

.quest-heading-encounter {
  color: var(--text-secondary);
  background-color: #511;
}

.quest-heading-nearby {
  color: var(--text-secondary);
  background-color: #551;
}

/* Clickable image thumbnails */

.map-thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border-light);
  margin-top: 10px;
  transition: transform 0.2s;
}

/* Shared portrait styling used in location templates (not NPC-page-exclusive). */
.npc-portrait-thumbnail {
  max-width: 120px;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  margin-top: 6px;
  display: block;
}

.form-container {
  margin: 40px auto;
  background: var(--bg-panel);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  max-width: 1200px;
}

.form-content {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: bold;
}

.form-group select,
.form-group input[type="file"] {
  width: 100%;
  padding: 8px;
  background: var(--bg-panel);
  color: var(--text-secondary);
  border: 1px solid var(--text-secondary);
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
}

.form-group input[type="file"] {
  padding: 4px;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

/* Image wrapping styles for location/lore narrative text */
.location-info > img,
.location-section p > img,
.lore-section p > img {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  max-width: 100px;
  height: auto;
}

.section-group {
  background: var(--bg-darker);
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  border-left: 3px solid var(--text-link);
}

.section-group h4 {
  margin-top: 0;
  color: var(--text-link);
}

.help-text {
  margin-top: -8px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 12pt;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.feedback-form {
  max-width: 600px;
  margin: 16px auto 0;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
}

.feedback-form textarea {
  min-height: 200px;
}

.feedback-center {
  text-align: center;
}

.feedback-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.feedback-list {
  display: grid;
  gap: 14px;
}

.feedback-card {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--bg-panel-alt);
  padding: 14px;
}

.feedback-card h3 {
  margin: 0 0 6px;
}

.feedback-card p {
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.auth-gate {
  display: none;
}

.auth-gate-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.auth-gate-panel {
  max-width: 400px;
}

.auth-error {
  color: var(--color-danger);
  margin-bottom: 12px;
}

.hidden-on-load {
  display: none;
}

.top-right-action {
  position: absolute;
  top: 10px;
  right: 10px;
}

.feedback-meta {
  color: var(--text-muted);
  font-size: 12pt;
}

.feedback-empty {
  border: 1px dashed var(--border-soft);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-panel-alt);
}

/* ===================================
    6) Media and Generator Views
    =================================== */

.dm-image-zoomable,
[data-zoomable] {
  cursor: zoom-in;
}

/* Full-screen image zoom modal */

.zoom-open {
  overflow: hidden;
}

.dm-image-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.9);
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.dm-image-zoom-modal[hidden] {
  display: none;
}

.dm-image-zoom-target {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border-soft);
}

.dm-image-zoom-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 1px solid var(--border-soft);
  background: #111111;
  color: #ffffff;
  font-family: inherit;
  font-size: 16pt;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}

#message {
  margin-top: 20px;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  display: none;
}

#message.success {
  background: #004400;
  color: #90ee90;
  display: block;
}

#message.error {
  background: #440000;
  color: var(--color-danger);
  display: block;
}

#session-list .session details > summary {
  color: var(--text-heading-subtle);
}

/* ===================================
    7) Responsive Overrides
    =================================== */

/* Responsive */
@media (max-width: 768px) {
  body {
    margin: 20px;
  }

  .container {
    width: 95%;
    padding: 16px;
  }

  .flex {
    flex-direction: column;
  }

  .main-layout {
    flex-direction: column;
    height: auto;
  }

  .main-layout > .sidebar,
  .main-layout > .content,
  .main-layout > .right-sidebar {
    height: auto;
  }

  .sidebar {
    overflow-x: auto;
    border-bottom: 1px solid var(--border-soft);
  }

  .sidebar ul {
    display: flex;
    gap: 0;
  }

  .sidebar li {
    white-space: nowrap;
    margin: 0;
  }

  .session-controls {
    grid-template-columns: 1fr;
  }

  .index-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resource-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: 100%;
    padding: 20px;
  }

  .landing-shell {
    margin: 24px auto;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .index-links {
    grid-template-columns: 1fr;
  }

  .sidebar-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .theme-tooltip-note {
    left: 0;
    bottom: calc(100% + 10px);
    transform: translateX(var(--tooltip-shift-x)) translateY(6px);
    width: min(92vw, 480px);
  }

  .theme-tooltip-scroll .theme-tooltip-note {
    bottom: 100%;
  }

  .theme-tooltip:hover .theme-tooltip-note,
  .theme-tooltip:focus-visible .theme-tooltip-note,
  .theme-tooltip:focus-within .theme-tooltip-note {
    transform: translateX(var(--tooltip-shift-x)) translateY(0);
  }

  .theme-tooltip-note::after {
    top: 100%;
    left: calc(14px - var(--tooltip-shift-x));
    bottom: auto;
    margin-left: 0;
    border-color: var(--bg-panel-alt) transparent transparent transparent;
  }
}

/* ===================================
    8) Timer and Read-Aloud Components
    =================================== */

/* Global 30-minute cycle timer */
.cycle-timer {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1900;
  width: 220px;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, #111a22 0%, #0d1218 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
}

.cycle-timer-label {
  color: var(--text-muted);
  font-size: 9pt;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cycle-timer-value {
  color: var(--text-heading-accent);
  font-size: 17pt;
  line-height: 1.1;
  margin: 0;
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.cycle-timer-reset {
  width: 100%;
  grid-column: 1 / -1;
  font-size: 9pt;
  padding: 4px 6px;
}

.cycle-timer.is-flashing {
  animation: cycleTimerFlash 700ms step-end infinite;
}

@keyframes cycleTimerFlash {
  0%,
  100% {
    border-color: #ff9b42;
    box-shadow:
      0 0 0 2px rgba(255, 155, 66, 0.2),
      0 8px 18px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #2b1c0b 0%, #181008 100%);
  }

  50% {
    border-color: #ffd166;
    box-shadow:
      0 0 0 2px rgba(255, 209, 102, 0.45),
      0 8px 18px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #3a250f 0%, #20160b 100%);
  }
}

@media (max-width: 560px) {
  .cycle-timer {
    top: 8px;
    right: 8px;
    width: 188px;
    padding: 6px 8px;
  }

  .cycle-timer-value {
    font-size: 15pt;
  }
}

.read-aloud {
  position: relative;
  background: linear-gradient(180deg, #1a222c 0%, #11161c 100%);
  border: 1px solid var(--border-soft);
  border-left: 5px solid var(--text-heading-accent);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 20px 0 40px 0;
}

/* Subtle "Read Aloud" label */
.read-aloud::before {
  content: "Read Aloud";
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--bg-panel);
  padding: 2px 10px;
  font-size: 9pt;
  letter-spacing: 0.08em;
  color: var(--text-heading-accent);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
}

.read-aloud::after {
  content: "Pause for Reaction";
  position: absolute;
  bottom: -10px;
  right: 16px;
  background: var(--bg-panel);
  padding: 2px 10px;
  font-size: 9pt;
  letter-spacing: 0.08em;
  color: var(--text-heading-accent);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
}

.read-aloud.peaceful {
  border-left-color: #75ff91;
  color: #cfeedd;
}

.read-aloud.danger {
  border-left-color: var(--color-danger);
  color: #ffb3b3;
}

/* use this if there is a need for more options
.read-aloud.information {
    border-left-color: #B8B8FF;
    color: #dcdcff;
}*/

/* Shared location portrait figure styles retained across templates. */
.npc-portrait-figure {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.npc-portrait-figure figcaption {
  color: var(--text-muted);
  font-size: 10pt;
  text-align: center;
}

.npc-portrait-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.npc-portrait-gallery .npc-portrait-figure {
  flex: 0 1 180px;
}

.npc-roleplay-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-primary);
}

.npc-roleplay-list li {
  margin: 8px 0;
}

/* Shared stat block styles for bestiary and NPC profile pages. */
.stat-block {
  background: var(--bg-panel-alt);
  border: 2px solid var(--border-soft);
  border-top: 5px solid var(--text-link);
  padding: 12px;
  font-size: 15px;
  line-height: 1.4;
  word-spacing: 0.04em;
  color: var(--text-body);
}

.stat-block-placeholder {
  text-align: center;
  padding: 40px 8px;
  color: var(--text-muted);
  font-style: italic;
}

.stat-block-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--text-heading);
  margin-bottom: 3px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 4px;
}

.stat-block-subtitle {
  font-style: italic;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.stat-block-divider {
  border-top: 1px solid var(--border-soft);
  margin: 8px 0;
}

.stat-block-row {
  margin: 6px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.stat-block-label,
.stat-block-trait-name,
.stat-block-action-name,
.stat-block-sense-name,
.stat-block-section-header {
  font-weight: 700;
  color: var(--text-heading-accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0;
  text-align: center;
}

.stat-item {
  border: 1px solid var(--border-soft);
  padding: 6px 4px;
  background: rgba(255, 255, 255, 0.02);
}

.stat-item-header {
  font-size: 12px;
  color: var(--text-heading);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.4px;
  background: rgba(224, 176, 63, 0.2);
  border: 1px solid rgba(224, 176, 63, 0.45);
  border-radius: 4px;
  padding: 2px 4px;
}

.stat-item-body {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
}
