.bfjul-shell{position:relative;overflow:hidden;background:var(--bf-outer,#e8e4dc);padding:15px;border-radius:9px;box-shadow:0 20px 50px rgba(37,33,26,.10)}.bfjul{position:relative;isolation:isolate;overflow:hidden;padding:74px 27px 62px;border-radius:7px;background:radial-gradient(ellipse at 50% -3%,rgba(245,228,204,.26),transparent 44%),radial-gradient(ellipse at 48% 0%,rgba(241,217,185,.18),transparent 60%),radial-gradient(ellipse at 5% 100%,rgba(40,51,42,.31),transparent 65%),linear-gradient(135deg,#878073,var(--bf-background) 50%,#60685e);font-family:Raleway,Arial,sans-serif;color:#fff7eb;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.bfjul *,.bfjul *::before,.bfjul *::after,.bfjul-overlay *,.bfjul-overlay *::before,.bfjul-overlay *::after{box-sizing:border-box}
.bfjul::before{content:"";pointer-events:none;position:absolute;inset:0;opacity:.23;background:repeating-linear-gradient(0deg,transparent 0px,rgba(255,255,255,.05) 1px,transparent 2px,transparent 5px),repeating-linear-gradient(90deg,transparent 0px,rgba(30,25,20,.05) 1px,transparent 2px,transparent 6px)}
.bfjul::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 30%,transparent 100%);opacity:.55;z-index:0}.bfjul-atmosphere{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}.bfjul-mist{position:absolute;left:50%;top:-2%;width:min(92%,980px);height:240px;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(255,255,255,.18) 0,rgba(255,255,255,.11) 22%,rgba(220,233,240,.09) 40%,rgba(220,233,240,0) 72%);filter:blur(26px);opacity:.78}.bfjul-luxe{position:absolute;display:block;width:10px;height:10px;border-radius:50%;background:radial-gradient(circle,rgba(255,247,232,.96) 0,rgba(243,215,173,.82) 34%,rgba(243,215,173,0) 72%);box-shadow:0 0 18px rgba(243,215,173,.28);opacity:.55;animation:bfjul-luxePulse 6.8s ease-in-out infinite}.bfjul-luxe::before,.bfjul-luxe::after{content:"";position:absolute;left:50%;top:50%;background:rgba(255,243,219,.78);transform:translate(-50%,-50%)}.bfjul-luxe::before{width:1px;height:18px;border-radius:999px}.bfjul-luxe::after{width:18px;height:1px;border-radius:999px}.bfjul-luxe-1{top:56px;left:16%;animation-delay:0s;transform:scale(.82)}.bfjul-luxe-2{top:112px;right:18%;animation-delay:1.2s;transform:scale(.62)}.bfjul-luxe-3{top:215px;left:8%;animation-delay:2.6s;transform:scale(.55)}.bfjul-luxe-4{top:250px;right:9%;animation-delay:3.4s;transform:scale(.7)}
.bfjul-inner{position:relative;z-index:2;max-width:1040px;margin:auto}.bfjul-inner::before{content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);width:min(76%,760px);height:180px;background:radial-gradient(ellipse at center,rgba(255,251,242,.08),rgba(255,251,242,0) 72%);pointer-events:none;z-index:-1}
.bfjul-heading{text-align:center;margin:0 0 40px;text-shadow:0 1px 0 rgba(0,0,0,.08)}.bfjul-eyebrow{display:block;margin-bottom:17px;font-size:11px;letter-spacing:3px;font-weight:600;color:#ecdbc0}.bfjul-heading h2{padding:0;margin:0 0 18px;color:#fffaf1;font-family:'Playfair Display',Georgia,serif;font-size:clamp(31px,4.2vw,50px);line-height:1.22;font-weight:400}.bfjul-heading p{font-size:15px;line-height:1.9;max-width:560px;margin:auto;color:#faf0e4}.bfjul-ornament{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:26px;font-size:24px;color:#ead6b4;opacity:.92}.bfjul-ornament::before,.bfjul-ornament::after{content:'';width:65px;height:1px;background:linear-gradient(90deg,rgba(232,216,186,0),rgba(232,216,186,.62),rgba(232,216,186,0))}
.bfjul-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.bfjul-door,.bfjul-flying{appearance:none;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;width:100%;aspect-ratio:1;padding:12px;border:1px solid #d4c7b3;border-radius:3px;background-color:var(--bf-paper);background-image:radial-gradient(ellipse at 25% 18%,rgba(255,255,255,.7),transparent 62%),radial-gradient(circle at 7px 12px,rgba(101,80,58,var(--bf-fiber-alpha,.04)) .6px,transparent 1.2px),radial-gradient(circle at 24px 28px,rgba(123,100,71,var(--bf-cross-alpha,.03)) .7px,transparent 1.5px),linear-gradient(145deg,rgba(255,255,255,.16),rgba(134,107,72,.04));box-shadow:0 3px 5px rgba(33,28,21,.11),0 15px 22px rgba(33,28,21,.12),inset 0 1px 0 rgba(255,255,255,.76),inset 0 -14px 20px rgba(124,98,67,.03);font-family:Raleway,Arial,sans-serif;transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s;backface-visibility:hidden;transform:translateZ(0)}
.bfjul-door::before,.bfjul-flying::before{content:"";position:absolute;inset:4px;border:1px solid rgba(164,139,103,.14);pointer-events:none}.bfjul-number{font-family:'Playfair Display',Georgia,serif;font-weight:400;color:#8b7352;font-size:clamp(28px,3vw,44px);line-height:1.1}.bfjul-door-label{color:#9a876c;font-size:11px;letter-spacing:1px}
.bfjul-locked{cursor:not-allowed}.bfjul-locked::after{content:"";position:absolute;right:-1px;top:43%;width:10px;height:17px;border:1px solid #d4c7b3;border-right:none;border-radius:12px 0 0 12px;background:var(--bf-background)}
.bfjul-today{background-color:var(--bf-green);background-image:radial-gradient(ellipse at 50% 0%,rgba(255,248,232,.18),transparent 58%),radial-gradient(circle at 50% 115%,rgba(255,229,182,.10),transparent 40%),repeating-linear-gradient(40deg,rgba(255,255,255,.025) 0px,rgba(255,255,255,.025) 1px,transparent 1px,transparent 5px);border-color:#7c8b72;box-shadow:0 6px 12px rgba(31,36,27,.22),0 16px 26px rgba(31,36,27,.18),0 0 0 1px rgba(238,221,190,.08),inset 0 0 0 3px rgba(226,214,179,.12);cursor:pointer}.bfjul-today .bfjul-number,.bfjul-today .bfjul-door-label{color:#fff8ec}.bfjul-today .bfjul-door-label{font-size:10px;letter-spacing:.3px}.bfjul-today:hover{transform:translateY(-5px) scale(1.012);box-shadow:0 12px 20px rgba(31,36,27,.24),0 22px 34px rgba(31,36,27,.18),0 0 22px rgba(241,222,189,.10)}.bfjul-today:focus-visible,.bfjul-cta:focus-visible{outline:3px solid #e9d5ac;outline-offset:4px}
.bfjul-finished{background-color:#dbd3c4;background-image:repeating-linear-gradient(35deg,rgba(106,91,70,.05) 0,rgba(106,91,70,.05) 1px,transparent 1px,transparent 5px);opacity:.83;border-color:#cdc3b4;cursor:default;clip-path:polygon(0 0,100% 0,100% 73%,96% 77%,99% 81%,94% 85%,98% 89%,92% 93%,95% 97%,88% 100%,0 100%)}.bfjul-finished .bfjul-number,.bfjul-finished .bfjul-door-label{color:#988e80}.bfjul-finished .bfjul-door-label{font-size:10px;letter-spacing:.3px}.bfjul-placeholder{opacity:.3;box-shadow:inset 0 3px 15px rgba(30,30,24,.18)}.bfjul-placeholder>*{visibility:hidden}
.bfjul-flying{position:fixed!important;z-index:2147483000!important;margin:0!important;pointer-events:none!important;background-color:var(--bf-green,#50614f);background-image:linear-gradient(145deg,#5e705a,#465747);border-color:#7c8b72;transform-origin:center center;will-change:transform,opacity}.bfjul-flying .bfjul-number,.bfjul-flying .bfjul-door-label{color:#fffaf1}
.bfjul-status{min-height:24px;margin:26px 0 17px;text-align:center;color:#f4ead9;font-size:13px;text-shadow:0 1px 0 rgba(0,0,0,.08)}.bfjul-footer{text-align:center;color:#e8d7b8;margin-top:30px}.bfjul-footer>span{font-size:22px}.bfjul-footer p{margin:8px 0;color:#fff2df;font-family:'Playfair Display',Georgia,serif;font-size:19px}.bfjul-footer small{display:block;max-width:580px;margin:auto;color:#e9dfd1;font-size:11px;line-height:1.8}
.bfjul-overlay{position:fixed;inset:0;z-index:2147483001;display:flex;align-items:center;justify-content:center;padding:22px;overflow-y:auto;background:rgba(35,37,31,.76);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:bfjul-fade .5s ease both}.bfjul-overlay[hidden],.bfjul-cta[hidden],.bfjul-enquiry[hidden]{display:none!important}.bfjul-modal{position:relative;width:min(100%,540px);max-height:calc(100dvh - 44px);overflow-y:auto;padding:49px 34px 36px;border-radius:4px;border:1px solid #c8b48e;background:#f4eee3;background-image:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.82),transparent 70%),repeating-linear-gradient(30deg,rgba(111,90,62,.025) 0,rgba(111,90,62,.025) 1px,transparent 1px,transparent 5px);box-shadow:0 28px 80px rgba(0,0,0,.28);color:#403c34;font-family:Raleway,Arial,sans-serif;text-align:center;outline:none;animation:bfjul-reveal .9s cubic-bezier(.22,1,.36,1) both}.bfjul-modal::before{content:"";position:absolute;inset:10px;border:1px solid rgba(159,130,89,.34);pointer-events:none}.bfjul-close{position:absolute;top:15px;right:17px;z-index:3;background:transparent;border:none;color:#776e60;font-size:30px;cursor:pointer;width:36px;height:36px;line-height:1}.bfjul-sparkles{color:#ad956e;letter-spacing:16px;font-size:22px;margin:0 0 10px;animation:bfjul-twinkle 2s ease-out both}.bfjul-date{color:#8c7555;font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:600;margin-bottom:16px}.bfjul-title{color:#403c34!important;font-family:'Playfair Display',Georgia,serif!important;font-size:clamp(28px,5vw,39px)!important;line-height:1.3!important;font-weight:400!important;padding:0!important;margin:0 0 16px!important}.bfjul-star{color:#a48a60;font-size:17px;margin:0 0 18px}.bfjul-description{color:#555047;line-height:1.8;font-size:15px;max-width:400px;margin:0 auto 22px}.bfjul-deadline{border:1px solid #d5b99b;background:#fff8eb;padding:14px 16px;margin:0 auto 24px;max-width:420px;display:flex;flex-direction:column;gap:6px}.bfjul-deadline strong{font-size:13px;letter-spacing:1.7px;color:#77543c}.bfjul-deadline span{font-size:13px;line-height:1.5;color:#685748}.bfjul-cta,.bfjul-submit{display:inline-block;padding:14px 26px;background:#50614f;color:#fff!important;border:1px solid #50614f;border-radius:3px;font:600 13px Raleway,Arial,sans-serif;text-decoration:none!important;cursor:pointer;transition:transform .25s,background .25s}.bfjul-cta:hover,.bfjul-submit:hover{background:#405141;transform:translateY(-2px)}.bfjul-form{display:grid;gap:12px;text-align:left}.bfjul-form label{display:grid;gap:5px;font-size:13px;font-weight:600;color:#4a473e}.bfjul-form input:not([type=checkbox]),.bfjul-form textarea{width:100%;padding:11px;border:1px solid #cabbab;background:#fffefb;color:#403c34;font:14px Raleway,Arial,sans-serif}.bfjul-form .bfjul-consent{display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.5}.bfjul-form .bfjul-consent input{width:auto;margin-top:4px}.bfjul-submit:disabled{opacity:.65;cursor:wait}.bfjul-form-feedback{margin:5px 0;font-size:13px}.bfjul-enquiry>small{display:block;margin-top:13px;color:#71695f;line-height:1.6}.bfjul-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}body.bfjul-modal-open{overflow:hidden!important}.bfjul-snow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4;mix-blend-mode:screen;opacity:.92}
@keyframes bfjul-fade{from{opacity:0}to{opacity:1}}@keyframes bfjul-reveal{from{opacity:0;transform:translateY(16px) scale(.945)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes bfjul-twinkle{from{opacity:.2;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes bfjul-luxePulse{0%,100%{opacity:.18;transform:scale(.85)}50%{opacity:.58;transform:scale(1)}}
@media(max-width:980px){.bfjul-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}
@media(max-width:600px){.bfjul{padding:44px 14px}.bfjul-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bfjul-door{padding:8px;gap:8px}.bfjul-number{font-size:31px}.bfjul-heading p{font-size:14px}.bfjul-modal{padding:43px 22px 30px}}
@media(prefers-reduced-motion:reduce){.bfjul *,.bfjul-overlay *,.bfjul-overlay{animation:none!important;transition:none!important}}

/* 1.1.0: Smalere og mer oversiktlig mobiloppsett. */
.bfjul-intro-mobile{display:none}
@media (max-width:600px){
  .bfjul-shell{padding:5px;border-radius:6px}
  .bfjul{padding:27px 11px 31px;border-radius:5px}
  .bfjul-heading{margin-bottom:22px}
  .bfjul-eyebrow{font-size:10px;letter-spacing:2.2px;margin-bottom:9px}
  .bfjul-heading h2{font-size:clamp(24px,6.5vw,29px);line-height:1.2;letter-spacing:-.4px;margin-bottom:12px;text-wrap:balance}
  .bfjul-heading .bfjul-intro-desktop{display:none}
  .bfjul-heading .bfjul-intro-mobile{display:block;font-size:13px;line-height:1.55;max-width:300px}
  .bfjul-ornament{margin-top:15px;font-size:19px}
  .bfjul-ornament::before,.bfjul-ornament::after{width:45px}
  .bfjul-grid{gap:8px}
  .bfjul-door{padding:6px;gap:6px;min-width:0}
  .bfjul-number{font-size:clamp(24px,7.6vw,34px)}
  .bfjul-door-label{font-size:9px}
  .bfjul-status{margin:16px 0 12px;font-size:12px;line-height:1.5}
  .bfjul-footer{margin-top:17px}
  .bfjul-footer p{font-size:17px}
  .bfjul-overlay{padding:12px}
  .bfjul-modal{max-height:calc(100dvh - 24px);padding:39px 18px 26px}
  .bfjul-description{font-size:14px;line-height:1.65}
  .bfjul-deadline{padding:12px 10px;margin-bottom:17px}
  .bfjul-cta,.bfjul-submit{max-width:100%;min-height:44px}
}
@media (max-width:360px){.bfjul{padding-left:9px;padding-right:9px}.bfjul-grid{gap:6px}.bfjul-heading h2{font-size:23px}}

/* 1.2.0 – mobilkort med færre rader, uten å endre desktop. */
@media (max-width:600px) {
  .bfjul-shell { padding: 4px; }
  .bfjul { padding: 25px 10px 25px; }
  .bfjul-heading { margin-bottom: 17px; }
  .bfjul-heading h2 { font-size: clamp(22px, 5.8vw, 27px); line-height: 1.16; }
  .bfjul-heading .bfjul-intro-mobile { font-size: 12.5px; }
  .bfjul-ornament { margin-top: 12px; }
  .bfjul-grid { grid-template-columns: repeat(var(--bf-mobile-columns,4),minmax(0,1fr)); gap: 7px; }
  .bfjul-door { padding: 3px; gap: 3px; border-radius: 3px; }
  .bfjul-number { font-size: clamp(20px, 5.6vw, 29px); line-height: 1; }
  .bfjul-door-label { font-size: 8px; }
  .bfjul-today .bfjul-door-label,.bfjul-finished .bfjul-door-label { font-size: 7px; }
  .bfjul-door::before { inset: 3px; }
  .bfjul-locked::after { width: 7px; height: 12px; }
  .bfjul-status { margin: 13px 0 8px; }
  .bfjul-footer { margin-top: 12px; }
}

/* 1.3.0: Kort mobiloppsett. Behold nødvendig status for skjermlesere. */
@media (max-width:600px) {
  .bfjul { padding-top: 22px; padding-bottom: 15px; }
  .bfjul-heading { margin-bottom: 15px; }
  .bfjul-heading h2 { margin-bottom: 9px; }
  .bfjul-heading .bfjul-intro-mobile { line-height: 1.4; }
  .bfjul-ornament { margin-top: 10px; font-size: 17px; }
  .bfjul-ornament::before,.bfjul-ornament::after { width: 36px; }
  .bfjul-status { position: static; width: auto; height: auto; padding: 0; margin: 13px 0 8px; overflow: visible; clip: auto; white-space: normal; border: 0; }
  .bfjul-footer { display: block !important; margin-top: 16px; }
  .bfjul-footer p { font-size: 16px; }
  .bfjul-footer small { font-size: 12px; line-height: 1.5; padding: 0 4px; }
}

/* 1.4.0: uavhengig PC-oppsett; eksisterende mobilstil beholdes. */
@media (min-width:981px) {
  .bfjul { padding: 38px 27px 30px; }
  .bfjul-heading { margin-bottom: 24px; }
  .bfjul-heading h2 { font-size: clamp(31px,3.5vw,44px); margin-bottom: 12px; }
  .bfjul-eyebrow { margin-bottom: 10px; }
  .bfjul-ornament { margin-top: 15px; }
  .bfjul-grid { grid-template-columns: repeat(var(--bf-desktop-columns,8),minmax(0,1fr)); gap: 12px; }
  .bfjul-door { min-width: 0; padding: 6px; gap: 5px; }
  .bfjul-number { font-size: clamp(24px,2.6vw,36px); }
  .bfjul-status { margin: 16px 0 8px; }
  .bfjul-footer { margin-top: 12px; }
}


/* 1.5.0: eksklusiv atmosfære med diskré frost og lysglimt. */
@media (max-width: 600px) {
  .bfjul-mist { width: 112%; height: 170px; top: -1%; filter: blur(20px); opacity: .64; }
  .bfjul-luxe-1 { top: 38px; left: 11%; }
  .bfjul-luxe-2 { top: 76px; right: 12%; }
  .bfjul-luxe-3 { top: 155px; left: 4%; opacity: .22; }
  .bfjul-luxe-4 { top: 178px; right: 5%; opacity: .28; }
}
@media (min-width: 981px) {
  .bfjul-mist { height: 270px; top: -3%; opacity: .82; }
}
@media (prefers-reduced-motion: reduce) {
  .bfjul-luxe { animation: none !important; opacity: .22; }
}

/* 1.6.0: frostrøyk i Divi-seksjonen, bak radene. */
.bfjul-frost-section{position:relative;overflow:hidden;isolation:isolate}
.bfjul-frost-section>.et_pb_row{position:relative;z-index:2}
.bfjul-outer-frost{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}
@media(prefers-reduced-motion:reduce){.bfjul-outer-frost{display:none}}

/* 1.7.0: valgfri fokusmodus for Divi. */
body.bfjul-focus-mode #main-header,body.bfjul-focus-mode #top-header,body.bfjul-focus-mode #main-footer,body.bfjul-focus-mode .et-l--header,body.bfjul-focus-mode .et-l--footer {display:none!important}
body.bfjul-focus-mode #page-container {padding-top:0!important}
body.bfjul-focus-mode #et-main-area {margin-top:0!important}
.bfjul-home{text-align:center;margin:16px 0 4px;font:500 13px Raleway,Arial,sans-serif}
.bfjul-home a{color:#333;text-decoration:underline;text-underline-offset:3px}
.bfjul-today .bfjul-door-label{white-space:nowrap}
@media(max-width:600px){.bfjul-today .bfjul-door-label{font-size:clamp(6px,1.65vw,8px)}}

/* 1.8: flexible theme labels and optional content. */
.bfjul-door .bfjul-door-label{white-space:normal;overflow-wrap:anywhere;line-height:1.2;max-width:100%;text-align:center;letter-spacing:.5px}
.bfjul-modal [hidden]{display:none!important}
.bfjul-description{white-space:pre-line}
.bfjul-prize-image{max-width:100%;max-height:220px;object-fit:contain;margin:0 auto 16px;display:block}
.bfjul-prices{margin:0 auto 16px;display:flex;gap:10px;justify-content:center;align-items:baseline;flex-wrap:wrap}.bfjul-prices strong{font-size:24px;color:#50614f}.bfjul-prices del,.bfjul-prices span{font-size:13px}
.bfjul-day-terms{font-size:13px;line-height:1.5;margin:0 auto 16px;max-width:420px}.bfjul-info-link{display:block;margin:14px auto;color:#50614f!important;text-decoration:underline!important;font-size:14px}

/* 1.9.4: adapt desktop layout to available viewport width AND height.
   Keep the established mobile layout and the selected number of columns. */
@media (min-width:601px) and (max-width:980px) {
  .bfjul-shell .bfjul {padding:30px 20px 24px;}
  .bfjul-shell .bfjul-inner {max-width:650px;}
  .bfjul-shell .bfjul-heading {margin-bottom:20px;}
  .bfjul-shell .bfjul-number {font-size:clamp(25px,3.5vw,34px);}
}
@media (min-width:981px) {
  .bfjul-shell .bfjul-inner {max-width:min(1040px, 84vw);}
  .bfjul-shell .bfjul-grid {gap:clamp(8px, .85vw, 12px);}
  .bfjul-shell .bfjul-number {font-size:clamp(26px, 2.2vw, 36px);}
  .bfjul-shell .bfjul-door-label {font-size:clamp(10px, .85vw, 11px);}
}
@media (min-width:981px) and (max-height:900px) {
  .bfjul-shell {padding:10px;}
  .bfjul-shell .bfjul {padding:clamp(17px, 3vh, 30px) 20px 20px;}
  .bfjul-shell .bfjul-inner {
    max-width:min(1040px, 82vw, max(560px, calc((100vh - 360px) / var(--bf-desktop-rows,3) * var(--bf-desktop-columns,8))));
    max-width:min(1040px, 82vw, max(560px, calc((100dvh - 360px) / var(--bf-desktop-rows,3) * var(--bf-desktop-columns,8))));
  }
  .bfjul-shell .bfjul-heading {margin-bottom:16px;}
  .bfjul-shell .bfjul-heading h2 {font-size:clamp(28px, 4.3vh, 40px);line-height:1.17;margin-bottom:9px;}
  .bfjul-shell .bfjul-eyebrow {margin-bottom:8px;}
  .bfjul-shell .bfjul-heading p {font-size:14px;line-height:1.55;}
  .bfjul-shell .bfjul-ornament {margin-top:9px;font-size:19px;}
  .bfjul-shell .bfjul-grid {gap:9px;}
  .bfjul-shell .bfjul-door {gap:4px;padding:5px;}
  .bfjul-shell .bfjul-number {font-size:clamp(24px, 4.1vh, 34px);}
  .bfjul-shell .bfjul-status {margin:12px 0 6px;min-height:0;line-height:1.5;}
  .bfjul-shell .bfjul-footer {margin-top:8px;}
  .bfjul-shell .bfjul-footer p {font-size:17px;margin:5px 0;}
  .bfjul-shell .bfjul-footer>span {font-size:18px;}
}
/* The dialog is moved to body by calendar.js, so scope separately. */
@media (min-width:601px) {
  .bfjul-overlay .bfjul-modal {
    width:min(100%,540px);max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);
    box-sizing:border-box;flex-shrink:0;overscroll-behavior:contain;overflow-wrap:anywhere;
  }
  .bfjul-overlay .bfjul-description {font-size:15px;line-height:1.65;}
  .bfjul-overlay .bfjul-day-terms {font-size:13px;line-height:1.55;}
}
@media (min-width:601px) and (max-height:900px) {
  .bfjul-overlay {padding:18px;}
  .bfjul-overlay .bfjul-modal {padding:32px 28px 24px;}
  .bfjul-overlay .bfjul-title {font-size:clamp(27px,4.4vh,35px)!important;line-height:1.2!important;margin-bottom:12px!important;}
  .bfjul-overlay .bfjul-sparkles {font-size:18px;margin-bottom:7px;}
  .bfjul-overlay .bfjul-date {margin-bottom:10px;}
  .bfjul-overlay .bfjul-star {margin-bottom:12px;}
  .bfjul-overlay .bfjul-description {margin-bottom:14px;}
  .bfjul-overlay .bfjul-day-terms {margin-bottom:12px;}
  .bfjul-overlay .bfjul-deadline {padding:10px 12px;margin-bottom:15px;}
  .bfjul-overlay .bfjul-prize-image {max-height:min(180px,24vh);}
  .bfjul-overlay .bfjul-cta,.bfjul-overlay .bfjul-submit {padding:11px 20px;min-height:44px;}
}

/* 1.9.5: keep category names intact, including custom labels. */
.bfjul-door .bfjul-door-label {
  display:block; white-space:nowrap; overflow-wrap:normal; word-break:normal;
  hyphens:none; max-width:none; flex-shrink:0; letter-spacing:.15px;
}

/* 1.9.6: scroll the entire framed card rather than its contents. */
.bfjul-overlay { align-items:flex-start; overscroll-behavior:contain; }
.bfjul-overlay .bfjul-modal { margin:auto; flex-shrink:0; max-height:none; overflow:visible; }
.bfjul-overlay .bfjul-prize-image { width:auto; height:auto; max-width:100%; max-height:220px; object-fit:contain; border-radius:3px; }
@media(max-width:600px) { .bfjul-overlay .bfjul-prize-image { max-height:180px; } }

/* 1.9.7: explicit mobile grid and visible calendar notes, independent of theme footer styles. */
@media(max-width:600px){
  .bfjul-shell .bfjul .bfjul-grid{grid-template-columns:repeat(var(--bf-mobile-columns,4),minmax(0,1fr));}
  .bfjul-shell .bfjul .bfjul-status{display:block!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;margin:13px 0 8px!important;padding:0!important;font-size:12px;line-height:1.5;}
  .bfjul-shell .bfjul .bfjul-footer{display:block!important;position:relative;height:auto;visibility:visible; margin-top:16px;}
  .bfjul-shell .bfjul .bfjul-footer p,.bfjul-shell .bfjul .bfjul-footer small{display:block!important;visibility:visible;white-space:normal;overflow-wrap:break-word;}
  .bfjul-shell .bfjul .bfjul-footer small{font-size:12px;line-height:1.5;}
}

/* 1.9.8: compact mobile spacing; keep doors, labels and conditions intact. */
@media(max-width:600px){
 .bfjul-shell .bfjul .bfjul-heading{margin-bottom:7px;}
 .bfjul-shell .bfjul .bfjul-ornament{margin-top:4px;margin-bottom:0;line-height:1;font-size:17px;}
 .bfjul-shell .bfjul .bfjul-status{min-height:0;margin:8px 0 3px!important;}
 .bfjul-shell .bfjul .bfjul-footer{margin-top:3px;}
 .bfjul-shell .bfjul .bfjul-footer>span{display:block;line-height:1;font-size:17px;margin:0 0 5px;}
 .bfjul-shell .bfjul .bfjul-footer p{display:none!important;}
 .bfjul-shell .bfjul .bfjul-footer small{margin:0 auto;}
}

/* 1.9.9: mobile settings take precedence over legacy rules and theme styling. */
@media(max-width:600px){
 .bfjul-shell[data-bfjul-version] .bfjul .bfjul-grid{grid-template-columns:repeat(var(--bf-mobile-columns,4),minmax(0,1fr))!important;}
 .bfjul-shell[data-bfjul-version] .bfjul .bfjul-heading{margin-bottom:7px!important;}
 .bfjul-shell[data-bfjul-version] .bfjul .bfjul-ornament{margin:4px 0 0!important;line-height:1;}
 .bfjul-shell[data-bfjul-version] .bfjul .bfjul-status{display:block!important;margin:8px 0 3px!important;}
 .bfjul-shell[data-bfjul-version] .bfjul .bfjul-footer{display:block!important;margin-top:3px!important;}
 .bfjul-shell[data-bfjul-version] .bfjul .bfjul-footer p{display:none!important;}
 .bfjul-shell[data-bfjul-version] .bfjul .bfjul-footer small{display:block!important;}
}

.bfjul-live-mount>p{text-align:center;padding:20px;color:#333}.bfjul-live-mount>button{display:block;margin:12px auto}
/* 2.1: consistent offer hierarchy and responsive quiz. */
.bfjul-prices{display:flex;flex-direction:column;align-items:center;gap:4px}.bfjul-prices span{order:-2;font-family:'Playfair Display',Georgia,serif;font-size:clamp(24px,5vw,36px);color:#50614f;font-weight:500}.bfjul-prices strong{order:-1}.bfjul-prices del:empty,.bfjul-prices span:empty,.bfjul-prices strong:empty{display:none}.bfjul-price-note,.bfjul-value{font-size:14px;color:#333;line-height:1.6;margin:0 auto 12px}.bfjul-value{font-weight:700}.bfjul-quiz{background:var(--quiz-paper,#f4f3f0);color:#333;border:1px solid #d6d2c9;padding:16px;margin:16px auto;border-radius:6px;text-align:left;font-family:Raleway,Arial,sans-serif}.bfjul-quiz-status{font-size:12px;color:#555;margin:0 0 4px}.bfjul-quiz progress{width:100%;height:8px;accent-color:var(--quiz-accent,#50614f);display:block;margin:0 0 14px}.bfjul-quiz h4{font-family:'Playfair Display',Georgia,serif;color:#333;font-size:20px;line-height:1.4;margin:10px 0 12px}.bfjul-quiz-question{margin:0 0 16px}.bfjul-quiz-question img{width:100%;max-height:220px;object-fit:contain;margin-bottom:10px}.bfjul-quiz-answer,.bfjul-quiz-next{display:block;width:100%;border:1px solid #c6c6b6;border-radius:4px;background:#fff;color:#333;text-align:left;font:500 14px/1.45 Raleway,Arial,sans-serif;padding:12px;margin:7px 0;cursor:pointer;white-space:normal}.bfjul-quiz-answer:disabled{cursor:default;opacity:1}.bfjul-quiz-answer.is-right{background:#dfe7d9;border-color:var(--quiz-accent,#50614f);color:#293c2d}.bfjul-quiz-answer.is-wrong{background:#efe0d9;border-color:#a66c59;color:#733d30}.bfjul-quiz-next{background:#c6c6b6;text-align:center;font-weight:600}.bfjul-quiz-feedback,.bfjul-quiz-reward{font-size:14px;color:#333;line-height:1.6;margin:10px 0}.bfjul-quiz-answer:focus-visible,.bfjul-quiz-next:focus-visible{outline:2px solid var(--quiz-accent,#50614f);outline-offset:2px}.bfjul-cta[aria-disabled=true]{cursor:default;opacity:.75}@media(max-width:480px){.bfjul-quiz{padding:12px}.bfjul-quiz h4{font-size:18px}}
.bfjul-quiz{color:var(--quiz-text,#333);font-family:var(--quiz-body,Raleway),Arial,sans-serif}.bfjul-quiz h4{font-family:var(--quiz-heading,'Playfair Display'),Georgia,serif;color:var(--quiz-text,#333)}.bfjul-quiz-answer,.bfjul-quiz-next{font-family:var(--quiz-body,Raleway),Arial,sans-serif;color:var(--quiz-text,#333);border-color:var(--quiz-button,#c6c6b6)}.bfjul-quiz-next{background:var(--quiz-button,#c6c6b6)}.bfjul-quiz-answer.is-wrong{border-color:var(--quiz-wrong,#a66c59)}.bfjul-quiz-feedback,.bfjul-quiz-reward{color:var(--quiz-text,#333)}
/* Green doors before their date, muted paper once expired. */
.bfjul{background:radial-gradient(ellipse at 50% -3%,rgba(245,228,204,.20),transparent 44%),radial-gradient(ellipse at 5% 100%,rgba(23,37,28,.32),transparent 65%),linear-gradient(135deg,rgba(255,255,255,.08),transparent 50%,rgba(0,0,0,.14)),var(--bf-background)}
.bfjul .bfjul-locked{background-color:var(--bf-future,var(--bf-green));background-image:radial-gradient(ellipse at 50% 0%,rgba(255,248,232,.18),transparent 58%),radial-gradient(circle at 50% 115%,rgba(255,229,182,.10),transparent 40%),repeating-linear-gradient(40deg,rgba(255,255,255,.025) 0px,rgba(255,255,255,.025) 1px,transparent 1px,transparent 5px);border-color:#7c8b72;box-shadow:0 6px 12px rgba(31,36,27,.22),0 16px 26px rgba(31,36,27,.18),inset 0 0 0 3px rgba(226,214,179,.12);opacity:1}.bfjul .bfjul-locked::after{border-color:#7c8b72}.bfjul .bfjul-today{border-color:var(--bf-today-border,#d9c59b)}.bfjul .bfjul-locked .bfjul-number,.bfjul .bfjul-locked .bfjul-door-label,.bfjul .bfjul-today .bfjul-number,.bfjul .bfjul-today .bfjul-door-label{color:var(--bf-door-text,#fff8ec)}.bfjul .bfjul-finished{background-color:var(--bf-finished,#dbd3c4);opacity:.85}.bfjul .bfjul-finished .bfjul-number,.bfjul .bfjul-finished .bfjul-door-label{color:var(--bf-finished-text,#675e52)}

.bfjul-pdf-link{display:table;margin:16px auto;padding:12px 22px;border:1px solid #a7aa98;border-radius:3px;background:#c6c6b6;color:#333!important;text-decoration:none!important;font-weight:600}.bfjul-pdf-link:hover{filter:brightness(.96)}

/* 2.6.3: separate offer headline from price details */
.bfjul-offer-head{font-family:'Playfair Display',Georgia,serif;font-size:clamp(24px,5vw,34px);line-height:1.25;color:#50614f;margin:0 auto 20px;font-weight:500;}
.bfjul-offer-head[hidden],.bfjul-prices[hidden],.bfjul-prize-image[hidden]{display:none!important;}
.bfjul-prices del{order:-2;font-size:14px;} .bfjul-prices strong{order:-1;font-size:23px;}

/* 2.6.4: quieter hierarchy and compact, readable dialog rhythm. */
.bfjul-overlay .bfjul-modal{box-sizing:border-box;padding:36px 30px 28px;color:#333333;}
.bfjul-overlay .bfjul-modal .bfjul-sparkles{font-size:20px;margin:0 0 8px;line-height:1.2;}
.bfjul-overlay .bfjul-modal .bfjul-date{margin:0 0 18px;font-size:11px;line-height:1.5;}
.bfjul-overlay .bfjul-modal .bfjul-offer-head{font-family:Raleway,Arial,sans-serif;font-size:clamp(16px,2.5vw,20px);line-height:1.4;font-weight:700;color:#50614f;margin:0 auto 12px;max-width:420px;}
.bfjul-overlay .bfjul-modal .bfjul-title{font-size:clamp(26px,4vw,34px)!important;line-height:1.23!important;color:#333333!important;margin:0 0 10px!important;}
.bfjul-overlay .bfjul-modal .bfjul-star{margin:0 0 12px;line-height:1.2;font-size:15px;}
.bfjul-overlay .bfjul-modal .bfjul-description{font-size:15px;line-height:1.65;color:#333333;margin:0 auto 18px;padding:0;}
.bfjul-overlay .bfjul-modal .bfjul-prices{gap:4px;margin:0 auto 12px;line-height:1.35;}
.bfjul-overlay .bfjul-modal .bfjul-prices del{font-size:13px;color:#71695f;}
.bfjul-overlay .bfjul-modal .bfjul-prices strong{font-size:22px;color:#50614f;}
.bfjul-overlay .bfjul-modal .bfjul-price-note,.bfjul-overlay .bfjul-modal .bfjul-value{font-size:14px;line-height:1.55;margin:0 auto 14px;padding:0;color:#333333;}
.bfjul-overlay .bfjul-modal .bfjul-day-terms{font-size:13px;line-height:1.55;margin:0 auto 14px;padding:0;color:#555047;}
.bfjul-overlay .bfjul-modal .bfjul-deadline{padding:11px 14px;gap:4px;margin:0 auto 16px;}
.bfjul-overlay .bfjul-modal .bfjul-deadline strong{font-size:12px;letter-spacing:1.3px;}
.bfjul-overlay .bfjul-modal .bfjul-deadline span{font-size:13px;}
@media(max-width:600px){
 .bfjul-overlay .bfjul-modal{padding:30px 19px 24px;}
 .bfjul-overlay .bfjul-modal .bfjul-title{font-size:clamp(24px,6.5vw,29px)!important;}
 .bfjul-overlay .bfjul-modal .bfjul-offer-head{font-size:17px;}
 .bfjul-overlay .bfjul-modal .bfjul-date{margin-bottom:14px;}
 .bfjul-overlay .bfjul-modal .bfjul-description{font-size:14px;margin-bottom:14px;}
 .bfjul-overlay .bfjul-modal .bfjul-prices strong{font-size:21px;}
 .bfjul-overlay .bfjul-modal .bfjul-deadline{padding:9px 10px;margin-bottom:14px;}
}

/* 2.6.6: independent door and opened-card colors. */
.bfjul .bfjul-today{background-color:var(--bf-today,var(--bf-green));}
.bfjul-overlay .bfjul-modal{background-color:var(--bf-paper,#f4eee3);}

.bfjul-stats-consent { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; padding:12px 8px; font-size:12px; text-align:center; color:inherit; }
.bfjul-stats-consent button { font:inherit; border:1px solid currentColor; border-radius:4px; padding:5px 9px; background:transparent; color:inherit; cursor:pointer; }
.bfjul-stats-consent button[hidden] { display:none !important; }

/* 2.6.10: independent action colors and genuinely empty optional text. */
.bfjul-overlay .bfjul-cta,.bfjul-overlay .bfjul-submit{background:var(--bf-button,#50614f);border-color:var(--bf-button,#50614f);color:var(--bf-button-text,#fff)!important;}
.bfjul-overlay .bfjul-cta:hover,.bfjul-overlay .bfjul-submit:hover{background:var(--bf-button,#50614f);filter:brightness(.9);}
.bfjul-overlay .bfjul-pdf-link{background:var(--bf-pdf-button,#c6c6b6);border-color:var(--bf-pdf-button,#c6c6b6);color:var(--bf-pdf-button-text,#333)!important;}
.bfjul-door-label:empty,.bfjul-heading p:empty,.bfjul-heading h2:empty,.bfjul-footer p:empty,.bfjul-footer small:empty,.bfjul-description:empty{display:none!important;}
.bfjul-footer:not(:has(p:not(:empty),small:not(:empty))){display:none!important;}

/* 2.6.13: responsive vertical spacing; grid gaps unchanged. */
@media(min-width:981px){
 .bfjul-shell .bfjul{padding-top:clamp(18px,4vh,55px);padding-bottom:clamp(18px,3vh,44px);}
 .bfjul-shell .bfjul-heading{margin-bottom:clamp(14px,3vh,36px);}
 .bfjul-shell .bfjul-ornament{margin-top:clamp(8px,2vh,24px);}
 .bfjul-shell .bfjul-status{margin-top:clamp(12px,2vh,26px);margin-bottom:clamp(6px,1vh,17px);}
 .bfjul-shell .bfjul-footer{margin-top:clamp(8px,2vh,25px);}
}
@media(max-width:600px){
 .bfjul-shell .bfjul{padding-top:clamp(14px,3vh,25px);padding-bottom:clamp(14px,3vh,25px);}
 .bfjul-shell .bfjul-eyebrow{margin-bottom:clamp(6px,1.5vh,12px);}
}

/* 2.6.14: optional overrides; unset values keep original responsive layout. */
.bfjul-shell[data-bfjul-version] .bfjul .bfjul-status:empty{display:none!important;min-height:0!important;margin:0!important;padding:0!important;}
.bfjul-shell[data-bfjul-version] .bfjul-ornament,.bfjul-shell[data-bfjul-version] .bfjul-eyebrow,.bfjul-shell[data-bfjul-version] .bfjul-footer>span{color:var(--bf-decor,#ead6b4);}
.bfjul-shell[data-bfjul-version] .bfjul-ornament::before,.bfjul-shell[data-bfjul-version] .bfjul-ornament::after{background:linear-gradient(90deg,transparent,var(--bf-decor,#ead6b4),transparent);opacity:.62;}
@keyframes bfjul-luxePulse{0%,100%{opacity:calc(.18 * var(--bf-sparkle-opacity,1));transform:scale(.85)}50%{opacity:calc(.58 * var(--bf-sparkle-opacity,1));transform:scale(1)}}
.bfjul-luxe{opacity:calc(.55 * var(--bf-sparkle-opacity,1));}
@media(prefers-reduced-motion:reduce){.bfjul-luxe{opacity:calc(.22 * var(--bf-sparkle-opacity,1))!important;}}
@media(min-width:768px){.bfjul-shell[style*="--bf-frame-pc:"]{padding:var(--bf-frame-pc)!important;}}
@media(max-width:767px){.bfjul-shell[style*="--bf-frame-mobile:"]{padding:var(--bf-frame-mobile)!important;}.bfjul-shell[style*="--bf-mobile-padding:"] .bfjul{padding-left:var(--bf-mobile-padding)!important;padding-right:var(--bf-mobile-padding)!important;}.bfjul-shell[style*="--bf-mobile-heading:"] .bfjul-heading h2{font-size:var(--bf-mobile-heading)!important;}}
