/* The Santa Tree – calmer navigation (nav2.js) and Santa's house from outside (outside.js), 30 Nov */

/* ---- the control panel (30 Nov, afternoon): a small midnight-blue plaque with a brass rim in the upper-right corner ---- */
.n2bar{position:fixed;top:64px;right:14px;z-index:31;width:256px;display:flex;flex-direction:column;gap:8px}
.n2plaque{display:flex;gap:4px;padding:5px;border-radius:14px;border:1px solid transparent;
  background:linear-gradient(180deg,rgba(22,28,54,.94),rgba(8,11,26,.96)) padding-box,linear-gradient(135deg,#f8e7b4,#b8893a 32%,#f6dc9a 55%,#8c6424 80%,#e9c77c) border-box;
  box-shadow:inset 0 0 0 3px rgba(8,11,26,.9),inset 0 0 0 3.7px rgba(246,220,154,.22),0 8px 22px rgba(0,0,0,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.n2btn{flex:1 1 0;min-width:0;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 2px 5px;border:0;border-radius:11px;cursor:pointer;
  background:transparent;color:#f1dca4;font:600 11.5px/1.1 Manrope,sans-serif;letter-spacing:.02em;transition:background .2s,color .2s,box-shadow .2s}
.n2btn[data-tab=atmo]{flex-grow:1.32}
.n2btn span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.n2ic{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;flex:none;color:#2b1c0c;
  background:radial-gradient(circle at 35% 28%,#fff3cf 0%,#ecc97c 40%,#b8893a 78%,#7f5a22 100%);box-shadow:inset 0 1px 1px rgba(255,255,255,.65),inset 0 -2px 3px rgba(90,55,10,.4),0 1px 2px rgba(0,0,0,.5)}
.n2ic svg{width:16px;height:16px;stroke-width:1.7}
.n2btn:hover{background:rgba(246,220,154,.08)}
.n2btn.on{color:#2a1c0e;background:linear-gradient(180deg,#fbe8b4,#e0b356);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 0 16px rgba(246,206,120,.35)}
.n2btn.on .n2ic{background:radial-gradient(circle at 35% 28%,#3a2f4f,#141022);color:#f6dc9a}
.n2btn:focus-visible,.n2pl:focus-visible,.n2room:focus-visible{outline:2px solid #fff;outline-offset:1px}
.n2room{display:none}
/* Night and Go outside: two slim buttons under the plaque */
.n2slim{display:flex;gap:6px}
.n2pl{flex:1 1 0;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px 0 6px;border-radius:14px;cursor:pointer;white-space:nowrap;
  border:1px solid transparent;background:linear-gradient(180deg,rgba(22,28,54,.94),rgba(8,11,26,.96)) padding-box,linear-gradient(135deg,#f8e7b4,#b8893a 32%,#f6dc9a 55%,#8c6424 80%,#e9c77c) border-box;
  color:#f1dca4;font:600 12.5px/1 Manrope,sans-serif;box-shadow:0 4px 12px rgba(0,0,0,.35);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .2s,border-color .2s}
.n2pl span{overflow:hidden;text-overflow:ellipsis}
.n2pl .n2ic{width:24px;height:24px} .n2pl .n2ic svg{width:14px;height:14px}
.n2pl:hover{background:linear-gradient(180deg,rgba(34,40,70,.96),rgba(12,16,34,.96)) padding-box,linear-gradient(135deg,#fff3cf,#d0a14a 32%,#fbe6ad 55%,#a77a30 80%,#f3d68e) border-box}
.n2pl[data-play=night] .n2ic{background:radial-gradient(circle at 35% 28%,#5a6aa8,#232c5c 60%,#0e1330);color:#f6dc9a}
.n2pl[data-play=night].on{color:#2a1c0e;background:linear-gradient(180deg,#fbe8b4,#e0b356);border-color:#f6dc9a}
.n2pl[data-play=night].on .n2ic{background:radial-gradient(circle at 35% 28%,#fff7d6,#f3cf6e 55%,#c8902a);color:#5a3a08}
/* while the room is dark only "Switch to day" shows, above the dark */
html.night-on .n2bar{z-index:9002}
html.night-on .n2bar.flow{position:relative}
html.night-on .n2plaque,html.night-on .n2bar .rmwrap{visibility:hidden}
html.night-on .n2pl[data-play=out]{display:none}
html.night-on .n2bar.flow .n2pl[data-play=night]{grid-column:1/3}
html.nav2 .nightlight{display:none!important}
/* the options open as a dropdown just below the plaque (computers) */
.n2sheet.drop{bottom:auto;left:auto;width:min(380px,calc(100vw - 32px));border:1px solid rgba(246,220,154,.35);border-radius:18px;transform:translateY(-6px);opacity:0;
  transition:opacity .2s,transform .2s;box-shadow:0 18px 44px rgba(0,0,0,.55)}
.n2sheet.drop.in{transform:none;opacity:1}
.n2sheet.drop .n2tabs{visibility:hidden}
.n2sheet.drop .n2head{padding:8px 8px 4px 14px;border-bottom:0;position:absolute;right:0;top:0;z-index:2;pointer-events:none}
.n2sheet.drop .n2x{width:32px;height:32px;font-size:20px;background:rgba(7,12,26,.9);pointer-events:auto}
.n2sheet.drop .n2body{padding-top:16px;padding-right:58px}
@media (min-width:641px) and (max-height:700px){ .n2bar{top:56px} }
/* phones: one row – Room settings (the three folded together) and Go outside, then Night and Remind me */
@media (max-width:640px){
  .n2bar.flow{position:relative;z-index:22;top:auto!important;right:auto;left:auto;width:auto;margin:10px 10px 4px;display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .n2bar.flow .n2plaque{display:block;grid-column:1;grid-row:1;padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}   /* not display:contents – with the blur it drew the button faded */
  .n2bar.flow .n2btn{display:none}
  .n2bar.flow .n2room{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 10px 0 6px;border-radius:12px;cursor:pointer;white-space:nowrap;
    color:#f1dca4;font:700 13px/1 Manrope,sans-serif;border:1px solid transparent;
    background:linear-gradient(180deg,rgba(22,28,54,.94),rgba(8,11,26,.96)) padding-box,linear-gradient(135deg,#f8e7b4,#b8893a 32%,#f6dc9a 55%,#8c6424 80%,#e9c77c) border-box}
  .n2bar.flow .n2room .n2ic{width:26px;height:26px} .n2bar.flow .n2room .n2ic svg{width:15px;height:15px}
  .n2bar.flow .n2room.on{color:#2a1c0e;background:linear-gradient(180deg,#fbe8b4,#e0b356) padding-box,linear-gradient(135deg,#fff2c8,#b8893a) border-box}
  .n2bar.flow .n2slim{display:contents}
  .n2bar.flow .n2pl[data-play=out]{grid-column:2;grid-row:1}
  .n2bar.flow .n2pl[data-play=night]{grid-column:1;grid-row:2}
  .n2bar.flow .rmwrap{grid-column:2;grid-row:2;margin:0!important;display:flex}
  .n2bar.flow .rmwrap .rmbtn{width:100%}
}

/* ---- the panel: beside the room on a computer, a bottom sheet on a phone ---- */
.n2sheet{position:fixed;z-index:140;top:0;right:0;bottom:0;width:min(410px,92vw);display:flex;flex-direction:column;
  background:rgba(7,12,26,.96);border-left:1px solid rgba(246,220,154,.3);box-shadow:-14px 0 40px rgba(0,0,0,.5);color:#fbf5e8;
  transform:translateX(102%);transition:transform .26s cubic-bezier(.3,.8,.4,1)}
.n2sheet.in{transform:none}
.n2sheet[hidden]{display:none}
.n2grab{display:none}
.n2head{display:flex;align-items:center;gap:8px;padding:14px 12px 10px 14px;border-bottom:1px solid rgba(246,220,154,.18)}
.n2tabs{display:flex;gap:4px;flex:1;min-width:0;padding:3px;border-radius:99px;border:1px solid rgba(246,220,154,.3);background:rgba(255,255,255,.04)}
.n2tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;height:32px;border:0;border-radius:99px;background:none;color:rgba(246,220,154,.85);font:700 11.5px Manrope,sans-serif;cursor:pointer;min-width:0}
.n2tabs button svg{width:15px;height:15px;flex:none}
.n2tabs button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.n2tabs button[aria-selected=true]{background:linear-gradient(180deg,#f6dc9a,#e3b75b);color:#2a1d14}
.n2x{flex:none;width:36px;height:36px;border-radius:50%;border:1px solid rgba(246,220,154,.5);background:none;color:#f6dc9a;font:300 22px/1 Manrope,sans-serif;cursor:pointer}
.n2body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 24px}
@media (max-width:640px){
  .n2sheet{top:auto;left:0;width:auto;max-height:74vh;max-height:74dvh;border-left:0;border-top:1px solid rgba(246,220,154,.3);border-radius:18px 18px 0 0;transform:translateY(102%);box-shadow:0 -14px 40px rgba(0,0,0,.5)}
  .n2grab{display:block;width:42px;height:5px;border-radius:3px;background:rgba(246,220,154,.45);margin:8px auto 0}
  .n2head{padding-top:8px}
}
/* the old side panel inside the sheet: a plain list of sections, each pop-up shown open */
.n2sheet .side{position:static!important;transform:none!important;translate:none!important;scale:none!important;inset:auto!important;top:auto!important;width:auto!important;height:auto!important;max-height:none!important;
  display:block!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.n2sheet[data-tab=style] .side .ctl:not([data-tab=style]),.n2sheet[data-tab=atmo] .side .ctl:not([data-tab=atmo]),.n2sheet[data-tab=view] .side .ctl:not([data-tab=view]){display:none!important}
.n2sheet .side .ctl{display:block!important;position:static!important;margin:0 0 18px!important;width:auto!important;translate:none!important;transform:none!important}
.n2sheet .pop{translate:none!important}
.n2sheet .side .ctl:not(.nopop)>.ctlbtn{display:none!important}
.n2sheet .side .ctl .lb{display:block!important;position:static!important;margin:0 0 8px;font:800 11px Manrope,sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase;color:#f6dc9a;white-space:normal!important;opacity:1!important}
.n2sheet .side .ctl.nopop{display:flex!important;flex-direction:row!important;align-items:center;gap:12px}
.n2sheet .side .ctl.nopop .lb{margin:0;font-size:12.5px!important;letter-spacing:.04em!important;text-transform:none}
.n2sheet .pop{display:flex!important;position:static!important;transform:none!important;inset:auto!important;flex-direction:row!important;flex-wrap:wrap;gap:6px!important;
  max-height:none!important;overflow:visible!important;width:auto!important;min-width:0!important;box-shadow:none!important;border:0!important;background:none!important;padding:0!important;margin:0!important}
.n2sheet .pop::before,.n2sheet .pop::after{display:none!important}
.n2sheet .pop .opt{flex:1 1 calc(50% - 6px);min-width:0;justify-content:flex-start;text-align:left;white-space:normal!important;line-height:1.2}
.n2sheet .pop .flhead,.n2sheet .pop .candlerow,.n2sheet .pop .tiltrow,.n2sheet .pop .treekind,.n2sheet .pop .popnote,.n2sheet .pop .rugsw,.n2sheet .pop .rugname{flex:1 1 100%}
.n2sheet .nightopt{display:none!important}
/* the extra rows: Night at Santa's House, See the house from outside */
.n2row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:14px;border:1px solid rgba(246,220,154,.35);background:rgba(255,255,255,.04);color:#fbf5e8;font:600 14px Manrope,sans-serif;text-align:left;cursor:pointer}
.n2row svg{width:22px;height:22px;flex:none;color:#f6dc9a}
.n2row span{flex:1}
.n2row .n2st{font-style:normal;color:#9fe0a8;font-size:12px}
.n2row:hover{background:rgba(246,220,154,.1)}
.n2row.on{border-color:#9fe0a8}
.n2sheet .viewctl,.n2sheet .viewctl *{opacity:1!important;visibility:visible!important}
.n2sheet .viewctl{position:static!important;transform:none!important;display:flex!important;flex-wrap:wrap;gap:8px;inset:auto!important}
.n2sheet .tiltask{position:static!important;transform:none!important;margin:10px 0 0!important}

/* ---- one "Make a wish" cloud in the room ---- */
html.nav2 .sharebar{display:none!important}
html.nav2 .wishbtn.cloud#wishSelf{width:178px;height:89px}
@media (max-width:640px){ html.nav2 .wishbtn.cloud#wishSelf{width:124px;height:62px} html.nav2 #wishSelf .w2{font-size:7.5px} }
/* "Wish for a decoration" – a tile in the tray, like "Share my tree" */
.item.wishtile .ic svg{width:34px;height:34px}

/* ---- the card and language buttons on one line at the top left ---- */
@media (min-width:641px){ html.nav2 header .topicons .tleft{flex-direction:row;align-items:center} }

/* ---- less text and fewer extra buttons ---- */
html.nav2 .tglbtn.tglctl{display:none!important}
html.nav2 #premNote,html.nav2 #stpFree{display:none!important}
html.nav2 .picknote:not(.lock){display:none}
html.nav2 .n2hide{display:none!important}
html.nav2 .foot{font-size:11px;opacity:.72}
html.nav2 .foot .legal{font-size:10.5px;line-height:1.5;max-width:900px;margin-left:auto;margin-right:auto}
html.nav2 .room > .viewctl{display:none}

/* ---- Santa's house from outside ---- */
.stoutside{position:fixed;inset:0;z-index:170;overflow:hidden;background:#0b1633;opacity:0;transition:opacity .5s}
.stoutside.in{opacity:1}
.stoutside[hidden]{display:none}
.stoutside.bursting,.stoutside.gone{background:transparent}
.stoutside.gone{opacity:0;transition:opacity .45s}
.stoutside .o-pic{position:absolute}
.stoutside .o-pic img{display:block;width:100%;height:100%}
.stoutside .o-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.stoutside .o-tw{opacity:.15;animation:oTw 2.6s ease-in-out infinite alternate;mix-blend-mode:screen}
@keyframes oTw{to{opacity:.95}}
.stoutside .o-puff{animation:oDrift 5.4s linear infinite;opacity:0;transform-origin:0 0}
@keyframes oDrift{0%{opacity:0;transform:translate(834px,159px) scale(.42)}10%{opacity:.62}35%{opacity:.49;transform:translate(844px,125px) scale(.83)}68%{opacity:.29;transform:translate(875px,91px) scale(1.19)}100%{opacity:0;transform:translate(920px,61px) scale(1.65)}}
.stoutside .o-snow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.stoutside .o-title{position:absolute;left:0;right:0;top:18px;margin:0;text-align:center;font:italic 800 clamp(26px,4vw,44px) 'Playfair Display',serif;color:#f6dc9a;text-shadow:0 2px 14px rgba(0,0,0,.6);pointer-events:none}
.stoutside .o-in{position:absolute;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);height:48px;padding:0 24px;border-radius:99px;border:0;cursor:pointer;
  background:linear-gradient(180deg,#f6dc9a,#e3b75b);color:#2a1d14;font:800 15px Manrope,sans-serif;letter-spacing:.04em;box-shadow:0 8px 24px rgba(0,0,0,.45)}
.stoutside .o-x{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(246,220,154,.6);background:rgba(6,12,28,.6);color:#f6dc9a;font:300 26px/1 Manrope,sans-serif;cursor:pointer}
.stoutside.bursting .o-title,.stoutside.bursting .o-in,.stoutside.bursting .o-x,.stoutside.bursting .o-snow,.stoutside.gone .o-in,.stoutside.gone .o-x{display:none}
.stoutside .o-burst{position:absolute;inset:0;width:100%;height:100%}
.stoutside .o-in:focus-visible,.stoutside .o-x:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media (prefers-reduced-motion:reduce){ .n2sheet{transition:none} .stoutside .o-tw,.stoutside .o-puff{animation:none} .stoutside .o-tw{opacity:.6} }

/* ---- Style: one more level (Room · Floor · Interior · Tree · Rug), one open at a time ---- */
.n2sheet[data-tab=style] .side{display:flex!important;flex-direction:column}
.n2sheet[data-tab=style] .side .ctl[data-tab=style]:not(.n2acch):not(.accopen){display:none!important}
.n2sheet .side .ctl.n2acch{display:block!important;margin:0 0 8px!important;align-self:stretch;width:auto!important}
.n2sheet[data-tab=style] .side .ctl{align-self:stretch}
.n2sheet .side .ctl.n2acch[hidden]{display:none!important}
.n2acc{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:9px 14px 9px 9px;border-radius:16px;cursor:pointer;text-align:left;color:#f3e7c9;
  border:1px solid rgba(246,220,154,.24);background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015));transition:background .2s,border-color .2s}
.n2acc:hover{border-color:rgba(246,220,154,.5);background:rgba(246,220,154,.08)}
.n2acch.open .n2acc{border-color:rgba(246,220,154,.6);background:rgba(246,220,154,.1)}
.n2acc .sw{position:relative;width:38px;height:38px;flex:none;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1.5px rgba(246,220,154,.65),0 2px 6px rgba(0,0,0,.4);background:#1b2140}
.n2acc .sw>*{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;border-radius:50%;display:block;border:0!important;box-shadow:none!important}
.n2acc .sw.empty::after{content:'';position:absolute;inset:11px;border-radius:50%;border:1.5px dashed rgba(246,220,154,.5)}
.n2acc .tt{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.n2acc .tt b{font:800 11px Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#f6dc9a}
.n2acc .tt em{font:italic 600 17px/1.15 'Cormorant Garamond',Georgia,serif;color:#f3ead6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.n2acc .chev{flex:none;color:#f6dc9a;transition:transform .25s}
.n2acch.open .chev{transform:rotate(180deg)}
.n2sheet .side .ctl.accopen{margin:-2px 0 14px!important;padding:6px 4px 2px;animation:n2acc .25s ease-out}
.n2sheet .side .ctl.accopen>.lb{display:none!important}
@keyframes n2acc{from{opacity:0;transform:translateY(-4px)}}
.n2sheet .n2flpop .flhead{display:none!important}
.n2flpop .fldot{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.n2sheet .side .ctl.n2flctl:not([data-tab=style]){display:none!important}
.n2sheet .nightopt{display:none!important}
.n2sheet .pop{min-width:0!important;max-width:100%!important;width:auto!important;box-sizing:border-box}

/* the Story button in the header is not needed: the story book lies on the floor by the bookcase */
html.nav2 #storyBtn{display:none!important}

/* the wish cloud can be dragged between its two places */
html.nav2 #wishSelf{touch-action:none;cursor:grab}
html.nav2 #wishSelf.wdragging{cursor:grabbing;transition:none!important;filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
html.nav2 #wishSelf.wmoving{transition:left .6s cubic-bezier(.3,.1,.2,1),top .6s cubic-bezier(.3,.1,.2,1)}
/* the number on the decoration box (how many decorations are put away) is not needed */
#boxCount{display:none!important}

/* when the decoration bar is hidden (the arrow above it), the line about the next decorations hides too */
body.tray-off #cdNote{display:none!important}

/* ---- 30 Nov, evening: the column on a computer – Send a card + language on top, the same rim, width and corners everywhere ---- */
.n2top{display:flex}
.n2top[hidden]{display:none}
.n2top .tleft{display:flex!important;gap:6px;width:100%;margin:0}
.n2bar .cardopen{order:1;flex:1 1 auto;min-width:0;height:48px!important;margin:0!important;padding:0 12px 0 6px!important;display:flex;align-items:center;gap:9px;border-radius:14px!important;cursor:pointer;
  border:1px solid transparent!important;background:linear-gradient(180deg,rgba(22,28,54,.94),rgba(8,11,26,.96)) padding-box,linear-gradient(135deg,#f8e7b4,#b8893a 32%,#f6dc9a 55%,#8c6424 80%,#e9c77c) border-box!important;
  box-shadow:0 4px 12px rgba(0,0,0,.35)!important;width:auto!important}
.n2bar .cardopen img{height:36px!important;width:auto!important;margin:0!important;flex:none}
.n2bar .cardopen .cotxt{font:700 10.5px/1.25 Manrope,sans-serif!important;letter-spacing:.09em!important;color:#f1dca4!important;text-align:left;white-space:normal}
.n2bar .langbtn{order:2;flex:none;height:48px;padding:0 10px;border-radius:14px;border:1px solid transparent;
  background:linear-gradient(180deg,rgba(22,28,54,.94),rgba(8,11,26,.96)) padding-box,linear-gradient(135deg,#f8e7b4,#b8893a 32%,#f6dc9a 55%,#8c6424 80%,#e9c77c) border-box;box-shadow:0 4px 12px rgba(0,0,0,.35)}
.n2bar .cardopen:hover,.n2bar .langbtn:hover{filter:brightness(1.12)}
/* Remind me fills the column, the wish clouds sit centred under it */
.n2bar .rmwrap{justify-content:stretch}
.n2bar:not(.flow) .rmbtn{width:100%;border-radius:14px}
.n2clouds{display:flex;flex-direction:column;align-items:center;gap:2px;align-self:center;margin-top:4px}
.n2clouds[hidden]{display:none}
.n2clouds .wishbtn.cloud{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;margin:0!important;flex:none}
html.nav2 .n2clouds .wishbtn.cloud#wishSelf{width:176px;height:88px}
.n2clouds #wishOpen{width:150px;height:75px}
.n2clouds #wishOpen .w1{font-size:14px} .n2clouds #wishOpen .w2{font-size:7px}
html.night-on .n2clouds{visibility:hidden}
/* in the room (wall / floor place, and on phones): placed through --wx/--wy so nothing else can move them */
html.nav2 .wishbtn.cloud.inroom{position:absolute!important;left:var(--wx)!important;top:var(--wy)!important;right:auto!important;bottom:auto!important;margin:0!important;z-index:30}
html.nav2 #wishOpen.inroom{width:116px;height:58px}
html.nav2 #wishOpen.inroom .w1{font-size:12px} html.nav2 #wishOpen.inroom .w2{font-size:6px}
html.nav2 #wishSelf.wmoving.inroom{transition:left .6s cubic-bezier(.3,.1,.2,1),top .6s cubic-bezier(.3,.1,.2,1)}
/* Start over: a small button of its own in the footer */
#reset{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:99px;border:1px solid rgba(246,220,154,.45);background:rgba(8,12,28,.6);color:#f1dca4;font:600 12px Manrope,sans-serif;letter-spacing:.04em;cursor:pointer}
#reset:hover{border-color:#f6dc9a;background:rgba(30,36,64,.8)}

/* the share picture: the two ✎ sit inside the picture, right next to the line they edit (they looked like frame buttons on the edge) */
.shtx-pen{right:6px!important;transform:translate(0,-50%)!important;width:22px!important;height:22px!important}
.shfr-btn svg{width:15px;height:15px;flex:none}

/* the calendar and settings icons stay in the upper-right corner when the card and language buttons have moved into the column */
@media (min-width:641px){ html.nav2 .topicons{justify-content:flex-end} }

/* sales off (config.js sales.on:false): nothing that sells – Unlock buttons, season-pass notes, the gift choice on the Christmas card */
html.salesoff .unlockbtn,html.salesoff #premNote,html.salesoff #stpFree,html.salesoff .sdklock .sdkunlock,html.salesoff .giftopt,html.salesoff .cgift{display:none!important}
html.salesoff #cardKind{display:none!important}
/* 1 Dec: on the light wallpapers (html.pearl) the card text and language button stay as in the dark panel (light-room rules made them brown / pale) */
html .n2bar .cardopen .cotxt{-webkit-text-fill-color:#f1dca4!important;color:#f1dca4!important;background:none!important;text-shadow:none!important}
html.pearl .n2bar .langbtn{color:#f1dca4!important;-webkit-text-fill-color:#f1dca4!important;border:1px solid transparent!important;background:linear-gradient(180deg,rgba(22,28,54,.94),rgba(8,11,26,.96)) padding-box,linear-gradient(135deg,#f8e7b4,#b8893a 32%,#f6dc9a 55%,#8c6424 80%,#e9c77c) border-box!important;box-shadow:0 4px 12px rgba(0,0,0,.35)!important}

/* ===== 1 Dec: a lighter panel on computers – Style / Atmosphere / View and Night / Go outside are see-through with only the gold line,
   their names appear when the pointer is over them, and the two wish clouds sit side by side under Night and Go outside.
   Send a Christmas card and the language button stay as they were. Phones keep their own layout. ===== */
@media (min-width:641px){
  .n2bar:not(.flow) .n2plaque{background:transparent!important;border:1px solid rgba(233,199,124,.85)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:4px!important}
  .n2bar:not(.flow) .n2btn{position:relative;min-height:40px;padding:4px 2px;background:transparent}
  .n2bar:not(.flow) .n2btn:hover{background:rgba(246,220,154,.12)}
  .n2bar:not(.flow) .n2slim .n2pl{position:relative;min-height:40px;padding:0;background:transparent!important;border:1px solid rgba(233,199,124,.85)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .n2bar:not(.flow) .n2slim .n2pl:hover{background:rgba(246,220,154,.12)!important}
  .n2bar:not(.flow) .n2slim .n2pl[data-play=night].on{background:linear-gradient(180deg,#fbe8b4,#e0b356)!important}
  .n2bar:not(.flow) .n2btn.on{background:linear-gradient(180deg,#fbe8b4,#e0b356)}
  /* the names: hidden, shown as a small label under the button on hover / keyboard focus */
  .n2bar:not(.flow) .n2btn>span:not(.n2ic),.n2bar:not(.flow) .n2slim .n2pl>span:not(.n2ic){position:absolute;left:50%;top:calc(100% + 6px);transform:translate(-50%,-3px);z-index:5;max-width:none!important;overflow:visible!important;
    padding:4px 9px;border-radius:9px;background:rgba(10,14,30,.92);border:1px solid rgba(233,199,124,.6);color:#f6dc9a!important;font:600 11.5px/1.2 Manrope,sans-serif;white-space:nowrap;
    opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;box-shadow:0 4px 12px rgba(0,0,0,.4)}
  .n2bar:not(.flow) .n2btn:hover>span:not(.n2ic),.n2bar:not(.flow) .n2btn:focus-visible>span:not(.n2ic),
  .n2bar:not(.flow) .n2slim .n2pl:hover>span:not(.n2ic),.n2bar:not(.flow) .n2slim .n2pl:focus-visible>span:not(.n2ic){opacity:1;transform:translate(-50%,0)}
  .n2bar:not(.flow) .n2sheet.open~*,.n2bar:not(.flow).sheet-open .n2btn>span{opacity:0}
  /* the two clouds side by side: Make a wish under Night, Wishes for decorations under Go outside */
  .n2bar:not(.flow) .n2clouds{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:6px;align-self:stretch;margin-top:2px}
  html.nav2 .n2bar:not(.flow) .n2clouds .wishbtn.cloud#wishSelf,.n2bar:not(.flow) .n2clouds #wishOpen{width:calc(50% - 3px)!important;height:auto!important;aspect-ratio:2/1}
  html.nav2 .n2bar:not(.flow) .n2clouds #wishSelf{order:1} html.nav2 .n2bar:not(.flow) .n2clouds #wishOpen{order:2}
  .n2bar:not(.flow) .n2clouds .w1{font-size:16px!important} .n2bar:not(.flow) .n2clouds .w2{font-size:7.5px!important}
  html.pearl .n2bar:not(.flow) .n2plaque,html.pearl .n2bar:not(.flow) .n2slim .n2pl{border-color:rgba(150,105,40,.85)!important}   /* light wallpapers: a deeper gold line */
}

/* ===== 1 Dec, later: all five round buttons on one line (Style · Atmosphere · View | Night · Go outside), each in its own colour ===== */
@media (min-width:641px){
  .n2bar:not(.flow){display:grid;grid-template-columns:3fr 2fr;column-gap:6px;row-gap:8px;align-items:stretch}
  .n2bar:not(.flow)>.n2top,.n2bar:not(.flow)>.n2clouds,.n2bar:not(.flow)>.rmwrap{grid-column:1/-1}
  .n2bar:not(.flow)>.n2plaque{grid-column:1}
  .n2bar:not(.flow)>.n2slim{grid-column:2;gap:2px;padding:4px;border:1px solid rgba(233,199,124,.85);border-radius:14px}
  html.pearl .n2bar:not(.flow)>.n2slim{border-color:rgba(150,105,40,.85)}
  .n2bar:not(.flow) .n2slim .n2pl{border:0!important;border-radius:11px;min-height:40px}
  html.night-on .n2bar:not(.flow)>.n2slim{grid-column:1/-1}
  .n2bar:not(.flow) .n2btn[data-tab=atmo]{flex-grow:1}
  .n2bar:not(.flow) .n2ic{width:30px;height:30px}
  .n2bar:not(.flow) .n2pl .n2ic{width:30px;height:30px} .n2bar:not(.flow) .n2pl .n2ic svg{width:16px;height:16px}
}
/* the colours (enamel-like, with the same soft highlight as the gold ones) */
.n2bar .n2btn[data-tab=style] .n2ic{background:radial-gradient(circle at 35% 28%,#ffb3a8 0%,#e8433a 42%,#b01a1a 78%,#6e0c0c 100%);color:#fff3e6}
.n2bar .n2btn[data-tab=atmo] .n2ic{background:radial-gradient(circle at 35% 28%,#ffe0a3 0%,#ff9a1f 42%,#e86a00 78%,#9a4200 100%);color:#fff8ea}
.n2bar .n2btn[data-tab=view] .n2ic{background:radial-gradient(circle at 35% 28%,#fff3cf 0%,#ecc97c 40%,#b8893a 78%,#7f5a22 100%)}
.n2bar .n2btn[data-tab=view] .n2ic svg path{fill:#fff;stroke:#2b1c0c}
.n2bar .n2btn[data-tab=view] .n2ic svg circle{fill:#111;stroke:#111}
.n2bar .n2pl[data-play=out] .n2ic{background:radial-gradient(circle at 35% 28%,#c8f5b4 0%,#4fc23a 42%,#1f8a1c 78%,#0d4f0f 100%);color:#f2ffe9}
/* when a tab is open its circle keeps its colour */
.n2bar .n2btn.on[data-tab=style] .n2ic,.n2bar .n2btn.on[data-tab=atmo] .n2ic{filter:brightness(1.05)}
@media (min-width:641px){ .n2bar:not(.flow)>.n2clouds{margin-top:-16px} }   /* 1 Dec: the clouds a little closer to the buttons */

/* 1 Dec 15:20: the tabs in the sheet (phones) carry the same coloured round buttons as the computer panel: Style red, Atmosphere orange, View a white eye */
.n2tabs button svg{width:24px;height:24px;padding:4.5px;box-sizing:border-box;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25),0 1px 3px rgba(0,0,0,.45)}
.n2tabs button[data-tab=style] svg{background:radial-gradient(circle at 35% 28%,#ffb3a8 0%,#e8433a 42%,#b01a1a 78%,#6e0c0c 100%);color:#fff3e6}
.n2tabs button[data-tab=atmo] svg{background:radial-gradient(circle at 35% 28%,#ffe0a3 0%,#ff9a1f 42%,#e86a00 78%,#9a4200 100%);color:#fff8ea}
.n2tabs button[data-tab=view] svg{background:radial-gradient(circle at 35% 28%,#fff3cf 0%,#ecc97c 40%,#b8893a 78%,#7f5a22 100%)}
.n2tabs button[data-tab=view] svg path{fill:#fff;stroke:#2b1c0c}
.n2tabs button[data-tab=view] svg circle{fill:#111;stroke:#111}
.n2tabs button{height:36px}
.n2tabs button{gap:4px;padding:0 4px;font-size:11px} .n2tabs button svg{width:22px;height:22px;padding:4px}
/* 1 Dec 15:25: on computers the small "hide decorations" arrow sits lower, level with the Minimalist Challenge line */
@media (min-width:641px){ .trayctl .tgltray{position:relative;top:30px} }
