/* Family virtual goods share the child's coin balance across devices. */
.dc-page { color:var(--ink); }
.dc-body { padding:0 20px 28px; }
.dc-owner { margin:0 2px 14px; color:var(--muted); font-size:var(--ui-meta); line-height:18px; }
.dc-page .glass { background:rgba(255,255,255,.57); border:1px solid rgba(255,255,255,.94); box-shadow:0 7px 22px #365a4210; border-radius:22px; }
.dc-page button,.dc-confirm button { -webkit-tap-highlight-color:transparent; }
.dc-page button:focus-visible,.dc-confirm button:focus-visible { outline:3px solid #4d9272; outline-offset:3px; }
.dc-page .btn,.dc-confirm .btn { min-height:48px; border-radius:25px; background:var(--green); color:white; border:0; font-size:14px; }
.dc-page .btn.secondary,.dc-confirm .btn.secondary { background:#ffffff9e; color:var(--green); border:1px solid #cddfce; }
.dc-full { width:100%; margin-top:12px; }
.dc-balance { padding:20px; background:linear-gradient(120deg,#f5ffedcf,#ffffff8c)!important; }
.dc-balance-top,.dc-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.dc-balance-top>span { font-size:13px; }
.dc-link { background:none; border:0; padding:8px 0; color:var(--green); font-size:12px; }
.dc-balance-value { display:flex; align-items:center; gap:12px; margin:13px 0 4px; }
.dc-balance-value>strong { font-size:44px; line-height:1.2; letter-spacing:-1.5px; font-weight:600; }
.dc-coin { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; flex-shrink:0; border-radius:50%; background:#f6d18a; color:var(--ui-warning); font-size:12px; font-weight:700; border:2px solid #ffe5ad; box-shadow:inset 0 0 0 1px #dbb36c; }
.dc-balance-value>.dc-coin { width:34px; height:34px; font-size:15px; }
.dc-balance>p { font-size:var(--ui-meta); color:var(--muted); margin:7px 0 18px; }
.dc-owned-entry { width:100%; display:flex; justify-content:space-between; align-items:center; padding:13px 0 0; background:none; border:0; border-top:1px solid #e4e9da; color:var(--sage-ink); font-size:13px; }
.dc-owned-entry>span:last-child { font-size:var(--ui-meta); color:var(--muted); }
.dc-heading { margin:25px 0 14px; }
.dc-heading h3 { margin:0; font-size:17px; font-weight:600; }
.dc-heading>span { font-size:var(--ui-meta); color:var(--muted); }
.dc-tabs { display:flex; gap:7px; margin-bottom:15px; flex-wrap:wrap; }
.dc-tabs button { border:1px solid transparent; background:#ffffff57; border-radius:18px; color:var(--green); font-size:12px; padding:8px 14px; }
.dc-tabs button.active { color:var(--green); background:#e5f2d9; border-color:#d1e4c4; font-weight:600; }
.dc-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
.dc-product { padding:0; overflow:hidden; text-align:left; min-width:0; }
.dc-art { display:block; overflow:hidden; border-radius:16px; background:linear-gradient(130deg,#f0f8e4,#e3efd7); color:#609161; }
.dc-art svg { display:block; width:100%; height:auto; max-height:140px; }
.dc-green { background:linear-gradient(130deg,#f1f7e4,#dfedcf); }
.dc-purple { background:linear-gradient(130deg,#f3eefc,#e1e3f2); }
.dc-blue { background:linear-gradient(130deg,#edf7fb,#dceaf3); }
.dc-peach { background:linear-gradient(130deg,#fff7e9,#f3e7d2); }
.dc-product>.dc-art { margin:7px 7px 0; border-radius:16px; }
.dc-product-copy { display:block; padding:13px 13px 15px; }
.dc-product-copy>strong { display:block; font-size:13px; line-height:19px; font-weight:600; }
.dc-product-copy>small { display:block; margin:5px 0 13px; color:var(--muted); font-size:var(--ui-meta); line-height:16px; min-height:32px; }
.dc-price { display:flex; gap:5px; align-items:center; font-size:15px; font-weight:600; color:var(--ui-warning); }
.dc-price .dc-coin { width:19px; height:19px; font-size:var(--ui-meta); border-width:1px; }
.dc-owned-tag { display:inline-block; background:#e5efde; border-radius:10px; padding:3px 8px; font-size:var(--ui-meta); color:var(--muted); }
.dc-subtle,.dc-demo-note { font-size:var(--ui-meta); color:var(--muted); line-height:19px; text-align:center; margin:16px 0 0; }
.dc-demo-note { margin-top:23px; font-size:var(--ui-meta); color:var(--muted); }
.dc-product-hero { padding:10px 10px 22px; text-align:center; }
.dc-art-large svg { max-height:230px; }
.dc-product-hero>.dc-art { margin-bottom:18px; }
.dc-category-label { padding:4px 10px; border-radius:14px; background:#e8f1de; font-size:var(--ui-meta); color:#84996c; }
.dc-product-hero h2 { margin:12px 0 6px; font-size:21px; line-height:28px; }
.dc-product-hero>p { margin:0; font-size:12px; color:var(--muted); }
.dc-detail-price { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:19px; }
.dc-detail-price strong { font-size:25px; font-weight:600; color:var(--ui-warning); }
.dc-detail-price>span:last-child { font-size:12px; color:var(--ui-warning); }
.dc-details { margin:15px 0; padding:18px; }
.dc-details h3 { margin:0 0 9px; font-size:14px; }
.dc-details>p { color:var(--muted); font-size:12px; line-height:21px; margin:0 0 13px; }
.dc-details>div { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; font-size:var(--ui-meta); padding:9px 0; border-top:1px solid #e9eee6; line-height:18px; }
.dc-details>div>span { color:var(--muted); flex-shrink:0; }
.dc-details>div>strong { text-align:right; font-weight:400; }
.dc-notice { padding:12px 14px; color:var(--muted); background:#f9f5e6ad; border:1px solid #f5edc8; border-radius:14px; font-size:var(--ui-meta); line-height:19px; }
.dc-confirm { color:var(--sage-ink); text-align:center; }
.dc-confirm>.dc-art { width:150px; margin:0 auto 15px; }
.dc-confirm>.dc-art-large { width:220px; max-width:100%; }
.dc-confirm>h3 { font-size:19px; margin:10px 0; }
.dc-confirm>p { font-size:13px; color:var(--muted); line-height:22px; }
.dc-confirm-price { display:flex; justify-content:space-between; padding:13px 4px; gap:12px; border-bottom:1px solid #e7ede3; font-size:13px; }
.dc-confirm-price>span { color:var(--muted); }
.dc-confirm-price>strong { color:var(--sage-ink); }
.dc-actions { display:flex; gap:12px; margin-top:20px; }
.dc-actions>button { flex:1; }
.dc-success-mark { display:inline-flex; width:60px; height:60px; align-items:center; justify-content:center; border-radius:50%; background:#e8f4df; color:var(--muted); font-size:28px; margin:10px auto; }
.dc-insufficient>.dc-coin,.dc-empty>.dc-coin { width:52px; height:52px; font-size:23px; }
.dc-intro { margin:0 2px 16px; font-size:12px; line-height:21px; color:var(--muted); }
.dc-owned-list { display:grid; gap:12px; }
.dc-owned-item { display:flex; align-items:center; padding:12px; gap:13px; }
.dc-owned-item>.dc-art { width:95px; flex-shrink:0; }
.dc-owned-item>div { min-width:0; flex:1; }
.dc-owned-item strong { display:block; font-size:13px; line-height:20px; }
.dc-owned-item small { display:block; color:var(--muted); font-size:var(--ui-meta); margin:5px 0; line-height:17px; }
.dc-item-state { display:block; color:var(--muted); font-size:var(--ui-meta); margin-bottom:7px; }
.dc-use { color:var(--muted); background:#edf5e4; border:1px solid #d8e8cd; border-radius:15px; padding:6px 13px; font-size:var(--ui-meta); }
.dc-use:disabled { color:var(--muted); background:#f0f1eb; border-color:#e3e5dc; }
.dc-empty { text-align:center; padding:30px 20px; margin:20px 0; }
.dc-empty h3 { margin:16px 0 9px; font-size:17px; }
.dc-empty p { font-size:12px; color:var(--muted); line-height:21px; margin-bottom:20px; }
.dc-record-balance { display:flex; align-items:center; justify-content:space-between; padding:20px; margin-bottom:16px; }
.dc-record-balance>span { font-size:13px; color:var(--muted); }
.dc-record-balance>strong { font-size:28px; font-weight:600; }
.dc-record-balance small { font-size:var(--ui-meta); font-weight:400; padding-left:7px; }
.dc-record-list { padding:2px 17px; }
.dc-record { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:20px 0; border-bottom:1px solid #e6ecdf; }
.dc-record:last-child { border-bottom:0; }
.dc-record>div:first-child { min-width:0; }
.dc-record strong { display:block; font-size:12px; line-height:19px; font-weight:500; }
.dc-record small,.dc-record time { display:block; font-size:var(--ui-meta); color:var(--muted); margin-top:4px; line-height:17px; }
.dc-record-amount { flex-shrink:0; text-align:right; }
.dc-record-amount>strong { font-size:19px; color:var(--sage-ink); }
.dc-record-amount.positive>strong { color:var(--muted); }
@media(max-width:350px) {
  .dc-body { padding-left:14px; padding-right:14px; }
  .dc-grid { gap:9px; }
  .dc-product-copy { padding:11px 10px 13px; }
  .dc-tabs button { padding:7px 11px; }
  .dc-owned-item>.dc-art { width:75px; }
  .dc-owned-item { gap:10px; padding:10px; }
  .dc-heading h3 { font-size:15px; }
}

/* v7: concise context at the action; complete rules remain one tap away. */
.dc-rule-entry{margin:13px 0 19px;padding:11px 13px;border-radius:16px;background:#f6faefb8;border:1px solid #fff}
.dc-rules-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:3px 0;border:0;background:none;color:var(--green);font-size:12px;line-height:21px;text-align:left;font-weight:500}
.dc-rules-link>span:last-child{font-size:19px;color:var(--green)}
.dc-rule-entry>p{font-size:var(--ui-meta);line-height:20px;color:var(--muted);margin:3px 0 0!important}
.dc-rule-entry>small{display:block;font-size:var(--ui-meta);line-height:19px;color:var(--muted);margin-top:3px}
.dc-purchase-notice{margin:15px 0;padding:14px 14px 8px;border-radius:17px;background:#f3f7eac7;border:1px solid #fff;text-align:left;color:var(--muted)}
.dc-purchase-notice>strong{font-size:12px;line-height:22px;color:var(--muted);font-weight:500;display:block}
.dc-purchase-notice ol{margin:7px 0 4px;padding-left:18px;font-size:var(--ui-meta);line-height:20px}
.dc-purchase-notice li{padding-left:1px;margin:5px 0}
.dc-confirm .dc-purchase-notice{margin:14px 0 9px;padding:12px 13px 7px;background:#f3f7eb}
.dc-confirm .dc-purchase-notice li{font-size:var(--ui-meta);line-height:20px}
.dc-rules-dialog{font-size:12px;line-height:22px;color:var(--muted);text-align:left}
.dc-rules-dialog .dc-rules-intro{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:22px}
.dc-rules-dialog details{margin:9px 0;border-radius:14px;background:#f3f7ec;border:1px solid #e9efdf;padding:0 13px}
.dc-rules-dialog summary{cursor:pointer;color:var(--muted);min-height:46px;padding:12px 0;font-weight:500;font-size:12px;line-height:22px}
.dc-rules-dialog ol{margin:0 0 14px;padding-left:18px;font-size:var(--ui-meta);line-height:21px;color:var(--muted)}
.dc-rules-dialog li{margin:7px 0;padding-left:1px}
.dc-rules-dialog .dc-rules-return-note{margin:15px 2px;color:var(--muted);font-size:var(--ui-meta);line-height:21px}
.dc-rules-dialog>.btn{margin-top:14px;min-height:44px}
.dc-rules-link:focus-visible,.dc-rules-dialog summary:focus-visible{outline:2px solid #91ad77;outline-offset:3px;border-radius:8px}

/* v8: custom-amount recharge and clearly simulated payment handoff. */
.dc-balance-split{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0;color:var(--muted);font-size:var(--ui-meta)}.dc-balance-split b{font-weight:500;color:var(--sage-ink);margin-left:5px}.dc-topup-entry{width:100%;margin:0 0 15px!important;min-height:44px!important}
.dc-topup-status{margin:13px 0;padding:14px;border:1px solid #e2e9d8;background:#f3f7eccc;border-radius:16px}.dc-topup-status strong{display:block;font-size:13px;color:var(--muted)}.dc-topup-status p,.dc-topup-status small{display:block;font-size:var(--ui-meta);line-height:19px;color:var(--muted);margin:5px 0 0}.dc-topup-status .dc-link{padding-bottom:0}.dc-topup-status.pending{background:#faf5e7;border-color:#eae1bf}
.dc-recharge{color:var(--sage-ink)}.dc-recharge-owner{font-size:12px;line-height:20px;margin:0 0 19px;color:var(--muted)}.dc-amount-label{font-size:12px;color:var(--muted);display:block;margin-bottom:11px}.dc-amount-input{display:flex;gap:12px;align-items:center;padding:15px 12px;background:#f2f6ec;border:1px solid #d9e5ce;border-radius:14px}.dc-amount-input>span{font-size:26px}.dc-amount-input input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:28px;color:var(--sage-ink);line-height:38px;font-family:inherit}.dc-amount-input input::placeholder{font-size:20px;color:var(--muted)}.dc-amount-input:focus-within{outline:2px solid #8daf73;outline-offset:2px}.dc-topup-error{font-size:var(--ui-meta);color:var(--ui-danger);min-height:18px;line-height:18px;margin:6px 2px}.dc-topup-conversion{font-size:13px;line-height:22px;color:var(--muted)}.dc-rate-note{font-size:var(--ui-meta);line-height:18px;color:var(--muted);margin:4px 0 20px}.dc-recharge h3{font-size:13px;font-weight:500;margin:18px 0 10px}.dc-payment-options{border:1px solid #e0e8d6;border-radius:16px;overflow:hidden}.dc-payment-options button{display:flex;align-items:center;gap:10px;width:100%;padding:15px 13px;background:#fbfcf8;border:0;text-align:left;font-size:13px;color:var(--green)}.dc-payment-options button+button{border-top:1px solid #e5ecdd}.dc-payment-options .dm-channel-icon{width:30px;height:30px;font-size:14px;border-radius:9px}.dc-payment-options i{width:17px;height:17px;border:1px solid #cbd9bd;border-radius:50%;margin-left:auto}.dc-payment-options [aria-checked=true]{background:#edf6e4}.dc-payment-options [aria-checked=true] i{background:#82ac63;box-shadow:inset 0 0 0 4px #edf6e4;border-color:#82ac63}.dc-recharge-help{font-size:var(--ui-meta);line-height:20px;color:var(--muted);margin-top:16px}.dc-recharge .btn:disabled{opacity:.45;cursor:default}.dc-recharge .dc-demo-note{margin-top:16px;font-size:var(--ui-meta)}
.dc-provider{text-align:center;color:var(--muted)}.dc-provider>.dm-channel-icon{display:inline-flex;width:50px;height:50px;border-radius:16px;font-size:24px;margin:3px 0 12px}.dc-provider h3{font-size:18px;line-height:27px;margin:8px 0}.dc-provider p{font-size:12px;color:var(--muted);line-height:22px;margin:8px 0}.dc-provider-amount{display:block;font-size:37px;line-height:48px;margin:12px 0 4px;font-weight:500;word-break:break-all}.dc-provider-note{margin:18px 0;padding:12px;background:#f2f6e9;border:1px solid #e6edd9;border-radius:14px;font-size:var(--ui-meta);line-height:21px;color:var(--muted)}.dc-provider-actions{display:flex;flex-direction:column;gap:8px}.dc-provider-actions .btn{min-height:46px}.dc-provider-actions .dc-link{padding:8px 0}.dc-provider>small{display:block;margin-top:17px;font-size:var(--ui-meta);color:var(--muted);word-break:break-all}.dc-recharge button:focus-visible,.dc-provider button:focus-visible{outline:2px solid #80a762;outline-offset:2px}
