/* R카드 앱 (가상 카드사) */
#app-rcard { background: #fff; color: #111; }
#app-rcard > .status { background: #0b1626; color: #fff; }
.rc-top { flex: none; display: flex; align-items: center; gap: 4px; padding: 6px 12px 14px; background: #0b1626; color: #fff; }
.rc-top .app-back { color: #fff; }
.rc-top svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rc-ib { appearance: none; border: 0; background: none; color: #fff; padding: 6px; cursor: pointer; position: relative; display: grid; }
.rc-ib i { position: absolute; top: 0; right: -2px; min-width: 17px; height: 17px; border-radius: 9px; background: #ff3b30; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.rc-nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.rc-nav button { appearance: none; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; padding: 0; }
.rc-nav .rc-app { border: 1.5px solid rgba(255,255,255,.35); border-radius: 18px; padding: 6px 12px; background: rgba(255,255,255,.08); font-size: 14px; }
#app-rcard[data-view="list"] .rc-nav { display: none; }
#rcBackT { font-size: 16px; font-weight: 600; }
.rc-body { padding: 0 0 24px; background: linear-gradient(#0b1626 0 120px, #fff 120px); }
#app-rcard[data-view="list"] .rc-body { background: #f4f5f7; padding: 10px 16px 24px; }
.rc-card { margin: 0 6px; border-radius: 26px; padding: 22px 20px 18px; color: #fff; position: relative; min-height: 290px; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 85% 10%, #3f5d8c 0%, transparent 55%), linear-gradient(150deg, #1d2b45 0%, #2b3f63 55%, #142035 100%); box-shadow: 0 16px 30px rgba(11,22,38,.28); }
.rc-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rc-card-top > b { font-size: 25px; font-weight: 900; letter-spacing: .5px; }
.rc-due { display: flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.rc-tag { font-size: 11px; padding: 3px 8px; border-radius: 10px; background: rgba(255,255,255,.22); }
.rc-tag.dark { background: #000; }
.rc-amt { text-align: right; margin-top: 6px; }
.rc-amt button { appearance: none; border: 0; background: none; color: #fff; font: inherit; font-size: 30px; font-weight: 800; display: inline-flex; align-items: center; gap: 2px; cursor: pointer; padding: 0; font-variant-numeric: tabular-nums; }
.rc-amt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; opacity: .8; }
.rc-chip { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; margin-top: 14px; }
.rc-chip svg { width: 24px; height: 24px; fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.6; stroke-linecap: round; }
.rc-btns { margin-top: auto; display: flex; gap: 6px; }
.rc-btns button { appearance: none; border: 1.5px solid rgba(255,255,255,.5); border-radius: 24px; background: none; color: #fff; font: inherit; font-size: 13.5px; padding: 10px 12px; cursor: pointer; white-space: nowrap; }
.rc-btns button:last-child { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.rc-promo { margin: 34px 22px 0; padding-bottom: 20px; border-bottom: 1.5px solid #222; display: flex; justify-content: space-between; align-items: center; }
.rc-promo b { display: block; font-size: 18px; font-weight: 800; } .rc-promo span { font-size: 14px; color: #555; }
.rc-promo i { font-style: normal; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; font-weight: 900; color: #fff; background: linear-gradient(150deg, #2b3f63, #142035); }
.rc-sec { appearance: none; border: 0; background: none; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 8px; font: inherit; color: #111; cursor: pointer; }
.rc-sec b { font-size: 21px; font-weight: 800; } .rc-sec svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.rc-sec.small { justify-content: flex-end; gap: 4px; border-top: 1px solid #e5e5ea; margin-top: 18px; } .rc-sec.small b { font-size: 17px; }
.rc-list { padding: 0 22px; }
#app-rcard[data-view="list"] .rc-list { background: #fff; border-radius: 16px; padding: 4px 16px 10px; margin-bottom: 14px; }
.rc-day { font-size: 13px; color: #8e8e93; font-weight: 600; padding: 14px 0 4px; }
.rc-tx { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.rc-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #f1f2f5; display: grid; place-items: center; font-size: 18px; }
.rc-tx div { flex: 1; min-width: 0; } .rc-tx b { display: block; font-size: 15.5px; font-weight: 600; } .rc-tx small { font-size: 12.5px; color: #8e8e93; }
.rc-tx > span:last-child { font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-more { appearance: none; border: 0; background: #f1f2f5; border-radius: 12px; margin: 12px 22px 0; width: calc(100% - 44px); padding: 13px; font: inherit; font-size: 14.5px; font-weight: 600; color: #333; cursor: pointer; }
.rc-month { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 4px; } .rc-month b { font-size: 18px; } .rc-month span { font-size: 13.5px; color: #555; }
.rc-empty { padding: 40px 0; text-align: center; color: #8e8e93; }
.rc-body { background-attachment: local; }
.rc-card-top > b { font-size: 21px; white-space: nowrap; }
.rc-due { font-size: 13px; gap: 4px; }
