/* /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);
}

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

.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;
  }

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

/* 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; }
}
