#next-actions{position:absolute;left:50%;bottom:128px;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:6px;max-width:calc(100% - 48px);padding:8px;background:#fffaf0f5;border:1px solid #b6b5a5;border-radius:14px;box-shadow:0 3px 16px #26342b18}
#next-actions[hidden]{display:none}
#next-actions .next-action-label{font-size:12px;line-height:1.4;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 7px;color:#344b3e}
#next-actions button{min-height:44px;padding:9px 12px;border:1px solid #9dada0;border-radius:9px;background:#fffaf0;color:#243c2d;font:600 12px/1.4 'Pretendard Variable',sans-serif;white-space:nowrap;cursor:pointer}
#next-actions .next-action-primary{background:#254f3e;color:#fffaf0;border-color:#254f3e}
#next-actions:has(.book-prescription-offer){flex-wrap:wrap;width:640px}
#next-actions .book-prescription-offer{flex:0 0 100%;grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;box-sizing:border-box;background:#e6efe4;border-radius:9px;color:#254f3e;font:600 13px/1.5 'Pretendard Variable',sans-serif}
#next-actions .book-prescription-offer a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;box-sizing:border-box;background:#254f3e;color:#fffaf0;border-radius:8px;text-decoration:none;font-weight:700;flex-shrink:0}
#next-actions .book-prescription-offer a:focus-visible{outline:3px solid #b96a32;outline-offset:2px}
@media(max-width:650px){#next-actions .book-prescription-offer{flex-direction:column;gap:5px;padding:7px;font-size:12px}#next-actions .book-prescription-offer a{width:100%;font-size:13px}}
#next-actions button:focus-visible{outline:3px solid #b96a32;outline-offset:2px}
#compact-hud #next-actions{position:static;transform:none;max-width:none;width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px;gap:4px;pointer-events:auto}
#compact-hud #next-actions[hidden]{display:none}
#compact-hud #next-actions .next-action-label{grid-column:1/-1;max-width:none;font-size:11px}
#compact-hud #next-actions button{white-space:normal;padding:6px;font-size:11px;min-width:0}
@media(max-height:500px){#compact-hud #next-actions{display:flex}#compact-hud #next-actions[hidden]{display:none}#compact-hud #next-actions .next-action-label{flex:1;min-width:0}#compact-hud #next-actions button{flex-shrink:0}}
