.cv-item { position: relative; }
.cv-item img { display: block; width: 100%; height: auto; }
.cv-meta { margin: 8px 0; font-size: 14px; }
.cv-vote { width: 100%; padding: 8px 12px; border: 0; border-radius: 10px; cursor: pointer; background: #fff; color: #333; font-family: inherit; }
.cv-vote:disabled { opacity: .7; cursor: default; }
.cv-item.cv-voted .cv-vote { background: #5cb85c; color: #fff; }
.cv-modal[hidden], .cv-status[hidden], .cv-toast[hidden], #cv-max-box[hidden] { display: none !important; }
.cv-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); padding: 16px; }
.cv-modal__box { position: relative; background: #fff; color: #333; max-width: 420px; width: 100%; max-height: 90vh; overflow: auto; border-radius: 12px; padding: 24px; }
.cv-modal__close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; cursor: pointer; }
.cv-auth { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; }
.cv-auth input[type=email] { width: 100%; padding: 8px; margin-bottom: 8px; box-sizing: border-box; }
.cv-btn { padding: 8px 14px; border: 0; border-radius: 8px; background: #4F46E5; color: #fff; cursor: pointer; }
.cv-code { font: 700 22px monospace; letter-spacing: 2px; padding: 8px; background: #f3f3f3; text-align: center; border-radius: 8px; }
.cv-hint { color: #777; font-size: 13px; }
.cv-msg { color: #b00; min-height: 1.2em; }
.cv-status { position: fixed; left: 12px; bottom: 12px; z-index: 9999; background: #fff; color: #333; padding: 8px 12px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.2); font-size: 14px; }
.cv-toast { position: fixed; right: 12px; bottom: 12px; z-index: 9999; background: #333; color: #fff; padding: 10px 14px; border-radius: 8px; }
