/* src/styles.css */
:root {
  --bg-night: #120f0f;
  --bg-smoke: #1b1717;
  --panel-wood: rgba(37, 26, 20, 0.92);
  --panel-deep: rgba(24, 20, 18, 0.94);
  --panel-soft: rgba(52, 38, 28, 0.9);
  --ink: #f2e7c9;
  --ink-soft: #d3c3a0;
  --gold: #d4af37;
  --gold-bright: #f0d77a;
  --ember: #b14f2d;
  --crimson: #8f2f2f;
  --forest: #294033;
  --line: rgba(212, 175, 55, 0.22);
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Book Antiqua",
    "Palatino Linotype",
    Georgia,
    serif;
  background:
    radial-gradient(
      circle at top,
      rgba(143, 47, 47, 0.16),
      transparent 34%),
    radial-gradient(
      circle at 15% 20%,
      rgba(212, 175, 55, 0.08),
      transparent 24%),
    linear-gradient(
      180deg,
      #211714 0%,
      #130f0e 50%,
      #0c0a09 100%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 44px,
      rgba(212, 175, 55, 0.02) 45px,
      transparent 46px);
  mix-blend-mode: screen;
  opacity: 0.55;
}
app-root {
  display: block;
  min-height: 100vh;
}
.app-shell {
  position: relative;
  min-height: 100vh;
}
.app-shell::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 180px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(8, 6, 6, 0.65) 100%);
}
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background:
    linear-gradient(
      180deg,
      rgba(20, 15, 14, 0.96) 0%,
      rgba(30, 21, 19, 0.92) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.app-topbar-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.app-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.app-brand:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}
.app-brand-mark {
  color: var(--gold-bright);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.app-brand-title {
  margin: 0;
  color: #f8f1dc;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  letter-spacing: 0.04em;
}
.app-brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.app-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.app-nav-shell {
  display: flex;
  align-items: left;
  gap: 16px;
  flex: 1;
  min-width: 0;
  position: relative;
}
.app-hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.app-hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gold-bright);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.app-hamburger-btn[aria-expanded=true] .app-hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.app-hamburger-btn[aria-expanded=true] .app-hamburger-line:nth-child(2) {
  opacity: 0;
}
.app-hamburger-btn[aria-expanded=true] .app-hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.app-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background:
    linear-gradient(
      180deg,
      rgba(20, 15, 14, 0.98) 0%,
      rgba(30, 21, 19, 0.96) 100%);
  z-index: 40;
  padding-top: 80px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.app-mobile-menu.is-open {
  transform: translateX(0);
}
.app-mobile-menu .app-nav {
  flex-direction: column;
  width: 100%;
  padding: 20px 16px;
  gap: 0;
}
.app-mobile-menu .app-nav a {
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  border-radius: 10px;
  margin-bottom: 8px;
}
.app-button-container-mobile {
  padding: 20px 16px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.app-button-container-mobile a {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
}
.app-nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.app-button-container-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.app-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 39;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.app-auth-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}
.app-user-menu {
  position: relative;
  min-width: 0;
}
.app-nav a,
.app-auth-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.04em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.app-nav a:hover,
.app-auth-nav a:hover {
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.42);
}
.app-nav a.router-link-active,
.app-auth-nav a.router-link-active {
  color: #1b120d;
  background:
    linear-gradient(
      135deg,
      var(--gold) 0%,
      var(--gold-bright) 100%);
  border-color: rgba(240, 215, 122, 0.85);
}
.app-user-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  max-width: min(320px, 38vw);
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.app-user-badge-btn {
  min-width: 0;
}
.app-user-badge-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.42);
}
.app-user-role {
  color: var(--ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.app-role-switcher {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.12),
      transparent 28%),
    linear-gradient(
      180deg,
      rgba(67, 45, 31, 0.96) 0%,
      rgba(30, 23, 19, 0.98) 100%);
  box-shadow: var(--shadow);
  z-index: 30;
}
.app-role-switcher-title {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.app-role-option {
  width: 100%;
  justify-content: flex-start;
  margin-top: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.app-role-option:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.38);
}
.app-role-option.is-active {
  color: #2a1a0f;
  background:
    linear-gradient(
      135deg,
      var(--gold) 0%,
      var(--gold-bright) 100%);
  border-color: rgba(240, 215, 122, 0.7);
}
.button-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.list-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.1),
      transparent 26%),
    linear-gradient(
      180deg,
      rgba(67, 45, 31, 0.88) 0%,
      rgba(30, 23, 19, 0.96) 100%);
  box-shadow: var(--shadow);
}
.list-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      transparent 24%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 40px,
      rgba(212, 175, 55, 0.016) 41px,
      transparent 42px);
}
.list-card > * {
  position: relative;
  z-index: 1;
}
.session-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.list-card h3 {
  margin: 0 0 10px;
  color: #fbf4df;
}
.list-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .list-card {
    padding: 18px;
    border-radius: var(--radius-md);
  }
}
.app-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}
.app-role-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 6, 6, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.app-role-modal {
  width: min(560px, 100%);
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.14),
      transparent 28%),
    linear-gradient(
      180deg,
      rgba(67, 45, 31, 0.96) 0%,
      rgba(30, 23, 19, 0.98) 100%);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.42);
}
.app-role-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      transparent 24%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 40px,
      rgba(212, 175, 55, 0.016) 41px,
      transparent 42px);
}
.app-role-modal > * {
  position: relative;
  z-index: 1;
}
.app-role-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
app-home-component,
app-about-component,
app-users-component,
app-session-component,
app-session-create-component,
app-campaign-card-component,
app-back-button-component,
app-player-component,
app-entities-component,
app-maps-component,
app-campaign-component,
app-universe-component,
app-characters-component {
  display: block;
}
.page-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(
      180deg,
      rgba(67, 45, 31, 0.9) 0%,
      rgba(30, 23, 19, 0.96) 100%);
  box-shadow: var(--shadow);
}
.page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.14),
      transparent 28%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      transparent 24%);
}
.page-card > * {
  position: relative;
  z-index: 1;
}
.page-card h1,
.page-card h2,
.page-card h3 {
  margin-top: 0;
  color: #fbf4df;
}
.page-card p {
  color: var(--ink-soft);
}
.section-title {
  margin-bottom: 10px;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}
.section-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.empty-copy {
  max-width: 100ch;
}
ul {
  padding-left: 18px;
}
li {
  margin: 8px 0;
}
button,
.primary-btn,
.secondary-btn,
.danger-btn,
.btn-add,
.btn-cancel,
.btn-add-new-item,
.btn-reset,
.btn-remove-item,
.add-stat-btn {
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}
input,
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(240, 215, 122, 0.14);
  background: rgba(15, 11, 10, 0.82);
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
input::placeholder,
textarea::placeholder {
  color: rgba(211, 195, 160, 0.72);
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(240, 215, 122, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: rgba(18, 13, 11, 0.94);
}
button,
.primary-btn,
.secondary-btn,
.danger-btn,
.btn-add,
.btn-cancel,
.btn-add-new-item,
.btn-reset,
.btn-remove-item,
.add-stat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.danger-btn:hover,
.btn-add:hover,
.btn-cancel:hover,
.btn-add-new-item:hover,
.btn-reset:hover,
.btn-remove-item:hover,
.add-stat-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}
button:disabled,
.primary-btn:disabled,
.secondary-btn:disabled,
.danger-btn:disabled,
.btn-add:disabled,
.btn-cancel:disabled,
.btn-add-new-item:disabled,
.btn-reset:disabled,
.btn-remove-item:disabled,
.add-stat-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.primary-btn,
.btn-add,
.btn-add-new-item,
.add-stat-btn {
  color: #2a1a0f;
  background:
    linear-gradient(
      135deg,
      var(--gold) 0%,
      var(--gold-bright) 100%);
  border-color: rgba(240, 215, 122, 0.6);
}
.secondary-btn,
.btn-cancel,
.btn-reset {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}
.secondary-btn:hover,
.btn-cancel:hover,
.btn-reset:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.38);
}
.danger-btn,
.btn-remove-item {
  color: #ffe6dc;
  background:
    linear-gradient(
      135deg,
      #8f2f2f 0%,
      #6e1f1f 100%);
  border-color: rgba(255, 192, 169, 0.18);
}
.app-icon-container {
  display: none;
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 25;
}
.app-button-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.app-user-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-bright);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.app-user-icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.42);
}
.app-user-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.app-role-switcher-mobile {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  z-index: 30;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.12),
      transparent 28%),
    linear-gradient(
      180deg,
      rgba(67, 45, 31, 0.96) 0%,
      rgba(30, 23, 19, 0.98) 100%);
  box-shadow: var(--shadow);
}
.app-role-switcher-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}
.app-logout-option {
  width: 100%;
  justify-content: flex-start;
  color: #ffe6dc;
  background: rgba(143, 47, 47, 0.15);
  border: 1px solid rgba(255, 192, 169, 0.18);
}
.app-logout-option:hover {
  background: rgba(143, 47, 47, 0.28);
  border-color: rgba(255, 192, 169, 0.35);
}
.app-login-icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-bright);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none;
}
.app-login-icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.42);
}
.app-login-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.app-login-btn {
  display: flex;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.04em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.app-login-btn:hover {
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.42);
}
.app-button-container-desktop a[href=""],
.app-nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.04em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-button-container-desktop a[href=""]:hover {
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.42);
}
@media (max-width: 640px) {
  .app-icon-container {
    display: block;
  }
  .app-hamburger-btn {
    display: flex;
  }
  .app-nav-desktop {
    display: none;
  }
  .app-button-container-desktop {
    display: none;
  }
  .app-mobile-menu {
    display: block;
  }
  .app-login-icon-btn {
    display: flex;
  }
  .app-login-btn {
    display: none;
  }
}
@media (max-width: 900px) {
  .app-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-nav-shell {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .app-nav {
    width: 100%;
    justify-content: flex-start;
  }
  .app-auth-nav {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
  .app-user-badge {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .app-main,
  .app-topbar-inner {
    width: min(100% - 20px, 1180px);
  }
  .app-main {
    padding-top: 14px;
  }
  .app-topbar-inner {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
  }
  .app-hamburger-btn {
    justify-self: start;
  }
  .app-brand {
    align-items: center;
    min-width: 0;
    text-align: center;
  }
  .app-brand-mark,
  .app-brand-title {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .app-brand-mark {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }
  .app-brand-title {
    font-size: 1.2rem;
  }
  .app-brand-subtitle {
    display: none;
  }
  .app-nav-shell {
    display: contents;
  }
  .app-icon-container {
    position: static;
    justify-self: end;
  }
  .page-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .page-card::before {
    display: none;
  }
  .app-nav a,
  .app-auth-nav a,
  .app-user-badge {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .app-auth-nav {
    width: auto;
    margin-left: 0;
  }
  .app-user-menu {
    width: 100%;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
