*, *::before, *::after { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--iv-bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 91% -13%, rgba(144, 106, 230, .21), transparent 43rem),
    radial-gradient(ellipse at -15% 43%, rgba(229, 92, 160, .11), transparent 34rem),
    var(--iv-bg);
  color: var(--iv-text);
  font-family: var(--iv-font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

button { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid var(--iv-gold); outline-offset: 3px; }
::selection { color: #fff; background: rgba(255, 118, 184, .38); }

#iv-app { position: fixed; inset: 0; min-height: 100vh; min-height: 100dvh; }
.iv-app-frame {
  display: flex;
  width: min(100%, var(--iv-content-max));
  height: 100%;
  min-height: 0;
  flex-direction: column;
  margin-inline: auto;
  padding: var(--iv-safe-t) max(var(--iv-gutter), var(--iv-safe-r)) 0 max(var(--iv-gutter), var(--iv-safe-l));
}

.iv-topbar {
  z-index: 5;
  display: flex;
  min-height: 75px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 10px;
}
.iv-brand { display: inline-flex; min-width: 0; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.iv-brand-mark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: linear-gradient(145deg,#ff90c3,#9a7bff 78%); box-shadow: 0 7px 22px rgba(202,96,198,.24); color: white; font-size: 23px; }
.iv-brand-copy { display: grid; line-height: 1.1; }
.iv-brand-copy strong { font-size: 15px; font-weight: 900; letter-spacing: -.025em; }
.iv-brand-copy small { margin-top: 4px; color: var(--iv-muted); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.iv-header-actions { display: flex; align-items: center; gap: 9px; }
.iv-free-badge { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid rgba(140,230,204,.17); border-radius: 999px; background: rgba(140,230,204,.065); color: #b0f0de; font-size: 9px; font-weight: 850; letter-spacing: .1em; white-space: nowrap; }
.iv-free-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--iv-mint); box-shadow: 0 0 11px rgba(140,230,204,.8); }
.iv-icon-button { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--iv-line); border-radius: 15px; background: rgba(255,255,255,.055); cursor: pointer; font-size: 17px; }

.iv-main { width: 100%; min-height: 0; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; padding: 10px 0 calc(var(--iv-tab-h) + var(--iv-safe-b) + 25px); overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.iv-main::-webkit-scrollbar { display: none; }
.iv-page { width: 100%; margin-inline: auto; animation: iv-enter .35s cubic-bezier(.2,.8,.2,1) both; }
.iv-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--iv-pink); font-size: 10px; font-weight: 900; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.iv-eyebrow::before { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; content: ""; }
.iv-screen-heading { max-width: 760px; margin: 16px 0 26px; }
.iv-screen-heading h1 { margin: 9px 0 9px; font-size: clamp(32px, 7vw, 55px); font-weight: 950; letter-spacing: -.065em; line-height: 1; }
.iv-screen-heading p { max-width: 50ch; margin: 0; color: var(--iv-muted); font-size: 14px; }

.iv-welcome {
  position: relative;
  display: grid;
  min-height: clamp(310px, 42vw, 455px);
  grid-template-columns: minmax(0, 1.3fr) minmax(210px, .7fr);
  overflow: hidden;
  align-items: center;
  gap: 14px;
  padding: clamp(27px, 5.5vw, 62px);
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--iv-radius-xl);
  background:
    radial-gradient(ellipse at 84% 55%, rgba(255,255,255,.21), transparent 22%),
    radial-gradient(ellipse at 91% -12%, rgba(255,215,120,.26), transparent 35%),
    linear-gradient(118deg,#543081 0%,#92478d 49%,#e77caa 100%);
  box-shadow: var(--iv-shadow);
}
.iv-welcome::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(24,11,46,.16),transparent 78%); content: ""; }
.iv-welcome-copy { z-index: 2; max-width: 610px; }
.iv-welcome-copy .iv-eyebrow { color: #ffe2f1; }
.iv-welcome-copy h1 { max-width: 12ch; margin: 14px 0 12px; font-size: clamp(38px, 6.3vw, 68px); font-weight: 950; letter-spacing: -.075em; line-height: .96; }
.iv-welcome-copy p { max-width: 45ch; margin: 0; color: rgba(255,255,255,.84); font-size: clamp(14px,1.8vw,17px); }
.iv-welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 24px; }
.iv-no-account { color: rgba(255,255,255,.77); font-size: 12px; }
.iv-welcome-art { position: relative; display: grid; min-height: 255px; place-items: center; }
.iv-welcome-ring { position: absolute; display: block; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; }
.iv-welcome-ring-a { width: min(28vw,280px); min-width: 200px; background: radial-gradient(circle at 34% 26%,rgba(255,255,255,.23),rgba(255,255,255,.025) 66%); box-shadow: inset 0 0 45px rgba(255,255,255,.08),0 18px 65px rgba(44,16,70,.2); }
.iv-welcome-ring-b { width: min(22vw,220px); min-width: 156px; border-style: dashed; opacity: .75; }
.iv-welcome-star { position: absolute; z-index: 2; color: var(--iv-gold); filter: drop-shadow(0 3px 9px rgba(255,215,120,.65)); }
.iv-welcome-star-a { top: 15%; right: 11%; font-size: 27px; }
.iv-welcome-star-b { bottom: 17%; left: 6%; font-size: 20px; }
.iv-welcome-crown { z-index: 1; font-size: clamp(78px, 10vw, 118px); filter: drop-shadow(0 14px 12px rgba(51,16,60,.3)); animation: iv-float 4.3s ease-in-out infinite; }
.iv-welcome-cape { position: absolute; right: 7%; bottom: 14%; display: grid; width: 51px; height: 51px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: linear-gradient(145deg,#a8d6ff,#737fff); box-shadow: 0 8px 24px rgba(48,38,129,.35); color: white; font-size: 25px; transform: rotate(12deg); }

.iv-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 15px; cursor: pointer; font-size: 13px; font-weight: 900; text-decoration: none; touch-action: manipulation; transition: transform .18s ease, filter .18s ease, background .18s ease; }
.iv-button:active { transform: scale(.975); }
.iv-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.iv-button-light { background: linear-gradient(135deg,#fff8e8,#ffdfad); box-shadow: 0 8px 22px rgba(54,19,66,.2); color: #2b193c; }
.iv-button-pink { background: linear-gradient(135deg,#ffabd2,#ff75b4); color: #411531; }
.iv-button-blue { background: linear-gradient(135deg,#aad2ff,#778bff); color: #171840; }
.iv-button-quiet { border-color: var(--iv-line); background: rgba(255,255,255,.07); color: var(--iv-text); }
.iv-button-arrow { margin-left: 5px; font-size: 17px; }

.iv-section { margin-top: clamp(29px,5vw,48px); }
.iv-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.iv-section-heading h2 { margin: 0; font-size: clamp(21px,3vw,29px); font-weight: 900; letter-spacing: -.05em; }
.iv-section-heading p { margin: 5px 0 0; color: var(--iv-muted); font-size: 13px; }
.iv-link-button { min-height: 44px; padding: 5px 0 5px 10px; border: 0; background: transparent; color: var(--iv-pink); cursor: pointer; font-size: 12px; font-weight: 900; white-space: nowrap; }
.iv-game-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.iv-game-card { position: relative; display: flex; min-height: 188px; overflow: hidden; align-items: center; gap: clamp(12px,2vw,22px); padding: clamp(15px,2.6vw,25px); border: 1px solid rgba(255,255,255,.105); border-radius: var(--iv-radius); box-shadow: var(--iv-shadow-card); isolation: isolate; }
.iv-game-card.princess { background: linear-gradient(135deg,rgba(234,109,174,.26),rgba(101,48,130,.31)); }
.iv-game-card.hero { background: linear-gradient(135deg,rgba(106,139,239,.25),rgba(41,54,122,.36)); }
.iv-game-card::after { position: absolute; z-index: -1; right: -40px; bottom: -115px; width: 230px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.105); border-radius: 50%; content: ""; }
.iv-game-art { position: relative; display: grid; width: clamp(88px,13vw,142px); flex: 0 0 auto; aspect-ratio: 1; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.23); border-radius: 31%; background: linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.035)); box-shadow: inset 0 0 28px rgba(255,255,255,.075),0 12px 30px rgba(0,0,0,.17); }
.iv-game-art.princess { background: radial-gradient(circle at 55% 30%,rgba(255,183,218,.38),transparent 56%),linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.035)); }
.iv-game-art.hero { background: radial-gradient(circle at 55% 32%,rgba(147,187,255,.4),transparent 56%),linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.035)); }
.iv-art-orbit { position: absolute; display: block; width: 75%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.iv-art-orbit-a { transform: rotate(27deg) scaleX(.76); }
.iv-art-orbit-b { width: 94%; border-style: dashed; opacity: .65; transform: rotate(-24deg) scaleX(.76); }
.iv-art-character { z-index: 1; color: #fff; font-size: clamp(38px,5vw,58px); font-weight: 900; filter: drop-shadow(0 7px 8px rgba(34,16,65,.35)); }
.iv-game-art.hero .iv-art-character { display: grid; width: 57%; aspect-ratio: 1; place-items: center; border: 3px solid rgba(255,255,255,.86); border-radius: 20px 20px 27px 27px; background: linear-gradient(145deg,#a5d7ff,#756ef0); font-size: clamp(25px,4vw,40px); transform: rotate(-7deg); }
.iv-game-art.hero .iv-art-character::after { position: absolute; bottom: -25%; left: -27%; width: 145%; height: 83%; border-radius: 10% 70% 16% 70%; background: linear-gradient(140deg,#ff6caa,#b34cef); content: ""; clip-path: polygon(7% 0,100% 18%,80% 100%,40% 76%,0 100%); }
.iv-art-spark { position: absolute; z-index: 2; color: var(--iv-gold); text-shadow: 0 0 12px rgba(255,215,120,.7); }
.iv-art-spark-a { top: 10%; right: 13%; font-size: 16px; }
.iv-art-spark-b { bottom: 12%; left: 14%; font-size: 12px; }
.iv-game-copy { z-index: 1; min-width: 0; flex: 1; }
.iv-game-tag { display: inline-flex; min-height: 25px; align-items: center; padding: 0 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.075); color: rgba(255,255,255,.85); font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.iv-game-copy h3 { margin: 11px 0 4px; font-size: clamp(16px,2.3vw,22px); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; }
.iv-game-copy p { max-width: 34ch; margin: 0; color: rgba(255,255,255,.72); font-size: 11px; }
.iv-game-copy .iv-button { min-height: 41px; margin-top: 14px; padding: 0 14px; border-radius: 13px; font-size: 11px; }

.iv-price-note { display: flex; align-items: center; gap: 11px; margin: 24px 0 0; padding: 14px 16px; border: 1px solid rgba(255,215,120,.16); border-radius: var(--iv-radius-sm); background: linear-gradient(100deg,rgba(255,215,120,.075),rgba(255,255,255,.025)); color: var(--iv-muted); font-size: 12px; }
.iv-price-note-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: rgba(255,215,120,.12); color: var(--iv-gold); font-size: 19px; }
.iv-price-note strong { color: var(--iv-gold); }

.iv-game-grid-large .iv-game-card { min-height: 280px; align-items: start; flex-direction: column; padding: clamp(20px,4vw,36px); }
.iv-game-grid-large .iv-game-art { width: clamp(100px,15vw,155px); }
.iv-game-grid-large .iv-game-copy h3 { max-width: 16ch; font-size: clamp(22px,3vw,32px); }
.iv-game-grid-large .iv-game-copy p { max-width: 34ch; font-size: 13px; }
.iv-game-grid-large .iv-game-copy .iv-button { min-height: 46px; margin-top: 18px; padding-inline: 17px; font-size: 12px; }
.iv-arcade-promises { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.iv-promise { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--iv-line); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--iv-muted); font-size: 11px; font-weight: 750; }

.iv-world-list { display: grid; gap: 13px; }
.iv-world-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 17px; padding: 16px; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); background: linear-gradient(130deg,rgba(255,255,255,.065),rgba(255,255,255,.025)); }
.iv-world-row .iv-game-art { width: 88px; border-radius: 22px; }
.iv-world-copy h2 { margin: 7px 0 3px; font-size: clamp(16px,2.6vw,23px); font-weight: 900; letter-spacing: -.04em; }
.iv-world-copy p { margin: 0; color: var(--iv-muted); font-size: 12px; }

.iv-share-page { display: grid; min-height: min(72vh,690px); place-items: center; }
.iv-share-card { display: flex; width: min(100%,670px); flex-direction: column; align-items: center; padding: clamp(27px,6vw,55px); border: 1px solid var(--iv-line); border-radius: var(--iv-radius-xl); background: radial-gradient(ellipse at 50% -5%,rgba(255,118,184,.22),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025)); box-shadow: var(--iv-shadow); text-align: center; }
.iv-share-icon { display: grid; width: 78px; height: 78px; margin-bottom: 23px; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 28px; background: linear-gradient(145deg,rgba(255,118,184,.27),rgba(174,145,255,.18)); color: #ffd4ea; font-size: 42px; }
.iv-share-card h1 { max-width: 13ch; margin: 12px 0; font-size: clamp(31px,6vw,52px); font-weight: 950; letter-spacing: -.065em; line-height: .98; }
.iv-share-card p { max-width: 49ch; margin: 0 0 23px; color: var(--iv-muted); font-size: 14px; }

.iv-settings-panel { display: flex; max-width: 720px; align-items: center; justify-content: space-between; gap: 18px; padding: 19px; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); background: rgba(255,255,255,.04); }
.iv-settings-copy strong { display: block; font-size: 14px; }
.iv-settings-copy small { display: block; max-width: 42ch; margin-top: 4px; color: var(--iv-muted); font-size: 12px; }
.iv-language-picker { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--iv-line); border-radius: 14px; background: rgba(0,0,0,.13); }
.iv-language-option { min-height: 40px; padding-inline: 11px; border: 0; border-radius: 10px; background: transparent; color: var(--iv-muted); cursor: pointer; font-size: 11px; font-weight: 850; }
.iv-language-option.selected { background: var(--iv-surface-2); color: var(--iv-text); }
.iv-settings-footnote { display: flex; max-width: 720px; align-items: start; gap: 10px; margin-top: 19px; color: var(--iv-gold); }
.iv-settings-footnote p { margin: 0; color: var(--iv-muted); font-size: 12px; }

.iv-tabs { position: fixed; z-index: 9; right: 0; bottom: 0; left: 0; display: grid; min-height: calc(var(--iv-tab-h) + var(--iv-safe-b)); grid-template-columns: repeat(4,minmax(0,1fr)); padding: 7px max(var(--iv-gutter),var(--iv-safe-r)) calc(7px + var(--iv-safe-b)) max(var(--iv-gutter),var(--iv-safe-l)); border-top: 1px solid rgba(255,255,255,.08); background: rgba(19,14,32,.88); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.iv-tab { display: grid; min-width: 0; min-height: 48px; align-content: center; justify-items: center; gap: 2px; padding: 2px 3px; border: 0; border-radius: 14px; background: transparent; color: var(--iv-soft); cursor: pointer; touch-action: manipulation; }
.iv-tab-icon { font-size: 20px; line-height: 1.1; }
.iv-tab-label { overflow: hidden; max-width: 100%; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.iv-tab.active { color: #ffd4e9; }
.iv-tab.active .iv-tab-icon { filter: drop-shadow(0 0 8px rgba(255,118,184,.53)); }

.iv-game-viewport { position: fixed; z-index: 30; inset: 0; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; background: #100b1e; }
.iv-game-frame { display: block; width: 100%; height: 100%; border: 0; background: #100b1e; }
.iv-game-loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #100b1e; color: var(--iv-muted); font-size: 13px; transition: opacity .25s ease, visibility .25s ease; }
.iv-game-viewport.loaded .iv-game-loader { visibility: hidden; opacity: 0; pointer-events: none; }
.iv-loader-mark { color: var(--iv-pink); font-size: 36px; animation: iv-pulse 1s ease-in-out infinite alternate; }
.iv-toast { position: fixed; z-index: 50; right: 16px; bottom: calc(var(--iv-tab-h) + var(--iv-safe-b) + 18px); left: 16px; width: fit-content; max-width: min(90vw,390px); margin-inline: auto; padding: 13px 16px; border: 1px solid var(--iv-line); border-radius: 15px; background: #302641; color: var(--iv-text); box-shadow: var(--iv-shadow); font-size: 12px; text-align: center; }

@keyframes iv-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes iv-float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(3deg); } }
@keyframes iv-pulse { from { opacity: .58; transform: scale(.9) rotate(-8deg); } to { opacity: 1; transform: scale(1.08) rotate(8deg); } }

@media (max-width: 620px) {
  :root { --iv-gutter: 16px; --iv-tab-h: 66px; }
  .iv-topbar { min-height: 65px; }
  .iv-brand-mark { width: 39px; height: 39px; }
  .iv-main { padding-top: 5px; }
  .iv-welcome { min-height: 330px; grid-template-columns: minmax(0,1fr) 82px; gap: 0; padding: 25px 19px; border-radius: 27px; }
  .iv-welcome-copy h1 { max-width: 10ch; font-size: clamp(35px,9.7vw,49px); }
  .iv-welcome-copy p { max-width: 31ch; font-size: 13px; }
  .iv-welcome-art { min-height: 150px; margin-right: -30px; }
  .iv-welcome-ring-a { width: 128px; min-width: 128px; }
  .iv-welcome-ring-b { width: 100px; min-width: 100px; }
  .iv-welcome-crown { font-size: 64px; }
  .iv-welcome-cape { right: 0; width: 40px; height: 40px; border-radius: 14px; font-size: 20px; }
  .iv-welcome-star-a { right: 3%; font-size: 20px; }
  .iv-welcome-star-b { left: 0; font-size: 15px; }
  .iv-welcome-actions { gap: 9px; margin-top: 18px; }
  .iv-button { min-height: 48px; padding-inline: 14px; font-size: 12px; }
  .iv-no-account { font-size: 10px; }
  .iv-home-games { margin-top: 27px; }
  .iv-section-heading { align-items: start; }
  .iv-section-heading p { max-width: 31ch; }
  .iv-section-heading .iv-link-button { align-self: center; font-size: 10px; }
  .iv-game-grid { gap: 9px; }
  .iv-game-card { min-height: 230px; flex-direction: column; align-items: start; gap: 10px; padding: 13px; border-radius: 21px; }
  .iv-game-art { width: 63px; border-radius: 20px; }
  .iv-game-art.hero .iv-art-character { font-size: 28px; }
  .iv-art-spark-a { font-size: 12px; }
  .iv-game-copy h3 { margin-top: 8px; font-size: 16px; }
  .iv-game-copy p { min-height: 31px; font-size: 10px; }
  .iv-game-tag { min-height: 21px; padding-inline: 6px; font-size: 7px; }
  .iv-game-copy .iv-button { min-height: 39px; margin-top: 9px; padding-inline: 10px; font-size: 10px; }
  .iv-price-note { margin-top: 17px; padding: 11px 12px; font-size: 10px; }
  .iv-screen-heading { margin-top: 14px; }
  .iv-game-grid-large .iv-game-card { min-height: 320px; }
  .iv-world-row { grid-template-columns: auto minmax(0,1fr); gap: 12px; padding: 12px; }
  .iv-world-row .iv-game-art { width: 68px; }
  .iv-world-row > .iv-button { grid-column: 2; justify-self: start; min-height: 41px; }
  .iv-settings-panel { align-items: start; flex-direction: column; padding: 15px; }
  .iv-language-picker { width: 100%; }
  .iv-language-option { flex: 1; }
  .iv-share-card { border-radius: 27px; }
}

@media (max-width: 370px) {
  :root { --iv-gutter: 12px; }
  .iv-free-badge { min-height: 31px; padding-inline: 8px; font-size: 8px; }
  .iv-welcome { grid-template-columns: minmax(0,1fr) 58px; padding-inline: 15px; }
  .iv-welcome-art { margin-right: -35px; }
  .iv-welcome-ring-a { width: 108px; min-width: 108px; }
  .iv-welcome-ring-b { width: 86px; min-width: 86px; }
  .iv-welcome-crown { font-size: 54px; }
  .iv-game-card { min-height: 238px; padding: 11px; }
  .iv-game-copy h3 { font-size: 15px; }
  .iv-game-copy .iv-button { padding-inline: 8px; font-size: 9px; }
}

@media (min-width: 760px) {
  :root { --iv-tab-h: 74px; }
  .iv-main { padding-top: 17px; padding-bottom: calc(var(--iv-tab-h) + var(--iv-safe-b) + 34px); }
  .iv-tabs { right: auto; bottom: 0; left: 50%; width: min(570px,calc(100% - 70px)); padding-right: 15px; padding-left: 15px; border: 1px solid rgba(255,255,255,.09); border-bottom: 0; border-radius: 23px 23px 0 0; transform: translateX(-50%); }
  .iv-tab { min-height: 55px; }
  .iv-tab-icon { font-size: 21px; }
  .iv-tab-label { font-size: 10px; }
  .iv-welcome { min-height: 370px; }
  .iv-game-card { min-height: 250px; }
  .iv-game-grid-large .iv-game-card { min-height: 340px; }
}

@media (min-width: 1050px) {
  .iv-topbar { min-height: 80px; padding-right: clamp(405px,34vw,470px); }
  .iv-tabs { top: 17px; right: max(28px,calc((100vw - var(--iv-content-max)) / 2 + 26px)); bottom: auto; left: auto; width: auto; min-height: 48px; grid-template-columns: repeat(4,auto); gap: 4px; padding: 4px; border: 1px solid var(--iv-line); border-radius: 16px; background: rgba(255,255,255,.045); transform: none; }
  .iv-tab { display: flex; min-height: 40px; justify-content: center; gap: 7px; padding-inline: 11px; }
  .iv-tab-icon { font-size: 15px; }
  .iv-tab-label { font-size: 9px; }
  .iv-main { padding-top: 18px; }
}

@media (spanning: single-fold-vertical) {
  .iv-main { padding-top: 17px; }
  .iv-welcome { grid-template-columns: minmax(0,1.25fr) minmax(230px,.75fr); }
  .iv-game-grid { gap: clamp(20px,4vw,50px); }
  .iv-game-card { min-height: 255px; }
  .iv-game-grid-large .iv-game-card { min-height: 360px; }
}

@media (spanning: single-fold-horizontal) {
  .iv-welcome { min-height: 245px; grid-template-columns: minmax(0,1.35fr) minmax(180px,.65fr); padding-block: 19px; }
  .iv-welcome-art { min-height: 180px; }
  .iv-main { padding-top: 4px; }
  .iv-tabs { min-height: calc(58px + var(--iv-safe-b)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
