/* v65: compact library chrome remains stable with or without a native keyboard. */
.searching .workspace-head{display:none!important}
#exercise-browser{padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}
.exercise-browser-head{gap:10px;padding:8px 14px 6px!important;min-height:57px;box-sizing:border-box}
.exercise-browser-head>button:first-child{display:grid;place-items:center;width:28px;height:42px;flex:none;padding:0}
.exercise-browser-head .hex-icon,.keyboard-visible .exercise-browser-head .hex-icon{width:30px!important;height:34px!important}
.exercise-browser-head .exercise-master{inset:50% auto auto 50%!important;transform:translate(-50%,-50%);width:62%!important;height:62%!important;object-fit:contain}
.exercise-browser-title{min-width:0;flex:1}.exercise-browser-head small{font-size:9px;letter-spacing:.10em}.exercise-browser-head h2,.keyboard-visible .exercise-browser-head h2{font-size:24px;margin-top:3px;line-height:1}
.exercise-browser-head .favorites-toggle{display:grid;place-items:center;width:44px;height:44px;padding:8px;flex:none;border:1px solid #2e4c57;border-radius:5px;background:#0b222c;color:#779aa8;font-size:0;box-shadow:inset 0 0 0 2px #08151c}
.favorites-toggle svg{width:27px;height:27px;fill:transparent;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.exercise-browser-head .favorites-toggle[aria-pressed=true]{color:#f2c95d;border-color:#b99748;background:#282719}.favorites-toggle[aria-pressed=true] svg{fill:currentColor;filter:drop-shadow(0 0 5px #e2af3d33)}
.exercise-browser-input{margin:3px 14px 8px;border-color:#42828e;background:#0a202b;box-shadow:none}.exercise-browser-input:focus-within{border-color:#33d2e2;box-shadow:0 0 10px #1ccbe511}.exercise-browser-input input,.keyboard-visible .exercise-browser-input input{height:42px;padding:8px 10px;font-size:17px}.exercise-browser-input>span{font-size:26px}.exercise-browser-input>button{width:42px;height:42px;flex:none}
.browser-controls{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px;padding:0 14px;flex:none}
.browser-controls .equipment-filter,.keyboard-visible .browser-controls .equipment-filter{display:flex;min-width:0;margin:0}
.browser-controls .equipment-filter select{width:100%;height:40px;min-height:40px;margin:0;padding:7px 28px 7px 10px;font:14px/1 'Bebas Kai';letter-spacing:.055em;border-radius:3px;border:1px solid #355361;background:#0b202b;color:#c3d7dc}
.custom-exercise-launch{display:flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 10px;border:1px solid #269f69;border-radius:3px;background:linear-gradient(110deg,#0d3026,#123e2d);box-shadow:inset 0 0 0 2px #07221c;color:#73ecae;font:16px/1 'Bebas Kai';letter-spacing:.065em}.custom-exercise-launch span:last-child{font:22px/1 sans-serif;color:#acffcf}
.browser-result-heading,.keyboard-visible .browser-result-heading{padding:7px 16px 5px;font-size:9px;min-height:23px;box-sizing:border-box}
#exercise-results{padding:0 10px 8px;scrollbar-gutter:auto;scroll-padding:2px;touch-action:pan-y;-webkit-overflow-scrolling:touch}
#exercise-results .result-add,.keyboard-visible #exercise-results .result-add{grid-template-columns:30px minmax(0,1fr);min-height:54px;padding:6px 9px;gap:10px;border-radius:0;background:linear-gradient(110deg,color-mix(in srgb,var(--part) 5%,#08151c),#08151c 65%)}
#exercise-results .hex-icon{width:29px!important;height:33px!important}.exercise-result-row{grid-template-columns:minmax(0,1fr) 39px}#exercise-results .result-add strong{font-size:18px;line-height:1.1;letter-spacing:.025em}#exercise-results .result-add small{margin-top:3px;font-size:9px;line-height:1.2;letter-spacing:.045em}.result-favorite{width:39px;min-height:54px;font-size:24px;background:#0b1e26}
.summary-streak .summary-master,.summary-milestone .summary-master{transform:scale(.88);transform-origin:center}
@media(max-width:350px){.exercise-browser-head{gap:8px;padding-left:10px!important;padding-right:10px!important}.exercise-browser-head h2,.keyboard-visible .exercise-browser-head h2{font-size:22px}.exercise-browser-head small{font-size:8px;letter-spacing:.05em}.exercise-browser-input{margin-left:10px;margin-right:10px}.browser-controls{padding-left:10px;padding-right:10px;grid-template-columns:minmax(0,1fr) 96px}#exercise-results .result-add strong{font-size:17px}}
