/* v29 full history content patch.
   Final combined refinement: compact timeline panel, cleaner old-site block,
   stronger justified typography, aligned previews, and subtle per-section side rails. */
:root{
  --story-max:1080px;
  --story-inner:44px;
}
main{overflow:hidden;position:relative}

.timeline{padding:8px 0 2px;position:relative;z-index:1}
.timeline.wrap{width:min(1320px,calc(100% - 64px))!important;max-width:1320px!important}
.timeline-graphic{
  position:relative;
  max-width:1320px;
  margin:0 auto;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.timeline .timeline-story-art{display:block;width:100%;max-width:100%;height:auto;margin:0 auto}
.timeline-hotspot{position:absolute;top:8%;height:78%;display:block;border-radius:999px;outline:none;background:rgba(255,255,255,0);transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
.timeline-hotspot:hover,.timeline-hotspot:focus{background:rgba(17,86,128,.06);box-shadow:inset 0 0 0 2px rgba(17,86,128,.18);transform:translateY(-1px)}
.timeline-hotspot.hotspot-1{left:2.3%;width:13.8%}
.timeline-hotspot.hotspot-2{left:18.4%;width:13.8%}
.timeline-hotspot.hotspot-3{left:34.5%;width:13.8%}
.timeline-hotspot.hotspot-4{left:50.7%;width:13.8%}
.timeline-hotspot.hotspot-5{left:66.8%;width:13.8%}
.timeline-hotspot.hotspot-6{left:82.9%;width:13.8%}
.timeline-links{display:none!important}
.art-divider{display:none!important}

.history-section{
  position:relative;
  margin-top:10px;
  margin-bottom:6px;
  padding:0 0 12px;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  font-family:"Segoe UI Variable","Segoe UI",Arial,Helvetica,sans-serif;
  --section-line-rgb:154,167,178;
}
.history-section.wrap::before,
.history-section.wrap::after{
  content:"";
  position:absolute;
  top:12px;
  bottom:12px;
  width:7px;
  border-radius:7px 4px 8px 5px;
  pointer-events:none;
  opacity:1;
  background:linear-gradient(to bottom,
    rgba(var(--section-line-rgb),0) 0%,
    rgba(var(--section-line-rgb),.34) 7%,
    rgba(var(--section-line-rgb),.74) 24%,
    rgba(var(--section-line-rgb),.88) 50%,
    rgba(var(--section-line-rgb),.70) 76%,
    rgba(var(--section-line-rgb),.30) 93%,
    rgba(var(--section-line-rgb),0) 100%);
  box-shadow:0 0 0 1px rgba(var(--section-line-rgb),.15),0 0 10px rgba(var(--section-line-rgb),.16);
}
.history-section.wrap::before{left:-73px}
.history-section.wrap::after{right:-73px}

#overview{--section-line-rgb:47,126,184}
#origin{--section-line-rgb:215,166,49}
#internet{--section-line-rgb:92,123,151}
#photo-day{--section-line-rgb:62,154,195}
#club-life{--section-line-rgb:197,124,45}
#people{--section-line-rgb:58,101,151}
#garagedays{--section-line-rgb:205,148,38}
#ukraine{--section-line-rgb:77,139,178}
#knowledge{--section-line-rgb:58,132,137}
#war{--section-line-rgb:133,86,55}
#today{--section-line-rgb:78,132,73}
#photostory{--section-line-rgb:103,112,158}
#join{--section-line-rgb:47,113,169}

/* Hard override of legacy v29 rail artwork from home.css.
   Keep only the new thin per-section colour accents. */
#overview.history-section.wrap::before,#overview.history-section.wrap::after,
#origin.history-section.wrap::before,#origin.history-section.wrap::after,
#internet.history-section.wrap::before,#internet.history-section.wrap::after,
#photo-day.history-section.wrap::before,#photo-day.history-section.wrap::after,
#club-life.history-section.wrap::before,#club-life.history-section.wrap::after,
#people.history-section.wrap::before,#people.history-section.wrap::after,
#garagedays.history-section.wrap::before,#garagedays.history-section.wrap::after,
#ukraine.history-section.wrap::before,#ukraine.history-section.wrap::after,
#knowledge.history-section.wrap::before,#knowledge.history-section.wrap::after,
#war.history-section.wrap::before,#war.history-section.wrap::after,
#today.history-section.wrap::before,#today.history-section.wrap::after,
#photostory.history-section.wrap::before,#photostory.history-section.wrap::after,
#join.history-section.wrap::before,#join.history-section.wrap::after{
  background-image:linear-gradient(to bottom,
    rgba(var(--section-line-rgb),0) 0%,
    rgba(var(--section-line-rgb),.34) 7%,
    rgba(var(--section-line-rgb),.74) 24%,
    rgba(var(--section-line-rgb),.88) 50%,
    rgba(var(--section-line-rgb),.70) 76%,
    rgba(var(--section-line-rgb),.30) 93%,
    rgba(var(--section-line-rgb),0) 100%)!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:100% 100%!important;
}

.history-section .story-title-wrap{margin:0 0 6px;text-align:center}
.history-section .story-title-art{display:block;width:100%;max-width:var(--story-max);height:auto;margin:0 auto;object-fit:contain}

.history-section>.story-media,
.history-section>.story-prose,
.history-section>.story-two-col,
.history-section>.founders-intro,
.history-section>.founders-grid,
.history-section>.story-memory-line,
.history-section>.story-actions,
.history-section>.photostory-grid{
  width:auto;
  margin-left:var(--story-inner);
  margin-right:var(--story-inner);
}
.history-section>.story-prose{max-width:none}
.history-section>.story-two-col .story-prose{padding-left:0;padding-right:0}

.story-prose{
  width:100%;
  max-width:none;
  margin:0;
  color:#163d57;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-kerning:normal;
  font-family:"Segoe UI","Helvetica Neue",Arial,Helvetica,sans-serif;
}
.story-prose p{
  font-size:18px;
  line-height:1.64;
  margin:0 0 11px;
  color:#153d59;
  font-weight:650;
  letter-spacing:.003em;
  text-align:justify;
  text-align-last:left;
  text-justify:inter-word;
  hyphens:none;
  -webkit-hyphens:none;
  overflow-wrap:normal;
  word-break:normal;
}
.story-prose p:last-child{margin-bottom:0}
.story-prose strong{color:#083c64;font-weight:700}
.story-prose .lead{font-size:18.5px;line-height:1.66;color:#103b59;font-weight:700}

.story-two-col{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px;align-items:start}
.story-two-col.reverse{grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr)}
.story-two-col.reverse .story-prose{order:2}
.story-two-col.reverse .story-media{order:1}

.story-media{display:grid;gap:10px;align-items:start}
.story-media.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-media.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.story-media.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.story-media.compact,
.story-media.spacious{max-width:none;margin-top:10px}
.story-photo.lightbox{display:block;position:relative;overflow:visible!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0}
.history-section .story-photo.lightbox img{display:block;width:100%;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;border-radius:0!important;background:transparent!important;opacity:1!important;transition:transform .2s ease,filter .2s ease;filter:drop-shadow(0 8px 13px rgba(27,67,91,.08))}
.history-section .story-photo.lightbox:hover img{transform:translateY(-2px) scale(1.006);filter:drop-shadow(0 10px 17px rgba(27,67,91,.13))}

.founders-intro{max-width:none;margin-top:0;margin-bottom:7px}
.founders-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:start;margin-top:8px;margin-bottom:10px;max-width:none}
.founder-card{margin:0;text-align:center;min-width:0}
.founder-card .lightbox{display:block;background:transparent!important;border-radius:0!important;overflow:visible!important}
.founder-card .lightbox img{display:block;width:100%;height:auto!important;min-height:0!important;object-fit:contain!important;border-radius:0!important;opacity:1!important;background:transparent!important;filter:drop-shadow(0 8px 13px rgba(26,67,92,.08))}
.founder-card figcaption{margin-top:4px;color:#164663;line-height:1.35}
.founder-card figcaption b{display:block;font-size:14px}
.founder-card figcaption span{display:block;margin-top:2px;font-size:11px;color:#638198}
.story-memory-line{max-width:none;margin-top:18px;margin-bottom:18px;padding-left:18px;border-left:3px solid rgba(230,177,39,.72);font-size:17px;font-style:italic;color:#315f7b}
.story-actions{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:12px}
.story-actions img{display:block;height:46px;width:auto;object-fit:contain}
.photostory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:9px}
.photostory-grid .story-photo:nth-child(3n+1){transform:rotate(-.35deg)}
.photostory-grid .story-photo:nth-child(3n+2){transform:rotate(.3deg)}
.photostory-grid .story-photo:nth-child(3n){transform:rotate(-.15deg)}

/* Old-site section: stacked monitors inside a calm presentation column. */
#internet .story-two-col{grid-template-columns:minmax(280px,300px) minmax(0,1fr);gap:18px}
#internet .story-media{
  grid-template-columns:1fr!important;
  gap:14px;
  max-width:300px;
  justify-self:start;
  align-self:start;
  padding:6px;
  border-radius:18px;
  background:rgba(241,246,249,.55);
  box-shadow:none;
}
#internet .story-photo.lightbox{max-width:100%}
#internet .story-prose p{font-size:17.8px;line-height:1.62}

/* Keep content on top of the decorative side rails. */
.timeline,.history-section{z-index:1}

@media(max-width:1100px){
  .timeline.wrap{width:calc(100% - 36px)!important;max-width:none!important}
}
@media(max-width:980px){
  :root{--story-inner:28px}
  .timeline{padding:6px 0 2px}
  .timeline-graphic{padding:0;border-radius:0}
  .history-section.wrap::before{left:8px}
  .history-section.wrap::after{right:8px}
  .story-two-col,.story-two-col.reverse{grid-template-columns:1fr;gap:10px}
  .story-two-col.reverse .story-prose,.story-two-col.reverse .story-media{order:initial}
  .story-media.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .founders-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .photostory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #internet .story-two-col{grid-template-columns:1fr;gap:12px}
  #internet .story-media{max-width:420px;justify-self:center}
}
@media(max-width:760px){
  .timeline.wrap{width:calc(100% - 20px)!important}
}
@media(max-width:620px){
  :root{--story-inner:0px}
  .timeline-graphic{padding:0;border-radius:0}
  .timeline-hotspot{top:6%;height:82%}
  .history-section.wrap::before,.history-section.wrap::after{display:none}
  .history-section{padding:0 0 12px;margin-top:6px;margin-bottom:6px}
  .story-prose p{font-size:16px;line-height:1.6;margin-bottom:8px;font-weight:650}
  .story-prose .lead{font-size:16.5px;line-height:1.62;font-weight:700}
  .story-media.cols-3,.story-media.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .story-media.cols-2{gap:7px}
  .founders-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .founder-card:last-child{grid-column:1/3;width:50%;justify-self:center}
  .photostory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .story-memory-line{font-size:15px;padding-left:12px}
  #internet .story-media{max-width:100%;padding:8px}
}

/* Referral/share layer — intentionally local to this history page. */
header.hero > .referral-badge{
  position:absolute;
  z-index:39;
  top:72px;
  right:28px;
  display:flex;
  align-items:center;
  gap:8px;
  max-width:520px;
  padding:6px 12px 7px;
  border:1px solid rgba(255,255,255,.48);
  border-radius:14px;
  background:rgba(244,249,252,.70);
  box-shadow:0 7px 20px rgba(18,61,87,.09);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#174a69;
  font-family:"Segoe UI",Arial,sans-serif;
  line-height:1.15;
}
.referral-question{font-size:11px;font-weight:700;letter-spacing:.02em;color:#5a7586;white-space:nowrap}
.referral-result{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:600;white-space:nowrap}
.referral-result strong{font-size:15px;font-weight:800;color:#0b4d78;font-variant-numeric:tabular-nums}
.referral-people{font-size:13px;line-height:1}

.story-share{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  width:auto;
  margin:9px var(--story-inner) 0;
  padding-top:6px;
  border-top:1px solid rgba(116,151,173,.12);
  font-family:"Segoe UI",Arial,sans-serif;
}
.story-share-label{margin-right:2px;font-size:11px;font-weight:650;color:#6a8596;white-space:nowrap}
.story-share-actions{display:flex;align-items:center;gap:5px}
.story-share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  padding:0;
  border:1px solid rgba(73,123,153,.19);
  border-radius:50%;
  background:rgba(255,255,255,.74);
  color:#245b7a;
  text-decoration:none;
  font:700 12px/1 "Segoe UI",Arial,sans-serif;
  box-shadow:0 3px 9px rgba(34,77,101,.045);
  cursor:pointer;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease;
}
.story-share-btn:hover,.story-share-btn:focus{transform:translateY(-1px);background:#fff;border-color:rgba(35,105,148,.34);color:#0c4b73;outline:none}
.story-share-btn[data-share="telegram"]{font-size:13px}
.story-share-btn[data-share="facebook"]{font-family:Arial,sans-serif;font-size:16px;font-weight:800}
.story-share-btn[data-share="copy"]{font-size:14px}
.story-share-status{min-width:0;font-size:10px;color:#53806a;opacity:0;transition:opacity .2s ease}
.story-share-status.is-visible{opacity:1}

@media(max-width:1100px){
  header.hero > .referral-badge{top:62px;right:14px;transform:scale(.92);transform-origin:top right}
}
@media(max-width:760px){
  header.hero > .referral-badge{top:49px;right:8px;max-width:72%;padding:5px 8px;gap:5px;transform:scale(.78);transform-origin:top right}
  .referral-question{display:none}
  .story-share{margin-left:var(--story-inner);margin-right:var(--story-inner);justify-content:center;flex-wrap:wrap;gap:6px}
}
@media(max-width:480px){
  header.hero > .referral-badge{top:45px;max-width:82%}
  .referral-result{font-size:10px}.referral-result strong{font-size:14px}
  .story-share-label{width:100%;text-align:center;margin:0 0 1px}
}

/* v13 — new slim hero statistics + refined referral/share UI. */
header.hero > .hero-stats.hero-stats-modern{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;
  width:min(1320px,calc(100% - 64px))!important;
  max-width:1320px!important;
  height:64px!important;
  bottom:24px!important;
  padding:4px 13px!important;
  overflow:visible!important;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:15px!important;
  background:linear-gradient(90deg,rgba(250,253,255,.91),rgba(240,248,253,.88) 48%,rgba(255,251,233,.88) 100%)!important;
  box-shadow:0 8px 22px rgba(28,68,94,.14),inset 0 1px 0 rgba(255,255,255,.82)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
header.hero > .hero-stats.hero-stats-modern:before{
  content:"";
  position:absolute;
  z-index:-1;
  left:-7px;right:-7px;top:-5px;bottom:-5px;
  pointer-events:none;
  opacity:.72;
  background:
    linear-gradient(90deg,rgba(21,104,165,.34) 0 19%,transparent 31% 66%,rgba(231,177,31,.38) 80% 100%),
    linear-gradient(176deg,transparent 0 27%,rgba(255,255,255,.5) 28% 64%,transparent 65% 100%);
  clip-path:polygon(.8% 14%,8% 8%,17% 13%,27% 7%,37% 11%,49% 6%,60% 12%,71% 7%,82% 13%,92% 8%,99.2% 15%,100% 77%,94% 88%,83% 83%,72% 91%,61% 84%,49% 92%,38% 85%,26% 91%,14% 84%,1% 90%,0 30%);
  filter:blur(1px);
}
.hero-stat{
  position:relative;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:4px 12px;
  color:#0d4b74;
}
.hero-stat:not(:last-child):after{
  content:"";
  position:absolute;
  right:0;top:11px;bottom:11px;
  width:1px;
  background:linear-gradient(to bottom,transparent,rgba(81,133,164,.35),transparent);
}
.hero-stat-icon{
  flex:0 0 34px;
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  color:#075c9f;
  filter:drop-shadow(0 2px 2px rgba(21,75,109,.10));
}
.hero-stat-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
.hero-stat-chat .hero-stat-icon svg circle{fill:currentColor;stroke:none}
.hero-stat-ua .hero-stat-icon{color:#e1aa17}
.hero-stat-strength .hero-stat-icon{color:#154f83}
.hero-stat-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;line-height:1.03;text-align:left}
.hero-stat-copy strong{display:block;font-size:11.5px;font-weight:850;letter-spacing:.025em;color:#0b4670;white-space:nowrap}
.hero-stat-copy small{display:block;margin-top:2px;font-size:8.8px;font-weight:650;letter-spacing:.01em;color:#52758a;white-space:normal}
.hero-stat-ua .hero-stat-copy strong{color:#0c4c79}

header.hero > .referral-badge{
  top:70px;
  right:28px;
  gap:6px;
  min-height:28px;
  max-width:none;
  padding:5px 9px 5px 8px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:12px;
  background:rgba(246,251,254,.76);
  box-shadow:0 5px 15px rgba(18,61,87,.09);
  color:#164c6d;
}
.referral-share-mark,.referral-users-mark{display:flex;align-items:center;justify-content:center;color:#0b5a91}
.referral-share-mark{width:18px;height:18px}
.referral-users-mark{width:22px;height:18px;color:#164c6d}
.referral-share-mark svg,.referral-users-mark svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.referral-label{font-size:11px;font-weight:700;white-space:nowrap;color:#4e6e81}
.referral-count{font-size:15px;font-weight:850;color:#074e7d;font-variant-numeric:tabular-nums;line-height:1}

.story-prose > .story-share{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  width:100%;
  margin:15px 0 2px;
  padding:7px 10px;
  border:1px solid rgba(81,132,162,.16);
  border-left-color:rgba(26,105,157,.24);
  border-right-color:rgba(224,174,34,.20);
  border-radius:10px;
  background:linear-gradient(90deg,rgba(248,252,254,.62),rgba(255,255,255,.50) 70%,rgba(255,250,232,.40));
  box-shadow:0 3px 10px rgba(32,75,101,.025);
  font-family:"Segoe UI",Arial,sans-serif;
}
.story-prose > .story-share:before{
  content:"";
  position:absolute;
  left:10px;right:10px;top:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(38,116,168,.28),rgba(228,177,36,.24),transparent);
}
.story-share-label{margin-right:2px;font-size:11px;font-weight:700;color:#628094;white-space:nowrap}
.story-share-actions{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}
.story-share-btn{
  width:28px;height:28px;
  border:1px solid rgba(70,116,145,.18);
  border-radius:50%;
  background:rgba(255,255,255,.84);
  color:#1b5a7d;
  box-shadow:0 2px 7px rgba(31,76,103,.05);
}
.story-share-btn svg{display:block;width:16px;height:16px;fill:currentColor;stroke:none}
.story-share-btn svg .icon-cut{fill:none!important;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.story-share-btn svg .icon-stroke{fill:none!important;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.story-share-btn:hover,.story-share-btn:focus{transform:translateY(-1px) scale(1.035);background:#fff;outline:none}
.share-telegram{color:#1689c5}.share-viber{color:#6d4aa3}.share-whatsapp{color:#2a9d60}.share-facebook{color:#2662a9}.share-instagram{color:#b44986}.share-x{color:#253746}.share-more{color:#0b6a9f}.share-copy{color:#6b7f8c}
.story-share-status{min-width:0;font-size:10px;font-weight:650;color:#4d8066;opacity:0;white-space:nowrap;transition:opacity .2s ease}
.story-share-status.is-visible{opacity:1}

@media(max-width:1100px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 36px)!important;height:60px!important;bottom:18px!important;padding:4px 8px!important}
  .hero-stat{gap:6px;padding:3px 7px}.hero-stat-icon{width:30px;height:30px;flex-basis:30px}.hero-stat-copy strong{font-size:10.3px}.hero-stat-copy small{font-size:7.9px}
  header.hero > .referral-badge{top:62px;right:14px;transform:scale(.92);transform-origin:top right}
}
@media(max-width:760px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 20px)!important;height:54px!important;bottom:12px!important;padding:3px 4px!important;border-radius:12px!important}
  .hero-stat{gap:3px;padding:2px 3px}.hero-stat-icon{width:24px;height:24px;flex-basis:24px}.hero-stat-copy strong{font-size:8.2px;letter-spacing:0}.hero-stat-copy small{display:none}.hero-stat:not(:last-child):after{top:9px;bottom:9px}
  header.hero > .referral-badge{top:49px;right:8px;padding:4px 7px;gap:4px;transform:scale(.82);transform-origin:top right}
  .referral-label{font-size:10px}.referral-count{font-size:14px}.referral-share-mark{width:16px;height:16px}.referral-users-mark{width:20px;height:16px}
  .story-prose > .story-share{justify-content:center;flex-wrap:wrap;gap:6px;padding:7px 8px;margin-top:12px}
  .story-share-label{width:100%;text-align:center;margin:0}
  .story-share-status{width:100%;text-align:center;height:0}
}
@media(max-width:480px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 12px)!important;height:50px!important;bottom:8px!important}
  .hero-stat-icon{width:20px;height:20px;flex-basis:20px}.hero-stat-copy strong{font-size:7.2px}.hero-stat{padding:1px 2px}
  header.hero > .referral-badge{top:45px;right:6px;transform:scale(.76)}
  .story-share-actions{gap:4px}.story-share-btn{width:27px;height:27px}.story-share-btn svg{width:15px;height:15px}
}


/* v15 — corrected graphic hero strip and truly compact inline share control. */
header.hero > .hero-stats.hero-stats-modern{
  position:absolute!important;
  z-index:20!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:20px!important;
  transform:translateX(-50%)!important;
  display:block!important;
  grid-template-columns:none!important;
  width:min(1280px,calc(100% - 64px))!important;
  max-width:1280px!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
header.hero > .hero-stats.hero-stats-modern:before,
header.hero > .hero-stats.hero-stats-modern:after{display:none!important;content:none!important}
header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{
  position:static!important;
  display:block!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  filter:drop-shadow(0 4px 7px rgba(20,62,91,.08));
}

/* Small referral counter directly under the upper-right navigation. */
header.hero > .referral-badge{
  position:absolute!important;
  z-index:41!important;
  top:70px!important;
  right:28px!important;
  left:auto!important;
  bottom:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:3px 6px 3px 9px!important;
  border:1px solid rgba(255,255,255,.42)!important;
  border-radius:999px!important;
  background:rgba(247,251,253,.34)!important;
  box-shadow:0 2px 8px rgba(18,61,87,.05)!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
}
.referral-label{font-size:10.5px!important;font-weight:700!important;line-height:1!important;color:#496d82!important;white-space:nowrap!important}
.referral-count{font-size:15px!important;font-weight:850!important;line-height:1!important;color:#074e7d!important;font-variant-numeric:tabular-nums}
.referral-users-art{display:block!important;width:24px!important;height:24px!important;object-fit:contain!important;margin:0!important;padding:0!important}
.referral-share-mark,.referral-users-mark,.referral-question,.referral-result,.referral-people{display:none!important}

/* Share is a small inline pill at the end of the text, never a full-width row. */
.story-prose > .story-share{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-flow:row nowrap!important;
  gap:5px!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  margin:9px 0 2px auto!important;
  padding:3px 5px 3px 9px!important;
  border:1px solid rgba(78,126,156,.10)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  box-shadow:none!important;
  backdrop-filter:blur(1.5px)!important;
  -webkit-backdrop-filter:blur(1.5px)!important;
}
.story-prose > .story-share:before,
.story-prose > .story-share:after{display:none!important;content:none!important}
.story-share-label{
  width:auto!important;
  margin:0 2px 0 0!important;
  padding:0!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  color:#5b7b8f!important;
  white-space:nowrap!important;
  text-align:left!important;
}
.story-share-actions{display:flex!important;align-items:center!important;flex-flow:row nowrap!important;gap:1px!important;margin:0!important;padding:0!important}
.story-share-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 25px!important;
  width:25px!important;
  height:25px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.story-share-btn .share-icon-art{display:block!important;width:25px!important;height:25px!important;max-width:none!important;object-fit:contain!important;margin:0!important;padding:0!important;pointer-events:none!important;filter:drop-shadow(0 1px 2px rgba(24,65,91,.05))}
.story-share-btn svg{display:none!important}
.story-share-btn:hover,.story-share-btn:focus{transform:translateY(-1px) scale(1.07)!important;background:transparent!important;border:0!important;outline:none!important}
.story-share-status{position:absolute!important;right:5px!important;bottom:-14px!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important}

@media(max-width:1100px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 36px)!important;bottom:18px!important}
  header.hero > .referral-badge{top:60px!important;right:14px!important;transform:scale(.92)!important;transform-origin:top right!important}
}
@media(max-width:760px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 18px)!important;bottom:10px!important}
  header.hero > .referral-badge{top:49px!important;right:7px!important;transform:scale(.80)!important;transform-origin:top right!important}
  .story-prose > .story-share{width:max-content!important;max-width:100%!important;margin:8px 0 2px auto!important;padding:3px 4px 3px 7px!important;flex-wrap:nowrap!important}
  .story-share-label{width:auto!important;font-size:10.5px!important;text-align:left!important}
  .story-share-btn,.story-share-btn .share-icon-art{width:23px!important;height:23px!important;flex-basis:23px!important}
}
@media(max-width:480px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 10px)!important;bottom:6px!important}
  header.hero > .referral-badge{top:45px!important;right:5px!important;transform:scale(.72)!important}
  .story-prose > .story-share{gap:3px!important;padding-left:6px!important}
  .story-share-label{font-size:10px!important}
  .story-share-btn,.story-share-btn .share-icon-art{width:21px!important;height:21px!important;flex-basis:21px!important}
}


/* v16 — continuous translucent statistics strip, deliberately narrower than the hero. */
header.hero > .hero-stats.hero-stats-modern{
  width:min(1120px,calc(100% - 110px))!important;
  max-width:1120px!important;
  bottom:14px!important;
}
header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{
  width:100%!important;
  height:auto!important;
  filter:drop-shadow(0 3px 7px rgba(20,62,91,.08))!important;
}
@media(max-width:1100px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 54px)!important;bottom:12px!important}
}
@media(max-width:760px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 24px)!important;bottom:7px!important}
}
@media(max-width:480px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 14px)!important;bottom:4px!important}
}

/* v17 — compact low-profile statistics strip in the hero. */
header.hero > .hero-stats.hero-stats-modern{
  left:50%!important;
  right:auto!important;
  bottom:16px!important;
  width:auto!important;
  max-width:calc(100% - 90px)!important;
  height:52px!important;
  max-height:52px!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:52px!important;
  max-height:52px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
  filter:drop-shadow(0 2px 4px rgba(20,62,91,.08))!important;
}
@media(max-width:1100px){
  header.hero > .hero-stats.hero-stats-modern{height:48px!important;max-height:48px!important;max-width:calc(100% - 50px)!important;bottom:12px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:48px!important;max-height:48px!important}
}
@media(max-width:760px){
  header.hero > .hero-stats.hero-stats-modern{height:40px!important;max-height:40px!important;max-width:calc(100% - 20px)!important;bottom:8px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:40px!important;max-height:40px!important}
}
@media(max-width:480px){
  header.hero > .hero-stats.hero-stats-modern{height:34px!important;max-height:34px!important;max-width:calc(100% - 12px)!important;bottom:5px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:34px!important;max-height:34px!important}
}


/* v18 — restore the former wide hero-strip footprint while keeping v17 low height. */
header.hero > .hero-stats.hero-stats-modern{
  width:min(1120px,calc(100% - 90px))!important;
  max-width:1120px!important;
  height:52px!important;
  max-height:52px!important;
}
header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{
  width:100%!important;
  max-width:100%!important;
  height:52px!important;
  max-height:52px!important;
  object-fit:fill!important;
}
@media(max-width:1100px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 50px)!important;height:48px!important;max-height:48px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{width:100%!important;height:48px!important;max-height:48px!important}
}
@media(max-width:760px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 20px)!important;height:40px!important;max-height:40px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{width:100%!important;height:40px!important;max-height:40px!important}
}
@media(max-width:480px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 12px)!important;height:34px!important;max-height:34px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{width:100%!important;height:34px!important;max-height:34px!important}
}

/* v20 — slightly wider/taller painterly stats strip + compact timeline. */
header.hero > .hero-stats.hero-stats-modern{
  width:min(1200px,calc(100% - 70px))!important;
  max-width:1200px!important;
  height:60px!important;
  max-height:60px!important;
  bottom:12px!important;
}
header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{
  width:100%!important;
  max-width:100%!important;
  height:60px!important;
  max-height:60px!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:drop-shadow(0 2px 5px rgba(20,62,91,.08))!important;
}
.timeline{
  padding:2px 0 0!important;
}
.timeline-graphic{
  width:100%!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:0!important;
}
.timeline .timeline-story-art{
  display:block!important;
  width:100%!important;
  max-width:1320px!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
.timeline-hotspot{top:2%!important;height:94%!important}
@media(max-width:1100px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 34px)!important;height:56px!important;max-height:56px!important;bottom:10px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:56px!important;max-height:56px!important}
}
@media(max-width:760px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 16px)!important;height:46px!important;max-height:46px!important;bottom:7px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:46px!important;max-height:46px!important}
  .timeline.wrap{width:calc(100% - 12px)!important}
}
@media(max-width:480px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 10px)!important;height:40px!important;max-height:40px!important;bottom:5px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:40px!important;max-height:40px!important}
}


/* v22a — same slim strip, raised by +10px. */
header.hero > .hero-stats.hero-stats-modern{
  width:min(1200px,calc(100% - 70px))!important;
  max-width:1200px!important;
  height:auto!important;
  max-height:none!important;
  bottom:20px!important;
  display:block!important;
  overflow:visible!important;
}
header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
  filter:drop-shadow(0 2px 5px rgba(20,62,91,.08))!important;
}
@media(max-width:1100px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 34px)!important;height:auto!important;max-height:none!important;bottom:18px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:auto!important;max-height:none!important}
}
@media(max-width:760px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 16px)!important;height:auto!important;max-height:none!important;bottom:16px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:auto!important;max-height:none!important}
}
@media(max-width:480px){
  header.hero > .hero-stats.hero-stats-modern{width:calc(100% - 10px)!important;height:auto!important;max-height:none!important;bottom:14px!important}
  header.hero > .hero-stats.hero-stats-modern > img.hero-stats-art{height:auto!important;max-height:none!important}
}


/* v31 — corrected share icon sizing (v30 block contained escaped newlines). */
.story-share-actions{
  gap:2px!important;
}
.story-share-btn,
.story-share-btn .share-icon-art{
  width:31px!important;
  height:31px!important;
  flex-basis:31px!important;
}
@media (max-width:760px){
  .story-share-btn,
  .story-share-btn .share-icon-art{
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
  }
}
@media (max-width:480px){
  .story-share-btn,
  .story-share-btn .share-icon-art{
    width:26px!important;
    height:26px!important;
    flex-basis:26px!important;
  }
}
