/* V32: Desktop/Tablet layout for tree variants only; smartphone <=699px stays exactly as V30/V31. */
@media (min-width:700px) {
  body.theme-extra { overflow-x:hidden; }
  body.theme-extra > .advent-shell {
    height:100vh; height:100dvh; min-height:0;
    padding:12px clamp(14px,2vw,30px) !important;
    display:flex; flex-direction:column;
    align-items:stretch; justify-content:center;
    overflow:hidden;
  }
  body.theme-extra .advent-shell > .hero,
  body.theme-extra .advent-shell > .mobile-tree-title,
  body.theme-extra .advent-shell > .mobile-tree-exit,
  body.theme-extra .advent-shell > .countdown { display:none!important; }
  body.theme-extra .advent-shell > .notice {position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:35;max-width:min(90%,850px);margin:0;pointer-events:none;}
  body.theme-extra .calendar-wrap-tree {
    flex:1 1 auto; min-height:0; width:100%; max-width:none;
    margin:0 auto!important; padding:0!important;
    display:flex; justify-content:center; align-items:center;
  }
  body.theme-extra .calendar-wrap-tree > .tree-layout {
    display:flex!important; flex:0 1 auto; align-items:center; justify-content:center;
    width:100%; max-width:1600px; height:100%; min-width:0;
    gap:clamp(18px,3.2vw,64px);
  }
  body.theme-extra .calendar-wrap-tree .tree-stage {
    position:relative; flex:none;
    aspect-ratio:1122 / 1402!important;
    height:auto!important;
    max-height:calc(100dvh - 24px)!important;
    margin:0!important;
    border-radius:30px 0 30px 30px;
  }
  body.theme-extra.tree-desktop-info-on .calendar-wrap-tree .tree-stage {
    width:min(calc((100dvh - 24px) * .8002853), 54vw)!important;
    max-width:100%!important;
  }
  body.theme-extra.tree-desktop-info-on .calendar-wrap-tree > .tree-layout {
    justify-content:space-between;
  }
  body.theme-extra.tree-desktop-info-off .calendar-wrap-tree .tree-stage {
    width:min(calc((100dvh - 24px) * .8002853), calc(100vw - 44px))!important;
    max-width:100%!important;
  }
  body.theme-extra .tree-desktop-info {
    flex:1 1 0; min-width:0; max-width:720px; max-height:calc(100dvh - 28px);
    overflow-y:auto; scrollbar-width:thin;
    padding:clamp(14px,2.6vw,42px) clamp(10px,2vw,32px);
    display:flex; flex-direction:column; justify-content:center;
    color:#fcf4df;
    background:linear-gradient(135deg,rgba(21,67,48,.26),rgba(8,35,28,.08));
    border-left:1px solid rgba(231,194,103,.33);
    border-radius:0 20px 20px 0;
  }
  body.theme-extra .tree-desktop-kicker {
    font-size:clamp(.7rem,.9vw,.9rem);letter-spacing:.14em;
    color:#e9c87a; margin-bottom:clamp(12px,2vh,24px);
  }
  body.theme-extra .tree-desktop-heading {
    font:700 clamp(1.9rem,3.2vw,4.3rem)/1.08 UbuntuLocal,Ubuntu,system-ui,sans-serif;
    color:#fff1c7; overflow-wrap:anywhere; text-wrap:balance;
    margin:0 0 clamp(12px,2vh,26px); letter-spacing:-.025em;
    text-shadow:0 4px 22px rgba(0,0,0,.25);
  }
  body.theme-extra .tree-desktop-subtitle {
    font-size:clamp(1rem,1.3vw,1.28rem); line-height:1.55;
    margin:0 0 14px;color:#f3f3e8;
  }
  body.theme-extra .tree-desktop-intro {
    font-size:clamp(.96rem,1.15vw,1.13rem);line-height:1.62;color:#e0e9db;
    overflow-wrap:anywhere;
  }
  body.theme-extra .tree-desktop-intro > :first-child{margin-top:0}
  body.theme-extra .tree-desktop-intro img{max-width:100%;height:auto}
  body.theme-extra .tree-desktop-countdown {
    margin-top:clamp(10px,2vh,22px);padding:12px 14px;
    border:1px solid rgba(245,220,144,.37);border-radius:14px 0 14px 14px;
    color:#f7e8bc;background:rgba(4,27,19,.38);
  }
  body.theme-extra .tree-desktop-links{display:flex;gap:20px;margin-top:clamp(12px,2.5vh,26px);font-size:.85rem}
  body.theme-extra .tree-desktop-links a{color:#e7d9af;text-underline-offset:4px}
  body.theme-extra .advent-shell > .site-footer { display:none!important; }
  body.theme-extra.tree-desktop-info-off .advent-shell > .site-footer {
    display:flex!important; position:absolute;right:18px;bottom:8px;z-index:11;
    margin:0;gap:14px;font-size:.78rem;opacity:.65;
  }
  body.theme-extra.tree-desktop-info-off .advent-shell > .site-footer:hover,
  body.theme-extra.tree-desktop-info-off .advent-shell > .site-footer:focus-within {opacity:1}
}
@media (min-width:700px) and (max-width:930px) {
  body.theme-extra .calendar-wrap-tree > .tree-layout {gap:16px}
  body.theme-extra.tree-desktop-info-on .calendar-wrap-tree .tree-stage{width:min(calc((100dvh - 24px) * .8002853), 52vw)!important}
  body.theme-extra .tree-desktop-info {padding:12px 10px}
  body.theme-extra .tree-desktop-heading {font-size:clamp(1.6rem,3.1vw,2.6rem)}
}
