:root {
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: radial-gradient(circle at 50% 25%, #1e3348 0%, #0d1824 70%, #081018 100%);
  font-family: 'Fredoka', 'Arial Rounded MT Bold', 'Segoe UI', system-ui, sans-serif;
  color: #16293a;
  touch-action: none;
}

.app-shell {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: var(--sat) var(--sar) var(--sab) var(--sal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rink-stage {
  --su: 4.61px;
  --shu: 8.19px;
  --msu: min(var(--su), 5.5px);
  position: relative;
  container-type: size;
  container-name: stage;
  aspect-ratio: 461 / 819;
  height: min(calc(100dvh - var(--sat) - var(--sab) - 8px), calc((100dvw - var(--sal) - var(--sar) - 8px) * (819 / 461)));
  max-height: 100%;
  max-width: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 18px rgba(255, 255, 255, 0.25);
  background: #bfcad6;
  touch-action: none;
}

@supports (width: 1cqw) {
  .rink-stage {
    --su: 1cqw;
    --shu: 1cqh;
    --msu: min(1cqw, 5.5px);
  }
}

/* Portrait smartphones: fill safe screen while clamping aspect ratio within ~9% of 461:819 so shapes never distort */
@media (max-width: 600px) and (orientation: portrait) {
  .rink-stage {
    width: 100%;
    height: calc(100dvh - var(--sat) - var(--sab));
    max-height: calc((100dvw - var(--sal) - var(--sar)) * 1.98);
    max-width: calc((100dvh - var(--sat) - var(--sab)) * 0.615);
    aspect-ratio: auto;
    border-radius: 0;
  }
}

#gameCanvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#gameCanvas:active {
  cursor: grabbing;
}

#topCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

/* Top HUD: Scales proportionally with .rink-stage (--su = 1% stage width) — zero overlap on any screen! */
.hud-bar {
  position: absolute;
  top: 3.1%;
  left: 5.7%;
  right: 5.7%;
  height: calc(9.5 * var(--su));
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: calc(1.0 * var(--su));
}

.brand-logo-svg {
  height: calc(7.4 * var(--su));
  width: auto;
  overflow: visible;
  display: block;
}

.logo-layer {
  font-family: 'Baloo 2', 'Fredoka', 'Arial Rounded MT Bold', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.logo-curzzle-size {
  font-size: 38px;
  letter-spacing: -0.015em;
}

.logo-sub-size {
  font-size: 35px;
}

.logo-seq-curzzle {
  opacity: 1;
  transition: opacity 0.55s ease;
}

.logo-seq-ph {
  opacity: 0;
  transition: opacity 0.55s ease;
}

#brandBadge.show-ph .logo-seq-curzzle {
  opacity: 0;
}

#brandBadge.show-ph .logo-seq-ph {
  opacity: 1;
}

.logo-carved {
  fill: url(#slotGreyGrad);
  stroke: url(#slotGreyGrad);
  stroke-width: 2.5px;
  paint-order: stroke fill;
}

.hud-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(0.65 * var(--su));
}

.hud-right {
  display: flex;
  align-items: center;
  gap: calc(1.1 * var(--su));
}

.hud-pill {
  background: linear-gradient(180deg, rgba(136, 144, 152, 0.88) 0%, rgba(162, 168, 175, 0.82) 100%);
  border: none;
  border-radius: 999px;
  padding: calc(1.25 * var(--su)) calc(2.1 * var(--su));
  display: flex;
  align-items: center;
  gap: calc(0.95 * var(--su));
  min-width: calc(10.8 * var(--su));
  box-shadow:
    inset 2px 2.5px 4px rgba(42, 54, 68, 0.44),
    1px 1.5px 0 rgba(255, 255, 255, 0.65);
}

.hud-icon {
  width: calc(3.15 * var(--su));
  height: calc(3.15 * var(--su));
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(28, 40, 54, 0.35));
}

.hud-pill .accent-gold {
  color: #ffe078;
}

.hud-pill .accent-blue {
  color: #7ee2ff;
}

.accent-blue {
  color: #0b84b5;
}

.accent-gold {
  color: #d99116;
}

.accent-teal {
  color: #0e9f88;
}

.accent-coral {
  color: #d63855;
}

.hud-value {
  font-size: calc(3.15 * var(--su));
  font-weight: 900;
  color: #f4f9fd;
  text-shadow: 0 1px 2px rgba(32, 46, 62, 0.50);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.combo-badge {
  background: linear-gradient(180deg, rgba(136, 144, 152, 0.88) 0%, rgba(162, 168, 175, 0.82) 100%);
  color: #f4f9fd;
  text-shadow: 0 1px 2px rgba(32, 46, 62, 0.50);
  font-size: calc(2.5 * var(--su));
  font-weight: 900;
  padding: calc(0.45 * var(--su)) calc(1.95 * var(--su)) calc(0.45 * var(--su)) calc(1.5 * var(--su));
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: calc(0.45 * var(--su));
  box-shadow:
    inset 2px 2.5px 4px rgba(42, 54, 68, 0.44),
    1px 1.5px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-variant-numeric: tabular-nums;
}

.combo-icon {
  width: calc(2.6 * var(--su));
  height: calc(2.6 * var(--su));
  color: #7ee2ff;
  filter: drop-shadow(0 1px 1px rgba(28, 40, 54, 0.38));
}

.combo-badge.hot .combo-icon {
  color: #ff758f;
}

.combo-badge.pop {
  transform: scale(1.25);
}

.lives-row {
  display: flex;
  gap: calc(0.5 * var(--su));
  align-items: center;
  justify-content: center;
}

.heart {
  width: calc(2.85 * var(--su));
  height: calc(2.85 * var(--su));
  color: rgba(115, 138, 158, 0.34);
  transition: transform 0.25s ease, color 0.25s ease;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.75));
}

.heart.active {
  color: #c93b55;
}

.heart.lost {
  transform: scale(0.75);
}

.heart.heal-pop {
  animation: heartHealPop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes heartHealPop {
  0% { transform: scale(0.75); }
  55% { transform: scale(1.42); filter: drop-shadow(0 0 6px rgba(201, 59, 85, 0.75)); }
  100% { transform: scale(1); }
}

.icon-btn {
  pointer-events: auto;
  width: calc(6.75 * var(--su));
  height: calc(6.75 * var(--su));
  border-radius: 50%;
  border: none;
  background: linear-gradient(180deg, rgba(136, 144, 152, 0.88) 0%, rgba(162, 168, 175, 0.82) 100%);
  box-shadow:
    inset 2px 2.5px 4px rgba(42, 54, 68, 0.44),
    1px 1.5px 0 rgba(255, 255, 255, 0.65);
  color: #f4f9fd;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.icon-btn.active-practice {
  background: linear-gradient(135deg, #1094cc 0%, #06b0e2 100%);
  box-shadow:
    0 3px 10px rgba(8, 148, 208, 0.42),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.icon-btn svg {
  filter: drop-shadow(0 1px 2px rgba(32, 46, 62, 0.48));
}

.icon-btn:hover {
  filter: brightness(1.06);
}

.icon-btn:active {
  transform: scale(0.92);
}

.btn-svg {
  width: calc(3.6 * var(--su));
  height: calc(3.6 * var(--su));
}

/* Practice Mode Top HUD Elements */
.lives-row.hidden,
.combo-badge.hidden,
.hud-pill.hidden,
.practice-inf-badge.hidden,
.exit-practice-btn.hidden,
.practice-normal-btn.hidden {
  display: none !important;
}

.practice-inf-badge {
  background: linear-gradient(180deg, rgba(136, 144, 152, 0.88) 0%, rgba(162, 168, 175, 0.82) 100%);
  border-radius: 999px;
  padding: calc(1.05 * var(--su)) calc(2.5 * var(--su));
  display: inline-flex;
  align-items: center;
  gap: calc(1.25 * var(--su));
  box-shadow:
    inset 2px 2.5px 4px rgba(42, 54, 68, 0.44),
    1px 1.5px 0 rgba(255, 255, 255, 0.65);
}

.prac-heart-svg {
  width: calc(3.2 * var(--su));
  height: calc(3.2 * var(--su));
  color: #e6425e;
  filter: drop-shadow(0 1px 1px rgba(28, 40, 54, 0.35));
}

.prac-inf-svg {
  width: calc(4.0 * var(--su));
  height: calc(4.0 * var(--su));
  color: #f4f9fd;
  filter: drop-shadow(0 1px 2px rgba(28, 40, 54, 0.45));
}

.exit-practice-btn {
  pointer-events: auto;
  height: calc(7.0 * var(--su));
  padding: 0 calc(2.5 * var(--su));
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #1094cc 0%, #06b0e2 100%);
  box-shadow:
    0 4px 12px rgba(8, 140, 196, 0.36),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.65);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: calc(1.05 * var(--su));
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease;
}

.exit-practice-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(8, 150, 212, 0.48);
}

.exit-practice-btn:active {
  transform: scale(0.93);
}

.exit-crown-svg {
  width: calc(3.4 * var(--su));
  height: calc(3.4 * var(--su));
  color: #ffe078;
  filter: drop-shadow(0 1px 1px rgba(16, 40, 62, 0.4));
}

.exit-play-svg {
  width: calc(3.2 * var(--su));
  height: calc(3.2 * var(--su));
  color: #ffffff;
  filter: drop-shadow(0 1px 1px rgba(16, 40, 62, 0.4));
}

.hidden-icon {
  display: none;
}

/* Wordless Reset-to-Tee Circular Symbol Button (Recessed Ice Slot Style) */
.tee-btn {
  position: absolute;
  bottom: 3.3%;
  left: 5.9%;
  z-index: 5;
  width: calc(9.0 * var(--su));
  height: calc(9.0 * var(--su));
  border-radius: 50%;
  border: none;
  background: linear-gradient(180deg, rgba(136, 144, 152, 0.88) 0%, rgba(162, 168, 175, 0.82) 100%);
  color: #f4f9fd;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    inset 2px 2.5px 4px rgba(42, 54, 68, 0.44),
    1px 1.5px 0 rgba(255, 255, 255, 0.65);
  transition: opacity 0.2s ease, transform 0.12s ease;
}

.tee-btn svg {
  width: 52%;
  height: 52%;
}

.tee-btn:active {
  transform: scale(0.92);
}

.tee-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Wordless Pure-Symbol Game Over Modal (Frosted Ice / Glassmorphism — stage-responsive!) */
.modal-backdrop {
  position: absolute;
  inset: 0;
  visibility: visible;
  background: rgba(168, 194, 216, 0.26);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(4.2 * var(--su));
  z-index: 30;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}

.modal-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.modal-card {
  width: 100%;
  max-width: calc(66 * var(--msu));
  max-height: calc(92 * var(--shu));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  background: linear-gradient(155deg, rgba(238, 248, 255, 0.48) 0%, rgba(196, 220, 240, 0.34) 100%);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: calc(6.0 * var(--msu));
  padding: calc(4.8 * var(--msu)) calc(4.2 * var(--msu)) calc(4.0 * var(--msu));
  text-align: center;
  box-shadow:
    0 20px 46px rgba(12, 34, 56, 0.24),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.80),
    inset 0 -1.5px 3px rgba(120, 165, 202, 0.24);
  transform: translateY(0) scale(1);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.hidden .modal-card {
  transform: translateY(16px) scale(0.94);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.modal-header-symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: calc(3.2 * var(--msu));
}

.finish-hero-logo {
  width: min(88%, calc(54 * var(--msu)));
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 5px 14px rgba(14, 36, 58, 0.20));
  user-select: none;
  -webkit-user-drag: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(2.1 * var(--msu));
  margin-bottom: calc(3.6 * var(--msu));
}

.stat-box {
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65);
  border-radius: calc(3.4 * var(--msu));
  padding: calc(2.4 * var(--msu)) calc(2.0 * var(--msu));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(1.6 * var(--msu));
}

.stat-icon {
  width: calc(4.2 * var(--msu));
  height: calc(4.2 * var(--msu));
  flex-shrink: 0;
}

.stat-num {
  font-size: calc(4.4 * var(--msu));
  font-weight: 900;
  color: #102a42;
  font-variant-numeric: tabular-nums;
}

.stat-num.highlight {
  color: #097aa8;
}

/* =========================================================
   OSAKKI-STYLE 4 CIRCULAR FINISH ACTION BUTTONS
   ========================================================= */
.finish-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(2.5 * var(--msu));
  width: 100%;
  margin: 4px 0 2px;
}

.finish-circle-btn {
  width: calc(11.2 * var(--msu));
  height: calc(11.2 * var(--msu));
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.finish-circle-btn:active {
  transform: scale(0.91) !important;
}

.finish-svg {
  width: calc(5.1 * var(--msu));
  height: calc(5.1 * var(--msu));
  display: block;
  transition: transform 0.32s ease;
}

/* 1. Profile / Settings (Cyan) */
.finish-btn-profile {
  background: radial-gradient(circle, rgba(12, 168, 224, 0.28) 0%, rgba(12, 168, 224, 0.10) 72%, rgba(255, 255, 255, 0.25) 100%);
  border: 2px solid rgba(14, 152, 212, 0.72);
  box-shadow: 0 6px 16px rgba(10, 138, 196, 0.26), inset 0 1px 2px rgba(255, 255, 255, 0.75);
  color: #0872a6;
}

.finish-btn-profile:hover {
  transform: scale(1.12) rotate(45deg);
  border-color: #0a8fd0;
  box-shadow: 0 8px 22px rgba(10, 150, 214, 0.48), inset 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 2. Share (Emerald) */
.finish-btn-share {
  background: radial-gradient(circle, rgba(16, 204, 136, 0.28) 0%, rgba(16, 204, 136, 0.10) 72%, rgba(255, 255, 255, 0.25) 100%);
  border: 2px solid rgba(14, 178, 118, 0.72);
  box-shadow: 0 6px 16px rgba(14, 168, 112, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.75);
  color: #097c54;
}

.finish-btn-share:hover {
  transform: scale(1.12);
  border-color: #0db87a;
  box-shadow: 0 8px 22px rgba(14, 184, 122, 0.48), inset 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 3. Leaderboard (Gold) */
.finish-btn-leaderboard {
  background: radial-gradient(circle, rgba(245, 182, 24, 0.32) 0%, rgba(245, 182, 24, 0.10) 72%, rgba(255, 255, 255, 0.25) 100%);
  border: 2px solid rgba(218, 150, 12, 0.76);
  box-shadow: 0 6px 16px rgba(212, 146, 12, 0.26), inset 0 1px 2px rgba(255, 255, 255, 0.75);
  color: #966004;
}

.finish-btn-leaderboard:hover {
  transform: scale(1.12) translateY(-2px);
  border-color: #e09b0c;
  box-shadow: 0 8px 22px rgba(226, 158, 14, 0.50), inset 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 4. Restart / Play (Vibrant Ice Blue) */
.finish-btn-restart {
  background: linear-gradient(135deg, #1094cc 0%, #06b0e2 100%);
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(8, 140, 196, 0.42), inset 0 1px 2px rgba(255, 255, 255, 0.65);
  color: #ffffff;
}

.finish-btn-restart:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 26px rgba(8, 150, 212, 0.58);
}

.finish-btn-restart:hover .restart-spin-svg {
  transform: rotate(180deg);
}

.finish-btn-restart .restart-spin-svg {
  width: calc(5.7 * var(--msu));
  height: calc(5.7 * var(--msu));
}

.ph-mini-circle {
  width: calc(8.8 * var(--msu));
  height: calc(8.8 * var(--msu));
}

.ph-mini-circle .finish-svg {
  width: calc(4.2 * var(--msu));
  height: calc(4.2 * var(--msu));
}

/* =========================================================
   PROFILE, LEADERBOARD & SHARE SUB-MODALS
   (Unified Frosted-Ice Glassmorphism matching Finish Menu)
   ========================================================= */

/* Smoothly fade Finish menu behind active sub-menu so both share identical single-layer frosted ice over the rink */
.rink-stage.submodal-active .modal-backdrop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.rink-stage.submodal-active .modal-card {
  transform: translateY(10px) scale(0.95);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.submodal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 50;
  visibility: visible;
  background: rgba(168, 194, 216, 0.26);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(3.8 * var(--su));
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}

.submodal-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.submodal-card {
  width: 100%;
  max-width: calc(70 * var(--msu));
  max-height: calc(92 * var(--shu));
  background: linear-gradient(155deg, rgba(238, 248, 255, 0.56) 0%, rgba(196, 220, 240, 0.42) 100%);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 1.5px solid rgba(255, 255, 255, 0.70);
  border-radius: calc(6.0 * var(--msu));
  box-shadow:
    0 20px 46px rgba(12, 34, 56, 0.24),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.82),
    inset 0 -1.5px 3px rgba(120, 165, 202, 0.24);
  color: #102a42;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.submodal-card.ph-lb-card {
  max-width: calc(72 * var(--msu));
}

.submodal-backdrop.hidden .submodal-card {
  transform: translateY(16px) scale(0.94);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.submodal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(2.8 * var(--msu)) calc(3.8 * var(--msu)) calc(2.2 * var(--msu));
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  flex-shrink: 0;
}

.submodal-badge {
  width: calc(7.8 * var(--msu));
  height: calc(7.8 * var(--msu));
  border-radius: calc(2.6 * var(--msu));
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submodal-close-btn {
  width: calc(7.4 * var(--msu));
  height: calc(7.4 * var(--msu));
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.78);
  color: #264866;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.submodal-close-btn:hover {
  background: rgba(201, 59, 85, 0.16);
  border-color: rgba(201, 59, 85, 0.52);
  color: #c93b55;
  transform: rotate(90deg);
}

.submodal-close-btn:active {
  transform: scale(0.91);
}

.submodal-body {
  padding: calc(2.8 * var(--msu)) calc(3.4 * var(--msu)) calc(3.6 * var(--msu));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 132, 168, 0.45) transparent;
  display: flex;
  flex-direction: column;
  gap: calc(2.0 * var(--msu));
}

/* Profile Country Flag Avatar (Frosted Crystal Ring) */
.ph-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2px;
}

.ph-avatar-frame {
  width: calc(17.2 * var(--msu));
  height: calc(17.2 * var(--msu));
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.88);
  background: rgba(226, 241, 252, 0.65);
  box-shadow:
    0 8px 20px rgba(12, 34, 56, 0.18),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.90);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-avatar-flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.flag-tr,
img[src*="/tr.png"] {
  object-position: 28% center !important;
}

/* Frosted Ice Rows (Exact Material Match to Finish Menu .stat-box) */
.ph-stat-row,
.ph-split-row,
.ph-audio-row {
  width: 100%;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72);
  border-radius: calc(3.4 * var(--msu));
  padding: calc(2.1 * var(--msu)) calc(2.8 * var(--msu));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(1.7 * var(--msu));
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ph-name-box input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #102a42;
  font-family: inherit;
  font-size: max(16px, calc(3.4 * var(--msu)));
  font-weight: 800;
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
}

.ph-name-box input::placeholder {
  color: rgba(16, 42, 66, 0.38);
}

.ph-name-box.is-valid {
  border-color: rgba(14, 168, 112, 0.72);
  background: rgba(226, 252, 240, 0.56);
  box-shadow: 0 4px 12px rgba(14, 168, 112, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.82);
}

.ph-name-box.is-valid input {
  color: #087a52;
}

.ph-name-box.is-invalid {
  border-color: rgba(201, 59, 85, 0.74);
  background: rgba(255, 230, 236, 0.58);
  box-shadow: 0 4px 12px rgba(201, 59, 85, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.82);
}

.ph-name-box.is-invalid input {
  color: #b82540;
}

.ph-name-box.is-scanning {
  border-color: rgba(11, 132, 181, 0.68);
  background: rgba(232, 246, 255, 0.56);
}

.ph-spin-icon {
  width: 16px;
  height: 16px;
  color: #0b84b5;
  animation: phSpin 0.75s linear infinite;
}

@keyframes phSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ph-status-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #486b88;
}

.ph-ok-svg {
  color: #0b9b68;
}

.ph-err-svg {
  color: #c93b55;
}

.ph-row-action {
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3f6280;
}

.ph-copy-slot {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #2f5473;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-id-row {
  cursor: pointer;
}

.ph-id-row:hover {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(255, 255, 255, 0.82);
}

.ph-id-text {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #097aa8;
}

.ph-split-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.ph-split-divider {
  width: 1px;
  height: 22px;
  background: rgba(128, 162, 192, 0.38);
}

.ph-score-txt {
  font-size: 18px;
  font-weight: 900;
  color: #102a42;
  font-variant-numeric: tabular-nums;
}

.ph-date-txt {
  font-size: 13px;
  font-weight: 800;
  color: #2b4c68;
  font-variant-numeric: tabular-nums;
}

.ph-audio-row {
  justify-content: center;
  gap: 16px;
}

.ph-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.ph-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ph-slider {
  position: absolute;
  inset: 0;
  background: rgba(142, 166, 188, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1.5px 3px rgba(24, 48, 72, 0.18);
  border-radius: 999px;
  transition: 0.22s ease;
}

.ph-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  bottom: 2px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(16, 42, 66, 0.25);
  transition: 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ph-switch input:checked + .ph-slider {
  background: linear-gradient(135deg, #1094cc 0%, #06b0e2 100%);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(8, 148, 208, 0.30);
}

.ph-switch input:checked + .ph-slider::before {
  transform: translateX(22px);
  background: #ffffff;
}

.ph-prof-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(155, 184, 208, 0.38);
}

.ph-prof-studio {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.78);
  border-radius: 13px;
  padding: 6px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.ph-prof-studio:hover {
  background: rgba(255, 255, 255, 0.65);
  transform: scale(1.08);
}

.ph-prof-studio img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
}

.ph-ver-pill {
  flex: 1;
  min-width: 0;
  height: 39px;
  padding: 0 6px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #244562;
  white-space: nowrap;
}

/* =========================================================
   FROSTED ICE TOP-3 PODIUM & TOP-12 LEADERBOARD
   ========================================================= */
.ph-lb-scroll {
  max-height: calc(74 * var(--shu));
}

.ph-podium-arena {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: calc(1.7 * var(--msu));
  width: 100%;
  margin: calc(5.0 * var(--msu)) auto calc(1.6 * var(--msu));
}

.ph-podium {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 104px;
  min-width: 0;
}

.ph-crown {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 6px rgba(217, 145, 22, 0.38));
  animation: phCrownFloat 2.4s ease-in-out infinite;
  z-index: 20;
}

@keyframes phCrownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.ph-podium-avatar-wrap {
  position: relative;
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}

.ph-podium-avatar {
  border-radius: 50%;
  background: rgba(230, 243, 252, 0.8);
  border: 2.5px solid var(--podium-color);
  box-shadow: 0 5px 14px var(--podium-glow), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.ph-podium-avatar img,
.ph-lb-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.ph-podium-rank-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--podium-color);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(12, 34, 56, 0.25);
}

.ph-podium-base {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 4px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(214, 234, 250, 0.42) 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-top: 3.5px solid var(--podium-color);
  border-radius: 15px 15px 10px 10px;
  box-shadow:
    0 8px 18px rgba(12, 34, 56, 0.10),
    inset 0 8px 16px -6px var(--podium-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.ph-podium-name {
  font-size: 11.5px;
  font-weight: 800;
  color: #102a42;
  max-width: 96%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.ph-podium-score {
  font-size: 10.5px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--podium-color);
  color: var(--podium-text);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

.ph-rank-1 {
  --podium-color: #e09b0c;
  --podium-glow: rgba(245, 182, 24, 0.34);
  --podium-text: #8c5800;
  order: 2;
}
.ph-rank-1 .ph-podium-avatar { width: calc(12.4 * var(--msu)); height: calc(12.4 * var(--msu)); }
.ph-rank-1 .ph-podium-base { height: calc(17.4 * var(--msu)); }

.ph-rank-2 {
  --podium-color: #0b95cc;
  --podium-glow: rgba(14, 168, 224, 0.30);
  --podium-text: #07658f;
  order: 1;
}
.ph-rank-2 .ph-podium-avatar { width: calc(10.2 * var(--msu)); height: calc(10.2 * var(--msu)); }
.ph-rank-2 .ph-podium-base { height: calc(14.0 * var(--msu)); }

.ph-rank-3 {
  --podium-color: #cf3653;
  --podium-glow: rgba(214, 56, 85, 0.28);
  --podium-text: #9c1f38;
  order: 3;
}
.ph-rank-3 .ph-podium-avatar { width: calc(10.2 * var(--msu)); height: calc(10.2 * var(--msu)); }
.ph-rank-3 .ph-podium-base { height: calc(11.6 * var(--msu)); }

.ph-lb-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ph-lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72);
}

.ph-lb-my-row {
  background: linear-gradient(90deg, rgba(16, 168, 228, 0.24) 0%, rgba(255, 255, 255, 0.56) 100%);
  border-color: rgba(12, 148, 208, 0.72);
  box-shadow: 0 4px 14px rgba(12, 148, 208, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.82);
}

.ph-lb-player-banner {
  background: linear-gradient(90deg, rgba(245, 182, 24, 0.24) 0%, rgba(255, 255, 255, 0.58) 100%);
  border-color: rgba(218, 150, 12, 0.72);
}

.ph-lb-divider {
  text-align: center;
  color: rgba(44, 82, 114, 0.55);
  font-size: 12px;
  letter-spacing: 4px;
}

.ph-lb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.ph-lb-rank {
  width: 22px;
  font-size: 12.5px;
  font-weight: 900;
  color: #466885;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ph-lb-my-row .ph-lb-rank {
  color: #0872a6;
}

.ph-lb-avatar-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(12, 34, 56, 0.14);
  overflow: hidden;
  flex-shrink: 0;
}

.ph-lb-name {
  font-size: 13px;
  font-weight: 800;
  color: #102a42;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-lb-score-pill {
  font-size: 11.5px;
  font-weight: 900;
  color: #8c5800;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(217, 145, 22, 0.48);
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   FROSTED ICE SHARE MODAL
   ========================================================= */
.ph-share-banner-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(12, 34, 56, 0.12);
}

#shareBannerImg {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.ph-share-score-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #102a42;
  font-variant-numeric: tabular-nums;
}

.ph-share-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 8px 10px 8px 12px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.ph-share-link-box:hover {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(255, 255, 255, 0.85);
}

.ph-share-url {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  color: #1c4464;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-share-copy {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.ph-share-btns {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.ph-share-native {
  flex: 1;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background: linear-gradient(135deg, #1094cc 0%, #06b0e2 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(8, 140, 196, 0.34), inset 0 1px 2px rgba(255, 255, 255, 0.55);
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease;
}

.ph-share-native:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 22px rgba(8, 150, 212, 0.46);
}

.ph-share-wa {
  flex: 1;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.80);
  border-radius: 16px;
  background: linear-gradient(135deg, #22c35e 0%, #109868 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 168, 108, 0.30), inset 0 1px 2px rgba(255, 255, 255, 0.50);
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease;
}

.ph-share-wa:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 22px rgba(18, 178, 114, 0.42);
}

.ph-share-native:active,
.ph-share-wa:active {
  transform: scale(0.95);
}

/* =========================================================
   FROSTED ICE TRAINING / PRACTICE MODAL
   ========================================================= */
.prac-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.practice-shapes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(1.7 * var(--msu));
}

.practice-shape-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: calc(3.4 * var(--msu));
  background: rgba(255, 255, 255, 0.38);
  border: 1.5px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    0 6px 14px rgba(12, 34, 56, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(1.1 * var(--msu));
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.practice-shape-card:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(14, 152, 212, 0.68);
}

.practice-shape-card:active {
  transform: scale(0.95);
}

.practice-shape-card.selected {
  background: linear-gradient(155deg, rgba(224, 246, 255, 0.72) 0%, rgba(255, 255, 255, 0.58) 100%);
  border: 2px solid #0b95cc;
  box-shadow:
    0 8px 20px rgba(11, 149, 204, 0.24),
    inset 0 1px 2px rgba(255, 255, 255, 0.90);
}

.practice-shape-card canvas {
  width: 88%;
  height: 88%;
  display: block;
  pointer-events: none;
}

.practice-motion-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.practice-motion-btn {
  height: calc(9.0 * var(--msu));
  border-radius: calc(3.0 * var(--msu));
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.75);
  color: #2b4e6c;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.practice-motion-btn:hover {
  background: rgba(255, 255, 255, 0.55);
}

.practice-motion-btn.active {
  background: linear-gradient(135deg, rgba(16, 148, 204, 0.22) 0%, rgba(255, 255, 255, 0.62) 100%);
  border: 1.5px solid #0b95cc;
  color: #076b99;
  box-shadow: 0 4px 12px rgba(11, 149, 204, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.practice-normal-btn {
  width: 100%;
  height: calc(10.2 * var(--msu));
  margin-top: 2px;
  border-radius: calc(3.4 * var(--msu));
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #1094cc 0%, #06b0e2 100%);
  box-shadow:
    0 8px 20px rgba(8, 140, 196, 0.36),
    inset 0 1px 2px rgba(255, 255, 255, 0.62);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease;
}

.practice-normal-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 24px rgba(8, 150, 212, 0.48);
}

.practice-normal-btn:active {
  transform: scale(0.96);
}

.prac-norm-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.prac-norm-heart {
  color: #ff8fa3;
}

.prac-norm-num {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.prac-norm-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.prac-norm-crown {
  color: #ffe078;
}

.modal-brand-footer {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(155, 184, 208, 0.38);
  display: flex;
  justify-content: center;
}

.studio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 12px;
  opacity: 0.78;
  transition: opacity 0.18s ease, transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.studio-link:hover {
  opacity: 1;
  transform: scale(1.08);
}

.studio-link:active {
  transform: scale(0.95);
}

.studio-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
}
