/* PVPGRAM.COM V31 · targeted changes only */
.v31-forum-sidebar-ad {margin:12px 0;min-width:0;max-width:100%;}
.v31-forum-sidebar-ad .ad-banner {display:flex;width:100%;max-width:300px;aspect-ratio:300/250;height:auto;min-height:0;margin:0 auto;border-radius:10px;overflow:hidden;}
.v31-forum-sidebar-ad .ad-banner img {display:block;width:100%;height:100%;max-height:100%;object-fit:contain;}
.v31-ticket-attachment {display:block;max-width:420px;margin:12px 0 4px;border:1px solid #d8caed;border-radius:10px;overflow:hidden;background:#f7f3ff;}
.v31-ticket-attachment img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;}
.v31-file-input{display:flex;flex-direction:column;gap:8px;color:#432469;font-weight:700;margin:12px 0;max-width:100%;}
.v31-file-input input{width:100%;max-width:100%;min-width:0;border:1px dashed #b4a1dc;border-radius:8px;padding:9px;background:#f9f7ff;}
.v31-role-stack{display:inline-flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:100%;vertical-align:top;}
.post-profile .v31-role-stack,.sv-owner-role .v31-role-stack,.sv-reply-person .v31-role-stack{align-items:center;}
.v31-role-stack .v30-role-tag{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere;}
.v31-roles-box {padding:12px 10px;display:flex;flex-direction:column;align-items:flex-start;gap:11px;}
.v31-roles-box .v31-role-stack{align-items:flex-start;}
.v31-roles-box p {margin:0;font-size:12px;line-height:1.6;}
.v31-more-roles{font-size:12px;color:#63269a;font-weight:800;}
.v31-stat-note{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #d5c5ef;background:#faf6ff;border-radius:9px;font-size:12px;color:#4a2972;}
.v31-role-manage{margin-top:18px;border:1px solid #dfd2ed;background:#fbf9ff;padding:16px;border-radius:12px;}
.v31-role-manage h3{margin:0 0 7px;color:#4b217d;}
.v31-role-manage p{margin:0 0 12px;color:#655273;}
.v31-role-manage-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px;}
.v31-role-manage-fields label{min-width:0;}
.v31-role-manage-fields select{width:100%;max-width:100%;min-width:0;}
@media(max-width:750px){.v31-role-manage-fields{grid-template-columns:1fr}.v31-forum-sidebar-ad .ad-banner{max-width:300px}.v31-stat-note{line-height:1.6}}
