/* Product images, prices and explicit affiliate links stay together. */
.visual-product-image{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:10px;overflow:hidden}
.visual-product-image:hover{outline:2px solid #d26991;outline-offset:2px}
.visual-product-image img{display:block;width:100%;height:160px;object-fit:contain;margin:0}
.choice-card{display:flex;flex-direction:column;padding:14px;gap:9px}
.choice-purpose{line-height:1.5;min-height:1.5em}
.choice-info{display:flex;flex-direction:column;flex:1;min-width:0;gap:7px}
.choice-info h3{font-size:15px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.choice-info p{margin:0}
.choice-info .catalog-price{font-size:19px;color:#9e2354;line-height:1.4}
.choice-info .choice-rating{font-size:12px;line-height:1.5;color:#625763}
.choice-info .pbtn{margin-top:auto}
.choice-info .editorial-review-link{margin:0;font-size:12px;line-height:1.5;min-height:32px;display:flex;align-items:center;justify-content:center}
.choice-card .pbtn,.selection-table .pbtn{background:#b72b65;box-shadow:none;min-height:44px;font-size:13px;padding:10px 8px;line-height:1.5;display:flex;align-items:center;justify-content:center}
.choice-note,.showcase-note{font-size:12px;line-height:1.6;color:#625763;margin:12px 0 0}
.choice-summary{padding:16px;margin:12px 0 20px}
.choice-summary>h2{font-size:19px;margin:0 0 12px;padding:0;border:0}
.series-guide-link{font-size:12px;text-align:center;padding:5px 0;line-height:1.5}
.table-product{display:flex;gap:10px;align-items:center;min-width:0}
.table-product>.visual-product-image{flex:0 0 64px}
.table-product img{width:64px;height:76px}
.table-product-name{font-weight:700;line-height:1.5;display:block}
.table-product .editorial-review-link{text-align:left;font-size:12px;line-height:1.5;margin-top:6px}
.selection-table td:first-child{min-width:245px}
.selection-table td:last-child{min-width:150px}
.comparison-article>.ad-note{font-size:12px;padding:8px 10px;margin:10px 0;line-height:1.6}

/* Homepage: four illustrated examples, then routes into deeper comparisons. */
main.wrap.home{display:flex;flex-direction:column}
.home .b-hero{order:0;padding:22px 0 8px}
.home .b-hero h1{font-size:27px;line-height:1.4;margin:0 0 6px}
.home .b-hero p{font-size:14px;line-height:1.6;max-width:none}
.home .home-ad-note{order:1;font-size:12px;line-height:1.6;padding:7px 10px;margin:6px 0 12px}
.home .home-showcase{order:2}
.home-showcase>h2{font-size:20px;margin:0 0 12px}
.home-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home .b-chips{order:3;margin:22px 0 4px;justify-content:flex-start;flex-wrap:wrap;overflow:visible}
.home .b-chips .chip{min-height:44px;padding:8px 12px}
.home .b-rh-articles{order:4}
.home .b-articles{order:5;grid-template-columns:repeat(4,minmax(0,1fr))}
.home .b-rh-db{order:6}
.home .b-db{order:7}
.home .b-layout{display:contents}
.home .b-cats{order:8;margin-top:12px}
.home .b-rh-doujin{order:9}
.home .b-doujin{order:10}
.home .b-rh-hub{order:11}
.home .b-hub{order:12}
.home .b-rh-guide{order:13}
.home .b-guides{order:14}
.home .b-articles .ccard{padding:14px}
.home .b-articles .ccard .cic{font-size:23px}
.home .b-articles .ccard h3{font-size:15px}
.home .prow{grid-auto-columns:minmax(160px,220px)}

/* Product hero: retain the photograph beside the price, with details below. */
.product-ad-note{font-size:12px;color:#625763;margin:8px 0}
.product-visual-hero{grid-template-columns:260px minmax(0,1fr);grid-template-areas:"image title" "image summary" "image details";gap:12px 24px;margin-top:10px}
.product-visual-hero .pd-title{grid-area:title;font-size:24px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.product-visual-hero .pd-img{grid-area:image;width:100%;padding:12px}
.product-visual-hero .pd-img img{width:100%;height:240px;max-height:none}
.product-visual-hero .pd-summary{grid-area:summary;min-width:0}
.product-visual-hero .pd-meta{margin:0 0 6px}
.pd-rating{font-size:13px;color:#625763;margin:0 0 10px}
.pd-price-note{font-size:12px;color:#625763;margin:8px 0 0;line-height:1.6}
.product-visual-hero .pd-details{grid-area:details;min-width:0}
.product-visual-hero .pd-lead{margin:4px 0 0}
.product-visual-hero .pitch{margin-bottom:0}
.product-visual-hero .buybtn.is-primary{min-height:48px;display:flex;align-items:center;justify-content:center;padding:12px;font-size:15px;flex-direction:column}
.product-visual-hero .buybtn.is-primary .bb-sub{font-size:11px;margin-top:2px}

/* The native details menu works without JavaScript and supports the keyboard. */
.mobile-menu{display:none}
.visual-product-image:focus-visible,.mobile-menu summary:focus-visible,.choice-card a:focus-visible{outline:3px solid #90204e;outline-offset:3px}
@media(max-width:1000px){
  .home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home .b-articles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .site-header .wrap{min-height:64px;padding-top:8px;padding-bottom:8px;gap:10px}
  .site-header .brand{white-space:nowrap;font-size:15px;flex-shrink:0;gap:7px}
  .site-header .brand .logo{flex:0 0 26px}
  .site-header .header-actions{display:none}
  .mobile-menu{display:block;position:relative;font-size:14px;color:#3f3540}
  .mobile-menu>summary{cursor:pointer;min-height:44px;min-width:90px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfd5dc;border-radius:10px;background:#fff;list-style:none;font-weight:700;padding:8px 10px}
  .mobile-menu>summary::-webkit-details-marker{display:none}
  .mobile-menu>summary::after{content:"＋"}
  .mobile-menu[open]>summary::after{content:"－"}
  .mobile-menu>nav{position:absolute;right:0;top:calc(100% + 8px);width:230px;max-width:calc(100vw - 36px);background:#fff;border:1px solid #dfd5dc;border-radius:12px;box-shadow:0 8px 24px #38233226;padding:6px;z-index:30}
  .mobile-menu nav a{display:flex;align-items:center;min-height:48px;padding:10px 14px;border-radius:8px;color:#352c36;font-weight:700}
  .mobile-menu nav a:hover{background:#fff1f6;text-decoration:none}
  .dbtools{top:65px}
  .home .b-hero{padding:14px 0 4px;text-align:left}
  .home .b-hero h1{font-size:21px}
  .home .b-hero p{font-size:13px}
  .home .home-ad-note{padding:6px 8px;margin:4px 0 12px;font-size:11.5px}
  .home-showcase>h2{font-size:18px;margin-bottom:10px}
  .home-product-grid,.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .choice-card{padding:10px;gap:7px}
  .choice-card .visual-product-image img{height:112px}
  .choice-purpose{font-size:12px;min-height:36px;display:flex;align-items:center}
  .choice-info{gap:6px}
  .choice-info h3{font-size:13px;line-height:1.5}
  .choice-info .catalog-price{font-size:18px}
  .choice-info .choice-rating{font-size:11.5px;line-height:1.5}
  .choice-card .pbtn{font-size:12px;min-height:46px;padding:9px 6px}
  .choice-info .editorial-review-link{font-size:11.5px;min-height:40px}
  .choice-summary{padding:12px;margin:10px 0 18px}
  .choice-summary>h2{font-size:18px;margin-bottom:10px}
  .choice-summary .choice-grid>.choice-card:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:8px 12px}
  .choice-summary .choice-grid>.choice-card:last-child:nth-child(odd)>.choice-purpose{grid-column:1/-1;min-height:0}
  .choice-summary .choice-grid>.choice-card:last-child:nth-child(odd) .visual-product-image img{height:112px}
  .home .b-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;margin-top:18px}
  .home .b-chips .chip{white-space:normal;justify-content:center;font-size:12px;min-width:0;padding:8px}
  .home .row-head{align-items:center}
  .home .row-head .sec{font-size:17px;line-height:1.5}
  .home .b-articles .ccard{padding:12px}
  .home .b-articles .ccard h3{font-size:13px}
  .home .b-articles .ccard p{font-size:12px}
  .crumb{font-size:12px;line-height:1.6}
  .article-hero{gap:8px;align-items:flex-start}
  .article-hero .cic{font-size:27px}
  .article-hero h1{font-size:21px;line-height:1.4}
  .article-hero p{font-size:13px;line-height:1.6;margin-top:5px}
  .product-visual-hero{grid-template-columns:100px minmax(0,1fr);grid-template-areas:"title title" "image summary" "details details";gap:12px;padding:12px}
  .product-visual-hero .pd-title{font-size:20px;line-height:1.45}
  .product-visual-hero .pd-img{max-width:none;margin:0;padding:6px}
  .product-visual-hero .pd-img img{height:140px}
  .product-visual-hero .pd-price{font-size:22px}
  .product-visual-hero .dbtags{display:none}
  .product-visual-hero .pd-rating{font-size:12px;line-height:1.5;margin-bottom:9px}
  .product-visual-hero .buybtn.is-primary{font-size:13px;padding:10px 6px;min-width:0;min-height:48px;overflow-wrap:anywhere}
  .product-visual-hero .buybtn.is-primary .bb-sub{display:none}
  .product-visual-hero .pd-price-note{font-size:11px;margin-top:7px}
  .product-visual-hero .pd-lead{font-size:14px}
  /* Keep table semantics; each record becomes a card with its own visible link. */
  .visual-comparison{overflow:visible;margin:14px 0;box-shadow:none;border-radius:0}
  .visual-comparison .selection-table{display:block;min-width:0;width:100%;border:0;overflow:visible;background:none}
  .visual-comparison .selection-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .visual-comparison .selection-table tbody{display:grid;gap:12px}
  .visual-comparison .selection-table tr{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fff;border:1px solid #e6dce2;border-radius:12px;padding:12px}
  .visual-comparison .selection-table td{display:block;min-width:0!important;border:0;padding:0;background:none;overflow-wrap:anywhere;font-size:13px;line-height:1.6}
  .visual-comparison .selection-table td:first-child,.visual-comparison .selection-table td:last-child{grid-column:1/-1}
  .visual-comparison .selection-table td[data-label]:not(:first-child):not(:last-child)::before{content:attr(data-label);display:block;font-size:11px;color:#625763;margin-bottom:2px}
  .table-product .visual-product-image{flex-basis:64px}
  .table-product img{width:64px;height:76px}
  .visual-comparison .selection-table .pbtn{width:100%;min-height:46px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.visual-product-image,.choice-card{transition:none}}
.table-product{white-space:normal}.table-product>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){
  .visual-comparison .selection-table td{white-space:normal}
  .choice-info h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
@media(max-width:760px){
  .choice-purpose{min-height:0}
  .choice-card .visual-product-image img{height:104px}
}
