/* CLA-553: mobile-web portrait rotate-to-landscape mask.
 * Opaque over funnel chrome + Godot canvas. Not a second layout.
 * UI review 2026-09-29: branded (ink room, felt oval, paper card, print
 * accents) instead of flat gray. Solid ink fallback stays opaque. */

.hv-portrait-rotate-mask {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px 20px;
  box-sizing: border-box;
  background-color: #12081f;
  background-image:
    radial-gradient(ellipse 70% 42% at 50% 50%, #0e5e4a 0 60%, #0a3f33 61% 64%, transparent 65%),
    radial-gradient(circle at 1px 1px, rgba(244, 236, 216, 0.08) 1px, transparent 1.5px);
  background-size: 100% 100%, 9px 9px;
  color: #f4ecd8;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.hv-portrait-rotate-mask[hidden] {
  display: none !important;
}

.hv-portrait-rotate-card {
  text-align: center;
  max-width: 22rem;
  pointer-events: auto;
  background: #f4ecd8;
  color: #12081f;
  border: 4px solid #12081f;
  border-radius: 10px;
  padding: 22px 20px 18px;
  box-shadow: 5px 5px 0 #ff2d95, -3px -3px 0 #00e5ff;
}

.hv-portrait-rotate-card::before {
  content: "HOLDEM \00B7 VERSE";
  display: block;
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #12081f;
  text-shadow: 2px 0 0 #ff2d95, -2px 0 0 #00e5ff;
}

.hv-portrait-rotate-icon {
  display: block;
  font-size: 52px;
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 400;
  color: #ff2d95;
}

.hv-portrait-rotate-mask p {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.hv-portrait-rotate-zh {
  letter-spacing: 0.04em;
}

.hv-portrait-rotate-en {
  font-weight: 500;
  opacity: 0.95;
}
