/* YourPlayground.games — Full-Bleed Cosmic Hero, 5-Pillar Bar, How It Works, Studio Deck & Playable Stage */

/* Full-Bleed Seamless Atmospheric Hero (Design 1 & Design 2 — Zero Boxed Frame) */
.ypg-cosmic-hero {
  position: relative;
  min-height: 548px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 44px 48px;
  background:
    radial-gradient(circle at 74% 34%, rgba(99, 132, 255, 0.28), transparent 44%),
    radial-gradient(circle at 86% 68%, rgba(217, 70, 239, 0.22), transparent 42%),
    linear-gradient(115deg, #080A1A 0%, #0E1333 52%, #191B47 100%);
}

.ypg-cosmic-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ypg-cosmic-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

/* Seamless Left-Side & Bottom Fade Into #080A1A (preserving companion robot visibility) */
.ypg-cosmic-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #080A1A 0%, rgba(8, 10, 26, 0.90) 24%, rgba(8, 10, 26, 0.28) 48%, rgba(8, 10, 26, 0.03) 76%, rgba(8, 10, 26, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 10, 26, 0.36) 0%, transparent 16%, transparent 78%, #080A1A 100%);
}

.ypg-cosmic-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 36px, 1340px);
  margin-inline: auto;
}

.ypg-cosmic-hero-copy {
  max-width: 630px;
  min-width: 0;
}

.ypg-hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #D2DCF7;
  margin-bottom: 14px;
}

.ypg-cosmic-hero-copy h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.65rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.026em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.ypg-hero-h1-line {
  display: block;
}

.ypg-text-gradient {
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ypg-studio-hero-lead {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.56;
  color: #D6DFF6;
  max-width: 54ch;
  margin-bottom: 24px;
}

.ypg-hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.ypg-btn-hero-cta {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 0.96rem;
}

.ypg-btn-hero-secondary {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 0.94rem;
}

/* Mini Feature Trio Below Hero CTAs */
.ypg-hero-mini-trio {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.ypg-mini-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ypg-mini-feature-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ypg-mini-feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.ypg-mini-feature span {
  display: block;
  font-size: 0.75rem;
  color: #A6B2D6;
}

/* Right Hero Floating Glass Action Pill (See It in Action · 30 sec) */
.ypg-hero-action-float {
  flex-shrink: 0;
  margin-bottom: 18px;
}

.ypg-action-pill-glass {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 9px;
  border-radius: var(--radius-pill);
  background: rgba(15, 19, 44, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(203, 213, 245, 0.42);
  box-shadow: 0 12px 32px rgba(3, 5, 18, 0.65);
  color: #FFFFFF;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.ypg-action-pill-glass:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  color: #FFFFFF;
  box-shadow: 0 14px 36px rgba(44, 238, 248, 0.24);
}

.ypg-action-pill-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  padding-left: 2px;
}

.ypg-action-pill-glass strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.ypg-action-pill-glass small {
  display: block;
  font-size: 0.74rem;
  color: #B4C0E4;
}

/* Section 2: 5-Column Violet-Bordered Glass Feature Bar */
.ypg-pillar-bar-wrap {
  position: relative;
  z-index: 4;
  margin-top: -12px;
  margin-bottom: 10px;
}

.ypg-pillar-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 16px 10px;
  border-radius: var(--radius-lg);
  background: rgba(15, 18, 42, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(139, 92, 246, 0.38);
  box-shadow: var(--shadow-card);
}

.ypg-pillar-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 16px;
  border-right: 1px solid rgba(139, 92, 246, 0.24);
  min-width: 0;
  color: inherit;
}

.ypg-pillar-cell:last-child {
  border-right: 0;
}

a.ypg-pillar-cell:hover {
  color: inherit;
}

a.ypg-pillar-cell:hover strong {
  color: var(--accent-cyan);
}

.ypg-pillar-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ypg-pillar-copy {
  min-width: 0;
}

.ypg-pillar-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  color: #FFFFFF;
  transition: color 0.15s ease;
}

.ypg-pillar-copy span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.32;
}

/* Section 3: How It Works (4 Connected Glass Cards with » Chevrons) */
.ypg-workflow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-block: 14px 8px;
}

.ypg-workflow-steps.is-three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ypg-workflow-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(17, 20, 46, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.34);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-width: 0;
}

/* Double Chevron » Connector Between Steps */
.ypg-workflow-step:not(:last-child)::after {
  content: '\00BB';
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  pointer-events: none;
}

.ypg-workflow-step[data-step='3']::after {
  color: var(--accent-amber);
}

.ypg-step-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.36);
  flex-shrink: 0;
}

.ypg-step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: #A78BFA;
  margin-right: 5px;
}

.ypg-step-body {
  min-width: 0;
}

.ypg-step-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 3px;
}

.ypg-step-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.38;
}

.ypg-workflow-steps[data-active-step='1'] .ypg-workflow-step[data-step='1'],
.ypg-workflow-steps[data-active-step='2'] .ypg-workflow-step[data-step='2'],
.ypg-workflow-steps[data-active-step='3'] .ypg-workflow-step[data-step='3'],
.ypg-workflow-steps[data-active-step='4'] .ypg-workflow-step[data-step='4'] {
  border-color: rgba(44, 238, 248, 0.58);
  box-shadow: var(--shadow-glow);
}

.ypg-workflow-steps[data-active-step='1'] .ypg-workflow-step[data-step='1'] .ypg-step-num,
.ypg-workflow-steps[data-active-step='2'] .ypg-workflow-step[data-step='2'] .ypg-step-num,
.ypg-workflow-steps[data-active-step='3'] .ypg-workflow-step[data-step='3'] .ypg-step-num {
  color: var(--accent-cyan);
}

/* 2-Column AI Game Studio Creation Deck + Playable Stage */
.ypg-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.1fr) minmax(0, 6.9fr);
  gap: 24px;
  align-items: start;
}

.ypg-studio-deck,
.ypg-game-stage {
  min-width: 0;
  background: var(--bg-glass-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.ypg-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ypg-deck-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ypg-deck-title-group img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.ypg-deck-title-group h2 {
  font-size: 1.16rem;
}

.ypg-remix-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-violet-dim);
  border: 1px solid var(--accent-violet-border);
  font-size: 0.85rem;
  color: var(--text-strong);
}

.ypg-preset-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.ypg-preset-chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.34);
  background: rgba(22, 26, 59, 0.82);
  color: var(--text-body);
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.ypg-preset-chip:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}

/* Studio Form Controls */
.ypg-form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ypg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ypg-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.ypg-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-strong);
}

.ypg-field-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ypg-textarea,
.ypg-select,
.ypg-input {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.36);
  background: rgba(14, 17, 40, 0.9);
  color: var(--text-strong);
  padding: 10px 12px;
  font-size: 0.91rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ypg-textarea {
  min-height: 102px;
  resize: vertical;
  line-height: 1.5;
}

.ypg-select {
  min-height: 44px;
  cursor: pointer;
}

.ypg-input {
  min-height: 44px;
}

.ypg-textarea:focus,
.ypg-select:focus,
.ypg-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(44, 238, 248, 0.16);
}

.ypg-control-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ypg-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ypg-toggle-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.28);
  background: rgba(20, 24, 54, 0.8);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  min-width: 0;
}

.ypg-toggle-card input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cyan);
  flex-shrink: 0;
  cursor: pointer;
}

.ypg-submit-note {
  font-size: 0.77rem;
  color: var(--text-muted);
  text-align: center;
}

/* Playable Stage & Non-Overlapping Touch Controls */
.ypg-stage-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.ypg-stage-title-wrap {
  min-width: 0;
}

.ypg-stage-title {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.ypg-stage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ypg-stage-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.ypg-stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 210px;
  max-height: 70vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #050713;
  border: 1px solid rgba(139, 92, 246, 0.42);
}

.ypg-stage-viewport iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #050713;
}

.ypg-touch-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(20, 24, 54, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.ypg-dpad-cluster,
.ypg-action-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ypg-touch-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.42);
  background: rgba(28, 34, 74, 0.92);
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.08s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.ypg-touch-btn:hover,
.ypg-touch-btn.is-pressed {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
}

.ypg-touch-btn:active {
  transform: scale(0.95);
}

.ypg-touch-btn-action {
  padding-inline: 14px;
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan-border);
  color: var(--accent-cyan);
}

.ypg-stage-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ypg-controls-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ypg-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Game Detail 2-Column Layout */
.ypg-game-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr);
  gap: 24px;
  align-items: start;
}

.ypg-game-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Import .zip row, Chat-to-Edit Refinement bar, Auto-Fix & 30s Walkthrough Modal */
.ypg-import-zip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.ypg-import-zip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: rgba(44, 238, 248, 0.35);
}

.ypg-import-zip-btn svg {
  width: 15px;
  height: 15px;
}

.ypg-autofix-btn {
  border-color: rgba(217, 70, 239, 0.55);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(217, 70, 239, 0.22));
  color: #f5d0fe;
}

.ypg-iterate-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.ypg-iterate-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  font-size: 0.85rem;
}

.ypg-reel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 8, 20, 0.82);
  backdrop-filter: blur(14px);
}

.ypg-reel-backdrop[hidden] {
  display: none !important;
}

.ypg-reel-dialog {
  width: min(860px, 100%);
  border-radius: 22px;
  padding: 24px 26px;
  background: linear-gradient(165deg, rgba(17, 20, 43, 0.96), rgba(8, 10, 26, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.68), 0 0 42px rgba(44, 238, 248, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ypg-reel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ypg-reel-header h2 {
  margin: 6px 0 0;
  font-size: 1.32rem;
  color: #f8fafc;
}

.ypg-reel-progress-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}

.ypg-reel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2CEEF8 0%, #8B5CF6 52%, #D946EF 100%);
  transition: width 0.2s linear;
}

.ypg-reel-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ypg-reel-tab {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  background: rgba(15, 19, 38, 0.72);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ypg-reel-tab.is-active {
  border-color: rgba(44, 238, 248, 0.65);
  background: linear-gradient(135deg, rgba(44, 238, 248, 0.16), rgba(139, 92, 246, 0.24));
  color: #ffffff;
}

.ypg-reel-slide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
  padding: 12px 4px;
}

.ypg-reel-slide[hidden] {
  display: none !important;
}

.ypg-reel-copy h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: #f8fafc;
}

.ypg-reel-copy p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.ypg-reel-code {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(7, 9, 18, 0.82);
  border: 1px solid rgba(44, 238, 248, 0.22);
  color: #67e8f9;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ypg-reel-preview-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ypg-reel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
}

.ypg-reel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .ypg-pillar-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
  }

  .ypg-pillar-cell {
    border-right: 0;
  }

  .ypg-workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ypg-workflow-step::after {
    display: none;
  }

  .ypg-studio-grid,
  .ypg-game-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .ypg-cosmic-hero {
    min-height: 460px;
    padding-block: 32px 36px;
  }

  .ypg-cosmic-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ypg-cosmic-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(8, 10, 26, 0.72) 0%, rgba(8, 10, 26, 0.82) 62%, #080A1A 100%);
  }

  .ypg-pillar-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ypg-workflow-steps,
  .ypg-workflow-steps.is-three-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .ypg-pillar-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-studio-deck,
  .ypg-game-stage {
    padding: 16px;
  }

  .ypg-control-row,
  .ypg-toggle-grid,
  .ypg-reel-tabs,
  .ypg-reel-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .ypg-iterate-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .ypg-touch-btn {
    min-width: 38px;
    height: 40px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .ypg-touch-btn-action {
    padding-inline: 11px;
  }
}
