.hp-box { margin-top: 12px; }
.hp-hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hp-hd h3 { margin: 0; font-size: 16px; }
.hp-cnt { font-weight: 800; font-size: 13px; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(127,127,127,.4); }
.hp-cnt.full { border-color: #d4a843; color: #d4a843; }
.hp-hd .aiv-btn { margin-inline-start: auto; }
.hp-sub { margin: 6px 0 10px; }
.hp-msg { margin: 0 0 10px; padding: 7px 11px; border-radius: 9px; background: rgba(46,160,67,.14); font-size: 13px; }
.hp-msg.bad { background: rgba(229,72,77,.16); color: #ff8d8d; }
.hp-none { margin: 0; }
.hp-picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hp-pk { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid rgba(127,127,127,.3); border-radius: 10px; }
.hp-n { width: 22px; text-align: center; font-weight: 800; opacity: .8; }
.hp-th { width: 96px; aspect-ratio: 16/9; border-radius: 7px; overflow: hidden; background: #111; flex: none; }
.hp-th img, .hp-th video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-t { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-ctl { display: flex; gap: 4px; }
.hp-ib { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(127,127,127,.35); background: transparent; color: inherit; cursor: pointer; font-size: 13px; }
.hp-ib:disabled { opacity: .3; cursor: default; }
.hp-x:hover { background: rgba(229,72,77,.18); color: #ff8d8d; }
.hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 12px; }
.hp-card { position: relative; border: 1px solid rgba(127,127,127,.3); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 6px; }
.hp-card.on { border-color: #d4a843; box-shadow: 0 0 0 1px #d4a843 inset; }
.hp-card .hp-th { width: 100%; }
.hp-card .hp-t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hp-star { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(10,11,13,.65); color: #fff; font-size: 18px; }
.hp-star.on { background: #d4a843; color: #111; }
.hp-star.dim { opacity: .45; }
.hp-badge { position: absolute; top: 10px; inset-inline-start: 10px; min-width: 22px; height: 22px; border-radius: 11px; background: #d4a843; color: #111; font-weight: 800; font-size: 12px; text-align: center; line-height: 22px; }
.hp-th { position: relative; }
.hp-kind { position: absolute; bottom: 5px; inset-inline-start: 5px; font-size: 10px; font-weight: 800; line-height: 1; padding: 3px 6px; border-radius: 6px; background: rgba(10,11,13,.75); color: #fff; letter-spacing: .02em; }
.hp-kind.image { background: rgba(212,168,67,.92); color: #111; }
.hp-pk .hp-kind { font-size: 9px; padding: 2px 4px; bottom: 3px; inset-inline-start: 3px; }
/* one-tap homepage stars */
.hp-s { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(10,11,13,.66); color: #fff; font-size: 18px; line-height: 34px; padding: 0; cursor: pointer; backdrop-filter: blur(4px); }
.hp-s.on { background: #d4a843; color: #111; }
.hp-s:disabled { opacity: .5; }
.hp-s[hidden] { display: none; }
.plib-card .aiv-cover { position: relative; }
.hp-s.hp-lib { position: absolute; bottom: 8px; inset-inline-end: 8px; z-index: 3; box-shadow: 0 2px 10px rgba(0,0,0,.45); }
.hp-s.hp-act { width: 32px; height: 32px; line-height: 32px; font-size: 17px; background: transparent; border: 1px solid rgba(127,127,127,.45); color: inherit; }
.hp-s.hp-act.on { background: #d4a843; border-color: #d4a843; color: #111; }
.hp-toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 10050; background: #fff; color: #07080a; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: 92vw; text-align: center; }
.hp-toast.bad { background: #e5484d; color: #fff; }
