/* Gold hub — offers list (templates/catalog/gold.html, static/fb3/js/gold.js). Ice-shard corners and tokens from fb.css. */
.go { margin-top: 18px; padding: 22px; display: grid; gap: 16px; }
.go-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.go-head h2 { font-size: 22px; }
.go-count { color: var(--muted); font-size: 13px; }
.go-count b { color: #fff; font-variant-numeric: tabular-nums; }
.go-launch { margin: 0; padding: 12px 16px; border-radius: var(--sh-s); background: linear-gradient(100deg, rgba(22, 115, 255, .18), rgba(75, 85, 240, .12)); box-shadow: inset 0 0 0 1px rgba(31, 200, 255, .28); color: var(--soft); font-size: 14px; }
.go-launch b { color: #fff; }
.go-tools { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; }
.go-f { display: grid; gap: 7px; min-width: 0; }
.go-l { font: 600 10.5px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.go-search { flex: 1 1 220px; }
.go-sort { flex: 0 1 190px; }
.go-in { position: relative; display: flex; align-items: center; height: 42px; border-radius: var(--sh-s); background: rgba(8, 12, 32, .8); box-shadow: inset 0 0 0 1px var(--line-2); }
.go-in:focus-within { box-shadow: inset 0 0 0 2px var(--cyan); }
.go-in svg { width: 17px; height: 17px; margin-left: 13px; color: var(--faint); flex: none; }
.go-in input, .go-in select { flex: 1; min-width: 0; height: 100%; padding: 0 14px 0 10px; border: 0; outline: 0; background: transparent; color: #fff; font: 500 14px var(--body); }
.go-in select { padding-left: 14px; padding-right: 34px; cursor: pointer; appearance: none; background: linear-gradient(45deg, transparent 50%, #9fe3ff 50%) calc(100% - 18px) 18px / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, #9fe3ff 50%) calc(100% - 12px) 18px / 6px 6px no-repeat; }
.go-in select option { background: #121836; color: #fff; }
.go-cols, .go-row { display: grid; grid-template-columns: minmax(150px, 1.45fr) minmax(104px, .85fr) minmax(170px, 1.45fr) minmax(92px, .8fr) minmax(92px, .75fr) minmax(108px, .85fr) 92px; gap: 14px; align-items: center; }
.go-cols { padding: 0 18px; font: 600 10.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.go-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
/* rows past the first screen are laid out only when scrolled near (20 rows ≈ 660 elements on a phone) */
.go-list > .go-row:nth-child(n+4) { content-visibility: auto; contain-intrinsic-size: auto 233px; }
@media (min-width: 701px) { .go-list > .go-row:nth-child(n+4) { contain-intrinsic-size: auto 163px; } }
@media (min-width: 1181px) { .go-list > .go-row:nth-child(n+4) { contain-intrinsic-size: auto 92px; } }
.go-row { position: relative; padding: 14px 18px; border-radius: var(--sh-m); background: rgba(8, 12, 32, .5); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.go-row[hidden], .go-order[hidden] { display: none; }
.go-row:hover { background: rgba(14, 20, 50, .7); box-shadow: inset 0 0 0 1px var(--line-2); }
.go-row.is-open { background: rgba(18, 26, 64, .85); box-shadow: inset 0 0 0 1px rgba(31, 200, 255, .55); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.go-srv { display: grid; gap: 2px; min-width: 0; }
.go-srv b { font: 600 15px/1.25 var(--head); color: #fff; }
.go-srv small { color: var(--faint); font-size: 12px; line-height: 1.35; }
.go-fac { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--soft); }
.go-fac i { width: 9px; height: 9px; flex: none; transform: rotate(45deg); background: #8a93b8; }
.go-fac.f-alliance i { background: #3b8cff; box-shadow: 0 0 8px rgba(59, 140, 255, .7); }
.go-fac.f-horde i { background: #ff4b4b; box-shadow: 0 0 8px rgba(255, 75, 75, .6); }
/* games without factions: the mode the gold lives in (Diablo 4) */
.go-fac.f-softcore i { background: #1fc8ff; box-shadow: 0 0 8px rgba(31, 200, 255, .6); }
.go-fac.f-hardcore i { background: #ff4b4b; box-shadow: 0 0 8px rgba(255, 75, 75, .6); }
.go-tag { padding: 2px 7px; border-radius: 2px 7px 2px 7px; background: rgba(255, 255, 255, .06); color: var(--faint); font: 700 10.5px var(--body); font-style: normal; letter-spacing: .08em; }
.go-sel { display: flex; align-items: center; gap: 10px; min-width: 0; }
.go-sel > div { display: grid; gap: 1px; min-width: 0; }
.go-sel b { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-av { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 3px 11px 3px 11px; background: var(--g-mint); color: #fff; font: 700 14px var(--head); }
.go-av.is-store { background: linear-gradient(150deg, #1d2a5e, #0d1430); box-shadow: inset 0 0 0 1px rgba(31, 200, 255, .45); }
.go-av img { width: 22px; height: 22px; object-fit: contain; }
.go-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; font-size: 12.5px; font-weight: 700; color: #fff; }
.go-rate i { color: #ffc94a; font-style: normal; }
.go-rate em { font-style: normal; font-weight: 500; color: var(--faint); font-size: 11.5px; }
.go-rate.is-new { color: var(--faint); font-weight: 500; }
.go-kv { display: grid; gap: 1px; min-width: 0; }
.go-kv small { display: none; font: 600 10px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.go-kv b { color: var(--soft); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.go-price small { display: block; letter-spacing: .06em; text-transform: none; font-size: 11px; font-weight: 500; }
.go-price b { color: #fff; font: 700 18px/1.15 var(--body); }
.go-buy { justify-self: end; min-width: 84px; }
.go-none { margin: 4px 0 0; }
.go-order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 18px; margin-top: -8px; padding: 18px; border-radius: 0 0 var(--sh-m) var(--sh-m); border-top-right-radius: 0; background: rgba(12, 18, 46, .92); box-shadow: inset 0 0 0 1px rgba(31, 200, 255, .55); }
.go-amount { display: grid; gap: 10px; align-content: start; }
.go-amt { display: flex; align-items: center; gap: 6px; }
.go-amt button { width: 44px; height: 44px; flex: none; border: 0; border-radius: var(--sh-s); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: #fff; font-size: 20px; cursor: pointer; }
.go-amt button:hover { background: rgba(111, 214, 255, .1); }
.go-amt input { width: 150px; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: var(--sh-s); background: rgba(8, 12, 32, .85); box-shadow: inset 0 0 0 1px var(--line-2); color: #fff; font: 700 17px var(--body); text-align: center; -moz-appearance: textfield; }
.go-amt input::-webkit-inner-spin-button, .go-amt input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.go-amt input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--cyan); }
.go-unit { color: var(--muted); font-weight: 600; font-size: 13px; margin: 0 4px; }
.go-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.go-chips button { padding: 7px 12px; border: 0; border-radius: 2px 9px 2px 9px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); font: 600 12.5px var(--body); cursor: pointer; font-variant-numeric: tabular-nums; }
.go-chips button:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.go-chips button.on { color: #fff; background: linear-gradient(135deg, #1673ff, #4b55f0); box-shadow: none; }
.go-hint { color: var(--faint); font-size: 12px; line-height: 1.5; }
.go-sum { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: var(--sh-m); background: rgba(8, 12, 32, .6); box-shadow: inset 0 0 0 1px var(--line); }
.go-sum small { font: 600 10.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.go-sum strong { font: 700 32px/1.05 var(--body); color: #fff; font-variant-numeric: tabular-nums; }
.go-per { font-size: 12.5px; color: var(--muted); }
.go-sum .sa-btns { display: flex; height: 48px; margin-top: 8px; border-radius: 5px 18px 5px 18px; overflow: hidden; }
.go-sum .sa-btns .ibtn { width: 52px; height: auto; border: 0; border-radius: 0; background: rgba(22, 115, 255, .28); color: #cfe9ff; }
.go-sum .sa-btns .btn { flex: 1; height: auto; border-radius: 0; justify-content: center; }
.go-sum .calc-msg { margin: 6px 0 0; font-size: 13px; }
.go-sum .calc-msg.err { color: #ff9a9a; }
.go-sum .calc-msg.ok { color: #8ef0c4; }
.go-sum .calc-msg a { text-decoration: underline; }

@media (max-width: 1180px) {
  .go-cols { display: none; }
  .go-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-areas: "srv srv price buy" "fac sel stock min"; row-gap: 12px; }
  .go-srv { grid-area: srv; } .go-fac { grid-area: fac; } .go-sel { grid-area: sel; } .go-stock { grid-area: stock; } .go-min { grid-area: min; } .go-price { grid-area: price; } .go-buy { grid-area: buy; }
  .go-kv small { display: block; }
}
@media (max-width: 700px) {
  .go { padding: 16px 14px; gap: 14px; }
  .go-head h2 { font-size: 19px; }
  .go-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .go-tools .go-f { min-width: 0; }
  .go-tools .cq-seg { display: flex; }
  .go-tools .cq-seg button { flex: 1; justify-content: center; padding: 8px 6px; }
  .go-search { grid-column: 1 / -1; }
  .go-tools .go-f:has([data-go-faction]) { grid-column: 1 / -1; }
  .go-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "srv price" "fac stock" "sel min" "buy buy"; gap: 10px 12px; padding: 14px; }
  .go-price, .go-stock, .go-min { text-align: right; justify-items: end; }
  .go-price b { font-size: 17px; }
  .go-buy { justify-self: stretch; width: 100%; }
  .go-order { grid-template-columns: 1fr; padding: 14px; gap: 14px; }
  .go-amt input { flex: 1; width: auto; }
  .go-sum strong { font-size: 28px; }
}

/* the hub's own gold services (farming, mount + gold bundles) as product cards under the offers list */
.gold-services { margin: 34px 0 10px; }
.gold-services h2 { margin: 0 0 16px; font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--head); color: #fff; }

/* Show more + layout stability: font swap (Prompt/Montserrat arriving after first paint) must not change the height
   of what sits above the rows (Lighthouse CLS 0.21 on /classic-plus/gold, 21.10.2026). */
.go-more { justify-self: center; min-width: 220px; }
.go-more[hidden] { display: none; }
.go-more-n { opacity: .7; font-variant-numeric: tabular-nums; }
.go-head { min-height: 26px; align-items: center; }
.go-head h2, .go-count { line-height: 26px; }
.go-launch { line-height: 1.5; }
.go-l { display: block; line-height: 14px; height: 14px; white-space: nowrap; }
.go-tools .cq-seg button { height: 36px; align-items: center; line-height: 1; }
@media (max-width: 700px) {
  .go-launch { min-height: calc(4.5em + 24px); }
}
