/* Shared spacing and readable controls, with the existing clear black surfaces. */
body.dtp-experience-v7 { overflow-x: clip; }
body.dtp-experience-v7 .dtp-header { position: relative!important; top: auto; }
body.dtp-experience-v7 .dtp-hero-v4 { overflow: clip; }
body.dtp-experience-v7 :is(.dtp-container,.component,.dtp-hero-copy,.dtp-showcase,.ax-products-page__main,.ax-product-page__layout>*,.ax-modal__title-wrap,.dtp-footer-col) { min-width: 0; }
body.dtp-experience-v7 :is(h1,h2,h3,p,.ax-card__name,.ax-product-page__title,.dtp-vouch-card blockquote) { overflow-wrap: break-word; }
body.dtp-experience-v7 :is(p,.ax-card__meta,.ax-product-page__info-text) { line-height: 1.65; }
body.dtp-experience-v7 :is(button,a,input,select,summary) { -webkit-tap-highlight-color: transparent; }
body.dtp-experience-v7 :is(input,select,textarea) { max-width: 100%; }
body.dtp-experience-v7 :is(button,a,summary,input,select):focus-visible { outline: 2px solid #d6d9df; outline-offset: 4px; }
body.dtp-experience-v7 .dtp-section-label { letter-spacing: .12em; line-height: 1.4; }

/* Each category has one title and one short line of metadata. */
body.dtp-experience-v7 .dtp-game-catalog { padding: clamp(18px,3vw,28px); border-radius: 16px; }
body.dtp-experience-v7 .dtp-catalog-head { align-items: center; flex-wrap: wrap; gap: 12px 24px; }
body.dtp-experience-v7 .dtp-catalog-head h2 { margin: 8px 0 0; font-size: clamp(22px,2.6vw,30px); line-height: 1.2; letter-spacing: -.035em; }
body.dtp-experience-v7 .dtp-catalog-head>a { min-height: 44px; font-size: 13px; white-space: nowrap; }
body.dtp-experience-v7 .dtp-catalog-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 16px 0; margin-bottom: 20px; }
body.dtp-experience-v7 .dtp-catalog-search { flex: 1 1 260px; max-width: 480px!important; min-width: 0; min-height: 46px; padding: 11px 14px; }
body.dtp-experience-v7 .dtp-catalog-search input { font-size: 14px; line-height: 1.5; }
body.dtp-experience-v7 .dtp-catalog-count { margin: 0; font-size: 12px; line-height: 1.5; }
body.dtp-experience-v7 :is(.dtp-catalog-refresh,.dtp-catalog-filter) { margin: 0; min-height: 44px; padding: 10px 13px; font-size: 12px; line-height: 1.4; border-radius: 8px; }
body.dtp-experience-v7 .dtp-catalog-refresh { margin-left: auto; }
body.dtp-experience-v7 .dtp-game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
body.dtp-experience-v7 .dtp-game-tile { display: block; position: relative; height: auto; min-height: 180px; aspect-ratio: 1.85/1; padding: 0; overflow: hidden; isolation: isolate; border: 1px solid #d6dee931; border-radius: 12px; background: #0b0c0f; text-align: left; transition: border-color .2s ease,transform .2s ease; }
body.dtp-experience-v7 .dtp-game-tile::after { content: none; }
body.dtp-experience-v7 .dtp-game-tile::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg,rgba(0,0,0,.94),rgba(0,0,0,.18) 85%),linear-gradient(90deg,rgba(0,0,0,.32),transparent 70%); }
body.dtp-experience-v7 .dtp-game-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.85); transition: transform .35s ease; }
body.dtp-experience-v7 .dtp-category-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: inherit; height: 100%; width: 100%; padding: 22px 20px 18px; }
body.dtp-experience-v7 .dtp-game-label { position: static; display: block; max-width: 100%; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; font-size: clamp(19px,1.9vw,25px); line-height: 1.2; letter-spacing: -.025em; font-weight: 650; color: #f1f1f3; text-shadow: 0 2px 15px #000; white-space: normal; overflow-wrap: break-word; }
body.dtp-experience-v7 .dtp-category-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
body.dtp-experience-v7 .dtp-game-status { position: static; display: block; padding: 0; margin: 0; font-size: 12px; line-height: 1.4; letter-spacing: 0; color: #c2c4cb; background: none; border: 0; }
body.dtp-experience-v7 .dtp-category-browse { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.4; color: #e1e3e8; }
body.dtp-experience-v7 .dtp-catalog-empty { padding: 20px 0 4px; font-size: 14px; }
body.dtp-experience-v7 :is(.dtp-game-tile,.dtp-game-catalog,.dtp-catalog-filter,.dtp-catalog-empty,[data-dtp-category-link],.dtp-catalog-jump)[hidden] { display: none!important; }

/* Product lists and dialogs grow with their content. */
body.dtp-experience-v7 .ax-products__item { min-width: 0; }
body.dtp-experience-v7 .ax-card__name { line-height: 1.35; white-space: normal; }
body.dtp-experience-v7 .ax-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; }
body.dtp-experience-v7 .ax-card__price { flex-wrap: wrap; row-gap: 4px; }
body.dtp-experience-v7 .ax-modal-backdrop { padding: 20px; overscroll-behavior: contain; }
body.dtp-experience-v7 .ax-modal { width: min(1080px,100%); max-height: calc(100dvh - 40px); overscroll-behavior: contain; }
body.dtp-experience-v7 .ax-modal__header { gap: 16px; align-items: flex-start; }
body.dtp-experience-v7 .ax-modal__title-wrap { flex-wrap: wrap; gap: 8px 12px; }
body.dtp-experience-v7 .ax-modal__title { font-size: clamp(19px,2.6vw,26px); line-height: 1.3; }
body.dtp-experience-v7 .ax-modal__close { width: 44px; height: 44px; flex: 0 0 44px; }
body.dtp-experience-v7 .ax-products-page__modal-panel { max-height: calc(100dvh - 28px); overflow-y: auto; overscroll-behavior: contain; }
body.dtp-experience-v7 .ax-products-page__modal-head { position: sticky; top: 0; z-index: 2; background: #0d0f13; }
body.dtp-experience-v7 .ax-products-page__modal-close { width: 44px; height: 44px; }
body.dtp-experience-v7 .ax-products-page__cat-item { min-height: 44px; white-space: normal; line-height: 1.4; }
body.dtp-experience-v7 :is(.ax-product-page__buy-card,.ax-cart-summary) { min-width: 0; }
body.dtp-experience-v7 .ax-product-page__buy-card form div:has(>button[type="submit"]) { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,150px),1fr)); gap: 12px; }
body.dtp-experience-v7 .ax-product-page__buy-card form div:has(>button[type="submit"])>button { min-width: 0; padding-inline: 12px; white-space: normal; }
body.dtp-experience-v7 :is(.ax-product-page__content,.ax-policy-page__card) { overflow-wrap: anywhere; }
body.dtp-experience-v7 :is(.ax-product-page__content,.ax-policy-page__card) img { max-width: 100%; height: auto; }
body.dtp-experience-v7 .dtp-footer-grid { gap: 28px; }

@media (hover:hover) and (pointer:fine) {
  body.dtp-experience-v7 .dtp-game-tile:hover { transform: translateY(-3px); border-color: #e0e4ed85; }
  body.dtp-experience-v7 .dtp-game-tile:hover img { transform: scale(1.025); }
}
@media (max-width:1150px) {
  body.dtp-experience-v7 .dtp-game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width:901px) and (max-width:1150px) {
  body.dtp-experience-v7 .dtp-nav { gap: 14px; }
  body.dtp-experience-v7 .dtp-nav-links { gap: 3px; }
  body.dtp-experience-v7 :is(.dtp-nav-links>a,.dtp-nav-key,.dtp-nav-info summary) { font-size: 11px; padding-inline: 6px; }
  body.dtp-experience-v7 .dtp-nav-actions { gap: 6px; }
  body.dtp-experience-v7 .dtp-discord-link { display: none; }
}
@media (max-width:900px) {
  body.dtp-experience-v7 #dtp-navigation:not(.is-open) { display: none!important; }
  body.dtp-experience-v7 #dtp-navigation.is-open { display: flex!important; }
  body.dtp-experience-v7 #dtp-navigation { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; background: rgba(8,9,12,.97); backdrop-filter: blur(12px); }
  body.dtp-experience-v7 .dtp-hero-stage { gap: 30px; }
  body.dtp-experience-v7 .dtp-hero-tagline { font-size: clamp(20px,3.5vw,27px); line-height: 1.3; }
  body.dtp-experience-v7 .ax-products-page__sidebar { display: none; }
  body.dtp-experience-v7 .ax-products-page__mobile-bar { display: flex; }
  body.dtp-experience-v7 .ax-product-page__layout { grid-template-columns: minmax(0,1fr); }
  body.dtp-experience-v7 .ax-product-page__buy-card { position: static; }
}
@media (max-width:600px) {
  body.dtp-experience-v7 .dtp-container { width: calc(100% - 32px); }
  body.dtp-experience-v7 .dtp-nav { gap: 10px; height: 68px; }
  body.dtp-experience-v7 .dtp-brand-copy strong { font-size: 24px; }
  body.dtp-experience-v7 .dtp-nav-avatar { width: 30px; height: 30px; }
  body.dtp-experience-v7 .dtp-nav-actions { gap: 6px; }
  body.dtp-experience-v7 .dtp-login { min-height: 42px; padding: 9px 11px; }
  body.dtp-experience-v7 .dtp-icon-button { width: 42px; height: 42px; }
  body.dtp-experience-v7 .dtp-discord-link { display: none; }
  body.dtp-experience-v7 .dtp-hero-v4 { padding: 24px 18px; }
  body.dtp-experience-v7 .dtp-hero-heading { gap: 12px; flex-wrap: wrap; }
  body.dtp-experience-v7 .dtp-hero-copy>p { font-size: 14px; line-height: 1.7; }
  body.dtp-experience-v7 .dtp-hero-buttons { display: grid; grid-template-columns: 1fr; gap: 12px; }
  body.dtp-experience-v7 .dtp-hero-buttons .dtp-button { width: 100%; min-height: 48px; font-size: 13px; }
  body.dtp-experience-v7 .dtp-proof-grid { gap: 0; }
  body.dtp-experience-v7 .dtp-proof-grid>div { min-width: 0; padding: 16px 10px; }
  body.dtp-experience-v7 .dtp-proof-grid strong { font-size: 20px; }
  body.dtp-experience-v7 .dtp-proof-grid .dtp-trust-title { font-size: 14px; line-height: 1.4; white-space: normal; }
  body.dtp-experience-v7 .dtp-proof-grid>div>span { font-size: 10px; line-height: 1.5; }
  body.dtp-experience-v7 .dtp-catalog-head { gap: 8px 16px; }
  body.dtp-experience-v7 .dtp-catalog-head>a { font-size: 12px; }
  body.dtp-experience-v7 .dtp-catalog-search { flex: 1 0 100%; width: 100%; max-width: none!important; }
  body.dtp-experience-v7 .dtp-catalog-search input { font-size: 16px; }
  body.dtp-experience-v7 .dtp-game-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  body.dtp-experience-v7 .dtp-game-tile { min-height: 158px; aspect-ratio: 2/1; }
  body.dtp-experience-v7 .dtp-category-content { padding: 22px 18px 18px; gap: 14px; }
  body.dtp-experience-v7 .dtp-game-label { font-size: 23px; }
  body.dtp-experience-v7 .ax-products__grid { grid-template-columns: minmax(0,1fr); }
  body.dtp-experience-v7 .ax-modal-backdrop { padding: 12px; }
  body.dtp-experience-v7 .ax-modal { width: 100%; max-height: calc(100dvh - 24px); border-radius: 14px; }
  body.dtp-experience-v7 .ax-modal__grid { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 16px; }
  body.dtp-experience-v7 .ax-modal__header { padding: 14px 16px; }
  body.dtp-experience-v7 .ax-products-page__header { margin-bottom: 20px; }
  body.dtp-experience-v7 .ax-products-page__title { font-size: 30px; line-height: 1.2; }
  body.dtp-experience-v7 .dtp-catalog-intro { font-size: 14px; line-height: 1.65; }
  body.dtp-experience-v7 .ax-product-page__title { font-size: 26px; line-height: 1.25; }
  body.dtp-experience-v7 :is(.ax-product-page__buy-card,.ax-cart-summary) { position: static; }
  body.dtp-experience-v7 :is(.ax-product-page__buy-card input,.ax-products-page__input,.ax-lm__input) { font-size: 16px; }
  body.dtp-experience-v7 .dtp-feature-visual { min-height: 0; }
  body.dtp-experience-v7 .dtp-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; }
  body.dtp-experience-v7 .dtp-footer-brand { grid-column: 1/-1; }
  body.dtp-experience-v7 .dtp-effects-control { left: 10px; bottom: max(10px,env(safe-area-inset-bottom)); min-height: 34px; padding: 0 10px; font-size: 10px; }
}
@media (max-width:380px) {
  body.dtp-experience-v7 .dtp-brand-copy strong { font-size: 22px; }
  body.dtp-experience-v7 .dtp-nav-avatar { display: none; }
  body.dtp-experience-v7 .dtp-hero-v4 { padding-inline: 16px; }
  body.dtp-experience-v7 .dtp-proof-grid { grid-template-columns: 1fr; }
  body.dtp-experience-v7 .dtp-proof-grid>div { border-right: 0; border-bottom: 1px solid #ffffff18; }
  body.dtp-experience-v7 .dtp-proof-grid>div:last-child { border-bottom: 0; }
  html body.dtp-experience-v7 #products .dtp-featured-compact .ax-card__inner { grid-template-columns: 1fr!important; }
  body.dtp-experience-v7 #products .dtp-featured-compact .ax-card__img-wrap { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  body.dtp-experience-v7 .dtp-game-tile,body.dtp-experience-v7 .dtp-game-tile img { transition: none; }
  body.dtp-experience-v7 .dtp-game-tile:hover { transform: none; }
}
