/* /Components/Layout/MainLayout.razor.rz.scp.css */
.paper[b-r9ggn7bi84] {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.75rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.masthead[b-r9ggn7bi84] {
  text-align: center;
  padding: 0.25rem 0 0;
}

.masthead__home[b-r9ggn7bi84] {
  display: inline-block;
  margin-top: 0.5rem;
}

.masthead__wordmark[b-r9ggn7bi84] {
  width: 100%;
  max-width: 17rem;
  height: auto;
}

.topnav[b-r9ggn7bi84] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.35rem;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.topnav[b-r9ggn7bi84]  a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  box-sizing: border-box;
}

.topnav[b-r9ggn7bi84]  a.active {
  background: var(--green);
  color: #fff;
}

.topnav__who[b-r9ggn7bi84] {
  font-weight: 400;
  font-style: italic;
  color: var(--grey);
  padding-left: 0.5rem;
}

.content[b-r9ggn7bi84] {
  flex: 1;
}

.colophon[b-r9ggn7bi84] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-style: italic;
}

.hubert-avatar[b-r9ggn7bi84] {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

#blazor-error-ui[b-r9ggn7bi84] {
  color-scheme: light only;
  background: var(--red);
  color: #fff;
  bottom: 0;
  box-shadow: 0 -1px 0.25rem rgba(0, 0, 0, 0.3);
  display: none;
  left: 0;
  padding: 0.75rem 1.5rem 0.75rem 1.25rem;
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

#blazor-error-ui .reload[b-r9ggn7bi84] {
  color: #fff;
  margin-left: 0.5rem;
}

#blazor-error-ui .dismiss[b-r9ggn7bi84] {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
/* /Components/Layout/PublicLayout.razor.rz.scp.css */
.site[b-xvonralnh1] {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.site__toolbar[b-xvonralnh1] {
  grid-column: 1 / -1;
}

.site__menu[b-xvonralnh1] {
  position: sticky;
  top: 0.75rem;
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: 0 1px 2px var(--shadow-1), 0 14px 32px -16px var(--shadow-2);
  padding: 1rem;
}

.site__brand[b-xvonralnh1] {
  display: block;
  margin-bottom: 0.75rem;
}

.site__brand img[b-xvonralnh1] {
  width: 100%;
  height: auto;
  display: block;
}

.site__menu ul[b-xvonralnh1] {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site__menu li a[b-xvonralnh1] {
  display: block;
  padding: 0.6rem 0.75rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-radius: 0.75rem;
}

.site__menu li a:hover[b-xvonralnh1] {
  background: var(--card-2);
}

/* Hopfällbar grupp i menyn (spec §11): summary ser ut som en länk, pilen vrids när gruppen är öppen. */
.site__group summary[b-xvonralnh1] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  color: var(--ink);
  font-weight: 700;
  border-radius: 0.75rem;
  cursor: pointer;
  list-style: none;
}

.site__group summary[b-xvonralnh1]::-webkit-details-marker {
  display: none;
}

.site__group summary[b-xvonralnh1]::after {
  content: "›";
  font-size: 1.3em;
  line-height: 1;
  transition: transform 0.15s ease;
}

.site__group details[open] > summary[b-xvonralnh1]::after {
  transform: rotate(90deg);
}

.site__group summary:hover[b-xvonralnh1] {
  background: var(--card-2);
}

.site__group details > ul[b-xvonralnh1] {
  margin: 0 0 0.25rem 0.9rem;
  padding-left: 0.5rem;
  border-left: 0.125rem solid var(--line);
}

.site__group details > ul li a[b-xvonralnh1] {
  font-weight: 600;
  font-size: 0.95em;
}

.site__menu-game a[b-xvonralnh1] {
  color: var(--green-text);
}

/* Menyknappen (spec §11): syns bara på smal skärm, se media-frågan nedan. Ikon + ordet "Meny" + var man är. */
.site__menu-button[b-xvonralnh1] {
  display: none;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
  border: 0.125rem solid var(--gold);
  border-radius: 0.75rem;
  background: var(--card-2);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.site__burger[b-xvonralnh1] {
  display: flex;
  flex-direction: column;
  gap: 0.22em;
  width: 1.2em;
  flex: none;
}

.site__burger i[b-xvonralnh1] {
  display: block;
  height: 0.16em;
  border-radius: 1em;
  background: currentColor;
}

/* Ordet och sidnamnet får radbrytas fritt: inget klipps i 200 % (spec §17). */
.site__menu-text[b-xvonralnh1] {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site__menu-current[b-xvonralnh1] {
  font-weight: 500;
}

.site__menu-current[b-xvonralnh1]::before {
  content: "·";
  margin: 0 0.4em 0 0.1em;
  color: var(--gold);
}

.site__menu-chevron[b-xvonralnh1] {
  justify-self: end;
  font-size: 1.3em;
  line-height: 1;
  transition: transform 0.15s ease;
}

.site__menu-button[aria-expanded="true"] .site__menu-chevron[b-xvonralnh1] {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .site__menu-chevron[b-xvonralnh1] { transition: none; }
}

.site__content[b-xvonralnh1] {
  min-width: 0;
}

/* Smal skärm eller stor text: menyn läggs ovanför innehållet i en kolumn. */
@media (max-width: 44rem) {
  .site[b-xvonralnh1] {
    grid-template-columns: minmax(0, 1fr);
  }

  .site__menu[b-xvonralnh1] {
    position: static;
    padding: 0.75rem 1rem;
  }

  .site__brand[b-xvonralnh1] {
    margin-bottom: 0.6rem;
  }

  .site__brand img[b-xvonralnh1] {
    max-width: 14rem;
    margin-inline: auto;
  }

  /* Hopfälld meny: bara logotypen och knappen. Ett tryck fäller ut listan under en tunn linje. */
  .site__menu-button[b-xvonralnh1] {
    display: grid;
  }

  .site__list[b-xvonralnh1] {
    display: none;
    margin-top: 0.6rem;
    padding-top: 0.4rem;
    border-top: 0.0625rem solid var(--line);
  }

  .site__menu--open .site__list[b-xvonralnh1] {
    display: block;
  }
}

/* Humlerankor i övre hörnen, bara dekor och bara när det finns plats. */
.site__hops[b-xvonralnh1] {
  display: none;
  position: absolute;
  top: -0.5rem;
  width: 16rem;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
  z-index: -1;
}

.site__hops--left[b-xvonralnh1] { left: -6rem; }
.site__hops--right[b-xvonralnh1] { right: -6rem; }

@media (min-width: 90rem) {
  .site__hops[b-xvonralnh1] { display: block; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Återanslutningsrutan i Affischen-profilen. Följer ljust/mörkt läge via samma tokens som resten av appen. */

.components-reconnect-first-attempt-visible[b-fz7wrliw5m],
.components-reconnect-repeated-attempt-visible[b-fz7wrliw5m],
.components-reconnect-failed-visible[b-fz7wrliw5m],
.components-pause-visible[b-fz7wrliw5m],
.components-resume-failed-visible[b-fz7wrliw5m],
.components-rejoining-animation[b-fz7wrliw5m] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-retrying[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-failed[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-fz7wrliw5m] {
    display: block;
}

/* Ett meddelande i taget: första försöket göms så fort omförsöken börjar. */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-first-attempt-visible[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-first-attempt-visible[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-repeated-attempt-visible[b-fz7wrliw5m],
#components-reconnect-modal.components-reconnect-failed .components-rejoining-animation[b-fz7wrliw5m] {
    display: none;
}

#components-reconnect-modal[b-fz7wrliw5m] {
    background: var(--card, #fbf6ea);
    color: var(--ink, #3b2a12);
    width: min(20rem, 90vw);
    margin: 20vh auto;
    padding: 1.75rem 1.5rem;
    border: 0.125rem solid var(--line, #d9c79a);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2rem -0.75rem var(--shadow-2, rgba(0, 0, 0, 0.5));
    font-family: "Lora", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.45;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-fz7wrliw5m 0.5s both;
}

#components-reconnect-modal[open][b-fz7wrliw5m] {
    animation: components-reconnect-modal-slideUp-b-fz7wrliw5m 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-fz7wrliw5m 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-fz7wrliw5m]::backdrop {
    background-color: rgba(20, 14, 6, 0.55);
    animation: components-reconnect-modal-fadeInOpacity-b-fz7wrliw5m 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-fz7wrliw5m {
    0% { transform: translateY(30px) scale(0.95); }
    100% { transform: translateY(0); }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-fz7wrliw5m {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-fz7wrliw5m {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.components-reconnect-container[b-fz7wrliw5m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-fz7wrliw5m] {
    margin: 0;
    text-align: center;
    color: var(--ink, #3b2a12);
}

#components-reconnect-modal button[b-fz7wrliw5m] {
    border: 0;
    background: var(--green, #3f5a2a);
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    min-height: 2.75rem;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-fz7wrliw5m],
#components-reconnect-modal button:focus-visible[b-fz7wrliw5m] {
    filter: brightness(1.12);
    outline: 0.125rem solid var(--gold, #b8892d);
    outline-offset: 0.125rem;
}

.components-rejoining-animation[b-fz7wrliw5m] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-fz7wrliw5m] {
    position: absolute;
    border: 3px solid var(--gold, #b8892d);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-fz7wrliw5m 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-fz7wrliw5m] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-fz7wrliw5m {
    0% { top: 40px; left: 40px; width: 0; height: 0; opacity: 0; }
    4.9% { top: 40px; left: 40px; width: 0; height: 0; opacity: 0; }
    5% { top: 40px; left: 40px; width: 0; height: 0; opacity: 1; }
    100% { top: 0; left: 0; width: 80px; height: 80px; opacity: 0; }
}
