
/* HAI VU HOME INLINE PIANO V13 */
.hv13-practice{
  background:#f7f9fa;
  border-top:1px solid rgba(24,56,79,.07);
  border-bottom:1px solid rgba(24,56,79,.07);
}
.hv13-wrap{
  width:min(1220px,calc(100% - 48px));
  margin-inline:auto;
  padding:52px 0 58px;
}
.hv13-head{
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
  gap:64px;
  align-items:end;
  margin-bottom:28px;
}
.hv13-kicker{
  display:block;
  margin-bottom:10px;
  color:#9a7040;
  font-size:12px;
  font-weight:650;
  letter-spacing:.045em;
}
.hv13-head h2{
  margin:0;
  max-width:560px;
  color:#18384f;
  font-size:clamp(30px,2.8vw,38px);
  line-height:1.16;
  letter-spacing:-.025em;
  font-weight:610;
}
.hv13-head p{
  margin:0;
  max-width:700px;
  color:#637581;
  font-size:16px;
  line-height:1.7;
}
.hv13-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.hv13-status{
  color:#647681;
  font-size:13px;
  line-height:1.45;
}
.hv13-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.hv13-btn{
  min-height:38px;
  padding:0 12px;
  border:1px solid rgba(18,63,91,.17);
  border-radius:999px;
  background:#fff;
  color:#18384f;
  font:inherit;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
}
.hv13-btn[aria-pressed="true"]{
  background:#183f59;
  border-color:#183f59;
  color:#fff;
}
.hv13-range{
  min-width:74px;
  text-align:center;
  color:#667883;
  font-size:12px;
}
.hv13-piano-shell{
  padding:14px;
  border:1px solid rgba(24,56,79,.12);
  border-radius:12px;
  background:#f0ede6;
}
.hv13-scroll{
  overflow-x:auto;
  overscroll-behavior-inline:contain;
}
.hv13-piano{
  position:relative;
  min-width:920px;
  height:252px;
  user-select:none;
  touch-action:none;
}
.hv13-whites{
  position:absolute;
  inset:0;
  display:flex;
}
.hv13-key.white{
  position:relative;
  flex:1 0 0;
  border:1px solid #b9c1c6;
  border-left:0;
  border-radius:0 0 4px 4px;
  background:linear-gradient(180deg,#fff 0%,#fff 90%,#f1efe9 100%);
  cursor:pointer;
}
.hv13-key.white:first-child{border-left:1px solid #b9c1c6}
.hv13-key.white.active{background:#dbe8ee}
.hv13-key.black{
  position:absolute;
  z-index:3;
  top:0;
  left:calc((var(--wi) * 100% / 21) - (100% / 21 * .31));
  width:calc(100% / 21 * .62);
  height:61%;
  border:1px solid #07151e;
  border-radius:0 0 4px 4px;
  background:linear-gradient(180deg,#182630 0%,#061019 80%,#1c2b34 100%);
  box-shadow:0 3px 5px rgba(0,0,0,.14);
  cursor:pointer;
}
.hv13-key.black.active{background:#315d74}
.hv13-label{
  display:none;
  position:absolute;
  left:50%;
  bottom:8px;
  transform:translateX(-50%);
  color:#687a85;
  font-size:10px;
  white-space:nowrap;
  pointer-events:none;
}
.hv13-key.black .hv13-label{color:#dfe7eb}
.hv13-piano.show-labels .hv13-label{display:block}
.hv13-foot{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-top:16px;
  flex-wrap:wrap;
}
.hv13-now{
  color:#687a85;
  font-size:13px;
}
.hv13-now strong{color:#18384f;font-weight:650}
.hv13-more{
  color:#183f59;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.hv13-error{
  display:none;
  margin-bottom:12px;
  padding:10px 12px;
  border:1px solid #d9b4ad;
  border-radius:8px;
  background:#fff8f6;
  color:#7a392e;
  font-size:12px;
}
.hv13-error.show{display:block}
.hv13-knowledge-fix{
  margin-top:0!important;
  padding-top:74px!important;
}
.hv13-before-fix{
  min-height:auto!important;
  margin-bottom:0!important;
  padding-bottom:48px!important;
}
@media(max-width:900px){
  .hv13-head{grid-template-columns:1fr;gap:16px}
}
@media(max-width:680px){
  .hv13-wrap{width:min(100% - 32px,1220px);padding:42px 0 48px}
  .hv13-piano{min-width:820px;height:230px}
  .hv13-knowledge-fix{padding-top:56px!important}
}
