.star-rating{display:inline-flex;align-items:center;gap:12px}.stars{display:flex;align-items:center;gap:4px}.star-button{width:var(--star-size, 36px);height:var(--star-size, 36px);padding:0;border:none;background:none;color:#d1d5db;cursor:pointer;transition:color .15s ease,transform .15s ease}.star-button.active{color:var(--star-color, #f59e0b)}.star-button:hover{transform:scale(1.12)}.star-button:focus-visible{outline:2px solid var(--star-color, #f59e0b);outline-offset:3px;border-radius:4px}.rating-message{font-size:14px;color:#555}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-family:Arial,Helvetica,sans-serif;background:#f8fafc;color:#1e293b}.app{width:min(100% - 32px,700px);margin:0 auto;padding:60px 0}.app-header{margin-bottom:48px;text-align:center}.app-header h1{margin-bottom:12px;font-size:32px}.app-header p{color:#64748b;line-height:1.6}.demo-section{margin-bottom:24px;padding:28px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.demo-section h2{margin:0 0 20px;font-size:18px}.rating-result{margin:14px 0 0;color:#64748b;font-size:14px}
