.ctr-root.ctr-root { --ctr-primary:#fc0; --ctr-ink:#111; box-sizing:border-box; font:400 16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#1f2328; text-align:left; }
.ctr-root.ctr-root *, .ctr-root.ctr-root *::before, .ctr-root.ctr-root *::after { box-sizing:border-box; }
.ctr-root.ctr-root [hidden] { display:none!important; }
.ctr-root.ctr-root button { font:inherit; letter-spacing:normal; text-transform:none; box-shadow:none; cursor:pointer; margin:0; min-width:0; }
.ctr-root.ctr-root button:disabled { cursor:default; }
.ctr-root.ctr-root :is(button,a):focus-visible { outline:3px solid #2563eb; outline-offset:4px; }
.ctr-card.ctr-card { padding:24px; border:2px solid var(--ctr-primary); border-radius:16px; margin:24px 0; background:#fff; width:100%; }
.ctr-root.ctr-root .ctr-discount { display:inline-block; padding:4px 10px; border-radius:6px; background:var(--ctr-primary); color:var(--ctr-ink); font-weight:800; }
.ctr-root.ctr-root .ctr-card-title { font:750 22px/1.3 system-ui,sans-serif; color:#1f2328; margin:12px 0; padding:0; text-transform:none; overflow-wrap:anywhere; }
.ctr-root.ctr-root .ctr-description { margin:0 0 18px; padding:0; color:#475569; white-space:pre-line; }
.ctr-root.ctr-root .ctr-reveal { position:relative; display:block; width:100%; padding:0; border:0; background:transparent; border-radius:12px; overflow:hidden; }
.ctr-root.ctr-root .ctr-reveal-hidden { position:absolute; inset:0; display:flex; align-items:center; justify-content:flex-end; padding:0 18px; border:2px dashed var(--ctr-primary); border-radius:12px; background:#f8fafc; color:#64748b; letter-spacing:5px; font-weight:800; user-select:none; }
.ctr-root.ctr-root .ctr-reveal-btn { position:relative; display:flex; align-items:center; justify-content:center; width:78%; min-height:54px; padding:14px 30px 14px 12px; background:var(--ctr-primary); color:var(--ctr-ink); font-weight:800; clip-path:polygon(0 0,100% 0,90% 100%,0 100%); overflow-wrap:anywhere; }
.ctr-root.ctr-root .ctr-note { font-size:13px; margin:12px 0 0; color:#475569; white-space:pre-line; }
.ctr-root.ctr-root .ctr-disclosure { display:block; margin-top:12px; color:#64748b; font-size:12px; line-height:1.5; }
.ctr-button-wrap.ctr-button-wrap { margin:16px 0; }
.ctr-root.ctr-root .ctr-expired { display:block; padding:14px; background:#f1f5f9; color:#475569; border-radius:10px; }
html.ctr-lock { overflow:hidden!important; }
dialog.ctr-modal.ctr-modal { position:fixed; inset:0; padding:0; border:0; border-radius:20px; width:calc(100% - 32px); max-width:440px; max-height:calc(100dvh - 32px); margin:auto; background:#fff; color:#1f2328; overflow:auto; box-shadow:0 0 0 3px var(--ctr-primary),0 24px 80px #0005; z-index:2147483000; }
dialog.ctr-modal:not([open]) { display:none; }
dialog.ctr-modal::backdrop { background:rgba(15,23,42,.75); }
.ctr-root.ctr-root .ctr-modal-head { position:relative; background:var(--ctr-primary); color:var(--ctr-ink); padding:30px 42px 24px; text-align:center; }
.ctr-root.ctr-root #ctr-modal-title { font:800 24px/1.25 system-ui,sans-serif; color:inherit; margin:0; padding:0; overflow-wrap:anywhere; }
.ctr-root.ctr-root #ctr-modal-subtitle { margin:10px 0 0; padding:0; color:inherit; }
.ctr-root.ctr-root .ctr-close { position:absolute; right:6px; top:6px; width:36px; height:36px; padding:0; background:transparent; color:inherit; border:0; border-radius:50%; font-size:28px; line-height:1; }
.ctr-root.ctr-root .ctr-modal-body { padding:24px; text-align:center; }
.ctr-root.ctr-root .ctr-code { display:block; width:100%; padding:18px 12px; border:2px dashed var(--ctr-primary); border-radius:14px; background:#f8fafc; color:#1f2328; margin:0 0 16px; }
.ctr-root.ctr-root .ctr-code:disabled { opacity:.65; }
.ctr-root.ctr-root #ctr-code { display:block; font:800 clamp(22px,6vw,38px)/1.3 monospace; letter-spacing:.05em; overflow-wrap:anywhere; user-select:text; min-height:1.3em; }
.ctr-root.ctr-root #ctr-copy-label { display:block; margin-top:8px; font-size:14px; }
.ctr-root.ctr-root .ctr-go { display:block; padding:14px 16px; background:#111827; color:#fff; text-decoration:none; font-weight:750; border:0; border-radius:10px; }
.ctr-root.ctr-root .ctr-go:hover { background:#334155; color:#fff; }
.ctr-root.ctr-root .ctr-retry { border:1px solid #64748b; background:#fff; color:#1f2328; border-radius:6px; padding:8px 12px; margin:0 0 14px; }
.ctr-root.ctr-root #ctr-status { font-size:14px; margin:0 0 12px; padding:0; color:#334155; }
.ctr-root.ctr-root #ctr-status:empty, .ctr-root.ctr-root #ctr-modal-note:empty, .ctr-root.ctr-root #ctr-modal-subtitle:empty { display:none; }
@media(max-width:480px) { .ctr-card.ctr-card { padding:18px; } .ctr-root.ctr-root .ctr-modal-body { padding:18px; } }
