/* The Body — the search box, the notice for hidden parts, part links, and Practice (see explore.js) */
.findbtn{margin-left:auto; display:inline-flex; align-items:center; gap:6px; color:var(--gold); background:none; border:1.5px solid rgba(242,194,48,.55); border-radius:999px; padding:6px 12px; font:inherit; font-weight:700; font-size:.9rem; cursor:pointer; white-space:nowrap}
.findbtn:hover{background:rgba(242,194,48,.12)}
.findbtn[aria-expanded="true"]{background:var(--gold); color:var(--mahogany); border-color:var(--gold)}
.findbtn svg{width:18px; height:18px; flex:none}
@media (min-width:960px){ .bar .sub + .findbtn{margin-left:14px} }
@media (max-width:420px){ .findbtn .fl{display:none} .findbtn{padding:6px 10px} .bar{gap:8px} }

.finder{position:absolute; top:10px; left:10px; right:10px; z-index:9; max-width:560px; max-height:calc(100% - 20px); display:flex; flex-direction:column; background:var(--paper); color:var(--ink); border-radius:14px; box-shadow:0 12px 34px rgba(0,0,0,.45); padding:10px}
.finder .frow{display:flex; align-items:center; gap:8px; border:2px solid var(--burgundy); border-radius:999px; padding:3px 4px 3px 12px; flex:none}
.finder .frow svg{width:18px; height:18px; color:var(--burgundy); flex:none}
.finder input{flex:1; min-width:0; border:0; outline:none; font:inherit; font-size:1.05rem; padding:6px 0; background:none; color:var(--ink)}
.finder input::-webkit-search-cancel-button{display:none}
.finder .fx{border:0; background:var(--cream); color:var(--burgundy); border-radius:999px; width:36px; height:36px; font-size:1rem; cursor:pointer; flex:none}
.fres{list-style:none; margin:6px 0 0; padding:0; overflow:auto; min-height:0}
.fres button{display:block; width:100%; text-align:left; border:0; background:none; padding:8px 10px; border-radius:10px; cursor:pointer; font:inherit}
.fres li[aria-selected="true"] button, .fres button:hover{background:#F6ECE0}
.fres b{display:block; color:var(--burgundy); font-size:1rem; line-height:1.3}
.fres span{display:block; font-size:.82rem; color:var(--muted)}
.fres .fnone{padding:8px 10px; color:var(--muted); font-size:.92rem}
.fhelp{font-size:.82rem; color:var(--muted); margin:8px 4px 2px; line-height:1.45}
.fmiss{background:var(--cream); border:2px dashed var(--teal); border-radius:10px; padding:8px 10px; margin:8px 0 0; font-size:.9rem; line-height:1.45; flex:none}
.fmiss .btn{margin-top:8px}

.xpill{position:absolute; left:10px; bottom:52px; z-index:3; max-width:calc(100% - 70px); display:flex; gap:8px; align-items:center; background:rgba(11,18,34,.86); color:var(--stage-ink); border:1px solid rgba(242,194,48,.6); border-radius:999px; padding:4px 6px 4px 14px; font-size:.85rem}
.xpill span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.xpill button{border:0; background:var(--gold); color:var(--mahogany); border-radius:999px; padding:3px 10px; font:inherit; font-weight:700; font-size:.8rem; cursor:pointer; white-space:nowrap}
.btnrow.xrow{margin-top:0}
.xlinknote{font-size:.88rem; background:var(--cream); border-radius:10px; padding:8px 10px; margin:6px 0 4px}
.xlinknote input{display:block; width:100%; margin-top:6px; font:inherit; font-size:.82rem; padding:5px 8px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink)}

/* practice */
.psets{display:flex; flex-wrap:wrap; gap:6px; margin:0 0 8px}
.psets .btn[aria-pressed="true"]{background:var(--burgundy); color:var(--gold)}
.pmodes{display:grid; gap:8px; margin:0 0 8px}
.pmodes button{display:block; width:100%; text-align:left; border:1.5px solid var(--line); background:var(--cream); border-radius:12px; padding:10px 14px; cursor:pointer; font:inherit}
.pmodes button:hover{border-color:var(--burgundy); background:#FFF8EC}
.pmodes b{display:block; font-family:var(--display); color:var(--burgundy); font-size:1.05rem; line-height:1.25}
.pmodes span{display:block; font-size:.9rem; color:var(--muted); margin-top:2px}
.psub{font-size:.95rem; color:var(--muted)}
.popts{display:grid; gap:6px; margin:10px 0}
.popts button{text-align:left; border:1.5px solid var(--line); background:var(--paper); border-radius:10px; padding:9px 12px; cursor:pointer; font:inherit; font-weight:700}
.popts button:hover{border-color:var(--burgundy)}
.popts button.right{border-color:var(--green); background:#E7F3EA}
.popts button.wrong{border-color:var(--wrong); background:#F8E6E3}
.pfb{min-height:1.5em; margin:8px 0 4px; max-width:64ch}
.pfb .yes{color:var(--green)}
.pfb .no{color:var(--wrong)}
.phint{display:block; margin-top:8px; background:var(--cream); border-radius:8px; padding:6px 10px}
.dots i.now{background:var(--gold); box-shadow:0 0 0 2px var(--burgundy)}
.pagain{display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 10px}
.ptoast{position:absolute; z-index:5; pointer-events:none; transform:translate(-50%,-150%); max-width:80%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; background:rgba(11,18,34,.92); color:#fff; border:2px solid var(--gold); border-radius:10px; padding:5px 12px; font-size:.9rem}
.ptoast.yes{border-color:#7BD88F}
.ptoast.no{border-color:#F08A7E}

/* four tabs on a narrow phone */
@media (max-width:440px){ .tabs{gap:2px; padding:8px 8px 0} .tab{padding:8px 9px; font-size:.86rem} }
