.tn-ust {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px;
  font: 700 calc(var(--px) * 12)/1.2 var(--yt-metin); letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.tn-yeni {
  padding: 4px 7px; border-radius: 6px;
  background: #ffc700; color: #0f0f0f; font-weight: 800; letter-spacing: .06em;
  animation: tn-yeni 1.6s ease-in-out infinite;
}
@keyframes tn-yeni { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,199,0,0); } 50% { box-shadow: 0 0 14px 2px rgba(255,199,0,.55); } }

.tn-parilti { position: relative; overflow: hidden; isolation: isolate; }
.tn-parilti::after {
  content: ""; position: absolute; z-index: -1; top: 0; left: -50%; width: 35%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: tn-parilti 2.8s ease-in-out infinite;
}
@keyframes tn-parilti { 0% { left: -50%; } 60%, 100% { left: 130%; } }

.tn-arena {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "yazi oyunlar dugme";
  align-items: center; gap: 16px 22px;
  margin: 0 0 24px; padding: 18px 20px 18px 22px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(55% 160% at 0% 50%, rgba(214,48,64,.30), transparent 72%),
    radial-gradient(45% 160% at 100% 50%, rgba(46,110,230,.32), transparent 72%),
    #0d1017;
  box-shadow: inset 0 0 0 1px rgba(255,199,0,.42);
  color: #fff; text-decoration: none;
  animation: tn-arena-isik 2.6s ease-in-out infinite;
  transition: transform .15s ease-out;
}
.tn-arena:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
.tn-arena:focus-visible { outline: 2px solid #ffc700; outline-offset: 3px; }
@keyframes tn-arena-isik {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,199,0,.42), 0 0 0 0 rgba(255,199,0,0); }
  50% { box-shadow: inset 0 0 0 1px rgba(255,199,0,.75), 0 0 24px 2px rgba(255,199,0,.22); }
}
.tn-arena-yazi { grid-area: yazi; display: grid; gap: 7px; min-width: 0; }
.tn-arena-bas { font: 800 calc(var(--px) * 25)/1.15 var(--yt-baslik); letter-spacing: -.015em; }
.tn-arena-bas em { font-style: normal; color: #ffc700; }
.tn-arena-alt { max-width: 66ch; font-size: calc(var(--px) * 15); line-height: 1.45; color: rgba(255,255,255,.8); }
.tn-arena-oyunlar { grid-area: oyunlar; display: grid; grid-template-columns: repeat(4, 128px); gap: 8px; }
.tn-oyun { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.tn-oyun img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.tn-oyun i {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 6px 5px;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.86));
  font: 700 calc(var(--px) * 11.5)/1.15 var(--yt-metin); font-style: normal; text-align: center; color: #fff;
}
.tn-arena:hover .tn-oyun img { transform: scale(1.07); }
.tn-arena-dugme {
  grid-area: dugme; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: var(--r-lg);
  background: #ffc700; color: #0f0f0f; font: 800 calc(var(--px) * 15)/1 var(--yt-metin); white-space: nowrap;
}
.tn-arena-dugme svg { width: 16px; height: 16px; flex: none; transition: transform .15s ease-out; }
.tn-arena:hover .tn-arena-dugme svg { transform: translateX(3px); }
.tn-arena-dugme::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); }

.hub-arena .tn-arena { margin-bottom: 0; }

@media (max-width: 1199.98px) {
  .tn-arena-oyunlar { grid-template-columns: repeat(2, 128px); }
  .tn-oyun:nth-child(n+3) { display: none; }
}
@media (max-width: 767.98px) {
  .tn-arena {
    grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "oyunlar yazi" "oyunlar dugme";
    align-items: start; gap: 10px 14px; padding: 14px;
  }
  .tn-arena-oyunlar { grid-template-columns: 1fr; align-self: stretch; }
  .tn-oyun { aspect-ratio: auto; height: 100%; min-height: 88px; }
  .tn-oyun i { display: none; }
  .tn-arena-bas { font-size: calc(var(--px) * 19); }
  .tn-arena-alt { font-size: calc(var(--px) * 13.5); line-height: 1.4; }
  .tn-arena-dugme { justify-self: start; height: 40px; padding: 0 16px; font-size: calc(var(--px) * 14); }
}

.tn-pano { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.tn-kart {
  --tn-rgb: 255,199,0;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 42% minmax(0, 1fr);
  border: 1px solid rgba(var(--tn-rgb), .45); border-radius: var(--r-xl);
  background: #0b0f17; color: #fff;
  animation: tn-kart-isik 2.8s ease-in-out infinite;
  transition: transform .15s ease-out;
}
.tn-kart.is-clan { --tn-rgb: 96,165,250; animation-delay: 1.4s; }
.tn-kart:hover { transform: translateY(-1px); }
@keyframes tn-kart-isik {
  0%, 100% { border-color: rgba(var(--tn-rgb), .45); box-shadow: 0 0 0 0 rgba(var(--tn-rgb), 0); }
  50% { border-color: rgba(var(--tn-rgb), .85); box-shadow: 0 0 22px 2px rgba(var(--tn-rgb), .25); }
}
.tn-kart-resim { position: relative; }
.tn-kart-resim::before { content: ""; display: block; padding-top: 66.667%; }
.tn-kart-resim img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s ease-out; }
.tn-kart-resim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,23,0) 52%, #0b0f17); }
.tn-kart:hover .tn-kart-resim img { transform: scale(1.04); }
.tn-kart-yazi { display: grid; align-content: center; gap: 8px; min-width: 0; padding: 18px 20px 18px 6px; }
.tn-kart .tn-ust .oyun-simge { --boy: 20px; }
.tn-kart .tn-ust small { padding: 3px 8px; border-radius: 99px; background: rgba(var(--tn-rgb), .16); color: rgb(var(--tn-rgb)); font: 700 calc(var(--px) * 11.5)/1.2 var(--yt-metin); letter-spacing: .02em; text-transform: none; }
.tn-kart-bas { font: 800 calc(var(--px) * 22)/1.2 var(--yt-baslik); letter-spacing: -.015em; color: #fff; text-decoration: none; }
.tn-kart-bas:hover { color: #fff; text-decoration: none; }
.tn-kart-bas::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.tn-kart-bas:focus-visible { outline: none; }
.tn-kart-bas:focus-visible::after { outline: 2px solid rgb(var(--tn-rgb)); outline-offset: -3px; border-radius: var(--r-xl); }
.tn-kart-alt { font-size: calc(var(--px) * 14.5); line-height: 1.45; color: rgba(255,255,255,.8); }
.tn-kart-dugmeler { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tn-dugme {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 10px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  font: 700 calc(var(--px) * 14)/1 var(--yt-metin); white-space: nowrap; color: #fff; text-decoration: none;
  transition: background-color .15s ease-out, filter .15s ease-out;
}
.tn-dugme:hover { background: rgba(255,255,255,.16); color: #fff; text-decoration: none; }
.tn-dugme.is-ana { background: rgb(var(--tn-rgb)); box-shadow: none; color: #0f0f0f; }
.tn-dugme.is-ana:hover { background: rgb(var(--tn-rgb)); filter: brightness(1.1); color: #0f0f0f; }
.tn-dugme svg { width: 15px; height: 15px; flex: none; }

@media (min-width: 1100px) and (max-width: 1299.98px) {
  .tn-kart { grid-template-columns: 34% minmax(0, 1fr); }
  .tn-kart-bas { font-size: calc(var(--px) * 20); }
}
@media (max-width: 1099.98px) {
  .tn-pano { grid-template-columns: 1fr; }
  .tn-kart { grid-template-columns: 38% minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .tn-kart { grid-template-columns: 1fr; }
  .tn-kart-resim { height: 150px; }
  .tn-kart-resim::before { display: none; }
  .tn-kart-resim::after { background: linear-gradient(180deg, rgba(11,15,23,0) 45%, #0b0f17); }
  .tn-kart-yazi { padding: 2px 14px 16px; }
  .tn-kart-bas { font-size: calc(var(--px) * 20); }
  .tn-kart-alt { font-size: calc(var(--px) * 14); }
  .tn-dugme { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tn-yeni, .tn-arena, .tn-kart, .tn-parilti::after { animation: none; }
  .tn-arena, .tn-kart, .tn-oyun img, .tn-kart-resim img { transition: none; }
}
