/* Shared component; do not inherit template fonts or old credit-pill styling. */
#og-dynamic-credit-box{display:none!important}
#og-usage-badge{--ogu-accent:#6254de;--ogu-soft:#efedff;--ogu-ink:#242138;position:fixed;left:20px;bottom:22px;z-index:99990;width:190px;font:14px/1.5 'Noto Sans KR',Pretendard,system-ui,sans-serif;color:var(--ogu-ink)}
#og-usage-badge.is-mycon{--ogu-accent:#526246;--ogu-soft:#edf1e5;--ogu-ink:#30382b}
#og-usage-badge[hidden],#og-usage-badge [hidden]{display:none!important}
#og-usage-badge *{box-sizing:border-box}
#og-usage-badge button,#og-usage-badge a{font:inherit;letter-spacing:normal;text-transform:none;text-decoration:none}
#og-usage-badge .ogu-toggle{display:flex;align-items:center;gap:11px;width:100%;min-height:72px;padding:13px 15px;border:1px solid #e3e4ec;border-radius:20px;background:#fff;color:var(--ogu-ink);box-shadow:0 8px 28px #2421381c;text-align:left;cursor:pointer;transition:box-shadow .18s,transform .18s}
#og-usage-badge .ogu-toggle:hover{box-shadow:0 12px 32px #24213826;transform:translateY(-2px)}
#og-usage-badge button:focus-visible,#og-usage-badge a:focus-visible{outline:3px solid var(--ogu-accent);outline-offset:3px}
#og-usage-badge .ogu-symbol{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:13px;color:var(--ogu-accent);background:var(--ogu-soft)}
#og-usage-badge svg{width:20px;height:20px;fill:currentColor}
#og-usage-badge .ogu-copy{display:grid;gap:1px;flex:1;min-width:0}
#og-usage-badge .ogu-label{font-size:11px;font-weight:600;color:#73768a;white-space:nowrap}
#og-usage-badge .ogu-value{font-size:21px;font-weight:800;line-height:1.3;white-space:nowrap;color:var(--ogu-ink);font-variant-numeric:tabular-nums}
#og-usage-badge .ogu-chevron{font-size:17px;color:#818598}
#og-usage-badge.is-low .ogu-symbol{background:#fff2df;color:#986012}
#og-usage-badge.is-empty .ogu-symbol{background:#fceeed;color:#b3473d}
#og-usage-badge .ogu-panel{position:absolute;left:0;bottom:calc(100% + 10px);width:min(310px,calc(100vw - 32px));padding:19px;border:1px solid #e3e4ec;border-radius:20px;background:#fff;box-shadow:0 16px 48px #24213826;max-height:min(410px,60dvh);overflow-y:auto}
#og-usage-badge .ogu-panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
#og-usage-badge .ogu-panel-title strong{font-size:16px;color:var(--ogu-ink)}
#og-usage-badge [data-ogu-close]{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:var(--ogu-soft);color:var(--ogu-ink);font-size:24px;line-height:1;cursor:pointer}
#og-usage-badge p{margin:13px 0;color:#505668;font-size:13px;line-height:1.7;word-break:keep-all}
#og-usage-badge .ogu-note{padding-top:12px;border-top:1px solid #eceef2;font-size:12px;color:#757b8a}
#og-usage-badge .ogu-actions{display:flex;gap:8px;margin:16px 0 10px}
#og-usage-badge .ogu-actions a,#og-usage-badge .ogu-actions button{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;border-radius:11px;font-size:12px;font-weight:700;cursor:pointer}
#og-usage-badge .ogu-actions a{background:var(--ogu-accent);color:#fff;border:1px solid var(--ogu-accent)}
#og-usage-badge .ogu-actions button{background:#fff;color:var(--ogu-ink);border:1px solid #dce0e8}
#og-usage-badge small{display:block;font-size:11px;color:#7a8190}
@media(max-width:767px){#og-usage-badge{left:12px;bottom:calc(82px + env(safe-area-inset-bottom,0px));width:154px}#og-usage-badge .ogu-toggle{min-height:60px;padding:10px 12px;gap:8px;border-radius:17px}#og-usage-badge .ogu-symbol{width:31px;height:31px;border-radius:10px}#og-usage-badge .ogu-value{font-size:18px}#og-usage-badge .ogu-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){#og-usage-badge .ogu-toggle{transition:none}}
