* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "alte-haas", Arial, sans-serif;
}

@font-face {
  font-family: "alte-haas";
  src: url("ISURRENDER IMPROVED/AlteHaasGroteskRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "BillaMount";
  src: url("fonts/BillaMount-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  min-height: 100dvh;
  background-image: url("9c744bdbc61861b11866d6735c8f9975.gif");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.mobile-shell {
  width: min(96vw, 460px);
  min-height: calc(100dvh - 20px);
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.mobile-header {
  padding: 12px 12px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-header-link {
  display: inline-block;
}

.mobile-header img {
  width: min(88%, 320px);
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 6px;
}

.mobile-sub {
  font-size: 0.82rem;
  color: #d4d4d4;
}

.mobile-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-nav a {
  background: rgba(22, 22, 28, 0.96);
  color: #f3f3f3;
  text-decoration: none;
  text-align: center;
  padding: 10px 8px;
  font-size: 0.86rem;
}

.mobile-nav a:active {
  background: rgba(38, 38, 48, 0.96);
}

.mobile-main {
  padding: 10px;
  display: grid;
  gap: 10px;
}

.mobile-card {
  background: rgba(34, 36, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 10px;
}

.mobile-card h2 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.mobile-card p,
.mobile-card li,
.mobile-card a,
.mobile-card span {
  font-size: 0.84rem;
  line-height: 1.35;
}

.mobile-card a {
  color: #9fd2ff;
  text-decoration: none;
}

.mobile-card a:active {
  color: #ffffff;
}

.mobile-list {
  list-style: none;
  display: grid;
  gap: 6px;
}

.mobile-media {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.mobile-footer {
  padding: 10px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfcfcf;
  font-size: 0.76rem;
}

.desktop-link {
  display: inline-block;
  margin-top: 6px;
  color: #ffe783;
  text-decoration: none;
  font-size: 0.76rem;
}

.now-playing-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.now-playing-links a {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
}

.image-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.image-links a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.updates-card {
  text-align: center;
}

.version-line {
  color: #fdcbff;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.mobile-local-datetime {
  font-family: "BillaMount", sans-serif;
  font-size: 0.92rem;
  color: #ffffff;
}

.video-card {
  padding: 8px;
}

.mobile-video {
  width: 100%;
  min-height: 190px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.mobile-map-gif {
  width: 100%;
  max-height: 75px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 8px;
}

.know-round-text {
  text-align: center;
  color: rgb(210, 220, 210);
  font-family: "BillaMount", sans-serif;
  font-size: 1.05rem;
}

.mobile-main-pages-trigger {
  display: block;
  margin-top: 6px;
  text-align: center;
  color: rgb(183, 255, 187);
  font-family: "alte-haas", Arial, sans-serif;
  font-size: 0.84rem;
  text-decoration: none;
}

.mobile-nav-pulse {
  animation: mobileNavPulse 0.28s ease-in-out 6;
}

@keyframes mobileNavPulse {
  0%, 100% {
    color: #f3f3f3;
    text-shadow: none;
  }
  50% {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
  }
}

.m-index-fit .mobile-shell {
  width: min(90vw, 390px);
}

.m-index-fit .mobile-header {
  padding: 8px 8px 6px;
}

.m-index-fit .mobile-header img {
  width: min(82%, 260px);
  margin-bottom: 4px;
}

.m-index-fit .mobile-sub {
  font-size: 0.74rem;
}

.m-index-fit .mobile-nav a {
  padding: 8px 6px;
  font-size: 0.78rem;
}

.m-index-fit .mobile-main {
  padding: 5px;
  gap: 5px;
}

.m-index-fit .mobile-card {
  padding: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.m-index-fit .mobile-card h2 {
  font-size: 0.76rem;
  margin-bottom: 4px;
}

.m-index-fit .version-line {
  font-size: 0.74rem;
  line-height: 1.2;
}

.m-index-fit .mobile-local-datetime {
  font-size: 0.76rem;
  line-height: 1.2;
}

.m-index-fit .mobile-video {
  min-height: 118px;
  max-height: 145px;
  max-width: 100%;
}

.m-index-fit .mobile-media {
  border-radius: 5px;
  max-width: 100%;
}

.m-index-fit .now-playing-links {
  gap: 6px;
  margin-top: 6px;
}

.m-index-fit .now-playing-links a {
  padding: 6px;
}

.m-index-fit .image-links a {
  min-height: 42px;
}

.m-index-fit .image-links a img {
  width: 22px;
  height: 22px;
}

.m-index-fit .mobile-map-gif {
  max-height: 48px;
  margin-bottom: 4px;
}

.m-index-fit .know-round-text {
  font-size: 0.74rem;
}


.m-index-fit .mobile-footer {
  padding: 8px;
  font-size: 0.7rem;
}

.m-index-fit .desktop-link {
  font-size: 0.7rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-audio-card h2 {
  margin-bottom: 8px;
}

.mobile-audio-list {
  display: grid;
  gap: 7px;
}

.mobile-audio-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfeaff;
  text-decoration: none;
  line-height: 1.25;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.mobile-audio-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 42px;
  display: block;
}

.mobile-audio-text {
  min-width: 0;
  flex: 1;
  display: block;
}

.mobile-audio-link:active {
  background: rgba(52, 52, 66, 0.92);
  color: #ffffff;
}

.mobile-audio-link.is-playing {
  border-color: rgba(170, 235, 255, 0.95);
  color: #ffffff;
  background: rgba(28, 52, 62, 0.92);
}

.m-index-fit .mobile-audio-list {
  gap: 6px;
}

.m-index-fit .mobile-audio-link {
  gap: 7px;
  padding: 7px 8px;
  font-size: 0.74rem;
}

.m-index-fit .mobile-audio-thumb {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

/* Mobile store page layout (vertical version of storepage.html) */
.mobile-store-main {
  padding: 8px;
}

.mobile-store-shell {
  width: 100%;
  background: rgb(255, 255, 255);
}

.mobile-shop-category {
  padding: 8px;
  border: 1px solid rgba(220, 220, 220, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgb(255, 255, 255));
}

.mobile-shop-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mobile-shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mobile-shop-item {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(230, 230, 230);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-shop-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 1px solid rgb(245, 245, 245);
}

.mobile-shop-item h2,
.mobile-shop-item h3,
.mobile-shop-item p {
  text-align: center;
}

.mobile-shop-item .buy-now-btn {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: #000000;
  font-family: "alte-haas", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: rgba(233, 233, 233, 0.822);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-shop-item .buy-now-btn:hover {
  color: #101010;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgb(211, 211, 211);
}
