.aug-controls { margin-bottom: .75rem; }
.aug-controls .searchbox { width: min(30rem, 100%); }
.aug-controls input { font-size: 1rem; }
.aug-filters, .aug-tiers, .aug-facets, .aug-results-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.aug-filters { justify-content: space-between; }
.aug-tier, .aug-select select { border: 1px solid #d5cedf; background: white; border-radius: .5rem; }
.aug-tier { display: inline-flex; gap: .45rem; align-items: center; padding: .5rem .7rem; font-size: .875rem; }
.aug-tier[aria-pressed="true"] { background: #332945; color: #fff; border-color: #332945; }
.silver { --gem: #c7dbe8; --metal: grayscale(.95) brightness(1.65); }
.gold { --gem: #f5d18b; --metal: sepia(1) saturate(2) brightness(1.48); }
.prismatic { --gem: #ccb6ff; --metal: saturate(1.35) brightness(1.25); }
.aug-tier i, .aug-color i { display: inline-block; width: .56rem; height: .56rem; transform: rotate(45deg); background: var(--gem); border: 1px solid #8194ad; }
.gold.aug-tier i, .gold .aug-color i { border-color: #ab813c; }
.prismatic.aug-tier i, .prismatic .aug-color i { border-color: #a68ac8; background: linear-gradient(135deg,#9ef0ee,#e8c0ff,#ffdc9b); }
.aug-select { display: grid; gap: .15rem; font-size: .8rem; color: #675b75; }
.aug-select select { color: #352b41; min-height: 2.5rem; min-width: 0; width: 100%; padding: .35rem 1.65rem .35rem .6rem; font-size: .875rem; appearance: none; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23675b75' stroke-width='1.6'/%3E%3C/svg%3E") right .55rem center / .65rem auto no-repeat; }
.aug-missing-filter { font-weight: 650; color: #68428e; }
.aug-missing-filter small { color: inherit; }
.aug-results-meta { margin: .8rem 0 .5rem; min-height: 1.6rem; color: #625769; font-size: .875rem; }
.aug-reset, .aug-back { color: #633f91; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.aug-grid { background: linear-gradient(110deg,#171527ee,#17162bdb), url('../assets/hero/arena.webp') center top / cover; border-radius: .9rem; padding: clamp(.65rem,2vw,1.5rem); }
.aug-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.5rem,2vw,1.6rem); max-width: 59rem; margin: 0 auto; }
.aug-row + .aug-row { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid #cdbfe223; }
.aug-card { isolation: isolate; position: relative; display: flex; flex-direction: column; align-items: center; align-self: stretch; aspect-ratio: .71; width: 100%; min-width:0; text-align: center; color: #f7f2e9; padding: 14% 9% 12%; overflow-wrap: anywhere; }
.aug-card::before, .aug-card::after { content: ''; position: absolute; inset: 0; background: url('../assets/augments/card-face-s19.webp') center / 100% 100% no-repeat; z-index: -2; pointer-events: none; }
.aug-card::after { background-image: url('../assets/augments/card-frame-s19.webp'); filter: var(--metal); z-index: -1; }
.aug-card:focus-visible::after { filter:var(--metal) brightness(1.35); }
@media(hover:hover) and (pointer:fine) {
  .aug-card:hover::after { filter:var(--metal) brightness(1.35); }
}
.aug-card-id { display: flex; align-items: center; flex-direction: column; gap: .4rem; order: 0; width:100%; }
.aug-card-id > div { min-width:0; width:100%; }
.aug-icon { width: clamp(3.6rem,6vw,5.4rem); height: clamp(3.6rem,6vw,5.4rem); border: 0; border-radius: 0; background: none; }
.aug-icon img { object-fit: contain; }
.aug-card .aug-icon { mix-blend-mode: screen; }
.aug-card-id strong, .aug-detail h1 { display: block; color: #fff7e6; font-family: Georgia,'Times New Roman',serif; font-size: clamp(1rem,1.65vw,1.56rem); line-height: 1.14; text-wrap: balance; }
.aug-card-id div > span { display: block; font-size: 1rem; margin-top: .25rem; color: var(--gem); }
.aug-summary { order: 1; margin-top: .75rem; font-size: .95rem; line-height: 1.55; color: #ede8ee; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.aug-card-top { order: 2; margin-top: auto; padding-top: .5rem; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .45rem; font-size: .8rem; }
.aug-color { display: inline-flex; align-items: center; gap: .5rem; color: var(--gem); }
.aug-missing { color: #eee5fb; }
.aug-missing small { display:none; }
.aug-more { display: block; margin: 1rem auto; }
.aug-back { display: inline-block; margin: .5rem 0 1rem; }
.aug-detail { overflow: hidden; border-radius: 1rem; border: 1px solid #d9d1e2; background: white; }
.aug-detail-head { display: flex; align-items: center; gap: 1.5rem; padding: clamp(1.25rem,4vw,3rem); background: linear-gradient(110deg,#191527f5,#231933eb), url('../assets/hero/arena.webp') center / cover; color: #eee5f5; border-bottom: 3px solid var(--gem); }
.aug-detail h1 { font-size: clamp(1.8rem,4vw,3rem); margin: .35rem 0; }
.aug-detail-names { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 .6rem; }
.aug-detail-effects h2 small { color:#70667b; font-size:.78rem; font-weight:500; }
.aug-detail-head p { font-size: 1.25rem; }
.aug-detail-effects { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(1rem,3vw,2rem); }
.aug-detail-effects h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.aug-detail-effects p { white-space: pre-line; font-size: 1.05rem; }
.aug-detail footer { display: flex; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid #eae5ef; padding: 1rem 2rem; color: #685e75; }
.guide-augments { margin-top: 1rem; }
.guide-augments ul { margin: 0; padding: .75rem 2rem 1rem; list-style: none; }
.guide-augments li+li { margin-top: .65rem; }
.guide-augments li p { color: #625a6f; }
.hero-actions { flex-wrap: wrap; }
@media (max-width: 760px) {
  .aug-select { min-width: 0; }
  .aug-facets { display: grid; width: 100%; grid-auto-columns: minmax(0,1fr); grid-auto-flow: column; }
  .aug-controls .searchbox, .aug-tiers { width: 100%; }
  .aug-grid { padding: .55rem .3rem; }
  .aug-row { gap:clamp(3px,1vw,7px); }
  .aug-row + .aug-row { margin-top: .65rem; padding-top: .75rem; }
  .aug-detail-head { gap:.65rem; padding:.8rem; }
  .aug-detail-head > div { min-width:0; }
  .aug-detail-head .aug-icon { width:3rem; height:3rem; }
  .aug-detail h1 { font-size:clamp(1.35rem,5vw,1.8rem); }
  .aug-detail-head p { font-size:1rem; }
  .aug-detail-effects { grid-template-columns:1fr; gap:.8rem; padding:.85rem; }
  .aug-detail-effects h2 { margin-bottom:.25rem; }
  .aug-detail footer { padding:.55rem .85rem; gap:.2rem 1rem; }
}
@media (max-width: 579px) {
  .aug-row + .aug-row { margin-top:.3rem; padding-top:.3rem; }
  .aug-card { aspect-ratio:.63; padding:clamp(10px,3.8vw,21px) 6% clamp(10px,3vw,18px); }
  .aug-card-id { gap:4px; }
  .aug-card .aug-icon { width:clamp(33px,10vw,48px); height:clamp(33px,10vw,48px); }
  .aug-card-id strong { font-size:clamp(13px,3.7vw,17px); line-height:1.1; letter-spacing:-.015em; }
  .aug-card-id div > span { font-size:clamp(11px,3vw,14px); line-height:1.18; margin-top:4px; }
  .aug-summary,.aug-missing > span { display:none; }
  .aug-card-top { gap:3px; padding-top:5px; font-size:clamp(10px,2.65vw,12px); line-height:1.1; }
  .aug-card .aug-color { gap:3px; }
  .aug-card .aug-color i { width:5px; height:5px; }
  .aug-missing small { display:inline; font-size:inherit; border-inline-start:1px solid #cdbfe27d; padding-left:3px; }
}
