/* ============================================================
   MYTHICAAI THEME - CRIMSON & GOLD FANTASY (Final Version)
   ============================================================ */

:root {
  --theme-mode: 'torchlight';
  --crimson: #b91c1c;
  --amber: #f97316;
  --gold: #facc15;
  --ink: #f9fafb;
  --muted: #d1d5db;
  --stroke: rgba(255,255,255,.12);
  --glass: rgba(255,255,255,.04);
  --glass-2: rgba(255,255,255,.08);
  --bg-dark: #0f0e11;
  --bg-deep: #09090b;
  --bg-gradient-1: rgba(185, 28, 28, 0.18);
  --bg-gradient-2: rgba(250, 204, 21, 0.12);
  --bg-gradient-3: rgba(15, 23, 42, 0.85);
  --surface-blur: rgba(15, 14, 17, 0.7);
  --surface-secondary: rgba(15, 23, 42, 0.6);
  --hero-highlight: linear-gradient(90deg, rgba(185,28,28,0.8), rgba(249,115,22,0.65), rgba(250,204,21,0.75));
  --page-max-width: min(72rem, 96vw);
  --page-wide-max-width: min(78rem, 96vw);
  --page-padding: clamp(1rem, 4vw, 2.75rem);
}

:root[data-theme="dawnlight"] {
  --theme-mode: 'dawnlight';
  --crimson: #fb7185;
  --amber: #f97316;
  --gold: #fde68a;
  --ink: #0f172a;
  --muted: #1f2937;
  --stroke: rgba(15,23,42,.15);
  --glass: rgba(255,255,255,.55);
  --glass-2: rgba(255,255,255,.85);
  --bg-dark: #fdf2f8;
  --bg-deep: #fef9c3;
  --bg-gradient-1: rgba(248, 113, 113, 0.25);
  --bg-gradient-2: rgba(253, 224, 71, 0.25);
  --bg-gradient-3: rgba(251, 191, 36, 0.25);
  --surface-blur: rgba(255, 255, 255, 0.75);
  --surface-secondary: rgba(254, 243, 199, 0.85);
  --hero-highlight: linear-gradient(90deg, rgba(248,113,113,0.7), rgba(251,191,36,0.7), rgba(217,70,239,0.65));
}

@media (min-width: 1280px) {
  :root {
    --page-max-width: 78rem;
    --page-wide-max-width: 84rem;
  }
}

/* ================== Base Layout ================== */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 30%, var(--bg-gradient-1), transparent 70%),
    radial-gradient(circle at 80% 70%, var(--bg-gradient-2), transparent 70%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-deep) 90%);
  background-attachment: fixed;
  color: var(--ink);
  margin: 0;
  overflow-x: hidden;
  transition: background 0.6s ease, color 0.6s ease;
}

body[data-session-mood="triumph"] {
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.32), transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(250, 204, 21, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(13, 148, 136, 0.85), var(--bg-dark) 92%);
}

body[data-session-mood="peril"] {
  background:
    radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.35), transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(125, 29, 29, 0.45), transparent 70%),
    linear-gradient(180deg, #111827, #0b1120 88%);
}

body[data-session-mood="tension"] {
  background:
    radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.25), transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(147, 197, 253, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(30, 64, 175, 0.75), var(--bg-deep) 88%);
}

.page-shell {
  width: min(var(--page-max-width), calc(100% - 2rem));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.page-shell.wide {
  width: min(var(--page-wide-max-width), 100%);
}

.section {
  padding-block: 5rem;
}
.section-narrow {
  max-width: 420px;
  margin: 4rem auto;
  padding: 2rem 1rem;
}

/* ================== Text Styling ================== */
h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(90deg, var(--crimson), var(--amber), var(--gold));
  -webkit-background-clip: text;
  color: transparent;
}

/* ================== Navbar ================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-blur);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  animation: fadeInDown .6s ease both;
}

.nav-item {
  position: relative;
  color: #e5e7eb;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  transition: color 0.3s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--amber), var(--gold));
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}

/* Regular link hover underline */
.nav-item:hover {
  color: var(--gold);
}
.nav-item:hover::after {
  width: 100%;
  left: 0;
}

/* Button-style nav links (no underline hover) */
.nav-item.special.gradient {
  background: var(--hero-highlight);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 0.6rem;
  box-shadow: 0 3px 12px rgba(250,204,21,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Disable underline hover for buttons */
.nav-item.special.gradient::after {
  content: none;
}

.nav-item.special.gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(250,204,21,0.45);
  filter: brightness(1.05);
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ================== Cards ================== */
.card,
.form-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 25px rgba(0,0,0,.4);
  margin-inline: auto;
}

.card {
  max-width: 900px;
  transition: transform 0.2s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}

/* ================== Buttons ================== */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 0.8rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--crimson), var(--amber), var(--gold));
  box-shadow: 0 8px 25px rgba(185,28,28,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(185,28,28,0.45);
  filter: brightness(1.05);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}

/* ================== Inputs ================== */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--bg-gradient-1) 60%, transparent), transparent 60%),
      radial-gradient(circle at 90% 20%, color-mix(in srgb, var(--bg-gradient-2) 55%, transparent), transparent 65%),
      linear-gradient(180deg, color-mix(in srgb, var(--bg-dark) 85%, var(--bg-deep) 15%), var(--bg-deep) 95%);
  }

  .page-shell {
    padding-inline: clamp(1rem, 6vw, 2rem);
  }

  .navbar {
    background: color-mix(in srgb, var(--surface-blur) 80%, rgba(0,0,0,0.4) 20%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  }

  .card {
    backdrop-filter: blur(10px);
  }
}
.input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(250,204,21,.25);
}

/* ================== Alerts ================== */
.alert {
  background: rgba(185,28,28,.15);
  border: 1px solid rgba(185,28,28,.3);
  color: #fecaca;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ================== OAuth Buttons ================== */
.oauth-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: rgba(255,255,255,.03);
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.oauth-btn:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}
.oauth-btn img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 2px rgba(0,0,0,.4));
}

/* ================== Divider (or) ================== */
.relative.my-6 .absolute {
  background: linear-gradient(to-br, rgba(30,30,30,.6), rgba(48,33,23,.6));
  backdrop-filter: blur(6px);
  border-radius: 0.4rem;
}

/* ================== Hero & Features ================== */
.hero {
  text-align: center;
  padding: 6rem 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--crimson), var(--amber), var(--gold));
  -webkit-background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 42rem;
  margin: 1rem auto 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ================== Grid Cards ================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* ================== Footer ================== */
footer {
  border-top: 1px solid var(--stroke);
  background: rgba(0,0,0,.4);
  color: #cbd5e1;
}
.footer-title {
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.footer-list a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin: 0.25rem 0;
  transition: color .2s;
}
.footer-list a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .section {
    padding-block: clamp(3rem, 7vw, 4rem);
  }

  .card,
  .form-card {
    padding: clamp(1.75rem, 4vw, 2.25rem);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: clamp(1rem, 5vw, 1.75rem);
  }

  .card,
  .form-card {
    padding: clamp(1.4rem, 6vw, 1.8rem);
  }
}

/* ================== Animations ================== */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn .5s ease both;
}

.nav-link {
  color: color-mix(in srgb, var(--ink) 80%, rgba(148, 163, 184, 0.85));
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: var(--hero-highlight);
  transition: width 0.3s;
  border-radius: 2px;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--gold);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.25s ease both;
}

/* ================== Hero Enhancements ================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(185,28,28,0.15), transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(250,204,21,0.1), transparent 70%);
  overflow: hidden;
}

@keyframes glow {
  0% { text-shadow: 0 0 5px rgba(250,204,21,0.3); }
  50% { text-shadow: 0 0 25px rgba(250,204,21,0.5); }
  100% { text-shadow: 0 0 5px rgba(250,204,21,0.3); }
}
.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

/* ================== Canvas Embers ================== */
#embersCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ================== Smooth Fade ================== */
@keyframes fadeInSlow {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-slow {
  animation: fadeInSlow 1.5s ease both;
}

/* ================== Floating Embers JS Effect ================== */
.ember {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,204,21,0.8), rgba(185,28,28,0.2));
  pointer-events: none;
  animation: floatEmber 10s infinite ease-in-out alternate;
}
@keyframes floatEmber {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-100px) scale(1.2); opacity: 0.3; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 10s linear infinite;
}

.delay-200 {
  animation-delay: 0.2s;
}

/* Fix inconsistent hover detection */
.btn-primary:hover, .btn-ghost:hover {
  will-change: transform, background;
  transform: translateY(-2px);
}

/* Star background subtle motion */
@keyframes stars-move {
  from { background-position: 0 0; }
  to { background-position: 1000px 500px; }
}
.bg-stars {
  background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
  animation: stars-move 120s linear infinite;
}

/* Smooth spin for 500 glowing orb */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 12s linear infinite;
}

.delay-200 {
  animation-delay: 0.2s;
}

/* ================== Fancy Loader Animations ================== */
@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes fade-in {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-spin-slow {
  animation: spin-slow 7s linear infinite;
}
.animate-spin-reverse {
  animation: spin-reverse 9s linear infinite;
}
.animate-pulse-slow {
  animation: pulse-slow 2s ease-in-out infinite;
}
.animate-fade-in {
  animation: fade-in 0.6s ease both;
}


/* ================== Landing Enhancements ================== */
.realm-stat {
  padding: 1.2rem 1.4rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(248, 113, 22, 0.1), rgba(15, 23, 42, 0.55));
  box-shadow: 0 12px 45px rgba(15, 15, 20, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.realm-stat:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 204, 21, 0.45);
}
.realm-stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(226, 232, 240, 0.65);
  margin: 0;
}
.realm-stat__value {
  margin: 0.6rem 0 0;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fef08a;
}

.mythica-realm {
  position: relative;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 70px rgba(8, 8, 12, 0.6);
  overflow: hidden;
}
.mythica-realm__tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1.1rem 1.1rem 0.35rem;
}
.mythica-realm__tab {
  flex: 1 1 0;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 15, 20, 0.45);
  color: rgba(226, 232, 240, 0.75);
  transition: all 0.25s ease;
}
.mythica-realm__tab:hover,
.mythica-realm__tab.is-active {
  border-color: rgba(250, 204, 21, 0.5);
  color: #fefce8;
  background: linear-gradient(90deg, rgba(248, 113, 22, 0.35), rgba(251, 191, 36, 0.25));
}
.mythica-realm__body {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.mythica-realm__eyebrow {
  margin: 0;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(251, 191, 36, 0.75);
}
.mythica-realm__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f8fafc;
}
.mythica-realm__subtitle {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
}
.mythica-realm__highlights {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.9rem;
  display: grid;
  gap: 0.4rem;
}
.mythica-realm__log {
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 15, 24, 0.78);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.mythica-realm__entry {
  display: grid;
  gap: 0.3rem;
}
.mythica-realm__entry-role {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  width: fit-content;
}
.mythica-realm__entry-role--gm {
  background: rgba(248, 113, 22, 0.18);
  color: rgba(251, 191, 36, 0.9);
}
.mythica-realm__entry-role--player {
  background: rgba(59, 130, 246, 0.2);
  color: rgba(191, 219, 254, 0.9);
}

.flow-step {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 24, 0.75);
  padding: 1.9rem;
  display: grid;
  gap: 1rem;
  transition: transform 0.35s ease, border-color 0.3s ease;
}
.flow-step.is-active {
  border-color: rgba(250, 204, 21, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(7, 10, 20, 0.55);
}
.flow-step header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.flow-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 22, 0.55);
  background: rgba(248, 113, 22, 0.18);
  color: rgba(251, 191, 36, 0.9);
  font-weight: 700;
}
.flow-step h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #f8fafc;
}
.flow-step p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
}
.flow-step ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(226, 232, 240, 0.75);
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.mode-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 15, 20, 0.45);
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(226, 232, 240, 0.75);
  transition: all 0.2s ease;
}
.mode-chip:hover,
.mode-chip.is-active {
  color: #fefce8;
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.25), rgba(248, 113, 22, 0.22));
}
.mode-perk {
  padding-left: 1.4rem;
  position: relative;
}
.mode-perk::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: rgba(251, 191, 36, 0.85);
}

.feature-preview {
  position: relative;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 20, 0.78);
  box-shadow: 0 30px 80px rgba(7, 10, 20, 0.65);
  padding: 2.2rem;
  display: grid;
  gap: 1.4rem;
}
.feature-preview__header {
  display: grid;
  gap: 0.4rem;
}
.feature-preview__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(251, 191, 36, 0.75);
}
.feature-preview__title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  margin: 0;
  color: #f8fafc;
}
.feature-preview__body {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.6;
}
.feature-preview__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.feature-preview__card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 24, 42, 0.75);
  padding: 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.feature-preview__card-title {
  margin: 0;
  font-weight: 700;
  color: #fef9c3;
}
.feature-preview__card-copy {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.9rem;
}

.experience-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 20, 0.75);
  padding: 1.6rem;
  display: grid;
  gap: 0.6rem;
  box-shadow: 0 15px 45px rgba(7, 10, 20, 0.45);
}
.experience-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fef9c3;
}
.experience-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
}

.experience-panel {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 24, 0.82);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 1.4rem;
  padding: 2rem;
  box-shadow: 0 28px 80px rgba(8, 9, 18, 0.65);
}
.experience-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.experience-panel__badge {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.75);
}
.experience-panel__action {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 15, 20, 0.55);
  padding: 0.45rem 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.78);
  transition: all 0.2s ease;
}
.experience-panel__action:hover {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fefce8;
}
.experience-panel__body {
  display: grid;
  gap: 0.9rem;
}
.experience-panel__entry {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.75);
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.4rem;
}
.experience-panel__entry.is-gm {
  border-color: rgba(248, 113, 22, 0.35);
}
.experience-panel__role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(226, 232, 240, 0.65);
}
.experience-panel__entry p {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
}
.experience-panel__footer {
  display: grid;
  gap: 0.6rem;
}
.experience-panel__dice {
  border-radius: 1rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(248, 113, 22, 0.35);
  background: rgba(248, 113, 22, 0.12);
  color: rgba(251, 191, 36, 0.85);
  font-weight: 600;
  text-align: center;
}
.experience-panel__caption {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.65);
}

.mythica-realm__entry.is-gm {
  border-left: 2px solid rgba(248, 113, 22, 0.45);
  padding-left: 0.85rem;
}
