/* try.css — "Try it on yours" (#try) on a gold sheet: three arched clay doors (paper; plum clay when chosen) and one paper panel under
   them whose tab points at the chosen door. Door 3: the clay lamp reads a site live and throws its golden light on the page. Every door
   ends in three wishes — the three stars, lit when one is chosen — and the seat in gold clay. Prefix ty-. Kit tokens only. */
.ty .k-eyebrow{color:var(--plum-500)}
.ty .k-h2{color:var(--plum-600);text-shadow:0 2px 0 rgba(255,255,255,.35),0 10px 22px rgba(140,70,0,.16)}

/* ── the three doors ── */
.ty-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,28px)}
.ty-door{--ty-arch:50% 50% 30px 30px / 30% 30% 30px 30px;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:14px;min-height:330px;padding:44px 28px 28px;text-align:center;color:var(--ink);border-radius:var(--ty-arch);
  background:var(--k-paper);box-shadow:var(--k-paper-shadow),0 36px 52px -32px rgba(110,50,0,.6);transition:transform .5s var(--spring),box-shadow .4s,color .3s;-webkit-tap-highlight-color:transparent}
/* the door's panel: a recessed arch inside the frame */
.ty-door::before{content:"";position:absolute;inset:12px;z-index:-1;border-radius:inherit;pointer-events:none;background:linear-gradient(180deg,rgba(253,235,196,.55),rgba(253,235,196,.15));box-shadow:inset 0 2px 7px rgba(150,90,20,.16),inset 0 -1px 0 rgba(255,255,255,.9);transition:background .4s,box-shadow .4s}
/* the light behind a door that is open */
.ty-door::after{content:"";position:absolute;inset:auto 14% -14px;height:30px;z-index:-2;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,rgba(255,236,150,.95),rgba(255,236,150,0));filter:blur(4px);opacity:0;transition:opacity .45s}
.ty-door:hover{transform:translateY(-6px)}
.ty-door[aria-selected="true"]{color:var(--cream-100);background:var(--k-grain-light),var(--k-plum-clay);box-shadow:var(--k-plum-shadow),0 44px 62px -30px rgba(60,6,30,.62);transform:translateY(-8px)}
.ty-door[aria-selected="true"]::before{background:radial-gradient(90% 70% at 50% 100%,rgba(250,201,63,.32),rgba(250,201,63,0) 70%),linear-gradient(180deg,rgba(20,0,10,.18),rgba(20,0,10,.05));box-shadow:inset 0 3px 9px rgba(20,0,10,.4),inset 0 -1px 0 rgba(255,255,255,.08)}
.ty-door[aria-selected="true"]::after{opacity:1}
.ty-doors.ty-chosen .ty-door[aria-selected="false"]{filter:saturate(.85)}
.ty-door:focus-visible{outline:3px solid var(--plum-400);outline-offset:4px}
.ty-dart{position:relative;width:96px;height:96px;flex:none;border-radius:28px;overflow:hidden;transform:rotate(-3deg);box-shadow:0 18px 26px -14px rgba(110,50,0,.6),0 0 0 3px rgba(255,255,255,.7);transition:transform .5s var(--spring)}
.ty-dart img{width:100%;height:100%;object-fit:cover}
.ty-door:hover .ty-dart,.ty-door[aria-selected="true"] .ty-dart{transform:rotate(0) translateY(-3px) scale(1.05)}
.ty-door[aria-selected="true"] .ty-dart{box-shadow:0 18px 26px -12px rgba(20,0,10,.6),0 0 0 3px rgba(255,236,150,.85)}
.ty-dtx{display:flex;flex-direction:column;align-items:center;gap:8px}
.ty-dtx b{font:770 clamp(1.3rem,1.85vw,1.62rem)/1.06 var(--display);letter-spacing:-.025em;color:var(--plum-600)}
.ty-dtx span{max-width:17em;font-size:.98rem;line-height:1.45;color:var(--ink-2)}
.ty-door[aria-selected="true"] .ty-dtx b{color:var(--cream-50)}
.ty-door[aria-selected="true"] .ty-dtx span{color:#ecd2c4}
.ty-dgo{display:grid;place-items:center;width:46px;height:46px;margin-top:auto;border-radius:50%;color:var(--cream-50);background:var(--k-grain-light),var(--k-plum-clay);box-shadow:var(--k-plum-shadow);transition:transform .45s var(--spring),background .3s}
.ty-dgo svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .45s var(--spring)}
.ty-door:hover .ty-dgo{transform:translateY(2px)}
.ty-door[aria-selected="true"] .ty-dgo{color:var(--plum-700);background:var(--k-grain),var(--k-gold-clay);box-shadow:var(--k-gold-shadow)}
.ty-door[aria-selected="true"] .ty-dgo svg{transform:rotate(90deg)}

/* ── the panel under the doors: one paper sheet; its tab points up at the chosen door ── */
.ty-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:0fr;transition:grid-template-rows .6s var(--ease),margin-top .6s var(--ease)}
.ty-panel.ty-open{grid-template-rows:1fr;margin-top:clamp(30px,3.6vw,46px)}
.ty-pin{min-height:0;min-width:0;overflow:hidden}
.ty-panel.ty-settled .ty-pin{overflow:visible}
.ty-pbox{position:relative;padding:clamp(22px,4vw,52px);border-radius:var(--r-xl);color:var(--ink);background:var(--k-paper);box-shadow:var(--k-paper-shadow),0 56px 90px -46px rgba(110,50,0,.6)}
.ty-pbox::before{content:"";position:absolute;top:-17px;inset-inline-start:var(--ty-tx,50%);width:56px;height:18px;margin-inline-start:-28px;background:#fffaf0;transition:inset-inline-start .5s var(--spring);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 18'%3E%3Cpath d='M0 18C14 18 20 1 28 1S42 18 56 18Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 18'%3E%3Cpath d='M0 18C14 18 20 1 28 1S42 18 56 18Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.ty-pbox>.ty-view{animation:ty-in .55s var(--ease) both}
@keyframes ty-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.ty-ask{margin-bottom:20px;font:770 clamp(1.4rem,2.2vw,1.9rem)/1.1 var(--display);letter-spacing:-.025em;color:var(--plum-600)}
.ty-sub{margin-top:16px;max-width:46em;font-size:.9375rem;line-height:1.55;color:var(--ink-3);text-wrap:pretty}
.ty-link{display:inline-flex;align-items:center;gap:6px;padding:6px 0;font:600 .9375rem/1.3 var(--text);color:var(--plum-500);text-decoration:underline;text-decoration-color:rgba(100,8,46,.3);text-underline-offset:4px}
.ty-link:hover{color:var(--plum-700);text-decoration-color:currentColor}
.ty .pb-more-btn{color:var(--plum-600);border-color:rgba(100,8,46,.34);background:rgba(255,255,255,.7)}

/* —— grow: the site field, and the lamp that reads it —— */
.ty-gtop{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(10px,1.6vw,20px)}
.ty-form{display:grid;gap:14px;align-content:start;max-width:780px}
.ty-lab{font:650 .78rem/1 var(--display);letter-spacing:.22em;text-transform:uppercase;color:var(--plum-500)}
.ty-field{display:flex;align-items:center;gap:8px;height:64px;padding-block:0; padding-inline:20px 7px;border-radius:999px;background:#fff;box-shadow:inset 0 2px 4px rgba(100,8,46,.12),inset 0 0 0 1px rgba(100,8,46,.08),0 16px 30px -18px rgba(90,40,0,.45);transition:box-shadow .2s}
.ty-field:focus-within{box-shadow:inset 0 2px 4px rgba(100,8,46,.12),0 0 0 3px var(--plum-400),0 16px 30px -18px rgba(90,40,0,.45)}
.ty-field>svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--plum-500);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ty-pre{font:500 1.0625rem/1 var(--text);color:var(--ink-3);user-select:none}
.ty-field input{flex:1;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;font:500 1.125rem/1 var(--text);color:var(--ink);caret-color:var(--plum-500)}
.ty-field input::placeholder{color:var(--ink-3);opacity:.85}
.ty-go{--h:50px;flex:none;padding:0 22px}
.ty-go[disabled]{opacity:.6;cursor:progress;transform:none;filter:none}
.ty-msg{font-size:.9375rem;line-height:1.5;font-weight:600;color:#a2391d}
.ty-msg:empty{display:none}
.ty-priv{display:flex;gap:10px;align-items:flex-start;font-size:.875rem;line-height:1.5;color:var(--ink-3)}
.ty-priv svg{width:17px;height:17px;flex:none;margin-top:1px;fill:none;stroke:#2f7a4d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* the theatre: the lamp throws its light on the page it reads; its three stars rise from the spout toward it */
.ty-stage{position:relative;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:center;gap:clamp(16px,3.4vw,56px);padding:clamp(10px,2vw,26px) 0 0}
.ty-lampbox{position:relative;align-self:end;justify-self:center;width:100%;max-width:430px;z-index:1;padding-bottom:16px}
.ty-lampglow{position:absolute;inset-inline-start:8%;inset-inline-end:4%;bottom:0;height:22px;border-radius:50%;background:radial-gradient(closest-side,rgba(110,50,0,.28),rgba(110,50,0,0));filter:blur(2px)}
.ty-lamp{position:relative;width:100%;height:auto;filter:drop-shadow(0 16px 16px rgba(60,6,30,.3));transition:filter .8s}
.ty-stage[data-st="running"] .ty-lamp,.ty-stage[data-st="done"] .ty-lamp{filter:drop-shadow(0 0 22px rgba(250,201,63,.75)) drop-shadow(0 16px 16px rgba(60,6,30,.3))}
.ty-stage[data-st="failed"] .ty-lamp{filter:saturate(.55) brightness(.92) drop-shadow(0 16px 16px rgba(60,6,30,.3))}
.ty-beamwrap{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;filter:blur(8px);transition:opacity .9s}
.ty-beam{position:absolute;inset:0;background:radial-gradient(circle at var(--ty-sx,30%) var(--ty-sy,40%),rgba(255,222,96,1),rgba(250,201,63,.78) 26%,rgba(246,190,50,.42) 58%,rgba(242,182,41,.16) 86%)}
.ty-stage[data-st="queued"] .ty-beamwrap{opacity:.35}
.ty-stage[data-st="running"] .ty-beamwrap{opacity:1}
.ty-stage[data-st="long"] .ty-beamwrap{opacity:.4}
.ty-stage[data-st="done"] .ty-beamwrap{opacity:.9;animation:ty-flare .9s ease-out both}
@keyframes ty-flare{30%{filter:blur(6px) brightness(1.4)}100%{filter:blur(10px) brightness(1)}}
.ty-ls{position:absolute;inset-inline-start:0;top:0;z-index:4;width:28px;margin-block:-14px 0; margin-inline:-14px 0;pointer-events:none;opacity:0}
.ty-ls img{display:block;width:100%;height:auto;filter:drop-shadow(0 4px 5px rgba(120,60,0,.4)) drop-shadow(0 0 8px rgba(255,226,120,.8))}
.ty-ls--2{width:19px;margin-block:-9.5px 0; margin-inline:-9.5px 0}.ty-ls--3{width:16px;margin-block:-8px 0; margin-inline:-8px 0}
.ty-stage[data-st="idle"] .ty-ls{animation:ty-rise 6.6s var(--ease) infinite}
.ty-stage[data-st="queued"] .ty-ls,.ty-stage[data-st="long"] .ty-ls{animation:ty-rise 4.2s var(--ease) infinite}
.ty-stage[data-st="running"] .ty-ls{animation:ty-rise 2.7s var(--ease) infinite}
.ty-stage[data-st="idle"] .ty-ls--2{animation-delay:-2.2s}.ty-stage[data-st="idle"] .ty-ls--3{animation-delay:-4.4s}
.ty-stage:not([data-st="idle"]) .ty-ls--2{animation-delay:-.9s}.ty-stage:not([data-st="idle"]) .ty-ls--3{animation-delay:-1.8s}
.ty-stage[data-st="done"] .ty-ls{opacity:1;transform:translate(var(--ty-dx,0),var(--ty-dy,0)) rotate(12deg);transition:transform .9s var(--spring),opacity .4s}
@keyframes ty-rise{0%{transform:translate(0,0) scale(.3) rotate(0);opacity:0}14%{opacity:1}55%{transform:translate(calc(var(--ty-rx,0px) * .5),calc(var(--ty-ry,0px) * .5 - 44px)) scale(1) rotate(70deg)}86%{opacity:1}100%{transform:translate(var(--ty-rx,0),var(--ty-ry,0)) scale(.7) rotate(140deg);opacity:0}}
.ty-motes{position:absolute;inset:0;z-index:3;pointer-events:none}
.ty-mote{position:absolute;width:var(--ty-ms,3px);height:var(--ty-ms,3px);border-radius:50%;background:#fff6cc;box-shadow:0 0 6px 1px rgba(250,201,63,.9);opacity:0}
.ty-stage[data-st="running"] .ty-mote{animation:ty-mote var(--ty-md,5s) ease-in-out var(--ty-mdl,0s) infinite}
.ty-stage[data-st="queued"] .ty-mote,.ty-stage[data-st="long"] .ty-mote{animation:ty-mote calc(var(--ty-md,5s) * 2) ease-in-out var(--ty-mdl,0s) infinite}
@keyframes ty-mote{0%{opacity:0;transform:translate(0,0)}25%{opacity:.95}75%{opacity:.5}100%{opacity:0;transform:translate(var(--ty-mx,20px),var(--ty-my,-14px))}}
/* the page being read: a little browser window */
.ty-page{position:relative;z-index:2;overflow:hidden;border-radius:22px;background:linear-gradient(180deg,#fffaf0,#fff2d4);box-shadow:inset 0 1px 0 #fff,0 30px 50px -26px rgba(80,30,0,.5),0 10px 18px -8px rgba(80,30,0,.22);transition:box-shadow .6s}
.ty-stage[data-st="running"] .ty-page,.ty-stage[data-st="done"] .ty-page{box-shadow:inset 0 1px 0 #fff,0 0 0 3px rgba(250,201,63,.55),-26px 0 60px -24px rgba(250,201,63,.85),0 30px 50px -26px rgba(80,30,0,.5)}
.ty-chrome{display:flex;align-items:center;gap:7px;height:46px;padding:0 14px;background:linear-gradient(180deg,#fff6e0,#fdebc4);box-shadow:inset 0 -1px 0 rgba(100,8,46,.08)}
.ty-chrome>i{width:10px;height:10px;flex:none;border-radius:50%;background:#f3c7a0;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.ty-chrome>i:nth-child(2){background:#f7d977}.ty-chrome>i:nth-child(3){background:#b9dba0}
.ty-url{flex:1;min-width:0;display:flex;align-items:center;gap:7px;margin-inline-start:8px;padding:7px 14px;border-radius:999px;background:rgba(100,8,46,.07);font:600 .875rem/1.2 var(--text);white-space:nowrap;overflow:hidden}
.ty-url svg{width:13px;height:13px;flex:none;fill:none;stroke:#2f7a4d;stroke-width:2.4;stroke-linecap:round}
.ty-url b{overflow:hidden;text-overflow:ellipsis;font-weight:650;color:var(--plum-600)}
.ty-url b[data-ph]{font-weight:500;color:var(--ink-3)}
.ty-pgb{position:relative;min-height:232px;padding:20px 22px 22px}
.ty-scan{position:absolute;inset-inline-start:0;inset-inline-end:0;top:-18px;height:36px;opacity:0;pointer-events:none;background:linear-gradient(180deg,rgba(250,201,63,0),rgba(250,201,63,.12) 40%,rgba(250,201,63,.42) 50%,rgba(250,201,63,.12) 60%,rgba(250,201,63,0));-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
.ty-stage[data-st="running"] .ty-scan{opacity:1;animation:ty-scan 2.6s cubic-bezier(.45,0,.55,1) infinite alternate}
@keyframes ty-scan{from{transform:translateY(4px)}to{transform:translateY(var(--ty-sh,200px))}}
.ty-now{position:relative;font:770 clamp(1.12rem,1.6vw,1.38rem)/1.18 var(--display);letter-spacing:-.02em;color:var(--plum-600)}
.ty-q{margin-top:6px;font-size:.9rem;font-variant-numeric:tabular-nums;color:var(--plum-500)}
.ty-q:empty{display:none}
.ty-steps{display:grid;gap:12px;margin-top:16px}
.ty-steps li{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ink-3);opacity:.5;text-wrap:pretty;transition:opacity .7s,color .5s}
.ty-steps li[data-s]{opacity:1}
.ty-steps li[data-s="now"],.ty-steps li[data-s="done"]{color:var(--ink)}
.ty-steps li[data-s="past"]{color:var(--ink-2)}
.ty-sd{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(100,8,46,.18);transition:background .4s,box-shadow .4s}
.ty-sd svg{width:13px;height:13px;fill:none;stroke:var(--plum-700);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .3s}
.ty-steps li[data-s="now"] .ty-sd{box-shadow:inset 0 0 0 2.5px var(--gold-500);animation:ty-ping 1.6s ease-out infinite}
.ty-stage[data-st="long"] .ty-steps li[data-s="now"] .ty-sd{animation:none}
.ty-steps li[data-s="past"] .ty-sd{box-shadow:inset 0 0 0 2.5px var(--gold-400)}
.ty-steps li[data-s="done"] .ty-sd{background:var(--k-gold-clay);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 4px 8px -3px rgba(170,100,0,.6)}
.ty-steps li[data-s="done"] .ty-sd svg{opacity:1}
@keyframes ty-ping{0%{box-shadow:inset 0 0 0 2.5px var(--gold-500),0 0 0 0 rgba(250,201,63,.6)}100%{box-shadow:inset 0 0 0 2.5px var(--gold-500),0 0 0 10px rgba(250,201,63,0)}}
.ty-five{display:none;gap:4px;margin-top:12px}
.ty-five li{display:flex;align-items:center;gap:12px;padding:5px 0;font-size:.95rem;line-height:1.3;color:var(--ink-2)}
.ty-fdisc{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;color:var(--plum-500);background:var(--cream-200);box-shadow:inset 0 1px 0 #fff,0 4px 8px -4px rgba(110,50,0,.4)}
.ty-fdisc .ty-fic{width:17px;height:17px}
.ty-stage[data-st="idle"] .ty-steps{display:none}
.ty-stage[data-st="idle"] .ty-five{display:grid}
.ty-longbox{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:16px;color:var(--ink-2)}

/* —— the card: what the X-ray saw (paper, plum numerals, gold bars) —— */
.ty-result{display:grid;gap:clamp(30px,4vw,52px);margin-top:clamp(22px,3vw,34px)}
.ty-note{display:flex;gap:12px;align-items:flex-start;padding:14px 18px;border-radius:18px;font-size:.9375rem;line-height:1.5;color:var(--ink-2);background:var(--cream-200);box-shadow:inset 0 1px 0 #fff,inset 0 -2px 0 rgba(160,100,20,.08)}
.ty-note svg{width:19px;height:19px;flex:none;margin-top:1px;fill:none;stroke:var(--plum-500);stroke-width:2;stroke-linecap:round}
.ty-card{position:relative;padding:clamp(20px,3.2vw,40px);border-radius:32px;background:#fff;box-shadow:inset 0 1px 0 #fff,0 36px 64px -36px rgba(90,40,0,.6),0 8px 16px -8px rgba(90,40,0,.16);animation:ty-in .7s var(--ease) both}
.ty-ch{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px}
.ty-chr{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ty-cey{font:650 .78rem/1 var(--display);letter-spacing:.22em;text-transform:uppercase;color:var(--plum-500)}
.ty-chost{margin-top:10px;font:800 clamp(1.8rem,3.6vw,2.9rem)/1.02 var(--display);font-stretch:92%;letter-spacing:-.035em;color:var(--plum-600);overflow-wrap:anywhere}
.ty-cgrid{display:grid;grid-template-columns:minmax(200px,.75fr) minmax(0,1.5fr);gap:clamp(24px,4.4vw,64px);align-items:center;margin-top:clamp(22px,3vw,34px)}
.ty-verdict{position:relative;display:grid;justify-items:center;gap:18px}
.ty-shot{width:100%;overflow:hidden;border-radius:16px;box-shadow:0 0 0 1px rgba(100,8,46,.08),0 22px 40px -24px rgba(90,40,0,.5)}
.ty-shot img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}
.ty-shot+.ty-dialbox{width:min(140px,38vw);margin-top:-86px;margin-inline-end:-10px;justify-self:end;border-radius:50%;background:#fff;box-shadow:0 0 0 6px #fff,0 18px 34px -14px rgba(90,40,0,.5)}
.ty-dialbox{position:relative;width:min(220px,62vw);aspect-ratio:1}
.ty-dial{width:100%;height:100%;transform:rotate(-90deg)}
.ty-dtrack{fill:none;stroke:rgba(100,8,46,.08);stroke-width:9}
.ty-dval{fill:none;stroke:url(#tyDialG);stroke-width:9;stroke-linecap:round;filter:drop-shadow(0 3px 4px rgba(200,130,0,.35));transition:stroke-dashoffset 1.6s var(--ease) .25s}
.ty-score{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.ty-score b{font:800 clamp(3.2rem,6vw,4.6rem)/.9 var(--display);font-stretch:92%;letter-spacing:-.05em;color:var(--plum-600)}
.ty-shot+.ty-dialbox .ty-score b{font-size:2.2rem}
.ty-score span{margin-top:6px;font-size:.875rem;color:var(--ink-3)}
.ty-score i{font:italic 500 .9375rem/1.3 var(--text);color:var(--ink-3)}
.ty-goals{display:grid;gap:18px}
.ty-g{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 14px;align-items:center}
.ty-gl{display:flex;align-items:center;gap:10px;min-width:0;font-weight:600;color:var(--ink)}
.ty-gv{font:770 1.2rem/1 var(--display);font-variant-numeric:tabular-nums;color:var(--plum-600)}
.ty-gb{grid-column:1/-1;position:relative;height:12px;overflow:hidden;border-radius:99px;background:rgba(100,8,46,.08);box-shadow:inset 0 1px 2px rgba(100,8,46,.14)}
.ty-gb i{position:absolute;inset-inline-start:0;top:0;bottom:0;width:calc(var(--ty-v,0) * 100%);border-radius:inherit;background:var(--k-gold-clay);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -2px 3px rgba(170,100,0,.3);transition:width 1.3s var(--ease) .3s}
.ty-g[data-nm] .ty-gl{color:var(--ink-3)}
.ty-g[data-nm] .ty-gb{background:repeating-linear-gradient(90deg,rgba(100,8,46,.12) 0 7px,transparent 7px 14px);box-shadow:none}
.ty-g[data-nm] .ty-gv{font:italic 500 .875rem/1.2 var(--text);color:var(--ink-3)}
.ty-orb{display:inline-grid;flex:none}
.ty-orb .ty-star{width:30px}
.ty-orb .ty-star b{font-size:.7rem;color:var(--plum-700)}
.ty-orb .ty-star-on{filter:drop-shadow(0 0 6px rgba(250,201,63,.85)) drop-shadow(0 3px 3px rgba(130,70,0,.35))}
.ty-lead{display:flex;gap:14px;align-items:center;margin-top:clamp(22px,3vw,32px);padding:16px 20px;border-radius:22px;line-height:1.5;color:var(--plum-700);background:var(--k-grain),var(--k-gold-clay);box-shadow:var(--k-gold-shadow)}
.ty-lic{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:var(--k-grain-light),var(--k-plum-clay);box-shadow:var(--k-plum-shadow)}
.ty-lic svg{width:18px;height:18px;fill:var(--gold-300)}
.ty-lead b{display:block;margin-bottom:3px;font:650 .72rem/1.3 var(--display);letter-spacing:.18em;text-transform:uppercase;color:var(--plum-600)}
.ty-ruler{margin-top:14px;font-size:.8125rem;line-height:1.5;color:var(--ink-3)}

/* —— the wishes, the same ending for every door: three stars, lit when chosen —— */
.ty-wishes{display:grid;gap:22px;margin-top:clamp(28px,3.6vw,44px)}
.ty-result .ty-wishes{margin-top:0}
.ty-whead{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.ty-orbs{display:inline-flex;align-items:flex-end;gap:3px}
.ty-orbs img{height:auto;filter:drop-shadow(0 4px 4px rgba(130,70,0,.35))}
.ty-orbs img:nth-child(1){width:19px}.ty-orbs img:nth-child(2){width:29px}.ty-orbs img:nth-child(3){width:16px}
.ty-wh{font:770 clamp(1.45rem,2.4vw,2.05rem)/1.08 var(--display);letter-spacing:-.025em;color:var(--plum-600)}
.ty-whint{margin-inline-start:auto;font-size:.9375rem;color:var(--ink-3)}
.ty-wl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,22px)}
.ty-w{position:relative;display:flex;flex-direction:column;gap:14px;padding:20px 22px 22px;border-radius:28px;background:#fff;box-shadow:inset 0 1px 0 #fff,0 26px 44px -30px rgba(90,40,0,.6),0 6px 14px -8px rgba(90,40,0,.16);animation:ty-in .6s var(--ease) both;animation-delay:calc(var(--ty-i,0) * 120ms);transition:transform .45s var(--spring),box-shadow .35s}
.ty-w[data-pick]{cursor:pointer}
.ty-w[data-pick]:hover{transform:translateY(-4px)}
.ty-w[data-chosen]{transform:translateY(-4px);box-shadow:inset 0 1px 0 #fff,0 0 0 3px var(--gold-400),0 32px 52px -26px rgba(200,130,0,.65)}
.ty-wtop{display:flex;align-items:center;gap:12px;min-height:58px}
.ty-wn{display:grid;place-items:center;width:60px;height:60px;flex:none;border-radius:50%}
/* a wish's star: cream clay while it waits, gold clay (lit, with its glow) once chosen; its number sits on it */
.ty-star{position:relative;display:grid;place-items:center;width:54px;aspect-ratio:1;transition:transform .55s var(--spring)}
.ty-star img{grid-area:1/1;width:100%;height:auto;filter:drop-shadow(0 6px 6px rgba(110,50,0,.3));transition:opacity .5s,filter .5s}
.ty-star-on{opacity:0}
.ty-star b{grid-area:1/1;position:relative;padding-top:2px;font:800 1.02rem/1 var(--display);color:rgba(100,8,46,.6);transition:color .4s}
button.ty-wn:hover .ty-star{transform:scale(1.08) rotate(-6deg)}
.ty-wn[aria-pressed="true"] .ty-star{transform:scale(1.14) rotate(-4deg)}
.ty-wn[aria-pressed="true"] .ty-star-off{opacity:0}
.ty-wn[aria-pressed="true"] .ty-star-on,.ty-star--lit .ty-star-on{opacity:1;filter:drop-shadow(0 0 12px rgba(250,201,63,.95)) drop-shadow(0 6px 8px rgba(130,70,0,.4))}
.ty-wn[aria-pressed="true"] .ty-star b{color:var(--plum-700)}
button.ty-wn:focus-visible{outline:3px solid var(--plum-400);outline-offset:2px;border-radius:50%}
.ty-wsrc{display:grid;gap:2px;min-width:0;font-size:.8125rem;line-height:1.3;color:var(--ink-3)}
.ty-wsrc b{font-weight:650;color:var(--ink-2)}
.ty-faces{display:inline-flex;flex:none;margin-inline-start:auto}
.ty-faces img{width:34px;height:34px;margin-inline-start:-10px;border-radius:50%;object-fit:cover;border:2.5px solid #fff;background:var(--cream-200);box-shadow:0 6px 10px -5px rgba(90,40,0,.5)}
.ty-faces img:first-child{margin-inline-start:0}
.ty-wt{font:650 clamp(1.1rem,1.45vw,1.28rem)/1.3 var(--display);letter-spacing:-.012em;color:var(--plum-700)}
.ty-wt::before{content:"“";color:var(--gold-600)}.ty-wt::after{content:"”";color:var(--gold-600)}
.ty-wt.ty-wplain{font-size:clamp(1.22rem,1.65vw,1.46rem);font-weight:770;color:var(--plum-600)}
.ty-wt.ty-wplain::before,.ty-wt.ty-wplain::after{content:none}
.ty-wd{font-size:.9375rem;line-height:1.55;color:var(--ink-2)}
.ty-wd b{display:block;margin-bottom:4px;font:650 .7rem/1.3 var(--display);letter-spacing:.18em;text-transform:uppercase;color:var(--plum-500)}
.ty-wb{display:flex;flex-wrap:wrap;gap:8px;min-width:0;margin-top:auto;padding-top:4px}
.ty-seat{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:4px}
.ty-seatnote{max-width:34em;font-size:.9375rem;line-height:1.5;color:var(--ink-2);text-wrap:pretty}

/* —— start: the idea chips and the cheapest test —— */
.ty-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:980px}
.ty-chip{display:flex;align-items:center;gap:12px;min-height:56px;padding-block:8px; padding-inline:8px 18px;border-radius:999px;text-align:start;font:650 .95rem/1.2 var(--display);color:var(--plum-600);background:#fff;box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(100,8,46,.06),0 10px 18px -12px rgba(90,40,0,.5);transition:transform .35s var(--spring),box-shadow .3s,color .3s}
.ty-chip:hover{transform:translateY(-2px)}
.ty-cdisc{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;color:var(--plum-500);background:var(--cream-200);box-shadow:inset 0 1px 0 #fff;transition:background .3s,color .3s}
.ty-cdisc .ty-cic{width:20px;height:20px}
.ty-chip[aria-pressed="true"]{color:var(--cream-50);background:var(--k-grain-light),var(--k-plum-clay);box-shadow:var(--k-plum-shadow)}
.ty-chip[aria-pressed="true"] .ty-cdisc{color:var(--plum-700);background:var(--k-gold-clay);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.ty-chip:focus-visible,.ty-bz:focus-visible{outline:3px solid var(--plum-400);outline-offset:3px;border-radius:999px}
.ty-test{display:flex;gap:16px;align-items:center;padding:18px 22px;border-radius:24px;background:var(--cream-200);box-shadow:inset 0 1px 0 #fff,inset 0 -3px 0 rgba(160,100,20,.1)}
.ty-tic{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;background:var(--k-grain),var(--k-gold-clay);box-shadow:var(--k-gold-shadow)}
.ty-tic svg{width:22px;height:22px;fill:none;stroke:var(--plum-700);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ty-test b{display:block;margin-bottom:4px;font:650 .72rem/1.3 var(--display);letter-spacing:.18em;text-transform:uppercase;color:var(--plum-500)}
.ty-test p{font-size:1.0625rem;line-height:1.5;color:var(--ink)}

/* —— run: the finder — the kinds of business as one row of tabs (it wraps on a wide screen and scrolls sideways on a phone), a kind's
   businesses as small pills, the business's own line, then its three wishes; its day at work one tap away —— */
.ty-kinds{display:flex;flex-wrap:wrap;gap:8px;padding:4px}
.ty-kind{flex:none;min-height:44px;padding-block:4px; padding-inline:4px 15px;font-size:.875rem}
.ty-kind img{width:34px;height:34px}
.ty-kind[aria-selected="true"]{color:var(--cream-50);background:var(--k-grain-light),var(--k-plum-clay);box-shadow:var(--k-plum-shadow)}
.ty-kpen{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;color:var(--plum-500);background:var(--cream-200)}
.ty-kpen svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ty-kind[aria-selected="true"] .ty-kpen{color:var(--plum-700);background:var(--k-gold-clay)}
.ty-kpanel{margin-top:20px;border-radius:18px}
.ty-kpanel:focus{outline:none}
.ty-kpanel:focus-visible{outline:3px solid var(--plum-400);outline-offset:6px}
.ty-bps{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.ty-bp{padding:7px 13px;border-radius:999px;font:650 .8125rem/1.2 var(--display);color:var(--plum-600);background:rgba(100,8,46,.06);transition:background .2s,color .2s}
.ty-bp:hover{background:rgba(100,8,46,.12)}
.ty-bp[aria-pressed="true"]{color:var(--plum-700);background:var(--k-gold-clay);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.ty-bp:focus-visible{outline:3px solid var(--plum-400);outline-offset:2px}
.ty-kval{display:block;max-width:32em;font:720 clamp(1.2rem,1.9vw,1.55rem)/1.28 var(--display);letter-spacing:-.018em;color:var(--plum-600);text-wrap:balance}
.ty-kpanel .ty-wishes{margin-top:22px}
.ty-dayd>summary{display:inline-flex;align-items:center;gap:9px;padding:6px 0;cursor:pointer;list-style:none;font:650 .9375rem/1.3 var(--display);color:var(--plum-500)}
.ty-dayd>summary::-webkit-details-marker{display:none}
.ty-dayd>summary::before{content:"+";display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font:700 1rem/1 var(--display);color:var(--plum-600);background:rgba(100,8,46,.08)}
.ty-dayd[open]>summary::before{content:"−"}
.ty-dayd>summary:hover{color:var(--plum-700)}
.ty-dayd>summary:focus-visible{outline:3px solid var(--plum-400);outline-offset:3px;border-radius:12px}
.ty-dayd .ty-day{margin-top:8px}
.ty-free{display:grid;gap:14px;max-width:760px}
.ty-freein{display:block;width:100%;min-height:104px;padding:14px 18px;border:0;border-radius:22px;background:#fff;box-shadow:inset 0 0 0 1.5px rgba(100,8,46,.18),0 10px 18px -12px rgba(90,40,0,.4);font:500 1.0625rem/1.5 var(--text);color:var(--ink);resize:vertical}
.ty-freein::placeholder{color:var(--ink-3)}
.ty-freein:focus{outline:3px solid var(--plum-400);outline-offset:2px}
@media (max-width:860px){
  .ty-kinds{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:4px 4px 10px}
  .ty-kinds::-webkit-scrollbar{display:none}
  .ty-kind{scroll-snap-align:start}
}
@media (max-width:560px){.ty-scango{width:100%}}

/* —— run: a business's day at work (the finder's closed <details>) —— */
.ty-bz{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding-block:5px; padding-inline:5px 16px;border-radius:999px;font:650 .9rem/1.2 var(--display);color:var(--plum-600);background:#fff;box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(100,8,46,.06),0 10px 18px -12px rgba(90,40,0,.5);transition:transform .35s var(--spring),color .3s}
.ty-bz img{width:36px;height:36px;flex:none;border-radius:50%;object-fit:cover}
.ty-bz:hover{transform:translateY(-2px)}
.ty-bz[aria-pressed="true"]{color:var(--cream-50);background:var(--k-grain-light),var(--k-plum-clay);box-shadow:var(--k-plum-shadow)}
.ty-day{max-width:880px;margin-top:26px}
.ty-day .pb-list{display:grid;gap:0;width:100%}
/* the day as a little timeline: the faces are its nodes */
.ty-dl{position:relative;display:grid;grid-template-columns:52px 36px minmax(0,1fr);gap:14px;align-items:start;width:100%;padding:8px 0}
.ty-dl::before{content:"";position:absolute;inset-inline-start:84px;top:0;bottom:0;width:2px;border-radius:2px;background:rgba(100,8,46,.12)}
.ty-day .pb-li:first-child .ty-dl::before{top:24px}
.ty-dl time{font:700 .875rem/36px var(--display);font-variant-numeric:tabular-nums;color:var(--plum-500)}
.ty-who{position:relative;z-index:1;width:36px;height:36px;border-radius:50%;object-fit:cover;border:2.5px solid #fff;background:var(--cream-200);box-shadow:0 6px 10px -5px rgba(90,40,0,.5)}
.ty-dmail{display:grid;place-items:center;color:var(--plum-500)}
.ty-dmail svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ty-dl p{padding-top:7px;font-size:.95rem;line-height:1.5;color:var(--ink-2)}
.ty-dl p b{font-weight:650;color:var(--ink)}
.ty-dk{display:inline-block;margin-inline-start:8px;padding:2px 9px;border-radius:999px;font:650 .66rem/1.6 var(--text);letter-spacing:.08em;text-transform:uppercase;vertical-align:1px;white-space:nowrap}
.ty-dk[data-k="ask"]{color:var(--plum-700);background:var(--k-gold-clay);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.ty-dk[data-k="in"]{color:var(--plum-600);background:rgba(100,8,46,.08)}
.ty-dk[data-k="do"]{color:#2a6e45;background:#e1f1d6}

/* —— widths —— */
@media (max-width:1020px){
  .ty-wl{grid-template-columns:minmax(0,1fr);max-width:720px}
}
@media (max-width:860px){
  .ty-doors{grid-template-columns:minmax(0,1fr);gap:12px}
  .ty-door{--ty-arch:28px;flex-direction:row;align-items:center;gap:16px;min-height:0;padding-block:14px; padding-inline:14px 16px;text-align:start}
  .ty-door::before{inset:6px}
  .ty-door::after{display:none}
  .ty-door:hover,.ty-door[aria-selected="true"]{transform:none}
  .ty-dart{width:68px;height:68px;border-radius:50% 50% 16px 16px / 40% 40% 16px 16px;transform:none}
  .ty-door:hover .ty-dart,.ty-door[aria-selected="true"] .ty-dart{transform:none}
  .ty-dtx{flex:1;min-width:0;align-items:flex-start;gap:3px}
  .ty-dtx b{font-size:1.25rem}
  .ty-dtx span{max-width:none;font-size:.9375rem}
  .ty-dgo{width:40px;height:40px;margin:0}
  .ty-chips{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .ty-field{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;height:auto;padding-block:8px; padding-inline:16px 8px;border-radius:28px}
  .ty-pre{display:none}
  .ty-field input{height:48px}
  .ty-go{grid-column:1/-1;justify-content:center;width:100%}
  .ty-pbox{padding:22px 16px 24px;border-radius:30px}
  .ty-stage{grid-template-columns:minmax(0,1fr);gap:4px;padding-top:8px}
  .ty-lampbox{width:min(190px,58%);justify-self:start;margin-inline-start:6px}
  .ty-cgrid{grid-template-columns:minmax(0,1fr)}
  .ty-card{padding:20px 16px;border-radius:26px}
  .ty-lead{align-items:flex-start;padding:14px 16px}
  .ty-shot+.ty-dialbox{width:118px;margin-top:-74px;margin-inline-end:-6px}
  .ty-shot+.ty-dialbox .ty-score b{font-size:1.9rem}
  .ty-shot+.ty-dialbox .ty-score span{font-size:.75rem}
  .ty-w{padding:18px 16px 18px}
  /* the three wishes side by side, one swipe apart: the next one peeks in (on a phone they would stack to a page of their own) */
  .ty-wl{display:flex;gap:12px;min-width:0;max-width:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;margin-inline:-16px;padding:6px 16px 16px;scroll-padding-inline:16px}
  .ty-wl::-webkit-scrollbar{display:none}
  .ty-wl>.ty-w{flex:0 0 86%;scroll-snap-align:start}
  .ty-whint{flex-basis:100%;margin-inline-start:0;font-size:.875rem}
  .ty-seatbtn{width:100%}
  .ty-chips{grid-template-columns:minmax(0,1fr)}
  .ty-dl{grid-template-columns:36px minmax(0,1fr);row-gap:0}
  .ty-dl::before{inset-inline-start:17px}
  .ty-dl time{grid-column:2;line-height:1.2;padding-top:2px}
  .ty-dl>.ty-who{grid-row:1/span 2;grid-column:1}
  .ty-dl>p{grid-column:2;padding-top:2px}
}
@media (prefers-reduced-motion:reduce){
  .ty-door,.ty-dart,.ty-dgo,.ty-dgo svg,.ty-panel,.ty-pbox::before,.ty-steps li,.ty-gb i,.ty-dval,.ty-lamp,.ty-beamwrap,.ty-w,.ty-chip,.ty-bz{transition:none}
  .ty-pbox>.ty-view,.ty-w,.ty-card,.ty-scan,.ty-mote,.ty-beamwrap,.ty-steps li .ty-sd,.ty-ls{animation:none!important}
  .ty-star,.ty-star img{transition:none}
  .ty-motes,.ty-scan{display:none}
  .ty-stage[data-st="running"] .ty-ls,.ty-stage[data-st="done"] .ty-ls{opacity:1;transform:translate(var(--ty-dx,0),var(--ty-dy,0))}
}
