/* _content/Quiz3/Components/App.razor.rz.scp.css */
/* Phone breakpoint (MudBlazor xs < 600px) */
@media (max-width: 600px) {
    /* Remove horizontal paddings/margins app-wide */
    [b-8n1faps4dh] .mud-container,
    [b-8n1faps4dh] .mud-main-content,
    [b-8n1faps4dh] .mud-paper,
    [b-8n1faps4dh] .mud-card,
    [b-8n1faps4dh] .mud-grid,
    [b-8n1faps4dh] .mud-grid > .mud-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Remove grid gutters fully on mobile */
    [b-8n1faps4dh] .mud-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    [b-8n1faps4dh] .mud-grid > .mud-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Make MudPaper as wide as possible on phones */
    [b-8n1faps4dh] .mud-paper {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Optional: dialogs edge-to-edge on phones */
    [b-8n1faps4dh] .mud-dialog .mud-paper {
        margin: 0 !important;
        border-radius: 0 !important;
    }
}

/* Drag-to-scroll cursors */
html.drag-scroll[b-8n1faps4dh] { cursor: grab; }
html.drag-scroll--active[b-8n1faps4dh] { cursor: grabbing; user-select: none; }
/* _content/Quiz3/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ml4ugq79mp] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background: #f4f6fb;
}

main[b-ml4ugq79mp] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar[b-ml4ugq79mp] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    width: 100%;
}

.top-row[b-ml4ugq79mp] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-ml4ugq79mp]  a, .top-row[b-ml4ugq79mp]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-ml4ugq79mp]  a:hover, .top-row[b-ml4ugq79mp]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-ml4ugq79mp]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

article.content[b-ml4ugq79mp] {
    width: min(100%, 72rem);
    margin-inline: auto;
    padding-block: clamp(1rem, 3vw, 2.5rem);
    padding-inline: clamp(1rem, 4vw, 3rem);
    box-sizing: border-box;
}

@media (max-width: 640.98px) {
    .top-row[b-ml4ugq79mp] {
        justify-content: space-between;
    }

    .top-row[b-ml4ugq79mp]  a, .top-row[b-ml4ugq79mp]  .btn-link {
        margin-left: 0;
    }

    article.content[b-ml4ugq79mp] {
        padding-inline: clamp(0.75rem, 6vw, 1.75rem);
    }
}

@media (min-width: 641px) {
    .page[b-ml4ugq79mp] {
        flex-direction: row;
    }

    .sidebar[b-ml4ugq79mp] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ml4ugq79mp] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ml4ugq79mp]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ml4ugq79mp] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ml4ugq79mp] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-ml4ugq79mp] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/Quiz3/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-85k6x552bt] {
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    background-color: rgba(15, 23, 42, 0.55);
    transition: background-color 150ms ease, border-color 150ms ease;
}

.navbar-toggler:hover[b-85k6x552bt],
.navbar-toggler:focus-visible[b-85k6x552bt] {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
}

.navbar-toggler-icon[b-85k6x552bt] {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    pointer-events: none;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.65rem;
}

.top-row[b-85k6x552bt] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
}

.navbar-brand[b-85k6x552bt] {
    font-size: 1.1rem;
}

.bi[b-85k6x552bt] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-85k6x552bt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-85k6x552bt] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-85k6x552bt] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-85k6x552bt] {
    padding-bottom: 1rem;
}

.nav-item[b-85k6x552bt]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
}

.nav-item[b-85k6x552bt]  a.active {
    background-color: rgba(255, 255, 255, 0.37);
    color: white;
}

.nav-item[b-85k6x552bt]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-overlay[b-85k6x552bt] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 1038;
}

.nav-overlay.is-open[b-85k6x552bt] {
    opacity: 1;
    pointer-events: auto;
}

.nav-scrollable[b-85k6x552bt] {
    position: fixed;
    inset: 3.5rem 0 auto 0;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    padding: 1rem 1.25rem 2rem;
    max-height: calc(100vh - 3.5rem);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 1039;
}

.nav-scrollable.is-open[b-85k6x552bt] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 641px) {
    .navbar-toggler[b-85k6x552bt] {
        display: none;
    }

    .nav-overlay[b-85k6x552bt] {
        display: none;
    }

    .nav-scrollable[b-85k6x552bt] {
        position: static;
        inset: auto;
        background: none;
        padding: 0;
        opacity: 1;
        transform: none;
        pointer-events: auto;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Quiz3/Components/Layout/QuizzLayout.razor.rz.scp.css */
.quizz-appbar[b-ppzv6o4je1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    padding-inline: clamp(0.75rem, 4vw, 2rem);
    padding-block: 0.5rem;
    box-sizing: border-box;
}

.quizz-menu[b-ppzv6o4je1] {
    margin-left: clamp(0.25rem, 1.5vw, 1.25rem);
}

.quizz-status-stack[b-ppzv6o4je1] {
    flex-wrap: wrap;
    gap: clamp(0.35rem, 1.5vw, 0.75rem);
    min-width: 0;
}

.quizz-status-text[b-ppzv6o4je1] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: clamp(140px, 45vw, 320px);
}

.quizz-user[b-ppzv6o4je1] {
    display: flex;
    align-items: center;
}

.quizz-user--mobile[b-ppzv6o4je1] {
    display: flex;
}

.quizz-user--desktop[b-ppzv6o4je1] {
    display: none;
}

@media (min-width: 600px) {
    .quizz-appbar[b-ppzv6o4je1] {
        flex-wrap: nowrap;
    }

    .quizz-status-text[b-ppzv6o4je1] {
        max-width: clamp(280px, 32vw, 460px);
    }

    .quizz-user--mobile[b-ppzv6o4je1] {
        display: none;
    }

    .quizz-user--desktop[b-ppzv6o4je1] {
        display: flex;
    }
}
/* _content/Quiz3/Components/Pages/Author.razor.rz.scp.css */
.author-page-fixed[b-i0lsyggt0v] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    padding-top: 72px;       /* místo pod AppBar */
    box-sizing: border-box;
    overflow: hidden;
}

.author-image[b-i0lsyggt0v] {
    max-width: min(90%, 600px);
    max-height: calc(100dvh - 220px); /* 72px appbar + 2x button */
    height: auto;
    object-fit: contain;
    flex: 1 1 auto;

    border: 8px solid #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.author-image:hover[b-i0lsyggt0v] {
    transform: rotate(0deg) scale(1.02);
}

.top-button[b-i0lsyggt0v],
.bottom-button[b-i0lsyggt0v] {
    max-width: min(90%, 600px);
    width: 100%;
    margin: 12px 0;
}
/* _content/Quiz3/Components/Pages/Home.razor.rz.scp.css */
.hero-wrap[b-lyjk2def7i] {
    aspect-ratio: 16/10;
}

.hero-img[b-lyjk2def7i] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 960px) {
    .hero-wrap[b-lyjk2def7i] {
        aspect-ratio: 4/3;
    }
}

.img-max600[b-lyjk2def7i]{
    display:block;
    width:min(100%, 600px);  /* zmenší se na mobilu, na desktopu končí na 600 px */
    height:auto;
}

.img-fluid[b-lyjk2def7i]{
    display:block;        /* odstraní mezery pod obrázkem */
    width:100%;           /* natáhne se na šířku rodiče */
    max-width:100%;       /* nikdy nepřeteče rodiče */
    height:auto;          /* zachová poměr stran */
}

.external-login-wrapper[b-lyjk2def7i]{
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta-button[b-lyjk2def7i]{
    width: 100%;
}

.home-grid[b-lyjk2def7i]{
    --mud-grid-gutter: clamp(16px, 3vw, 32px);
    justify-content: center;
    align-items: center;
}

@media (min-width: 600px){
    .external-login-wrapper[b-lyjk2def7i]{
        width: auto;
        justify-content: flex-start;
    }

    .cta-button[b-lyjk2def7i]{
        width: auto;
        min-width: 200px;
    }
}
/* _content/Quiz3/Components/Pages/Parts/QuizDisplay/PictureQuestion.razor.rz.scp.css */
.quiz-img[b-8o661a1q3v] {
    display: block;               /* umožní margin auto centrování, kdyby nebyl wrapper */
    max-width: min(512px, 100%);  /* nikdy přes 512px, jinak 100% rodiče */
    max-height: 512px;            /* výška max 512px */
    width: 100%;                  /* vyplň šířku rodiče (omezeno max-width) */
    height: auto;                 /* zachovat poměr stran */
    object-fit: contain;          /* bezpečné přizpůsobení, nic se neřeže */
    margin: 0 auto;               /* fallback centrování */
}
.drag-scroll[b-8o661a1q3v] {
    cursor: grab;
}

.drag-scroll:active[b-8o661a1q3v] {
    cursor: grabbing;
}
/* _content/Quiz3/Components/Pages/Parts/QuizDisplay/ReorderListCsv.razor.rz.scp.css */
.reorder-list[b-4g7638c523] { min-width: 240px; max-height: 320px; overflow:auto; }
/* _content/Quiz3/Components/Pages/Questions.razor.rz.scp.css */
/* Mobile-first: aggressively reduce horizontal margins/gutters */
@media (max-width: 600px){
  /* The grid itself (MudBlazor uses negative margins) */
  .q-questions[b-ijxi9z64ue]{
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 6px;   /* tiny side padding */
    padding-right: 6px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Reduce item gutters (MudBlazor items have default 8px padding) */
  .q-questions[b-ijxi9z64ue]  > .mud-item{
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  /* Optional: tighten common controls to avoid extra page margins */
  .q-questions[b-ijxi9z64ue]  .mud-select,
  .q-questions[b-ijxi9z64ue]  .mud-button-root,
  .q-questions[b-ijxi9z64ue]  .mud-input-root{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* DataGrid container edge-to-edge on mobile */
  .q-questions[b-ijxi9z64ue]  .mud-table-container{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Remove left/right margins from MudPaper on mobile */
  .q-questions[b-ijxi9z64ue]  .mud-paper{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Force-override MudBlazor spacing utilities like mx-*, ma-* if present */
  .q-questions[b-ijxi9z64ue]  .mud-paper[class*=" mx-"],
  .q-questions[b-ijxi9z64ue]  .mud-paper[class^="mx-"],
  .q-questions[b-ijxi9z64ue]  .mud-paper[class*=" ma-"],
  .q-questions[b-ijxi9z64ue]  .mud-paper[class^="ma-"]{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Slightly wider phones */
@media (min-width: 601px) and (max-width: 768px){
  .q-questions[b-ijxi9z64ue]{
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  .q-questions[b-ijxi9z64ue]  > .mud-item{
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* Also keep MudPaper flush on small tablets */
  .q-questions[b-ijxi9z64ue]  .mud-paper{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .q-questions[b-ijxi9z64ue]  .mud-paper[class*=" mx-"],
  .q-questions[b-ijxi9z64ue]  .mud-paper[class^="mx-"],
  .q-questions[b-ijxi9z64ue]  .mud-paper[class*=" ma-"],
  .q-questions[b-ijxi9z64ue]  .mud-paper[class^="ma-"]{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* _content/Quiz3/Components/Pages/QuizzDisplay.razor.rz.scp.css */
/* nechť se kontejner chová podle obsahu a neschová marginy */
.auto-h-carousel[b-6gk1ftuend] {
    min-height: 320px;
    overflow: hidden;
}

/* auto-výška místo fixních panelů */
.auto-h-carousel[b-6gk1ftuend]  .mud-carousel-swipe { height: auto !important; }
.auto-h-carousel[b-6gk1ftuend]  .mud-carousel-item  { position: static !important; height: auto !important; }

/* klíč: zobraz jen aktivní, ostatní skryj */
.auto-h-carousel[b-6gk1ftuend]  .slide--hidden { display: none !important; }
.auto-h-carousel[b-6gk1ftuend]  .slide--active { display: block !important; }

.theme-intro-drawer[b-6gk1ftuend]{
    background: linear-gradient(180deg, rgba(10,15,28,.92), rgba(10,15,28,.88));
    color:#e5e7eb;
    --mud-drawer-width: 100svw;
}

/* Papír šuplíku — use ::deep to bypass CSS isolation */
.theme-intro-drawer[b-6gk1ftuend]  .mud-drawer-paper{
    overflow: hidden;
    box-shadow: none;
    border: 0;
    backface-visibility: hidden;
    will-change: transform;
    transform: translateZ(0);
    width: 100svw !important;
    max-width: 100svw !important;
}

/* První zobrazení bez animace */
.theme-intro-drawer.no-anim[b-6gk1ftuend]  .mud-drawer-paper{
    transition: none !important;
}

/* Obsah šuplíku */
.theme-intro-drawer[b-6gk1ftuend]  .mud-drawer-content{
    display: flow-root;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header šuplíku (výška pro výpočet) */
.theme-intro-header[b-6gk1ftuend]{
    display:flex; align-items:center; justify-content:space-between;
    padding:12px 16px;
    border-bottom:1px solid rgba(148,163,184,.18);
    /* sjednocený základ pro výpočet dostupné výšky hero */
    --hero-header-h: 56px;
    min-height: var(--hero-header-h);
}

/* ====== HERO BLOK ====== */
/* 3 řádky: (1) text, (2) obrázek – pružný prostor, (3) tlačítko) */
.theme-hero[b-6gk1ftuend]{
    container-type: inline-size;               /* aktivuje container queries */
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    justify-items:center;
    text-align:center;
    gap: clamp(12px, 2.5vw, 24px);
    padding: clamp(12px, 2.5vw, 28px);
    /* fixní výška = viewport – header; s interním scrollováním */
    height: calc(100svh - var(--hero-header-h, 56px));
    overflow-y: auto;
    overscroll-behavior: contain;
    align-content: start;
}

@supports (height: 100dvh) {
  .theme-hero[b-6gk1ftuend] { height: calc(100dvh - var(--hero-header-h, 56px)); }
}

.theme-hero__content[b-6gk1ftuend]{
    max-width: 900px;
}

/* Obrázek – pružná řada, která se smršťuje jako první; scale dle kontejneru */
.theme-hero__image[b-6gk1ftuend]{
    inline-size: 100%;
    max-inline-size: min(100%, 920px); /* desktop cap */
    display: flex;
    justify-content: center;
    overflow: hidden;
    min-block-size: 0;                 /* klíčové pro shrink v gridu */
    /* Přes clamp + cqi škáluj výšku podle šířky kontejneru i viewportu */
    max-block-size: clamp(180px, 52cqi, 42vh);
}

@media (orientation: landscape) and (max-height: 600px){
  .theme-hero__image[b-6gk1ftuend] { max-block-size: 34vh; }
}

/* container queries – jemné doladění podle šířky hero */
@container (min-width: 1100px){
  .theme-hero__image[b-6gk1ftuend] { max-block-size: 38vh; }
}
@container (max-width: 480px){
  .theme-hero__image[b-6gk1ftuend] { max-block-size: 40svh; }
}

.svg-wrapper[b-6gk1ftuend]{
    display:flex;
    justify-content:center;
    align-items:center;
    inline-size:100%;
    max-inline-size: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    min-block-size: 0;
}

/* Vložený MarkupString => použij ::deep */
.theme-hero__image[b-6gk1ftuend]  svg,
.theme-hero__image[b-6gk1ftuend]  img{
    display: block;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    block-size: auto !important;
    max-block-size: 100%;
    margin-inline: auto;
    object-fit: contain;          /* pro <img> */
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
    border: 0 !important;
    outline: none !important;
}

.theme-hero__image[b-6gk1ftuend]  svg[width],
.theme-hero__image[b-6gk1ftuend]  svg[height]{
    inline-size: 100% !important;
    block-size: auto !important;
}

/* Akční panel s tlačítkem – vždy ve výhledu */
.theme-hero__actions[b-6gk1ftuend]{
    position: sticky;
    inset-block-end: 0;
    inline-size: 100%;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(10,15,28,.75), rgba(10,15,28,0));
    backdrop-filter: blur(2px);
    z-index: 2;
}

/* ====== Doplňky (volitelné utility) ====== */
.mt-2[b-6gk1ftuend]{ margin-top:.5rem;}

/* Mobile: pin the Start button bar to the bottom of the display */
@media (max-width: 600px) {
    :root[b-6gk1ftuend] {
        --hero-actions-height: 84px; /* approx. bar height incl. padding */
    }

    /* Ensure page content does not hide behind the fixed bar */
    .theme-intro-drawer[b-6gk1ftuend]  .mud-drawer-content,
    .theme-hero[b-6gk1ftuend] {
        padding-bottom: calc(var(--hero-actions-height) + env(safe-area-inset-bottom, 0px));
    }

    .theme-hero__actions[b-6gk1ftuend] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1300; /* above drawer content */
        width: auto;   /* use left/right instead of 100vw to avoid overflow */
        margin: 0 !important;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        background: var(--mud-palette-background, #fff);
        border-top: 1px solid rgba(0,0,0,.06);
        box-shadow: 0 -4px 16px rgba(0,0,0,.12);
    }

    /* Make sure the button fills the bar nicely */
    .theme-hero__actions .mud-button-root[b-6gk1ftuend] {
        width: 100%;
        height: 48px;
        border-radius: 12px;
    }
}

/* Hard fix for very narrow phones (<459px): prevent clipping and pin the bar */
@media (max-width: 459.98px) {
    :root[b-6gk1ftuend] {
        --hero-actions-height: 84px; /* ensure we have a value at this breakpoint */
    }

    /* Avoid clipping of fixed elements inside the drawer on tiny screens */
    .theme-intro-drawer[b-6gk1ftuend]  .mud-drawer-paper {
        overflow: visible !important;
        transform: none !important; /* remove stacking context so fixed anchors to viewport */
    }

    /* Make space so content doesn’t sit under the fixed action bar */
    .theme-intro-drawer[b-6gk1ftuend]  .mud-drawer-content,
    .theme-hero[b-6gk1ftuend] {
        padding-bottom: calc(var(--hero-actions-height) + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Pin the Start button bar to the bottom, above everything */
    .theme-hero__actions[b-6gk1ftuend] {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 5000; /* above drawer/carousel */
        width: auto;
        margin: 0 !important;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        background: var(--mud-palette-background, #fff);
        border-top: 1px solid rgba(0,0,0,.06);
        box-shadow: 0 -4px 16px rgba(0,0,0,.12);
    }

    .theme-hero__actions .mud-button-root[b-6gk1ftuend] {
        width: 100%;
        height: 48px;
        border-radius: 12px;
    }
}
/* _content/Quiz3/Components/Pages/QuizzResult.razor.rz.scp.css */
/* Sloupec s chipy: ať je obsah na jednom řádku, aby se sloupec řídil nejširším chipem */
.chip-col[b-4ajxd4zjq7] {
    white-space: nowrap;      /* zabrání zalomení textu uvnitř čipu */
}

/* Natáhni chip přes celou šířku buňky a vycentruj obsah */
.chip-col .mud-chip[b-4ajxd4zjq7] {
    width: 100%;              /* všechny chipy -> stejně široké jako buňka sloupce */
    justify-content: center;  /* centrum textu/ikony uvnitř čipu */
    display: inline-flex;     /* zachová flex chování čipu */
}
