/* Brand Explorer. One board, one panel. The board is built once and every choice only changes a custom property, a
   text node or the one shared symbol, so nothing on it is ever rebuilt and no loop restarts.
   --spring is one measured spring (0.56 s to arrive, about 1% overshoot); --glide is a measured page step. */
:root{--spring:linear(0, 0.0431, 0.145, 0.274, 0.409, 0.5369, 0.6503, 0.7461, 0.8236, 0.8841, 0.9296, 0.9624, 0.9851, 0.9999, 1.0087, 1.0134, 1.0151, 1.0149, 1.0136, 1.0117, 1.0097, 1.0077, 1.0059, 1.0043, 1.0031, 1.0021, 1.0013, 1.0007, 1);--glide:linear(0, 0.0044, 0.0088, 0.0145, 0.0202, 0.0296, 0.0389, 0.0529, 0.0669, 0.0885, 0.1101, 0.1422, 0.1858, 0.2537, 0.3574, 0.4926, 0.5981, 0.6646, 0.7145, 0.7529, 0.7851, 0.8105, 0.8328, 0.8535, 0.8709, 0.887, 0.9004, 0.913, 0.924, 0.9343, 0.9431, 0.9518, 0.9604, 0.9679, 0.9731, 0.978, 0.9824, 0.9868, 0.9912, 0.9956, 1);
  --ui:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
html,body{margin:0;height:100%;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{overflow:hidden}
svg.defs{position:absolute;width:0;height:0;overflow:hidden}

/* ---------------------------------------------------------------- the board */
#wrap{position:fixed;left:0;top:0;transform-origin:0 0;will-change:transform}
#stage{width:1480px;height:1040px;position:relative;overflow:hidden;background:var(--paper);color:var(--ink);font-family:var(--ui)}
.tile{position:absolute;overflow:hidden;border-radius:var(--rad-tile)}
#stage i,#stage em,#stage s,#stage u{font-style:normal;text-decoration:none}
.sy{display:block;flex:none;overflow:visible}
.wm{font-family:var(--wm-font);font-weight:var(--wm-weight);letter-spacing:var(--wm-track);font-optical-sizing:auto;font-synthesis:none;white-space:nowrap}
.copy{font-family:var(--wm-font);font-weight:var(--wm-weight);letter-spacing:var(--copy-track);font-synthesis:none;text-wrap:balance;overflow-wrap:anywhere}
.center{position:absolute;inset:0;display:grid;place-items:center}
/* a lockup: the symbol and the name on one line. .fit is sized by the script so the line always fits its tile. */
.lk{display:inline-flex;align-items:center;line-height:1}
.lk .sy{width:.94em;height:.94em;margin-left:calc(var(--sym-l,.075em) * -1);margin-right:calc(.22em - var(--sym-r,.075em))}   /* .22em from the ink of the symbol to the name */
.lk span{margin-right:calc(var(--wm-track) * -1)}
#stage.nosym .lk .sy{display:none}

.t-lock{background:var(--field);color:var(--on-field)}
.t-lock .sy{color:var(--sym-on-field)}
.t-word{background:#fff;color:var(--ink)}

.t-app{background:var(--tint)}
.t-app .col{display:flex;flex-direction:column;align-items:center;gap:12px}
.t-app .icon{width:116px;height:116px;border-radius:26px;background:var(--fill);color:var(--sym-on-fill);display:grid;place-items:center;box-shadow:0 1px 2px rgba(0,0,0,.08),0 10px 24px rgba(0,0,0,.1)}
.t-app .icon .sy{width:62px;height:62px}
.t-app .lab{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 13.5px/1.2 var(--ui);color:var(--ink)}

.t-phone{background:var(--deep)}
.phone{position:absolute;left:50%;top:50%;width:300px;height:533px;margin:-266.5px 0 0 -150px;background:#fff;border-radius:36px;overflow:hidden;color:#141414;font:400 12px/1.3 var(--ui)}
.phone .bar{height:38px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;font-weight:600;font-size:13px}
.phone .bar i{display:block;width:44px;height:11px;border-radius:6px;background:#141414}
.phone .hd{height:30px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;font-weight:600;font-size:15px;letter-spacing:-.01em}
.phone .hd b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}
.phone .hd i{display:flex;gap:3px}.phone .hd i::before,.phone .hd i::after,.phone .hd i span{content:"";width:4px;height:4px;border-radius:50%;background:#141414}
.phone .pf{display:flex;align-items:center;gap:18px;padding:10px 18px 0}
.phone .av{flex:none;width:78px;height:78px;border-radius:50%;background:var(--fill);color:var(--sym-on-fill);display:grid;place-items:center}
.phone .av .sy{width:42px;height:42px}
.phone .st{flex:1;display:flex;justify-content:space-between;text-align:center}
.phone .st b{display:block;font-weight:600;font-size:15px}.phone .st span{font-size:11px;color:#6E6E6A}
.phone .nm{padding:12px 18px 0;font-weight:600;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.phone .bio{padding:7px 18px 0}.phone .bio i{display:block;height:7px;border-radius:4px;background:#E6E6E2;margin-bottom:6px}
.phone .act{display:flex;gap:6px;padding:8px 18px 14px}
.phone .act b{flex:1;height:32px;display:grid;place-items:center;font-weight:600;font-size:12.5px;border-radius:min(var(--rad-ctl),16px);background:#EFEFEC}
.phone .act b:first-child{background:var(--fill);color:var(--on-fill)}
.phone .gr{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.phone .gr i{display:grid;place-items:center;aspect-ratio:1}
.phone .gr .sy{width:38px;height:38px}

.t-pal{display:flex}
.t-pal .c{flex:1;display:flex;flex-direction:column;min-width:0}
.t-pal .c:first-child{flex:1.7}
.t-pal .m{flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:0 12px 10px 14px;font:500 11.5px/1.35 var(--ui)}
.t-pal .m span{opacity:.72;font-weight:400;font-variant-numeric:tabular-nums}
.t-pal .c i{display:block;height:21px}

.t-web{background:var(--chrome)}
.win{position:absolute;left:24px;top:24px;width:560px;height:320px;background:#fff;border-radius:12px 0 0 0;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.08),0 12px 32px rgba(0,0,0,.1);font:400 12.5px/1.2 var(--ui);color:#1B1B1A}
.win .tabs{height:42px;background:#E7E7E3;display:flex;align-items:flex-end;padding-left:14px;gap:2px}
.win .dots{display:flex;gap:7px;align-self:center;margin-right:14px}.win .dots i{width:10px;height:10px;border-radius:50%;background:#C9C9C4}
.win .tab{height:33px;width:196px;box-sizing:border-box;padding:0 12px;display:flex;align-items:center;gap:9px;border-radius:9px 9px 0 0}
.win .tab.on{background:#fff}
.win .tab b{flex:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.win .tab u{text-decoration:none;color:#8A8A85;font-size:14px;line-height:1}
.win .fav{flex:none;width:20px;height:20px;border-radius:5px;background:var(--fill);color:var(--sym-on-fill);display:grid;place-items:center}
.win .fav .sy{width:13px;height:13px}
.win .tab .ph{flex:none;width:16px;height:16px;border-radius:50%;background:#CFCFCA}.win .tab .pl{width:74px;height:7px;border-radius:4px;background:#CFCFCA}
.win .url{height:36px;display:flex;align-items:center;gap:12px;padding:0 14px}
.win .url s{width:8px;height:8px;border-left:1.6px solid #9A9A95;border-bottom:1.6px solid #9A9A95;transform:rotate(45deg);text-decoration:none}
.win .url s+s{transform:rotate(-135deg);opacity:.5}
.win .url em{flex:0 0 330px;height:25px;border-radius:13px;background:#F0F0ED;display:flex;align-items:center;padding:0 12px;font-style:normal;color:#4A4A47;overflow:hidden;white-space:nowrap}
.win .page{height:242px;background:var(--paper)}
.win .nav{height:50px;display:flex;align-items:center;gap:16px;padding:0 20px;color:var(--ink)}
.win .nav .lk{font-size:19px;margin-right:auto;max-width:210px;overflow:hidden}
.win .nav .lk .sy{color:var(--sym-on-paper)}
.win .nav i{width:38px;height:6px;border-radius:3px;background:color-mix(in oklab,var(--ink) 22%,var(--paper))}
.win .hero{margin:0 20px;height:150px;background:var(--tint);border-radius:min(var(--rad-tile),14px)}

.t-syms{display:flex}
.t-syms i{flex:1;display:grid;place-items:center}
.t-syms .sy{width:56px;height:56px}
.t-syms i:nth-child(1){animation:cyc0 10s step-end infinite}.t-syms i:nth-child(2){animation:cyc1 10s step-end infinite}
.t-syms i:nth-child(3){animation:cyc2 10s step-end infinite}.t-syms i:nth-child(4){animation:cyc3 10s step-end infinite}
/* the four grounds move one cell over every two and a half seconds, in steps, never a fade */
@keyframes cyc0{0%{background:var(--field);color:var(--sym-on-field)}25%{background:var(--pop);color:var(--sym-on-pop)}50%{background:var(--deep);color:var(--sym-on-deep)}75%{background:#fff;color:var(--sym-on-paper)}}
@keyframes cyc1{0%{background:var(--pop);color:var(--sym-on-pop)}25%{background:var(--deep);color:var(--sym-on-deep)}50%{background:#fff;color:var(--sym-on-paper)}75%{background:var(--field);color:var(--sym-on-field)}}
@keyframes cyc2{0%{background:var(--deep);color:var(--sym-on-deep)}25%{background:#fff;color:var(--sym-on-paper)}50%{background:var(--field);color:var(--sym-on-field)}75%{background:var(--pop);color:var(--sym-on-pop)}}
@keyframes cyc3{0%{background:#fff;color:var(--sym-on-paper)}25%{background:var(--field);color:var(--sym-on-field)}50%{background:var(--pop);color:var(--sym-on-pop)}75%{background:var(--deep);color:var(--sym-on-deep)}}

.t-posts{background:var(--wash)}
.rail{position:absolute;left:24px;top:22px;display:flex;will-change:transform;animation:rail 10s infinite}
.post{flex:none;width:233px;margin-right:16px;background:#fff;border-radius:var(--rad-card);overflow:hidden;box-shadow:0 1px 2px rgba(20,24,18,.06),0 8px 24px rgba(20,24,18,.07)}
.post .art{position:relative;height:291px;box-sizing:border-box;padding:20px 20px 18px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.post .art .sy{width:30px;height:30px}
.post .big{font-size:31px;line-height:1.06}
.post .sm{font:500 11.5px/1.3 var(--ui)}
.post .num{display:inline-block;font-size:66px;line-height:.95;white-space:nowrap;overflow-wrap:normal}
.post .chip{align-self:flex-start;padding:5px 10px;border-radius:var(--rad-tag);font:600 11px/1.2 var(--ui)}
.post .row{display:flex;justify-content:space-between;align-items:center}
.post .lk{font-size:16px;max-width:190px;overflow:hidden}
.post .ic{height:26px;display:flex;align-items:center;gap:11px;padding:0 12px}
.post .ic svg{width:15px;height:15px;fill:none;stroke:#1B1B1A;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.post .ic svg:last-child{margin-left:auto}
.p1 .art{background:var(--field);color:var(--on-field)}.p1 .sy{color:var(--sym-on-field)}
.p2 .art{background:#fff;color:var(--ink)}.p2 .num{color:var(--sym-on-paper)}
.p3 .art{background:var(--deep);color:var(--on-deep)}.p3 .chip{background:var(--pop);color:var(--on-pop)}
.p4 .art{background:var(--pop);color:var(--on-pop)}
.p5 .art{background:var(--tint);color:var(--ink)}.p5 .sy{color:var(--sym-on-paper)}
.p6 .art{padding:0;background:var(--field)}
.p6 canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
#stage.notex .p6 canvas,#stage.pat .p6 canvas,#stage.nogl .p6 canvas{display:none}
#stage.nogl:not(.notex):not(.pat) .p6 .art{background:radial-gradient(90% 60% at 18% 12%,var(--pop),transparent 70%),radial-gradient(80% 60% at 90% 95%,var(--deep),transparent 70%),var(--field)}
.p6 .pat{position:absolute;inset:0;display:none;overflow:hidden}
#stage.pat .p6 .pat{display:block}
.p6 .foot{position:absolute;left:12px;right:12px;bottom:12px;height:54px;box-sizing:border-box;padding:0 14px;display:flex;align-items:center;background:#fff;color:var(--ink);border-radius:min(var(--rad-card),14px)}
.p6 .foot .sy{color:var(--sym-on-paper)}

.t-ui{background:#fff;color:#1B1B1A;font:400 13px/1.2 var(--ui)}
.t-ui .col{position:absolute;inset:0;padding:0 22px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.t-ui label{font-size:11.5px;color:#6E6E6A;margin-bottom:-3px}
.t-ui .in{height:40px;box-sizing:border-box;border:1.5px solid #D9D9D4;border-radius:var(--rad-ctl);display:flex;align-items:center;padding:0 14px;color:#9A9A95}
.t-ui .bt{height:40px;box-sizing:border-box;border-radius:var(--rad-ctl);display:grid;place-items:center;font-weight:600;font-size:13.5px;background:var(--fill);color:var(--on-fill)}
.t-ui .bt.two{background:none;border:1.5px solid #1B1B1A;color:#1B1B1A}
.t-ui .tags{display:flex;gap:6px;margin-top:8px}
.t-ui .tags b{padding:5px 9px;border-radius:var(--rad-tag);font-weight:600;font-size:11px;background:var(--pop);color:var(--on-pop)}
.t-ui .tags b+b{background:var(--tint);color:var(--ink)}.t-ui .tags b+b+b{background:none;box-shadow:inset 0 0 0 1.5px #D9D9D4;color:#1B1B1A}
.t-ui .sw{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.t-ui .sw i{width:42px;height:24px;border-radius:var(--rad-ctl);background:var(--fill);position:relative}
.t-ui .sw i::after{content:"";position:absolute;right:3px;top:3px;width:18px;height:18px;border-radius:max(0px,calc(var(--rad-ctl) - 3px));background:var(--on-fill)}

.t-tex{background:var(--field);color:var(--on-field)}
.t-tex canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
#stage.notex .t-tex canvas,#stage.pat .t-tex canvas,#stage.nogl .t-tex canvas{display:none}
/* without WebGL the four moving fields fall back to one still gradient */
#stage.nogl:not(.notex):not(.pat) .t-tex{background:radial-gradient(90% 60% at 18% 12%,var(--pop),transparent 70%),radial-gradient(80% 60% at 90% 95%,var(--deep),transparent 70%),var(--field)}
.t-tex .pat{position:absolute;inset:0;display:none;overflow:hidden}
#stage.pat .t-tex .pat{display:block}
.pat .drift{height:125.157%;animation:drift 10s linear infinite}
@keyframes drift{to{transform:translateY(-20.1005%)}}
/* a pattern never sits under the mark: the mark gets a solid disc */
.t-tex .disc{position:relative;display:grid;place-items:center;width:156px;height:156px;border-radius:50%}
#stage.pat .t-tex .disc{background:var(--field)}
.t-tex .sy{width:118px;height:118px}
#stage.pat .t-tex .sy{width:84px;height:84px}

@keyframes rail{0.000%{transform:translateX(0px);animation-timing-function:linear}4.500%{transform:translateX(0px);animation-timing-function:var(--glide)}
  16.667%{transform:translateX(-249px);animation-timing-function:linear}21.167%{transform:translateX(-249px);animation-timing-function:var(--glide)}
  33.333%{transform:translateX(-498px);animation-timing-function:linear}37.833%{transform:translateX(-498px);animation-timing-function:var(--glide)}
  50.000%{transform:translateX(-747px);animation-timing-function:linear}54.500%{transform:translateX(-747px);animation-timing-function:var(--glide)}
  66.667%{transform:translateX(-996px);animation-timing-function:linear}71.167%{transform:translateX(-996px);animation-timing-function:var(--glide)}
  83.333%{transform:translateX(-1245px);animation-timing-function:linear}87.833%{transform:translateX(-1245px);animation-timing-function:var(--glide)}
  100%{transform:translateX(-1494px)}}

/* ---------------------------------------------------------------- the panel: one dark card, built once */
.card{position:fixed;right:12px;top:12px;width:300px;box-sizing:border-box;padding:16px 16px 14px;background:#0E0E0E;border-radius:22px;color:#F5F5F3;
  font:13px/1.3 var(--ui);letter-spacing:-.005em;overflow:auto;scrollbar-width:none;user-select:none;-webkit-user-select:none;
  box-shadow:0 1px 2px rgba(0,0,0,.2),0 24px 64px rgba(0,0,0,.16);transform-origin:100% 0;transform:translateX(var(--px,0px)) scale(var(--pk,1));transition:transform .56s var(--spring);will-change:transform}
.card::-webkit-scrollbar{display:none}
.card.closed{--px:calc(100% + 28px)}
.card.still{transition:none}
#panel{height:calc((100% - 24px) / var(--pk,1))}
#panel header{display:flex;align-items:center;justify-content:space-between;height:24px}
#panel header b{font-size:15px;font-weight:500}
#panel header span{display:flex;gap:13px}
#panel header button{all:unset;cursor:pointer;font-size:12px;color:#8C8C88;padding:4px 0}
#panel header button:hover,#panel header button:focus-visible{color:#F5F5F3}
#panel header button.off{color:#4A4A47;cursor:default}
#panel section{padding:11px 0 12px;border-top:1px solid #222;margin-top:11px}
#panel section+section{margin-top:0}
#panel section:last-child{padding-bottom:2px}
#panel h5{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px;font-size:13.5px;font-weight:500}
#panel h5 span{display:inline-flex;align-items:center;flex:none}
/* a lock: Shuffle leaves a locked row alone. It changes color only, so nothing moves when it is pressed. */
#panel .lock{all:unset;cursor:pointer;display:inline-grid;place-items:center;width:20px;height:18px;margin-left:3px;color:#4E4E4B}
#panel .lock svg{width:12px;height:12px;display:block}
#panel .lock:hover,#panel .lock:focus-visible{color:#8C8C88}
#panel .lock[aria-pressed=true]{color:#F5F5F3}
#panel .lock .shut,#panel .lock[aria-pressed=true] .open{display:none}
#panel .lock[aria-pressed=true] .shut{display:inline}
#panel h5 i{font-style:normal;font-weight:400;font-size:12px;color:#8C8C88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#panel .row{display:flex;align-items:center;gap:10px}
#panel .row+.row,#panel .grp+.row,#panel .stack+.row{margin-top:7px}
#panel .row label{flex:0 0 62px;color:#F5F5F3;display:inline-flex;align-items:center}
#panel .row label.wide{flex-basis:76px}
#panel .row .grp,#panel .row input{flex:1;min-width:0}
#panel input{all:unset;box-sizing:border-box;height:34px;padding:0 12px;border-radius:11px;background:#1A1A1A;color:#F5F5F3;font:500 13px/34px var(--ui);user-select:text;-webkit-user-select:text;cursor:text}
#panel input:focus{box-shadow:inset 0 0 0 1px #474747}
#panel input::placeholder{color:#6A6A66}
.grp{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:#1A1A1A;border-radius:11px;cursor:pointer;touch-action:none;outline:none}
.grp:focus-visible{box-shadow:0 0 0 1px #474747}
.grp .th{position:absolute;left:0;top:0;box-sizing:border-box;border-radius:8px;background:#333;pointer-events:none;transition:transform .46s var(--spring)}
.grp.still .th{transition:none}
.grp .o{position:relative;display:grid;place-items:center}
.cells{padding:4px;grid-auto-flow:row;grid-template-columns:repeat(var(--n,6),1fr)}
.cells .th{background:#2C2C2C;box-shadow:inset 0 0 0 1px #474747}
.cells .o{height:34px;border-radius:8px;transition:opacity .2s}
.cells .o:not(.on){opacity:.62}.cells .o:hover,.cells.full .o{opacity:1}
.cells .o svg{width:22px;height:22px;color:#F5F5F3}
.cells .o .no{font-size:10.5px;color:#F5F5F3}
.cells .o .aa{font-size:21px;line-height:1;color:#F5F5F3;white-space:nowrap}
.cells[data-k=font] .o{height:36px;overflow:hidden}
.cells .o .tx{display:block;width:22px;height:22px;border-radius:5px;overflow:hidden;background:#262626;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.cells .o .tx svg{width:100%;height:100%;display:block;transform:scale(1.8)}
.tx-soft{background:radial-gradient(circle at 28% 28%,#F5F5F3,transparent 62%),radial-gradient(circle at 78% 82%,#8C8C88,transparent 58%),#262626 !important}
.tx-grain{background:radial-gradient(#0E0E0E 34%,transparent 36%) 0 0/3px 3px,radial-gradient(circle at 62% 38%,#F5F5F3,#262626 72%) !important}
.tx-stipple{background:radial-gradient(#F5F5F3 36%,transparent 40%) 0 0/5px 5px,#262626 !important}
.tx-lines{background:repeating-linear-gradient(100deg,#F5F5F3 0 1px,transparent 1px 4px),#262626 !important}
.cells[data-k=tex] .o{height:30px}
.cells .o .dot{width:13px;height:13px;border-radius:50%;box-shadow:0 0 0 1px rgba(255,255,255,.14)}
.cells .o .chip{width:calc(100% - 10px);max-width:34px;height:20px;border-radius:5px;overflow:hidden;display:flex;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.cells .o .chip b{display:block;height:100%}
.cells[data-k=fam] .o{height:26px}
.cells[data-k=fam] .o .dot{width:12px;height:12px}
.cells[data-k=pal] .o{height:30px}
.stack{margin-top:7px}
.cells.scroll{max-height:93px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;align-content:start;touch-action:pan-y}
.cells.scroll::-webkit-scrollbar{display:none}
.cells.scroll:not(.end){-webkit-mask-image:linear-gradient(#000 calc(100% - 24px),transparent);mask-image:linear-gradient(#000 calc(100% - 24px),transparent)}
/* saved looks: a plus, then six places */
.saved{flex:1;min-width:0;display:grid;grid-template-columns:repeat(7,1fr);height:32px;box-sizing:border-box;padding:4px;background:#1A1A1A;border-radius:11px}
.saved button{all:unset;cursor:pointer;display:grid;place-items:center;height:24px;border-radius:8px;color:#8C8C88;font-size:16px;line-height:1}
.saved button:hover,.saved button:focus-visible{background:#2C2C2C;color:#F5F5F3}
.saved .slot:not(.full){cursor:default}.saved .slot:not(.full):hover{background:none}
.saved .slot:not(.full)::before{content:"";width:3px;height:3px;border-radius:50%;background:#555}
.saved .sv{display:grid;place-items:center;width:22px;height:18px;border-radius:5px;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.saved .sv svg{width:12px;height:12px;display:block}
/* the veil over the panel while the page around it still holds the email form */
#panel .veil{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;padding:0 24px 34%;box-sizing:border-box;text-align:center;border-radius:inherit;
  background:linear-gradient(to bottom,rgba(14,14,14,.1) 0%,rgba(14,14,14,.62) 34%,rgba(14,14,14,.95) 78%);color:#F5F5F3;transition:transform .56s var(--spring)}
#panel .veil svg{width:22px;height:22px}
#panel .veil b{font-size:14px;font-weight:500;text-wrap:balance}
#panel:not(.locked) .veil{transform:translateY(103%)}
#panel.locked{overflow:hidden}
.stack>.grp[hidden]{display:none}
.steps{height:32px}
.steps .o::before{content:"";width:3px;height:3px;border-radius:50%;background:#555}
.steps .th{z-index:1;top:4px;height:24px;padding:0 10px;font-size:12px;font-weight:500;line-height:24px;white-space:nowrap;color:#F5F5F3}

/* ---------------------------------------------------------------- the gate (only with ?gate=1) */
#gate{bottom:12px;display:flex;flex-direction:column;justify-content:center;padding:22px;user-select:auto;-webkit-user-select:auto}
#gate small{font-size:12px;color:#8C8C88}
#gate h1{margin:10px 0 10px;font:500 26px/1.1 var(--ui);letter-spacing:-.025em;text-wrap:balance}
#gate p{margin:0 0 20px;font-size:13.5px;line-height:1.45;color:#B9B9B4;text-wrap:pretty}
#gate input{all:unset;box-sizing:border-box;width:100%;height:42px;padding:0 14px;border-radius:11px;background:#1A1A1A;color:#F5F5F3;font:500 14px/42px var(--ui);cursor:text}
#gate input:focus{box-shadow:inset 0 0 0 1px #474747}
#gate input::placeholder{color:#6A6A66}
#gate button{all:unset;box-sizing:border-box;width:100%;height:42px;margin-top:8px;border-radius:11px;background:#F5F5F3;color:#0E0E0E;font:600 14px/42px var(--ui);text-align:center;cursor:pointer}
#gate button:focus-visible{box-shadow:0 0 0 2px #0E0E0E,0 0 0 4px #F5F5F3}
#gate em{display:block;min-height:17px;margin-top:8px;font-style:normal;font-size:12px;color:#E9A08E}

/* ---------------------------------------------------------------- a narrow screen: the board on top, the panel under it */
body.narrow{overflow:auto;height:auto}
body.narrow #back{position:fixed;left:0;top:0;right:0;height:var(--bh);background:#fff;z-index:2}
body.narrow #wrap{z-index:3}
body.narrow .card{position:absolute;left:12px;right:12px;top:calc(var(--bh) + 4px);width:auto;height:auto;bottom:auto;margin-bottom:12px;--pk:1;transform:none;transition:none}
body.narrow .card.closed{display:none}
body.narrow .grp{touch-action:pan-y}
body.shot .card{display:none}

@media (prefers-reduced-motion:reduce){.rail,.t-syms i{animation-play-state:paused}.card,.grp .th{transition:none}}
.p6 .foot{overflow:hidden}
.p6 .foot .lk{font-size:17px;max-width:100%;overflow:hidden}

/* the profile's grid: nine small posts, each a different kind (mark, texture, a number, the mark cropped big, a line,
   the wordmark, the palette, the mark again, a tag) */
.phone .gr i{position:relative;overflow:hidden}
.g-tex{background:var(--field)}
.g-tex canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
#stage.notex .g-tex canvas,#stage.pat .g-tex canvas,#stage.nogl .g-tex canvas{display:none}
.g-tex .pat{position:absolute;inset:0;display:none;overflow:hidden}
#stage.pat .g-tex .pat{display:block}
.g-num{background:#fff;color:var(--sym-on-paper)}
.g-num b{display:inline-block;font-size:34px;line-height:1;white-space:nowrap;overflow-wrap:normal}
.g-big{background:var(--deep);color:var(--sym-on-deep)}
.phone .gr .g-big .sy{position:absolute;left:16%;top:20%;width:125%;height:125%}
.phone .gr .g-say{background:var(--pop);color:var(--on-pop);place-items:end start;padding:9px;box-sizing:border-box}
.g-say .copy{font-size:13px;line-height:1.08;text-align:left}
.g-word{background:#fff;color:var(--ink)}
.phone .gr .g-bars{display:flex}
.g-bars u{flex:1}
.g-tag{background:var(--tint)}
.g-tag b{padding:4px 8px;border-radius:var(--rad-tag);background:var(--deep);color:var(--on-deep);font:600 10px/1.2 var(--ui);white-space:nowrap}
/* inside the site's page: no margins of the tool's own */
body.embed .card{right:0;top:0;box-shadow:none}
body.embed #panel{height:calc(100% / var(--pk,1))}
body.embed.narrow .card{left:0;right:0;top:var(--bh)}
/* ---- a phone, second pass: the panel is as long as its rows and the page scrolls; nothing scrolls inside the panel */
body.narrow #panel{height:auto;overflow:visible}
body.narrow #panel.locked{overflow:hidden}
body.narrow #panel::after{content:"";position:absolute;left:0;top:100%;width:1px;height:calc(96px + env(safe-area-inset-bottom,0px))}   /* room for the browser's own bar */
body.narrow .cells.scroll{max-height:none;overflow:visible;-webkit-mask-image:none;mask-image:none}
/* bigger targets for a finger */
body.narrow .cells .o{height:40px}
body.narrow .cells[data-k=fam] .o{height:34px}
body.narrow .steps{height:40px}
body.narrow .steps .th{top:8px}
body.narrow .saved{height:40px}
body.narrow .saved button{height:32px}
body.narrow #panel header{height:32px}
body.narrow #panel header button{padding:9px 0;font-size:13px}
body.narrow #panel .lock{width:34px;height:28px;margin:-5px 0}
body.narrow #panel .lock svg{width:14px;height:14px}
body.narrow #panel input{height:40px;font-size:16px;line-height:40px}   /* under 16 px a phone zooms the page when the field is tapped */

/* inside the site page on a wide screen the tool has no ground of its own, so it sits on whatever color the page is
   (the site's page changes color near its footer). On a phone it stays white: the board is pinned over a white strip. */
html:has(body.embed:not(.narrow)),body.embed:not(.narrow){background:transparent}
