/* December 2026 v3 (歳末 特選中古車フェア) after Kimura's second correction sheet. Loaded last, so it wins over the base CSS. */
:root{--dec-gold-cell:15px;--dec-grey-cell:15px}
.nov-intro{position:relative;overflow:hidden;background:#f7f7f7}
.nov-plane{position:relative;width:min(100%,1200px);margin:auto;z-index:2;container-type:inline-size}
.nov-piece{display:block;position:absolute;object-fit:contain;pointer-events:none;z-index:2}
/* 1 gold ground with a fine 金市松 (cells drawn by CSS: sharp at any size) */
.dec-gold,.dec-closing{background:
  repeating-conic-gradient(#ffffff26 0 25%,#a9780014 0 50%) 0 0/calc(var(--dec-gold-cell)*2) calc(var(--dec-gold-cell)*2),
  radial-gradient(110% 85% at 22% 40%,#fcf0a8 0,#f9e88a 24%,#0000 56%),
  linear-gradient(118deg,#efc238 0,#f6da5c 24%,#f8e575 48%,#f5d95a 70%,#eebf3a 100%)}
.dec-gold,.dec-grey,.dec-confetti{position:absolute;left:0;right:0;pointer-events:none}
.dec-gold{top:0;z-index:0}
/* 6 grey 市松 after the cars (和の柄), continued behind the cards. v3: paler (mock 245 / 250; v2 was 236 / 249) */
.dec-grey,.dec-lower{background:repeating-conic-gradient(#fafafa 0 25%,#f5f5f5 0 50%) 0 0/calc(var(--dec-grey-cell)*2) calc(var(--dec-grey-cell)*2) #f7f7f7}
.dec-grey{bottom:0;z-index:0}
/* 3 confetti from the top of the page to the bottom of the lineup (and in the closing) */
.dec-confetti{inset:0;z-index:1;background:url('december/confetti.webp') 0 0/594px 426px repeat}
.dec-lower{position:relative}
.dec-inventory::before{content:"";position:absolute;inset:0;background:url('december/confetti.webp') 37px 91px/594px 426px repeat;pointer-events:none}
.dec-lower>*{position:relative}
.dec-inventory>.inventory-inner{position:relative}
/* 2 rays: centred on the 筆丸, transparent white, fading out */
.dec-rays{position:absolute;z-index:1;pointer-events:none;
  background:repeating-conic-gradient(from 2deg,#fffffff0 0deg 3.4deg,#fff0 4.6deg 8.8deg,#fffffff0 10deg);
  -webkit-mask:radial-gradient(closest-side,#0008 0,#0006 28%,#0002 60%,#0000 100%);mask:radial-gradient(closest-side,#0008 0,#0006 28%,#0002 60%,#0000 100%)}
.dec-note{position:absolute;z-index:3;margin:0;color:#231815;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-weight:500;line-height:1.45;
  text-shadow:0 0 .25em #fff,0 0 .25em #fff,0 0 .5em #fff}
.dec-note--pc-holiday{font-size:max(11px,1.05cqw)}
.dec-note--sp{font-size:max(10px,2.6cqw)}
.dec-note--tire{line-height:1.4}
/* inventory sits on the grey 市松 + confetti */
.dec-inventory,.dec-inventory .inventory-backdrop{background:none}
.dec-inventory .category:not([open]):last-child{margin-bottom:12px}
/* cards: button height = the flyer's 装備 strip; no-link cars show that strip in the same place */
.rev-vehicle .rev-vehicle-cta{min-height:0;padding:0 4px;aspect-ratio:1000/195}
.rev-vehicle--nolink .dec-equip{display:block;width:100%;height:auto}
.dec-legal{background:none}
.dec-legal-inner{width:min(100%,1200px);margin:auto;padding:26px 8.25% 30px;container-type:inline-size}
.dec-legal-head{display:block;width:100%;height:auto;margin:0 auto 6px}
.dec-legal .legal-copy{position:static;width:auto}
/* closing: 11月 layout; gold 市松 + confetti */
.dec-closing{position:relative;overflow:hidden}
.dec-closing .dec-confetti{z-index:1}
@media(max-width:767px){
 :root{--dec-gold-cell:6.5px;--dec-grey-cell:9px}
 .dec-confetti,.dec-inventory::before{background-size:50% auto}
 .dec-legal-inner{padding:18px 4.8% 22px}
}
