/* The Santa Tree – easy language choice: a flag button at the top left (tree view and card view) + the language list */
.topicons .tleft{display:flex;gap:8px;align-items:center}
.langbtn{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 11px 0 9px;border-radius:18px;border:1px solid var(--hair-soft,rgba(227,183,91,.3));background:rgba(8,16,34,.55);color:var(--gold2,#f6dc9a);cursor:pointer;font:700 11px Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;transition:background .25s,border-color .25s;-webkit-tap-highlight-color:transparent}
.langbtn:hover{background:rgba(246,220,154,.1);border-color:var(--hair,rgba(227,183,91,.5))}
.langbtn:focus-visible{outline:2px solid #f6dc9a;outline-offset:3px}
.langbtn .flag{width:22px;height:15px;border-radius:2.5px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.25);display:block;flex:none}
.langbtn .flag svg{display:block;width:100%;height:100%}
.langbtn .chev{width:9px;height:9px;opacity:.8}
@media (max-width:640px){ .langbtn{height:32px;padding:0 9px 0 8px;gap:6px;pointer-events:auto} .topicons .tleft{gap:6px;pointer-events:auto} }
.langpop{position:fixed;z-index:400;min-width:208px;padding:6px;border-radius:14px;border:1px solid var(--hair,rgba(227,183,91,.5));background:rgba(7,14,32,.97);box-shadow:0 14px 40px rgba(0,0,0,.55);backdrop-filter:blur(6px)}
.langpop[hidden]{display:none}
.langpop button{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:6px 12px 6px 10px;border:0;border-radius:9px;background:none;color:#f1e6c8;font:600 14px Manrope,sans-serif;text-align:left;cursor:pointer}
.langpop button:hover,.langpop button:focus-visible{background:rgba(246,220,154,.12);outline:none}
.langpop button[aria-checked="true"]{background:rgba(246,220,154,.08);color:#f6dc9a}
.langpop .flag{width:24px;height:16px;border-radius:2.5px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.25);flex:none}
.langpop .flag svg{display:block;width:100%;height:100%}
.langpop .nm{flex:1}
.langpop .ai{font:700 9.5px Manrope,sans-serif;letter-spacing:.16em;color:rgba(236,217,166,.75);border:1px solid rgba(236,217,166,.35);border-radius:6px;padding:2px 5px 2px 6px}
.langpop .tick{width:14px;color:#f6dc9a;font-size:13px;text-align:center}
.langpop .note{margin:4px 8px 4px;padding-top:7px;border-top:1px solid rgba(227,183,91,.18);font:500 10.5px/1.4 Manrope,sans-serif;color:rgba(236,217,166,.6)}
/* the language button inside the card sheet (top left, the close cross is top right) */
.sheet.xcard .langbtn.incard{position:absolute;left:14px;top:14px;z-index:2}
.topicons{left:14px;justify-content:space-between;pointer-events:none}
.topicons>*{pointer-events:auto}
.sheet.xcard .langbtn.incard{position:static;margin:0 0 10px}
@media (max-width:640px){ header{padding-top:50px} .langbtn .lc{display:none} }

.tagline{margin:3px 0 10px calc(2*var(--shift));padding:0 70px;font:500 11px Manrope,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgba(246,220,154,.72);text-align:center}
html.pearl .tagline{color:#6b5424}
@media (max-width:640px){ .tagline{font-size:9px;letter-spacing:.14em;padding:0 16px;margin:0 0 6px calc(2*var(--shift))} header{padding-top:50px} }
/* 27 Nov evening: "Decorate the Tree" after the tagline; on phones on its own line */
.tagline .tg2{white-space:nowrap}
@media (max-width:640px){ .tagline .tg2{display:block;margin-top:2px} .tagline .tgd{display:none} }
/* 30 Nov: the language button in the top-left corner of the welcome letter, in the letter's own colours */
#welSheet .sheet{position:relative}
#welSheet .langbtn.inwel{position:absolute;left:14px;top:14px;z-index:5;height:30px;padding:0 9px 0 7px;gap:6px;font-size:10px;letter-spacing:.1em;
  background:rgba(255,248,232,.65);color:#6e4626;border:1px solid rgba(110,70,38,.55);box-shadow:0 1px 4px rgba(60,30,10,.18)}
#welSheet .langbtn.inwel:hover{background:#fff8e8;border-color:#7d2015;color:#7d2015}
#welSheet .langbtn.inwel .flag{width:19px;height:13px;box-shadow:0 0 0 1px rgba(110,70,38,.35)}
#welSheet:not(.we-open) .langbtn.inwel{visibility:hidden}   /* only on the open letter, not on the envelope */
