/* =========================================================
   GYOBITE OS — BUILD 176 RESPONSIVE CORRECTION
   Final override layer: size-adaptive controls, no vertical
   launcher scrolling, and container-aware app components.
========================================================= */

/* Use the actual phone canvas as the sizing reference. This also works
   when the phone is shown inside a desktop browser simulator. */
#gyoStage .screen {
  container-type: size;
  container-name: gyophone-screen;
  min-width: 0 !important;
  min-height: 0 !important;
}

/* Home is a fixed OS surface, not a web page. App icons must fit in the
   available screen area; only horizontal page-to-page swiping is allowed. */
#homeScreen.home-screen {
  container-type: size;
  container-name: gyohome;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: manipulation !important;
  box-sizing: border-box !important;
}

#homeScreen .home-heading,
#homeScreen .search-pill,
#homeScreen .widget-row,
#homeScreen .section-heading,
#homeScreen .launcher-page-dots,
#homeScreen .dock {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

#homeScreen .home-heading {
  align-items: center !important;
  gap: clamp(5px, 1.4cqw, 10px) !important;
  margin: 0 0 clamp(3px, .8cqh, 8px) !important;
}
#homeScreen .home-heading > div { min-width: 0 !important; }
#homeScreen .home-heading h1 {
  font-size: clamp(16px, 5.3cqw, 25px) !important;
  line-height: 1.08 !important;
  margin: 3px 0 !important;
}
#homeScreen .home-heading p {
  font-size: clamp(8px, 2.6cqw, 11px) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#homeScreen .home-heading .round-btn {
  width: clamp(29px, 9cqw, 36px) !important;
  height: clamp(29px, 9cqw, 36px) !important;
  flex: 0 0 auto !important;
}

#homeScreen .search-pill {
  min-height: clamp(32px, 6.6cqh, 42px) !important;
  height: auto !important;
  padding: clamp(6px, 1.7cqh, 10px) clamp(9px, 3cqw, 14px) !important;
  gap: clamp(5px, 1.5cqw, 9px) !important;
  font-size: clamp(9px, 2.8cqw, 11px) !important;
  line-height: 1.15 !important;
}

#homeScreen .widget-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
  gap: clamp(4px, 1.5cqw, 9px) !important;
  margin: clamp(4px, .9cqh, 10px) 0 !important;
}
#homeScreen .mini-widget {
  min-width: 0 !important;
  min-height: clamp(40px, 7.5cqh, 60px) !important;
  gap: clamp(4px, 1.6cqw, 9px) !important;
  padding: clamp(5px, 1.8cqw, 10px) !important;
}
#homeScreen .mini-widget > i { font-size: clamp(13px, 4.5cqw, 19px) !important; }
#homeScreen .mini-widget strong { font-size: clamp(12px, 4.3cqw, 16px) !important; line-height: 1.1 !important; }
#homeScreen .mini-widget small,
#homeScreen .mini-widget > span { font-size: clamp(7px, 2.4cqw, 9px) !important; line-height: 1.15 !important; }
#homeScreen .mini-widget > span { white-space: nowrap !important; }

#homeScreen .section-heading {
  margin: 0 0 clamp(2px, .5cqh, 6px) !important;
  font-size: clamp(10px, 3cqw, 12px) !important;
  line-height: 1.15 !important;
}
#homeScreen .section-heading button {
  flex: 0 0 auto !important;
  font-size: clamp(8px, 2.5cqw, 10px) !important;
  white-space: nowrap !important;
}

#homeScreen .launcher-pages {
  display: flex !important;
  flex: 1 1 0% !important;
  width: 100% !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain !important;
  overscroll-behavior-y: none !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  scroll-snap-type: x mandatory !important;
  touch-action: pan-x !important;
}
#homeScreen .launcher-pages::-webkit-scrollbar { display: none !important; }

#homeScreen .launcher-page {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
  scroll-snap-align: start !important;
  touch-action: pan-x !important;
}

#homeScreen .launcher-page .app-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(0, 1fr) !important;
  align-content: stretch !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  gap: clamp(1px, .7cqh, 7px) clamp(3px, 1.2cqw, 8px) !important;
  padding: 2px 2px 3px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#homeScreen .launcher-page .app-icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: 100% !important;
  gap: clamp(1px, .45cqh, 5px) !important;
  padding: 1px 2px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
#homeScreen .launcher-page .app-glyph {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: clamp(23px, min(10cqw, 5.4cqh), 47px) !important;
  height: clamp(23px, min(10cqw, 5.4cqh), 47px) !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: clamp(8px, 3.4cqw, 16px) !important;
  font-size: clamp(11px, 4.3cqw, 20px) !important;
}
#homeScreen .launcher-page .app-icon small {
  display: -webkit-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  max-height: 2.25em !important;
  flex: 0 1 auto !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-align: center !important;
  font-size: clamp(7px, min(2.7cqw, 1.55cqh), 10px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}
#homeScreen .launcher-page .launcher-empty {
  grid-column: 1 / -1 !important;
  grid-row: 1 / -1 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: grid !important;
  place-content: center !important;
  text-align: center !important;
  overflow: hidden !important;
}
#homeScreen .launcher-page .launcher-empty strong,
#homeScreen .launcher-page .launcher-empty small { overflow-wrap: anywhere !important; }

#homeScreen .launcher-page-dots {
  display: flex !important;
  flex: 0 0 12px !important;
  width: 100% !important;
  height: 12px !important;
  min-height: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 1px 0 2px !important;
}

#homeScreen .dock {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: space-around !important;
  gap: 1px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(46px, 8.2cqh, 70px) !important;
  height: auto !important;
  margin: clamp(2px, .7cqh, 7px) 0 0 !important;
  padding: clamp(3px, 1cqh, 8px) 3px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
#homeScreen .dock .app-icon {
  display: flex !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  gap: 2px !important;
  padding: 1px !important;
  overflow: hidden !important;
}
#homeScreen .dock .app-glyph {
  width: clamp(23px, min(8.5cqw, 4.7cqh), 40px) !important;
  height: clamp(23px, min(8.5cqw, 4.7cqh), 40px) !important;
  flex: 0 0 auto !important;
  border-radius: clamp(7px, 3cqw, 14px) !important;
  font-size: clamp(10px, 3.5cqw, 17px) !important;
}
#homeScreen .dock .app-icon small {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  max-height: 1.2em !important;
  font-size: clamp(6px, 2.1cqw, 8.5px) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Short portrait phones switch to 3 × 3 (nine icons) instead of scrolling.
   The JS pager uses the same 9-item threshold and moves remaining apps to
   the next horizontal page. */
@container gyohome (max-height: 450px) {
  #homeScreen .home-heading { margin-bottom: 2px !important; }
  #homeScreen .home-heading h1 { font-size: clamp(14px, 4.7cqw, 19px) !important; }
  #homeScreen .home-heading p { display: none !important; }
  #homeScreen .search-pill { min-height: 29px !important; padding-block: 5px !important; }
  #homeScreen .widget-row { display: none !important; }
  #homeScreen .section-heading { margin-block: 3px !important; }
  #homeScreen .launcher-page .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }
  #homeScreen .launcher-page .app-glyph {
    width: clamp(22px, min(9cqw, 5.2cqh), 34px) !important;
    height: clamp(22px, min(9cqw, 5.2cqh), 34px) !important;
  }
  #homeScreen .launcher-page .app-icon small { font-size: clamp(7px, 2.5cqw, 9px) !important; }
  #homeScreen .dock { min-height: 43px !important; margin-top: 2px !important; }
  #homeScreen .dock .app-glyph { width: 23px !important; height: 23px !important; }
}

/* Landscape phone canvas is deliberately 4 columns × 3 rows. */
@media (max-height: 560px) and (orientation: landscape) {
  #homeScreen.home-screen {
    padding: 4px 12px 4px !important;
  }
  #homeScreen .home-heading { margin-bottom: 2px !important; }
  #homeScreen .home-heading h1 { font-size: 16px !important; margin: 0 !important; }
  #homeScreen .home-heading p { display: none !important; }
  #homeScreen .search-pill { min-height: 26px !important; padding: 3px 8px !important; }
  #homeScreen .widget-row { display: none !important; }
  #homeScreen .section-heading { margin: 2px 0 !important; }
  #homeScreen .launcher-page .app-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }
  #homeScreen .launcher-page .app-glyph { width: 27px !important; height: 27px !important; }
  #homeScreen .launcher-page .app-icon small { font-size: 7px !important; }
  #homeScreen .launcher-page-dots { display: none !important; }
  #homeScreen .launcher-pages {
    flex: 1 1 0% !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }
  #homeScreen .launcher-page { height: 100% !important; min-height: 0 !important; overflow: hidden !important; }
  #homeScreen .launcher-page .app-grid { height: 100% !important; min-height: 0 !important; grid-template-rows: repeat(3, minmax(0, 1fr)) !important; }
  #homeScreen .dock {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex: 0 0 39px !important;
    width: 100% !important;
    min-height: 39px !important;
    height: 39px !important;
    margin: 2px 0 0 !important;
    padding: 2px !important;
  }
  #homeScreen .dock .app-glyph { width: 22px !important; height: 22px !important; }
  #homeScreen .dock .app-icon small { font-size: 6px !important; }
}

/* G-Trade: badge stays on one line, and all eight interval choices are
   visible as a compact 4 × 2 grid when the chart card is narrow. */
#appContent .trade-chart-card {
  container-type: inline-size;
  container-name: trade-card;
  min-width: 0 !important;
  max-width: 100% !important;
}
#appContent .trade-chart-heading {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(6px, 2cqi, 12px) !important;
  min-width: 0 !important;
  width: 100% !important;
}
#appContent .trade-chart-heading > div {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
#appContent .trade-chart-heading h3 {
  min-width: 0 !important;
  font-size: clamp(13px, 4.1cqi, 16px) !important;
  line-height: 1.2 !important;
}
#appContent .trade-chart-heading > div > small {
  display: block !important;
  max-width: 100% !important;
  font-size: clamp(8px, 2.8cqi, 10px) !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}
#appContent .trade-live-pill {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-height: 1 !important;
  font-size: clamp(8px, 2.7cqi, 10px) !important;
  letter-spacing: .08em !important;
  padding: 6px 9px !important;
}
#appContent .trade-intervals {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 5px !important;
  touch-action: pan-x !important;
}
#appContent .trade-intervals button {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
@container trade-card (max-width: 440px) {
  #appContent .trade-intervals {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(30px, auto) !important;
    overflow: visible !important;
    gap: 5px !important;
    padding: 8px 0 !important;
  }
  #appContent .trade-intervals button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 30px !important;
    padding: 5px 2px !important;
    font-size: clamp(8px, 2.65cqi, 11px) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
}
#appContent #tradeMarketInfo {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  font-size: clamp(9px, 2.8cqi, 11px) !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

/* Generic compact controls: scale inside the app window rather than only
   reacting to the browser's outer viewport. */
#appContent.app-content :where(.card, section, article, form, fieldset) {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#appContent.app-content :where(button, input, select, textarea) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
#appContent.app-content :where(img, video, canvas, iframe, svg) {
  max-width: 100%;
}

/* Do not allow app launcher to acquire a vertical scroll area at any width. */
#homeScreen,
#homeScreen .launcher-pages,
#homeScreen .launcher-page,
#homeScreen .launcher-page .app-grid {
  overflow-y: hidden !important;
  overscroll-behavior-y: none !important;
}

@media (min-width: 801px) and (min-height: 561px) {
  #homeScreen.home-screen {
    padding: clamp(30px, 7cqh, 58px) 19px 8px !important;
  }
  #homeScreen .launcher-page .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #homeScreen .launcher-pages { scroll-behavior: auto !important; }
}

/* =========================================================
   BUILD 177 — DOCK LABEL VISIBILITY / NAV-BAR CLEARANCE
   The dock labels already exist in index.html. On compact
   phone canvases the 40px glyph + label exceeded the dock's
   effective content height, so the nav bar covered the text.
   Reserve a dedicated dock row and keep it above the OS nav.
========================================================= */
#homeScreen .dock {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 72px !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  margin: clamp(2px, .7cqh, 7px) 0 8px !important;
  padding: 5px 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  gap: 2px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  transform: none !important;
  z-index: 8 !important;
}
#homeScreen .dock .app-icon {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: 100% !important;
  gap: 3px !important;
  padding: 2px 1px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
#homeScreen .dock .app-glyph {
  flex: 0 0 auto !important;
  width: clamp(27px, min(7.5cqw, 4cqh), 36px) !important;
  height: clamp(27px, min(7.5cqw, 4cqh), 36px) !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: clamp(8px, 2.8cqw, 13px) !important;
  font-size: clamp(11px, 3.2cqw, 16px) !important;
}
#homeScreen .dock .app-icon small {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 10px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #f5f6ff !important;
  font-size: clamp(7.5px, 2.15cqw, 9px) !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  opacity: 1 !important;
  visibility: visible !important;
  clip: auto !important;
  clip-path: none !important;
}

/* Compact portrait: keep all four labels while reducing glyph size. */
@container gyohome (max-height: 450px) {
  #homeScreen .dock {
    flex-basis: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    margin-top: 2px !important;
    margin-bottom: 6px !important;
    padding: 3px 3px !important;
  }
  #homeScreen .dock .app-icon { gap: 1px !important; padding: 1px !important; }
  #homeScreen .dock .app-glyph {
    width: 24px !important;
    height: 24px !important;
    font-size: 10px !important;
  }
  #homeScreen .dock .app-icon small {
    min-height: 9px !important;
    font-size: 7px !important;
    line-height: 1.05 !important;
  }
}

/* Landscape uses a compact dock too, but never hides its labels. */
@media (max-height: 560px) and (orientation: landscape) {
  #homeScreen .dock {
    flex: 0 0 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 2px 0 5px !important;
    padding: 2px 3px !important;
  }
  #homeScreen .dock .app-icon { gap: 1px !important; }
  #homeScreen .dock .app-glyph {
    width: 22px !important;
    height: 22px !important;
    font-size: 9px !important;
  }
  #homeScreen .dock .app-icon small {
    min-height: 8px !important;
    font-size: 6.8px !important;
    line-height: 1 !important;
  }
}


/* =========================================================
   BUILD 178 — GYOWEB STICKY SEARCH + RELIABLE LAUNCHER SWIPE
========================================================= */
/* GyoWeb search bubble stays visible while the results region scrolls.
   Sticky is scoped to the app's own scroll container, not the whole page. */
#appContent .gyoweb-shell {
  min-width:0 !important;
  overflow:visible !important;
}
#appContent .gyoweb-search {
  position:sticky !important;
  top:0 !important;
  z-index:30 !important;
  isolation:isolate !important;
  margin:0 auto 12px !important;
  padding:8px 0 !important;
  background:var(--app-bg, #080b16) !important;
  box-shadow:0 8px 16px rgba(0,0,0,.18) !important;
}
#appContent .gyoweb-google-brand { margin-bottom:12px !important; }
#appContent .gyoweb-tabs {
  position:sticky !important;
  top:58px !important;
  z-index:29 !important;
  background:var(--app-bg, #080b16) !important;
  padding:5px 0 8px !important;
}
#appContent .gyoweb-results,
#appContent .gyoweb-preview { min-width:0 !important; overflow-wrap:anywhere !important; }
#appContent .gyoweb-result p { overflow-wrap:anywhere !important; }

/* The launcher scrolls horizontally between fixed pages only. */
#homeScreen .launcher-pages {
  touch-action:pan-y pinch-zoom !important;
  cursor:grab !important;
  user-select:none !important;
  -webkit-user-select:none !important;
}
#homeScreen .launcher-pages.launcher-dragging { cursor:grabbing !important; scroll-behavior:auto !important; }
#homeScreen .launcher-page { flex:0 0 100% !important; }
#homeScreen .launcher-page .app-icon { -webkit-user-drag:none !important; }

/* BUILD 178 — GyoWeb fixed search head + reliable mouse/touch launcher paging */
#appContent:has(.gyoweb-google){overflow:hidden!important;min-height:0!important;}
.gyoweb-google{height:100%;min-height:0!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 clamp(12px,3vw,24px) 18px!important;overscroll-behavior:contain;}
.gyoweb-sticky-head{position:sticky;top:0;z-index:30;flex:0 0 auto;width:calc(100% + clamp(24px,6vw,48px));margin:0 calc(-1 * clamp(12px,3vw,24px));padding:clamp(8px,2vh,16px) clamp(12px,3vw,24px) 8px;background:var(--bg,#080b16);border-bottom:1px solid #ffffff12;box-shadow:0 8px 18px #0003;}
.gyoweb-google-brand{padding:4px 8px 10px!important;}
.gyoweb-google-brand p{margin-top:3px!important;}
.gyoweb-google .gyoweb-search{width:100%;}
.gyoweb-google .gyoweb-tabs{margin:8px auto 0!important;}
.gyoweb-google .gyoweb-status,.gyoweb-google .gyoweb-results,.gyoweb-google .gyoweb-preview{width:100%;flex:0 0 auto;}
.gyoweb-google .gyoweb-status{margin:12px auto!important;}
#homeAppGrid{touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab;}
#homeAppGrid:active{cursor:grabbing;}
#homeAppGrid .launcher-page{user-select:none;-webkit-user-select:none;}
#homeAppGrid .app-icon{touch-action:pan-y;}
@media(max-height:560px){.gyoweb-sticky-head{padding-top:4px;padding-bottom:5px}.gyoweb-google-brand{display:none!important}.gyoweb-google .gyoweb-tabs{margin-top:5px!important}}

/* BUILD 178 — GyoWeb search controls remain visible while result content scrolls */
#appContent:has(.gyoweb-google){overflow:hidden!important;min-height:0!important;}
.gyoweb-google{height:100%;min-height:0!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 clamp(12px,3vw,24px) 18px!important;overscroll-behavior:contain;}
.gyoweb-sticky-head{position:sticky;top:0;z-index:30;flex:0 0 auto;width:calc(100% + clamp(24px,6vw,48px));margin:0 calc(-1 * clamp(12px,3vw,24px));padding:clamp(8px,2vh,16px) clamp(12px,3vw,24px) 8px;background:var(--bg,#080b16);border-bottom:1px solid #ffffff12;box-shadow:0 8px 18px #0003;}
.gyoweb-google-brand{padding:4px 8px 10px!important;}
.gyoweb-google-brand p{margin-top:3px!important;}
.gyoweb-google .gyoweb-search{width:100%;}
.gyoweb-google .gyoweb-tabs{margin:8px auto 0!important;}
.gyoweb-google .gyoweb-status,.gyoweb-google .gyoweb-results,.gyoweb-google .gyoweb-preview{width:100%;flex:0 0 auto;}
.gyoweb-google .gyoweb-status{margin:12px auto!important;}
#homeAppGrid{touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab;}
#homeAppGrid.launcher-dragging{cursor:grabbing;}
#homeAppGrid .launcher-page{user-select:none;-webkit-user-select:none;}
#homeAppGrid .app-icon{touch-action:pan-y;}
@media(max-height:560px){.gyoweb-sticky-head{padding-top:4px;padding-bottom:5px}.gyoweb-google-brand{display:none!important}.gyoweb-google .gyoweb-tabs{margin-top:5px!important}}


/* BUILD 179 — stable GyoWeb layout: fixed controls + independent results scroller.
   Keep the search form in the header; only the results pane scrolls. */
#appContent:has(.gyoweb-google){
  display:flex!important;flex-direction:column!important;
  min-height:0!important;overflow:hidden!important;
}
#appContent .gyoweb-google{
  display:flex!important;flex:1 1 0!important;flex-direction:column!important;
  width:100%!important;height:100%!important;min-height:0!important;
  overflow:hidden!important;overscroll-behavior:none!important;
  padding:0 clamp(10px,3vw,22px)!important;gap:0!important;
}
#appContent .gyoweb-sticky-head{
  position:relative!important;top:auto!important;z-index:5!important;
  flex:0 0 auto!important;width:calc(100% + clamp(20px,6vw,44px))!important;
  margin:0 calc(-1 * clamp(10px,3vw,22px))!important;
  padding:clamp(7px,1.5vh,13px) clamp(10px,3vw,22px) 8px!important;
  background:var(--bg,#080b16)!important;box-shadow:0 5px 14px #0002!important;
}
#appContent .gyoweb-sticky-head .gyoweb-search{
  position:relative!important;top:auto!important;z-index:auto!important;
  width:100%!important;max-width:760px!important;margin:0 auto!important;
  box-shadow:0 4px 14px #0002!important;
}
#appContent .gyoweb-google-brand{padding:2px 6px 7px!important}
#appContent .gyoweb-google .gyoweb-tabs{position:relative!important;top:auto!important;margin:7px auto 0!important}
#appContent .gyoweb-scroll-area{
  display:flex!important;flex:1 1 0!important;flex-direction:column!important;
  min-height:0!important;max-height:none!important;width:100%!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;padding:8px 0 max(18px,env(safe-area-inset-bottom,0px))!important;
}
#appContent .gyoweb-google .gyoweb-status,
#appContent .gyoweb-google .gyoweb-results,
#appContent .gyoweb-google .gyoweb-preview{width:100%!important;max-width:760px!important;flex:0 0 auto!important;min-width:0!important}
#appContent .gyoweb-google .gyoweb-result,
#appContent .gyoweb-google .gyoweb-result p{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}
#appContent .gyoweb-google .gyoweb-result p{line-height:1.55!important}
#appContent .gyoweb-google .gyoweb-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Launcher pointer drag: smooth tracking, normal pointer cursor on icons,
   no browser "hand/grab" cursor that obscures the app hit target. */
#homeScreen #homeAppGrid{cursor:default!important;touch-action:pan-y pinch-zoom!important;scroll-behavior:auto;scroll-snap-type:x mandatory}
#homeScreen #homeAppGrid .launcher-page{scroll-snap-align:start}
#homeScreen #homeAppGrid .app-icon{cursor:pointer!important;touch-action:pan-y!important;-webkit-user-drag:none!important}
#homeScreen #homeAppGrid.launcher-pointer-active{cursor:default!important;user-select:none!important;-webkit-user-select:none!important}
#homeScreen #homeAppGrid.launcher-pointer-active .app-icon{cursor:default!important}
@media(max-width:560px){
 #appContent .gyoweb-sticky-head{padding-top:6px!important;padding-bottom:7px!important}
 #appContent .gyoweb-google-brand{display:none!important}
 #appContent .gyoweb-google .gyoweb-tabs{margin-top:5px!important}
}


/* BUILD 180 — restore original GyoWeb hierarchy: only the search bubble sticks.
   Brand and tabs stay in normal document flow and scroll away with results. */
#appContent:has(.gyoweb-google){display:flex!important;min-height:0!important;overflow:hidden!important}
#appContent .gyoweb-google{display:block!important;position:relative!important;width:100%!important;height:100%!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:0 clamp(10px,3vw,22px) 22px!important}
#appContent .gyoweb-google-brand{display:block!important;position:static!important;padding:clamp(20px,5vh,55px) 8px 22px!important;text-align:center!important}
#appContent .gyoweb-google .gyoweb-search{position:sticky!important;top:0!important;z-index:40!important;display:flex!important;width:100%!important;max-width:760px!important;min-height:52px!important;margin:0 auto!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #53617b!important;border-radius:28px!important;box-shadow:0 5px 22px #0003!important}
#appContent .gyoweb-google .gyoweb-tabs{position:static!important;display:flex!important;margin:17px auto 10px!important}
#appContent .gyoweb-google .gyoweb-status{margin:12px auto!important}
#appContent .gyoweb-google .gyoweb-results,#appContent .gyoweb-google .gyoweb-status,#appContent .gyoweb-google .gyoweb-preview{width:100%!important;max-width:760px!important}
#appContent .gyoweb-scroll-area{display:contents!important}
@media(max-height:560px){#appContent .gyoweb-google-brand{display:block!important;padding:12px 8px 14px!important}}
@media(max-width:560px){#appContent .gyoweb-google-brand{display:block!important;padding:18px 8px 18px!important}#appContent .gyoweb-google .gyoweb-tabs{margin-top:14px!important}}

/* Launcher: keep the original click target; custom swipe must not capture it. */
#homeScreen #homeAppGrid .app-icon{ -webkit-user-drag:none!important;user-select:none!important;-webkit-user-select:none!important;touch-action:pan-y pinch-zoom!important; }
#homeScreen #homeAppGrid.launcher-pointer-active .app-icon{cursor:pointer!important}


/* BUILD 181 — desktop input realism: two-finger trackpad uses native horizontal wheel;
   mouse uses the launcher's primary-button drag handler; ordinary click stays untouched. */
#homeScreen .launcher-pages{
  overscroll-behavior-x:contain!important;
  scroll-snap-type:x mandatory!important;
  scroll-behavior:auto!important;
}
#homeScreen .launcher-page{scroll-snap-align:start!important;}
#homeScreen #homeAppGrid .app-icon{cursor:pointer!important;-webkit-user-drag:none!important;}
#homeScreen #homeAppGrid.launcher-pointer-active{cursor:grabbing!important;}

/* BUILD182 — Game Center leaderboard and skill-round timer */
.gc-skill-timer{display:flex;align-items:center;justify-content:center;width:max-content;min-width:88px;margin:10px auto;padding:8px 18px;border:1px solid rgba(131,163,255,.28);border-radius:999px;background:linear-gradient(135deg,rgba(50,74,145,.42),rgba(22,29,58,.9));color:#eaf0ff;font-size:20px;font-weight:900;letter-spacing:.08em;font-variant-numeric:tabular-nums;box-shadow:0 5px 18px rgba(0,0,0,.2)}
.gc-skill-timer.is-urgent{border-color:rgba(255,112,112,.6);color:#ff9b9b;background:rgba(110,28,45,.32);animation:gcTimerPulse .8s ease-in-out infinite alternate}
@keyframes gcTimerPulse{from{transform:scale(1);filter:brightness(1)}to{transform:scale(1.035);filter:brightness(1.25)}}
.duel-rank-row{grid-template-columns:48px minmax(0,1fr) auto!important;min-height:62px;padding:9px 8px!important;border-radius:12px;gap:10px!important}
.duel-rank-number{display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;width:42px;min-height:42px;border-radius:12px;background:rgba(120,145,210,.1);font-size:10px!important;color:#c8d4f5!important}
.duel-rank-number i{font-size:15px;color:#9eafd8}
.duel-rank-row.podium-1 .duel-rank-number{background:linear-gradient(145deg,rgba(255,210,100,.25),rgba(140,92,20,.16));color:#ffe09a!important}.duel-rank-row.podium-1 .duel-rank-number i{color:#ffd56d}
.duel-rank-row.podium-2 .duel-rank-number{background:linear-gradient(145deg,rgba(207,221,244,.2),rgba(75,95,130,.15))}.duel-rank-row.podium-2 .duel-rank-number i{color:#d6e1f5}
.duel-rank-row.podium-3 .duel-rank-number{background:linear-gradient(145deg,rgba(213,151,108,.2),rgba(105,60,38,.15))}.duel-rank-row.podium-3 .duel-rank-number i{color:#e5a67e}
.duel-rank-player{display:flex;min-width:0;flex-direction:column;gap:4px;overflow:hidden}.duel-rank-player strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f2f5ff;font-size:12px}.duel-rank-player small{font-size:9px;color:#9ba9ca;letter-spacing:.04em}
.duel-rank-score{white-space:nowrap;color:#f4d88e!important;font-size:14px!important;font-variant-numeric:tabular-nums}.duel-rank-score small{display:block;text-align:right;font-size:8px;color:#aeb8d2;letter-spacing:.12em}
@media(max-width:420px){.duel-rank-row{grid-template-columns:42px minmax(0,1fr) auto!important;gap:7px!important;padding:8px 4px!important}.duel-rank-number{width:36px;min-height:38px}.duel-rank-player strong{font-size:11px}.duel-rank-score{font-size:12px!important}.gc-skill-timer{font-size:18px}}

/* BUILD184 — Game Center MOBA-style rank guide and mobile layout correction */
.duel-leaderboard-view .duel-board-scroll{width:100%;min-width:0;overflow-x:hidden!important;padding:clamp(10px,3vw,20px)!important;box-sizing:border-box!important}
.duel-leaderboard-view .duel-leaderboard{width:100%;min-width:0;box-sizing:border-box!important;overflow:hidden!important}
.duel-leaderboard-view .duel-leaderboard-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:9px!important;width:100%!important;min-width:0!important;}
.duel-leaderboard-view .duel-leaderboard-head h3{grid-column:1/-1!important;grid-row:1!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0 0 5px!important;font-size:clamp(15px,4vw,19px)!important;line-height:1.25!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;letter-spacing:0!important}
.duel-leaderboard-view .duel-reset-clock{grid-column:1!important;grid-row:2!important;justify-self:start!important;min-width:0!important;white-space:nowrap!important;font-size:clamp(9px,2.7vw,12px)!important}
.duel-leaderboard-view #duelRankInfo{grid-column:2!important;grid-row:2!important;min-width:0!important;white-space:nowrap!important;padding:8px 10px!important;font-size:11px!important}
.duel-leaderboard-view #duelRefreshBoard{grid-column:3!important;grid-row:2!important;width:38px!important;height:38px!important;padding:0!important}
.duel-leaderboard-view .duel-leaderboard>p{line-height:1.5!important;overflow-wrap:break-word!important}
.duel-leaderboard-view #duelLeaderboard{width:100%!important;min-width:0!important;overflow:hidden!important}
.duel-leaderboard-view .duel-rank-row{min-width:0!important;grid-template-columns:42px minmax(0,1fr) auto!important}
.duel-leaderboard-view .duel-rank-player{min-width:0!important;overflow:hidden!important}
.duel-leaderboard-view .duel-rank-player strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gc-rank-guide-overlay{overflow-y:auto!important;overscroll-behavior:contain!important;padding:clamp(8px,3vw,18px)!important}
.gc-rank-guide-moba{width:min(100%,620px)!important;max-height:min(92%,820px)!important;padding:clamp(13px,3.5vw,20px)!important;overflow-y:auto!important}
.gc-rank-guide-moba header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}
.gc-rank-guide-moba header>div{min-width:0!important;flex:1 1 auto!important}
.gc-rank-guide-moba header h3{font-size:clamp(18px,5vw,24px)!important;line-height:1.2!important;word-break:normal!important;overflow-wrap:break-word!important}
.gc-rank-current-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;padding:11px 13px;border:1px solid rgba(255,213,119,.22);border-radius:15px;background:linear-gradient(100deg,rgba(255,205,104,.13),rgba(109,91,174,.12));color:#f5d994}
.gc-rank-current-summary>span{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:900;letter-spacing:.1em}
.gc-rank-current-summary>strong{font-size:20px;font-weight:950;font-variant-numeric:tabular-nums}
.gc-rank-current-summary>strong small{font-size:10px;color:#b8c5e4}
.gc-rank-tier-tracklist{display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:5px 2px 13px!important;scroll-snap-type:x mandatory!important;scrollbar-width:thin!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important}
.gc-rank-tier{position:relative!important;display:flex!important;flex:0 0 clamp(132px,35vw,166px)!important;min-width:0!important;min-height:158px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:12px 9px!important;border:1px solid rgba(150,170,255,.18)!important;border-radius:17px!important;background:linear-gradient(155deg,rgba(36,49,87,.9),rgba(13,20,40,.98))!important;color:#edf2ff!important;scroll-snap-align:center!important;text-align:center!important;cursor:pointer!important}
.gc-rank-tier.active{border-color:#a9b7ff!important;box-shadow:0 0 0 2px rgba(143,158,255,.16),0 0 22px rgba(120,135,255,.22)!important;transform:translateY(-2px)!important;background:linear-gradient(155deg,rgba(65,74,130,.8),rgba(19,27,53,.98))!important}
.gc-rank-tier-emblem{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#788bda,#3a4b91);color:#fff;font-size:27px;box-shadow:0 7px 18px #0005,inset 0 1px #ffffff55}
.gc-rank-tier.silver .gc-rank-tier-emblem{background:linear-gradient(145deg,#dce8f7,#778ba9);color:#25334e}
.gc-rank-tier.gold .gc-rank-tier-emblem{background:linear-gradient(145deg,#ffe59a,#b77a2d);color:#523512}
.gc-rank-tier.platinum .gc-rank-tier-emblem{background:linear-gradient(145deg,#9cf0e9,#398d9b)}
.gc-rank-tier.diamond .gc-rank-tier-emblem{background:linear-gradient(145deg,#b4eaff,#667fe0)}
.gc-rank-tier.master .gc-rank-tier-emblem{background:linear-gradient(145deg,#ffe39b,#a46bd6)}
.gc-rank-tier>b{font-size:13px!important;line-height:1.15!important;white-space:nowrap!important}
.gc-rank-tier>small{font-size:10px!important;color:#aebcdb!important;white-space:nowrap!important}
.gc-rank-tier>em{font-size:8px!important;font-style:normal!important;font-weight:900!important;letter-spacing:.1em!important;color:#91f0d4!important}
.gc-rank-tier-track{display:block!important;width:90%!important;height:4px!important;border-radius:9px!important;background:#ffffff1c!important;overflow:hidden!important}
.gc-rank-tier-track i{display:block!important;height:100%!important;border-radius:9px!important;background:linear-gradient(90deg,#7d91ff,#6de6ec)!important}
.gc-rank-reward-panel{display:grid!important;grid-template-columns:minmax(92px, .7fr) minmax(0,1.5fr)!important;gap:13px!important;align-items:stretch!important;margin-top:5px!important;padding:13px!important;border:1px solid rgba(150,170,255,.2)!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(29,42,77,.9),rgba(12,18,36,.98))!important;animation:gcRankPanelIn .22s ease both}
.gc-rank-reward-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:150px;border-radius:14px;background:radial-gradient(circle at 50% 30%,rgba(255,214,125,.22),transparent 65%),linear-gradient(150deg,#28375f,#141c37);color:#ffe1a1}
.gc-rank-reward-art>i{font-size:42px;filter:drop-shadow(0 5px 12px #0008)}
.gc-rank-reward-art>span{font-size:8px;font-weight:900;letter-spacing:.14em;color:#b8c8ed}
.gc-rank-reward-art.silver{color:#dce8fa}.gc-rank-reward-art.gold{color:#ffdc83}.gc-rank-reward-art.platinum{color:#92eee4}.gc-rank-reward-art.diamond{color:#9edfff}.gc-rank-reward-art.master{color:#e2b0ff}
.gc-rank-reward-detail{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px}
.gc-rank-reward-detail>small{font-size:8px;font-weight:900;letter-spacing:.13em;color:#9db2e6}
.gc-rank-reward-detail h4{margin:0;font-size:17px;color:#f4f6ff}
.gc-rank-reward-detail p{margin:0;font-size:10px;line-height:1.45;color:#aebbd8}
.gc-rank-reward-amount{display:flex;align-items:center;gap:8px;margin:5px 0;color:#ffdc91}
.gc-rank-reward-amount i{font-size:14px}
.gc-rank-reward-amount strong{font-size:20px;font-weight:950}
.gc-rank-reward-progress{display:grid;gap:5px;margin-top:4px}
.gc-rank-reward-progress>div{display:flex;justify-content:space-between;gap:7px;font-size:8px;color:#aebbd8}
.gc-rank-reward-progress>div b{color:#dfe8ff;white-space:nowrap}
.gc-rank-reward-progress>i{height:5px;border-radius:9px;background:#ffffff1c;overflow:hidden}
.gc-rank-reward-progress>i span{display:block;height:100%;background:linear-gradient(90deg,#7e8fff,#70e6e2);border-radius:9px}
.gc-rank-guide-moba footer{line-height:1.5!important;margin-top:10px!important}
@keyframes gcRankPanelIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
/* Player profile: trophy-led identity and clean MOBA stat tiles */
.gc-profile-view .gc-profile-scroll{width:100%!important;max-width:760px!important;margin:0 auto!important;padding:clamp(12px,3vw,22px)!important;box-sizing:border-box!important}
.gc-profile-view .gc-profile-card{display:grid!important;grid-template-columns:clamp(72px,20vw,112px) minmax(0,1fr)!important;align-items:center!important;gap:14px!important;min-width:0!important;padding:clamp(15px,4vw,24px)!important;border-radius:22px!important;background:radial-gradient(circle at 10% 15%,rgba(104,191,255,.27),transparent 42%),linear-gradient(120deg,#20375e,#28214f)!important}
.gc-profile-view .gc-profile-card>div:last-child{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:5px 8px!important;min-width:0!important}
.gc-profile-view .gc-profile-card>div:last-child>small,.gc-profile-view .gc-profile-card h3,.gc-profile-view .gc-profile-card>div:last-child>span{grid-column:1/-1!important;min-width:0!important}
.gc-profile-view .gc-profile-card h3{font-size:clamp(20px,5vw,29px)!important;line-height:1.15!important;overflow-wrap:anywhere!important}
.gc-profile-view .gc-profile-card>div:last-child>span{font-size:10px!important;color:#c1cce6!important}
.gc-profile-view .gc-profile-rank{display:inline-flex!important;align-items:center!important;justify-self:start!important;gap:6px!important;width:max-content!important;max-width:100%!important;margin:3px 0 0!important;padding:7px 11px!important;border-radius:30px!important;white-space:nowrap!important}
.gc-profile-view .gc-profile-trophy{grid-column:2!important;grid-row:4!important;justify-self:end!important;display:flex!important;align-items:center!important;gap:6px!important;color:#ffdf91!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important}
.gc-profile-view .gc-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:14px 0!important}
.gc-profile-view .gc-stat-grid article{min-width:0!important;min-height:102px!important;padding:15px!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(28,42,76,.95),rgba(15,23,44,.98))!important;border:1px solid rgba(135,163,225,.2)!important}
.gc-profile-view .gc-stat-grid article small{display:block!important;font-size:10px!important;line-height:1.3!important;color:#aebcda!important}
.gc-profile-view .gc-stat-grid article strong{display:block!important;margin-top:8px!important;font-size:clamp(25px,7vw,34px)!important;line-height:1!important;font-weight:950!important;font-variant-numeric:tabular-nums!important;color:#f5f7ff!important}
/* Matchmaking content sits comfortably in the device viewport, not against the subnav */
.duel-lobby-view .duel-lobby-content{width:100%!important;max-width:720px!important;margin:0 auto!important;padding:clamp(18px,5vh,42px) clamp(10px,3vw,18px) 28px!important;box-sizing:border-box!important}
.duel-lobby-view .number-duel-card{margin:0 auto!important}
@media(max-width:480px){
 .duel-leaderboard-view .duel-board-scroll{padding:9px!important}
 .duel-leaderboard-view .duel-leaderboard{padding:12px!important}
 .duel-leaderboard-view .duel-leaderboard-head{grid-template-columns:minmax(0,1fr) auto auto!important;gap:6px!important}
 .duel-leaderboard-view #duelRankInfo{font-size:10px!important;padding:7px 8px!important}
 .gc-rank-guide-moba{max-height:94%!important}
 .gc-rank-reward-panel{grid-template-columns:82px minmax(0,1fr)!important;gap:9px!important;padding:9px!important}
 .gc-rank-reward-art{min-height:140px!important}
 .gc-rank-reward-art>i{font-size:32px!important}
 .gc-rank-reward-detail h4{font-size:15px!important}
 .gc-rank-reward-amount strong{font-size:17px!important}
 .gc-profile-view .gc-profile-card{grid-template-columns:72px minmax(0,1fr)!important;gap:10px!important}
 .gc-profile-view .gc-profile-avatar{width:68px!important;height:68px!important}
 .gc-profile-view .gc-profile-card>div:last-child>span{overflow-wrap:anywhere!important}
 .duel-lobby-view .duel-lobby-content{padding-top:clamp(16px,4vh,28px)!important}
}
@media(max-width:350px){.duel-leaderboard-view .duel-leaderboard-head{grid-template-columns:minmax(0,1fr) auto!important}.duel-leaderboard-view .duel-reset-clock{grid-column:1!important}.duel-leaderboard-view #duelRankInfo{grid-column:1!important;grid-row:3!important;justify-self:start!important}.duel-leaderboard-view #duelRefreshBoard{grid-column:2!important;grid-row:2!important}.gc-rank-reward-panel{grid-template-columns:1fr!important}.gc-rank-reward-art{min-height:90px!important;flex-direction:row!important}}

/* Build184 visual art direction: distinct illustrated atmospheres per arena */
.duel-menu-view .gc-game-card{position:relative!important;isolation:isolate!important;overflow:hidden!important}
.duel-menu-view .gc-game-card:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.95;pointer-events:none}
.duel-menu-view .gc-game-duel:before{background:radial-gradient(ellipse at 18% 20%,rgba(77,173,255,.35),transparent 48%),linear-gradient(145deg,rgba(25,70,125,.35),transparent 62%)}
.duel-menu-view .gc-game-element:before{background:radial-gradient(circle at 78% 20%,rgba(255,139,80,.34),transparent 42%),radial-gradient(circle at 20% 85%,rgba(255,205,97,.13),transparent 40%),linear-gradient(145deg,rgba(108,47,50,.24),transparent 68%)}
.duel-menu-view .gc-game-maze:before{background:repeating-linear-gradient(135deg,rgba(102,238,196,.045) 0 2px,transparent 2px 13px),radial-gradient(circle at 50% 10%,rgba(69,220,185,.27),transparent 58%)}
.duel-menu-view .gc-game-memory:before{background:radial-gradient(circle at 80% 20%,rgba(184,129,255,.36),transparent 45%),radial-gradient(circle at 15% 85%,rgba(99,109,255,.2),transparent 45%)}
.duel-menu-view .gc-game-card .gc-game-art{position:relative!important;overflow:hidden!important}
.duel-menu-view .gc-game-card .gc-game-art:after{content:"";position:absolute;inset:9% 20%;border:1px solid rgba(255,255,255,.13);border-radius:45% 55% 52% 48%;transform:rotate(-18deg);box-shadow:0 0 25px var(--gc-glow,rgba(126,151,255,.4)),inset 0 0 20px rgba(255,255,255,.04);pointer-events:none}
.duel-menu-view .gc-game-card .gc-game-art i{position:relative;z-index:1;font-size:clamp(31px,8vw,42px)!important}
.duel-menu-view .gc-game-info{position:relative!important;z-index:1!important}
.duel-lobby-view .number-duel-card{box-shadow:0 20px 48px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.06)!important}
.duel-lobby-view .duel-search-visual.searching:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,rgba(120,223,255,.12) 49%,rgba(255,255,255,.2) 51%,transparent 65%);animation:gcMatchShimmer 2s linear infinite}
.duel-game-view .duel-subnav{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important}
.duel-game-view .duel-subnav .duel-back-button{justify-self:start!important;max-width:100%!important}
.duel-game-view .duel-subnav .duel-round-clock{grid-column:2!important;grid-row:1!important;justify-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:76px!important;padding:7px 13px!important;border:1px solid rgba(255,211,126,.3)!important;border-radius:30px!important;background:linear-gradient(135deg,rgba(110,79,33,.3),rgba(45,38,61,.55))!important;box-shadow:0 0 16px rgba(255,205,108,.12)!important}
.duel-game-view .duel-subnav .duel-game-label{grid-column:3!important;grid-row:1!important;justify-self:end!important;text-align:right!important;font-size:9px!important;line-height:1.2!important}
@media(max-width:420px){.duel-game-view .duel-subnav{grid-template-columns:minmax(0,1fr) auto!important}.duel-game-view .duel-subnav .duel-game-label{display:none!important}.duel-game-view .duel-subnav .duel-round-clock{grid-column:2!important}}


/* BUILD185 — Cloud Phone retention notice */
.gyo-retention-notice{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;background:rgba(3,7,18,.78);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.gyo-retention-notice[hidden]{display:none!important}
.gyo-retention-notice-card{width:min(100%,420px);padding:26px 24px 22px;border:1px solid rgba(129,140,248,.34);border-radius:24px;background:linear-gradient(145deg,#18223d 0%,#101629 58%,#17152e 100%);box-shadow:0 24px 80px rgba(0,0,0,.48);color:#f8fafc;text-align:center}
.gyo-retention-notice-icon{width:64px;height:64px;margin:0 auto 16px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(135deg,#667eea,#764ba2);font-size:27px;color:#fff;box-shadow:0 10px 30px rgba(99,102,241,.28)}
.gyo-retention-notice-card h2{margin:0 0 10px;font-size:20px;line-height:1.3;font-weight:800;overflow-wrap:normal;word-break:normal}
.gyo-retention-notice-card p{margin:0;color:#cbd5e1;font-size:14px;line-height:1.65;overflow-wrap:normal;word-break:normal}
.gyo-retention-notice-card button{width:100%;min-height:48px;margin-top:22px;border:0;border-radius:14px;background:linear-gradient(110deg,#477de7,#6548c8);color:#fff;font-size:15px;font-weight:800;cursor:pointer}
@media(max-width:480px){.gyo-retention-notice{padding:18px}.gyo-retention-notice-card{padding:23px 19px 19px;border-radius:21px}}


/* BUILD186 — consistent rank sparkle, readable rewards, and unified Number Duel matchmaking */
.gc-rank-tier.diamond,.gc-rank-tier.master{isolation:isolate;overflow:hidden}
.gc-rank-tier.diamond:after,.gc-rank-tier.master:after{content:"✦  ·  ✧  ·  ✦";position:absolute;inset:8px 0 auto;z-index:2;pointer-events:none;text-align:center;letter-spacing:12px;font-size:11px;color:#fff7c9;text-shadow:0 0 7px #fff,0 0 16px #ffd76a;animation:gcRankSparkle 2.4s ease-in-out infinite}
.gc-rank-tier.diamond .gc-rank-tier-emblem,.gc-rank-tier.master .gc-rank-tier-emblem{position:relative;box-shadow:0 0 0 1px #fff5,0 0 18px rgba(255,220,130,.55),0 0 34px rgba(124,215,255,.3),inset 0 1px #fff9;animation:gcHighRankPulse 2s ease-in-out infinite}
.gc-rank-tier.master .gc-rank-tier-emblem{box-shadow:0 0 0 1px #fff6,0 0 20px rgba(255,205,105,.75),0 0 38px rgba(210,140,255,.42),inset 0 1px #fff9}
.duel-rank-row.rank-diamond .duel-rank-number i,.duel-rank-row.rank-master .duel-rank-number i{filter:drop-shadow(0 0 5px rgba(120,220,255,.8));animation:gcRankIconSparkle 2s ease-in-out infinite}
.duel-rank-row.rank-master .duel-rank-number i{color:#ffd777!important;filter:drop-shadow(0 0 5px #ffd777) drop-shadow(0 0 11px #b47cff)}
.duel-rank-row.rank-diamond .duel-rank-number i{color:#a9edff!important}
.gc-rank-reward-panel{grid-template-columns:minmax(92px, .62fr) minmax(0,1.8fr)!important;min-width:0!important}
.gc-rank-reward-art{min-width:0!important;padding:10px 6px!important}
.gc-rank-reward-art>span{max-width:100%;white-space:normal!important;text-align:center;line-height:1.35;overflow-wrap:normal!important;word-break:keep-all!important;letter-spacing:.1em!important}
.gc-rank-reward-detail{min-width:0!important;overflow:hidden}
.gc-rank-reward-detail>small{line-height:1.4!important;overflow-wrap:break-word!important}
.gc-rank-reward-detail h4{line-height:1.2!important;overflow-wrap:break-word!important}
.gc-rank-reward-detail p{font-size:11px!important;line-height:1.45!important}
.gc-rank-reward-amount{flex-wrap:wrap!important;gap:6px!important}
.gc-rank-reward-amount strong{font-size:clamp(16px,4vw,22px)!important;white-space:normal!important;overflow-wrap:anywhere!important}
.gc-rank-reward-progress>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:5px!important;font-size:9px!important;line-height:1.35!important}
.gc-rank-reward-progress>div b{white-space:normal!important;text-align:right!important}
@keyframes gcRankSparkle{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(3px)}}
@keyframes gcHighRankPulse{0%,100%{filter:brightness(1);transform:translateY(0)}50%{filter:brightness(1.22);transform:translateY(-2px)}}
@keyframes gcRankIconSparkle{0%,100%{filter:drop-shadow(0 0 3px currentColor)}50%{filter:drop-shadow(0 0 8px currentColor) drop-shadow(0 0 13px #fff8)}}
/* Number Duel adopts the same centered search timer treatment as the other arenas. */
.duel-lobby-view .duel-search-visual{position:relative!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;align-items:center!important;gap:7px!important;min-height:0!important;padding:12px 10px 14px!important;border:1px solid rgba(112,224,255,.2)!important;border-radius:16px!important;background:linear-gradient(110deg,rgba(22,53,88,.42),rgba(37,28,76,.42))!important;text-align:center!important}
.duel-lobby-view .duel-search-visual .duel-countdown{display:block!important;grid-row:1!important;order:0!important;position:relative!important;margin:0 auto 2px!important;padding:8px 23px!important;min-width:132px!important;border:1px solid rgba(112,224,255,.38)!important;border-radius:18px!important;background:radial-gradient(circle,rgba(74,166,255,.22),rgba(46,48,104,.48))!important;color:#fff!important;font-size:27px!important;font-weight:950!important;letter-spacing:.08em!important;text-shadow:0 0 14px rgba(100,213,255,.8)!important;box-shadow:0 0 18px rgba(79,190,255,.2),inset 0 0 18px rgba(120,150,255,.12)!important}
.duel-lobby-view .duel-search-visual>div{display:flex!important;flex:0 1 auto!important;align-items:center!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
.duel-lobby-view .duel-search-visual .duel-radar{width:38px!important;height:38px!important}
.duel-lobby-view .duel-search-visual.searching .duel-countdown{animation:gcSearchGlow 1.45s ease-in-out infinite}
.duel-lobby-view .number-duel-card{background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:480px){.gc-rank-reward-panel{grid-template-columns:78px minmax(0,1fr)!important;gap:8px!important;padding:9px!important}.gc-rank-reward-art{min-height:132px!important}.gc-rank-reward-art>span{font-size:7px!important;letter-spacing:.06em!important}.gc-rank-reward-detail>small{font-size:8px!important}.gc-rank-reward-detail p{font-size:10px!important}.gc-rank-reward-progress>div{font-size:8px!important}}
@media(max-width:350px){.gc-rank-reward-panel{grid-template-columns:1fr!important}.gc-rank-reward-art{min-height:78px!important;flex-direction:row!important}.gc-rank-reward-art>span{font-size:8px!important}}


/* BUILD188 — mobile launcher: reserve one full cell for glyph + label.
   The previous 4-row grid was being squeezed by the home header/widgets/dock
   on some Android viewport sizes, causing labels to sit over the next row. */
@media (max-width:520px) and (orientation:portrait){
  #homeScreen .launcher-pages{flex:1 1 0%!important;height:0!important;min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important}
  #homeScreen .launcher-page{height:100%!important;min-height:0!important;overflow:hidden!important}
  #homeScreen .launcher-page .app-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:0!important;
    align-content:stretch!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;
    gap:clamp(5px,1.2cqh,11px) 5px!important;
    padding:5px 3px 7px!important;box-sizing:border-box!important;
  }
  #homeScreen .launcher-page .app-icon{
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:100%!important;
    gap:5px!important;padding:4px 2px 2px!important;overflow:hidden!important;box-sizing:border-box!important;
  }
  #homeScreen .launcher-page .app-glyph{
    flex:0 0 auto!important;width:clamp(34px,10.5cqw,46px)!important;height:clamp(34px,10.5cqw,46px)!important;
    max-width:100%!important;aspect-ratio:1/1!important;border-radius:clamp(9px,3cqw,15px)!important;
    font-size:clamp(15px,4.3cqw,20px)!important;
  }
  #homeScreen .launcher-page .app-icon small{
    display:-webkit-box!important;flex:0 1 auto!important;width:100%!important;max-width:100%!important;
    min-height:0!important;max-height:2.35em!important;overflow:hidden!important;
    -webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    white-space:normal!important;text-overflow:ellipsis!important;overflow-wrap:anywhere!important;word-break:normal!important;
    text-align:center!important;font-size:clamp(8px,2.45cqw,10px)!important;line-height:1.15!important;
  }
}


/* BUILD189: unified Number Duel matchmaking, MOBA profile, arena hub and trackpad support */
.duel-lobby-view .duel-lobby-content{padding:clamp(22px,5vh,46px) clamp(12px,3vw,20px) 34px!important;}
.duel-lobby-view .number-duel-card{max-width:650px!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.duel-lobby-view .duel-number-arena{gap:15px!important;padding:0!important;}
.duel-number-arena .gc-proto-head{padding:clamp(20px,5vw,30px)!important;border-radius:22px!important;background:radial-gradient(circle at 50% 0,rgba(95,151,255,.25),transparent 60%),linear-gradient(145deg,#1b2850,#0d142b)!important;border:1px solid rgba(139,169,255,.22)!important;text-align:center!important;}
.duel-number-arena .gc-proto-head h3{font-size:clamp(24px,6vw,34px)!important;letter-spacing:.06em!important;margin:10px 0!important;}
.duel-number-arena .gc-matchmaking-card{padding:clamp(16px,4vw,24px)!important;gap:14px!important;border-radius:23px!important;}
.duel-number-arena .gc-match-search-clock{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:150px;width:max-content;max-width:100%;margin:0 auto 2px;padding:13px 28px;border:1px solid rgba(111,219,255,.34);border-radius:20px;background:linear-gradient(145deg,rgba(44,75,146,.72),rgba(37,42,94,.85));color:#f4f7ff;box-shadow:0 0 22px rgba(94,162,255,.18);}
.duel-number-arena .gc-match-search-clock strong{font-size:clamp(28px,8vw,40px);line-height:1;font-weight:950;font-variant-numeric:tabular-nums;letter-spacing:.05em}
.duel-number-arena .gc-match-search-clock small{font-size:9px;letter-spacing:.2em;color:#9deaff;font-weight:900}
.duel-number-arena .gc-match-search-clock.is-searching{animation:gcMatchGlow 1.6s ease-in-out infinite}
.duel-number-arena .gc-skill-vs{min-height:92px!important;padding:18px!important;}
.duel-number-arena .duel-trophy-strip{margin:0!important;}
.duel-number-arena .gc-number-rules{margin:0!important;color:#aebcda;font-size:12px;line-height:1.55;}
.duel-number-arena .duel-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
.duel-number-arena .duel-actions .primary-btn,.duel-number-arena .duel-actions .secondary-btn{width:100%!important;min-height:54px!important;}
.duel-number-arena .duel-status{min-height:48px!important;text-align:center!important;}
.duel-menu-view .gc-home-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:13px!important;}
.duel-menu-view .gc-home-tools .gc-game-search{width:100%!important;min-width:0!important;min-height:50px!important;}
.duel-menu-view .gc-home-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:9px!important;}
.duel-menu-view .gc-home-nav .duel-nav-icon{width:100%!important;min-width:0!important;height:48px!important;justify-content:center!important;gap:8px!important;}
.duel-menu-view .gc-home-nav .duel-nav-icon small{font-size:10px!important;white-space:nowrap!important;}
.duel-menu-view .gc-arena-hub{padding:clamp(13px,3vw,20px)!important;border:1px solid rgba(139,160,255,.22)!important;border-radius:23px!important;background:radial-gradient(ellipse at 50% 0,rgba(91,125,238,.2),transparent 55%),linear-gradient(145deg,#172342,#0b1226)!important;}
.duel-menu-view .gc-game-card{min-height:178px!important;grid-template-rows:92px auto!important;border-radius:19px!important;}
.duel-menu-view .gc-game-card .gc-game-art{height:92px!important;position:relative!important;}
.duel-menu-view .gc-game-card .gc-game-art i{font-size:42px!important;}
.duel-menu-view .gc-game-card .gc-game-art em{position:absolute;right:10px;top:7px;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.15em;color:rgba(255,255,255,.5);}
.duel-menu-view .gc-game-card .gc-game-info{gap:5px!important;padding:0 9px 12px!important;}
.duel-menu-view .gc-game-info b{font-size:14px!important;}
.duel-menu-view .gc-game-info small{font-size:10px!important;}
.duel-menu-view .gc-game-info em{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:5px auto 0!important;padding:6px 10px;border-radius:30px;background:rgba(140,177,255,.13);border:1px solid rgba(150,183,255,.14);font-size:8px!important;}
.duel-menu-view .gc-game-duel .gc-game-art{background:radial-gradient(circle,rgba(87,173,255,.35),transparent 67%),linear-gradient(135deg,rgba(31,93,151,.55),rgba(14,24,54,.1))!important;}
.duel-menu-view .gc-game-element .gc-game-art{background:radial-gradient(circle,rgba(255,154,93,.38),transparent 67%),linear-gradient(135deg,rgba(123,57,56,.55),rgba(36,18,35,.1))!important;}
.duel-menu-view .gc-game-maze .gc-game-art{background:radial-gradient(circle,rgba(82,222,185,.34),transparent 67%),linear-gradient(135deg,rgba(26,105,100,.5),rgba(11,35,43,.1))!important;}
.duel-menu-view .gc-game-memory .gc-game-art{background:radial-gradient(circle,rgba(194,131,255,.36),transparent 67%),linear-gradient(135deg,rgba(89,55,147,.55),rgba(31,19,61,.1))!important;}
.gc-profile-view .gc-profile-moba-card{position:relative!important;grid-template-columns:clamp(74px,19vw,104px) minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:10px 14px!important;padding:clamp(15px,4vw,23px)!important;overflow:hidden!important;background:radial-gradient(circle at 10% 15%,rgba(95,189,255,.34),transparent 40%),radial-gradient(circle at 100% 0,rgba(173,119,255,.24),transparent 45%),linear-gradient(125deg,#203b68,#27204f)!important;}
.gc-profile-view .gc-profile-avatar{position:relative!important;grid-column:1!important;grid-row:1!important;width:100%!important;aspect-ratio:1!important;height:auto!important;display:grid!important;place-items:center!important;border-radius:23px!important;background:linear-gradient(145deg,#77caff,#7466ed)!important;box-shadow:0 10px 25px rgba(0,0,0,.25),0 0 25px rgba(115,174,255,.28)!important;}
.gc-profile-view .gc-profile-avatar>i{font-size:clamp(30px,8vw,44px)!important;color:white!important;}
.gc-profile-view .gc-profile-level{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);padding:3px 8px;border-radius:20px;background:#101a36;border:1px solid rgba(255,255,255,.2);font-size:8px;font-weight:900;white-space:nowrap;}
.gc-profile-view .gc-profile-identity{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;}
.gc-profile-view .gc-profile-identity h3{margin:2px 0!important;font-size:clamp(20px,5.5vw,29px)!important;line-height:1.1!important;overflow-wrap:anywhere!important;}
.gc-profile-view .gc-profile-idline{font-size:9px!important;color:#c4d1ee!important;}
.gc-profile-view .gc-profile-rank{margin:4px 0 0!important;}
.gc-profile-view .gc-profile-trophy-box{grid-column:3!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:68px!important;padding:10px 8px!important;border-radius:17px!important;background:linear-gradient(145deg,rgba(255,217,133,.2),rgba(255,177,76,.07))!important;border:1px solid rgba(255,218,141,.28)!important;color:#ffdf94!important;}
.gc-profile-view .gc-profile-trophy-box>i{font-size:20px!important;filter:drop-shadow(0 0 9px rgba(255,210,112,.55));}
.gc-profile-view .gc-profile-trophy-box>strong{font-size:22px!important;line-height:1!important;font-weight:950!important;}
.gc-profile-view .gc-profile-trophy-box>small{font-size:7px!important;letter-spacing:.1em!important;white-space:nowrap!important;}
.gc-profile-view .gc-profile-season-tag{grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.12)!important;font-size:8px!important;letter-spacing:.14em!important;color:#b8c9ed!important;}
.gc-profile-view .gc-profile-season-tag b{color:#a8eaff!important;}
.gc-profile-view .gc-profile-section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 2px 10px;color:#dbe6ff;font-size:11px;font-weight:900;letter-spacing:.12em;}
.gc-profile-view .gc-profile-section-title small{font-size:8px;color:#8fa3cb;letter-spacing:.08em;}
.gc-profile-view .gc-stat-grid article{position:relative!important;padding-top:34px!important;}
.gc-profile-view .gc-stat-grid article>i{position:absolute;top:13px;right:14px;color:#91cfff;font-size:15px;filter:drop-shadow(0 0 8px rgba(105,181,255,.3));}
.gc-profile-view .gc-stat-grid article:nth-child(2)>i{color:#ffd67c;}
.gc-profile-view .gc-stat-grid article:nth-child(4)>i{color:#b99cff;}
@keyframes gcMatchGlow{0%,100%{box-shadow:0 0 10px rgba(90,167,255,.16);filter:brightness(1)}50%{box-shadow:0 0 28px rgba(99,198,255,.42),0 0 48px rgba(134,113,255,.2);filter:brightness(1.12)}}
@media(max-width:520px){.duel-menu-view .gc-game-card{min-height:166px!important;grid-template-rows:82px auto!important}.duel-menu-view .gc-game-card .gc-game-art{height:82px!important}.gc-profile-view .gc-profile-moba-card{grid-template-columns:68px minmax(0,1fr) 62px!important;gap:9px!important}.gc-profile-view .gc-profile-trophy-box{min-width:0!important;padding:8px 5px!important}.gc-profile-view .gc-profile-trophy-box>strong{font-size:19px!important}}
@media(max-width:360px){.duel-menu-view .gc-game-card{min-height:154px!important}.duel-menu-view .gc-game-info b{font-size:12px!important}.gc-profile-view .gc-profile-moba-card{grid-template-columns:58px minmax(0,1fr) 56px!important}.gc-profile-view .gc-profile-avatar{border-radius:16px!important}.gc-profile-view .gc-profile-trophy-box>small{font-size:6px!important}}

.duel-match-overlay.countdown-mode .duel-match-popup{min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.duel-match-overlay.countdown-mode .duel-match-popup>small,.duel-match-overlay.countdown-mode .duel-popup-versus,.duel-match-overlay.countdown-mode #duelPopupTitle{opacity:.28}
.duel-match-overlay.countdown-mode #duelPopupText{font-size:clamp(58px,16vw,86px)!important;line-height:1!important;font-weight:1000!important;letter-spacing:.06em!important;color:#aeeaff!important;text-shadow:0 0 16px rgba(95,203,255,.75),0 0 38px rgba(128,108,255,.55)!important;margin:12px 0!important}
.duel-number-arena .gc-match-search-clock.hidden{display:none!important}


/* BUILD190 — Game Center profile, leaderboard, and shared match timer hardening */
.gc-profile-view .gc-profile-scroll{width:100%;max-width:1120px;margin:0 auto;padding:clamp(12px,2.5vw,28px);box-sizing:border-box;overflow-x:hidden}
.gc-profile-view .gc-profile-moba-card{display:grid!important;grid-template-columns:112px minmax(0,1fr) 104px!important;grid-template-areas:"avatar identity trophy" "season season season"!important;align-items:center!important;gap:16px!important;width:100%;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
.gc-profile-view .gc-profile-avatar{grid-area:avatar!important;width:100%;min-width:0!important;aspect-ratio:1/1!important}
.gc-profile-view .gc-profile-identity{grid-area:identity!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;min-width:0!important;width:100%!important}
.gc-profile-view .gc-profile-identity>small{display:block!important;max-width:100%!important;font-size:clamp(9px,1vw,12px)!important;letter-spacing:.12em!important;line-height:1.35!important;overflow-wrap:normal!important;word-break:normal!important}
.gc-profile-view .gc-profile-identity h3{display:block!important;width:100%!important;max-width:100%!important;font-size:clamp(23px,3vw,36px)!important;line-height:1.1!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;margin:0!important}
.gc-profile-view .gc-profile-identity .gc-profile-idline{display:block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;font-size:12px!important}
.gc-profile-view .gc-profile-identity .gc-profile-rank{display:inline-flex!important;align-items:center!important;gap:7px!important;max-width:100%!important;white-space:nowrap!important;margin-top:2px!important}
.gc-profile-view .gc-profile-trophy-box{grid-area:trophy!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
.gc-profile-view .gc-profile-season-tag{grid-area:season!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;min-width:0!important;width:100%!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.14)!important}
.gc-profile-view .gc-profile-season-tag span,.gc-profile-view .gc-profile-season-tag b{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
.gc-profile-view .gc-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.gc-profile-view .gc-stat-grid article{min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
.gc-profile-view .gc-stat-grid article small{display:block!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
.duel-leaderboard-view .duel-board-scroll{width:100%!important;max-width:1120px!important;margin:0 auto!important;padding:clamp(10px,2.5vw,26px)!important;box-sizing:border-box!important;overflow-x:hidden!important}
.duel-leaderboard-view .duel-leaderboard{width:100%!important;min-width:0!important;box-sizing:border-box!important}
.duel-leaderboard-view .duel-leaderboard-head{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important}
.duel-leaderboard-view .duel-leaderboard-head h3{flex:1 1 100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:normal!important}
.duel-leaderboard-view .duel-rank-row{display:grid!important;grid-template-columns:44px minmax(0,1fr) minmax(58px,auto)!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
.duel-leaderboard-view .duel-rank-number{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important}
.duel-leaderboard-view .duel-rank-player{display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden!important}
.duel-leaderboard-view .duel-rank-player strong{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.25!important}
.duel-leaderboard-view .duel-rank-player small{display:block!important;white-space:normal!important;line-height:1.3!important}
.duel-leaderboard-view .duel-rank-score{white-space:nowrap!important;text-align:right!important;font-variant-numeric:tabular-nums!important}
.duel-number-arena .gc-matchmaking-unified{width:min(100%,680px)!important;margin:0 auto!important;box-sizing:border-box!important}
.duel-number-arena .gc-proto-head{width:min(100%,680px)!important;margin:0 auto 14px!important;box-sizing:border-box!important}
.duel-number-arena .gc-matchmaking-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important}
.duel-number-arena .gc-skill-vs{width:100%!important;box-sizing:border-box!important}
.duel-number-arena .gc-number-rules{line-height:1.55!important;overflow-wrap:break-word!important}
.duel-round-timer-center,.gc-element-round-timer{margin:0 auto 14px!important;width:max-content!important;min-width:110px!important;text-align:center!important;font-size:clamp(22px,4vw,30px)!important}
.duel-game-view .duel-round-clock{display:none!important}
.gc-element-match-board .gc-element-round-timer{position:sticky;top:4px;z-index:3}
.gc-rank-test-button{margin-top:10px!important;border:1px dashed rgba(255,205,100,.65)!important;color:#ffdf91!important;background:linear-gradient(110deg,rgba(105,75,20,.22),rgba(90,45,130,.2))!important}
@media(max-width:640px){
 .gc-profile-view .gc-profile-scroll{padding:10px!important}
 .gc-profile-view .gc-profile-moba-card{grid-template-columns:76px minmax(0,1fr) 66px!important;gap:10px!important;padding:14px!important}
 .gc-profile-view .gc-profile-identity>small{font-size:8px!important;letter-spacing:.08em!important}
 .gc-profile-view .gc-profile-identity h3{font-size:clamp(20px,6vw,27px)!important}
 .gc-profile-view .gc-profile-identity .gc-profile-idline{font-size:10px!important}
 .gc-profile-view .gc-profile-trophy-box{padding:8px 4px!important}
 .gc-profile-view .gc-profile-season-tag{font-size:10px!important}
 .gc-profile-view .gc-stat-grid{gap:9px!important}
 .gc-profile-view .gc-stat-grid article{padding:14px 12px!important}
 .duel-leaderboard-view .duel-board-scroll{padding:9px!important}
 .duel-leaderboard-view .duel-rank-row{grid-template-columns:38px minmax(0,1fr) 54px!important;gap:7px!important;padding:9px 7px!important}
 .duel-leaderboard-view .duel-rank-score{font-size:12px!important}
 .duel-number-arena .gc-proto-head h3{font-size:clamp(25px,8vw,36px)!important;line-height:1.08!important}
 .duel-number-arena .gc-matchmaking-card{padding:15px!important}
}
@media(min-width:900px){.gc-profile-view .gc-profile-scroll{padding:28px!important}.gc-profile-view .gc-profile-card{min-height:190px!important}.gc-profile-view .gc-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}


/* Build192: consistent league emblems + profile identity wrapping fix */
.duel-rank-number{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:0 0 48px!important;min-width:48px!important;}
.duel-rank-number>span{display:block!important;line-height:1!important;font-weight:900!important;}
.duel-rank-number>i{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:11px!important;font-size:17px!important;line-height:1!important;background:rgba(255,255,255,.08)!important;}
.duel-rank-row.rank-bronze .duel-rank-number>i{color:#d69a68!important;background:rgba(177,112,65,.16)!important;}
.duel-rank-row.rank-silver .duel-rank-number>i{color:#d9e3f4!important;background:rgba(185,202,225,.16)!important;}
.duel-rank-row.rank-gold .duel-rank-number>i{color:#ffd36f!important;background:rgba(255,198,72,.16)!important;}
.duel-rank-row.rank-platinum .duel-rank-number>i{color:#8ce9e0!important;background:rgba(91,222,208,.15)!important;}
.duel-rank-row.rank-diamond .duel-rank-number>i{color:#85dfff!important;background:rgba(91,201,255,.16)!important;}
.duel-rank-row.rank-master .duel-rank-number>i{color:#ffd77a!important;background:rgba(255,190,64,.18)!important;filter:drop-shadow(0 0 7px rgba(255,194,72,.5));}
.duel-rank-player{min-width:0!important;flex:1 1 auto!important;}
.duel-rank-player strong,.duel-rank-player small{display:block!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-card.gc-profile-moba-card{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;grid-template-areas:"avatar identity trophy" "season season season"!important;align-items:center!important;gap:14px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.gc-profile-avatar{grid-area:avatar!important;flex:none!important;width:76px!important;height:76px!important;min-width:76px!important;}
.gc-profile-identity{grid-area:identity!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;width:100%!important;}
.gc-profile-identity>small{display:block!important;max-width:100%!important;font-size:9px!important;line-height:1.35!important;letter-spacing:.11em!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;}
.gc-profile-identity h3{display:block!important;max-width:100%!important;min-width:0!important;margin:2px 0!important;font-size:clamp(20px,3vw,28px)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-identity .gc-profile-idline{display:block!important;max-width:100%!important;font-size:11px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-rank{max-width:100%!important;white-space:nowrap!important;letter-spacing:.1em!important;}
.gc-profile-trophy-box{grid-area:trophy!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;flex:0 0 82px!important;width:82px!important;min-width:82px!important;min-height:82px!important;box-sizing:border-box!important;}
.gc-profile-season-tag{grid-area:season!important;display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important;width:100%!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.14)!important;}
.gc-profile-season-tag span,.gc-profile-season-tag b{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-scroll{width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-x:hidden!important;}
.gc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;min-width:0!important;}
.gc-stat-grid article{min-width:0!important;box-sizing:border-box!important;}
.gc-stat-grid article small{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.4!important;}
.gc-profile-note span{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;}
@media(max-width:560px){
 .gc-profile-scroll{padding:12px 10px 22px!important;}
 .gc-profile-card.gc-profile-moba-card{grid-template-columns:64px minmax(0,1fr)!important;grid-template-areas:"avatar identity" "trophy trophy" "season season"!important;gap:12px!important;padding:14px!important;}
 .gc-profile-avatar{width:64px!important;height:64px!important;min-width:64px!important;border-radius:17px!important;font-size:24px!important;}
 .gc-profile-identity>small{font-size:8px!important;letter-spacing:.09em!important;}
 .gc-profile-identity h3{font-size:22px!important;}
 .gc-profile-trophy-box{width:100%!important;min-width:0!important;min-height:54px!important;flex-direction:row!important;justify-content:flex-start!important;gap:10px!important;padding:9px 12px!important;border-radius:13px!important;}
 .gc-profile-trophy-box i{font-size:19px!important;}
 .gc-profile-trophy-box strong{font-size:21px!important;}
 .gc-profile-trophy-box small{margin-left:auto!important;font-size:9px!important;white-space:nowrap!important;}
 .gc-stat-grid{gap:9px!important;}
 .gc-stat-grid article{padding:12px!important;}
 .gc-stat-grid article strong{font-size:clamp(22px,7vw,30px)!important;}
}
@media(min-width:561px){.gc-profile-card.gc-profile-moba-card{grid-template-columns:82px minmax(0,1fr) 92px!important;}.gc-profile-avatar{width:82px!important;height:82px!important;min-width:82px!important;}}


/* BUILD193 — Reload-loop guard, Number Duel shared matchmaking layout, premium Master emblem */
.duel-lobby-view .duel-number-arena{display:grid!important;gap:12px!important;width:100%!important;max-width:720px!important;margin:0 auto!important;padding:0!important;}
.duel-lobby-view .duel-number-arena .gc-match-title{width:100%!important;max-width:none!important;min-height:0!important;padding:clamp(16px,3vw,24px)!important;margin:0!important;border-radius:20px!important;display:grid!important;justify-items:center!important;align-content:center!important;gap:5px!important;text-align:center!important;}
.duel-lobby-view .duel-number-arena .gc-match-title h3{font-size:clamp(22px,4vw,30px)!important;line-height:1.12!important;margin:5px 0!important;letter-spacing:.06em!important;}
.duel-lobby-view .duel-number-arena .gc-match-title p{max-width:480px!important;margin:3px auto 0!important;font-size:12px!important;line-height:1.5!important;}
.duel-lobby-view .duel-number-arena .gc-matchmaking-card{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:clamp(14px,3vw,22px)!important;border-radius:22px!important;box-sizing:border-box!important;}
.duel-lobby-view .duel-number-arena .gc-match-search-clock{min-width:148px!important;margin:0 auto 2px!important;padding:10px 24px!important;}
.duel-lobby-view .duel-number-arena .gc-skill-vs{min-height:76px!important;padding:14px!important;}
.duel-lobby-view .duel-number-arena .duel-status{margin:0!important;min-height:46px!important;}
.duel-lobby-view .duel-number-arena .duel-trophy-strip{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:4px 10px!important;padding:11px 13px!important;margin:0!important;}
.duel-lobby-view .duel-number-arena .duel-trophy-strip>small{grid-column:1/-1!important;text-align:right!important;}
.duel-lobby-view .duel-number-arena .gc-number-rules{margin:0!important;font-size:12px!important;line-height:1.55!important;}
.duel-lobby-view .duel-number-arena .duel-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0!important;}
.duel-lobby-view .duel-number-arena .duel-actions button{min-width:0!important;min-height:50px!important;white-space:normal!important;}
.duel-lobby-view .duel-number-arena .duel-actions button.hidden{display:none!important;}
.duel-lobby-view .duel-number-arena .gc-match-search-clock.is-searching{animation:gcMasterSearchPulse 1.25s ease-in-out infinite!important;}
.duel-lobby-view .duel-number-arena .gc-matchmaking-card:has(.gc-match-search-clock.is-searching):after{opacity:1!important;animation:gcMatchShimmer 1.8s linear infinite!important;}
@media(max-width:520px){
 .duel-lobby-view .duel-number-arena .gc-match-title{padding:16px 12px!important}
 .duel-lobby-view .duel-number-arena .gc-matchmaking-card{padding:13px!important;gap:10px!important}
 .duel-lobby-view .duel-number-arena .duel-actions{grid-template-columns:minmax(0,1fr)!important}
 .duel-lobby-view .duel-number-arena .duel-trophy-strip>small{text-align:left!important}
}
.duel-rank-row.rank-master .duel-rank-number>i{
 position:relative!important;isolation:isolate!important;overflow:visible!important;
 color:#fff4c4!important;border:1px solid rgba(255,226,143,.88)!important;
 background:radial-gradient(circle at 35% 20%,#fff5bf 0%,#ffd56e 28%,#bd7a20 68%,#704019 100%)!important;
 box-shadow:0 0 8px rgba(255,211,105,.95),0 0 18px rgba(255,177,54,.68),inset 0 1px 5px rgba(255,255,255,.75)!important;
 filter:drop-shadow(0 0 8px rgba(255,197,74,.85))!important;
 animation:gcMasterCrownRise 2.1s ease-in-out infinite!important;
}
.duel-rank-row.rank-master .duel-rank-number>i:after{
 content:"✦";position:absolute;right:-7px;top:-9px;font-size:12px;color:#fff3b0;
 text-shadow:0 0 5px #ffd76a,0 0 12px #ffb52e;animation:gcMasterSparkle 1.5s ease-in-out infinite;
}
.duel-rank-row.rank-master .duel-rank-number>span{color:#ffe4a0!important;text-shadow:0 0 10px rgba(255,193,65,.48)!important;}
@keyframes gcMasterCrownRise{0%,100%{transform:translateY(0) scale(1);box-shadow:0 0 8px rgba(255,211,105,.75),0 0 15px rgba(255,177,54,.4),inset 0 1px 5px rgba(255,255,255,.7)}50%{transform:translateY(-2px) scale(1.07);box-shadow:0 0 14px rgba(255,235,154,1),0 0 28px rgba(255,177,54,.82),inset 0 1px 8px rgba(255,255,255,.95)}}
@keyframes gcMasterSparkle{0%,100%{opacity:.35;transform:scale(.7) rotate(0)}50%{opacity:1;transform:scale(1.25) rotate(35deg)}}
@keyframes gcMasterSearchPulse{0%,100%{filter:brightness(1);box-shadow:0 0 14px rgba(79,190,255,.2)}50%{filter:brightness(1.2);box-shadow:0 0 28px rgba(79,190,255,.48),0 0 42px rgba(123,103,255,.2)}}


/* BUILD202 — cache refresh, centered Number Duel title, responsive lobby/profile. */
#duelLobbyView>.duel-subnav{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
 min-height:62px!important;padding:9px 12px!important;box-sizing:border-box!important;
}
#duelLobbyView>.duel-subnav>#duelLobbyBack{
 position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
 width:auto!important;min-width:104px!important;max-width:36%!important;min-height:42px!important;
 padding:0 10px!important;white-space:nowrap!important;word-break:keep-all!important;line-height:1!important;
}
#duelLobbyView .duel-subnav-title{
 display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
 min-width:0!important;max-width:calc(100% - 122px)!important;margin:0 auto!important;
 white-space:nowrap!important;text-align:center!important;
}
#duelLobbyView .duel-subnav-title>strong{
 display:inline-block!important;min-width:0!important;overflow:visible!important;text-overflow:clip!important;
 color:#f3f7ff!important;font-size:clamp(12px,1.5vw,16px)!important;font-weight:900!important;
 letter-spacing:.09em!important;white-space:nowrap!important;text-align:center!important;
}
#duelLobbyView .duel-subnav-title>.duel-arena-label{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
 padding:5px 8px!important;border:1px solid rgba(105,190,255,.3)!important;border-radius:999px!important;
 background:rgba(54,143,255,.13)!important;color:#8dccff!important;font-size:8px!important;
 font-weight:900!important;letter-spacing:.12em!important;line-height:1!important;white-space:nowrap!important;
}
/* Keep the matchmaking action as a single horizontal line on phone and desktop. */
#duelLobbyContent .duel-find-button,#duelLobbyContent #duelCancelMatch,
.duel-lobby-content .duel-find-button,.duel-lobby-content #duelCancelMatch{
 display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
 justify-content:center!important;gap:8px!important;white-space:nowrap!important;word-break:keep-all!important;
 overflow-wrap:normal!important;text-align:center!important;line-height:1.1!important;min-width:0!important;
}
#duelLobbyContent .duel-find-button>i,#duelLobbyContent .duel-find-button>.duel-find-label,
.duel-lobby-content .duel-find-button>i,.duel-lobby-content .duel-find-button>.duel-find-label{
 display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;word-break:keep-all!important;
}
/* Explicit phone layout; responsive-fix.css is loaded last so older rules cannot undo it. */
@media(max-width:560px){
 #duelLobbyView>.duel-subnav{min-height:56px!important;padding:8px 7px!important;}
 #duelLobbyView>.duel-subnav>#duelLobbyBack{left:7px!important;min-width:0!important;max-width:31%!important;min-height:39px!important;padding:0 7px!important;font-size:10px!important;gap:5px!important;}
 #duelLobbyView .duel-subnav-title{max-width:calc(100% - 104px)!important;gap:5px!important;}
 #duelLobbyView .duel-subnav-title>strong{font-size:11px!important;letter-spacing:.045em!important;}
 #duelLobbyView .duel-subnav-title>.duel-arena-label{font-size:7px!important;padding:4px 6px!important;letter-spacing:.07em!important;}
 .gc-profile-scroll{padding:12px 10px 22px!important;}
 .gc-profile-card.gc-profile-moba-card{grid-template-columns:64px minmax(0,1fr)!important;grid-template-areas:"avatar identity" "trophy trophy" "season season"!important;gap:11px!important;padding:13px!important;}
 .gc-profile-avatar{width:64px!important;height:64px!important;min-width:64px!important;}
 .gc-profile-identity{min-width:0!important;}
 .gc-profile-identity h3{font-size:clamp(18px,5.5vw,22px)!important;overflow-wrap:anywhere!important;}
 .gc-profile-trophy-box{grid-area:trophy!important;width:100%!important;min-width:0!important;min-height:52px!important;flex-direction:row!important;justify-content:flex-start!important;gap:10px!important;padding:9px 12px!important;}
 .gc-profile-trophy-box small{margin-left:auto!important;white-space:nowrap!important;}
 .gc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 .gc-stat-grid article{min-width:0!important;padding:11px!important;}
 .duel-lobby-content .duel-find-button,.duel-lobby-content #duelCancelMatch{font-size:12px!important;padding:11px 8px!important;}
}
@media(min-width:561px) and (max-width:900px){
 .gc-profile-card.gc-profile-moba-card{grid-template-columns:76px minmax(0,1fr) 82px!important;grid-template-areas:"avatar identity trophy" "season season season"!important;}
 .gc-profile-avatar{width:72px!important;height:72px!important;min-width:72px!important;}
 .gc-profile-trophy-box{width:82px!important;min-width:82px!important;}
}


/* BUILD203 — correct hidden multiviews and rebuild Game Center layouts at real viewport widths. */
.duel-app-page>.duel-view.hidden,
.duel-app-page .duel-view.hidden,
.duel-app-page .gc-profile-view.hidden,
.duel-app-page .duel-lobby-view.hidden,
.duel-app-page .duel-game-view.hidden,
.duel-app-page .duel-leaderboard-view.hidden,
.duel-app-page .gc-prototype-view.hidden{display:none!important;visibility:hidden!important;pointer-events:none!important}
.duel-app-page>.duel-view:not(.hidden){display:flex!important;visibility:visible!important;pointer-events:auto!important}

/* Player profile: bounded desktop composition, independent from the browser zoom level. */
#gcProfileView{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
#gcProfileView>.duel-subnav{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;min-height:54px!important;padding:7px 12px!important}
#gcProfileView>.duel-subnav>#gcProfileBack{justify-self:start!important;grid-column:1!important;white-space:nowrap!important}
#gcProfileView>.duel-subnav>strong{grid-column:2!important;justify-self:center!important;max-width:100%!important;font-size:clamp(10px,1.2vw,13px)!important;letter-spacing:.09em!important}
#gcProfileView>.gc-profile-scroll{width:100%!important;max-width:1080px!important;margin:0 auto!important;padding:clamp(14px,2.2vw,28px)!important;box-sizing:border-box!important;overflow-x:hidden!important}
#gcProfileView .gc-profile-moba-card{display:grid!important;grid-template-columns:clamp(72px,8vw,104px) minmax(0,1fr) clamp(84px,10vw,116px)!important;grid-template-areas:"avatar identity trophy" "season season season"!important;align-items:center!important;gap:clamp(10px,1.5vw,18px)!important;width:100%!important;min-width:0!important;padding:clamp(14px,2vw,22px)!important;box-sizing:border-box!important;overflow:hidden!important}
#gcProfileView .gc-profile-avatar{grid-area:avatar!important;width:100%!important;height:auto!important;aspect-ratio:1!important;min-width:0!important;max-width:104px!important;border-radius:22px!important}
#gcProfileView .gc-profile-identity{grid-area:identity!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;width:100%!important;min-width:0!important}
#gcProfileView .gc-profile-identity>small{font-size:clamp(8px,.85vw,10px)!important;line-height:1.4!important;letter-spacing:.1em!important;white-space:normal!important;overflow-wrap:break-word!important}
#gcProfileView .gc-profile-identity h3{font-size:clamp(19px,2.1vw,29px)!important;line-height:1.12!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
#gcProfileView .gc-profile-identity .gc-profile-idline{font-size:clamp(9px,.9vw,11px)!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
#gcProfileView .gc-profile-rank{display:inline-flex!important;align-items:center!important;gap:6px!important;max-width:100%!important;white-space:nowrap!important}
#gcProfileView .gc-profile-trophy-box{grid-area:trophy!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:90px!important;padding:10px 6px!important;box-sizing:border-box!important}
#gcProfileView .gc-profile-trophy-box>strong{font-size:clamp(19px,2.1vw,27px)!important;line-height:1.1!important;font-variant-numeric:tabular-nums!important}
#gcProfileView .gc-profile-trophy-box>small{font-size:clamp(6px,.65vw,8px)!important;white-space:nowrap!important}
#gcProfileView .gc-profile-season-tag{grid-area:season!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.14)!important}
#gcProfileView .gc-profile-season-tag span,#gcProfileView .gc-profile-season-tag b{font-size:clamp(8px,.8vw,10px)!important;white-space:normal!important;overflow-wrap:break-word!important}
#gcProfileView .gc-profile-section-title{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin:20px 2px 10px!important;font-size:11px!important}
#gcProfileView .gc-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(8px,1.2vw,14px)!important;width:100%!important;margin:0 0 14px!important}
#gcProfileView .gc-stat-grid article{position:relative!important;display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;min-height:104px!important;padding:32px 14px 14px!important;box-sizing:border-box!important;overflow:hidden!important}
#gcProfileView .gc-stat-grid article>i{position:absolute!important;top:12px!important;right:13px!important}
#gcProfileView .gc-stat-grid article>small{font-size:clamp(9px,.9vw,11px)!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:break-word!important}
#gcProfileView .gc-stat-grid article>strong{font-size:clamp(20px,2.2vw,27px)!important;line-height:1.1!important;font-variant-numeric:tabular-nums!important}
#gcProfileView .gc-profile-note{align-items:flex-start!important;min-width:0!important}
#gcProfileView .gc-profile-note span{min-width:0!important;overflow-wrap:anywhere!important}

/* Number Duel lobby header: true viewport center, with a compact back control. */
#duelLobbyView>.duel-subnav{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:58px!important;padding:7px 12px!important}
#duelLobbyView>.duel-subnav>#duelLobbyBack{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important;max-width:34%!important;white-space:nowrap!important}
#duelLobbyView .duel-subnav-title{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:max-content!important;max-width:calc(100% - 150px)!important;margin:0!important;white-space:nowrap!important}
#duelLobbyView .duel-subnav-title>strong{font-size:clamp(12px,1.2vw,16px)!important;letter-spacing:.09em!important;line-height:1!important}
#duelLobbyView .duel-subnav-title>.duel-arena-label{font-size:8px!important;letter-spacing:.1em!important;line-height:1!important}
#duelLobbyContent .duel-number-arena,#duelLobbyContent .number-duel-card{width:100%!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
#duelLobbyContent .duel-find-button,#duelLobbyContent #duelCancelMatch{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-width:0!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;line-height:1.1!important}
#duelLobbyContent .duel-find-button>i,#duelLobbyContent .duel-find-button>.duel-find-label{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important}

@media(max-width:760px){
 #gcProfileView .gc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #gcProfileView .gc-stat-grid article{min-height:92px!important;padding:30px 12px 12px!important}
 #gcProfileView .gc-profile-scroll{padding:13px 11px 22px!important}
}
@media(max-width:560px){
 #duelLobbyView>.duel-subnav{min-height:54px!important;padding:6px 6px!important}
 #duelLobbyView>.duel-subnav>#duelLobbyBack{left:6px!important;max-width:29%!important;min-height:36px!important;padding:0 7px!important;font-size:9px!important;gap:5px!important}
 #duelLobbyView .duel-subnav-title{max-width:calc(100% - 112px)!important;gap:5px!important}
 #duelLobbyView .duel-subnav-title>strong{font-size:10px!important;letter-spacing:.035em!important}
 #duelLobbyView .duel-subnav-title>.duel-arena-label{font-size:6px!important;padding:4px 5px!important;letter-spacing:.04em!important}
 #duelLobbyContent .duel-find-button,#duelLobbyContent #duelCancelMatch{min-height:46px!important;padding:10px 7px!important;font-size:11px!important}
 #gcProfileView>.duel-subnav{min-height:50px!important;padding:5px 6px!important}
 #gcProfileView>.duel-subnav>#gcProfileBack{min-height:34px!important;padding:0 7px!important;font-size:9px!important;gap:5px!important}
 #gcProfileView>.duel-subnav>strong{font-size:9px!important;letter-spacing:.04em!important}
 #gcProfileView .gc-profile-moba-card{grid-template-columns:60px minmax(0,1fr)!important;grid-template-areas:"avatar identity" "trophy trophy" "season season"!important;gap:10px!important;padding:12px!important}
 #gcProfileView .gc-profile-avatar{width:60px!important;height:60px!important;min-width:60px!important;border-radius:16px!important}
 #gcProfileView .gc-profile-identity h3{font-size:clamp(17px,5.4vw,22px)!important}
 #gcProfileView .gc-profile-trophy-box{min-height:48px!important;flex-direction:row!important;justify-content:flex-start!important;gap:9px!important;padding:8px 11px!important}
 #gcProfileView .gc-profile-trophy-box>small{margin-left:auto!important}
 #gcProfileView .gc-profile-season-tag{gap:8px!important}
 #gcProfileView .gc-profile-section-title{font-size:9px!important;margin:16px 1px 9px!important}
 #gcProfileView .gc-profile-section-title small{font-size:7px!important}
 #gcProfileView .gc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #gcProfileView .gc-stat-grid article{min-height:82px!important;padding:28px 10px 10px!important}
 #gcProfileView .gc-stat-grid article>strong{font-size:21px!important}
}


/* Build204: Memory Trap click progress and error-tolerant input */
.gc-memory-scoreline{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,520px);margin:14px auto 6px;padding:11px 14px;border:1px solid rgba(115,190,255,.24);border-radius:12px;background:rgba(21,43,78,.72);color:#eaf5ff;font-size:12px;font-weight:900;letter-spacing:.06em}
.gc-memory-scoreline strong{color:#8ee8ff;font-size:14px;font-variant-numeric:tabular-nums}.gc-memory-scoreline span{color:#b9c9e2;font-variant-numeric:tabular-nums}
.gc-skill-memory [data-skill-memory].wrong{border-color:rgba(255,120,120,.85)!important;box-shadow:0 0 0 3px rgba(255,90,90,.15)!important;transform:scale(.96)}
.gc-skill-memory [data-skill-memory].lit{box-shadow:0 0 24px rgba(105,205,255,.7)!important}
.gc-skill-arena-unified .gc-gameplay-screen{min-width:0}
.gc-game-popup-layer{z-index:220!important}
@media(max-width:600px){.gc-memory-scoreline{width:100%;box-sizing:border-box;padding:10px 11px;font-size:11px}.gc-memory-scoreline strong{font-size:13px}.gc-game-popup-layer{position:fixed!important;inset:0!important;padding:8px!important}.gc-game-popup-panel{width:100%!important;height:100%!important;max-height:100%!important}}

/* BUILD205 — profile follows the virtual phone width on laptop; desktop viewport width is not the app width. */
.gc-profile-view:not(.hidden){width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;}
.gc-profile-view .gc-profile-scroll{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.gc-profile-view .gc-profile-card.gc-profile-moba-card{
 display:grid!important;grid-template-columns:64px minmax(0,1fr) 68px!important;
 grid-template-areas:"avatar identity trophy" "season season season"!important;
 align-items:center!important;justify-items:stretch!important;gap:9px!important;
 width:100%!important;max-width:100%!important;min-width:0!important;padding:12px!important;
 box-sizing:border-box!important;overflow:hidden!important;
}
.gc-profile-view .gc-profile-avatar{grid-area:avatar!important;width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;justify-self:center!important;align-self:center!important;}
.gc-profile-view .gc-profile-identity{grid-area:identity!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;}
.gc-profile-view .gc-profile-identity>small{display:block!important;width:100%!important;font-size:7px!important;line-height:1.25!important;letter-spacing:.06em!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-view .gc-profile-identity h3{display:block!important;width:100%!important;max-width:100%!important;margin:1px 0!important;font-size:clamp(14px,4vw,18px)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-view .gc-profile-identity .gc-profile-idline{display:block!important;width:100%!important;font-size:8px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.gc-profile-view .gc-profile-identity .gc-profile-rank{display:inline-flex!important;align-items:center!important;gap:5px!important;width:max-content!important;max-width:100%!important;padding:4px 7px!important;font-size:8px!important;line-height:1.1!important;white-space:nowrap!important;}
.gc-profile-view .gc-profile-trophy-box{grid-area:trophy!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:68px!important;min-width:68px!important;max-width:68px!important;min-height:68px!important;padding:6px 3px!important;box-sizing:border-box!important;}
.gc-profile-view .gc-profile-trophy-box strong{font-size:21px!important;line-height:1!important;}
.gc-profile-view .gc-profile-trophy-box small{font-size:6px!important;letter-spacing:.04em!important;white-space:nowrap!important;}
.gc-profile-view .gc-profile-season-tag{grid-area:season!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;min-width:0!important;margin:4px 0 0!important;padding-top:9px!important;}
.gc-profile-view .gc-profile-season-tag span,.gc-profile-view .gc-profile-season-tag b{display:block!important;min-width:0!important;font-size:8px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.gc-profile-view .gc-profile-section-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;min-width:0!important;}
.gc-profile-view .gc-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;min-width:0!important;}
.gc-profile-view .gc-stat-grid article{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;width:100%!important;min-height:76px!important;padding:10px!important;box-sizing:border-box!important;}
.gc-profile-view .gc-stat-grid article small{font-size:9px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.gc-profile-view .gc-stat-grid article strong{font-size:clamp(18px,5vw,24px)!important;line-height:1!important;white-space:nowrap!important;}
.gc-profile-view .gc-profile-note{display:flex!important;align-items:flex-start!important;gap:8px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
@media(min-width:801px){
 .gc-profile-view .gc-profile-scroll{padding:14px 12px 24px!important;}
 .gc-profile-view .gc-profile-card.gc-profile-moba-card{grid-template-columns:64px minmax(0,1fr) 68px!important;min-height:0!important;}
 .gc-profile-view .gc-profile-identity h3{font-size:16px!important;}
 .gc-profile-view .gc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* Number Duel: true viewport-centred title and a clearly separated arena badge. */
#duelLobbyView>.duel-subnav{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:60px!important;padding:8px 12px!important;box-sizing:border-box!important;}
#duelLobbyView>.duel-subnav>#duelLobbyBack{position:absolute!important;left:8px!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important;}
#duelLobbyView .duel-subnav-title{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:max-content!important;max-width:calc(100% - 150px)!important;margin:0!important;padding:0!important;white-space:nowrap!important;text-align:center!important;}
#duelLobbyView .duel-subnav-title>strong{display:inline-block!important;flex:0 0 auto!important;font-size:13px!important;line-height:1!important;letter-spacing:.08em!important;white-space:nowrap!important;}
#duelLobbyView .duel-subnav-title>.duel-arena-label{display:inline-flex!important;flex:0 0 auto!important;margin:0!important;padding:5px 8px!important;font-size:8px!important;line-height:1!important;white-space:nowrap!important;}
#duelLobbyContent .gc-skill-actions.duel-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%!important;}
#duelLobbyContent #duelCancelMatch:not(.hidden){display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:46px!important;white-space:nowrap!important;}
#duelLobbyContent #duelFindMatch{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;white-space:nowrap!important;}
.gc-number-rule-strip{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:7px 12px!important;margin:8px 0!important;padding:10px 12px!important;border:1px solid rgba(100,170,255,.18)!important;border-radius:12px!important;background:rgba(60,110,190,.08)!important;text-align:center!important;font-size:9px!important;font-weight:900!important;letter-spacing:.07em!important;line-height:1.35!important;color:#bcd7f5!important;}
.gc-number-rule-strip span+span:before{content:"·";margin-right:12px;color:#5baeff!important;}
@media(max-width:560px){#duelLobbyView .duel-subnav-title{max-width:calc(100% - 112px)!important;gap:5px!important;}#duelLobbyView .duel-subnav-title>strong{font-size:10px!important;letter-spacing:.04em!important;}#duelLobbyView .duel-subnav-title>.duel-arena-label{font-size:7px!important;padding:4px 6px!important;}#duelLobbyView>.duel-subnav>#duelLobbyBack{max-width:30%!important;font-size:9px!important;}}

/* Do not expose the phone's quick-settings/status affordances over a live competitive game popup. */
.screen.gc-game-popup-open>.status-bar,
.screen.gc-game-popup-open>.quick-handle,
.screen.gc-game-popup-open>.nav-bar{visibility:hidden!important;pointer-events:none!important;}
.screen.gc-game-popup-open .gc-game-popup-layer{z-index:260!important;}
.screen.gc-game-popup-open>#quickPanel,.screen.gc-game-popup-open>#recentPanel{display:none!important;}


/* BUILD206 — Game Center desktop profile, popup and match-control correction */
@media (min-width: 760px) {
  #gcProfileView { width:100%!important; max-width:100%!important; min-width:0!important; overflow-x:hidden!important; }
  #gcProfileView .gc-profile-scroll { width:100%!important; max-width:1120px!important; margin:0 auto!important; padding:24px clamp(18px,3vw,42px)!important; box-sizing:border-box!important; overflow-x:hidden!important; }
  #gcProfileView .gc-profile-card.gc-profile-moba-card { display:grid!important; grid-template-columns:104px minmax(0,1fr) 112px!important; grid-template-areas:"avatar identity trophy" "season season season"!important; align-items:center!important; gap:18px!important; min-height:150px!important; width:100%!important; padding:20px!important; box-sizing:border-box!important; overflow:visible!important; }
  #gcProfileView .gc-profile-avatar { grid-area:avatar!important; width:96px!important; height:96px!important; min-width:96px!important; max-width:96px!important; justify-self:center!important; }
  #gcProfileView .gc-profile-identity { grid-area:identity!important; display:flex!important; flex-direction:column!important; align-items:flex-start!important; justify-content:center!important; gap:7px!important; min-width:0!important; width:100%!important; max-width:none!important; overflow:visible!important; }
  #gcProfileView .gc-profile-identity>small,#gcProfileView .gc-profile-identity h3,#gcProfileView .gc-profile-identity .gc-profile-idline { display:block!important; width:100%!important; max-width:100%!important; white-space:normal!important; word-break:normal!important; overflow-wrap:anywhere!important; text-overflow:clip!important; overflow:visible!important; }
  #gcProfileView .gc-profile-identity>small { font-size:10px!important; line-height:1.4!important; letter-spacing:.12em!important; }
  #gcProfileView .gc-profile-identity h3 { font-size:clamp(22px,2.2vw,32px)!important; line-height:1.18!important; margin:2px 0!important; }
  #gcProfileView .gc-profile-identity .gc-profile-idline { font-size:11px!important; line-height:1.4!important; }
  #gcProfileView .gc-profile-identity .gc-profile-rank { display:inline-flex!important; width:max-content!important; max-width:100%!important; white-space:nowrap!important; font-size:11px!important; }
  #gcProfileView .gc-profile-trophy-box { grid-area:trophy!important; display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; width:112px!important; min-width:112px!important; max-width:112px!important; min-height:100px!important; padding:12px!important; box-sizing:border-box!important; }
  #gcProfileView .gc-profile-trophy-box strong { font-size:30px!important; line-height:1.1!important; }
  #gcProfileView .gc-profile-trophy-box small { font-size:9px!important; white-space:nowrap!important; }
  #gcProfileView .gc-profile-season-tag { grid-area:season!important; display:flex!important; justify-content:space-between!important; align-items:center!important; width:100%!important; min-width:0!important; gap:12px!important; }
  #gcProfileView .gc-profile-section-title { display:flex!important; justify-content:space-between!important; align-items:center!important; gap:12px!important; width:100%!important; }
  #gcProfileView .gc-stat-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:14px!important; width:100%!important; }
  #gcProfileView .gc-stat-grid article { display:flex!important; flex-direction:column!important; align-items:flex-start!important; justify-content:center!important; min-width:0!important; min-height:112px!important; padding:16px!important; box-sizing:border-box!important; }
  #gcProfileView .gc-stat-grid article small { font-size:11px!important; white-space:normal!important; overflow-wrap:normal!important; }
  #gcProfileView .gc-stat-grid article strong { font-size:clamp(24px,2.4vw,34px)!important; line-height:1.1!important; white-space:nowrap!important; }
  #gcProfileView .gc-profile-note { width:100%!important; box-sizing:border-box!important; }
}
@media (max-width:759px) {
  #gcProfileView .gc-profile-identity h3 { overflow-wrap:anywhere!important; word-break:normal!important; }
}
/* A single Number Duel action button changes from search to cancel while waiting. */
#duelLobbyContent #duelCancelMatch { display:none!important; }
#duelLobbyContent #duelFindMatch { white-space:nowrap!important; }
.duel-match-overlay.countdown-mode { z-index:250!important; }
.duel-match-overlay.countdown-mode .duel-match-popup { border-color:rgba(120,210,255,.75)!important; box-shadow:0 0 45px rgba(70,170,255,.35),0 22px 70px rgba(0,0,0,.55)!important; }
/* Build207 correction: keep the notification/quick-settings pull handle hidden while a game popup is active.
   The regular quick panel remains available outside active game popups. */
.gc-skill-memory #skillClickCount { font-variant-numeric:tabular-nums!important; }

/* BUILD208: suppress every quick-settings entry point during a live game on phones. */
@media (max-width: 759px) {
  .screen.gc-game-popup-open .quick-handle,
  .screen.gc-game-popup-open #quickHandle,
  .screen.gc-game-popup-open .status-bar,
  .screen.gc-game-popup-open .status-bar *,
  .screen.gc-game-popup-open #quickPanel,
  .screen.gc-game-popup-open #recentPanel {
    display:none!important; visibility:hidden!important; opacity:0!important;
    pointer-events:none!important; transform:translateY(-200%)!important;
  }
  .screen.gc-game-popup-open .gc-game-popup-layer { z-index:260!important; }
}

/* BUILD208: a desktop-first player profile layout, separate from the compact phone card. */
@media (min-width: 760px) {
  #gcProfileView .gc-profile-scroll { max-width:1040px!important; padding:28px clamp(22px,4vw,48px)!important; }
  #gcProfileView .gc-profile-card.gc-profile-moba-card {
    display:grid!important; grid-template-columns:116px minmax(0,1fr) 176px!important;
    grid-template-areas:"avatar identity trophy" "season season season"!important;
    gap:22px!important; min-height:176px!important; padding:24px 28px!important;
    border-radius:24px!important; background:linear-gradient(115deg,#142a49 0%,#1b2850 54%,#30204e 100%)!important;
    box-shadow:0 18px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.08)!important;
  }
  #gcProfileView .gc-profile-avatar { width:104px!important;height:104px!important;min-width:104px!important;max-width:104px!important;border-radius:26px!important; }
  #gcProfileView .gc-profile-identity { gap:9px!important; }
  #gcProfileView .gc-profile-identity>small { font-size:10px!important;letter-spacing:.16em!important;color:#8bdfff!important; }
  #gcProfileView .gc-profile-identity h3 { font-size:clamp(25px,2.6vw,36px)!important;line-height:1.15!important;overflow-wrap:break-word!important;word-break:normal!important; }
  #gcProfileView .gc-profile-identity .gc-profile-idline { font-size:12px!important;color:#c7d4ed!important;overflow-wrap:anywhere!important; }
  #gcProfileView .gc-profile-rank { margin-top:4px!important;padding:8px 14px!important;border-radius:12px!important;letter-spacing:.08em!important; }
  #gcProfileView .gc-profile-trophy-box {
    width:176px!important;min-width:176px!important;max-width:176px!important;min-height:116px!important;
    border-radius:18px!important;background:rgba(255,205,112,.09)!important;
    border:1px solid rgba(255,214,142,.24)!important;box-shadow:inset 0 1px rgba(255,255,255,.07)!important;
  }
  #gcProfileView .gc-profile-trophy-box>i { font-size:22px!important; }
  #gcProfileView .gc-profile-trophy-box>strong { font-size:34px!important; }
  #gcProfileView .gc-profile-trophy-box>small { font-size:9px!important;letter-spacing:.13em!important; }
  #gcProfileView .gc-profile-season-tag { padding-top:14px!important;font-size:10px!important; }
  #gcProfileView .gc-profile-section-title { margin:26px 0 14px!important;font-size:12px!important; }
  #gcProfileView .gc-stat-grid { gap:16px!important; }
  #gcProfileView .gc-stat-grid article { min-height:132px!important;padding:20px!important;border-radius:20px!important;gap:10px!important; }
  #gcProfileView .gc-stat-grid article small { font-size:12px!important;line-height:1.45!important; }
  #gcProfileView .gc-stat-grid article strong { font-size:clamp(26px,2.6vw,38px)!important; }
  #gcProfileView .gc-profile-note { font-size:12px!important;line-height:1.6!important;padding:16px 18px!important; }
}


/* BUILD209 — desktop/laptop player profile typography and Number Duel centered navbar */
@media (min-width: 760px) {
  #gcProfileView { width:100%!important; min-width:0!important; overflow-x:hidden!important; }
  #gcProfileView > .gc-profile-scroll {
    width:100%!important; max-width:1180px!important; margin:0 auto!important;
    padding:26px clamp(20px,3vw,44px) 34px!important; box-sizing:border-box!important;
  }
  #gcProfileView .gc-profile-card.gc-profile-moba-card {
    display:grid!important;
    grid-template-columns:112px minmax(260px,1fr) 174px!important;
    grid-template-areas:"avatar identity trophy" "season season season"!important;
    grid-template-rows:minmax(112px,auto) auto!important;
    align-items:center!important; justify-items:stretch!important;
    column-gap:26px!important; row-gap:18px!important;
    width:100%!important; min-width:0!important; min-height:0!important;
    padding:26px 30px 22px!important; box-sizing:border-box!important;
    overflow:visible!important;
  }
  #gcProfileView .gc-profile-avatar {
    grid-area:avatar!important; position:relative!important;
    width:104px!important; height:104px!important; min-width:104px!important;
    max-width:104px!important; aspect-ratio:1!important; justify-self:center!important;
  }
  #gcProfileView .gc-profile-level { white-space:nowrap!important; }
  #gcProfileView .gc-profile-identity {
    grid-area:identity!important; display:flex!important; flex-direction:column!important;
    align-items:flex-start!important; justify-content:center!important;
    gap:8px!important; width:100%!important; min-width:0!important;
    max-width:none!important; overflow:visible!important;
  }
  #gcProfileView .gc-profile-identity > small {
    display:block!important; width:100%!important; margin:0!important;
    font-size:10px!important; line-height:1.45!important; letter-spacing:.14em!important;
    white-space:normal!important; overflow-wrap:break-word!important; word-break:normal!important;
  }
  #gcProfileView .gc-profile-identity h3 {
    display:block!important; width:100%!important; max-width:100%!important;
    margin:0!important; font-size:clamp(27px,2.4vw,38px)!important;
    line-height:1.12!important; font-weight:900!important;
    white-space:normal!important; overflow-wrap:break-word!important; word-break:normal!important;
  }
  #gcProfileView .gc-profile-identity .gc-profile-idline {
    display:block!important; width:100%!important; margin:0!important;
    font-size:12px!important; line-height:1.5!important;
    white-space:normal!important; overflow-wrap:break-word!important;
  }
  #gcProfileView .gc-profile-identity .gc-profile-rank {
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
    width:max-content!important; max-width:100%!important; margin:4px 0 0!important;
    padding:8px 13px!important; font-size:10px!important; line-height:1.2!important;
    white-space:nowrap!important;
  }
  #gcProfileView .gc-profile-trophy-box {
    grid-area:trophy!important; display:flex!important; flex-direction:column!important;
    align-items:center!important; justify-content:center!important; gap:7px!important;
    width:174px!important; min-width:174px!important; max-width:174px!important;
    min-height:126px!important; padding:16px 12px!important; box-sizing:border-box!important;
  }
  #gcProfileView .gc-profile-trophy-box > i { font-size:23px!important; }
  #gcProfileView .gc-profile-trophy-box > strong { font-size:36px!important; line-height:1!important; }
  #gcProfileView .gc-profile-trophy-box > small { font-size:9px!important; line-height:1.3!important; letter-spacing:.12em!important; white-space:nowrap!important; }
  #gcProfileView .gc-profile-season-tag {
    grid-area:season!important; display:flex!important; flex-direction:row!important;
    align-items:center!important; justify-content:space-between!important;
    gap:16px!important; width:100%!important; min-width:0!important;
    margin:0!important; padding:14px 2px 0!important;
    border-top:1px solid rgba(255,255,255,.14)!important;
  }
  #gcProfileView .gc-profile-season-tag span,
  #gcProfileView .gc-profile-season-tag b {
    display:block!important; min-width:0!important; font-size:10px!important;
    line-height:1.4!important; white-space:normal!important; overflow-wrap:normal!important;
  }
  #gcProfileView .gc-profile-section-title {
    display:flex!important; flex-direction:row!important; align-items:center!important;
    justify-content:space-between!important; gap:16px!important;
    width:100%!important; margin:24px 0 14px!important;
    font-size:12px!important; line-height:1.4!important;
  }
  #gcProfileView .gc-profile-section-title span,
  #gcProfileView .gc-profile-section-title small { display:block!important; min-width:0!important; white-space:normal!important; }
  #gcProfileView .gc-profile-section-title small { font-size:10px!important; }
  #gcProfileView .gc-stat-grid {
    display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:14px!important; width:100%!important; min-width:0!important;
  }
  #gcProfileView .gc-stat-grid article {
    display:flex!important; flex-direction:column!important; align-items:flex-start!important;
    justify-content:flex-end!important; gap:9px!important; min-width:0!important;
    min-height:126px!important; width:100%!important; padding:20px!important;
    box-sizing:border-box!important; overflow:hidden!important;
  }
  #gcProfileView .gc-stat-grid article small {
    display:block!important; max-width:100%!important; font-size:12px!important;
    line-height:1.4!important; white-space:normal!important; overflow-wrap:break-word!important;
  }
  #gcProfileView .gc-stat-grid article strong {
    display:block!important; max-width:100%!important; margin:0!important;
    font-size:clamp(27px,2.2vw,36px)!important; line-height:1.1!important;
    white-space:nowrap!important; overflow-wrap:normal!important;
  }
  #gcProfileView .gc-profile-note { width:100%!important; margin-top:16px!important; box-sizing:border-box!important; }
}

/* Keep the Number Duel lobby title geometrically centered, independently of the back button width. */
#duelLobbyView > .duel-subnav {
  position:relative!important; display:flex!important; align-items:center!important;
  justify-content:center!important; min-height:64px!important;
  padding:8px 16px!important; box-sizing:border-box!important; overflow:visible!important;
}
#duelLobbyView > .duel-subnav > #duelLobbyBack {
  position:absolute!important; left:14px!important; top:50%!important;
  transform:translateY(-50%)!important; z-index:3!important;
  width:auto!important; max-width:190px!important; white-space:nowrap!important;
}
#duelLobbyView .duel-subnav-title {
  position:absolute!important; left:50%!important; top:50%!important;
  transform:translate(-50%,-50%)!important; z-index:2!important;
  display:inline-flex!important; flex-direction:row!important;
  align-items:center!important; justify-content:center!important;
  gap:10px!important; width:max-content!important;
  max-width:calc(100% - 230px)!important; min-width:0!important;
  margin:0!important; padding:0!important; text-align:center!important;
  white-space:nowrap!important;
}
#duelLobbyView .duel-subnav-title > strong {
  display:block!important; flex:0 1 auto!important; min-width:0!important;
  font-size:clamp(13px,1.25vw,17px)!important; line-height:1.1!important;
  letter-spacing:.1em!important; white-space:nowrap!important;
}
#duelLobbyView .duel-subnav-title > .duel-arena-label {
  display:inline-flex!important; flex:0 0 auto!important; align-items:center!important;
  margin:0!important; padding:5px 9px!important; font-size:8px!important;
  line-height:1!important; letter-spacing:.1em!important; white-space:nowrap!important;
}
@media (max-width:759px) {
  #duelLobbyView > .duel-subnav { min-height:56px!important; padding:6px!important; }
  #duelLobbyView > .duel-subnav > #duelLobbyBack { left:6px!important; max-width:29%!important; padding:0 7px!important; font-size:9px!important; }
  #duelLobbyView .duel-subnav-title { max-width:calc(100% - 112px)!important; gap:5px!important; }
  #duelLobbyView .duel-subnav-title > strong { font-size:10px!important; letter-spacing:.035em!important; }
  #duelLobbyView .duel-subnav-title > .duel-arena-label { font-size:7px!important; padding:4px 5px!important; }
}

/* BUILD210 — final desktop profile containment, statistic labels, and Number Duel header flow. */
@media (min-width:760px) {
  #gcProfileView .gc-profile-card.gc-profile-moba-card {
    grid-template-columns:112px minmax(0,1fr) 174px!important;
    column-gap:24px!important;
    overflow:hidden!important;
  }
  #gcProfileView .gc-profile-identity {
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  #gcProfileView .gc-profile-identity>small {
    display:block!important;
    flex:0 1 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    font-size:clamp(8px,.72vw,10px)!important;
    letter-spacing:.11em!important;
    line-height:1.4!important;
  }
  #gcProfileView .gc-profile-identity h3,
  #gcProfileView .gc-profile-identity .gc-profile-idline,
  #gcProfileView .gc-profile-identity .gc-profile-rank {
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  #gcProfileView .gc-profile-identity .gc-profile-rank {
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #gcProfileView .gc-profile-section-title {
    min-width:0!important;
    flex-wrap:wrap!important;
  }
  #gcProfileView .gc-stat-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  #gcProfileView .gc-stat-grid article {
    min-width:0!important;
    width:100%!important;
    padding:19px 15px!important;
    overflow:hidden!important;
  }
  #gcProfileView .gc-stat-grid article>small {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:clamp(9px,.82vw,11px)!important;
    line-height:1.35!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
    overflow-wrap:normal!important;
    letter-spacing:0!important;
  }
}

/* Number Duel: use the same inline header rhythm as the other Game Center arenas.
   The back control owns the first grid column; title and badge share the second. */
#duelLobbyView>.duel-subnav {
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  grid-template-rows:minmax(56px,auto)!important;
  align-items:center!important;
  justify-content:stretch!important;
  column-gap:clamp(10px,2vw,24px)!important;
  min-height:64px!important;
  padding:8px clamp(12px,2vw,22px)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#duelLobbyView>.duel-subnav>#duelLobbyBack {
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  align-self:center!important;
  z-index:1!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
}
#duelLobbyView .duel-subnav-title {
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(7px,1vw,12px)!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
  text-align:center!important;
}
#duelLobbyView .duel-subnav-title>strong {
  display:inline-block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  color:#7deaff!important;
  font-size:clamp(13px,1.15vw,16px)!important;
  line-height:1.1!important;
  letter-spacing:.1em!important;
  white-space:nowrap!important;
}
#duelLobbyView .duel-subnav-title>.duel-arena-label {
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:5px 9px!important;
  border:1px solid rgba(105,225,255,.3)!important;
  border-radius:999px!important;
  background:linear-gradient(100deg,rgba(23,111,153,.25),rgba(91,73,171,.22))!important;
  color:#8beaff!important;
  font-size:8px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.11em!important;
  white-space:nowrap!important;
}
@media (max-width:759px) {
  #duelLobbyView>.duel-subnav {
    grid-template-columns:minmax(0,auto) minmax(0,1fr)!important;
    column-gap:7px!important;
    min-height:56px!important;
    padding:6px 8px!important;
  }
  #duelLobbyView>.duel-subnav>#duelLobbyBack {
    max-width:100%!important;
    padding:7px 9px!important;
    font-size:9px!important;
  }
  #duelLobbyView .duel-subnav-title { gap:5px!important; }
  #duelLobbyView .duel-subnav-title>strong {
    font-size:clamp(9px,2.5vw,12px)!important;
    letter-spacing:.035em!important;
  }
  #duelLobbyView .duel-subnav-title>.duel-arena-label {
    padding:4px 5px!important;
    font-size:6px!important;
    letter-spacing:.045em!important;
  }
}

/* BUILD211 — compact Number Duel matchmaking header and two-row desktop profile stats. */
@media (min-width:760px) {
  /* Four metrics are intentionally arranged as two columns by two rows. */
  #gcProfileView .gc-stat-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(82px,auto)!important;
    gap:10px!important;
    max-width:760px!important;
    margin-left:0!important;
    margin-right:auto!important;
  }
  #gcProfileView .gc-stat-grid article {
    min-height:82px!important;
    padding:12px 15px!important;
    gap:5px!important;
    border-radius:14px!important;
  }
  #gcProfileView .gc-stat-grid article>i {
    top:10px!important;
    right:12px!important;
    font-size:13px!important;
  }
  #gcProfileView .gc-stat-grid article>small {
    max-width:calc(100% - 22px)!important;
    font-size:10px!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
  }
  #gcProfileView .gc-stat-grid article>strong {
    margin-top:3px!important;
    font-size:clamp(18px,1.55vw,23px)!important;
    line-height:1.05!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
  }
  /* Prevent the profile avatar glyph from being clipped horizontally. */
  #gcProfileView .gc-profile-avatar {
    display:grid!important;
    place-items:center!important;
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    max-width:96px!important;
    aspect-ratio:1/1!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  #gcProfileView .gc-profile-avatar>i {
    display:block!important;
    width:auto!important;
    max-width:none!important;
    font-size:34px!important;
    line-height:1!important;
    transform:none!important;
    white-space:nowrap!important;
  }
}

/* Keep Number Duel visually consistent with the compact Game Center arena headers. */
#duelLobbyView>.duel-subnav {
  grid-template-columns:max-content minmax(0,1fr)!important;
  column-gap:10px!important;
  min-height:54px!important;
  padding:5px 12px!important;
}
#duelLobbyView>.duel-subnav>#duelLobbyBack {
  min-width:0!important;
  min-height:36px!important;
  height:36px!important;
  padding:0 10px!important;
  gap:6px!important;
  font-size:10px!important;
  line-height:1!important;
  border-radius:10px!important;
}
#duelLobbyView .duel-subnav-title {
  justify-self:start!important;
  gap:7px!important;
  max-width:100%!important;
}
#duelLobbyView .duel-subnav-title>strong {
  font-size:10px!important;
  line-height:1.1!important;
  letter-spacing:.09em!important;
}
#duelLobbyView .duel-subnav-title>.duel-arena-label {
  padding:4px 7px!important;
  font-size:7px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
}
#duelLobbyView .duel-lobby-content {
  padding-top:8px!important;
  margin-top:0!important;
}
@media (max-width:759px) {
  #duelLobbyView>.duel-subnav {
    column-gap:7px!important;
    min-height:50px!important;
    padding:4px 7px!important;
  }
  #duelLobbyView>.duel-subnav>#duelLobbyBack {
    min-height:32px!important;
    height:32px!important;
    padding:0 8px!important;
    font-size:9px!important;
  }
  #duelLobbyView .duel-subnav-title { gap:5px!important; }
  #duelLobbyView .duel-subnav-title>strong { font-size:9px!important; letter-spacing:.04em!important; }
  #duelLobbyView .duel-subnav-title>.duel-arena-label { font-size:6px!important; padding:3px 5px!important; }
  #duelLobbyView .duel-lobby-content { padding-top:6px!important; }
}


/* BUILD 213 — active GyoWatch episode uses color only; no text marker */
.gyowatch-episode-tile.is-playing,
.gyowatch-episode-tile[aria-current="true"]{
  border-color:#38d6a3!important;
  background:linear-gradient(145deg,rgba(28,190,135,.24),rgba(24,142,112,.12))!important;
  color:#8ff5cd!important;
  box-shadow:inset 0 0 0 1px rgba(56,214,163,.22),0 0 16px rgba(56,214,163,.12)!important;
  transform:none!important;
}
.gyowatch-episode-tile.is-playing::after,
.gyowatch-episode-tile[aria-current="true"]::after{content:none!important;display:none!important}

/* BUILD 213 — Number Duel title centered, ONLINE ARENA pinned to header right */
#duelLobbyView>.duel-subnav{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:48px!important;padding-right:112px!important;}
#duelLobbyView>.duel-subnav>#duelLobbyBack{position:relative!important;z-index:3!important;flex:0 0 auto!important;}
#duelLobbyView .duel-subnav-title{position:absolute!important;inset:0!important;display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;pointer-events:none!important;}
#duelLobbyView .duel-subnav-title>strong{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;display:block!important;max-width:calc(100% - 150px)!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;}
#duelLobbyView .duel-subnav-title>.duel-arena-label{position:absolute!important;right:12px!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;display:inline-flex!important;max-width:100px!important;white-space:nowrap!important;pointer-events:none!important;}
@media(max-width:560px){
 #duelLobbyView>.duel-subnav{padding-right:90px!important;}
 #duelLobbyView .duel-subnav-title>strong{font-size:10px!important;max-width:calc(100% - 120px)!important;}
 #duelLobbyView .duel-subnav-title>.duel-arena-label{right:7px!important;font-size:6px!important;padding:3px 5px!important;}
}

/* BUILD 213 — desktop/laptop simulated-phone profile rank badge stays fully visible */
@media(min-width:801px){
 .gc-profile-scroll{padding-left:8px!important;padding-right:8px!important;}
 .gc-profile-card.gc-profile-moba-card{grid-template-columns:64px minmax(0,1fr) 72px!important;gap:8px!important;padding:12px 9px!important;overflow:visible!important;}
 .gc-profile-moba-card .gc-profile-identity{min-width:0!important;max-width:100%!important;overflow:visible!important;}
 .gc-profile-moba-card .gc-profile-rank{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:flex-start!important;width:max-content!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:5px 7px!important;font-size:7px!important;line-height:1.2!important;letter-spacing:.04em!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;}
 .gc-profile-moba-card .gc-profile-avatar{width:60px!important;height:60px!important;min-width:60px!important;max-width:60px!important;aspect-ratio:1/1!important;justify-self:center!important;overflow:hidden!important;box-sizing:border-box!important;}
 .gc-profile-moba-card .gc-profile-avatar i{max-width:100%!important;overflow:hidden!important;}
 .gc-profile-moba-card .gc-profile-trophy-box{width:72px!important;max-width:72px!important;min-width:72px!important;box-sizing:border-box!important;}
}


/* BUILD 214 — compact profile identity so player name, rank badge and ID stay inside card */
@media(min-width:801px){
 #gcProfileView .gc-profile-card.gc-profile-moba-card{grid-template-columns:50px minmax(0,1fr) 62px!important;grid-template-areas:"avatar identity trophy" "season season season"!important;gap:7px!important;padding:10px 8px!important;min-height:0!important;overflow:hidden!important;box-sizing:border-box!important;}
 #gcProfileView .gc-profile-avatar{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;border-radius:13px!important;font-size:20px!important;}
 #gcProfileView .gc-profile-identity{min-width:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important;gap:3px!important;}
 #gcProfileView .gc-profile-identity>small{font-size:7px!important;letter-spacing:.04em!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 #gcProfileView .gc-profile-identity h3{font-size:clamp(12px,1.25vw,16px)!important;line-height:1.12!important;margin:1px 0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
 #gcProfileView .gc-profile-identity .gc-profile-idline{font-size:7px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
 #gcProfileView .gc-profile-identity .gc-profile-rank{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:6px!important;line-height:1.15!important;padding:3px 5px!important;}
 #gcProfileView .gc-profile-trophy-box{width:62px!important;min-width:62px!important;max-width:62px!important;padding:6px!important;}
}


/* BUILD215 — profile identity, season stats and trophy fit fully inside the card */
#gcProfileView .gc-profile-card.gc-profile-moba-card,
.gc-profile-view .gc-profile-card.gc-profile-moba-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important;}
#gcProfileView .gc-profile-identity,
.gc-profile-view .gc-profile-identity{min-width:0!important;max-width:100%!important;overflow:hidden!important;}
#gcProfileView .gc-profile-identity>small{font-size:7px!important;letter-spacing:.08em!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#gcProfileView .gc-profile-identity h3{font-size:clamp(13px,2.1vw,21px)!important;line-height:1.12!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;margin:3px 0!important;}
#gcProfileView .gc-profile-idline{display:block!important;font-size:8px!important;line-height:1.25!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
#gcProfileView .gc-profile-idline b{font-size:8px!important;overflow-wrap:anywhere!important;}
#gcProfileView .gc-profile-identity .gc-profile-rank{display:inline-flex!important;max-width:100%!important;box-sizing:border-box!important;font-size:7px!important;line-height:1.15!important;letter-spacing:.04em!important;padding:3px 6px!important;gap:4px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#gcProfileView .gc-profile-trophy-box{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;padding:7px 5px!important;gap:3px!important;}
#gcProfileView .gc-profile-trophy-box>i{font-size:13px!important;}
#gcProfileView .gc-profile-trophy-box>strong{font-size:clamp(13px,2vw,19px)!important;line-height:1!important;overflow-wrap:anywhere!important;}
#gcProfileView .gc-profile-trophy-box>small{font-size:6px!important;line-height:1.15!important;letter-spacing:.04em!important;white-space:normal!important;text-align:center!important;}
#gcProfileView .gc-profile-season-tag{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important;padding:7px 9px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;flex-wrap:wrap!important;}
#gcProfileView .gc-profile-season-tag span{font-size:7px!important;line-height:1.2!important;letter-spacing:.06em!important;}
#gcProfileView .gc-profile-season-tag b{font-size:8px!important;line-height:1.2!important;overflow-wrap:anywhere!important;}
#gcProfileView .gc-profile-section-title{min-width:0!important;max-width:100%!important;}
#gcProfileView .gc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;min-width:0!important;}
#gcProfileView .gc-stat-grid article{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;min-height:66px!important;padding:10px 9px!important;gap:4px!important;}
#gcProfileView .gc-stat-grid article>i{font-size:11px!important;top:8px!important;right:9px!important;}
#gcProfileView .gc-stat-grid article>small{font-size:8px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#gcProfileView .gc-stat-grid article>strong{font-size:clamp(15px,3vw,21px)!important;line-height:1.05!important;margin-top:4px!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;}
#gcProfileView .gc-profile-note{font-size:8px!important;line-height:1.4!important;padding:8px!important;min-width:0!important;overflow-wrap:anywhere!important;}
@media(max-width:560px){#gcProfileView .gc-profile-card.gc-profile-moba-card{grid-template-columns:56px minmax(0,1fr) 58px!important;gap:7px!important;padding:9px!important;}#gcProfileView .gc-profile-avatar{width:56px!important;height:56px!important;min-width:56px!important;font-size:20px!important;}#gcProfileView .gc-profile-trophy-box{padding:5px 3px!important;}#gcProfileView .gc-stat-grid article>strong{font-size:16px!important;}}


/* BUILD241 — Settings responsive tabs/storage and true full-content GyoWeb browser */
/* Keep the settings categories on one compact row without a horizontal scrollbar. */
.app-content:has(#settingsPanel) > .store-tabs{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:clamp(3px,1vw,7px)!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  overflow:visible!important;white-space:normal!important;
  padding:3px 0!important;box-sizing:border-box!important;
}
.app-content:has(#settingsPanel) > .store-tabs button{
  min-width:0!important;width:100%!important;max-width:100%!important;
  padding:clamp(6px,1.8vw,9px) 2px!important;
  font-size:clamp(9px,2.7vw,12px)!important;
  line-height:1.15!important;white-space:normal!important;
  overflow-wrap:anywhere!important;text-align:center!important;
}
#settingsPanel{min-width:0!important;width:100%!important;}
#settingsPanel .card{min-width:0!important;box-sizing:border-box!important;}
#settingsPanel .card>.row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;flex-wrap:nowrap!important;}
#settingsPanel .card>.row>div{flex:1 1 58%!important;min-width:0!important;}
#settingsPanel .card>.row>div h3{font-size:clamp(16px,4.2vw,22px)!important;line-height:1.18!important;overflow-wrap:normal!important;word-break:normal!important;margin:0 0 7px!important;}
#settingsPanel .card>.row>strong{flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;font-size:clamp(15px,4vw,21px)!important;text-align:right!important;}
#settingsPanel .card>.row>strong small{font-size:clamp(9px,2.5vw,12px)!important;}
@media(max-width:380px){
  .app-content:has(#settingsPanel) > .store-tabs button{font-size:9px!important;letter-spacing:-.2px!important;}
  #settingsPanel .card{padding:clamp(12px,4vw,17px)!important;}
  #settingsPanel .card>.row{gap:5px!important;}
  #settingsPanel .card>.row>div{flex-basis:56%!important;}
}
/* GyoWeb's website viewer occupies the complete app-content viewport, not a floating card. */
.app-content:has(.gyoweb-site-modal){position:relative!important;overflow:hidden!important;padding:0!important;}
.app-content .gyoweb-site-modal{
  position:absolute!important;inset:0!important;z-index:9999!important;
  display:flex!important;flex-direction:column!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  border:0!important;border-radius:0!important;background:#05070b!important;
}
.app-content .gyoweb-site-modal.hidden{display:none!important;}
.app-content .gyoweb-site-modal-head{
  flex:0 0 auto!important;min-height:44px!important;height:auto!important;
  padding:6px 10px!important;gap:8px!important;box-sizing:border-box!important;
  border-bottom:1px solid #ffffff20!important;background:#101626!important;
}
.app-content .gyoweb-site-modal-head strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;}
.app-content .gyoweb-site-modal-head button{flex:0 0 auto!important;min-height:34px!important;padding:7px 10px!important;font-size:11px!important;}
.app-content .gyoweb-site-modal iframe{
  display:block!important;flex:1 1 auto!important;width:100%!important;height:auto!important;
  min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:#fff!important;
}


/* BUILD248: visible website viewer controls and fallback hint */
.app-content .gyoweb-site-modal-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:nowrap!important}
.app-content .gyoweb-site-actions{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important}
.app-content .gyoweb-site-actions button{white-space:nowrap!important;font-size:10px!important;padding:6px 8px!important}
.app-content .gyoweb-frame-hint{flex:0 0 auto!important;display:block!important;padding:7px 10px!important;background:#182238!important;color:#dbe6ff!important;border-bottom:1px solid #ffffff20!important;font-size:10px!important;line-height:1.35!important}
.app-content .gyoweb-site-modal iframe{flex:1 1 0!important;height:0!important;min-height:0!important;background:#fff!important}
@media(max-width:360px){.app-content .gyoweb-site-actions{gap:4px!important}.app-content .gyoweb-site-actions button{font-size:9px!important;padding:5px 6px!important}.app-content .gyoweb-frame-hint{font-size:9px!important;padding:6px 8px!important}}

/* BUILD249 — GyoWeb browser is a true app-content overlay, not a child of the scrolling search shell */
#appContent.gyoweb-modal-open{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;overflow:hidden!important;overscroll-behavior:none!important;isolation:isolate!important}
#appContent.gyoweb-modal-open>.gyoweb-shell{display:none!important;visibility:hidden!important;pointer-events:none!important}
#appContent>.gyoweb-site-modal[data-gyoweb-root="1"]{position:absolute!important;inset:0!important;z-index:2147483000!important;display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;transform:none!important;background:#fff!important;box-sizing:border-box!important}
#appContent>.gyoweb-site-modal[data-gyoweb-root="1"].hidden{display:none!important}
#appContent>.gyoweb-site-modal[data-gyoweb-root="1"] .gyoweb-site-modal-head{display:flex!important;flex:0 0 42px!important;min-height:42px!important;width:100%!important;box-sizing:border-box!important}
#appContent>.gyoweb-site-modal[data-gyoweb-root="1"] .gyoweb-frame-hint{flex:0 0 auto!important;max-height:34px!important;overflow:hidden!important;font-size:10px!important;line-height:1.25!important;padding:5px 9px!important;background:#fff7df!important;color:#59451a!important}
#appContent>.gyoweb-site-modal[data-gyoweb-root="1"] iframe{display:block!important;flex:1 1 0!important;width:100%!important;height:0!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important}


/* BUILD 257 — GyoWatch catalogue-first Movie view and bounded episode navigator */
.gyowatch-page .gyowatch-episode-tiles{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(48px,1fr))!important;gap:7px!important;max-height:min(42vh,340px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;align-content:start!important;padding:4px 5px 8px 1px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:color-mix(in srgb,var(--surface) 55%,transparent)!important;scrollbar-width:thin!important}
.gyowatch-page .gyowatch-episode-tile{min-height:42px!important;font-size:12px!important}
@media(max-width:420px){.gyowatch-page .gyowatch-episode-tiles{grid-template-columns:repeat(auto-fill,minmax(42px,1fr))!important;max-height:36vh!important;gap:6px!important}.gyowatch-page .gyowatch-episode-tile{min-height:38px!important;font-size:11px!important}}
.gyowatch-page .gyowatch-movie-hub{display:none!important}

/* BUILD264: GyoWatch player uses the complete available width without iframe overflow. */
.gyowatch-page,.gyowatch-page #gyowatchDetail,.gyowatch-page .gyowatch-player{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.gyowatch-page .gyowatch-iframe-wrap{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;overflow:hidden!important;box-sizing:border-box!important;background:#000!important}
.gyowatch-page .gyowatch-iframe-wrap iframe,.gyowatch-page .gyowatch-iframe-wrap video,.gyowatch-page .gyowatch-direct-video{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;min-width:0!important;object-fit:contain!important;border:0!important;box-sizing:border-box!important}
.gyowatch-page .gyowatch-playing-title{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-sizing:border-box!important}
.gyowatch-page .gyowatch-detail-head,.gyowatch-page .gyowatch-detail-head>div{min-width:0!important;max-width:100%!important}
@media(max-width:700px){.gyowatch-page .gyowatch-player{margin-left:0!important;margin-right:0!important;border-radius:10px!important}.gyowatch-page .gyowatch-iframe-wrap{aspect-ratio:16/9!important;min-height:0!important}.gyowatch-page .gyowatch-episodes{width:100%!important;max-width:100%!important;min-width:0!important}}
/* BUILD264: admin labels and long titles stay on one line with ellipsis. */
.watch-admin-card-info strong,.watch-admin-episode-list>div>span:first-child strong{display:block!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important}
.watch-admin-episode-list>div>span:first-child{min-width:0!important;max-width:100%!important}
#watchAdminYearFilter{min-width:105px}
#watchAdminYearFilter.hidden{display:none!important}
@media(max-width:680px){.watch-admin-heading .row{width:100%;display:grid!important;grid-template-columns:1fr 1fr!important}.watch-admin-heading .row #watchAdminSearch{grid-column:1/-1;max-width:none!important;width:100%!important}}



/* BUILD266: remove the retry control and give EmbedHeaven's mobile controls a little extra layout room. */
.gyowatch-page{overflow:visible!important;min-width:0!important}
.gyowatch-page #gyowatchDetail{overflow:visible!important;min-height:0!important}
.gyowatch-page .gyowatch-player{display:block!important;position:relative!important;overflow:visible!important;height:auto!important;min-height:0!important;padding:0!important}
.gyowatch-page .gyowatch-iframe-wrap{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;padding:0!important;overflow:hidden!important;border-radius:10px!important}
.gyowatch-page .gyowatch-iframe-wrap iframe{width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;display:block!important}
@media(max-width:700px){.gyowatch-page .gyowatch-iframe-wrap{width:100%!important;aspect-ratio:16/9!important;min-height:0!important;border-radius:8px!important}.gyowatch-page .gyowatch-player{margin:8px 0!important}}


/* BUILD284: GyoWatch player fit + provider-native fullscreen.
   The custom FULL SIZE / UNFULL SCREEN shell of Build283 was removed (the provider's own fullscreen button is used).
   1) Fit: when the player box is narrower than 720px, script.js sets data-fit and --gw-s on .gyowatch-iframe-wrap.
      The cross-origin iframe is laid out at (box / scale) and scaled down, so the provider UI (progress bar, buttons,
      its fullscreen icon) fits completely instead of being cropped. Wider boxes are untouched (scale 1).
   2) Provider fullscreen: the iframe becomes the browser's fullscreen element. Fit transform/size are neutralised for
      that state only, so the provider fills the screen. These are separate rules because an unknown pseudo-class in a
      selector list would invalidate the whole rule in older browsers. */
.gyowatch-player-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.gyowatch-page .gyowatch-iframe-wrap[data-fit]{overflow:hidden!important}
.gyowatch-page .gyowatch-iframe-wrap[data-fit] iframe{width:calc(100% / var(--gw-s,1))!important;height:calc(100% / var(--gw-s,1))!important;max-width:none!important;min-width:0!important;transform:scale(var(--gw-s,1))!important;transform-origin:0 0!important}
.gyowatch-page .gyowatch-iframe-wrap[data-fit] iframe:fullscreen{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform:none!important;border-radius:0!important}
.gyowatch-page .gyowatch-iframe-wrap[data-fit] iframe:-webkit-full-screen{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform:none!important;border-radius:0!important}
.gyowatch-page .gyowatch-iframe-wrap iframe:fullscreen{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
.gyowatch-page .gyowatch-iframe-wrap iframe:-webkit-full-screen{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
