.gear-shop-page .xfg-product-guides { display:inline-flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:12px 20px; margin-left:auto; }
.gear-shop-page .xfg-rank-guide-entry { margin:16px 0; }
.gear-shop-page.xfg-product-page .xfg-rank-color-guide { box-sizing:border-box; width:min(940px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:24px; border:1px solid #42454b; border-radius:8px; color:#f1f1f1; background:#1b1b1b; overflow:hidden; font:400 14px/1.5 var(--shop-text); }
.gear-shop-page .xfg-rank-color-guide[open] { display:flex; flex-direction:column; }
.gear-shop-page .xfg-rank-color-guide::backdrop { background:rgb(0 0 0 / .65); }
.xfg-rank-color-guide__header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; flex:none; }
.xfg-rank-color-guide__header h2 { margin:0; font:600 30px/1.1 var(--shop-display); color:#fff; }
.xfg-rank-color-guide__header p { margin:7px 0 0; color:#bfbfc3; }
.xfg-rank-color-guide__close { display:grid; place-items:center; flex:none; width:44px; height:44px; border:1px solid #494a4e; border-radius:50%; background:transparent; color:#fff; cursor:pointer; }
.xfg-rank-color-guide__close svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; }
.xfg-rank-color-guide__content { overflow:auto; overscroll-behavior:contain; min-height:0; margin-top:20px; }
.xfg-rank-color-guide__intro { margin:0 0 16px; color:#d5d5d8; }
.xfg-rank-color-guide__views { display:flex; gap:8px; margin-bottom:16px; }
.xfg-rank-color-guide__views button { min-height:40px; padding:8px 18px; border:1px solid #55575d; border-radius:4px; color:#ddd; background:transparent; font:600 14px/1.2 var(--shop-text); cursor:pointer; }
.xfg-rank-color-guide__views button[aria-pressed=true] { border-color:#ffd000; background:#ffd000; color:#151515; }
.xfg-rank-colors { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; list-style:none; padding:0; margin:0; }
.xfg-rank-color { min-width:0; overflow:hidden; border:1px solid #393b40; border-radius:6px; background:#232428; }
.xfg-rank-color__art { position:relative; aspect-ratio:1/1.9; overflow:hidden; background:#181818; }
.xfg-rank-color__art img { position:absolute; display:block; top:0; left:calc(var(--color-index) * -100%); width:500%; max-width:none; height:auto; transform:translateY(-33%); }
.xfg-rank-color-guide[data-art-view=front] .xfg-rank-color__back,.xfg-rank-color-guide[data-art-view=back] .xfg-rank-color__front { visibility:hidden; }
.xfg-rank-color__copy { padding:12px; }
.xfg-rank-color__copy h3 { display:flex; align-items:center; gap:8px; margin:0 0 7px; color:#fff; font:600 20px/1.2 var(--shop-display); }
.xfg-rank-color__swatch { flex:none; width:17px; height:17px; border:1px solid #ffffff50; border-radius:50%; background:var(--color-accent); box-shadow:0 0 0 3px #141414; }
.xfg-rank-color__copy p { margin:0; color:#c4c5c9; font-size:12px; line-height:1.5; }
.xfg-rank-color-guide :is(button,[tabindex]):focus-visible { outline:2px solid #ffd000; outline-offset:3px; }
.xfg-rank-color-guide__content:focus-visible { outline-offset:-2px; }
@media(max-width:800px) { .xfg-rank-colors { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:560px) {
 .gear-shop-page.xfg-product-page .xfg-rank-color-guide { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); padding:16px; }
 .xfg-rank-color-guide__header h2 { font-size:26px; }
 .xfg-rank-color-guide__content { margin-top:16px; }
 .xfg-rank-colors { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .xfg-rank-color__copy { padding:12px 10px; }
 .gear-shop-page .xfg-product-guides { gap:12px 16px; }
}
