/* Wallet 外形；卡片配色對應「動作等級」，不代表額外付款或入場權。 */
#profile-wallet { display:none; }
.tl-wallet { max-width:460px;margin:0 auto 28px;font-family:var(--font-tc),sans-serif; }
.tl-wallet__heading { display:flex;align-items:baseline;justify-content:space-between;margin-bottom:20px; }
.tl-wallet__heading h3 { font-size:17px;font-weight:700;margin:0; }
.tl-wallet__heading>span { color:var(--ink-dim);font:500 10px/1.4 var(--font-latin),sans-serif;letter-spacing:.13em; }
.tl-wallet__stack { position:relative;isolation:isolate;padding-top:10px; }
.tl-wallet__stack::before,.tl-wallet__stack::after { content:'';position:absolute;z-index:-1;inset:0 14px auto;height:58px;border:1px solid var(--glass-border);border-radius:20px;background:var(--bg-2); }
.tl-wallet__stack::after { inset:5px 7px auto;background:var(--glass-hi); }
.tl-wallet__card { --wallet-a:#dce8ee;--wallet-b:#91a9ba;--wallet-c:#bfd5df;display:block;position:relative;isolation:isolate;overflow:hidden;width:100%;padding:22px;border:1px solid #ffffff45;border-radius:21px;background:linear-gradient(125deg,var(--wallet-a),var(--wallet-c) 52%,var(--wallet-b));box-shadow:0 15px 28px #0003;color:#19232b;text-align:left;font:inherit;cursor:pointer; }
.tl-wallet__card[data-wallet-level="2"] { --wallet-a:#c6eddc;--wallet-b:#5d9a87;--wallet-c:#9dcdbb; }
.tl-wallet__card[data-wallet-level="3"] { --wallet-a:#d5eafd;--wallet-b:#709dca;--wallet-c:#a9c9e9; }
.tl-wallet__card[data-wallet-level="4"] { --wallet-a:#f9e4a9;--wallet-b:#c49b48;--wallet-c:#e7c677; }
.tl-wallet__card[data-wallet-level="5"] { --wallet-a:#f8dae7;--wallet-b:#bc819d;--wallet-c:#e8b2c8; }
.tl-wallet__card[data-wallet-level="6"] { --wallet-a:#e8dafa;--wallet-b:#9b7cc5;--wallet-c:#c3a6e5; }
.tl-wallet__card::before { content:'';position:absolute;inset:-30% -80% 0 40%;z-index:-1;transform:rotate(-30deg);border:1px solid #ffffff55;border-radius:45%;box-shadow:0 0 0 22px #ffffff10,0 0 0 44px #ffffff08;pointer-events:none; }
.tl-wallet__card:disabled { cursor:default;opacity:1; }
.tl-wallet__card:focus-visible { outline:3px solid var(--ink);outline-offset:4px; }
.tl-wallet__brand { display:flex;align-items:center;justify-content:space-between;margin-bottom:12px; }
.tl-wallet__brand>strong { font:800 14px/1 var(--font-latin),sans-serif;letter-spacing:.08em; }
.tl-wallet__brand svg { display:block;width:27px;height:27px; }
.tl-wallet__identity { display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:97px; }
.tl-wallet__identity>span:first-child { min-width:0;display:grid;gap:5px; }
.tl-wallet__identity small { font-size:10px;font-weight:600;letter-spacing:.1em; }
.tl-wallet__identity strong { font-size:21px;font-weight:800;line-height:1.4;overflow-wrap:anywhere; }
.tl-wallet__identity>span>span { font-size:13px; }
.tl-wallet__identity .ach2-rank { width:76px;height:88px; }
.tl-wallet__growth { display:block;margin:14px 0 18px; }
.tl-wallet__growth>span:first-child { display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:7px; }
.tl-wallet__growth b { font-weight:600;font-variant-numeric:tabular-nums; }
.tl-wallet__bar { display:block;height:4px;border-radius:10px;background:#19232b26;overflow:hidden; }
.tl-wallet__bar i { display:block;height:100%;background:#19232b;border-radius:inherit; }
.tl-wallet__class { display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px solid #19232b2b; }
.tl-wallet__class>span:first-child { display:grid;gap:5px; }
.tl-wallet__class strong { font-size:13px;font-weight:700;line-height:1.5; }
.tl-wallet__class small { font-size:10px;line-height:1.7; }
.tl-wallet__open { font-size:23px; }
.tl-wallet__tap { display:block;font-size:10px;margin-top:12px;font-weight:600; }
.tl-wallet__chooser { display:grid;gap:8px;font-size:12px;margin-top:18px; }
.tl-wallet__chooser select { width:100%;min-height:44px;padding:8px;border:1px solid var(--glass-border);border-radius:9px;background:var(--bg-2);color:var(--ink);font:inherit; }
.tl-wallet__links { display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin-top:10px; }
.tl-wallet__links a { display:flex;align-items:center;gap:12px;min-height:44px;color:var(--accent-text);font-size:12px; }
.tl-wallet__links a:focus-visible,.tl-wallet__chooser select:focus-visible { outline:2px solid var(--accent-text);outline-offset:3px; }
@media(max-width:700px) { #profile-wallet { display:block; } }
@media(prefers-reduced-motion:no-preference) { .tl-wallet__card { transition:transform .18s ease,box-shadow .18s ease; }.tl-wallet__card:active:not(:disabled) { transform:scale(.985);box-shadow:0 7px 16px #0003; } }
