.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ad-placeholder {
  width: min(970px, 100%);
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #0d1320;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ad-placeholder::before {
  content: "ADVERTISEMENT";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  color: #718099;
  font-size: 8px;
  letter-spacing: .18em;
  pointer-events: none;
}

.ad-home { margin: 0 auto 28px; }

.start-actions {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 24px;
}

.start-actions .play-button { position: static; }
.start-cover {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 22px;
  border: 2px solid rgba(255,255,255,.22);
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}
.ad-player { max-height: min(250px, 31vh); }

.toolbar-actions button {
  min-height: 42px;
  padding: 10px 14px;
  color: #f7f9fc;
  background: #1a2435;
  border: 1px solid #3a4962;
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
  transition: transform .2s, color .2s, background .2s, border-color .2s;
}
.toolbar-actions button:hover {
  transform: translateY(-1px);
  background: #243149;
  border-color: var(--lime);
}
.toolbar-actions #favoriteButton { color: #ffe16b; }
.toolbar-actions #newTabButton { color: var(--cyan); }
.toolbar-actions #fullscreenButton { color: var(--lime); }
.related .section-link { color:var(--muted); font-size:12px; font-weight:700; }
.related .section-link:hover { color:var(--lime); }

@media (min-width: 721px) and (max-width: 1100px) {
  .start-actions { gap: 12px; padding: 14px; }
  .start-cover { width: 160px; height: 72px; border-radius: 12px; }
  .ad-player { height: 190px; }
}

@media (max-width: 720px) {
  .ad-placeholder { height: min(250px, 26vw); min-height: 90px; border-radius: 10px; }
  .ad-home { margin: 18px 0 24px; }
  .start-actions { gap: 10px; padding: 12px; }
  .start-actions .play-button { padding: 12px 18px; font-size: 14px; }
  .start-cover { width: 120px; height: 54px; border-radius: 10px; }
  .ad-player { min-height: 70px; height: min(250px, 22vw); }
}


/* v26 game-page polish */
.toolbar-actions button{
  background:#182236;
  border-color:rgba(255,255,255,.14);
  box-shadow:0 5px 16px rgba(0,0,0,.16);
}
.toolbar-actions button:hover{
  background:#202d44;
  transform:translateY(-1px);
}
.related{
  padding-top:18px!important;
}
@media(max-width:720px){
  .related{padding-top:12px!important}
  .toolbar-actions button{min-height:40px}
}


/* v39 final category ad network override */
.category-ad-fixed #fine-arts-lol_970x250,
.category-ad-fixed #fine-arts-lol_970x250 iframe{
  width:970px !important;
  min-width:970px !important;
  max-width:970px !important;
  height:250px !important;
  min-height:250px !important;
  max-height:250px !important;
}
