/* The welcome screen waits for the initial locale before it displays any copy. */
body.bloodtype-welcome-open{overflow:hidden}
.bloodtype-welcome{position:fixed;inset:0;margin:auto;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;padding:clamp(24px,5vw,70px);border:0;border-radius:0;background:#273642;color:#faf9ee;overflow:auto;overscroll-behavior:contain;opacity:1;transition:opacity .24s ease}
.bloodtype-welcome[open]{display:grid;place-items:center}
.bloodtype-welcome::backdrop{background:#273642}
.bloodtype-welcome.is-leaving{opacity:0;pointer-events:none}
.bloodtype-welcome.is-leaving::backdrop{background:transparent}
.bloodtype-welcome-photography{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.bloodtype-welcome-portrait{position:absolute;inset:0 auto 0 0;width:61%;background:linear-gradient(90deg,#2736420d 20%,transparent 46%,#273642 98%),linear-gradient(0deg,#23333a 0%,transparent 28%),url('assets/signe-lykke-hero.png') 21% top/auto 110% no-repeat}
/* Keep the food in a separate right-hand area, clear of the portrait. */
.bloodtype-welcome-food{position:absolute;right:0;bottom:0;width:35%;height:32%;background:linear-gradient(90deg,#273642b3,#27364233),url('assets/recipes/b2-136.jpg') 30% 60%/cover no-repeat;opacity:.8;mask-image:radial-gradient(ellipse 100% 95% at 100% 100%,#000 12%,#000b 45%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 100% 95% at 100% 100%,#000 12%,#000b 45%,transparent 100%)}
.bloodtype-welcome-card{position:relative;z-index:1;width:min(720px,58%);margin:auto 0 auto auto}
.bloodtype-welcome-brand{display:flex;align-items:center;gap:16px;margin-bottom:clamp(34px,6vh,66px);font:500 12px/1.6 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:#d5dfb4}
.bloodtype-welcome-mark{flex:0 0 66px;display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#f4f4e8}
.bloodtype-welcome-mark img{width:48px;height:48px;display:block}
.bloodtype-welcome-kicker{display:block;margin-bottom:16px;font:600 11px/1.4 var(--sans);text-transform:uppercase;letter-spacing:.16em;color:#cdd9a2}
.bloodtype-welcome-intro h1{color:inherit;font:clamp(42px,5.5vw,72px)/1.07 var(--serif);letter-spacing:-.035em;max-width:740px;margin:0 0 23px;text-wrap:balance}
.bloodtype-welcome-intro p{max-width:620px;font-size:clamp(15px,1.5vw,18px);line-height:1.75;color:#e0e6df;margin:0}
.bloodtype-welcome-choice{margin-top:clamp(32px,5vh,48px)}
.bloodtype-welcome-choice h2{font:600 14px/1.6 var(--sans);color:#faf9ee;margin:0 0 17px}
.bloodtype-welcome-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bloodtype-welcome-buttons button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:110px;padding:21px 23px;border:1px solid #9daf9770;border-radius:14px;background:#f5f5e9;color:#26343b;text-align:start;transition:background .16s ease,transform .16s ease,border-color .16s ease}
.bloodtype-welcome-buttons button>span{font:500 clamp(32px,3.7vw,47px)/1.2 var(--sans);letter-spacing:-.03em}
.bloodtype-welcome-buttons button svg{flex:none;color:#526447}
.bloodtype-welcome-buttons button:hover{background:#d5dfb4;border-color:#d5dfb4;transform:translateY(-3px)}
.bloodtype-welcome-buttons button:focus-visible{outline:3px solid #d3dea8;outline-offset:5px;background:#e6edcf}
.bloodtype-welcome-buttons button:active{transform:translateY(0)}
.bloodtype-welcome-note{color:#b9c6bf;font-size:12px;line-height:1.7;margin:24px 0 0}
[dir=rtl] .bloodtype-welcome-buttons button svg{transform:scaleX(-1)}
@media(min-width:1680px){.bloodtype-welcome-card{margin-right:calc((100vw - 1680px)/2)}}
@media(min-width:601px) and (max-width:1050px){
 .bloodtype-welcome{padding:38px}
 .bloodtype-welcome-portrait{width:67%;background-position:20% top;background-size:auto 104%}
 .bloodtype-welcome-food{width:30%;height:27%;opacity:.72}
 .bloodtype-welcome-card{width:65%;padding-inline-start:20px}
 .bloodtype-welcome-brand{gap:12px;letter-spacing:.06em;font-size:10px;margin-bottom:35px}
 .bloodtype-welcome-mark{width:52px;height:52px;flex-basis:52px}
 .bloodtype-welcome-mark img{width:40px;height:40px}
 .bloodtype-welcome-intro h1{font-size:clamp(41px,5.9vw,60px)}
 .bloodtype-welcome-intro p{font-size:15px}
 .bloodtype-welcome-buttons{gap:10px}
 .bloodtype-welcome-buttons button{padding:16px 14px;min-height:92px}
 .bloodtype-welcome-buttons button>span{font-size:32px}
 .bloodtype-welcome-buttons button svg{width:16px;height:16px}
}
@media(min-width:601px) and (max-width:800px){.bloodtype-welcome-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.bloodtype-welcome-buttons button{min-height:76px;padding:15px 20px}}
/* After the first choice, the persistent switch uses a compact, familiar select. */
.site-header .type-control{display:flex;width:100%;padding:5px 6px 5px 11px;gap:10px;border-radius:9px;box-shadow:none}
.site-header .type-control-copy{min-width:0}
.site-header .type-control-copy strong{font:600 12px/1.35 var(--sans)}
.site-header .type-control-copy small{display:none}
.site-header .type-control select{flex:0 0 70px;min-width:70px;width:70px;height:44px;min-height:44px;padding:6px 25px 6px 10px;font:600 18px/1.3 var(--sans);background-position:right 8px center}
@media(min-width:1001px){
 .sidebar-collapsed .site-header .type-control{padding:0;gap:0;justify-content:center}
 .sidebar-collapsed .site-header .type-control select{flex-basis:64px;min-width:64px;width:64px;font-size:17px;padding-inline:9px 21px;background-position:right 6px center}
}
@media(min-width:601px) and (max-width:1000px){.site-header .type-control{width:auto;min-width:175px}}
@media(max-width:600px){
 .bloodtype-welcome{padding:30px 24px}
 .bloodtype-welcome-photography{position:absolute;inset:0 0 auto;height:310px}
 .bloodtype-welcome-portrait{inset:78px auto 0 0;width:58%;background:linear-gradient(180deg,#273642 0%,transparent 18%,transparent 62%,#273642 100%),linear-gradient(90deg,#27364226 0%,transparent 24%,transparent 68%,#273642 100%),url('assets/signe-lykke-hero.png') 17% top/auto 250px no-repeat}
 .bloodtype-welcome-food{right:0;top:92px;bottom:auto;width:42%;height:205px;background:linear-gradient(180deg,#273642 0%,#27364226 20%,#27364240 74%,#273642 100%),url('assets/recipes/b2-136.jpg') 28% 62%/cover no-repeat;opacity:.7;mask-image:radial-gradient(ellipse at 100% 42%,#000 8%,#0008 48%,transparent 78%);-webkit-mask-image:radial-gradient(ellipse at 100% 42%,#000 8%,#0008 48%,transparent 78%)}
 .bloodtype-welcome-card{width:100%;margin:auto;padding:0}
 .bloodtype-welcome-brand{font-size:10px;gap:13px;margin-bottom:205px;max-width:62%;text-shadow:0 1px 7px #16262be0}
 .bloodtype-welcome-mark{width:54px;height:54px;flex-basis:54px}
 .bloodtype-welcome-mark img{width:40px;height:40px}
 .bloodtype-welcome-intro h1{font-size:clamp(38px,10.5vw,54px)}
 .bloodtype-welcome-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .bloodtype-welcome-buttons button{min-height:86px;padding:18px 23px}
 .bloodtype-welcome-buttons button>span{font-size:34px}
 .bloodtype-welcome-note{font-size:11px;margin-top:20px}
 .site-header .type-control{grid-column:1/-1;justify-self:start;width:auto;max-width:100%;gap:14px;padding:4px 5px 4px 11px}
 .site-header .type-control-copy strong{font-size:11px}
 .site-header .type-control select{flex-basis:68px;min-width:68px;width:68px;font-size:17px}
}
@media(max-width:600px) and (min-height:820px){.bloodtype-welcome-card{margin-block:0 auto}.bloodtype-welcome-brand{margin-bottom:220px}}
@media(prefers-reduced-motion:reduce){.bloodtype-welcome,.bloodtype-welcome-buttons button{transition:none}.bloodtype-welcome-buttons button:hover{transform:none}}
@media(forced-colors:active){.bloodtype-welcome-buttons button{border:2px solid ButtonText}.bloodtype-welcome-buttons button:focus-visible{outline-color:Highlight}.site-header .type-control select{appearance:auto;background-image:none;padding-right:5px}}
