/* rise3-items: inherit the realm's warm tokens, including its light theme. */
.rise3d .r3-items-body, .rise3d .r3-chronicle-body { min-width: 0; }
.rise3d .r3-items-tabs { display: flex; gap: 16px; margin: 2px 0 18px; border-bottom: 1px solid var(--r3-line); }
.rise3d .r3-items-tabs button { background: transparent; border: 0; border-radius: 0; padding: 10px 0; color: var(--r3-muted); }
.rise3d .r3-items-tabs button[aria-pressed="true"] { color: var(--r3-gold); box-shadow: 0 2px var(--r3-gold); }
.rise3d .r3-inventory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.rise3d .r3-item-slot { position: relative; display: flex; align-items: center; flex-direction: column; gap: 8px; min-height: 104px; padding: 12px 8px; text-align: center; font-size: 12px; }
.rise3d .r3-item-slot > svg { width: 32px; height: 32px; color: var(--r3-gold); }
.rise3d .r3-item-slot strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.rise3d .r3-item-slot[aria-pressed="true"] { border-color: var(--r3-gold); background: var(--r3-control); box-shadow: inset 0 -3px var(--r3-gold); }
.rise3d .r3-item-detail { margin-top: 24px; }
.rise3d .r3-item-detail p { margin: 8px 0 14px; }
.rise3d .r3-item-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.rise3d .r3-item-form .r3-field { flex: 1 1 100px; margin: 0; }
.rise3d .r3-item-form input, .rise3d .r3-item-form select { width: 100%; }
.rise3d .r3-item-form button { flex: 1 1 90px; }
.rise3d .r3-item-rewards { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.rise3d .r3-item-reward { display: inline-flex; align-items: center; gap: 4px; color: var(--r3-gold); font-size: 12px; }
.rise3d .r3-item-reward svg { width: 18px; height: 18px; }
.rise3d .r3-item-info { display: flex; flex-direction: column; flex: 1; gap: 7px; min-width: 0; }
.rise3d .r3-merchant-row { display: flex; align-items: center; gap: 16px; padding: 15px 0; }
.rise3d .r3-merchant-row > svg { flex: 0 0 32px; width: 32px; height: 32px; color: var(--r3-gold); }
.rise3d .r3-merchant-row button { flex-shrink: 0; }
.rise3d .r3-items-timer { display: flex; flex-wrap: wrap; gap: 8px; color: var(--r3-muted); font-size: 13px; }
.rise3d .r3-items-timer span { color: var(--r3-gold); font-variant-numeric: tabular-nums; }
.rise3d .r3-chest-history { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; padding: 12px 0; }
.rise3d .r3-item-reveal { border-left: 3px solid var(--r3-gold); padding: 16px; margin-bottom: 20px; background: var(--r3-control); display: flex; flex-direction: column; gap: 12px; }
.rise3d .r3-item-reveal > svg { width: 44px; height: 44px; color: var(--r3-gold); }
.rise3d .r3-item-reveal h3 { margin: 0; }
.rise3d .r3-event-heading { display: flex; align-items: center; gap: 12px; }
.rise3d .r3-event-heading > svg { width: 30px; height: 30px; color: var(--r3-gold); }
.rise3d .r3-event-heading h3 { margin: 4px 0; font-size: 24px; }
.rise3d .r3-event-points { font-family: Georgia,serif; color: var(--r3-gold); font-size: 22px; margin: 12px 0; }
.rise3d .r3-items-how { margin: 12px 0 16px; color: var(--r3-muted); }
.rise3d .r3-items-how summary { cursor: pointer; min-height: 36px; padding: 6px 0; }
.rise3d .r3-items-how ul { padding-left: 20px; }
.rise3d .r3-event-milestone { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.rise3d .r3-event-milestone progress { width: 100%; height: 4px; margin: 4px 0; accent-color: var(--r3-gold); }
.rise3d .r3-event-milestone button { flex-shrink: 0; min-width: 78px; }
.rise3d .r3-event-rank { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; padding: 10px 6px; }
.rise3d .r3-event-mine { background: var(--r3-control); border-radius: 6px; }
.rise3d .r3-keep-title { display: block; color: var(--r3-gold); font-size: 11px; }
.rise3d .r3-login-calendar { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 20px 0; }
.rise3d .r3-login-day { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 6px; text-align: center; background: var(--r3-control); border-radius: 6px; font-size: 12px; }
.rise3d .r3-login-day > svg { width: 28px; height: 28px; color: var(--r3-gold); }
.rise3d .r3-login-current { outline: 1px solid var(--r3-gold); }
.rise3d .r3-login-done { opacity: .6; }
.rise3d .r3-login-day .r3-item-rewards { justify-content: center; gap: 4px; }
.rise3d .r3-achievement-categories { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.rise3d .r3-achievement-categories button { padding: 6px 9px; font-size: 12px; }
.rise3d .r3-achievement-categories [aria-pressed="true"] { color: var(--r3-gold); border-color: var(--r3-gold); }
.rise3d .r3-item-title-reward { color: var(--r3-gold); }
.rise3d .r3-nav [data-nav^="items."] .r3-badge { background: #a34635; color: #fff4e5; border-radius: 6px; }
.rise3d .r3-panel[data-view^="items."] { width: min(480px,calc(100% - 32px)); }
.rise3d.is-phone .r3-panel[data-view^="items."] { width: auto; }
@container (max-width: 520px) {
  .rise3d .r3-login-calendar { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rise3d .r3-items-tabs { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise3d .r3-items-body *, .rise3d .r3-chronicle-body * { transition: none; }
}
.rise3d .r3-tab-dot { display: inline-block; width: 6px; height: 6px; margin-left: 6px; vertical-align: 2px; border-radius: 50%; background: var(--r3-danger); }
.rise3d .r3-item-reveal-list { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 6px; }
.rise3d .r3-item-reveal-list li { display: flex; align-items: center; gap: 8px; }
.rise3d .r3-item-reveal-list li strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.rise3d .r3-item-reveal-list svg { width: 18px; height: 18px; flex: none; }
