#support-entry{position:fixed;z-index:12;right:max(18px,env(safe-area-inset-right));top:max(18px,env(safe-area-inset-top));display:flex;align-items:center;gap:7px;padding:8px 13px 8px 5px;border:1px solid #a3e4d66b;border-radius:17px;background:#142c37f0;box-shadow:0 4px 18px #0004;color:#fff0cf;min-height:66px;max-width:215px;touch-action:manipulation}
#support-entry strong{font-size:16px;display:block;white-space:nowrap}#support-entry small{font-size:10px;display:block;color:#b2d9d5;margin-top:3px;white-space:nowrap}.support-entry-art{position:relative;width:57px;height:53px;display:block;flex-shrink:0}.support-entry-art>img{width:100%;height:100%;object-fit:contain;animation:support-wiggle 3.2s ease-in-out infinite;transform-origin:50% 82%}.support-entry-art i{position:absolute;width:5px;height:5px;background:#ffe18c;transform:rotate(45deg);opacity:0;left:16%;top:50%;animation:support-mote 2.6s ease-out infinite;pointer-events:none}.support-entry-art i:nth-of-type(2){left:77%;animation-delay:.65s}.support-entry-art i:nth-of-type(3){left:38%;animation-delay:1.3s;background:#8eead8}.support-entry-art i:nth-of-type(4){left:64%;animation-delay:1.95s}
#support-entry.support-complete{border-color:#6a958766;color:#c3dfd5;background:#182a32e8}.support-complete .support-entry-art>img{animation:none}.support-complete .support-entry-art i{display:none}
@keyframes support-wiggle{0%,66%,100%{transform:rotate(0)}70%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}80%{transform:rotate(-6deg)}85%{transform:rotate(4deg)}90%{transform:rotate(0)}}
@keyframes support-mote{0%{opacity:0;transform:translateY(7px) rotate(45deg) scale(.5)}18%{opacity:.85}70%{opacity:0;transform:translateY(-28px) rotate(105deg) scale(.3)}100%{opacity:0}}
#support-overlay{position:fixed;inset:0;z-index:35;background:#07121bd9;display:flex;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));backdrop-filter:blur(5px)}
#support-dialog{width:min(850px,100%);max-height:100%;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(145deg,#203340,#101d29);border:1px solid #719eac80;box-shadow:0 20px 80px #0008;border-radius:22px;padding:24px;color:#eff6f5;outline:none;scrollbar-color:#547d87 #162733}
#support-dialog header{margin-bottom:12px}#support-dialog h1{margin:0;font-size:28px}#support-close{font-size:25px;padding:2px 13px}#support-status{font-size:13px;color:#c7d9de;line-height:1.4;margin:8px 0 12px}
.support-list{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:10px}.support-row{display:grid;grid-template-columns:48px minmax(0,1fr) 108px;align-items:center;gap:12px;padding:15px;border:1px solid #55788670;background:#0e1d2b88;border-radius:14px}.support-row>img,.reward-pair{width:46px;height:46px;object-fit:contain}.support-row h2{font-size:17px;margin:0 0 6px;font-weight:650;color:#f4f3df}.support-row strong{font-size:15px;line-height:1.5;color:#8de3b3}.support-row>button{font-size:14px;padding:10px 6px;min-height:43px;border-color:#638c94;background:linear-gradient(#234e57,#1c3b48);color:#d7f3ec}.support-row>button:disabled{opacity:.65;background:#20313b}.reward-pair{position:relative}.reward-pair img{position:absolute;object-fit:contain;width:34px;height:34px;left:0;top:0}.reward-pair img+img{left:16px;top:18px;width:30px;height:30px}
.support-routes{grid-column:2/4;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.support-routes button{display:flex;align-items:center;gap:4px;padding:7px 9px;font-size:13px}.support-routes img{width:21px;height:21px;object-fit:contain}.support-routes .route-selected{background:#155c58;border-color:#7ce3cb;color:#e7ffef}
.support-badge{display:flex;align-items:center;gap:11px;border:1px solid #c9af6d55;background:#c4a75209;padding:9px 13px;border-radius:12px}.support-badge img{width:46px;height:46px;object-fit:contain}.support-badge h2{font-size:17px;margin:0 0 6px;color:#f4f3df}.support-badge strong{font-size:15px;line-height:1.5;color:#f1d89d}#support-video-label{font-size:11px;line-height:1.4;color:#91abb5;margin:10px 0}.support-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:12px;position:sticky;bottom:-24px;background:#152531f5;padding:8px 0 4px}#support-continue{background:#17645e;border-color:#77cdb8;color:#e0ffef;font-weight:650}#support-dialog button:focus-visible,#support-entry:focus-visible{outline:3px solid #a8ffe0;outline-offset:3px}
@media(max-width:600px){#support-dialog{padding:17px 13px;border-radius:15px}.support-row{grid-template-columns:36px minmax(0,1fr) 72px;gap:8px;padding:12px 10px}.support-row>img,.reward-pair{width:35px;height:35px}.reward-pair img{width:26px;height:26px}.reward-pair img+img{width:25px;height:25px;left:11px;top:12px}.support-row>button{font-size:12px;padding:7px 4px;min-height:38px}.support-row h2,.support-badge h2{font-size:15px}.support-row strong,.support-badge strong{font-size:13px}.support-badge img{width:35px;height:35px}.support-routes{gap:6px}.support-bottom{bottom:-17px}.support-bottom button{padding:10px 13px;font-size:14px}#support-dialog h1{font-size:25px}#support-entry{top:calc(max(14px,env(safe-area-inset-top)) + 90px);right:max(12px,env(safe-area-inset-right));padding:5px 8px 5px 2px;min-height:54px;gap:3px}#support-entry strong{font-size:13px}#support-entry small{font-size:9px}.support-entry-art{width:43px;height:43px}#support-entry.support-menu{top:max(18px,env(safe-area-inset-top))}#support-entry.support-complete small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.support-entry-art>img,.support-entry-art i{animation:none}.support-entry-art i{display:none}}
/* Reserve the top-right touch pause target in landscape as well as portrait. */
@media(pointer:coarse){#support-entry{top:104px;right:12px;padding:5px 8px 5px 2px;min-height:54px;gap:3px}#support-entry strong{font-size:13px}#support-entry small{font-size:9px}.support-entry-art{width:43px;height:43px}#support-entry.support-menu{top:18px}}
