.plan .pbtn { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: var(--white); font-family: var(--sans); text-align: left; cursor: pointer; }
.pb-hint { display: flex; width: max-content; align-items: center; gap: 6px; margin-top: 14px; padding: 7px 11px 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 1; color: var(--gold); background: rgba(255, 202, 40, .1); box-shadow: inset 0 0 0 1px rgba(255, 202, 40, .32); transition: background .2s, box-shadow .2s; }
.pb-hint svg { width: 12px; height: 12px; transition: transform .3s var(--ease2); }
.pbtn:hover .pb-hint { background: rgba(255, 202, 40, .18); box-shadow: inset 0 0 0 1px rgba(255, 202, 40, .65); }
.pbtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 8px; }
.pbtn[aria-expanded="true"] .pb-hint { background: var(--gold); color: var(--ink); box-shadow: none; }
.pbtn[aria-expanded="true"] .pb-hint svg { transform: rotate(180deg); }
.plan { transition: box-shadow .3s; }
.plan.tap { cursor: pointer; }
.plan.tap:hover:not(.on) { box-shadow: inset 0 0 0 1px rgba(255, 202, 40, .28); }
.plan.tap:hover .pb-hint { background: rgba(255, 202, 40, .18); box-shadow: inset 0 0 0 1px rgba(255, 202, 40, .65); }
.plan.tap .pbtn[aria-expanded="true"] .pb-hint { background: var(--gold); box-shadow: none; }
.plan.on { box-shadow: inset 0 0 0 1px rgba(255, 202, 40, .6), 0 0 60px rgba(255, 202, 40, .08); }

.xpanel { position: relative; margin-top: 18px; border-radius: 24px; padding: clamp(18px, 3vw, 30px); background: linear-gradient(180deg, rgba(255, 202, 40, .06), rgba(255, 202, 40, 0) 260px), var(--panel); box-shadow: var(--glow-card), 0 30px 80px rgba(0, 0, 0, .35); scroll-margin-top: 90px; }
.plans > .xpanel { grid-column: 1 / -1; margin-top: 0; }
.xpanel::before { content: ""; position: absolute; top: -8px; left: var(--nx, 50%); width: 16px; height: 16px; transform: translateX(-50%) rotate(45deg); background: #292228; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .1); border-radius: 3px 0 0 0; }
.xpanel.open { animation: xin .5s var(--ease2); }
@keyframes xin { from { opacity: 0; transform: translateY(-10px); } }
.xp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.xp-head .k { font-size: 13px; color: var(--gold); }
.xp-head h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 300; letter-spacing: -0.015em; margin: 4px 0 0; outline: none; }
.xp-x { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--shell); color: var(--ash); font: 400 20px/1 var(--sans); cursor: pointer; }
.xp-x:hover { color: var(--white); }
.xp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.xp-main { display: grid; gap: 16px; min-width: 0; }

.xp-picks { border-radius: 18px; padding: 16px; background: rgba(14, 9, 24, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); display: grid; gap: 12px; }
.xp-ph { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 500; color: var(--white); }
.xp-ph span { font-size: 13px; font-weight: 400; color: var(--fog); white-space: nowrap; }
.xp-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.xchip { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; min-width: 0; padding: 8px 10px 8px 8px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: var(--ash); text-align: left; font-family: var(--sans); cursor: pointer; transition: box-shadow .2s, background .2s; }
.xchip:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.xchip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 14px; }
.xchip i.cobalt { background: #1F49FF; color: #fff; } .xchip i.sun { background: #FFCA28; color: #171612; } .xchip i.ink { background: #F1EEF4; color: #171612; }
.xchip span { min-width: 0; }
.xchip b { display: block; font-size: 13.5px; font-weight: 500; color: var(--white); }
.xchip small { display: block; font-size: 11.5px; line-height: 1.25; color: var(--fog); }
.xchip[aria-pressed="true"] { background: rgba(255, 202, 40, .1); box-shadow: inset 0 0 0 1.5px var(--gold); }
.xchip:disabled { cursor: default; }
.xp-with { display: grid; gap: 6px; margin: 0; font-size: 13.5px; color: var(--fog); }
.xp-with p { margin: 0; } .xp-with b { color: var(--white); font-weight: 500; }

.xlist { display: grid; gap: 8px; }
.xrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: box-shadow .25s, background .25s; }
.xrow.tap { cursor: pointer; }
.xrow.tap:hover:not(.on) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.xrow.on { background: rgba(255, 202, 40, .07); box-shadow: inset 0 0 0 1px rgba(255, 202, 40, .45); }
.xrow h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 500; color: var(--white); }
.xrow p { margin: 3px 0 0; font-size: 13.5px; color: var(--fog); }
.xsoon { font-size: 11px; font-weight: 500; color: var(--ash); padding: 3px 8px; border-radius: 999px; background: var(--shell); }
.xr-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-align: right; }
.xpr { font-size: 15px; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.xpr small { display: block; font-size: 11.5px; color: var(--fog); }
.xsw { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; border: 0; background: #3E3A46; cursor: pointer; transition: background .25s; }
.xsw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #CFC9D8; transition: transform .25s var(--ease2), background .25s; }
.xsw[aria-checked="true"] { background: var(--gold); }
.xsw[aria-checked="true"]::after { transform: translateX(20px); background: #171612; }
.xsw:focus-visible, .xchip:focus-visible, .xstep button:focus-visible, .xp-x:focus-visible, .xup:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.xinc { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.xinc svg { width: 14px; height: 14px; }
.xmuted { font-size: 13px; color: var(--fog); max-width: 16em; }
.xuse { font-size: 15px; color: var(--gold); white-space: nowrap; }
.xuse small { display: block; max-width: 19em; font-size: 11.5px; color: var(--fog); white-space: normal; }
.xup { border: 0; cursor: pointer; font: 500 13px/1.2 var(--sans); color: var(--gold); background: rgba(255, 202, 40, .1); box-shadow: inset 0 0 0 1px rgba(255, 202, 40, .35); padding: 8px 12px; border-radius: 999px; }
.xup:hover { background: rgba(255, 202, 40, .18); }
.xstep { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--shell); }
.xstep button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.xstep button:hover:not(:disabled) { background: rgba(255, 255, 255, .1); }
.xstep button svg { width: 12px; height: 12px; }
.xstep button:disabled { opacity: .35; cursor: default; }
.xstep output { min-width: 22px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }

.xtotal { position: sticky; top: 92px; border-radius: 18px; padding: 22px; display: grid; gap: 10px; background: linear-gradient(160deg, rgba(255, 202, 40, .12), rgba(255, 202, 40, 0) 60%), var(--surface); box-shadow: var(--glow-card); }
.xt-k { font-size: 13px; color: var(--gold); }
.xt-big { font-size: 52px; font-weight: 300; letter-spacing: -0.03em; line-height: .95; color: var(--white); font-variant-numeric: tabular-nums; transform-origin: left center; }
.xt-big small { font-size: 15px; color: var(--fog); letter-spacing: 0; margin-left: 4px; }
.xt-big.bump { animation: xbump .45s var(--ease2); }
@keyframes xbump { 40% { transform: scale(1.06); color: var(--gold); } }
.xt-math { margin: 0; font-size: 14px; color: var(--ash); }
.xt-line { margin: 0; font-size: 13.5px; color: var(--fog); }
.xt-line b { color: var(--white); font-weight: 500; }
.xt-calls { margin: 0; font-size: 13.5px; color: var(--gold); }
.xtotal .btn { margin-top: 6px; }
.xt-fine { margin: 0; font-size: 12.5px; color: var(--fog); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.xtable-wrap { overflow-x: auto; border-radius: 20px; background: var(--surface); box-shadow: var(--glow-card); }
.xtable { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.xtable th, .xtable td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.xtable thead th { font-size: 13.5px; font-weight: 500; color: var(--white); background: #151120; }
.xtable thead th small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--fog); }
.xtable tbody th { width: 31%; position: sticky; left: 0; z-index: 1; font-weight: 400; background: var(--surface); }
.xtable thead th:first-child { position: sticky; left: 0; z-index: 2; }
.xtable tbody th b { display: block; font-size: 14.5px; font-weight: 500; color: var(--white); }
.xtable tbody th small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--fog); }
.xtable td { color: var(--ash); }
.xtable td.inc { color: var(--gold); }
.xtable td.inc svg { width: 13px; height: 13px; margin-right: 5px; vertical-align: -1px; }
.xtable td.mut { color: var(--fog); }
.xtable tbody tr:last-child > * { border-bottom: 0; }
.xnote { margin-top: 14px; font-size: 14px; color: var(--fog); }
.extras.one { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }

@media (max-width: 1100px) { .xp-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .xp-body { grid-template-columns: minmax(0, 1fr); } .xtotal { position: static; } }
@media (max-width: 640px) { .xp-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .xrow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .xr-right { justify-content: space-between; text-align: left; }
  .xmuted, .xuse small { max-width: none; }
  .xt-big { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { .xpanel.open, .xt-big.bump { animation: none; } .xsw, .xsw::after { transition: none; } }
