/* Salon displays: three layouts, one live queue and one persistent call region. */
.nobetra-display-body{margin:0;background:#122b27}.nobetra-display-body #wpadminbar{display:none!important}
.nbtv{--tv-bg:#122b27;--tv-card:#1b3731;--tv-soft:#23433b;--tv-line:#36534a;--tv-text:#f4f2e8;--tv-muted:#b2c4b8;--tv-accent:#d7ddae;--tv-call:#dce3b9;--tv-call-text:#223d30;--tv-radius:24px;--tv-shadow:0 12px 40px #00170f14;--tv-gap:clamp(12px,1.15vw,30px);--tv-pad:clamp(18px,2vw,46px);font-family:"Nobetra IRANSansX",Tahoma,sans-serif;font-size:clamp(14px,1.35vw,52px);font-weight:400;background:var(--tv-bg);color:var(--tv-text);min-height:100vh;min-height:100dvh;box-sizing:border-box;overflow:hidden;line-height:1.65;isolation:isolate}
.nbtv[data-theme=light]{--tv-bg:#eef0e7;--tv-card:#fffef7;--tv-soft:#e7eddf;--tv-line:#d8dfcf;--tv-text:#233e31;--tv-muted:#647264;--tv-accent:#526b40;--tv-call:#244d3c;--tv-call-text:#f5f5e8}
.nbtv[data-template=boutique]{--tv-bg:#221b20;--tv-card:#30262d;--tv-soft:#3a2d34;--tv-line:#59434e;--tv-text:#fbf0e5;--tv-muted:#c9b7bd;--tv-accent:#e1b8a0;--tv-call:#d7ad93;--tv-call-text:#35232a;--tv-radius:10px;--tv-shadow:none}
.nbtv[data-template=boutique][data-theme=light]{--tv-bg:#f4ede7;--tv-card:#fffbf7;--tv-soft:#eee2d9;--tv-line:#dfcbbf;--tv-text:#452e32;--tv-muted:#886d6d;--tv-accent:#975e4d;--tv-call:#54353d;--tv-call-text:#fff3e8}
.nbtv[data-template=studio]{--tv-bg:#111a30;--tv-card:#1b2741;--tv-soft:#263452;--tv-line:#394c6b;--tv-text:#eff4ff;--tv-muted:#aabcdb;--tv-accent:#b9b8ff;--tv-call:#c5c3ff;--tv-call-text:#262546;--tv-radius:20px;--tv-shadow:0 14px 40px #050c211a}
.nbtv[data-template=studio][data-theme=light]{--tv-bg:#ecf0fa;--tv-card:#fff;--tv-soft:#e7edfa;--tv-line:#d4ddef;--tv-text:#283651;--tv-muted:#64738e;--tv-accent:#5b54b8;--tv-call:#534ca0;--tv-call-text:#fff;--tv-shadow:0 10px 32px #394c6b0a}
.nbtv *{box-sizing:border-box}.nbtv [hidden]{display:none!important}.nbtv h1,.nbtv h2,.nbtv p{margin:0}.nbtv button{font:inherit;background:var(--tv-soft);color:var(--tv-text);border:1px solid var(--tv-line);border-radius:12px;padding:.65em 1em;cursor:pointer;min-height:44px}.nbtv button:hover{border-color:var(--tv-accent)}.nbtv button:focus-visible,.nbtv summary:focus-visible{outline:3px solid var(--tv-accent);outline-offset:4px}.nbtv-screen{height:100vh;height:100dvh;display:flex;flex-direction:column;padding:var(--tv-pad);gap:var(--tv-gap);background:radial-gradient(ellipse at 8% 0%,var(--tv-soft),transparent 60%)}
.nbtv-header{display:flex;align-items:center;justify-content:space-between;gap:1em;flex:none;min-height:3.5em;padding-bottom:.6em}.nbtv-brand{display:flex;align-items:center;gap:.65em;min-width:0;max-width:48%}.nbtv-brand-symbol{display:grid;place-items:center;flex:none;width:2.5em;aspect-ratio:1;border:1px solid var(--tv-line);border-radius:50% 50% 16% 16%;color:var(--tv-accent);font-size:1.05em}.nbtv-brand img{width:2.6em;height:2.6em;object-fit:contain;border-radius:12px}.nbtv[data-has-logo=true] .nbtv-brand-symbol{display:none}.nbtv-brand>div{min-width:0}.nbtv-brand strong{display:block;font-size:1.25em;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nbtv-brand span[data-branch-name]{display:block;color:var(--tv-muted);font-size:.66em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nbtv-header-note{display:flex;gap:.6em;align-items:center;color:var(--tv-muted);font-size:.65em}.nbtv-live-dot{width:7px;height:7px;display:inline-block;flex:none;background:var(--tv-accent);border-radius:50%;box-shadow:0 0 0 4px var(--tv-soft)}.nbtv-clock{text-align:left;flex:none}.nbtv-clock strong{display:block;font-size:1.7em;line-height:1.35;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.025em}.nbtv-clock span{display:block;font-size:.62em;color:var(--tv-muted);margin-top:.1em}
.nbtv-layout{display:grid;grid-template-areas:'queue call' 'queue media' 'progress media';grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr) minmax(0,.78fr);gap:var(--tv-gap);flex:1;min-height:0}.nbtv-side{display:contents}.nbtv-queue,.nbtv-call,.nbtv-progress,.nbtv-media{min-width:0;min-height:0;overflow:hidden;border-radius:var(--tv-radius);border:1px solid var(--tv-line);background:var(--tv-card);box-shadow:var(--tv-shadow)}.nbtv-queue{grid-area:queue;display:flex;flex-direction:column;padding:1em 1.15em}.nbtv-section-head{display:flex;justify-content:space-between;align-items:center;gap:.5em;margin-bottom:.6em;flex:none}.nbtv-eyebrow{font-size:.56em;letter-spacing:.01em;color:var(--tv-accent);font-weight:500;margin-bottom:.35em!important}.nbtv-section-head h1{font-size:1.3em;font-weight:500;line-height:1.6}.nbtv-section-head h2{font-size:.92em;font-weight:500}.nbtv-count{font-size:.64em;color:var(--tv-accent);padding:.15em .8em;border:1px solid var(--tv-line);border-radius:24px;white-space:nowrap;font-variant-numeric:tabular-nums}.nbtv-table-labels{display:grid;grid-template-columns:4.4em minmax(0,1fr) 3.8em;gap:.7em;padding:.65em .65em;color:var(--tv-muted);border-bottom:1px solid var(--tv-line);margin-bottom:.5em;font-size:.62em}.nbtv-table-labels span:last-child{text-align:left}.nbtv-rows{display:grid;grid-template-rows:repeat(var(--nbtv-rows,6),minmax(0,1fr));gap:.38em;flex:1;min-height:0}.nbtv-row{display:grid;grid-template-columns:4.4em minmax(0,1fr) 3.8em;align-items:center;gap:.7em;min-height:0;background:var(--tv-soft);border:1px solid transparent;border-radius:12px;padding:.35em .6em;overflow:hidden}.nbtv-ticket{font-size:1.22em;line-height:1.25;font-weight:600;letter-spacing:.025em;color:var(--tv-accent);text-align:center;font-variant-numeric:tabular-nums}.nbtv-row>div{min-width:0}.nbtv-row>div strong{font-size:.79em;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nbtv-row>div span{display:block;color:var(--tv-muted);font-size:.6em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nbtv-row time{color:var(--tv-muted);font-size:.68em;text-align:left;font-variant-numeric:tabular-nums}.nbtv-pagination{display:flex;justify-content:space-between;font-size:.52em;color:var(--tv-muted);padding-top:.75em;gap:1em;flex:none}.nbtv[data-density=compact] .nbtv-queue .nbtv-row{font-size:.8em;padding:.15em .45em}.nbtv[data-density=compact] .nbtv-table-labels{font-size:.55em;padding:.3em .65em}.nbtv[data-queue-empty=true] .nbtv-table-labels{display:none}
.nbtv-call{grid-area:call;position:relative;background:var(--tv-call);color:var(--tv-call-text);border-color:transparent;padding:clamp(14px,1.6vw,36px);display:flex;flex-direction:column;justify-content:center;gap:.2em}.nbtv-call:before,.nbtv-call:after{content:'';position:absolute;inset-inline-end:-1.6em;bottom:-3.5em;width:10em;height:13em;border:1px solid currentColor;opacity:.12;border-radius:50% 50% 0 0;pointer-events:none;transform:rotate(-22deg)}.nbtv-call:after{inset-inline-end:-.6em;bottom:-4.5em}.nbtv-call>*{position:relative;z-index:1}.nbtv-call-heading{display:flex;align-items:center;gap:.5em}.nbtv-call .nbtv-eyebrow{color:inherit;opacity:.8;margin:0!important}.nbtv-call-signal{display:flex;align-items:center;gap:3px;height:.7em}.nbtv-call-signal i{height:40%;width:3px;background:currentColor;border-radius:4px}.nbtv-call-signal i:nth-child(2){height:100%}.nbtv-call-signal i:nth-child(3){height:65%}.nbtv-call h2{font-size:1.4em;font-weight:500;margin-top:.35em;line-height:1.7}.nbtv-call>p{font-size:.78em;line-height:1.8;overflow-wrap:anywhere}.nbtv-call>small{font-size:.62em;opacity:.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.nbtv-call-code{font-size:clamp(40px,4.5vw,110px);font-weight:600;line-height:1.15;letter-spacing:.035em;align-self:flex-start;font-variant-numeric:tabular-nums}.nbtv-call.is-called{animation:nbtv-call-focus 1.4s ease-out 2}.nbtv-call b{font-weight:600}
.nbtv-progress{grid-area:progress;display:flex;flex-direction:column;padding:.8em 1em}.nbtv-progress .nbtv-section-head{margin-bottom:.5em}.nbtv-progress [data-progress]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:.5em;flex:1;min-height:0}.nbtv-progress .nbtv-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.15em;padding:.5em .65em}.nbtv-progress .nbtv-ticket{font-size:1em}.nbtv-progress .nbtv-row>div{width:100%}.nbtv-progress .nbtv-row>div strong{font-size:.65em}.nbtv-progress .nbtv-row>div span{font-size:.54em}.nbtv-progress time{display:none}.nbtv-progress>small{font-size:.5em;min-height:0;color:var(--tv-muted)}.nbtv-progress>small:empty{display:none}
.nbtv-media{grid-area:media;position:relative;background:var(--tv-soft);display:flex;flex-direction:column}.nbtv-media [data-slide]{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:1.35em;isolation:isolate}.nbtv-media [data-slide]:empty{display:none}.nbtv-media [data-slide]>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.nbtv-media [data-slide]:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#161c22e8,transparent 95%);opacity:0}.nbtv-media[data-image=true] [data-slide]{justify-content:flex-end;color:#fff}.nbtv-media[data-image=true] [data-slide]:after{opacity:1}.nbtv-media [data-slide]>div{min-width:0;max-width:100%;position:relative}.nbtv-media .nbtv-media-kicker{font-size:.52em;letter-spacing:.08em;display:block;margin-bottom:.45em;color:var(--tv-accent)}.nbtv-media[data-image=true] .nbtv-media-kicker{color:#f0e8cf}.nbtv-media strong{font-size:1.2em;line-height:1.8;font-weight:500;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere}.nbtv-media p{font-size:.62em;line-height:1.8;margin-top:.4em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.nbtv-media[data-kind=message] [data-slide]:before{content:'“';position:absolute;font-family:Georgia,serif;font-size:7em;line-height:1;top:.05em;inset-inline-end:.15em;opacity:.1;color:var(--tv-accent);pointer-events:none}.nbtv-media[data-kind=message] strong{font-size:1.15em;-webkit-line-clamp:6}.nbtv-media[data-kind=staff] [data-slide]>img{object-position:center 25%}.nbtv-qr{flex:none;display:flex;align-items:center;gap:.65em;padding:.65em .85em;background:var(--tv-card);border-top:1px solid var(--tv-line);min-width:0}.nbtv-qr svg{display:block;flex:none;width:clamp(78px,5.5vw,144px);aspect-ratio:1;background:#fff;border-radius:7px;padding:3px}.nbtv-qr span{font-size:.66em;line-height:1.8;min-width:0}.nbtv-qr small{display:block;font-size:.85em;color:var(--tv-muted)}.nbtv-qr a{color:var(--tv-accent);overflow-wrap:anywhere}.nbtv-media[data-empty=true]{justify-content:center}.nbtv-media[data-empty=true] .nbtv-qr{flex:1;flex-direction:column;justify-content:center;text-align:center;border:0;background:transparent}.nbtv-media[data-empty=true] .nbtv-qr svg{width:clamp(110px,9vw,210px)}
.nbtv-empty{grid-column:1/-1;grid-row:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6em;text-align:center;color:var(--tv-muted);padding:.75em;min-height:0}.nbtv-empty-art{width:clamp(64px,7vw,170px);height:clamp(64px,7vw,170px);position:relative;flex:none;display:grid;place-items:center}.nbtv-empty-art svg{width:100%;height:100%;fill:none;stroke:var(--tv-accent);stroke-width:1.2;opacity:.75}.nbtv-empty strong{font-size:1em;font-weight:500;color:var(--tv-text);line-height:1.8}.nbtv-empty p{font-size:.67em;line-height:1.85;max-width:26em}.nbtv-empty small{font-size:.6em;color:var(--tv-accent)}.nbtv-progress .nbtv-empty{flex-direction:row;gap:.7em;padding:.3em}.nbtv-progress .nbtv-empty-art{width:2em;height:2em}.nbtv-progress .nbtv-empty strong{font-size:.68em}.nbtv-progress .nbtv-empty p{display:none}.nbtv-queue:has(.nbtv-empty) .nbtv-pagination{border-top:1px solid var(--tv-line)}
.nbtv-footer{display:flex;align-items:center;justify-content:space-between;gap:1em;flex:none;font-size:.55em;min-height:2em;color:var(--tv-muted)}.nbtv-freshness{display:flex;align-items:center;gap:.7em;margin-inline-start:auto}.nbtv-tools{position:relative;z-index:5;flex:none}.nbtv-tools summary{display:flex;align-items:center;gap:.5em;cursor:pointer;list-style:none;padding:.45em .7em;border-radius:8px;border:1px solid var(--tv-line);min-height:34px}.nbtv-tools summary::-webkit-details-marker{display:none}.nbtv-tools summary svg{width:1.3em;height:1.3em;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.nbtv-controls{position:absolute;inset-inline-end:0;bottom:calc(100% + 12px);width:min(360px,85vw);display:grid;grid-template-columns:1fr 1fr;gap:8px;background:var(--tv-card);border:1px solid var(--tv-line);border-radius:16px;padding:16px;box-shadow:0 10px 50px #0004;font-size:14px}.nbtv-controls [data-audio-status],.nbtv-controls [data-start-audio]{grid-column:1/-1}.nbtv-controls [data-audio-status]{font-size:12px;line-height:1.8}.nbtv-controls button{font-size:13px}.nbtv-controls button[aria-pressed=true]{border-color:var(--tv-accent)}.nbtv-connection{font-size:.65em;background:var(--tv-soft);border:1px solid var(--tv-accent);padding:.4em 1em;border-radius:10px}.nbtv-stale{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:1em}.nbtv-stale>span{font-size:3em;color:var(--tv-accent)}.nbtv-stale h2{font-weight:500}.nbtv-stale p{font-size:.8em;color:var(--tv-muted)}
/* Boutique: editorial image wall, fine frames and a compact call above the queue. */
.nbtv[data-template=boutique] .nbtv-header{border-bottom:1px solid var(--tv-line);padding-bottom:.8em}.nbtv[data-template=boutique] .nbtv-brand-symbol{border-radius:50%;outline:1px solid var(--tv-line);outline-offset:4px}.nbtv[data-template=boutique] .nbtv-header-note{letter-spacing:.025em}.nbtv[data-template=boutique] .nbtv-layout{grid-template-areas:'call media' 'queue media' 'queue progress';grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:minmax(0,.8fr) minmax(0,1.25fr) minmax(0,.85fr)}.nbtv[data-template=boutique] .nbtv-row{background:transparent;border-bottom:1px solid var(--tv-line);border-radius:0}.nbtv[data-template=boutique] .nbtv-rows{gap:0}.nbtv[data-template=boutique] .nbtv-call{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;gap:.2em 1.2em;align-content:center;align-items:center;padding:1em 1.3em}.nbtv[data-template=boutique] .nbtv-call-heading{grid-column:1/-1}.nbtv[data-template=boutique] .nbtv-call-code{grid-column:1;grid-row:2/4;font-size:clamp(40px,4.8vw,112px);align-self:center}.nbtv[data-template=boutique] .nbtv-call>p,.nbtv[data-template=boutique] .nbtv-call>small{grid-column:2}.nbtv[data-template=boutique] .nbtv-call h2{grid-column:1/-1;font-size:1.4em}.nbtv[data-template=boutique] .nbtv-call:not(.is-called)>p,.nbtv[data-template=boutique] .nbtv-call:not(.is-called)>small{grid-column:1/-1}.nbtv[data-template=boutique] .nbtv-media{padding:.4em}.nbtv[data-template=boutique] .nbtv-media [data-slide]{border-radius:6px;overflow:hidden}.nbtv[data-template=boutique] .nbtv-qr{border:0;background:transparent;padding-bottom:.25em}.nbtv[data-template=boutique] .nbtv-media strong{font-size:1.5em}.nbtv[data-template=boutique] .nbtv-progress .nbtv-row{border:0;border-inline-start:1px solid var(--tv-line);padding:.2em .6em}.nbtv[data-template=boutique] .nbtv-progress .nbtv-row:first-child{border:0}
/* Studio: a full-width call ribbon and high contrast numbered queue. */
.nbtv[data-template=studio] .nbtv-layout{grid-template-areas:'call call' 'queue progress' 'queue media';grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-rows:minmax(0,.63fr) minmax(0,.87fr) minmax(0,1fr)}.nbtv[data-template=studio] .nbtv-brand-symbol{border-radius:12px;background:var(--tv-accent);color:var(--tv-bg);border:0}.nbtv[data-template=studio] .nbtv-call{display:grid;grid-template-columns:.8fr auto 1.5fr;grid-template-rows:auto auto;column-gap:1.5em;align-items:center;align-content:center;padding:.65em 1.4em}.nbtv[data-template=studio] .nbtv-call-heading{grid-column:1;grid-row:1/3}.nbtv[data-template=studio] .nbtv-call-code{grid-column:2;grid-row:1/3;align-self:center;font-size:clamp(40px,4.6vw,110px)}.nbtv[data-template=studio] .nbtv-call>p,.nbtv[data-template=studio] .nbtv-call>small{grid-column:3}.nbtv[data-template=studio] .nbtv-call h2{grid-column:2;grid-row:1/3;font-size:1.45em;white-space:nowrap;margin:0}.nbtv[data-template=studio] .nbtv-ticket{background:var(--tv-accent);color:var(--tv-bg);border-radius:8px;padding:.18em .1em;font-size:1.05em}.nbtv[data-template=studio] .nbtv-progress [data-progress]{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}.nbtv[data-template=studio] .nbtv-progress .nbtv-row{display:grid;grid-template-columns:3.7em minmax(0,1fr);gap:.6em;padding:.25em .4em}.nbtv[data-template=studio] .nbtv-progress .nbtv-row>div strong{font-size:.72em}.nbtv[data-template=studio] .nbtv-media [data-slide]{padding:.75em 1em}.nbtv[data-template=studio] .nbtv-media strong{font-size:1em;-webkit-line-clamp:2}.nbtv[data-template=studio] .nbtv-media[data-kind=message] strong{-webkit-line-clamp:3}.nbtv[data-template=studio] .nbtv-qr{padding:.4em .65em}.nbtv[data-template=studio] .nbtv-qr svg{width:clamp(70px,4.5vw,110px)}
.nbtv[data-has-media=false] .nbtv-layout{grid-template-areas:'queue call' 'queue progress';grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.nbtv[data-has-media=false] .nbtv-progress [data-progress]{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}.nbtv[data-has-media=false] .nbtv-progress .nbtv-row{display:grid;grid-template-columns:3.7em minmax(0,1fr);gap:.6em}.nbtv[data-template=studio][data-has-media=false] .nbtv-layout{grid-template-areas:'call call' 'queue progress';grid-template-rows:minmax(0,.55fr) minmax(0,1.9fr)}
/* Portrait is also used by a narrow manager preview. */
.nbtv[data-orientation=portrait]{font-size:clamp(14px,2.5vw,46px)}
.nbtv[data-orientation=portrait] .nbtv-layout{grid-template-areas:'call call' 'queue queue' 'progress media';grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,.68fr) minmax(0,1.75fr) minmax(0,1fr)}.nbtv[data-orientation=portrait] .nbtv-progress [data-progress]{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}.nbtv[data-orientation=portrait] .nbtv-progress .nbtv-row{display:grid;grid-template-columns:3.3em minmax(0,1fr);gap:.4em;padding:.3em}.nbtv[data-orientation=portrait] .nbtv-media strong{font-size:1em;-webkit-line-clamp:3}.nbtv[data-orientation=portrait] .nbtv-call{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;gap:.1em 1em;padding:.65em 1em}.nbtv[data-orientation=portrait] .nbtv-call-heading{grid-column:1/-1;grid-row:1}.nbtv[data-orientation=portrait] .nbtv-call-code{grid-column:1;grid-row:2/4;font-size:clamp(38px,7vw,86px);align-self:center}.nbtv[data-orientation=portrait] .nbtv-call>p,.nbtv[data-orientation=portrait] .nbtv-call>small{grid-column:2}.nbtv[data-orientation=portrait] .nbtv-call h2{grid-column:1/-1;grid-row:2;font-size:1.25em;margin:0}.nbtv[data-orientation=portrait] .nbtv-call:not(.is-called)>p{grid-column:1/-1}.nbtv[data-orientation=portrait] .nbtv-call:not(.is-called)>small{display:none}.nbtv[data-orientation=portrait] .nbtv-header-note{display:none}.nbtv[data-orientation=portrait] .nbtv-brand{max-width:62%}.nbtv[data-orientation=portrait] .nbtv-footer-guide{display:none}.nbtv[data-orientation=portrait] .nbtv-freshness{margin-inline-start:0}.nbtv[data-orientation=portrait][data-has-media=false] .nbtv-layout{grid-template-areas:'call call' 'queue queue' 'progress progress';grid-template-rows:minmax(0,.65fr) minmax(0,1.8fr) minmax(0,.65fr)}.nbtv[data-orientation=portrait][data-has-media=false] .nbtv-progress [data-progress]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}.nbtv[data-orientation=portrait][data-has-media=false] .nbtv-progress .nbtv-row{display:flex}
@media(orientation:portrait){.nbtv[data-orientation=auto]{font-size:clamp(14px,2.5vw,46px)}.nbtv[data-orientation=auto] .nbtv-layout{grid-template-areas:'call call' 'queue queue' 'progress media';grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,.68fr) minmax(0,1.75fr) minmax(0,1fr)}.nbtv[data-orientation=auto] .nbtv-progress [data-progress]{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}.nbtv[data-orientation=auto] .nbtv-progress .nbtv-row{display:grid;grid-template-columns:3.3em minmax(0,1fr);gap:.4em;padding:.3em}.nbtv[data-orientation=auto] .nbtv-media strong{font-size:1em;-webkit-line-clamp:3}.nbtv[data-orientation=auto] .nbtv-call{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;gap:.1em 1em;padding:.65em 1em}.nbtv[data-orientation=auto] .nbtv-call-heading{grid-column:1/-1;grid-row:1}.nbtv[data-orientation=auto] .nbtv-call-code{grid-column:1;grid-row:2/4;font-size:clamp(38px,7vw,86px);align-self:center}.nbtv[data-orientation=auto] .nbtv-call>p,.nbtv[data-orientation=auto] .nbtv-call>small{grid-column:2}.nbtv[data-orientation=auto] .nbtv-call h2{grid-column:1/-1;grid-row:2;font-size:1.25em;margin:0}.nbtv[data-orientation=auto] .nbtv-call:not(.is-called)>p{grid-column:1/-1}.nbtv[data-orientation=auto] .nbtv-call:not(.is-called)>small{display:none}.nbtv[data-orientation=auto] .nbtv-header-note{display:none}.nbtv[data-orientation=auto] .nbtv-brand{max-width:62%}.nbtv[data-orientation=auto] .nbtv-footer-guide{display:none}.nbtv[data-orientation=auto] .nbtv-freshness{margin-inline-start:0}.nbtv[data-orientation=auto][data-has-media=false] .nbtv-layout{grid-template-areas:'call call' 'queue queue' 'progress progress';grid-template-rows:minmax(0,.65fr) minmax(0,1.8fr) minmax(0,.65fr)}.nbtv[data-orientation=auto][data-has-media=false] .nbtv-progress [data-progress]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}.nbtv[data-orientation=auto][data-has-media=false] .nbtv-progress .nbtv-row{display:flex}
}
.nbtv-connect{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 15%,var(--tv-soft),transparent 70%)}.nbtv-connect-card{width:min(660px,100%);padding:clamp(24px,3.5vw,64px);background:var(--tv-card);border:1px solid var(--tv-line);border-radius:32px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.75em;box-shadow:var(--tv-shadow)}.nbtv-mark{width:2em;height:2em;display:grid;place-items:center;border:1px solid var(--tv-line);border-radius:50% 50% 20% 20%;font-size:1.8em;color:var(--tv-accent)}.nbtv-connect-card h1{font-size:1.5em;font-weight:500}.nbtv-connect-card p{font-size:.78em;color:var(--tv-muted);line-height:1.9}.nbtv-pair-code{font-size:clamp(34px,4vw,75px);font-weight:500;letter-spacing:.12em;color:var(--tv-accent);font-variant-numeric:tabular-nums;white-space:nowrap}.nbtv-connect-card small{font-size:.58em;color:var(--tv-muted)}.nbtv-feedback{min-height:1.9em}.nbtv:fullscreen{width:100%;height:100%;overflow:hidden}
@keyframes nbtv-call-focus{50%{box-shadow:0 0 0 4px var(--tv-accent)}}
@media(max-width:900px){.nbtv-header-note{display:none}.nbtv{--tv-pad:18px;--tv-gap:12px;--tv-radius:16px}.nbtv-clock span{font-size:.65em}.nbtv-qr svg{width:76px}}
@media(max-width:600px){.nbtv{font-size:14px;--tv-pad:12px;--tv-gap:10px;--tv-radius:14px}.nbtv-header{gap:.5em}.nbtv-brand strong{font-size:1.1em}.nbtv-brand-symbol,.nbtv-brand img{width:2em;height:2em}.nbtv-clock strong{font-size:1.45em}.nbtv-clock span{font-size:.61em}.nbtv-queue{padding:.8em}.nbtv-section-head h1{font-size:1.15em}.nbtv-qr{padding:.4em;gap:.45em}.nbtv-qr svg{width:65px}.nbtv-media [data-slide]{padding:.75em}.nbtv-footer{font-size:.7em}.nbtv-tools summary{min-height:34px}.nbtv-progress{padding:.65em}.nbtv-progress .nbtv-section-head h2{font-size:.85em}.nbtv-progress .nbtv-eyebrow{display:none}.nbtv-progress .nbtv-row>div strong{font-size:.72em}.nbtv-media[data-kind=message] strong{-webkit-line-clamp:4}.nbtv-footer-guide{display:none}}
@media(max-height:700px) and (orientation:landscape){.nbtv{--tv-pad:12px;--tv-gap:10px;font-size:clamp(12px,1.3vw,21px)}.nbtv-header{min-height:2.5em;padding-bottom:0}.nbtv-clock strong{font-size:1.4em}.nbtv-queue{padding:.65em}.nbtv-section-head{margin-bottom:.25em}.nbtv-section-head h1{font-size:1.1em}.nbtv-table-labels{padding:.3em .65em}.nbtv-call{padding:.6em}.nbtv-call-code{font-size:clamp(28px,3.2vw,52px)}.nbtv-call h2{font-size:1.1em}.nbtv-call>small{font-size:.6em}.nbtv-media [data-slide]{padding:.7em}.nbtv-media strong{font-size:.9em;-webkit-line-clamp:2}.nbtv-qr{padding:.3em .5em}.nbtv-qr svg{width:56px}.nbtv-pagination{padding-top:.3em}.nbtv-progress{padding:.6em}.nbtv-tools summary{min-height:28px}.nbtv-controls{font-size:13px}.nbtv[data-template=boutique] .nbtv-call-code,.nbtv[data-template=studio] .nbtv-call-code{font-size:clamp(28px,3.7vw,56px)}}
@media(prefers-reduced-motion:reduce){.nbtv *{animation:none!important;transition:none!important}}

/* Template 4 / Gallery: uncropped portfolio imagery with its specialist signature. */
.nbtv[data-template=gallery] .nbtv-media[data-image=true] [data-slide]{color:var(--tv-text)}
.nbtv[data-template=gallery] .nbtv-media [data-slide]:after{display:none}
.nbtv[data-template=gallery] .nbtv-media[data-kind=staff] [data-slide]>img{position:static;inset:auto;z-index:auto}
.nbtv[data-template=gallery]{--tv-bg:#151323;--tv-card:#211e33;--tv-soft:#302a45;--tv-line:#4b4261;--tv-text:#f6f1fc;--tv-muted:#c5bbd5;--tv-accent:#ceb8ff;--tv-call:#dacef7;--tv-call-text:#2d2049;--tv-radius:22px;--tv-shadow:0 16px 45px #08061726}
.nbtv[data-template=gallery][data-theme=light]{--tv-bg:#f3f0f8;--tv-card:#fff;--tv-soft:#eee8f6;--tv-line:#d8cfe5;--tv-text:#2b223c;--tv-muted:#665772;--tv-accent:#6742b4;--tv-call:#61409e;--tv-call-text:#fff;--tv-shadow:0 14px 35px #3d235a0b}
.nbtv[data-template=gallery] .nbtv-layout{grid-template-areas:'call media' 'queue media' 'progress media';grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);grid-template-rows:minmax(0,.85fr) minmax(0,2.6fr) minmax(0,.85fr)}
.nbtv[data-template=gallery] .nbtv-brand-symbol{border-radius:16px;background:var(--tv-soft)}
.nbtv[data-template=gallery] .nbtv-call{padding:.7em 1em;display:flex;flex-direction:column;justify-content:center;gap:.1em}
.nbtv[data-template=gallery] .nbtv-call-heading{display:flex;align-items:center;gap:.5em}
.nbtv[data-template=gallery] .nbtv-call-code{font-size:clamp(40px,4.5vw,112px);line-height:1.2}
.nbtv[data-template=gallery] .nbtv-call p{font-size:.85em}
.nbtv[data-template=gallery] .nbtv-call>small{font-size:.65em}
.nbtv[data-template=gallery] .nbtv-queue{padding:.8em 1em}
.nbtv[data-template=gallery] .nbtv-ticket{background:var(--tv-soft);color:var(--tv-accent);border-radius:10px;padding:.12em .22em}
.nbtv[data-template=gallery] .nbtv-progress{padding:.65em 1em}
.nbtv[data-template=gallery] .nbtv-media{padding:.55em;gap:.45em;background:var(--tv-card);overflow:hidden}
.nbtv[data-template=gallery] .nbtv-media [data-slide]{padding:0;display:flex;flex-direction:column;gap:0;min-height:0;overflow:hidden;border-radius:16px;background:var(--tv-soft)}
.nbtv-gallery-frame{position:relative;min-height:0;flex:1;overflow:hidden;background:radial-gradient(ellipse at center,var(--tv-card),var(--tv-soft));container-type:inline-size}
.nbtv[data-template=gallery] .nbtv-gallery-frame>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border-radius:0;filter:none}
.nbtv-gallery-author{position:absolute;inset-inline-start:.7em;bottom:.7em;display:flex;align-items:center;gap:.5em;max-width:calc(100% - 1.4em);padding:.3em .65em .3em .3em;border:1px solid var(--tv-line);border-radius:100px;background:var(--tv-card);color:var(--tv-text);box-shadow:var(--tv-shadow);font-size:clamp(14px,1.1vw,36px)}
.nbtv[data-template=gallery] .nbtv-gallery-avatar{width:clamp(44px,4.4vw,108px);height:clamp(44px,4.4vw,108px);flex:none;aspect-ratio:1;border-radius:50%;border:3px solid var(--tv-accent);background:var(--tv-soft);object-fit:cover;object-position:center;display:grid;place-items:center;color:var(--tv-accent);font-size:1.4em;font-weight:650}
.nbtv-gallery-author>span:last-child{min-width:0;display:grid;gap:.1em}
.nbtv[data-template=gallery] .nbtv-gallery-author strong{display:block;font-size:1em;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nbtv-gallery-author small{font-size:.72em;line-height:1.5;color:var(--tv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nbtv-gallery-caption{flex:none;padding:.65em .8em;background:var(--tv-card);border-top:1px solid var(--tv-line)}
.nbtv[data-template=gallery] .nbtv-gallery-caption strong{font-size:1.05em;line-height:1.5;-webkit-line-clamp:2;margin:.15em 0 0}
.nbtv[data-template=gallery] .nbtv-media-kicker{font-size:.6em;color:var(--tv-accent)}
.nbtv[data-template=gallery] .nbtv-qr{flex:none;border:0;padding:.4em .6em;background:var(--tv-soft);border-radius:12px}
.nbtv[data-template=gallery] .nbtv-qr svg{width:clamp(65px,5vw,140px)}
.nbtv[data-template=gallery] .nbtv-media[data-kind=staff] [data-slide]{justify-content:center;align-items:center;text-align:center;padding:1em}
.nbtv[data-template=gallery] .nbtv-media[data-kind=staff] [data-slide]>img{width:clamp(90px,12vw,280px);height:clamp(90px,12vw,280px);aspect-ratio:1;flex:none;object-fit:cover;border-radius:50%;border:4px solid var(--tv-accent);margin-bottom:.8em}
.nbtv[data-template=gallery] .nbtv-media[data-kind=message] [data-slide]{justify-content:center;padding:1.5em}
.nbtv[data-template=gallery] .nbtv-media[data-kind=message] strong{font-size:1.35em;line-height:1.9;-webkit-line-clamp:6}
.nbtv[data-template=gallery][data-has-media=false] .nbtv-layout{grid-template-areas:'call call' 'queue progress';grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-rows:minmax(0,.8fr) minmax(0,2.7fr)}
.nbtv[data-template=gallery][data-orientation=portrait] .nbtv-layout{grid-template-areas:'call call' 'queue progress' 'media media';grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);grid-template-rows:minmax(0,.65fr) minmax(0,1.8fr) minmax(0,2.8fr)}
.nbtv[data-template=gallery][data-orientation=portrait][data-has-media=false] .nbtv-layout{grid-template-areas:'call call' 'queue queue' 'progress progress';grid-template-rows:minmax(0,.7fr) minmax(0,2.4fr) minmax(0,.8fr)}
@media(orientation:portrait){.nbtv[data-template=gallery][data-orientation=auto] .nbtv-layout{grid-template-areas:'call call' 'queue progress' 'media media';grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);grid-template-rows:minmax(0,.65fr) minmax(0,1.8fr) minmax(0,2.8fr)}.nbtv[data-template=gallery][data-orientation=auto][data-has-media=false] .nbtv-layout{grid-template-areas:'call call' 'queue queue' 'progress progress';grid-template-rows:minmax(0,.7fr) minmax(0,2.4fr) minmax(0,.8fr)}}
@media(max-height:700px) and (orientation:landscape){.nbtv[data-template=gallery] .nbtv-call-code{font-size:clamp(30px,3.8vw,64px)}.nbtv[data-template=gallery] .nbtv-call{padding:.4em .7em}.nbtv[data-template=gallery] .nbtv-gallery-avatar{width:44px;height:44px}.nbtv[data-template=gallery] .nbtv-gallery-caption{padding:.4em .7em}.nbtv[data-template=gallery] .nbtv-qr svg{width:56px}}

/* Photo correction in the original three templates; each keeps its own palette/layout. */
.nbtv .nbtv-media[data-kind=gallery][data-image=true] [data-slide],.nbtv .nbtv-media[data-kind=staff][data-image=true] [data-slide]{color:var(--tv-text)}
.nbtv .nbtv-media[data-kind=gallery] [data-slide]:after,.nbtv .nbtv-media[data-kind=staff] [data-slide]:after{display:none}
.nbtv:is([data-template=serene],[data-template=boutique],[data-template=studio]) .nbtv-media[data-kind=gallery] [data-slide],.nbtv .nbtv-media[data-kind=staff] [data-slide]{padding:0;gap:0;overflow:hidden;justify-content:flex-start;align-items:stretch;border-radius:var(--tv-radius)}
.nbtv-portfolio-frame,.nbtv-profile-frame{position:relative;flex:1;min-height:0;min-width:0;overflow:hidden;background:var(--tv-soft)}
.nbtv .nbtv-portfolio-frame,.nbtv .nbtv-profile-frame,.nbtv .nbtv-image-caption{width:100%}
.nbtv .nbtv-portfolio-frame>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.nbtv .nbtv-image-caption{flex:none;padding:.5em .7em;background:var(--tv-card);border-top:1px solid var(--tv-line)}
.nbtv .nbtv-image-caption .nbtv-media-kicker{color:var(--tv-accent);margin-bottom:.15em;letter-spacing:normal}
.nbtv .nbtv-image-caption strong{font-size:.9em;line-height:1.5;-webkit-line-clamp:2}
.nbtv .nbtv-image-caption p{font-size:.62em;line-height:1.6;margin-top:.2em;-webkit-line-clamp:1}
.nbtv-profile-frame{display:grid;place-items:center;padding:6px;container-type:size}
.nbtv .nbtv-profile-frame>img{position:static;display:block;width:clamp(48px,5vw,120px);height:clamp(48px,5vw,120px);aspect-ratio:1;object-fit:cover;object-position:center 25%;border-radius:50%;border:3px solid var(--tv-accent)}
@supports(width:1cqh){.nbtv .nbtv-profile-frame>img{width:min(12em,85cqw,85cqh);height:min(12em,85cqw,85cqh)}}
.nbtv .nbtv-media[data-kind=staff] .nbtv-image-caption{text-align:center}
.nbtv .nbtv-media[data-kind=staff][data-image=false] [data-slide]{justify-content:center;padding:1em;text-align:center}
@media(max-height:700px) and (orientation:landscape){.nbtv .nbtv-image-caption{padding:.3em .5em}.nbtv .nbtv-image-caption strong{font-size:.85em}.nbtv .nbtv-profile-frame>img{border-width:2px}}

/* Studio / broadcast board: a clear call stage, two balanced panels and live service strip. */
.nbtv[data-template=studio]{--tv-bg:#101521;--tv-card:#1b2435;--tv-soft:#273249;--tv-line:#414d65;--tv-text:#f3f5fc;--tv-muted:#bdc7dc;--tv-accent:#c9baff;--tv-call:#16392f;--tv-call-text:#e6fff1;--tv-radius:20px;--tv-shadow:0 12px 34px #070b171a;--studio-ticket:#302844;--studio-success:#9fe4c4}
.nbtv[data-template=studio][data-theme=light]{--tv-bg:#f0f2f8;--tv-card:#fff;--tv-soft:#e9edf6;--tv-line:#ced5e3;--tv-text:#222c42;--tv-muted:#5c687d;--tv-accent:#60439e;--tv-call:#e5f3ed;--tv-call-text:#173e31;--studio-ticket:#eee8f8;--studio-success:#176b57;--tv-shadow:0 10px 28px #25385b0a}
.nbtv[data-template=studio] .nbtv-screen{background:radial-gradient(ellipse at 100% 0%,var(--tv-soft),transparent 60%)}
.nbtv[data-template=studio] .nbtv-header{min-height:2.7em;padding:0 .15em .35em}
.nbtv[data-template=studio] .nbtv-brand-symbol{border-radius:14px;background:var(--studio-ticket);color:var(--tv-accent)}
.nbtv[data-template=studio] .nbtv-layout{grid-template-areas:'call call' 'queue media' 'progress progress';grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);grid-template-rows:minmax(0,.8fr) minmax(0,3fr) minmax(0,.65fr)}
.nbtv[data-template=studio] .nbtv-call{display:grid;grid-template-columns:minmax(0,.8fr) auto minmax(0,1.35fr);grid-template-areas:'label code detail' 'label code staff';grid-template-rows:auto auto;gap:.2em 1.15em;align-content:center;align-items:center;padding:.55em 1.2em;border-color:color-mix(in srgb,var(--studio-success) 35%,var(--tv-line));background:var(--tv-call);color:var(--tv-call-text)}
.nbtv[data-template=studio] .nbtv-call-heading{grid-area:label;display:flex;align-items:center;gap:.7em}
.nbtv[data-template=studio] .nbtv-call-heading .nbtv-eyebrow{font-size:.8em;line-height:1.7;color:var(--tv-call-text)}
.nbtv[data-template=studio] .nbtv-call-signal{color:var(--studio-success)}
.nbtv[data-template=studio] .nbtv-call-code{grid-area:code;align-self:center;font-size:clamp(42px,5.5vw,132px);line-height:1.1;font-weight:750;padding:.08em .25em;border-radius:14px;background:var(--tv-card);color:var(--tv-accent);font-variant-numeric:tabular-nums}
.nbtv[data-template=studio] .nbtv-call>p{grid-area:detail;font-size:.85em;line-height:1.7}
.nbtv[data-template=studio] .nbtv-call>small{grid-area:staff;font-size:.65em;color:var(--tv-call-text);opacity:.9}
.nbtv[data-template=studio] .nbtv-call h2{grid-area:code;font-size:1.25em;line-height:1.6;white-space:normal;margin:0;font-weight:650}
.nbtv[data-template=studio] .nbtv-call:not(.is-called)>p{grid-area:detail}
.nbtv[data-template=studio] .nbtv-call:not(.is-called)>small{grid-area:staff;display:block}
.nbtv[data-template=studio] .nbtv-queue{padding:.8em 1em;background:var(--tv-card)}
.nbtv[data-template=studio] .nbtv-section-head{margin-bottom:.55em}
.nbtv[data-template=studio] .nbtv-section-head h1{font-size:1.15em;font-weight:650}
.nbtv[data-template=studio] .nbtv-table-labels{background:var(--tv-soft);border-radius:10px;color:var(--tv-muted);padding:.35em .75em;margin-bottom:.3em}
.nbtv[data-template=studio] .nbtv-row{background:var(--tv-soft);border:1px solid var(--tv-line);border-radius:12px;gap:.6em;padding:.4em .65em}
.nbtv[data-template=studio] .nbtv-row>div strong{font-weight:550;font-size:.8em}
.nbtv[data-template=studio] .nbtv-row>div small{font-size:.6em;color:var(--tv-muted)}
.nbtv[data-template=studio] .nbtv-ticket{background:var(--studio-ticket);color:var(--tv-accent);border-radius:8px;padding:.17em .25em;font-size:1em;font-weight:750}
.nbtv[data-template=studio] .nbtv-progress{padding:.45em .8em;display:flex;flex-direction:column;gap:.2em;background:var(--tv-card)}
.nbtv[data-template=studio] .nbtv-progress .nbtv-section-head{margin:0}
.nbtv[data-template=studio] .nbtv-progress .nbtv-eyebrow{display:none}
.nbtv[data-template=studio] .nbtv-progress .nbtv-section-head h2{font-size:.75em;font-weight:650}
.nbtv[data-template=studio] .nbtv-progress [data-progress]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:.6em;flex:1;min-height:0}
.nbtv[data-template=studio] .nbtv-progress .nbtv-row{display:flex;gap:.55em;padding:.25em .5em;border-color:var(--tv-line);border-inline-start:3px solid var(--studio-success)}
.nbtv[data-template=studio] .nbtv-progress .nbtv-row>div strong{font-size:.65em}
.nbtv[data-template=studio] .nbtv-progress .nbtv-ticket{font-size:.8em}
.nbtv[data-template=studio] .nbtv-media{background:var(--tv-soft);padding:.35em;gap:.3em}
.nbtv[data-template=studio] .nbtv-media[data-kind=gallery] [data-slide]{padding:0;border-radius:14px}
.nbtv[data-template=studio] .nbtv-image-caption{padding:.4em .65em}
.nbtv[data-template=studio] .nbtv-image-caption strong{font-size:.85em;-webkit-line-clamp:2}
.nbtv[data-template=studio] .nbtv-qr{border-radius:12px;background:var(--tv-card);border:0;padding:.35em .6em}
.nbtv[data-template=studio] .nbtv-qr svg{width:clamp(64px,4.5vw,128px)}
.nbtv[data-template=studio] .nbtv-footer{font-size:.62em;padding-inline:.2em}
.nbtv[data-template=studio][data-has-media=false] .nbtv-layout{grid-template-areas:'call call' 'queue queue' 'progress progress';grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,.8fr) minmax(0,3fr) minmax(0,.65fr)}
.nbtv[data-template=studio][data-orientation=portrait] .nbtv-layout{grid-template-areas:'call' 'queue' 'media' 'progress';grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,.7fr) minmax(0,2.2fr) minmax(0,2.25fr) minmax(0,.65fr)}
.nbtv[data-template=studio][data-orientation=portrait] .nbtv-call{grid-template-columns:auto minmax(0,1fr);grid-template-areas:'code label' 'code detail' 'code staff';grid-template-rows:auto auto auto;gap:.1em .8em}
.nbtv[data-template=studio][data-orientation=portrait] .nbtv-call-code{font-size:clamp(38px,7vw,112px)}
.nbtv[data-template=studio][data-orientation=portrait][data-has-media=false] .nbtv-layout{grid-template-areas:'call' 'queue' 'progress';grid-template-rows:minmax(0,.7fr) minmax(0,3.3fr) minmax(0,.65fr)}
@media(orientation:portrait){.nbtv[data-template=studio][data-orientation=auto] .nbtv-layout{grid-template-areas:'call' 'queue' 'media' 'progress';grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,.7fr) minmax(0,2.2fr) minmax(0,2.25fr) minmax(0,.65fr)}.nbtv[data-template=studio][data-orientation=auto] .nbtv-call{grid-template-columns:auto minmax(0,1fr);grid-template-areas:'code label' 'code detail' 'code staff';grid-template-rows:auto auto auto;gap:.1em .8em}.nbtv[data-template=studio][data-orientation=auto] .nbtv-call-code{font-size:clamp(38px,7vw,112px)}.nbtv[data-template=studio][data-orientation=auto][data-has-media=false] .nbtv-layout{grid-template-areas:'call' 'queue' 'progress';grid-template-rows:minmax(0,.7fr) minmax(0,3.3fr) minmax(0,.65fr)}}
@media(max-height:700px) and (orientation:landscape){.nbtv[data-template=studio] .nbtv-call-code{font-size:clamp(28px,4.6vw,66px)}.nbtv[data-template=studio] .nbtv-call{padding:.35em .8em;column-gap:.8em}.nbtv[data-template=studio] .nbtv-progress .nbtv-row>div small{display:none}.nbtv[data-template=studio] .nbtv-qr svg{width:56px}.nbtv[data-template=studio] .nbtv-layout{grid-template-rows:minmax(0,.7fr) minmax(0,3fr) minmax(0,.65fr)}}

/* The public specialist of the current slide, beside the existing branch QR. */
.nbtv .nbtv-qr{flex-wrap:wrap;gap:.6em}
.nbtv .nbtv-qr>span{flex:1;min-width:7em}
.nbtv .nbtv-qr-staff{display:flex;align-items:center;gap:.45em;margin-inline-start:auto;max-width:52%;min-width:0;padding-inline-start:.55em;border-inline-start:1px solid var(--tv-line)}
.nbtv .nbtv-qr-avatar{width:clamp(44px,3.8vw,96px);height:clamp(44px,3.8vw,96px);aspect-ratio:1;flex:none;border-radius:50%;object-fit:cover;object-position:center 25%;border:2px solid var(--tv-accent);background:var(--tv-soft);color:var(--tv-accent);display:grid;place-items:center;font-size:.95em;line-height:1}
.nbtv .nbtv-qr-staff>div{min-width:0}
.nbtv .nbtv-qr-staff strong{display:block;font-size:clamp(14px,.78em,36px);line-height:1.6;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--tv-text)}
.nbtv .nbtv-qr-staff small{display:block;font-size:clamp(12px,.52em,22px);line-height:1.7;color:var(--tv-muted);white-space:normal}
@media(max-width:900px){.nbtv .nbtv-qr-staff{max-width:100%;padding-inline-start:0;border:0}.nbtv .nbtv-qr-staff strong{font-size:14px}.nbtv .nbtv-qr-staff small{font-size:12px}}
@media(max-height:700px) and (orientation:landscape){.nbtv .nbtv-qr-avatar{width:40px;height:40px}.nbtv .nbtv-qr-staff small{display:none}}

/* One identity region: portrait at RTL start, full name, booking caption, QR at end. */
.nbtv .nbtv-qr-staff{margin-inline-start:0;max-width:none;flex:1 1 45%;border:0;padding-inline-start:0;align-items:center}
.nbtv .nbtv-qr-staff>div{flex:1;min-width:0}
.nbtv .nbtv-qr-staff strong{display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:normal;line-height:1.65;-webkit-line-clamp:unset}
.nbtv .nbtv-qr>span{flex:1 1 25%;min-width:0}
.nbtv .nbtv-qr>svg{margin-inline-start:auto}
.nbtv .nbtv-media[data-kind=staff] [data-slide]{justify-content:center;padding:1em;text-align:center}
.nbtv .nbtv-staff-introduction strong{font-size:1.1em;line-height:1.8}
@media(max-width:900px){.nbtv .nbtv-qr-staff{flex-basis:55%}.nbtv .nbtv-qr>span{flex-basis:20%}}


/* A single small label anchored inside the painted contain-image rectangle. */
.nbtv .nbtv-media[data-kind=gallery] :is(.nbtv-portfolio-frame,.nbtv-gallery-frame){flex:1;height:100%;min-height:0;position:relative;overflow:hidden}
.nbtv .nbtv-work-label{position:absolute;right:12px;bottom:12px;z-index:2;display:inline-block;max-width:calc(100% - 24px);padding:0;color:#fff;font-size:clamp(12px,.62em,28px);font-weight:600;line-height:1.7;letter-spacing:normal;white-space:nowrap;pointer-events:none;isolation:isolate;text-shadow:0 1px 3px #000,0 2px 7px #0009}
.nbtv .nbtv-work-label:before{content:'';position:absolute;inset:-.35em -.65em;z-index:-1;background:radial-gradient(ellipse,rgba(0,0,0,.72) 15%,rgba(0,0,0,.38) 55%,transparent 75%);pointer-events:none}
