.points-card-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.points-card-main > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.points-balance { font-size: 34px; line-height: 1.3; font-weight: 650; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.points-balance.skeleton { display: inline-block; width: 72px; height: 40px; border-radius: 5px; }
.points-unit,.points-caption { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.8; }
.points-status { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.7; }
.points-status.is-error { color: #f1b4bd; }
.chat-points { align-self: center; padding: 6px 10px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 999px; color: var(--text-secondary); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.points-dialog { width: 560px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 9%); border-radius: 18px; background: #1c1a20; color: var(--text); }
.points-dialog[open] { display: flex; flex-direction: column; }
.points-dialog::backdrop { background: rgb(6 5 9 / 78%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.points-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto; padding: 19px 24px; border-bottom: 1px solid rgb(255 255 255 / 7%); }
.points-dialog-heading h2 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 650; letter-spacing: -.2px; }
.points-dialog-close { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; opacity: .65; }
.points-dialog-close:hover { opacity: 1; background: rgb(255 255 255 / 6%); }
.points-dialog-body { min-height: 0; padding: 24px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 17%) transparent; }
.points-required { width: 440px; }
.points-required .points-dialog-body { display: grid; gap: 19px; }
.points-required p { margin: 0; font-size: 13px; line-height: 1.8; }
.points-required p.points-caption { font-size: 11px; }
.points-required .prompt-save { justify-self: end; }
.points-history-balance { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: var(--text-secondary); font-size: 12px; }
.points-history-balance strong { color: #fff; font-size: 25px; font-weight: 650; font-variant-numeric: tabular-nums; }
.notices-tabs { display: flex; align-items: center; gap: 7px; margin-bottom: 24px; }
.notices-tabs button { min-height: 34px; padding: 8px 15px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 5%); color: var(--text-secondary); font: 600 12px var(--font-ui); }
.notices-tabs [aria-pressed="true"] { background: #fff; color: #17151b; }
.notices-tabs button:hover:not([aria-pressed="true"]) { background: rgb(255 255 255 / 10%); color: #fff; }
.point-ledger { margin: 0; padding: 0; list-style: none; }
.point-ledger li { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgb(255 255 255 / 7%); }
.point-ledger-copy { display: grid; min-width: 0; gap: 7px; }
.point-ledger-copy strong { font-size: 12px; font-weight: 550; line-height: 1.6; overflow-wrap: anywhere; }
.point-ledger-copy small,.point-ledger-copy time { color: var(--text-muted); font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.point-ledger-amount { display: grid; flex: 0 0 auto; gap: 7px; text-align: right; font-variant-numeric: tabular-nums; }
.point-ledger-amount strong { font-size: 15px; font-weight: 600; }
.point-ledger-amount small { color: var(--text-muted); font-size: 10px; }
.point-ledger-amount.is-spent strong { color: var(--text-secondary); }
.points-skeleton { display: block; width: 180px; height: 14px; border-radius: 4px; }
.point-ledger li > .points-skeleton:last-child { width: 40px; }
.points-edit-form { display: grid; gap: 17px; }
.points-edit-form label { display: grid; gap: 8px; color: var(--text-secondary); font-size: 12px; }
.points-edit-form input,.points-edit-form textarea,.points-edit-form select { width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 9px; outline: none; background: rgb(255 255 255 / 4%); color: var(--text); font: 13px/1.7 var(--font-ui); }
.points-edit-form textarea { resize: vertical; }
.points-edit-form input:focus,.points-edit-form textarea:focus { border-color: rgb(255 255 255 / 35%); }
.points-edit-form .prompt-save { justify-self: end; }
.notices-actions { display: flex; align-items: center; gap: 20px; }
.notices-list { display: grid; }
.notice-card { padding: 24px 0; border-bottom: 1px solid rgb(255 255 255 / 7%); }
.notice-card:first-child { padding-top: 5px; }
.notice-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--text-muted); font-size: 10px; }
.notice-tag { padding: 4px 7px; border-radius: 5px; background: rgb(255 255 255 / 6%); color: var(--text-secondary); font-size: 10px; }
.notice-unread { width: 5px; height: 5px; border-radius: 50%; background: #e7e2ed; }
.notice-card h2 { margin: 0 0 12px; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: -.2px; overflow-wrap: anywhere; }
.notice-body { max-width: 76ch; margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-body.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.notice-actions { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.notice-actions:empty { display: none; }
.points-empty { padding: 64px 20px; text-align: center; }
.points-empty h2 { margin: 0 0 10px; color: var(--text-secondary); font-size: 14px; font-weight: 550; }
.points-empty p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.8; }
.notices-more { margin-top: 24px; }
.notice-skeleton { display: grid; gap: 15px; padding: 23px 0; }
.notice-skeleton .skeleton { display: block; width: 65%; height: 13px; border-radius: 4px; }
.notice-skeleton .skeleton:first-child { width: 110px; height: 10px; }
.notice-skeleton .skeleton:last-child { width: 90%; }
.notices-tabs button:focus-visible,.points-dialog-close:focus-visible { outline: 2px solid #c5becf; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .notices-tabs button,.points-dialog-close { transition: background 180ms ease,opacity 180ms ease; } }
@media (max-width: 640px) { .notices-actions { gap: 12px; flex-wrap: wrap; justify-content: flex-end; } .points-dialog-body { padding: 20px; } .points-card-main .prompt-save { min-width: 150px; } }
