*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: transparent !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 14px;
  color: #fff;
  background: transparent !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.yak {
  --yak-glass: rgba(10, 14, 22, 0.55);
  --yak-glass-strong: rgba(8, 12, 20, 0.68);
  --yak-glass-border: rgba(255, 255, 255, 0.1);
  --yak-glass-blur: 14px;

  position: relative;
  min-height: 0;
  overflow-x: hidden;
  padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
  background: transparent !important;
}

html:not(.is-iframe) .yak {
  min-height: 100vh;
  min-height: 100dvh;
}

.yak-main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  background: transparent !important;
}

/* Hero */
.yak-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 132px;
  padding: 0.75rem 0.25rem 1rem;
  background: transparent;
  border: none;
}

.yak-hero__text {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.yak-hero__text h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.yak-hero__text p {
  margin: 0 0 0 auto;
  max-width: 38ch;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.yak-hero__slot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  pointer-events: none;
}

.yak-hero__logo {
  display: block;
  width: min(220px, 46vw);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

/* Filters */
.yak-filters {
  display: flex;
  gap: 0.5rem;
  margin: 0.35rem 0 0.75rem;
}

.yak-filter {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.yak-filter--on {
  color: #fff;
  border-color: rgba(200, 150, 50, 0.75);
  background: transparent;
}

/* RTP panels */
.yak-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
}

.yak-panel {
  padding: 0 0 0.85rem;
  background: transparent;
  border: none;
}

.yak-panel--hot,
.yak-panel--cold {
  box-shadow: none;
}

.yak-panel__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  margin: 0 0 0.5rem;
  padding: 0 0.25rem;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.yak-panel__head h2 {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.yak-panel__head--hot,
.yak-panel__head--cold {
  background: none !important;
  background-image: none !important;
}

/* Sadece ateş / kar ikonu — PNG banner yok */
.yak-panel__icon {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent !important;
  background-image: none !important;
  border: none;
  box-shadow: none;
  pointer-events: none;
}

.yak-panel__icon svg {
  display: block;
  width: 30px;
  height: 30px;
  overflow: visible;
}

.yak-panel__icon--hot svg {
  filter: drop-shadow(0 0 10px rgba(255, 100, 20, 0.7)) drop-shadow(0 0 3px rgba(255, 210, 80, 0.45));
}

.yak-panel__icon--cold svg {
  filter: drop-shadow(0 0 10px rgba(80, 180, 255, 0.75)) drop-shadow(0 0 3px rgba(200, 240, 255, 0.5));
}

.yak-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.yak-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.4rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yak-card__thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #222;
}

.yak-card__rtp {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.yak-card__name {
  margin-top: 0.12rem;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}

.yak-card__arr {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

.yak-panel--hot .yak-card__arr {
  background: #e85d04;
}

.yak-panel--cold .yak-card__arr {
  background: #0284c7;
}

.yak-more-wrap {
  text-align: center;
  margin: 1rem 0 1.5rem;
}

.yak-more {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Şanslı kazanç tekrarları */
.yak-replays {
  margin-bottom: 1.25rem;
}

.yak-replays__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.yak-replays__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.yak-replays__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.yak-replays__track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.yak-replay {
  flex: 0 0 min(248px, 52vw);
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.yak-replay__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: transparent center / cover no-repeat;
}

.yak-replay__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #1a1000;
  background: #ffb020;
}

.yak-replay__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: auto;
  width: 36px;
  height: 36px;
  font-size: 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.yak-replay__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.yak-replay__foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.55rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.yak-replay__foot img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.yak-replay__meta {
  flex: 1;
  min-width: 0;
}

.yak-replay__meta strong {
  display: block;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yak-replay__meta span {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.42);
}

.yak-btn-oyna {
  flex-shrink: 0;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #1a0f00;
  background: rgba(255, 140, 0, 0.92);
  border: 1px solid rgba(255, 200, 120, 0.35);
  box-shadow: 0 2px 12px rgba(255, 120, 0, 0.25);
}

/* Wins table */
.yak-table-wrap {
  padding: 0.5rem 0.25rem 1rem;
  background: transparent;
  border: none;
}

.yak-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.yak-tab {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.yak-tab--on {
  color: #fff;
  border-color: rgba(255, 140, 0, 0.55);
  background: transparent;
}

.yak-table__cols,
.yak-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr 0.65fr 0.7fr 0.8fr;
  gap: 0.4rem;
  align-items: center;
}

.yak-table__cols {
  padding: 0 0.35rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.yak-table__body {
  max-height: 320px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 90%, transparent);
}

.yak-table__body:hover .yak-table__rows {
  animation-play-state: paused;
}

.yak-table__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  animation: yak-scroll 45s linear infinite;
}

@keyframes yak-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.yak-row {
  padding: 0.45rem 0.35rem;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.yak-row:hover {
  background: transparent;
}

.yak-row__game,
.yak-row__player {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.yak-row__game img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.yak-row__player img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.yak-row__game span,
.yak-row__player span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yak-row__muted {
  color: rgba(255, 255, 255, 0.55);
}

.yak-row__green {
  font-weight: 600;
  color: #7dffb2;
}

/* Modal */
.yak-modal[hidden] {
  display: none !important;
}

.yak-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.yak-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.yak-modal__box {
  position: relative;
  width: min(720px, 100%);
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.yak-modal__screen {
  position: relative;
  aspect-ratio: 1;
  background: #000;
}

.yak-modal__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  animation: yak-replay-poster 14s ease-in-out infinite alternate;
  transform-origin: center center;
}

.yak-modal__poster.is-hidden {
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

@keyframes yak-replay-poster {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1.5%, -1%);
  }
}

.yak-modal__iframe {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.yak-modal__iframe[hidden] {
  display: none !important;
}

.yak-modal__video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yak-modal__fs,
.yak-modal__close-top {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.yak-modal__fs {
  top: 0.5rem;
  right: 0.5rem;
}

.yak-modal__close-top {
  top: 0.5rem;
  left: 0.5rem;
  font-size: 1.35rem;
  line-height: 1;
}

.yak-modal__end {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.72);
  animation: yak-replay-end-in 0.45s ease;
}

.yak-modal__end[hidden] {
  display: none !important;
}

@keyframes yak-replay-end-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.yak-modal__end-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.yak-modal__end-pay {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: #fbbf24;
}

.yak-modal__end-mult {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #4ade80;
}

.yak-modal__chip.is-pending strong {
  opacity: 0.35;
}

.yak-modal__chip.is-revealed strong {
  animation: yak-chip-pop 0.35s ease;
}

@keyframes yak-chip-pop {
  0% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}

.yak-modal__loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.55);
}

.yak-modal__loading.is-hidden {
  display: none;
}

.yak-modal__spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #3b82f6;
  animation: yak-spin 0.8s linear infinite;
}

@keyframes yak-spin {
  to { transform: rotate(360deg); }
}

.yak-modal__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.yak-modal__chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 110px;
}

.yak-modal__chip em {
  display: block;
  font-style: normal;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.42);
}

.yak-modal__chip strong {
  font-size: 0.8125rem;
}

.yak-modal__chip-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.yak-modal__chip-ico--x {
  background: rgba(255, 100, 180, 0.15);
  color: #ff6eb4;
}

.yak-modal__chip-ico--coin {
  border-radius: 50%;
  background: rgba(255, 200, 80, 0.2);
  box-shadow: inset 0 0 0 2px rgba(255, 200, 80, 0.35);
}

.yak-modal__game {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.yak-modal__game img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.yak-modal__game div strong {
  display: block;
  font-size: 0.75rem;
}

.yak-modal__game div span {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.42);
}

.yak-modal__cta {
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a0f00;
  background: #ff8c00;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .yak-main {
    padding: 0.75rem 0.65rem 0;
  }

  .yak-board {
    grid-template-columns: 1fr;
  }

  .yak-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0.15rem 0.85rem;
    min-height: 0;
  }

  .yak-hero__text {
    text-align: left;
    width: 100%;
  }

  .yak-hero__text p {
    margin-left: 0;
  }

  .yak-hero__slot {
    width: 100%;
    justify-content: flex-start;
  }

  .yak-hero__logo {
    width: min(200px, 70vw);
    max-height: 72px;
    object-position: left center;
  }

  .yak-filters {
    flex-wrap: wrap;
  }

  .yak-filter {
    flex: 1 1 auto;
    min-height: 44px;
    text-align: center;
  }

  .yak-table__cols {
    display: none;
  }

  .yak-row {
    grid-template-columns: 1fr 1fr;
  }

  .yak-modal__box {
    width: min(720px, 100%);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 13px;
  }

  .yak {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  .yak-main {
    padding: 0.5rem 0.5rem 0;
  }

  .yak-hero__text h1 {
    font-size: 1.15rem;
  }

  .yak-hero__text p {
    font-size: 0.75rem;
  }

  .yak-filters {
    gap: 0.35rem;
  }

  .yak-filter {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

  .yak-cards {
    grid-template-columns: 1fr;
  }

  .yak-panel__icon svg {
    width: 26px;
    height: 26px;
  }

  .yak-card__name {
    max-width: none;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .yak-replays__head h2 {
    font-size: 0.875rem;
  }

  .yak-replays__track {
    gap: 0.45rem;
  }

  .yak-replay {
    flex: 0 0 min(168px, 46vw);
    border-radius: 8px;
  }

  .yak-replay__media {
    aspect-ratio: 16 / 10;
  }

  .yak-replay__badge {
    top: 0.35rem;
    left: 0.35rem;
    padding: 0.12rem 0.35rem;
    font-size: 0.5625rem;
  }

  .yak-replay__play {
    width: 28px;
    height: 28px;
    border-width: 1.5px;
  }

  .yak-replay__bar {
    padding: 0.25rem 0.35rem;
    font-size: 0.5625rem;
  }

  .yak-replay__foot {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem 0.4rem;
  }

  .yak-replay__foot img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .yak-replay__meta strong {
    font-size: 0.625rem;
  }

  .yak-replay__meta span {
    font-size: 0.5625rem;
  }

  .yak-btn-oyna {
    padding: 0.3rem 0.55rem;
    font-size: 0.5625rem;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .yak-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
  }

  .yak-tabs::-webkit-scrollbar {
    display: none;
  }

  .yak-tab {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
    font-size: 0.6875rem;
  }

  .yak-table-wrap {
    padding: 0.45rem 0.15rem 0.85rem;
  }

  .yak-table__body {
    max-height: min(360px, 55vh);
  }

  .yak-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.45rem;
    padding: 0.55rem 0.35rem;
    border-radius: 10px;
    margin-bottom: 0.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .yak-row__game,
  .yak-row__player {
    grid-column: 1 / -1;
  }

  .yak-row__game span,
  .yak-row__player span {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .yak-row__muted[data-label]::before,
  .yak-row__green[data-label]::before {
    display: block;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 0.1rem;
    content: attr(data-label);
  }

  .yak-row__green[data-label]::before {
    color: rgba(125, 255, 178, 0.55);
  }

  .yak-modal:not([hidden]) {
    padding: 0;
    align-items: stretch;
  }

  .yak-modal__box {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    border: 0;
  }

  .yak-modal__screen {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: min(56vw, 280px);
  }

  .yak-modal__bar {
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.55rem 0.5rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }

  .yak-modal__game {
    order: -1;
    width: 100%;
    padding-bottom: 0.15rem;
  }

  .yak-modal__chip {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .yak-modal__chip strong {
    font-size: 0.875rem;
  }

  .yak-modal__cta {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .yak-modal__fs,
  .yak-modal__close-top {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .yak-replay {
    flex: 0 0 min(152px, 44vw);
  }

  .yak-modal__chip {
    padding: 0.4rem 0.45rem;
  }
}

/* Ana sitede iframe içinde gömülü */
html.is-iframe,
html.is-iframe body,
html.is-iframe .yak,
html.is-iframe .yak-main,
html.is-iframe #yak-app {
  background: transparent !important;
}

html.is-iframe .yak {
  min-height: 0;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

html.is-iframe .yak-main {
  max-width: none;
  width: 100%;
  padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
}

@media (max-width: 640px) {
  html.is-iframe .yak-modal:not([hidden]) {
    position: fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yak-table__rows,
  .yak-replays__track {
    animation: none;
  }

  .yak-replays__viewport {
    overflow-x: auto;
    mask-image: none;
  }

  .yak-table__body {
    max-height: none;
    overflow: auto;
    mask-image: none;
  }
}
