/* STEP3278 - Device page only. Reuses FPS JAPAN dark + cyan tokens; no global overrides. */
.fpsj-device-detail,.fpsj-device-detail__unavailable{color:#e9f5ff;max-width:1160px;margin:0 auto;padding:0 22px 64px}
.fpsj-device-detail__breadcrumb{display:flex;gap:10px;flex-wrap:wrap;padding:20px 0;color:#88a6bb;font-size:.78rem}
.fpsj-device-detail__breadcrumb a,.fpsj-device-detail__text-link{color:#68d8fb;text-decoration:none}
.fpsj-device-detail__breadcrumb a:hover,.fpsj-device-detail__text-link:hover{text-decoration:underline}
.fpsj-device-detail__hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);gap:30px;align-items:center;position:relative;isolation:isolate;overflow:hidden;padding:48px 22px 64px;margin:0 -22px 24px;background:radial-gradient(68% 112% at 18% 14%,rgba(19,94,142,.12) 0%,rgba(19,94,142,0) 58%),radial-gradient(ellipse at 82% 22%,rgba(28,119,167,.16) 0%,rgba(28,119,167,0) 56%),linear-gradient(180deg,rgba(7,26,46,0) 0%,rgba(7,26,46,.38) 18%,rgba(7,26,46,.55) 40%,rgba(7,26,46,.26) 72%,rgba(7,26,46,0) 100%)}
.fpsj-device-detail__hero:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.08;background-image:linear-gradient(#2a779f 1px,transparent 1px),linear-gradient(90deg,#2a779f 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(180deg,transparent 0%,black 16%,black 68%,transparent 100%)}
.fpsj-device-detail__hero:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:linear-gradient(90deg,rgba(3,10,18,.88) 0%,rgba(3,10,18,.24) 10%,rgba(3,10,18,0) 20%,rgba(3,10,18,0) 80%,rgba(3,10,18,.24) 90%,rgba(3,10,18,.88) 100%),linear-gradient(180deg,rgba(3,10,18,.96) 0%,rgba(3,10,18,.34) 12%,rgba(3,10,18,0) 26%,rgba(3,10,18,0) 58%,rgba(3,10,18,.18) 76%,rgba(3,10,18,.82) 100%)}
.fpsj-device-detail__hero-copy,.fpsj-device-detail__hero-media{position:relative;z-index:1}
.fpsj-device-detail__eyebrow,.fpsj-device-detail__section-heading span{color:#54ccf4;letter-spacing:.14em;font-size:.7rem;font-weight:800}
.fpsj-device-detail h1{font-size:clamp(2rem,4.1vw,3.5rem);line-height:1.15;color:#fff;margin:12px 0 10px;overflow-wrap:anywhere}
.fpsj-device-detail__subhead{color:#b9d1e1;font-size:.95rem;margin:0 0 18px}
.fpsj-device-detail__intro{color:#afc7d8;line-height:1.9;max-width:600px}
.fpsj-device-detail__actions{display:flex;flex-wrap:wrap;gap:12px 23px;margin-top:22px;font-size:.86rem}
.fpsj-device-detail__hero-media{width:min(100%,370px);aspect-ratio:1;justify-self:center;border:1px solid #204763;border-radius:16px;background:#09192d;display:grid;place-items:center;overflow:hidden}
.fpsj-device-detail__hero-media img{width:100%;height:100%;object-fit:contain;padding:15px}
.fpsj-device-detail__placeholder{display:grid;place-items:center;width:100%;height:100%;color:#7094af;font-size:clamp(1.2rem,3vw,2rem);font-weight:800;letter-spacing:.12em}
.fpsj-device-detail__section{margin:35px 0 48px}
.fpsj-device-detail__section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px}
.fpsj-device-detail__section-heading h2{color:#fff;margin:5px 0 0;font-size:clamp(1.3rem,2vw,1.8rem)}
.fpsj-device-detail__section-heading small{font-size:.8rem;color:#9bc1dc}
.fpsj-device-detail__players{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.fpsj-device-detail__player{display:flex;flex-direction:column;min-width:0;background:#0a1b30;border:1px solid #163c58;border-radius:11px;padding:6px;color:#f0f7ff;text-decoration:none;transition:border-color .18s,transform .18s}
.fpsj-device-detail__player:hover{border-color:#42c7f3;transform:translateY(-2px)}
.fpsj-device-detail__player-image{display:block;aspect-ratio:4/5;border-radius:8px;overflow:hidden;background:#0f2840}
.fpsj-device-detail__player-image img{height:100%;width:100%;object-fit:cover}
.fpsj-device-detail__player-image .fpsj-device-detail__placeholder{font-size:.75rem}
.fpsj-device-detail__player strong{font-size:.82rem;overflow-wrap:anywhere;margin:8px 4px 3px}
.fpsj-device-detail__player small{font-size:.67rem;color:#9ab8cf;margin:0 4px 6px;overflow-wrap:anywhere}
.fpsj-device-detail__player-action{font-size:.65rem;color:#69cffa;padding:7px 4px 3px;margin-top:auto;border-top:1px solid #18334d}
.fpsj-device-detail__specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.fpsj-device-detail__specs>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;border:1px solid #173650;border-radius:9px;background:#0b1c30;padding:14px 16px}
.fpsj-device-detail__specs dt{color:#90b7d1;font-size:.82rem;min-width:0}
.fpsj-device-detail__specs dd{margin:0;color:#f2f8ff;font-weight:650;text-align:right;overflow-wrap:anywhere}
.fpsj-device-detail__purchase,.fpsj-device-detail__related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fpsj-device-detail__purchase a,.fpsj-device-detail__related a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#0c233c;border:1px solid #20618b;border-radius:9px;color:#daefff;text-decoration:none;font-weight:650}
.fpsj-device-detail__purchase a:hover,.fpsj-device-detail__related a:hover{border-color:#57d0ff;background:#123653}
.fpsj-device-detail__unavailable{margin:30px auto;line-height:1.8}.fpsj-device-detail__unavailable a{color:#69d5ff}
@media(max-width:900px){.fpsj-device-detail__players{grid-template-columns:repeat(4,minmax(0,1fr))}.fpsj-device-detail__hero{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:660px){.fpsj-device-detail,.fpsj-device-detail__unavailable{padding:0 16px 36px}.fpsj-device-detail__hero{grid-template-columns:minmax(0,1fr);gap:22px;padding:30px 16px 38px;margin:0 -16px 18px}.fpsj-device-detail__hero-media{max-width:260px;justify-self:start}.fpsj-device-detail__players{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fpsj-device-detail__specs{grid-template-columns:minmax(0,1fr)}.fpsj-device-detail__purchase,.fpsj-device-detail__related{grid-template-columns:minmax(0,1fr)}.fpsj-device-detail__section{margin:26px 0 38px}}

/* STEP3301 / Device pilot: seamless, content-first hero when no approved image. */
.fpsj-device-detail__hero--no-image{grid-template-columns:minmax(0,1fr);padding:44px 28px 54px;min-height:0;gap:0;background:radial-gradient(70% 118% at 18% 14%,rgba(17,79,122,.11) 0%,rgba(17,79,122,0) 58%),radial-gradient(ellipse at 84% 20%,rgba(21,125,177,.14) 0%,rgba(21,125,177,0) 54%),linear-gradient(180deg,rgba(7,26,46,0) 0%,rgba(7,26,46,.32) 18%,rgba(7,26,46,.49) 40%,rgba(7,26,46,.2) 72%,rgba(7,26,46,0) 100%)}
.fpsj-device-detail__hero--no-image .fpsj-device-detail__hero-copy{width:100%;max-width:950px}
.fpsj-device-detail__hero--no-image h1{max-width:880px}
.fpsj-device-detail__hero--no-image .fpsj-device-detail__subhead{margin-bottom:12px}
.fpsj-device-detail__facts{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 0}
.fpsj-device-detail__facts a{display:inline-flex;align-items:center;gap:9px;padding:11px 15px;border:1px solid rgba(53,151,199,.28);border-radius:10px;background:rgba(11,38,61,.54);text-decoration:none;color:#b6d9ed;min-height:44px}
.fpsj-device-detail__facts a:hover,.fpsj-device-detail__facts a:focus-visible{border-color:#56c7f0;background:rgba(17,66,95,.65);color:#fff}
.fpsj-device-detail__facts strong{color:#edfaff;font-size:1.25rem;line-height:1.1;font-variant-numeric:tabular-nums}
.fpsj-device-detail__facts span{font-size:.8rem}
.fpsj-device-detail__facts span[aria-hidden]{color:#54ccf4;font-size:.9rem}
.fpsj-device-detail__hero--no-image .fpsj-device-detail__actions{margin-top:19px}
.fpsj-device-detail__section-heading h2{scroll-margin-top:108px}
@media(max-width:660px){.fpsj-device-detail__hero--no-image{padding:28px 16px 34px}.fpsj-device-detail__facts{gap:8px;margin-top:19px}.fpsj-device-detail__facts a{padding:10px 12px}.fpsj-device-detail__facts strong{font-size:1.1rem}}

/* Approved Player portrait or a lightweight typographic fallback, not a fake photo. */
.fpsj-device-detail__player-image .fpsj-device-detail__player-monogram{display:grid;place-items:center;position:relative;width:100%;height:100%;background:radial-gradient(circle at 50% 38%,rgba(59,166,214,.18),transparent 62%),linear-gradient(152deg,#0c263e,#081828);color:#77d9f5;font-size:clamp(1.6rem,3.5vw,3rem);font-weight:850;line-height:1;text-transform:uppercase}
.fpsj-device-detail__player-image .fpsj-device-detail__player-monogram:after{content:"FPS JAPAN";position:absolute;bottom:12px;left:0;right:0;text-align:center;color:rgba(150,204,227,.42);font-size:9px;letter-spacing:.11em;font-weight:750}

/* STEP3303 — six visible Player cards, accessible native expansion and count badge. */
.fpsj-device-detail__section-heading .fpsj-device-detail__player-count{display:inline-flex;align-items:baseline;justify-content:center;gap:3px;flex-shrink:0;min-width:79px;padding:9px 14px;border:1px solid rgba(84,204,244,.56);border-radius:999px;background:linear-gradient(125deg,rgba(20,94,137,.52),rgba(10,47,76,.78));color:#ecfbff;box-shadow:0 0 20px rgba(25,150,213,.10);line-height:1}
.fpsj-device-detail__player-count strong{font-size:1.35rem;letter-spacing:.01em;font-weight:850;font-variant-numeric:tabular-nums}
.fpsj-device-detail__section-heading .fpsj-device-detail__player-count span{font-size:.75rem;color:#9fe5fb;letter-spacing:0;font-weight:700}
.fpsj-device-detail__player-expand{margin-top:17px}
.fpsj-device-detail__player-expand summary{display:flex;justify-content:center;align-items:center;gap:10px;min-height:47px;padding:12px 20px;border:0;border-top:1px solid rgba(67,137,181,.24);border-radius:0;background:transparent;box-shadow:none;color:#9ee5ff;text-align:center;font-size:.87rem;font-weight:750;cursor:pointer;list-style:none;transition:color .18s}
.fpsj-device-detail__player-expand summary::-webkit-details-marker{display:none}
.fpsj-device-detail__player-expand summary:hover{background:transparent;color:#fff;text-decoration:underline;text-underline-offset:4px}
.fpsj-device-detail__player-expand summary:focus-visible{outline:2px solid #72ddff;outline-offset:3px}
.fpsj-device-detail__player-expand[open] summary{margin-bottom:15px}
.fpsj-device-detail__player-expand .fpsj-device-detail__expand-label--open{display:none}
.fpsj-device-detail__player-expand[open] .fpsj-device-detail__expand-label--closed{display:none}
.fpsj-device-detail__player-expand[open] .fpsj-device-detail__expand-label--open{display:inline}
.fpsj-device-detail__expand-icon{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .18s}
.fpsj-device-detail__player-expand[open] .fpsj-device-detail__expand-icon{transform:rotate(225deg) translateY(-2px)}
@media(max-width:660px){.fpsj-device-detail__section-heading .fpsj-device-detail__player-count{min-width:67px;padding:8px 10px}.fpsj-device-detail__player-count strong{font-size:1.18rem}}

/* STEP3428: Show an early, accessible purchase anchor only when DBLM has public purchase links. */
.fpsj-device-detail__buy-jump{display:inline-flex;align-items:center;justify-content:center;gap:.6em;min-height:46px;padding:11px 19px;border:1px solid #6bdcff;border-radius:9px;background:#0a7cac;color:#fff!important;text-decoration:none!important;font-size:.92rem;font-weight:800;line-height:1.4;box-shadow:0 4px 15px rgba(9,106,156,.22)}
.fpsj-device-detail__buy-jump:hover{background:#096188;border-color:#b9efff;color:#fff!important}
.fpsj-device-detail__buy-jump:focus-visible{outline:3px solid #ffe168;outline-offset:3px}
#fpsj-device-buy-title{scroll-margin-top:108px}
@media(max-width:660px){.fpsj-device-detail__buy-jump{width:100%;min-height:48px}}
