:root {
    --hero-clamp: clamp(16px, 4vw, 64px);
    --hero-weight: 700;
    --radial-gradient: radial-gradient(
            circle at 11.2% 29.9%,
            #d5b47d 0%,
            #634a35 100%);
    --gold-text: #dfb676;
    --dark_text: #0f1822;
}


*   {
    box-sizing:border-box
}

html {
    scroll-behavior: smooth;
}

html,body   {
    height:100%;
    font-size:16px;
}

body{
    margin:0;
    font-family: "Red Hat Text", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background:#0f1822;
    color: #ffffff;
}

.container  {
    width:100%;
    margin-inline:auto;
}

.wrapper {
    max-width:1680px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#menu {
    position: absolute;
    top: 80px;
    right: 0;
}

#menu-icon {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 15px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

#menu-icon span {
    display: block;
    border-radius: 4px;
    background-color: #FF0000;
    border: solid 2px #FF0000;
    width: 31px;
}

#menu {
    z-index: 1000;
    display: none;
}

#menu img {
    display: block;
    margin: 2% 3% 0 auto;
    max-width: 4%;
}


.image_responsive {
    max-width: 100%;
    width: auto;
    height: auto;
    min-width: 0;
}


#page_main {
    text-align: center;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.two_col_split {
    display: flex;
}

.two_col_split>div.col_left {
    width: 44%;
}

.two_col_split>div.col_right {
    padding: 1% 1% 0 1%;
    width: 56%;
    position: relative;
}

#loteria_trwa {
    position: absolute;
    text-align: left;
    left:5%;
    bottom: 10%;
    font-size: clamp(0.33rem, 1.6vw, 2rem);
    color: var(--gold-text);
}

.relative {
    position: relative;
}

#menu_line {
    display: flex;
    gap: 2%;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    background-color: #a0189b;
    padding: 1% 2%;
}

#menu_line a {
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(1rem, 2.3vw, 2.4rem);
    text-align: center;
}

#zasady {
    padding: 3% 2% 3% 2%;
}

#zasady_box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top:30%;
}

#zasady_box>div {
    text-align: center;
    color: var(--gold-text);
}

#zasady_top1 {
    font-size: var(--hero-clamp);
    font-weight:  var(--hero-weight);
}

#zasady_top2 {
    font-size: clamp(12px, 1.8vw, 24px);
    font-weight: 500;
}

#zasady_2 {
    padding: 0 5%;
}

#zasady_2 .relative>div {
    color: var(--dark_text);
    position: absolute;
    text-align: center;
    top:35%;
    font-size: clamp(15px, 1.65vw, 34px);

}

#zasady_sekcja_1 {
    left:3%;
    width: 33%;
}

#zasady_sekcja_1 .boldy {
    display: block;
    font-weight: 700;
}

#zasady_sekcja_1 {
    left:3%;
    width: 33%;
}

#zasady_sekcja_2 {
    left: 45%;
    width: 21%;
}

#zasady_sekcja_3 {
    right: 3%;
    width: 21%;
}

#z_wylaczeniem {
    font-size: clamp(12px, 1.65vw, 34px);
    color: var(--gold-text);
    margin-top: 2%;
}

#nagrody, #nagrody_2 {
    padding: 1% 3% 1% 3%;
}

#nagrody_box, #nagrody_box_2, #nagrody_box_3, #laureaci_box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top:20%;
}

#nagrody_box_2 {
    top: 13%;
}

#nagrody_box>div, #nagrody_box_2>div {
    text-align: center;
    color: var(--gold-text);
}

#nagrody_top1, #nagrody_top2, #nagrody_top3, #laureaci_top {
    font-size: var(--hero-clamp);
    font-weight:  var(--hero-weight);
}

#nagrody_box_3>div, #laureaci_box>div {
    color: var(--dark_text);
    text-align: center;
}

#nagrody_box_3 {
    top: 5%;
}

#laureaci_box {
    top: 15%;
}

#laureaci_table {
    text-align: center;
    height: 500px;
    overflow-y: scroll;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #000 rgba(11,22,32,0.95);

}

#laureaci_table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

#laureaci_table th, #laureaci_table td {
    padding: 5px 10px;
}

#laureaci_table thead th {
    position: sticky;
    top: 0;
    z-index: 2; /* nad komórkami tbody */
    background: rgba(11,22,32,0.95); /* musi być “pełne”, inaczej prześwituje */
    box-shadow: 0 2px 0 rgba(0,0,0,0.35);
    color: var(--gold-text);
}

#laureaci_table tbody tr:nth-child(even){
    background: rgba(255,255,255,0.1);
}

/* Chrome / Edge / Safari */
#laureaci_table::-webkit-scrollbar {
    width: 10px;
}

#laureaci_table::-webkit-scrollbar-track {
    background: rgba(11,22,32,0.95);
}

#laureaci_table::-webkit-scrollbar-thumb {
    background: #000;          /* czarny pasek */
    border-radius: 6px;
}

#laureaci_table::-webkit-scrollbar-thumb:hover {
    background: #222;          /* lekko jaśniejszy przy hoverze */
}

#laureaci_table.nowinners {
    overflow-y: unset;
}

#nagrody_text3 {
    font-size: clamp(12px, 1.6vw, 28px);
}

.kliknij {
    text-align: center;
    padding: 10px;
}

.kliknij img {
    cursor: pointer;
}

#wez_udzial {
    padding: 2%;
    width: 100%;

}

#wez_udzial_wrap {
    background: url("/resources/images/layout/vobro/wez_udzial_tlo.png");
    background-size: 90%;
    background-position: top right;
    background-repeat: no-repeat;

}

#wez_udzial>div {
    color: var(--gold-text);
}

#wez_udzial_top {
    font-size: var(--hero-clamp);
    font-weight:  var(--hero-weight);
    text-align: center;
    padding-top: 3%;
}

#wez_udzial_top2 {
    text-align: center;
    font-size: clamp(12px, 1.6vw, 28px);
    font-weight: 500;
}

#kontakt {
    padding: 2%;

}

#kontakt_wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top:3%;
    width: 80%;
    padding-bottom: 80px;
}

#kontakt>div {
    color: var(--gold-text);
    text-align: center;
}

#kontakt>div a {
    color: var(--gold-text);
}

#kontakt_top {
    font-size: var(--hero-clamp);
    font-weight:  var(--hero-weight);
}

#kontakt_txt_1, #kontakt_txt_2, #kontakt_txt_3 {
    font-size: clamp(15px, 1.4vw, 24px);
    margin-top: 5%;
}

#kontakt_txt_2 {
    margin-top: 4%;
}

.button_gradient {
    background: var(--radial-gradient);
}

#kontakt>div a.footer_button {
    color: var(--dark_text);
    text-align: center;
    font-size: clamp(12px, 1.6vw, 28px);
}

#kontakt>div #kontakt_links {
    margin: 10% auto;
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
}

#kontakt>div #kontakt_links a {
    text-decoration: none;
    flex-grow: 1;
    width: 60%;
    padding: 3% 10px;
    font-weight: 500;
}

#message_wrap {
    width: 70%;
    margin: 5% auto;
}

#message_wrap #kontakt_txt_1 {
    text-align: center;
}






/* Tooltip paragon */

/* kotwice do pozycjonowania */
#CONTEST_FORM_reg_receipt_ID_wrapper .col-sm-8 { position: relative; }

/* ikona */
.help-icon {
    position: absolute; right: 10px; top: 42%; transform: translateY(-50%);
    width: 24px; height: 24px; border: 1.5px solid #000000; border-radius: 50%;
    background: var(--radial-gradient); color: #000000;
    font-family: "Montserrat", sans-serif;
    line-height: 22px;
    font-size: 17px;
    font-weight: 500;
    text-align: center; cursor: pointer; z-index: 3;
}

/* tooltip */
.help-tooltip {
    position: absolute; right: 40px; top: 50%; transform: translateY(-50%) scale(.98);
    width: 308px; max-width: 75vw; background: #fff; border: 1px solid #dcdcdc;
    border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 6px; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease; z-index: 4;
}
.help-tooltip img { display:block; width:100%; height:auto; }
.help-tooltip.is-open { opacity:1; visibility:visible; pointer-events:auto; transform: translateY(-50%) scale(1); }

/* miejsce w polu na ikonę */
#CONTEST_FORM_reg_receipt_ID { padding-right: 40px; }

/* na wąskich ekranach pokaż poniżej inputa */
@media (max-width: 640px){
    .help-tooltip { right: 0; top: calc(100% + 8px); transform: none; }
    .help-tooltip.is-open { transform: none; }
}


/* Koniec  */

.fullsize-icon {
    z-index: 2000;
}

/* kontener */
.progress {
    width: 100%;
    height: 20px;
    background: #e9ecef;       /* tło */
    border-radius: 10px;       /* zaokrąglenia */
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    margin: auto;

}

/* pasek wypełnienia */
.progress .progress-bar {
    height: 100%;
    background: var(--radial-gradient);
    border-radius: inherit;
    transition: width 0.4s ease; /* płynna animacja */
    text-align: center;
    color: #0a1831;
}

/* opcjonalne – paski „w ruchu” */
.progress .progress-bar::after {
    content: "";
    display: block;
    height: 100%;
    background: linear-gradient(
            120deg,
            rgba(255,255,255,0.3) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255,255,255,0.3) 50%,
            rgba(255,255,255,0.3) 75%,
            transparent 75%,
            transparent
    );
    background-size: 40px 40px;
    animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    from { background-position: 0 0; }
    to   { background-position: 40px 0; }
}


#CONTEST_FORM_outer_wrapper {
    width: 80%;
    padding-right: 5%;
    margin: 3% auto;
    padding-bottom: 5%;
}

#CONTEST_FORM_outer_wrapper .col-sm-4 {
    width: 38%;
    text-align: right;
    padding-right: 2%;

}

#CONTEST_FORM_outer_wrapper .col-sm-8 {
    width: 60%;
}

#CONTEST_FORM_outer_wrapper .col-sm-12 {
    width: 100%;
}

#CONTEST_FORM_outer_wrapper .form-group {
    display: flex;
    flex-wrap: wrap;
}

.mainFieldLabel {
    font-size: clamp(14px, 1.4vw, 24px);;
    font-weight: 500;
}

#CONTEST_FORM_outer_wrapper input[type="text"], #CONTEST_FORM_outer_wrapper input[type="tel"] {
    background: var(--radial-gradient);
    border: none;
    font-size: 14px;
    font-weight: 600;
    display: block;
    width: 100%;
    color: var(--dark_text);
    padding: 8px;
    margin-top: 3px;
    margin-bottom: 12px;
}

#CONTEST_FORM_outer_wrapper input[type="text"]:focus-visible, #CONTEST_FORM_outer_wrapper input[type="tel"]:focus-visible {
    outline: none;
}

#CONTEST_FORM_outer_wrapper input[type="text"]:-webkit-autofill,
#CONTEST_FORM_outer_wrapper input[type="text"]:-webkit-autofill:hover,
#CONTEST_FORM_outer_wrapper input[type="text"]:-webkit-autofill:focus,
#CONTEST_FORM_outer_wrapper input[type="text"]:-webkit-autofill:active,
#CONTEST_FORM_outer_wrapper input[type="tel"]:-webkit-autofill,
#CONTEST_FORM_outer_wrapper input[type="tel"]:-webkit-autofill:hover,
#CONTEST_FORM_outer_wrapper input[type="tel"]:-webkit-autofill:focus,
#CONTEST_FORM_outer_wrapper input[type="tel"]:-webkit-autofill:active{
    -webkit-text-fill-color: var(--dark_text);
    caret-color: var(--dark_text);

    /* ZAMIAST transparent: daj kolor bazowy pola (średni ton z gradientu) */
    -webkit-box-shadow: 0 0 0 1000px #ad8f63 inset;
    box-shadow: 0 0 0 1000px #ad8f63 inset;

    /* i zostaw gradient (bezpiecznie jako var) */
    background: var(--radial-gradient) !important;

    transition: background-color 9999s ease-out 0s;
}


@keyframes onAutoFillStart {
    from {}
    to {}
}

#CONTEST_FORM_outer_wrapper input:-webkit-autofill {
    animation-name: onAutoFillStart;
}

#CONTEST_FORM_outer_wrapper input.visited {
    -webkit-text-fill-color: var(--dark_text);
    caret-color: var(--dark_text);

    /* ZAMIAST transparent: daj kolor bazowy pola (średni ton z gradientu) */
    -webkit-box-shadow: 0 0 0 1000px #ad8f63 inset;
    box-shadow: 0 0 0 1000px #ad8f63 inset;

    /* i zostaw gradient (bezpiecznie jako var) */
    background: var(--radial-gradient) !important;

    transition: background-color 9999s ease-out 0s;
}


#CONTEST_FORM_reg_receipt_ID_wrapper {
    margin-top: 40px;
}



#CONTEST_FORM_submit_button {
    appearance: none;
    border: none;
    cursor: pointer;
    padding: 10px 52px;
    border-radius: 999px; /* pill */
    font-family: inherit;
    font-weight: 800;
    font-size: clamp(0.8rem, 2.2vw, 1.7rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0b1620; /* ciemny granat / czarny z layoutu */
    background: radial-gradient(
            ellipse at 0% 0%,
            #deb680 0%,
            #deb680 13.6%,
            #9b7b47 72.3%,
            #9b7b47 87.5%,
            #9b7b47 100%
    );

    box-shadow:
            0 6px 14px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transition:
            transform 0.15s ease,
            box-shadow 0.15s ease,
            filter 0.15s ease;
    margin-top: 30px;
}

.formRowSubmit {
    text-align: center;
}

.formLabel {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 800;
    margin-bottom: 18px;
}

.formErrorMessage {
    background-color: #ffb7b7;
    color: #D60F0F;
    padding: 8px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    max-width: 60%;
    margin: 0 2% 10px auto;
}

#CONTEST_FORM_outer_wrapper .form_checkbox .form-group {
    margin: auto;
    margin-bottom: 15px;
    justify-content: flex-end;
    position: relative;
}

#CONTEST_FORM_outer_wrapper .form_checkbox .form-group .col-sm-8 {
    position: absolute;
    top:0px;
    left:0px;
    width: 36%;
    text-align: right;
}


#CONTEST_FORM_outer_wrapper .form_checkbox .form-group .col-sm-4 {
    width: 62%;
    text-align: left;
}



.form_checkbox .form-group label {

    cursor: pointer;
}

.form_checkbox .form-group input[type="checkbox"] {
    appearance: none;
    width: 30px;
    height: 30px;
    background-color: var(--gold-text);
    border: none;
    cursor: pointer;
    vertical-align: middle;      /* wyrównanie do tekstu */
}

/* opcjonalne zaznaczenie (biały ptaszek) */
.form_checkbox .form-group input[type="checkbox"]:checked {

}

.form_checkbox .form-group input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    position: relative;
    left: 11px;
    top: 1px;
    width: 6px;
    height: 22px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mainFieldLabel a {
    color: var(--gold-text);
}

.form_checkbox .form-group input[type="checkbox"]:active {
    transform: scale(0.9);
}


.form_checkbox .form-group .col-sm-8 {
    margin-right: 15px;
}

#CONTEST_FORM_reg_photo_ID_wrapper {
    margin-top: 10px;
}

#CONTEST_FORM_reg_photo_ID_wrapper button {
    appearance: none;
    border: none;
    cursor: pointer;
    padding: 8px 32px;
    border-radius: 999px; /* pill */
    font-family: inherit;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0b1620; /* ciemny granat / czarny z layoutu */
    background: linear-gradient(
            135deg,
            #f4d9a2 0%,
            #e4bf7c 45%,
            #cfa15f 100%
    );

    box-shadow:
            0 6px 14px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transition:
            transform 0.15s ease,
            box-shadow 0.15s ease,
            filter 0.15s ease;
}

.mobileQuestionUpload {
    text-align: left;
}

#CONTEST_FORM_reg_photo_ID_wrapper .form-group {
    text-align: center;
}

#winners {
    position: relative;
    z-index: 100;
    margin-top: 3%;
}

#winners table {
    border-collapse: collapse;
    margin: 30px auto;
}

#winners table caption {
    color: #253162;
    font-weight: 800;
    font-size: 30px;
}

#winners table  td {
    background-color: #ffffff;
    padding: 5px;
    border: solid 1px #253162;

}

#winners table  .header td {
    background-color: #253162;
    color: #FFFFFF;
    font-size: 20px;
}

#winners table {
    min-width: 50%;
}


.mobileQuestionUpload .filesGallery	{
    margin-top:15px;
    font-weight: bold;
}


.mobileQuestionUpload .filesGallery .fileGalleryRow {
    display:flex;
    justify-content:flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.mobileQuestionUpload .filesGallery .progress {
    margin-left: 0;
}

.mobileQuestionUpload ul {
    padding-left:0;
}

.mobileQuestionUpload li {
    list-style-type: none;
}

.mobileQuestionUpload .thumbnail	{
    margin: 5px;
    padding: 5px;
    padding-bottom: 0;
    border: solid 3px #ffffff;
    background-color: #FFFFFF;
}

.fileGalleryRow	{
    margin-top:8px;
}

.fileGalleryRow .thumbnail	{
    position:relative;

}

.fileGalleryRow .thumbnail img	{

}

.fileGalleryRow .fileDescription	{
    text-align:center;
    font-size:0.8em;
    margin-top:3px;
}

.fileDeleteIcon	{
    width:16px;
    height:16px;
    background-color:transparent;
    position:absolute;
    z-index:2;
    top:0px;
    right:0px;
    background-image:url(https://loteriaego.pl/resources/images/icons/32x32/delete.png);
    background-repeat:no-repeat;
    background-size: contain;
    cursor:pointer;
}

.fileGalleryFileIconMode	{
    position:relative;
    display:inline-block;
    margin:10px 10px 0 0;
}

.fileGalleryFileIconMode .fileDeleteIcon	{
    top:-7px;
    right:-7px;
}


#CONTEST_FORM_reg_photo_ID_wrapper {
    margin-bottom: 30px;
}

#CONTEST_FORM_reg_photo_info_ID_wrapper {
    font-weight: 600;
    margin: 10px auto;
}


#CONTEST_FORM_reg_chars_left_ID {
    font-size: 12px;
    font-weight: 500;
}

#CONTEST_FORM_outer_wrapper {
    position: relative;
    z-index: 20;
}

#laureat #wez_udzial_wrap {
    background: unset;
    max-width: 60%;
    margin: 4% auto;
}


.progress_bar_show {
    display: none;
}


#menu-icon {
    cursor: pointer;
}

/* Backdrop z blurrem */
.menu-backdrop {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}

/* Panel */
.site-menu {
    position: absolute;   /* było fixed */
    z-index: 1001;
    top: 24px; right: 24px;
    width: min(92vw, 380px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
    padding: 36px;
    padding-bottom: 10px;
    transform-origin: top right;
    transform: translateY(-12px) scale(.96);
    opacity: 0;
    transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
    pointer-events: none;
}

.site-menu .menu-close {
    all: unset;
    position: absolute; top: 16px; right: 16px;
    cursor: pointer; font-size: 24px; line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    padding: 6px; border-radius: 8px; color: #DD0909;
}

.site-menu .menu-close:hover{ background: #f1f4fb; }

.site-menu .brand{ font: 500 32px/1.1 system-ui, sans-serif; color:#DD0909; margin-bottom: 16px; }
.site-menu .links a{
    display: block; padding: .45em 0;
    font: 700 26px/1.25 system-ui, sans-serif; color:#DD0909; text-decoration: none;
}
.site-menu .links a:hover{ color:#DD0909; }
.site-menu .social{ display:flex; gap:10px; margin-top:14px; padding-top:10px; border-top:1px solid #e7eef7; }
.site-menu .social img{ width:28px; height:28px; display:block; }

/* --- Stan otwarty (klasa .is-open na <body>) --- */
body.menu-open #menu-backdrop{
    opacity: 1; pointer-events: auto;
}
body.menu-open #site-menu{
    opacity: 1; transform: none; pointer-events: auto;
}

/* (opcjonalnie) blokada przewijania tła */
body.menu-open{ overflow: hidden; }


body.menu-open .wrapper {
    overflow: unset;
}

.brand {
    margin-top: 50px;
    text-align: center;
}

#menu_links a {
    display: block;
    margin: 10px auto;
    font-size: 35px;
    text-align: center;
    color: #DD0909;
    font-weight: 600;
    text-decoration: none;
}

#menu_social_links {
    display: flex;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 20px;
    justify-content: space-between;
}

#menu_social_links a {
    display: block;
}

#menu_social_links a img {
    height: 60px;
    width: auto;
}


#menu_links a:hover {
    text-decoration: underline;
}


@media (prefers-reduced-motion: reduce){
    .menu-backdrop, .site-menu{ transition: none; }
}

.hideMe {
    display: none;
}

#resultTitle.is_win {
    color: var(--gold-text);
}


#legal_tooltip {
    position: relative;
    cursor: help;
    display: inline-block;
    border-radius: 100px;
    border: 1.5px solid var(--gold-text);
    color: var(--dark_text);
    background-color: var(--gold-text);
    width: 24px;
    height: 24px;
    text-align: center;
    font-size: 16px;
}

#legal_tooltip #legal_tooltip_text {
    visibility: hidden;
    opacity: 0;
    width: 320px;
    background-color: #fff;
    color: var(--dark_text);
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 125%; /* wyświetl nad linkiem */
    left: -15px;

    transition: opacity 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-size: 14px;
    text-align: justify;
    line-height: 1.2;
}

#legal_tooltip:hover #legal_tooltip_text {
    visibility: visible;
    opacity: 1;
}

.legal_title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 7px;
}


/* Baner ciemny półprzezroczysty */
#cw-cookie-banner {
    position: fixed; inset: 0; z-index: 99999;
    display: grid; place-items: end center;
    background: rgba(0,0,0,0.4);
    padding: 16px;
}
#cw-cookie-banner[hidden] { display: none; }

#cw-cookie-banner .cw-modal {
    width: min(680px, 100%);
    background: #ffffff;
    color: #24304f;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
    padding: 20px 24px 16px;
}
@media (min-width: 640px){
    #cw-cookie-banner { place-items: center; }
    #cw-cookie-banner .cw-modal { border-radius: 16px; }
}

.cw-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.cw-panel { margin-top: 10px; border-top: 1px solid #e7eef7; padding-top: 12px; }
.cw-panel .cw-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; padding: 12px 0;
}
.cw-panel-actions { display: flex; gap: 10px; margin-top: 12px; }

.cw-btn {
    cursor: pointer;
    border: none; border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px;
}
.cw-primary { background: #163264; color: #fff; }
.cw-secondary{ background: #f1f4fb; color: #163264; }
.cw-outline  { background: transparent; color: #163264; border: 2px solid #163264; }
.cw-btn:focus{ outline: 2px solid #163264; outline-offset: 2px; }

.cw-switch { position: relative; width: 50px; height: 28px; flex: 0 0 auto; }
.cw-switch input{ position: absolute; inset: 0; opacity: 0; }
.cw-switch span{
    position: absolute; inset: 0;
    background: #e4e8f1; border-radius: 40px;
    transition: 0.2s;
}
.cw-switch span:after {
    content: "";
    position: absolute; top: 4px; left: 4px;
    width: 20px; height: 20px;
    background: #fff; border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: 0.2s;
}
.cw-switch input:checked + span {
    background: #163264;
}
.cw-switch input:checked + span:after {
    transform: translateX(22px);
}

.cw-note {
    font-size: 12px;
    color: #5d6a85;
    margin: 10px 0 0;
}

.cw-manage-link {
    position: fixed; bottom: 16px; right: 16px;
    font-size: 14px; color: #163264;
    text-decoration: underline;
    z-index: 90000;
}

.cw-manage-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 90000;

    background: #163264;   /* ten sam ciemny granat co w banerze */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 13px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background 0.2s, transform 0.2s;
}

.cw-manage-btn:hover {
    background: #0f2449;   /* ciemniejszy granat */
    transform: translateY(-2px);
}

.cw-manage-btn:active {
    background: #0a1831;
    transform: translateY(0);
}


/* Modal */

.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-overlay.is-open{ display:flex; }

.modal{
    position: relative;
    width: min(920px, 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.55);
}

.modal-close{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    background: rgba(11,22,32,.75);
    color: #fff;
}

.modal-close:hover{ filter: brightness(1.1); }

.modal-banner{
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.modal-banner__content{
    max-width: 860px;
    padding: 26px 24px;
    text-align: center;

    font-size: clamp(18px, 2.2vw, 30px);
    line-height: 1.25;
    color: #0b1620;

}

.modal-banner__content strong{
    font-weight: 800;
}



@media (min-width: 1921px) {

}

@media (min-width: 3200px) {

}

@media (max-width: 1920px) {

}

@media (max-width: 1700px) {

}

@media (max-width: 1680px) {

}

@media (max-width: 1500px) {

}

@media (max-width: 1440px) {
    #laureaci_table {
        height: 400px;
    }



}

@media (max-width: 1280px) {

    #menu {
        right: 40px;
    }

}

@media (max-width: 1200px) {
    #laureaci_table {
        height: 300px;
    }
}


@media (max-width: 1150px) {

}

@media (max-width: 1100px) {

}

@media (min-width: 1025px) {

}

@media (max-width: 1024px){ /* lg (laptop) */

    #menu img {
        max-width: 6%;
    }

    .rwd_break {
        display: none;
    }

    #laureaci_table {
        height: 250px;
    }

}

@media (max-width: 920px)   {

}

@media (max-width: 912px) {

}

@media (max-width: 880px) {

}


@media (max-width: 853px) {

}

@media (max-width: 820px) {

}

@media (min-width: 769px) {

}

@media (max-width: 768px){  /* md (tablet) */

    .wrapper {
        padding: 0;
    }

    #menu {
        top: 16px;
        right: 30px;
    }

    .two_col_split {
        display: block;
    }

    .two_col_split>div.col_left {
        width: 100%;
    }

    .two_col_split>div.col_right {
        width: 100%;
    }

    #loteria_trwa {
        font-size: clamp(11px, 3vw, 20px)
    }

    #menu_line {
        padding: 2.4%;
    }

    #menu_line a {
        font-size: clamp(11px, 2.3vw, 20px);
    }

    #menu_line img {
        max-width: 10px;
    }

    :root {
        --hero-clamp: clamp(16px, 7vw, 64px);
    }

    #zasady_2 {
        width: 90%;
    }

    #zasady_2 img {
        display: none;
    }

    #zasady_2 .relative {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap:20px;
    }

    #zasady_2 .relative>div {
        background: var(--radial-gradient);
        background-position: top center;
        background-size: contain;
        background-repeat: no-repeat;
        position: unset;
        text-align: center;
        width: 100%;
        padding: 15px;
        font-weight: 600;
    }

    #nagrody .relative img {
        margin-top: 20%;
    }

    .kliknij img {
        max-width: 70%;
        margin-top: 5%;
    }

    #nagrody_2 .relative img {
        margin-top: 20%;
    }

    #nagrody_3 .relative {
        background-color: #d5b47d;
        padding-top: 22%;
        display: flex;
    }

    #nagrody_box_3 {
        width: 80%;
    }

    #nagrody_text3 {
        font-size: clamp(12px, 3.6vw, 24px);
        font-weight: 600;
    }

    #CONTEST_FORM_outer_wrapper .col-sm-4, #CONTEST_FORM_outer_wrapper .col-sm-8 {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    #CONTEST_FORM_outer_wrapper {
        padding-right: 0;
    }

    #CONTEST_FORM_outer_wrapper .col-sm-4 {
        text-align: center;
    }

    #CONTEST_FORM_reg_receipt_ID_wrapper {
        margin-top: 0;
    }

    .mobileQuestionUpload {
        text-align: center;
        margin-top: 1%;
    }

    .mobileQuestionUpload .filesGallery .fileGalleryRow {
        justify-content: center;
    }

    #CONTEST_FORM_reg_photo_info_ID_wrapper {
        font-size: 12px;
    }

    #CONTEST_FORM_outer_wrapper .form_checkbox .form-group .col-sm-8 {
        text-align: left;
        margin-left: 8%;
        width: 36px;
    }

    .formErrorMessage {
        margin: 0 auto 10px auto;
    }

    #CONTEST_FORM_outer_wrapper .form_checkbox .form-group {
        padding-left: 40px;
    }

    #CONTEST_FORM_outer_wrapper .form_checkbox .form-group .col-sm-4 {
        width: 80%;
    }

    #kontakt_wrap {
        padding-top: 10%;
    }

    #laureaci_box {
        width: 80%;
        top: 5%;
    }

    #laureaci .relative img {
        display: none;
    }

    #laureaci_box {
        position: unset;
        transform: unset;
        text-align: center;
        margin: 10% auto;
        padding-top: 10%;
    }

    #laureaci .relative {
        padding-bottom: 5%;
        background:
                radial-gradient(
                        ellipse at 0 100%,
                        #e2c388 0%,
                        #d6b27b 40%,
                        #c19b67 60%,
                        transparent 75%
                ),
                linear-gradient(
                        90deg,
                        #d9b983 0%,
                        #caa46f 45%,
                        #9b7a55 75%,
                        #6f563f 100%
                );
    }


}


@media (max-width: 680px) {

}


@media (min-width: 641px) {

}

@media (max-width: 640px){  /* sm */
    #menu {
        right: 20px;
        top:20px;
    }





}

@media (max-width: 600px) {
    #legal_tooltip #legal_tooltip_text {
        width: 250px;
    }

    .legal_title {
        font-size: 15px;
    }
}

@media (max-width: 560px) {

}

@media (max-width: 500px) {

}

@media (max-width: 480px){  /* xs */

    #CONTEST_FORM_outer_wrapper {
        width: 100%;
    }

    #menu_links a {
        font-size: 24px;
    }

    .site-menu .brand {
        margin-top: 30px;
    }


}

@media (max-width: 440px) {

}

@media (max-width: 380px) {
    .site-menu .brand {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }


}

@media (max-width: 320px) {

}