/* Generated from ios/web/ios-discovery.css by scripts/sync-web-presentation.mjs.
 * Update the mobile source and run the generator; do not edit this copy. */
/* Native discovery surfaces. Loaded after ios-panels.css by the mobile build.
 * Keep the player's home anchor, existing artwork, and web styles unchanged. */

/* Two simple choices per row: original scene, name, short description and
 * Keşfet. Native panel updates remove duplicate labels and package metadata.
 * Intrinsic 5:2 artwork keeps every cat and scene intact. */
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-categories .pp-category-panel {
  width: min(600px, 100%);
  height: auto;
  max-height: 100%;
  padding: 18px 12px 14px;
  border: 1px solid var(--pp-line);
  box-shadow: 2px 2px 0 var(--pp-line);
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-categories .pp-category-panel::before,
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-categories .pp-category-panel::after {
  display: none;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel > .pp-panel-kicker {
  margin: 0 0 3px 48px;
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: .06em;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel > .pp-panel-head {
  min-width: 0;
  margin: 0 0 16px;
  gap: 10px;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel > .pp-panel-head h1 {
  font-size: 29px;
  line-height: 1.05;
  letter-spacing: 0;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel > .pp-panel-head p {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.2;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-grid {
  flex: 0 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  align-items: stretch;
  gap: 10px;
  min-height: 0;
  padding: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-padding: 2px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--pp-line);
  background: var(--pp-paper);
  box-shadow: none;
  overflow: hidden;
  text-align: left;
  white-space: normal;
  touch-action: manipulation;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card.pp-selected {
  border-color: var(--pp-teal);
  box-shadow: 0 0 0 1px var(--pp-teal);
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card .pp-category-picture {
  display: block;
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 5 / 2;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pp-line);
  overflow: hidden;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-picture img.pp-category-art-wide {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  image-rendering: pixelated;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  gap: 7px;
  padding: 11px 10px 6px;
  white-space: normal;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text > strong {
  display: block;
  flex: 0 0 auto;
  order: 0;
  font-size: 24px;
  line-height: 1.05;
  color: var(--pp-ink);
  letter-spacing: 0;
  overflow-wrap: normal;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text > span {
  display: block;
  flex: 0 0 auto;
  order: 1;
  min-height: 38px;
  margin-top: 0;
  font-size: 17px;
  line-height: 1.18;
  color: var(--pp-muted);
  overflow-wrap: normal;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card-foot {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  margin: 0 10px;
  padding: 7px 0 11px;
  border-top: 0;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-enter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  font-size: 16px;
  line-height: 1;
}
html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-enter .pp-icon {
  width: 13px;
  height: 13px;
}

/* Text sits directly on the original scene. The previous native selector was
 * weaker than the legacy .pp-home-actions rule, so its contrast was discarded.
 * Eight crisp outline pixels keep both light and dark scenery legible without
 * a strip, panel, gradient, pseudo-element, or other backing surface. */
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions {
  --v29-home-ink: #fff6e1;
  --v16-home-ink: #fff6e1;
  --v29-home-stroke: 0;
  --v29-home-text-shadow: -1px -1px 0 #173e40, 0 -1px 0 #173e40, 1px -1px 0 #173e40, -1px 0 0 #173e40, 1px 0 0 #173e40, -1px 1px 0 #173e40, 0 1px 0 #173e40, 1px 1px 0 #173e40, 0 2px 1px #173e40;
}
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-howto summary,
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-howto summary:is(:hover, :focus-visible, :active),
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-howto li,
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-home-meta > span {
  color: var(--v29-home-ink);
  background: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
  text-shadow: var(--v29-home-text-shadow);
  -webkit-text-stroke: 0;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-howto summary {
  min-height: 44px;
  font-size: 20px;
  line-height: 24px;
}
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-howto summary::before {
  text-shadow: var(--v29-home-text-shadow);
}
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-home-meta {
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 3px;
}
html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-home-meta > span {
  font-size: 18px;
  line-height: 22px;
}
/* Thicken the shared cream lettering without adding a contrasting border. */
@container (max-width: 719px) {
  html[data-pati-web-design=mobile] #review-main .app-viewport[data-category=general] .pp-home .pp-home-actions :is(.pp-howto summary, .pp-home-meta > span, .pp-home-game-number) {
    color: var(--v29-home-ink);
    -webkit-text-stroke: .6px currentColor;
    text-shadow: var(--v29-home-text-shadow);
    opacity: 1;
  }
}
@media (max-width: 359px) {
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-grid {
    gap: 8px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text {
    padding-inline: 8px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text > strong {
    font-size: 22px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text > span {
    font-size: 16px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card-foot {
    margin-inline: 8px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category=general] .pp-home .pp-home-actions .pp-home-meta > span {
    font-size: 17px;
  }
}

/* A narrow phone needs readable world descriptions more than a second column.
 * The original wide paintings remain uncropped beside the text. */
@container (max-width: 360px) {
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card {
    display: grid;
    grid-template-columns: minmax(84px, 38%) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    min-height: 112px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card .pp-category-picture {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 112px;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid var(--pp-line);
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text {
    grid-column: 2;
    padding: 10px 10px 4px;
    gap: 4px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text > strong {
    font-size: 24px;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-text > span {
    min-height: 0;
    font-size: 17px;
    line-height: 1.2;
  }
  html[data-pati-web-design=mobile] .app-viewport[data-category] .pp-category-panel .pp-category-card-foot {
    grid-column: 2;
    min-height: 38px;
    margin: 0 10px;
    padding: 4px 0 8px;
  }
}
