/* v12 cascade policy: no priority overrides; modern rules win through load order and selector specificity. */
:root {
  --ga-blue: #1457c8;
  --ga-blue-strong: #0b43a5;
  --ga-blue-soft: rgba(20, 87, 200, .085);
  --ga-ink: #15243b;
  --ga-muted: #66748a;
  --ga-line: rgba(20, 39, 68, .105);
  --ga-line-strong: rgba(20, 39, 68, .16);
  --ga-panel: rgba(250, 252, 255, .88);
  --ga-panel-solid: rgba(255, 255, 255, .96);
  --ga-rail: rgba(248, 251, 255, .78);
  --ga-shadow: 0 18px 55px rgba(8, 24, 47, .18), 0 2px 10px rgba(8, 24, 47, .08);
  --ga-shadow-soft: 0 8px 24px rgba(8, 24, 47, .10);
  --ga-radius: 22px;
  --ga-radius-small: 14px;
  --ga-gap: 14px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #213044; }
body.ga-body {
  margin: 0 ;
  min-height: 100vh;
  color: var(--ga-ink);
  background: #213044 ;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Strong, visible randomized collage, rotated as requested. */
.ga-background {
  position: fixed;
  z-index: 0;
  inset: -55vmax;
  background-image: var(--ga-background-image);
  background-repeat: repeat;
  background-size: 285px auto;
  transform: rotate(-45deg) scale(1.13);
  transform-origin: center;
  opacity: .94;
  filter: saturate(.88) contrast(.96) brightness(.91);
  pointer-events: none;
}
.ga-body::after {
  content: "";
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,.06), transparent 38%),
    linear-gradient(90deg, rgba(10,24,43,.12), rgba(10,24,43,.02) 28%, rgba(10,24,43,.02) 72%, rgba(10,24,43,.12));
}

/* Only two slow transparent soap bubbles. */
.ga-bubble {
  position: fixed;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  opacity: .62;
  border: 1px solid rgba(255,255,255,.68);
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.78) 0 3%, rgba(255,255,255,.12) 5%, transparent 12%),
    radial-gradient(circle at 74% 70%, rgba(99,193,255,.12), transparent 42%),
    radial-gradient(circle at 30% 72%, rgba(255,129,220,.13), transparent 40%),
    radial-gradient(circle at center, transparent 0 58%, rgba(255,255,255,.18) 67%, rgba(110,185,255,.26) 77%, rgba(255,139,224,.18) 84%, transparent 92%);
  box-shadow:
    inset 11px 13px 22px rgba(255,255,255,.20),
    inset -9px -12px 22px rgba(71,134,220,.15),
    0 18px 55px rgba(7,20,38,.14);
  backdrop-filter: blur(1px) saturate(1.18);
  -webkit-backdrop-filter: blur(1px) saturate(1.18);
}
.ga-bubble-one {
  width: 155px; height: 155px;
  left: 2.1vw; top: 58vh;
  animation: gaBubbleOne 31s ease-in-out infinite alternate;
}
.ga-bubble-two {
  width: 128px; height: 128px;
  right: 2.3vw; top: 16vh;
  animation: gaBubbleTwo 37s ease-in-out infinite alternate;
}
@keyframes gaBubbleOne { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(15px,-30px,0) scale(1.035); } }
@keyframes gaBubbleTwo { from { transform: translate3d(0,0,0) scale(1.01); } to { transform: translate3d(-14px,31px,0) scale(.985); } }
@media (prefers-reduced-motion: reduce) { .ga-bubble { animation: none; } }

.ga-shell {
  position: relative;
  z-index: 3;
  width: min(1260px, calc(100% - 30px));
  margin: 22px auto 38px;
}

.ga-top,
.ga-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 772px) 230px;
  gap: var(--ga-gap);
  align-items: start;
}
.ga-top { margin-bottom: var(--ga-gap); }
.ga-layout { position: relative; }

/* Three top panels: clean frosted glass, not beveled boxes. */
.ga-top-panel {
  min-height: 116px;
  padding: 18px;
  display: flex;
  align-items: center;
  background: rgba(252, 253, 255, .90);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 24px;
  box-shadow: var(--ga-shadow);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}
.ga-brand-panel { justify-content: center; }
.ga-brand { display: block; width: 100%; text-align: center; }
.ga-brand img { display: block; width: 198px; max-width: 100%; height: auto; margin: auto; }
.ga-login-panel { flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; }
.ga-login-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; align-items: center; }
.ga-login-form input,
.ga-search-form input,
.ga-search-form select {
  width: 100%;
  border: 1px solid var(--ga-line-strong);
  border-radius: 13px;
  background: rgba(255,255,255,.92);
  color: var(--ga-ink);
  outline: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.65);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.ga-login-form input { height: 40px; padding: 0 12px; }
.ga-login-form input:focus,
.ga-search-form input:focus,
.ga-search-form select:focus {
  border-color: rgba(20,87,200,.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20,87,200,.10);
}
.ga-login-links { font-size: 11px; color: var(--ga-muted); }
.ga-login-links a, .ga-text-link { color: var(--ga-blue-strong); font-weight: 750; }
.ga-login-message { grid-column: 1 / -1; color: #9c3024; font-size: 11px; }
.ga-welcome { margin: auto 0; font-size: 14px; }
.ga-quick-panel { flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
.ga-quick-title { font-weight: 800; color: var(--ga-ink); letter-spacing: -.01em; }
.ga-quick-panel a { color: var(--ga-blue-strong); font-weight: 750; }
.ga-flags { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
.ga-flags img, .ga-flag { width: 20px; height: 12px; object-fit: cover; vertical-align: middle; border-radius: 2px; }
.ga-flags img.is-selected { outline: 2px solid var(--ga-blue); outline-offset: 2px; }

/* Side panels remain independent cards. Never merge them into one rail. */
.ga-left-column,
.ga-right-column,
.ga-center-column {
  min-width: 0;
  display: grid;
  gap: var(--ga-gap);
  align-content: start;
}
.ga-left-column,
.ga-right-column {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.ga-left-column > .ga-panel,
.ga-right-column > .ga-panel {
  margin: 0;
  padding: 14px;
  background: rgba(250,252,255,.90);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(8,24,47,.14), 0 2px 8px rgba(8,24,47,.07);
  backdrop-filter: blur(16px) saturate(1.06);
  -webkit-backdrop-filter: blur(16px) saturate(1.06);
  overflow: hidden;
}

/* Main content surfaces are calm and spacious. */
.ga-center-column > .ga-panel,
.ga-footer {
  background: var(--ga-panel);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: var(--ga-radius);
  box-shadow: var(--ga-shadow);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  overflow: hidden;
}
.ga-center-column > .ga-panel { padding: 17px; }

.ga-panel-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 27px;
  margin: 0 0 11px;
  padding: 0;
  border: 0;
}
.ga-panel-heading-action { justify-content: flex-start; }
.ga-panel-heading-action .ga-button { margin-left: auto; }
.ga-panel-heading h2 {
  margin: 0;
  color: var(--ga-ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.012em;
}
.ga-heading-icon {
  width: 27px;
  height: 27px;
  min-width: 27px;
  display: grid;
  place-items: center;
  color: var(--ga-blue-strong);
  background: var(--ga-blue-soft);
  border-radius: 9px;
  font-size: 14px;
  line-height: 1;
}
.ga-muted { color: var(--ga-muted); }
.ga-empty { padding: 5px 1px 3px; color: var(--ga-muted); font-size: 11.5px; }

a { color: var(--ga-blue-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.ga-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  min-height: 38px;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none ;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.ga-button-primary {
  color: #fff;
  background: var(--ga-blue);
  box-shadow: 0 8px 18px rgba(20,87,200,.22);
}
.ga-button-primary:hover { transform: translateY(-1px); background: var(--ga-blue-strong); }
.ga-button-quiet {
  min-height: 31px;
  padding: 0 11px;
  color: var(--ga-blue-strong);
  background: rgba(255,255,255,.67);
  border: 1px solid var(--ga-line);
  box-shadow: none;
  font-size: 10.5px;
}
.ga-button-quiet:hover { background: #fff; }

.ga-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.ga-stat {
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-height: 78px;
  padding: 8px 2px;
  background: rgba(255,255,255,.48);
  border-radius: 13px;
}
.ga-stat-icon { font-size: 18px; color: #182943; line-height: 1; }
.ga-stat strong { color: var(--ga-blue-strong); font-size: 20px; line-height: 1; }
.ga-stat span:last-child { font-size: 9.5px; color: #46536a; line-height: 1.25; }

.ga-list { display: grid; gap: 2px; }
.ga-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 28px;
  padding: 5px 7px;
  border-radius: 9px;
  color: #273850;
  font-size: 11px;
  transition: background .15s ease, color .15s ease;
}
.ga-list-row:hover { background: rgba(255,255,255,.58); color: var(--ga-blue-strong); text-decoration: none; }
.ga-list-row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ga-list-row strong { color: var(--ga-blue-strong); }
.ga-site-row { align-items: flex-start; }
.ga-site-flags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
.ga-advantages { padding: 20px 5px 14px ; text-align: center; }
.ga-advantages img { max-width: 168px; width: 100%; height: auto; mix-blend-mode: multiply; }

.ga-intro-panel { padding: 18px 20px ; }
.ga-intro-panel p { margin: 0 0 9px; font-size: 12.5px; line-height: 1.5; }
.ga-intro-panel p:last-child { margin-bottom: 0; }

/* The single search is visually dominant. */
.ga-search-panel { padding: 11px ; background: rgba(250,252,255,.94) ; }
.ga-search-form { display: grid; grid-template-columns: minmax(0,1fr) 170px 94px; gap: 9px; }
.ga-search-input-wrap { position: relative; }
.ga-search-input { height: 50px; padding: 0 45px 0 16px; font-size: 14px; }
.ga-search-symbol { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--ga-blue-strong); font-size: 18px; pointer-events: none; }
.ga-search-form select { height: 50px; padding: 0 12px; }
.ga-search-button { height: 50px; }

.ga-category-feature { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.ga-category-feature > img { width: 120px; max-height: 120px; object-fit: contain; }
.ga-category-feature h2 { margin: 0 0 5px; color: var(--ga-ink); }
.ga-category-feature p { margin: 0; font-size: 12px; }

.ga-categories-panel { padding-bottom: 15px ; }
.ga-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2px 13px;
}
.ga-category-grid[hidden] { display: none; }
.ga-category-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 4px 5px;
  border-radius: 10px;
  color: #23466f;
  font-size: 10.5px;
  font-weight: 680;
}
.ga-category-link:hover { background: rgba(255,255,255,.62); color: var(--ga-blue-strong); text-decoration: none; }
.ga-category-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--ga-blue-strong);
  background: var(--ga-blue-soft);
  border: 0;
  border-radius: 8px;
  font-size: 9px;
}
.ga-category-count { color: #7a8799; font-size: 9px; }

.ga-featured-panel,
.ga-auction-switcher { padding: 12px ; }
.ga-featured-grid,
.ga-auction-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 11px;
}

.ga-featured-stamp,
.ga-auction-card {
  min-width: 0;
  border: 0;
  border-radius: 17px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 6px 18px rgba(8,24,47,.075);
}
.ga-featured-stamp {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(226,238,255,.86), rgba(255,255,255,.68));
}
.ga-featured-badge {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  color: var(--ga-blue-strong);
  border: 2px solid rgba(20,87,200,.35);
  box-shadow: inset 0 0 0 7px rgba(20,87,200,.045), 0 10px 25px rgba(15,51,105,.10);
  transform: rotate(-5deg);
}
.ga-featured-badge span { font-size: 24px; line-height: 1; }
.ga-featured-badge strong { font-size: 14px; letter-spacing: .05em; }
.ga-featured-badge small { font-size: 8px; letter-spacing: .16em; }

.ga-auction-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: 0;
  padding: 0 ;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #dce4ed;
  box-shadow: 0 8px 24px rgba(8,24,47,.11);
  transition: transform .18s ease, box-shadow .18s ease;
  isolation: isolate;
}
.ga-auction-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(8,24,47,.18);
}
.ga-auction-card.is-new { box-shadow: inset 0 3px 0 #42a55b, 0 8px 24px rgba(8,24,47,.11); }
.ga-auction-card.is-ending { box-shadow: inset 0 3px 0 #dd5043, 0 8px 24px rgba(8,24,47,.11); }
.ga-auction-card-empty { display: grid; place-items: center; color: var(--ga-muted); }

/* The complete auction tile is a square. The 310px source image fills it by cropping. */
.ga-auction-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #e8edf3;
  z-index: 0;
}
.ga-auction-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(4,12,24,.28) 0%,
    rgba(4,12,24,.03) 24%,
    rgba(4,12,24,.02) 52%,
    rgba(4,12,24,.18) 68%,
    rgba(4,12,24,.82) 100%);
}
.ga-auction-image::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
  border-radius: inherit;
}
.ga-auction-image > img {
  display: block;
  width: 100% ;
  height: 100% ;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.015);
  transition: transform .34s ease;
}
.ga-auction-card:hover .ga-auction-image > img { transform: scale(1.075); }

.ga-image-price-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  width: 64px;
  height: 64px;
  padding: 7px 5px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(8,16,29,.88);
  box-shadow: 0 8px 22px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
  text-align: center;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ga-image-price-badge .ga-price-flag {
  display: block;
  width: 22px ;
  height: 14px ;
  max-width: 22px;
  max-height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.48);
  transform: none;
}
.ga-image-price-badge strong {
  max-width: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: -.02em;
}

/* All auction text is now overlaid inside the square tile: nothing hangs underneath it. */
.ga-auction-card > h3,
.ga-auction-card > .ga-auction-meta,
.ga-auction-card > .ga-auction-time {
  position: absolute ;
  margin: 0 ;
  box-sizing: border-box;
}
.ga-auction-card h3 {
  position: absolute;
  z-index: 4;
  left: 12px;
  right: 80px;
  bottom: 12px;
  margin: 0;
  min-height: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 780;
  text-shadow: 0 2px 8px rgba(0,0,0,.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ga-auction-card h3 a { color: inherit; }
.ga-auction-meta,
.ga-auction-time {
  position: absolute;
  z-index: 4;
  top: 10px;
  min-height: 0;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(7,17,31,.72);
  color: #fff;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 750;
  box-shadow: 0 3px 10px rgba(0,0,0,.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  white-space: nowrap;
}
.ga-auction-meta { left: 10px; display: flex; align-items: center; }
.ga-auction-time { right: 10px; max-width: 52%; color: #fff; }

/* Large icon-only 3-way selector: obvious, clean, no legacy arrows. */
.ga-switch-tabs {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr)) auto;
  gap: 6px;
  margin-bottom: 11px;
  padding: 5px;
  border: 0;
  border-radius: 16px;
  overflow: visible;
  background: rgba(231,237,246,.72);
}
.ga-switch-tab {
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.ga-switch-tab:hover { background: rgba(255,255,255,.60); }
.ga-switch-tab img { max-height: 29px; max-width: 40px; width: auto; }
.ga-switch-tab.is-active {
  background: #fff;
  box-shadow: 0 6px 18px rgba(8,24,47,.10);
  transform: translateY(-1px);
}
.ga-switch-tab.is-active img { filter: none; }
.ga-switch-view-all {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 0 14px;
  border: 1px solid rgba(20,87,200,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  color: var(--ga-blue-strong);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(8,24,47,.07);
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.ga-switch-view-all:hover {
  background: #fff;
  box-shadow: 0 8px 20px rgba(8,24,47,.12);
  transform: translateY(-1px);
  text-decoration: none;
}
.ga-switch-view[hidden] { display: none; }

.ga-profile-card { display: grid; justify-items: center; text-align: center; gap: 6px; font-size: 11px; }
.ga-profile-image { width: 82px; height: 82px; object-fit: contain; border-radius: 14px; }
.ga-news-list { display: grid; gap: 5px; }
.ga-news-item { display: grid; gap: 2px; padding: 6px; border-radius: 9px; }
.ga-news-item:hover { background: rgba(255,255,255,.55); text-decoration: none; }
.ga-news-item span { color: #536176; font-size: 10px; }

.ga-footer {
  width: 772px;
  margin: 14px auto 0;
  padding: 15px 18px;
  background: rgba(250,252,255,.78);
}
.ga-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 16px; padding-bottom: 11px; border-bottom: 1px solid var(--ga-line); font-size: 10px; font-weight: 750; }
.ga-footer-copy { padding-top: 11px; font-size: 10px; color: #46536a; }
.ga-footer-copy p { margin: 0 0 7px; }
.ga-powered { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.ga-powered img { width: 200px; max-width: 70%; height: auto; }
.ga-loadtime { font-size: 6px; }

.ga-visually-hidden {
  position: absolute ;
  width: 1px ;
  height: 1px ;
  padding: 0 ;
  margin: -1px ;
  overflow: hidden ;
  clip: rect(0,0,0,0) ;
  white-space: nowrap ;
  border: 0 ;
}

winfo, tinfo { display: block; }
tinfo { max-width: 500px; }

@media (max-width: 1240px) {
  .ga-shell { width: min(1100px, calc(100% - 22px)); }
  .ga-top, .ga-layout { grid-template-columns: 210px minmax(0,652px) 210px; }
  .ga-footer { width: 652px; }
}

@media (max-width: 980px) {
  .ga-shell { width: min(760px, calc(100% - 18px)); }
  .ga-top { grid-template-columns: 1fr 1.7fr; }
  .ga-quick-panel { grid-column: 1 / -1; min-height: 72px; flex-direction: row; justify-content: space-between; }
  .ga-layout { grid-template-columns: 1fr; }
  .ga-center-column { grid-row: 1; }
  .ga-left-column, .ga-right-column { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--ga-gap); }
  .ga-footer { width: 100%; }
}

@media (max-width: 650px) {
  .ga-shell { width: calc(100% - 12px); margin-top: 7px; }
  .ga-top { grid-template-columns: 1fr; }
  .ga-top-panel { min-height: auto; }
  .ga-login-form { grid-template-columns: 1fr; }
  .ga-login-links { text-align: center; }
  .ga-quick-panel { grid-column: auto; }
  .ga-search-form { grid-template-columns: 1fr; }
  .ga-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ga-featured-grid, .ga-auction-grid-3x3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ga-left-column, .ga-right-column { grid-template-columns: 1fr; }
  .ga-bubble-two { display: none; }
}

/* v8: featured action lives inside the first square; no heading row above. */
.ga-featured-panel { padding: 12px ; }
.ga-featured-stamp {
  position: relative;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(12px, 2vw, 20px);
  gap: 10px;
}
.ga-featured-viewall {
  position: relative;
  z-index: 2;
  min-width: 84px;
  justify-content: center;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(8,24,47,.10);
}

/* v8 responsive layout: preserve the desktop three-column composition,
   then progressively reflow without horizontal scrolling. */
@media (max-width: 1240px) {
  .ga-shell { width: min(1120px, calc(100% - 22px)); }
  .ga-top,
  .ga-layout { grid-template-columns: 210px minmax(0, 1fr) 210px; }
  .ga-footer { width: auto; max-width: 772px; }
}

@media (max-width: 1000px) {
  .ga-shell { width: min(820px, calc(100% - 20px)); }
  .ga-top { grid-template-columns: minmax(180px,.8fr) minmax(0,1.65fr); }
  .ga-quick-panel {
    grid-column: 1 / -1;
    min-height: 68px;
    flex-direction: row;
    justify-content: center;
    gap: 18px;
  }
  .ga-layout { grid-template-columns: 1fr; }
  .ga-center-column { grid-column: 1; grid-row: 1; }
  .ga-left-column { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ga-right-column { grid-column: 1; grid-row: 3; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ga-left-column .ga-advantages { min-height: 170px; display: grid; place-items: center; }
  .ga-footer { width: 100%; max-width: none; }
}

@media (max-width: 700px) {
  :root { --ga-gap: 10px; --ga-radius: 18px; }
  body.ga-body { font-size: 12.5px; }
  .ga-shell { width: calc(100% - 12px); margin: 7px auto 20px; }
  .ga-top { grid-template-columns: 1fr; gap: 10px; }
  .ga-top-panel { min-height: auto; padding: 13px 14px; border-radius: 18px; }
  .ga-brand img { width: min(220px, 82vw); }
  .ga-login-form { grid-template-columns: 1fr; }
  .ga-login-form .ga-button { width: 100%; }
  .ga-login-links { text-align: center; }
  .ga-quick-panel {
    grid-column: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 14px;
  }
  .ga-quick-title { width: 100%; }

  .ga-center-column > .ga-panel { padding: 12px; border-radius: 18px; }
  .ga-intro-panel { padding: 14px ; }
  .ga-intro-panel p { font-size: 12px; }
  .ga-search-panel { padding: 8px ; }
  .ga-search-form { grid-template-columns: 1fr; gap: 7px; }
  .ga-search-input,
  .ga-search-form select,
  .ga-search-button { height: 46px; }

  .ga-panel-heading { margin-bottom: 8px; }
  .ga-panel-heading-action { flex-wrap: wrap; }
  .ga-panel-heading-action .ga-button { margin-left: auto; }
  .ga-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 8px; }
  .ga-category-link { min-height: 30px; padding: 4px 3px; gap: 5px; font-size: 10px; }
  .ga-category-icon { width: 20px; height: 20px; border-radius: 7px; }

  .ga-featured-panel,
  .ga-auction-switcher { padding: 8px ; }
  .ga-featured-grid,
  .ga-auction-grid-3x3 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .ga-featured-stamp,
  .ga-auction-card { border-radius: 14px; }
  .ga-featured-badge { width: 92px; height: 92px; }
  .ga-featured-badge span { font-size: 20px; }
  .ga-featured-badge strong { font-size: 11px; }
  .ga-featured-viewall { min-height: 32px; min-width: 76px; font-size: 10px; }

  .ga-image-price-badge {
    right: 7px;
    bottom: 7px;
    width: 54px;
    height: 54px;
    padding: 5px 4px;
    gap: 3px;
  }
  .ga-image-price-badge .ga-price-flag { width: 18px ; height: 11px ; }
  .ga-image-price-badge strong { max-width: 46px; font-size: 10px; }
  .ga-auction-card h3 { left: 8px; right: 66px; bottom: 8px; font-size: 10.5px; }
  .ga-auction-meta,
  .ga-auction-time { top: 7px; padding: 4px 6px; font-size: 8.5px; }
  .ga-auction-meta { left: 7px; }
  .ga-auction-time { right: 7px; }
  .ga-switch-tabs { margin-bottom: 8px; padding: 4px; border-radius: 13px; gap: 4px; }
  .ga-switch-view-all { min-width: 92px; padding: 0 9px; font-size: 9.5px; border-radius: 10px; }
  .ga-switch-tab { height: 44px; border-radius: 10px; }
  .ga-switch-tab img { max-height: 26px; max-width: 36px; }
  .ga-view-all { margin: 8px 2px 0; }

  .ga-left-column,
  .ga-right-column { grid-template-columns: 1fr; gap: 10px; }
  .ga-left-column > .ga-panel,
  .ga-right-column > .ga-panel { padding: 12px; border-radius: 16px; }
  .ga-left-column .ga-advantages { min-height: 0; }
  .ga-advantages img { max-width: 150px; }

  .ga-footer { margin-top: 10px; padding: 13px; border-radius: 18px; }
  .ga-footer-nav { gap: 6px 12px; }
  .ga-bubble-one { width: 108px; height: 108px; left: -20px; }
  .ga-bubble-two { display: none; }
}

@media (max-width: 430px) {
  .ga-shell { width: calc(100% - 8px); }
  .ga-top-panel { padding: 11px 12px; }
  .ga-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ga-category-link { font-size: 9.4px; }
  .ga-featured-grid,
  .ga-auction-grid-3x3 { gap: 6px; }
  .ga-featured-badge { width: 78px; height: 78px; }
  .ga-featured-badge span { font-size: 17px; }
  .ga-featured-badge strong { font-size: 10px; }
  .ga-featured-badge small { font-size: 7px; }
  .ga-featured-viewall { min-height: 29px; min-width: 70px; padding: 0 9px; }
  .ga-switch-view-all { min-width: 82px; padding: 0 7px; font-size: 8.8px; }
  .ga-image-price-badge { width: 50px; height: 50px; }
  .ga-auction-card h3 { right: 61px; font-size: 10px; }
  .ga-auction-meta,
  .ga-auction-time { font-size: 8px; }
}

/* v10 shared modern treatment for the rest of the auction application. */
.ga-lifted-page {
  width: 100%;
  margin: 0 0 var(--ga-gap);
  padding: clamp(16px, 2.4vw, 28px);
  background: rgba(250,252,255,.88);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--ga-radius);
  box-shadow: var(--ga-shadow);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  overflow: hidden;
}
.ga-lifted-page > br:first-child { display:none; }
.ga-lifted-page h1,
.ga-lifted-page h2,
.ga-lifted-page h3,
.ga-lifted-page h4 {
  color: var(--ga-ink);
  letter-spacing: -.02em;
}
.ga-lifted-page h1 { font-size: clamp(22px, 3vw, 34px); }
.ga-lifted-page h2 { font-size: clamp(18px, 2vw, 25px); }
.ga-lifted-page h3 { font-size: 16px; }
.ga-lifted-page a { color: var(--ga-blue-strong); }
.ga-lifted-page img { max-width: 100%; height: auto; }
.ga-lifted-page hr { border: 0; border-top: 1px solid var(--ga-line); margin: 18px 0; }
.ga-lifted-page center { max-width: 100%; }

/* Former layout tables: now real block/grid containers in the JSP source. */
.ga-lifted-page .ga-legacy-table,
.ga-lifted-page .ga-legacy-body,
.ga-lifted-page .ga-legacy-headgroup,
.ga-lifted-page .ga-legacy-footgroup {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 10px;
  background: transparent ;
  border: 0 ;
}
.ga-lifted-page .ga-legacy-table {
  margin: 0 0 14px;
}
.ga-lifted-page .ga-legacy-row {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px 14px;
  align-items: center;
  background: transparent ;
}
.ga-lifted-page .ga-legacy-cell {
  min-width: 0;
  width: auto ;
  max-width: 100%;
  padding: 6px 4px;
  background: transparent ;
  border: 0 ;
  vertical-align: middle;
}
.ga-lifted-page .ga-legacy-th {
  font-weight: 800;
  color: var(--ga-ink);
}
.ga-lifted-page .border,
.ga-lifted-page .sitearea,
.ga-lifted-page .auctionlist_1,
.ga-lifted-page .auctionimage,
.ga-lifted-page .infotable {
  padding: 14px ;
  border: 1px solid var(--ga-line) ;
  border-radius: 16px;
  background: rgba(255,255,255,.62) ;
  box-shadow: 0 8px 24px rgba(8,24,47,.06);
}
.ga-lifted-page .cat1,
.ga-lifted-page .cat2,
.ga-lifted-page .cat3,
.ga-lifted-page .cat4,
.ga-lifted-page .cat5,
.ga-lifted-page .title {
  background: transparent ;
  color: var(--ga-ink) ;
}
.ga-lifted-page .title {
  font-size: 15px;
  font-weight: 850;
  padding: 8px 0 ;
}

/* Forms are consistent, touch-friendly, and responsive. */
.ga-lifted-page input[type="text"],
.ga-lifted-page input[type="password"],
.ga-lifted-page input[type="email"],
.ga-lifted-page input[type="number"],
.ga-lifted-page input[type="date"],
.ga-lifted-page input[type="search"],
.ga-lifted-page select,
.ga-lifted-page textarea {
  max-width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--ga-line-strong) ;
  border-radius: 12px ;
  color: var(--ga-ink);
  background: rgba(255,255,255,.94) ;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
  outline: none;
}
.ga-lifted-page textarea { min-height: 110px; resize: vertical; }
.ga-lifted-page input:focus,
.ga-lifted-page select:focus,
.ga-lifted-page textarea:focus {
  border-color: rgba(20,87,200,.58) ;
  box-shadow: 0 0 0 4px rgba(20,87,200,.10) ;
}
.ga-lifted-page input[type="submit"],
.ga-lifted-page input[type="button"],
.ga-lifted-page button,
.ga-lifted-page #submitlink {
  min-height: 38px;
  padding: 8px 14px;
  border: 0 ;
  border-radius: 11px ;
  color: #fff ;
  font-weight: 800;
  background: linear-gradient(180deg, #1b67da, #0d49ae) ;
  box-shadow: 0 7px 18px rgba(13,73,174,.20);
  cursor: pointer;
}
.ga-lifted-page input[type="image"] {
  border-radius: 10px;
}
.ga-lifted-page label { color: var(--ga-ink); font-weight: 650; }

/* Pagination / action groups that used to be generated as tiny tables. */
.ga-inline-pager,
.ga-inline-pager-row,
.ga-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.ga-inline-cell { display: inline-flex; align-items: center; gap: 5px; }
.ga-inline-actions form { margin: 0; }
.ga-center { justify-content: center; }
.ga-tooltip-layout {
  width: min(500px, 86vw);
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 16px;
}
.ga-product-details { text-align:left; }
.ga-product-details-text { display:block; margin-top:10px; }

/* Long legal/info pages read like documents rather than old form tables. */
.ga-page-auc11privacystatement,
.ga-page-auc12fees,
.ga-page-auc13termsconditions,
.ga-page-auc14about {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.ga-page-auc11privacystatement p,
.ga-page-auc12fees p,
.ga-page-auc13termsconditions p,
.ga-page-auc14about p,
.ga-page-auc11privacystatement li,
.ga-page-auc12fees li,
.ga-page-auc13termsconditions li,
.ga-page-auc14about li {
  font-size: 14px;
  line-height: 1.68;
}

/* Auction search/list/detail pages can use wider content while remaining responsive. */
.ga-page-auc04list,
.ga-page-auc05details,
.ga-page-auc06my,
.ga-page-auc07messages,
.ga-page-auc10ratingslist {
  width: 100%;
}
.ga-page-auc04list .auctionlist_1,
.ga-page-auc06my .auctionlist_1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 14px;
}

/* Shared sphere container is emitted by both common headers. */
.ga-glass-spheres { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.ga-glass-spheres .ga-bubble { position: absolute; }
.ga-shell-end { width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 760px) {
  .ga-lifted-page { padding: 13px; border-radius: 18px; }
  .ga-lifted-page .ga-legacy-row { grid-template-columns: 1fr; gap: 6px; }
  .ga-lifted-page .ga-legacy-cell { padding: 4px 2px; }
  .ga-lifted-page .border,
  .ga-lifted-page .sitearea,
  .ga-lifted-page .auctionlist_1,
  .ga-lifted-page .auctionimage,
  .ga-lifted-page .infotable { padding: 10px ; border-radius: 13px; }
  .ga-lifted-page input[type="text"],
  .ga-lifted-page input[type="password"],
  .ga-lifted-page input[type="email"],
  .ga-lifted-page input[type="number"],
  .ga-lifted-page input[type="date"],
  .ga-lifted-page input[type="search"],
  .ga-lifted-page select,
  .ga-lifted-page textarea,
  .ga-lifted-page input[type="submit"],
  .ga-lifted-page button { width: 100%; }
}

/* Remaining runtime-generated tables are data/pagination widgets, not page-layout tables. */
.ga-lifted-page table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--ga-line);
  border-radius: 14px;
  overflow: hidden;
}
.ga-lifted-page table td,
.ga-lifted-page table th {
  padding: 8px 9px;
  border-bottom: 1px solid rgba(20,39,68,.07);
  vertical-align: middle;
}
.ga-lifted-page table tr:last-child td { border-bottom: 0; }
.ga-lifted-page table th { text-align: left; font-weight: 800; color: var(--ga-ink); }
@media (max-width:760px) {
  .ga-lifted-page table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

/* Retire legacy layout chrome without changing page data or form behavior. */
.ga-lifted-page img[src$="pixel.gif"],
.ga-lifted-page img[src$="c1.gif"],
.ga-lifted-page img[src$="c2.gif"],
.ga-lifted-page img[src$="partg1.gif"],
.ga-lifted-page img[src$="partg2.gif"] { display:none ; }
.ga-lifted-page .partb {
  min-height: auto ;
  padding: 4px 0 12px ;
  background: transparent ;
  color: var(--ga-ink) ;
  font-size: clamp(19px,2.2vw,27px) ;
  font-weight: 850 ;
  letter-spacing: -.025em;
}
.ga-lifted-page [background] { background-image:none ; }
.ga-lifted-page .contentfont,
.ga-lifted-page .smallfont,
.ga-lifted-page .user_text,
.ga-lifted-page .user_texthead { font-family: inherit ; color: var(--ga-ink); }
