.match-profile-overlay{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;background:#243b343d;padding:12px;backdrop-filter:blur(2px)}
.match-profile-card{box-sizing:border-box;width:min(92vw,440px);max-height:70dvh;overflow:auto;background:#fbf7ee;color:#344f43;border:1px solid #c8c5ab;border-radius:22px;box-shadow:0 18px 70px #142c3540;padding:20px}
.match-profile-head{display:flex;align-items:center;justify-content:space-between;font-size:20px;border-bottom:1px solid #d8ddcc;padding-bottom:12px}.match-profile-head button{font-size:26px;padding:0 8px;background:transparent}
.match-profile-turn{font-size:12px;color:#887247;padding:9px 0}.match-profile-hero{display:flex;gap:16px;align-items:center;padding:18px 0}.match-profile-hero .social-avatar{width:72px;height:72px;flex:none}.match-profile-hero h2{font-size:20px;margin:0 0 6px}.match-profile-hero p{font-size:13px;color:#7c8777;margin:8px 0;overflow-wrap:anywhere}.match-profile-hero small{font-size:12px}
.match-profile-stat{border-radius:10px;background:#edf0e6;padding:13px;margin:8px 0}.match-profile-honors{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;margin:12px 0}.match-profile-honors span{background:#e8e0c8;padding:5px 8px;border-radius:8px}
.match-profile-actions{display:flex;gap:8px;margin-top:16px}.profile-card-action{border:0;border-radius:10px;background:#e3ebdf;color:#355b43;padding:12px 9px;font:inherit;cursor:pointer}.match-profile-actions button{flex:1;font-size:13px}.profile-card-action:disabled{opacity:.5;cursor:default}.match-profile-actions button:last-child{background:#53775a;color:#fff}
.match-profile-log{height:24dvh;min-height:100px;overflow:auto;padding:8px;background:#eef1e8;border-radius:12px}.match-profile-log p{display:flex;flex-direction:column;align-items:flex-start;margin:10px 0;gap:4px}.match-profile-log p.mine{align-items:flex-end}.match-profile-log span{background:white;border-radius:9px;padding:8px 10px;max-width:85%;overflow-wrap:anywhere;white-space:pre-wrap}.match-profile-log .mine span{background:#dae7d2}.match-profile-log small{font-size:10px;color:#7b8477}.match-profile-rule{display:block;margin:10px 0;color:#8a7044;font-size:12px}.match-profile-compose{display:flex;gap:8px;margin:10px 0}.match-profile-compose textarea{min-width:0;flex:1;resize:none;border:1px solid #ccd8c4;border-radius:10px;padding:8px;font:inherit}
.match-profile-card{background:#e9e1cf;color:#57442f;border:1px solid #b5a489;border-radius:5px;padding:18px;box-shadow:0 18px 70px #1d1b174a;}
.match-profile-head{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:start;border:0;padding:0;}
.match-profile-head small{font-size:12px;color:#8f816c;overflow-wrap:anywhere;}
.match-profile-head strong{font-size:22px;font-weight:600;padding-top:28px;white-space:nowrap;}
.match-profile-head button{justify-self:end;color:#9c534c;font-size:30px;line-height:1;padding:0;}
.match-profile-turn{color:#9c534c;font-size:12px;text-align:center;}
.match-profile-hero{padding:18px 0;align-items:center;gap:12px;}
.match-profile-hero h2{color:#57442f;font-size:20px;margin:0;}
.match-profile-hero p{color:#8f816c;font-size:12px;line-height:1.4;margin:5px 0;}
.match-profile-likes{margin-left:auto;color:#9c534c;font-size:12px;text-align:center;white-space:pre-line;}
.match-profile-hero .profile-like-hand{margin-left:auto;color:#8f816c;flex:none}
.match-profile-hero .profile-like-hand svg{stroke:#8f816c}
.match-profile-hero .profile-like-hand.liked{color:#9c534c}
.match-profile-hero .profile-like-hand.liked svg{fill:#9c534c;stroke:#9c534c}
.match-profile-modes{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:8px 0 12px;}
.match-profile-modes button{flex:none;background:#c2b49a;border:0;border-radius:4px;padding:10px;color:#fff;font-size:13px;}
.match-profile-modes button.selected{background:#9c534c;}
.match-profile-stat{display:flex;justify-content:space-between;align-items:center;margin:6px 0;padding:11px 12px;background:#ded3be;color:#62513e;border-radius:4px;font-size:15px;}
.match-profile-stat span:last-child{color:#9c534c;}
