:root {
  color-scheme: dark;
  --bg: #09090b;
  --card: rgba(24,24,27,.92);
  --card-2: rgba(39,39,42,.55);
  --border: #27272a;
  --border-soft: rgba(63,63,70,.55);
  --text: #e4e4e7;
  --muted: #a1a1aa;
  --white: #fff;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --green: #34d399;
  --blue: #93c5fd;
  --discord: #5865f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% -10%, rgba(245,158,11,.12), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(88,101,242,.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

#bee-home-widget {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.bee-header {
  margin-bottom: 2rem;
  text-align: left;
}

.bee-discord-header {
  margin-left: auto;
  padding: .65rem .9rem;
  border-radius: .65rem;
  text-decoration: none;
  background: var(--discord);
  border: 1px solid #4752c4;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s, background .2s;
}

.bee-discord-header:hover,
.bee-discord-header:focus {
  background: #4752c4;
  transform: translateY(-1px);
  outline: none;
}

.bee-title-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}

.bee-title-mascot-wrap,
.floating-bee {
  background: radial-gradient(
    circle at 30% 30%,
    #fde68a 0%,
    #fbbf24 45%,
    #f59e0b 100%
  );
  box-shadow:
    0 10px 24px rgba(0,0,0,.18),
    0 3px 8px rgba(245,158,11,.22),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.default.image-bee-wrap {
  background: none;
  box-shadow: none;
}

.bee-title-mascot-wrap {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  animation: beeTitleBob 2.6s ease-in-out infinite;
}

.bee-title-mascot {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.bee-default-image {
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes beeTitleBob {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: var(--amber-light);
  line-height: 1.1;
}

.page-title {
  color: var(--text);
}

.bee-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
}

.bee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.bee-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0,0,0,.10),
    0 2px 4px -1px rgba(0,0,0,.06);
}

.bee-card-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(39,39,42,.5);
}

.bee-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.bee-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--amber-light);
  display: inline-block;
  vertical-align: middle;
}

.bee-prose p {
  margin: 0 0 .85rem;
  color: #d4d4d8;
}

.bee-prose p:last-child {
  margin-bottom: 0;
}

.bee-panel-row {
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  border-radius: .75rem;
  padding: 1rem;
  margin-bottom: .75rem;
  transition: transform .2s, border-color .2s;
}

.bee-panel-row:last-child {
  margin-bottom: 0;
}

.bee-panel-row:hover {
  border-color: rgba(245,158,11,.3);
  transform: translateY(-1px);
}

.bee-panel-title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}

.bee-panel-text {
  margin: 0;
  color: #d4d4d8;
  font-size: .95rem;
}

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

ul.bee-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .75rem;
  color: #d4d4d8;
}

ul.bee-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

.bee-calendar-frame {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: .5rem;
  background: #27272a;
}

.bee-actions {
  display: grid;
  gap: 1rem;
}

.bee-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-decoration: none;
  border-radius: .75rem;
  border: 1px solid #3f3f46;
  background: #27272a;
  transition: all .2s;
  color: inherit;
}

.bee-btn:hover {
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(245,158,11,.45);
}

.bee-btn.primary {
  background: var(--amber);
  border-color: #d97706;
  color: #000;
}

.bee-btn.primary:hover {
  background: var(--amber-light);
}

.bee-btn.discord {
  background: var(--discord);
  border-color: #4752c4;
  color: #fff;
}

.bee-btn.discord:hover {
  background: #4752c4;
}

.bee-btn-icon-box {
  padding: .5rem;
  border-radius: .5rem;
  background: rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.bee-btn.primary .bee-btn-icon-box {
  background: rgba(0,0,0,.10);
}

.bee-btn-text strong {
  display: block;
  font-size: 1rem;
}

.bee-btn-text span {
  display: block;
  font-size: .85rem;
  opacity: .8;
}

/* Site navigation */
.bee-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
  padding: .6rem;
  background: rgba(24,24,27,.72);
  border: 1px solid var(--border);
  border-radius: .7rem;
  position: static;
  top: .6rem;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.bee-site-nav a {
  text-decoration: none;
  padding: .65rem .9rem;
  border-radius: .65rem;
  color: #d4d4d8;
  font-weight: 700;
  border: 1px solid transparent;
}

.bee-site-nav a:hover,
.bee-site-nav a:focus {
  color: #000;
  background: var(--amber-light);
  border-color: var(--amber);
  outline: none;
}

.bee-site-nav a.active {
  color: #000;
  background: var(--amber-light);
  border-color: var(--amber);
}

.bee-page-section {
  scroll-margin-top: 6rem;
  margin-top: 3rem;
  padding-top: .5rem;
}

.bee-section-heading {
  margin: 0 0 1.25rem;
}

.bee-section-heading h2 {
  margin: 0 0 .35rem;
  font-size: 1.7rem;
  color: var(--amber-light);
}

.bee-section-heading p {
  margin: 0;
  color: var(--muted);
}

.bee-embed-wrap {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: .75rem;
  background: #fff;
}

.bee-sheet-frame {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  background: #fff;
}

.bee-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.bee-small-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .9rem;
  border-radius: .65rem;
  text-decoration: none;
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #fff;
  font-weight: 700;
}

.bee-small-link:hover {
  border-color: rgba(245,158,11,.55);
  background: #3f3f46;
}

/* Legacy footer */
.bee-footer {
  width: 100%;
  margin-top: .2rem;
  padding: .2rem .5rem;
  font-size: .75rem;
  color: var(--text);
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("/assets/Nommos%20Bees.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
  border-radius: .75rem;
}

.bee-footer p {
  margin: 0 0 .35rem;
}

.bee-footer a {
  color: var(--amber);
  text-decoration: underline;
}

/* Full-width page footer */
.site-footer {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.site-footer-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: .65rem 1rem;
  color: var(--text);
  font-size: .75rem;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0));
}

.site-footer-content a {
  color: var(--amber);
  text-decoration: underline;
}

.site-footer-content a:hover,
.site-footer-content a:focus {
  color: var(--amber-light);
}

/* Floating bee */
.floating-bee {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 9999px;
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: beeBob 2.6s ease-in-out infinite;
  overflow: hidden;
}

.floating-bee:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow:
    0 20px 40px rgba(0,0,0,.34),
    0 6px 16px rgba(245,158,11,.34),
    inset 0 1px 0 rgba(255,255,255,.42);
}

.floating-bee img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.18));
  pointer-events: none;
}

@keyframes beeBob {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* General responsive layout */
@media (min-width: 1024px) {
  .bee-grid {
    grid-template-columns: 1.35fr 1fr;
  }
}

.bee-page-intro {
  margin-bottom: 1.5rem;
}

.bee-page-intro h2 {
  margin: 0 0 .4rem;
  color: var(--amber-light);
  font-size: 1.7rem;
}

.bee-page-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.bee-cta-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .bee-cta-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* Raid guide */
.guide-intro {
  background: linear-gradient(
    135deg,
    rgba(245,158,11,.12),
    rgba(88,101,242,.08)
  );
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.guide-intro p {
  margin: .4rem 0 0;
  color: #d4d4d8;
}

.guide-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  gap: .7rem;
  margin: 1rem 0 2rem;
}

.guide-toc a {
  text-decoration: none;
  border: 1px solid var(--border-soft);
  background: var(--card-2);
  padding: .8rem 1rem;
  border-radius: .7rem;
  color: var(--text);
  font-weight: 700;
}

.guide-toc a:hover {
  border-color: var(--amber);
  color: var(--amber-light);
}

.boss-guide {
  scroll-margin-top: 7rem;
}

.boss-guide > h2 {
  margin: 0 0 1rem;
  color: var(--amber-light);
  font-size: 1.45rem;
}

.guide-subhead {
  margin: 1.35rem 0 .6rem;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
}

.guide-subhead.wipe {
  color: #fca5a5;
}

.guide-subhead.heroic {
  color: #c4b5fd;
}

.guide-subhead.calls {
  color: #93c5fd;
}

.guide-list {
  margin: .3rem 0 0;
  padding-left: 1.25rem;
}

.guide-list li {
  margin: .45rem 0;
  color: #d4d4d8;
}

.guide-text {
  color: #d4d4d8;
  margin: .55rem 0;
}

.guide-back {
  display: inline-block;
  margin-top: 1rem;
  color: var(--amber-light);
  font-weight: 700;
  text-decoration: none;
}

.quick-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: .8rem;
}

.quick-ref-item {
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  border-radius: .7rem;
  padding: .9rem 1rem;
}

.quick-ref-item strong {
  display: block;
  color: var(--amber-light);
  margin-bottom: .3rem;
}

/* GLOBAL: alternating mirrored orb pattern */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 8% 13%, rgba(88,101,242,.18), transparent 27rem),
    radial-gradient(circle at 92% 24%, rgba(88,101,242,.18), transparent 27rem),
    radial-gradient(circle at 18% 44%, rgba(245,158,11,.24), transparent 30rem),
    radial-gradient(circle at 18% 56%, rgba(245,158,11,.24), transparent 30rem),
    radial-gradient(circle at 92% 76%, rgba(88,101,242,.18), transparent 27rem),
    radial-gradient(circle at 8% 87%, rgba(88,101,242,.18), transparent 27rem);
  background-size:
    100% 1800px,
    100% 1800px,
    100% 1800px,
    100% 1800px,
    100% 1800px,
    100% 1800px;
  background-position: 0 0;
  background-repeat: repeat-y;
}

/* Members page */
.member-link-grid {
  display: grid;
  gap: .75rem;
}

.member-link-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  border-radius: .75rem;
  transition: transform .2s, border-color .2s, background .2s;
}

.member-link-card:hover,
.member-link-card:focus {
  transform: translateY(-1px);
  border-color: rgba(245,158,11,.45);
  background: rgba(63,63,70,.62);
  outline: none;
}

.member-link-icon {
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  color: var(--amber-light);
  flex: 0 0 auto;
  font-weight: 800;
}

.member-link-text {
  min-width: 0;
}

.member-link-text strong {
  display: block;
  color: var(--white);
  font-size: .98rem;
  line-height: 1.2;
}

.member-link-text span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  margin-top: .15rem;
}

.member-link-arrow {
  margin-left: auto;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 1.1rem;
}

/* Individual member character profile */
.bee-member-profile {
  display: flex;
  align-items: center;
  gap: 40px;
}

.bee-member-profile .image-bee {
  width: 440px;
  height: 440px;
  flex: 0 0 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bee-member-profile #member-image {
  display: block;
  width: 175%;
  height: 175%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

/* Character information card */
.bee-member-info {
  width: 260px;
  flex: 0 0 260px;
  padding: 18px 22px;
  text-align: left;
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  border-radius: .75rem;
}

.bee-member-character,
.bee-member-level,
.bee-member-spec-class {
  line-height: 1.4;
}

.bee-member-character:first-child {
  margin-bottom: 6px;
  color: var(--amber-light);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

#member-character-display {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
}

.bee-member-level {
  margin-top: 6px;
  color: var(--muted);
}

.bee-member-spec-class {
  margin-top: 2px;
  color: var(--text);
  font-weight: 600;
}

.bee-code {
  margin-top: .75rem;
  background: #18181b;
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .8rem .9rem;
  color: #d4d4d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: .83rem;
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.bee-note {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .92rem;
}

.member-actions-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
}

/* Members page two-column layout */
.members-page-layout {
  width: 100%;
  max-width: 1180px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 48px;
  align-items: start;
}

.members-characters,
.members-sidebar,
.members-section {
  min-width: 0;
}

.members-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.members-page-layout .bee-card-header {
  margin-bottom: 16px;
}

.members-sidebar .bee-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.members-character-intro {
  margin-bottom: 18px;
}

.members-character-intro p {
  margin-top: 0;
}

.members-characters .member-actions-note {
  margin-top: 20px;
}

/* Site title */
.bee-site-title {
  text-decoration: none;
  color: inherit;
}

.bee-site-title:hover h1,
.bee-site-title:focus h1 {
  color: var(--amber);
}

.bee-site-title:focus {
  outline: none;
}

.bee-site-title:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 4px;
  border-radius: .5rem;
}

/* Responsive navigation */
.bee-nav-wrap {
  position: relative;
}

.bee-menu-toggle {
  display: none;
}

/* Tablet portrait + mobile */
@media (max-width: 850px) {
  .members-page-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .members-sidebar {
    gap: 24px;
  }

  .bee-discord-header {
    display: none;
  }

  .bee-nav-wrap {
    position: static;
  }

  .bee-menu-toggle {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 10001;
  }

  .bee-menu-toggle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .bee-menu-toggle:hover {
    transform: scale(1.05);
  }

  .bee-menu-toggle:focus-visible {
    outline: 2px solid var(--amber-light);
    outline-offset: 4px;
    border-radius: .5rem;
  }

  .bee-site-nav {
    display: none;
    position: fixed;
    top: 5rem;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: .5rem;
    margin: 0;
    padding: .6rem;
    z-index: 10000;
    background: rgba(24,24,27,.96);
    border: 1px solid var(--border);
    border-radius: .7rem;
    backdrop-filter: blur(10px);
  }

  .bee-site-nav.menu-open {
    display: flex;
  }

  .bee-site-nav a {
    width: 100%;
  }
}

/* Character profile on smaller screens */
@media (max-width: 700px) {
  .bee-member-profile {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .bee-member-profile .image-bee {
    width: 300px;
    height: 300px;
    flex: 0 0 300px;
    max-width: 100%;
  }

  .bee-member-profile #member-image {
    width: 175%;
    height: 175%;
    max-width: none;
  }

  .bee-member-info {
    width: 100%;
    max-width: 360px;
    flex: none;
  }
}

/* Phones */
@media (max-width: 640px) {
  #bee-home-widget {
    padding: 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .bee-card {
    padding: 1rem;
  }

  .bee-title-mascot-wrap {
    width: 46px;
    height: 46px;
  }

  .bee-title-mascot {
    width: 34px;
    height: 34px;
  }

  .floating-bee {
    width: 60px;
    height: 60px;
    right: 14px;
    bottom: 14px;
  }

  .bee-menu-toggle {
    width: 42px;
    height: 42px;
    top: .75rem;
    right: .75rem;
  }

  .bee-site-nav {
    top: 4.25rem;
  }
}