/* HF30 HISTORY ULTRA CHRONICLE — stronger editorial/fanzine treatment for History page only; light theme only. */
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-timeline{position:relative!important;padding:8px 0 10px!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-timeline::after{content:"";position:absolute;left:102px;top:0;bottom:0;width:4px;background:linear-gradient(180deg,transparent 0 1%,rgba(28,46,60,.1) 1% 99%,transparent 99% 100%);box-shadow:0 0 0 1px rgba(24,36,48,.08);pointer-events:none;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block{transition:transform .18s ease, filter .18s ease;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-even-stagger{transform:translateX(8px) rotate(-.35deg)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-odd-stagger{transform:translateX(-6px) rotate(.3deg)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-key-year{margin:10px 0 14px!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-key-year .history-year-badge{min-height:154px!important;padding-bottom:92px!important;filter:drop-shadow(0 8px 10px rgba(15,26,35,.12));}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-key-year .history-year-badge::after{background:var(--year-art) center bottom -6px/auto 92px no-repeat,var(--wall-spray) center/100% 100% no-repeat,url(../assets/images/ui/vega211-wave-star-gold.svg) right 8px top 10px/26px auto no-repeat!important;opacity:.95!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-key-year .history-events{gap:14px!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-major-year .history-year-badge{font-size:clamp(40px,4.9vw,66px)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-foundation-year .history-year-badge,
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2025"] .history-year-badge{clip-path:polygon(0 3%,22% 0,63% 2%,100% 0,98% 48%,100% 100%,60% 97%,24% 100%,0 97%,2% 44%)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2009"] .history-year-badge::before{background:linear-gradient(120deg,#a3192f 2%,#152331 74%)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2017"] .history-year-badge::before{background:linear-gradient(120deg,#1f6eb8 2%,#152331 74%)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2022"] .history-year-badge::before{background:linear-gradient(120deg,#1b8d77 2%,#152331 74%)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2025"] .history-year-badge::before{background:linear-gradient(120deg,#b01e52 2%,#152331 74%)!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2009"] .history-events,
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2017"] .history-events,
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2022"] .history-events,
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2025"] .history-events{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event{overflow:hidden!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event::after{content:"";position:absolute;inset:auto -18px -16px auto;width:88px;height:88px;pointer-events:none;opacity:.06;background:url(../assets/images/ui/vega211-wave-star-blue.svg) center/contain no-repeat;transform:rotate(-10deg);}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event.history-poster-card{grid-column:1 / -1!important;min-height:144px!important;padding:18px 22px 18px 84px!important;background:linear-gradient(112deg,rgba(230,197,141,.28),rgba(255,255,255,.0) 58%),var(--paperprint) center/660px auto #ece1cf!important;box-shadow:4px 5px 0 #15233120!important;border-left-width:6px!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event.history-poster-card::before{width:58px!important;height:66px!important;left:12px!important;top:16px!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event.history-poster-card p{font-size:17px!important;line-height:1.45!important;font-weight:760!important;max-width:90%!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event.history-poster-card time{font-size:12px!important;padding:5px 8px!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2009"] .history-event.history-poster-card,
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2025"] .history-event.history-poster-card{background:linear-gradient(112deg,rgba(213,66,87,.18),rgba(255,255,255,.0) 58%),var(--paperprint) center/660px auto #ece1cf!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2017"] .history-event.history-poster-card,
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block[data-year="2022"] .history-event.history-poster-card{background:linear-gradient(112deg,rgba(54,125,201,.18),rgba(255,255,255,.0) 58%),var(--paperprint) center/660px auto #ece1cf!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.event-count-1 .history-event{grid-column:1 / -1!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-dense .history-events{gap:10px!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-origin{box-shadow:6px 6px 0 #1a2a3412!important;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-origin p{position:relative!important;z-index:1;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-origin .history-zine-note{display:inline-flex;align-items:center;gap:8px;margin:6px 0 14px;padding:7px 12px;background:#152331;color:#fff3dc;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;transform:rotate(-1.7deg);box-shadow:2px 3px 0 rgba(21,35,49,.22);}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-origin .history-zine-note::before{content:"";width:18px;height:18px;background:url(../assets/images/ui/vega211-wave-star-gold.svg) center/contain no-repeat;flex:0 0 auto;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-hero .history-star-strip{display:flex;gap:9px;align-items:center;margin:4px 0 6px;}
html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-hero .history-star-strip i{display:block;width:20px;height:20px;background:url(../assets/images/ui/vega211-wave-star-gold.svg) center/contain no-repeat;filter:drop-shadow(1px 2px 0 #14202c);}
@media(max-width:760px){
  html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-timeline::after{display:none!important;}
  html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-even-stagger,
  html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-odd-stagger{transform:none!important;}
  html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block.is-key-year .history-year-badge{min-height:88px!important;padding:10px 18px!important;}
  html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event.history-poster-card{min-height:0!important;padding:15px 12px 15px 58px!important;}
  html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event.history-poster-card::before{width:36px!important;height:44px!important;left:8px!important;top:13px!important;}
  html:root[data-theme="light"][data-vega-accent] #main:has(.history-timeline) .history-year-block .history-event.history-poster-card p{font-size:15px!important;max-width:100%!important;}
}
