/* Red enamel, ivory and champagne gold: restrained functional ornament. */
.ui-icon { flex: none; vertical-align: middle; }
.ui-icon .icon-accent { fill: currentColor; fill-opacity: .13; }
.ico { display: inline-grid; place-items: center; }
.me-grid .ico, .wallet-actions .ico { width: 46px; height: 46px; border: 1px solid #d7b47c; border-radius: 14px; background: linear-gradient(145deg,#fffef9,#f0e0c6); box-shadow: inset 0 1px #fff,0 3px 7px #64330c0a; color: #9b6834; }
.me-grid .ico .ui-icon, .wallet-actions .ico .ui-icon { width: 25px; height: 25px; }
.me-grid button:nth-child(3n + 1) .ico { color: #a6323e; background: linear-gradient(145deg,#fffdf8,#f5e4dc); }
.row > .ico { border-radius: 10px; color: #9c6233; }
.faq-list summary { display: flex; align-items: center; gap: 10px; }
.faq-list summary > .ui-icon { width: 22px; height: 22px; color: #a0303b; }
.rule-sec summary > .ui-icon { margin-right: 8px; }
.status-inline { display: inline-flex; align-items: center; gap: 5px; }
.status-inline .ui-icon { width: 16px; height: 16px; }
.nav-btn { position: relative; }
.nav-btn.is-active::after { content: ''; position: absolute; bottom: 3px; width: 14px; height: 3px; border-radius: 3px; background: #af7d3b; left: calc(50% - 7px); }
button, .btn, summary, [role="button"] { transition: transform .13s ease, background-color .15s ease, box-shadow .15s ease; }
button:not(:disabled):active, .btn:not(:disabled):active, summary:active, [role="button"]:active { transform: scale(.975); }
.btn-gold:not(:disabled):active { box-shadow: inset 0 2px 6px #59151d40; }
.toast { border: 1px solid #dfc393; box-shadow: 0 8px 28px #35101820; }
.icon-btn.is-busy .ui-icon { animation: feedback-spin .9s linear infinite; }
.lobby-hero .btn-row { display: flex; flex-wrap: wrap; gap: 9px; }
.lobby-hero .hero-rules { white-space: nowrap; min-height: 44px; margin: 0; }
.avatar-eyebrow, .avatar-picker-label > span, .avatar-option-name, .avatar-picker-note, .avatar-picker-preview p { font-size: 12px; }
.avatar-picker-preview span { font-size: 12px; }
.avatar-edit-badge { font-size: 10px; }
.account-status { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; padding: 11px 13px; background: #f7f0e6; color: #7d6251; border: 1px solid #e3cfb0; border-radius: 12px; font-size: 12px; line-height: 1.6; }
.account-status .ui-icon { width: 18px; height: 18px; margin-top: 2px; }
.money-label { font-size: 12px; color: var(--mute); white-space: nowrap; }
.amount .cur { order: -1; }
.balance-card .amount .num, .ledger-balance .amount .num { font-size: clamp(30px,9vw,48px); min-width: 0; overflow-wrap: anywhere; }
.profile-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
.profile-stats .profile-balance { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eadbc5; padding-bottom: 12px; margin-bottom: 4px; gap: 12px; }
.profile-stats .profile-balance b { font-size: clamp(24px,7vw,32px); overflow-wrap: anywhere; min-width: 0; }
.rank-row .bal, .res .delta { font-size: clamp(13px,3.8vw,18px); max-width: 150px; overflow-wrap: anywhere; }
.profile-identity .copy-uid { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
.field select { min-height: 46px; width: 100%; background: #fffdf8; border: 1px solid #c7a779; border-radius: 10px; padding: 8px; font: inherit; color: var(--heading); }
@keyframes feedback-spin { to { transform: rotate(360deg); } }
@media (hover: hover) { .me-grid button:hover .ico, .wallet-actions button:not(.is-off):hover .ico { border-color: #ad793f; box-shadow: inset 0 1px #fff,0 4px 12px #64330c15; } }
@media (prefers-reduced-motion: reduce) { button, .btn, summary, [role="button"] { transition: none; } button:not(:disabled):active, .btn:not(:disabled):active, summary:active, [role="button"]:active { transform: none; } .icon-btn.is-busy .ui-icon { animation: none; } }

/* 「我」页收紧:一屏看完,不用往下滑。只放余额,不放局数/胜率。 */
#page-me .page-heading { margin-bottom: 12px; padding-bottom: 10px; }
#page-me .page-heading h1 { font-size: 18px; }
#page-me .profile-card { margin-bottom: 8px; }
#page-me .profile-cover { height: 116px; }
#page-me .profile-identity { grid-template-columns: 52px minmax(0,1fr); gap: 2px 10px; }
#page-me .profile-identity .avatar { width: 52px; height: 52px; outline-width: 2px; }
#page-me .profile-identity .who b { font-size: 17px; line-height: 1.35; }
#page-me .profile-identity .who small, #page-me .me-top.profile-identity .since { font-size: 11px; }
#page-me .profile-identity .copy-uid { width: 28px; min-width: 28px; height: 28px; min-height: 28px; }
#page-me .profile-content { padding: 10px 12px 0; }
#page-me .profile-stats { padding: 10px 0; }
#page-me .profile-stats .profile-balance { flex-direction: row; align-items: center; justify-content: space-between; border-bottom: 0; padding: 0 14px; margin-bottom: 0; }
#page-me .profile-stats .profile-balance small { font-size: 12px; }
#page-me .profile-stats .profile-balance b { font-size: clamp(20px,5.8vw,26px); }
#page-me .profile-content .section-title { margin: 14px 0 8px; }
#page-me .section-title h2 { font-size: 16px; }
#page-me .me-grid { padding: 4px 0; gap: 0; }
#page-me .me-grid button { padding: 9px 3px; font-size: 13px; gap: 6px; }
#page-me .me-grid .ico { width: 38px; height: 38px; border-radius: 12px; }
#page-me .me-grid .ico .ui-icon { width: 21px; height: 21px; }
#page-me .panel .row { padding-top: 10px; padding-bottom: 10px; }
#page-me .foot { margin: 12px 0 6px; font-size: 11px; }
