/* Site header shared with the landing page (members pages: account and chess). */
.tpvh{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px clamp(18px,3vw,32px);background:#FBF6EF;border-bottom:1px solid rgba(23,23,28,.12);font-family:'Space Grotesk',system-ui,sans-serif;position:relative;z-index:50}
.tpvh *{box-sizing:border-box}
.tpvh-mark{display:flex;align-items:center;gap:10px;text-decoration:none;color:#17171C}
.tpvh-mark img{width:52px;height:52px;object-fit:contain;display:block}
.tpvh-mark span{font-family:'Fraunces',Georgia,serif;font-size:1.35rem;white-space:nowrap;color:#17171C}
.tpvh-btns{display:flex;gap:10px;align-items:center}
.tpvh-b{padding:9px 20px;border-radius:999px;font:600 .85rem 'Space Grotesk',system-ui,sans-serif;cursor:pointer;white-space:nowrap;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease;line-height:1.2}
.tpvh-b:hover{transform:translateY(-1px)}
.tpvh-b.ghost{background:transparent;border:1.5px solid rgba(23,23,28,.12);color:#17171C}
.tpvh-b.ghost:hover{border-color:#17171C}
.tpvh-b.solid{background:#FF7A3D;border:1.5px solid #FF7A3D;color:#fff;box-shadow:0 6px 14px rgba(255,122,61,.30)}
.tpvh-b:focus-visible{outline:2px solid #17171C;outline-offset:2px}
@media(max-width:760px){.tpvh{padding:14px clamp(14px,4vw,24px)}.tpvh-mark img{width:34px;height:34px}.tpvh-mark span{font-size:.86rem}.tpvh-b{padding:8px 14px;font-size:.8rem}.tpvh-b.ghost{display:none}.tpvh-b.ghost.home{display:inline-block}.tpvh-btns{gap:8px}}
@media(prefers-reduced-motion:reduce){.tpvh-b{transition:none}}
.tpvh-mark{min-width:0}.tpvh-btns{flex:0 0 auto}
@media(max-width:400px){.tpvh{gap:8px;padding:12px 12px}.tpvh-mark{gap:6px}.tpvh-mark img{width:30px;height:30px}.tpvh-mark span{font-size:.74rem;overflow:hidden;text-overflow:ellipsis}.tpvh-b{padding:7px 11px;font-size:.74rem}.tpvh-btns{gap:6px}}
.tpvh.center{justify-content:center}

.tpvh-burger,.tpvh-menu{display:none}
@media(max-width:760px){
 .tpvh-btns{display:none}
 .tpvh-burger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0 11px;border:1.5px solid rgba(23,23,28,.12);border-radius:12px;background:transparent;cursor:pointer;flex:0 0 auto}
 .tpvh-burger span{display:block;height:2px;border-radius:2px;background:#17171C;transition:transform .2s,opacity .2s}
 .tpvh-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 .tpvh-burger.open span:nth-child(2){opacity:0}
 .tpvh-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 .tpvh-burger:focus-visible{outline:2px solid #17171C;outline-offset:2px}
 .tpvh-menu:not([hidden]){display:flex;flex-direction:column;position:absolute;left:0;right:0;top:100%;background:#FBF6EF;border-bottom:1px solid rgba(23,23,28,.12);box-shadow:0 14px 28px rgba(23,23,28,.14);padding:6px clamp(14px,4vw,24px) 14px}
 .tpvh-menu a,.tpvh-menu button{display:block;width:100%;text-align:left;padding:14px 4px;border:0;border-bottom:1px solid rgba(23,23,28,.1);background:none;font:600 1rem 'Space Grotesk',system-ui,sans-serif;color:#17171C;text-decoration:none;cursor:pointer}
 .tpvh-menu button{border-bottom:0;color:#E2551B}
 .tpvh-menu a:hover,.tpvh-menu button:hover{color:#FF7A3D}
}
@media(prefers-reduced-motion:reduce){.tpvh-burger span{transition:none}}
