.tool {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px -1px 20px 2px rgba(0, 0, 0, 0.1);
}
.tool__head {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  padding: 24px 16px;
  background: #F9FAFA;
  color: #859C2E;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
}
.tool__body {
  padding-top: 32px;
  padding-bottom: 24px;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tool__form label {
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 8px;
}
.tool__form label > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #404040;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}
.tool__form input:not([type=radio], [type=checkbox]) {
  width: 100%;
  height: 48px;
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #5E6166;
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
}
@media (any-hover: hover) {
  .tool__form input:not([type=radio], [type=checkbox]):not(.active):hover, .tool__form input:not([type=radio], [type=checkbox]):not(.active):focus {
    border-color: rgba(0, 0, 0, 0.24);
  }
}
.tool__tooltip-btn {
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
}
.tool__reset {
  cursor: pointer;
  outline: none;
  border: none;
  padding: 15px 24px;
  border-radius: 6px;
  background: #F9FAFA;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: #5E6166;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  transition: background 0.2s ease-in-out;
}
@media (any-hover: hover) {
  .tool__reset:not(:disabled):hover {
    background: #E6E6E6;
  }
  .tool__reset:not(:disabled):hover img {
    filter: brightness(0) invert(22%) sepia(0%) saturate(2%) hue-rotate(57deg) brightness(97%) contrast(88%);
  }
}
.tool__reset:disabled {
  cursor: not-allowed;
  background: #FCFCFC;
  color: #BFBFBF;
}
.tool__reset:disabled img {
  filter: brightness(0) invert(92%) sepia(0%) saturate(15%) hue-rotate(156deg) brightness(88%) contrast(79%);
}
.tool__cta {
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: 6px;
  padding: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-family: inherit;
  color: #5E6166;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}
.tool__cta--primary {
  background: #C4DB11;
  color: #404040;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}
@media (any-hover: hover) {
  .tool__cta--primary:not(:disabled):hover {
    background: #B4CA09;
    color: #0F0F0F;
  }
  .tool__cta--primary:not(:disabled):hover img {
    filter: brightness(0) invert(0%) sepia(36%) saturate(3711%) hue-rotate(142deg) brightness(106%) contrast(88%);
  }
}
.tool__cta--secondary {
  border: 2px solid #C4DB11;
  background: transparent;
  font-size: 14px;
  transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
@media (any-hover: hover) {
  .tool__cta--secondary:not(:disabled):hover {
    border-color: #B4CA09;
    color: #404040;
  }
}
.tool__cta:disabled {
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .tool {
    margin-bottom: 40px;
  }
  .tool:has(+ .compare-casinos__results) {
    margin-bottom: 16px;
  }
  .tool__head {
    padding: 16px 12px;
    font-size: 18px;
    line-height: 30px;
  }
  .tool__body {
    padding: 16px 8px;
  }
  .tool__form label > span {
    font-size: 15px;
  }
}
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select.active .custom-select__opener {
  border-color: rgba(0, 0, 0, 0.24);
}
.custom-select.active .custom-select__opener .icon-arrow-down {
  rotate: 180deg;
}
.custom-select.active .custom-select__popup-holder {
  display: block;
}
.custom-select__opener {
  cursor: pointer;
  width: inherit;
  height: 48px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5E6166;
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
  transition: border-color 0.2s ease-in-out;
}
.custom-select__opener span {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
@media (any-hover: hover) {
  .custom-select__opener:hover, .custom-select__opener:focus {
    border-color: rgba(0, 0, 0, 0.24);
  }
  .custom-select__opener:hover .icon-arrow-down, .custom-select__opener:focus .icon-arrow-down {
    rotate: 180deg;
  }
}
.custom-select__opener .icon-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}
.custom-select__opener .icon-arrow-down {
  width: 12px;
  height: 7px;
  margin-inline-start: auto;
  filter: invert(36%) sepia(6%) saturate(372%) hue-rotate(179deg) brightness(100%) contrast(88%);
  transition: rotate 0.2s ease-in-out;
}

.counter-button {
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  border: 2px solid #B4CA09;
  background: transparent;
  padding: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: inherit;
  text-align: center;
  line-height: 1;
}
.counter-button:disabled {
  pointer-events: none;
  user-select: none;
  border-color: #e6e6e6;
  color: #e6e6e6;
}
.counter-button:disabled img {
  filter: brightness(0) invert(99%) sepia(45%) saturate(5%) hue-rotate(233deg) brightness(111%) contrast(80%);
}

.counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 14px;
  color: #404040;
}
.counter div.input-amount,
.counter input.input-amount {
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid;
  background: #FFF;
  text-align: center;
  font-size: 14px;
  line-height: normal;
  transition: border-color 0.2s ease-in-out;
}

.advanced-settings__opener {
  cursor: pointer;
  outline: none;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: #F9FAFA;
  color: #5E6166;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
@media (any-hover: hover) {
  .advanced-settings__opener:not(.active):hover .icon-arrow-down {
    rotate: 180deg;
  }
}
.advanced-settings__opener.active .icon-arrow-down {
  rotate: 180deg;
}
.advanced-settings__opener .icon-arrow-down {
  width: 12px;
  height: 7px;
  filter: invert(36%) sepia(6%) saturate(372%) hue-rotate(179deg) brightness(100%) contrast(88%);
  transition: rotate 0.2s ease-in-out;
}
.advanced-settings__wrapper {
  max-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out, margin-top 0.2s ease-in-out;
}
.advanced-settings__wrapper.active {
  margin-top: 32px;
  max-height: 400px;
}

@media screen and (max-width: 767px) {
  .advanced-settings__opener {
    padding: 12px 8px;
  }
  .advanced-settings__wrapper.active {
    margin-top: 24px;
  }
}
.bingo-card-generator__caption {
  margin: 0 0 8px;
  color: #404040;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}
.bingo-card-generator__download {
  margin-top: -8px;
  padding: 14px 24px;
  width: min(220px, 100%);
  align-self: center;
}

@media screen and (max-width: 767px) {
  .bingo-card-generator__caption {
    font-size: 15px;
  }
}
.bingo-card-generator-form {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 200px);
  gap: 24px;
}
.bingo-card-generator-form > :nth-child(n+3) {
  grid-column: 1/-1;
}
.bingo-card-generator-form__generate {
  padding: 16.5px 24px;
}
.bingo-card-generator-form__counter .counter-button {
  width: 40px;
  height: 40px;
  border-color: #e6e6e6;
}
.bingo-card-generator-form__counter .counter-button:disabled {
  border-color: #F3F3F3;
}
.bingo-card-generator-form__counter input.input-amount {
  border-color: #e6e6e6;
}
.bingo-card-generator-form__formats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.bingo-card-generator-form__format {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bingo-card-generator-form__format-option {
  display: flex;
  position: relative;
}
.bingo-card-generator-form__format-option input[type=radio] {
  cursor: pointer;
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
}
@media (any-hover: hover) {
  .bingo-card-generator-form__format-option input[type=radio]:not(:checked):hover + div {
    border-color: rgba(180, 202, 9, 0.5);
  }
}
.bingo-card-generator-form__format-option input[type=radio]:checked {
  pointer-events: none;
}
.bingo-card-generator-form__format-option input[type=radio]:checked + div {
  background-color: #F9FAFA;
  border-color: #B4CA09;
}
.bingo-card-generator-form__format-cell {
  min-width: 92px;
  flex: 1 0 auto;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.bingo-card-generator-form__format.hidden {
  display: none;
}
.bingo-card-generator-form__colors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  overflow-y: hidden;
}
.bingo-card-generator-form__color {
  display: flex;
  position: relative;
  color: #B4CA09;
}
.bingo-card-generator-form__color:last-child .bingo-card-generator-form__color-sample {
  border: 1px solid #A3A3A3;
}
.bingo-card-generator-form__color input[type=radio] {
  cursor: pointer;
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
}
@media (any-hover: hover) {
  .bingo-card-generator-form__color input[type=radio]:not(:checked):hover + div {
    border-color: rgba(180, 202, 9, 0.5);
  }
}
.bingo-card-generator-form__color input[type=radio]:checked {
  pointer-events: none;
}
.bingo-card-generator-form__color input[type=radio]:checked + div {
  background-color: #F9FAFA;
  border: 2px solid #B4CA09;
}
.bingo-card-generator-form__color input[type=radio]:checked + div svg {
  opacity: 1;
}
.bingo-card-generator-form__color-sample {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid transparent;
  position: relative;
  transition: border 0.2s ease-in-out;
}
.bingo-card-generator-form__color-sample svg {
  opacity: 0;
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  user-select: none;
  transition: opacity 0.2s ease-in-out;
}
.bingo-card-generator-form__error {
  margin: 0;
  margin-top: -20px;
  text-align: center;
  color: #E43D43;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}
.bingo-card-generator-form .custom-select__opener {
  padding: 9px 16px;
  background: #FFF;
  font-size: 14px;
}
.bingo-card-generator-form .custom-select__popup-holder {
  width: 100% !important;
}
.bingo-card-generator-form label {
  align-items: initial;
  row-gap: 0;
}

@media screen and (max-width: 767px) {
  .bingo-card-generator-form {
    margin: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .bingo-card-generator-form > :nth-child(n+3) {
    grid-column: auto;
  }
  .bingo-card-generator-form__colors {
    width: calc(100% + 6px);
    padding-right: 6px;
    gap: 16px;
  }
  .bingo-card-generator-form__error {
    margin-top: -12px;
    text-align: start;
  }
  .bingo-card-generator-form label {
    flex: 1;
  }
}
@media screen and (max-width: 450px) {
  .bingo-card-generator-form__formats {
    margin-right: -6px;
  }
  .bingo-card-generator-form__format-option:last-child {
    margin-right: 6px;
  }
}
.advanced-settings__opener {
  min-height: 48px;
  padding: 12px;
  transition: border-color 0.2s ease-in-out;
}
@media (any-hover: hover) {
  .advanced-settings__opener:not(.active):hover {
    background: #F9FAFA;
    border-color: rgba(0, 0, 0, 0.24);
  }
  .advanced-settings__opener:not(.active):hover .icon-arrow-down {
    rotate: 180deg;
  }
}
.advanced-settings__opener.active {
  background: #F9FAFA;
  border-color: rgba(0, 0, 0, 0.24);
}
.advanced-settings__opener.active .icon-arrow-down {
  rotate: 180deg;
}
.advanced-settings__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 12px;
}
.advanced-settings__wrapper input:not([type=radio], [type=checkbox]) {
  padding: 15px 16px;
  background: #FFF;
  font-size: 14px;
  line-height: normal;
}
.advanced-settings__wrapper.active {
  margin-top: 24px;
}
.advanced-settings__label {
  grid-column: span 2;
}
.advanced-settings__checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.advanced-settings__checkbox input {
  cursor: pointer;
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
}
@media (any-hover: hover) {
  .advanced-settings__checkbox input:hover + label {
    background: #F3F3F3;
  }
}
.advanced-settings__checkbox input:checked + label::before {
  background-size: 21px;
  border-color: #429BF4;
}
.advanced-settings__checkbox input:disabled + label {
  pointer-events: none;
  opacity: 0.5;
}
.advanced-settings__checkbox label {
  cursor: pointer;
  padding: 8px;
  min-height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  background: #F9FAFA;
  text-align: center;
  color: #5E6166;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  transition: background 0.2s ease-in-out;
}
.advanced-settings__checkbox label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: url(/public/images/svg/icon-generator-checked.svg) no-repeat;
  background-size: 0;
  background-position: center;
  border: 2px solid #757575;
  transition: border-color 0.2s ease-in-out, background-size 0.2s ease-in-out;
}

@media screen and (max-width: 767px) {
  .advanced-settings__opener {
    min-height: 45px;
    padding-inline: 8px;
  }
  .advanced-settings__wrapper.active {
    margin-top: 16px;
  }
}
.bingo-card-results .bingo-card-generator__caption {
  margin-bottom: 12px;
}
.bingo-card-results__cards {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  min-height: 406px;
  max-height: 623px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #A3A3A3 #e6e6e6;
}
.bingo-card-results__cards::-webkit-scrollbar {
  width: 2px;
}
.bingo-card-results__cards::-webkit-scrollbar-track {
  background: #e6e6e6;
}
.bingo-card-results__cards::-webkit-scrollbar-thumb {
  background: #A3A3A3;
  border-radius: 0;
}
.bingo-card-results__cards.start {
  justify-content: flex-start;
}
.bingo-card-results__cards.start .bingo-card {
  flex-grow: 0;
}
.bingo-card-results__cards.khaki .bingo-card {
  background: #F1F6C8;
  border-color: #DDE693;
}
.bingo-card-results__cards.khaki .bingo-card__cell {
  background: #859C2E;
}
.bingo-card-results__cards.violet .bingo-card {
  background: #D5D9F9;
  border-color: #BBC0F2;
}
.bingo-card-results__cards.violet .bingo-card__cell {
  background: #5263FF;
}
.bingo-card-results__cards.blue .bingo-card {
  background: #CBDFF4;
  border-color: #ACC7E4;
}
.bingo-card-results__cards.blue .bingo-card__cell {
  background: #3082D4;
}
.bingo-card-results__cards.red .bingo-card {
  background: #FBDBDC;
  border-color: #F9BCBE;
}
.bingo-card-results__cards.red .bingo-card__cell {
  background: #E43D43;
}
.bingo-card-results__cards.green .bingo-card {
  background: #D2F2D4;
  border-color: #B4DAB7;
}
.bingo-card-results__cards.green .bingo-card__cell {
  background: #4BBC50;
}
.bingo-card-results__cards.purple .bingo-card {
  background: #F3DBF8;
  border-color: #E4C4EA;
}
.bingo-card-results__cards.purple .bingo-card__cell {
  background: #BA5ECC;
}
.bingo-card-results__cards.orange .bingo-card {
  background: #F9E3C5;
  border-color: #E9D3B5;
}
.bingo-card-results__cards.orange .bingo-card__cell {
  background: #F38313;
}
.bingo-card-results__cards.teal .bingo-card {
  background: #C5E8ED;
  border-color: #AED8DE;
}
.bingo-card-results__cards.teal .bingo-card__cell {
  background: #1C7F8C;
}
.bingo-card-results__cards.white .bingo-card {
  background: #FDFDFD;
  border-color: #DDD;
}
.bingo-card-results__cards.white .bingo-card__cell {
  background: #595959;
}

@media screen and (max-width: 767px) {
  .bingo-card-results__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, calc(50% - 6px)));
    min-height: auto;
    max-height: 670px;
  }
  .bingo-card-results__cards.start {
    justify-content: center;
  }
}
.bingo-card {
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid #DDE693;
  background: #F1F6C8;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc((100% - 24px) / 3);
  max-width: 275px;
  min-width: 0;
}
.bingo-card__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(20px, 2vw, 24px);
  line-height: normal;
}
.bingo-card__caption {
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: #404040;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
}
.bingo-card__grid {
  display: grid;
  gap: 8px;
}
.bingo-card__block {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
}
.bingo-card__cell {
  position: relative;
  overflow: hidden;
  padding: 2px;
  border-radius: 8px;
  background: #859C2E;
  aspect-ratio: 1/1;
  width: 100%;
  display: grid;
  place-items: center;
  color: #FFF;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  line-height: normal;
}
.bingo-card__cell .free {
  font-size: clamp(7px, 1vw, 11px);
  line-height: 1.1;
}
.bingo-card__cell[data-editable=true] {
  cursor: pointer;
  overflow-wrap: anywhere;
}
.bingo-card__editor {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
  resize: none;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-align: center;
  overflow: hidden;
}
.bingo-card[style*="--size: 3"] .bingo-card__grid, .bingo-card[style*="--size:3"] .bingo-card__grid {
  grid-template-columns: repeat(3, 1fr);
}
.bingo-card[style*="--size: 3"] .bingo-card__cell, .bingo-card[style*="--size:3"] .bingo-card__cell {
  font-size: clamp(22px, 2vw, 26px);
  border-radius: 12px;
}
.bingo-card[style*="--size: 3"] .bingo-card__cell .free, .bingo-card[style*="--size:3"] .bingo-card__cell .free {
  font-size: clamp(10px, 1.5vw, 18px);
}
.bingo-card[style*="--size: 4"] .bingo-card__grid, .bingo-card[style*="--size:4"] .bingo-card__grid {
  grid-template-columns: repeat(4, 1fr);
}
.bingo-card[style*="--size: 4"] .bingo-card__cell, .bingo-card[style*="--size:4"] .bingo-card__cell {
  font-size: clamp(18px, 2vw, 22px);
  border-radius: 8px;
}
.bingo-card[style*="--size: 5"] .bingo-card__grid, .bingo-card[style*="--size:5"] .bingo-card__grid {
  grid-template-columns: repeat(5, 1fr);
}
.bingo-card[style*="--size: 5"] .bingo-card__cell, .bingo-card[style*="--size:5"] .bingo-card__cell {
  font-size: clamp(15px, 2vw, 17px);
  border-radius: 8px;
}
.bingo-card[style*="--size: 6"] .bingo-card__grid, .bingo-card[style*="--size:6"] .bingo-card__grid {
  grid-template-columns: repeat(6, 1fr);
}
.bingo-card[style*="--size: 6"] .bingo-card__cell, .bingo-card[style*="--size:6"] .bingo-card__cell {
  font-size: clamp(11px, 1.5vw, 17px);
  border-radius: 8px;
}
.bingo-card[style*="--size: 9"] .bingo-card__grid, .bingo-card[style*="--size:9"] .bingo-card__grid {
  grid-template-columns: repeat(9, 1fr);
}
.bingo-card[style*="--size: 9"] .bingo-card__cell, .bingo-card[style*="--size:9"] .bingo-card__cell {
  font-size: clamp(8.5px, 1vw, 13px);
  border-radius: 6px;
}
.bingo-card[style*="--size: 9"] .bingo-card__grid, .bingo-card[style*="--size:9"] .bingo-card__grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (max-width: 900px) {
  .bingo-card {
    padding-inline: 12px;
  }
}
@media screen and (max-width: 767px) {
  .bingo-card {
    padding-inline: 24px;
    flex: auto;
    max-width: none;
  }
  .bingo-card__title {
    font-size: clamp(26px, 4vw, 32px);
  }
  .bingo-card__cell .free {
    font-size: 11px;
  }
  .bingo-card[style*="--size: 3"] .bingo-card__cell, .bingo-card[style*="--size:3"] .bingo-card__cell {
    font-size: clamp(17px, 3.5vw, 28px);
  }
  .bingo-card[style*="--size: 3"] .bingo-card__cell .free, .bingo-card[style*="--size:3"] .bingo-card__cell .free {
    font-size: clamp(13px, 2.5vw, 22px);
  }
  .bingo-card[style*="--size: 4"] .bingo-card__cell, .bingo-card[style*="--size:4"] .bingo-card__cell {
    font-size: clamp(18px, 3.5vw, 26px);
  }
  .bingo-card[style*="--size: 5"] .bingo-card__cell, .bingo-card[style*="--size:5"] .bingo-card__cell {
    font-size: clamp(15px, 3vw, 22px);
  }
  .bingo-card[style*="--size: 5"] .bingo-card__cell .free, .bingo-card[style*="--size:5"] .bingo-card__cell .free {
    font-size: clamp(7.5px, 1.5vw, 11px);
  }
  .bingo-card[style*="--size: 6"] .bingo-card__cell, .bingo-card[style*="--size:6"] .bingo-card__cell {
    font-size: clamp(15px, 3vw, 24px);
  }
  .bingo-card[style*="--size: 9"] .bingo-card__cell, .bingo-card[style*="--size:9"] .bingo-card__cell {
    font-size: clamp(12px, 2vw, 17px);
  }
}
@page {
  size: A4 landscape;
  margin: 0;
}
.bingo-export-render-root {
  opacity: 0;
  user-select: none;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: #fff;
}

.bingo-export-page {
  width: 1123px;
  height: 794px;
  background: #F3F3F3;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}
.bingo-export-page__header {
  height: 64px;
  background: linear-gradient(60deg, rgb(230, 102, 52) 0%, rgb(255, 143, 41) 100%);
  border-bottom-left-radius: 30px;
  display: flex;
  align-items: center;
  column-gap: 26px;
  padding: 10px 75px 0;
  overflow: hidden;
  box-sizing: border-box;
  color: #fff;
}
.bingo-export-page__logo {
  transform: translateY(3px);
  border-radius: 50%;
  object-fit: contain;
}
.bingo-export-page__title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}
.bingo-export-page__subtitle {
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.25em;
}
.bingo-export-page__content {
  padding: 24px;
  box-sizing: border-box;
}
.bingo-export-page .bingo-card {
  padding: 24px 16px;
  box-sizing: border-box;
}
.bingo-export-page .bingo-card-results__cards {
  box-sizing: border-box;
  padding: 0;
  border: none;
  min-height: auto;
  max-height: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(4, 226px);
  gap: 14px;
}
.bingo-export-page .bingo-card-results__cards:has(.bingo-card[style*="--size: 9"]) {
  grid-template-columns: repeat(4, 252px);
}
.bingo-export-page .bingo-card__title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}
.bingo-export-page .bingo-card__caption {
  font-size: 16px;
  font-weight: 500;
}
.bingo-export-page .bingo-card__cell {
  box-sizing: border-box;
  overflow-wrap: anywhere;
  font-weight: 400;
}
.bingo-export-page .bingo-card[style*="--size: 3"] .bingo-card__cell .free, .bingo-export-page .bingo-card[style*="--size:3"] .bingo-card__cell .free {
  font-size: 15px;
}
.bingo-export-page .bingo-card[style*="--size: 4"] .bingo-card__cell, .bingo-export-page .bingo-card[style*="--size:4"] .bingo-card__cell {
  font-size: 18px;
}
.bingo-export-page .bingo-card[style*="--size: 5"] .bingo-card__cell, .bingo-export-page .bingo-card[style*="--size:5"] .bingo-card__cell {
  font-size: 15px;
}
.bingo-export-page .bingo-card[style*="--size: 5"] .bingo-card__cell .free, .bingo-export-page .bingo-card[style*="--size:5"] .bingo-card__cell .free {
  font-size: 10px;
}
.bingo-export-page .bingo-card[style*="--size: 6"] .bingo-card__cell, .bingo-export-page .bingo-card[style*="--size:6"] .bingo-card__cell {
  font-size: 14px;
}

#bingo-export-preview {
  padding: 40px;
  background: #ddd;
}