/* Shared reward cards: preserve all other native conversation components. */
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card{
 --reward-accent:#c6eea0;--reward-line:#628853;--reward-soft:#b8ec8617;--reward-muted:#b9cbb0;
 position:relative;align-self:flex-start;width:min(300px,100%);max-width:100%;min-width:0;box-sizing:border-box;
 margin:3px 0;padding:10px 12px 5px;overflow:hidden;border:1px solid var(--reward-line);border-left:3px solid var(--reward-accent);border-radius:6px 14px 14px 14px;
 background:radial-gradient(ellipse at 100% 0,#8bc95e1f,transparent 65%),linear-gradient(120deg,#263a2c,#1d2b25);color:#f0f5eb;box-shadow:inset 0 1px #ffffff09;text-align:left;
 font:400 13px/1.4 Roboto,Arial,sans-serif;
}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card[data-reward=gift]{
 --reward-accent:#b9e9ff;--reward-line:#4a7186;--reward-soft:#8edcff14;--reward-muted:#bad0de;
 background:radial-gradient(ellipse at 100% 0,#66c9eb18,transparent 65%),linear-gradient(150deg,#172f40,#10212e);
}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card[data-reward=adjustment]{
 --reward-accent:#d3b4ef;--reward-line:#7b608c;--reward-soft:#c79aef16;--reward-muted:#c4b2d2;
 background:linear-gradient(120deg,#34293e,#282130);
}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card>.g420-private-author{display:flex;align-items:center;gap:4px;min-height:18px;margin:0 0 10px;padding:0;background:transparent;white-space:nowrap;border-radius:0}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card>.g420-private-author>img{display:block;flex:none;width:18px;height:18px;object-fit:cover;border:0;border-radius:50%}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card .g420-private-author>.game420-author{display:block;position:static;width:auto;height:auto;opacity:1;clip-path:none;font:700 11px/16px Roboto,Arial,sans-serif;letter-spacing:0}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card .g420-private-certified{display:inline-flex;align-items:center;justify-content:center;flex:none;width:14px;height:14px;color:#b28cdd;background:none;border:0}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card .g420-private-certified>svg{display:block;width:14px;height:14px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card .g420-private-official{font:400 9px/14px Roboto,Arial,sans-serif;letter-spacing:0}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card .g420-private-author>.game420-author{color:var(--reward-accent)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card .g420-private-official{color:var(--reward-muted)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-body{display:flex;align-items:center;gap:12px;min-width:0}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-symbol{position:relative;display:grid;place-items:center;flex:none;width:45px;height:45px;border:1px solid var(--reward-line);border-radius:12px;background:var(--reward-soft);color:var(--reward-accent);box-shadow:inset 0 1px #ffffff0c}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-symbol>svg{width:25px;height:25px;stroke-width:1.8}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-symbol::after{content:'';position:absolute;right:-3px;top:-3px;width:5px;height:5px;border:2px solid #2b3026;background:var(--reward-accent);box-shadow:5px 6px 0 -2px var(--reward-accent)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-eyebrow{color:var(--reward-muted);font:500 11px/15px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-value{display:block;min-width:0;color:var(--reward-accent);font:700 27px/31px Roboto,Arial,sans-serif;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-value>small{font:500 14px/19px Roboto,Arial,sans-serif;letter-spacing:0;white-space:nowrap}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card[data-reward=gift] .g420-reward-value{font:700 19px/23px Roboto,Arial,sans-serif;letter-spacing:-.2px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-description{color:#f2eee5;font:400 12px/17px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-variant{margin:7px 0 0 57px;padding:0;color:var(--reward-muted);font:400 11px/16px Roboto,Arial,sans-serif;overflow-wrap:anywhere}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-detail{display:flex;align-items:center;gap:7px;margin:11px 0 0;padding:7px 8px;border:1px solid var(--reward-soft);border-radius:7px;background:var(--reward-soft);color:var(--reward-muted);font:400 11px/16px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-detail>svg{width:14px;height:14px;flex:none;color:var(--reward-accent)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-detail>span{display:flex;justify-content:space-between;gap:6px;flex:1;flex-wrap:wrap}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-detail strong{color:var(--reward-accent);font-weight:700}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-caption{padding:0;margin:6px 0 0;color:var(--reward-muted);font:400 11px/16px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card>.g420-private-status-footer{display:flex;align-items:center;justify-content:flex-end;min-height:28px;margin-top:2px;gap:5px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card>.g420-private-status-footer>.game420-time{display:block;flex:none;margin:0;padding:0;font:400 10px/14px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-stamp{flex:1;min-width:0;color:var(--reward-muted);font:500 8px/12px Roboto,Arial,sans-serif;letter-spacing:1.15px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-card>.g420-private-status-footer>:is(.game420-time,.g420-private-status-menu){color:var(--reward-muted)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-surprise{align-self:center;margin:9px auto;padding:13px 12px 5px;border-left-width:1px;border-radius:18px;box-shadow:0 7px 22px #050c1526,inset 0 1px #ffffff0c}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-surprise::before{content:none}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-surprise::after{content:'';position:absolute;inset:0 0 auto;z-index:0;height:3px;clip-path:none;-webkit-mask:none;mask:none;background:linear-gradient(90deg,#ff8ed2,#77d4ff 35%,#99edd0 70%,#b8a2ff);pointer-events:none}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-surprise>.g420-private-author{margin-bottom:11px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-surprise{--reward-accent:#a2f3d9;--reward-line:#438675;--reward-soft:#85e8ca12;--reward-muted:#b1d9ce;background:radial-gradient(ellipse at 100% 0,#54d7b81c,transparent 65%),linear-gradient(150deg,#153b36,#102d2a)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-welcome{text-align:center;margin:3px 0 11px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-welcome>span{display:flex;align-items:center;justify-content:center;gap:5px;color:#f2fbff;font:700 16px/22px Roboto,Arial,sans-serif;letter-spacing:-.25px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-welcome svg{flex:none;width:16px;height:16px;color:#ffb6dc}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-surprise .g420-gift-welcome svg{color:#a2f3d9}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-welcome>p{padding:0;margin:3px 0 0;color:var(--reward-muted);font:400 11px/16px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-photo{position:relative;display:grid;place-items:center;height:135px;margin:0 0 10px;padding:4px 10px 24px;overflow:hidden;box-sizing:border-box;border:1px solid #9cd9f32e;border-radius:12px;background:radial-gradient(circle at 25% 45%,#ed8fbf21,transparent 55%),radial-gradient(circle at 80% 60%,#67e3cd21,transparent 60%),#0e2232}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-photo>img{position:relative;z-index:1;display:block;max-width:100%;width:auto;height:101px;object-fit:contain;border-radius:9px;box-shadow:0 5px 22px #050f1a33}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-photo>img[hidden]{display:none}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-photo-fallback{display:none;color:#a5e4f6}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .photo-unavailable .g420-gift-photo-fallback{display:block}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-photo-fallback>svg{width:58px;height:58px;stroke-width:1.5}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-photo-tag{position:absolute;z-index:2;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:5px;min-height:24px;box-sizing:border-box;padding:3px 7px;border-top:1px solid #ffffff14;background:#122d3cf0;color:#daeef8;font:500 10px/15px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-photo-tag>svg{width:11px;height:11px;color:#ffafda;fill:#ffafda22}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-title{display:block;color:#f2fbff;text-align:center;font:700 16px/21px Roboto,Arial,sans-serif;overflow-wrap:anywhere}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-value{margin:4px 0 0;padding:0;text-align:center;color:var(--reward-muted);font:400 11px/16px Roboto,Arial,sans-serif;overflow-wrap:anywhere}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-value>strong{color:var(--reward-accent);font-weight:600}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-surprise>.g420-reward-variant{margin:4px 0 0;text-align:center}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-kind-word{padding:0;margin:7px 0 0;text-align:center;color:#e2f1ef;font:400 12px/18px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-conditions{display:flex;flex-direction:column;align-items:center;gap:4px;margin:11px 0 8px;padding:9px 0 0;border-top:1px dashed #85bbce45;color:#b1efd6;font:500 11px/15px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-conditions>span{display:flex;align-items:center;gap:4px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-conditions svg{width:13px;height:13px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-conditions>small{color:var(--reward-muted);font:400 10px/14px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-prize{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:125px;padding:12px 27px;overflow:hidden;border:1px solid #8de4c92e;border-radius:12px;background:radial-gradient(ellipse at 50% 30%,#89efcb1b,transparent 70%),#0d2725;box-sizing:border-box}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-emblem{display:grid;place-items:center;width:26px;height:26px;color:#a7f7de}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-emblem>svg{width:26px;height:26px;stroke-width:1.8}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-prize>.g420-reward-value{position:relative;font:800 clamp(29px,8vw,37px)/1.1 Roboto,Arial,sans-serif;letter-spacing:-1px;text-align:center;color:#bbffe9;text-shadow:0 2px 14px #6cffce16}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-label{color:#b7e5d9;font:500 11px/16px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-prize-spark{position:absolute;pointer-events:none;opacity:.85}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-prize-spark>svg{width:18px;height:18px;stroke-width:1.7}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-prize-spark-a{top:27px;left:17px;color:#91d6ff;transform:rotate(-12deg)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-prize-spark-b{bottom:24px;right:19px;color:#ffaedb;transform:rotate(13deg)}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-surprise>.g420-reward-detail{margin:11px 0 8px;border:0;border-top:1px dashed #89dbc545;border-radius:0;padding:10px 0 0;background:transparent}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-playback{display:flex;gap:6px;justify-content:center;margin-top:6px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-playback>:is(button,span){display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;min-height:44px;padding:7px 5px;margin:0;border:1px solid #91c8d438;border-radius:9px;background:#acdff308;color:#d8eef5;box-shadow:none;font:500 11px/16px Roboto,Arial,sans-serif}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-playback>:is(button,span)>svg{flex:none;width:15px;height:15px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-playback>:is(button,span)[aria-pressed=true]{border-color:#9be8d568;color:#bdffe6;background:#90e7c914}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-playback>:is(button,span):hover{background:#bdeffe14}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-playback>:is(button,span):focus-visible{outline:2px solid #bcf5e8;outline-offset:2px}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-gift-surprise.is-celebrating .g420-gift-photo>img{animation:am-gift-photo-arrival 800ms cubic-bezier(.22,1,.36,1) both}
:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-points-surprise.is-celebrating .g420-points-prize>.g420-reward-value{animation:am-points-arrival 800ms cubic-bezier(.22,1,.36,1) both}
@keyframes am-gift-photo-arrival{0%{opacity:.2;transform:scale(.88) rotate(-4deg)}65%{opacity:1;transform:scale(1.025) rotate(1deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes am-points-arrival{0%{opacity:.2;transform:translateY(9px) scale(.85)}65%{opacity:1;transform:translateY(0) scale(1.08)}100%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){:is(:is(#shortcut-dialog #community-team,#admin-viewport #chat-conversation) #chat-messages,.g420-message-context-preview) .g420-reward-surprise.is-celebrating :is(.g420-gift-photo>img,.g420-points-prize>.g420-reward-value){animation:none!important}}
