/* V11: rahmenlose, glasartig lackierte Weihnachtskugeln und Premium-Tuerchen */
.theme-extra .tree-door .bauble-button,
.theme-extra .tree-door .bauble-locked,
.theme-extra .tree-door[class*="bauble-color-"] .bauble-button,
.theme-extra .tree-door[class*="bauble-color-"] .bauble-locked {
  position:relative;
  border:0 !important;
  outline:0 solid transparent;
  border-radius:50%;
  background:
    radial-gradient(ellipse at 26% 16%, rgba(255,255,255,.96) 0%,rgba(255,255,255,.6) 3%,rgba(255,255,255,.08) 13%,transparent 22%),
    radial-gradient(ellipse at 40% 26%,rgba(255,255,255,.42) 0%,transparent 36%),
    radial-gradient(ellipse at 78% 87%,rgba(0,0,0,.75) 0%,transparent 62%),
    radial-gradient(circle at 32% 27%,var(--c-light) 0%,var(--c-mid) 48%,var(--c-dark) 91%) !important;
  box-shadow:
    inset 3px 4px 10px rgba(255,255,255,.18),
    inset -10px -15px 22px rgba(0,0,0,.58),
    1px 8px 11px rgba(0,0,0,.45),
    0 2px 3px rgba(0,0,0,.5) !important;
  transform-style:preserve-3d;
  transition: transform .32s ease, filter .32s ease, box-shadow .32s ease;
}
/* Dezente Lichtspiegelung auf der Glasoberflaeche statt Kreisrahmen. */
.theme-extra .tree-door .bauble-button::after,
.theme-extra .tree-door .bauble-locked::after {
  content:"";
  position:absolute;
  inset:7% 8% 14% 8%;
  border:0 !important;
  border-radius:50%;
  pointer-events:none;
  background: radial-gradient(ellipse at 25% 21%,rgba(255,255,255,.31),transparent 40%);
  box-shadow:none !important;
}
/* Kleine Metallkappe oberhalb, ohne umlaufenden Goldring. */
.theme-extra .tree-door .bauble-button::before,
.theme-extra .tree-door .bauble-locked::before {
  border:0;
  background:linear-gradient(90deg,#5f431a 0%,#f8e3a6 31%,#a47730 70%,#553617 100%);
  box-shadow:0 2px 4px rgba(0,0,0,.35);
}
.theme-extra .tree-door.is-unlocked .bauble-button {
  box-shadow:inset 3px 4px 10px rgba(255,255,255,.28),inset -10px -15px 22px rgba(0,0,0,.5),0 8px 14px rgba(0,0,0,.5),0 0 14px rgba(255,219,130,.28) !important;
}
.theme-extra .tree-door .bauble-button:is(:hover,:focus-visible) {
  filter:brightness(1.18) saturate(1.12);
  box-shadow:inset 3px 4px 12px #fff8d955,inset -12px -16px 22px #000a,0 12px 22px #000b,0 0 28px 8px #ffdb84a1 !important;
}
.theme-extra .tree-door .bauble-button:focus-visible {
  outline:3px solid #fff !important;
  outline-offset:5px;
}
.theme-extra .bauble-number{
  color:#fff4dc;
  text-shadow:0 1px 2px #000e,0 3px 7px #000a;
  font-weight:700;
}
.theme-extra .bauble-color-gold .bauble-number,
.theme-extra .bauble-color-ivory .bauble-number{color:#402813;text-shadow:0 1px 2px #fff9}
/* Premium-Ansicht: grosses Foto, warme Papierkarte und goldene Kontur. */
.theme-extra dialog{
  width:min(780px,calc(100% - 28px));
  max-height:min(91dvh,1020px);
  border:2px solid #c99b47;
  border-radius:30px 0 30px 30px;
  background:#fff9ed;
  color:#17372d;
  overflow:auto;
  box-shadow:0 30px 100px #000a,0 0 30px #e4af4c48;
}
.theme-extra dialog::backdrop{background:#031a14cf;backdrop-filter:blur(9px)}
.theme-extra dialog .dialog-image{
  display:block;
  width:100%;
  height:clamp(230px,37vw,390px) !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:cover;
  object-position:center;
  background:#163c2b;
}
.theme-extra dialog .dialog-content{
  position:relative;
  padding:clamp(24px,4.7vw,42px);
  background:linear-gradient(152deg,#fffdf5 0%,#fff7e7 70%,#f5ebd7 100%);
}
.theme-extra dialog .dialog-kicker{
  display:flex;gap:17px;align-items:center;
  font-family:RobotoLocal,system-ui,sans-serif;
  color:#946e2d;font-size:.82rem;letter-spacing:.17em;font-weight:700;
}
.theme-extra dialog .dialog-kicker::after{
  content:"";display:block;width:48px;height:1px;background:#bd913c;
}
.theme-extra dialog .dialog-content h2{
  font-family:UbuntuLocal,system-ui,sans-serif;
  font-size:clamp(1.9rem,4.5vw,3.15rem);
  line-height:1.12;
  letter-spacing:-.025em;
  font-weight:700;
  color:#103d2f;
  max-width:20ch;
  margin:15px 0 20px;
}
.theme-extra dialog .dialog-content>p,
.theme-extra dialog .dialog-content .rich-content{
  color:#243f34;line-height:1.7;
}
.theme-extra dialog .dialog-content .rich-content h2,
.theme-extra dialog .dialog-content .rich-content h3{color:#103e2e}
.theme-extra dialog .close-btn{
  position:sticky;top:13px;right:13px;float:right;
  z-index:10;
  width:46px;height:46px;
  margin:14px 14px -60px auto;
  background:#fffdf5;border:1px solid #e6d7b8;
  border-radius:50%;box-shadow:0 5px 18px #0004;
}
.theme-extra dialog .text-link,
.theme-extra dialog .primary-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 22px;
  text-decoration:none;
  background:linear-gradient(130deg,#a51c32,#781525);
  color:white;border:0;border-radius:999px;
  box-shadow:0 8px 20px #78152533;
  font-family:RobotoLocal,system-ui,sans-serif;font-weight:700;
}
.theme-extra dialog .text-link:hover,
.theme-extra dialog .primary-btn:hover{filter:brightness(1.15);transform:translateY(-2px)}
.theme-extra dialog .giveaway{
  background:#fffdf6;
  border:1px solid #dec99e;
  border-radius:20px 0 20px 20px;
}
.theme-extra dialog .giveaway h3{color:#103b2e}
@media(max-width:600px){
  .theme-extra dialog .dialog-image{height:clamp(185px,55vw,285px) !important}
  .theme-extra dialog .dialog-content{padding:24px 18px 28px}
  .theme-extra dialog{border-radius:20px 0 20px 20px}
}
@media(prefers-reduced-motion:reduce){
  .theme-extra .tree-door .bauble-button{transition:none!important}
}
