/* Minecraft add-ons: catalogue + add-on pages. Everything is scoped under .ax so the shared header stays untouched. */
.ax {
  --bg: #05070a;
  --panel: #0c1014;
  --panel2: #11161b;
  --ink: #f5f7f6;
  --muted: #a3acab;
  --dim: #6b7574;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --g: #4ade80;
  --g2: #22c55e;
  --cf: #f16436;
  --star: #fbbf24;
  --r: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
html:has(body.ax-body) { background: #04040a; }
html:has(body.ax-body)::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(#04040a59, #04040a99), url('/assets/space-bg.webp?v=20260923') center / cover no-repeat, #04040a; }
body.ax-body { background: transparent !important; }
.ax-stars { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ax-stars i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(200, 220, 255, .7);
  opacity: var(--o); animation: ax-twinkle var(--d) ease-in-out infinite; animation-delay: var(--t); }
@keyframes ax-twinkle { 0%, 100% { opacity: var(--o); transform: scale(1); } 50% { opacity: .08; transform: scale(.6); } }
.ax-shell, .ax-page, .ax-banner { position: relative; z-index: 1; }
.ax *, .ax *::before, .ax *::after { box-sizing: border-box; }
.ax a { color: inherit; text-decoration: none; }
.ax button { font: inherit; color: inherit; }
.ax svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ax h1, .ax h2, .ax h3 { margin: 0; font-family: Outfit, Inter, sans-serif; letter-spacing: -.02em; text-wrap: balance; }
.ax p { text-wrap: pretty; }
.ax :focus-visible { outline: 2px solid var(--g); outline-offset: 3px; border-radius: 10px; }
.ax-wrap { width: min(1320px, 100% - 32px); margin: 0 auto; }

/* glow behind the add-on page cover */
.ax-glow { position: absolute; inset: -120px 0 auto; height: 620px; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 50% at 30% 0%, rgba(74, 222, 128, .10), transparent 70%); }

/* ---------- buttons ---------- */
.ax-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 10px;
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: #fff; font: 700 15px/1 Inter, sans-serif; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.ax-btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); }
.ax-btn:active { transform: scale(.97); }
.ax-btn.white { background: #fff; color: #05070a; border-color: #fff; box-shadow: 0 10px 30px -16px rgba(255, 255, 255, .5); }
.ax-btn.white:hover { background: #eef2f1; }
.ax-btn.cf { background: var(--cf); border-color: var(--cf); color: #fff; box-shadow: 0 10px 30px -14px rgba(241, 100, 54, .8); }
.ax-btn.cf:hover { background: #ff7347; }
.ax-btn.cf.off { background: rgba(241, 100, 54, .12); border-color: rgba(241, 100, 54, .35); color: #ffb79f; box-shadow: none; cursor: default; }
.ax-btn.soon { background: rgba(255, 255, 255, .05); color: var(--muted); cursor: default; }
.ax-btn.big { min-height: 52px; padding: 0 26px; font-size: 16px; }
.ax-btn svg { width: 19px; height: 19px; }
.ax-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04);
  cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s; color: var(--muted); }
.ax-icon:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.ax-icon:active { transform: scale(.92); }
.ax-heart[aria-pressed="true"] { color: #fb7185; border-color: rgba(251, 113, 133, .45); background: rgba(251, 113, 133, .1); }
.ax-heart[aria-pressed="true"] svg { fill: currentColor; animation: ax-pop .45s var(--ease); }
@keyframes ax-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---------- catalogue: banner ---------- */
.ax-banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #0b1210; }
.ax-banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 33%; }
.ax-banner-art img + img { display: none; object-position: 50% 90%; }
.ax-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 10, .72) 0%, rgba(5, 7, 10, .35) 30%, rgba(5, 7, 10, .25) 55%, rgba(4, 4, 10, .92) 100%); }
.ax-banner-in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; min-height: 300px; padding: 34px 40px 38px; }
.ax-banner-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.ax-banner h1 { font-size: 34px; font-weight: 800; letter-spacing: -.035em; text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.ax-banner p { margin: 8px 0 0; color: #dbe2e1; font-size: 16px; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.ax-search { position: relative; display: flex; align-items: center; width: min(420px, 100%); flex: none; }
.ax-search svg { position: absolute; z-index: 1; left: 15px; width: 18px; height: 18px; color: var(--dim); pointer-events: none; }
.ax-search input { width: 100%; height: 46px; padding: 0 48px 0 44px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(8, 10, 13, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
  color: #fff; font: 500 15px Inter, sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; }
.ax-search input::placeholder { color: var(--dim); }
.ax-search input:focus { border-color: rgba(74, 222, 128, .6); box-shadow: 0 0 0 4px rgba(74, 222, 128, .12); }
.ax-search kbd { position: absolute; right: 12px; padding: 2px 8px; border: 1px solid var(--line2); border-radius: 6px; color: var(--dim); font: 600 12px Inter, sans-serif; }

/* ---------- catalogue: flush sidebar + main ---------- */
.ax-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 70vh; }
.ax-shell > .ax-nav { grid-column: 1; grid-row: 1 / span 2; }
.ax-shell > .ax-banner, .ax-shell > .ax-main { grid-column: 2; }
.ax-nav { background: rgba(8, 8, 12, .86); border-right: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ax-nav-in { position: sticky; top: 64px; display: flex; flex-direction: column; height: calc(100vh - 64px); overflow: auto; padding: 22px 16px 22px; scrollbar-width: thin; }
.ax-nav h2 { margin: 22px 12px 8px; color: var(--dim); font: 700 11.5px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ax-nav h2:first-child { margin-top: 0; }
.ax-nav-row { flex: none; display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: #c8cfce;
  font: 600 14.5px Inter, sans-serif; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.ax-nav-row svg { width: 17px; height: 17px; color: var(--dim); transition: color .15s; }
.ax-nav-row span { flex: 1; }
.ax-nav-row small { color: var(--dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ax-nav-row:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.ax-nav-row[aria-pressed="true"] { background: rgba(74, 222, 128, .09); color: #fff; box-shadow: inset 2px 0 0 var(--g); }
.ax-nav-row[aria-pressed="true"] svg { color: var(--g); }
#axFavs[aria-pressed="true"] svg { color: #fb7185; fill: currentColor; }
.ax-nav-note { margin: 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ax-nav-plug { position: relative; display: block; margin: auto 4px 0; flex: none; padding: 16px 44px 16px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.ax-nav-plug b { display: block; color: #fff; font: 700 15px Outfit, Inter, sans-serif; }
.ax-nav-plug span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ax-nav-plug svg { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--g); transition: transform .25s var(--ease); }
.ax-nav-plug:hover { background: rgba(74, 222, 128, .05); }
.ax-nav-plug:hover svg { transform: translateX(3px); }
.ax-main { min-width: 0; padding: 26px 40px 60px; }
.ax-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ax-toolbar h2 { display: inline; font-size: 20px; font-weight: 700; }
.ax-toolbar #axCount { margin-left: 10px; color: var(--dim); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ax-tools { display: flex; align-items: center; gap: 10px; }
.ax-sort { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13.5px; font-weight: 600; }
.ax-select { height: 38px; padding: 0 34px 0 12px; border: 1px solid var(--line2); border-radius: 8px; background: #0c1014 url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23a3acab%22 stroke-width=%222%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E") no-repeat right 11px center / 14px;
  color: #e5eaea; font: 600 14px Inter, sans-serif; appearance: none; cursor: pointer; }
.ax-select option { background: #0c1014; color: #fff; }
.ax-seg { display: inline-flex; overflow: hidden; border: 1px solid var(--line2); border-radius: 8px; }
.ax-seg button { display: grid; place-items: center; width: 38px; height: 36px; border: 0; background: none; color: var(--dim); cursor: pointer; transition: background .15s, color .15s; }
.ax-seg button + button { border-left: 1px solid var(--line2); }
.ax-seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- featured carousel (store style) ---------- */
.ax-feat { display: grid; grid-template-columns: minmax(0, 1fr) 290px; height: 330px; margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px; background: rgba(7, 9, 12, .6); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9); }
.ax-feat-stage { position: relative; min-width: 0; overflow: hidden; }
.ax-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.ax-slide.on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; }
.ax-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.ax-slide.on .ax-slide-bg { transform: scale(1); }
.ax-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 10, .9) 0%, rgba(5, 7, 10, .55) 38%, rgba(5, 7, 10, 0) 70%), linear-gradient(0deg, rgba(5, 7, 10, .7), transparent 45%); }
.ax-slide-in { position: absolute; left: 0; bottom: 0; z-index: 1; max-width: 460px; padding: 32px 34px; transform: translateY(12px); opacity: 0; transition: transform .7s .15s var(--ease), opacity .6s .15s; }
.ax-slide.on .ax-slide-in { transform: none; opacity: 1; }
.ax-slide-tag { display: inline-flex; align-items: center; gap: 7px; color: #9be7b7; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ax-slide-tag svg { width: 15px; height: 15px; }
.ax-slide h2 { margin-top: 10px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.ax-slide h2 a:hover { color: var(--g); }
.ax-slide-sum { display: -webkit-box; margin: 10px 0 0; overflow: hidden; color: #d3dad9; font-size: 15px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ax-slide-in .ax-get { display: inline-flex; flex: none; height: 44px; margin-top: 18px; padding: 0 20px; font-size: 15px; }
.ax-slide-in .ax-get svg { width: 17px; height: 17px; }
.ax-feat-list { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-left: 1px solid rgba(255, 255, 255, .08); background: rgba(10, 13, 17, .55); overflow: auto; scrollbar-width: none; }
.ax-feat-list button { position: relative; display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; flex: 1; min-height: 0; padding: 8px; overflow: hidden;
  border: 0; border-radius: 10px; background: none; color: #c9d0cf; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.ax-feat-list button:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.ax-feat-list button[aria-selected="true"] { background: rgba(255, 255, 255, .07); color: #fff; }
.ax-feat-list img { width: 76px; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; opacity: .7; transition: opacity .2s; }
.ax-feat-list button[aria-selected="true"] img, .ax-feat-list button:hover img { opacity: 1; }
.ax-feat-list span { min-width: 0; }
.ax-feat-list b { display: block; overflow: hidden; font: 700 14px/1.25 Inter, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.ax-feat-list small { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; font-weight: 600; }
.ax-feat-list i { position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; }
.ax-feat-list [aria-selected="true"] i { opacity: 1; background: rgba(255, 255, 255, .1); }
.ax-feat-list i::after { content: ""; position: absolute; inset: 0; background: var(--g); transform: scaleX(0); transform-origin: left; }
.ax-feat-list [aria-selected="true"] i::after { animation: ax-fill var(--dur, 6s) linear forwards; }
.ax-feat.paused .ax-feat-list [aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes ax-fill { to { transform: scaleX(1); } }
@media (max-width: 1100px) { .ax-feat { grid-template-columns: minmax(0, 1fr) 230px; } .ax-feat-list img { width: 60px; } .ax-feat-list button { grid-template-columns: 60px 1fr; } }
@media (max-width: 900px) {
  .ax-feat { grid-template-columns: 1fr; height: auto; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .ax-feat .ax-feat-list { display: none; }
  .ax-feat-stage { aspect-ratio: 4 / 3.3; }
  .ax-slide-in { right: 0; max-width: none; padding: 20px; }
  .ax-slide::after { background: linear-gradient(0deg, rgba(5, 7, 10, .95) 8%, rgba(5, 7, 10, .55) 45%, rgba(5, 7, 10, 0) 70%); }
  .ax-slide h2 { font-size: 26px; }
  .ax-slide-sum { font-size: 14px; }
  .ax-slide-in .ax-get { height: 42px; margin-top: 14px; }
  .ax-feat-list { flex-direction: row; gap: 6px; padding: 10px 12px 12px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
  .ax-feat-list button { display: block; flex: 1; height: 4px; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .14); }
  .ax-feat-list button img, .ax-feat-list button span { display: none; }
  .ax-feat-list button[aria-selected="true"] { background: rgba(255, 255, 255, .14); }
  .ax-feat-list i { inset: 0; height: auto; opacity: 1; background: none !important; }
  .ax-feat-list button:not([aria-selected="true"]) i::after { transform: scaleX(0); }
}

/* ---------- entries ---------- */
.ax-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 28px 20px; padding: 22px 0 40px; }
.ax-card { position: relative; display: flex; flex-direction: column; min-width: 0; opacity: 0; transform: translateY(10px); animation: ax-in .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes ax-in { to { opacity: 1; transform: none; } }
.ax [hidden] { display: none !important; }
.ax-card-art { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.ax-card-art img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform .7s var(--ease), opacity .4s; }
.ax-card-art img.ok { opacity: 1; }
.ax-card-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .05) 50%, transparent 70%) 0 0 / 220% 100%; animation: ax-shimmer 1.4s linear infinite; }
.ax-card-art:has(img.ok)::before { display: none; }
@keyframes ax-shimmer { to { background-position: -220% 0; } }
.ax-card:hover .ax-card-art img { transform: scale(1.04); }
.ax-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 5px; }
.ax-badge { padding: 3px 8px; border-radius: 5px; background: rgba(5, 7, 10, .8); color: #fff; font: 700 11px Inter, sans-serif; letter-spacing: .02em; }
.ax-badge.new { background: var(--g); color: #052e16; }
.ax-badge.soon { color: #fcd34d; }
.ax-card-body { flex: 1; min-width: 0; padding-top: 12px; }
.ax-card h3 { font: 700 17.5px/1.3 Inter, sans-serif; letter-spacing: -.01em; }
.ax-card h3 a:hover { color: var(--g); }
.ax-by { color: var(--dim); font-size: 13px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.ax-card p { display: -webkit-box; margin: 5px 0 0; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ax-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; color: var(--dim); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ax-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ax-meta svg { width: 14px; height: 14px; }
.ax-meta .cat { color: #9be7b7; }
.ax-meta .star { color: var(--star); }
.ax-meta .star svg { fill: currentColor; stroke: none; }
.ax-card-acts { position: absolute; top: 8px; right: 8px; display: flex; }
.ax-get { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; height: 38px; padding: 0 16px; border-radius: 8px; background: #fff; color: #05070a !important;
  font: 700 14px Inter, sans-serif; transition: background .15s, transform .2s var(--ease); }
.ax-get:hover { background: #e7ecea; }
.ax-get:active { transform: scale(.97); }
.ax-get.soon { background: rgba(255, 255, 255, .06); color: var(--muted) !important; }
.ax-card .ax-heart { width: 36px; height: 36px; border: 0; border-radius: 8px; flex: none; background: rgba(5, 7, 10, .7); color: #fff; }
/* grid view: subtle cards on desktop */
@media (min-width: 901px) {
  .ax-grid:not(.list) .ax-card { padding: 10px 10px 16px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; background: rgba(255, 255, 255, .022);
    transition: border-color .2s, background .2s, transform .3s var(--ease); }
  .ax-grid:not(.list) .ax-card:hover { border-color: rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .04); }
  .ax-grid:not(.list) .ax-card-art { border-radius: 10px; box-shadow: none; }
  .ax-grid:not(.list) .ax-card-body { padding: 12px 6px 0; }
  .ax-grid:not(.list) .ax-card-acts { top: 18px; right: 18px; }
}
@media (max-width: 900px) {
  .ax-grid:not(.list) .ax-card { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .ax-grid:not(.list) .ax-card:last-child { border-bottom: 0; }
}

/* list view = CurseForge-style rows */
.ax-grid.list { grid-template-columns: 1fr; gap: 0; padding-top: 4px; }
.ax-grid.list .ax-card { flex-direction: row; align-items: center; gap: 22px; padding: 18px 12px; margin: 0 -12px; border-bottom: 1px solid var(--line); border-radius: 10px; transition: background .15s; }
.ax-grid.list .ax-card:hover { background: rgba(255, 255, 255, .025); }
.ax-grid.list .ax-card-art { width: 200px; flex: none; border-radius: 8px; }
.ax-grid.list .ax-card-body { padding: 0; }
.ax-grid.list .ax-card p { -webkit-line-clamp: 1; }
.ax-grid.list .ax-card-acts { position: static; flex: none; }
.ax-grid.list .ax-card .ax-heart { width: 40px; height: 40px; border: 1px solid var(--line2); background: none; color: var(--muted); }
.ax-empty { padding: 70px 16px; text-align: center; color: var(--muted); }
.ax-empty b { display: block; margin-bottom: 6px; color: #fff; font: 700 20px Outfit, Inter, sans-serif; }
.ax-phone-only { display: none; }

/* ---------- Skyblock plug (add-on pages + phones) ---------- */
.ax-plug { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: 40px 0 60px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ax-plug small { color: var(--g); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ax-plug h2 { margin-top: 6px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.ax-plug p { max-width: 560px; margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.ax-plug .ax-plug-acts { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .ax-shell { grid-template-columns: 250px minmax(0, 1fr); }
  .ax-main { padding: 20px 24px 50px; }
  .ax-grid.list .ax-card-art { width: 160px; }
}
@media (max-width: 900px) {
  .ax-banner { height: auto; }
  .ax-banner-art img { object-position: 50% 62%; }
  .ax-banner-art img + img { display: block; }
  .ax-banner-in { gap: 20px; min-height: 0; padding: 48px 16px 26px; }
  .ax-banner-top { flex-direction: column; align-items: stretch; gap: 18px; text-align: center; }
  .ax-banner h1 { font-size: 28px; }
  .ax-banner p { font-size: 14.5px; }
  .ax-search { width: 100%; }
  .ax-search kbd { display: none; }
  .ax-shell { display: block; }
  .ax-nav { display: none; }
  .ax-main { padding: 16px 16px 30px; }
  .ax-tools { display: none; }
  .ax-phone-only { display: block; }
  .ax-plug { grid-template-columns: 1fr; text-align: center; }
  .ax-plug p { margin-inline: auto; }
  .ax-plug .ax-plug-acts { justify-content: center; }
}
@media (max-width: 760px) {
  .ax-meta .ver { display: none; }
  .ax-grid:not(.list) { grid-template-columns: 1fr; gap: 26px; }
  .ax-grid.list .ax-card { gap: 14px; padding: 14px 8px; margin: 0 -8px; }
  .ax-grid.list .ax-card-art { width: 112px; }
  .ax-grid.list .ax-card p, .ax-grid.list .ax-by, .ax-grid.list .ax-meta .date, .ax-grid.list .ax-meta .ver { display: none; }
  .ax-grid.list .ax-card h3 { font-size: 16px; }
}

/* ---------- phone bottom bar + sheet ---------- */
.ax-mbar, .ax-sheet, .ax-scrim { display: none; }
@media (max-width: 900px) {
  body.ax-body { padding-bottom: 76px; }
  body.ax-body footer { padding-bottom: 90px !important; }
  .ax-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 952; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px max(8px, env(safe-area-inset-bottom));
    background: rgba(7, 8, 12, .92); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 -1px 0 rgba(255, 255, 255, .07); }
  .ax-mbar > button, .ax-mbar > a { position: relative; display: grid; justify-items: center; gap: 3px; min-width: 0; padding: 8px 2px 4px; border: 0; background: none; color: #8a8d9b;
    font: 600 10.5px Inter, system-ui, sans-serif; cursor: pointer; transition: color .2s; -webkit-tap-highlight-color: transparent; }
  .ax-mbar span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .ax-mbar svg { width: 21px; height: 21px; transition: transform .3s var(--ease); }
  .ax-mbar > button:active svg { transform: scale(.88); }
  .ax-mbar > [aria-pressed="true"] { color: #fff; }
  .ax-mbar > [aria-pressed="true"] svg { color: var(--g); }
  .ax-mbar > [aria-pressed="true"]::before { content: ""; position: absolute; top: 0; width: 18px; height: 3px; border-radius: 3px; background: var(--g); box-shadow: 0 0 10px var(--g); }
  .ax-mbar .fav[aria-pressed="true"] svg { color: #fb7185; fill: currentColor; }
  .ax-mbar .fav[aria-pressed="true"]::before { background: #fb7185; box-shadow: 0 0 10px #fb7185; }
  .ax-mbar .dl { color: #05070a; }
  .ax-scrim { position: fixed; inset: 0; z-index: 960; display: block; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .ax-scrim.open { opacity: 1; pointer-events: auto; }
  .ax-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 961; display: block; max-height: 78vh; overflow: auto; padding: 10px 16px max(20px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0; background: #0c1014; box-shadow: 0 -1px 0 var(--line2); transform: translateY(105%); transition: transform .42s var(--ease); }
  .ax-sheet.open { transform: none; }
  .ax-sheet::before { content: ""; display: block; width: 40px; height: 5px; margin: 0 auto 14px; border-radius: 5px; background: rgba(255, 255, 255, .18); }
  .ax-sheet h3 { margin: 4px 4px 12px; font-size: 18px; }
  .ax-sheet-list { display: grid; gap: 2px; }
  .ax-sheet-list button { display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 50px; padding: 0 14px; border: 0; border-radius: 14px; background: none; color: #dfe5e4; font: 600 16px Inter, sans-serif; text-align: left; }
  .ax-sheet-list button svg { width: 20px; height: 20px; color: #fff; flex: none; }
  .ax-sheet-list button[aria-pressed="true"] svg { color: var(--g); }
  .ax-sheet-list button[aria-pressed="true"] { background: rgba(74, 222, 128, .1); color: var(--g); }
  .ax-sheet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .ax-sheet-row button { min-height: 46px; border: 1px solid var(--line2); border-radius: 14px; background: none; color: #dfe5e4; font: 600 14px Inter, sans-serif; }
  .ax-sheet-row button[aria-pressed="true"] { background: #fff; color: #05070a; border-color: #fff; }
}

/* ---------- add-on page ---------- */
.ax-page { position: relative; z-index: 1; padding: 96px 0 30px; }
.ax-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--dim); font-size: 13.5px; font-weight: 600; }
.ax-crumb a:hover { color: #fff; }
.ax-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.ax-cover { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 9; background: var(--panel); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px rgba(0, 0, 0, .9);
  animation: ax-rise .9s var(--ease) both; }
.ax-cover img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.ax-cover img.swap { opacity: 0; }
.ax-media { min-width: 0; animation: ax-rise .9s var(--ease) both; }
.ax-media .ax-cover { animation: none; }
.ax-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.ax-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); cursor: pointer; transition: border-color .2s, opacity .2s; opacity: .62; }
.ax-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ax-thumb:hover { opacity: 1; }
.ax-thumb[aria-current="true"] { opacity: 1; border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.ax-thumb.empty { cursor: default; opacity: 1; color: #3a434a; background: linear-gradient(135deg, #0e1419, #0a0e12); }
.ax-thumb.empty svg { width: 20px; height: 20px; }
@keyframes ax-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.ax-intro { animation: ax-rise .9s .08s var(--ease) both; }
.ax-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ax-tag { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.ax-tag.g { border-color: rgba(74, 222, 128, .35); color: var(--g); }
.ax-intro h1 { margin-top: 16px; font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.ax-tagline { margin: 12px 0 0; color: #fff; font: 600 clamp(18px, 2vw, 22px)/1.35 Outfit, Inter, sans-serif; }
.ax-sum { margin: 10px 0 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.ax-rate { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.ax-stars { display: inline-flex; gap: 2px; color: #39404a; }
.ax-stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.ax-stars .on { color: var(--star); }
.ax-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ax-note { margin: 12px 0 0; color: var(--dim); font-size: 13px; }
.ax-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-top: 64px; }
.ax-text h2 { margin: 44px 0 14px; font-size: 24px; font-weight: 700; }
.ax-text h2:first-child { margin-top: 0; }
.ax-text p { margin: 0 0 14px; color: #c9d0cf; font-size: 16.5px; line-height: 1.75; }
.ax-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ax-list li { position: relative; padding-left: 30px; color: #d7dddc; font-size: 16px; line-height: 1.55; }
.ax-list li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 14px; height: 9px; border-left: 2px solid var(--g); border-bottom: 2px solid var(--g); transform: rotate(-45deg); }
.ax-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ax-steps li { counter-increment: s; display: flex; gap: 14px; color: #d7dddc; font-size: 16px; line-height: 1.5; }
.ax-steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(74, 222, 128, .12); color: var(--g); font: 800 13px Inter, sans-serif; }
.ax-recipe { padding: 16px 18px; border-left: 3px solid var(--g); border-radius: 0 14px 14px 0; background: rgba(74, 222, 128, .06); color: #d7dddc; line-height: 1.55; }
.ax-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ax-shot { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 16px; background: linear-gradient(135deg, #0f151b, #0a0e12); box-shadow: 0 0 0 1px var(--line); color: var(--dim); font-size: 13px; font-weight: 600; }
.ax-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-shot span { display: grid; justify-items: center; gap: 8px; }
.ax-shot svg { width: 26px; height: 26px; opacity: .6; }
.ax-shot:first-child { grid-column: 1 / -1; }
.ax-side { position: sticky; top: 90px; align-self: start; }
.ax-info { margin: 0; }
.ax-info div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ax-info dt { color: var(--dim); font-weight: 600; }
.ax-info dd { margin: 0; color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ax-side .ax-btn { width: 100%; margin-top: 18px; }
.ax-side .ax-btn + .ax-btn { margin-top: 10px; }
.ax-side-note { margin: 16px 0 0; color: var(--dim); font-size: 13px; line-height: 1.55; }

/* reviews */
.ax-reviews { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--line); }
.ax-rev-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ax-rev-head h2 { font-size: 28px; font-weight: 800; }
.ax-score { display: flex; align-items: center; gap: 14px; }
.ax-score b { font: 800 44px/1 Outfit, Inter, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ax-score small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; font-weight: 600; }
.ax-form { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin-top: 28px; }
.ax-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, #1f2a33, #111820); display: grid; place-items: center; color: var(--muted); font: 800 16px Outfit, Inter, sans-serif; }
.ax-form textarea { width: 100%; min-height: 96px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 18px; background: rgba(255, 255, 255, .03); color: #fff;
  font: 500 15.5px/1.55 Inter, sans-serif; resize: vertical; outline: none; transition: border-color .2s, box-shadow .25s; }
.ax-form textarea:focus { border-color: rgba(74, 222, 128, .55); box-shadow: 0 0 0 5px rgba(74, 222, 128, .1); }
.ax-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.ax-pick { display: inline-flex; align-items: center; gap: 2px; }
.ax-pick button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: none; color: #39404a; cursor: pointer; transition: transform .2s var(--ease), color .15s; }
.ax-pick button svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.ax-pick button.on { color: var(--star); }
.ax-pick button:hover { transform: scale(1.15); }
.ax-pick small { margin-left: 8px; color: var(--dim); font-size: 13px; font-weight: 600; }
.ax-signin { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.ax-comments { display: grid; margin-top: 18px; }
.ax-c { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); animation: ax-rise .5s var(--ease) both; }
.ax-c-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ax-c-top b { font-weight: 700; }
.ax-c-top time { color: var(--dim); font-size: 13px; }
.ax-c-top .ax-stars svg { width: 14px; height: 14px; }
.ax-c p { margin: 6px 0 0; color: #d1d8d7; font-size: 15.5px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.ax-c-del { margin-left: auto; padding: 4px 10px; border: 0; border-radius: 999px; background: none; color: var(--dim); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ax-c-del:hover { color: #fb7185; background: rgba(251, 113, 133, .08); }
.ax-err { margin: 10px 0 0; color: #fda4af; font-size: 14px; }
.ax-related { margin-top: 70px; }
.ax-related .ax-grid { grid-template-columns: repeat(4, 1fr); }
.ax-toast { position: fixed; left: 50%; bottom: 28px; z-index: 990; padding: 12px 20px; border-radius: 999px; background: #fff; color: #05070a; font: 700 14px Inter, sans-serif;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .25s; }
.ax-toast.show { transform: translate(-50%, 0); opacity: 1; }
.ax-missing { padding: 160px 0 120px; text-align: center; }
.ax-missing h1 { font-size: 40px; }
.ax-missing p { color: var(--muted); }

@media (max-width: 1000px) {
  .ax-top { grid-template-columns: 1fr; gap: 26px; }
  .ax-layout { grid-template-columns: 1fr; gap: 10px; margin-top: 44px; }
  .ax-side { position: static; }
  .ax-related .ax-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .ax-page { padding-top: 76px; }
  .ax-cover { border-radius: 20px; margin-inline: -4px; }
  .ax-intro h1 { font-size: 36px; }
  .ax-intro .ax-acts { display: none; }
  .ax-shots { grid-template-columns: 1fr; }
  .ax-text h2 { font-size: 21px; }
  .ax-side .ax-dl-side { display: none; }
  .ax-toast { bottom: 96px; }
  .ax-mbar.ax-detail-bar { grid-template-columns: auto 1fr auto; gap: 8px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); }
  .ax-mbar.ax-detail-bar > .ax-btn { display: inline-flex; flex-direction: row; gap: 8px; min-height: 48px; width: 100%; padding: 0 18px; font: 700 15px/1 Inter, sans-serif; color: inherit; }
  .ax-mbar.ax-detail-bar > .ax-btn.white { color: #05070a; }
  .ax-mbar.ax-detail-bar > .ax-btn.cf { width: auto; padding: 0 16px; color: #fff; }
  .ax-mbar.ax-detail-bar > .ax-btn.cf.off { color: #ffb79f; }
  .ax-mbar.ax-detail-bar > .ax-btn svg { width: 18px; height: 18px; }
  .ax-mbar.ax-detail-bar .ax-heart { color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  .ax *, .ax *::before, .ax *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .ax-card { opacity: 1; transform: none; }
}
