/* GrowtopiaTools V1.88 — aligned Home layout and compact, uncropped event banners. */
#content .h162-root { --h188-gap:16px; }

/* Each row has the same gutter; cards in each row align at both edges. */
body[data-current-view="home"] #content .h162-root .h162-primary,
body[data-current-view="home"] #content .h162-root .h162-challenge-row,
body[data-current-view="home"] #content .h162-root .h162-bottom {
  gap:var(--h188-gap)!important;
  margin-bottom:var(--h188-gap)!important;
  align-items:stretch!important;
  grid-auto-rows:auto!important;
}
body[data-current-view="home"] #content .h162-root .h162-challenge-row > .h162-card {
  align-self:stretch!important;
  height:100%!important;
}
body[data-current-view="home"] #content .h162-root .h162-primary {
  grid-template-rows:minmax(0,auto) minmax(0,auto);
}
body[data-current-view="home"] #content .h162-root .h162-primary .h162-wotd {
  display:flex;flex-direction:column;
  align-self:stretch!important;height:100%!important;
}
body[data-current-view="home"] #content .h162-root .h162-primary .h162-wotd .h162-world-foot {
  margin-top:auto;padding-top:12px;
}
body[data-current-view="home"] #content .h162-root .h162-primary .h162-status,
body[data-current-view="home"] #content .h162-root .h162-primary .h162-votw {
  align-self:stretch!important;
  height:100%!important;
}

/* Bottom row: calendar + countdown occupy the left half, market the right.
   The card boundaries align despite different text lengths. */
body[data-current-view="home"] #content .h162-root .h164-home-lower {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:var(--h188-gap)!important;
  align-items:stretch!important;
  grid-auto-flow:row;
}
body[data-current-view="home"] #content .h162-root .h164-home-events {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:var(--h188-gap)!important;
  min-width:0;
  align-items:stretch!important;
  align-content:stretch!important;
}
body[data-current-view="home"] #content .h162-root .h164-home-events > .h162-card,
body[data-current-view="home"] #content .h162-root .h164-home-lower > .h162-market {
  align-self:stretch!important;
  height:100%!important;
  min-width:0;
}
body[data-current-view="home"] #content .h162-root .h164-home-lower > .h162-quick-card {
  grid-column:1/-1!important;
}

/* Small banner format: big source files scale proportionally with no crop,
   no image distortion and no loss of visible content. */
#content .h188-banner-slot {
  display:flex;align-items:center;justify-content:flex-start;
  width:100%;height:102px;min-height:0;min-width:0;
  padding:7px 10px;margin:2px 0 12px;
  border:1px solid rgba(176,224,255,.22);
  border-radius:14px;
  background:radial-gradient(circle at 12% 10%,rgba(148,216,255,.12),transparent 68%),rgba(10,34,68,.20);
  overflow:hidden;
}
#content .h188-banner-slot .h188-mini-banner {
  display:block;width:auto;height:auto;
  max-width:100%;max-height:86px;
  object-fit:contain!important;
  object-position:left center;
  image-rendering:auto;
  border:0;
  border-radius:7px;
}
#content .h162-major:has(.h188-banner-slot) .h162-major-icon {display:none!important}

/* Homepage Manager previews follow the public card's proportional sizing. */
#content .h188-admin-banner-input {
  display:flex;align-items:flex-start;flex-wrap:wrap;
  gap:9px 12px;min-width:0;padding:13px 14px;
  background:linear-gradient(140deg,rgba(98,174,230,.13),rgba(15,51,94,.19));
  border:1px solid rgba(165,220,251,.24);border-radius:15px;
}
#content .h188-admin-banner-input > .h162-field,
#content .h188-admin-banner-input > small {flex-basis:100%}
#content .h188-admin-banner-input > small {color:#aacce4;font-size:11px;line-height:1.45}
#content .h188-admin-banner-preview {
  display:flex;align-items:center;justify-content:flex-start;
  min-height:0;max-width:100%;min-width:0;
}
#content .h188-admin-banner-preview img {
  display:block;width:auto;height:auto;max-height:96px;max-width:min(100%,420px);
  object-fit:contain;image-rendering:auto;border-radius:9px;
  border:1px solid rgba(197,231,253,.26);
}
#content .h188-remove-banner {font-size:11px;align-self:center}
#content .h188-remove-banner[hidden] {display:none!important}

@media (max-width:1100px) {
  body[data-current-view="home"] #content .h162-root .h164-home-events {
    grid-template-columns:minmax(0,1fr)!important;
    align-content:start!important;
  }
  body[data-current-view="home"] #content .h162-root .h164-home-events > .h162-card {height:auto!important}
}
@media (max-width:980px) {
  body[data-current-view="home"] #content .h162-root .h162-primary {
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;
  }
  body[data-current-view="home"] #content .h162-root .h162-primary .h162-wotd,
  body[data-current-view="home"] #content .h162-root .h162-primary .h162-status,
  body[data-current-view="home"] #content .h162-root .h162-primary .h162-votw {
    grid-column:1!important;grid-row:auto!important;height:auto!important;
  }
}
@media (max-width:740px) {
  body[data-current-view="home"] #content .h162-root .h164-home-lower {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body[data-current-view="home"] #content .h162-root .h164-home-events {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:580px) {
  body[data-current-view="home"] #content .h162-root .h164-home-events {
    grid-template-columns:minmax(0,1fr)!important;
  }
  #content .h188-banner-slot {height:92px}
  #content .h188-banner-slot .h188-mini-banner {max-height:76px}
}


/* Home event refresh: same layout, text hierarchy, colors, countdown and height
   for calendar monthly events and upcoming annual game events. */
body[data-current-view="home"] #content .h162-root .h240-event-card {
  display:flex!important;flex-direction:column;align-self:stretch;
  min-width:0;min-height:340px;height:100%;
  padding:21px 21px 18px;
}
#content .h240-event-card .h162-eyebrow{
  line-height:1.4;min-height:14px;padding-right:54px;margin-bottom:8px;
  color:#a4c5dc;letter-spacing:.11em;font-size:10px;
}
#content .h240-event-card h2{
  font-size:clamp(19px,1.55vw,23px)!important;
  line-height:1.18!important;min-height:50px;
  margin:0 0 12px!important;overflow-wrap:anywhere;
  color:#f0f7ff!important;letter-spacing:-.025em;
}
#content .h240-event-card .h240-edit{
  position:absolute;top:17px;right:17px;float:none;
  margin:0;padding:5px 9px;z-index:2;
}
#content .h240-event-art{
  display:flex;justify-content:center;align-items:center;
  flex:0 0 96px;width:100%;min-width:0;overflow:hidden;
  padding:8px 12px;border-radius:16px;
  border:1px solid rgba(162,212,242,.24);
  background:radial-gradient(ellipse at 50% 0%,rgba(118,195,241,.15),transparent 72%),rgba(16,45,76,.36);
}
#content .h240-event-art>img{
  display:block;max-width:100%;max-height:80px;
  width:auto;height:auto;object-fit:contain;
  image-rendering:auto;border-radius:7px;
}
#content .h240-event-icon{
  display:grid;place-items:center;
  width:80px;height:80px;
  border-radius:15px;
  background:linear-gradient(135deg,rgba(133,200,246,.17),rgba(47,100,152,.13));
}
#content .h240-event-icon img{
  display:block;max-width:70px;max-height:70px;width:auto;height:auto;object-fit:contain;
  image-rendering:pixelated;
}
#content .h240-event-meta{
  display:flex;flex-direction:column;gap:4px;
  margin-top:13px;min-width:0;
}
#content .h240-event-meta strong{
  color:#cfe5f1;font-size:12px;font-weight:700;line-height:1.35;
}
#content .h240-event-meta span{font-size:11px;color:#93b2c9;line-height:1.35}
#content .h240-event-card .h240-event-desc{
  color:#a8c4d6;font-size:11px;line-height:1.4;
  margin:9px 0 14px!important;min-height:16px;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  overflow:hidden;
}
#content .h240-event-footer{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:8px;min-height:64px;margin-top:auto;padding-top:12px;
  border-top:1px solid rgba(154,207,238,.20);
}
#content .h240-timer-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
#content .h240-timer-copy>span{
  font-size:10px;line-height:1.3;font-weight:800;
  letter-spacing:.095em;color:#94b8d0;
}
#content .h240-event-card .h240-countdown{
  display:block;color:#c9f2f2;font-weight:850;
  line-height:1.08;letter-spacing:-.04em;
  font-size:clamp(22px,2.5vw,35px);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
#content .h240-calendar-link{
  flex:0 0 auto;color:#b7d7ea;
  border:1px solid rgba(164,219,252,.26);
  border-radius:10px;background:rgba(90,144,198,.10);
  padding:6px 9px;font-size:10px;font-weight:750;
  cursor:pointer;transition:background .18s,border-color .18s;
}
#content .h240-calendar-link:hover,#content .h240-calendar-link:focus-visible{
  background:rgba(102,180,221,.25);border-color:rgba(193,237,255,.63);
}

/* The former Market Picks slot is now the three-feature discovery surface. */
body[data-current-view="home"] #content .h162-root .h240-discover{
  display:flex;flex-direction:column;min-width:0;height:100%;
  min-height:340px;
}
#content .h240-discover-intro{
  margin:-3px 0 13px!important;font-size:12px!important;color:#a9c6d9;
}
#content .h240-feature-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;gap:12px;flex:1;min-width:0;
}
#content .h240-feature{
  display:flex;flex-direction:column;align-items:center;
  justify-content:flex-start;text-align:center;min-width:0;gap:8px;
  border:1px solid rgba(156,208,239,.32);border-radius:17px;
  background:linear-gradient(142deg,rgba(129,188,232,.17),rgba(25,64,110,.37));
  color:#eaf5fb;padding:15px 11px 13px;cursor:pointer;
  box-shadow:inset 0 1px rgba(245,252,255,.12);
  transition:transform .2s,border-color .2s,background .2s;
}
#content .h240-feature:hover,#content .h240-feature:focus-visible{
  transform:translateY(-3px);border-color:rgba(199,242,255,.85);
  background:linear-gradient(145deg,rgba(138,205,244,.30),rgba(38,91,147,.43));
}
#content .h240-feature-icon{
  display:grid;place-items:center;flex:0 0 auto;
  width:75px;height:75px;border-radius:17px;
  border:1px solid rgba(171,217,244,.28);
  background:linear-gradient(135deg,rgba(188,232,251,.23),rgba(71,119,166,.17));
}
#content .h240-feature-icon img{
  display:block;max-width:63px;max-height:63px;
  width:auto;height:auto;object-fit:contain;image-rendering:pixelated;
}
#content .h240-feature>strong{
  font-size:14px;font-weight:850;line-height:1.25;overflow-wrap:anywhere;
}
#content .h240-feature-desc{font-size:11px;line-height:1.45;color:#afc7d7}
#content .h240-feature-open{
  display:block;margin-top:auto;font-size:11px;font-weight:800;
  color:#c0e8f3;white-space:nowrap;padding-top:6px;
}
@media(max-width:1200px) {
  body[data-current-view="home"] #content .h162-root .h164-home-lower{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body[data-current-view="home"] #content .h162-root .h164-home-events{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:600px) {
  body[data-current-view="home"] #content .h162-root .h164-home-events{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #content .h240-event-card h2{min-height:0}
  #content .h240-feature-grid{grid-template-columns:minmax(0,1fr)!important}
  #content .h240-feature{flex-direction:row;text-align:left;align-items:center;flex-wrap:wrap;justify-content:flex-start}
  #content .h240-feature-icon{width:55px;height:55px;border-radius:12px;grid-row:span 3}
  #content .h240-feature-icon img{max-width:48px;max-height:48px}
  #content .h240-feature>strong{flex:1;font-size:14px}
  #content .h240-feature-desc{flex:1 0 calc(100% - 75px);padding-left:0}
  #content .h240-feature-open{margin-top:0}
}
@media(prefers-reduced-motion:reduce){
  #content .h240-feature,#content .h240-calendar-link{transition:none}
}


/* Event imagery: an inventory sprite is not a panorama. Give icon-only
   monthly events a real wordmark composition of similar visual width to
   annual event banners, while preserving the original unscaled art assets. */
body[data-current-view="home"] #content .h240-event-card .h240-event-art{
  height:104px;flex-basis:104px;padding:8px 12px;
  background:radial-gradient(ellipse at center,rgba(112,178,228,.14),rgba(19,50,88,.20) 65%,rgba(12,36,72,.35));
}
body[data-current-view="home"] #content .h240-event-card .h240-event-banner{
  width:auto;height:auto;max-width:min(100%,340px);max-height:86px;
  object-fit:contain;object-position:center;image-rendering:auto;
}
#content .h241-event-lockup{
  display:flex;align-items:center;justify-content:center;gap:16px;
  width:min(100%,340px);min-width:0;
}
#content .h241-event-lockup .h240-event-icon{
  display:grid;place-items:center;flex:0 0 88px;
  width:88px;height:88px;overflow:hidden;border-radius:17px;
  background:linear-gradient(135deg,rgba(159,216,249,.20),rgba(33,78,130,.28));
  border:1px solid rgba(160,217,246,.22);
}
#content .h241-event-lockup .h240-event-icon img{
  display:block;width:78px!important;height:78px!important;
  max-width:78px!important;max-height:78px!important;object-fit:contain;
  image-rendering:pixelated;
}
#content .h241-event-wordmark{
  display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;
}
#content .h241-event-wordmark small{
  color:#a4c4dd!important;font-size:10px!important;font-weight:850;
  letter-spacing:.11em;line-height:1.25;
}
#content .h241-event-wordmark strong{
  color:#eaf8ff!important;font-size:clamp(18px,1.7vw,24px);
  line-height:1.13;letter-spacing:-.03em;overflow-wrap:anywhere;
}

/* Replace the former three-tool grid with a clear Arcade daily destination. */
body[data-current-view="home"] #content .h162-root .h241-daily-arcade{
  display:flex;flex-direction:column;min-width:0;height:100%;min-height:340px;
  padding:21px 21px 18px;
  background:radial-gradient(ellipse at 95% 5%,rgba(113,184,244,.15),transparent 50%),
             linear-gradient(140deg,rgba(36,75,118,.8),rgba(13,35,70,.82));
}
#content .h241-arcade-heading{
  display:flex;align-items:center;justify-content:space-between;
  min-width:0;gap:14px;margin-bottom:15px;
}
#content .h241-arcade-heading h2{
  margin:0 0 5px!important;
  font-size:clamp(20px,1.8vw,26px)!important;line-height:1.14!important;
}
#content .h241-arcade-heading .h162-eyebrow{margin-bottom:8px}
#content .h241-arcade-heading p{
  color:#b1cbde;font-size:12px!important;margin:0!important;
}
#content .h241-arcade-console{
  width:66px;height:66px;max-width:25%;object-fit:contain;
  image-rendering:pixelated;filter:drop-shadow(0 7px 12px rgba(0,16,38,.22));
}
#content .h241-arcade-games{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:11px;align-items:stretch;flex:1;min-width:0;
}
#content .h241-arcade-game{
  min-width:0;display:flex;flex-direction:column;
  align-items:center;gap:7px;
  border:1px solid rgba(155,209,242,.27);
  border-radius:16px;
  padding:13px 9px 12px;text-align:center;
  color:#e7f5ff;cursor:pointer;
  background:linear-gradient(144deg,rgba(127,190,237,.15),rgba(23,64,111,.33));
  box-shadow:inset 0 1px rgba(245,252,255,.10);
  transition:transform .18s,border-color .18s,background .18s;
}
#content .h241-arcade-game:hover,#content .h241-arcade-game:focus-visible{
  transform:translateY(-3px);border-color:rgba(210,242,255,.83);
  background:linear-gradient(144deg,rgba(137,205,243,.26),rgba(30,82,141,.44));
}
#content .h241-arcade-game-image{
  width:68px;height:68px;flex:0 0 auto;
  display:grid;place-items:center;overflow:hidden;
  border:1px solid rgba(175,224,251,.19);
  border-radius:15px;
  background:linear-gradient(140deg,rgba(173,218,248,.19),rgba(55,104,154,.14));
}
#content .h241-arcade-game-image img{
  display:block;width:56px;height:56px;max-width:100%;max-height:100%;
  object-fit:contain;image-rendering:pixelated;
}
#content .h241-arcade-game strong{
  color:#eaf8ff;font-size:14px;font-weight:850;
  line-height:1.2;overflow-wrap:anywhere;
}
#content .h241-arcade-game>span:not(.h241-arcade-game-image){
  color:#b3cde0;font-size:11px;line-height:1.36;
}
#content .h241-arcade-game small{
  margin-top:auto;padding-top:4px;
  color:#bfe8f6!important;font-size:10px!important;font-weight:850;
  letter-spacing:.05em;
}
#content .h241-arcade-bottom{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding-top:13px;margin-top:13px;
  border-top:1px solid rgba(166,216,244,.19);
}
#content .h241-arcade-bottom>span{
  color:#9cb8cf;font-size:11px;line-height:1.3;
}
#content .h241-arcade-play{
  display:inline-flex;justify-content:center;align-items:center;
  flex:0 0 auto;gap:7px;
  background:linear-gradient(138deg,rgba(144,214,231,.30),rgba(70,163,204,.24));
  color:#e0f9fc;border:1px solid rgba(157,227,240,.46);
  border-radius:11px;padding:10px 13px;
  font-weight:850;font-size:12px;cursor:pointer;
}
#content .h241-arcade-play:hover,#content .h241-arcade-play:focus-visible{
  background:rgba(119,202,222,.35);border-color:rgba(209,249,255,.88);
}
@media(max-width:660px){
  #content .h241-arcade-heading h2{font-size:21px!important}
  #content .h241-arcade-game{padding:12px 6px}
  #content .h241-arcade-game-image{width:55px;height:55px;border-radius:12px}
  #content .h241-arcade-game-image img{width:46px;height:46px}
  #content .h241-arcade-game strong{font-size:12px}
  #content .h241-arcade-game>span:not(.h241-arcade-game-image){font-size:10px}
}
@media(max-width:400px){
  #content .h241-arcade-games{gap:6px}
  #content .h241-arcade-game{padding:11px 5px}
  #content .h241-arcade-bottom{flex-direction:column;align-items:stretch}
  #content .h241-arcade-play{width:100%}
  #content .h241-event-lockup{gap:11px}
  #content .h241-event-lockup .h240-event-icon{flex-basis:77px;width:77px;height:77px}
  #content .h241-event-lockup .h240-event-icon img{width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important}
}
@media(prefers-reduced-motion:reduce){
  #content .h241-arcade-game{transition:none}
  #content .h241-arcade-game:hover{transform:none}
}


/* Homepage Events V3: a shared editorial shell, not a shared image frame.
   Wide, real Growtopia banners are edge-to-edge; original item sprites are
   paired with a prominent date so square artwork has its own purpose. */
body[data-current-view="home"] #content .h162-root .h242-event-card {
  display:flex!important;
  flex-direction:column;
  align-self:stretch;
  min-width:0;
  min-height:347px;
  height:100%;
  padding:20px 21px 18px;
}
#content .h242-event-heading {
  position:relative;
  min-width:0;
  padding-right:66px;
  margin-bottom:12px;
}
#content .h242-event-heading .h162-eyebrow {
  display:block;
  margin:0 0 6px;
  line-height:1.3;
  letter-spacing:.09em;
  color:#a8c4d9;
  font-size:10px;
}
#content .h242-event-heading h2 {
  margin:0!important;
  min-height:27px;
  color:#edf7ff!important;
  font-size:clamp(19px,1.7vw,24px)!important;
  line-height:1.17!important;
  letter-spacing:-.032em;
  overflow-wrap:anywhere;
}
#content .h242-edit {
  position:absolute;
  right:0;
  top:0;
  z-index:2;
  float:none;
  margin:0;
  padding:6px 10px;
}
#content .h242-event-media {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:134px;
  min-height:134px;
  flex:0 0 134px;
  overflow:hidden;
  border:1px solid rgba(165,212,240,.24);
  border-radius:15px;
  margin:2px 0 12px;
  background:rgba(10,33,66,.42);
}
#content .h242-event-banner {
  border-color:rgba(194,220,247,.24);
  background:linear-gradient(135deg,rgba(36,67,105,.6),rgba(17,38,73,.8));
}
#content .h242-event-banner>img {
  display:block;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:50% 50%;
  image-rendering:auto;
  border:0!important;
  border-radius:0!important;
}
#content .h242-event-sprite {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:0;
  isolation:isolate;
  background:linear-gradient(110deg,rgba(28,77,119,.7),rgba(16,45,81,.65) 53%,rgba(11,34,67,.93)),
    radial-gradient(ellipse at 26% 50%,rgba(117,213,234,.27),transparent 65%);
}
#content .h242-event-sprite::before {
  position:absolute;
  content:"";
  inset:-44px auto -44px -46px;
  width:62%;
  border-radius:50%;
  background:radial-gradient(circle at 48% 50%,rgba(142,230,242,.20),rgba(88,176,217,.09) 38%,transparent 68%);
  pointer-events:none;
  z-index:-1;
}
#content .h242-sprite-art {
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  padding:4px 9px;
}
#content .h242-sprite-art img {
  width:124px!important;
  height:124px!important;
  max-width:100%!important;
  max-height:124px!important;
  object-fit:contain;
  image-rendering:pixelated;
  filter:drop-shadow(0 9px 11px rgba(0,14,32,.25));
}
#content .h242-date-art {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  height:100%;
  padding:10px 14px 10px 19px;
  border-left:1px solid rgba(161,222,255,.20);
  background:linear-gradient(90deg,rgba(25,66,101,.20),rgba(13,35,68,.17));
}
#content .h242-date-art span {
  color:#b0d2e8;
  font-size:11px;
  letter-spacing:.075em;
  font-weight:820;
  line-height:1.1;
  white-space:normal;
}
#content .h242-date-art strong {
  font-size:clamp(35px,4.4vw,54px);
  font-weight:900;
  color:#e6faff!important;
  letter-spacing:-.055em;
  line-height:.99;
  margin:4px 0 5px;
  font-variant-numeric:tabular-nums;
}
#content .h242-event-details {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:0 0 10px;
}
#content .h242-event-details strong {
  color:#cee5f5!important;
  font-weight:750;
  font-size:12px;
  line-height:1.35;
}
#content .h242-event-details span {
  color:#9bb9d3;
  font-size:11px;
  line-height:1.38;
}
#content .h242-event-footer {
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid rgba(147,201,236,.21);
  display:flex;
  gap:10px;
  align-items:flex-end;
  justify-content:space-between;
  min-height:64px;
}
#content .h242-timer-copy {
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
#content .h242-timer-copy>span {
  color:#9bb8cf;
  font-size:10px;
  font-weight:850;
  letter-spacing:.075em;
  line-height:1.3;
}
#content .h242-countdown {
  display:block;
  color:#c5f1f4!important;
  font-size:clamp(24px,2.6vw,35px);
  font-weight:900;
  line-height:1.06;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
#content .h242-calendar-link {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#bce3f6;
  font-weight:800;
  background:rgba(70,138,192,.16);
  border:1px solid rgba(144,204,245,.30);
  border-radius:10px;
  padding:7px 11px;
  min-height:30px;
  font-size:11px;
  cursor:pointer;
}
#content .h242-calendar-link:hover,
#content .h242-calendar-link:focus-visible {
  border-color:rgba(187,235,255,.8);
  background:rgba(100,183,226,.24);
}
@media(max-width:1150px) {
  #content .h242-event-sprite {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  #content .h242-sprite-art img {
    max-width:118px!important;
  }
}
@media(max-width:620px) {
  body[data-current-view="home"] #content .h162-root .h242-event-card {
    padding:17px 17px 16px;
    min-height:332px;
  }
  #content .h242-event-media {height:124px;min-height:124px;flex-basis:124px}
  #content .h242-sprite-art img {max-height:114px!important;max-width:117px!important}
  #content .h242-event-heading h2 {font-size:21px!important}
}
@media(max-width:380px) {
  #content .h242-date-art {padding-left:12px}
  #content .h242-date-art strong {font-size:36px}
  #content .h242-date-art span {font-size:10px}
  #content .h242-calendar-link {padding:6px 8px}
  #content .h242-countdown {font-size:24px}
}

/* Owner-supplied monthly DC event banners: preserve the full source aspect
   ratio while matching the vertical visual area of the annual promotion. */
body[data-current-view="home"] #content .h242-monthly .h242-event-banner {
  justify-content:center;
  padding:0;
}
body[data-current-view="home"] #content .h242-monthly .h242-event-banner > img {
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:132px!important;
  object-fit:contain!important;
  object-position:center!important;
  image-rendering:auto;
  border-radius:0!important;
}
@media (max-width:620px) {
  body[data-current-view="home"] #content .h242-monthly .h242-event-banner > img {
    max-height:122px!important;
  }
}

/* Monthly event artwork is unframed. Preserve each banner's natural aspect ratio;
   the annual event's framed, edge-to-edge image is deliberately unchanged. */
body[data-current-view="home"] #content .h162-root .h242-monthly .h242-event-banner {
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:none!important;
  padding:0!important;
}
body[data-current-view="home"] #content .h162-root .h242-monthly .h242-event-banner>img {
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
}
body[data-current-view="home"] #content .h242-monthly .h162-heading-icon img {
  image-rendering:pixelated;
}
