/* v94 header search + Profile button (hdsearch.js). Colours from the site vars, so light/dark and accent colours follow. */
.hp-sbtn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:40px;height:40px;padding:0;border-radius:999px;border:1.5px solid var(--line);background:transparent;color:var(--text);cursor:pointer;flex:none;font:inherit;font-weight:800;font-size:14px}
.hp-sbtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;flex:none}
.hp-sbtn:hover,.hp-sbtn[aria-expanded=true]{border-color:var(--accent);color:var(--accent-text)}
.hp-sbtn:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}
.hp-sbtn-l{display:none}
@media(min-width:1100px){.hp-sbtn{width:auto;padding:0 16px 0 13px;min-width:120px;justify-content:flex-start;color:var(--muted)}.hp-sbtn-l{display:inline}}
@media(max-width:420px){.hp-sbtn{width:38px;height:38px}}
/* profile button: the round avatar next to Sign in / Sign out */
.hd-av.hp-prof{position:relative;overflow:hidden}
.hd-av.hp-prof img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.hp-prof-out svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* very narrow phones: keep the header on one line */
@media(max-width:374px){.topbar .logo-full{max-width:104px;height:auto}}
/* panel */
.hp-wrap{position:fixed;inset:0;z-index:2147482000}
.hp-wrap[hidden]{display:none}
.hp-scrim{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.hp-panel{position:absolute;top:calc(var(--hp-top,64px) + 8px);right:max(12px,calc((100vw - 1200px)/2 + 12px));width:min(560px,calc(100vw - 24px));max-height:calc(100vh - var(--hp-top,64px) - 24px);
  display:flex;flex-direction:column;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.4);overflow:hidden}
.hp-form{position:relative;display:flex;align-items:center;gap:8px;padding:10px;border-bottom:1px solid var(--line)}
.hp-form input{flex:1;min-width:0;box-sizing:border-box;height:46px;padding:0 12px 0 40px;font:inherit;font-size:16px;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:12px}
.hp-form input:focus{outline:2px solid var(--accent-text);outline-offset:0;border-color:transparent}
.hp-form input::-webkit-search-cancel-button{display:none}
.hp-ic{position:absolute;left:22px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--muted);pointer-events:none}
.hp-ic svg,.hp-x svg,.hp-ri svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hp-x{appearance:none;flex:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--text);display:grid;place-items:center;cursor:pointer;padding:12px;box-sizing:border-box}
.hp-x:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}
.hp-res{overflow:auto;padding:6px 8px 10px;overscroll-behavior:contain}
.hp-g+.hp-g{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}
.hp-gh{margin:8px 8px 4px;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.hp-opt{display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 8px;border-radius:12px;cursor:pointer}
.hp-opt:hover{background:rgba(var(--accent-rgb),.08)}
.hp-opt[aria-selected=true]{background:rgba(var(--accent-rgb),.16);box-shadow:inset 3px 0 0 var(--accent)}
.hp-ri{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;padding:8px;box-sizing:border-box;background:rgba(var(--accent-rgb),.12);color:var(--accent-text)}
.hp-av{position:relative;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:rgba(var(--accent-rgb),.16);color:var(--accent-text);font-weight:800}
.hp-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}.hp-av img.on{opacity:1}
.hp-ot{display:grid;min-width:0}
.hp-ot b,.hp-ot small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-ot b{font-size:15px}.hp-ot small{font-size:12.5px;color:var(--muted)}
.hp-hint,.hp-note{margin:10px 8px;font-size:14px;color:var(--muted)}
.hp-note{font-size:13px}
@media(max-width:599px){.hp-panel{left:8px;right:8px;width:auto;top:calc(var(--hp-top,64px) + 6px)}}
@media(prefers-reduced-motion:no-preference){.hp-panel{animation:hpIn .16s ease-out}@keyframes hpIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}}
.hp-ot b{display:flex;align-items:center;min-width:0}
.hp-ot .fr-tick{margin-left:5px}

/* v95: account tab in the bottom bar (top nav on desktop) + Home hero pill. Painted by hdsearch.js ([data-me-btn]). */
.tabbar .tb-me .tb-av{width:22px;height:22px;flex:none;display:grid;place-items:center;border-radius:50%;position:relative;overflow:hidden}
.tabbar .tb-me .tb-av svg{width:22px;height:22px}
.tabbar .tb-me.is-in .tb-av{width:24px;height:24px;margin:-1px 0;background:rgba(var(--accent-rgb),.16);box-shadow:0 0 0 1.5px currentColor}
.tabbar .tb-me .tb-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.tabbar .tb-me .tb-av b{font-size:12px;font-weight:800;line-height:1;color:var(--accent)}
.tabbar .tb-me .tb-l{line-height:inherit}
@media(min-width:900px){
  .tabbar .tb-me{margin-left:8px;position:relative;white-space:nowrap;flex:none}
  .tabbar .tb-me::after{content:"";position:absolute;left:-5px;top:12px;bottom:12px;width:1px;background:var(--line)}
  .tabbar .tb-me .tb-av,.tabbar .tb-me .tb-av svg{width:19px;height:19px}
  .tabbar .tb-me.is-in .tb-av{width:24px;height:24px}
}
.hd-me{appearance:none;display:inline-flex;align-items:center;gap:9px;min-height:44px;max-width:100%;margin:0 0 14px;padding:5px 12px 5px 5px;border-radius:999px;border:1px solid transparent;
  background:var(--accent);color:#0b0b0b;font:inherit;font-size:14px;font-weight:800;letter-spacing:0;cursor:pointer;
  box-shadow:0 6px 18px rgba(var(--accent-rgb),.28);transition:transform .15s,box-shadow .2s,background .2s}
.hd-me:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(var(--accent-rgb),.4)}
.hd-me:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hd-me.is-pend{visibility:hidden}
.hd-me-av{width:32px;height:32px;flex:none;border-radius:50%;display:grid;place-items:center;position:relative;overflow:hidden;background:rgba(0,0,0,.14)}
.hd-me-av svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hd-me-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hd-me-av b{font-size:14px;font-weight:900;line-height:1}
.hd-me-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hd-me-go{display:grid;place-items:center;margin-left:-2px}
.hd-me-go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hd-me.is-in{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff;box-shadow:none}
.hd-me.is-in:hover{background:rgba(255,255,255,.14);box-shadow:none}
.hd-me.is-in .hd-me-av{background:rgba(var(--accent-rgb),.18);color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
.hd-me.is-in .hd-me-go{color:var(--accent)}
@media(prefers-reduced-motion:reduce){.hd-me,.hd-me:hover{transition:none;transform:none}}
@media(max-width:380px){.tabbar .tb-me .tb-av,.tabbar .tb-me .tb-av svg{width:20px;height:20px}.tabbar .tb-me.is-in .tb-av{width:22px;height:22px}}
/* v101: the Home hero Sign in / Sign up / Go Premium buttons were removed (header and menu cover them). */
