/* PVPGRAM V3 – düzen, okunabilirlik, forum kartları, rozetler ve yeni nesil editör */
:root{--v3-violet:#6e279d;--v3-ink:#311a49;--v3-border:#ded4ed}
html{scroll-padding-top:72px}
body,body *{min-width:0}
img,svg,video{max-width:100%}
img{height:auto}
.panel,.topic-row,.server-row,.profile-columns,.columns,.form-row,.sidebar-server,.forum-category,.sv-topic-hero{max-width:100%}
.panel-head,.panel-head h2{min-width:0}
.panel-head h2{overflow-wrap:anywhere}
.panel-head>a{max-width:47%;text-align:right;justify-content:flex-end}
.topic-row{grid-template-columns:36px minmax(130px,172px) minmax(0,1fr) 110px 112px;gap:12px;padding:9px 11px;align-items:center;min-height:68px}
.topic-row .topic-category{min-width:0}
.topic-row .topic-category .game-tag{white-space:normal;display:inline-flex;max-width:100%;overflow-wrap:anywhere;text-align:left;line-height:1.3;padding:5px 8px;border-radius:8px}
.topic-row .topic-body{overflow:hidden}
.topic-row .topic-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:13px;line-height:1.35}
.topic-row .topic-body small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:11px;line-height:1.35;margin-top:3px}
.topic-row .topic-stats{white-space:normal;justify-content:flex-start;gap:5px;flex-wrap:wrap;padding:0 0 0 12px}
.topic-row .topic-author{overflow-wrap:anywhere;word-break:break-word}
.server-row{grid-template-columns:105px minmax(92px,108px) minmax(0,1fr) 76px 86px 83px;gap:9px;min-height:73px;padding:8px}
.server-row .thumb{width:100%;height:56px}
.server-row .game-tag{white-space:normal;max-width:100%;text-align:center;overflow-wrap:anywhere}
.server-row .server-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.36;font-size:13px}
.server-row .server-summary{white-space:normal;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.server-row .server-author,.server-row .server-date{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.server-row .server-metrics{flex-wrap:wrap;justify-content:flex-start;white-space:normal}
.full-row{grid-template-columns:24px 90px minmax(85px,100px) minmax(0,1fr) 78px 118px}
.full-row .thumb{width:90px}
.full-row .server-actions{flex-wrap:wrap;min-width:0;gap:4px}
.full-row .server-actions form{margin:0}
.full-row .server-actions .small-outline,.full-row .server-actions .small-gold{white-space:normal;max-width:100%;padding:6px 5px}
.sv-topic-hero h1,.sv-intro-title,.sv-editor-body,.prose,.sv-post-links,.sv-side-cover,.sv-owner-card{overflow-wrap:anywhere}
.sv-topic-hero .sv-hero-identity,.sv-hero-text{min-width:0}
.sv-cover-figure{max-width:100%;margin:10px 0;overflow:hidden}
.sv-cover-figure img{display:block;width:100%;height:auto;max-height:420px;min-height:0;object-fit:contain;background:#241a3f}
.sv-editor-body img,.prose img{width:auto;max-width:100%!important;height:auto!important;object-fit:contain;display:block;margin:12px auto;border-radius:10px}
.sv-editor-body img[data-width="50"],.prose img[data-width="50"]{width:50%}
.sv-editor-body img[data-width="100"],.prose img[data-width="100"]{width:100%}
.sv-editor-body img[data-align="left"],.prose img[data-align="left"]{float:left;max-width:48%!important;margin:8px 15px 12px 0}
.sv-editor-body img[data-align="right"],.prose img[data-align="right"]{float:right;max-width:48%!important;margin:8px 0 12px 15px}
.sv-editor-body:after,.prose:after{content:"";display:block;clear:both}
.ad-real{min-width:0}.ad-real img{max-height:90px;max-width:100%;object-fit:contain}.aside .ad-real img{max-height:220px}
.badges-v3{display:grid;gap:7px}
.badge-v3{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:10px;padding:9px 6px;background:linear-gradient(110deg,#faf8ff,#f1eafc);border:1px solid #ddcbed;border-radius:12px}
.badge-v3 img{width:58px;height:66px;filter:drop-shadow(0 3px 5px #51208430)}
.badge-v3 strong{display:block;font-size:12px;color:#3e175c;overflow-wrap:anywhere}
.badge-v3 small{display:block;color:#756681;font-size:11px;overflow-wrap:anywhere}
.v3-commerce .panel-body>p{color:#61516d;margin:9px 6px 12px;font-size:13px}
.v3-pp-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:end;padding:8px}
.v3-code-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.v3-code-form label{flex:1 1 180px;min-width:0;font-weight:750;color:#42165c}.v3-code-form input{margin:5px 0 0;width:100%}
.v3-tasks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.v3-tasks>div{border-radius:12px;border:1px solid #ded0ee;padding:13px;background:#f9f6ff;display:flex;flex-direction:column;gap:7px}
.v3-tasks b{font-size:13px;color:#472268}.v3-tasks small{font-size:11px;color:#776589}.v3-tasks a{font-weight:750;font-size:12px;color:#7b32ab}
.v3-ad-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end;padding:10px}
.v3-ad-form label{font-size:12px;font-weight:800}.v3-ad-form input,.v3-ad-form select{width:100%;margin:5px 0 0}
.v3-admin-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;padding:9px}
.v3-admin-badges>div{border:1px solid #decdec;background:#faf8ff;border-radius:13px;display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center;padding:12px}
.v3-admin-badges b{color:#4b1776}.v3-admin-badges small{color:#746781}
.rich-wrapper-v2{border:1px solid #c9b0e4;box-shadow:0 8px 26px #51216e12;border-radius:15px;transition:box-shadow .2s}
.rich-wrapper-v2:focus-within{box-shadow:0 0 0 3px #a052df15,0 8px 26px #51216e12}
.rich-wrapper-v2 .rich-toolbar{background:linear-gradient(90deg,#fff,#f6efff);position:sticky;top:0;z-index:4;border-bottom:1px solid #dcc7ec;gap:7px}
.rich-wrapper-v2 .rich-toolbar button{border-radius:7px;transition:background .15s}
.rich-wrapper-v2 .rich-toolbar button:hover{background:#e8d8f8}
.rich-wrapper-v2 .rich-content{font-size:15px;min-height:320px;line-height:1.85;padding:18px 21px;color:#2f203e;outline:0}
.rich-wrapper-v2 .rich-content:empty:before{content:attr(data-placeholder);color:#a09aab}
.rich-wrapper-v2 .rich-image-tools{background:#ebe0f9}
.rich-word-count{padding:8px 16px;text-align:right;color:#665475;font-size:12px;border-top:1px solid #e5d9f0;background:#fbf9ff}
.rich-wrapper-v2.editor-fullscreen{position:fixed!important;inset:10px;z-index:99999;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 0 100vw #1d083fc0}
.rich-wrapper-v2.editor-fullscreen .rich-content{flex:1;overflow:auto}
.rich-wrapper-v2.editor-fullscreen .rich-toolbar{position:static}
@media(max-width:1150px){.topic-row{grid-template-columns:33px minmax(125px,157px) minmax(0,1fr) 88px 95px;gap:7px}.server-row{grid-template-columns:84px 88px minmax(0,1fr) 74px 70px 76px}.full-row{grid-template-columns:23px 80px 80px minmax(0,1fr) 74px 106px}.full-row .thumb{width:80px}}
@media(max-width:850px){.topic-row{grid-template-columns:34px minmax(90px,145px) minmax(0,1fr) 77px;gap:8px}.topic-row .topic-author{display:none}.topic-row .topic-stats{font-size:10px}.server-row:not(.full-row){grid-template-columns:82px minmax(0,1fr) 77px}.server-row:not(.full-row) .server-game,.server-row:not(.full-row) .server-author,.server-row:not(.full-row) .server-date{display:none}.server-row:not(.full-row) .thumb{width:82px}}
@media(max-width:720px){.wrap{width:calc(100% - 22px)}.topic-row{position:relative;grid-template-columns:34px minmax(0,1fr) 65px;grid-template-rows:auto auto;gap:3px 9px;padding:11px 9px;min-height:82px}.topic-row .topic-avatar{grid-column:1;grid-row:1/3}.topic-row .topic-category{display:block!important;grid-column:2;grid-row:2;min-width:0}.topic-row .topic-category .game-tag{font-size:10px;padding:2px 6px;white-space:normal;max-width:100%}.topic-row .topic-body{grid-column:2;grid-row:1}.topic-row .topic-stats{grid-column:3;grid-row:1/3;border:0;padding:0;justify-content:flex-start;align-content:center;font-size:10px}.topic-row .topic-author{display:none}.topic-row .topic-title{font-size:12px}.topic-row .topic-body small{font-size:10px}.v3-tasks{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-pp-actions{grid-template-columns:1fr}.v3-ad-form{grid-template-columns:1fr}.sv-post-inner,.post-inner{grid-template-columns:85px minmax(0,1fr)}.sv-cover-figure img{max-height:270px}.sv-editor-body img[data-align="left"],.sv-editor-body img[data-align="right"],.prose img[data-align="left"],.prose img[data-align="right"]{float:none;max-width:100%!important;margin:12px auto}}
@media(max-width:480px){.v3-tasks{grid-template-columns:1fr 1fr}.server-row:not(.full-row){grid-template-columns:72px minmax(0,1fr);gap:7px}.server-row:not(.full-row) .server-metrics{grid-column:2;grid-row:2;flex-direction:row;justify-content:flex-start;align-items:center}.server-row:not(.full-row) .thumb{width:72px}.full-row{grid-template-columns:19px 66px minmax(0,1fr)}.full-row .thumb{width:66px}.full-row .server-game{display:none}.full-row .server-actions{grid-column:3}.full-row .server-metrics{grid-column:2}.rich-wrapper-v2 .rich-content{padding:12px;font-size:14px}}

.sv-no-picture{background:linear-gradient(145deg,#2c1359,#6f259f);color:#ffce61;display:grid;place-items:center}.thumb-empty{height:100%;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(125deg,#38265c,#6b3a92);color:#f1d9fd;font-weight:750;font-size:10px;text-align:center}.sidebar-server .thumb-empty{height:50px;min-width:70px;border-radius:6px}
