/* Keep the application centred; side ads require room for the full panel. */
.client-window { min-width: 0; }
/* Ad blockers may remove either rail. Never let that move the app into an ad column. */
@media (min-width: 1680px) and (min-height: 700px) {
  .ad-rail-left { grid-column: 1; grid-row: 1; }
  .client-window { grid-column: 2; grid-row: 1; }
  .ad-rail-right { grid-column: 3; grid-row: 1; }
  .site-info { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 801px) {
  .crafting-stage {
    display: grid;
    grid-template-rows: 46px minmax(180px, 1fr) auto 66px 20px;
  }
  .stage-toolbar { position: static; grid-row: 1; margin: 16px 25px 0 30px; }
  .scene, .revealed .scene {
    position: relative; grid-row: 2; inset: auto; min-height: 0;
    width: 100%; height: 100%; overflow: hidden;
  }
  .orb-video, .orb-poster {
    width: 100%; height: 200%; max-width: 650px; max-height: none;
    object-fit: contain;
  }
  .stage-actions, .revealed .stage-actions {
    position: static; grid-row: 3; margin: 10px 20px 0; min-width: 0;
  }
  .recent { position: static; grid-row: 4; margin: 12px 25px 0 30px; min-width: 0; }
  .stage-footer { position: static; grid-row: 5; margin: 0 25px 0 30px; align-items: center; }
  .reward { height: 100%; max-height: 360px; display: flex; flex-direction: column; align-items: center; padding: 6px 0; }
  .shard-frame { height: auto; flex: 1; min-height: 50px; max-height: 245px; width: min(170px, 80%); margin-bottom: 12px; }
  .reward-type, .reward h2, .reward p, .reward > span { flex-shrink: 0; }
}

/* Compact, crawlable language links without adding another header navigation row. */
.language-switch{display:flex;gap:5px;align-items:center;flex-shrink:0}.language-switch a{display:inline-block;padding:5px;color:#a2aaa0;font:11px Spiegel,Arial,sans-serif;text-decoration:none;line-height:1.2}.language-switch a[aria-current=page]{color:#f0e6d2;border-bottom:1px solid #c8aa6e}.language-switch a:hover{color:#e8c985}.picker-guide{margin:25px 0}.picker-guide p{max-width:1000px}.site-info p{overflow-wrap:anywhere}@media(max-width:580px){.header-right{gap:8px}.language-switch{gap:2px}.language-switch a{padding:4px;font-size:10px}}
