.gift-dialog{width:min(94vw,520px);border:1px solid #444;border-radius:20px;background:#181923;color:#eee;padding:28px;box-shadow:0 20px 80px #0009}.gift-dialog::backdrop{background:#000b}.gift-dialog p{line-height:1.5;color:#bfc0cc}.gift-dialog select,.gift-dialog input{width:100%;background:#252632;color:white;border:1px solid #484957;border-radius:8px;padding:12px;margin:8px 0}.gift-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.gift-dialog .btn{margin:4px}.gift-price{font-weight:bold}.short-live-chat{position:absolute;inset:auto 0 0;z-index:10;background:#12131af5;padding:16px;border-radius:16px 16px 0 0;max-height:60%;display:flex;flex-direction:column;gap:10px}.short-live-messages{overflow:auto;min-height:80px;max-height:220px;font-size:13px}.short-live-messages p{padding:7px;margin:0;border-bottom:1px solid #ffffff0a;overflow-wrap:anywhere}.short-live-messages .super{background:#b27a252b;border-left:3px solid #e5a443}.short-live-form{display:flex;gap:6px}.short-live-form input{min-width:0;flex:1}.short-live-state{position:absolute;top:18px;left:18px;z-index:4;background:#df2547;border-radius:7px;padding:6px 12px;color:white;font-size:12px}.short-live-chat input{padding:9px;border-radius:8px;border:1px solid #454653;background:#22232d;color:white}.beta-row{display:flex;align-items:center;justify-content:space-between;padding:14px;gap:20px;border-bottom:1px solid #ffffff18}.beta-row input{width:auto}.short-live-actions{display:flex;flex-wrap:wrap;gap:8px}.short-live-chat button{font-size:12px}

.short-live-chat[hidden]{display:none}.short-live-actions [hidden]{display:none}.short-live-actions .btn{padding:8px}

.gift-dialog{margin:auto;inset:0;max-height:90dvh;overflow:auto}.chat-paid{display:flex;gap:8px;flex-wrap:wrap}.chat-paid .chat-super{flex:1;margin-top:10px}

/* Live shares the normal Shorts action buttons; never style every action globally. */
[data-short-live] .short-frame{background:#101116;cursor:default}
.short-live-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0005,transparent 30%,transparent 50%,#000c)}
[data-short-live] .short-info{padding-bottom:8px}
[data-short-live] .short-live-eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;color:#ff9c88;margin-bottom:8px}
.short-live-state{display:flex;align-items:center;gap:7px;background:#ec3452;box-shadow:0 4px 20px #0003;font-weight:700;font-size:11px;letter-spacing:.03em;max-width:calc(100% - 36px)}
.short-live-state::before{content:'';width:6px;height:6px;border-radius:50%;background:white;flex-shrink:0}
.short-live-state.waiting{background:#20232de8}
.short-live-chat{background:#15161ef5;backdrop-filter:blur(24px);border-top:1px solid #ffffff26;padding:18px;box-shadow:0 -12px 40px #0004;max-height:65%;gap:12px;cursor:default}
.short-live-chat-head{align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid #ffffff12}
.short-live-chat-head strong{font-size:15px}.short-live-chat-head .btn{padding:6px 10px}
.short-live-messages{min-height:90px;flex:1;overscroll-behavior:contain;scrollbar-width:thin;line-height:1.5}
.short-live-messages:empty::before{content:'Przywitaj się na czacie 👋';display:block;color:#a7a8b6;text-align:center;padding:24px 0}
.short-live-messages p{padding:9px 6px}.short-live-messages .super{border-radius:8px;margin:5px 0}
.short-live-chat input{border-radius:12px;padding:11px;background:#ffffff09}
.short-live-chat [role=status]{font-size:12px;color:#c8c9d4;margin:0}.short-live-chat [role=status]:empty{display:none}
[data-short-live] .chat-open>.short-info,[data-short-live] .chat-open>.short-actions{visibility:hidden}
.short-action:focus-visible i{outline:2px solid white;outline-offset:3px}
@media(max-width:600px){.short-live-chat{padding:14px}.short-live-state{top:14px;left:14px}}

[data-short-live] .short-poster .cover-title{display:none}

/* Superchat composer and readable paid messages. */
.super-dialog{width:min(94vw,560px);background:linear-gradient(145deg,#22232f,#15161e);padding:28px;border-color:#ffffff20}
.super-eyebrow,.beta-eyebrow{display:block;font-size:10px;letter-spacing:.14em;font-weight:800;color:#ff937a;margin-bottom:10px}
.super-dialog h2{font-size:24px;line-height:1.2;margin:0 0 10px}.super-dialog .super-explain{font-size:13px;margin-bottom:22px}
.super-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.super-dialog .super-field input{margin:0}
.super-dialog textarea{resize:vertical;min-height:88px;width:100%;border:1px solid #ffffff24;border-radius:12px;background:#ffffff08;color:#fff;padding:12px;font:inherit;box-sizing:border-box}
.super-presets{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 20px}.super-presets button{border:1px solid #ffffff24;color:#d9dae3;border-radius:10px;background:#ffffff05;padding:9px 12px;cursor:pointer;font:inherit;font-size:12px}.super-presets button[aria-pressed=true]{background:#ff653326;border-color:#ff825f;color:#ffb29b}
.super-counter{display:block;text-align:right;color:#9296a9;font-size:11px;margin:5px 0 17px}.super-preview-label{display:block;font-size:10px;letter-spacing:.1em;color:#aaaebe;margin-bottom:8px}
.super-card{--super-color:#74b9ff;background:linear-gradient(120deg,color-mix(in srgb,var(--super-color) 19%,#171923),#171923);border:1px solid color-mix(in srgb,var(--super-color) 45%,transparent);border-left:3px solid var(--super-color);border-radius:12px;padding:13px;margin:8px 0;overflow-wrap:anywhere;color:#f4f5fa}
.super-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.super-card-price{color:var(--super-color);white-space:nowrap;font-size:14px}.super-card small{display:block;font-size:9px;font-weight:700;letter-spacing:.12em;color:var(--super-color);margin-top:8px}.super-card p,.short-live-messages .super-card p{margin:8px 0 0;padding:0;border:0;color:#f3f4f9;line-height:1.5;font-size:13px;white-space:pre-wrap}
.super-dialog .super-payment-note{font-size:12px;margin:15px 0}.super-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.super-dialog-actions .btn{margin:0}.super-status:empty{display:none}.super-dialog .super-status{font-size:13px;color:#ffccaf}
.super-person{display:flex;align-items:center;gap:8px;min-width:0}.super-person strong{overflow-wrap:anywhere}.super-avatar{width:26px;height:26px;border-radius:50%;background:#ffffff16;display:grid;place-items:center;flex-shrink:0;font-size:11px;overflow:hidden}.super-avatar img{width:100%;height:100%;object-fit:cover}.short-chat-message{padding:10px 4px;border-bottom:1px solid #ffffff0a}.short-chat-message p{white-space:pre-wrap}.short-chat-message.super-card{padding:12px}
.chat-row.super.super-card{background:linear-gradient(120deg,color-mix(in srgb,var(--super-color) 19%,#171923),#171923);border-radius:12px;border:1px solid color-mix(in srgb,var(--super-color) 45%,transparent);border-left:3px solid var(--super-color);padding:13px}.chat-row.super .chat-amount{color:var(--super-color);font-weight:800}
/* Feature access administration. */
.beta-feature{padding:24px;border:1px solid #ffffff1c;border-radius:18px;background:linear-gradient(120deg,#242233,#191b23);margin:0 0 24px}.beta-feature-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.beta-feature h3{font-size:23px;margin:0 0 8px}.beta-feature p{max-width:680px;color:#abaebe;line-height:1.6;font-size:13px}.beta-status,.beta-access{font-size:11px;border-radius:30px;padding:7px 11px;background:#ffffff09;white-space:nowrap;color:#aeb2c3}.beta-status{color:#c8b5ff;background:#9473ef22;border:1px solid #9473ef44}.beta-summary{font-size:13px;font-weight:600;margin:16px 0}.beta-feature .beta-note{font-size:12px;margin:14px 0 0}
.beta-toolbar{display:flex;gap:12px;margin-bottom:12px}.beta-toolbar input,.beta-toolbar select{background:#191b24;border:1px solid #ffffff24;color:#eee;border-radius:11px;padding:12px;font:inherit;font-size:13px}.beta-toolbar input{flex:1;min-width:0}.beta-result{font-size:12px;color:#a7aabc}.beta-channel-list{border:1px solid #ffffff15;border-radius:14px;overflow:hidden}.beta-channel{display:flex;align-items:center;gap:14px;padding:16px;border-bottom:1px solid #ffffff0c}.beta-channel:last-child{border:0}.beta-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#8b7cf622;color:#c7bcff;font-weight:700;flex-shrink:0}.beta-identity{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.beta-identity strong{font-size:14px;overflow-wrap:anywhere}.beta-identity span{font-size:12px;color:#9398ac;overflow-wrap:anywhere}.beta-access.is-enabled{background:#37f0c215;color:#77dfbd}.beta-channel .btn{font-size:12px;min-width:116px}.beta-empty{padding:22px;color:#a7aabc;text-align:center}
@media(max-width:600px){.super-dialog{padding:20px}.super-dialog h2{font-size:21px}.beta-feature{padding:18px}.beta-feature-top,.beta-toolbar{flex-direction:column}.beta-channel{flex-wrap:wrap;gap:10px}.beta-channel .beta-access{margin-left:52px}.beta-channel .btn{margin-left:auto}.beta-identity{flex-basis:65%}.super-presets button{padding:9px}.super-dialog-actions .btn-accent{flex:1}}

.super-dialog [hidden]{display:none!important}.super-dialog{scrollbar-width:thin;scrollbar-color:#545667 transparent}
