/* STEP3318 — Seamless category hubs. Extends the STEP3277 edge-free hero. */
body.category.fpsj-theme .fpsj-category-hub {position:relative;isolation:isolate;width:100%;margin:0 0 clamp(22px,4vw,48px);padding:0 clamp(6px,1.2vw,16px);color:#eff7ff;background:transparent;background-image:none;box-shadow:none;}
/* STEP3320: The 460px pseudo-element created a visible rectangular tint at the hero/related-nav seam. */
body.category.fpsj-theme .fpsj-category-hub::before {content:none;display:none;}
body.category.fpsj-theme .fpsj-category-hub__breadcrumb {display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 18px;color:#7e9fbb;font-size:.73rem;line-height:1.55;letter-spacing:.025em;}
body.category.fpsj-theme .fpsj-category-hub__breadcrumb a {color:#9fb9cd;text-decoration:none;}
body.category.fpsj-theme .fpsj-category-hub__breadcrumb a:hover {color:#67dcff;text-decoration:underline;}
body.category.fpsj-theme .fpsj-category-hub__breadcrumb [aria-current] {color:#d0e6f6;}
body.category.fpsj-theme .fpsj-category-hub__related {margin:clamp(4px,1vw,14px) 0 clamp(30px,4vw,48px);background:transparent;background-image:none;border:0;box-shadow:none;}
body.category.fpsj-theme .fpsj-category-hub__minor-title {font-weight:800;font-size:clamp(1.02rem,1.4vw,1.2rem);margin:0 0 13px;color:#e8f5ff;}
/* STEP3319 — Lightweight text navigation: no buttons or boxed cards. */
body.category.fpsj-theme .fpsj-category-hub__category-links {display:flex;flex-wrap:wrap;align-items:center;column-gap:clamp(14px,2.1vw,28px);row-gap:8px;}
body.category.fpsj-theme .fpsj-category-hub__category {
  display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;
  min-height:34px;padding:5px 1px;
  border:0;border-bottom:1px solid transparent;border-radius:0;
  background:transparent;box-shadow:none;
  color:#bcd6e9;text-decoration:none;font-size:.92rem;font-weight:750;
  transition:color .18s,border-color .18s;
}
body.category.fpsj-theme .fpsj-category-hub__category span {font-size:.82em;color:#4bbfe6;transition:transform .18s;}
body.category.fpsj-theme .fpsj-category-hub__category:hover,
body.category.fpsj-theme .fpsj-category-hub__category:focus-visible {background:transparent;border-bottom-color:#59d6f8;color:#fff;}
body.category.fpsj-theme .fpsj-category-hub__category:hover span {transform:translate(2px,-2px);}
body.category.fpsj-theme .fpsj-category-hub__category:focus-visible {outline:2px solid #59d6f8;outline-offset:3px;}
body.category.fpsj-theme .fpsj-category-hub__category.is-current {background:transparent;color:#6ce0ff;border-bottom-color:#36b8e7;}
body.category.fpsj-theme .fpsj-category-hub__section {margin:0 0 clamp(27px,4vw,47px);}
body.category.fpsj-theme .fpsj-category-hub__head {display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 0 16px;}
body.category.fpsj-theme .fpsj-category-hub__kicker {display:block;color:#49cbef;font-size:.68rem;letter-spacing:.145em;font-weight:850;margin:0 0 6px;}
body.category.fpsj-theme .fpsj-category-hub__head h2,body.category.fpsj-theme .fpsj-category-hub__cta h2 {font-size:clamp(1.35rem,2.25vw,1.75rem);line-height:1.3;letter-spacing:-.01em;color:#f2f9ff;margin:0;font-weight:850;}
body.category.fpsj-theme .fpsj-category-hub__head p {font-size:.79rem;color:#91abc4;margin:0;text-align:right;}
body.category.fpsj-theme .fpsj-category-hub__rank-list,body.category.fpsj-theme .fpsj-category-hub__update-list {margin:0;padding:0;list-style:none;display:grid;gap:10px;}
body.category.fpsj-theme .fpsj-category-hub__rank-list li,body.category.fpsj-theme .fpsj-category-hub__update-list li {margin:0;}
body.category.fpsj-theme .fpsj-category-hub__rank-list a {display:flex;align-items:center;gap:14px;min-height:70px;padding:11px clamp(12px,2vw,21px);background:rgba(8,25,46,.75);border:1px solid rgba(69,116,159,.28);border-radius:12px;color:#f0f8ff;text-decoration:none;transition:border-color .2s,background .2s;}
body.category.fpsj-theme .fpsj-category-hub__rank-list a:hover,body.category.fpsj-theme .fpsj-category-hub__rank-list a:focus-visible {background:#112e4b;border-color:rgba(61,199,243,.62);}
body.category.fpsj-theme .fpsj-category-hub__rank-number {display:grid;place-items:center;flex:0 0 42px;height:44px;color:#adc5da;border-radius:9px;background:rgba(53,111,157,.17);font-size:1.23rem;font-weight:900;font-variant-numeric:tabular-nums;}
body.category.fpsj-theme .fpsj-category-hub__rank-list li:first-child .fpsj-category-hub__rank-number {color:#f4cc80;}
body.category.fpsj-theme .fpsj-category-hub__rank-list li:nth-child(2) .fpsj-category-hub__rank-number {color:#d0dce6;}
body.category.fpsj-theme .fpsj-category-hub__rank-list li:nth-child(3) .fpsj-category-hub__rank-number {color:#e4ab87;}
body.category.fpsj-theme .fpsj-category-hub__rank-list strong {font-size:clamp(.89rem,1.3vw,1rem);line-height:1.5;flex:1;min-width:0;overflow-wrap:anywhere;}
body.category.fpsj-theme .fpsj-category-hub__rank-value {font-weight:800;color:#bfe3fa;white-space:nowrap;font-size:.88rem;}
body.category.fpsj-theme .fpsj-category-hub__rank-value small {color:#88a8bf;font-size:.72rem;}
body.category.fpsj-theme .fpsj-category-hub__arrow {color:#4dceed;}
body.category.fpsj-theme .fpsj-category-hub__signal {display:inline-flex;align-items:center;gap:8px;}
body.category.fpsj-theme .fpsj-category-hub__signal::before {content:"";height:7px;width:7px;border-radius:50%;background:#4bd8a5;box-shadow:0 0 10px rgba(52,209,161,.35);}
body.category.fpsj-theme .fpsj-category-hub__update-list a {min-height:63px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.4fr) auto auto;align-items:center;gap:12px;text-decoration:none;color:#d8e8f7;padding:13px clamp(12px,2vw,20px);border-bottom:1px solid rgba(80,123,161,.25);transition:background .18s;}
body.category.fpsj-theme .fpsj-category-hub__update-list a:hover,body.category.fpsj-theme .fpsj-category-hub__update-list a:focus-visible {background:rgba(20,65,101,.3);}
body.category.fpsj-theme .fpsj-category-hub__update-title {font-weight:800;color:#ecf8ff;overflow-wrap:anywhere;}
body.category.fpsj-theme .fpsj-category-hub__update-field {font-size:.84rem;color:#aec8dc;overflow-wrap:anywhere;}
body.category.fpsj-theme .fpsj-category-hub__update-list time {font-size:.76rem;color:#819fba;white-space:nowrap;}
body.category.fpsj-theme .fpsj-category-hub__update-list a>span:last-child {color:#52cfee;}
body.category.fpsj-theme .fpsj-category-hub__cta {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(18px,2.9vw,30px);margin:0 0 clamp(27px,4vw,46px);background:linear-gradient(103deg,rgba(17,72,107,.33),rgba(8,31,53,.1) 80%,transparent);border-top:1px solid rgba(82,168,205,.3);border-bottom:1px solid rgba(82,168,205,.18);}
body.category.fpsj-theme .fpsj-category-hub__cta p {margin:8px 0 0;color:#b2cce2;font-size:.91rem;line-height:1.7;}
body.category.fpsj-theme .fpsj-category-hub__cta a {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 19px;border-radius:10px;background:#136b94;color:#fff;text-decoration:none;font-weight:850;white-space:nowrap;transition:background .18s;}
body.category.fpsj-theme .fpsj-category-hub__cta a:hover,body.category.fpsj-theme .fpsj-category-hub__cta a:focus-visible {background:#198ab9;}
body.category.fpsj-theme .fpsj-category-all-heading {scroll-margin-top:110px;margin-top:14px;}
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-section {margin-bottom:clamp(27px,4vw,46px);}
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-section__heading h2 {font-weight:850;}
body.category.fpsj-theme #fpsj-category-related,body.category.fpsj-theme #fpsj-category-all-heading,body.category.fpsj-theme #fpsj-category-device-ranking,body.category.fpsj-theme #fpsj-category-device-updates {scroll-margin-top:110px;}
@media(max-width:740px){
 body.category.fpsj-theme .fpsj-category-hub {padding:0 2px;}
 body.category.fpsj-theme .fpsj-category-hub__breadcrumb {font-size:.7rem;gap:7px;}
 body.category.fpsj-theme .fpsj-category-hub__category {font-size:.82rem;min-height:40px;}
 body.category.fpsj-theme .fpsj-category-hub__head {align-items:flex-start;flex-direction:column;gap:5px;}
 body.category.fpsj-theme .fpsj-category-hub__head p {text-align:left;}
 body.category.fpsj-theme .fpsj-category-hub__rank-list a {gap:10px;}
 body.category.fpsj-theme .fpsj-category-hub__rank-number {flex-basis:34px;height:38px;font-size:1rem;}
 body.category.fpsj-theme .fpsj-category-hub__rank-value {font-size:.78rem;}
 body.category.fpsj-theme .fpsj-category-hub__update-list a {grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;}
 body.category.fpsj-theme .fpsj-category-hub__update-title {grid-column:1;grid-row:1;}
 body.category.fpsj-theme .fpsj-category-hub__update-field {grid-column:1;grid-row:2;}
 body.category.fpsj-theme .fpsj-category-hub__update-list time {grid-column:2;grid-row:2;}
 body.category.fpsj-theme .fpsj-category-hub__update-list a>span:last-child {grid-column:2;grid-row:1;text-align:right;}
 body.category.fpsj-theme .fpsj-category-hub__cta {flex-direction:column;align-items:stretch;gap:18px;}
 body.category.fpsj-theme .fpsj-category-hub__cta a {width:100%;}
}
@media(max-width:440px){body.category.fpsj-theme .fpsj-category-hub__category-links {display:flex;flex-wrap:wrap;column-gap:16px;row-gap:5px;}body.category.fpsj-theme .fpsj-category-hub__category {min-width:0;}}

/* STEP3319 — "All articles" shows 5 compact cards in one desktop row.
   Applies to the category main query only; 3-card popular/recent rails untouched.
   Breakpoints prevent tiny cards on tablets and phones. */
@media (min-width:980px) {
 body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template {
   display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) !important;
   gap:clamp(10px,1vw,16px);
 }
}
@media (min-width:720px) and (max-width:979px) {
 body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template {
   display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px;
 }
}
@media (min-width:480px) and (max-width:719px) {
 body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template {
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:11px;
 }
}
@media (max-width:479px) {
 body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template {
   display:grid;grid-template-columns:minmax(0,1fr) !important;gap:12px;
 }
}
/* STEP3320 — Image-led, compact five-up category archive cards.
   Keep 16:9 thumbnails, whole-card link hit area and category-only scope. */
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card {
  min-width:0;
  height:100%;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card > .wp-block-post-featured-image {
  width:100%;
  aspect-ratio:16 / 9;
  flex:0 0 auto;
  margin:0;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .fpsj-post-card__body {
  flex:0 0 auto;
  min-height:0;
  gap:6px;
  padding:10px 11px 10px !important;
}
/* Category identity is already in the H1 and breadcrumb; pills repeat it. */
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .fpsj-category-pills {
  display:none;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .wp-block-post-title {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  margin:0;
  font-size:clamp(.82rem,.9vw,.91rem);
  font-weight:800;
  line-height:1.42;
  overflow-wrap:anywhere;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .fpsj-post-card__meta {
  margin-top:3px;
  padding-top:6px;
  font-size:.7rem;
  line-height:1.25;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .fpsj-post-card__meta::after {
  font-size:.85rem;
}
@media (max-width:719px) {
  body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .wp-block-post-title {font-size:.9rem;}
}

/* STEP3321 — Independent review/comparison/ranking rails, shared typography. */
body.category.fpsj-theme .fpsj-category-hub__updates-heading {
  margin:0; font-size:clamp(.75rem,.95vw,.83rem) !important;
  line-height:1.5; letter-spacing:.11em; color:#55cfef; font-weight:850;
}
body.category.fpsj-theme .fpsj-category-section--type .fpsj-category-section__heading {align-items:end;}
body.category.fpsj-theme .fpsj-category-section__more {
  color:#78cee9; text-decoration:none; font-size:clamp(.78rem,1vw,.87rem);
  font-weight:750; line-height:1.45; white-space:nowrap;
}
body.category.fpsj-theme .fpsj-category-section__more:is(:hover,:focus-visible) {
  color:#f2fcff; text-decoration:underline; text-underline-offset:3px;
}
body.category.fpsj-theme .fpsj-category-section__more:focus-visible {outline:2px solid #55d5f5;outline-offset:4px;}
/* Spotlight cards and the 5-up archive use proportional, consistent typography. */
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-section__heading h2,
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-all-heading {
  font-size:clamp(1.35rem,2.1vw,1.75rem) !important;
  line-height:1.33; font-weight:850; letter-spacing:0;
}
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-card__title {
  font-size:clamp(.91rem,1.1vw,1rem);
  line-height:1.48;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .wp-block-post-title,
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .wp-block-post-title a {
  font-size:clamp(.79rem,.95vw,.9rem) !important;
  line-height:1.43 !important;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .fpsj-post-card .wp-block-post-title {
  display:-webkit-box !important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;
}
@media (max-width:750px) {
 body.category.fpsj-theme .fpsj-category-section--type .fpsj-category-section__heading {align-items:flex-start;}
 body.category.fpsj-theme .fpsj-category-section__more {white-space:normal;}
}

/* STEP3497 — Category pages follow the fixed Device hub density.
   Scope every rule to category archives; editorial ordering and DBLM content
   are unchanged. No shared fixed-page cards or Update Feed styles are touched. */
body.category.fpsj-theme .fpsj-listing .fpsj-content-frame {
  box-sizing:border-box;
  width:var(--fpsj-content-inline, min(820px,calc(100vw - 32px)));
  max-width:100%;
}
/* Match the compact fixed-page hero, without changing its animation. */
body.category.fpsj-theme .fpsj-listing .fpsj-listing-header {
  align-items:flex-start;
  text-align:left;
  padding:clamp(16px,2vw,26px) 0 clamp(18px,2.8vw,30px);
  margin-bottom:0;
}
body.category.fpsj-theme .fpsj-listing .fpsj-listing-header .fpsj-listing-title {
  margin-bottom:9px;
  font-size:clamp(1.85rem,3vw,2.6rem);
  line-height:1.2;
}
body.category.fpsj-theme .fpsj-listing .fpsj-listing-header .fpsj-category-hero__description {
  margin:0;
  max-width:680px;
  align-items:flex-start;
  gap:5px;
  text-align:left;
}
body.category.fpsj-theme .fpsj-listing .fpsj-listing-header .fpsj-category-hero__lead {
  font-size:clamp(.96rem,1.4vw,1.1rem);
  line-height:1.5;
}
body.category.fpsj-theme .fpsj-listing .fpsj-listing-header .fpsj-category-hero__sub {
  font-size:clamp(.8rem,1vw,.89rem);
  line-height:1.6;
}
body.category.fpsj-theme .fpsj-category-hero__eyebrow {margin-bottom:9px;}
body.category.fpsj-theme .fpsj-category-hub__related {margin:5px 0 22px;}
body.category.fpsj-theme .fpsj-category-hub__minor-title {margin-bottom:7px;font-size:1rem;}
body.category.fpsj-theme .fpsj-category-hub__category-links {column-gap:18px;row-gap:4px;}
body.category.fpsj-theme .fpsj-category-hub__category {min-height:30px;padding:3px 0;font-size:.84rem;}
body.category.fpsj-theme .fpsj-category-hub__section,
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-section {
  margin-bottom:clamp(19px,2.7vw,27px);
}
body.category.fpsj-theme .fpsj-category-hub__head,
body.category.fpsj-theme .fpsj-category-section__heading {margin-bottom:10px;}
body.category.fpsj-theme .fpsj-category-hub__head h2,
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-section__heading h2,
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-all-heading {
  font-size:clamp(1.14rem,1.8vw,1.36rem) !important;
  line-height:1.28;
}
body.category.fpsj-theme .fpsj-category-hub__cta {
  margin-bottom:25px;
  padding:14px 16px;
  gap:15px;
}
/* Category-scoped update history mirrors the fixed Device hub's compact rows. */
body.category.fpsj-theme .fpsj-category-hub__update-list {gap:6px;}
body.category.fpsj-theme .fpsj-category-hub__update-list a {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) auto auto;
  align-items:center;
  min-height:0;
  gap:7px;
  padding:8px 10px;
  border:1px solid rgba(67,107,162,.28);
  border-radius:8px;
  background:#102239;
}
body.category.fpsj-theme .fpsj-category-hub__update-title {
  min-width:0;
  font-size:.77rem;
  line-height:1.4;
  font-weight:750;
}
body.category.fpsj-theme .fpsj-category-hub__update-field {font-size:.71rem;line-height:1.4;}
body.category.fpsj-theme .fpsj-category-hub__update-list time {font-size:.67rem;line-height:1.4;}
/* Reuse the fixed-page article-card geometry (16:9, tight body and meta). */
body.category.fpsj-theme .fpsj-category-section__grid {gap:10px;}
body.category.fpsj-theme .fpsj-category-card {border-radius:11px;}
body.category.fpsj-theme .fpsj-category-card__body {
  min-height:95px;
  padding:10px 11px 10px;
  gap:6px;
}
body.category.fpsj-theme .fpsj-category-hub .fpsj-category-card__title {
  font-size:clamp(.79rem,.95vw,.86rem);
  line-height:1.43;
  -webkit-line-clamp:3;
}
body.category.fpsj-theme .fpsj-category-card__date {
  padding-top:7px;
  font-size:.66rem;
  line-height:1.3;
}
body.category.fpsj-theme .fpsj-category-card__rank {
  top:7px;left:7px;width:25px;height:25px;font-size:.76rem;
}
/* Fixed page shows three editorial cards; the narrower category canvas must
   not keep the old five-column archive grid. */
@media(min-width:980px) {
  body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px;
  }
}
@media(min-width:720px) and (max-width:979px) {
  body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px;
  }
}
@media(max-width:719px) {
  body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.category.fpsj-theme .fpsj-category-section__grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.category.fpsj-theme .fpsj-listing .fpsj-listing-header {padding:15px 0 23px;}
  body.category.fpsj-theme .fpsj-category-hub__update-list a {
    grid-template-columns:minmax(0,1fr) auto;
    gap:4px 9px;
  }
  body.category.fpsj-theme .fpsj-category-hub__update-title {grid-column:1;grid-row:1;}
  body.category.fpsj-theme .fpsj-category-hub__update-field {grid-column:1;grid-row:2;}
  body.category.fpsj-theme .fpsj-category-hub__update-list time {grid-column:2;grid-row:2;}
  body.category.fpsj-theme .fpsj-category-hub__update-list a>span:last-child {grid-column:2;grid-row:1;}
}
@media(max-width:479px) {
  body.category.fpsj-theme main.fpsj-listing .fpsj-card-grid .wp-block-post-template,
  body.category.fpsj-theme .fpsj-category-section__grid {grid-template-columns:minmax(0,1fr) !important;}
  body.category.fpsj-theme .fpsj-category-card__body {min-height:80px;}
  body.category.fpsj-theme .fpsj-category-hub__cta {padding:12px;}
}
/* Preserve category readability in light mode, matching fixed Device surfaces. */
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__update-list a {
  background:#fff;
  color:#213e58;
  border-color:#d7e1ee;
}
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__update-list a:hover,
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__update-list a:focus-visible {background:#eef6ff;}

/* STEP3498 — Category Device TOP3: compact rows matching Device hub density. */
body.category.fpsj-theme .fpsj-category-hub__rank-list {gap:7px;}
body.category.fpsj-theme .fpsj-category-hub__rank-row {
  display:flex;align-items:center;gap:12px;min-height:54px;
  padding:9px 12px;background:#102239;
  border:1px solid rgba(67,107,162,.28);border-radius:9px;
}
body.category.fpsj-theme .fpsj-category-hub__rank-list .fpsj-category-hub__rank-number {
  width:35px;height:35px;flex:0 0 35px;font-size:1rem;
}
body.category.fpsj-theme .fpsj-category-hub__rank-product {flex:1;min-width:0;}
body.category.fpsj-theme .fpsj-category-hub__rank-list .fpsj-category-hub__rank-product a {
  display:inline;min-height:0;padding:0;border:0;border-radius:0;
  background:transparent;color:inherit;text-decoration:none;
}
body.category.fpsj-theme .fpsj-category-hub__rank-product a:hover,
body.category.fpsj-theme .fpsj-category-hub__rank-product a:focus-visible {background:transparent;color:#69d8ff;text-decoration:underline;}
body.category.fpsj-theme .fpsj-category-hub__rank-product strong {
  font-size:clamp(.76rem,1vw,.85rem);line-height:1.42;
}
body.category.fpsj-theme .fpsj-category-hub__rank-value {display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
body.category.fpsj-theme .fpsj-category-hub__rank-value b {font-size:1rem;color:#74d8f7;font-variant-numeric:tabular-nums;}
body.category.fpsj-theme .fpsj-category-hub__rank-value small {font-size:.71rem;}
body.category.fpsj-theme .fpsj-category-hub__rank-sample,
body.category.fpsj-theme .fpsj-category-hub__rank-meta,
body.category.fpsj-theme .fpsj-category-hub__rank-empty {
  color:#9db9d1;font-size:.74rem;line-height:1.6;
}
body.category.fpsj-theme .fpsj-category-hub__rank-sample {margin:0 0 9px;}
body.category.fpsj-theme .fpsj-category-hub__rank-meta {margin:7px 0 0;}
body.category.fpsj-theme .fpsj-category-hub__rank-empty {margin:0;padding:12px;border:1px solid rgba(67,107,162,.28);border-radius:9px;}
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__rank-row,
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__rank-empty {
  background:#f6f9fc;border-color:#d2e0ed;color:#20374f;
}
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__rank-list .fpsj-category-hub__rank-product a {color:#183a56;background:transparent;}
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__rank-list .fpsj-category-hub__rank-product a:hover {color:#006ca8;}
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__rank-product strong {color:inherit;}
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__rank-value b {color:#1375ad;}
html[data-fpsj-appearance="light"] body.category.fpsj-theme :is(.fpsj-category-hub__rank-sample,.fpsj-category-hub__rank-meta,.fpsj-category-hub__rank-empty) {color:#536e84;}
@media(max-width:520px){
 body.category.fpsj-theme .fpsj-category-hub__rank-row {gap:9px;padding:8px 9px;align-items:flex-start;}
 body.category.fpsj-theme .fpsj-category-hub__rank-list .fpsj-category-hub__rank-number {width:30px;height:30px;flex-basis:30px;font-size:.89rem;}
 body.category.fpsj-theme .fpsj-category-hub__rank-value {flex-direction:column;align-items:flex-end;gap:1px;}
 body.category.fpsj-theme .fpsj-category-hub__rank-value b {font-size:.9rem;}
}

/* STEP3499: all-game ranking purchase CTA; never link an unpublished Device. */
body.category.fpsj-theme .fpsj-category-hub__rank-buy {
  display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;
  min-height:32px!important;padding:6px 11px!important;border:1px solid #3685b9!important;
  background:#16466c!important;color:#eefaff!important;font-size:.74rem;font-weight:800;
  white-space:nowrap;border-radius:7px!important;text-decoration:none!important;
}
body.category.fpsj-theme .fpsj-category-hub__rank-buy:hover,
body.category.fpsj-theme .fpsj-category-hub__rank-buy:focus-visible {
  background:#20618c!important;border-color:#64cefa!important;color:#fff!important;
}
html[data-fpsj-appearance="light"] body.category.fpsj-theme .fpsj-category-hub__rank-buy {
  color:#fff!important;background:#176a9c!important;border-color:#176a9c!important;
}
@media(max-width:680px){
  body.category.fpsj-theme .fpsj-category-hub__rank-row {flex-wrap:wrap;}
  body.category.fpsj-theme .fpsj-category-hub__rank-product {flex-basis:calc(100% - 50px);}
  body.category.fpsj-theme .fpsj-category-hub__rank-value {margin-left:40px;}
  body.category.fpsj-theme .fpsj-category-hub__rank-buy {margin-left:auto;}
}


/* STEP3501 — The category archive shares the front page's content axis.
   STEP3497's compact card/update density is intentionally unchanged. */
body.category.fpsj-theme main.fpsj-listing > .fpsj-content-frame {
  box-sizing:border-box;
  width:min(1040px,100%) !important;
  max-width:1040px !important;
  min-width:0;
  margin-inline:auto !important;
}
/* A nested hub padding must not shift its sections inside the new axis. */
body.category.fpsj-theme .fpsj-category-hub {
  padding-inline:0;
}
/* Category hero matches the left-aligned fixed-page hero.
   Gutenberg's constrained children can have automatic inline margins. */
body.category.fpsj-theme main.fpsj-listing .fpsj-listing-header {
  width:100%;
  max-width:100%;
  align-items:flex-start !important;
  text-align:left !important;
  margin-inline:0 !important;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-listing-header > :is(
  .fpsj-category-hub__breadcrumb,
  .fpsj-category-hero__eyebrow,
  .fpsj-listing-title,
  .fpsj-category-hero__description,
  .fpsj-listing-term-description
) {
  align-self:flex-start;
  margin-inline:0 !important;
  text-align:left !important;
}
body.category.fpsj-theme main.fpsj-listing .fpsj-listing-header .fpsj-category-hero__description {
  display:flex;
  flex-direction:column;
  align-items:flex-start !important;
  text-align:left !important;
}
@media (max-width:680px) {
  body.category.fpsj-theme main.fpsj-listing {
    padding-inline:8px !important;
  }
}
