/* /discord-bots/all-in-one (aio-). Loaded after builtin_services.css, whose
   pa- vocabulary this page reuses: the --yb-* token bridge on .pa-root, the
   nebula host, hero type, pills, buttons, badges, the mock window bar and the
   closing band. Only what is new to this page lives here. */

/* ---- Hero: copy left, the member list before and after right ---- */
.aio-hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center; padding: 4.25rem 0 0.5rem; }
.aio-hero-copy { min-width: 0; }
.aio-crumbs a { color: inherit; text-decoration: none; }
.aio-crumbs a:hover { color: var(--yb-text); }
.aio-title { font-size: 3rem; max-width: none; }
.aio-hero .pa-cta-row { flex-wrap: wrap; }
/* Ghost buttons beside a large .pa-btn: same height (the 1px border comes off the padding). */
.aio-hero .pa-cta-row .pa-btn-ghost, .aio-close .pa-cta-row .pa-btn-ghost { padding: calc(0.85rem - 1px) 1.6rem; font-size: 0.98rem; }

.aio-roster { margin: 0; justify-self: end; width: 100%; max-width: 430px; display: flex; flex-direction: column; align-items: stretch; }
.aio-roster-card { background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 14px; padding: 0.85rem 0.95rem 0.9rem; }
.aio-roster-before { margin: 0 1.6rem; opacity: 0.8; transform: rotate(-1.2deg); }
.aio-roster-after { border-color: var(--yb-gold-dim); box-shadow: 0 0 0 1px rgba(59,130,246,0.12), 0 22px 60px rgba(37,99,235,0.2); }
.aio-roster-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted2); padding: 0 0.15rem 0.5rem; }
.aio-roster-tag { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; padding: 2px 7px; border-radius: 3px; border: 1px solid var(--yb-border2); color: var(--yb-muted2); box-shadow: 2px 2px 0 rgba(96,128,210,0.12); }
.aio-roster-tag-on { color: var(--yb-gold-light); border-color: var(--yb-gold-dim); background: var(--yb-gold-bg); box-shadow: 2px 2px 0 rgba(59,130,246,0.16); }
.aio-member { display: flex; align-items: center; gap: 0.6rem; padding: 0.32rem 0.15rem; min-width: 0; }
.aio-av { width: 26px; height: 26px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 0.7rem; color: #fff; background: hsl(var(--h, 220), 38%, 42%); overflow: hidden; }
.aio-av-yb { width: 34px; height: 34px; background: var(--yb-depth); border: 1px solid var(--yb-gold-dim); }
.aio-av-yb img { width: 78%; height: auto; display: block; }
.aio-member-name { font-size: 0.86rem; font-weight: 600; color: var(--yb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aio-member-old .aio-member-name { color: var(--yb-muted2); font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(244,114,114,0.7); text-decoration-thickness: 1.5px; }
.aio-member-old .aio-av { filter: grayscale(0.6); opacity: 0.75; }
.aio-app { font-family: var(--body); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; padding: 1px 5px; border-radius: 3px; background: #5865f2; color: #fff; flex: none; }
.aio-member-old .aio-app { background: var(--yb-overlay-soft); color: var(--yb-muted2); border: 1px solid var(--yb-border); }
.aio-roster-after .aio-member-name { font-family: var(--disp); font-size: 1rem; }
.aio-roster-arrow { height: 38px; position: relative; }
.aio-roster-arrow span { position: absolute; left: 50%; top: 4px; bottom: 6px; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, var(--yb-gold)); }
.aio-roster-arrow span::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 9px; height: 9px; border-right: 2px solid var(--yb-gold); border-bottom: 2px solid var(--yb-gold); transform: translateX(-50%) rotate(45deg); }
.aio-switches { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.5rem; margin-top: 0.6rem; padding-top: 0.7rem; border-top: 1px dashed rgba(96,128,210,0.2); }
.aio-switch { display: flex; align-items: center; gap: 0.45rem; font-size: 0.74rem; color: var(--yb-muted2); padding: 0.28rem 0.35rem 0.28rem 0.4rem; border-radius: 7px; min-width: 0; white-space: nowrap; }
.aio-switch::after { content: ''; margin-left: auto; flex: none; width: 22px; height: 12px; border-radius: 999px; background: var(--yb-overlay-soft); border: 1px solid var(--yb-border2); box-shadow: inset -10px 0 0 0 transparent; background-image: radial-gradient(circle at 5px 50%, var(--yb-muted2) 3.5px, transparent 4px); }
.aio-switch.on { color: var(--yb-text); background: var(--yb-overlay-soft); }
.aio-switch.on::after { background-color: var(--yb-gold); border-color: var(--yb-gold); background-image: radial-gradient(circle at 15px 50%, #fff 3.5px, transparent 4px); }
.aio-switch-ic { width: 13px; height: 13px; flex: none; display: inline-flex; color: var(--yb-cyan); }
.aio-switch:not(.on) .aio-switch-ic { color: var(--yb-muted2); }
.aio-switch-ic svg { width: 13px; height: 13px; }
.aio-roster-foot { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yb-muted); margin-top: 0.7rem; padding: 0 0.15rem; }

/* ---- At a glance ---- */
.aio-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin-top: 2.6rem; }
.aio-fact { background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 10px; padding: 0.95rem 1.05rem; }
.aio-fact-v { font-family: var(--disp); font-weight: 700; font-size: 1.65rem; line-height: 1.05; color: var(--yb-text); }
.aio-fact-k { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted); margin-top: 6px; line-height: 1.5; }

/* ---- Sections ---- */
.aio-sec { padding-top: 4.2rem; scroll-margin-top: calc(var(--nav-height, 64px) + 1rem); }
.aio-sec-head { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.6rem; }
.aio-sec-idx { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; color: var(--yb-gold-light); flex: none; }
.aio-h2 { font-family: var(--disp); font-weight: 700; font-size: 2rem; line-height: 1.15; }
.aio-h3 { font-family: var(--disp); font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.aio-sec-lede { color: var(--yb-muted); font-size: 1rem; line-height: 1.68; max-width: 48rem; margin-bottom: 1.6rem; }
.aio-sec-note { font-size: 0.88rem; line-height: 1.6; color: var(--yb-muted); margin-top: 1.1rem; max-width: 52rem; }
.aio-card-go { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-gold-light); margin-top: auto; padding-top: 0.2rem; }

/* ---- The ten ---- */
.aio-cast { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.85rem; }
.aio-card { display: flex; flex-direction: column; min-width: 0; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.aio-card:hover, .aio-card:focus-visible { transform: translateY(-3px); border-color: var(--yb-gold-dim); box-shadow: 0 16px 40px rgba(37,99,235,0.16); }
.aio-card-art { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1 / 0.86; padding: 0.7rem 0.7rem 0; background: radial-gradient(circle at 50% 62%, rgba(59,130,246,0.26), transparent 62%), linear-gradient(180deg, var(--yb-depth), var(--yb-abyss)); border-bottom: 1px solid var(--yb-border); overflow: hidden; }
.aio-card-art img { display: block; width: 86%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.4)); transition: transform 0.25s ease; }
.aio-card:hover .aio-card-art img { transform: translateY(-3px) scale(1.035); }
.aio-card-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.85rem 0.95rem 1rem; flex: 1; min-width: 0; }
.aio-card-k { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yb-cyan); line-height: 1.5; }
.aio-card-name { font-family: var(--disp); font-weight: 700; font-size: 1.12rem; line-height: 1.15; color: var(--yb-text); }
.aio-card-x { font-size: 0.83rem; line-height: 1.5; color: var(--yb-muted); flex: 1; }
.aio-card-stat { display: flex; align-items: baseline; gap: 0.4rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yb-muted); border-top: 1px dashed rgba(96,128,210,0.18); padding-top: 0.55rem; margin-top: 0.15rem; }
.aio-card-stat b { font-family: var(--disp); font-size: 1.1rem; letter-spacing: 0; color: var(--yb-gold-light); text-transform: none; }

/* Kicker and stat lines take two lines on some cards and one on others; a
   shared minimum keeps names and numbers level across each row. */
@media (min-width: 761px) {
  .aio-card-k { min-height: 3em; text-wrap: balance; }
  .aio-card-stat { min-height: 3.15rem; }
}

/* ---- What one bot buys you ---- */
.aio-why { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; margin-top: 1.4rem; }
.aio-perks { display: flex; flex-direction: column; }
.aio-perk { display: flex; gap: 0.95rem; padding: 1.1rem 0; border-top: 1px dashed rgba(96,128,210,0.18); }
.aio-perk:first-child { border-top: none; padding-top: 0.2rem; }
.aio-perk-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--yb-cyan-bg); border: 1px solid var(--yb-cyan-dim); color: var(--yb-cyan); }
.aio-perk-ic svg { width: 19px; height: 19px; }
.aio-perk-x { font-size: 0.9rem; line-height: 1.62; color: var(--yb-muted); margin-top: 0.3rem; }

.aio-access { margin: 0; background: var(--yb-void); border: 1px solid var(--yb-border); border-radius: 12px; overflow: hidden; box-shadow: 0 22px 60px rgba(0,0,0,0.28); }
.aio-access-body { padding: 1rem 1.15rem 0.8rem; }
.aio-grant { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.aio-grant-role { font-weight: 600; font-size: 0.86rem; color: #8ea1ff; background: rgba(88,101,242,0.16); border-radius: 4px; padding: 2px 7px; }
.aio-grant-meta { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yb-muted); }
.aio-mrow { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.62fr)); align-items: center; padding: 0.52rem 0.15rem; border-top: 1px dashed rgba(96,128,210,0.16); }
.aio-mhead { border-top: none; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted); padding-bottom: 0.4rem; }
.aio-mhead span:not(:first-child) { text-align: center; }
.aio-marea { font-size: 0.86rem; color: var(--yb-text); }
.aio-mcell { display: flex; justify-content: center; }
.aio-mdot, .aio-mdot-off { width: 15px; height: 15px; border-radius: 50%; display: block; }
.aio-mdot { border: 2px solid var(--yb-gold); box-shadow: inset 0 0 0 3px var(--yb-void), inset 0 0 0 8px var(--yb-gold); }
.aio-mdot-off { border: 1.5px solid var(--yb-border2); }
.aio-access-cap { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6; color: var(--yb-muted); padding: 0.65rem 1.15rem; border-top: 1px solid var(--yb-border); background: var(--yb-depth); }

/* ---- Switching steps ---- */
.aio-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.aio-step { position: relative; display: flex; flex-direction: column; gap: 0.35rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 12px; padding: 1.1rem 1.1rem 1.2rem; overflow: hidden; }
.aio-step::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--yb-cyan), var(--yb-gold)); opacity: 0.75; }
.aio-step-n { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yb-cyan); }
.aio-step-t { font-family: var(--disp); font-weight: 600; font-size: 1.02rem; line-height: 1.25; color: var(--yb-text); }
.aio-step-x { font-size: 0.86rem; line-height: 1.55; color: var(--yb-muted); }

/* ---- Beyond the ten ---- */
.aio-more { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; align-items: start; }
.aio-more-cards { display: grid; gap: 0.75rem; }
.aio-more-card { display: flex; flex-direction: column; gap: 0.3rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 12px; padding: 1rem 1.15rem 1.05rem; color: inherit; text-decoration: none; transition: border-color 0.15s ease; }
.aio-more-card:hover, .aio-more-card:focus-visible { border-color: var(--yb-gold-dim); }
.aio-more-k { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yb-cyan); }
.aio-more-t { font-family: var(--disp); font-weight: 600; font-size: 1.05rem; color: var(--yb-text); }
.aio-more-x { font-size: 0.87rem; line-height: 1.58; color: var(--yb-muted); }
.aio-more-card .aio-card-go { margin-top: 0.35rem; }
.aio-spec { margin: 0; display: flex; flex-direction: column; background: var(--yb-void); border: 1px solid var(--yb-border2); border-radius: 12px; padding: 1.1rem 1.25rem 1rem; }
.aio-spec-head { display: flex; align-items: center; gap: 0.55rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-cyan); margin-bottom: 0.6rem; }
.aio-spec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green, #34d399); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); flex: none; }
.aio-spec-list { margin: 0; }
.aio-spec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed rgba(96,128,210,0.16); }
.aio-spec-row dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--yb-muted); }
.aio-spec-row dd { margin: 0; font-family: var(--mono); font-size: 0.74rem; color: var(--yb-text); text-align: right; }
.aio-spec-cap { font-size: 0.82rem; line-height: 1.55; color: var(--yb-muted); margin-top: 0.8rem; }

.aio-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2.2rem 0 0.9rem; }
.aio-rail-head .pa-more { margin-top: 0; }
.aio-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.aio-plug { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 12px; padding: 0.9rem 1rem; color: inherit; text-decoration: none; transition: border-color 0.15s ease; }
.aio-plug:hover, .aio-plug:focus-visible { border-color: var(--yb-gold-dim); }
.aio-plug-top { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.aio-plug-ic { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: none; }
.aio-plug-ic-gen { display: inline-flex; align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 700; color: #fff; }
.aio-plug-name { font-family: var(--disp); font-weight: 600; font-size: 0.95rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aio-plug-sum { font-size: 0.83rem; line-height: 1.5; color: var(--yb-muted); }
.aio-plug-meta { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--yb-muted); margin-top: auto; }

/* ---- Plans ---- */
.aio-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: stretch; }
.aio-plan { position: relative; display: flex; flex-direction: column; gap: 1rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 16px; padding: 1.5rem 1.6rem 1.6rem; overflow: hidden; min-width: 0; }
/* Premium keeps the gold the nav's Premium button and /pricing use. */
.aio-plan-premium { border-color: rgba(250,204,21,0.36); background: linear-gradient(160deg, rgba(250,204,21,0.07), transparent 45%), var(--yb-abyss); padding-right: 11.5rem; }
.aio-plan-top { display: flex; align-items: center; gap: 0.8rem; }
.aio-plan-name { font-family: var(--disp); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.aio-badge-gold { color: #f5c542; background: rgba(250,204,21,0.1); border-color: rgba(250,204,21,0.38); box-shadow: 2px 2px 0 rgba(250,204,21,0.16); }
.aio-plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.aio-plan-list li { position: relative; padding-left: 1.5rem; font-size: 0.93rem; line-height: 1.5; color: var(--yb-text); }
.aio-plan-list li::before { content: ''; position: absolute; left: 0.1rem; top: 0.32em; width: 0.42rem; height: 0.75rem; border-right: 2px solid var(--yb-cyan); border-bottom: 2px solid var(--yb-cyan); transform: rotate(40deg); }
.aio-plan-premium .aio-plan-list li::before { border-color: #f5c542; }
.aio-plan-note { font-size: 0.84rem; line-height: 1.55; color: var(--yb-muted); }
.aio-plan-cta { align-self: flex-start; margin-top: auto; }
.aio-plan-art { position: absolute; right: -0.4rem; bottom: -0.6rem; width: 12.5rem; height: auto; filter: drop-shadow(0 14px 26px rgba(0,0,0,0.42)); pointer-events: none; }
[data-theme="light"] .aio-badge-gold { color: #9a6b00; }
[data-theme="light"] .aio-plan-premium .aio-plan-list li::before { border-color: #c99400; }
[data-theme="light"] .aio-plan-art { filter: drop-shadow(0 12px 20px rgba(20,30,60,0.22)); }

/* ---- FAQ ---- */
.aio-faq details { border-top: 1px solid var(--yb-border); }
.aio-faq details:last-child { border-bottom: 1px solid var(--yb-border); }
.aio-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--disp); font-weight: 600; font-size: 1.02rem; padding: 1rem 0.2rem; cursor: pointer; list-style: none; color: var(--yb-text); }
.aio-faq summary::-webkit-details-marker { display: none; }
.aio-faq summary::after { content: '+'; font-family: var(--mono); color: var(--yb-gold-light); flex: none; }
.aio-faq details[open] summary::after { content: '\2013'; }
.aio-faq p { font-size: 0.92rem; line-height: 1.65; color: var(--yb-muted); padding: 0 0.2rem 1.1rem; max-width: 50rem; }

/* ---- Keep reading ---- */
.aio-related { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.aio-related a { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 10px; color: var(--yb-text); text-decoration: none; font-size: 0.92rem; transition: border-color 0.15s ease; min-width: 0; }
.aio-related a:hover, .aio-related a:focus-visible { border-color: var(--yb-gold-dim); }
.aio-kind { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted); flex: none; width: 6.6rem; }
.aio-related-t { flex: 1; min-width: 0; }
.aio-related-go { color: var(--yb-gold-light); flex: none; }

/* ---- Closing band: mascot left, copy right ---- */
.aio-close { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; text-align: left; margin-top: 4.5rem; padding: 2.4rem 3rem; overflow: hidden; }
.aio-close-art { display: block; width: 100%; height: auto; max-width: 420px; justify-self: center; filter: drop-shadow(0 18px 32px rgba(0,0,0,0.4)); }
.aio-close .pa-close-copy { margin: 0 0 1.6rem; }
.aio-close .pa-cta-row { justify-content: flex-start; flex-wrap: wrap; }
.aio-updated { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted2); text-align: center; margin-top: 1.6rem; }

/* ---- Light theme: the same shapes, softer shadows ---- */
[data-theme="light"] .aio-roster-after { box-shadow: 0 0 0 1px rgba(37,99,235,0.1), 0 18px 44px rgba(37,99,235,0.14); }
[data-theme="light"] .aio-access { box-shadow: 0 16px 40px rgba(30,41,80,0.12); }
[data-theme="light"] .aio-card:hover { box-shadow: 0 14px 34px rgba(37,99,235,0.14); }
[data-theme="light"] .aio-card-art { background: radial-gradient(circle at 50% 62%, rgba(59,130,246,0.2), transparent 62%), linear-gradient(180deg, #dfe6f6, var(--yb-abyss)); }
[data-theme="light"] .aio-card-art img, [data-theme="light"] .aio-close-art { filter: drop-shadow(0 10px 16px rgba(20,30,60,0.22)); }
[data-theme="light"] .aio-grant-role { color: #4752c4; background: rgba(88,101,242,0.12); }
/* Cyan and light-blue small labels fall under 4.5:1 on the light page; the
   deeper accent passes. */
[data-theme="light"] .aio-card-go, [data-theme="light"] .aio-sec-idx, [data-theme="light"] .aio-card-k, [data-theme="light"] .aio-step-n, [data-theme="light"] .aio-more-k { color: var(--yb-gold); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .aio-cast { grid-template-columns: 1fr 1fr; }
  .aio-card { flex-direction: row; }
  .aio-card-art { width: 150px; flex: none; aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--yb-border); align-items: center; padding: 0.6rem; }
  .aio-card-art img { width: 100%; }
}
@media (max-width: 980px) {
  .aio-hero { grid-template-columns: 1fr; gap: 2.4rem; padding-top: 3rem; }
  .aio-roster { justify-self: center; }
  .aio-why, .aio-more { grid-template-columns: 1fr; }
  .aio-steps { grid-template-columns: 1fr 1fr; }
  .aio-rail { grid-template-columns: 1fr 1fr; }
  .aio-plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .aio-title { font-size: clamp(1.95rem, 7vw, 2.4rem); }
  .aio-facts { grid-template-columns: 1fr 1fr; }
  .aio-cast { grid-template-columns: 1fr; }
  .aio-h2 { font-size: 1.55rem; }
  .aio-sec { padding-top: 3.2rem; }
  .aio-plans, .aio-related { grid-template-columns: 1fr; }
  .aio-plan-premium { padding-right: 1.6rem; padding-bottom: 12rem; }
  .aio-plan-art { width: 10rem; }
  .aio-close { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.3rem; }
  .aio-close-art { max-width: 240px; }
  .aio-close .pa-cta-row { justify-content: center; }
  /* Mono labels: legible floor on a phone, nothing below ~10px. */
  .aio-fact-k, .aio-card-k, .aio-card-stat, .aio-card-go, .aio-roster-head, .aio-roster-tag, .aio-roster-foot, .aio-mhead, .aio-grant-meta, .aio-access-cap, .aio-step-n, .aio-more-k, .aio-spec-head, .aio-plug-meta, .aio-kind, .aio-sec-idx, .aio-updated { font-size: 0.66rem; }
}
@media (max-width: 560px) {
  .aio-steps, .aio-rail { grid-template-columns: 1fr; }
  .aio-roster-before { margin: 0 0.8rem; }
  .aio-card-art { width: 112px; }
  .aio-card-body { padding: 0.75rem 0.85rem 0.85rem; }
  .aio-kind { width: auto; }
  .aio-related a { flex-wrap: wrap; gap: 0.3rem 0.8rem; }
  .aio-related-t { flex-basis: 100%; order: 2; }
  .aio-related-go { display: none; }
  .aio-spec-row { flex-direction: column; gap: 0.15rem; }
  .aio-spec-row dd { text-align: left; }
}
@media (max-width: 420px) {
  .aio-switches { grid-template-columns: 1fr 1fr; gap: 0.3rem; }
  .aio-switch { font-size: 0.7rem; gap: 0.35rem; }
  .aio-fact { padding: 0.75rem 0.8rem; }
  .aio-fact-v { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .aio-card, .aio-card-art img, .aio-more-card, .aio-plug { transition: none; }
  .aio-card:hover, .aio-card:hover .aio-card-art img { transform: none; }
}
