:root{--bg:#160d04;--bg2:#1b1107;--panel:#26190f;--panel2:#2d1f13;--panel3:#1e140c;--line:#49311e;--line2:#3c291a;--text:#f6f1e9;--muted:#9e815d;--muted2:#6f583f;--orange:#ff8900;--orange2:#d96d00;--green:#11c978;--blue:#4aa4ff;--red:#ef5350;--purple:#9b6cf6;--shadow:0 22px 60px #0005;--radius:11px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#140c04 0,#190f05 35%,#150d04 100%);color:var(--text);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.page-shell{width:min(1180px,calc(100% - 34px));margin:0 auto;padding:28px 0 80px}.topbar{height:64px;background:#151006;border-bottom:1px solid #2f2114;position:sticky;top:0;z-index:60;box-shadow:0 10px 30px #0003}.topbar-inner{width:min(1180px,calc(100% - 34px));height:64px;margin:auto;display:flex;align-items:center;gap:24px}.brand{width:42px;height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;font-weight:1000;line-height:.75}.brand-v{font-size:31px;letter-spacing:-7px;transform:skew(-7deg);margin-left:-7px}.brand-mini{font-size:8px;letter-spacing:3px;margin-top:2px}.main-nav{display:flex;align-items:center;gap:24px;flex:1}.main-nav a{display:flex;gap:7px;align-items:center;color:#d8c9b9;font-weight:750;white-space:nowrap}.main-nav a:hover{color:#fff}.main-nav span{color:#c7b397}.top-actions{display:flex;align-items:center;gap:8px}.icon-btn,.coin-btn,.user-trigger{border:1px solid #332416;background:#24180e;color:#dfd3c5;border-radius:6px;height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;position:relative}.icon-btn:hover,.coin-btn:hover,.user-trigger:hover{border-color:#5e4023;background:#2d1f12}.notify-btn b{position:absolute;right:-5px;top:-8px;background:#8a4600;color:#ffd797;font-size:9px;border-radius:20px;padding:2px 5px}.coin-btn{color:#ffba16;font-weight:900;gap:7px;padding:0 12px}.user-trigger{padding:0;width:42px}.login-link{font-weight:800;color:#c6b29a}.search-drawer{display:none;position:absolute;left:0;right:0;top:64px;background:#1c130b;border-bottom:1px solid var(--line);padding:12px;box-shadow:var(--shadow)}.search-drawer.open{display:block}.search-drawer form{width:min(700px,calc(100% - 30px));margin:auto;display:flex}.search-drawer input{flex:1;background:#0f0a06;border:1px solid #49321e;border-radius:8px 0 0 8px;color:white;padding:12px}.search-drawer button{width:50px;border:1px solid #49321e;border-left:0;background:#2d1d0f;color:var(--orange);border-radius:0 8px 8px 0}.user-dropdown{display:none;position:absolute;right:max(17px,calc((100vw - 1180px)/2));top:58px;width:250px;background:#26190f;border:1px solid #4a311d;border-radius:0 0 8px 8px;box-shadow:0 25px 60px #000a;overflow:hidden;z-index:80}.user-dropdown.open{display:block}.ud-level{padding:14px;display:flex;gap:10px;align-items:center}.level-chip{border:1px solid #355b91;background:#152237;color:#5ea8ff;border-radius:5px;padding:5px 8px;font-weight:900}.ud-level strong{display:block}.ud-level small{display:block;color:var(--muted)}.ud-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 12px 10px}.ud-stats span{background:#312313;border:1px solid #4b351d;border-radius:6px;padding:8px;font-size:10px;color:var(--muted)}.ud-stats b{display:block;color:#f3d189;font-size:13px}.daily-menu-btn{margin:0 12px 10px;width:calc(100% - 24px);border:1px solid #6f4a16;background:#50340e;color:#ffc02b;border-radius:5px;padding:8px;font-weight:900}.mission-btn{display:flex;justify-content:space-between;margin:0 10px 6px;padding:9px 12px;border:1px solid #554052;background:#332431;color:#caa7ff;border-radius:4px;font-weight:800}.ud-links{padding:4px 0}.ud-links a{display:block;padding:7px 18px;color:#a78d69}.ud-links a:hover{background:#302014;color:#f5e8d8}.logout-link{display:block;border-top:1px solid #49311e;color:#ff5d56;padding:12px 18px}.avatar-wrap{position:relative;display:inline-flex;flex:0 0 auto}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 35% 30%,#6f2f23,#171015 58%,#090608);border:1px solid #6b4425;color:#ffe0bd;font-weight:900;text-shadow:0 1px 0 #000}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-xxs{width:22px;height:22px;font-size:8px}.avatar-xs{width:30px;height:30px;font-size:9px}.avatar-sm{width:36px;height:36px;font-size:10px}.avatar-md{width:48px;height:48px;font-size:12px}.avatar-lg{width:62px;height:62px;font-size:16px}.avatar-xl{width:78px;height:78px;font-size:18px}.online-dot{position:absolute;width:10px;height:10px;background:#0cca7a;border:2px solid #20150d;border-radius:50%;right:-1px;bottom:1px}.btn{border:1px solid transparent;border-radius:5px;padding:10px 15px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn-sm{padding:7px 10px;font-size:12px}.btn-primary{background:var(--orange);color:#1a0e03;border-color:#f69a24}.btn-primary:hover{background:#ff9b22}.btn-muted{background:#2a1c11;border-color:#4a321f;color:#bea789}.btn-danger{background:#4b1818;border-color:#7c2d2d;color:#ffb5b5}.flash{border-radius:6px;padding:11px 14px;margin:0 0 12px}.flash-success{background:#11351f;border:1px solid #1f6d3b;color:#b9f3cf}.flash-error{background:#421919;border:1px solid #7e2e2e;color:#ffc1bf}.flash-info{background:#163247;border:1px solid #275d7c;color:#c7eaff}.info-banner{border:1px solid #385054;border-left:3px solid #1cbcf4;background:#231b12;border-radius:4px;padding:13px 18px;display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}.info-icon{color:#24b8ec;font-size:19px}.info-banner strong{display:block}.info-banner strong b{font-size:10px;letter-spacing:1px;color:#68d4ff;background:#153342;border-radius:3px;padding:4px 6px;margin-right:7px}.info-banner p{margin:3px 0 0;color:#957452}.chatbox-card{border:1px solid #4a321e;border-radius:12px;background:linear-gradient(180deg,#2b1e12,#25180e);overflow:hidden;box-shadow:inset 0 1px #ffffff08;margin-bottom:18px}.chatbox-card>header{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #47301d}.chatbox-card>header strong span{font-size:10px;color:#836c50;background:#44301c;border-radius:11px;padding:3px 7px}.chatbox-card>header button{border:1px solid #4c341f;background:#302115;color:#887056;border-radius:5px;margin-left:4px}.chat-tabs{padding:12px 14px;border-bottom:1px solid #45301f}.chat-tabs button{border:0;background:transparent;color:#8d7253;padding:8px 13px}.chat-tabs button.active{background:#613604;color:#ffa019;border-radius:5px}.chat-scroll{height:275px;overflow:auto}.chat-message{display:flex;gap:12px;padding:14px 16px;border-bottom:1px solid #3b281a}.chat-message>div{flex:1}.chat-meta{display:flex;align-items:center;gap:7px}.chat-meta a{font-weight:900;color:#ff9500}.chat-meta time{font-size:10px;color:#7a6248}.chat-message p{margin:7px 0 0;color:#f4eee7}.role-pill{display:inline-flex;align-items:center;border-radius:10px;padding:2px 7px;font-size:9px;font-weight:900;letter-spacing:.3px;border:1px solid #694316;color:#d4a06d;background:#372310}.role-admin{color:#ff5e5e;border-color:#6f2a2a;background:#331616}.role-super_moderator{color:#2fe56b;border-color:#206a38;background:#142b1b}.role-moderator{color:#cadb30;border-color:#5f6417;background:#27290f}.role-uploader{color:#6c75ff;border-color:#343a82;background:#1b1e3c}.chat-input{display:flex;gap:10px;padding:11px 14px;border-top:1px solid #47301e;align-items:center}.chat-input input{flex:1;border:1px solid #45301e;background:#1e140c;color:white;border-radius:7px;padding:11px 14px}.chat-input button{border:0;background:transparent;color:#96774f;font-size:20px}.chat-login{color:#c79a60}.home-title-row{display:flex;align-items:end;justify-content:space-between;margin:24px 0 16px}.home-actions{display:flex;gap:8px;padding-bottom:4px}.section-heading{display:flex;gap:12px;align-items:flex-start}.section-icon{width:34px;height:34px;border-radius:4px;background:#3c2106;color:#ff9500;display:flex;align-items:center;justify-content:center;font-weight:1000;font-size:18px}.section-heading h1{font-size:28px;line-height:1;margin:3px 0 9px;letter-spacing:-.7px}.section-heading p{margin:0;color:#8d6e4b;max-width:670px}.eyebrow{font-size:10px;color:#7e6448;font-weight:900;letter-spacing:1px}.spotlight-card{background:#26190f;border:1px solid #4a311d;border-radius:10px;padding:16px;margin:10px 0 18px;overflow:hidden}.spotlight-card header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.spotlight-card header small{color:#bc8a54}.spotlight-card h2{margin:3px 0 4px;font-size:18px}.spotlight-card p{margin:0;color:#a07a55;font-size:12px}.spot-controls{display:flex;gap:7px}.spot-controls button{background:#2b1d12;border:1px solid #513720;color:#aa8d69;border-radius:6px;padding:7px 10px}.spot-track{display:flex;gap:10px;overflow:auto;padding-top:15px;scrollbar-width:none}.spot-track::-webkit-scrollbar{display:none}.spot-item{min-width:132px;width:132px}.poster{height:178px;border-radius:7px;display:flex;flex-direction:column;justify-content:space-between;padding:10px;color:white;box-shadow:inset 0 0 50px #0006;background:linear-gradient(135deg,#18364a,#081018)}.poster span{font-size:35px;font-weight:1000;opacity:.7}.poster small{color:#fff7;font-weight:900}.poster-2{background:linear-gradient(135deg,#6c6b66,#20211f)}.poster-3{background:linear-gradient(135deg,#e3e3d3,#394352)}.poster-4{background:linear-gradient(135deg,#2b6f92,#142633)}.poster-5{background:linear-gradient(135deg,#53615a,#1e291f)}.poster-6{background:linear-gradient(135deg,#692334,#170d17)}.poster-7{background:linear-gradient(135deg,#267ca5,#0b1734)}.poster-8{background:linear-gradient(135deg,#8b4a18,#15110b)}.spot-item>small{display:block;color:#8f7559;margin:8px 0 3px}.spot-item>strong{font-size:12px;line-height:1.3;display:block}.forum-block{border:1px solid #49311d;border-radius:10px;overflow:hidden;background:#20150d;margin:14px 0}.forum-block-head{height:48px;background:#2a1d12;display:grid;grid-template-columns:28px 1fr 280px 24px;align-items:center;padding:0 16px;border-bottom:1px solid #4b331e}.forum-block-head strong{font-size:11px;letter-spacing:1.2px}.forum-block-head>div{display:grid;grid-template-columns:80px 1fr;color:#6d5235;font-size:9px;letter-spacing:1px}.forum-block-head button{border:0;background:none;color:#7d6142}.forum-row{display:grid;grid-template-columns:40px 1fr 95px 250px;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid #3f2a1a}.forum-row:last-child{border-bottom:0}.forum-row:hover{background:#2a1b10}.forum-icon{width:34px;height:34px;border:1px solid #4b3421;background:#312317;border-radius:5px;display:flex;align-items:center;justify-content:center}.forum-main strong{font-size:15px}.forum-main p{margin:3px 0;color:#8d6e4c;font-size:12px}.mini-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.mini-tags span,.topic-tags span,.topic-head-tags>span:not(.lang-tag){font-size:9px;padding:3px 8px;border-radius:4px;background:#302114;border:1px solid #4c3420;color:#b78b53}.forum-count{text-align:center}.forum-count b{display:block;font-size:16px}.forum-count span{font-size:8px;color:#735739;letter-spacing:1px}.forum-last{display:flex;align-items:center;gap:9px;border-left:1px solid #402b1b;padding-left:14px;min-width:0}.forum-last>div{min-width:0}.forum-last strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-last span{font-size:10px;color:#8c6f50}.active-section{margin:34px 0 24px}.active-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.active-head>div{display:flex;gap:12px}.active-head>div>span{width:34px;height:34px;background:#063d27;color:#14d382;border-radius:4px;display:flex;align-items:center;justify-content:center}.active-head h2{margin:0;font-size:21px}.active-head p{margin:2px 0;color:#8b6c49}.active-head>b{background:#24190f;border:1px solid #49311f;padding:7px 13px;border-radius:20px;color:#a99072;font-size:11px}.active-head>b:first-letter{color:#12cb7b}.active-card{border:1px solid #49311e;background:#20150c;border-radius:9px;padding:15px}.active-group{margin:0 0 14px}.active-group:last-child{margin-bottom:0}.active-group h3{font-size:12px;margin:0 0 8px}.active-group h3 small{color:#7f6447;margin-left:5px}.role-text-admin h3{color:#ff5757}.role-text-super_moderator h3{color:#16c754}.role-text-moderator h3{color:#b6bf22}.role-text-uploader h3{color:#626bff}.role-text-user h3{color:#ff9300}.user-chips{display:flex;flex-wrap:wrap;gap:6px}.user-chips a{display:flex;align-items:center;gap:5px;padding:3px 8px 3px 3px;border:1px solid #4b3220;background:#2c1f14;border-radius:18px;font-size:11px}.user-chips button{border:1px solid #68420d;background:#3f280b;color:#ffa51d;border-radius:18px;padding:5px 10px}.partners{border:1px solid #49311d;background:#24180f;border-radius:9px;padding:14px;margin-top:22px}.partners h2{font-size:15px;margin:0 0 10px}.partners>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.partners a{background:#1d140c;border:1px solid #3f2c1c;border-radius:6px;padding:12px}.partners strong,.partners span{display:block}.partners span{font-size:11px;color:#856b4c;margin-top:3px}.site-footer{border-top:1px solid #2b1d12;background:#100a05;color:#765e44;min-height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1180px)/2));font-size:12px}.site-footer nav{display:flex;gap:18px}.site-footer strong{color:#be9d73}.breadcrumbs{color:#816745;margin:7px 0 22px;display:flex;gap:9px}.breadcrumbs a:hover{color:var(--orange)}.forum-page-head{display:grid;grid-template-columns:48px 1fr auto;align-items:start;gap:14px;margin:0 0 40px}.forum-page-icon{width:48px;height:48px;border-radius:6px;background:#4a2b07;display:flex;align-items:center;justify-content:center;font-size:22px}.forum-page-head h1{font-size:27px;margin:0 0 3px}.forum-page-head p{color:#9b794f;margin:0 0 10px}.forum-meta{color:#927250}.subhead{font-size:12px;color:#8d6f4d;letter-spacing:1px}.subforums{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 24px}.subforums a{display:flex;gap:10px;align-items:center;border:1px solid #4a311e;background:#2b1e13;padding:12px;border-radius:5px}.subforums a>span{width:34px;height:34px;border-radius:5px;background:#3a2a1c;display:flex;align-items:center;justify-content:center}.subforums strong,.subforums small{display:block}.subforums small{color:#896b4b}.topic-list-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}.topic-list-head h2{font-size:18px}.topic-list-head h2 span{font-size:11px;color:#82664a;font-weight:500}.topic-list-head>div{display:flex;gap:8px}.topic-list-head select,.topic-list-head input,.topic-list-head button,.panel input,.panel select,.panel textarea,.form-panel input,.form-panel select,.form-panel textarea,.search-page input{background:#21170e;border:1px solid #4b3320;color:#e4d8ca;border-radius:5px;padding:9px 11px}.topic-list-head button{color:#a78966}.topic-list{display:flex;flex-direction:column;gap:9px}.topic-row{display:grid;grid-template-columns:34px 1fr 92px 92px 150px;align-items:center;gap:10px;border:1px solid #4a311e;background:#26190e;border-radius:5px;padding:13px}.topic-row:hover{background:#2d1d11;border-color:#68421f}.topic-thumb{color:#c87913;text-align:center}.topic-main>div:first-child{display:flex;align-items:center;gap:8px}.topic-main strong{font-size:16px}.topic-main p{margin:4px 0;color:#81684d;font-size:11px}.topic-main p b{color:#6a67ff}.lang-tag{font-size:9px;padding:3px 7px;border-radius:3px;background:#583503;border:1px solid #9b5900;color:#ffb01c;font-weight:900}.topic-stat{text-align:center}.topic-stat b{display:block;font-size:15px}.topic-stat span{font-size:8px;letter-spacing:1px;color:#785a36}.topic-last{border-left:1px solid #46301e;padding-left:12px;display:grid;grid-template-columns:34px 1fr;align-items:center}.topic-last .mini-avatar{grid-row:1/3}.topic-last strong{font-size:11px;color:#676fff}.topic-last small{color:#80664b}.mini-avatar{display:inline-flex;width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:#121013;border:1px solid #4c3b30;font-size:9px}.topic-page-head{margin-bottom:28px}.topic-page-head h1{font-size:29px;margin:0 0 14px}.topic-byline{display:flex;align-items:center;gap:8px;color:#927557}.topic-byline b{color:#aab522}.topic-byline i{color:#11d57c;font-style:normal}.topic-head-tags{display:flex;gap:7px;margin:17px 0}.topic-actions{display:flex;gap:8px}.topic-actions button{background:#2b1d11;border:1px solid #49311d;color:#9a7c58;border-radius:5px;padding:9px 12px}.topic-actions button.active{color:#ff9a12;border-color:#805118;background:#3b260d}.hosting-filter{height:34px;border:1px solid #49321f;background:#291c11;border-radius:6px;margin-bottom:12px;display:flex;align-items:center;padding:0 12px;color:#8f7456;justify-content:space-between;font-size:11px}.hosting-filter span{display:flex;gap:4px}.hosting-filter b{font-size:8px;padding:2px 5px;background:#352016;border-radius:3px}.post-card{border:1px solid #49321f;background:#2a1d12;border-radius:6px;padding:18px;margin:0 0 12px}.post-user{display:flex;gap:11px}.post-user>div>a{color:#adbc28;font-weight:900;font-size:16px}.post-user>div>div{display:flex;gap:5px;margin:4px 0}.post-user small{color:#7f664b}.level-pill,.coins-pill,.author-pill{font-size:9px;padding:2px 6px;border-radius:3px;background:#392a4a;color:#caa9ff}.coins-pill{background:#3b2e08;color:#ffd215}.author-pill{background:#0f5438;color:#62e2a6}.post-content{margin:18px 0 28px;font-size:14px;min-height:80px}.post-content a{color:#ff9b19}.post-card footer{display:flex;gap:7px;border-top:1px solid #44301f;padding-top:11px}.post-card footer button{border:1px solid #49311e;background:#24180e;color:#9c7d59;border-radius:4px;padding:7px 10px}.post-card footer button.active{color:#ff9a17}.reply-box{margin-top:18px}.reply-box h3{margin-top:0}.login-to-reply{border:1px solid #49311d;background:#25180e;border-radius:6px;padding:14px}.login-to-reply a{color:var(--orange);font-weight:900}.panel{background:#26190f;border:1px solid #4a311e;border-radius:8px;padding:18px}.form-panel{display:grid;gap:13px}.form-panel label{display:grid;gap:6px;color:#b89973;font-size:12px;font-weight:700}.form-panel label span{font-weight:400;color:#756047}.form-panel input,.form-panel textarea,.form-panel select{width:100%;outline:none}.form-panel input:focus,.form-panel textarea:focus,.form-panel select:focus{border-color:#8a561b}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.empty-panel{border:1px dashed #4c321c;background:#21160d;border-radius:7px;padding:26px;text-align:center;color:#8c6d4b}.profile-hero{border:1px solid #4a311d;background:#2b1e13;border-radius:6px;padding:28px;display:grid;grid-template-columns:1fr 2fr;gap:30px}.profile-id{display:flex;gap:16px;align-items:flex-start}.profile-id h1{font-size:24px;color:#ff8900;margin:4px 0}.profile-id p{color:#90704e;margin:0 0 12px}.profile-id>div>div{color:#9b7445}.profile-info{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-content:end}.profile-info>div{border:1px solid #46301e;background:#21160d;border-radius:5px;padding:12px}.profile-info small{display:block;color:#9b784d;font-size:9px;letter-spacing:1.5px}.profile-info strong{display:block;margin-top:7px}.online-text{color:#fff}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.profile-stats>div{border:1px solid #4a311e;background:#2b1e13;border-radius:5px;padding:14px;text-align:center}.profile-stats span{display:block;color:#ff8b00;font-size:20px}.profile-stats div:nth-child(2) span{color:#47a0ff}.profile-stats div:nth-child(4) span{color:#1fd28b}.profile-stats b{display:block;font-size:21px;margin-top:3px}.profile-stats small{color:#957651}.referral-card{border:1px solid #4b321f;background:#2b1e13;border-radius:5px;padding:14px;margin-bottom:14px}.referral-card h3{margin:0}.referral-card p{color:#8f704e}.referral-card>div{display:grid;grid-template-columns:1fr 44px 44px}.referral-card code{background:#1f150c;border:1px solid #49311d;padding:10px}.referral-card button,.referral-card a{background:#3b260c;border:1px solid #674315;color:#ff990d;display:flex;align-items:center;justify-content:center}.profile-tabs{display:flex;overflow:auto;border:1px solid #49311e;background:#291c11;border-radius:6px 6px 0 0}.profile-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#8d7355;padding:12px 16px;white-space:nowrap}.profile-tabs button.active{color:#ff9412;border-color:#ff8d00}.profile-tabs small{background:#3b2b1f;border-radius:8px;padding:2px 5px}.profile-level{border:1px solid #49311e;border-top:0;background:#2d2015;padding:20px;border-radius:0 0 6px 6px}.profile-level h2{font-size:18px}.level-summary{display:flex;gap:12px;align-items:center}.level-summary>span{border:1px solid #365b8b;background:#18253a;color:#61a7ff;padding:5px 10px;border-radius:4px}.level-summary div{flex:1}.level-summary strong,.level-summary small{display:block}.level-summary small{color:#8f724f}.level-summary>b{color:#ffd018}.progress-meta{display:flex;justify-content:space-between;color:#967755;font-size:11px;margin:18px 0 7px}.progress{height:7px;background:#1e140c;border-radius:9px;overflow:hidden}.progress i{display:block;height:100%;background:linear-gradient(90deg,#ff8c00,#ffd046);border-radius:9px}.badge-showcase{margin-top:16px}.badge-showcase>div,.badges-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.badge-showcase article,.badges-grid article{border:1px solid #49311d;background:#271a10;border-radius:7px;padding:15px;text-align:center}.badge-showcase article span,.badges-grid article>span{font-size:30px;filter:drop-shadow(0 0 10px var(--badge))}.badge-showcase article strong,.badge-showcase article small,.badges-grid article strong,.badges-grid article small,.badges-grid article b{display:block}.badge-showcase article small,.badges-grid article small{color:#8d6f4d;margin-top:5px}.badges-grid article b{margin-top:10px;color:var(--badge);font-size:9px;letter-spacing:1px}.badges-grid .locked{filter:grayscale(1);opacity:.45}.minor-title{font-size:20px;margin:25px 0 10px}.messages-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:14px}.message-row{display:grid;grid-template-columns:30px 1fr auto;gap:10px;border-bottom:1px solid #44301f;padding:12px 0}.message-row p{margin:3px 0;color:#8e6f4e}.message-row time{color:#765f48;font-size:11px}.notification-list>a{display:grid;grid-template-columns:20px 1fr auto;gap:10px;border-bottom:1px solid #44301f;padding:13px 0}.notification-list p{margin:2px 0;color:#8c6d4e}.notification-list time{color:#755f46}.ranking-list{display:flex;flex-direction:column;gap:7px}.ranking-list>a{display:grid;grid-template-columns:55px 40px 1fr 110px 100px 110px;align-items:center;gap:10px;border:1px solid #49311e;background:#281b10;border-radius:6px;padding:10px}.rank-no{color:#ff920c}.ranking-list>a>div small{display:block;color:#7f674c}.ranking-list em{color:#ffba22;font-style:normal;font-weight:900}.ranking-list.compact a{grid-template-columns:50px 32px 1fr 100px}.tag-cloud{display:flex;gap:9px;flex-wrap:wrap}.tag-cloud a{display:flex;gap:14px;border:1px solid #4a311e;background:#291c11;border-radius:6px;padding:10px 13px}.tag-cloud span{color:#ff9512}.search-page{display:flex;gap:8px;margin:15px 0}.search-page input{flex:1}.people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.people-grid a{border:1px solid #49311d;background:#281b10;border-radius:6px;padding:12px;display:flex;align-items:center;gap:9px}.people-grid a span{color:#7e674e;font-size:10px}.inventory-grid,.shop-grid,.auction-grid,.games-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.inventory-grid article,.shop-item,.auction-grid article,.games-grid article{background:#281b10;border:1px solid #49311d;border-radius:7px;padding:16px}.inventory-grid article>span,.shop-item>span,.auction-grid article>span,.games-grid article>span{display:block;font-size:32px}.inventory-grid strong,.inventory-grid small,.shop-item strong,.shop-item p,.shop-item b,.auction-grid strong,.auction-grid small,.auction-grid b,.auction-grid time,.games-grid strong,.games-grid p{display:block}.inventory-grid small,.shop-item p,.auction-grid small,.auction-grid time,.games-grid p{color:#8d6e4c}.shop-item{display:grid;gap:7px}.shop-item b{color:#ffb315}.clicker{text-align:center;margin:15px 0}.click-score{font-size:54px;font-weight:1000;color:#ff9a11}.click-btn{border:1px solid #8d590f;background:#52320a;color:#ffd26c;border-radius:50%;width:130px;height:130px;font-weight:1000;font-size:18px;box-shadow:0 0 35px #ff950022}.clicker form{margin-top:13px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.setting-avatar{display:flex;align-items:center;gap:12px}.switch{display:flex!important;grid-template-columns:auto 30px 1fr!important;align-items:center!important;gap:9px!important}.switch input{width:auto!important}.switch span{width:30px;height:16px;border-radius:10px;background:#50351e;position:relative}.switch input:checked+span{background:#1d6d49}.switch span:after{content:"";position:absolute;width:12px;height:12px;background:#eee;border-radius:50%;top:2px;left:2px}.switch input:checked+span:after{left:16px}.data-panel{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.muted{color:#81674b}.case-list{display:grid;gap:10px;margin-bottom:12px}.case-list article{border:1px solid #49311e;background:#281b10;border-radius:6px;padding:15px}.case-staff{border-color:#6e4816!important;background:#31200c!important}.case-list article time{float:right;color:#80664a}.case-list p{white-space:pre-wrap}.private-key{margin-top:12px;color:#8c7051}.private-key code{color:#ffc45c}.prose{color:#bca383}.prose h2{color:#fff}.simple-module{text-align:center;padding:50px}.giant-icon{font-size:55px}.empty-state{text-align:center;padding:90px 20px}.empty-state>div{font-size:80px;color:#4e3318;font-weight:1000}.empty-state p{color:#8d704f}.auth-page .page-shell{min-height:calc(100vh - 145px);display:grid;place-items:center}.auth-wrap{width:min(700px,100%);text-align:center}.auth-logo{display:inline-flex;flex-direction:column;line-height:.7;margin-bottom:12px}.auth-logo span{font-size:48px;font-weight:1000}.auth-logo small{letter-spacing:4px}.auth-card{text-align:left;background:#281b10;border:1px solid #4a321e;border-radius:10px;padding:24px;box-shadow:var(--shadow)}.auth-card>h1{text-align:center;margin:0}.auth-card>p{text-align:center;color:#8e704d}.auth-form{display:grid;gap:12px}.auth-form.two-col{grid-template-columns:1fr 1fr}.auth-form .full{grid-column:1/-1}.auth-form label{display:grid;gap:6px;color:#b6956c}.auth-form input{background:#160f09;border:1px solid #50351f;color:#fff;padding:11px;border-radius:5px}.auth-form .check{display:flex;align-items:center;gap:8px}.auth-form .check input{width:auto}.auth-form p{text-align:center}.auth-form a{color:#ff9a12}.auth-features{display:flex;justify-content:center;gap:18px;color:#84694d;margin-top:12px;font-size:11px}.reward-overlay{position:fixed;inset:0;background:#050403f2;z-index:200;display:none;align-items:center;justify-content:center;backdrop-filter:blur(5px)}.reward-overlay.open{display:flex}.reward-close{position:absolute;right:24px;top:24px;width:38px;height:38px;border:0;border-radius:50%;background:#26221f;color:#aaa;font-size:24px}.reward-stage{text-align:center;min-width:320px}.reward-gift{font-size:72px;filter:drop-shadow(0 0 25px #ffbe1f45);animation:rewardFloat 1.2s ease-in-out infinite alternate}.reward-title{margin-top:15px;color:#c49b18;font-weight:900}.reward-shuffle{display:flex;justify-content:center;gap:8px;margin:20px 0}.reward-shuffle span{width:55px;height:55px;border:1px solid #332920;background:#080706;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:27px;animation:rewardPulse .35s linear infinite alternate}.reward-result-card{width:110px;height:110px;margin:auto;border-radius:8px;background:linear-gradient(145deg,#d261f1,#f030a9);display:flex;align-items:center;justify-content:center;font-size:45px;box-shadow:0 0 45px #c13de866;animation:rewardReveal .5s ease both}.reward-rarity{display:inline-block;margin-top:13px;padding:4px 14px;border-radius:12px;background:linear-gradient(90deg,#d76df1,#f04ca4);font-weight:900;font-size:10px}.reward-coins{font-size:31px;font-weight:1000;margin-top:16px}.reward-coins small{display:block;font-size:11px;color:#8c8580;font-weight:500}.reward-streak{display:inline-block;background:#171411;border:1px solid #2b241e;border-radius:5px;padding:7px 12px;margin-top:14px;color:#8b7d6f}.reward-already{color:#9e8e7e;margin-top:8px}@keyframes rewardFloat{to{transform:translateY(-10px) rotate(2deg)}}@keyframes rewardPulse{to{transform:scale(1.05);filter:brightness(1.25)}}@keyframes rewardReveal{from{transform:scale(.2) rotate(-25deg);opacity:0}to{transform:scale(1) rotate(-4deg);opacity:1}}.admin-shell{display:grid;grid-template-columns:220px 1fr;gap:14px;align-items:start}.admin-nav{position:sticky;top:83px;background:#21160d;border:1px solid #49311e;border-radius:8px;padding:10px}.admin-title{display:flex;gap:10px;align-items:center;padding:10px 8px 15px}.admin-title>span{width:34px;height:34px;background:#ff8a00;color:#1c1005;border-radius:5px;display:flex;align-items:center;justify-content:center;font-weight:1000}.admin-title strong,.admin-title small{display:block}.admin-title small{color:#7d654b}.admin-nav>a{display:flex;gap:9px;align-items:center;padding:9px 10px;border-radius:5px;color:#9d8260}.admin-nav>a.active,.admin-nav>a:hover{background:#36240f;color:#ff9b14}.admin-content{min-width:0}.admin-head{display:flex;justify-content:space-between;align-items:start;margin:0 0 14px}.admin-head small{color:#7b6146;letter-spacing:1px}.admin-head h1{margin:2px 0;font-size:27px}.admin-head p{margin:0;color:#8e6f4c}.admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.admin-kpis article{border:1px solid #49311e;background:#291c11;border-radius:7px;padding:14px}.admin-kpis span{color:#ff950e}.admin-kpis b{display:block;font-size:23px;margin:5px 0}.admin-kpis small{color:#896c4d}.admin-card{border:1px solid #49311e;background:#281b10;border-radius:8px;padding:16px;margin-bottom:12px}.admin-card h2{margin:0 0 12px;font-size:17px}.admin-table>div,.admin-user-row{display:grid;grid-template-columns:1.3fr 1fr 1fr 120px;gap:10px;align-items:center;border-top:1px solid #3f2b1b;padding:9px 0}.admin-table>div:first-child{border-top:0}.admin-table span,.admin-table time{color:#8b7050}.admin-table .wide{grid-column:auto}.admin-user-row{grid-template-columns:34px 1.4fr 140px 80px 80px 60px 75px}.admin-user-row small{display:block;color:#80664b}.admin-user-row select{background:#20160d;border:1px solid #4b331f;color:white;padding:7px}.admin-check{color:#a2825d}.admin-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-row{display:grid;grid-template-columns:28px 1fr 90px 90px;gap:10px;align-items:center;border-top:1px solid #3f2b1b;padding:10px 0}.report-row p{margin:3px 0;color:#8c6e4e}.positive{color:#25d47e!important}.negative{color:#ff6d64!important}.badge-admin-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.badge-admin-grid article{border:1px solid #49311e;background:#21160d;border-radius:6px;padding:12px;text-align:center}.badge-admin-grid span{font-size:25px}.badge-admin-grid strong,.badge-admin-grid small{display:block}.badge-admin-grid small{color:var(--badge)}.ticket-admin{border-top:1px solid #3f2b1b;padding:10px 0}.ticket-admin summary{display:grid;grid-template-columns:90px 1fr 80px 100px;gap:10px;cursor:pointer}.ticket-admin summary span{color:#ff9b13}.ticket-admin p{color:#a78a69}.ticket-admin>a{color:#ff9a12}.ticket-reply{display:flex;gap:8px;margin-top:8px}.ticket-reply textarea{flex:1;background:#1b120b;border:1px solid #49311d;color:#fff;border-radius:5px;padding:8px}.plugin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.plugin-card{border:1px solid #49311e;background:#281b10;border-radius:7px;padding:14px}.plugin-card>div{display:flex;gap:9px}.plugin-card>div>span{font-size:24px;color:#ff940e}.plugin-card small{display:block;color:#7c6248}.plugin-card p{color:#8d6f4e;min-height:40px}.plugin-card.disabled{opacity:.55}.plugin-toggle{border:1px solid #4e381f;background:#34250f;color:#ffb437;border-radius:5px;padding:7px 10px;font-weight:900}.plugin-card.disabled .plugin-toggle{color:#8f7a65}.data-panel .btn{width:auto}
@media(max-width:1050px){.main-nav{gap:13px}.main-nav a{font-size:12px}.forum-row{grid-template-columns:40px 1fr 80px 180px}.spotlight-card header{flex-direction:column}.topic-row{grid-template-columns:34px 1fr 70px 70px}.topic-last{display:none}.profile-hero{grid-template-columns:1fr}.admin-shell{grid-template-columns:180px 1fr}.admin-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.page-shell,.topbar-inner{width:min(100% - 20px,1180px)}.topbar{height:auto;min-height:60px}.main-nav{display:none}.top-actions{margin-left:auto}.login-link{display:none}.coin-btn{padding:0 8px}.info-banner{margin-top:4px}.home-title-row{align-items:flex-start;gap:15px;flex-direction:column}.home-actions{width:100%;overflow:auto}.forum-block-head{grid-template-columns:26px 1fr 20px}.forum-block-head>div{display:none}.forum-row{grid-template-columns:36px 1fr 65px}.forum-last{display:none}.forum-main p{line-height:1.2}.active-head{align-items:flex-start;gap:10px}.active-head>b{white-space:nowrap}.partners>div{grid-template-columns:1fr}.topic-list-head{align-items:flex-start;flex-direction:column}.topic-list-head>div{width:100%;overflow:auto}.topic-row{grid-template-columns:28px 1fr 58px}.topic-row .topic-stat:nth-of-type(4){display:none}.forum-page-head{grid-template-columns:42px 1fr}.forum-page-head>a{grid-column:1/-1}.subforums{grid-template-columns:1fr}.topic-byline{flex-wrap:wrap}.profile-stats{grid-template-columns:repeat(2,1fr)}.profile-info{grid-template-columns:1fr}.badge-showcase>div,.badges-grid{grid-template-columns:repeat(2,1fr)}.messages-layout,.settings-grid{grid-template-columns:1fr}.ranking-list>a{grid-template-columns:45px 35px 1fr 85px}.ranking-list>a>span:nth-of-type(2),.ranking-list>a>span:nth-of-type(3){display:none}.people-grid,.inventory-grid,.shop-grid,.auction-grid,.games-grid{grid-template-columns:repeat(2,1fr)}.auth-form.two-col{grid-template-columns:1fr}.auth-form .full{grid-column:auto}.auth-features{flex-direction:column;gap:6px}.admin-shell{grid-template-columns:1fr}.admin-nav{position:static;display:flex;overflow:auto}.admin-title{display:none}.admin-nav>a{white-space:nowrap}.admin-kpis{grid-template-columns:repeat(2,1fr)}.admin-two,.plugin-grid{grid-template-columns:1fr}.admin-user-row{grid-template-columns:32px 1fr 120px 60px}.admin-user-row>span,.admin-user-row>.admin-check,.admin-user-row>.btn{display:none}.ticket-admin summary{grid-template-columns:70px 1fr}.ticket-admin summary b,.ticket-admin summary time{display:none}.site-footer{flex-direction:column;gap:8px;justify-content:center}.user-dropdown{right:10px}.spot-controls{flex-wrap:wrap}}@media(max-width:500px){.top-actions>.icon-btn:nth-of-type(2),.top-actions>.icon-btn:nth-of-type(3){display:none}.page-shell{width:calc(100% - 14px);padding-top:12px}.section-heading h1{font-size:24px}.spot-item{min-width:115px;width:115px}.poster{height:150px}.forum-row{grid-template-columns:32px 1fr}.forum-count{display:none}.profile-hero{padding:18px}.profile-id{flex-direction:column}.profile-stats{gap:7px}.badge-showcase>div,.badges-grid,.people-grid,.inventory-grid,.shop-grid,.auction-grid,.games-grid{grid-template-columns:1fr 1fr}.topic-row{grid-template-columns:20px 1fr}.topic-stat{display:none}.post-card{padding:14px}.post-user .avatar-lg{width:46px;height:46px}.admin-kpis{grid-template-columns:1fr 1fr}.admin-card{padding:12px}.form-grid{grid-template-columns:1fr}.reward-stage{min-width:260px}}

.profile-social-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.profile-social-actions button,.profile-social-actions a{background:#261a10;border:1px solid #523720;color:#b99870;border-radius:5px;padding:7px 10px;font-weight:800}.profile-social-actions button.active{color:#ff9a12;border-color:#7a4e14}.poll-builder{border:1px solid #49311d;background:#21160d;border-radius:6px;padding:10px}.poll-builder summary{cursor:pointer;color:#ff9a12;font-weight:900;margin-bottom:8px}.poll-builder[open]{display:grid;gap:10px}.poll-card{border:1px solid #49311d;background:#2a1d12;border-radius:7px;padding:16px;margin:0 0 12px}.poll-card h2{margin:0 0 12px;font-size:18px}.poll-card form{display:grid;gap:9px}.poll-option{display:grid;grid-template-columns:20px 1fr;gap:8px;align-items:start;border:1px solid #44301f;background:#23180f;border-radius:6px;padding:10px}.poll-option>span{display:grid;gap:6px}.poll-option i{display:block;height:6px;background:#16100a;border-radius:20px;overflow:hidden}.poll-option em{display:block;height:100%;background:linear-gradient(90deg,#ff8800,#ffc13c)}.poll-option small,.poll-total{color:#84694c}.poll-card .btn{justify-self:start}

/* ViSite specification 2.0 additions */
.consent-banner{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:190;width:min(860px,calc(100% - 28px));display:flex;align-items:center;justify-content:space-between;gap:20px;background:#24180f;border:1px solid #65401e;border-radius:10px;padding:15px 17px;box-shadow:0 24px 80px #000b}.consent-banner strong{font-size:15px}.consent-banner p{margin:4px 0 0;color:var(--muted);font-size:12px}.consent-banner>div:last-child{display:flex;gap:8px;flex:none}
.editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;background:#1c120b;border:1px solid var(--line);border-bottom:0;border-radius:6px 6px 0 0;padding:7px}.editor-toolbar button{min-width:34px;height:31px;border:1px solid #51351e;background:#2b1b0f;color:#d6b790;border-radius:5px;font-weight:900}.editor-toolbar button:hover{color:#fff;border-color:#a46116}.editor-toolbar span{margin-left:auto;color:#715b43;font-size:11px}.editor-form textarea[data-editor]{border-radius:0 0 6px 6px}.editor-preview{background:#1a110a;border:1px dashed #73502a;border-radius:6px;padding:14px;margin:8px 0;color:#eee;min-height:90px}.post-attachments{width:calc(100% - 38px);margin:-5px auto 14px;padding:10px 14px;background:#21160d;border:1px solid #47301d;border-radius:0 0 7px 7px;display:flex;gap:8px;flex-wrap:wrap}.post-attachments a{padding:7px 10px;border:1px solid #4a321f;border-radius:5px;color:#d6b790}.post-attachments small{color:#796148}
.settings-shell{display:grid;grid-template-columns:220px 1fr;gap:18px}.settings-nav{display:flex;flex-direction:column;background:#21160d;border:1px solid var(--line);border-radius:8px;overflow:hidden;height:max-content;position:sticky;top:82px}.settings-nav a{padding:12px 14px;color:#987b58;border-bottom:1px solid #382719;font-weight:800}.settings-nav a:last-child{border-bottom:0}.settings-nav a:hover,.settings-nav a.active{background:#2a1c11;color:#ff9a13;border-left:3px solid var(--orange);padding-left:11px}.settings-main{min-height:430px}.settings-main h2{margin-top:0}.security-log{display:grid;gap:6px;margin:12px 0}.security-log>div{display:grid;grid-template-columns:150px 1fr 150px 60px;gap:10px;align-items:center;padding:9px 10px;border:1px solid #3c291a;border-radius:5px;background:#1d140d}.security-log small{color:#8d7252}.security-log time{color:#715c45;font-size:11px}.security-log b{color:#24c47a;font-size:11px}
.follow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.follow-grid>a{display:flex;gap:12px;align-items:center;background:#25190f;border:1px solid #49311e;border-radius:7px;padding:13px}.follow-grid>a>span{font-size:24px}.follow-grid small{display:block;color:#876c4d}.request-list{display:grid;gap:8px}.request-list form{display:flex;align-items:center;gap:9px;border:1px solid #402c1b;padding:9px;border-radius:6px}.request-list strong{margin-right:auto}.chat-page{padding:0;overflow:hidden}.chat-page .chatbox-card{margin:0;border:0}
.conversation{padding:0;overflow:hidden}.conversation>h1{padding:18px;margin:0;border-bottom:1px solid #44301e}.conversation article{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:14px 18px;border-bottom:1px solid #3b291a}.conversation article header{display:flex;gap:10px;align-items:center}.conversation article header a{font-weight:900;color:#ff9310}.conversation article header time{color:#77604a;font-size:11px}.conversation article p{margin:6px 0 0;color:#ddd;white-space:pre-wrap}.message-row{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:12px;border-bottom:1px solid #3c291a}.message-row:hover{background:#2a1d12}.message-row p{margin:2px 0;color:#80684d}.message-row time{font-size:11px;color:#765f47}
.game-detail{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.game-play{text-align:center}.shop-detail{display:flex;gap:24px;align-items:center;padding:28px}.shop-detail-icon{font-size:80px;display:grid;place-items:center;width:140px;height:140px;background:#1c120b;border:1px solid #5c3c20;border-radius:12px}.shop-detail h1{margin:5px 0;font-size:30px}.shop-detail p{color:#9a7d5d;max-width:600px}.shop-detail strong{display:block;color:#ffad26;font-size:20px;margin:15px 0}.shop-item em{font-style:normal;font-size:10px;color:#92704c}.danger-zone{border-color:#6e2b24!important}.danger-zone p{color:#c59b91}.appeal-row{border-bottom:1px solid #3b291b;padding:10px 0}.appeal-row b{color:#ff9a12}.appeal-row span{float:right;color:#b79262}.appeal-row p{color:#8c7253}
.private-key code{word-break:break-all}.form-panel hr,.settings-main hr{border:0;border-top:1px solid #44301e;margin:18px 0}.search-page.panel{grid-template-columns:2fr 1fr 1fr auto}.site-footer nav{flex-wrap:wrap}.prose code{display:block;background:#170f09;border:1px solid #3d2a1a;border-radius:5px;padding:10px;margin:7px 0;color:#ffb544}
@media(max-width:850px){.settings-shell{grid-template-columns:1fr}.settings-nav{position:static;display:grid;grid-template-columns:repeat(2,1fr)}.follow-grid{grid-template-columns:1fr 1fr}.game-detail{grid-template-columns:1fr}.security-log>div{grid-template-columns:1fr}.search-page.panel{grid-template-columns:1fr}.consent-banner{align-items:stretch;flex-direction:column}.consent-banner>div:last-child{justify-content:flex-end}}
@media(max-width:560px){.follow-grid{grid-template-columns:1fr}.settings-nav{grid-template-columns:1fr 1fr}.shop-detail{align-items:flex-start;flex-direction:column}.shop-detail-icon{width:100%;height:110px}.consent-banner>div:last-child{display:grid;grid-template-columns:1fr 1fr}.post-attachments{width:100%}}
.post-card footer .post-action-link,.topic-actions a{border:1px solid #4a321f;background:#21160d;color:#a98a65;border-radius:5px;padding:6px 9px;font-weight:800;font-size:12px}.post-card footer .post-action-link:hover,.topic-actions a:hover{color:#ff9b18;border-color:#7b4b19}.post-card footer .post-action-link.danger,.topic-actions a.danger{color:#dc7770}.post-card footer .post-action-link.danger:hover,.topic-actions a.danger:hover{border-color:#7a302a;color:#ff8b82}

/* Edytor i zapisane posty */
.post-code{margin:12px 0;padding:14px;border:1px solid #4b3320;border-radius:9px;background:#100b07;overflow:auto;white-space:pre-wrap}.inline-code{padding:2px 5px;border-radius:4px;background:#120c07;border:1px solid #49301c;color:#f0be7d}.post-content blockquote{margin:10px 0;padding:10px 14px;border-left:3px solid #ed8100;background:#1a1109;color:#ccb08c}.post-spoiler{display:inline-block;padding:1px 5px;border-radius:4px;background:#0b0806;color:transparent;cursor:pointer;transition:.18s}.post-spoiler:hover,.post-spoiler:focus{color:inherit;background:#2b1d10}.quote-jump{font-size:12px;color:#e58a1b}.saved-posts{display:grid;gap:10px}.saved-post{display:block;padding:14px 16px;border:1px solid #44301e;background:#21160d;border-radius:10px;text-decoration:none;color:inherit}.saved-post:hover{border-color:#84541e;background:#27190d}.saved-post strong{display:block;color:#fff;margin-bottom:4px}.saved-post small{color:#b28a5b}.saved-post p{margin:8px 0 0;color:#c8b79f}.post-card footer button.active{color:#ff9800;border-color:#7a4b14}
.forum-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.forum-head-actions .active{color:#ff9700;border-color:#704716}
.reaction-picker{display:inline-flex;align-items:center;gap:3px;padding:2px 5px;border:1px solid #3f2a19;border-radius:8px;background:#181008}.reaction-picker button{min-width:28px;padding:5px 6px;border:0;background:transparent;border-radius:6px;cursor:pointer;filter:saturate(.7);opacity:.72}.reaction-picker button:hover,.reaction-picker button.active{background:#3a2410;opacity:1;filter:none;transform:translateY(-1px)}.reaction-picker>b{min-width:20px;text-align:center;color:#bda27e;font-size:11px}.reaction-total{color:#a98c68;font-size:12px}


/* Rankingi definiowane w ACP */
.ranking-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.ranking-tabs a{padding:9px 13px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.025);color:var(--muted);font-weight:700}.ranking-tabs a:hover,.ranking-tabs a.active{color:#fff;border-color:rgba(255,135,0,.45);background:rgba(255,135,0,.12)}.ranking-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.ranking-caption span{color:var(--muted);font-size:12px}


/* ==== V2.1 visual polish: hover, animation, stronger ViSite-style cohesion ==== */
:root{
  --lift-fast:.18s;
  --lift-mid:.28s;
  --lift-slow:.42s;
  --ease-out:cubic-bezier(.22,.61,.36,1);
  --glow-orange:0 0 0 1px rgba(255,137,0,.16),0 12px 34px rgba(0,0,0,.34),0 0 24px rgba(255,137,0,.08);
}
body::before,body::after{
  content:'';
  position:fixed;
  inset:auto;
  width:38vw;
  height:38vw;
  border-radius:50%;
  pointer-events:none;
  z-index:-1;
  filter:blur(75px);
  opacity:.14;
}
body::before{left:-12vw;top:70px;background:radial-gradient(circle,#f08c12 0,rgba(240,140,18,.25) 22%,rgba(240,140,18,0) 72%)}
body::after{right:-14vw;top:26vh;background:radial-gradient(circle,#8248ff 0,rgba(130,72,255,.16) 16%,rgba(130,72,255,0) 70%)}

.topbar{
  background:rgba(21,16,6,.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.topbar::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,137,0,.34),transparent);
}
.brand,.brand-v,.brand-mini,.main-nav a,.icon-btn,.coin-btn,.user-trigger,.btn,.forum-row,.topic-row,.spot-item,.poster,.chat-message,.admin-card,.plugin-card,.profile-stats>article,.profile-stats>div,.profile-social-actions a,.profile-social-actions button,.settings-nav a,.forum-icon,.user-chips a,.reaction-picker button,.post-card,.panel,.form-panel,.spot-controls button,.chat-tabs button,.message-row,.forum-page-icon,.section-icon,.mini-avatar,.partners>div>a{
  transition:transform var(--lift-mid) var(--ease-out),box-shadow var(--lift-mid) var(--ease-out),border-color var(--lift-mid) var(--ease-out),background-color var(--lift-mid) var(--ease-out),color var(--lift-fast) ease,opacity var(--lift-fast) ease;
}

.main-nav a{
  position:relative;
  padding:10px 0;
}
.main-nav a::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:3px;height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(255,137,0,0),rgba(255,137,0,.95),rgba(255,185,75,.6),rgba(255,137,0,0));
  transform:scaleX(.18);
  transform-origin:center;
  opacity:0;
}
.main-nav a:hover,.main-nav a:focus-visible{color:#fff;transform:translateY(-1px)}
.main-nav a:hover::after,.main-nav a:focus-visible::after{opacity:1;transform:scaleX(1)}
.main-nav a:hover span,.main-nav a:focus-visible span{color:#ffae3d}
.brand:hover{transform:translateY(-2px) scale(1.02);filter:drop-shadow(0 8px 20px rgba(255,137,0,.18))}

.icon-btn:hover,.coin-btn:hover,.user-trigger:hover,.btn:hover,.spot-controls button:hover,.chat-tabs button:hover,.topic-actions a:hover,.post-card footer .post-action-link:hover,.profile-social-actions a:hover,.profile-social-actions button:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.24),0 0 0 1px rgba(255,137,0,.12);
}
.btn-primary:hover{
  box-shadow:0 12px 30px rgba(255,137,0,.24),0 0 0 1px rgba(255,173,74,.2);
}
.icon-btn:active,.coin-btn:active,.user-trigger:active,.btn:active,.spot-controls button:active,.chat-tabs button:active{transform:translateY(0) scale(.98)}

.search-drawer{
  display:block;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-10px);
  transition:opacity var(--lift-mid) ease,transform var(--lift-mid) var(--ease-out),visibility 0s linear var(--lift-mid);
}
.search-drawer.open{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s;
}
.user-dropdown{
  display:block;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(10px) scale(.985);
  transition:opacity var(--lift-mid) ease,transform var(--lift-mid) var(--ease-out),visibility 0s linear var(--lift-mid);
}
.user-dropdown.open{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition-delay:0s;
}

.info-banner,.chatbox-card,.spotlight-card,.forum-block,.panel,.form-panel,.profile-hero,.admin-card,.plugin-card,.settings-nav,.settings-main,.auth-card,.conversation,.consent-banner{
  position:relative;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}
.info-banner::after,.chatbox-card::after,.spotlight-card::after,.forum-block::after,.panel::after,.form-panel::after,.profile-hero::after,.admin-card::after,.plugin-card::after,.settings-nav::after,.settings-main::after,.auth-card::after,.conversation::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(255,255,255,.05),transparent 24%,transparent 72%,rgba(255,153,0,.045));
  opacity:.45;
  pointer-events:none;
}

.chatbox-card:hover,.spotlight-card:hover,.forum-block:hover,.panel:hover,.form-panel:hover,.profile-hero:hover,.admin-card:hover,.plugin-card:hover,.auth-card:hover{
  border-color:#664427;
  box-shadow:0 18px 42px rgba(0,0,0,.24),0 0 0 1px rgba(255,137,0,.08);
}

.chat-message{
  position:relative;
}
.chat-message:hover{
  background:linear-gradient(90deg,rgba(255,145,0,.08),rgba(255,145,0,.02) 18%,transparent 70%);
}
.chat-message::before,.forum-row::before,.topic-row::before,.message-row::before{
  content:'';
  position:absolute;
  left:0;top:0;bottom:0;width:2px;
  background:linear-gradient(180deg,rgba(255,137,0,0),rgba(255,137,0,.9),rgba(255,137,0,0));
  opacity:0;
  transform:scaleY(.4);
  transform-origin:center;
  transition:opacity var(--lift-mid) ease,transform var(--lift-mid) var(--ease-out);
}
.chat-message:hover::before,.forum-row:hover::before,.topic-row:hover::before,.message-row:hover::before{opacity:1;transform:scaleY(1)}

.forum-row,.topic-row,.message-row,.saved-post,.follow-grid>a,.request-list form,.security-log>div,.plugin-card,.admin-kpis article,.badge-admin-grid article,.poll-option,.post-attachments a,.ranking-tabs a,.ranking-list>a{
  position:relative;
}
.forum-row:hover,.topic-row:hover,.message-row:hover,.saved-post:hover,.follow-grid>a:hover,.request-list form:hover,.security-log>div:hover,.admin-kpis article:hover,.ranking-list>a:hover{
  transform:translateY(-2px);
  border-color:#684524;
  box-shadow:var(--glow-orange);
}
.forum-row:hover{
  background:linear-gradient(90deg,rgba(255,137,0,.10),rgba(255,137,0,.035) 22%,transparent 70%);
}
.topic-row:hover,.message-row:hover{
  background:linear-gradient(90deg,rgba(255,137,0,.085),rgba(255,137,0,.03) 26%,transparent 72%);
}
.forum-row:hover .forum-icon,.topic-row:hover .topic-thumb,.forum-row:hover .forum-page-icon,.topic-row:hover .forum-page-icon,.forum-row:hover .mini-avatar,.topic-row:hover .mini-avatar{
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 10px 26px rgba(255,137,0,.18);
}
.forum-main strong,.topic-main strong,.topic-main h3,.forum-page-head h1,.topic-page-head h1,.profile-id strong,.profile-id h1{transition:color var(--lift-fast) ease}
.forum-row:hover .forum-main strong,.topic-row:hover .topic-main strong,.topic-row:hover .topic-main h3,.saved-post:hover strong{color:#fff}
.forum-row:hover .forum-main p,.topic-row:hover .topic-byline,.message-row:hover p{color:#c9ae8e}

.spot-item{transform-origin:center bottom}
.spot-item:hover{transform:translateY(-6px) scale(1.02)}
.spot-item:hover .poster{box-shadow:0 16px 34px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.08),0 0 0 1px rgba(255,145,0,.16) inset}
.spot-item:hover>small,.spot-item:hover>span,.spot-item:hover>a{color:#fff}
.poster{position:relative;overflow:hidden}
.poster::after{
  content:'';
  position:absolute;inset:-35% auto -35% -110%;width:45%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:skewX(-20deg);
  transition:left .7s var(--ease-out);
}
.spot-item:hover .poster::after{left:130%}

.reaction-picker button:hover,.reaction-picker button.active{box-shadow:0 7px 18px rgba(255,137,0,.18)}
.avatar{box-shadow:0 6px 18px rgba(0,0,0,.18)}
.avatar:hover{transform:translateY(-1px)}
.online-dot{box-shadow:0 0 0 2px rgba(17,201,120,.12),0 0 12px rgba(17,201,120,.5)}
.role-pill{box-shadow:0 5px 14px rgba(0,0,0,.15)}

.profile-stats>article,.profile-stats>div,.admin-kpis article,.badge-showcase>div>article,.shop-item,.auction-grid>a,.games-grid>a,.inventory-grid>a,.people-grid>a{
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.04));
}
.profile-stats>article:hover,.profile-stats>div:hover,.badge-showcase>div>article:hover,.shop-item:hover,.auction-grid>a:hover,.games-grid>a:hover,.inventory-grid>a:hover,.people-grid>a:hover{
  transform:translateY(-4px);
  border-color:#70491f;
  box-shadow:0 16px 34px rgba(0,0,0,.26),0 0 0 1px rgba(255,137,0,.10);
}

.settings-nav a::after,.ud-links a::after{
  content:'›';
  opacity:0;
  margin-left:auto;
  transform:translateX(-5px);
  transition:opacity var(--lift-fast) ease,transform var(--lift-mid) var(--ease-out);
}
.settings-nav a:hover::after,.settings-nav a.active::after,.ud-links a:hover::after{opacity:.9;transform:translateX(0)}
.user-chips a:hover,.partners>div>a:hover{
  transform:translateY(-2px);
  border-color:#6d4723;
  box-shadow:0 10px 24px rgba(0,0,0,.2);
}

.reply-box textarea,.chat-input input,.search-drawer input,input[type=text],input[type=email],input[type=password],input[type=search],select,textarea{
  transition:border-color var(--lift-fast) ease,box-shadow var(--lift-mid) ease,background-color var(--lift-mid) ease;
}
.reply-box textarea:focus,.chat-input input:focus,.search-drawer input:focus,input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,input[type=search]:focus,select:focus,textarea:focus{
  outline:none;
  border-color:#8a551b;
  box-shadow:0 0 0 3px rgba(255,137,0,.12),0 12px 24px rgba(0,0,0,.15);
  background:#21160d;
}

.notify-btn b,.coins-pill,.coin-btn{
  box-shadow:0 7px 16px rgba(0,0,0,.18);
}
.coin-btn:hover{filter:brightness(1.05)}
.site-footer nav a{position:relative;color:#9f8059;transition:color var(--lift-fast) ease}
.site-footer nav a::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:1px;background:rgba(255,137,0,.75);transform:scaleX(.2);opacity:0;transition:transform var(--lift-mid) var(--ease-out),opacity var(--lift-mid) ease}
.site-footer nav a:hover{color:#f8e5ce}.site-footer nav a:hover::after{transform:scaleX(1);opacity:1}

/* Scroll reveal hook classes */
.reveal-in{opacity:0;transform:translateY(22px) scale(.985)}
.reveal-in.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  .reveal-in,.reveal-in.is-visible,.main-nav a,.icon-btn,.coin-btn,.user-trigger,.btn,.forum-row,.topic-row,.spot-item,.poster,.chat-message,.admin-card,.plugin-card,.profile-stats>article,.profile-stats>div,.profile-social-actions a,.profile-social-actions button,.settings-nav a,.forum-icon,.user-chips a,.reaction-picker button,.post-card,.panel,.form-panel,.spot-controls button,.chat-tabs button,.message-row,.forum-page-icon,.section-icon,.mini-avatar,.partners>div>a,.user-dropdown,.search-drawer{
    transition:none!important;
    animation:none!important;
    transform:none!important;
  }
  body::before,body::after{display:none}
}


/* ==== V2.2 UX polish: forum list / profile / chatbox / spotlight / sidebars ==== */
:root{
  --v22-line:rgba(255,255,255,.07);
  --v22-orange:#ff8d08;
  --v22-orange-soft:rgba(255,141,8,.11);
  --v22-panel:rgba(39,25,15,.92);
  --v22-panel-deep:rgba(25,16,10,.96);
  --v22-ease:cubic-bezier(.2,.72,.24,1);
}

/* 1. Mocniejsza lista działów */
.forum-block{
  border:1px solid rgba(124,82,42,.38);
  background:linear-gradient(180deg,rgba(39,26,16,.96),rgba(29,18,11,.98));
  border-radius:12px;
  box-shadow:0 18px 45px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.025);
  margin-bottom:18px;
}
.forum-block-head{
  min-height:54px;
  padding:0 16px;
  background:linear-gradient(180deg,rgba(49,33,20,.96),rgba(38,25,15,.94));
  border-bottom:1px solid rgba(120,81,43,.32);
  position:relative;
}
.forum-block-head::after{
  content:'';
  position:absolute;
  left:12px;right:12px;bottom:-1px;height:1px;
  background:linear-gradient(90deg,rgba(255,141,8,.72),rgba(255,141,8,.12) 28%,transparent 72%);
  opacity:.7;
}
.forum-block-head>span:first-child{
  width:30px;height:30px;border-radius:9px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(255,141,8,.18),rgba(255,141,8,.04));
  border:1px solid rgba(255,141,8,.16);
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}
.forum-block-head>strong{
  letter-spacing:.11em;
  font-size:11px;
  text-transform:uppercase;
  color:#f4eee7;
}
.forum-block-head>div{
  color:#725b41;
  font-size:9px;
  letter-spacing:.1em;
  font-weight:900;
}
.forum-block-head>button{
  width:30px;height:30px;
  border:1px solid rgba(119,79,42,.42);
  border-radius:7px;
  background:#21160e;
  color:#947653;
  transition:.25s var(--v22-ease);
}
.forum-block-head>button:hover{color:#ffad3e;border-color:rgba(255,141,8,.46);background:#2c1c0f;transform:translateY(-1px)}
.forum-block.is-collapsed .forum-block-head>button{transform:rotate(180deg)}
.forum-block .forum-row{
  min-height:78px;
  padding:12px 16px;
  border-top:1px solid rgba(255,255,255,.045);
  background:linear-gradient(90deg,rgba(255,255,255,.008),rgba(255,255,255,0));
  position:relative;
  isolation:isolate;
  max-height:180px;
  opacity:1;
  overflow:hidden;
  transition:max-height .34s var(--v22-ease),padding .34s var(--v22-ease),opacity .24s ease,transform .24s var(--v22-ease),background .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.forum-block .forum-row:first-of-type{border-top:0}
.forum-block .forum-row::after{
  content:'›';
  position:absolute;
  right:11px;top:50%;
  transform:translate(-5px,-50%);
  color:#ff9b1b;
  font-size:22px;
  opacity:0;
  transition:.24s var(--v22-ease);
}
.forum-block .forum-row:hover{
  z-index:2;
  background:linear-gradient(90deg,rgba(255,141,8,.095),rgba(255,141,8,.022) 35%,rgba(255,255,255,.01));
  border-color:rgba(255,141,8,.16);
  box-shadow:inset 3px 0 0 rgba(255,141,8,.92),0 9px 26px rgba(0,0,0,.2);
  transform:translateX(2px);
}
.forum-block .forum-row:hover::after{opacity:.85;transform:translate(0,-50%)}
.forum-block.is-collapsed .forum-row{max-height:0;min-height:0;padding-top:0;padding-bottom:0;opacity:0;border-top-color:transparent;pointer-events:none}
.forum-icon{
  width:42px;height:42px;
  border-radius:9px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#312316,#20160e);
  border:1px solid rgba(255,255,255,.07);
  color:#f0b05c;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 7px 18px rgba(0,0,0,.18);
}
.forum-row:hover .forum-icon{
  background:linear-gradient(145deg,rgba(255,141,8,.20),rgba(48,29,13,.96));
  border-color:rgba(255,141,8,.33);
  color:#ffc06a;
  transform:translateY(-2px) rotate(-2deg) scale(1.05);
}
.forum-main strong{font-size:14px;letter-spacing:-.01em}
.forum-main p{margin-top:3px;color:#8e7354}
.forum-count{
  padding:8px 10px;
  border-left:1px solid rgba(255,255,255,.045);
  text-align:center;
}
.forum-count b{font-size:18px;color:#f4eee7;line-height:1}
.forum-count span{display:block;color:#796146;font-size:8px;letter-spacing:.11em;margin-top:3px}
.forum-last{
  padding:6px 20px 6px 12px;
  border-left:1px solid rgba(255,255,255,.045);
  border-radius:8px;
}
.forum-row:hover .forum-last{background:rgba(255,141,8,.035)}
.forum-last strong{color:#e9dfd2}.forum-last span{color:#846849}
.mini-tags span{
  border:1px solid rgba(123,82,46,.48);
  background:rgba(255,141,8,.035);
  transition:.2s ease;
}
.forum-row:hover .mini-tags span{border-color:rgba(255,141,8,.22);color:#bd966d;background:rgba(255,141,8,.07)}

/* 2. Profil użytkownika */
.profile-hero{
  min-height:220px;
  padding:28px;
  border-radius:13px;
  background:
    radial-gradient(circle at 8% 10%,rgba(255,141,8,.11),transparent 28%),
    radial-gradient(circle at 86% 0,rgba(113,75,255,.08),transparent 24%),
    linear-gradient(145deg,rgba(43,29,18,.98),rgba(31,20,12,.98));
  border:1px solid rgba(127,83,43,.4);
  box-shadow:0 22px 50px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.035);
  isolation:isolate;
}
.profile-ambient{
  position:absolute;
  inset:-60% 50% auto -15%;
  height:260px;
  background:radial-gradient(ellipse at center,rgba(255,141,8,.14),transparent 66%);
  filter:blur(18px);
  pointer-events:none;
  z-index:-1;
}
.profile-id{align-items:flex-start;gap:18px}
.profile-id .avatar-xl{
  width:86px;height:86px;
  border:2px solid rgba(255,141,8,.28);
  box-shadow:0 16px 40px rgba(0,0,0,.3),0 0 0 5px rgba(255,141,8,.035);
}
.profile-identity{min-width:0}
.profile-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-name-row h1{margin:0;font-size:26px;letter-spacing:-.03em}
.profile-name-row .role-pill{font-size:9px;padding:4px 8px}
.profile-identity>p{margin:4px 0 9px;color:#8e7253}
.profile-rankline{display:flex;flex-wrap:wrap;gap:7px}
.profile-rankline span{
  display:inline-flex;align-items:center;gap:5px;
  border:1px solid rgba(116,77,42,.44);
  border-radius:7px;
  padding:5px 8px;
  background:rgba(19,13,8,.38);
  color:#b99468;
  font-size:11px;
}
.profile-rankline span:last-child{color:#eeb42b;border-color:rgba(222,165,34,.2)}
.profile-info{gap:8px}
.profile-info>div{
  min-height:62px;
  border:1px solid rgba(115,76,42,.38);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(25,17,10,.54),rgba(18,12,8,.34));
  padding:10px 12px;
  transition:.24s var(--v22-ease);
}
.profile-info>div:hover{transform:translateY(-2px);border-color:rgba(255,141,8,.28);background:rgba(255,141,8,.035)}
.profile-info small{display:block;color:#84684a;letter-spacing:.12em;font-size:8px;margin-bottom:6px}
.profile-info strong{font-size:12px}
.profile-stats{gap:10px;margin-top:14px}
.profile-stats>div{
  min-height:105px;
  border-radius:10px;
  background:linear-gradient(145deg,rgba(45,30,18,.98),rgba(32,21,13,.98));
  border:1px solid rgba(118,77,40,.34);
  position:relative;
  overflow:hidden;
}
.profile-stats>div::after{
  content:'';
  position:absolute;inset:auto -35px -55px auto;width:120px;height:120px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,141,8,.10),transparent 68%);
  transition:.28s var(--v22-ease);
}
.profile-stats>div:hover{transform:translateY(-5px);border-color:rgba(255,141,8,.36);box-shadow:0 18px 38px rgba(0,0,0,.27),0 0 25px rgba(255,141,8,.055)}
.profile-stats>div:hover::after{transform:scale(1.25)}
.profile-stats>div span{font-size:22px;filter:drop-shadow(0 6px 12px rgba(0,0,0,.3))}
.profile-stats>div b{font-size:25px;letter-spacing:-.04em}
.profile-stats>div small{text-transform:uppercase;letter-spacing:.08em;font-size:9px}
.referral-card{
  border-radius:10px;
  background:linear-gradient(90deg,rgba(255,141,8,.06),rgba(39,25,15,.95) 38%);
  border-color:rgba(255,141,8,.18);
}
.profile-tabs{
  position:sticky;
  top:70px;
  z-index:18;
  backdrop-filter:blur(12px);
  background:rgba(32,21,13,.86);
  border-radius:9px 9px 0 0;
  box-shadow:0 8px 26px rgba(0,0,0,.12);
}
.profile-tabs button{position:relative;transition:.24s var(--v22-ease)}
.profile-tabs button:hover{color:#f5e7d5;background:rgba(255,141,8,.055)}
.profile-tabs button.active{color:#ff9816}
.profile-tabs button.active::after{content:'';position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:linear-gradient(90deg,transparent,#ff8d08,transparent)}
.profile-level,.badge-showcase{border-radius:11px;box-shadow:0 18px 42px rgba(0,0,0,.18)}
.progress{height:8px;background:#17100a;box-shadow:inset 0 1px 3px #000}
.progress i{background:linear-gradient(90deg,#4f98ff,#6cb7ff 44%,#ff9a20);box-shadow:0 0 16px rgba(78,155,255,.27)}

/* 3. Chatbox */
.chatbox-card{
  border-radius:13px;
  border-color:rgba(122,79,41,.48);
  background:
    radial-gradient(circle at 8% 0,rgba(255,141,8,.07),transparent 31%),
    linear-gradient(180deg,rgba(43,29,17,.98),rgba(31,20,12,.99));
  box-shadow:0 22px 50px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.035);
}
.chatbox-card>header{height:50px;background:rgba(24,16,10,.22)}
.chatbox-card>header strong{display:flex;align-items:center;gap:7px}
.chat-live-dot{width:7px;height:7px;border-radius:50%;background:#15d587;box-shadow:0 0 0 3px rgba(21,213,135,.08),0 0 10px rgba(21,213,135,.45);animation:chatLive 1.8s ease-in-out infinite}
@keyframes chatLive{50%{opacity:.45;box-shadow:0 0 0 5px rgba(21,213,135,.03),0 0 5px rgba(21,213,135,.2)}}
.chat-head-actions{display:flex;gap:5px}
.chat-head-actions button{width:29px;height:29px;transition:.22s var(--v22-ease)}
.chat-head-actions button:hover{color:#ffae3b;border-color:rgba(255,141,8,.38);transform:translateY(-1px)}
.chat-tabs{display:flex;align-items:center;gap:4px;padding:9px 12px;background:rgba(18,12,8,.14)}
.chat-tabs button{border-radius:7px;padding:7px 12px;font-size:11px;font-weight:800}
.chat-tabs button span{font-size:8px;opacity:.7}
.chat-presence{margin-left:auto;color:#6f5a43;font-size:10px}.chat-presence::first-letter{color:#17cd82}
.chat-scroll{height:300px;scrollbar-color:#6c4a2b #1b120b;scrollbar-width:thin;scroll-behavior:smooth}
.chat-scroll::-webkit-scrollbar{width:7px}.chat-scroll::-webkit-scrollbar-track{background:#1b120b}.chat-scroll::-webkit-scrollbar-thumb{background:#5d3e24;border-radius:10px;border:2px solid #1b120b}
.chat-message{padding:13px 16px;gap:12px;min-height:64px}
.chat-message:hover{background:linear-gradient(90deg,rgba(255,141,8,.075),rgba(255,141,8,.018) 42%,transparent)}
.chat-message.is-new{animation:chatMessageIn .38s var(--v22-ease) both}
@keyframes chatMessageIn{from{opacity:0;transform:translateY(8px);background:rgba(255,141,8,.1)}to{opacity:1;transform:none;background:transparent}}
.chat-meta{gap:7px}.chat-meta a{font-size:12px}.chat-meta time{margin-left:1px;opacity:.75}.chat-message p{font-size:12px;line-height:1.55;margin-top:6px}
.chat-input{padding:10px 13px;background:rgba(20,13,8,.6);position:relative}
.chat-compose{position:relative;flex:1;display:flex;align-items:center}
.chat-compose>input{width:100%;padding-right:112px!important;height:40px;background:#1c120b!important;border-color:#54371f!important}
.chat-compose>input:focus{border-color:#9a5b1a!important;box-shadow:0 0 0 3px rgba(255,141,8,.09)!important}
.chat-tools{position:absolute;right:7px;display:flex;align-items:center;gap:1px}
.chat-tools button{width:29px;height:29px;border-radius:7px;border:0;background:transparent;color:#947352;font-size:16px;display:grid;place-items:center;transition:.2s var(--v22-ease)}
.chat-tools button:hover{color:#ffad3f;background:rgba(255,141,8,.08);transform:translateY(-1px)}
.chat-tools .chat-send{color:#ff9a16;font-size:19px}.chat-tools .chat-send:hover{background:rgba(255,141,8,.13)}
.chat-emoji-panel{
  position:absolute;
  right:40px;bottom:45px;
  width:260px;
  padding:10px;
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:4px;
  border:1px solid rgba(121,80,42,.55);
  border-radius:11px;
  background:rgba(35,23,14,.98);
  box-shadow:0 22px 55px rgba(0,0,0,.52);
  backdrop-filter:blur(12px);
  z-index:25;
  transform-origin:bottom right;
  animation:emojiPop .18s var(--v22-ease) both;
}
.chat-emoji-panel[hidden]{display:none}
.chat-emoji-panel button{border:0;background:transparent;border-radius:7px;font-size:18px;padding:5px;transition:.16s ease}
.chat-emoji-panel button:hover{background:rgba(255,141,8,.1);transform:scale(1.15)}
@keyframes emojiPop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
.chatbox-card.is-collapsed .chat-tabs,.chatbox-card.is-collapsed .chat-scroll,.chatbox-card.is-collapsed .chat-input{display:none}
.chatbox-card.is-expanded{position:fixed;z-index:180;left:50%;top:50%;width:min(1120px,calc(100vw - 40px));height:min(720px,calc(100vh - 40px));transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax rgba(0,0,0,.82),0 30px 90px #000}
.chatbox-card.is-expanded .chat-scroll{height:calc(100% - 143px)}

/* 4. Spotlight / kafelki */
.spotlight-card{
  border-radius:13px;
  padding:18px;
  border-color:rgba(126,83,43,.4);
  background:
    radial-gradient(circle at 100% 0,rgba(255,141,8,.065),transparent 30%),
    linear-gradient(180deg,rgba(40,27,17,.98),rgba(31,20,12,.98));
}
.spotlight-card header h2{font-size:19px;letter-spacing:-.02em}.spotlight-card header small{font-weight:800;letter-spacing:.04em}.spotlight-card header p{max-width:700px}
.spot-track{gap:12px;padding:16px 3px 5px;perspective:900px}
.spot-item{min-width:142px;width:142px;position:relative}
.spot-item>small{margin-top:8px;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#8c7050}
.spot-item>strong{display:block;margin-top:4px;font-size:11px;line-height:1.45;color:#f0e7de}
.poster{
  height:195px;
  padding:10px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.07);
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.1) 55%,rgba(0,0,0,.72)),
    var(--poster-image,linear-gradient(135deg,#18364a,#081018));
  background-size:cover;
  background-position:center;
  box-shadow:0 13px 28px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.02);
  transform-style:preserve-3d;
}
.poster.has-image .poster-letter{opacity:0}
.poster-topline,.poster-bottom{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:6px}
.poster-topline em{font-style:normal;font-size:8px;text-transform:uppercase;letter-spacing:.07em;padding:3px 5px;background:rgba(12,8,5,.68);border:1px solid rgba(255,255,255,.08);border-radius:4px;color:#e8cfb0;backdrop-filter:blur(6px)}
.poster-topline b{color:#ffc55d;font-size:11px;filter:drop-shadow(0 2px 8px #000)}
.poster-letter{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);font-size:54px!important;opacity:.68!important;text-shadow:0 10px 24px rgba(0,0,0,.4)}
.poster-bottom small{color:#fff!important;text-shadow:0 2px 8px #000;font-size:9px}.poster-bottom i{font-style:normal;font-size:7px;text-transform:uppercase;letter-spacing:.06em;color:#ffc76e;background:rgba(255,141,8,.12);border:1px solid rgba(255,141,8,.25);border-radius:4px;padding:3px 5px}
.spot-item:hover{transform:translateY(-7px) scale(1.018)}
.spot-item:hover .poster{border-color:rgba(255,141,8,.38);box-shadow:0 20px 38px rgba(0,0,0,.38),0 0 22px rgba(255,141,8,.08)}
.spot-item:hover>strong{color:#fff}.spot-item:hover>small{color:#c09565}
.spot-controls button{border-radius:7px}.spot-controls button:hover{background:rgba(255,141,8,.075);border-color:rgba(255,141,8,.34);color:#e9c59a}

/* 5. Sidebar / ustawienia / ACP */
.settings-nav{
  border-radius:11px;
  padding:7px;
  background:linear-gradient(180deg,rgba(36,23,14,.98),rgba(27,18,11,.98));
  border-color:rgba(124,82,43,.4);
  box-shadow:0 18px 44px rgba(0,0,0,.22);
  overflow:visible;
}
.settings-nav-head{
  display:flex;align-items:center;gap:10px;
  padding:12px 10px 14px;
  border-bottom:1px solid rgba(255,255,255,.055);
  margin-bottom:5px;
}
.settings-nav-head>span{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:rgba(255,141,8,.09);border:1px solid rgba(255,141,8,.17);color:#ff9c1d}
.settings-nav-head strong,.settings-nav-head small{display:block}.settings-nav-head small{font-size:9px;color:#765e44;margin-top:2px}
.settings-nav a{
  display:flex!important;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:9px 10px!important;
  border:1px solid transparent;
  border-bottom:1px solid rgba(255,255,255,.025);
  border-left:0!important;
  border-radius:8px;
  margin:2px 0;
  position:relative;
  overflow:hidden;
}
.settings-nav a::before{
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,#ffb040,#ff7c00);
  transform:scaleY(0);
  border-radius:0 3px 3px 0;
  transition:.22s var(--v22-ease);
}
.settings-nav a::after{margin-left:auto!important}
.settings-nav a:hover,.settings-nav a.active{
  color:#f8ecde;
  background:linear-gradient(90deg,rgba(255,141,8,.10),rgba(255,141,8,.025));
  border-color:rgba(255,141,8,.11);
  transform:translateX(3px);
  padding-left:10px!important;
}
.settings-nav a:hover::before,.settings-nav a.active::before{transform:scaleY(1)}
.settings-nav a.active{color:#ff9b16;box-shadow:inset 0 0 22px rgba(255,141,8,.035)}
.settings-nav-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#1b120b;border:1px solid rgba(255,255,255,.045);color:#997755;transition:.22s var(--v22-ease)}
.settings-nav a:hover .settings-nav-icon,.settings-nav a.active .settings-nav-icon{color:#ffac38;border-color:rgba(255,141,8,.22);background:rgba(255,141,8,.07);transform:rotate(-3deg) scale(1.04)}
.settings-main{border-radius:11px;background:linear-gradient(180deg,rgba(40,27,17,.97),rgba(31,20,12,.98));border-color:rgba(123,81,43,.4)}
.settings-main>h2{display:flex;align-items:center;gap:8px;font-size:19px}.settings-main>h2::before{content:'';width:4px;height:20px;border-radius:5px;background:linear-gradient(180deg,#ffb347,#ff7d00);box-shadow:0 0 14px rgba(255,141,8,.18)}
.settings-main label:not(.switch){display:grid;gap:6px;color:#ae8c66;font-size:11px}
.switch{padding:10px 8px;border-radius:8px;transition:.22s var(--v22-ease)}
.switch:hover{background:rgba(255,141,8,.035);color:#e5d5c2;transform:translateX(2px)}

.admin-nav>a{position:relative;overflow:hidden;border:1px solid transparent;transition:.22s var(--v22-ease)}
.admin-nav>a::before{content:'';position:absolute;left:0;top:7px;bottom:7px;width:2px;border-radius:10px;background:#ff8b08;transform:scaleY(0);transition:.2s var(--v22-ease)}
.admin-nav>a:hover,.admin-nav>a.active{transform:translateX(3px);border-color:rgba(255,141,8,.1);box-shadow:inset 0 0 18px rgba(255,141,8,.025)}
.admin-nav>a:hover::before,.admin-nav>a.active::before{transform:scaleY(1)}
.ud-links a{display:flex!important;align-items:center;gap:8px;position:relative;border-left:2px solid transparent;transition:.2s var(--v22-ease)}
.ud-links a:hover{padding-left:21px;border-left-color:#ff8b08;background:linear-gradient(90deg,rgba(255,141,8,.09),rgba(255,141,8,.01));color:#f3e5d4}

/* Drobne spójności */
.topic-row:focus-visible,.forum-row:focus-visible,.message-row:focus-visible{outline:2px solid rgba(255,141,8,.48);outline-offset:-2px}
.home-title-row .section-icon{box-shadow:0 9px 24px rgba(255,141,8,.08)}
.section-heading h1 strong,.section-heading h1 b{color:#ff9b15}

@media(max-width:780px){
  .profile-tabs{position:static;overflow:auto;white-space:nowrap}
  .profile-hero{padding:20px}.profile-id .avatar-xl{width:72px;height:72px}.profile-name-row h1{font-size:23px}
  .chatbox-card.is-expanded{width:calc(100vw - 16px);height:calc(100vh - 16px)}
  .spot-item{min-width:128px;width:128px}.poster{height:176px}
  .settings-nav-head{display:none}
}
@media(max-width:560px){
  .forum-block .forum-row{padding-left:10px;padding-right:10px}.forum-icon{width:36px;height:36px}
  .profile-rankline{gap:5px}.profile-rankline span{font-size:10px;padding:4px 6px}
  .chat-emoji-panel{right:0;width:240px;grid-template-columns:repeat(6,1fr)}
  .chat-compose>input{padding-right:105px!important}
}

/* ==== V2.3 · closer ViSite 1:1 pass (settings / profile / badges / global density) ==== */
:root{
  --bg:#1a1208;
  --bg2:#1e170d;
  --panel:#261e15;
  --panel2:#312921;
  --panel3:#211910;
  --line:#3c3024;
  --line2:#46382a;
  --text:#f5f2ed;
  --muted:#9a7e5b;
  --muted2:#745f47;
  --orange:#ff8600;
  --orange2:#db6e00;
  --green:#00c67a;
  --blue:#4fa0ff;
  --radius:6px;
}
html{background:#1a1208}
body{
  background:#1a1208!important;
  color:#f5f2ed;
  font-size:13px;
}
body::before,body::after{display:none!important}
.page-shell,.topbar-inner{width:min(1318px,calc(100% - 36px))!important}
.page-shell{padding-top:30px!important;padding-bottom:70px!important}
.topbar{height:64px;background:#1a1208!important;border-bottom:1px solid #30261c!important;box-shadow:none!important}
.topbar-inner{height:64px!important;gap:25px!important}
.main-nav{gap:23px!important}.main-nav a{font-size:12px!important;font-weight:760!important;color:#d3c9bc!important}.main-nav a span{color:#b4a697!important}.main-nav a:hover{color:#fff!important}.main-nav a::after{bottom:1px!important;height:1px!important}
.icon-btn,.coin-btn,.user-trigger{height:40px!important;min-width:40px!important;border-radius:5px!important;background:#241b12!important;border-color:#35291e!important;box-shadow:none!important}.icon-btn:hover,.coin-btn:hover,.user-trigger:hover{background:#2c2117!important;border-color:#4a3826!important;transform:none!important}
.coin-btn{padding:0 13px!important;color:#ffc000!important}.brand{width:42px}.brand-v{font-size:30px}.brand-mini{font-size:7px}
.site-footer{background:#1a1208!important;border-top:1px solid #34281d!important;color:#8b704d!important}

/* flatter, denser surfaces from the reference screenshots */
.panel,.form-panel,.settings-card,.profile-hero,.profile-dashboard,.achievement-section,.forum-block,.spotlight-card,.chatbox-card,.admin-card,.referral-card,.profile-level{
  border-color:#3b3024!important;
  box-shadow:none!important;
}
.panel,.form-panel{background:#261e15!important;border-radius:6px!important}
.btn{border-radius:4px!important}.btn-primary{background:#ff8600!important;border-color:#ff941d!important}.btn-primary:hover{background:#ff9417!important;transform:none!important;box-shadow:none!important}.btn-muted{background:#2b2219!important;border-color:#443529!important;color:#c7aa83!important}.btn-danger{background:#f24449!important;border-color:#f45257!important;color:#fff!important}

/* settings header + horizontal tabs */
.settings-page .page-shell{padding-top:36px!important}
.settings-title{display:flex;align-items:flex-start;gap:12px;margin:0 0 27px}
.settings-back{width:37px;height:37px;border-radius:5px;display:grid;place-items:center;background:#2a2118;border:1px solid #3b3024;color:#9a7b56;font-size:20px}
.settings-back:hover{color:#f1d2a5;border-color:#59412c;background:#31251a}
.settings-title h1{font-size:24px;line-height:1.05;margin:0 0 6px;letter-spacing:-.45px}.settings-title p{margin:0;color:#8a704f}
.settings-top-tabs{display:flex;gap:8px;align-items:center;margin-bottom:23px;overflow:auto;scrollbar-width:none}.settings-top-tabs::-webkit-scrollbar{display:none}.settings-top-tabs a{display:flex;align-items:center;gap:7px;height:38px;padding:0 15px;border-radius:5px;border:1px solid #32271d;background:#241b12;color:#8e7352;font-weight:760;white-space:nowrap}.settings-top-tabs a:hover{background:#2d2218;color:#cdb08a;border-color:#4c3928}.settings-top-tabs a.active{background:#ff8600!important;color:#181007!important;border-color:#ff941c!important}.settings-content{display:grid;gap:20px}.settings-form-stack{display:grid;gap:20px}.settings-card{background:#261e15;border:1px solid #3c3024;border-radius:6px;padding:24px 25px}.settings-card h2{margin:0 0 18px;font-size:17px;color:#f5f2ed;display:flex;align-items:center;gap:8px}.settings-card h2 small{font-size:11px;color:#77634c;font-weight:500}.settings-card h3{font-size:12px;margin:24px 0 11px;color:#d9c7af}.settings-card>p,.settings-muted{color:#9a7e5b!important}.settings-card label{color:#9b7f5d}.settings-card input,.settings-card textarea,.settings-card select{background:#2a221a!important;border:1px solid #44372b!important;border-radius:4px!important;color:#fff!important}.settings-card input:focus,.settings-card textarea:focus,.settings-card select:focus{border-color:#6d4a28!important;box-shadow:0 0 0 2px rgba(255,134,0,.08)!important}.settings-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid-two label small,.settings-card label>small{display:block;margin-top:5px;color:#6f5d47;font-size:10px;font-weight:500}.settings-form-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px}.setting-avatar-row{display:flex;align-items:center;gap:20px;padding:4px 0 2px}.setting-avatar-row .avatar{width:66px;height:66px}.file-button{display:block;color:#9f815e;cursor:pointer;font-weight:600}.file-button input{display:none}.file-button:hover{color:#e6c295}.setting-avatar-row small{display:block;margin-top:5px;color:#745f48}.settings-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.profile-banner-preview{height:112px;border:1px solid #3c3024;background:#211910 center/cover no-repeat;border-radius:4px;display:grid;place-items:center;color:#765f45;margin:6px 0 9px}.push-callout{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;border:1px solid #4b3826;background:#2d2116;border-radius:5px;padding:14px 15px;margin:18px 0 20px}.push-callout>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:#ff8a00;background:#3d270e;border:1px solid #633b12}.push-callout strong,.push-callout small{display:block}.push-callout small{margin-top:3px;color:#8e7351;font-size:10px}.notification-row{display:grid!important;grid-template-columns:28px 1fr 46px;align-items:center;gap:13px;margin:0!important;padding:11px 4px;border-bottom:0!important;color:#fff!important}.notification-row+.notification-row{margin-top:1px!important}.notification-icon{font-size:15px;text-align:center}.notification-row strong,.notification-row small{display:block}.notification-row strong{font-size:12px}.notification-row small{margin-top:2px;color:#795f43;font-size:10px}.notification-row .switch{display:block!important;position:relative;width:38px;height:21px;padding:0!important;margin:0!important}.notification-row .switch input{position:absolute;opacity:0;pointer-events:none}.notification-row .switch i{position:absolute;inset:0;background:#4a3a2b;border-radius:20px;transition:.18s}.notification-row .switch i::after{content:'';position:absolute;width:17px;height:17px;left:2px;top:2px;background:#f4eee7;border-radius:50%;transition:.18s}.notification-row .switch input:checked+i{background:#ff8600}.notification-row .switch input:checked+i::after{transform:translateX(17px)}.settings-save{margin-top:18px}

/* currency / levels */
.level-settings-card{padding-bottom:21px}.currency-level-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;margin-bottom:24px}.currency-level-head .level-chip{width:48px;text-align:center}.currency-level-head strong{display:block;color:#4fa0ff;font-size:18px}.currency-level-head small{display:block;color:#866c4f;margin-top:2px}.currency-level-head>b{color:#ffbd00;background:#3d2d08;border-radius:15px;padding:6px 12px}.currency-progress-meta,.currency-progress-foot{display:flex;justify-content:space-between;gap:14px;color:#806a50;font-size:10px}.currency-progress-meta span:nth-child(1){color:#846e55}.currency-progress-meta span:nth-child(2){color:#846e55}.currency-progress{height:9px!important;margin:8px 0!important;background:#514a43!important}.currency-progress i{background:#5fa4f5!important;box-shadow:none!important}.currency-progress-foot{margin-top:6px}.benefit-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.benefit-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 11px;border:1px solid #40342a;background:#2b231b;border-radius:4px;color:#70645a}.benefit-row.unlocked{color:#b9a07f;border-color:#51402d}.benefit-row small{font-size:9px;color:#6f6255}.xp-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.xp-summary>div{border:1px solid #3e3227;background:#2a221a;border-radius:5px;padding:20px 16px}.xp-summary small{display:block;color:#8d7252}.xp-summary strong{display:block;font-size:24px;margin-top:8px}.xp-earned{color:#00c77c}.xp-bought{color:#ffc000}.xp-total{color:#ff8600}.xp-buy-card p{margin:-6px 0 13px;color:#9d7f59}.xp-presets{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}.xp-presets button{border:1px solid #3b3025;background:#2a221a;color:#bca88e;border-radius:3px;padding:7px 11px;font-weight:800;font-size:11px}.xp-presets button:hover,.xp-presets button.active{background:#ff8600;color:#1a1106;border-color:#ff8e12}.xp-buy-row{display:grid;grid-template-columns:1fr 74px;gap:14px;align-items:center}.xp-buy-row>div{text-align:center}.xp-buy-row b{display:block;color:#ffbd00;font-size:13px}.xp-buy-row small{display:block;font-size:9px;color:#725f49}.xp-buy-button{width:100%;margin-top:12px}.xp-next-hint{display:block;text-align:center;color:#745d43;margin-top:11px}.locked-feature{border:1px solid #40342a;background:#2a221a;border-radius:4px;padding:13px;color:#746658}.locked-feature.unlocked{color:#b99567;border-color:#5d4329}.levels-overview{max-height:380px;overflow:auto;padding-right:7px;scrollbar-width:thin;scrollbar-color:#65503b #211910}.level-row{display:grid;grid-template-columns:34px 1fr auto;gap:11px;align-items:center;min-height:57px;padding:8px 12px;border:1px solid #44372b;background:#2c231b;border-radius:4px;margin-bottom:7px}.level-row.done{background:#1e281b;border-color:#284c33}.level-row .level-chip{font-size:9px;padding:4px 6px}.level-row strong,.level-row small{display:block}.level-row small{color:#8f7250;font-size:9px}.level-row>b{font-size:10px;color:#ffc000}.level-row.done>b{color:#00d18a}.currency-history{display:grid;gap:6px}.currency-history>div{display:grid;grid-template-columns:24px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #41352a;background:#2a221a;border-radius:4px}.currency-history strong,.currency-history small{display:block}.currency-history strong{font-size:11px}.currency-history small{color:#785f43;font-size:9px;margin-top:2px}.currency-history b{font-size:12px}

/* privacy / gdpr */
.gdpr-list{margin:10px 0 12px;padding-left:20px;color:#9a7e5b}.gdpr-list li{margin:6px 0}.gdpr-list strong{color:#f1ede7}.privacy-switches{margin-top:17px;border-top:1px solid #392e23;padding-top:9px}.danger-zone{background:#34170f!important;border-color:#5b2a20!important}.gdpr-notice{background:#2b2329;border:1px solid #413843;color:#8fc5ff;padding:11px 13px;border-radius:4px;margin:16px 0}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.theme-card{border:1px solid #3e3227;background:#2a221a;border-radius:5px;padding:12px;display:grid;gap:9px}.theme-card.selected{border-color:#80511d;background:#302316}.theme-card strong,.theme-card small{display:block}.theme-card small{color:#7d674e}.theme-preview{height:92px;background:#1a1208;border:1px solid #3b3024;border-radius:4px;padding:12px;position:relative;overflow:hidden}.theme-preview span{font-size:28px;font-weight:900}.theme-preview i{display:block;height:7px;background:#2e251d;border-radius:3px;margin-top:7px}.theme-preview i:nth-of-type(1){width:78%}.theme-preview i:nth-of-type(2){width:55%}.theme-preview i:nth-of-type(3){width:66%;background:#57340d}

/* profile */
.profile-page .page-shell{padding-top:31px!important}.profile-hero{background:#312921!important;border-radius:6px!important;padding:31px 30px 29px!important;overflow:hidden!important}.profile-ambient{inset:0!important;background:linear-gradient(90deg,rgba(255,134,0,.025),transparent 38%),var(--profile-banner,none) center/cover no-repeat!important;opacity:.16!important;filter:none!important}.profile-id,.profile-info{position:relative;z-index:2}.profile-name-row h1{font-size:24px!important;color:#ff8b00!important;letter-spacing:-.4px}.profile-identity>p{color:#9b7a58!important}.profile-rankline{gap:16px!important}.profile-rankline span{color:#9f8059!important}.profile-info{margin-top:24px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important;max-width:765px!important}.profile-info>div{background:#211a13!important;border:1px solid #42362b!important;border-radius:5px!important;padding:13px!important}.profile-info small{letter-spacing:.17em!important;color:#9b7f5b!important}.profile-info strong{font-size:12px!important}.profile-social-actions{margin-top:17px!important}.profile-social-actions button,.profile-social-actions a{background:#352719!important;border-color:#523a26!important;color:#f19a2d!important;border-radius:4px!important;padding:8px 12px!important}.profile-social-actions button:nth-child(2){color:#d8d1c8!important;background:#2b231b!important}.profile-banner-fold{margin:14px 0 16px;border:1px solid #3c3024;background:#211910;border-radius:5px;overflow:hidden}.profile-banner-fold summary{padding:12px 17px;cursor:pointer;color:#d7c8b6;font-weight:700;display:flex;justify-content:space-between}.profile-banner-fold>div{height:180px;background:center/cover no-repeat;border-top:1px solid #3c3024}.profile-stats{grid-template-columns:repeat(4,1fr)!important;gap:13px!important;margin:16px 0!important}.profile-stats>div{min-height:118px!important;background:#261e15!important;border:1px solid #403429!important;border-radius:5px!important;box-shadow:none!important}.profile-stats>div:hover{transform:none!important;border-color:#4c3d30!important;box-shadow:none!important}.profile-stats>div::after{display:none!important}.profile-stats>div b{font-size:25px!important}.profile-stats>div small{font-size:10px!important;text-transform:none!important;letter-spacing:0!important;color:#9b7f5b!important}.referral-card{background:#261e15!important;border-radius:5px!important;padding:17px!important;margin:0 0 18px!important}.referral-card h3{font-size:12px!important}.referral-card p{color:#8c7150!important;font-size:10px!important}.referral-card code{background:#2f2820!important;border-color:#4a3b2d!important}.profile-dashboard{background:#261e15;border:1px solid #3c3024;border-radius:6px;overflow:hidden}.profile-tabs{position:static!important;top:auto!important;background:#261e15!important;border-radius:0!important;border:0!important;border-bottom:1px solid #3c3024!important;box-shadow:none!important;padding:0 0 0 4px!important;display:flex!important;overflow:auto!important}.profile-tabs button{height:46px!important;padding:0 16px!important;border:0!important;background:transparent!important;color:#827267!important;font-weight:700!important;white-space:nowrap}.profile-tabs button:hover{background:transparent!important;color:#b6a38d!important}.profile-tabs button.active{color:#ff8b00!important}.profile-tabs button.active::after{left:0!important;right:0!important;background:#ff8b00!important}.profile-tabs button small{background:#3b3026;color:#9b8060;border-radius:10px;padding:2px 5px;font-size:8px}.profile-panes{background:#261e15}.profile-pane{display:none;padding:20px}.profile-pane.active{display:block}.profile-level{background:#312921!important;border:1px solid #4a3e33!important;border-radius:5px!important;padding:24px!important;margin:0!important}.profile-level h2{font-size:17px!important}.profile-level .level-summary{margin-bottom:22px}.profile-level-foot{display:flex;justify-content:space-between;color:#866e50;font-size:10px;margin-top:7px}.profile-badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.profile-badge-grid article{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;min-height:68px;background:#312921;border:1px solid #493c30;border-radius:5px;padding:10px}.profile-badge-grid article>span{width:36px;height:36px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--badge) 35%,#493c30);border-radius:4px;color:var(--badge);font-size:17px}.profile-badge-grid strong,.profile-badge-grid small{display:block}.profile-badge-grid strong{font-size:11px}.profile-badge-grid small{color:#ff8b00;font-size:8px;margin-top:3px}.profile-showcase header{display:flex;justify-content:space-between;align-items:center}.profile-showcase header h2{font-size:16px}.profile-showcase header span{color:#8d7352;font-size:10px}.profile-showcase>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.profile-showcase article{min-height:115px;background:#312921;border:1px solid #493c30;border-radius:5px;padding:14px;position:relative}.profile-showcase article>span{font-size:27px;color:var(--badge)}.profile-showcase article strong,.profile-showcase article small{display:block}.profile-showcase article small{color:#8f7759;margin-top:5px}.profile-activity-list{display:grid}.profile-activity-list a{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:10px;padding:12px 9px;border-bottom:1px solid #332a20}.profile-activity-list a:hover{background:#2b2219}.profile-activity-list>a>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#2d2720;color:#4d9df5}.profile-activity-list strong,.profile-activity-list small{display:block}.profile-activity-list strong{font-size:11px}.profile-activity-list small{font-size:9px;color:#725d45;margin-top:3px}.profile-people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.profile-people-grid>a{display:flex;align-items:center;gap:10px;background:#312921;border:1px solid #493c30;border-radius:5px;padding:11px}.profile-people-grid strong,.profile-people-grid small{display:block}.profile-people-grid small{color:#806b51;font-size:9px}

/* badges / achievements */
.badges-page .page-shell{padding-top:22px!important}.badges-back{margin-bottom:22px}.badges-back a{color:#8d795f;font-size:11px}.badges-back a:hover{color:#d7c6b0}.badges-page-head{display:grid;grid-template-columns:1fr 160px;gap:25px;align-items:center;margin-bottom:26px}.badges-page-head .section-heading{align-items:center}.badges-page-head .section-icon{width:42px;height:42px;background:#3b2508;color:#ff8b00;border-radius:4px}.badges-page-head .section-heading h1{font-size:32px!important;margin:0 0 8px!important}.badges-page-head .section-heading p{max-width:760px;color:#a98f6d!important;font-size:13px}.badges-total{justify-self:end;width:160px;height:70px;background:#261e15;border:1px solid #403429;border-radius:5px;padding:10px 12px;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;align-items:center}.badges-total>span{grid-row:1/3;color:#ff8b00;font-size:22px}.badges-total small{color:#8e7555;font-size:9px}.badges-total strong{font-size:16px}.badges-total strong i{font-style:normal;color:#86705a;font-size:11px;font-weight:500}.achievement-sections{display:grid;gap:23px}.achievement-section{background:#1e170d!important;border:1px solid #3b3024;border-radius:6px;overflow:hidden}.achievement-section>header{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:76px;padding:14px 22px;border-bottom:1px solid #3b3024}.achievement-section-title{display:flex;align-items:center;gap:12px}.achievement-section-title>span{width:36px;height:36px;display:grid;place-items:center;border-radius:4px;background:#3a2508;color:#ff8b00;font-size:18px}.achievement-section-title h2,.achievement-section-title p{margin:0}.achievement-section-title h2{font-size:17px}.achievement-section-title p{margin-top:3px;color:#846d50;font-size:9px}.achievement-score{color:#b8aa9b;font-size:10px}.achievement-score b{color:#ff8b00;font-size:12px}.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;padding:20px 22px}.achievement-card{min-height:104px;background:#211a12;border:1px solid #3d3329;border-radius:5px;padding:14px;display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:start;position:relative}.achievement-card.earned{background:#33200f;border-color:#5b3514}.achievement-card:hover{border-color:#554332;transform:none!important;box-shadow:none!important}.achievement-card.earned:hover{border-color:#744318}.achievement-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:4px;background:#2f2921;border:1px solid #43392f;color:#7e756b;font-size:21px}.achievement-card.earned .achievement-icon{background:#443019;color:#ff8b00;border-color:#6b431b}.achievement-main{min-width:0}.achievement-main>div{display:flex;align-items:center;gap:7px;min-width:0}.achievement-main strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.achievement-main em{font-style:normal;font-size:7px;border-radius:8px;padding:2px 6px;background:#342d24;color:#817667;white-space:nowrap}.achievement-card.earned .achievement-main em{background:#60401e;color:#d8aa78}.achievement-main p{font-size:9px;color:#7e6b55;margin:4px 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.achievement-progress-meta{display:flex;justify-content:space-between;color:#8b7559;font-size:8px}.achievement-card.earned .achievement-progress-meta span{color:#bca37d}.achievement-progress{height:5px;background:#2f2a23;border-radius:5px;overflow:hidden;margin-top:4px}.achievement-progress i{display:block;height:100%;width:var(--progress);background:#c87b24;border-radius:5px}.achievement-card.earned .achievement-progress i{background:#00c66e}.rarity-rare .achievement-progress i{background:#bdbdbd}.rarity-epic .achievement-progress i{background:#ead300}.rarity-legendary .achievement-progress i{background:#d8d8d8}.achievement-check{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#0c632f;border:1px solid #128246;color:#00dc79;font-size:10px}

/* eliminate overly glossy V2.1/V2.2 hover on reference-critical pages */
.settings-page .settings-card:hover,.profile-page .profile-hero:hover,.profile-page .profile-dashboard:hover,.badges-page .achievement-section:hover{box-shadow:none!important;transform:none!important}.settings-page .reveal-in,.profile-page .reveal-in,.badges-page .reveal-in{opacity:1!important;transform:none!important}

@media(max-width:1050px){
  .page-shell,.topbar-inner{width:min(100% - 24px,1318px)!important}
  .achievement-grid{grid-template-columns:repeat(2,1fr)}
  .profile-badge-grid{grid-template-columns:repeat(3,1fr)}
  .theme-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .settings-top-tabs{gap:5px}.settings-top-tabs a{padding:0 11px}.settings-top-tabs a span{display:none}
  .settings-card{padding:18px 16px}.settings-grid-two,.benefit-grid,.xp-summary{grid-template-columns:1fr}.push-callout{grid-template-columns:32px 1fr}.push-callout .btn{grid-column:1/-1}.xp-buy-row{grid-template-columns:1fr 64px}
  .profile-info{grid-template-columns:1fr!important;max-width:none!important}.profile-stats{grid-template-columns:repeat(2,1fr)!important}.profile-tabs{padding-left:0!important}.profile-pane{padding:13px}.profile-badge-grid,.profile-showcase>div,.profile-people-grid{grid-template-columns:repeat(2,1fr)}
  .badges-page-head{grid-template-columns:1fr}.badges-total{justify-self:start}.achievement-grid{grid-template-columns:1fr}.achievement-section>header{align-items:flex-start}.achievement-score{padding-top:8px}
}
@media(max-width:520px){
  .page-shell,.topbar-inner{width:calc(100% - 14px)!important}.settings-title{margin-bottom:18px}.settings-title h1{font-size:21px}.settings-top-tabs a{height:36px;min-width:42px;justify-content:center;padding:0 10px}.profile-hero{padding:20px 16px!important}.profile-badge-grid,.profile-showcase>div,.profile-people-grid{grid-template-columns:1fr}.profile-stats{grid-template-columns:1fr 1fr!important}.achievement-grid{padding:12px}.achievement-section>header{padding:12px;flex-direction:column}.achievement-card{grid-template-columns:38px 1fr auto;padding:11px}.achievement-icon{width:38px;height:38px}.badges-page-head .section-heading h1{font-size:26px!important}.theme-grid{grid-template-columns:1fr}
}

/* ==== V2.4 achievements + cards integration ==== */
.achievement-special{border-color:#4b2e5d!important}.achievement-special>header{background:linear-gradient(90deg,rgba(120,48,160,.12),transparent 48%)}.achievement-special .achievement-section-title>span{background:#3b1748;color:#c567ff}.achievement-special .achievement-score b{color:#d96cff}.achievement-card.manual-badge .achievement-icon{color:#6f665e}.achievement-card.manual-badge.earned .achievement-icon{color:#c567ff;background:#3b1748;border-color:#65307b}.achievement-manual-note{margin-top:8px;color:#6f6357;font-size:8px;font-style:italic}.achievement-card.earned .achievement-manual-note{color:#a88dba}.achievement-card{transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease!important}.achievement-card:hover{transform:translateY(-2px)!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}.achievement-card.earned:hover{box-shadow:0 10px 28px rgba(112,65,20,.16)!important}
.cards-page .page-shell{max-width:1180px}.card-packs{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap;margin:14px 0 18px}.card-pack,.card-market-link{min-width:245px;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #433326;background:#221a12;border-radius:7px}.card-pack>span{font-size:28px}.card-pack>div{display:grid;margin-right:auto}.card-pack small{color:#8d765d}.card-market-link{justify-content:center;color:#ff9611;font-weight:850}.card-market-link:hover,.card-pack:hover{border-color:#704817;background:#2a1d10;transform:translateY(-2px);box-shadow:0 12px 30px #0005}.collection-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.collection-head h2{margin:0}.collection-head b{color:#a88964}.card-collection-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px}.collector-card{position:relative;min-height:150px;padding:15px 12px 11px;border:1px solid #423427;background:linear-gradient(145deg,#231b13,#1b150f);border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden;transition:.2s ease}.collector-card::before{content:'';position:absolute;inset:-40% auto -40% -100%;width:45%;background:linear-gradient(90deg,transparent,#fff2,transparent);transform:skewX(-18deg);transition:left .7s ease}.collector-card:hover::before{left:140%}.collector-card:hover{transform:translateY(-4px);border-color:#75502c;box-shadow:0 14px 34px #0007}.collector-card>span{font-size:42px;margin-bottom:9px;filter:drop-shadow(0 8px 16px #0008)}.collector-card>strong{font-size:12px}.collector-card>small{font-size:9px;color:#806d58;margin-top:3px}.collector-card>em{font-size:9px;color:#a78052;font-style:normal;margin-top:8px}.collector-card.rarity-uncommon{border-color:#41513c}.collector-card.rarity-rare{border-color:#315585}.collector-card.rarity-epic{border-color:#754a99}.collector-card.rarity-holo{border-color:#9a6c22;box-shadow:inset 0 0 40px rgba(255,188,62,.05)}.collector-card.rarity-one_of_one{border-color:#bd7d22;box-shadow:0 0 0 1px rgba(255,170,38,.11),inset 0 0 55px rgba(255,162,0,.09)}.card-list-form{display:flex;gap:4px;margin-top:10px;width:100%}.card-list-form input{min-width:0;width:60px;flex:1;background:#17110c;border:1px solid #433225;color:#ddd;border-radius:4px;padding:5px}.card-list-form button{border:1px solid #6c4318;background:#3a250d;color:#ff9b19;border-radius:4px;font-size:9px;font-weight:800}.pack-result{border-color:#725022!important}.market-grid{display:grid;gap:8px}.market-card{display:grid;grid-template-columns:48px 1fr auto auto;align-items:center;gap:12px;background:#211911;border:1px solid #403226;border-radius:7px;padding:11px 13px}.market-card>span{width:44px;height:44px;display:grid;place-items:center;background:#2e241b;border-radius:6px;font-size:24px}.market-card>div{display:grid}.market-card small{color:#806c55}.market-card>b{color:#ffb11f}.market-card>em{font-style:normal;color:#7d6a55;font-size:10px}.market-card:hover{border-color:#6b4722;background:#271b10}.album-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.album-card{background:#211911;border:1px solid #413326;border-radius:8px;padding:16px}.album-card header{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px}.album-card header>span{width:36px;height:36px;border-radius:5px;background:#392509;color:#ff9010;display:grid;place-items:center}.album-card header>div{display:grid}.album-card header small{color:#837059}.album-card header>b{color:#ff9a12}.album-card .progress{margin:13px 0 10px}.album-card>a{color:#9a805e;font-size:11px}.album-card>a:hover{color:#ff9a12}.media-rating-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.media-rating-card{display:grid;grid-template-columns:42px 1fr 80px auto;align-items:center;gap:10px;border:1px solid #403225;background:#211911;padding:12px;border-radius:7px}.media-rating-card>span{font-size:24px;color:#ff9411}.media-rating-card>div{display:grid}.media-rating-card small{color:#806b54}.media-rating-card select{background:#17110c;border:1px solid #473626;color:#eee;border-radius:5px;padding:7px}
@media(max-width:980px){.card-collection-grid{grid-template-columns:repeat(3,1fr)}.album-grid,.media-rating-grid{grid-template-columns:1fr}.achievement-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:620px){.card-collection-grid{grid-template-columns:repeat(2,1fr)}.market-card{grid-template-columns:42px 1fr auto}.market-card form,.market-card>em{grid-column:2/-1}.media-rating-card{grid-template-columns:36px 1fr}.media-rating-card select,.media-rating-card button{grid-column:2}.achievement-grid{grid-template-columns:1fr!important}}

/* ==== V2.4 profile card showcase + ACP badges ==== */
.profile-card-showcase{margin:18px 0;border:1px solid #5b321d;border-radius:10px;background:linear-gradient(180deg,#2d1b10,#20140d);box-shadow:0 0 42px rgba(255,105,36,.16),inset 0 1px rgba(255,255,255,.025);overflow:hidden;position:relative}
.profile-card-showcase::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 12% 100%,rgba(255,99,38,.22),transparent 34%),linear-gradient(90deg,rgba(255,125,35,.035),transparent 45%);pointer-events:none}
.profile-card-showcase>header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #54321e;color:#d78f4c}
.profile-card-showcase>header>div{display:flex;align-items:center;gap:9px}.profile-card-showcase>header strong{color:#d7944d}.profile-card-showcase>header a{font-size:12px;color:#bf8a57}.profile-card-showcase>header a:hover{color:#ff9a13}
.profile-card-track{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:16px;overflow:auto}
.profile-collector-card{min-width:130px;min-height:180px;position:relative;border:1px solid #6c3f20;border-radius:9px;padding:13px 10px 11px;background:linear-gradient(155deg,#332011,#17100b);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;overflow:hidden;box-shadow:0 10px 28px #0005;transition:transform .28s cubic-bezier(.22,.61,.36,1),box-shadow .28s ease,border-color .28s ease}
.profile-collector-card::before{content:'';position:absolute;inset:-20%;background:radial-gradient(circle at 50% 20%,rgba(255,147,46,.28),transparent 45%);opacity:.7;pointer-events:none}
.profile-collector-card>span{position:relative;margin:auto;font-size:52px;filter:drop-shadow(0 8px 18px #0008)}.profile-collector-card strong,.profile-collector-card small{position:relative}.profile-collector-card strong{font-size:12px;color:#fff}.profile-collector-card small{font-size:9px;color:#b9936d;margin-top:3px}.profile-card-serial{position:absolute;left:8px;top:8px;font-size:8px;font-weight:900;border:1px solid #6a4526;background:#160e08cc;border-radius:5px;padding:3px 5px;color:#edd2ad;z-index:2}
.profile-collector-card:hover{transform:translateY(-6px) scale(1.025);border-color:#b56c27;box-shadow:0 18px 36px #0008,0 0 25px rgba(255,120,35,.18)}
.profile-collector-card.rarity-rare{border-color:#3e74cf}.profile-collector-card.rarity-rare::before{background:radial-gradient(circle at 50% 20%,rgba(71,134,255,.34),transparent 45%)}
.profile-collector-card.rarity-epic{border-color:#9f51da}.profile-collector-card.rarity-epic::before{background:radial-gradient(circle at 50% 20%,rgba(177,68,255,.36),transparent 45%)}
.profile-collector-card.rarity-holo{border-color:#35c7e9;box-shadow:0 10px 28px #0005,0 0 22px rgba(56,215,255,.12)}.profile-collector-card.rarity-holo::before{background:conic-gradient(from 20deg,rgba(62,210,255,.2),rgba(255,99,215,.22),rgba(255,232,78,.18),rgba(62,210,255,.2))}
.profile-collector-card.rarity-one_of_one{border-color:#f1b73c;box-shadow:0 10px 30px #0007,0 0 28px rgba(255,184,55,.22)}.profile-collector-card.rarity-one_of_one::before{background:radial-gradient(circle at 50% 18%,rgba(255,216,85,.46),transparent 48%)}
.badge-admin-grid article em{display:block;font-style:normal;font-size:9px;color:#d7a65e;margin-top:4px}.admin-manual-badge-row{display:grid!important;grid-template-columns:1.4fr 1fr 150px 90px!important;gap:10px;align-items:center;padding:9px 0;border-top:1px solid #3f2b1b}.admin-manual-badge-row:first-child{border-top:0}.admin-manual-badge-row time{color:#7f674c;font-size:11px}
.pack-result .collector-card{animation:vfCardReveal .55s cubic-bezier(.2,.8,.2,1) both}.pack-result .collector-card:nth-child(2){animation-delay:.09s}.pack-result .collector-card:nth-child(3){animation-delay:.18s}.pack-result .collector-card:nth-child(4){animation-delay:.27s}.pack-result .collector-card:nth-child(5){animation-delay:.36s}@keyframes vfCardReveal{from{opacity:0;transform:translateY(22px) scale(.78) rotate(-3deg);filter:brightness(1.7)}to{opacity:1;transform:none;filter:none}}
@media(max-width:900px){.profile-card-track{grid-template-columns:repeat(3,minmax(130px,1fr))}}@media(max-width:560px){.profile-card-track{display:flex}.profile-collector-card{width:142px;flex:0 0 142px}.admin-manual-badge-row{grid-template-columns:1fr auto!important}.admin-manual-badge-row time,.admin-manual-badge-row span{display:none}}
.card-list-form.cancel button{color:#d69a68;border-color:#6b3a2b;background:#291713}.card-list-form.cancel button:hover{color:#ffb68f;border-color:#a15039;background:#381a14}

/* ==== V2.5 profile faithful UI + integrated card gallery ==== */
.profile-page .profile-card-showcase{margin:17px 0 20px;border-color:#5b3821;background:#25180f;box-shadow:0 0 55px rgba(255,111,32,.16)}
.profile-page .profile-card-showcase>header{height:46px;padding:0 17px;border-bottom:0;background:linear-gradient(180deg,rgba(255,134,39,.03),transparent)}
.profile-page .profile-card-track{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:0 16px 16px}
.profile-page .profile-collector-card{aspect-ratio:206/312;min-height:0;padding:0;border-radius:8px;background:#15100b;border:1px solid #c68b14;overflow:hidden;justify-content:stretch;box-shadow:0 7px 20px #0007;cursor:zoom-in}
.profile-page .profile-collector-card::before{display:none}
.profile-page .profile-collector-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .28s cubic-bezier(.22,.61,.36,1),filter .28s ease}
.profile-page .profile-collector-card:hover{transform:translateY(-5px);border-color:#f0b52a;box-shadow:0 16px 34px #0009,0 0 22px rgba(255,156,24,.19)}
.profile-page .profile-collector-card:hover img{transform:scale(1.025);filter:brightness(1.045)}
.profile-card-overlay{display:none}
.profile-page .profile-collector-card.rarity-holo,.profile-page .profile-collector-card.rarity-one_of_one{border-color:#d5a500}
.profile-page .profile-collector-card.rarity-one_of_one{box-shadow:0 8px 25px #0008,0 0 26px rgba(255,118,41,.22)}

.profile-card-mini-grid{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px;align-items:start;min-height:290px}
.profile-mini-card{aspect-ratio:206/312;max-width:205px;border:1px solid #c28e15;border-radius:8px;background:#17110c;overflow:hidden;cursor:zoom-in;box-shadow:0 9px 22px #0006;transition:.24s cubic-bezier(.22,.61,.36,1)}
.profile-mini-card:hover{transform:translateY(-5px);border-color:#ffc337;box-shadow:0 15px 32px #0009,0 0 20px rgba(255,169,24,.16)}
.profile-mini-card img{width:100%;height:100%;display:block;object-fit:cover}.profile-mini-card>span{height:100%;display:grid;place-items:center;font-size:55px}.profile-mini-card>strong{position:absolute}

.profile-card-lightbox[hidden]{display:none!important}.profile-card-lightbox{position:fixed;inset:0;z-index:310;background:rgba(3,3,3,.95);display:grid;place-items:center;padding:35px;backdrop-filter:blur(8px)}
.profile-card-lightbox figure{margin:0;max-height:88vh;display:grid;place-items:center;position:relative}.profile-card-lightbox figure>img{max-height:78vh;max-width:min(520px,88vw);border-radius:6px;box-shadow:0 30px 80px #000,0 0 40px rgba(73,185,209,.13)}
.profile-card-lightbox figcaption{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;background:rgba(10,10,10,.82);border:1px solid #2f2b26;border-radius:30px;padding:7px 9px 7px 15px;white-space:nowrap}.profile-card-lightbox figcaption strong{display:none}.profile-card-lightbox figcaption>div{display:flex;gap:3px}.profile-card-lightbox figcaption .btn{background:#171717;border-color:#2b2b2b;color:#ddd;border-radius:18px}
.profile-card-lightbox-close{position:fixed;right:26px;top:25px;width:38px;height:38px;border-radius:50%;border:1px solid #333;background:#202224;color:#c9c9c9;font-size:23px;z-index:2}

.profile-badge-grid{grid-template-columns:repeat(4,1fr)!important;gap:10px!important}.profile-badge-grid article{min-height:64px!important;background:#312921!important;border-color:#493c30!important}.profile-badge-grid article:hover{border-color:#6a4d32!important;transform:translateY(-2px);box-shadow:0 10px 25px #0004}.profile-badge-grid article>span{width:36px!important;height:36px!important;font-size:17px!important}.profile-badge-grid small{font-weight:850;letter-spacing:.02em}

.profile-activity-list a{min-height:62px;padding:10px 12px!important}.profile-activity-list>a>span{width:34px!important;height:34px!important;background:#302820!important;border:1px solid #3b3127}.profile-activity-list>a>span.post{color:#4fa2ff}.profile-activity-list>a>span.topic{color:#ff960d}.profile-activity-list strong{font-size:12px!important;font-weight:650}.profile-activity-list small{font-size:9px!important}
.profile-people-list{display:grid}.profile-people-list>a{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;min-height:70px;padding:10px 12px;border-bottom:1px solid #332a20;color:#eee;transition:.2s ease}.profile-people-list>a:hover{background:#2b2219}.profile-people-list>a>div{display:grid}.profile-people-list strong{font-size:12px}.profile-people-list small{font-size:9px;color:#745e47;margin-top:2px}.profile-people-list>a>span{font-size:9px;color:#745e47;white-space:nowrap}

.settings-showcase-grid{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:9px;margin-top:14px}.settings-showcase-card{position:relative;display:grid;gap:5px;padding:7px;border:1px solid #423426;border-radius:7px;background:#211910;cursor:pointer;transition:.2s ease}.settings-showcase-card:hover{border-color:#705023;transform:translateY(-2px)}.settings-showcase-card input{position:absolute;right:8px;top:8px;width:17px;height:17px;accent-color:#ff8b00;z-index:2}.settings-showcase-card img{width:100%;aspect-ratio:206/312;object-fit:cover;border-radius:5px}.settings-showcase-card>span{aspect-ratio:206/312;display:grid;place-items:center;background:#17110c;border-radius:5px;font-size:35px}.settings-showcase-card strong{font-size:10px}.settings-showcase-card small{font-size:8px;color:#80684d}

@media(max-width:1050px){.profile-page .profile-card-track{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-card-mini-grid{grid-template-columns:repeat(4,minmax(130px,1fr))}.settings-showcase-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.profile-page .profile-card-track{display:flex;overflow:auto}.profile-page .profile-collector-card{width:160px;flex:0 0 160px}.profile-card-mini-grid{display:flex;overflow:auto}.profile-mini-card{width:155px;flex:0 0 155px}.profile-badge-grid{grid-template-columns:repeat(2,1fr)!important}.settings-showcase-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:500px){.profile-badge-grid{grid-template-columns:1fr!important}.settings-showcase-grid{grid-template-columns:repeat(2,1fr)}.profile-card-lightbox{padding:15px}.profile-card-lightbox figcaption{bottom:8px}.profile-card-lightbox-close{right:12px;top:12px}}

/* ==== V2.6 · forum subcategory closer to reference ==== */
body.forum-category-page .page-shell{padding-top:26px!important}
body.forum-category-page .forum-breadcrumbs{display:flex;align-items:center;gap:10px;margin:4px 0 18px;color:#8f7350;font-size:13px}
body.forum-category-page .forum-breadcrumbs a{color:#a9865d}
body.forum-category-page .forum-breadcrumbs strong{color:#f4eee6}
body.forum-category-page .forum-page-head-v2{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:start;
  gap:14px;
  padding:4px 0 10px;
  margin-bottom:18px;
}
body.forum-category-page .forum-page-icon-wrap{display:flex;align-items:flex-start;justify-content:center}
body.forum-category-page .forum-page-icon{
  width:56px;height:56px;border-radius:10px;
  display:grid;place-items:center;
  font-size:26px;
  color:#ffd57d;
  background:linear-gradient(180deg,#2c2134,#26203e);
  border:1px solid rgba(93,86,148,.45);
  box-shadow:0 0 0 1px rgba(255,255,255,.02) inset,0 0 28px rgba(86,104,255,.12);
}
body.forum-category-page .forum-page-copy h1{margin:0 0 6px;font-size:27px;letter-spacing:-.03em}
body.forum-category-page .forum-page-copy p{margin:0;color:#9f8160;font-size:13px;max-width:720px}
body.forum-category-page .forum-meta-pills{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px;color:#c8a36a;font-size:12px}
body.forum-category-page .forum-meta-pills span{display:inline-flex;align-items:center;gap:6px}
body.forum-category-page .forum-head-actions{justify-self:end;display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-top:6px}
body.forum-category-page .forum-head-actions .btn{height:37px}
body.forum-category-page .forum-head-actions .btn-primary{padding-inline:18px}
body.forum-category-page .subforum-block{margin:0 0 18px}
body.forum-category-page .subhead{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#9f7f58}
body.forum-category-page .subforums{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
body.forum-category-page .subforums a{display:flex;align-items:center;gap:12px;padding:14px 15px;border:1px solid #3a2d22;background:#241c14;border-radius:6px;color:#e7ded2}
body.forum-category-page .subforums a:hover{border-color:#4e3926;background:#2a2018}
body.forum-category-page .subforums a>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#1f1710;border:1px solid #392d21;color:#ffab3b}
body.forum-category-page .subforums strong{display:block;font-size:14px}
body.forum-category-page .subforums small{display:block;margin-top:4px;color:#8a6f4d}
body.forum-category-page .forum-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0 12px}
body.forum-category-page .forum-list-toolbar h2{margin:0;font-size:16px;display:flex;align-items:center;gap:7px}
body.forum-category-page .forum-list-toolbar h2 span{color:#8f7351;font-weight:600}
body.forum-category-page .forum-list-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.forum-category-page .forum-search-form{display:flex;align-items:center;gap:6px}
body.forum-category-page .forum-search-form input{
  width:220px;height:38px;border-radius:5px;border:1px solid #3a2d22;background:#231a12;color:#f5f2ed;
  padding:0 12px;
}
body.forum-category-page .forum-search-form input::placeholder{color:#766149}
body.forum-category-page .forum-search-submit,
body.forum-category-page .forum-search-reset{
  width:38px;height:38px;border-radius:5px;border:1px solid #3a2d22;background:#241b12;color:#ab8a63;display:grid;place-items:center;
}
body.forum-category-page .forum-search-submit:hover,
body.forum-category-page .forum-search-reset:hover{border-color:#4e3926;color:#f5e4cf;background:#2a2017}
body.forum-category-page .forum-read-btn{height:38px;padding-inline:14px}
body.forum-category-page .topic-list-v2{display:flex;flex-direction:column;gap:10px}
body.forum-category-page .topic-row-v2{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 96px 110px 150px;
  gap:16px;
  align-items:center;
  min-height:86px;
  padding:13px 16px;
  border:1px solid #3a2d22;
  border-radius:6px;
  background:#241b12;
}
body.forum-category-page .topic-thumb-media{display:flex;align-items:center;justify-content:center}
body.forum-category-page .topic-thumb-square{width:38px;height:38px;border-radius:8px;border:1px solid #47372a;background:#1a130d;overflow:hidden;display:grid;place-items:center}
body.forum-category-page .topic-thumb-square.has-image{background:#17120d}
body.forum-category-page .topic-thumb-square img{width:100%;height:100%;object-fit:cover;display:block}
body.forum-category-page .topic-thumb-fallback{font-size:18px;color:#ffae36}
body.forum-category-page .topic-main{min-width:0}
body.forum-category-page .topic-title-line{display:flex;align-items:center;gap:8px;margin-bottom:5px;min-width:0}
body.forum-category-page .topic-title-line strong{font-size:16px;font-weight:800;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.forum-category-page .topic-state-icons{display:inline-flex;gap:5px;flex:0 0 auto}
body.forum-category-page .topic-state-icons i{font-style:normal;font-size:13px;color:#ffb03f}
body.forum-category-page .topic-byline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;color:#8f7252;font-size:12px}
body.forum-category-page .topic-byline b{color:#d9c0a0}
body.forum-category-page .topic-level-chip{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:18px;padding:0 6px;border-radius:4px;background:#322515;border:1px solid #6a4719;color:#ffc141;font-size:10px;font-weight:900}
body.forum-category-page .topic-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}
body.forum-category-page .topic-tags span{padding:4px 8px;border-radius:999px;background:#1f1811;border:1px solid #35291f;color:#9a7e5b;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
body.forum-category-page .topic-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
body.forum-category-page .topic-stat b{font-size:13px;color:#fff}
body.forum-category-page .topic-stat span{font-size:10px;color:#8c7150;letter-spacing:.09em}
body.forum-category-page .topic-last{display:flex;align-items:center;gap:10px;border-left:1px solid #33271c;padding-left:14px;min-width:0}
body.forum-category-page .topic-last .avatar-xs{width:34px;height:34px;font-size:11px}
body.forum-category-page .topic-last strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.forum-category-page .topic-last small{display:block;color:#8e7150;margin-top:3px}
body.forum-category-page .topic-row-v2:hover{background:#2a2017;border-color:#4f3a26}
body.forum-category-page .forum-empty{text-align:center;padding:40px 22px}
body.forum-category-page .forum-empty h3{margin:0 0 8px;font-size:19px}
body.forum-category-page .forum-empty p{margin:0;color:#8d7251}

@media(max-width:980px){
  body.forum-category-page .forum-page-head-v2{grid-template-columns:58px 1fr;}
  body.forum-category-page .forum-head-actions{grid-column:1/-1;justify-self:start;padding-top:0}
  body.forum-category-page .topic-row-v2{grid-template-columns:46px minmax(0,1fr) 84px 84px}
  body.forum-category-page .topic-last{display:none}
}
@media(max-width:760px){
  body.forum-category-page .forum-list-toolbar{flex-direction:column;align-items:flex-start}
  body.forum-category-page .forum-list-tools{width:100%}
  body.forum-category-page .forum-search-form{flex:1;min-width:0}
  body.forum-category-page .forum-search-form input{width:100%;min-width:0}
  body.forum-category-page .forum-search-form,.forum-category-page .forum-read-btn{width:100%}
  body.forum-category-page .topic-row-v2{grid-template-columns:40px 1fr 72px;gap:12px}
  body.forum-category-page .topic-stat:last-of-type{display:none}
}
@media(max-width:560px){
  body.forum-category-page .forum-page-head-v2{grid-template-columns:1fr}
  body.forum-category-page .forum-page-icon-wrap{justify-content:flex-start}
  body.forum-category-page .topic-row-v2{grid-template-columns:1fr;align-items:flex-start}
  body.forum-category-page .topic-thumb-media,.forum-category-page .topic-stat,.forum-category-page .topic-last{display:none}
  body.forum-category-page .topic-main{min-height:auto}
}

/* ==== V2.7 · topic view closer to the reference screenshots ==== */
body.topic-view-page .page-shell{padding-top:22px!important;max-width:1318px}
body.topic-view-page .topic-breadcrumbs{display:flex;align-items:center;gap:8px;margin:2px 0 22px;color:#80674a;font-size:11px}
body.topic-view-page .topic-breadcrumbs a{color:#9a7a55}
body.topic-view-page .topic-breadcrumbs strong{color:#bda58a;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

body.topic-view-page .topic-page-head-v27{margin:0 0 26px;padding:0}
body.topic-view-page .topic-page-head-v27 h1{margin:0 0 12px;font-size:28px;line-height:1.15;letter-spacing:-.03em;color:#f6f1e9}
body.topic-view-page .topic-byline-v27{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:#8a6f4d}
body.topic-view-page .topic-byline-v27 .avatar-xs{width:24px;height:24px;font-size:8px}
body.topic-view-page .topic-byline-v27 b{color:#d9a03d}
body.topic-view-page .topic-byline-v27 i{font-style:normal;color:#00c879}
body.topic-view-page .topic-head-tags-v27{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 10px}
body.topic-view-page .topic-head-tags-v27>span{font-size:9px;padding:5px 8px;border-radius:3px;border:1px solid #4a321f;background:#26180e;color:#be8e54;text-transform:uppercase;letter-spacing:.05em}
body.topic-view-page .topic-head-tags-v27 .lang-tag{background:#411d12;border-color:#6a2f1c;color:#ff865b}
body.topic-view-page .topic-actions-v27{display:flex;align-items:center;gap:7px}
body.topic-view-page .topic-actions-v27 button{height:32px;padding:0 10px;border-radius:4px;border:1px solid #46301d;background:#23170e;color:#896e4d;font-size:10px}
body.topic-view-page .topic-actions-v27 button:hover,body.topic-view-page .topic-actions-v27 button.active{border-color:#6d441b;background:#32200d;color:#ff9d20}

body.topic-view-page .hosting-filter-v27{height:35px;margin:0 0 12px;padding:0 12px;border-radius:4px;border:1px solid #382b20;background:#21190f;color:#7f684d;box-shadow:none}
body.topic-view-page .hosting-filter-label{display:flex;align-items:center;gap:4px}
body.topic-view-page .hosting-filter-label small{color:#5f503e}
body.topic-view-page .hosting-filter-pills{display:flex;gap:4px}
body.topic-view-page .hosting-filter-pills b{display:grid;place-items:center;min-width:24px;height:18px;padding:0 5px;border:0;border-radius:2px;font-size:8px;letter-spacing:.02em}
body.topic-view-page .hosting-filter-pills .pe{background:#59206d;color:#f0b5ff}
body.topic-view-page .hosting-filter-pills .tp{background:#183e74;color:#9dc8ff}
body.topic-view-page .hosting-filter-pills .up{background:#20592f;color:#b0f4bd}
body.topic-view-page .hosting-filter-pills .wr{background:#7a4014;color:#ffd09b}

body.topic-view-page .post-card-v27{position:relative;margin:0 0 12px;padding:14px 15px 13px;border-radius:5px;border:1px solid #3b2e22;background:#271e15;box-shadow:none;overflow:visible}
body.topic-view-page .post-card-v27:hover{transform:none!important;border-color:#493727;background:#2a2017}
body.topic-view-page .post-head-v27{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.topic-view-page .post-user-v27{display:flex;gap:10px;align-items:center}
body.topic-view-page .post-user-v27 .avatar-md{width:40px;height:40px;font-size:10px;border-color:#5a4028}
body.topic-view-page .post-user-copy{min-width:0}
body.topic-view-page .post-user-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
body.topic-view-page .post-user-line>a{font-size:12px!important;color:#ff7d2a!important;font-weight:850!important}
body.topic-view-page .post-user-line .role-pill,body.topic-view-page .post-user-line .level-pill,body.topic-view-page .post-user-line .coins-pill,body.topic-view-page .post-user-line .author-pill{font-size:7px;padding:2px 5px;line-height:1.25;border-radius:3px}
body.topic-view-page .post-user-copy>small{display:block;margin-top:4px;color:#6d5941;font-size:9px}
body.topic-view-page .post-message-user{width:30px;height:30px;border:1px solid transparent;border-radius:4px;background:transparent;color:#7e694e;font-size:13px}
body.topic-view-page .post-message-user:hover{border-color:#4c3827;background:#21180f;color:#ff9b19}

body.topic-view-page .post-content-v27{margin:18px 0 16px;min-height:100px;color:#d8c9b8;font-size:11px;line-height:1.62}
body.topic-view-page .post-content-v27>strong:first-child{display:inline-block;margin-bottom:7px;color:#f6f0e9}
body.topic-view-page .post-content-v27 a{color:#d9a06b}
body.topic-view-page .post-content-v27 p{margin:.6em 0}
body.topic-view-page .post-inline-image{display:block;width:auto;max-width:min(100%,430px);max-height:560px;object-fit:contain;border:1px solid #403326;border-radius:3px;background:#15100b;box-shadow:0 12px 30px rgba(0,0,0,.22)}
body.topic-view-page .post-image-link{display:inline-block;margin:9px 0 14px}
body.topic-view-page .post-image-link:hover .post-inline-image{border-color:#68461f;filter:brightness(1.03)}

body.topic-view-page .post-download-block{margin:16px 0 8px}
body.topic-view-page .post-download-title{margin-bottom:6px;font-weight:800;color:#e8e0d7;font-size:10px}
body.topic-view-page .post-download-links{display:flex;flex-direction:column;gap:1px;padding:12px 13px;border:1px solid #392a1b;background:#170f08;border-radius:2px;font-family:Consolas,Monaco,"Courier New",monospace;font-size:9px;line-height:1.35;overflow:auto}
body.topic-view-page .post-download-links a,body.topic-view-page .post-download-links span{display:block;white-space:nowrap;color:#f0e5d7}
body.topic-view-page .post-download-links a:hover{color:#ff9b21}
body.topic-view-page .post-links-status{margin-top:7px;display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid #1f5c39;background:#173220;color:#38cf7e;border-radius:2px;font-size:8px}
body.topic-view-page .post-links-status span{font-size:9px}
body.topic-view-page .post-spoiler-block{margin:12px 0;border:1px solid #392d21;background:#241a12;border-radius:3px;overflow:hidden}
body.topic-view-page .post-spoiler-block summary{padding:8px 10px;cursor:pointer;color:#d6c0a0;font-weight:750;font-size:9px;list-style:none}
body.topic-view-page .post-spoiler-block summary::-webkit-details-marker{display:none}
body.topic-view-page .post-spoiler-block[open] summary{border-bottom:1px solid #392d21;color:#ff9b19}
body.topic-view-page .post-spoiler-block>div{padding:10px 12px;color:#a88c69;font-style:italic}
body.topic-view-page .post-code{padding:12px 13px;border-radius:2px;background:#160f08;border-color:#392a1b;color:#eee2d3;font-size:9px}

body.topic-view-page .post-footer-v27{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:9px;border-top:1px solid #3b2d21}
body.topic-view-page .post-footer-left,body.topic-view-page .post-footer-right{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
body.topic-view-page .post-footer-right button,body.topic-view-page .post-footer-right .post-action-link{height:28px;padding:0 8px;border-radius:3px;border:1px solid #3d2e21;background:#21180f;color:#80684c;font-size:9px;display:inline-flex;align-items:center}
body.topic-view-page .post-footer-right button:hover,body.topic-view-page .post-footer-right .post-action-link:hover{border-color:#60401f;background:#30200f;color:#e6b06e;transform:none}
body.topic-view-page .post-footer-right .post-action-link.danger{color:#a96b62}

body.topic-view-page .reaction-picker-v27{position:relative;display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent}
body.topic-view-page .reaction-trigger{width:28px;height:28px;padding:0;border:1px solid #3d2e21!important;border-radius:50%!important;background:#21180f!important;color:#d8aa37!important;font-size:14px!important}
body.topic-view-page .reaction-picker-v27>b{min-width:16px;color:#765f43;font-size:9px;font-weight:650}
body.topic-view-page .reaction-popover{position:absolute;right:auto;left:0;bottom:36px;z-index:80;display:grid;grid-template-columns:repeat(3,minmax(72px,1fr));gap:4px;width:246px;padding:7px;border-radius:4px;border:1px solid #4a3828;background:#2a2017;box-shadow:0 18px 38px rgba(0,0,0,.46)}
body.topic-view-page .reaction-popover[hidden]{display:none!important}
body.topic-view-page .reaction-popover button{min-width:0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:54px!important;padding:5px!important;border-radius:3px!important;border:1px solid transparent!important;background:#2f251b!important;color:#8b7255!important;opacity:1!important;filter:none!important;transform:none!important}
body.topic-view-page .reaction-popover button span{font-size:18px;line-height:1}
body.topic-view-page .reaction-popover button small{font-size:7px;white-space:nowrap;color:#9e805b}
body.topic-view-page .reaction-popover button:hover,body.topic-view-page .reaction-popover button.active{border-color:#5a432a!important;background:#3a2a18!important;color:#ffb03b!important;box-shadow:none!important}

body.topic-view-page .reply-box-v27{margin-top:18px;padding:15px;border-radius:5px;background:#271e15;border-color:#3c2f23}
body.topic-view-page .reply-box-v27 h3{margin:0 0 10px;font-size:14px}
body.topic-view-page .reply-box-v27 textarea{min-height:135px;border-radius:4px;background:#1d160f;border-color:#3d2f23;color:#f1e9df}
body.topic-view-page .reply-box-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
body.topic-view-page .reply-box-actions small{color:#715c43;font-size:9px}
body.topic-view-page .reply-box-actions .btn{min-width:110px}

body.topic-view-page .floating-reply-button{position:fixed;right:24px;bottom:22px;z-index:70;height:40px;padding:0 17px;border-radius:22px;border:1px solid #ff9a14;background:#ff8a00;color:#1b1007;font-weight:900;font-size:11px;box-shadow:0 12px 32px rgba(0,0,0,.42),0 0 18px rgba(255,138,0,.16)}
body.topic-view-page .floating-reply-button:hover{background:#ff9a19;transform:translateY(-2px)}

body.topic-view-page .topic-message-modal[hidden]{display:none!important}
body.topic-view-page .topic-message-modal{position:fixed;inset:0;z-index:240;display:grid;place-items:center;padding:20px}
body.topic-view-page .topic-message-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(6px)}
body.topic-view-page .topic-message-dialog{position:relative;z-index:1;width:min(470px,calc(100vw - 34px));border:1px solid #4a3929;background:#2a2017;border-radius:5px;padding:15px;box-shadow:0 30px 90px #000b}
body.topic-view-page .topic-message-dialog h3{margin:0 30px 14px 0;font-size:13px;color:#f1e9df}
body.topic-view-page .topic-message-dialog h3 span{color:#5c86ff}
body.topic-view-page .topic-message-close{position:absolute;right:10px;top:8px;width:27px;height:27px;border:0;background:transparent;color:#bba88e;font-size:18px}
body.topic-view-page .topic-message-dialog label{display:grid;gap:6px;color:#a98a65;font-size:9px}
body.topic-view-page .topic-message-dialog textarea{width:100%;resize:vertical;min-height:105px;background:#2b2118;border:1px solid #415276;border-radius:4px;padding:10px;color:#efe8df;outline:none}
body.topic-view-page .topic-message-dialog textarea:focus{border-color:#5779bd;box-shadow:0 0 0 2px rgba(76,112,190,.12)}
body.topic-view-page .topic-message-counter{display:flex;justify-content:space-between;margin-top:5px;color:#665746;font-size:8px}
body.topic-view-page .topic-message-dialog footer{display:flex;justify-content:flex-end;gap:7px;margin-top:14px}
body.topic-view-page .topic-message-dialog footer .btn{height:31px;padding:0 11px;font-size:9px}
body.topic-view-page .topic-message-dialog footer .btn-primary{background:#3454a4;border-color:#4265bc;color:#dfe9ff}
body.topic-view-page .topic-message-dialog footer .btn-primary:hover{background:#4063bf}

@media(max-width:760px){
  body.topic-view-page .topic-page-head-v27 h1{font-size:23px}
  body.topic-view-page .post-card-v27{padding:12px}
  body.topic-view-page .post-footer-v27{align-items:flex-start;flex-direction:column}
  body.topic-view-page .post-footer-right{width:100%}
  body.topic-view-page .reaction-popover{left:0;right:auto;width:min(246px,calc(100vw - 50px))}
  body.topic-view-page .reply-box-actions{align-items:flex-start;flex-direction:column}
  body.topic-view-page .reply-box-actions .btn{width:100%}
  body.topic-view-page .floating-reply-button{right:12px;bottom:12px}
}
@media(max-width:500px){
  body.topic-view-page .topic-byline-v27 span:nth-of-type(2),body.topic-view-page .topic-byline-v27 span:nth-of-type(3){display:none}
  body.topic-view-page .post-user-v27 .avatar-md{width:34px;height:34px}
  body.topic-view-page .post-user-line .level-pill,body.topic-view-page .post-user-line .coins-pill{display:none}
  body.topic-view-page .post-inline-image{max-width:100%;height:auto}
}

/* ==== V2.8 · main category bars / slider / active users / settings / BBCode / topic polish ==== */

/* Main page category bar */
.home-page .forum-block{overflow:hidden;border-color:#4b3523;background:linear-gradient(180deg,#251a10,#20170f)}
.home-page .forum-block-head{display:grid;grid-template-columns:34px minmax(0,1fr) 235px 34px;gap:12px;align-items:center;min-height:58px;padding:0 14px 0 13px;background:linear-gradient(180deg,#302318,#281d14);border-bottom:1px solid #473222}
.home-page .forum-block-head::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#ff8b00,#b96000)}
.home-page .forum-block-head::after{left:14px;right:14px;background:linear-gradient(90deg,rgba(255,142,8,.62),rgba(255,142,8,.07) 34%,transparent 72%)}
.home-page .forum-cat-icon{width:31px;height:31px;border-radius:7px!important;background:linear-gradient(145deg,#3d250b,#2b1d10)!important;border:1px solid #5f3b16!important;color:#ff9d1a!important;box-shadow:inset 0 1px rgba(255,255,255,.03),0 8px 20px rgba(0,0,0,.18)!important}
.home-page .forum-cat-title{min-width:0;display:flex;align-items:baseline;gap:9px}
.home-page .forum-cat-title strong{font-size:11px;letter-spacing:.105em;text-transform:uppercase;color:#f8f1e9;white-space:nowrap}
.home-page .forum-cat-title small{font-size:9px;color:#725a42;font-weight:700}
.home-page .forum-cat-columns{display:grid!important;grid-template-columns:70px 1fr;gap:25px;align-items:center;color:#6e5842!important;font-size:8px!important;letter-spacing:.12em!important;text-align:left}
.home-page .forum-cat-columns span:last-child{text-align:left}
.home-page .forum-block-head>button{justify-self:end}
.home-page .forum-block:hover .forum-block-head{border-bottom-color:#594026}

/* Spotlight: visually smoother continuous carousel */
.home-page .spotlight-card{position:relative;overflow:hidden}
.home-page .spotlight-card::before,.home-page .spotlight-card::after{content:'';position:absolute;top:72px;bottom:14px;width:34px;z-index:4;pointer-events:none}
.home-page .spotlight-card::before{left:0;background:linear-gradient(90deg,#26190f,transparent)}
.home-page .spotlight-card::after{right:0;background:linear-gradient(270deg,#26190f,transparent)}
.home-page .spot-track{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;will-change:scroll-position;overscroll-behavior-inline:contain;padding:17px 4px 8px}
.home-page .spot-item{flex:0 0 132px}
.home-page .spot-controls button{min-width:34px;transition:.2s ease}
.home-page .spot-controls button:hover{transform:translateY(-2px);border-color:#725023;color:#ffb142;background:#322114}

/* Active users panel */
.active-section-v28{margin-top:30px}
.active-section-v28 .active-head{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.active-section-v28 .active-head>div{display:flex;align-items:center;gap:12px}
.active-section-v28 .active-head-icon{width:33px;height:33px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(145deg,#123625,#0f251c);border:1px solid #184d34;color:#18d081;box-shadow:0 0 20px rgba(17,201,120,.08)}
.active-section-v28 .active-head h2{margin:0;font-size:19px;letter-spacing:-.02em}
.active-section-v28 .active-head p{margin:2px 0 0;color:#80674b;font-size:11px}
.active-section-v28 .active-head>b{display:flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #3e3023;background:#241b13;border-radius:20px;color:#cdb99e;font-size:11px;white-space:nowrap}
.active-section-v28 .active-head>b i{width:7px;height:7px;border-radius:50%;background:#10cc7a;box-shadow:0 0 10px rgba(16,204,122,.65)}
.active-section-v28 .active-card{border:1px solid #3e3024;background:linear-gradient(180deg,#241b13,#211810);border-radius:10px;padding:18px 17px;box-shadow:0 18px 42px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.02)}
.active-section-v28 .active-group+.active-group{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.045)}
.active-section-v28 .active-group-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.active-section-v28 .active-group-title h3{margin:0;font-size:11px;letter-spacing:.04em}
.active-section-v28 .active-group-title span{min-width:20px;height:18px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;background:#2f241a;border:1px solid #453425;color:#866d50;font-size:8px;font-weight:900}
.active-section-v28 .user-chips{display:flex;flex-wrap:wrap;gap:7px}
.active-section-v28 .user-chips a{min-height:31px;padding:4px 9px 4px 5px;border:1px solid #453323;background:#2b2016;border-radius:16px;display:inline-flex;align-items:center;gap:6px;color:#d6c4ae;font-weight:760;font-size:10px;box-shadow:none}
.active-section-v28 .user-chips a:hover{background:#342518;border-color:#654520;transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.17)}
.active-section-v28 .user-chips a.is-extra{display:none}
.active-section-v28 .user-chips.expanded a.is-extra{display:inline-flex;animation:activeUserIn .2s ease both}
.active-section-v28 .user-chips button{min-height:31px;padding:0 10px;border:1px solid #5c3b17;background:#38230d;color:#e99a24;border-radius:16px;font-size:9px;font-weight:850}
.active-section-v28 .user-chips button:hover{background:#492d0d;border-color:#87541c;color:#ffc060}
@keyframes activeUserIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Settings: cleaner dashboard-like layout */
body.settings-page .page-shell{max-width:1180px}
body.settings-page .settings-title{display:flex;align-items:center;gap:13px;margin:7px 0 22px}
body.settings-page .settings-back{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;border:1px solid #3f3022;background:#241b12;color:#907252;transition:.2s ease}
body.settings-page .settings-back:hover{transform:translateX(-2px);background:#302116;color:#ff9c19;border-color:#61411f}
body.settings-page .settings-title h1{margin:0;font-size:25px;letter-spacing:-.03em}
body.settings-page .settings-title p{margin:2px 0 0;color:#806648;font-size:11px}
body.settings-page .settings-top-tabs{padding:5px;border:1px solid #3b2e23;background:#211910;border-radius:9px;gap:5px;margin-bottom:18px}
body.settings-page .settings-top-tabs a{height:39px;border:0;background:transparent;border-radius:6px;position:relative;color:#896f50}
body.settings-page .settings-top-tabs a:hover{background:#2d2117;color:#dbc4a4;transform:translateY(-1px)}
body.settings-page .settings-top-tabs a.active{box-shadow:0 7px 18px rgba(255,134,0,.12);transform:none}
body.settings-page .settings-card{position:relative;overflow:hidden;padding:21px 22px;border-radius:8px;border-color:#3f3125;background:linear-gradient(180deg,#281f17,#241b13);box-shadow:0 14px 32px rgba(0,0,0,.12)!important;transition:border-color .22s ease,background .22s ease,transform .22s ease,box-shadow .22s ease!important}
body.settings-page .settings-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(180deg,transparent,#ff8700,transparent);opacity:0;transition:.22s ease}
body.settings-page .settings-card:hover{transform:translateY(-2px)!important;border-color:#5a4028!important;background:linear-gradient(180deg,#2d2218,#261c13)!important;box-shadow:0 18px 38px rgba(0,0,0,.2)!important}
body.settings-page .settings-card:hover::before{opacity:.8}
body.settings-page .settings-card h2{font-size:16px;margin-bottom:15px}
body.settings-page .settings-card input,body.settings-page .settings-card textarea,body.settings-page .settings-card select{min-height:41px;background:#211911!important;border-color:#3d3025!important;transition:.2s ease}
body.settings-page .settings-card textarea{min-height:100px;padding-top:10px}
body.settings-page .settings-card input:hover,body.settings-page .settings-card textarea:hover,body.settings-page .settings-card select:hover{border-color:#55402d!important;background:#261c13!important}
body.settings-page .settings-card input:focus,body.settings-page .settings-card textarea:focus,body.settings-page .settings-card select:focus{border-color:#9a5f1e!important;box-shadow:0 0 0 3px rgba(255,134,0,.08)!important}
body.settings-page .setting-avatar-row{padding:12px 14px;border:1px dashed #443529;background:#211810;border-radius:7px}
body.settings-page .setting-avatar-row:hover{border-color:#704c26;background:#261b12}
body.settings-page .profile-banner-preview{height:145px;border-radius:7px;position:relative;overflow:hidden}
body.settings-page .profile-banner-preview::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.3));pointer-events:none}
body.settings-page .settings-showcase-card{transition:.2s ease}
body.settings-page .settings-showcase-card:hover{transform:translateY(-3px);border-color:#705025!important;box-shadow:0 10px 24px rgba(0,0,0,.18)}
body.settings-page .notification-row{padding:12px 10px!important;border-radius:6px;transition:.18s ease}
body.settings-page .notification-row:hover{background:#2b2016}
body.settings-page .benefit-row:hover,body.settings-page .level-row:hover,body.settings-page .currency-history>div:hover{border-color:#5b422d;background:#30241a;transform:translateX(2px)}
body.settings-page .benefit-row,body.settings-page .level-row,body.settings-page .currency-history>div{transition:.18s ease}

/* Modern BBCode editor */
.editor-form{overflow:visible}
.editor-toolbar-v28{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px!important;border:1px solid #493624!important;border-bottom:0!important;border-radius:7px 7px 0 0!important;background:linear-gradient(180deg,#2b2117,#241a11)!important}
.editor-tools-main{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.editor-toolbar-v28 button{width:34px!important;min-width:34px!important;height:32px!important;padding:0!important;border-radius:5px!important;border:1px solid #493522!important;background:#21170f!important;color:#c9ad88!important;display:grid;place-items:center;font-size:12px!important;transition:.18s ease!important}
.editor-toolbar-v28 button:hover{transform:translateY(-2px)!important;background:#34220f!important;color:#fff!important;border-color:#82511c!important;box-shadow:0 7px 16px rgba(0,0,0,.18)!important}
.editor-toolbar-v28>span{margin-left:auto!important;white-space:nowrap;color:#6e5a44!important}
.editor-form textarea[data-editor]{border-radius:0 0 7px 7px!important;min-height:210px!important;background:#1d160f!important;border-color:#493624!important;font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;tab-size:4}
.editor-preview{border-style:solid!important;background:#20170f!important;border-color:#483421!important;min-height:120px;color:#d9cab9!important;line-height:1.65!important}
.editor-preview img{max-width:min(100%,520px);max-height:520px;object-fit:contain;border-radius:5px;border:1px solid #4e3826}
.editor-preview pre{overflow:auto;background:#140e09;border:1px solid #3d2d20;border-radius:5px;padding:12px}
.editor-preview blockquote{margin:8px 0;padding:10px 12px;border-left:3px solid #ff8b00;background:#2b2017;color:#cdb79b}
.editor-preview details{border:1px solid #403124;border-radius:5px;background:#261c13;padding:8px 10px}

/* Topic view: more structured and premium */
body.topic-view-page .topic-page-head-v27{padding:18px 20px!important;border:1px solid #3c2e22;border-radius:8px;background:linear-gradient(180deg,#251c13,#211810);box-shadow:0 16px 40px rgba(0,0,0,.13)}
body.topic-view-page .topic-page-head-v27 h1{font-size:30px}
body.topic-view-page .hosting-filter-v27{margin-top:-12px;height:40px;border-radius:6px;background:#1f1710;box-shadow:0 7px 18px rgba(0,0,0,.08)}
body.topic-view-page .post-card-v27{padding:0!important;border-radius:8px!important;overflow:visible;background:linear-gradient(180deg,#281f16,#241b13)!important}
body.topic-view-page .post-head-v27{padding:13px 15px;border-bottom:1px solid #392c21;background:#2a2017;border-radius:8px 8px 0 0}
body.topic-view-page .post-content-v27{padding:4px 16px 2px;margin:15px 0 12px!important;font-size:12px;line-height:1.72}
body.topic-view-page .post-footer-v27{margin:0 15px;padding:10px 0 13px}
body.topic-view-page .post-card-v27::before{content:'';position:absolute;left:-1px;top:12px;bottom:12px;width:2px;background:linear-gradient(180deg,transparent,#d67c1e,transparent);opacity:0;transition:.2s ease}
body.topic-view-page .post-card-v27:hover::before{opacity:.7}
body.topic-view-page .post-user-line>a{font-size:13px!important}
body.topic-view-page .post-user-copy>small{font-size:9px}
body.topic-view-page .post-code-wrap{margin:12px 0;border:1px solid #3d2f23;border-radius:5px;overflow:hidden;background:#17100a}
body.topic-view-page .post-code-head{display:flex;justify-content:space-between;align-items:center;padding:7px 10px;background:#211810;border-bottom:1px solid #392a1d;color:#c29d6b;font-size:9px;font-weight:800}
body.topic-view-page .post-code-head span{color:#6f8fbd;text-transform:uppercase}
body.topic-view-page .post-code-wrap .post-code{margin:0;border:0!important;border-radius:0!important;max-height:520px;overflow:auto}
body.topic-view-page blockquote{margin:12px 0;padding:11px 13px;border-left:3px solid #d97c17;background:#211810;border-radius:0 4px 4px 0;color:#bca184}
body.topic-view-page blockquote cite{display:block;margin-bottom:5px;color:#ff9a1c;font-size:9px;font-style:normal;font-weight:850}
body.topic-view-page .post-bb-list{padding-left:22px}
body.topic-view-page .post-bb-list li{margin:4px 0;padding-left:3px}

@media(max-width:800px){
  .home-page .forum-block-head{grid-template-columns:34px 1fr 34px}.home-page .forum-cat-columns{display:none!important}
  .active-section-v28 .active-head{align-items:flex-start}.active-section-v28 .active-head>b{font-size:9px}
  body.settings-page .settings-card{padding:18px 15px}
  .editor-toolbar-v28{align-items:flex-start;flex-direction:column}.editor-toolbar-v28>span{margin-left:0!important}
}

/* ==== V2.9 · Topic action sidebar + full-width reply composer ==== */
body.topic-view-page .post-card-v27{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 190px!important;
  grid-template-rows:auto auto!important;
  column-gap:0!important;
  align-items:start!important;
  padding:0!important;
  overflow:visible!important;
  border:1px solid #443326!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#2b2118 0%,#251c14 100%)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
}
body.topic-view-page .post-card-v27:hover{
  border-color:#59422d!important;
  box-shadow:0 16px 38px rgba(0,0,0,.22),0 0 0 1px rgba(255,145,0,.035)!important;
}
body.topic-view-page .post-head-v27{
  grid-column:1/-1!important;
  grid-row:1!important;
  padding:14px 16px!important;
  border-bottom:1px solid #3d2e22!important;
  background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(0,0,0,.018))!important;
  border-radius:10px 10px 0 0!important;
}
body.topic-view-page .post-content-v27{
  grid-column:1!important;
  grid-row:2!important;
  min-width:0!important;
  min-height:150px!important;
  padding:20px 22px 24px!important;
  border-right:1px solid #3a2c20!important;
  color:#eadfce!important;
  line-height:1.75!important;
}
body.topic-view-page .post-footer-v27{
  grid-column:2!important;
  grid-row:2!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:12px!important;
  min-width:0!important;
  margin:0!important;
  padding:14px!important;
  border:0!important;
  background:linear-gradient(180deg,#231910 0%,#1d150e 100%)!important;
  border-radius:0 0 10px 0!important;
  position:relative!important;
}
body.topic-view-page .post-footer-v27::before{
  content:'AKCJE';
  display:block;
  margin:0 0 2px;
  color:#725a40;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
body.topic-view-page .post-footer-left,
body.topic-view-page .post-footer-right{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:7px!important;
}
body.topic-view-page .post-footer-left{padding-bottom:10px!important;border-bottom:1px solid #37291d!important}
body.topic-view-page .post-footer-v27 button,
body.topic-view-page .post-footer-v27 .post-action-link,
body.topic-view-page .post-footer-v27 .reaction-trigger,
body.topic-view-page .post-footer-v27 .reaction-total{
  width:100%!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:0 11px!important;
  border:1px solid #45321f!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,#2d2014,#24180f)!important;
  color:#b9976f!important;
  font-size:11px!important;
  font-weight:800!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
}
body.topic-view-page .post-footer-v27 button:hover,
body.topic-view-page .post-footer-v27 .post-action-link:hover,
body.topic-view-page .post-footer-v27 .reaction-trigger:hover{
  transform:translateX(-2px)!important;
  border-color:#80501f!important;
  background:linear-gradient(180deg,#382515,#2b1c10)!important;
  color:#ffd19a!important;
  box-shadow:0 7px 17px rgba(0,0,0,.18),0 0 0 1px rgba(255,145,0,.035)!important;
}
body.topic-view-page .post-footer-v27 .post-action-link.danger{
  color:#e28a82!important;
  border-color:#5b3028!important;
  background:linear-gradient(180deg,#321a16,#27130f)!important;
}
body.topic-view-page .post-footer-v27 .post-action-link.danger:hover{
  color:#ffb0aa!important;
  border-color:#874039!important;
  background:linear-gradient(180deg,#43201b,#321713)!important;
}
body.topic-view-page .reaction-picker-v27{
  width:100%!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:7px!important;
  align-items:center!important;
  position:relative!important;
}
body.topic-view-page .reaction-picker-v27 .reaction-trigger{grid-column:1!important;min-width:0!important}
body.topic-view-page .reaction-picker-v27>b{
  grid-column:2!important;
  min-width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #45321f!important;
  border-radius:7px!important;
  background:#1c140d!important;
  color:#d7b17b!important;
  font-size:11px!important;
}
body.topic-view-page .reaction-picker-v27 .reaction-popover{
  left:auto!important;
  right:0!important;
  bottom:44px!important;
  z-index:80!important;
}
body.topic-view-page .post-message-user{
  width:36px!important;
  height:36px!important;
  border-radius:8px!important;
  border-color:#533821!important;
  background:#21160e!important;
  color:#dba765!important;
}
body.topic-view-page .post-message-user:hover{background:#342313!important;color:#ffd19a!important;border-color:#83521f!important}

/* Reply composer */
body.topic-view-page .reply-box-v29{
  width:100%!important;
  box-sizing:border-box!important;
  margin-top:18px!important;
  padding:18px!important;
  border:1px solid #443326!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#2a2017,#241b13)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.16)!important;
  display:block!important;
}
body.topic-view-page .reply-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:12px!important}
body.topic-view-page .reply-title-row h3{margin:0!important;font-size:16px!important;color:#f5ede4!important}
body.topic-view-page .reply-title-row small{display:block!important;margin-top:3px!important;color:#7f674d!important;font-size:10px!important}
body.topic-view-page .reply-box-v29 .editor-toolbar-v28{
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  border-radius:8px 8px 0 0!important;
  background:#21170f!important;
  border-color:#493522!important;
  padding:8px!important;
}
body.topic-view-page .reply-editor-field{width:100%!important;margin:0!important}
body.topic-view-page .reply-box-v29 textarea[data-editor]{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:190px!important;
  margin:0!important;
  padding:15px 16px!important;
  box-sizing:border-box!important;
  resize:vertical!important;
  border:1px solid #493522!important;
  border-top:0!important;
  border-radius:0 0 8px 8px!important;
  background:#19110b!important;
  color:#f1e8de!important;
  font-size:14px!important;
  line-height:1.65!important;
  outline:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
body.topic-view-page .reply-box-v29 textarea[data-editor]::placeholder{color:#755e45!important}
body.topic-view-page .reply-box-v29 textarea[data-editor]:focus{
  border-color:#765025!important;
  background:#1d140d!important;
  box-shadow:0 0 0 3px rgba(255,138,0,.065)!important;
}
body.topic-view-page .reply-submit-row{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  margin-top:11px!important;
}
body.topic-view-page .reply-submit-row .btn{min-width:116px!important;height:40px!important;border-radius:7px!important}
body.topic-view-page .reply-preview-btn{background:#281b11!important;border-color:#4a341f!important;color:#bd9669!important}
body.topic-view-page .reply-preview-btn:hover{background:#342215!important;color:#f1c995!important;border-color:#795021!important}
body.topic-view-page .reply-submit-btn{box-shadow:0 8px 20px rgba(240,132,0,.12)!important}
body.topic-view-page .reply-preview-box{width:100%!important;box-sizing:border-box!important;margin:12px 0 0!important}

@media(max-width:900px){
  body.topic-view-page .post-card-v27{grid-template-columns:1fr!important}
  body.topic-view-page .post-head-v27,body.topic-view-page .post-content-v27,body.topic-view-page .post-footer-v27{grid-column:1!important}
  body.topic-view-page .post-content-v27{grid-row:2!important;border-right:0!important;border-bottom:1px solid #3a2c20!important}
  body.topic-view-page .post-footer-v27{grid-row:3!important;border-radius:0 0 10px 10px!important}
  body.topic-view-page .post-footer-v27::before{margin-bottom:5px!important}
  body.topic-view-page .post-footer-left,body.topic-view-page .post-footer-right{flex-direction:row!important;flex-wrap:wrap!important}
  body.topic-view-page .post-footer-v27 button,body.topic-view-page .post-footer-v27 .post-action-link{width:auto!important;min-width:105px!important;justify-content:center!important}
  body.topic-view-page .reaction-picker-v27{width:auto!important;grid-template-columns:auto auto!important}
  body.topic-view-page .reaction-picker-v27 .reaction-trigger{width:auto!important;min-width:90px!important}
}
@media(max-width:620px){
  body.topic-view-page .post-head-v27{padding:12px!important}
  body.topic-view-page .post-content-v27{padding:16px!important}
  body.topic-view-page .post-footer-v27{padding:12px!important}
  body.topic-view-page .post-footer-left,body.topic-view-page .post-footer-right{display:grid!important;grid-template-columns:1fr 1fr!important}
  body.topic-view-page .post-footer-v27 button,body.topic-view-page .post-footer-v27 .post-action-link{width:100%!important;min-width:0!important}
  body.topic-view-page .reaction-picker-v27{grid-column:1/-1!important;width:100%!important}
  body.topic-view-page .reply-submit-row{display:grid!important;grid-template-columns:1fr 1fr!important}
  body.topic-view-page .reply-submit-row .btn{width:100%!important;min-width:0!important}
}


/* ==== V2.10 · Post actions as a full-width bottom bar ==== */
body.topic-view-page .post-card-v27{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto auto!important;
  padding:0!important;
  overflow:visible!important;
}
body.topic-view-page .post-head-v27{
  grid-column:1!important;
  grid-row:1!important;
}
body.topic-view-page .post-content-v27{
  grid-column:1!important;
  grid-row:2!important;
  width:100%!important;
  min-height:150px!important;
  padding:20px 22px 24px!important;
  border-right:0!important;
  border-bottom:1px solid #3a2c20!important;
}
body.topic-view-page .post-footer-v27{
  grid-column:1!important;
  grid-row:3!important;
  width:100%!important;
  min-height:58px!important;
  margin:0!important;
  padding:10px 14px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:0!important;
  border-radius:0 0 10px 10px!important;
  background:linear-gradient(180deg,#21180f 0%,#1b130c 100%)!important;
}
body.topic-view-page .post-footer-v27::before{
  content:'AKCJE';
  flex:0 0 auto!important;
  margin:0 4px 0 0!important;
  color:#725a40!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
}
body.topic-view-page .post-footer-left,
body.topic-view-page .post-footer-right{
  width:auto!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
body.topic-view-page .post-footer-left{
  padding:0!important;
  margin-right:auto!important;
  border:0!important;
}
body.topic-view-page .post-footer-right{
  margin-left:auto!important;
  justify-content:flex-end!important;
}
body.topic-view-page .post-footer-v27 button,
body.topic-view-page .post-footer-v27 .post-action-link,
body.topic-view-page .post-footer-v27 .reaction-trigger,
body.topic-view-page .post-footer-v27 .reaction-total{
  width:auto!important;
  min-width:0!important;
  min-height:36px!important;
  padding:0 11px!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
body.topic-view-page .post-footer-v27 button:hover,
body.topic-view-page .post-footer-v27 .post-action-link:hover,
body.topic-view-page .post-footer-v27 .reaction-trigger:hover{
  transform:translateY(-1px)!important;
}
body.topic-view-page .reaction-picker-v27{
  width:auto!important;
  display:inline-grid!important;
  grid-template-columns:auto auto!important;
  gap:6px!important;
  align-items:center!important;
}
body.topic-view-page .reaction-picker-v27 .reaction-trigger{
  width:auto!important;
  min-width:38px!important;
}
body.topic-view-page .reaction-picker-v27>b{
  min-width:34px!important;
  height:36px!important;
}
body.topic-view-page .reaction-picker-v27 .reaction-popover{
  left:0!important;
  right:auto!important;
  bottom:43px!important;
}
@media(max-width:900px){
  body.topic-view-page .post-footer-v27{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
  }
  body.topic-view-page .post-footer-v27::before{
    width:100%!important;
    margin-bottom:2px!important;
  }
  body.topic-view-page .post-footer-left,
  body.topic-view-page .post-footer-right{
    width:100%!important;
    margin:0!important;
    justify-content:flex-start!important;
  }
}
@media(max-width:620px){
  body.topic-view-page .post-footer-left,
  body.topic-view-page .post-footer-right{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.topic-view-page .post-footer-v27 button,
  body.topic-view-page .post-footer-v27 .post-action-link{
    width:100%!important;
  }
  body.topic-view-page .reaction-picker-v27{
    grid-column:1/-1!important;
    width:100%!important;
    grid-template-columns:1fr auto!important;
  }
  body.topic-view-page .reaction-picker-v27 .reaction-trigger{
    width:100%!important;
  }
}


/* ==== V2.11 · Profile status tiles: joined / activity / current ==== */
.profile-page .profile-info.profile-info-v211{
  margin-top:24px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  max-width:780px!important;
}
.profile-page .profile-info-v211 .profile-info-card{
  --info-accent:#ff9a24;
  --info-accent-rgb:255,154,36;
  position:relative!important;
  min-height:72px!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  overflow:hidden!important;
  border:1px solid rgba(var(--info-accent-rgb),.20)!important;
  border-radius:8px!important;
  background:
    radial-gradient(circle at 10% 25%,rgba(var(--info-accent-rgb),.12),transparent 42%),
    linear-gradient(135deg,rgba(var(--info-accent-rgb),.055),rgba(18,14,10,.12) 58%),
    #211a13!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 22px rgba(0,0,0,.12)!important;
  isolation:isolate!important;
  transition:transform .22s cubic-bezier(.22,.61,.36,1),border-color .22s ease,box-shadow .22s ease,background .22s ease!important;
}
.profile-page .profile-info-v211 .profile-info-card::before{
  content:'';
  position:absolute;
  left:0;top:10px;bottom:10px;
  width:2px;
  border-radius:4px;
  background:linear-gradient(180deg,transparent,var(--info-accent),transparent);
  opacity:.8;
  transition:top .22s ease,bottom .22s ease,opacity .22s ease!important;
}
.profile-page .profile-info-v211 .profile-info-card::after{
  content:'';
  position:absolute;
  width:92px;height:92px;
  right:-42px;top:-46px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(var(--info-accent-rgb),.16),transparent 68%);
  opacity:.35;
  transform:scale(.8);
  transition:opacity .22s ease,transform .28s ease!important;
  pointer-events:none;
  z-index:-1;
}
.profile-page .profile-info-v211 .profile-info-card:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(var(--info-accent-rgb),.42)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 13px 28px rgba(0,0,0,.24),
    0 0 0 1px rgba(var(--info-accent-rgb),.055),
    0 0 24px rgba(var(--info-accent-rgb),.065)!important;
}
.profile-page .profile-info-v211 .profile-info-card:hover::before{top:5px;bottom:5px;opacity:1}
.profile-page .profile-info-v211 .profile-info-card:hover::after{opacity:.72;transform:scale(1.1)}
.profile-page .profile-info-v211 .profile-info-icon{
  width:40px;height:40px;
  display:grid;place-items:center;
  border:1px solid rgba(var(--info-accent-rgb),.30);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(var(--info-accent-rgb),.13),rgba(var(--info-accent-rgb),.045));
  color:var(--info-accent);
  font-size:18px;
  font-weight:900;
  text-shadow:0 0 12px rgba(var(--info-accent-rgb),.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.profile-page .profile-info-v211 .profile-info-card:hover .profile-info-icon{
  transform:translateY(-1px) scale(1.055);
  border-color:rgba(var(--info-accent-rgb),.48);
  box-shadow:0 8px 18px rgba(var(--info-accent-rgb),.10),inset 0 1px 0 rgba(255,255,255,.04);
}
.profile-page .profile-info-v211 .profile-info-card>div{min-width:0}
.profile-page .profile-info-v211 .profile-info-card small{
  display:block!important;
  margin:0 0 6px!important;
  color:rgba(var(--info-accent-rgb),.76)!important;
  font-size:9px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:.16em!important;
}
.profile-page .profile-info-v211 .profile-info-card strong{
  display:block!important;
  min-width:0;
  margin:0!important;
  color:#f6f0e8!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.35!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.profile-page .profile-info-v211 .profile-info-card.profile-info-activity strong{color:#baf8d6!important}
.profile-page .profile-info-v211 .profile-info-card.profile-info-current strong{color:#c8e3ff!important}
.profile-page .profile-info-v211 .profile-info-joined{--info-accent:#ff9b27;--info-accent-rgb:255,155,39}
.profile-page .profile-info-v211 .profile-info-activity{--info-accent:#19d98a;--info-accent-rgb:25,217,138}
.profile-page .profile-info-v211 .profile-info-current{--info-accent:#4aa8ff;--info-accent-rgb:74,168,255}
.profile-page .profile-info-v211 .profile-info-activity .online-text::first-letter{color:#19d98a}

@media(max-width:780px){
  .profile-page .profile-info.profile-info-v211{grid-template-columns:1fr!important;max-width:none!important}
  .profile-page .profile-info-v211 .profile-info-card{min-height:66px!important}
}
@media(prefers-reduced-motion:reduce){
  .profile-page .profile-info-v211 .profile-info-card,
  .profile-page .profile-info-v211 .profile-info-card::before,
  .profile-page .profile-info-v211 .profile-info-card::after,
  .profile-page .profile-info-v211 .profile-info-icon{transition:none!important;transform:none!important}
}


/* ==== V2.12 · Chatbox emoji panel containment fix ==== */
.chat-compose{
  min-width:0;
}
.chat-emoji-panel{
  right:0!important;
  left:auto!important;
  bottom:46px!important;
  width:min(300px, calc(100% - 4px))!important;
  max-width:calc(100vw - 32px)!important;
  box-sizing:border-box!important;
  padding:9px!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:4px!important;
  overflow:hidden!important;
  contain:layout paint;
}
.chat-emoji-panel button{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:32px!important;
  aspect-ratio:1 / 1;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  font-size:18px!important;
  transform-origin:center!important;
}
.chat-emoji-panel button:hover{
  transform:scale(1.06)!important;
}
.chatbox-card.is-expanded .chat-emoji-panel{
  width:min(320px, calc(100% - 4px))!important;
}
@media(max-width:720px){
  .chat-emoji-panel{
    width:min(280px, calc(100% - 2px))!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
  }
}
@media(max-width:560px){
  .chat-emoji-panel{
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    padding:8px!important;
  }
  .chat-emoji-panel button{
    min-height:30px!important;
    font-size:17px!important;
  }
}
@media(max-width:390px){
  .chat-emoji-panel{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}


/* ==== V2.13 · Profile level + reputation premium tiles ==== */
.profile-page .profile-rankline{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(150px,1fr))!important;
  gap:10px!important;
  width:min(390px,100%)!important;
  margin-top:13px!important;
}
.profile-page .profile-rankline span{
  position:relative!important;
  min-height:54px!important;
  padding:10px 13px 10px 45px!important;
  display:flex!important;
  align-items:center!important;
  border-radius:9px!important;
  overflow:hidden!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  background:#211a13!important;
  border:1px solid #43362a!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 18px rgba(0,0,0,.12)!important;
  transition:
    transform .22s cubic-bezier(.22,.61,.36,1),
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease!important;
}
.profile-page .profile-rankline span::before{
  position:absolute;
  left:11px;
  top:50%;
  width:25px;
  height:25px;
  transform:translateY(-50%);
  border-radius:7px;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:900;
  content:'';
  transition:transform .22s ease, box-shadow .22s ease;
}
.profile-page .profile-rankline span::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.35;
  background:linear-gradient(115deg,rgba(255,255,255,.045),transparent 30%,transparent 70%,rgba(255,255,255,.02));
}
.profile-page .profile-rankline span:nth-child(1){
  color:#bda3ff!important;
  border-color:rgba(143,99,238,.34)!important;
  background:
    radial-gradient(circle at 10% 15%,rgba(130,84,235,.13),transparent 45%),
    linear-gradient(180deg,#251f2a,#211a20)!important;
}
.profile-page .profile-rankline span:nth-child(1)::before{
  content:'★';
  color:#b38cff;
  background:rgba(126,83,224,.13);
  border:1px solid rgba(145,101,237,.38);
  box-shadow:0 0 16px rgba(126,83,224,.12);
}
.profile-page .profile-rankline span:nth-child(2){
  color:#f6c35c!important;
  border-color:rgba(231,174,38,.30)!important;
  background:
    radial-gradient(circle at 10% 15%,rgba(230,166,24,.12),transparent 45%),
    linear-gradient(180deg,#2a2418,#211c14)!important;
}
.profile-page .profile-rankline span:nth-child(2)::before{
  content:'✦';
  color:#ffc84e;
  background:rgba(230,169,27,.12);
  border:1px solid rgba(231,174,38,.34);
  box-shadow:0 0 16px rgba(231,174,38,.10);
}
.profile-page .profile-rankline span:hover{
  transform:translateY(-3px)!important;
}
.profile-page .profile-rankline span:nth-child(1):hover{
  border-color:rgba(163,120,255,.58)!important;
  box-shadow:
    0 12px 26px rgba(0,0,0,.20),
    0 0 0 1px rgba(147,104,239,.08),
    0 0 24px rgba(126,83,224,.10)!important;
}
.profile-page .profile-rankline span:nth-child(2):hover{
  border-color:rgba(255,192,52,.52)!important;
  box-shadow:
    0 12px 26px rgba(0,0,0,.20),
    0 0 0 1px rgba(231,174,38,.07),
    0 0 24px rgba(231,174,38,.09)!important;
}
.profile-page .profile-rankline span:hover::before{
  transform:translateY(-50%) scale(1.08)!important;
}
@media(max-width:560px){
  .profile-page .profile-rankline{
    grid-template-columns:1fr!important;
    width:100%!important;
  }
}


/* ==== V2.15 · Poziom + reputacja jako jedna elegancka belka ==== */
.profile-page .profile-rankline{
  display:inline-flex!important;
  align-items:stretch!important;
  gap:0!important;
  width:auto!important;
  max-width:100%!important;
  min-height:46px!important;
  margin-top:12px!important;
  padding:3px!important;
  border:1px solid #43372b!important;
  border-radius:10px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.025)),
    #211a13!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 20px rgba(0,0,0,.14)!important;
  overflow:hidden!important;
}

.profile-page .profile-rankline span{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:40px!important;
  min-width:148px!important;
  margin:0!important;
  padding:0 15px 0 43px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.1!important;
  transition:
    color .2s ease,
    background .22s ease,
    transform .22s cubic-bezier(.22,.61,.36,1),
    box-shadow .22s ease!important;
}

.profile-page .profile-rankline span + span{
  margin-left:3px!important;
}

.profile-page .profile-rankline span::before{
  position:absolute!important;
  left:10px!important;
  top:50%!important;
  width:25px!important;
  height:25px!important;
  transform:translateY(-50%)!important;
  display:grid!important;
  place-items:center!important;
  border-radius:7px!important;
  font-size:13px!important;
  font-weight:900!important;
  transition:transform .22s ease,box-shadow .22s ease!important;
}

.profile-page .profile-rankline span::after{
  content:''!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  bottom:2px!important;
  height:2px!important;
  border-radius:999px!important;
  opacity:0!important;
  transform:scaleX(.35)!important;
  transform-origin:center!important;
  transition:opacity .22s ease,transform .22s ease!important;
}

/* Poziom */
.profile-page .profile-rankline span:nth-child(1){
  color:#c6adff!important;
}
.profile-page .profile-rankline span:nth-child(1)::before{
  content:'★'!important;
  color:#b998ff!important;
  background:rgba(142,95,235,.12)!important;
  border:1px solid rgba(154,112,244,.34)!important;
  box-shadow:0 0 14px rgba(137,89,230,.10)!important;
}
.profile-page .profile-rankline span:nth-child(1)::after{
  background:linear-gradient(90deg,transparent,#9568ef,transparent)!important;
}

/* Reputacja */
.profile-page .profile-rankline span:nth-child(2){
  color:#f6c863!important;
}
.profile-page .profile-rankline span:nth-child(2)::before{
  content:'✦'!important;
  color:#ffc94c!important;
  background:rgba(229,169,25,.12)!important;
  border:1px solid rgba(236,181,44,.31)!important;
  box-shadow:0 0 14px rgba(229,169,25,.09)!important;
}
.profile-page .profile-rankline span:nth-child(2)::after{
  background:linear-gradient(90deg,transparent,#e7aa25,transparent)!important;
}

/* Delikatny separator pomiędzy kafelkami */
.profile-page .profile-rankline span:nth-child(2){
  border-left:1px solid rgba(108,85,61,.32)!important;
  border-radius:0 7px 7px 0!important;
}
.profile-page .profile-rankline span:nth-child(1){
  border-radius:7px 0 0 7px!important;
}

.profile-page .profile-rankline span:nth-child(1):hover{
  color:#e0d4ff!important;
  background:
    radial-gradient(circle at 16% 50%,rgba(142,95,235,.14),transparent 48%),
    rgba(139,93,232,.045)!important;
  transform:translateY(-1px)!important;
  box-shadow:inset 0 0 0 1px rgba(153,111,243,.10)!important;
}
.profile-page .profile-rankline span:nth-child(2):hover{
  color:#ffe09a!important;
  background:
    radial-gradient(circle at 16% 50%,rgba(229,169,25,.14),transparent 48%),
    rgba(229,169,25,.04)!important;
  transform:translateY(-1px)!important;
  box-shadow:inset 0 0 0 1px rgba(232,176,40,.09)!important;
}
.profile-page .profile-rankline span:hover::before{
  transform:translateY(-50%) scale(1.08)!important;
}
.profile-page .profile-rankline span:hover::after{
  opacity:.95!important;
  transform:scaleX(1)!important;
}

@media(max-width:560px){
  .profile-page .profile-rankline{
    display:flex!important;
    width:100%!important;
  }
  .profile-page .profile-rankline span{
    flex:1 1 50%!important;
    min-width:0!important;
    padding-right:10px!important;
  }
}


/* ==========================================================================\n   V2.16 · Ranking / Inventory / Marketplace / Bug board / Profile settings\n   ========================================================================== */

/* shared premium panels */
.leaderboard-page .page-shell,.inventory-page .page-shell,.marketplace-page .page-shell,.bugboard-page .page-shell{padding-top:28px}
.leaderboard-page .panel,.inventory-page .panel,.marketplace-page .panel,.bugboard-page .panel{border-color:#3b2e22}

/* RANKING */
.lb-title{display:flex;align-items:center;gap:14px;margin:0 0 26px}.lb-title-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(180deg,#4a3110,#2b1d0d);border:1px solid #634419;box-shadow:0 0 22px rgba(255,149,0,.12);font-size:21px}.lb-title h1{margin:0;font-size:28px;letter-spacing:-.04em}.lb-title p{margin:4px 0 0;color:#947453}
.lb-control-panel,.lb-near-panel,.lb-podium-panel,.lb-table-panel{background:linear-gradient(180deg,rgba(43,31,21,.96),rgba(30,22,15,.98));border:1px solid #3b2e22;border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.12);margin-bottom:22px;overflow:hidden}
.lb-control-panel{padding:20px}.lb-control-head,.lb-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.lb-control-head>div:first-child>span,.lb-section-head>div:first-child>span,.lb-section-kicker{font-size:10px;letter-spacing:.18em;color:#f28a00;font-weight:900}.lb-control-head h2,.lb-section-head h2{margin:5px 0 3px;font-size:20px}.lb-control-head p,.lb-near-panel>p{margin:0;color:#9b7b58;font-size:13px}.lb-current-view,.lb-section-head>div:last-child{padding:10px 13px;border:1px solid #3b2d21;border-radius:7px;background:#211910;color:#8c7355;font-size:12px}.lb-current-view b{color:#f1e6d8}.lb-current-view strong{color:#ff9800}
.lb-control-grid{display:grid;grid-template-columns:1.2fr .9fr;gap:14px;margin-top:18px}.lb-control-block{padding:14px;border:1px solid #382b20;background:#201810;border-radius:9px}.lb-control-block>label{display:block;margin-bottom:10px;font-size:10px;letter-spacing:.15em;color:#896c4d;font-weight:800}.lb-control-block select{width:100%;height:42px;background:#1c150f;border:1px solid #3b2e22;color:#f2e7d8;border-radius:7px;padding:0 12px}.lb-chip-row{display:flex;gap:7px;flex-wrap:wrap}.lb-chip-row a{display:inline-flex;align-items:center;gap:7px;min-height:37px;padding:0 15px;border-radius:6px;background:#251c14;border:1px solid transparent;color:#c3aa8c;font-size:12px;font-weight:800;transition:.2s}.lb-chip-row a:hover{transform:translateY(-1px);background:#2c2117;color:#fff0dc}.lb-chip-row a.active{background:linear-gradient(180deg,#ff9800,#e67d00);color:#241306;box-shadow:0 8px 18px rgba(255,137,0,.13)}.lb-metrics{grid-column:2}.metric-row a{padding-inline:13px}.metric-row a i{font-style:normal}.lb-control-grid>.lb-control-block:nth-child(3){grid-column:1;grid-row:2}
.lb-near-panel{padding:20px}.lb-near-panel h2{margin:5px 0 4px;font-size:18px}.lb-near-grid{display:grid;grid-template-columns:275px 1fr;gap:14px;margin-top:15px}.lb-my-position,.lb-near-list{border:1px solid #3a2c21;background:#1e160f;border-radius:8px;padding:14px}.lb-place{display:flex;align-items:center;gap:10px}.lb-place>span{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background:#3a2308;color:#ffa000;font-size:20px}.lb-place small{display:block;color:#8c6e4e}.lb-place strong{display:block;font-size:24px;color:#fff}.lb-me-card{display:flex;align-items:center;gap:10px;padding:12px 0}.lb-me-card strong{display:block}.lb-me-card small{display:block;color:#81705d;margin-top:3px}.lb-my-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lb-my-stats>div{border:1px solid #392b20;background:#241a12;padding:10px;border-radius:7px}.lb-my-stats small{display:block;color:#776149;font-size:9px;letter-spacing:.12em}.lb-my-stats b{display:block;margin-top:4px;color:#ff9a00}.lb-gap{margin-top:10px;padding:9px;border-radius:6px;border:1px solid rgba(21,178,112,.22);background:rgba(13,101,67,.12);color:#35d790;font-size:12px}.lb-near-list{padding:0;overflow:hidden}.lb-near-list-title{padding:12px 14px;border-bottom:1px solid #35291e;color:#e6cfb2;font-weight:800}.lb-near-list>a{display:grid;grid-template-columns:44px 34px 1fr auto;gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid #33271d;color:#ddd0c0;transition:.18s}.lb-near-list>a:last-child{border-bottom:0}.lb-near-list>a:hover{background:#271c13}.lb-near-list>a.is-me{background:linear-gradient(90deg,rgba(255,133,0,.16),rgba(255,133,0,.04));box-shadow:inset 3px 0 #ff8b00}.lb-near-rank{color:#9d805d}.lb-near-list strong{display:block}.lb-near-list strong em{font-style:normal;color:#ff9200;font-size:10px}.lb-near-list small{display:block;color:#7e6a54}.lb-near-list>a>b{color:#f4e8d9}
.lb-podium-panel,.lb-table-panel{padding:20px}.lb-podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:14px;margin-top:16px;align-items:end}.lb-podium-card{min-height:280px;padding:15px;border:1px solid #433428;border-radius:10px;background:radial-gradient(circle at 50% 12%,rgba(255,163,48,.11),transparent 40%),linear-gradient(180deg,#2b2118,#211911);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#eee0d0;transition:.23s;position:relative;overflow:hidden}.lb-podium-card:hover{transform:translateY(-5px);border-color:#6e4d27;box-shadow:0 18px 34px rgba(0,0,0,.25),0 0 26px rgba(255,145,0,.06)}.lb-podium-card.place-1{min-height:300px}.lb-place-label{position:absolute;top:14px;padding:5px 12px;border-radius:999px;background:#34271b;border:1px solid #483628;color:#b99a78;font-size:9px;letter-spacing:.13em;font-weight:900}.lb-medal{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;margin:24px 0 10px;background:linear-gradient(180deg,#ffad19,#ff8800);font-size:21px;box-shadow:0 0 22px rgba(255,145,0,.18)}.place-2 .lb-medal{background:linear-gradient(180deg,#d6dce3,#8d98a8)}.place-3 .lb-medal{background:linear-gradient(180deg,#ff8d16,#d55600)}.lb-podium-card .avatar{margin-bottom:8px}.lb-podium-card>strong{font-size:15px}.lb-podium-card>small{margin:5px 0 14px;color:#8e7457}.lb-podium-card>b{min-width:150px;text-align:center;padding:10px 12px;border-radius:6px;background:#1c150f;border:1px solid #382b20;color:#ff9a00;font-size:18px}.lb-podium-card>em{font-style:normal;font-size:9px;color:#6f5a45;margin-top:4px}
.lb-table-panel{padding:0}.lb-table-panel .lb-section-head{padding:17px 20px;border-bottom:1px solid #36291f}.lb-table-head,.lb-table-body>a{display:grid;grid-template-columns:42px minmax(0,1fr) 170px 140px;align-items:center;gap:10px}.lb-table-head{padding:10px 14px;color:#725d48;font-size:9px;letter-spacing:.13em;font-weight:900}.lb-table-body>a{padding:10px 14px;border-top:1px solid #33271d;color:#d8c8b6;transition:.18s}.lb-table-body>a:hover{background:#261c13}.rank-num{color:#8e775d;font-weight:800}.rank-user{display:flex;align-items:center;gap:10px}.rank-user strong{display:block}.rank-user small{display:block;color:#776752;margin-top:2px}.level-pill{display:inline-flex;padding:3px 8px;border-radius:5px;background:#231d2e;border:1px solid #463663;color:#b99aff;font-style:normal;font-size:10px}.lb-table-body>a>b{text-align:right;color:#e9e0d6}.lb-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin:10px 0 30px}.lb-pagination a,.lb-pagination span{padding:9px 13px;border-radius:6px;border:1px solid #362a20;background:#211911;color:#d0b99c}.lb-pagination a.disabled{opacity:.35;pointer-events:none}

/* INVENTORY */
.inv-head{display:grid;grid-template-columns:48px 1fr auto;gap:13px;align-items:center;margin-bottom:22px}.inv-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#30290a;border:1px solid #6a5a0a;color:#ffd400;font-size:23px;box-shadow:0 0 24px rgba(255,221,0,.08)}.inv-head h1{margin:0;font-size:27px}.inv-head p{margin:5px 0 0;color:#917858}.inv-balance{display:grid;grid-template-columns:auto auto;gap:5px;align-items:center;padding:10px 14px;border:1px solid #3b2e21;background:#211910;border-radius:9px;color:#ffc400}.inv-balance small{grid-column:1/-1;color:#78624a;text-align:right;font-size:9px}.inv-nav-row{display:flex;align-items:flex-end;justify-content:space-between;border-bottom:1px solid #34281e;margin-bottom:22px}.inv-tabs{display:flex;gap:8px}.inv-tabs a{padding:12px 14px;color:#92795c;border-bottom:2px solid transparent;font-weight:800;font-size:12px}.inv-tabs a span{margin-left:4px;color:#695746}.inv-tabs a.active{color:#fff;border-bottom-color:#ff8a00}.inv-actions{display:flex;gap:8px;padding-bottom:7px}.inv-actions a{padding:8px 12px;border:1px solid #382c21;border-radius:6px;color:#d8c6ae;background:#211910;font-size:11px;font-weight:800}.inv-actions a:hover{border-color:#5a4027;color:#fff2df}.inv-section{border:1px solid #34291f;border-radius:12px;background:linear-gradient(180deg,#241b13,#1c150f);overflow:hidden}.inv-section-title{padding:14px 16px;border-bottom:1px solid #33271e;display:flex;justify-content:space-between;align-items:center}.inv-section-title>div{display:flex;gap:10px;align-items:center}.inv-section-title>div>span{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#30220e;color:#ffa000}.inv-section-title h2{margin:0;font-size:16px}.inv-section-title p{margin:3px 0 0;color:#7c684f;font-size:11px}.inv-section-title>b{color:#ff9b00}.inv-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px}.inv-empty>span{font-size:34px;filter:grayscale(.25);opacity:.8}.inv-empty h3{margin:10px 0 5px}.inv-empty p{margin:0 0 15px;color:#7e6a54}.inv-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}.inv-pack-grid article{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:14px;border:1px solid #3a2c21;background:#201810;border-radius:9px}.inv-pack-grid article>span{font-size:26px}.inv-pack-grid strong,.inv-pack-grid small{display:block}.inv-pack-grid small{color:#79644c;margin-top:3px}.inv-pack-grid a{grid-column:2/-1;color:#ff9a00;font-size:11px}.inv-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:14px}.inv-card{border:1px solid #433326;border-radius:9px;overflow:hidden;background:#18120d;transition:.22s}.inv-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(0,0,0,.25)}.inv-card img,.inv-card-fallback{width:100%;aspect-ratio:3/4;object-fit:cover;display:grid;place-items:center;font-size:42px;background:#241b12}.inv-card>div{padding:10px}.inv-card strong,.inv-card small{display:block}.inv-card small{margin-top:4px;color:#8c7356;font-size:10px}.inv-card.rarity-rare{border-color:#275f99}.inv-card.rarity-epic{border-color:#7742a3}.inv-card.rarity-holo,.inv-card.rarity-one_of_one{border-color:#c99700;box-shadow:0 0 16px rgba(255,191,0,.08)}.inv-transactions{padding:0}.inv-transactions>div{display:grid;grid-template-columns:36px 1fr auto;gap:11px;align-items:center;padding:13px 16px;border-top:1px solid #31261d}.inv-transactions>div:first-child{border-top:0}.tx-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#2c2117;color:#ff9b00}.inv-transactions strong,.inv-transactions small{display:block}.inv-transactions small{color:#75634e;margin-top:3px}.inv-transactions b.positive{color:#25cc87}.inv-transactions b.negative{color:#ff7878}

/* MARKETPLACE */
.mp-head{display:grid;grid-template-columns:48px 1fr auto;gap:13px;align-items:center;margin-bottom:20px}.mp-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#08292d;border:1px solid #12616a;color:#4de9ff;font-size:22px;box-shadow:0 0 24px rgba(54,215,236,.08)}.mp-head h1{margin:0;font-size:27px}.mp-head p{margin:5px 0 0;color:#92795a;max-width:720px}.mp-head-actions{display:flex;gap:8px}.mp-head-actions a{padding:9px 12px;border-radius:6px;background:#211910;border:1px solid #382c21;color:#e5d6c2;font-size:11px;font-weight:800}.mp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #30251c;border-bottom:1px solid #30251c}.mp-filter-chips{display:flex;gap:7px;flex-wrap:wrap}.mp-filter-chips a{padding:6px 12px;border-radius:999px;border:1px solid #3a2c20;color:#9c8160;background:#1f170f;font-size:10px}.mp-filter-chips a.active{color:#fff;background:#1e3335;border-color:#32727a}.mp-toolbar select{height:34px;border-radius:6px;background:#211910;color:#dfd0bd;border:1px solid #3a2e22;padding:0 10px}.mp-meta{display:flex;justify-content:space-between;color:#887052;font-size:11px;padding:15px 0}.mp-meta b{color:#ffc600}.mp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding-bottom:28px}.mp-card{border:1px solid #3d3024;border-radius:10px;background:linear-gradient(180deg,#211911,#19120d);padding:10px;transition:.22s;overflow:hidden}.mp-card:hover{transform:translateY(-4px);border-color:#5a422a;box-shadow:0 16px 30px rgba(0,0,0,.25)}.mp-card-top{display:flex;justify-content:space-between;color:#4bc9da;font-size:9px;letter-spacing:.06em;margin-bottom:8px}.mp-card-top small{color:#8d7559}.mp-card-body{display:grid;grid-template-columns:105px 1fr;gap:10px}.mp-art{position:relative;border:1px solid #356991;border-radius:8px;overflow:hidden;background:#17120d;aspect-ratio:3/4}.mp-art img{width:100%;height:100%;object-fit:cover;display:block}.mp-art>span{width:100%;height:100%;display:grid;place-items:center;font-size:36px}.mp-art i{position:absolute;left:6px;top:6px;padding:3px 6px;border-radius:999px;background:rgba(7,12,18,.85);border:1px solid #3c78a4;color:#8fd0ff;font-style:normal;font-size:8px;font-weight:900}.mp-info{min-width:0}.mp-info>strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mp-info>small{display:block;color:#806b53;margin:4px 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mp-price{padding:9px;border:1px solid #35291f;background:#1b140e;border-radius:7px;margin-bottom:8px}.mp-price span,.mp-price b{display:block}.mp-price span{color:#736049;font-size:9px}.mp-price b{margin-top:4px;color:#ffd300;font-size:16px}.mp-info form .btn{width:100%;min-height:34px}.mp-own{padding:8px;border-radius:6px;text-align:center;background:rgba(255,145,0,.08);border:1px solid rgba(255,145,0,.2);color:#ff9b00;font-size:10px;font-weight:800}.mp-card footer{display:flex;align-items:center;gap:7px;margin-top:10px;padding-top:9px;border-top:1px solid #31261c;color:#88715a;font-size:10px}.mp-card footer b{margin-left:auto;color:#8c7760}.mp-card.rarity-common .mp-art{border-color:#5d6267}.mp-card.rarity-uncommon .mp-art{border-color:#26885f}.mp-card.rarity-rare .mp-art{border-color:#2f72b7}.mp-card.rarity-epic .mp-art{border-color:#7e3bb8}.mp-card.rarity-holo .mp-art,.mp-card.rarity-one_of_one .mp-art{border-color:#d2a100;box-shadow:0 0 18px rgba(232,192,0,.12)}.mp-empty{grid-column:1/-1;min-height:220px;border:1px dashed #3a2d22;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#877057}.mp-empty>span{font-size:32px}.mp-empty h3{color:#eee0d0;margin:8px 0 4px}.mp-empty p{margin:0}

/* PUBLIC BUG BOARD */
.bug-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 25px;border:1px solid #3b2d21;border-radius:14px;background:radial-gradient(circle at 8% 0,rgba(255,131,0,.09),transparent 35%),linear-gradient(180deg,#2a1f15,#211810);margin-bottom:13px}.bug-kicker{display:inline-flex;padding:5px 9px;border-radius:5px;background:#4a2a0d;border:1px solid #6b3c0d;color:#ff9518;font-size:9px;letter-spacing:.15em;font-weight:900}.bug-hero h1{margin:10px 0 5px;font-size:27px}.bug-hero p{max-width:760px;margin:0;color:#947757;line-height:1.6}.bug-create{position:relative}.bug-create>summary{list-style:none;cursor:pointer;padding:11px 16px;border-radius:6px;background:linear-gradient(180deg,#ff9800,#e77d00);color:#251406;font-weight:900;font-size:12px}.bug-create>summary::-webkit-details-marker{display:none}.bug-create[open]>form{position:absolute;z-index:20;right:0;top:48px;width:min(420px,80vw);padding:14px;border-radius:10px;border:1px solid #4a3524;background:#21170f;box-shadow:0 20px 45px rgba(0,0,0,.42)}.bug-create label{display:block;color:#ae9271;font-size:11px;margin-bottom:10px}.bug-create input,.bug-create textarea{width:100%;margin-top:5px;background:#17110c;border:1px solid #3c2d21;border-radius:6px;color:#eee1d0;padding:10px}.bug-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.bug-stats>div{display:grid;grid-template-columns:38px 1fr;align-items:center;padding:13px;border:1px solid #3a2c21;border-radius:8px;background:#241b12}.bug-stats>div>span{grid-row:1/3;width:30px;height:30px;border-radius:7px;display:grid;place-items:center;background:#32220d;color:#ff9800}.bug-stats small{color:#80674d;font-size:9px;letter-spacing:.14em}.bug-stats b{font-size:17px}.bug-list-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.bug-list-head h2{font-size:15px}.bug-list-head h2 span{color:#8b7255;font-size:11px}.bug-list-head nav{display:flex;gap:6px}.bug-list-head nav a{padding:7px 11px;border:1px solid #382b20;border-radius:6px;color:#91775b;font-size:10px}.bug-list-head nav a.active{background:#3b240d;border-color:#5d380e;color:#ffc070}.bug-list{display:flex;flex-direction:column;gap:9px;padding-bottom:28px}.bug-list article{padding:13px 15px;border:1px solid #392c21;border-radius:8px;background:#241b12;transition:.18s}.bug-list article:hover{transform:translateX(2px);border-color:#4d3826;background:#281e14}.bug-card-top{display:flex;align-items:center;gap:8px}.bug-card-top time{color:#7d684f;font-size:10px}.bug-status{padding:4px 8px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.05em}.bug-status.green{color:#4be2a1;background:rgba(24,144,96,.14);border:1px solid rgba(41,190,127,.27)}.bug-status.blue{color:#58c8ff;background:rgba(30,121,170,.13);border:1px solid rgba(59,163,220,.25)}.bug-status.amber{color:#ffb648;background:rgba(185,107,21,.13);border:1px solid rgba(220,132,31,.25)}.bug-list h3{margin:10px 0 5px;font-size:14px}.bug-list p{margin:0;color:#9b7d5b;line-height:1.55}.bug-list footer{display:flex;align-items:center;gap:7px;margin-top:11px;color:#897058;font-size:10px}.bug-list footer b{margin-left:auto;color:#6f5a44}

/* SETTINGS · profile info */
.settings-profile-info{position:relative;overflow:hidden}.settings-profile-info::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(#ff9800,transparent 82%);opacity:.85}.profile-info-badge{padding:5px 8px;border-radius:5px;background:#36220f;border:1px solid #563510;color:#ff9d1a;font-size:9px;letter-spacing:.13em;font-weight:900}.profile-field-block{padding:14px;margin-top:12px;border:1px solid #382c21;border-radius:8px;background:linear-gradient(180deg,#241b13,#201810);transition:.2s}.profile-field-block:hover{border-color:#4b3827;box-shadow:0 10px 24px rgba(0,0,0,.12);transform:translateY(-1px)}.profile-field-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.profile-field-head label{font-weight:800;color:#e9d9c5}.profile-field-head>span{font-size:9px;color:#7d654b;letter-spacing:.08em}.profile-field-head .coin-cost{padding:4px 8px;border-radius:5px;background:#3b2d06;border:1px solid #5d4908;color:#ffc800;font-size:9px;font-weight:900}.profile-field-block input,.profile-field-block textarea{width:100%;box-sizing:border-box;background:#1b140f;border:1px solid #3a2d22;border-radius:6px;color:#eadcca;padding:11px 12px;transition:.2s}.profile-field-block input:focus,.profile-field-block textarea:focus{outline:0;border-color:#6a4621;box-shadow:0 0 0 3px rgba(255,143,0,.06)}.profile-field-block input:disabled{opacity:.62;cursor:not-allowed}.profile-field-block small{display:block;margin-top:6px;color:#7f694f}.profile-cost-warning,.profile-cost-ok{margin-top:10px;padding-top:9px;border-top:1px solid #34271d;font-size:10px;font-weight:800}.profile-cost-warning{color:#ff7575}.profile-cost-ok{color:#31cf8a}.profile-editor-note{display:flex;align-items:center;gap:10px;margin-top:12px;padding:12px 14px;border:1px solid #382c21;border-radius:8px;background:#201810}.profile-editor-note>span{width:32px;height:32px;border-radius:7px;display:grid;place-items:center;background:#31220f;color:#ff9800}.profile-editor-note strong,.profile-editor-note small{display:block}.profile-editor-note small{color:#7c674f;margin-top:3px}.profile-editor-note>b{margin-left:auto;padding:5px 9px;border-radius:5px;background:#32240f;color:#ffab35;font-size:10px}.profile-save-row{margin-top:14px;padding-top:13px;border-top:1px solid #33271d}

@media(max-width:1050px){.lb-control-grid{grid-template-columns:1fr}.lb-metrics,.lb-control-grid>.lb-control-block:nth-child(3){grid-column:auto;grid-row:auto}.lb-near-grid{grid-template-columns:1fr}.mp-grid{grid-template-columns:repeat(3,1fr)}.inv-card-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:820px){.lb-podium{grid-template-columns:1fr}.lb-podium-card,.lb-podium-card.place-1{min-height:240px}.lb-table-head,.lb-table-body>a{grid-template-columns:36px 1fr 95px}.lb-table-head span:nth-child(3),.lb-table-body>a>span:nth-child(3){display:none}.mp-head,.inv-head{grid-template-columns:44px 1fr}.mp-head-actions,.inv-balance{grid-column:1/-1;justify-self:start}.mp-grid{grid-template-columns:repeat(2,1fr)}.inv-card-grid{grid-template-columns:repeat(3,1fr)}.bug-hero{flex-direction:column;align-items:flex-start}.bug-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.lb-control-head,.lb-section-head,.inv-nav-row,.mp-toolbar,.bug-list-head{align-items:flex-start;flex-direction:column}.lb-current-view{width:100%;box-sizing:border-box}.lb-table-head,.lb-table-body>a{grid-template-columns:34px 1fr 80px}.lb-near-list>a{grid-template-columns:34px 30px 1fr auto}.mp-grid{grid-template-columns:1fr}.mp-card-body{grid-template-columns:92px 1fr}.inv-tabs{width:100%;overflow:auto}.inv-actions{padding:8px 0}.inv-card-grid{grid-template-columns:repeat(2,1fr)}.inv-pack-grid{grid-template-columns:1fr}.bug-list-head nav{overflow:auto;width:100%;padding-bottom:4px}.bug-stats{grid-template-columns:1fr 1fr}.profile-save-row{display:grid!important;grid-template-columns:1fr}.profile-save-row .btn{width:100%}}


/* ==== V2.17 · Compact profile level + reputation scorebar ==== */
.profile-page .profile-rankline.profile-scorebar{
  display:inline-flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:0!important;
  width:auto!important;
  max-width:100%!important;
  min-height:46px!important;
  margin-top:12px!important;
  padding:3px!important;
  overflow:hidden!important;
  border:1px solid rgba(111,87,62,.46)!important;
  border-radius:12px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.022),rgba(0,0,0,.025)),
    #201911!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 24px rgba(0,0,0,.16)!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-item{
  position:relative!important;
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  gap:9px!important;
  min-width:142px!important;
  min-height:40px!important;
  margin:0!important;
  padding:5px 14px 5px 8px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#d8c7b1!important;
  overflow:hidden!important;
  transition:
    background .22s ease,
    box-shadow .22s ease,
    transform .22s cubic-bezier(.22,.61,.36,1)!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-item::before,
.profile-page .profile-rankline.profile-scorebar > .profile-score-item::after{
  content:none!important;
  display:none!important;
}

.profile-page .profile-score-item > i{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:8px!important;
  font-style:normal!important;
  font-size:14px!important;
  line-height:1!important;
  transition:transform .22s ease,box-shadow .22s ease!important;
}

.profile-page .profile-score-copy{
  display:grid!important;
  gap:2px!important;
  min-width:0!important;
}

.profile-page .profile-score-copy small{
  display:block!important;
  margin:0!important;
  color:#806b52!important;
  font-size:8px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.14em!important;
}

.profile-page .profile-score-copy b{
  display:block!important;
  margin:0!important;
  color:#f5efe8!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
}

/* Poziom */
.profile-page .profile-score-level{
  padding-right:16px!important;
}
.profile-page .profile-score-level > i{
  color:#a982ff!important;
  border:1px solid rgba(146,103,238,.34)!important;
  background:rgba(131,83,230,.12)!important;
  box-shadow:0 0 16px rgba(129,80,225,.08)!important;
}
.profile-page .profile-score-level .profile-score-copy b{
  color:#c7adff!important;
}

/* pionowy separator między wartościami */
.profile-page .profile-score-reputation{
  margin-left:3px!important;
  padding-left:12px!important;
}
.profile-page .profile-score-reputation::marker{display:none!important}
.profile-page .profile-score-reputation{
  border-left:1px solid rgba(122,95,65,.30)!important;
  border-radius:0 9px 9px 0!important;
}
.profile-page .profile-score-reputation > i{
  color:#ffc54d!important;
  border:1px solid rgba(233,174,35,.34)!important;
  background:rgba(226,162,20,.11)!important;
  box-shadow:0 0 16px rgba(226,162,20,.07)!important;
}
.profile-page .profile-score-reputation .profile-score-copy b{
  color:#f5c65f!important;
}

/* hover jako dwie części jednej belki */
.profile-page .profile-score-level:hover{
  transform:translateY(-1px)!important;
  background:
    radial-gradient(circle at 18% 50%,rgba(132,84,230,.17),transparent 48%),
    rgba(132,84,230,.035)!important;
  box-shadow:inset 0 0 0 1px rgba(154,113,242,.10)!important;
}
.profile-page .profile-score-reputation:hover{
  transform:translateY(-1px)!important;
  background:
    radial-gradient(circle at 18% 50%,rgba(229,165,22,.16),transparent 48%),
    rgba(229,165,22,.032)!important;
  box-shadow:inset 0 0 0 1px rgba(235,179,41,.09)!important;
}
.profile-page .profile-score-item:hover > i{
  transform:scale(1.08)!important;
}

/* zawsze w jednej linii — również na telefonie */
@media(max-width:560px){
  .profile-page .profile-rankline.profile-scorebar{
    display:flex!important;
    width:100%!important;
  }
  .profile-page .profile-rankline.profile-scorebar > .profile-score-item{
    flex:1 1 50%!important;
    min-width:0!important;
    padding-right:10px!important;
  }
  .profile-page .profile-score-copy small{
    font-size:7px!important;
    letter-spacing:.11em!important;
  }
  .profile-page .profile-score-copy b{
    font-size:14px!important;
  }
}


/* ==== V2.18 · Settings avatar / profile banner controls ==== */
.settings-page .settings-media-card{
  position:relative;
  overflow:hidden;
}
.settings-page .settings-media-card::after{
  content:'';
  position:absolute;
  inset:auto -55px -75px auto;
  width:170px;
  height:170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(239,145,20,.07),transparent 68%);
  pointer-events:none;
}
.settings-page .settings-media-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.settings-page .media-status{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 9px;
  border:1px solid rgba(121,94,65,.35);
  border-radius:999px;
  background:rgba(255,255,255,.018);
  color:#806e59;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
}
.settings-page .media-status.is-set{
  border-color:rgba(32,190,126,.28);
  background:rgba(25,154,103,.075);
  color:#57d59e;
}
.settings-page .settings-avatar-control{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px;
  border:1px solid rgba(117,88,58,.28);
  border-radius:12px;
  background:
    radial-gradient(circle at 8% 50%,rgba(239,145,20,.055),transparent 32%),
    rgba(18,13,9,.28);
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.settings-page .settings-avatar-control:hover{
  border-color:rgba(226,147,43,.32);
  background:
    radial-gradient(circle at 8% 50%,rgba(239,145,20,.085),transparent 34%),
    rgba(21,15,10,.34);
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.settings-page .settings-media-actions{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.settings-page .settings-media-actions small{
  flex-basis:100%;
  margin-top:2px;
}
.settings-page .btn-remove-media{
  border:1px solid rgba(231,77,77,.26)!important;
  background:rgba(126,30,30,.11)!important;
  color:#ef8585!important;
  box-shadow:none!important;
}
.settings-page .btn-remove-media:hover{
  transform:translateY(-1px);
  border-color:rgba(242,91,91,.48)!important;
  background:rgba(151,34,34,.18)!important;
  color:#ffaaaa!important;
  box-shadow:0 8px 18px rgba(90,10,10,.10)!important;
}
.settings-page .profile-banner-preview{
  position:relative;
  overflow:hidden;
  border-style:solid!important;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.settings-page .profile-banner-preview.has-image{
  min-height:150px;
  background-size:cover;
  background-position:center;
  border-color:rgba(225,151,48,.23)!important;
}
.settings-page .profile-banner-preview.has-image::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(15,10,6,.06),rgba(15,10,6,.42));
  pointer-events:none;
}
.settings-page .profile-banner-preview.has-image:hover{
  border-color:rgba(238,159,49,.42)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.16);
}
.settings-page .banner-preview-label{
  position:absolute;
  z-index:1;
  left:12px;
  bottom:10px;
  padding:5px 8px;
  border:1px solid rgba(255,178,70,.24);
  border-radius:7px;
  background:rgba(18,12,7,.76);
  color:#efb35f;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
  backdrop-filter:blur(5px);
}
@media(max-width:620px){
  .settings-page .settings-card-head{
    align-items:flex-start;
  }
  .settings-page .settings-media-head-actions{
    width:100%;
    justify-content:flex-start;
  }
  .settings-page .settings-avatar-control{
    align-items:flex-start;
  }
  .settings-page .settings-media-actions{
    flex:1;
  }
}


/* ==== V2.19 · Profile tabs scrollbar fix + purple level tile ==== */

/* Zakładki profilu: tylko poziomy scroll, bez widocznego systemowego paska */
.profile-page .profile-tabs{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.profile-page .profile-tabs::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}

/* Kafelek POZIOM — cały w fioletowym stylu */
.profile-page .profile-rankline.profile-scorebar > .profile-score-level{
  color:#fff!important;
  border:1px solid rgba(177,140,255,.62)!important;
  background:
    radial-gradient(circle at 18% 20%,rgba(255,255,255,.18),transparent 38%),
    linear-gradient(135deg,#6842b8 0%,#7f55d7 50%,#5d389f 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 8px 22px rgba(92,52,164,.22)!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-level > i{
  color:#fff!important;
  border-color:rgba(255,255,255,.28)!important;
  background:rgba(255,255,255,.12)!important;
  box-shadow:0 0 18px rgba(214,193,255,.16)!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-level .profile-score-copy small{
  color:#e6d8ff!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-level .profile-score-copy b{
  color:#fff!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-level:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(203,179,255,.86)!important;
  background:
    radial-gradient(circle at 18% 20%,rgba(255,255,255,.22),transparent 40%),
    linear-gradient(135deg,#7550c8 0%,#9168e7 50%,#6944ae 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 12px 28px rgba(98,57,171,.28),
    0 0 24px rgba(137,95,220,.12)!important;
}

/* Dodatkowo mały chip poziomu w sekcji "Poziom i Postęp" */
.profile-page .profile-level .level-summary>span{
  border-color:#7653bc!important;
  background:linear-gradient(135deg,#5d3d99,#7f59c8)!important;
  color:#f4eaff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
}


/* ==== V2.20 · Profile hero rankline redesign ==== */
.profile-page .profile-rankline.profile-scorebar{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:10px!important;
  width:min(390px,100%)!important;
  max-width:100%!important;
  min-height:unset!important;
  margin-top:14px!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-item{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  min-height:60px!important;
  margin:0!important;
  padding:12px 14px!important;
  border:1px solid rgba(92,74,56,.82)!important;
  border-radius:14px!important;
  background:
    linear-gradient(180deg,rgba(51,40,29,.98),rgba(31,23,17,.98))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 22px rgba(0,0,0,.14)!important;
  color:#eadcca!important;
  overflow:hidden!important;
  transition:
    transform .22s cubic-bezier(.22,.61,.36,1),
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-item::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:3px!important;
  border-radius:14px 0 0 14px!important;
  opacity:.95!important;
  display:block!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-item::after{
  content:none!important;
  display:none!important;
}

.profile-page .profile-score-item > i{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:11px!important;
  font-style:normal!important;
  font-size:15px!important;
  line-height:1!important;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease!important;
}

.profile-page .profile-score-copy{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}

.profile-page .profile-score-copy small{
  display:block!important;
  margin:0!important;
  color:#9f876a!important;
  font-size:8px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.18em!important;
}

.profile-page .profile-score-copy b{
  display:block!important;
  margin:0!important;
  color:#fff9f2!important;
  font-size:17px!important;
  font-weight:900!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
}

/* POZIOM */
.profile-page .profile-rankline.profile-scorebar > .profile-score-level{
  border-color:rgba(126,91,215,.72)!important;
  background:
    radial-gradient(circle at 12% 16%,rgba(215,192,255,.16),transparent 38%),
    linear-gradient(180deg,rgba(90,63,148,.92),rgba(52,36,84,.96))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 26px rgba(79,50,139,.18)!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level::before{
  background:linear-gradient(180deg,#b58fff,#7b52d6)!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level > i{
  color:#fff!important;
  border:1px solid rgba(255,255,255,.22)!important;
  background:linear-gradient(135deg,rgba(196,171,255,.34),rgba(126,91,215,.32))!important;
  box-shadow:0 8px 18px rgba(72,45,130,.22)!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level .profile-score-copy small{
  color:#dbcaff!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level .profile-score-copy b{
  color:#ffffff!important;
}

/* REPUTACJA */
.profile-page .profile-score-reputation{
  margin-left:0!important;
  padding-left:14px!important;
  border-left:0!important;
  border-radius:14px!important;
  border-color:rgba(214,145,31,.64)!important;
  background:
    radial-gradient(circle at 12% 16%,rgba(255,225,166,.12),transparent 38%),
    linear-gradient(180deg,rgba(68,47,21,.98),rgba(36,26,18,.98))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 26px rgba(72,45,14,.12)!important;
}
.profile-page .profile-score-reputation::before{
  background:linear-gradient(180deg,#f6c45d,#d58c12)!important;
}
.profile-page .profile-score-reputation > i{
  color:#fff4dc!important;
  border:1px solid rgba(247,202,113,.26)!important;
  background:linear-gradient(135deg,rgba(255,205,106,.28),rgba(190,122,11,.26))!important;
  box-shadow:0 8px 18px rgba(111,74,17,.18)!important;
}
.profile-page .profile-score-reputation .profile-score-copy small{
  color:#d0b08a!important;
}
.profile-page .profile-score-reputation .profile-score-copy b{
  color:#ffd16f!important;
}

/* Hover */
.profile-page .profile-rankline.profile-scorebar > .profile-score-item:hover{
  transform:translateY(-2px)!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level:hover{
  border-color:rgba(170,136,255,.88)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 16px 28px rgba(82,50,149,.24),
    0 0 24px rgba(115,74,202,.12)!important;
  background:
    radial-gradient(circle at 12% 16%,rgba(226,211,255,.20),transparent 40%),
    linear-gradient(180deg,rgba(104,73,172,.96),rgba(59,40,98,.98))!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation:hover{
  border-color:rgba(245,183,71,.82)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 16px 28px rgba(104,67,11,.18),
    0 0 22px rgba(227,152,21,.10)!important;
  background:
    radial-gradient(circle at 12% 16%,rgba(255,228,173,.14),transparent 42%),
    linear-gradient(180deg,rgba(86,58,24,.98),rgba(42,29,18,.98))!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item:hover > i{
  transform:scale(1.06)!important;
}

/* Mobilnie */
@media(max-width:720px){
  .profile-page .profile-rankline.profile-scorebar{
    width:100%!important;
  }
}
@media(max-width:420px){
  .profile-page .profile-rankline.profile-scorebar{
    grid-template-columns:1fr!important;
  }
}


/* ==== V2.21 · BBCode [code] — ViSite-style code block ==== */
body.topic-view-page .post-code-wrap,
.post-content .post-code-wrap{
  margin:18px 0 20px!important;
  width:100%!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.topic-view-page .post-code-meta,
.post-content .post-code-meta{
  display:flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:0 0 9px 17px!important;
  color:#d7c9b8!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:13px!important;
  line-height:1.2!important;
}

body.topic-view-page .post-code-meta em,
.post-content .post-code-meta em{
  font-style:italic!important;
  font-weight:400!important;
}

body.topic-view-page .post-code-meta span,
.post-content .post-code-meta span{
  color:#f0e5d8!important;
}

body.topic-view-page .post-code-box,
.post-content .post-code-box{
  position:relative!important;
  width:100%!important;
  border:1px solid rgba(142,72,18,.74)!important;
  border-radius:5px!important;
  background:
    linear-gradient(180deg,rgba(25,14,7,.985),rgba(20,11,6,.99))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,176,91,.025),
    inset 0 0 30px rgba(96,43,8,.035)!important;
  overflow:hidden!important;
}

body.topic-view-page .post-code-box::before,
.post-content .post-code-box::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,rgba(255,130,25,.018),transparent 24%,transparent 76%,rgba(255,130,25,.01))!important;
}

body.topic-view-page .post-code-box .post-code,
.post-content .post-code-box .post-code{
  position:relative!important;
  z-index:1!important;
  margin:0!important;
  padding:17px 58px 17px 16px!important;
  min-height:58px!important;
  max-height:560px!important;
  overflow:auto!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  white-space:pre!important;
  tab-size:4!important;
  color:#fff8ef!important;
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.9!important;
  letter-spacing:.005em!important;
  scrollbar-width:thin!important;
  scrollbar-color:#64401f transparent!important;
}

body.topic-view-page .post-code-box .post-code code,
.post-content .post-code-box .post-code code{
  display:block!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  font:inherit!important;
  white-space:inherit!important;
}

body.topic-view-page .post-code-copy,
.post-content .post-code-copy{
  position:absolute!important;
  z-index:4!important;
  top:8px!important;
  right:9px!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid rgba(104,72,47,.36)!important;
  border-radius:10px!important;
  background:rgba(13,10,7,.88)!important;
  color:#7f6d5b!important;
  cursor:pointer!important;
  font-size:17px!important;
  line-height:1!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 5px 12px rgba(0,0,0,.14)!important;
  transition:
    transform .18s ease,
    border-color .18s ease,
    color .18s ease,
    background .18s ease,
    box-shadow .18s ease!important;
}

body.topic-view-page .post-code-copy:hover,
.post-content .post-code-copy:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(191,111,42,.52)!important;
  background:rgba(35,22,13,.96)!important;
  color:#d7aa78!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 7px 16px rgba(0,0,0,.20)!important;
}

body.topic-view-page .post-code-copy:active,
.post-content .post-code-copy:active{
  transform:translateY(0) scale(.96)!important;
}

body.topic-view-page .post-code-copy.copied,
.post-content .post-code-copy.copied{
  color:#56d898!important;
  border-color:rgba(63,190,128,.36)!important;
  background:rgba(15,53,35,.76)!important;
}

@media(max-width:640px){
  body.topic-view-page .post-code-meta,
  .post-content .post-code-meta{
    padding-left:10px!important;
  }
  body.topic-view-page .post-code-box .post-code,
  .post-content .post-code-box .post-code{
    padding:14px 50px 14px 13px!important;
    font-size:11px!important;
  }
  body.topic-view-page .post-code-copy,
  .post-content .post-code-copy{
    top:7px!important;
    right:7px!important;
    width:31px!important;
    height:31px!important;
  }
}


/* ==== V2.22 · Premium profile hero + unified stats + live chat actions ==== */

/* ---------- PROFIL: premium header ---------- */
.profile-page .profile-hero{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(500px,.92fr)!important;
  align-items:center!important;
  gap:26px!important;
  min-height:222px!important;
  padding:28px 30px!important;
  overflow:hidden!important;
  border:1px solid rgba(94,72,53,.78)!important;
  border-radius:14px!important;
  background:
    linear-gradient(115deg,rgba(51,40,31,.98) 0%,rgba(42,32,24,.98) 58%,rgba(34,26,20,.99) 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 22px 48px rgba(0,0,0,.18)!important;
}
.profile-page .profile-hero::before{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;top:0!important;
  height:2px!important;
  background:linear-gradient(90deg,#ff9100 0%,#ffb13b 18%,rgba(255,151,23,.16) 52%,transparent 88%)!important;
  opacity:.9!important;
}
.profile-page .profile-hero::after{
  content:""!important;
  position:absolute!important;
  width:390px!important;height:390px!important;
  right:-150px!important;top:-210px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(255,142,0,.075),transparent 68%)!important;
  pointer-events:none!important;
}
.profile-page .profile-ambient{
  position:absolute!important;
  inset:0!important;
  opacity:.11!important;
  background:
    linear-gradient(90deg,rgba(255,132,0,.08),transparent 42%),
    var(--profile-banner,none) center/cover no-repeat!important;
  filter:saturate(.8) contrast(1.04)!important;
}
.profile-page .profile-id{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  gap:20px!important;
  min-width:0!important;
}
.profile-page .profile-id>.avatar-wrap{
  padding:4px!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,rgba(255,153,25,.82),rgba(92,61,35,.25) 52%,rgba(153,96,31,.78))!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28),0 0 24px rgba(255,133,0,.08)!important;
}
.profile-page .profile-id .avatar-xl{
  width:86px!important;height:86px!important;
  border:3px solid #2e241b!important;
}
.profile-page .profile-identity{min-width:0!important}
.profile-page .profile-name-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.profile-page .profile-name-row h1{
  margin:0!important;
  font-size:28px!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  color:#fff7ee!important;
  text-shadow:0 4px 18px rgba(0,0,0,.22)!important;
}
.profile-page .profile-name-row .role-pill{
  min-height:22px!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.profile-page .profile-identity>p{
  margin:7px 0 0!important;
  color:#9d8060!important;
  font-weight:650!important;
}

/* Poziom i reputacja jako subtelne premium chips */
.profile-page .profile-rankline.profile-scorebar{
  display:flex!important;
  grid-template-columns:none!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  width:auto!important;
  margin-top:14px!important;
}
.profile-page .profile-rankline.profile-scorebar>.profile-score-item{
  min-width:148px!important;
  min-height:48px!important;
  padding:8px 11px!important;
  border-radius:10px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.profile-page .profile-rankline.profile-scorebar>.profile-score-item::before{
  width:2px!important;
}
.profile-page .profile-score-item>i{
  width:31px!important;height:31px!important;flex-basis:31px!important;border-radius:8px!important;
}
.profile-page .profile-score-copy small{font-size:7px!important}
.profile-page .profile-score-copy b{font-size:15px!important}
.profile-page .profile-rankline.profile-scorebar>.profile-score-level{
  border-color:rgba(137,102,207,.44)!important;
  background:linear-gradient(180deg,rgba(79,58,119,.64),rgba(49,37,70,.72))!important;
}
.profile-page .profile-rankline.profile-scorebar>.profile-score-reputation{
  border-color:rgba(163,112,31,.44)!important;
  background:linear-gradient(180deg,rgba(79,57,26,.66),rgba(48,36,24,.76))!important;
}

/* prawa część headera */
.profile-page .profile-info.profile-info-v211{
  position:relative!important;
  z-index:2!important;
  margin:0!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.profile-page .profile-info-v211 .profile-info-card{
  min-height:86px!important;
  padding:14px!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(35,28,22,.88),rgba(27,21,17,.94))!important;
  border-color:rgba(var(--info-accent-rgb),.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 10px 20px rgba(0,0,0,.10)!important;
}
.profile-page .profile-info-v211 .profile-info-card::before{
  top:10px!important;bottom:10px!important;width:2px!important;
}
.profile-page .profile-info-v211 .profile-info-icon{
  width:38px!important;height:38px!important;border-radius:10px!important;
}
.profile-page .profile-info-v211 .profile-info-card small{
  font-size:7px!important;
  letter-spacing:.18em!important;
}
.profile-page .profile-info-v211 .profile-info-card strong{
  margin-top:5px!important;
  font-size:12px!important;
}
.profile-page .profile-info-v211 .profile-info-card:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(var(--info-accent-rgb),.48)!important;
  box-shadow:0 14px 28px rgba(0,0,0,.18),0 0 22px rgba(var(--info-accent-rgb),.045)!important;
}

/* ---------- PROFIL: statystyki w tym samym stylu ---------- */
.profile-page .profile-stats.profile-stats-premium{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:14px 0 18px!important;
}
.profile-page .profile-stats-premium>.profile-stat{
  --stat-accent:#ff9418;
  --stat-rgb:255,148,24;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  min-height:96px!important;
  padding:17px!important;
  overflow:hidden!important;
  text-align:left!important;
  border:1px solid rgba(var(--stat-rgb),.20)!important;
  border-radius:12px!important;
  background:
    radial-gradient(circle at 10% 18%,rgba(var(--stat-rgb),.07),transparent 42%),
    linear-gradient(180deg,#2a2119,#211a14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 10px 22px rgba(0,0,0,.11)!important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}
.profile-page .profile-stats-premium>.profile-stat::before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:13px!important;bottom:13px!important;
  width:2px!important;
  border-radius:3px!important;
  background:var(--stat-accent)!important;
  box-shadow:0 0 12px rgba(var(--stat-rgb),.32)!important;
}
.profile-page .profile-stats-premium>.profile-stat::after{display:none!important}
.profile-page .profile-stat>span{
  width:44px!important;height:44px!important;
  flex:0 0 44px!important;
  display:grid!important;place-items:center!important;
  margin:0!important;
  border:1px solid rgba(var(--stat-rgb),.25)!important;
  border-radius:11px!important;
  background:rgba(var(--stat-rgb),.075)!important;
  color:var(--stat-accent)!important;
  font-size:20px!important;
  filter:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.profile-page .profile-stat>div{display:grid!important;gap:2px!important;min-width:0!important}
.profile-page .profile-stat small{
  order:0!important;
  color:rgba(var(--stat-rgb),.78)!important;
  font-size:7px!important;
  font-weight:900!important;
  letter-spacing:.17em!important;
  text-transform:uppercase!important;
}
.profile-page .profile-stat b{
  order:1!important;
  color:#fff9f1!important;
  font-size:24px!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
}
.profile-page .profile-stat em{
  order:2!important;
  color:#816c55!important;
  font-size:9px!important;
  font-style:normal!important;
}
.profile-page .profile-stat:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(var(--stat-rgb),.42)!important;
  box-shadow:0 15px 30px rgba(0,0,0,.18),0 0 24px rgba(var(--stat-rgb),.04)!important;
}
.profile-page .profile-stat-topics{--stat-accent:#ff981f;--stat-rgb:255,152,31}
.profile-page .profile-stat-posts{--stat-accent:#55a8ff;--stat-rgb:85,168,255}
.profile-page .profile-stat-badges{--stat-accent:#f6c927;--stat-rgb:246,201,39}
.profile-page .profile-stat-reputation{--stat-accent:#1fd18a;--stat-rgb:31,209,138}

/* ---------- CHATBOX: akcje po prawej i edycja AJAX ---------- */
.chatbox-card .chat-message{
  position:relative!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:start!important;
  column-gap:12px!important;
  transition:background .2s ease,opacity .18s ease,transform .18s ease!important;
}
.chatbox-card .chat-message-main{min-width:0!important}
.chatbox-card .chat-message-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  min-width:108px!important;
  padding-top:2px!important;
  opacity:.54!important;
  transform:translateX(3px)!important;
  transition:opacity .18s ease,transform .18s ease!important;
}
.chatbox-card .chat-message:hover .chat-message-actions,
.chatbox-card .chat-message.is-editing .chat-message-actions{
  opacity:1!important;
  transform:translateX(0)!important;
}
.chatbox-card .chat-message-actions button{
  min-height:27px!important;
  padding:0 8px!important;
  border:1px solid #493521!important;
  border-radius:6px!important;
  background:#2a1d12!important;
  color:#a98a64!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.chatbox-card .chat-message-actions button:hover{
  border-color:#765026!important;
  background:#352315!important;
  color:#f1b45e!important;
  transform:translateY(-1px)!important;
}
.chatbox-card .chat-message-actions button.is-danger{
  border-color:rgba(185,70,63,.25)!important;
  background:rgba(93,28,25,.12)!important;
  color:#b97a73!important;
}
.chatbox-card .chat-message-actions button.is-danger:hover{
  border-color:rgba(224,89,80,.46)!important;
  background:rgba(121,35,31,.20)!important;
  color:#ff8f86!important;
}
.chatbox-card .chat-message-actions button:disabled{opacity:.42!important;cursor:wait!important}
.chatbox-card .chat-message.is-removing{
  opacity:0!important;
  transform:translateX(14px)!important;
}
.chatbox-card .chat-inline-editor{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-top:7px!important;
  animation:chatInlineEditIn .18s ease both!important;
}
.chatbox-card .chat-inline-editor>input{
  flex:1!important;
  min-width:0!important;
  height:36px!important;
  padding:0 11px!important;
  border:1px solid #725026!important;
  border-radius:7px!important;
  outline:0!important;
  background:#17100a!important;
  color:#fff4e8!important;
  box-shadow:0 0 0 3px rgba(255,143,0,.045)!important;
}
.chatbox-card .chat-inline-editor>div{
  display:flex!important;
  gap:5px!important;
}
.chatbox-card .chat-inline-editor button{
  height:34px!important;
  padding:0 10px!important;
  border-radius:6px!important;
  border:1px solid #563a20!important;
  background:#302014!important;
  color:#c09a69!important;
  font-size:9px!important;
  font-weight:850!important;
}
.chatbox-card .chat-inline-editor .chat-edit-save{
  border-color:#74501d!important;
  background:#4c300d!important;
  color:#ffc56c!important;
}
.chatbox-card .chat-inline-editor button:hover{filter:brightness(1.12)!important}
@keyframes chatInlineEditIn{
  from{opacity:0;transform:translateY(-3px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:980px){
  .profile-page .profile-hero{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  .profile-page .profile-info.profile-info-v211{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  .profile-page .profile-stats.profile-stats-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .chatbox-card .chat-message{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  .chatbox-card .chat-message-actions{
    grid-column:2!important;
    justify-content:flex-start!important;
    min-width:0!important;
    margin-top:7px!important;
    opacity:.88!important;
  }
}
@media(max-width:560px){
  .profile-page .profile-id{align-items:flex-start!important}
  .profile-page .profile-id .avatar-xl{width:72px!important;height:72px!important}
  .profile-page .profile-name-row h1{font-size:23px!important}
  .profile-page .profile-rankline.profile-scorebar{width:100%!important}
  .profile-page .profile-rankline.profile-scorebar>.profile-score-item{flex:1 1 calc(50% - 4px)!important;min-width:0!important}
  .profile-page .profile-info.profile-info-v211{grid-template-columns:1fr!important}
  .profile-page .profile-stats.profile-stats-premium{grid-template-columns:1fr!important}
  .chatbox-card .chat-inline-editor{align-items:stretch!important;flex-direction:column!important}
}


/* ==== V2.23 · Topic polish: BBCode code / reactions / actions ==== */

/* [code] - bez nagłówka Language */
body.topic-view-page .post-code-wrap,
.post-content .post-code-wrap{
  margin:18px 0 20px!important;
  width:100%!important;
  background:transparent!important;
}
body.topic-view-page .post-code-meta,
.post-content .post-code-meta{display:none!important}
body.topic-view-page .post-code-box,
.post-content .post-code-box{
  position:relative!important;
  width:100%!important;
  overflow:hidden!important;
  border:1px solid rgba(130,68,23,.86)!important;
  border-radius:5px!important;
  background:
    radial-gradient(circle at 10% 0%,rgba(116,57,17,.055),transparent 30%),
    linear-gradient(180deg,#1a100a 0%,#140c08 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,190,105,.025),
    inset 0 0 30px rgba(83,37,9,.04),
    0 8px 18px rgba(0,0,0,.08)!important;
}
body.topic-view-page .post-code-box .post-code,
.post-content .post-code-box .post-code{
  margin:0!important;
  min-height:68px!important;
  max-height:620px!important;
  padding:17px 58px 17px 16px!important;
  overflow:auto!important;
  white-space:pre!important;
  tab-size:4!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff9f1!important;
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.85!important;
  letter-spacing:.004em!important;
}
body.topic-view-page .post-code-copy,
.post-content .post-code-copy{
  top:9px!important;
  right:9px!important;
  width:32px!important;
  height:32px!important;
  border:1px solid rgba(106,70,43,.42)!important;
  border-radius:9px!important;
  background:rgba(13,9,6,.94)!important;
  color:#8f765e!important;
  box-shadow:0 5px 14px rgba(0,0,0,.18)!important;
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease!important;
}
body.topic-view-page .post-code-copy:hover,
.post-content .post-code-copy:hover{
  transform:translateY(-1px)!important;
  border-color:#815022!important;
  background:#26170d!important;
  color:#ffad4d!important;
}

/* licznik reakcji + wysuwany panel */
body.topic-view-page .reaction-details-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
}
body.topic-view-page .reaction-count-button{
  width:auto!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #45321f!important;
  border-radius:7px!important;
  background:#1c140d!important;
  color:#d7b17b!important;
  font-size:11px!important;
  font-weight:850!important;
  cursor:pointer!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease!important;
}
body.topic-view-page .reaction-count-button:hover{
  transform:translateY(-1px)!important;
  border-color:#775025!important;
  background:#2b1d11!important;
  color:#ffc36d!important;
}
body.topic-view-page .reaction-details-panel{
  position:absolute!important;
  left:0!important;
  bottom:46px!important;
  z-index:100!important;
  width:290px!important;
  max-height:330px!important;
  overflow:auto!important;
  padding:8px!important;
  border:1px solid #4b3725!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#2a2017,#20170f)!important;
  box-shadow:0 22px 46px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.025)!important;
  opacity:0!important;
  transform:translateY(7px) scale(.985)!important;
  transform-origin:left bottom!important;
  transition:opacity .15s ease,transform .15s ease!important;
}
body.topic-view-page .reaction-details-panel[hidden]{display:none!important}
body.topic-view-page .reaction-details-panel.is-open{
  opacity:1!important;
  transform:translateY(0) scale(1)!important;
}
body.topic-view-page .reaction-details-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:4px 5px 8px!important;
  border-bottom:1px solid #3a2b1f!important;
}
body.topic-view-page .reaction-details-head b{color:#f3e6d7!important;font-size:10px!important}
body.topic-view-page .reaction-details-head small{
  min-width:22px!important;height:20px!important;display:grid!important;place-items:center!important;
  border-radius:999px!important;background:#3a2816!important;color:#dc9a43!important;font-size:9px!important;
}
body.topic-view-page .reaction-details-list{display:grid!important;gap:3px!important;padding-top:6px!important}
body.topic-view-page .reaction-detail-user{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 28px!important;
  align-items:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:5px 7px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  color:inherit!important;
  text-decoration:none!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
body.topic-view-page .reaction-detail-user:hover{
  transform:translateX(2px)!important;
  border-color:#48331f!important;
  background:#312216!important;
}
body.topic-view-page .reaction-detail-avatar{
  width:28px!important;height:28px!important;display:grid!important;place-items:center!important;overflow:hidden!important;
  border-radius:50%!important;border:1px solid #5b4028!important;background:#1b130d!important;color:#bf9158!important;
  font-size:9px!important;font-weight:850!important;
}
body.topic-view-page .reaction-detail-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
body.topic-view-page .reaction-detail-copy{min-width:0!important;display:grid!important;gap:1px!important}
body.topic-view-page .reaction-detail-copy b{
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#f5e7d4!important;font-size:10px!important;
}
body.topic-view-page .reaction-detail-copy small{
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#816a4f!important;font-size:8px!important;
}
body.topic-view-page .reaction-detail-user>strong{
  display:grid!important;place-items:center!important;width:28px!important;height:28px!important;
  border-radius:7px!important;background:#1c140d!important;font-size:17px!important;
}
body.topic-view-page .reaction-details-empty,
body.topic-view-page .reaction-details-loading{
  display:block!important;padding:13px 10px!important;color:#8e765b!important;font-size:9px!important;text-align:center!important;
}

/* Edytuj / Usuń */
body.topic-view-page .post-footer-v27 .post-action-edit,
body.topic-view-page .post-footer-v27 .post-action-delete{
  position:relative!important;
  overflow:hidden!important;
  gap:7px!important;
  font-weight:850!important;
}
body.topic-view-page .post-footer-v27 .post-action-edit::before,
body.topic-view-page .post-footer-v27 .post-action-delete::before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:5px!important;bottom:5px!important;
  width:2px!important;border-radius:2px!important;opacity:.78!important;
}
body.topic-view-page .post-footer-v27 .post-action-edit::before{background:#e2912e!important}
body.topic-view-page .post-footer-v27 .post-action-delete::before{background:#da5b54!important}
body.topic-view-page .post-footer-v27 .post-action-edit span,
body.topic-view-page .post-footer-v27 .post-action-delete span{
  width:20px!important;height:20px!important;display:grid!important;place-items:center!important;
  border-radius:5px!important;background:rgba(255,255,255,.025)!important;
  transition:transform .18s ease,background .18s ease!important;
}
body.topic-view-page .post-footer-v27 .post-action-edit:hover{
  border-color:#865622!important;
  background:linear-gradient(180deg,#3b2817,#2c1d11)!important;
  color:#ffc26f!important;
  box-shadow:0 8px 20px rgba(0,0,0,.16),0 0 18px rgba(231,144,35,.04)!important;
}
body.topic-view-page .post-footer-v27 .post-action-delete:hover{
  border-color:#8c413a!important;
  background:linear-gradient(180deg,#44231e,#311713)!important;
  color:#ffaaa3!important;
  box-shadow:0 8px 20px rgba(0,0,0,.16),0 0 18px rgba(218,74,65,.04)!important;
}
body.topic-view-page .post-footer-v27 .post-action-edit:hover span,
body.topic-view-page .post-footer-v27 .post-action-delete:hover span{transform:scale(1.08)!important}

/* awaryjnie chowamy język tematu, jeśli gdzieś pozostał stary markup */
body.topic-view-page .topic-head-tags .lang-tag{display:none!important}

@media(max-width:620px){
  body.topic-view-page .reaction-details-panel{width:min(290px,calc(100vw - 44px))!important}
}


/* ==== V2.24 · Premium topic header / clickable author ==== */

body.topic-view-page .topic-breadcrumbs-premium{
  width:max-content!important;
  max-width:100%!important;
  min-height:34px!important;
  margin:4px 0 14px!important;
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border:1px solid #3b2c1f!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,#21180f,#1b130d)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;
  overflow:hidden!important;
}
body.topic-view-page .topic-breadcrumbs-premium a,
body.topic-view-page .topic-breadcrumbs-premium strong{
  min-width:0!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#8d7252!important;
  font-size:10px!important;
  font-weight:700!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.topic-view-page .topic-breadcrumbs-premium a{
  transition:color .18s ease,transform .18s ease!important;
}
body.topic-view-page .topic-breadcrumbs-premium a:hover{
  color:#f3a33c!important;
  transform:translateY(-1px)!important;
}
body.topic-view-page .topic-breadcrumbs-premium strong{
  max-width:300px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#bda58a!important;
}
body.topic-view-page .topic-crumb-separator{
  color:#4e3b29!important;
  font-size:9px!important;
}
body.topic-view-page .topic-crumb-icon{
  color:#d6811f!important;
  font-size:11px!important;
}

body.topic-view-page .topic-page-head-premium{
  position:relative!important;
  overflow:hidden!important;
  margin:0 0 18px!important;
  padding:20px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:22px!important;
  border:1px solid #493523!important;
  border-radius:10px!important;
  background:
    radial-gradient(circle at 12% -20%,rgba(255,137,28,.10),transparent 31%),
    linear-gradient(180deg,#2a2017 0%,#231a12 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 14px 34px rgba(0,0,0,.16)!important;
}
body.topic-view-page .topic-page-head-premium::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:3px!important;
  background:linear-gradient(180deg,#ff9b1a,#c46b0c 72%,transparent)!important;
  box-shadow:0 0 18px rgba(255,137,20,.25)!important;
}
body.topic-view-page .topic-page-head-premium::after{
  content:""!important;
  position:absolute!important;
  width:180px!important;
  height:180px!important;
  right:-65px!important;
  top:-100px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(255,137,20,.08),transparent 68%)!important;
  pointer-events:none!important;
}
body.topic-view-page .topic-head-main{
  position:relative!important;
  z-index:1!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
body.topic-view-page .topic-title-row{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-width:0!important;
  margin-bottom:15px!important;
}
body.topic-view-page .topic-title-icon{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #60411f!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#40280f,#2b1b0d)!important;
  color:#ff9614!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 6px 18px rgba(0,0,0,.15)!important;
}
body.topic-view-page .topic-page-head-premium h1{
  margin:0!important;
  min-width:0!important;
  color:#fffaf3!important;
  font-size:27px!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
  text-shadow:0 1px 0 rgba(0,0,0,.22)!important;
}

body.topic-view-page .topic-author-strip{
  display:flex!important;
  align-items:stretch!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
body.topic-view-page .topic-author-link,
body.topic-view-page .topic-meta-chip{
  min-height:47px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:7px 11px!important;
  border:1px solid #403021!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#211810,#1d150e)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.016)!important;
}
body.topic-view-page .topic-author-link{
  min-width:174px!important;
  color:inherit!important;
  text-decoration:none!important;
  border-color:#543a22!important;
  background:linear-gradient(180deg,#2b1e12,#21170e)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
body.topic-view-page .topic-author-link:hover{
  transform:translateY(-2px)!important;
  border-color:#8d5822!important;
  background:linear-gradient(180deg,#382514,#291a0e)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.18),0 0 18px rgba(255,137,20,.05)!important;
}
body.topic-view-page .topic-author-link .avatar-wrap{
  flex:0 0 auto!important;
}
body.topic-view-page .topic-author-link .avatar-sm{
  width:33px!important;
  height:33px!important;
  border:1px solid #72451c!important;
  box-shadow:0 0 0 2px rgba(255,137,20,.05)!important;
}
body.topic-view-page .topic-author-copy{
  min-width:0!important;
  display:grid!important;
  gap:1px!important;
}
body.topic-view-page .topic-author-copy small,
body.topic-view-page .topic-meta-chip small{
  color:#715d47!important;
  font-size:8px!important;
  font-weight:800!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
}
body.topic-view-page .topic-author-copy strong{
  max-width:125px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#f3a13a!important;
  font-size:11px!important;
}
body.topic-view-page .topic-meta-chip{
  min-width:112px!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
body.topic-view-page .topic-meta-chip:hover{
  transform:translateY(-2px)!important;
  border-color:#59422d!important;
  background:#261b12!important;
}
body.topic-view-page .topic-meta-chip>i{
  width:27px!important;
  height:27px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 27px!important;
  border-radius:7px!important;
  background:#2b2015!important;
  color:#c77c27!important;
  font-size:12px!important;
  font-style:normal!important;
}
body.topic-view-page .topic-meta-chip>span{
  display:grid!important;
  gap:1px!important;
}
body.topic-view-page .topic-meta-chip b{
  color:#e9dfd2!important;
  font-size:10px!important;
  font-weight:800!important;
}
body.topic-view-page .topic-meta-views>i{color:#5faeff!important}
body.topic-view-page .topic-meta-replies>i{color:#d8943c!important}

body.topic-view-page .topic-head-tags-v27{
  margin:10px 0 0!important;
  display:flex!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
body.topic-view-page .topic-head-tags-v27>span{
  min-height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 8px!important;
  border:1px solid #49331f!important;
  border-radius:6px!important;
  background:#23170e!important;
  color:#b9854d!important;
  font-size:8px!important;
  font-weight:800!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}

body.topic-view-page .topic-actions-premium{
  position:relative!important;
  z-index:1!important;
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
}
body.topic-view-page .topic-actions-premium button{
  min-height:38px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  border:1px solid #50381f!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,#2b1f13,#21170e)!important;
  color:#b99367!important;
  font-size:10px!important;
  font-weight:800!important;
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
body.topic-view-page .topic-actions-premium button:hover,
body.topic-view-page .topic-actions-premium button.active{
  transform:translateY(-2px)!important;
  border-color:#87531e!important;
  background:linear-gradient(180deg,#392511,#2a1a0b)!important;
  color:#ffb45a!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
}

/* Stary znacznik języka nie powinien już być widoczny nawet po cache'u starego HTML. */
body.topic-view-page .lang-tag,
body.topic-view-page .topic-head-tags-v27 .lang-tag{
  display:none!important;
}

@media(max-width:920px){
  body.topic-view-page .topic-page-head-premium{
    align-items:stretch!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  body.topic-view-page .topic-actions-premium{
    width:100%!important;
  }
}
@media(max-width:640px){
  body.topic-view-page .topic-breadcrumbs-premium{
    width:100%!important;
    box-sizing:border-box!important;
  }
  body.topic-view-page .topic-page-head-premium{
    padding:16px!important;
  }
  body.topic-view-page .topic-page-head-premium h1{
    font-size:23px!important;
  }
  body.topic-view-page .topic-title-icon{
    width:32px!important;
    height:32px!important;
    flex-basis:32px!important;
  }
  body.topic-view-page .topic-author-strip{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  body.topic-view-page .topic-author-link{
    grid-column:1/-1!important;
    min-width:0!important;
  }
  body.topic-view-page .topic-meta-chip{
    min-width:0!important;
  }
  body.topic-view-page .topic-meta-date{
    grid-column:1/-1!important;
  }
  body.topic-view-page .topic-actions-premium{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  body.topic-view-page .topic-actions-premium button{
    width:100%!important;
    justify-content:center!important;
  }
}


/* ==== V2.25 · globalny przycisk „Do góry” ==== */
.back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:175;
  width:48px;
  height:48px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(156,205,66,.42);
  border-radius:13px;
  background:linear-gradient(180deg,rgba(29,39,18,.96),rgba(18,25,13,.96));
  color:#a8dc4d;
  box-shadow:
    0 14px 34px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.035),
    0 0 0 1px rgba(168,220,77,.025);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(12px) scale(.94);
  transition:
    opacity .28s ease,
    visibility .28s ease,
    transform .32s cubic-bezier(.22,.61,.36,1),
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
.back-to-top>span{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  line-height:1;
  font-size:21px;
  font-weight:500;
  transform:translateY(-1px);
  transition:transform .18s ease,color .18s ease;
}
.back-to-top:hover{
  border-color:rgba(174,231,76,.72);
  background:linear-gradient(180deg,rgba(38,53,21,.98),rgba(24,34,15,.98));
  box-shadow:
    0 16px 38px rgba(0,0,0,.42),
    0 0 22px rgba(159,215,65,.10),
    inset 0 1px 0 rgba(255,255,255,.05);
  transform:translateY(-2px) scale(1.02);
}
.back-to-top:hover>span{
  color:#c5f26a;
  transform:translateY(-4px);
}
.back-to-top:active{
  transform:translateY(0) scale(.97);
}
.back-to-top:focus-visible{
  outline:2px solid rgba(184,235,91,.72);
  outline-offset:3px;
}
@media(max-width:720px){
  .back-to-top{
    right:14px;
    bottom:14px;
    width:44px;
    height:44px;
    border-radius:12px;
  }
}
@media(prefers-reduced-motion:reduce){
  .back-to-top,
  .back-to-top>span{
    transition:none!important;
  }
}


/* ==== V2.26 · Back to top dopasowany do VForum ==== */
.back-to-top{
  right:22px!important;
  bottom:22px!important;
  width:46px!important;
  height:46px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;

  border:1px solid #4b321d!important;
  border-radius:10px!important;

  background:
    radial-gradient(circle at 50% 0%,rgba(255,139,24,.08),transparent 58%),
    linear-gradient(180deg,#2a1d12 0%,#1e150d 100%)!important;

  color:#f28a16!important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    inset 0 -1px 0 rgba(0,0,0,.25),
    0 8px 24px rgba(0,0,0,.30)!important;

  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;

  transform:translateY(10px) scale(.96)!important;

  transition:
    opacity .26s ease,
    visibility .26s ease,
    transform .30s cubic-bezier(.22,.61,.36,1),
    border-color .20s ease,
    background .20s ease,
    color .20s ease,
    box-shadow .20s ease!important;

  -webkit-backdrop-filter:blur(10px)!important;
  backdrop-filter:blur(10px)!important;
}

.back-to-top::before{
  content:""!important;
  position:absolute!important;
  inset:-1px!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  opacity:0!important;
  box-shadow:0 0 0 1px rgba(255,139,24,.12),0 0 22px rgba(255,139,24,.12)!important;
  transition:opacity .20s ease!important;
}

.back-to-top.is-visible{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0) scale(1)!important;
}

.back-to-top>span{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;

  color:inherit!important;
  font-size:20px!important;
  font-family:Arial,sans-serif!important;
  font-weight:500!important;

  transform:translateY(-1px)!important;
  transition:transform .20s ease,color .20s ease!important;
}

.back-to-top:hover{
  border-color:#8b5723!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,145,25,.14),transparent 62%),
    linear-gradient(180deg,#382414 0%,#25170d 100%)!important;
  color:#ff9a22!important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 10px 28px rgba(0,0,0,.36),
    0 0 18px rgba(255,139,24,.08)!important;

  transform:translateY(-2px) scale(1.02)!important;
}

.back-to-top:hover::before{
  opacity:1!important;
}

.back-to-top:hover>span{
  transform:translateY(-4px)!important;
}

.back-to-top:active{
  transform:translateY(0) scale(.96)!important;
}

.back-to-top:focus-visible{
  outline:2px solid rgba(242,138,22,.72)!important;
  outline-offset:3px!important;
}

@media(max-width:720px){
  .back-to-top{
    right:14px!important;
    bottom:14px!important;
    width:43px!important;
    height:43px!important;
    border-radius:9px!important;
  }
  .back-to-top>span{
    font-size:19px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .back-to-top,
  .back-to-top::before,
  .back-to-top>span{
    transition:none!important;
  }
}


/* ==== V2.27 · REAL FIX aktywnego nagłówka tematu (page_topic_v2 / spec_pages.php) ==== */
body.topic-view-page .topic-page-head-live .topic-title-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
body.topic-view-page .topic-page-head-live .topic-title-copy>small{
  color:#7d6449;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body.topic-view-page .topic-meta-pinned>i{
  color:#ff9a1c!important;
}
body.topic-view-page .topic-actions-premium a{
  min-height:38px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid #50381f!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,#2b1f13,#21170e)!important;
  color:#b99367!important;
  font-size:10px!important;
  font-weight:800!important;
  text-decoration:none!important;
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
body.topic-view-page .topic-actions-premium a:hover{
  transform:translateY(-2px)!important;
  border-color:#87531e!important;
  background:linear-gradient(180deg,#392511,#2a1a0b)!important;
  color:#ffb45a!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
}
body.topic-view-page .topic-actions-premium .topic-delete-action{
  border-color:#633026!important;
  color:#e8877d!important;
  background:linear-gradient(180deg,#311913,#25120f)!important;
}
body.topic-view-page .topic-actions-premium .topic-delete-action:hover{
  border-color:#9a4438!important;
  color:#ff9b8f!important;
  background:linear-gradient(180deg,#421f18,#301510)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18),0 0 18px rgba(202,71,54,.06)!important;
}

/* Twarde ukrycie starego znacznika języka, także jeśli przeglądarka ma stary fragment HTML. */
body.topic-view-page .lang-tag{
  display:none!important;
}

@media(max-width:920px){
  body.topic-view-page .topic-actions-premium{
    flex-wrap:wrap!important;
  }
}
@media(max-width:640px){
  body.topic-view-page .topic-actions-premium{
    grid-template-columns:1fr 1fr!important;
  }
  body.topic-view-page .topic-actions-premium a,
  body.topic-view-page .topic-actions-premium button{
    width:100%!important;
    box-sizing:border-box!important;
  }
}


/* ==== V2.28 · miniatura z pierwszego obrazka w treści tematu ==== */
body.forum-category-page .topic-list-with-previews .topic-row-v2{
  grid-template-columns:84px minmax(0,1fr) 96px 110px 150px;
  min-height:92px;
  padding-block:13px;
}

body.forum-category-page .topic-list-with-previews .topic-thumb-media{
  width:72px;
  min-width:72px;
  min-height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
}

body.forum-category-page .topic-list-with-previews .topic-thumb-square{
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
  transition:
    transform .24s cubic-bezier(.22,.61,.36,1),
    border-color .20s ease,
    box-shadow .24s ease,
    filter .20s ease;
}

/* Obraz znaleziony wewnątrz pierwszego posta — większy, jak mini-okładka tematu. */
body.forum-category-page .topic-list-with-previews .topic-thumb-preview{
  width:72px;
  height:58px;
  border-radius:9px;
  border:1px solid #5a3b1d;
  background:#130f0b;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 6px 16px rgba(0,0,0,.22);
}

body.forum-category-page .topic-list-with-previews .topic-thumb-preview::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent 34%),
    linear-gradient(0deg,rgba(12,8,5,.20),transparent 48%);
}

body.forum-category-page .topic-list-with-previews .topic-thumb-preview img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transform:scale(1.015);
  transition:transform .34s cubic-bezier(.22,.61,.36,1),filter .24s ease;
}

/* Gdy w treści nie ma grafiki — avatar autora, ale nadal czytelniejszy niż stara ikonka 38px. */
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  border:1px solid #4e3825;
  background:#17110c;
  box-shadow:
    0 0 0 3px rgba(255,139,24,.025),
    0 6px 16px rgba(0,0,0,.18);
}

body.forum-category-page .topic-list-with-previews .topic-thumb-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

body.forum-category-page .topic-list-with-previews .topic-thumb-avatar .topic-thumb-fallback{
  font-size:18px;
  color:#e79328;
}

body.forum-category-page .topic-list-with-previews .topic-row-has-preview:hover .topic-thumb-preview{
  transform:translateY(-2px);
  border-color:#9a6324;
  box-shadow:
    0 9px 22px rgba(0,0,0,.30),
    0 0 18px rgba(255,139,24,.08);
}

body.forum-category-page .topic-list-with-previews .topic-row-has-preview:hover .topic-thumb-preview img{
  transform:scale(1.075);
  filter:brightness(1.06) saturate(1.04);
}

body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar{
  transform:translateY(-2px) scale(1.035);
  border-color:#76502b;
  box-shadow:
    0 9px 20px rgba(0,0,0,.25),
    0 0 14px rgba(255,139,24,.06);
}

/* Ten sam mechanizm działa też poza kategorią; zachowujemy tam kompaktowy układ. */
.topic-list-with-previews .topic-thumb-preview img,
.topic-list-with-previews .topic-thumb-avatar img{
  max-width:100%;
}

@media(max-width:980px){
  body.forum-category-page .topic-list-with-previews .topic-row-v2{
    grid-template-columns:84px minmax(0,1fr) 84px 84px;
  }
}
@media(max-width:760px){
  body.forum-category-page .topic-list-with-previews .topic-row-v2{
    grid-template-columns:74px 1fr 72px;
    gap:10px;
  }
  body.forum-category-page .topic-list-with-previews .topic-thumb-media{
    width:64px;
    min-width:64px;
  }
  body.forum-category-page .topic-list-with-previews .topic-thumb-preview{
    width:64px;
    height:52px;
  }
}
@media(max-width:560px){
  body.forum-category-page .topic-list-with-previews .topic-row-v2{
    grid-template-columns:64px 1fr!important;
  }
  body.forum-category-page .topic-list-with-previews .topic-thumb-media{
    display:flex!important;
    width:56px;
    min-width:56px;
  }
  body.forum-category-page .topic-list-with-previews .topic-thumb-preview{
    width:56px;
    height:48px;
  }
  body.forum-category-page .topic-list-with-previews .topic-thumb-avatar{
    width:44px;
    height:44px;
  }
  body.forum-category-page .topic-list-with-previews .topic-stat,
  body.forum-category-page .topic-list-with-previews .topic-last{
    display:none!important;
  }
}


/* =====================================================================
   V2.29 · PODDZIAŁY / SUBFORUMS — układ jak w referencji ViSite
   ===================================================================== */
body.forum-category-page .subforum-block-premium{
  margin:22px 0 14px;
  padding:0;
  border:0;
  background:transparent;
}
body.forum-category-page .subforum-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 7px 10px;
}
body.forum-category-page .subforum-title-row .subhead{
  margin:0;
  color:#a88862;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.09em;
}
body.forum-category-page .subforum-title-row>span{
  color:#6f583f;
  font-size:10px;
  font-weight:750;
}
body.forum-category-page .subforum-block-premium .subforums{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:12px;
}
body.forum-category-page .subforum-block-premium .subforum-card{
  min-height:68px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 18px;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid #413126;
  border-radius:6px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 42%),
    #281f16;
  color:#eee6dc;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.018),
    0 7px 18px rgba(0,0,0,.08);
  transition:
    transform .22s cubic-bezier(.22,.61,.36,1),
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}
body.forum-category-page .subforum-block-premium .subforum-card:hover{
  transform:translateY(-2px);
  border-color:#6b4928;
  background:
    radial-gradient(circle at 8% 50%,rgba(255,137,0,.065),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.024),transparent 45%),
    #2d2218;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 12px 28px rgba(0,0,0,.18),
    0 0 18px rgba(255,137,0,.035);
}
body.forum-category-page .subforum-block-premium .subforum-card-icon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:6px;
  border:1px solid #4c3927;
  background:#3b2b15;
  color:#f3a021;
  font-size:18px;
  line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
body.forum-category-page .subforum-block-premium .subforum-card:hover .subforum-card-icon{
  transform:scale(1.04);
  border-color:#765124;
  box-shadow:0 0 16px rgba(255,137,0,.07);
}
body.forum-category-page .subforum-block-premium .subforum-card-copy{
  min-width:0;
}
body.forum-category-page .subforum-block-premium .subforum-card-copy strong{
  display:block;
  color:#f5eee6;
  font-size:13px;
  line-height:1.15;
  font-weight:850;
}
body.forum-category-page .subforum-block-premium .subforum-card-copy small{
  display:block;
  margin-top:5px;
  color:#8c6f4c;
  font-size:10px;
  line-height:1.1;
}
body.forum-category-page .subforum-block-premium .subforum-card>i{
  justify-self:end;
  color:#644a30;
  font-size:19px;
  font-style:normal;
  transform:translateX(-2px);
  opacity:0;
  transition:opacity .22s ease,transform .22s ease,color .22s ease;
}
body.forum-category-page .subforum-block-premium .subforum-card:hover>i{
  opacity:1;
  color:#d3872b;
  transform:translateX(1px);
}

/* Mini-poddziały pod nazwą działu na stronie głównej */
.forum-row .mini-tags span{
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.forum-row:hover .mini-tags span{
  border-color:#594026;
  color:#cba77a;
}
.forum-row .mini-tags span:hover{
  transform:translateY(-1px);
}

@media(max-width:760px){
  body.forum-category-page .subforum-block-premium .subforums{
    grid-template-columns:1fr;
  }
}


/* =====================================================================
   V2.30 · LISTA TEMATÓW / SEARCH / PAGINACJA / ZGŁOSZENIA
   ===================================================================== */

/* Miniatury: obraz z tematu jest odrobinę wyższy, avatar bez ciężkiej ramki. */
body.forum-category-page .topic-list-with-previews .topic-row-v2{
  min-height:98px;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-media{
  min-height:68px;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-preview{
  width:72px;
  height:66px;
  cursor:zoom-in;
  transform-origin:50% 0%;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-preview:focus-visible{
  outline:2px solid rgba(255,145,27,.65);
  outline-offset:3px;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image{
  width:48px;
  height:48px;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image img{
  width:48px;
  height:48px;
  border-radius:50%;
  border:0!important;
  background:transparent!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18);
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar.has-image{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

/* Powiększenie miniatury bez przejścia do tematu. */
.topic-preview-lightbox{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
  padding:28px;
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease,visibility .22s ease;
}
.topic-preview-lightbox.is-open{
  opacity:1;
  visibility:visible;
}
.topic-preview-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,5,3,.86);
  backdrop-filter:blur(8px);
}
.topic-preview-lightbox figure{
  position:relative;
  z-index:1;
  width:min(900px,92vw);
  max-height:88vh;
  margin:0;
  padding:10px;
  border:1px solid #5b4027;
  border-radius:14px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),transparent 28%),
    #1d160f;
  box-shadow:
    0 30px 90px rgba(0,0,0,.72),
    0 0 0 1px rgba(255,148,25,.04) inset,
    0 0 40px rgba(255,128,0,.07);
  transform:translateY(14px) scale(.965);
  transition:transform .24s cubic-bezier(.22,.61,.36,1);
}
.topic-preview-lightbox.is-open figure{
  transform:translateY(0) scale(1);
}
.topic-preview-lightbox figure img{
  display:block;
  width:100%;
  max-height:calc(88vh - 20px);
  object-fit:contain;
  border-radius:9px;
  background:#100c08;
}
.topic-preview-lightbox-close{
  position:absolute;
  right:-12px;
  top:-12px;
  z-index:2;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #5e432a;
  border-radius:50%;
  background:#251a11;
  color:#f0d7b5;
  font-size:20px;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.45);
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease;
}
.topic-preview-lightbox-close:hover{
  transform:rotate(6deg) scale(1.05);
  border-color:#a36728;
  color:#fff;
  background:#342112;
}

/* Wyszukiwarka działu — lupa rozwija pole zamiast odświeżać pustą stronę. */
body.forum-category-page .forum-search-form{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:0;
  width:40px;
  height:40px;
  transition:width .28s cubic-bezier(.22,.61,.36,1);
}
body.forum-category-page .forum-search-form.is-open{
  width:360px;
}
body.forum-category-page .forum-search-toggle{
  position:relative;
  z-index:2;
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid #463321;
  border-radius:7px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent),
    #241a11;
  color:#b28b60;
  font-size:17px;
  cursor:pointer;
  transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.forum-category-page .forum-search-toggle:hover,
body.forum-category-page .forum-search-form.is-open .forum-search-toggle{
  color:#ffad42;
  border-color:#71502b;
  background:#2d2014;
  box-shadow:0 0 18px rgba(255,139,24,.07);
}
body.forum-category-page .forum-search-toggle:hover{transform:translateY(-1px)}
body.forum-category-page .forum-search-slide{
  position:absolute;
  right:0;
  top:0;
  width:100%;
  height:40px;
  display:flex;
  align-items:center;
  gap:6px;
  padding-left:46px;
  opacity:0;
  pointer-events:none;
  transform:translateX(10px) scaleX(.94);
  transform-origin:right center;
  transition:opacity .20s ease,transform .28s cubic-bezier(.22,.61,.36,1);
}
body.forum-category-page .forum-search-form.is-open .forum-search-slide{
  opacity:1;
  pointer-events:auto;
  transform:translateX(0) scaleX(1);
}
body.forum-category-page .forum-search-form .forum-search-slide input{
  flex:1;
  width:auto;
  min-width:0;
  height:40px;
  padding:0 12px;
  border:1px solid #463321;
  border-radius:7px;
  background:#21170f;
}
body.forum-category-page .forum-search-form .forum-search-submit{
  width:auto;
  min-width:70px;
  height:40px;
  padding:0 12px;
  border-radius:7px;
  border:1px solid #6c461f;
  background:#3b260f;
  color:#f6ad48;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
body.forum-category-page .forum-search-form .forum-search-submit:hover{
  border-color:#9c6525;
  background:#4a2e10;
  color:#fff0d9;
}
body.forum-category-page .forum-search-form .forum-search-reset{
  flex:0 0 32px;
  width:32px;
  height:32px;
  margin-left:-2px;
  border:0;
  background:transparent;
  color:#856748;
}
body.forum-category-page .forum-search-form .forum-search-reset:hover{
  border:0;
  background:transparent;
  color:#ff8f28;
}

/* Nowy wątek / Odpowiedz — wspólny, bardziej premium styl. */
body.forum-category-page .forum-new-thread-btn,
body.topic-view-page .reply-submit-btn,
body.topic-view-page .floating-reply-button-v230{
  position:relative;
  overflow:hidden;
  border:1px solid #d97813!important;
  background:
    linear-gradient(180deg,#ff9826 0%,#f17a08 100%)!important;
  color:#1a0f06!important;
  font-weight:900!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    0 7px 18px rgba(205,92,0,.18);
  transition:transform .18s ease,box-shadow .20s ease,filter .18s ease,border-color .18s ease!important;
}
body.forum-category-page .forum-new-thread-btn::after,
body.topic-view-page .reply-submit-btn::after,
body.topic-view-page .floating-reply-button-v230::after{
  content:"";
  position:absolute;
  top:-50%;
  left:-42%;
  width:34%;
  height:200%;
  transform:rotate(20deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  transition:left .46s ease;
}
body.forum-category-page .forum-new-thread-btn:hover,
body.topic-view-page .reply-submit-btn:hover,
body.topic-view-page .floating-reply-button-v230:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
  border-color:#ffae48!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    0 10px 25px rgba(224,102,4,.25),
    0 0 20px rgba(255,136,18,.08);
}
body.forum-category-page .forum-new-thread-btn:hover::after,
body.topic-view-page .reply-submit-btn:hover::after,
body.topic-view-page .floating-reply-button-v230:hover::after{
  left:118%;
}

/* Paginacja: 12 tematów na stronę. */
body.forum-category-page .forum-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:18px 0 8px;
}
body.forum-category-page .forum-pagination a,
body.forum-category-page .forum-pagination span{
  min-width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0 9px;
  border:1px solid #3e2f23;
  border-radius:7px;
  background:#211811;
  color:#a88762;
  font-size:12px;
  font-weight:800;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
body.forum-category-page .forum-pagination a:hover{
  transform:translateY(-1px);
  border-color:#704c28;
  background:#2d2015;
  color:#f4c182;
}
body.forum-category-page .forum-pagination .is-active{
  border-color:#c66d17;
  background:linear-gradient(180deg,#59300e,#3b220f);
  color:#ffd39b;
  box-shadow:0 0 18px rgba(255,134,17,.08);
}
body.forum-category-page .forum-pagination .is-disabled{
  opacity:.28;
  pointer-events:none;
}
body.forum-category-page .forum-page-ellipsis{
  border-color:transparent!important;
  background:transparent!important;
  color:#66503a!important;
}

/* Zgłoszenie posta — wysuwany modal z powodami i dowodami. */
.post-report-modal{
  position:fixed;
  inset:0;
  z-index:12000;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity .20s ease,visibility .20s ease;
}
.post-report-modal.is-open{
  opacity:1;
  visibility:visible;
}
.post-report-backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,5,3,.84);
  backdrop-filter:blur(7px);
}
.post-report-dialog{
  position:relative;
  z-index:1;
  width:min(760px,calc(100vw - 28px));
  max-height:88vh;
  overflow:auto;
  padding:22px;
  border:1px solid #533923;
  border-radius:12px;
  background:
    radial-gradient(circle at 0 0,rgba(255,126,0,.055),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 30%),
    #21170f;
  box-shadow:0 30px 90px rgba(0,0,0,.66),0 0 0 1px rgba(255,255,255,.015) inset;
  transform:translateY(16px) scale(.975);
  transition:transform .23s cubic-bezier(.22,.61,.36,1);
}
.post-report-modal.is-open .post-report-dialog{
  transform:translateY(0) scale(1);
}
.post-report-close{
  position:absolute;
  right:14px;
  top:14px;
  width:34px;
  height:34px;
  border:1px solid #493321;
  border-radius:8px;
  background:#291d13;
  color:#9b7753;
  font-size:20px;
  cursor:pointer;
  transition:.18s ease;
}
.post-report-close:hover{color:#fff;border-color:#7b4d27;background:#352114;transform:rotate(5deg)}
.post-report-head{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:13px;
  align-items:start;
  padding-right:42px;
  margin-bottom:18px;
}
.post-report-head-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid #69451f;
  border-radius:9px;
  background:#3a230d;
  color:#ff9b23;
  font-size:18px;
}
.post-report-head small{
  display:block;
  color:#da832b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.post-report-head h3{margin:3px 0 4px;font-size:21px;color:#f4ede4}
.post-report-head p{margin:0;color:#8e7355;font-size:12px;line-height:1.5}
.post-report-reasons{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:16px;
}
.post-report-reason{
  position:relative;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 20px;
  gap:10px;
  align-items:center;
  min-height:54px;
  padding:9px 11px;
  border:1px solid #3d2e22;
  border-radius:8px;
  background:#261c13;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.post-report-reason:hover{
  transform:translateY(-1px);
  border-color:#654526;
  background:#2d2015;
}
.post-report-reason input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.post-report-reason-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#322211;
  color:#d68a2e;
  border:1px solid #49331d;
}
.post-report-reason>span:nth-of-type(2){
  color:#dacbb9;
  font-size:12px;
  font-weight:750;
}
.post-report-reason i{
  opacity:0;
  color:#26cb78;
  font-style:normal;
  transition:opacity .18s ease,transform .18s ease;
  transform:scale(.7);
}
.post-report-reason:has(input:checked){
  border-color:#8f5a25;
  background:#352311;
  box-shadow:0 0 18px rgba(255,136,20,.055);
}
.post-report-reason:has(input:checked) .post-report-reason-icon{
  border-color:#8a5723;
  color:#ffab3e;
  background:#43290e;
}
.post-report-reason:has(input:checked) i{opacity:1;transform:scale(1)}
.post-report-details-label{
  position:relative;
  display:block;
  margin-top:2px;
}
.post-report-details-label>span{
  display:block;
  margin-bottom:7px;
  color:#b89973;
  font-size:11px;
  font-weight:800;
}
.post-report-details-label>span b{
  color:#e57352;
  font-size:10px;
  margin-left:5px;
}
.post-report-details-label textarea{
  width:100%;
  min-height:110px;
  resize:vertical;
  border-radius:8px;
  background:#1b130d;
}
.post-report-details-label textarea.is-required{
  border-color:#674328;
}
.post-report-details-label>small{
  display:block;
  text-align:right;
  margin-top:4px;
  color:#6f5942;
}
.post-report-evidence{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px 14px;
  align-items:center;
  margin-top:14px;
  padding:13px;
  border:1px dashed #483423;
  border-radius:8px;
  background:#1f160f;
}
.post-report-evidence strong{display:block;color:#d7c8b7;font-size:12px}
.post-report-evidence small{display:block;color:#79624b;font-size:10px;margin-top:3px}
.post-report-file-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 12px;
  border:1px solid #5d4023;
  border-radius:7px;
  background:#32210f;
  color:#df9338;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
  transition:.18s ease;
}
.post-report-file-button:hover{border-color:#8a5722;background:#3e270f;color:#ffc06c;transform:translateY(-1px)}
.post-report-file-button.has-error{border-color:#9b4533;box-shadow:0 0 0 2px rgba(209,75,49,.08)}
.post-report-file-button input{display:none}
.post-report-file-list{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.post-report-file-list>span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  padding:6px 8px;
  border:1px solid #3f3023;
  border-radius:6px;
  background:#271d14;
  color:#bba488;
  font-size:10px;
}
.post-report-file-list>span span{
  max-width:240px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.post-report-file-list>span small{margin:0;color:#6d5843}
.post-report-file-list em{color:#e06d58;font-size:10px;font-style:normal;padding:6px}
.post-report-copyright-note{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:9px;
  margin-top:12px;
  padding:11px 12px;
  border:1px solid #69452a;
  border-radius:7px;
  background:#342113;
}
.post-report-copyright-note>span{
  width:32px;height:32px;display:grid;place-items:center;border-radius:7px;background:#472b16;color:#ffb060;font-weight:900
}
.post-report-copyright-note strong{display:block;color:#f0c48d;font-size:11px}
.post-report-copyright-note small{display:block;color:#a7805a;font-size:10px;margin-top:3px;line-height:1.45}
.post-report-footer{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid #39291e;
}
.post-report-submit.is-loading{opacity:.6;pointer-events:none}
.v230-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:13000;
  transform:translate(-50%,12px);
  opacity:0;
  padding:10px 14px;
  border:1px solid #68451f;
  border-radius:8px;
  background:#2b1d11;
  color:#f4d5aa;
  box-shadow:0 16px 40px rgba(0,0,0,.5);
  transition:opacity .18s ease,transform .18s ease;
}
.v230-toast.show{opacity:1;transform:translate(-50%,0)}

/* ACP: załączone dowody widoczne od razu przy zgłoszeniu. */
.admin-report-attachments{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.admin-report-attachments>small{color:#8b6c4d}
.admin-report-attachments>a{
  display:inline-flex;
  align-items:center;
  padding:5px 7px;
  border:1px solid #4a3421;
  border-radius:5px;
  background:#21160d;
  color:#d79744;
  font-size:10px;
}
.admin-report-attachments>a:hover{border-color:#75502b;color:#ffc272;background:#2b1c0e}

@media(max-width:760px){
  body.forum-category-page .forum-list-tools{width:100%}
  body.forum-category-page .forum-search-form,
  body.forum-category-page .forum-search-form.is-open{width:100%}
  body.forum-category-page .forum-search-form:not(.is-open){width:40px}
  body.forum-category-page .forum-search-form.is-open .forum-search-slide{width:100%}
  body.forum-category-page .forum-search-form .forum-search-submit{min-width:62px}
  .post-report-reasons{grid-template-columns:1fr}
  .post-report-dialog{padding:18px}
}
@media(max-width:560px){
  body.forum-category-page .topic-list-with-previews .topic-thumb-preview{
    width:56px;
    height:56px;
  }
  body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image,
  body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image img{
    width:42px;
    height:42px;
  }
  .topic-preview-lightbox{padding:14px}
  .post-report-evidence{grid-template-columns:1fr}
  .post-report-file-button{justify-self:start}
  .post-report-footer{flex-direction:column-reverse}
  .post-report-footer .btn{width:100%}
}

/* ==== V2.31 · Nowy wątek + premiumowy edytor BBCode ==== */
body.new-topic-page .page-shell{max-width:1180px}
body.new-topic-page{background:
  radial-gradient(circle at 42% 0%,rgba(255,132,0,.035),transparent 31%),
  #160e07}
.new-topic-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;align-items:start;padding:30px 0 44px}
.new-topic-main{min-width:0}
.new-topic-back{display:inline-flex;align-items:center;gap:8px;color:#7e664a;font-size:11px;font-weight:800;text-decoration:none;margin:0 0 22px;transition:.18s ease}
.new-topic-back span{font-size:17px;line-height:1;color:#a07949}
.new-topic-back:hover{color:#ff9614;transform:translateX(-3px)}
.new-topic-hero{display:flex;align-items:center;gap:13px;margin-bottom:22px}
.new-topic-hero-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #5b3a18;border-radius:7px;background:linear-gradient(180deg,#3a230e,#28180b);color:#ff9000;font-size:20px;box-shadow:0 9px 24px rgba(0,0,0,.22),0 0 18px rgba(255,137,0,.04)}
.new-topic-hero h1{margin:0;color:#fff9f1;font-size:26px;letter-spacing:-.025em}.new-topic-hero h1 em{font-style:normal;color:#ff9614}.new-topic-hero p{margin:2px 0 0;color:#755f45;font-size:11px}
.new-topic-autosave{display:grid;grid-template-columns:32px 1fr auto;gap:11px;align-items:center;padding:12px 14px;margin:0 0 18px;border:1px solid #46321e;border-radius:8px;background:linear-gradient(180deg,#21180f,#1d140d);box-shadow:0 9px 24px rgba(0,0,0,.12)}
.new-topic-autosave-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #4c3218;border-radius:7px;background:#2b1b0d;color:#ff940d}.new-topic-autosave strong{display:block;font-size:11px;color:#e8dac9}.new-topic-autosave small{display:block;margin-top:2px;font-size:9px;color:#715b42}.new-topic-autosave small b{color:#43d49b;font-weight:800}.new-topic-autosave button{border:0;background:transparent;color:#80684a;font-size:9px;font-weight:800;cursor:pointer;transition:.18s ease}.new-topic-autosave button:hover{color:#ff9919}
.new-topic-form{display:grid;gap:17px}
.new-topic-field{position:relative;display:grid;gap:8px;margin:0!important;color:#a88a67!important;font-size:10px!important}
.new-topic-label{display:flex;align-items:center;gap:7px;color:#866f52;font-size:10px;font-weight:800}.new-topic-label i{font-style:normal;color:#b98a43}.new-topic-label small{color:#5f4e3a;font-weight:700}.new-topic-help{color:#66533e!important;font-size:9px!important;margin-top:-2px}
.new-topic-field input,.new-topic-field select,.new-topic-field textarea{width:100%;box-sizing:border-box;background:#1e160f!important;border:1px solid #3e3024!important;color:#e7d8c6!important;border-radius:7px!important;outline:none!important;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease!important}
.new-topic-field input,.new-topic-field select{min-height:46px;padding:0 14px!important}.new-topic-field input:hover,.new-topic-field select:hover{border-color:#56402d!important;background:#221810!important}.new-topic-field input:focus,.new-topic-field select:focus,.new-topic-field textarea:focus{border-color:#8a561f!important;box-shadow:0 0 0 3px rgba(255,139,0,.065)!important;background:#21170f!important}
.new-topic-title-input{font-size:13px!important;padding-right:64px!important}.field-counter{position:absolute;right:11px;bottom:12px;color:#604d37;font-size:8px}.new-topic-split-fields{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:start}.new-topic-language-select{font-weight:750;color:#d9c1a0!important}

/* Wybór działu jak w referencji ViSite */
.forum-picker{position:relative}.forum-picker-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.forum-picker-trigger{width:100%;min-height:62px;display:grid;grid-template-columns:36px minmax(0,1fr) 28px;gap:11px;align-items:center;padding:9px 12px;border:1px solid #46331f;border-radius:8px;background:linear-gradient(180deg,#251b12,#21170f);color:#eee;text-align:left;cursor:pointer;transition:.18s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
.forum-picker-trigger:hover,.forum-picker.open .forum-picker-trigger{border-color:#75481b;background:linear-gradient(180deg,#2c1e11,#24170d);box-shadow:0 9px 25px rgba(0,0,0,.16),0 0 0 2px rgba(255,139,0,.035)}
.forum-picker-selected-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #4e361e;border-radius:6px;background:#31200e;color:#ff9613;font-size:15px}.forum-picker-selected-copy{min-width:0;display:grid;gap:3px}.forum-picker-selected-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eee5da;font-size:12px}.forum-picker-selected-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#736149;font-size:9px}.forum-picker-chevron{display:grid;place-items:center;color:#8d7352;font-size:15px;transition:transform .2s ease}.forum-picker.open .forum-picker-chevron{transform:rotate(180deg);color:#ff9614}
.forum-picker-menu{position:absolute;z-index:180;left:0;right:0;top:calc(100% + 8px);overflow:hidden;border:1px solid #4f3822;border-radius:9px;background:rgba(26,18,11,.985);box-shadow:0 24px 56px rgba(0,0,0,.58),0 0 0 1px rgba(255,139,0,.025);animation:forumPickerIn .18s ease both}
@keyframes forumPickerIn{from{opacity:0;transform:translateY(-5px) scale(.992)}to{opacity:1;transform:none}}
.forum-picker-menu-head{display:grid;gap:2px;padding:11px 13px;border-bottom:1px solid #39291b;background:linear-gradient(180deg,#281c11,#21170e)}.forum-picker-menu-head span{font-size:10px;font-weight:900;color:#e9d9c4}.forum-picker-menu-head small{font-size:8px;color:#6d5740}.forum-picker-scroll{max-height:410px;overflow:auto;padding:7px 8px 10px;scrollbar-width:thin;scrollbar-color:#59401f #18110b}.forum-picker-scroll::-webkit-scrollbar{width:8px}.forum-picker-scroll::-webkit-scrollbar-track{background:#18110b}.forum-picker-scroll::-webkit-scrollbar-thumb{background:#59401f;border-radius:10px;border:2px solid #18110b}
.forum-picker-group{padding:6px 0}.forum-picker-group+ .forum-picker-group{border-top:1px solid #2f2319;margin-top:4px;padding-top:10px}.forum-picker-group>header{display:flex;align-items:center;gap:8px;padding:4px 9px 7px;color:#d7c6b1}.forum-picker-group>header span{color:#d0b7e8}.forum-picker-group>header strong{font-size:8px;letter-spacing:.16em;text-transform:uppercase}
.forum-picker-option{position:relative;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:8px 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:#b9a58b;text-align:left;cursor:pointer;transition:.17s ease}.forum-picker-option:hover{background:#291b0e;border-color:#4a3119;transform:translateX(2px)}.forum-picker-option.selected{background:linear-gradient(90deg,#3b230d,#2b1c0f);border-color:#5a391a;color:#fff}.forum-picker-option-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:#302113;border:1px solid #3f3022;color:#dc9a37;font-size:12px}.forum-picker-option>span:last-child{display:grid;gap:2px;min-width:0}.forum-picker-option strong{font-size:10px;color:#d8cab8}.forum-picker-option small{font-size:8px;color:#6f5d49;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-picker-option.child{grid-template-columns:18px 30px minmax(0,1fr);padding-left:25px}.forum-picker-option.child .forum-picker-option-icon{width:28px;height:28px}.forum-picker-branch{color:#594632;font-size:12px}

/* Kompozytor / BBCode */
.editor-composer-v231{position:relative;border:1px solid #463321;border-radius:8px;background:#1a120c;overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.13);transition:border-color .18s ease,box-shadow .18s ease}.editor-composer-v231:focus-within{border-color:#765020;box-shadow:0 0 0 3px rgba(255,139,0,.05),0 15px 34px rgba(0,0,0,.16)}
.editor-toolbar-v231,.editor-toolbar-v28{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:40px!important;padding:6px 8px!important;border:0!important;border-bottom:1px solid #3b2b1d!important;border-radius:0!important;background:linear-gradient(180deg,#2a2017,#231910)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.016)!important}
.editor-toolbar-v231 .editor-tools-main,.editor-toolbar-v28 .editor-tools-main{display:flex!important;align-items:center!important;gap:3px!important;flex-wrap:wrap!important}.editor-toolbar-v231 button,.editor-toolbar-v28 button{width:29px!important;min-width:29px!important;height:28px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;color:#84705a!important;font-size:10px!important;font-weight:850!important;box-shadow:none!important;transition:.15s ease!important}.editor-toolbar-v231 button:hover,.editor-toolbar-v28 button:hover{transform:translateY(-1px)!important;border-color:#5a3c20!important;background:#34220f!important;color:#ffac3d!important;box-shadow:0 5px 14px rgba(0,0,0,.15)!important}.editor-toolbar-v231 button:active,.editor-toolbar-v28 button:active{transform:translateY(0)!important}.editor-tool-sep{width:1px;height:19px;margin:0 2px;background:#3c2d21}.editor-upload-tool{color:#58c996!important}.editor-toolbar-mode{display:flex;align-items:center;gap:5px;white-space:nowrap;margin-left:auto}.editor-toolbar-mode>span{color:#755e44;font-size:8px;font-weight:900;letter-spacing:.06em}.editor-toolbar-mode>button{width:auto!important;min-width:0!important;padding:0 8px!important;font-size:8px!important;color:#87735e!important}
.editor-textarea-wrap{position:relative}.editor-composer-v231 textarea[data-editor]{display:block;width:100%;min-height:330px!important;padding:17px!important;border:0!important;border-radius:0!important;background:#1a120c!important;color:#dfd1c0!important;resize:vertical;outline:0!important;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;box-shadow:none!important}.editor-composer-v231 textarea[data-editor]::placeholder{color:#544538}.editor-drop-overlay{position:absolute;inset:8px;z-index:12;display:grid;place-items:center;align-content:center;gap:4px;border:1px dashed #9a641f;border-radius:7px;background:rgba(24,15,8,.92);color:#ffc066;opacity:0;visibility:hidden;pointer-events:none;transform:scale(.985);transition:.16s ease}.editor-drop-overlay strong{font-size:14px}.editor-drop-overlay span{font-size:9px;color:#9d7b52}.editor-composer-v231.drag-active .editor-drop-overlay{opacity:1;visibility:visible;transform:none}.editor-composer-v231.drag-active{border-color:#9d641d;box-shadow:0 0 0 3px rgba(255,145,0,.075),0 18px 42px rgba(0,0,0,.3)}
.editor-composer-foot{display:flex;justify-content:space-between;gap:12px;padding:7px 10px;border-top:1px solid #312319;background:#1c140d;color:#69553e;font-size:8px}.editor-composer-foot span::before{content:'⋮⋮';margin-right:7px;color:#9a7444;letter-spacing:-2px}.editor-composer-foot small{color:#564638}
.editor-upload-strip{display:flex;gap:7px;overflow-x:auto;padding:8px;border-top:1px solid #33251a;background:#1d150e}.editor-upload-item{min-width:190px;max-width:260px;display:grid;grid-template-columns:35px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border:1px solid #403024;border-radius:6px;background:#241a12}.editor-upload-item img{width:35px;height:35px;object-fit:cover;border-radius:5px}.editor-upload-item>div{display:grid;gap:2px;min-width:0}.editor-upload-item strong{font-size:9px;color:#d5c4ae}.editor-upload-item small{font-size:8px;color:#6d5b48;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-upload-item>span:last-child{color:#32cc8b}.editor-upload-item.failed{border-color:#6d2b28}.editor-upload-item.failed>span:first-child{width:30px;height:30px;display:grid;place-items:center;border-radius:5px;background:#3b1715;color:#ff817b}.editor-upload-spinner{width:20px;height:20px;border:2px solid #4d3a28;border-top-color:#ff9411;border-radius:50%;animation:editorSpin .7s linear infinite}@keyframes editorSpin{to{transform:rotate(360deg)}}
.editor-preview-v231{margin:9px 0 0!important;border:1px solid #403022!important;border-radius:7px!important;background:#1d150e!important;box-shadow:0 10px 25px rgba(0,0,0,.12)}

/* Ankieta */
.poll-builder-v231{padding:0!important;overflow:hidden;border:1px solid #433022!important;border-radius:8px!important;background:linear-gradient(180deg,#21170f,#1c140d)!important;transition:.18s ease!important}.poll-builder-v231:hover{border-color:#60401f!important;box-shadow:0 10px 26px rgba(0,0,0,.13)}.poll-builder-v231 summary{list-style:none;display:grid;grid-template-columns:34px 1fr 20px;gap:10px;align-items:center;padding:11px 13px;margin:0!important;cursor:pointer}.poll-builder-v231 summary::-webkit-details-marker{display:none}.poll-add-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:#35200d;border:1px solid #513216;color:#ff9713;font-size:18px}.poll-builder-v231 summary>span:nth-child(2){display:grid;gap:2px}.poll-builder-v231 summary strong{font-size:10px;color:#e0d0bd}.poll-builder-v231 summary small{font-size:8px;color:#6d5943;font-weight:500}.poll-builder-v231 summary>i{font-style:normal;color:#80674a;transition:transform .2s ease}.poll-builder-v231[open] summary>i{transform:rotate(180deg)}.poll-builder-body{display:grid;gap:10px;padding:12px 13px 14px;border-top:1px solid #35271c}.poll-builder-body label{display:grid;gap:6px;color:#8d7254;font-size:9px}.poll-builder-body input,.poll-builder-body textarea{background:#19110b!important;border:1px solid #3f3024!important;color:#e6d5c0!important;border-radius:6px!important}.poll-option-toggles{display:flex;gap:14px;flex-wrap:wrap}
.new-topic-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding-top:2px}.new-topic-cancel{color:#765f46;font-size:10px;font-weight:800;text-decoration:none;transition:.18s ease}.new-topic-cancel:hover{color:#d8b98e}.new-topic-submit{min-width:160px!important;height:43px!important;border-radius:7px!important;box-shadow:0 9px 24px rgba(255,122,0,.15)!important;transition:.18s ease!important}.new-topic-submit:hover{transform:translateY(-2px)!important;box-shadow:0 13px 30px rgba(255,122,0,.22)!important}.new-topic-submit span{margin-right:6px}

/* Prawa kolumna */
.new-topic-sidebar{position:sticky;top:86px;display:grid;gap:13px}.new-topic-side-card{overflow:hidden;border:1px solid #3e2e21;border-radius:8px;background:linear-gradient(180deg,#221910,#1e160f);box-shadow:0 10px 26px rgba(0,0,0,.11);transition:.18s ease}.new-topic-side-card:hover{transform:translateY(-2px);border-color:#5a3d21;box-shadow:0 15px 32px rgba(0,0,0,.16)}.new-topic-side-card>header{display:flex;align-items:center;gap:8px;padding:12px 13px 8px;color:#e39320}.new-topic-side-card>header span{width:27px;height:27px;display:grid;place-items:center;border:1px solid #4a3018;border-radius:5px;background:#31200d}.new-topic-side-card>header strong{font-size:10px}.topic-tips-stage{min-height:76px;padding:2px 14px 7px}.topic-tip{display:none;opacity:0;transform:translateY(4px)}.topic-tip.active{display:block;animation:topicTipIn .4s ease both}@keyframes topicTipIn{to{opacity:1;transform:none}}.topic-tip p{margin:0;color:#8d7559;font-size:10px;line-height:1.65}.topic-tip-dots{display:flex;gap:4px;padding:0 14px 13px}.topic-tip-dots button{width:5px;height:5px;padding:0;border:0;border-radius:50%;background:#403326;cursor:pointer;transition:.2s ease}.topic-tip-dots button.active{width:18px;border-radius:8px;background:#f08a0c}.format-shortcuts{display:grid;gap:9px;padding:4px 13px 14px}.format-shortcuts span{display:flex;align-items:center;justify-content:space-between;color:#77624b;font-size:9px}.format-shortcuts kbd{min-width:36px;padding:3px 5px;border:1px solid #443428;border-radius:4px;background:#2a2017;color:#927a5d;text-align:center;font:7px/1.2 ui-monospace,monospace}.rules-card ul{display:grid;gap:8px;margin:2px 0 0;padding:4px 14px 14px 27px;color:#876e52;font-size:9px;line-height:1.4}

/* Język tematu – przywrócony, ale w nowej formie zamiast starego samotnego badge PL */
body.topic-view-page .topic-meta-language>i{color:#9a7cff!important;background:#272037!important}.topic-meta-language b{color:#cbbfff!important}

/* Rozszerzone znaczniki BBCode */
.post-bb-heading{margin:15px 0 8px;color:#f1e6d8;line-height:1.25}.post-bb-h2{font-size:21px}.post-bb-h3{font-size:17px}.post-bb-align{margin:5px 0}.post-bb-left{text-align:left}.post-bb-center{text-align:center}.post-bb-right{text-align:right}.post-bb-hr{height:1px;border:0;background:linear-gradient(90deg,transparent,#634421,transparent);margin:17px 0}.post-bb-olist{list-style:decimal}

/* Jednolity wygląd starszych pasków BBCode w odpowiedziach/edycji */
.editor-toolbar-v28{border:1px solid #433226!important;border-bottom:0!important;border-radius:7px 7px 0 0!important}.editor-toolbar-v28>span{margin-left:auto!important;color:#6d5a46!important;font-size:8px!important}.editor-toolbar-v28>span b{color:#52c991!important}.editor-form textarea[data-editor]{border-color:#433226!important;background:#1a120c!important;color:#e0d1c0!important}.editor-form textarea[data-editor]:focus{border-color:#765020!important;box-shadow:0 0 0 3px rgba(255,139,0,.05)!important}

@media(max-width:980px){.new-topic-layout{grid-template-columns:1fr}.new-topic-sidebar{position:static;grid-template-columns:repeat(3,1fr)}.topic-tips-stage{min-height:92px}}
@media(max-width:720px){.new-topic-layout{padding-top:20px}.new-topic-sidebar{grid-template-columns:1fr}.new-topic-split-fields{grid-template-columns:1fr}.forum-picker-menu{position:relative;top:6px}.forum-picker-scroll{max-height:330px}.new-topic-autosave{grid-template-columns:32px 1fr}.new-topic-autosave button{grid-column:2;justify-self:start}.editor-toolbar-v231,.editor-toolbar-v28{align-items:flex-start!important;flex-direction:column!important}.editor-toolbar-mode{margin-left:0}.editor-composer-foot{flex-direction:column;gap:3px}.new-topic-actions{justify-content:space-between}.new-topic-submit{min-width:145px!important}}


/* =====================================================================
   V2.32 · Topic avatars / global CTA / Chatbox media + ACP
   ===================================================================== */
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image{
  width:50px!important;height:50px!important;padding:2px!important;
  border:1px solid rgba(142,99,54,.52)!important;border-radius:50%!important;
  background:linear-gradient(145deg,#2a1d12,#17100b)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.025)!important;
  overflow:hidden!important;transition:transform .22s cubic-bezier(.22,.61,.36,1),border-color .2s ease,box-shadow .22s ease!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image img{width:100%!important;height:100%!important;border-radius:50%!important;border:0!important;box-shadow:none!important;transition:transform .28s ease,filter .22s ease!important}
body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar.has-image{transform:translateY(-2px) scale(1.065)!important;border-color:#c57a27!important;background:#2a1c10!important;box-shadow:0 10px 24px rgba(0,0,0,.30),0 0 0 3px rgba(255,139,23,.06),0 0 22px rgba(255,124,0,.12)!important}
body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar.has-image img{transform:scale(1.055);filter:brightness(1.06)}
body.forum-category-page .forum-search-form.is-open{width:680px!important;max-width:min(680px,68vw)}
body.forum-category-page .forum-search-slide{min-width:100%}
@media(max-width:900px){body.forum-category-page .forum-search-form.is-open{width:min(620px,calc(100vw - 42px))!important;max-width:100%}}

/* Jeden styl akcji tworzenia/odpowiedzi w całym forum. */
a.btn.btn-primary[href*="/new"],.home-actions a.btn-primary,.forum-new-thread-btn,.reply-submit-btn,.floating-reply-button-v230,.ticket-reply .btn-primary{
  position:relative!important;overflow:hidden!important;border:1px solid #df7f18!important;border-radius:7px!important;
  background:linear-gradient(180deg,#ff9c2b 0%,#f27b08 100%)!important;color:#1b0f05!important;font-weight:900!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 9px 22px rgba(211,91,0,.18)!important;
  transition:transform .18s ease,box-shadow .2s ease,filter .18s ease,border-color .18s ease!important;
}
a.btn.btn-primary[href*="/new"]::after,.home-actions a.btn-primary::after,.forum-new-thread-btn::after,.reply-submit-btn::after,.floating-reply-button-v230::after,.ticket-reply .btn-primary::after{content:"";position:absolute;top:-60%;left:-42%;width:30%;height:220%;transform:rotate(20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transition:left .5s ease;pointer-events:none}
a.btn.btn-primary[href*="/new"]:hover,.home-actions a.btn-primary:hover,.forum-new-thread-btn:hover,.reply-submit-btn:hover,.floating-reply-button-v230:hover,.ticket-reply .btn-primary:hover{transform:translateY(-2px)!important;filter:brightness(1.055);border-color:#ffae4c!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 12px 30px rgba(218,94,0,.27),0 0 22px rgba(255,134,15,.08)!important}
a.btn.btn-primary[href*="/new"]:hover::after,.home-actions a.btn-primary:hover::after,.forum-new-thread-btn:hover::after,.reply-submit-btn:hover::after,.floating-reply-button-v230:hover::after,.ticket-reply .btn-primary:hover::after{left:120%}

.chatbox-card .chat-scroll{height:var(--chat-height,310px)!important;min-height:190px;max-height:680px}
.chat-avatar-link{display:inline-flex;align-self:flex-start;border-radius:50%;transition:transform .18s ease,filter .18s ease}
.chat-avatar-link:hover{transform:translateY(-1px) scale(1.07);filter:brightness(1.12)}
.chat-avatar-link:hover .avatar{border-color:#b16b25;box-shadow:0 0 0 3px rgba(255,137,17,.055),0 7px 18px rgba(0,0,0,.32)}
.chat-message-content{min-width:0}.chat-message-content>p{margin:7px 0 0}
.chat-media-bubble{margin:8px 0 0;display:inline-flex;flex-direction:column;max-width:min(360px,76vw);border:1px solid #4c3421;border-radius:10px;overflow:hidden;background:#17100a;box-shadow:0 9px 24px rgba(0,0,0,.24)}
.chat-media-bubble img{display:block;max-width:100%;width:auto;max-height:250px;object-fit:contain;background:#100b07}
.chat-media-bubble figcaption{padding:6px 9px;color:#8e7254;font-size:10px}
.chat-compose{position:relative;flex:1;min-width:0;display:flex;align-items:center}
.chat-compose>input{width:100%;padding-right:142px!important}
.chat-tools{position:absolute;right:8px;display:flex;align-items:center;gap:2px}
.chat-media-panel{position:absolute;right:0;bottom:52px;z-index:95;width:min(430px,calc(100vw - 38px));max-height:390px;border:1px solid #503720;border-radius:10px;background:linear-gradient(180deg,#281c12,#1f160f);box-shadow:0 20px 55px rgba(0,0,0,.62);overflow:hidden;animation:chatMediaIn .18s ease both}
.chat-media-panel[hidden]{display:none}.chat-media-panel-head{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-bottom:1px solid #423020;background:#2c1e12}.chat-media-panel-head strong,.chat-media-panel-head small{display:block}.chat-media-panel-head strong{font-size:12px}.chat-media-panel-head small{font-size:9px;color:#8f7252}.chat-media-panel-head button{width:28px;height:28px;border:1px solid #503720!important;border-radius:6px!important;background:#21170f!important;color:#a78661!important;font-size:16px!important}.chat-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;max-height:325px;overflow:auto}.chat-media-item{min-width:0!important;padding:7px!important;border:1px solid #403022!important;border-radius:8px!important;background:#21170f!important;color:#a78966!important;text-align:left!important;transition:transform .17s ease,border-color .17s ease,background .17s ease!important}.chat-media-item:hover{transform:translateY(-2px);border-color:#815426!important;background:#2c1d11!important}.chat-media-item img{width:100%;height:95px;object-fit:contain;display:block;border-radius:6px;background:#130e09}.chat-media-item span{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.chat-media-empty{grid-column:1/-1;padding:28px;text-align:center;color:#806748}.chat-blocked-note{width:100%;display:flex;gap:10px;align-items:center;padding:11px 13px;border:1px solid #5b2d28;border-radius:8px;background:#2b1715;color:#f0b6ad}.chat-blocked-note>span{font-size:20px}.chat-blocked-note strong,.chat-blocked-note small{display:block}.chat-blocked-note small{color:#ae776f;margin-top:2px}@keyframes chatMediaIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}

/* ACP Chatbox */
.chat-admin-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.chat-admin-heading small{display:block;color:#e48c32;font-size:9px;letter-spacing:.16em;font-weight:900}.chat-admin-heading h2{margin:2px 0 3px!important}.chat-admin-heading p{margin:0;color:#8b6f50;font-size:12px}.chat-admin-heading>span{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid #56381e;border-radius:8px;background:#38220d;color:#f69a28;font-weight:900}.chat-admin-heading.compact{align-items:center;margin-bottom:12px}.chat-admin-settings{display:grid;gap:14px}.chat-height-control>span{display:flex;justify-content:space-between}.chat-height-control input[type=range]{width:100%;accent-color:#ff8a0b;margin-top:10px}.chat-admin-settings fieldset{border:1px solid #49311e;border-radius:8px;padding:12px}.chat-admin-settings legend{color:#a98661;padding:0 6px}.chat-role-blocks{display:flex;flex-wrap:wrap;gap:8px}.chat-role-blocks label{cursor:pointer}.chat-role-blocks input{position:absolute;opacity:0}.chat-role-blocks span{display:inline-flex;padding:7px 10px;border:1px solid #45301e;border-radius:6px;background:#21170f;color:#917456;font-size:10px;font-weight:800}.chat-role-blocks input:checked+span{border-color:#945c24;background:#3b260f;color:#ffc273}.chat-admin-columns .form-panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.chat-ban-list{display:grid;gap:7px}.chat-ban-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;border:1px solid #3e2b1c;border-radius:7px;background:#21170f}.chat-ban-row strong,.chat-ban-row small{display:block}.chat-ban-row small{color:#8a6d4d}.chat-admin-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.chat-admin-media-item{position:relative;border:1px solid #3f2d1e;border-radius:8px;background:#21170f;overflow:hidden}.chat-admin-media-item img{width:100%;height:120px;object-fit:contain;background:#120d09;display:block}.chat-admin-media-item>div{padding:8px}.chat-admin-media-item strong,.chat-admin-media-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-admin-media-item small{color:#80664a;font-size:9px}.chat-admin-media-item>button{position:absolute;right:6px;top:6px;width:28px;height:28px;border:1px solid #6d302c;border-radius:6px;background:#401817;color:#ff9c95}.chat-admin-messages{display:grid;gap:7px}.chat-admin-message{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:1px solid #3e2b1c;border-radius:7px;background:#21170f}.chat-admin-message strong,.chat-admin-message span,.chat-admin-message small{display:block}.chat-admin-message span{color:#c5b29b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-admin-message small{color:#80664a;font-size:9px}
@media(max-width:900px){.chat-admin-media-grid{grid-template-columns:repeat(2,1fr)}.chat-media-grid{grid-template-columns:repeat(2,1fr)}}


/* =====================================================================
   V2.33 · Czytelniejszy Nowy wątek + rozbudowany ACP Forum / Treści
   ===================================================================== */
body.new-topic-page .new-topic-layout{grid-template-columns:minmax(0,1fr) 280px;gap:30px}
body.new-topic-page .new-topic-back{font-size:13px}
body.new-topic-page .new-topic-hero h1{font-size:30px}
body.new-topic-page .new-topic-hero p{font-size:13px;color:#927654}
body.new-topic-page .new-topic-autosave{padding:14px 16px}
body.new-topic-page .new-topic-autosave strong{font-size:13px}
body.new-topic-page .new-topic-autosave small{font-size:10.5px}
body.new-topic-page .new-topic-autosave button{font-size:10.5px}
body.new-topic-page .new-topic-form{gap:20px}
body.new-topic-page .new-topic-field{font-size:12px!important;gap:9px}
body.new-topic-page .new-topic-label{font-size:12px;letter-spacing:.01em;color:#a68660}
body.new-topic-page .new-topic-label small{font-size:10.5px}
body.new-topic-page .new-topic-help{font-size:10.5px!important;line-height:1.55}
body.new-topic-page .new-topic-field input,body.new-topic-page .new-topic-field select{min-height:50px;font-size:13px!important}
body.new-topic-page .new-topic-title-input{font-size:14px!important}
body.new-topic-page .field-counter{font-size:9.5px;bottom:14px}
body.new-topic-page .forum-picker-trigger{min-height:68px;padding:11px 13px}
body.new-topic-page .forum-picker-selected-copy strong{font-size:14px}
body.new-topic-page .forum-picker-selected-copy small{font-size:10.5px}
body.new-topic-page .forum-picker-menu-head span{font-size:12px}
body.new-topic-page .forum-picker-menu-head small{font-size:9.5px}
body.new-topic-page .forum-picker-group>header strong{font-size:9.5px}
body.new-topic-page .forum-picker-option{padding:10px}
body.new-topic-page .forum-picker-option strong{font-size:12px}
body.new-topic-page .forum-picker-option small{font-size:9.5px}
body.new-topic-page .editor-toolbar-v231 button,body.new-topic-page .editor-toolbar-v28 button{font-size:12px!important}
body.new-topic-page .editor-toolbar-mode>span,body.new-topic-page .editor-toolbar-mode>button{font-size:9.5px!important}
body.new-topic-page .editor-composer-v231 textarea[data-editor]{font-size:13.5px!important;line-height:1.72!important;padding:19px!important}
body.new-topic-page .editor-composer-foot{font-size:9.5px}
body.new-topic-page .poll-builder-v231 summary strong{font-size:12px}
body.new-topic-page .poll-builder-v231 summary small{font-size:9.5px}
body.new-topic-page .poll-builder-body label{font-size:10.5px}
body.new-topic-page .new-topic-side-card>header strong{font-size:12px}
body.new-topic-page .topic-tip p{font-size:11.5px;line-height:1.65}
body.new-topic-page .format-shortcuts span{font-size:10.5px}
body.new-topic-page .format-shortcuts kbd{font-size:8.5px}
body.new-topic-page .rules-card ul{font-size:10.5px;line-height:1.55}
body.new-topic-page .new-topic-cancel{font-size:11.5px}
body.new-topic-page .new-topic-submit{font-size:12px!important}

.admin-card-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #3b291b}.admin-card-heading>div>span{display:block;color:#e58923;font-size:9px;font-weight:950;letter-spacing:.18em}.admin-card-heading h2{margin:3px 0 4px!important;font-size:19px!important}.admin-card-heading p{margin:0;color:#8c6f50;font-size:11px;line-height:1.55}.admin-card-heading>b{padding:7px 10px;border:1px solid #48311e;border-radius:7px;background:#21170f;color:#c99b64;font-size:10px;white-space:nowrap}
.admin-forum-groups{display:grid;gap:14px}.admin-forum-category{border:1px solid #3c2b1d;border-radius:9px;background:#21170f;overflow:hidden}.admin-forum-category>header{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border-bottom:1px solid #3a291c;background:linear-gradient(180deg,#2a1e14,#241910)}.admin-forum-category>header>div{display:flex;align-items:center;gap:9px}.admin-forum-category>header strong{font-size:12px}.admin-forum-category>header small,.admin-forum-category>header em{font-size:9px;color:#80664a;font-style:normal}.admin-forum-cat-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:6px;border:1px solid #533719;background:#34210d;color:#ef941e}.admin-empty-line{padding:14px;color:#725b43;font-size:10px}.admin-forum-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px;border-top:1px solid #35261a;transition:.18s ease}.admin-forum-row:first-of-type{border-top:0}.admin-forum-row:hover{background:#291b0e}.admin-forum-row.is-child{padding-left:34px}.admin-forum-row.is-child .admin-forum-row-icon{transform:scale(.9)}.admin-forum-row-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #4d341f;border-radius:8px;background:#2e2014;color:#f29a28;font-size:17px}.admin-forum-row-main{min-width:0}.admin-forum-row-main strong{display:block;font-size:12px;color:#eadfce}.admin-forum-row-main p{margin:3px 0;color:#8c7254;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-forum-row-main small{font-size:9px;color:#675340}.admin-forum-state{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.admin-forum-state span{padding:4px 7px;border-radius:999px;border:1px solid #44301f;background:#251a11;color:#826a50;font-size:8px;font-weight:900}.admin-forum-state span.on{border-color:#27553f;background:#14291f;color:#4bd399}.admin-forum-state span.off{border-color:#5c2b27;background:#2d1715;color:#d67b72}.admin-forum-actions{display:flex;gap:6px;align-items:center}.admin-forum-actions form{margin:0}
.admin-inline-details{position:relative}.admin-inline-details>summary{list-style:none;cursor:pointer}.admin-inline-details>summary::-webkit-details-marker{display:none}.admin-inline-details[open]>summary{border-color:#8a5520!important;color:#ffad46!important;background:#34220e!important}.admin-inline-editor{position:absolute;z-index:120;right:0;top:calc(100% + 8px);width:min(560px,72vw);display:grid;gap:10px;padding:13px;border:1px solid #5a3c22;border-radius:9px;background:linear-gradient(180deg,#2b1e13,#21170f);box-shadow:0 22px 55px rgba(0,0,0,.55)}.admin-inline-editor label{display:grid;gap:6px;color:#a5825c;font-size:9.5px}.admin-inline-editor input,.admin-inline-editor select,.admin-inline-editor textarea{width:100%;box-sizing:border-box;background:#18110b;border:1px solid #493321;color:#e9daca;border-radius:6px;padding:9px;outline:0}.admin-inline-editor input:focus,.admin-inline-editor select:focus,.admin-inline-editor textarea:focus{border-color:#8d591f;box-shadow:0 0 0 3px rgba(255,142,13,.055)}.admin-switch-row{display:flex;gap:14px;flex-wrap:wrap;color:#a88a67;font-size:10px}.admin-switch-row label{display:flex;align-items:center;gap:6px}.admin-switch-row input{width:auto}
.admin-topic-list{display:grid;gap:10px}.admin-topic-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;padding:13px;border:1px solid #3f2d1e;border-radius:9px;background:linear-gradient(180deg,#251a11,#21170f);box-shadow:0 8px 22px rgba(0,0,0,.11);transition:.18s ease}.admin-topic-card:hover{transform:translateY(-1px);border-color:#60401f;background:linear-gradient(180deg,#2b1d11,#24180f);box-shadow:0 12px 28px rgba(0,0,0,.17)}.admin-topic-card.is-pinned{border-left:3px solid #e68a18}.admin-topic-card.is-locked{box-shadow:inset 3px 0 0 rgba(120,113,104,.35)}.admin-topic-card.is-suspended{opacity:.72;border-color:#67322f}.admin-topic-avatar .avatar{width:42px;height:42px}.admin-topic-main{min-width:0}.admin-topic-title-line{display:flex;align-items:center;gap:8px;min-width:0}.admin-topic-title-line>a{color:#f0e5d7;font-size:13px;font-weight:900;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-topic-title-line>a:hover{color:#ff9d24}.admin-topic-title-line>span{padding:3px 6px;border:1px solid #47311f;border-radius:5px;color:#7a6146;font-size:8px}.admin-topic-main>p{margin:5px 0 7px;color:#95785a;font-size:10px;line-height:1.5}.admin-topic-meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:#755f46;font-size:9px}.admin-topic-meta a{color:#bf8b4c;text-decoration:none}.admin-topic-meta a:hover{color:#ff9c1e}.admin-topic-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.admin-topic-tags span{padding:3px 6px;border:1px solid #45301f;border-radius:999px;background:#1c140d;color:#806a50;font-size:8px}.admin-topic-statuses{display:flex;align-content:flex-start;justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:190px}.admin-topic-statuses span{padding:4px 7px;border:1px solid #493522;border-radius:999px;background:#20170f;color:#927557;font-size:8px;font-weight:950}.admin-topic-statuses .status-open{border-color:#28543f;background:#14271e;color:#44ce93}.admin-topic-statuses .status-locked{border-color:#544a3d;background:#27231e;color:#c8b69e}.admin-topic-statuses .status-suspended{border-color:#69302b;background:#2c1715;color:#ef887d}.admin-topic-actions-row{grid-column:2/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:9px;border-top:1px solid #38281b}.admin-topic-actions-row form{margin:0;display:flex;gap:6px;flex-wrap:wrap}.admin-topic-actions-row .admin-inline-details{position:relative}.admin-topic-actions-row .admin-inline-editor{left:0;right:auto;top:calc(100% + 8px)}.admin-topic-warn .admin-inline-editor{width:min(500px,72vw)}.btn-warning{border:1px solid #735222!important;background:#38270f!important;color:#e9a744!important}.btn-warning:hover{border-color:#b47726!important;background:#4a2f0e!important;color:#ffc063!important}.admin-pagination{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:16px;padding-top:14px;border-top:1px solid #39281b}.admin-pagination a,.admin-pagination span{min-width:32px;height:32px;padding:0 8px;display:grid;place-items:center;border:1px solid #43301f;border-radius:6px;background:#21170f;color:#927557;text-decoration:none;font-size:10px;font-weight:900}.admin-pagination a:hover{border-color:#815321;color:#ff9d24;background:#30200f}.admin-pagination a.active{border-color:#c07120;background:#4a2c0d;color:#ffc065;box-shadow:0 0 0 2px rgba(255,142,13,.05)}.admin-pagination a.disabled{pointer-events:none;opacity:.35}.admin-posts-table>div{grid-template-columns:120px minmax(0,1.4fr) minmax(160px,.8fr) 60px}
@media(max-width:980px){.admin-forum-row{grid-template-columns:40px minmax(0,1fr)}.admin-forum-state,.admin-forum-actions{grid-column:2}.admin-topic-card{grid-template-columns:44px minmax(0,1fr)}.admin-topic-statuses{grid-column:2;justify-content:flex-start;max-width:none}.admin-topic-actions-row{grid-column:1/-1}.admin-inline-editor{position:fixed;left:12px!important;right:12px!important;top:90px!important;width:auto;max-height:calc(100vh - 110px);overflow:auto}.admin-posts-table>div{grid-template-columns:90px 1fr}.admin-posts-table>div>*:nth-child(3){display:none}}

/* =====================================================================
   V2.34 · ACP Chatbox redesign
   ===================================================================== */
body.admin-page .chat-acp-card{overflow:hidden!important;padding:0!important;border:1px solid #4b331f!important;background:linear-gradient(180deg,#291c11 0%,#23180f 100%)!important;box-shadow:0 14px 34px rgba(0,0,0,.18)!important}
body.admin-page .chat-acp-card:hover{transform:none!important;border-color:#60401f!important;box-shadow:0 16px 38px rgba(0,0,0,.22)!important}
body.admin-page .chat-acp-card-head{display:flex!important;align-items:center!important;gap:13px!important;padding:16px 17px!important;margin:0!important;border-bottom:1px solid #3f2b1b!important;background:linear-gradient(180deg,rgba(54,37,21,.72),rgba(42,28,17,.62))!important}
body.admin-page .chat-acp-card-head.compact{padding:14px 16px!important}
body.admin-page .chat-acp-title-icon{width:42px!important;height:42px!important;min-width:42px!important;display:grid!important;place-items:center!important;border:1px solid #704716!important;border-radius:9px!important;background:linear-gradient(145deg,#4a2c0c,#2f1d0c)!important;color:#ff9b19!important;font-size:18px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 18px rgba(0,0,0,.2)!important}
body.admin-page .chat-acp-title-icon.danger{border-color:#6a322d!important;background:linear-gradient(145deg,#451c18,#291412)!important;color:#ff786f!important}
body.admin-page .chat-acp-title-icon.media{border-color:#315663!important;background:linear-gradient(145deg,#17333a,#132529)!important;color:#64cae7!important}
body.admin-page .chat-acp-title-copy{min-width:0!important;flex:1!important}
body.admin-page .chat-acp-title-copy small{display:block!important;color:#df8422!important;font-size:9px!important;line-height:1.2!important;letter-spacing:.16em!important;font-weight:950!important;text-transform:uppercase!important}
body.admin-page .chat-acp-title-copy h2{margin:3px 0 3px!important;font-size:17px!important;line-height:1.2!important;color:#f5eadc!important}
body.admin-page .chat-acp-title-copy p{margin:0!important;color:#8f7252!important;font-size:10.5px!important;line-height:1.45!important}
body.admin-page .chat-acp-status,body.admin-page .chat-acp-count{margin-left:auto!important;align-self:center!important;display:inline-flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important;padding:7px 10px!important;border:1px solid #3f4e37!important;border-radius:999px!important;background:#172319!important;color:#62d49b!important;font-size:9px!important;font-weight:900!important}
body.admin-page .chat-acp-status i{width:7px!important;height:7px!important;border-radius:50%!important;background:#16cf7a!important;box-shadow:0 0 0 4px rgba(22,207,122,.1),0 0 12px rgba(22,207,122,.4)!important}
body.admin-page .chat-acp-count{min-width:34px!important;justify-content:center!important;border-color:#5b3b1c!important;background:#31200f!important;color:#f2a23d!important}
body.admin-page .chat-acp-settings-form{display:grid!important;gap:13px!important;padding:16px!important}
body.admin-page .chat-acp-settings-grid{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;gap:12px!important}
body.admin-page .chat-acp-setting-box{min-width:0!important;padding:14px!important;border:1px solid #44301f!important;border-radius:9px!important;background:linear-gradient(180deg,#22170f,#1d140d)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}
body.admin-page .chat-acp-setting-box>header{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important}
body.admin-page .chat-acp-setting-box>header>div{min-width:0!important;flex:1!important}
body.admin-page .chat-acp-setting-box>header strong,body.admin-page .chat-acp-setting-box>header small{display:block!important}
body.admin-page .chat-acp-setting-box>header strong{color:#e9dece!important;font-size:11px!important}
body.admin-page .chat-acp-setting-box>header small{margin-top:2px!important;color:#7f6549!important;font-size:9px!important;line-height:1.35!important}
body.admin-page .chat-acp-mini-icon{width:31px!important;height:31px!important;min-width:31px!important;display:grid!important;place-items:center!important;border:1px solid #56371a!important;border-radius:7px!important;background:#32200d!important;color:#ef921d!important;font-size:14px!important}
body.admin-page .chat-acp-height-box output{min-width:64px!important;padding:7px 9px!important;border:1px solid #60401f!important;border-radius:7px!important;background:#2e1d0e!important;color:#ff9c23!important;text-align:center!important;font-size:12px!important;font-weight:950!important}
body.admin-page .chat-acp-range-wrap input[type=range]{appearance:none!important;-webkit-appearance:none!important;width:100%!important;height:5px!important;margin:8px 0 9px!important;border:0!important;border-radius:999px!important;background:linear-gradient(90deg,#7f4610,#ff8b12)!important;outline:0!important;box-shadow:none!important;padding:0!important}
body.admin-page .chat-acp-range-wrap input[type=range]::-webkit-slider-thumb{-webkit-appearance:none!important;width:18px!important;height:18px!important;border-radius:50%!important;border:3px solid #f5a33a!important;background:#24170d!important;box-shadow:0 0 0 4px rgba(255,139,18,.12),0 4px 12px rgba(0,0,0,.35)!important}
body.admin-page .chat-acp-range-wrap input[type=range]::-moz-range-thumb{width:14px!important;height:14px!important;border-radius:50%!important;border:3px solid #f5a33a!important;background:#24170d!important;box-shadow:0 0 0 4px rgba(255,139,18,.12)!important}
body.admin-page .chat-acp-range-wrap>div{display:flex!important;justify-content:space-between!important;align-items:center!important;color:#6f593f!important;font-size:8.5px!important}
body.admin-page .chat-acp-range-wrap>div b{color:#c89b63!important;font-size:9.5px!important}
body.admin-page .chat-acp-role-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
body.admin-page .chat-acp-role-chip{display:block!important;position:relative!important;margin:0!important;cursor:pointer!important}
body.admin-page .chat-acp-role-chip input{position:absolute!important;opacity:0!important;pointer-events:none!important}
body.admin-page .chat-acp-role-chip>span{position:relative!important;min-height:50px!important;display:grid!important;grid-template-columns:10px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:8px!important;align-items:center!important;padding:8px 10px!important;border:1px solid #3f2c1c!important;border-radius:7px!important;background:#1b130d!important;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease!important}
body.admin-page .chat-acp-role-chip>span>i{grid-row:1/3!important;width:8px!important;height:8px!important;border-radius:50%!important;background:#51402e!important;box-shadow:0 0 0 3px rgba(255,255,255,.02)!important}
body.admin-page .chat-acp-role-chip b{font-size:9px!important;line-height:1.15!important;color:#a88b69!important}
body.admin-page .chat-acp-role-chip small{font-size:8px!important;line-height:1.15!important;color:#69553f!important}
body.admin-page .chat-acp-role-chip:hover>span{transform:translateY(-1px)!important;border-color:#65401f!important;background:#24170d!important}
body.admin-page .chat-acp-role-chip input:checked+span{border-color:#9b6020!important;background:linear-gradient(180deg,#39240e,#2b1b0c)!important;box-shadow:0 0 0 2px rgba(255,142,13,.04),inset 0 1px 0 rgba(255,255,255,.025)!important}
body.admin-page .chat-acp-role-chip input:checked+span>i{background:#ff9215!important;box-shadow:0 0 0 3px rgba(255,146,21,.12),0 0 10px rgba(255,146,21,.25)!important}
body.admin-page .chat-acp-role-chip input:checked+span b{color:#ffc168!important}
body.admin-page .chat-acp-censor-box{padding:14px!important}
body.admin-page .chat-acp-counter{margin-left:auto!important;padding:4px 7px!important;border-radius:999px!important;background:#2a1c10!important;border:1px solid #45301d!important;color:#775f44!important;font-size:8px!important}
body.admin-page .chat-acp-censor-box textarea{display:block!important;width:100%!important;min-height:122px!important;resize:vertical!important;padding:12px 13px!important;border:1px solid #49311e!important;border-radius:8px!important;background:#160f0a!important;color:#dfd2c1!important;line-height:1.55!important;font-size:10.5px!important;outline:0!important;box-shadow:inset 0 1px 10px rgba(0,0,0,.13)!important}
body.admin-page .chat-acp-censor-box textarea:focus{border-color:#8a5721!important;box-shadow:0 0 0 3px rgba(255,139,18,.055),inset 0 1px 10px rgba(0,0,0,.13)!important}
body.admin-page .chat-acp-save-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding-top:1px!important}
body.admin-page .chat-acp-save-row>div{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
body.admin-page .chat-acp-save-row>div>span{width:29px!important;height:29px!important;min-width:29px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#143022!important;color:#35cf8a!important;font-weight:1000!important}
body.admin-page .chat-acp-save-row p{margin:0!important}.chat-acp-save-row strong,.chat-acp-save-row small{display:block!important}.chat-acp-save-row strong{font-size:9.5px!important;color:#bda386!important}.chat-acp-save-row small{font-size:8.5px!important;color:#725b42!important;margin-top:1px!important}
body.admin-page .chat-acp-save-btn{min-width:210px!important;height:39px!important;box-shadow:0 8px 20px rgba(218,94,0,.18)!important}
body.admin-page .chat-acp-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-bottom:12px!important}
body.admin-page .chat-acp-columns>.admin-card{margin:0!important}
body.admin-page .chat-acp-form{display:grid!important;gap:11px!important;padding:15px 16px 16px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.admin-page .chat-acp-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.admin-page .chat-acp-form label{display:grid!important;gap:6px!important;margin:0!important;color:#a98661!important;font-size:9px!important;font-weight:800!important}
body.admin-page .chat-acp-form label>span{display:block!important;color:#a98661!important}
body.admin-page .chat-acp-form input:not([type=file]),body.admin-page .chat-acp-form select{width:100%!important;min-height:40px!important;padding:0 11px!important;border:1px solid #49311e!important;border-radius:7px!important;background:#1a120c!important;color:#e2d4c2!important;outline:0!important}
body.admin-page .chat-acp-form input:not([type=file]):focus,body.admin-page .chat-acp-form select:focus{border-color:#88541e!important;box-shadow:0 0 0 3px rgba(255,140,18,.05)!important}
body.admin-page .chat-acp-file-field input[type=file]{display:block!important;width:100%!important;padding:7px!important;border:1px dashed #5a3b21!important;border-radius:7px!important;background:#19110b!important;color:#8e7252!important;font-size:9px!important}
body.admin-page .chat-acp-file-field input[type=file]::file-selector-button{margin-right:9px!important;padding:7px 10px!important;border:1px solid #6b421c!important;border-radius:5px!important;background:#35210d!important;color:#f3a443!important;font:inherit!important;font-weight:900!important;cursor:pointer!important}
body.admin-page .chat-acp-file-note{align-self:end!important;min-height:40px!important;padding:7px 9px!important;border:1px solid #3b2a1c!important;border-radius:7px!important;background:#1d150e!important}.chat-acp-file-note b,.chat-acp-file-note small{display:block!important}.chat-acp-file-note b{font-size:8.5px!important;color:#a68761!important}.chat-acp-file-note small{margin-top:2px!important;font-size:8px!important;color:#6f5941!important}
body.admin-page .chat-acp-full-btn{width:100%!important;min-height:39px!important;margin-top:1px!important}
body.admin-page .chat-acp-ban-list{display:grid!important;gap:7px!important;padding:13px 15px 15px!important}
body.admin-page .chat-acp-ban-row{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;margin:0!important;padding:9px 10px!important;border:1px solid #3e2c1d!important;border-radius:8px!important;background:#1e150e!important;transition:.17s ease!important}
body.admin-page .chat-acp-ban-row:hover{border-color:#66342e!important;background:#251611!important}
body.admin-page .chat-acp-ban-avatar{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:#321715!important;color:#e96e66!important}
body.admin-page .chat-acp-ban-row strong,body.admin-page .chat-acp-ban-row small{display:block!important}.chat-acp-ban-row strong{color:#e6d9c8!important;font-size:10.5px!important}.chat-acp-ban-row small{margin-top:2px!important;color:#7f654b!important;font-size:8.5px!important}
body.admin-page .chat-acp-media-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:14px 15px 16px!important}
body.admin-page .chat-acp-media-item{position:relative!important;min-width:0!important;margin:0!important;border:1px solid #402d1e!important;border-radius:9px!important;background:#1d150e!important;overflow:hidden!important;transition:.18s ease!important}.chat-acp-media-item:hover{transform:translateY(-2px)!important;border-color:#72501f!important;box-shadow:0 10px 24px rgba(0,0,0,.24)!important}
body.admin-page .chat-acp-media-preview{position:relative!important;height:126px!important;background:#110c08!important;overflow:hidden!important}.chat-acp-media-preview img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}.chat-acp-media-preview>span{position:absolute!important;left:7px!important;top:7px!important;padding:3px 6px!important;border:1px solid #4c351f!important;border-radius:999px!important;background:rgba(21,14,8,.9)!important;color:#a9865f!important;font-size:7.5px!important;font-weight:900!important}
body.admin-page .chat-acp-media-copy{padding:9px 10px!important}.chat-acp-media-copy strong,.chat-acp-media-copy small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.chat-acp-media-copy strong{font-size:10px!important;color:#e5dacb!important}.chat-acp-media-copy small{margin-top:2px!important;font-size:8px!important;color:#6f5941!important}
body.admin-page .chat-acp-media-item>button{position:absolute!important;right:7px!important;top:7px!important;width:27px!important;height:27px!important;display:grid!important;place-items:center!important;border:1px solid #72332f!important;border-radius:7px!important;background:rgba(61,23,20,.92)!important;color:#ff938c!important;font-size:17px!important;line-height:1!important;opacity:.72!important;transition:.17s ease!important}.chat-acp-media-item:hover>button{opacity:1!important}.chat-acp-media-item>button:hover{background:#5a201d!important;border-color:#a9443d!important;transform:scale(1.04)!important}
body.admin-page .chat-acp-empty{grid-column:1/-1!important;padding:30px 18px!important;border:1px dashed #45301e!important;border-radius:8px!important;background:#1c140d!important;color:#7d6549!important;text-align:center!important;font-size:10px!important}
body.admin-page .chat-acp-message-scroll{display:grid!important;gap:7px!important;max-height:620px!important;overflow:auto!important;padding:12px 14px 14px!important;scrollbar-width:thin!important;scrollbar-color:#6b461f #1c130c!important}
body.admin-page .chat-acp-message-scroll::-webkit-scrollbar{width:8px!important}.chat-acp-message-scroll::-webkit-scrollbar-track{background:#1c130c!important}.chat-acp-message-scroll::-webkit-scrollbar-thumb{background:#6b461f!important;border-radius:999px!important;border:2px solid #1c130c!important}
body.admin-page .chat-acp-message-row{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;margin:0!important;padding:10px 11px!important;border:1px solid #3e2c1d!important;border-radius:8px!important;background:linear-gradient(180deg,#20160f,#1d140d)!important;transition:border-color .17s ease,background .17s ease,transform .17s ease!important}
body.admin-page .chat-acp-message-row:hover{transform:translateX(2px)!important;border-color:#65421f!important;background:linear-gradient(180deg,#281a0f,#21160d)!important}
body.admin-page .chat-acp-message-avatar{width:42px!important;height:42px!important;display:grid!important;place-items:center!important}.chat-acp-message-avatar .avatar,.chat-acp-message-avatar img{width:36px!important;height:36px!important;border-radius:50%!important;object-fit:cover!important}
body.admin-page .chat-acp-message-copy{min-width:0!important}.chat-acp-message-meta{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}.chat-acp-message-meta strong{color:#f1e5d5!important;font-size:10.5px!important;white-space:nowrap!important}.chat-acp-message-meta time{color:#6d5942!important;font-size:8.5px!important}.chat-acp-message-copy p{margin:3px 0 0!important;max-width:100%!important;color:#bda990!important;font-size:10px!important;line-height:1.35!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.chat-acp-media-badge{display:inline-flex!important;margin-top:5px!important;padding:3px 6px!important;border:1px solid #31515a!important;border-radius:999px!important;background:#14252a!important;color:#69bfd3!important;font-size:7px!important;font-weight:950!important}
body.admin-page .chat-acp-message-action{margin:0!important;display:flex!important;align-items:center!important}.chat-acp-message-action .btn{min-width:64px!important}
@media(max-width:1100px){body.admin-page .chat-acp-settings-grid,body.admin-page .chat-acp-columns{grid-template-columns:1fr!important}body.admin-page .chat-acp-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body.admin-page .chat-acp-card-head{align-items:flex-start!important}.chat-acp-status{display:none!important}body.admin-page .chat-acp-role-grid,body.admin-page .chat-acp-form-grid{grid-template-columns:1fr!important}body.admin-page .chat-acp-save-row{align-items:stretch!important;flex-direction:column!important}.chat-acp-save-btn{width:100%!important}body.admin-page .chat-acp-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.admin-page .chat-acp-message-row{grid-template-columns:38px minmax(0,1fr)!important}.chat-acp-message-action{grid-column:2!important;justify-content:flex-end!important}}
@media(max-width:480px){body.admin-page .chat-acp-settings-form{padding:12px!important}.chat-acp-setting-box{padding:11px!important}body.admin-page .chat-acp-media-grid{grid-template-columns:1fr!important}}

/* VForum 2.35 — ACP: pełna edycja tematów */
.admin-topic-edit-full[open]{z-index:190}
.admin-topic-edit-full[open]::before{content:"";position:fixed;inset:0;z-index:188;background:rgba(8,5,3,.72);backdrop-filter:blur(3px);animation:adminTopicBackdrop .18s ease both}
.admin-topic-edit-full>.admin-topic-full-editor{position:fixed!important;z-index:189!important;left:50%!important;right:auto!important;top:72px!important;transform:translateX(-50%);width:min(980px,calc(100vw - 40px))!important;max-height:calc(100vh - 104px);overflow:auto;padding:0!important;gap:0!important;border:1px solid #62411f!important;border-radius:14px!important;background:linear-gradient(180deg,#2a1d12 0%,#21170f 100%)!important;box-shadow:0 30px 90px rgba(0,0,0,.72),0 0 0 1px rgba(255,146,29,.04)!important;animation:adminTopicEditorIn .2s cubic-bezier(.2,.8,.2,1) both;scrollbar-color:#744919 #1a120c;scrollbar-width:thin}
.admin-topic-edit-full>.admin-topic-full-editor::-webkit-scrollbar{width:10px}.admin-topic-edit-full>.admin-topic-full-editor::-webkit-scrollbar-track{background:#1a120c}.admin-topic-edit-full>.admin-topic-full-editor::-webkit-scrollbar-thumb{background:#6a421c;border:2px solid #1a120c;border-radius:99px}
@keyframes adminTopicBackdrop{from{opacity:0}to{opacity:1}}@keyframes adminTopicEditorIn{from{opacity:0;transform:translate(-50%,-12px) scale(.985)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
.admin-topic-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #49311d;background:linear-gradient(135deg,rgba(255,139,17,.08),transparent 46%),#281b11}.admin-topic-editor-head>div{min-width:0}.admin-topic-editor-head span:first-child{display:block;margin-bottom:6px;color:#e88a1b;font-size:9px;font-weight:950;letter-spacing:.17em}.admin-topic-editor-head h3{margin:0;color:#fff3e4;font-size:20px;line-height:1.2}.admin-topic-editor-head p{margin:7px 0 0;max-width:720px;color:#9d7d5b;font-size:10px;line-height:1.55}.admin-topic-editor-badge{flex:0 0 auto;padding:7px 10px;border:1px solid #68451f;border-radius:8px;background:#38240f;color:#ff9c27!important;font-size:9px!important;font-weight:950;letter-spacing:.12em!important}
.admin-topic-editor-section{display:grid;gap:12px;padding:18px 24px;border-bottom:1px solid #3c2a1b}.admin-topic-editor-section:hover{background:rgba(255,142,20,.018)}.admin-topic-editor-section-title{display:flex;align-items:center;gap:10px}.admin-topic-editor-section-title>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #5b3b1c;border-radius:8px;background:#31200f;color:#ff941d;font-size:9px;font-weight:950}.admin-topic-editor-section-title>div{display:grid;gap:2px}.admin-topic-editor-section-title b{color:#f7ecdf;font-size:11px}.admin-topic-editor-section-title small{color:#84684d;font-size:9px}.admin-topic-editor-grid{display:grid;gap:12px}.admin-topic-editor-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-topic-full-editor label{display:grid;gap:6px;color:#b4936d!important;font-size:9.5px!important;font-weight:800}.admin-topic-full-editor label>small{color:#6f5a45;font-size:8.5px;font-weight:500;line-height:1.4}.admin-topic-full-editor input,.admin-topic-full-editor select,.admin-topic-full-editor textarea{width:100%;box-sizing:border-box;border:1px solid #4a321d!important;border-radius:8px!important;background:#18110b!important;color:#f0dfcc!important;padding:10px 11px!important;font:inherit;outline:0;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.admin-topic-full-editor input:hover,.admin-topic-full-editor select:hover,.admin-topic-full-editor textarea:hover{border-color:#65421f!important;background:#1c130c!important}.admin-topic-full-editor input:focus,.admin-topic-full-editor select:focus,.admin-topic-full-editor textarea:focus{border-color:#a86620!important;box-shadow:0 0 0 3px rgba(255,143,19,.07)!important;background:#1d140c!important}.admin-topic-full-editor textarea{min-height:250px;resize:vertical;line-height:1.62;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px!important}
.admin-topic-editor-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:-2px;padding:9px 10px;border:1px solid #3f2c1b;border-radius:8px;background:#1d150e}.admin-topic-editor-toolbar>span{margin-right:auto;color:#8f7051;font-size:9px}.admin-topic-editor-toolbar code{padding:4px 6px;border:1px solid #49331f;border-radius:5px;background:#25180e;color:#c99558;font-size:8px}.admin-topic-content-label{gap:0!important}
.admin-topic-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px 20px;background:#1f160f}.admin-topic-editor-footer>span{color:#745c44;font-size:8.5px}.admin-topic-editor-footer-actions{display:flex;align-items:center;gap:8px}.admin-topic-editor-cancel{border-color:#4b3523!important;background:#241a12!important;color:#9a7b5d!important}.admin-topic-editor-cancel:hover{border-color:#73502d!important;color:#e0b984!important;background:#302013!important}.admin-topic-save-btn{min-width:210px;justify-content:center;box-shadow:0 8px 24px rgba(219,116,7,.16)}
.admin-topic-edit-full>summary{position:relative;z-index:190}.admin-topic-edit-full[open]>summary{border-color:#b16c20!important;background:#472b0d!important;color:#ffb350!important;box-shadow:0 0 0 2px rgba(255,143,19,.05)}
@media(max-width:760px){.admin-topic-edit-full>.admin-topic-full-editor{top:54px!important;width:calc(100vw - 18px)!important;max-height:calc(100vh - 68px)}.admin-topic-editor-head,.admin-topic-editor-section,.admin-topic-editor-footer{padding-left:15px;padding-right:15px}.admin-topic-editor-grid-2{grid-template-columns:1fr}.admin-topic-editor-footer{align-items:stretch;flex-direction:column}.admin-topic-editor-footer-actions{width:100%;display:grid;grid-template-columns:1fr}.admin-topic-save-btn{min-width:0;width:100%}}


/* ==== V2.36 · Chatbox ACP actions / Spoiler / report textarea / full topic edit ==== */
.post-report-details-label textarea{color:#f4eadf!important;caret-color:#ff9a21!important}.post-report-details-label textarea::placeholder{color:#715c47!important;opacity:1}

body.topic-view-page .post-spoiler-block,.post-content .post-spoiler-block{margin:18px 0 20px!important;width:100%!important;border:1px solid rgba(142,72,18,.74)!important;border-radius:5px!important;background:linear-gradient(180deg,rgba(25,14,7,.985),rgba(20,11,6,.99))!important;box-shadow:inset 0 1px 0 rgba(255,176,91,.025),inset 0 0 30px rgba(96,43,8,.035)!important;overflow:hidden!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important}
body.topic-view-page .post-spoiler-block:hover,.post-content .post-spoiler-block:hover{border-color:rgba(184,101,30,.86)!important;box-shadow:0 8px 24px rgba(0,0,0,.18),inset 0 0 32px rgba(117,52,9,.05)!important}
body.topic-view-page .post-spoiler-block summary,.post-content .post-spoiler-block summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:46px!important;padding:0 15px!important;cursor:pointer!important;border:0!important;background:linear-gradient(180deg,rgba(55,31,13,.56),rgba(31,18,9,.42))!important;color:#f2e7da!important;font-size:11px!important;font-weight:800!important;user-select:none!important;transition:background .18s ease,color .18s ease!important}
body.topic-view-page .post-spoiler-block summary::-webkit-details-marker,.post-content .post-spoiler-block summary::-webkit-details-marker{display:none!important}
.post-spoiler-title{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}.post-spoiler-title>b{display:grid!important;place-items:center!important;width:24px!important;height:24px!important;border:1px solid #6b421e!important;border-radius:6px!important;background:#2e1d0d!important;color:#ff9d28!important;font-size:12px!important;transition:transform .2s ease!important}.post-spoiler-title>span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.post-spoiler-block summary>i{font-style:normal!important;color:#806548!important;font-size:9px!important;font-weight:650!important}.post-spoiler-block[open] summary{border-bottom:1px solid #3d2b1b!important;background:#2a1a0d!important;color:#ffb253!important}.post-spoiler-block[open] .post-spoiler-title>b{transform:rotate(90deg)!important}.post-spoiler-content{padding:16px!important;color:#e9ddcf!important;line-height:1.72!important;background:rgba(13,9,6,.35)!important;animation:spoilerReveal .18s ease both}@keyframes spoilerReveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

body.admin-page .chat-acp-message-row{grid-template-columns:42px minmax(0,1fr) minmax(250px,auto)!important;align-items:start!important}.chat-acp-message-avatar{text-decoration:none!important;border-radius:50%!important;transition:transform .17s ease,filter .17s ease,box-shadow .17s ease!important}.chat-acp-message-avatar:hover{transform:translateY(-2px) scale(1.06)!important;filter:brightness(1.12)!important;box-shadow:0 0 0 3px rgba(255,145,22,.08)!important}.chat-acp-message-meta>a{color:#f1e5d5!important;font-size:10.5px!important;font-weight:900!important;text-decoration:none!important}.chat-acp-message-meta>a:hover{color:#ff9d26!important}.chat-acp-message-meta .role-pill{font-size:7px!important;padding:2px 5px!important}
.chat-acp-message-actions{position:relative!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}.chat-acp-message-actions>form{margin:0!important}.chat-acp-message-tool{position:relative!important}.chat-acp-message-tool>summary{list-style:none!important;cursor:pointer!important;min-height:30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 10px!important;border:1px solid #54371c!important;border-radius:6px!important;background:#2a1b0e!important;color:#c99a61!important;font-size:9px!important;font-weight:850!important;transition:.16s ease!important}.chat-acp-message-tool>summary::-webkit-details-marker{display:none!important}.chat-acp-message-tool>summary:hover,.chat-acp-message-tool[open]>summary{border-color:#8b5725!important;background:#3a240e!important;color:#ffb052!important;transform:translateY(-1px)!important}.chat-acp-message-tool.warn>summary{border-color:#68521b!important;color:#ddb750!important}.chat-acp-message-tool[open]::before{content:"";position:fixed;inset:0;z-index:208;background:rgba(6,4,3,.68);backdrop-filter:blur(2px)}.chat-acp-message-tool>form{position:fixed!important;z-index:209!important;left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(430px,calc(100vw - 28px))!important;display:grid!important;gap:9px!important;padding:16px!important;border:1px solid #724a20!important;border-radius:11px!important;background:linear-gradient(180deg,#2c1d11,#21160e)!important;box-shadow:0 26px 80px rgba(0,0,0,.72)!important;animation:chatAcpToolIn .18s ease both}@keyframes chatAcpToolIn{from{opacity:0;transform:translate(-50%,-48%) scale(.985)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.chat-acp-message-tool label{display:grid!important;gap:5px!important;color:#9b7a55!important;font-size:9px!important;font-weight:800!important}.chat-acp-message-tool textarea,.chat-acp-message-tool input{width:100%!important;box-sizing:border-box!important;border:1px solid #4a321d!important;border-radius:6px!important;background:#17100a!important;color:#f3e7d8!important;padding:8px!important;outline:0!important}.chat-acp-message-tool textarea:focus,.chat-acp-message-tool input:focus{border-color:#9a6024!important;box-shadow:0 0 0 3px rgba(255,143,20,.06)!important}.chat-acp-message-tool small{color:#876a4b!important;font-size:8px!important;line-height:1.4!important}.chat-acp-message-tool code{color:#ffad45!important}.chat-acp-warning-grid{display:grid!important;grid-template-columns:72px 1fr!important;gap:8px!important}.chat-acp-tool-footer{display:flex!important;justify-content:flex-end!important;gap:7px!important;margin-top:2px!important}.chat-acp-message-action .btn,.chat-acp-message-tool .btn{min-width:0!important;white-space:nowrap!important}.chat-acp-message-action .btn{min-height:30px!important;padding:0 10px!important}
@media(max-width:900px){body.admin-page .chat-acp-message-row{grid-template-columns:42px minmax(0,1fr)!important}.chat-acp-message-actions{grid-column:2!important;justify-content:flex-start!important}}

.topic-edit-page .topic-edit-section{display:grid;gap:14px;margin-bottom:14px;padding:18px;border:1px solid #3f2c1c;border-radius:10px;background:linear-gradient(180deg,#24180f,#1f150d);box-shadow:inset 0 1px rgba(255,255,255,.012)}.topic-edit-section-title{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #382719}.topic-edit-section-title>span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #68441e;border-radius:8px;background:#35210d;color:#ff9d25;font-size:9px;font-weight:950}.topic-edit-section-title>div{display:grid;gap:2px}.topic-edit-section-title strong{color:#f6eadc;font-size:12px}.topic-edit-section-title small{color:#80664a;font-size:9px}.topic-edit-page .new-topic-meta-grid{margin-top:0}.topic-edit-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.topic-edit-attachment{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:9px!important;border:1px solid #3e2c1e!important;border-radius:8px!important;background:#1c140d!important;transition:.17s ease!important}.topic-edit-attachment:hover{border-color:#6c461f!important;background:#25180e!important;transform:translateY(-1px)!important}.topic-edit-attachment-preview{width:52px;height:52px;display:grid;place-items:center;border:1px solid #4a331f;border-radius:7px;background:#120d09;overflow:hidden}.topic-edit-attachment-preview img{width:100%;height:100%;object-fit:cover}.topic-edit-attachment>span:nth-child(2){min-width:0}.topic-edit-attachment strong,.topic-edit-attachment small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topic-edit-attachment strong{color:#e7d7c3;font-size:10px}.topic-edit-attachment small{margin-top:3px;color:#765e45;font-size:8px}.topic-edit-remove{display:flex!important;align-items:center!important;gap:5px!important;color:#a1765c!important;font-size:8px!important;cursor:pointer}.topic-edit-remove input{display:none}.topic-edit-remove i{width:15px;height:15px;border:1px solid #62402a;border-radius:4px;background:#23150f}.topic-edit-remove input:checked+i{background:#7a2724;border-color:#c64d45;box-shadow:inset 0 0 0 3px #23150f}.topic-edit-upload{display:grid!important;gap:7px!important;padding:13px!important;border:1px dashed #5a3a1d!important;border-radius:8px!important;background:#20150c!important;cursor:pointer!important;transition:.17s ease!important}.topic-edit-upload:hover{border-color:#9d6226!important;background:#2a190d!important}.topic-edit-upload>span{color:#e8ad62;font-size:10px;font-weight:850}.topic-edit-upload input{color:#a78663!important}.topic-edit-upload small{color:#796047!important;font-size:8px!important}.topic-edit-empty{padding:18px;border:1px dashed #3f2c1d;border-radius:8px;background:#1b120b;color:#745c43;text-align:center;font-size:9px}.topic-edit-side-list{margin:0;padding-left:17px;color:#997a57;font-size:10px;line-height:1.7}.topic-edit-side-note{margin:0;color:#967654;font-size:10px;line-height:1.65}.topic-edit-side-note code{color:#ffab3c}.topic-edit-actions{margin-top:8px}.topic-edit-poll{margin-top:0!important}
@media(max-width:720px){.topic-edit-attachments{grid-template-columns:1fr}.topic-edit-attachment{grid-template-columns:46px minmax(0,1fr)!important}.topic-edit-remove{grid-column:2!important}.topic-edit-page .topic-edit-section{padding:13px}}


/* ===== VForum 2.37: ACP priority editor + branding + full user manager ===== */
.brand.has-custom-logo{width:auto;min-width:var(--brand-w);height:56px;flex:0 0 auto}.brand-custom-logo{display:block;width:var(--brand-w);height:var(--brand-h);max-height:56px;object-fit:contain;filter:drop-shadow(0 7px 15px #0007);transition:transform .18s ease,filter .18s ease}.brand.has-custom-logo:hover .brand-custom-logo{transform:translateY(-1px) scale(1.025);filter:drop-shadow(0 9px 20px #0009)}.auth-logo.has-custom-logo{display:flex;justify-content:center;align-items:center}.auth-logo.has-custom-logo img{max-width:220px;max-height:80px;object-fit:contain;filter:drop-shadow(0 12px 25px #0007)}
.admin-topic-edit-full[open]{position:relative!important;z-index:99990!important;isolation:isolate!important}.admin-topic-edit-full[open]::before{z-index:99991!important;background:rgba(5,3,2,.91)!important;backdrop-filter:blur(7px) saturate(.7)!important}.admin-topic-edit-full>.admin-topic-full-editor{z-index:99999!important;background:#21170f!important;box-shadow:0 35px 110px #000,0 0 0 1px #8b5727!important;isolation:isolate!important}.admin-topic-edit-full[open]>summary{z-index:100000!important}.admin-content:has(.admin-topic-edit-full[open]){isolation:isolate}
.admin-system-config{display:grid;gap:16px}.admin-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.admin-card-heading>div>span{display:block;color:var(--orange);font-size:9px;font-weight:950;letter-spacing:.16em}.admin-card-heading h2{margin:3px 0 2px}.admin-card-heading p{margin:0;color:#8e7152;font-size:11px}.admin-card-heading>b{padding:6px 9px;border:1px solid #4b341f;border-radius:7px;background:#1d140d;color:#aa8760;font-size:10px}.admin-branding-box{padding:16px;border:1px solid #4b321d;border-radius:11px;background:linear-gradient(145deg,#23170e,#1c130c);box-shadow:inset 0 1px #ffffff05}.admin-branding-head{margin-bottom:12px}.admin-branding-head span{color:#ff9419;font-size:9px;font-weight:950;letter-spacing:.16em}.admin-branding-head h3{margin:3px 0;color:#f7ebde}.admin-branding-head p{margin:0;color:#876b4d;font-size:10px}.admin-branding-grid{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:12px}.admin-upload-tile,.admin-logo-size{min-height:190px;padding:13px;border:1px solid #43301f;border-radius:9px;background:#1a120c;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:9px!important;transition:.18s ease}.admin-upload-tile:hover,.admin-logo-size:hover{border-color:#775022;background:#21160d;transform:translateY(-1px);box-shadow:0 12px 28px #0003}.admin-upload-tile>span,.admin-logo-size>strong{color:#e9d8c5;font-size:11px}.admin-brand-preview.logo{max-width:180px;height:62px;object-fit:contain}.admin-brand-preview.favicon{width:50px;height:50px;object-fit:contain;border-radius:10px}.admin-brand-placeholder{width:76px;height:62px;display:grid;place-items:center;border:1px solid #60401e;border-radius:9px;background:#281a0e;color:#ff9820;font-size:23px;font-weight:1000;line-height:.8}.admin-brand-placeholder small{font-size:7px;letter-spacing:2px}.admin-brand-placeholder.small{width:50px;height:50px}.admin-upload-tile input[type=file]{width:100%;color:#a18160;font-size:9px}.admin-upload-tile>small,.admin-logo-size>small{color:#765c43;font-size:8.5px}.admin-upload-tile>em{font-style:normal;color:#b8866b;font-size:9px}.admin-system-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.admin-system-switches .switch{padding:9px 10px;border:1px solid #3f2c1c;border-radius:8px;background:#1d140d;transition:.16s}.admin-system-switches .switch:hover{border-color:#67431f;background:#25180e}.admin-ai-explain{display:flex;gap:12px;padding:13px;border:1px solid #4b3420;border-radius:9px;background:#1d150e}.admin-ai-explain.enabled{border-color:#634b25;background:linear-gradient(135deg,#241b10,#1c140d)}.admin-ai-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #815520;border-radius:9px;background:#34210d;color:#ff9a1c;font-weight:1000}.admin-ai-explain strong{color:#f0dfcc}.admin-ai-explain p{margin:4px 0 0;color:#9b7a57;font-size:10px;line-height:1.55}.admin-ai-explain code{color:#ffc06a}
.admin-users-browser{padding:0;overflow:hidden}.admin-users-browser-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:16px;border-bottom:1px solid #3c2a1b}.admin-users-browser-head>div>span{color:var(--orange);font-size:9px;font-weight:950;letter-spacing:.14em}.admin-users-browser-head h2{margin:3px 0}.admin-users-browser-head p{margin:0;color:#83684b;font-size:10px}.admin-users-browser-head form{display:flex;gap:7px;min-width:min(430px,100%)}.admin-users-browser-head input{flex:1;min-width:0;background:#17100a;border:1px solid #49321f;border-radius:7px;color:#eee0cf;padding:9px 10px;outline:0}.admin-users-browser-head input:focus{border-color:#8c5b24;box-shadow:0 0 0 3px #ff8f1210}.admin-user-list{max-height:540px;overflow:auto}.admin-user-list-row{display:grid;grid-template-columns:42px minmax(150px,1.5fr) 125px 92px 96px 100px 22px;align-items:center;gap:10px;padding:10px 15px;border-bottom:1px solid #342417;transition:.16s ease}.admin-user-list-row:last-child{border-bottom:0}.admin-user-list-row:hover,.admin-user-list-row.active{background:linear-gradient(90deg,#34200d,#23170e 60%);box-shadow:inset 3px 0 var(--orange)}.admin-user-list-row strong{display:block;color:#f6e9dc}.admin-user-list-row small{display:block;margin-top:2px;color:#795f45;font-size:9px}.admin-user-list-row>b{color:#ba9670;font-size:10px}.admin-user-list-row>em{font-style:normal;font-size:9px;font-weight:850}.admin-user-list-row>em.good{color:#31cf89}.admin-user-list-row>em.bad{color:#ff6c66}.admin-user-list-row>i{color:#6e5337}.admin-user-role{justify-self:start;padding:4px 7px;border:1px solid #4b351e;border-radius:99px;background:#21160e;color:#b28e66;font-size:8px;font-weight:900}.admin-user-manager{display:grid;gap:12px}.admin-user-manager-hero{display:flex;align-items:center;gap:15px;padding:18px;border:1px solid #57391f;border-radius:12px;background:radial-gradient(circle at 0 0,#4b281047,transparent 35%),linear-gradient(135deg,#2a1b10,#21160d);box-shadow:0 18px 46px #0004}.admin-user-manager-hero>div:nth-child(2){min-width:0;flex:1}.admin-user-manager-hero>div:nth-child(2)>span{color:#ff9518;font-size:8px;font-weight:950;letter-spacing:.16em}.admin-user-manager-hero h2{margin:3px 0 0;font-size:23px}.admin-user-manager-hero p{margin:2px 0 0;color:#8b6d4e}.admin-user-security-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-user-security-grid article{padding:12px;border:1px solid #44301e;border-radius:9px;background:#20160e;transition:.17s}.admin-user-security-grid article:hover{border-color:#775024;background:#291a0e;transform:translateY(-2px)}.admin-user-security-grid span{display:block;color:#7a6047;font-size:8px;text-transform:uppercase;letter-spacing:.12em}.admin-user-security-grid b{display:block;margin:4px 0;color:#f0dfcc}.admin-user-security-grid small{color:#987654;font-size:8.5px}.admin-user-full-form{display:grid;gap:14px}.admin-user-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-user-form-grid label.wide{grid-column:span 2}.admin-user-full-form label{display:grid;gap:5px;color:#ac8a66;font-size:9px}.admin-user-full-form input,.admin-user-full-form select,.admin-user-full-form textarea{width:100%;background:#17100a;border:1px solid #49321f;border-radius:7px;color:#f1e4d4;padding:9px 10px;outline:0}.admin-user-full-form input:focus,.admin-user-full-form select:focus,.admin-user-full-form textarea:focus{border-color:#8b5a24;box-shadow:0 0 0 3px #ff8f1210}.admin-user-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-user-media-grid>label{padding:12px;border:1px solid #40301f;border-radius:9px;background:#1d140d}.admin-user-media-grid>label>img{width:100%;max-height:120px;object-fit:cover;border-radius:7px}.admin-user-media-grid em{font-style:normal;color:#a47d61}.admin-user-banner-empty{height:82px;display:grid;place-items:center;border:1px dashed #4a3422;border-radius:7px;color:#6f583f}.admin-user-risk-row{align-items:start}.admin-active-ban{display:grid;gap:5px;margin-bottom:11px;padding:11px;border:1px solid #743833;border-radius:8px;background:#351614}.admin-active-ban strong{color:#ff827c}.admin-active-ban span{color:#e1b0a7}.admin-active-ban small{color:#a56e66}.admin-delete-account p{color:#9b755e;line-height:1.6}.admin-name-history{display:grid;gap:6px}.admin-name-history>div{display:grid;grid-template-columns:95px 1fr auto;align-items:center;gap:10px;padding:9px;border:1px solid #38281b;border-radius:7px;background:#1c130c}.admin-name-history span{color:#e79027;font-size:8px;text-transform:uppercase}.admin-name-history b{font-size:10px;color:#e9d8c5}.admin-name-history small{color:#765d44;font-size:8px}.admin-pm-list{display:grid;gap:8px}.admin-pm-list article{border:1px solid #3e2c1d;border-radius:8px;background:#1b130d;overflow:hidden}.admin-pm-list article>header{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px solid #352519;background:#21160e}.admin-pm-list header b{font-size:10px;color:#e5d4c0}.admin-pm-list header span{color:#745d45;font-size:8px}.admin-pm-list article>div{padding:10px}.admin-pm-list strong{color:#ff971c;font-size:9px}.admin-pm-list p{margin:4px 0 0;color:#c5ae94;white-space:pre-wrap;line-height:1.55;font-size:10px}
@media(max-width:1000px){.admin-branding-grid{grid-template-columns:1fr 1fr}.admin-logo-size{grid-column:1/-1}.admin-system-switches{grid-template-columns:1fr 1fr}.admin-user-list-row{grid-template-columns:42px 1fr 100px 86px}.admin-user-list-row>b:nth-of-type(2),.admin-user-list-row>em,.admin-user-list-row>i{display:none}.admin-user-security-grid{grid-template-columns:1fr 1fr}.admin-user-form-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.admin-users-browser-head{align-items:stretch;flex-direction:column}.admin-users-browser-head form{min-width:0;width:100%}.admin-branding-grid,.admin-system-switches,.admin-user-security-grid,.admin-user-form-grid,.admin-user-media-grid{grid-template-columns:1fr}.admin-user-form-grid label.wide{grid-column:auto}.admin-user-list-row{grid-template-columns:38px 1fr 80px}.admin-user-list-row>b{display:none}.admin-user-manager-hero{align-items:flex-start;flex-wrap:wrap}.admin-user-manager-actions{width:100%}.admin-name-history>div{grid-template-columns:1fr}.admin-private-messages .admin-card-heading{flex-direction:column}}

/* =========================================================
   V2.38 · Chatbox moderation / media hover / spoiler / edit ACL
   ========================================================= */

/* Chatbox: nazwa obrazka/GIF-u dopiero po najechaniu */
.chat-media-bubble{position:relative!important;overflow:hidden!important}
.chat-media-bubble figcaption{position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;margin:0!important;padding:7px 9px!important;border:1px solid rgba(255,154,38,.32)!important;border-radius:7px!important;background:rgba(17,11,7,.88)!important;color:#f0d4af!important;font-size:9px!important;font-weight:800!important;line-height:1.25!important;opacity:0!important;transform:translateY(7px)!important;pointer-events:none!important;backdrop-filter:blur(8px)!important;transition:opacity .18s ease,transform .18s ease!important;box-shadow:0 7px 18px rgba(0,0,0,.34)!important}
.chat-media-bubble:hover figcaption,.chat-media-bubble:focus-within figcaption{opacity:1!important;transform:none!important}

/* ACP > Społeczność > Moderacja wiadomości */
body.admin-page .chat-acp-messages-card{overflow:hidden!important}
body.admin-page .chat-acp-message-scroll{padding:13px!important;gap:8px!important}
body.admin-page .chat-acp-message-row{grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;min-height:70px!important;padding:10px 12px!important;border:1px solid #43301f!important;border-radius:9px!important;background:linear-gradient(180deg,#21170f,#1a120c)!important;box-shadow:inset 0 1px rgba(255,255,255,.012)!important}
body.admin-page .chat-acp-message-row:hover{transform:translateX(2px)!important;border-color:#72491f!important;background:linear-gradient(180deg,#291b10,#21160d)!important;box-shadow:0 7px 22px rgba(0,0,0,.14)!important}
body.admin-page .chat-acp-message-copy{display:grid!important;gap:5px!important;min-width:0!important}
body.admin-page .chat-acp-message-meta{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important}
body.admin-page .chat-acp-message-meta>a{font-size:10.5px!important;font-weight:900!important;color:#f2e5d5!important;text-decoration:none!important}
body.admin-page .chat-acp-message-meta>a:hover{color:#ff9e29!important}
body.admin-page .chat-acp-message-meta time{margin-left:2px!important;color:#786047!important;font-size:8px!important}
body.admin-page .chat-acp-message-copy>p{margin:0!important;color:#c1ad94!important;font-size:10px!important;line-height:1.45!important;white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
.chat-acp-message-media-preview{display:flex!important;align-items:center!important;gap:9px!important;width:max-content!important;max-width:100%!important;padding:5px 8px 5px 5px!important;border:1px solid #3d3226!important;border-radius:7px!important;background:#17110c!important}
.chat-acp-message-media-preview img{width:44px!important;height:36px!important;display:block!important;object-fit:cover!important;border-radius:5px!important;background:#0e0a07!important}
.chat-acp-message-media-preview div{min-width:0!important}.chat-acp-message-media-preview b,.chat-acp-message-media-preview small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.chat-acp-message-media-preview b{font-size:9px!important;color:#d9c4aa!important}.chat-acp-message-media-preview small{margin-top:2px!important;max-width:250px!important;color:#7f684f!important;font-size:8px!important}
.chat-acp-message-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:nowrap!important;min-width:max-content!important}
.chat-acp-message-actions>form{margin:0!important;padding:0!important}
.chat-acp-action-btn{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:32px!important;padding:0 10px!important;border:1px solid #52381f!important;border-radius:6px!important;background:#281a0f!important;color:#c7a076!important;font:inherit!important;font-size:9px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important;transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease!important}
.chat-acp-action-btn span{font-size:10px!important}.chat-acp-action-btn:hover{transform:translateY(-1px)!important;border-color:#8b5725!important;background:#3a240f!important;color:#ffb357!important;box-shadow:0 6px 16px rgba(0,0,0,.18)!important}
.chat-acp-action-btn.warn{border-color:#65521f!important;color:#d8ba61!important}.chat-acp-action-btn.warn:hover{border-color:#a17a21!important;background:#352b10!important;color:#ffe084!important}
.chat-acp-action-btn.delete{border-color:#6b302d!important;background:#2d1714!important;color:#ee918a!important}.chat-acp-action-btn.delete:hover{border-color:#b94e45!important;background:#451c18!important;color:#ffb0aa!important}

/* Dialogi ACP są w top-layer, więc nic przez nie nie przenika */
.chat-acp-dialog{width:min(520px,calc(100vw - 28px))!important;max-width:none!important;margin:auto!important;padding:0!important;border:1px solid #74491f!important;border-radius:12px!important;background:transparent!important;color:#eadbc9!important;box-shadow:0 34px 110px rgba(0,0,0,.82)!important;overflow:visible!important}
.chat-acp-dialog::backdrop{background:rgba(5,3,2,.88)!important;backdrop-filter:blur(7px) saturate(.72)!important}
.chat-acp-dialog-card{display:grid!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:linear-gradient(180deg,#2b1d12,#1e150e)!important;overflow:hidden!important}
.chat-acp-dialog-head{display:grid!important;grid-template-columns:38px minmax(0,1fr) 32px!important;align-items:start!important;gap:11px!important;padding:15px!important;border-bottom:1px solid #49311e!important;background:linear-gradient(180deg,#34210e,#291b10)!important}
.chat-acp-dialog-head.warn{background:linear-gradient(180deg,#31270f,#271d0e)!important}.chat-acp-dialog-icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border:1px solid #744a20!important;border-radius:8px!important;background:#3d260e!important;color:#ff9c27!important;font-size:16px!important}.chat-acp-dialog-head.warn .chat-acp-dialog-icon{border-color:#75611f!important;background:#332910!important;color:#ffcf56!important}
.chat-acp-dialog-head small{display:block!important;color:#e78e31!important;font-size:8px!important;font-weight:950!important;letter-spacing:.14em!important}.chat-acp-dialog-head h3{margin:3px 0 2px!important;color:#f7ecdd!important;font-size:15px!important}.chat-acp-dialog-head p{margin:0!important;color:#8f7150!important;font-size:9px!important}.chat-acp-dialog-head p b{color:#d6b384!important}.chat-acp-dialog-head>button{width:32px!important;height:32px!important;border:1px solid #5b3a1e!important;border-radius:7px!important;background:#24170d!important;color:#9b7650!important;font-size:17px!important;cursor:pointer!important;transition:.15s ease!important}.chat-acp-dialog-head>button:hover{border-color:#8b5424!important;background:#35200d!important;color:#ffaf49!important;transform:rotate(5deg)!important}
.chat-acp-dialog-body{display:grid!important;gap:11px!important;padding:15px!important}.chat-acp-dialog-body label{display:grid!important;gap:6px!important;margin:0!important;color:#a8845c!important;font-size:9px!important;font-weight:850!important}.chat-acp-dialog-body textarea,.chat-acp-dialog-body input{width:100%!important;box-sizing:border-box!important;border:1px solid #4f351f!important;border-radius:7px!important;background:#15100b!important;color:#f0e3d2!important;padding:10px 11px!important;outline:0!important;font:inherit!important}.chat-acp-dialog-body textarea{min-height:138px!important;resize:vertical!important;line-height:1.55!important}.chat-acp-dialog-body textarea:focus,.chat-acp-dialog-body input:focus{border-color:#a46627!important;box-shadow:0 0 0 3px rgba(255,143,20,.07)!important;background:#181109!important}.chat-acp-dialog-note{margin:0!important;padding:9px 10px!important;border:1px solid #3f3423!important;border-radius:7px!important;background:#1c170f!important;color:#9b7e59!important;font-size:9px!important}.chat-acp-dialog-note code{color:#ffac42!important}.chat-acp-dialog-foot{display:flex!important;justify-content:flex-end!important;gap:7px!important;padding:12px 15px!important;border-top:1px solid #45301e!important;background:#1b130d!important}.chat-acp-warning-grid{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:9px!important}

/* Spoiler - wygląd zbliżony do bloku CODE */
.post-spoiler-block{display:block!important;width:100%!important;box-sizing:border-box!important;margin:14px 0!important;border:1px solid #5e3c1d!important;border-radius:8px!important;background:#17110c!important;overflow:hidden!important;box-shadow:0 10px 26px rgba(0,0,0,.18)!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important}
.post-spoiler-block:hover{border-color:#8c5725!important;box-shadow:0 12px 30px rgba(0,0,0,.24),0 0 0 1px rgba(255,148,29,.04)!important}
.post-spoiler-block>.post-spoiler-summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:44px!important;padding:0 12px!important;border:0!important;background:linear-gradient(180deg,#2b1b0e,#21160d)!important;color:#eee0ce!important;cursor:pointer!important;user-select:none!important}
.post-spoiler-block>.post-spoiler-summary::-webkit-details-marker{display:none!important}.post-spoiler-title{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}.post-spoiler-title>b{width:25px!important;height:25px!important;display:grid!important;place-items:center!important;flex:0 0 25px!important;border:1px solid #70471e!important;border-radius:6px!important;background:#36210d!important;color:#ff9c27!important;font-size:12px!important;transition:transform .2s ease,background .2s ease!important}.post-spoiler-title>span{font-size:10px!important;font-weight:900!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.post-spoiler-hint{color:#7f6548!important;font-size:8px!important;font-weight:750!important;white-space:nowrap!important}.post-spoiler-block[open]>.post-spoiler-summary{border-bottom:1px solid #50341e!important;background:linear-gradient(180deg,#33200d,#28190d)!important}.post-spoiler-block[open] .post-spoiler-title>b{transform:rotate(90deg)!important;background:#4a2b0d!important}.post-spoiler-block:not([open])>.post-spoiler-content{display:none!important}.post-spoiler-content{display:block!important;padding:14px 15px!important;background:linear-gradient(180deg,#15100b,#120d09)!important;color:#e7d9c8!important;font-size:10.5px!important;line-height:1.7!important;animation:spoilerRevealV238 .18s ease both!important}@keyframes spoilerRevealV238{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* Edycja właściciela: prostszy edytor bez strefy uploadu */
.topic-edit-basic-editor .editor-drop-overlay{display:none!important}.topic-edit-basic-editor .editor-textarea-wrap{min-height:360px!important}.topic-edit-basic-editor textarea{min-height:360px!important}

@media(max-width:920px){body.admin-page .chat-acp-message-row{grid-template-columns:42px minmax(0,1fr)!important}.chat-acp-message-actions{grid-column:2!important;justify-content:flex-start!important;min-width:0!important;flex-wrap:wrap!important}.chat-acp-warning-grid{grid-template-columns:1fr!important}}
@media(max-width:560px){.chat-acp-action-btn{flex:1 1 auto!important}.post-spoiler-hint{display:none!important}.chat-acp-dialog{width:calc(100vw - 18px)!important}}

/* =========================================================
   V2.39 · ACP ACL / Backup / Dashboard / content modal fix
   ========================================================= */

/* Treści: pełny edytor nie może być przycinany przez .admin-card overflow:hidden */
body.admin-page .admin-content-topic-panel{overflow:visible!important;isolation:auto!important}
body.admin-page .admin-content-topic-panel:has(.admin-topic-edit-full[open]),
body.admin-page .admin-topic-list:has(.admin-topic-edit-full[open]),
body.admin-page .admin-topic-card:has(.admin-topic-edit-full[open]){overflow:visible!important;transform:none!important;filter:none!important;perspective:none!important;contain:none!important}
body.admin-page .admin-topic-card:has(.admin-topic-edit-full[open]){z-index:99980!important}
body.admin-page .admin-topic-edit-full[open]{position:static!important;z-index:99990!important;isolation:auto!important}
body.admin-page .admin-topic-edit-full[open]::before{position:fixed!important;inset:0!important;z-index:999991!important;background:rgba(5,3,2,.93)!important;backdrop-filter:blur(8px) saturate(.72)!important}
body.admin-page .admin-topic-edit-full>.admin-topic-full-editor{position:fixed!important;z-index:999999!important;left:50%!important;top:78px!important;right:auto!important;transform:translateX(-50%)!important;width:min(980px,calc(100vw - 44px))!important;max-height:calc(100vh - 108px)!important;overflow:auto!important}
body.admin-page .admin-topic-edit-full[open]>summary{position:relative!important;z-index:1000000!important}

/* Dashboard */
body.admin-page .admin-dashboard-users,
body.admin-page .admin-dashboard-topics{overflow:visible!important}
.admin-recent-users-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.admin-recent-user{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto 18px;gap:9px;align-items:center;padding:11px;border:1px solid #3e2c1d;border-radius:9px;background:linear-gradient(180deg,#21170f,#1c140d);transition:.18s ease}
.admin-recent-user:hover{transform:translateY(-2px);border-color:#72491f;background:linear-gradient(180deg,#2a1b10,#21160d);box-shadow:0 10px 26px rgba(0,0,0,.22)}
.admin-recent-user strong,.admin-recent-user small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-recent-user strong{color:#f1e5d7;font-size:11px}.admin-recent-user>div>small{color:#8c6d4c;font-size:8px;margin-top:2px}.admin-recent-user>span{text-align:right;color:#a9855c;font-size:9px}.admin-recent-user>span small{color:#65523d;font-size:8px}.admin-recent-user>i{font-style:normal;color:#805b32;transition:.18s}.admin-recent-user:hover>i{color:#ff9a20;transform:translateX(2px)}
.admin-recent-topics{display:grid;gap:7px}.admin-recent-topic{display:grid;grid-template-columns:38px minmax(0,1fr) auto 30px;gap:10px;align-items:center;padding:10px 11px;border:1px solid #39291c;border-radius:8px;background:#1d150e;transition:.17s}.admin-recent-topic:hover{border-color:#60401f;background:#24180f}.admin-recent-topic-title{display:block;color:#f3e7d9;font-size:11px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-recent-topic-title:hover{color:#ff9b22}.admin-recent-topic>div>small{display:block;margin-top:3px;color:#765d43;font-size:8.5px}.admin-recent-topic>div>small span{color:#a37a4c}.admin-recent-topic>div>small a{color:#c18b4e}.admin-recent-topic>div>small a:hover{color:#ff9b22}.admin-recent-topic time{color:#735c43;font-size:8.5px;white-space:nowrap}.admin-recent-topic-go{width:28px;height:28px;display:grid;place-items:center;border:1px solid #46311f;border-radius:7px;background:#25180f;color:#98734b}.admin-recent-topic-go:hover{border-color:#8b5723;background:#3a220d;color:#ff9d28}

/* ACL */
.admin-acl-intro{overflow:visible!important}.admin-acl-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-acl-legend>span{padding:6px 9px;border-radius:999px;border:1px solid #443020;background:#1e160f;font-size:9px;font-weight:900}.admin-acl-legend .allow{color:#42d69a;border-color:#28563f;background:#14271e}.admin-acl-legend .deny{color:#ee8d83;border-color:#69342f;background:#2c1815}.admin-acl-legend .inherit{color:#c39c6f}.admin-acl-legend small{margin-left:auto;color:#796148;font-size:9px}
.admin-acl-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:12px;align-items:start}.admin-acl-roles{position:sticky;top:80px;overflow:hidden!important}.admin-acl-role-list{display:grid;gap:6px}.admin-acl-role-list>a{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;gap:9px;align-items:center;padding:9px;border:1px solid #3c2b1d;border-radius:8px;background:#1e150e;transition:.17s}.admin-acl-role-list>a:hover{border-color:#68431f;background:#281a0f;transform:translateX(2px)}.admin-acl-role-list>a.active{border-color:#9a5e1c;background:linear-gradient(90deg,#3a240d,#25180f);box-shadow:inset 3px 0 #ff8d13}.admin-acl-role-list>a>span{width:32px;height:32px;display:grid;place-items:center;border:1px solid #4d3520;border-radius:7px;background:#2b1d10;color:#ff941c;font-weight:1000}.admin-acl-role-list strong,.admin-acl-role-list small{display:block}.admin-acl-role-list strong{font-size:10px;color:#eee1d1}.admin-acl-role-list small{font-size:8px;color:#765f46;margin-top:2px}.admin-acl-role-list i{font-style:normal;color:#6f5033}.admin-acl-role-list>a.active i{color:#ff981c}
.admin-acl-role-editor{overflow:visible!important}.admin-acl-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-acl-permission{position:relative;display:grid;grid-template-columns:38px 36px minmax(0,1fr);gap:10px;align-items:start;min-height:105px;padding:11px;border:1px solid #3d2c1e;border-radius:9px;background:linear-gradient(180deg,#20170f,#1c140d);cursor:pointer;transition:.17s}.admin-acl-permission:hover{transform:translateY(-1px);border-color:#64431f;background:#27190f}.admin-acl-permission:has(input:checked){border-color:#356148;background:linear-gradient(180deg,#1b2a20,#172119);box-shadow:inset 3px 0 #19bf78}.admin-acl-permission>input{position:absolute;opacity:0;pointer-events:none}.admin-acl-toggle{width:36px;height:20px;border-radius:99px;background:#49392b;border:1px solid #5b4635;padding:2px;transition:.17s;margin-top:6px}.admin-acl-toggle i{display:block;width:14px;height:14px;border-radius:50%;background:#b9aa98;transition:.17s}.admin-acl-permission:has(input:checked) .admin-acl-toggle{background:#125b39;border-color:#1c7b4d}.admin-acl-permission:has(input:checked) .admin-acl-toggle i{transform:translateX(16px);background:#36e497}.admin-acl-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #49331f;border-radius:8px;background:#291b0f;color:#d88b31;font-size:14px}.admin-acl-permission:has(input:checked) .admin-acl-icon{border-color:#28563f;background:#173122;color:#3bd28f}.admin-acl-copy{display:block;min-width:0}.admin-acl-copy>small{display:block;color:#b16f25;font-size:7px;font-weight:950;letter-spacing:.13em}.admin-acl-copy>strong{display:block;margin-top:2px;color:#f0e4d5;font-size:11px}.admin-acl-copy>em{display:block;margin-top:4px;color:#876b4e;font-size:8.5px;font-style:normal;line-height:1.42}.admin-acl-copy>code{display:inline-block;margin-top:6px;padding:3px 5px;border-radius:4px;background:#17100b;color:#66523e;font-size:7.5px}.admin-acl-savebar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:13px;border-top:1px solid #3a291c;color:#7f674d;font-size:9px}.admin-acl-savebar b{color:#c9955d}
.admin-forum-acl{margin-top:12px;overflow:visible!important}.admin-acl-forum-picker select{min-width:330px;background:#1c140d!important;border:1px solid #4a321e!important;color:#e5d6c5!important;border-radius:8px;padding:9px 12px}.admin-acl-forum-summary{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:8px;margin-bottom:13px}.admin-acl-forum-summary>div{padding:10px;border:1px solid #3d2c1d;border-radius:8px;background:#1d150e}.admin-acl-forum-summary span,.admin-acl-forum-summary b{display:block}.admin-acl-forum-summary span{color:#755e46;font-size:8px;text-transform:uppercase;letter-spacing:.1em}.admin-acl-forum-summary b{margin-top:4px;color:#e6d7c4;font-size:10px}.admin-forum-acl-grid{display:grid;gap:6px}.admin-forum-acl-row{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:12px;align-items:center;padding:9px 10px;border:1px solid #39291c;border-radius:8px;background:#1c140d;transition:.16s}.admin-forum-acl-row:hover{border-color:#583a1e;background:#21160e}.admin-forum-acl-name{display:flex;align-items:center;gap:9px}.admin-forum-acl-name>span{width:30px;height:30px;display:grid;place-items:center;border:1px solid #46311f;border-radius:7px;background:#281a0f;color:#c58234}.admin-forum-acl-name strong,.admin-forum-acl-name small{display:block}.admin-forum-acl-name strong{font-size:10px}.admin-forum-acl-name small{margin-top:2px;color:#6d5843;font-size:7.5px}.admin-forum-acl-options{display:flex;gap:5px}.admin-forum-acl-options label{cursor:pointer}.admin-forum-acl-options input{position:absolute;opacity:0;pointer-events:none}.admin-forum-acl-options span{display:block;padding:7px 9px;border:1px solid #44301f;border-radius:7px;background:#21170f;color:#8d7254;font-size:8px;font-weight:900;transition:.15s}.admin-forum-acl-options label:hover span{border-color:#67441f;color:#d6ad79}.admin-forum-acl-options input[value=inherit]:checked+span{border-color:#71502c;background:#302216;color:#e2b57f}.admin-forum-acl-options input[value=allow]:checked+span{border-color:#286547;background:#163422;color:#49df9f}.admin-forum-acl-options input[value=deny]:checked+span{border-color:#773831;background:#351916;color:#ff9187}

/* Backup */
.admin-backup-create,.admin-backup-history{overflow:visible!important}.admin-backup-create-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.admin-backup-security{display:flex;align-items:center;gap:11px;min-width:0}.admin-backup-security>span{width:42px;height:42px;display:grid;place-items:center;border:1px solid #4d361f;border-radius:9px;background:#291b0f;color:#ff951d;font-size:18px}.admin-backup-security strong,.admin-backup-security small{display:block}.admin-backup-security strong{font-size:10.5px;color:#e8dac9}.admin-backup-security small{margin-top:3px;color:#7e654b;font-size:8.5px}.admin-backup-clean-note{margin-top:11px;padding:8px 10px;border:1px solid #28533d;border-radius:7px;background:#15271d;color:#56d49a;font-size:9px}.admin-backup-head-actions{display:flex;align-items:center;gap:8px}.admin-backup-head-actions>b{padding:7px 9px;border:1px solid #44301f;border-radius:7px;background:#1d140d;color:#9f7d58;font-size:9px}.admin-backup-list{display:grid;gap:7px}.admin-backup-row{display:grid;grid-template-columns:30px 42px minmax(0,1fr) 100px 110px auto;gap:10px;align-items:center;padding:10px;border:1px solid #3d2c1e;border-radius:8px;background:#1d150e;transition:.17s}.admin-backup-row:hover{border-color:#65421f;background:#24180f}.admin-backup-row.missing{opacity:.65;border-color:#58302c}.admin-backup-check{position:relative;width:22px;height:22px;display:grid;place-items:center;cursor:pointer}.admin-backup-check input{position:absolute;opacity:0}.admin-backup-check span{width:18px;height:18px;border:1px solid #5a432e;border-radius:5px;background:#16100b}.admin-backup-check input:checked+span{border-color:#d57917;background:#ff8c0b;box-shadow:inset 0 0 0 4px #24170b}.admin-backup-file-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #6a421c;border-radius:8px;background:#31200f;color:#ff991f;font-size:8px;font-weight:1000;letter-spacing:.08em}.admin-backup-main strong,.admin-backup-main small{display:block}.admin-backup-main strong{font-size:10.5px;color:#eee0d0;word-break:break-all}.admin-backup-main small{margin-top:3px;color:#755f47;font-size:8px}.admin-backup-size span,.admin-backup-size b{display:block}.admin-backup-size span{color:#6e5943;font-size:7.5px;text-transform:uppercase}.admin-backup-size b{margin-top:3px;color:#c5a67f;font-size:9px}.admin-backup-state{font-size:8px;font-weight:900}.admin-backup-state.ok{color:#47d89b}.admin-backup-state.bad{color:#ec8179}.admin-backup-state span{margin-right:5px}.admin-backup-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}

@media(max-width:1100px){.admin-recent-users-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-acl-layout{grid-template-columns:220px minmax(0,1fr)}.admin-acl-permission-grid{grid-template-columns:1fr}.admin-backup-row{grid-template-columns:28px 40px minmax(0,1fr) auto}.admin-backup-size,.admin-backup-state{display:none}}
@media(max-width:780px){body.admin-page .admin-topic-edit-full>.admin-topic-full-editor{top:58px!important;width:calc(100vw - 18px)!important;max-height:calc(100vh - 72px)!important}.admin-recent-users-grid{grid-template-columns:1fr}.admin-recent-topic{grid-template-columns:36px minmax(0,1fr) 28px}.admin-recent-topic time{display:none}.admin-acl-layout{grid-template-columns:1fr}.admin-acl-roles{position:static}.admin-acl-role-list{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-acl-forum-picker,.admin-acl-forum-picker select{width:100%;min-width:0}.admin-forum-acl-row{grid-template-columns:1fr}.admin-forum-acl-options{display:grid;grid-template-columns:repeat(3,1fr)}.admin-forum-acl-options span{text-align:center}.admin-acl-forum-summary{grid-template-columns:1fr}.admin-acl-savebar,.admin-backup-create-row{align-items:stretch;flex-direction:column}.admin-backup-row{grid-template-columns:26px 38px minmax(0,1fr)}.admin-backup-actions{grid-column:2/-1;justify-content:flex-start}.admin-backup-head-actions{align-items:flex-end;flex-direction:column}}
.admin-acl-admin-note{margin:-4px 0 13px;padding:9px 11px;border:1px solid #6b4c22;border-radius:8px;background:#2d210f;color:#d6a968;font-size:8.5px;line-height:1.5}


/* =========================================================
   V2.40 · Cache-bust / ACP Chat polish / topic edit repair / contact card
   ========================================================= */

/* --- Topic edit: repair layout and toolbar selectors --- */
body.topic-edit-page .new-topic-layout{grid-template-columns:minmax(0,1fr) 270px!important;gap:24px!important;max-width:1120px!important;margin-inline:auto!important}
body.topic-edit-page .new-topic-main{min-width:0!important}
body.topic-edit-page .topic-edit-section{overflow:visible!important}
body.topic-edit-page .new-topic-field{display:grid!important;gap:7px!important;min-width:0!important}
body.topic-edit-page .new-topic-input-shell,body.topic-edit-page .new-topic-input-shell input{width:100%!important;box-sizing:border-box!important}
body.topic-edit-page .forum-picker-v231{width:100%!important;position:relative!important}
body.topic-edit-page .forum-picker-trigger{width:100%!important;box-sizing:border-box!important;min-height:60px!important}
body.topic-edit-page .forum-picker-v231>select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
body.topic-edit-page .new-topic-meta-grid{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:10px!important;align-items:end!important}
body.topic-edit-page .new-topic-meta-grid label{display:grid!important;gap:6px!important;min-width:0!important}
body.topic-edit-page .new-topic-meta-grid select,body.topic-edit-page .new-topic-meta-grid input{width:100%!important;box-sizing:border-box!important;min-height:42px!important;border:1px solid #49321f!important;border-radius:7px!important;background:#18110b!important;color:#eadbc8!important;padding:0 11px!important}
body.topic-edit-page .editor-shell-v231{display:block!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important;border:1px solid #4a321f!important;border-radius:10px!important;background:#15100b!important;box-shadow:0 12px 28px rgba(0,0,0,.16)!important}
body.topic-edit-page .editor-toolbar-v231{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;width:100%!important;box-sizing:border-box!important;min-height:48px!important;padding:7px 9px!important;background:linear-gradient(180deg,#2c2015,#21170f)!important}
body.topic-edit-page .editor-toolbar-v231 .editor-toolbar-tools{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important;min-width:0!important}
body.topic-edit-page .editor-toolbar-v231 .editor-toolbar-tools button{display:grid!important;place-items:center!important;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border:1px solid transparent!important;border-radius:6px!important;background:transparent!important;color:#9b8162!important;font-size:10px!important;cursor:pointer!important;transition:.16s ease!important}
body.topic-edit-page .editor-toolbar-v231 .editor-toolbar-tools button:hover{transform:translateY(-1px)!important;border-color:#6d4722!important;background:#38220e!important;color:#ffab3d!important;box-shadow:0 6px 14px rgba(0,0,0,.2)!important}
body.topic-edit-page .editor-toolbar-mode{display:flex!important;flex-direction:row!important;align-items:center!important;margin-left:auto!important;gap:6px!important}
body.topic-edit-page .editor-textarea-wrap{position:relative!important;display:block!important;width:100%!important;min-height:390px!important}
body.topic-edit-page .editor-textarea-wrap textarea{display:block!important;width:100%!important;min-width:100%!important;max-width:100%!important;min-height:390px!important;box-sizing:border-box!important;margin:0!important;border:0!important;border-radius:0!important;background:#15100b!important;color:#f0e3d3!important;padding:18px!important;resize:vertical!important;line-height:1.65!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:11px!important;outline:0!important}
body.topic-edit-page .editor-textarea-wrap textarea:focus{background:#18110c!important;box-shadow:inset 0 0 0 1px #71451f!important}
body.topic-edit-page .topic-edit-attachments{width:100%!important}
body.topic-edit-page .topic-edit-upload input[type=file]{width:100%!important;max-width:100%!important}
body.topic-edit-page .new-topic-sidebar{min-width:0!important}
body.topic-edit-page .new-topic-sidebar .new-topic-side-card{position:relative!important;overflow:hidden!important}
@media(max-width:900px){body.topic-edit-page .new-topic-layout{grid-template-columns:1fr!important}body.topic-edit-page .new-topic-sidebar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.topic-edit-page .new-topic-meta-grid{grid-template-columns:1fr!important}}
@media(max-width:620px){body.topic-edit-page .new-topic-sidebar{grid-template-columns:1fr!important}body.topic-edit-page .editor-toolbar-v231{align-items:flex-start!important;flex-direction:column!important}.topic-edit-page .editor-toolbar-mode{margin-left:0!important}}

/* --- ACP Chatbox: hard reset + premium layout (also beats UA dialog/button styles) --- */
body.admin-page .chat-acp-card,body.admin-page .chat-acp-messages-card{box-sizing:border-box!important;border:1px solid #46311f!important;border-radius:12px!important;background:linear-gradient(180deg,#261a10,#1d150e)!important;box-shadow:0 14px 34px rgba(0,0,0,.16)!important;color:#e9dac8!important}
body.admin-page .chat-acp-card-head{display:flex!important;align-items:center!important;gap:12px!important;padding:15px 16px!important;border-bottom:1px solid #3f2b1c!important;background:linear-gradient(180deg,rgba(255,145,25,.035),transparent)!important}
body.admin-page .chat-acp-title-icon{width:38px!important;height:38px!important;flex:0 0 38px!important;display:grid!important;place-items:center!important;border:1px solid #68431f!important;border-radius:9px!important;background:#34210d!important;color:#ff9a24!important}
body.admin-page .chat-acp-title-copy{min-width:0!important;flex:1!important}.chat-acp-title-copy small{display:block!important;color:#d77e23!important;font-size:8px!important;font-weight:950!important;letter-spacing:.14em!important}.chat-acp-title-copy h2{margin:2px 0!important;color:#f3e7d8!important;font-size:15px!important}.chat-acp-title-copy p{margin:0!important;color:#8c7051!important;font-size:9px!important;line-height:1.5!important}
body.admin-page .chat-acp-count{margin-left:auto!important;display:grid!important;place-items:center!important;min-width:31px!important;height:31px!important;border:1px solid #68431f!important;border-radius:999px!important;background:#2c1c0d!important;color:#e89a3c!important;font-size:9px!important;font-weight:950!important}
body.admin-page .chat-acp-message-scroll{display:grid!important;gap:8px!important;max-height:530px!important;overflow:auto!important;padding:12px!important;scrollbar-width:thin!important;scrollbar-color:#704515 #17100a!important}
body.admin-page .chat-acp-message-row{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;padding:10px 11px!important;min-height:66px!important;border:1px solid #3d2a1b!important;border-radius:9px!important;background:linear-gradient(180deg,#21170f,#1a120c)!important;transition:.16s ease!important}
body.admin-page .chat-acp-message-row:hover{transform:translateX(2px)!important;border-color:#744a20!important;background:linear-gradient(180deg,#291b10,#20150d)!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important}
body.admin-page .chat-acp-message-avatar{display:grid!important;place-items:center!important;text-decoration:none!important}.chat-acp-message-avatar .avatar{transition:.18s ease!important}.chat-acp-message-avatar:hover .avatar{transform:scale(1.07)!important;box-shadow:0 0 0 2px #7d4c20,0 7px 18px #0007!important}
body.admin-page .chat-acp-message-copy{display:grid!important;gap:5px!important;min-width:0!important}.chat-acp-message-meta{display:flex!important;align-items:center!important;gap:6px!important}.chat-acp-message-meta>a{color:#f2e4d4!important;font-size:10.5px!important;font-weight:900!important;text-decoration:none!important}.chat-acp-message-meta>a:hover{color:#ffa12e!important}.chat-acp-message-meta time{color:#715a42!important;font-size:8px!important}.chat-acp-message-copy>p{margin:0!important;color:#bda88e!important;font-size:10px!important;line-height:1.45!important}
body.admin-page .chat-acp-message-actions{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;white-space:nowrap!important}.chat-acp-message-actions form{margin:0!important}.chat-acp-action-btn{all:unset!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:32px!important;padding:0 10px!important;border:1px solid #533820!important;border-radius:7px!important;background:#281a0f!important;color:#caa77f!important;font-family:inherit!important;font-size:9px!important;font-weight:900!important;cursor:pointer!important;transition:.16s ease!important}.chat-acp-action-btn:hover{transform:translateY(-1px)!important;border-color:#8b5725!important;background:#3a240f!important;color:#ffb356!important;box-shadow:0 7px 16px rgba(0,0,0,.2)!important}.chat-acp-action-btn.warn{border-color:#68551f!important;color:#d9bd69!important}.chat-acp-action-btn.delete{border-color:#6c302c!important;background:#2d1714!important;color:#ef9189!important}.chat-acp-action-btn.delete:hover{border-color:#bb4f46!important;background:#461d18!important;color:#ffc0bb!important}
body.admin-page .chat-acp-message-media-preview{display:flex!important;align-items:center!important;gap:8px!important;width:max-content!important;max-width:100%!important;padding:4px 8px 4px 4px!important;border:1px solid #3d2f22!important;border-radius:7px!important;background:#15100b!important}.chat-acp-message-media-preview img{width:48px!important;height:38px!important;object-fit:cover!important;border-radius:5px!important}.chat-acp-message-media-preview b{display:block!important;color:#d9c4aa!important;font-size:9px!important}.chat-acp-message-media-preview small{display:block!important;color:#765f47!important;font-size:8px!important;margin-top:2px!important}

/* Native dialog reset — eliminuje białe okna przeglądarki */
dialog.chat-acp-dialog{all:unset!important;box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;width:min(540px,calc(100vw - 28px))!important;height:max-content!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;z-index:2147483646!important;border:1px solid #7b4c20!important;border-radius:13px!important;background:#21170f!important;color:#e9dac8!important;box-shadow:0 40px 120px rgba(0,0,0,.88),0 0 0 1px rgba(255,151,31,.05)!important}
dialog.chat-acp-dialog:not([open]){display:none!important}dialog.chat-acp-dialog[open]{display:block!important}dialog.chat-acp-dialog::backdrop{background:rgba(4,2,1,.91)!important;backdrop-filter:blur(8px) saturate(.7)!important}
dialog.chat-acp-dialog .chat-acp-dialog-card{display:block!important;margin:0!important;padding:0!important;background:linear-gradient(180deg,#2a1c11,#1c140d)!important;color:#eadbc9!important;border:0!important;border-radius:13px!important;overflow:hidden!important}
dialog.chat-acp-dialog .chat-acp-dialog-head{display:grid!important;grid-template-columns:40px minmax(0,1fr) 32px!important;gap:11px!important;align-items:start!important;padding:15px 16px!important;border-bottom:1px solid #49301d!important;background:linear-gradient(180deg,#34210e,#281a0f)!important}.chat-acp-dialog-icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border:1px solid #76491e!important;border-radius:8px!important;background:#3a240d!important;color:#ff9d27!important}.chat-acp-dialog-head small{display:block!important;color:#dc8429!important;font-size:8px!important;font-weight:950!important;letter-spacing:.14em!important}.chat-acp-dialog-head h3{margin:3px 0!important;color:#f7ecdd!important;font-size:16px!important}.chat-acp-dialog-head p{margin:0!important;color:#947653!important;font-size:9px!important}.chat-acp-dialog-head>button{all:unset!important;box-sizing:border-box!important;width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border:1px solid #56371e!important;border-radius:7px!important;background:#24170d!important;color:#a57d52!important;cursor:pointer!important}.chat-acp-dialog-head>button:hover{border-color:#8e5824!important;color:#ffb04b!important;background:#35200d!important;transform:rotate(6deg)!important}
dialog.chat-acp-dialog .chat-acp-dialog-body{display:grid!important;gap:11px!important;padding:16px!important}.chat-acp-dialog-body label{display:grid!important;gap:6px!important;color:#b18d65!important;font-size:9px!important;font-weight:850!important}.chat-acp-dialog-body textarea,.chat-acp-dialog-body input{all:unset!important;box-sizing:border-box!important;display:block!important;width:100%!important;border:1px solid #4f351f!important;border-radius:7px!important;background:#15100b!important;color:#f1e4d4!important;padding:10px 11px!important;font-family:inherit!important;font-size:10px!important;line-height:1.5!important}.chat-acp-dialog-body textarea{min-height:140px!important;resize:vertical!important}.chat-acp-dialog-body textarea:focus,.chat-acp-dialog-body input:focus{border-color:#9d6228!important;box-shadow:0 0 0 3px rgba(255,143,20,.08)!important}.chat-acp-dialog-note{margin:0!important;padding:9px 10px!important;border:1px solid #403221!important;border-radius:7px!important;background:#1a150f!important;color:#9c805c!important;font-size:9px!important}.chat-acp-dialog-foot{display:flex!important;justify-content:flex-end!important;gap:8px!important;padding:12px 16px!important;border-top:1px solid #44301e!important;background:#1a120c!important}

/* --- Chat media: zero visible filename until hover --- */
.chat-media-bubble{position:relative!important;display:inline-block!important;margin:7px 0 0!important;max-width:min(360px,76vw)!important;border:1px solid #4c3421!important;border-radius:10px!important;background:#100b07!important;overflow:hidden!important;vertical-align:top!important}
.chat-media-bubble img{display:block!important;width:auto!important;max-width:100%!important;max-height:260px!important;object-fit:contain!important;background:#100b07!important}
.chat-media-bubble figcaption{display:none!important}
.chat-media-bubble::after{content:attr(data-media-label);position:absolute;left:8px;right:8px;bottom:8px;padding:7px 9px;border:1px solid rgba(255,154,38,.34);border-radius:7px;background:rgba(17,11,7,.9);color:#f0d4af;font-size:9px;font-weight:850;line-height:1.2;opacity:0;transform:translateY(7px);pointer-events:none;backdrop-filter:blur(8px);transition:.18s ease;box-shadow:0 7px 18px rgba(0,0,0,.34);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-media-bubble:hover::after{opacity:1;transform:none}

/* --- Home contact card --- */
.home-page .home-contact-card{position:relative;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 28px!important;align-items:center!important;gap:13px!important;min-height:70px!important;margin-bottom:14px!important;padding:12px 14px!important;border:1px solid #31515d!important;border-left:3px solid #25bfe8!important;border-radius:10px!important;background:radial-gradient(circle at 5% 50%,rgba(43,192,231,.10),transparent 34%),linear-gradient(180deg,#241c14,#1c150f)!important;box-shadow:0 10px 28px rgba(0,0,0,.13)!important;overflow:hidden!important;transition:.2s ease!important}
.home-page .home-contact-card::before{content:"";position:absolute;inset:-60% auto -60% -25%;width:18%;background:linear-gradient(90deg,transparent,rgba(91,214,247,.07),transparent);transform:skewX(-18deg);transition:left .65s ease}.home-page .home-contact-card:hover::before{left:115%}.home-page .home-contact-card:hover{transform:translateY(-2px)!important;border-color:#3b7180!important;box-shadow:0 15px 34px rgba(0,0,0,.22),0 0 25px rgba(51,189,225,.04)!important}
.home-contact-icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border:1px solid #245e70!important;border-radius:9px!important;background:#12303a!important;color:#58d5f4!important;font-size:17px!important;box-shadow:inset 0 0 18px rgba(47,191,226,.05)!important}.home-contact-copy{min-width:0!important}.home-contact-copy strong{display:flex!important;align-items:center!important;gap:9px!important;color:#f3e7d8!important;font-size:12px!important}.home-contact-copy strong b{padding:4px 7px!important;border-radius:5px!important;background:#12455a!important;color:#59d8fa!important;font-size:8px!important;letter-spacing:.12em!important}.home-contact-copy p{margin:4px 0 0!important;color:#927657!important;font-size:9.5px!important}.home-contact-status{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:7px 9px!important;border:1px solid #28523f!important;border-radius:999px!important;background:#15291f!important;color:#6bd3a3!important;font-size:8.5px!important;font-weight:850!important;white-space:nowrap!important}.home-contact-status i{width:6px;height:6px;border-radius:50%;background:#27d78b;box-shadow:0 0 10px rgba(39,215,139,.55)}.home-contact-arrow{width:28px;height:28px;display:grid;place-items:center;border:1px solid #4d3824;border-radius:7px;background:#271b11;color:#a98257;transition:.18s ease}.home-contact-card:hover .home-contact-arrow{border-color:#317184;background:#15323a;color:#61daf5;transform:translateX(2px)}
@media(max-width:700px){.home-page .home-contact-card{grid-template-columns:40px minmax(0,1fr) 28px!important}.home-contact-status{display:none!important}.home-contact-copy strong{display:block!important}.home-contact-copy strong b{display:inline-block!important;margin-right:6px!important}}

/* V2.41 — Edit topic forum picker: use the same polished picker as New Topic */
body.topic-edit-page .forum-picker-v231{position:relative!important;width:100%!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-menu[hidden]{display:none!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-menu{z-index:420!important;max-height:none!important;border-color:#60401f!important;background:rgba(24,16,10,.99)!important;box-shadow:0 26px 70px rgba(0,0,0,.66),0 0 0 1px rgba(255,139,0,.04)!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-scroll{max-height:390px!important;padding:8px!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-group{display:block!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-group>header{min-height:28px!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-option{display:grid!important;width:100%!important;box-sizing:border-box!important;margin:2px 0!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-option:hover{transform:translateX(3px)!important;border-color:#70471f!important;background:linear-gradient(90deg,#34200f,#26180d)!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-option.selected{border-color:#9a5e22!important;background:linear-gradient(90deg,#43260d,#2b1a0d)!important;box-shadow:inset 3px 0 0 #ff8b00!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-selected-copy{display:grid!important;gap:3px!important;min-width:0!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-selected-copy strong{font-size:12px!important;color:#f2e7da!important}
body.topic-edit-page .forum-picker-v231 .forum-picker-selected-copy small{font-size:9px!important;color:#81684d!important}
@media(max-width:720px){body.topic-edit-page .forum-picker-v231 .forum-picker-menu{position:absolute!important;top:calc(100% + 7px)!important}.topic-edit-page .forum-picker-v231 .forum-picker-scroll{max-height:330px!important}}

/* ==== V2.42 · premium homepage forum hero + clean category headers ==== */
.home-page .home-forum-hero{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:30px;
  min-height:138px;
  margin:26px 0 18px;
  padding:22px 24px;
  overflow:hidden;
  border:1px solid rgba(255,145,20,.62);
  border-radius:14px;
  background:
    radial-gradient(circle at 78% 12%,rgba(255,145,20,.13),transparent 34%),
    linear-gradient(112deg,rgba(65,37,13,.92) 0%,rgba(39,25,15,.98) 47%,rgba(29,19,12,.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 18px 44px rgba(0,0,0,.22),
    0 0 32px rgba(255,132,0,.045);
  transition:border-color .24s ease,box-shadow .24s ease,transform .24s ease;
}
.home-page .home-forum-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.22;
  background-image:
    linear-gradient(rgba(255,145,20,.09) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,145,20,.075) 1px,transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:linear-gradient(90deg,transparent 36%,#000 65%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 36%,#000 65%,transparent 100%);
}
.home-page .home-forum-hero::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:9%;
  top:-310px;
  z-index:-1;
  border:1px solid rgba(255,151,31,.18);
  border-radius:42%;
  transform:rotate(28deg);
  box-shadow:0 0 70px rgba(255,132,0,.06);
}
.home-page .home-forum-hero:hover{
  transform:translateY(-2px);
  border-color:rgba(255,157,39,.84);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 22px 52px rgba(0,0,0,.28),
    0 0 38px rgba(255,132,0,.075);
}
.home-page .home-forum-hero-main{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.home-page .home-forum-hero-icon{
  width:62px;
  height:62px;
  flex:0 0 62px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,153,31,.78);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(104,57,8,.78),rgba(48,29,13,.96));
  color:#ff9d20;
  font-size:25px;
  font-weight:950;
  letter-spacing:-.07em;
  text-shadow:0 0 16px rgba(255,145,20,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 9px 24px rgba(0,0,0,.25),
    0 0 22px rgba(255,135,0,.09);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
.home-page .home-forum-hero:hover .home-forum-hero-icon{
  transform:translateY(-2px) rotate(-1deg);
  border-color:#ffad3d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 26px rgba(0,0,0,.28),0 0 28px rgba(255,135,0,.16);
}
.home-page .home-forum-hero-copy{min-width:0}
.home-page .home-forum-hero-copy h1{
  margin:0 0 8px;
  color:#ff9412;
  font-size:34px;
  line-height:1.02;
  letter-spacing:-1.25px;
  font-weight:950;
  text-wrap:balance;
}
.home-page .home-forum-hero-copy h1 span{color:#fff7ee}
.home-page .home-forum-hero-copy p{
  margin:0;
  max-width:650px;
  color:#c3a889;
  font-size:14px;
  line-height:1.5;
}
.home-page .home-forum-hero-tags{
  display:grid;
  gap:2px;
  min-width:98px;
  padding-left:24px;
  border-left:1px solid rgba(255,149,22,.14);
  color:#a86b25;
  font-size:8px;
  font-weight:950;
  letter-spacing:.28em;
  line-height:1.45;
  text-transform:uppercase;
}
.home-page .home-forum-hero-tags::after{
  content:"";
  width:23px;
  height:2px;
  margin-top:7px;
  border-radius:999px;
  background:#ff9412;
  box-shadow:0 0 12px rgba(255,145,18,.32);
}
.home-page .home-forum-hero .home-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  padding:0;
  white-space:nowrap;
}
.home-page .home-forum-hero .home-actions .btn{
  min-height:42px;
  padding-inline:16px;
  border-radius:8px;
  position:relative;
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease,color .2s ease;
}
.home-page .home-forum-hero .home-actions .btn-muted{
  border-color:rgba(255,143,12,.45);
  background:linear-gradient(180deg,rgba(46,31,18,.96),rgba(34,23,14,.98));
  color:#e4c18e;
}
.home-page .home-forum-hero .home-actions .btn-muted:hover{
  transform:translateY(-2px);
  border-color:rgba(255,160,47,.78);
  background:linear-gradient(180deg,#392514,#2a1b10);
  color:#fff0d5;
  box-shadow:0 10px 26px rgba(0,0,0,.22),0 0 16px rgba(255,139,7,.06);
}
.home-page .home-forum-hero .home-actions .btn-primary{
  background:linear-gradient(180deg,#ff9d25,#f17b00);
  border-color:#ffac45;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 9px 24px rgba(218,94,0,.22);
}
.home-page .home-forum-hero .home-actions .btn-primary:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg,#ffac3a,#ff8707);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.36),0 13px 30px rgba(218,94,0,.30),0 0 18px rgba(255,135,0,.09);
}

/* Remove the decorative vertical orange stripe from homepage category bars. */
.home-page .forum-block-head::before{content:none!important;display:none!important}

@media(max-width:1050px){
  .home-page .home-forum-hero{grid-template-columns:minmax(0,1fr) auto;gap:18px}
  .home-page .home-forum-hero-tags{display:none}
}
@media(max-width:780px){
  .home-page .home-forum-hero{grid-template-columns:1fr;align-items:stretch;padding:18px}
  .home-page .home-forum-hero .home-actions{justify-content:flex-start;flex-wrap:wrap}
  .home-page .home-forum-hero-copy h1{font-size:29px}
}
@media(max-width:520px){
  .home-page .home-forum-hero-main{align-items:flex-start;gap:12px}
  .home-page .home-forum-hero-icon{width:50px;height:50px;flex-basis:50px;font-size:20px}
  .home-page .home-forum-hero-copy h1{font-size:25px;letter-spacing:-.8px}
  .home-page .home-forum-hero-copy p{font-size:12px}
  .home-page .home-forum-hero .home-actions{display:grid;grid-template-columns:1fr}
  .home-page .home-forum-hero .home-actions .btn{width:100%}
}

/* ==== V2.43 · Download Spotlight — closer to ViSite reference ==== */
.home-page .spotlight-card-v243{
  position:relative;
  overflow:hidden;
  margin:18px 0 22px;
  padding:15px 16px 13px;
  border:1px solid rgba(111,76,44,.50);
  border-radius:11px;
  background:
    radial-gradient(circle at 96% 0,rgba(255,139,10,.045),transparent 28%),
    linear-gradient(180deg,rgba(38,25,15,.985),rgba(30,20,12,.995));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 12px 30px rgba(0,0,0,.16);
  transition:border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
.home-page .spotlight-card-v243:hover{
  border-color:rgba(130,88,45,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 16px 34px rgba(0,0,0,.20);
}
.home-page .spotlight-card-v243::before,
.home-page .spotlight-card-v243::after{
  top:78px;
  bottom:11px;
  width:30px;
  opacity:.9;
}
.home-page .spotlight-card-v243::before{background:linear-gradient(90deg,rgba(34,22,13,.98),transparent)}
.home-page .spotlight-card-v243::after{background:linear-gradient(270deg,rgba(34,22,13,.98),transparent)}
.home-page .spotlight-card-v243 .spotlight-head{
  position:relative;
  z-index:5;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding:0 0 11px;
  border-bottom:1px solid rgba(102,70,42,.24);
}
.home-page .spotlight-card-v243 .spotlight-heading{min-width:0}
.home-page .spotlight-card-v243 .spotlight-heading>small{
  display:block;
  margin:0 0 4px;
  color:#c98a45;
  font-size:9px;
  font-weight:900;
  line-height:1;
  letter-spacing:.035em;
  text-transform:none;
}
.home-page .spotlight-card-v243 .spotlight-heading h2{
  margin:0;
  color:#fff8ef;
  font-size:18px;
  font-weight:900;
  line-height:1.25;
  letter-spacing:-.025em;
}
.home-page .spotlight-card-v243 .spotlight-heading p{
  margin:4px 0 0;
  max-width:720px;
  color:#8d7052;
  font-size:10px;
  line-height:1.45;
}
.home-page .spotlight-card-v243 .spot-controls{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.home-page .spotlight-card-v243 .spot-controls button{
  min-width:31px;
  height:31px;
  padding:0 10px;
  border:1px solid rgba(96,66,39,.64);
  border-radius:6px;
  background:rgba(32,22,14,.90);
  color:#a78a68;
  font-size:9px;
  font-weight:800;
  line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.home-page .spotlight-card-v243 .spot-controls button:hover{
  transform:translateY(-1px);
  border-color:rgba(255,146,20,.44);
  background:#2c1d11;
  color:#e5ba84;
  box-shadow:0 7px 16px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
.home-page .spotlight-card-v243 .spot-controls button:active{transform:translateY(0) scale(.98)}
.home-page .spotlight-card-v243 .spot-track{
  display:flex;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:12px 0 4px;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior-inline:contain;
  perspective:none;
}
.home-page .spotlight-card-v243 .spot-track::-webkit-scrollbar{display:none}
.home-page .spotlight-card-v243 .spot-item{
  flex:0 0 132px;
  width:132px;
  min-width:132px;
  display:block;
  transform:none;
  transition:transform .20s ease;
}
.home-page .spotlight-card-v243 .spot-item .poster{
  position:relative;
  height:188px;
  overflow:hidden;
  padding:8px;
  border:1px solid rgba(106,74,45,.58);
  border-radius:7px;
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.09),rgba(0,0,0,.02) 58%,rgba(0,0,0,.32)),
    var(--poster-image,linear-gradient(145deg,#1d3140,#0d1115));
  background-size:cover;
  background-position:center;
  box-shadow:0 8px 18px rgba(0,0,0,.22);
  transition:border-color .20s ease,box-shadow .20s ease,filter .20s ease,transform .22s ease;
}
.home-page .spotlight-card-v243 .spot-item .poster::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.08),transparent 24%,transparent 72%,rgba(0,0,0,.26));
}
.home-page .spotlight-card-v243 .poster-topline{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}
.home-page .spotlight-card-v243 .poster-topline em{
  max-width:96px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:3px 5px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  background:rgba(14,11,8,.74);
  color:#d9c7b2;
  font-size:6.7px;
  font-style:normal;
  font-weight:900;
  line-height:1;
  letter-spacing:.055em;
  text-transform:uppercase;
  backdrop-filter:blur(4px);
}
.home-page .spotlight-card-v243 .poster-topline b{
  color:#ffc146;
  font-size:10px;
  line-height:1;
  text-shadow:0 2px 7px #000;
}
.home-page .spotlight-card-v243 .poster-letter{
  position:absolute!important;
  left:50%;top:50%;
  z-index:1;
  transform:translate(-50%,-50%);
  color:#b39472;
  font-size:50px!important;
  font-weight:950;
  opacity:.44!important;
}
.home-page .spotlight-card-v243 .spot-item-meta{
  min-width:0;
  padding:7px 2px 0;
}
.home-page .spotlight-card-v243 .spot-item-meta small{
  display:block;
  overflow:hidden;
  color:#765d44;
  font-size:6.8px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.03em;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
  transition:color .18s ease;
}
.home-page .spotlight-card-v243 .spot-item-meta strong{
  display:-webkit-box;
  min-height:28px;
  margin-top:3px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  color:#f1e8de;
  font-size:9px;
  font-weight:850;
  line-height:1.35;
  transition:color .18s ease;
}
.home-page .spotlight-card-v243 .spot-item:hover{transform:translateY(-3px)}
.home-page .spotlight-card-v243 .spot-item:hover .poster{
  transform:scale(1.012);
  border-color:rgba(207,137,60,.72);
  box-shadow:0 12px 24px rgba(0,0,0,.28),0 0 0 1px rgba(255,146,20,.035);
  filter:brightness(1.035);
}
.home-page .spotlight-card-v243 .spot-item:hover .spot-item-meta small{color:#9f7a51}
.home-page .spotlight-card-v243 .spot-item:hover .spot-item-meta strong{color:#fff}

@media(max-width:1050px){
  .home-page .spotlight-card-v243 .spotlight-head{flex-direction:row}
  .home-page .spotlight-card-v243 .spot-item{flex-basis:126px;width:126px;min-width:126px}
  .home-page .spotlight-card-v243 .spot-item .poster{height:180px}
}
@media(max-width:720px){
  .home-page .spotlight-card-v243{padding:14px 13px}
  .home-page .spotlight-card-v243 .spotlight-head{flex-direction:column;gap:10px}
  .home-page .spotlight-card-v243 .spot-controls{width:100%;overflow-x:auto;padding-bottom:2px}
  .home-page .spotlight-card-v243 .spot-controls button{white-space:nowrap}
  .home-page .spotlight-card-v243 .spot-item{flex-basis:118px;width:118px;min-width:118px}
  .home-page .spotlight-card-v243 .spot-item .poster{height:168px}
}

/* ==== V2.44 · Download Spotlight — REAL visual rebuild + live topic posters ==== */
.home-page .spotlight-card-v244{
  position:relative!important;
  overflow:hidden!important;
  margin:18px 0 24px!important;
  padding:18px 46px 11px!important;
  border:1px solid rgba(197,116,16,.82)!important;
  border-radius:14px!important;
  background:
    radial-gradient(ellipse at 48% -35%,rgba(255,150,12,.22),transparent 48%),
    radial-gradient(circle at 96% 16%,rgba(255,125,0,.09),transparent 30%),
    linear-gradient(180deg,#2a1b0e 0%,#22160d 45%,#1d130c 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,206,107,.12),
    inset 0 -1px 0 rgba(0,0,0,.45),
    0 0 0 1px rgba(255,153,25,.035),
    0 16px 36px rgba(0,0,0,.28),
    0 0 26px rgba(234,126,0,.08)!important;
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease!important;
}
.home-page .spotlight-card-v244:hover{
  border-color:rgba(255,151,26,.95)!important;
  box-shadow:inset 0 1px 0 rgba(255,213,128,.16),0 18px 44px rgba(0,0,0,.34),0 0 34px rgba(255,126,0,.13)!important;
}
.home-page .spotlight-card-v244::before,
.home-page .spotlight-card-v244::after{
  content:""!important;
  position:absolute!important;
  pointer-events:none!important;
  z-index:3!important;
  top:78px!important;
  bottom:36px!important;
  width:56px!important;
  opacity:1!important;
}
.home-page .spotlight-card-v244::before{left:0!important;background:linear-gradient(90deg,#22160d 10%,rgba(34,22,13,.78) 45%,transparent)!important}
.home-page .spotlight-card-v244::after{right:0!important;background:linear-gradient(270deg,#22160d 10%,rgba(34,22,13,.78) 45%,transparent)!important}
.home-page .spotlight-card-v244 .spotlight-head{
  position:relative!important;
  z-index:6!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid rgba(143,89,32,.30)!important;
}
.home-page .spotlight-card-v244 .spotlight-heading-row{display:flex;align-items:center;gap:14px;min-width:0}
.home-page .spotlight-card-v244 .spotlight-reel{
  width:42px;height:42px;flex:0 0 42px;
  display:grid;place-items:center;
  border:1px solid rgba(255,146,15,.48);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(255,150,17,.14),rgba(255,122,0,.035));
  color:#ff9a14;
  font-size:25px;line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 7px 18px rgba(0,0,0,.18),0 0 18px rgba(255,134,0,.08);
  text-shadow:0 0 15px rgba(255,151,22,.42);
}
.home-page .spotlight-card-v244 .spotlight-heading{min-width:0}
.home-page .spotlight-card-v244 .spotlight-heading>small{
  display:block!important;
  margin:0 0 3px!important;
  color:#e4922c!important;
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
  line-height:1!important;
}
.home-page .spotlight-card-v244 .spotlight-heading h2{
  margin:0!important;
  color:#fffaf4!important;
  font-size:19px!important;
  font-weight:950!important;
  letter-spacing:-.03em!important;
  line-height:1.16!important;
}
.home-page .spotlight-card-v244 .spotlight-heading h2 span{color:#ff9919;text-shadow:0 0 18px rgba(255,142,0,.15)}
.home-page .spotlight-card-v244 .spotlight-heading p{
  margin:4px 0 0!important;
  max-width:720px!important;
  color:#a1815d!important;
  font-size:10px!important;
  line-height:1.42!important;
}
.home-page .spotlight-card-v244 .spot-controls{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important}
.home-page .spotlight-card-v244 .spot-controls button{
  min-width:34px!important;height:34px!important;padding:0 10px!important;
  border:1px solid rgba(120,78,38,.72)!important;border-radius:7px!important;
  background:linear-gradient(180deg,rgba(43,29,17,.96),rgba(30,20,12,.96))!important;
  color:#bea079!important;font-size:9px!important;font-weight:850!important;line-height:1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
}
.home-page .spotlight-card-v244 .spot-controls button:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(255,148,20,.70)!important;
  background:linear-gradient(180deg,#3b260f,#29190a)!important;
  color:#ffd09a!important;
  box-shadow:0 8px 20px rgba(0,0,0,.24),0 0 16px rgba(255,128,0,.07),inset 0 1px 0 rgba(255,255,255,.045)!important;
}
.home-page .spotlight-card-v244 .spot-stage{position:relative;z-index:5;margin:0 -27px;padding:0 27px}
.home-page .spotlight-card-v244 .spot-track{
  position:relative!important;
  display:flex!important;
  gap:10px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  padding:14px 0 7px!important;
  scroll-behavior:smooth!important;
  scrollbar-width:none!important;-ms-overflow-style:none!important;
  overscroll-behavior-inline:contain!important;
}
.home-page .spotlight-card-v244 .spot-track::-webkit-scrollbar{display:none!important}
.home-page .spotlight-card-v244 .spot-item{
  flex:0 0 142px!important;width:142px!important;min-width:142px!important;
  display:block!important;position:relative!important;
  transform:translateY(0)!important;
  transition:transform .24s ease,filter .24s ease!important;
}
.home-page .spotlight-card-v244 .spot-item .poster{
  position:relative!important;
  height:202px!important;
  overflow:hidden!important;
  padding:8px!important;
  border:1px solid rgba(130,86,40,.72)!important;
  border-radius:8px!important;
  background:linear-gradient(145deg,#183248,#0b1116 64%,#090b0d)!important;
  box-shadow:0 9px 20px rgba(0,0,0,.31),inset 0 1px 0 rgba(255,255,255,.045)!important;
  isolation:isolate!important;
  transition:transform .28s cubic-bezier(.2,.7,.2,1),border-color .22s ease,box-shadow .22s ease,filter .22s ease!important;
}
.home-page .spotlight-card-v244 .spot-poster-img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;z-index:-2!important;
  transform:scale(1.015)!important;transition:transform .35s ease,filter .3s ease!important;
}
.home-page .spotlight-card-v244 .poster-overlay{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,.02) 52%,rgba(0,0,0,.42) 100%);
}
.home-page .spotlight-card-v244 .spot-item:not(.has-real-poster) .poster::before{
  content:"";position:absolute;inset:-30%;z-index:-2;
  background:radial-gradient(circle at 35% 30%,rgba(33,109,155,.35),transparent 34%),linear-gradient(135deg,#183248,#0b1116 70%);
}
.home-page .spotlight-card-v244 .poster-topline{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important}
.home-page .spotlight-card-v244 .poster-topline em{
  max-width:100px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  padding:3px 6px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:4px!important;
  background:rgba(13,10,8,.78)!important;color:#f2e3d0!important;
  font-size:6.5px!important;font-style:normal!important;font-weight:950!important;letter-spacing:.045em!important;text-transform:uppercase!important;
  backdrop-filter:blur(6px)!important;
}
.home-page .spotlight-card-v244 .poster-topline b{color:#ffc244!important;font-size:11px!important;text-shadow:0 2px 7px #000,0 0 8px rgba(255,183,39,.35)!important}
.home-page .spotlight-card-v244 .poster-letter{
  position:absolute!important;left:50%!important;top:50%!important;z-index:1!important;transform:translate(-50%,-50%)!important;
  color:#d0b08b!important;font-size:49px!important;font-weight:950!important;opacity:.46!important;text-shadow:0 6px 18px rgba(0,0,0,.4)!important;
}
.home-page .spotlight-card-v244 .spot-item-meta{min-width:0!important;padding:7px 2px 0!important}
.home-page .spotlight-card-v244 .spot-item-meta small{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#7c6348!important;font-size:6.7px!important;font-weight:850!important;letter-spacing:.035em!important;text-transform:uppercase!important;
}
.home-page .spotlight-card-v244 .spot-item-meta strong{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  min-height:27px!important;margin-top:3px!important;overflow:hidden!important;
  color:#f6eee6!important;font-size:9px!important;font-weight:900!important;line-height:1.35!important;
}
.home-page .spotlight-card-v244 .spot-item:hover{transform:translateY(-4px)!important;filter:brightness(1.03)!important}
.home-page .spotlight-card-v244 .spot-item:hover .poster{
  transform:scale(1.018)!important;border-color:rgba(255,159,38,.86)!important;
  box-shadow:0 15px 30px rgba(0,0,0,.38),0 0 0 1px rgba(255,150,22,.09),0 0 24px rgba(255,123,0,.10)!important;
}
.home-page .spotlight-card-v244 .spot-item:hover .spot-poster-img{transform:scale(1.06)!important;filter:saturate(1.05) brightness(1.05)!important}
.home-page .spotlight-card-v244 .spot-side{
  position:absolute;top:50%;z-index:12;transform:translateY(-55%);
  width:33px;height:33px;padding:0;border:1px solid rgba(238,141,20,.67);border-radius:50%;
  background:rgba(38,24,12,.95);color:#ff9f20;font-size:22px;font-weight:700;line-height:29px;
  box-shadow:0 7px 20px rgba(0,0,0,.34),0 0 14px rgba(255,128,0,.10),inset 0 1px 0 rgba(255,255,255,.04);
  transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.home-page .spotlight-card-v244 .spot-side-prev{left:0}
.home-page .spotlight-card-v244 .spot-side-next{right:0}
.home-page .spotlight-card-v244 .spot-side:hover{transform:translateY(-55%) scale(1.08);background:#4a2c0d;border-color:#ff9f20;color:#ffd49c;box-shadow:0 9px 24px rgba(0,0,0,.38),0 0 22px rgba(255,128,0,.16)}
.home-page .spotlight-card-v244 .spot-dots{position:relative;z-index:8;display:flex;justify-content:center;align-items:center;gap:7px;height:13px;margin-top:1px}
.home-page .spotlight-card-v244 .spot-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#60472e;opacity:.7;transition:width .2s ease,background .2s ease,opacity .2s ease,box-shadow .2s ease}
.home-page .spotlight-card-v244 .spot-dots button:hover{opacity:1;background:#a06a2d}
.home-page .spotlight-card-v244 .spot-dots button.is-active{width:10px;height:10px;background:#ff9918;opacity:1;box-shadow:0 0 12px rgba(255,146,16,.45)}
@media(max-width:1050px){
  .home-page .spotlight-card-v244{padding-left:42px!important;padding-right:42px!important}
  .home-page .spotlight-card-v244 .spot-item{flex-basis:132px!important;width:132px!important;min-width:132px!important}
  .home-page .spotlight-card-v244 .spot-item .poster{height:188px!important}
}
@media(max-width:760px){
  .home-page .spotlight-card-v244{padding:14px 36px 10px!important}
  .home-page .spotlight-card-v244 .spotlight-head{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
  .home-page .spotlight-card-v244 .spot-controls{width:100%!important;overflow-x:auto!important;padding-bottom:2px!important}
  .home-page .spotlight-card-v244 .spot-item{flex-basis:122px!important;width:122px!important;min-width:122px!important}
  .home-page .spotlight-card-v244 .spot-item .poster{height:174px!important}
  .home-page .spotlight-card-v244 .spot-side{width:30px;height:30px;font-size:19px}
}
@media(max-width:520px){
  .home-page .spotlight-card-v244 .spotlight-reel{width:38px;height:38px;flex-basis:38px}
  .home-page .spotlight-card-v244 .spotlight-heading h2{font-size:17px!important}
  .home-page .spotlight-card-v244 .spotlight-heading p{font-size:9px!important}
}

/* =====================================================================
   V2.45 · Wątki: avatar 1:1 z ostatnim autorem + premium niebieski banner
   ===================================================================== */

/* WĄTKI — avatar autora po lewej ma dokładnie ten sam rozmiar co avatar
   ostatniego autora po prawej. Miniatura z obrazka tematu pozostaje większa. */
body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview) .topic-thumb-media{
  width:72px!important;
  min-width:72px!important;
  min-height:60px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border:1px solid rgba(119,82,48,.82)!important;
  border-radius:50%!important;
  background:#17110c!important;
  box-shadow:0 5px 14px rgba(0,0,0,.24)!important;
  overflow:hidden!important;
  transition:transform .22s cubic-bezier(.22,.61,.36,1),border-color .2s ease,box-shadow .22s ease,filter .2s ease!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:50%!important;
  border:0!important;
  box-shadow:none!important;
  transform:none!important;
  transition:transform .25s ease,filter .2s ease!important;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar.has-image{
  transform:translateY(-2px) scale(1.07)!important;
  border-color:#d58a35!important;
  background:#21170f!important;
  box-shadow:0 8px 19px rgba(0,0,0,.32),0 0 0 3px rgba(255,145,31,.055),0 0 17px rgba(255,134,22,.10)!important;
  filter:brightness(1.04)!important;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar.has-image img{
  transform:scale(1.055)!important;
  filter:brightness(1.08) saturate(1.04)!important;
}

/* STRONA GŁÓWNA — premium niebieska belka informacyjna. */
.home-page .home-contact-card{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) auto 34px!important;
  align-items:center!important;
  gap:14px!important;
  min-height:78px!important;
  margin:0 0 16px!important;
  padding:13px 15px!important;
  border:1px solid rgba(44,137,181,.56)!important;
  border-left:3px solid #38c9ff!important;
  border-radius:11px!important;
  background:
    radial-gradient(circle at 4% 50%,rgba(37,180,229,.16),transparent 27%),
    radial-gradient(circle at 89% -35%,rgba(47,124,219,.10),transparent 34%),
    linear-gradient(115deg,rgba(14,42,55,.82) 0%,rgba(27,24,19,.97) 43%,rgba(29,21,15,.98) 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(23,129,170,.09),
    0 12px 30px rgba(0,0,0,.20),
    0 0 0 1px rgba(42,184,228,.025)!important;
  overflow:hidden!important;
  transform:translateZ(0)!important;
  transition:transform .22s cubic-bezier(.22,.61,.36,1),border-color .22s ease,box-shadow .24s ease,background .24s ease!important;
}
.home-page .home-contact-card::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  top:-85%!important;
  left:-30%!important;
  width:23%!important;
  height:270%!important;
  background:linear-gradient(90deg,transparent,rgba(93,216,255,.10),transparent)!important;
  transform:skewX(-20deg)!important;
  opacity:.9!important;
  pointer-events:none!important;
  transition:left .78s cubic-bezier(.2,.65,.3,1)!important;
}
.home-page .home-contact-card::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:auto 56px 0 56px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(65,205,255,.38),transparent)!important;
  opacity:.42!important;
  pointer-events:none!important;
}
.home-page .home-contact-card:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(69,190,237,.78)!important;
  border-left-color:#6ddcff!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 16px 38px rgba(0,0,0,.28),
    0 0 24px rgba(39,179,226,.085)!important;
}
.home-page .home-contact-card:hover::before{left:116%!important}

.home-page .home-contact-icon{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(57,175,220,.62)!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#123b4d,#0b2734)!important;
  color:#6edcff!important;
  font-size:19px!important;
  font-weight:950!important;
  text-shadow:0 0 12px rgba(91,212,248,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 7px 18px rgba(0,0,0,.20),0 0 18px rgba(41,177,222,.07)!important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}
.home-page .home-contact-card:hover .home-contact-icon{
  transform:translateY(-1px) scale(1.04)!important;
  border-color:#65d5fa!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 9px 22px rgba(0,0,0,.25),0 0 23px rgba(54,195,235,.13)!important;
}
.home-page .home-contact-copy{min-width:0!important}
.home-page .home-contact-copy strong{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:0!important;
  color:#f5eee6!important;
  font-size:13.5px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
.home-page .home-contact-copy strong b{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:4px 8px!important;
  border:1px solid rgba(56,187,233,.28)!important;
  border-radius:5px!important;
  background:linear-gradient(180deg,#15516a,#103d51)!important;
  color:#7ce1ff!important;
  font-size:8px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.home-page .home-contact-copy p{
  margin:5px 0 0!important;
  color:#a58a6d!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:540!important;
  letter-spacing:.005em!important;
}
.home-page .home-contact-status{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:30px!important;
  padding:6px 10px!important;
  border:1px solid rgba(45,145,184,.42)!important;
  border-radius:999px!important;
  background:rgba(13,48,63,.70)!important;
  color:#87ddf7!important;
  font-size:8.5px!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  white-space:nowrap!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
  transition:border-color .2s ease,background .2s ease,color .2s ease!important;
}
.home-page .home-contact-status i{
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#48d5ff!important;
  box-shadow:0 0 0 3px rgba(62,203,247,.08),0 0 12px rgba(62,203,247,.52)!important;
}
.home-page .home-contact-card:hover .home-contact-status{
  border-color:rgba(77,192,233,.62)!important;
  background:rgba(15,58,76,.80)!important;
  color:#a7eaff!important;
}
.home-page .home-contact-arrow{
  width:32px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(50,131,162,.43)!important;
  border-radius:8px!important;
  background:rgba(12,39,51,.62)!important;
  color:#5fcdf0!important;
  font-size:15px!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease!important;
}
.home-page .home-contact-card:hover .home-contact-arrow{
  transform:translateX(3px)!important;
  border-color:#55c7ec!important;
  background:#123d4d!important;
  color:#a3ecff!important;
  box-shadow:0 0 15px rgba(54,194,236,.10)!important;
}

@media(max-width:700px){
  .home-page .home-contact-card{grid-template-columns:42px minmax(0,1fr) 32px!important;gap:11px!important;padding:12px!important}
  .home-page .home-contact-status{display:none!important}
  .home-page .home-contact-copy strong{display:block!important;font-size:12.5px!important}
  .home-page .home-contact-copy strong b{display:inline-flex!important;margin-right:6px!important;margin-bottom:3px!important}
  .home-page .home-contact-copy p{font-size:9.5px!important}
}

/* =====================================================================
   V2.46 · Home contact bar icon polish
   - replaces pixelated circled-i glyph with crisp CSS-built icon
   ===================================================================== */
.home-page .home-contact-icon{
  position:relative!important;
  overflow:hidden!important;
  font-size:0!important;
  color:transparent!important;
  text-indent:-9999px!important;
}
.home-page .home-contact-icon::before{
  content:"i"!important;
  position:absolute!important;
  inset:0!important;
  margin:auto!important;
  width:22px!important;
  height:22px!important;
  display:grid!important;
  place-items:center!important;
  border:1.5px solid rgba(123,228,255,.96)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(18,65,83,.98),rgba(9,33,45,.98))!important;
  color:#99ecff!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  text-indent:0!important;
  text-shadow:0 0 10px rgba(86,214,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(40,173,220,.12),0 0 16px rgba(70,201,255,.10)!important;
}
.home-page .home-contact-card:hover .home-contact-icon::before{
  border-color:#b3f2ff!important;
  color:#d6fbff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 0 0 1px rgba(59,194,241,.16),0 0 22px rgba(80,212,255,.18)!important;
  transform:scale(1.03)!important;
}

/* =====================================================================
   V2.47 · Download Spotlight — działające suwaki + centrowanie strzałek
   ===================================================================== */
.home-page .spotlight-card-v247 .spot-side{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:900!important;
  cursor:pointer!important;
  user-select:none!important;
  pointer-events:auto!important;
}
.home-page .spotlight-card-v247 .spot-side-prev,
.home-page .spotlight-card-v247 .spot-side-next{
  top:50%!important;
  margin:0!important;
}
.home-page .spotlight-card-v247 .spot-controls [data-spot-prev],
.home-page .spotlight-card-v247 .spot-controls [data-spot-next]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1!important;
}
.home-page .spotlight-card-v247 .spot-item{
  cursor:pointer!important;
}
.home-page .spotlight-card-v247 .spot-item:focus-visible{
  outline:2px solid #ff9f20!important;
  outline-offset:3px!important;
  border-radius:9px!important;
}
.home-page .spotlight-card-v247 .spot-item-meta small{
  color:#9a7a57!important;
}

/* ==== V2.48 · Home premium amber glow — reference match ==== */
@keyframes vforumPremiumSweep{
  0%,16%{background-position:160% 0,0 0,0 0}
  52%,100%{background-position:-80% 0,0 0,0 0}
}
@keyframes vforumSpotlightPulse{
  0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.075),inset 0 0 48px rgba(255,129,0,.025),0 18px 46px rgba(0,0,0,.28),0 0 25px rgba(255,132,0,.10)}
  50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.095),inset 0 0 56px rgba(255,129,0,.04),0 20px 52px rgba(0,0,0,.30),0 0 42px rgba(255,132,0,.16)}
}

/* Forum Dyskusyjne — mocniejsza poświata, szklisty highlight i wektorowa ikona */
.home-page .home-forum-hero{
  border-color:rgba(255,151,22,.92)!important;
  background:
    radial-gradient(circle at 17% -20%,rgba(255,163,51,.20),transparent 39%),
    radial-gradient(circle at 79% 9%,rgba(255,139,5,.18),transparent 36%),
    linear-gradient(112deg,rgba(67,38,14,.985) 0%,rgba(43,27,15,.99) 48%,rgba(31,20,12,.995) 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 44px rgba(255,133,0,.035),
    0 18px 46px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,131,0,.07),
    0 0 30px rgba(255,132,0,.12)!important;
}
.home-page .home-forum-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  opacity:1!important;
  pointer-events:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  background-image:
    linear-gradient(105deg,transparent 0%,transparent 41%,rgba(255,193,105,.00) 45%,rgba(255,183,82,.105) 49%,rgba(255,241,210,.15) 50%,rgba(255,164,54,.08) 52%,transparent 58%,transparent 100%),
    linear-gradient(rgba(255,157,35,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,157,35,.045) 1px,transparent 1px)!important;
  background-size:240% 100%,34px 34px,34px 34px!important;
  animation:vforumPremiumSweep 8.5s ease-in-out infinite!important;
}
.home-page .home-forum-hero::after{
  width:500px!important;
  height:500px!important;
  right:7%!important;
  top:-365px!important;
  border-color:rgba(255,168,51,.28)!important;
  box-shadow:0 0 95px rgba(255,135,0,.10),inset 0 0 46px rgba(255,143,0,.035)!important;
}
.home-page .home-forum-hero:hover{
  transform:translateY(-3px)!important;
  border-color:#ffa52f!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 0 56px rgba(255,134,0,.05),
    0 24px 58px rgba(0,0,0,.32),
    0 0 0 1px rgba(255,149,28,.11),
    0 0 48px rgba(255,129,0,.20)!important;
}
.home-page .home-forum-hero-icon{
  width:66px!important;
  height:66px!important;
  flex-basis:66px!important;
  border:1px solid rgba(255,166,47,.95)!important;
  border-radius:12px!important;
  background:
    radial-gradient(circle at 48% 28%,rgba(255,190,87,.17),transparent 44%),
    linear-gradient(145deg,rgba(87,50,12,.96),rgba(42,26,13,.99))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 22px rgba(255,140,0,.08),
    0 8px 24px rgba(0,0,0,.32),
    0 0 25px rgba(255,139,0,.22)!important;
  color:#ffa31f!important;
}
.home-page .home-forum-hero-icon svg{
  width:35px;height:35px;display:block;overflow:visible;
  fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 0 6px rgba(255,153,25,.42));
}
.home-page .home-forum-hero:hover .home-forum-hero-icon{
  transform:translateY(-2px) scale(1.025)!important;
  border-color:#ffb244!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 0 24px rgba(255,145,0,.11),0 12px 28px rgba(0,0,0,.34),0 0 34px rgba(255,139,0,.30)!important;
}
.home-page .home-forum-hero-copy h1{
  text-shadow:0 3px 18px rgba(0,0,0,.26),0 0 22px rgba(255,133,0,.08)!important;
}
.home-page .home-forum-hero-copy h1 span{color:#fff9f2!important}

/* Download Spotlight — jak referencja: mocny bursztynowy kontur, glow i filmowa ikona */
.home-page .spotlight-card-v244.spotlight-card-v247{
  border:1px solid rgba(255,151,22,.90)!important;
  border-radius:14px!important;
  background:
    radial-gradient(circle at 14% -14%,rgba(255,160,38,.17),transparent 34%),
    radial-gradient(circle at 96% 4%,rgba(255,141,11,.11),transparent 30%),
    linear-gradient(180deg,rgba(53,32,16,.985),rgba(33,21,12,.995))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.075),
    inset 0 0 48px rgba(255,129,0,.025),
    0 18px 46px rgba(0,0,0,.28),
    0 0 25px rgba(255,132,0,.10)!important;
  animation:vforumSpotlightPulse 5.8s ease-in-out infinite!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247:hover{
  transform:translateY(-2px)!important;
  border-color:#ffa42a!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    inset 0 0 64px rgba(255,129,0,.05),
    0 24px 58px rgba(0,0,0,.32),
    0 0 46px rgba(255,128,0,.19)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-head{
  padding-bottom:14px!important;
  border-bottom:1px solid rgba(255,154,32,.20)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading-row{gap:15px!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-reel{
  width:52px!important;
  height:52px!important;
  flex:0 0 52px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,164,42,.92)!important;
  border-radius:11px!important;
  background:
    radial-gradient(circle at 48% 30%,rgba(255,191,81,.18),transparent 48%),
    linear-gradient(145deg,rgba(87,50,12,.98),rgba(43,26,13,.99))!important;
  color:#ffa41f!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 20px rgba(255,143,0,.075),
    0 8px 22px rgba(0,0,0,.30),
    0 0 24px rgba(255,139,0,.20)!important;
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247:hover .spotlight-reel{
  transform:translateY(-1px) rotate(5deg)!important;
  border-color:#ffb144!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 22px rgba(255,143,0,.10),0 10px 27px rgba(0,0,0,.32),0 0 31px rgba(255,139,0,.27)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-reel svg{
  width:30px;height:30px;display:block;overflow:visible;
  fill:none;stroke:currentColor;stroke-width:1.65;
  filter:drop-shadow(0 0 5px rgba(255,151,22,.42));
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading>small{
  color:#e79b3b!important;
  font-size:10px!important;
  letter-spacing:.17em!important;
  text-shadow:0 0 13px rgba(255,142,11,.14)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading h2{
  color:#fff8ef!important;
  font-size:19px!important;
  letter-spacing:-.025em!important;
  text-shadow:0 3px 16px rgba(0,0,0,.26)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading h2 span{
  color:#ff9b18!important;
  text-shadow:0 0 22px rgba(255,142,0,.20)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading p{color:#9f7c57!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side{
  border-color:rgba(255,153,22,.78)!important;
  background:linear-gradient(180deg,rgba(66,40,18,.98),rgba(40,25,13,.99))!important;
  color:#ffac31!important;
  box-shadow:0 8px 24px rgba(0,0,0,.34),0 0 20px rgba(255,133,0,.12),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side:hover{
  transform:translateY(-50%) scale(1.08)!important;
  border-color:#ffad39!important;
  background:linear-gradient(180deg,#5a3412,#3e250f)!important;
  color:#fff2dc!important;
  box-shadow:0 10px 28px rgba(0,0,0,.38),0 0 30px rgba(255,132,0,.25),inset 0 1px 0 rgba(255,255,255,.11)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item .poster{
  box-shadow:inset 0 0 0 1px rgba(255,168,48,.10),0 7px 18px rgba(0,0,0,.27)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item:hover .poster{
  border-color:#ffad32!important;
  box-shadow:inset 0 0 0 1px rgba(255,190,80,.16),0 11px 25px rgba(0,0,0,.34),0 0 22px rgba(255,135,0,.18)!important;
}

@media(max-width:520px){
  .home-page .home-forum-hero-icon{width:52px!important;height:52px!important;flex-basis:52px!important}
  .home-page .home-forum-hero-icon svg{width:29px;height:29px}
  .home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-reel{width:42px!important;height:42px!important;flex-basis:42px!important}
  .home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-reel svg{width:25px;height:25px}
}

/* ========================================================================== */
/* V2.49 · Premium login + Home Hero / Download Spotlight visual polish       */
/* ========================================================================== */

/* --- LOGIN / AUTH --------------------------------------------------------- */
body.auth-page{
  background:
    radial-gradient(720px 420px at 50% 30%,rgba(255,137,0,.065),transparent 67%),
    radial-gradient(520px 280px at 50% 58%,rgba(133,71,14,.055),transparent 76%),
    linear-gradient(180deg,#130b04 0%,#170e06 45%,#140c04 100%)!important;
}
body.auth-page .page-shell{
  min-height:calc(100vh - 145px)!important;
  padding-top:34px!important;
  padding-bottom:56px!important;
  position:relative;
}
body.auth-page .page-shell::before{
  content:"";
  position:absolute;
  width:640px;
  height:640px;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
  background:
    radial-gradient(circle,rgba(255,137,0,.035) 0 24%,transparent 25% 100%),
    repeating-radial-gradient(circle,rgba(255,145,17,.026) 0 1px,transparent 1px 48px);
  mask-image:radial-gradient(circle,#000 0 45%,transparent 76%);
  opacity:.72;
}
body.auth-page .auth-wrap{
  width:min(650px,100%)!important;
  position:relative;
  z-index:2;
}
body.auth-page .auth-logo{
  margin-bottom:15px!important;
  filter:drop-shadow(0 7px 22px rgba(255,137,0,.10));
  transition:transform .22s ease,filter .22s ease;
}
body.auth-page .auth-logo:hover{
  transform:translateY(-2px);
  filter:drop-shadow(0 9px 28px rgba(255,137,0,.18));
}
body.auth-page .auth-logo span{
  font-size:52px!important;
  color:#fff8ef;
  text-shadow:0 2px 16px rgba(0,0,0,.42),0 0 20px rgba(255,142,0,.10);
}
body.auth-page .auth-logo small{
  color:#ff9a18;
  letter-spacing:4.6px!important;
  font-weight:900;
  text-shadow:0 0 14px rgba(255,137,0,.18);
}
body.auth-page .auth-card{
  position:relative;
  overflow:hidden;
  padding:30px 30px 28px!important;
  border:1px solid rgba(189,111,31,.50)!important;
  border-radius:16px!important;
  background:
    linear-gradient(180deg,rgba(49,32,19,.975),rgba(35,23,14,.985)) padding-box,
    linear-gradient(125deg,rgba(255,156,27,.16),transparent 34%,rgba(255,156,27,.045) 68%,transparent) border-box!important;
  box-shadow:
    0 28px 70px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.018) inset,
    0 0 38px rgba(255,128,0,.055)!important;
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}
body.auth-page .auth-card::before{
  content:"";
  position:absolute;
  left:10%;right:10%;top:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,166,49,.96),rgba(255,218,151,.90),rgba(255,166,49,.96),transparent);
  box-shadow:0 0 18px rgba(255,145,20,.44);
  opacity:.9;
}
body.auth-page .auth-card::after{
  content:"";
  position:absolute;
  inset:-42% -20%;
  pointer-events:none;
  background:linear-gradient(112deg,transparent 42%,rgba(255,194,106,.045) 49%,rgba(255,194,106,.085) 50%,rgba(255,194,106,.04) 52%,transparent 59%);
  transform:translateX(-55%);
  opacity:.72;
  animation:v249AuthSweep 9s ease-in-out infinite;
}
body.auth-page .auth-card:hover{
  transform:translateY(-2px);
  border-color:rgba(235,142,39,.62)!important;
  box-shadow:0 32px 78px rgba(0,0,0,.39),0 0 40px rgba(255,126,0,.09),0 0 0 1px rgba(255,255,255,.022) inset!important;
}
body.auth-page .auth-card>*{position:relative;z-index:2}
body.auth-page .auth-card>h1{
  margin:1px 0 6px!important;
  color:#fff9f2;
  font-size:29px!important;
  line-height:1.1;
  letter-spacing:-.045em;
  text-shadow:0 4px 18px rgba(0,0,0,.33);
}
body.auth-page .auth-card>p{
  margin:0 0 22px!important;
  color:#9e7953!important;
  font-size:12px!important;
}
body.auth-page .auth-form{gap:14px!important}
body.auth-page .auth-form label{
  gap:7px!important;
  color:#c39968!important;
  font-size:11px;
  font-weight:760;
}
body.auth-page .auth-form input:not([type="checkbox"]),
body.auth-page .auth-form select,
body.auth-page .auth-form textarea{
  min-height:46px!important;
  padding:12px 14px!important;
  border:1px solid #503621!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#1a110a,#160e08)!important;
  color:#f7efe7!important;
  outline:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 7px 16px rgba(0,0,0,.07)!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;
}
body.auth-page .auth-form input:not([type="checkbox"]):hover,
body.auth-page .auth-form select:hover,
body.auth-page .auth-form textarea:hover{
  border-color:#6f4826!important;
  background:linear-gradient(180deg,#1d130b,#180f08)!important;
}
body.auth-page .auth-form input:not([type="checkbox"]):focus,
body.auth-page .auth-form select:focus,
body.auth-page .auth-form textarea:focus{
  border-color:#d47a19!important;
  background:#181008!important;
  box-shadow:0 0 0 3px rgba(255,137,0,.09),0 0 22px rgba(255,127,0,.07),inset 0 1px 0 rgba(255,255,255,.025)!important;
  transform:translateY(-1px);
}
body.auth-page input:-webkit-autofill,
body.auth-page input:-webkit-autofill:hover,
body.auth-page input:-webkit-autofill:focus,
body.auth-page input:-webkit-autofill:active{
  -webkit-text-fill-color:#f7efe7!important;
  caret-color:#f7efe7!important;
  -webkit-box-shadow:0 0 0 1000px #181008 inset,0 0 0 3px rgba(255,137,0,.06)!important;
  border-color:#714a28!important;
  transition:background-color 9999s ease-in-out 0s!important;
}
body.auth-page .auth-form .btn-primary,
body.auth-page .auth-form button[type="submit"]{
  min-height:46px;
  border-radius:8px!important;
  border:1px solid #ff9e24!important;
  background:linear-gradient(180deg,#ff9817,#ff8100)!important;
  color:#1a0d02!important;
  font-weight:950!important;
  letter-spacing:.01em;
  box-shadow:0 9px 22px rgba(255,119,0,.15),inset 0 1px 0 rgba(255,255,255,.28)!important;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
body.auth-page .auth-form .btn-primary:hover,
body.auth-page .auth-form button[type="submit"]:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
  box-shadow:0 13px 28px rgba(255,119,0,.25),0 0 24px rgba(255,143,0,.16),inset 0 1px 0 rgba(255,255,255,.32)!important;
}
body.auth-page .auth-form .btn-primary:active,
body.auth-page .auth-form button[type="submit"]:active{transform:translateY(0) scale(.995)}
body.auth-page .auth-form a{
  color:#ff9b1d!important;
  font-weight:800;
  transition:color .18s ease,text-shadow .18s ease;
}
body.auth-page .auth-form a:hover{color:#ffc06b!important;text-shadow:0 0 12px rgba(255,142,0,.22)}
body.auth-page .auth-form p{margin:7px 0 0!important;color:#c4ad92!important}
body.auth-page .auth-form .check,
body.auth-page .remember-row,
body.auth-page .auth-remember{
  min-height:34px;
  color:#aa845b!important;
}
body.auth-page .auth-form input[type="checkbox"]{
  accent-color:#ff8a00;
  width:16px!important;
  height:16px!important;
}
body.auth-page .auth-features{
  margin-top:16px!important;
  gap:10px!important;
  flex-wrap:wrap;
  color:#886a4d!important;
}
body.auth-page .auth-features span{
  padding:7px 10px;
  border:1px solid transparent;
  border-radius:7px;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
body.auth-page .auth-features span:hover{
  transform:translateY(-1px);
  color:#cda775!important;
  border-color:rgba(159,99,37,.24);
  background:rgba(69,43,23,.25);
}
body.auth-page .flash-error{
  width:min(650px,100%);
  margin:0 auto 20px!important;
  padding:11px 15px!important;
  text-align:center;
  border:1px solid rgba(183,64,56,.70)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,rgba(82,29,27,.86),rgba(65,23,22,.92))!important;
  color:#ffb8b2!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18),0 0 18px rgba(210,58,47,.06)!important;
}
@keyframes v249AuthSweep{
  0%,58%{transform:translateX(-58%);opacity:0}
  64%{opacity:.45}
  78%{transform:translateX(56%);opacity:.62}
  84%,100%{transform:translateX(66%);opacity:0}
}

/* --- HOME: FORUM DYSKUSYJNE ------------------------------------------------ */
.home-page .home-forum-hero{
  min-height:126px!important;
  padding:20px 24px!important;
  border:1px solid rgba(255,147,20,.92)!important;
  border-radius:14px!important;
  background:
    radial-gradient(500px 150px at 17% 42%,rgba(255,147,20,.15),transparent 67%),
    radial-gradient(420px 190px at 87% 0%,rgba(255,132,0,.075),transparent 70%),
    linear-gradient(100deg,rgba(57,34,16,.99) 0%,rgba(39,24,13,.995) 48%,rgba(31,19,11,.995) 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,226,173,.08),
    inset 0 -1px 0 rgba(255,132,0,.035),
    0 12px 30px rgba(0,0,0,.26),
    0 0 34px rgba(255,124,0,.12)!important;
  isolation:isolate;
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,filter .24s ease!important;
}
.home-page .home-forum-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  background:
    linear-gradient(90deg,transparent 0 12%,rgba(255,168,45,.042) 12.15%,transparent 12.3% 34%,rgba(255,168,45,.032) 34.15%,transparent 34.3%),
    linear-gradient(0deg,transparent 0 36%,rgba(255,161,38,.035) 36.2%,transparent 36.4% 74%,rgba(255,161,38,.025) 74.2%,transparent 74.4%),
    radial-gradient(520px 230px at 74% 18%,transparent 56%,rgba(255,149,24,.10) 56.4%,transparent 57.2%),
    linear-gradient(112deg,transparent 0 47%,rgba(255,201,112,.07) 50%,transparent 53% 100%)!important;
  opacity:.88!important;
  animation:v249HeroShine 8.5s ease-in-out infinite!important;
}
.home-page .home-forum-hero::after{
  content:""!important;
  position:absolute!important;
  left:28px!important;right:28px!important;top:-1px!important;height:1px!important;
  z-index:3!important;
  background:linear-gradient(90deg,transparent,rgba(255,143,15,.58),rgba(255,224,155,.98),rgba(255,143,15,.58),transparent)!important;
  box-shadow:0 0 16px rgba(255,158,37,.64),0 0 35px rgba(255,124,0,.24)!important;
  opacity:.98!important;
}
.home-page .home-forum-hero:hover{
  transform:translateY(-2px)!important;
  border-color:#ffad32!important;
  filter:brightness(1.025)!important;
  box-shadow:inset 0 1px 0 rgba(255,238,197,.10),0 17px 36px rgba(0,0,0,.31),0 0 42px rgba(255,126,0,.20)!important;
}
.home-page .home-forum-hero-main{gap:18px!important}
.home-page .home-forum-hero-icon{
  width:64px!important;
  height:64px!important;
  flex:0 0 64px!important;
  border-radius:12px!important;
  border:1px solid rgba(255,169,45,.95)!important;
  background:
    radial-gradient(circle at 50% 34%,rgba(255,186,78,.18),transparent 55%),
    linear-gradient(145deg,#5d350d,#2f1c0e)!important;
  color:#ff9c19!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 20px rgba(255,140,0,.07),0 9px 22px rgba(0,0,0,.28),0 0 28px rgba(255,137,0,.21)!important;
}
.home-page .home-forum-hero-icon svg{
  width:36px!important;
  height:36px!important;
  stroke-width:1.55!important;
  filter:drop-shadow(0 0 6px rgba(255,154,31,.44))!important;
}
.home-page .home-forum-hero:hover .home-forum-hero-icon{
  transform:translateY(-2px) scale(1.025)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 0 24px rgba(255,140,0,.10),0 11px 27px rgba(0,0,0,.30),0 0 34px rgba(255,137,0,.30)!important;
}
.home-page .home-forum-hero-copy h1{
  font-size:31px!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
  margin-bottom:8px!important;
  text-shadow:0 4px 20px rgba(0,0,0,.30)!important;
}
.home-page .home-forum-hero-copy h1 span{color:#fffaf4!important}
.home-page .home-forum-hero-copy p{color:#baa080!important;font-size:12px!important}
.home-page .home-forum-hero-tags{
  padding-left:22px!important;
  border-left:1px solid rgba(255,150,25,.14)!important;
}
.home-page .home-forum-hero-tags span{
  color:#dc8a2c!important;
  font-size:9px!important;
  letter-spacing:.27em!important;
  text-shadow:0 0 12px rgba(255,137,0,.12)!important;
}
.home-page .home-forum-hero .home-actions .btn{
  min-height:42px!important;
  border-radius:7px!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease!important;
}
.home-page .home-forum-hero .home-actions .btn-primary{
  box-shadow:0 8px 22px rgba(255,122,0,.17),0 0 18px rgba(255,140,0,.10)!important;
}
.home-page .home-forum-hero .home-actions .btn:hover{transform:translateY(-2px)!important}

/* --- HOME: DOWNLOAD SPOTLIGHT --------------------------------------------- */
.home-page .spotlight-card-v244.spotlight-card-v247{
  margin-top:14px!important;
  padding:15px 20px 17px!important;
  border:1px solid rgba(255,145,18,.88)!important;
  border-radius:14px!important;
  background:
    radial-gradient(620px 180px at 13% 2%,rgba(255,145,22,.12),transparent 68%),
    radial-gradient(460px 200px at 87% 26%,rgba(255,125,0,.055),transparent 72%),
    linear-gradient(180deg,rgba(52,31,16,.985),rgba(31,20,12,.992))!important;
  box-shadow:inset 0 1px 0 rgba(255,225,166,.07),0 14px 34px rgba(0,0,0,.28),0 0 38px rgba(255,122,0,.10)!important;
  isolation:isolate;
}
.home-page .spotlight-card-v244.spotlight-card-v247::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  background:
    linear-gradient(100deg,transparent 0 17%,rgba(255,181,63,.036) 17.2%,transparent 17.4% 44%,rgba(255,181,63,.028) 44.2%,transparent 44.4%),
    radial-gradient(580px 230px at 73% -8%,transparent 54%,rgba(255,146,22,.085) 54.4%,transparent 55.2%),
    linear-gradient(115deg,transparent 0 44%,rgba(255,210,132,.05) 49%,transparent 54% 100%)!important;
  opacity:.86!important;
  animation:v249SpotShine 10s ease-in-out infinite!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247::after{
  content:""!important;
  position:absolute!important;
  left:24px!important;right:24px!important;top:-1px!important;height:1px!important;
  z-index:6!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent,rgba(255,145,17,.55),rgba(255,215,133,.92),rgba(255,145,17,.55),transparent)!important;
  box-shadow:0 0 15px rgba(255,151,29,.54),0 0 32px rgba(255,121,0,.18)!important;
  opacity:.94!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247:hover{
  transform:translateY(-2px)!important;
  border-color:#ffa52b!important;
  box-shadow:inset 0 1px 0 rgba(255,239,200,.09),0 18px 40px rgba(0,0,0,.31),0 0 44px rgba(255,124,0,.16)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-head{
  min-height:58px!important;
  padding:0 2px 13px!important;
  align-items:center!important;
  border-bottom:1px solid rgba(255,153,31,.16)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading-row{gap:14px!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-reel{
  width:48px!important;
  height:48px!important;
  flex-basis:48px!important;
  border-radius:11px!important;
  border-color:rgba(255,166,41,.90)!important;
  background:radial-gradient(circle at 50% 33%,rgba(255,190,83,.16),transparent 54%),linear-gradient(145deg,#59330e,#2c1b0e)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 7px 19px rgba(0,0,0,.27),0 0 25px rgba(255,135,0,.19)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-reel svg{width:27px!important;height:27px!important;stroke-width:1.55!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading>small{
  margin-bottom:2px!important;
  color:#dd8a2d!important;
  font-size:9px!important;
  letter-spacing:.19em!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading h2{
  margin:0 0 4px!important;
  font-size:19px!important;
  line-height:1.04!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-heading p{font-size:10px!important;color:#957352!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-controls button{
  height:34px!important;
  min-width:36px!important;
  padding:0 10px!important;
  border-radius:7px!important;
  border:1px solid rgba(111,72,35,.90)!important;
  background:linear-gradient(180deg,#302014,#26190f)!important;
  color:#ba9368!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-controls button:hover{
  transform:translateY(-1px)!important;
  border-color:#9a5e20!important;
  color:#f2c083!important;
  background:linear-gradient(180deg,#3a2615,#2b1b10)!important;
  box-shadow:0 7px 16px rgba(0,0,0,.20),0 0 14px rgba(255,137,0,.07)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-stage{
  margin:0 -14px!important;
  padding:0 14px!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-track{
  gap:10px!important;
  padding:13px 0 3px!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item{
  flex-basis:126px!important;
  width:126px!important;
  min-width:126px!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item .poster{
  height:176px!important;
  border-radius:7px!important;
  border:1px solid rgba(191,111,25,.70)!important;
  background-color:#0c1820!important;
  box-shadow:inset 0 0 0 1px rgba(255,175,54,.055),0 8px 19px rgba(0,0,0,.27)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item:hover{transform:translateY(-4px) scale(1.006)!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item:hover .poster{
  border-color:#ffa62c!important;
  box-shadow:inset 0 0 0 1px rgba(255,195,85,.14),0 12px 27px rgba(0,0,0,.35),0 0 24px rgba(255,132,0,.18)!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item-meta{padding-top:6px!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item-meta small{font-size:7px!important;letter-spacing:.04em!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-item-meta strong{font-size:9px!important;line-height:1.25!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side{
  width:32px!important;
  height:32px!important;
  padding:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  text-align:center!important;
  font-family:Arial,sans-serif!important;
  font-size:19px!important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side-prev{left:0!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side-next{right:0!important}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-dots{margin-top:5px!important}

@keyframes v249HeroShine{
  0%,100%{background-position:0 0,0 0,0 0,0 0;opacity:.76}
  50%{background-position:22px 0,0 12px,18px 0,120px 0;opacity:1}
}
@keyframes v249SpotShine{
  0%,100%{background-position:0 0,0 0,-120px 0;opacity:.72}
  50%{background-position:18px 0,15px 0,130px 0;opacity:.96}
}

@media(max-width:780px){
  body.auth-page .auth-card{padding:24px 18px!important;border-radius:13px!important}
  body.auth-page .auth-card>h1{font-size:26px!important}
  body.auth-page .auth-features{gap:3px!important}
  .home-page .home-forum-hero{padding:17px 16px!important;min-height:0!important}
  .home-page .home-forum-hero-icon{width:54px!important;height:54px!important;flex-basis:54px!important}
  .home-page .home-forum-hero-icon svg{width:30px!important;height:30px!important}
  .home-page .home-forum-hero-copy h1{font-size:25px!important}
  .home-page .home-forum-hero-tags{display:none!important}
  .home-page .spotlight-card-v244.spotlight-card-v247{padding:13px 15px 15px!important}
  .home-page .spotlight-card-v244.spotlight-card-v247 .spotlight-head{align-items:flex-start!important}
}


/* ========================================================================== */
/* V2.50 · Download Spotlight — usuń boczne strzałki < > w panelu            */
/* ========================================================================== */
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side,
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side-prev,
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-side-next{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-stage{
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.home-page .spotlight-card-v244.spotlight-card-v247 .spot-track{
  padding-left:0 !important;
  padding-right:0 !important;
}


/* ========================================================================== */
/* V2.53 · Obrazy w tematach — REAL lightbox fix                              */
/* ========================================================================== */
body.topic-view-page .post-content-v27 img.vforum-topic-image,
body.topic-view-page .post-content img.vforum-topic-image,
body.topic-view-page img.post-inline-image.vforum-topic-image{
  display:block;
  max-width:100%;
  height:auto;
  cursor:zoom-in!important;
  border-radius:11px!important;
  border:1px solid rgba(255,149,24,.28)!important;
  background:#120d08;
  box-shadow:0 13px 34px rgba(0,0,0,.40),0 0 0 1px rgba(255,143,16,.025)!important;
  transition:transform .24s cubic-bezier(.2,.7,.2,1),border-color .24s ease,box-shadow .24s ease,filter .24s ease!important;
  transform:translateZ(0);
}
body.topic-view-page a.vforum-lightbox-link{
  display:inline-block;
  max-width:100%;
  cursor:zoom-in!important;
  text-decoration:none!important;
  outline:none;
}
body.topic-view-page a.vforum-lightbox-link:hover img.vforum-topic-image,
body.topic-view-page img.vforum-topic-image:hover{
  transform:translateY(-3px) scale(1.012)!important;
  border-color:rgba(255,168,54,.82)!important;
  box-shadow:0 19px 48px rgba(0,0,0,.56),0 0 0 1px rgba(255,150,20,.18),0 0 30px rgba(255,132,0,.15)!important;
  filter:brightness(1.05) saturate(1.04)!important;
}
body.topic-view-page a.vforum-lightbox-link:focus-visible img.vforum-topic-image,
body.topic-view-page img.vforum-topic-image:focus-visible{
  outline:2px solid rgba(255,157,30,.88)!important;
  outline-offset:4px;
}

html.vforum-lightbox-open,
body.vforum-lightbox-open{overflow:hidden!important}
.vforum-topic-lightbox[hidden]{display:none!important}
.vforum-topic-lightbox{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  display:grid!important;
  place-items:center!important;
  padding:28px!important;
  opacity:0;
  isolation:isolate;
  transition:opacity .22s ease;
}
.vforum-topic-lightbox.is-open{opacity:1}
.vforum-topic-lightbox__backdrop{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(circle at 50% 48%,rgba(110,57,12,.18),transparent 34%),
    rgba(5,3,2,.91);
  backdrop-filter:blur(14px) saturate(.82);
  -webkit-backdrop-filter:blur(14px) saturate(.82);
  cursor:zoom-out;
}
.vforum-topic-lightbox__shell{
  position:relative;
  z-index:1;
  width:min(94vw,1460px);
  height:min(92vh,1000px);
  min-height:320px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  overflow:hidden;
  border:1px solid rgba(255,151,22,.58);
  border-radius:18px;
  background:
    linear-gradient(115deg,rgba(255,140,0,.035),transparent 27%),
    radial-gradient(circle at 50% 0,rgba(255,139,0,.10),transparent 32%),
    linear-gradient(180deg,#2b1d12 0%,#17100b 58%,#110c08 100%);
  box-shadow:
    0 42px 120px rgba(0,0,0,.82),
    0 0 0 1px rgba(255,143,18,.05),
    0 0 52px rgba(255,133,0,.15),
    inset 0 1px 0 rgba(255,255,255,.045);
  transform:translateY(14px) scale(.974);
  opacity:.72;
  transition:transform .27s cubic-bezier(.2,.75,.2,1),opacity .23s ease,box-shadow .25s ease;
}
.vforum-topic-lightbox.is-open .vforum-topic-lightbox__shell{transform:translateY(0) scale(1);opacity:1}
.vforum-topic-lightbox__top{
  min-height:61px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 12px 10px 16px;
  border-bottom:1px solid rgba(255,154,28,.18);
  background:linear-gradient(180deg,rgba(60,38,21,.88),rgba(35,24,16,.77));
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.18);
}
.vforum-topic-lightbox__label{display:flex;align-items:center;gap:11px;min-width:0;color:#f5eadf}
.vforum-topic-lightbox__label>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.vforum-topic-lightbox__label b{font-size:13px;line-height:1.15;font-weight:900;letter-spacing:.01em;color:#fff6eb}
.vforum-topic-lightbox__label small{font-size:9px;line-height:1.2;color:#8f7354;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vforum-topic-lightbox__icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  border:1px solid rgba(255,159,28,.46);
  background:linear-gradient(180deg,rgba(255,145,14,.15),rgba(255,116,0,.055));
  color:#ff9c1f;
  box-shadow:inset 0 0 19px rgba(255,138,0,.045),0 0 18px rgba(255,126,0,.055);
}
.vforum-topic-lightbox__icon svg{width:19px;height:19px;display:block;fill:currentColor}
.vforum-topic-lightbox__close{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 38px;
  border-radius:10px;
  border:1px solid rgba(255,151,22,.25);
  background:linear-gradient(180deg,#2c1d12,#21160e);
  color:#c8aa85;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease;
}
.vforum-topic-lightbox__close:hover,
.vforum-topic-lightbox__close:focus-visible{
  color:#fff;
  border-color:#ff971b;
  background:#3a2412;
  transform:scale(1.07);
  box-shadow:0 0 0 3px rgba(255,139,0,.07),0 0 22px rgba(255,139,0,.14);
  outline:none;
}
.vforum-topic-lightbox__stage{
  min-height:0;
  display:grid;
  place-items:center;
  overflow:auto;
  overscroll-behavior:contain;
  padding:22px;
  background:
    linear-gradient(rgba(255,255,255,.012),rgba(255,255,255,.012)),
    radial-gradient(circle at 50% 45%,rgba(255,138,0,.045),transparent 35%);
}
.vforum-topic-lightbox__image{
  display:block;
  max-width:100%;
  max-height:calc(92vh - 132px);
  width:auto;
  height:auto;
  object-fit:contain;
  user-select:none;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.075);
  background:#0b0806;
  box-shadow:0 28px 82px rgba(0,0,0,.78),0 0 36px rgba(255,135,0,.09);
  cursor:zoom-in;
  transition:transform .22s cubic-bezier(.2,.7,.2,1),filter .22s ease,box-shadow .22s ease;
  transform-origin:center center;
}
.vforum-topic-lightbox__image:hover{filter:brightness(1.035);box-shadow:0 32px 92px rgba(0,0,0,.82),0 0 40px rgba(255,139,0,.13)}
.vforum-topic-lightbox__image.is-zoomed{max-width:none;max-height:none;cursor:zoom-out;transform:scale(1.02)}
.vforum-topic-lightbox__bottom{
  min-height:43px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:8px 14px;
  border-top:1px solid rgba(255,151,22,.14);
  color:#846b4e;
  font-size:9px;
  letter-spacing:.02em;
  background:rgba(25,17,12,.88);
}
.vforum-topic-lightbox__hint{display:inline-flex;align-items:center;gap:6px}
.vforum-topic-lightbox__hint kbd,
.vforum-topic-lightbox__mouse{min-width:25px;height:22px;padding:0 6px;display:inline-grid;place-items:center;border:1px solid #49311e;border-radius:6px;background:#21170f;color:#c99656;font:800 8px/1 inherit;box-shadow:inset 0 1px rgba(255,255,255,.025)}

@media (max-width:700px){
  .vforum-topic-lightbox{padding:9px!important}
  .vforum-topic-lightbox__shell{width:100%;height:96vh;border-radius:13px}
  .vforum-topic-lightbox__stage{padding:10px}
  .vforum-topic-lightbox__image{max-height:calc(96vh - 128px)}
  .vforum-topic-lightbox__label small{display:none}
  .vforum-topic-lightbox__bottom{gap:8px;justify-content:space-between;font-size:8px}
}

/* ========================================================================
   V2.54 · Unified breadcrumbs + topic reply pagination
   ======================================================================== */

/* Jedna, spójna belka nawigacji na działach i w tematach. */
body.forum-category-page .vforum-breadcrumbs-premium,
body.topic-view-page .vforum-breadcrumbs-premium{
  width:max-content!important;
  max-width:100%!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  margin:4px 0 22px!important;
  padding:0 13px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border:1px solid rgba(126,88,51,.52)!important;
  border-radius:8px!important;
  background:
    radial-gradient(circle at 8% 0%,rgba(255,143,22,.055),transparent 42%),
    linear-gradient(180deg,#241a12 0%,#1b130d 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.026),
    0 7px 22px rgba(0,0,0,.16)!important;
  color:#957858!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease!important;
}
body.forum-category-page .vforum-breadcrumbs-premium::before{
  content:none!important;
  display:none!important;
}
body.forum-category-page .vforum-breadcrumbs-premium:hover,
body.topic-view-page .vforum-breadcrumbs-premium:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(255,145,24,.56)!important;
  background:
    radial-gradient(circle at 8% 0%,rgba(255,143,22,.085),transparent 44%),
    linear-gradient(180deg,#291d13 0%,#1e150e 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.036),
    0 10px 28px rgba(0,0,0,.20),
    0 0 18px rgba(255,137,17,.045)!important;
}
body.forum-category-page .vforum-breadcrumbs-premium a,
body.forum-category-page .vforum-breadcrumbs-premium strong,
body.topic-view-page .vforum-breadcrumbs-premium a,
body.topic-view-page .vforum-breadcrumbs-premium strong{
  min-width:0!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#a98a68!important;
  font-size:10px!important;
  font-weight:720!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:color .18s ease,text-shadow .18s ease,transform .18s ease!important;
}
body.forum-category-page .vforum-breadcrumbs-premium a:hover,
body.topic-view-page .vforum-breadcrumbs-premium a:hover{
  color:#ff9b27!important;
  text-shadow:0 0 12px rgba(255,139,0,.20)!important;
  transform:translateY(-1px)!important;
}
body.forum-category-page .vforum-breadcrumbs-premium strong,
body.topic-view-page .vforum-breadcrumbs-premium strong{
  max-width:320px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#d4bea4!important;
}
body.forum-category-page .vforum-breadcrumbs-premium .topic-crumb-separator,
body.topic-view-page .vforum-breadcrumbs-premium .topic-crumb-separator{
  color:#5a4632!important;
  font-size:9px!important;
  font-weight:700!important;
  transform:none!important;
}
body.forum-category-page .vforum-breadcrumbs-premium .topic-crumb-icon,
body.topic-view-page .vforum-breadcrumbs-premium .topic-crumb-icon{
  color:#d98220!important;
  font-size:11px!important;
  line-height:1!important;
}

/* Paginacja odpowiedzi w temacie — 12 odpowiedzi na stronę. */
body.topic-view-page .topic-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  margin:18px 0 20px;
  padding:12px 14px;
  border:1px solid #392a1d;
  border-radius:8px;
  background:linear-gradient(180deg,rgba(39,28,18,.82),rgba(28,20,13,.88));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 8px 22px rgba(0,0,0,.10);
}
body.topic-view-page .topic-pagination a,
body.topic-view-page .topic-pagination span{
  min-width:34px;
  height:34px;
  box-sizing:border-box;
  padding:0 9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #49331f;
  border-radius:7px;
  background:#21170f;
  color:#9b7d59;
  font-size:10px;
  font-weight:850;
  line-height:1;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease;
}
body.topic-view-page .topic-pagination a:hover{
  transform:translateY(-2px);
  border-color:#9a5e20;
  background:linear-gradient(180deg,#382411,#2b1b0e);
  color:#ff9d21;
  box-shadow:0 8px 18px rgba(0,0,0,.16),0 0 14px rgba(255,137,17,.055);
}
body.topic-view-page .topic-pagination .is-active{
  border-color:#c97820;
  background:linear-gradient(180deg,#5b350e,#41260d);
  color:#ffd08a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 18px rgba(255,137,17,.09);
}
body.topic-view-page .topic-pagination .is-disabled{
  opacity:.34;
  pointer-events:none;
}
body.topic-view-page .topic-pagination .topic-page-ellipsis{
  border-color:transparent;
  background:transparent;
  color:#6d5841;
}

@media(max-width:700px){
  body.forum-category-page .vforum-breadcrumbs-premium,
  body.topic-view-page .vforum-breadcrumbs-premium{
    width:100%!important;
    min-height:40px!important;
    margin-bottom:18px!important;
    padding:0 11px!important;
  }
  body.forum-category-page .vforum-breadcrumbs-premium strong,
  body.topic-view-page .vforum-breadcrumbs-premium strong{
    max-width:48vw!important;
  }
  body.topic-view-page .topic-pagination{
    gap:5px;
    padding:10px;
  }
  body.topic-view-page .topic-pagination a,
  body.topic-view-page .topic-pagination span{
    min-width:32px;
    height:32px;
    padding:0 7px;
  }
}

/* ========================================================================== 
   V2.55 · Czytelniejszy nagłówek tematu + większe dane autora + klikalne avatary
   ========================================================================== */
body.topic-view-page .topic-page-head-premium,
body.topic-view-page .post-head-v27{
  -webkit-font-smoothing:antialiased!important;
  -moz-osx-font-smoothing:grayscale!important;
  text-rendering:optimizeLegibility!important;
}

/* Główna karta tematu — większa typografia bez mikrotekstu. */
body.topic-view-page .topic-page-head-premium{
  padding:22px 22px!important;
}
body.topic-view-page .topic-title-row{
  margin-bottom:17px!important;
}
body.topic-view-page .topic-title-icon{
  width:40px!important;
  height:40px!important;
  flex-basis:40px!important;
  font-size:14px!important;
}
body.topic-view-page .topic-page-head-premium h1{
  font-size:31px!important;
  font-weight:900!important;
  letter-spacing:-.022em!important;
}

body.topic-view-page .topic-author-strip{
  gap:9px!important;
}
body.topic-view-page .topic-author-link,
body.topic-view-page .topic-meta-chip{
  min-height:58px!important;
  padding:9px 13px!important;
  gap:10px!important;
  border-radius:9px!important;
}
body.topic-view-page .topic-author-link{
  min-width:205px!important;
}
body.topic-view-page .topic-author-link .avatar-sm{
  width:40px!important;
  height:40px!important;
  font-size:11px!important;
  border-width:1px!important;
}
body.topic-view-page .topic-author-copy{
  gap:2px!important;
}
body.topic-view-page .topic-author-copy small,
body.topic-view-page .topic-meta-chip small{
  font-size:9.5px!important;
  line-height:1.15!important;
  letter-spacing:.075em!important;
  font-weight:850!important;
}
body.topic-view-page .topic-author-copy strong{
  max-width:150px!important;
  font-size:13.5px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body.topic-view-page .topic-meta-chip{
  min-width:126px!important;
}
body.topic-view-page .topic-meta-chip>i{
  width:31px!important;
  height:31px!important;
  flex-basis:31px!important;
  font-size:14px!important;
}
body.topic-view-page .topic-meta-chip>span{
  gap:2px!important;
}
body.topic-view-page .topic-meta-chip b{
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body.topic-view-page .topic-actions-premium button,
body.topic-view-page .topic-actions-premium a{
  min-height:38px!important;
  padding:0 13px!important;
  font-size:11px!important;
  font-weight:850!important;
}

/* Informacje autora przy każdym poście. */
body.topic-view-page .post-head-v27{
  min-height:70px!important;
  padding:13px 16px!important;
  align-items:center!important;
}
body.topic-view-page .post-user-v27{
  gap:12px!important;
}
body.topic-view-page .post-avatar-profile-link{
  display:inline-flex!important;
  flex:0 0 auto!important;
  border-radius:50%!important;
  text-decoration:none!important;
  outline:none!important;
}
body.topic-view-page .post-user-v27 .avatar-md{
  width:46px!important;
  height:46px!important;
  font-size:12px!important;
  border-color:#70502f!important;
  box-shadow:0 0 0 2px rgba(255,143,25,.04),0 7px 18px rgba(0,0,0,.18)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
body.topic-view-page .post-avatar-profile-link:hover .avatar-md,
body.topic-view-page .post-avatar-profile-link:focus-visible .avatar-md{
  transform:translateY(-1px) scale(1.055)!important;
  border-color:#b16b25!important;
  box-shadow:0 0 0 3px rgba(255,142,20,.07),0 10px 25px rgba(0,0,0,.26),0 0 20px rgba(255,133,18,.07)!important;
  filter:brightness(1.07)!important;
}
body.topic-view-page .post-user-line{
  gap:6px!important;
}
body.topic-view-page .post-user-line>a{
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:-.005em!important;
}
body.topic-view-page .post-user-line .role-pill,
body.topic-view-page .post-user-line .level-pill,
body.topic-view-page .post-user-line .coins-pill,
body.topic-view-page .post-user-line .author-pill{
  min-height:20px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:3px 6px!important;
  border-radius:4px!important;
  font-size:8.5px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
}
body.topic-view-page .post-user-copy>small{
  margin-top:5px!important;
  color:#927356!important;
  font-size:10.5px!important;
  line-height:1.3!important;
  font-weight:650!important;
}

/* Avatar użytkownika zachowuje się jak element interaktywny także tam, gdzie renderer
   nie opakował go jeszcze linkiem (np. ostatni autor / listy / starsze moduły). */
.avatar-wrap[data-profile-avatar="1"]{
  cursor:pointer;
}
.avatar-wrap[data-profile-avatar="1"] .avatar{
  image-rendering:auto!important;
  -ms-interpolation-mode:bicubic;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.avatar-wrap[data-profile-avatar="1"]:hover .avatar{
  filter:brightness(1.06);
}

/* Avatar autora po lewej na liście wątków: klik prowadzi do profilu, ale wygląd zostaje spójny. */
body.forum-category-page .topic-thumb-avatar[data-profile-avatar="1"]{
  cursor:pointer!important;
}
body.forum-category-page .topic-thumb-avatar[data-profile-avatar="1"]:hover img{
  transform:scale(1.055)!important;
  filter:brightness(1.08)!important;
}

@media(max-width:860px){
  body.topic-view-page .topic-page-head-premium{padding:18px!important}
  body.topic-view-page .topic-page-head-premium h1{font-size:27px!important}
  body.topic-view-page .topic-author-link,body.topic-view-page .topic-meta-chip{min-height:54px!important;padding:8px 10px!important}
  body.topic-view-page .topic-author-link{min-width:190px!important}
  body.topic-view-page .topic-meta-chip{min-width:116px!important}
  body.topic-view-page .post-user-v27 .avatar-md{width:43px!important;height:43px!important}
  body.topic-view-page .post-user-line>a{font-size:13px!important}
  body.topic-view-page .post-user-copy>small{font-size:10px!important}
}

/* ==========================================================
   V2.56 · Premium top navigation refresh
   Crisp CSS-only icons, smoother typography and richer hover.
   ========================================================== */
.topbar{
  height:70px!important;
  background:
    radial-gradient(circle at 82% -45%,rgba(255,137,0,.115),transparent 31%),
    linear-gradient(180deg,rgba(24,17,9,.975),rgba(18,13,7,.985))!important;
  border-bottom:1px solid rgba(111,75,37,.42)!important;
  box-shadow:0 10px 32px rgba(0,0,0,.22),inset 0 -1px rgba(255,255,255,.018)!important;
  backdrop-filter:blur(16px) saturate(1.12)!important;
  -webkit-backdrop-filter:blur(16px) saturate(1.12)!important;
  isolation:isolate;
}
.topbar::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.9;
  background:
    linear-gradient(90deg,transparent 0 7%,rgba(255,255,255,.014) 20%,transparent 37%),
    radial-gradient(ellipse at 70% 100%,rgba(255,141,20,.045),transparent 34%);
}
.topbar::after{
  bottom:0!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent 1%,rgba(126,82,37,.24) 14%,rgba(255,143,21,.36) 50%,rgba(126,82,37,.24) 86%,transparent 99%)!important;
}
.topbar-inner{
  height:70px!important;
  gap:27px!important;
  width:min(1318px,calc(100% - 36px))!important;
}

/* smoother text rendering in the header only */
.topbar,.topbar a,.topbar button,.topbar span,.topbar b{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:geometricPrecision;
  font-kerning:normal;
  font-synthesis:none;
}

.brand{
  min-width:45px!important;
  height:54px!important;
  border-radius:10px;
  transition:transform .22s cubic-bezier(.2,.75,.25,1),filter .22s ease!important;
}
.brand-v{
  font-size:33px!important;
  font-weight:950!important;
  letter-spacing:-7px!important;
  color:#fff!important;
  text-shadow:0 2px 15px rgba(255,255,255,.08);
}
.brand-mini{
  margin-top:4px!important;
  font-size:7.5px!important;
  line-height:1!important;
  letter-spacing:3.2px!important;
  color:#d8c8b5!important;
}
.brand:hover{
  transform:translateY(-1px) scale(1.025)!important;
  filter:drop-shadow(0 8px 17px rgba(255,143,21,.19))!important;
}
.brand.has-custom-logo{height:62px!important}
.brand-custom-logo{max-height:58px!important}

.main-nav{
  gap:7px!important;
  align-self:stretch;
}
.main-nav a{
  min-height:70px;
  padding:0 12px!important;
  gap:8px!important;
  border-radius:8px;
  color:#d8cec2!important;
  font-size:13.5px!important;
  line-height:1!important;
  font-weight:720!important;
  letter-spacing:-.015em;
  position:relative;
  transition:color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.main-nav a::after{
  left:12px!important;
  right:12px!important;
  bottom:7px!important;
  height:2px!important;
  background:linear-gradient(90deg,transparent,#ff8e10 28%,#ffb04d 70%,transparent)!important;
  box-shadow:0 0 12px rgba(255,137,0,.42);
  transform:scaleX(.32)!important;
  opacity:0!important;
}
.main-nav a:hover,.main-nav a:focus-visible{
  color:#fff!important;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,139,13,.055))!important;
  box-shadow:inset 0 0 0 1px rgba(255,153,41,.055)!important;
  transform:translateY(-1px)!important;
  outline:none;
}
.main-nav a:hover::after,.main-nav a:focus-visible::after{opacity:1!important;transform:scaleX(1)!important}

/* replace low-resolution text glyphs with CSS vector masks */
.main-nav a>span{
  display:inline-grid!important;
  place-items:center;
  width:18px!important;
  height:18px!important;
  flex:0 0 18px;
  color:#bcb0a2!important;
  font-size:0!important;
  line-height:0!important;
}
.main-nav a>span::before{
  content:"";
  width:17px;
  height:17px;
  display:block;
  background:currentColor;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  mask-size:contain;
  transition:background-color .18s ease,transform .18s ease,filter .18s ease;
}
.main-nav a:nth-child(1)>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}
.main-nav a:nth-child(2)>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E");
}
.main-nav a:nth-child(3)>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3Cpath d='M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3Cpath d='M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2'/%3E%3C/svg%3E");
}
.main-nav a:nth-child(4)>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20 13 11 22l-9-9V4h9l9 9Z'/%3E%3Ccircle cx='7' cy='9' r='1.5' fill='black' stroke='none'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20 13 11 22l-9-9V4h9l9 9Z'/%3E%3Ccircle cx='7' cy='9' r='1.5' fill='black' stroke='none'/%3E%3C/svg%3E");
}
.main-nav a:nth-child(5)>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8h10a5 5 0 0 1 4.7 6.7l-1.1 3A2 2 0 0 1 17.2 19l-2.1-2H8.9l-2.1 2a2 2 0 0 1-3.4-1.3l-1.1-3A5 5 0 0 1 7 8Z'/%3E%3Cpath d='M8 12v4M6 14h4M16 13h.01M19 15h.01'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8h10a5 5 0 0 1 4.7 6.7l-1.1 3A2 2 0 0 1 17.2 19l-2.1-2H8.9l-2.1 2a2 2 0 0 1-3.4-1.3l-1.1-3A5 5 0 0 1 7 8Z'/%3E%3Cpath d='M8 12v4M6 14h4M16 13h.01M19 15h.01'/%3E%3C/svg%3E");
}
.main-nav a:nth-child(6)>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M22 12h-3M12 22v-3M2 12h3'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M22 12h-3M12 22v-3M2 12h3'/%3E%3C/svg%3E");
}
.main-nav a:hover>span,.main-nav a:focus-visible>span{color:#ff9a18!important}
.main-nav a:hover>span::before,.main-nav a:focus-visible>span::before{transform:translateY(-1px) scale(1.06);filter:drop-shadow(0 0 5px rgba(255,137,0,.35))}

.top-actions{
  gap:8px!important;
  margin-left:auto;
}
.icon-btn,.coin-btn,.user-trigger{
  height:42px!important;
  min-width:42px!important;
  border-radius:8px!important;
  border:1px solid rgba(90,65,40,.48)!important;
  background:linear-gradient(180deg,rgba(45,33,23,.78),rgba(31,23,16,.88))!important;
  color:#cfc3b7!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 5px 14px rgba(0,0,0,.10)!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.icon-btn:hover,.coin-btn:hover,.user-trigger:hover{
  color:#fff!important;
  border-color:rgba(255,148,28,.42)!important;
  background:linear-gradient(180deg,rgba(56,39,24,.92),rgba(37,26,17,.96))!important;
  box-shadow:0 8px 22px rgba(0,0,0,.22),0 0 0 1px rgba(255,137,0,.06),inset 0 1px rgba(255,183,83,.06)!important;
  transform:translateY(-1px)!important;
}
.icon-btn:focus-visible,.coin-btn:focus-visible,.user-trigger:focus-visible{
  outline:2px solid rgba(255,146,22,.45);
  outline-offset:2px;
}

.icon-btn{
  font-size:0!important;
  overflow:visible;
}
.icon-btn::before,.coin-btn::before,.search-drawer button::before{
  content:"";
  display:block;
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  mask-size:contain;
}
.top-actions>.icon-btn:nth-of-type(1)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
}
.top-actions>.icon-btn:nth-of-type(2)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z'/%3E%3C/svg%3E");
}
.top-actions>a.icon-btn:not(.notify-btn)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}
.top-actions>a.notify-btn::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
}
.notify-btn b{
  right:-4px!important;
  top:-7px!important;
  min-width:17px;
  height:17px;
  display:grid;
  place-items:center;
  padding:0 4px!important;
  border:2px solid #171007;
  background:#b85d00!important;
  color:#ffe1af!important;
  font-size:8.5px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 3px 8px rgba(0,0,0,.3);
}

.coin-btn{
  min-width:68px!important;
  padding:0 12px!important;
  gap:7px!important;
  color:#ffc319!important;
  font-size:0!important;
  font-weight:900!important;
}
.coin-btn::before{
  width:17px;
  height:17px;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.coin-btn>span{
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.01em;
}

.user-trigger{
  width:44px!important;
  min-width:44px!important;
  padding:2px!important;
  border-radius:9px!important;
}
.user-trigger .avatar-sm{
  width:36px!important;
  height:36px!important;
  border:1px solid rgba(255,145,21,.30)!important;
  box-shadow:0 0 0 2px rgba(0,0,0,.22),0 0 14px rgba(255,137,0,.05);
}
.user-trigger:hover .avatar-sm{border-color:rgba(255,160,45,.68)!important;box-shadow:0 0 0 2px rgba(255,137,0,.07),0 0 17px rgba(255,137,0,.14)}

.login-link{
  font-size:13.5px!important;
  font-weight:760!important;
  color:#ddd0c1!important;
  padding:10px 6px;
}
.login-link:hover{color:#fff!important}
.top-actions>.btn-primary{
  min-height:39px;
  border-radius:7px!important;
  font-size:12.5px!important;
  padding-inline:14px!important;
}

.search-drawer{
  top:70px!important;
  background:rgba(25,17,10,.97)!important;
  border-bottom:1px solid rgba(111,75,37,.42)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.search-drawer form{max-width:760px}
.search-drawer input{
  min-height:44px;
  border-color:#4b3521!important;
  background:#120d08!important;
  color:#f5eee6!important;
  font-size:13.5px!important;
  padding-inline:15px!important;
}
.search-drawer input:focus{outline:none;border-color:#8a5927!important;box-shadow:0 0 0 3px rgba(255,137,0,.07)}
.search-drawer button{
  width:48px!important;
  font-size:0!important;
  color:#ff9b1c!important;
  display:grid;
  place-items:center;
}
.search-drawer button::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
}

.user-dropdown{top:66px!important}

@media(max-width:1050px){
  .topbar-inner{gap:14px!important}
  .main-nav{gap:1px!important}
  .main-nav a{padding-inline:8px!important;font-size:12.5px!important}
}
@media(max-width:780px){
  .topbar{height:64px!important;min-height:64px!important}
  .topbar-inner{height:64px!important;width:min(100% - 20px,1318px)!important}
  .search-drawer{top:64px!important}
  .icon-btn,.coin-btn,.user-trigger{height:40px!important;min-width:40px!important}
  .coin-btn{min-width:62px!important}
  .user-trigger{width:42px!important}
  .user-dropdown{top:60px!important}
}
@media(max-width:500px){
  .top-actions{gap:5px!important}
  .coin-btn{padding-inline:9px!important}
}

/* ==== V2.57 · home forum columns alignment + readable category headers ==== */
@media (min-width:781px){
  body.home-page .forum-block-head{
    grid-template-columns:40px minmax(0,1fr) 357px 34px!important;
    gap:12px!important;
    min-height:62px!important;
    padding:0 14px 0 16px!important;
    align-items:center!important;
  }

  body.home-page .forum-cat-icon{
    width:34px!important;
    height:34px!important;
  }

  body.home-page .forum-cat-title{
    align-items:center!important;
    gap:10px!important;
  }

  body.home-page .forum-cat-title strong,
  body.home-page .forum-block-head>strong{
    font-size:12px!important;
    line-height:1.2!important;
    letter-spacing:.11em!important;
    font-weight:850!important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
  }

  body.home-page .forum-cat-title small{
    font-size:9.5px!important;
    line-height:1.2!important;
    color:#8b7053!important;
  }

  body.home-page .forum-cat-columns{
    width:357px!important;
    display:grid!important;
    grid-template-columns:95px 250px!important;
    gap:12px!important;
    align-items:center!important;
    justify-items:stretch!important;
    color:#9a7d5d!important;
    font-size:9.5px!important;
    line-height:1!important;
    letter-spacing:.115em!important;
    font-weight:850!important;
    text-transform:uppercase!important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
  }

  body.home-page .forum-cat-columns span:first-child{
    width:95px!important;
    text-align:center!important;
    justify-self:stretch!important;
  }

  body.home-page .forum-cat-columns span:last-child{
    width:250px!important;
    text-align:center!important;
    justify-self:stretch!important;
    padding-right:28px!important;
  }

  body.home-page .forum-block .forum-row{
    grid-template-columns:40px minmax(0,1fr) 95px 250px!important;
    gap:12px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  body.home-page .forum-count{
    width:95px!important;
    min-width:95px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:stretch!important;
    text-align:center!important;
    padding:8px 0!important;
  }

  body.home-page .forum-count b{
    font-size:17px!important;
    line-height:1!important;
    font-weight:850!important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
  }

  body.home-page .forum-count span{
    font-size:8.5px!important;
    line-height:1.1!important;
    margin-top:5px!important;
    letter-spacing:.12em!important;
    color:#80684c!important;
  }

  body.home-page .forum-last{
    width:250px!important;
    min-width:0!important;
    position:relative!important;
    padding:7px 38px 7px 14px!important;
    overflow:hidden!important;
  }

  body.home-page .forum-last strong{
    font-size:12.5px!important;
    line-height:1.2!important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
  }

  body.home-page .forum-last span{
    font-size:9.5px!important;
    line-height:1.2!important;
  }

  /* Previous arrow was positioned relative to the whole row and could leave the last-thread column. */
  body.home-page .forum-block .forum-row::after{
    content:none!important;
    display:none!important;
  }

  body.home-page .forum-last::after{
    content:'›';
    position:absolute;
    right:12px;
    top:50%;
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    border-radius:7px;
    border:1px solid transparent;
    background:transparent;
    color:#ff9b1b;
    font-size:19px;
    line-height:1;
    font-weight:700;
    opacity:0;
    transform:translate(-5px,-50%);
    transition:opacity .22s ease,transform .22s var(--v22-ease),background .22s ease,border-color .22s ease;
    pointer-events:none;
  }

  body.home-page .forum-row:hover .forum-last::after{
    opacity:.95;
    transform:translate(0,-50%);
    border-color:rgba(255,141,8,.18);
    background:rgba(255,141,8,.07);
  }
}

@media (min-width:781px) and (max-width:1050px){
  body.home-page .forum-block-head{
    grid-template-columns:40px minmax(0,1fr) 292px 34px!important;
  }
  body.home-page .forum-cat-columns{
    width:292px!important;
    grid-template-columns:82px 198px!important;
  }
  body.home-page .forum-cat-columns span:first-child{width:82px!important}
  body.home-page .forum-cat-columns span:last-child{width:198px!important}
  body.home-page .forum-block .forum-row{
    grid-template-columns:40px minmax(0,1fr) 82px 198px!important;
  }
  body.home-page .forum-count{width:82px!important;min-width:82px!important}
  body.home-page .forum-last{width:198px!important}
}

/* ==== V2.58 · premium user dropdown directly under avatar + CSS line icons ==== */
.user-dropdown.v258-user-dropdown{
  top:100%!important;
  right:max(17px,calc((100vw - min(1318px,calc(100vw - 36px)))/2))!important;
  width:224px!important;
  max-height:calc(100vh - 82px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  background:
    radial-gradient(circle at 88% 0,rgba(255,143,18,.055),transparent 34%),
    linear-gradient(180deg,rgba(38,27,18,.985),rgba(28,20,13,.99))!important;
  border:1px solid rgba(113,77,40,.58)!important;
  border-top-color:rgba(255,153,35,.22)!important;
  border-radius:0 0 8px 8px!important;
  box-shadow:0 24px 54px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.025)!important;
  scrollbar-width:thin;
  scrollbar-color:#65421e transparent;
  transform-origin:top right;
}
.user-dropdown.v258-user-dropdown.open{animation:v258UserDropdownIn .18s cubic-bezier(.2,.78,.2,1) both}
@keyframes v258UserDropdownIn{from{opacity:0;transform:translateY(-7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.user-dropdown.v258-user-dropdown::-webkit-scrollbar{width:5px}
.user-dropdown.v258-user-dropdown::-webkit-scrollbar-thumb{background:#65421e;border-radius:8px}
.user-dropdown.v258-user-dropdown::before{
  content:"";
  position:absolute;
  top:-7px;
  right:16px;
  width:12px;
  height:12px;
  background:#291d13;
  border-left:1px solid rgba(113,77,40,.58);
  border-top:1px solid rgba(113,77,40,.58);
  transform:rotate(45deg);
  z-index:2;
}

.v258-user-dropdown .ud-level{
  position:relative;
  z-index:3;
  min-height:53px;
  padding:10px 11px 8px!important;
  display:grid!important;
  grid-template-columns:82px 1fr!important;
  gap:9px!important;
  align-items:center!important;
  border-bottom:1px solid rgba(94,65,37,.34);
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent);
}
.v258-user-dropdown .level-chip{
  position:relative;
  height:29px;
  padding:0 8px!important;
  display:grid!important;
  grid-template-columns:14px 15px 1fr!important;
  gap:4px!important;
  align-items:center!important;
  overflow:hidden;
  border:1px solid rgba(66,127,191,.48)!important;
  border-radius:4px!important;
  background:linear-gradient(180deg,#1a2b3d,#142232)!important;
  color:#6fb4ff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 4px 12px rgba(0,0,0,.15);
}
.v258-user-dropdown .level-chip b{font-size:11px;line-height:1;color:#75b7ff}
.v258-user-dropdown .ud-level-line{
  height:2px;
  border-radius:4px;
  background:rgba(83,122,162,.35);
  overflow:hidden;
}
.v258-user-dropdown .ud-level-line::after{
  content:"";
  display:block;
  width:var(--ud-level-progress,0%);
  height:100%;
  border-radius:inherit;
  background:#5caaff;
  box-shadow:0 0 7px rgba(79,164,255,.5);
}
.v258-user-dropdown .ud-level-copy{min-width:0}
.v258-user-dropdown .ud-level-copy strong{
  margin:0!important;
  display:block;
  color:#efe7dc!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:-.01em;
}
.v258-user-dropdown .ud-level-copy small{
  margin-top:2px;
  display:block;
  color:#856f58!important;
  font-size:9.5px!important;
  line-height:1.15!important;
}

.v258-user-dropdown .ud-stats{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  padding:9px 10px 8px!important;
}
.v258-user-dropdown .ud-stat-item{
  min-height:41px;
  display:grid;
  grid-template-columns:18px 1fr;
  align-items:center;
  gap:6px;
  padding:7px 8px;
  border:1px solid rgba(92,65,38,.55);
  border-radius:5px;
  background:linear-gradient(180deg,#302216,#2b1e13);
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.v258-user-dropdown .ud-stat-item:hover{transform:translateY(-1px);border-color:rgba(149,97,37,.7);background:linear-gradient(180deg,#362617,#302116)}
.v258-user-dropdown .ud-stat-item>span{min-width:0}
.v258-user-dropdown .ud-stat-item small{display:block;color:#92795d;font-size:7.5px;line-height:1;text-transform:uppercase;letter-spacing:.08em}
.v258-user-dropdown .ud-stat-item b{display:block;margin-top:3px;color:#f0d29e;font-size:11px;line-height:1;font-weight:850}
.v258-user-dropdown .ud-stat-xp .ud-css-icon{color:#ff9b17}
.v258-user-dropdown .ud-stat-coins .ud-css-icon{color:#d7a72c}

.v258-user-dropdown .daily-menu-btn{
  width:calc(100% - 20px)!important;
  min-height:34px;
  margin:0 10px 8px!important;
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid #674610!important;
  border-radius:4px!important;
  background:linear-gradient(180deg,#50350b,#443006)!important;
  color:#ffc431!important;
  font-size:11px!important;
  font-weight:850!important;
  box-shadow:inset 0 1px rgba(255,224,118,.06)!important;
  transition:transform .16s ease,border-color .16s ease,filter .16s ease!important;
}
.v258-user-dropdown .daily-menu-btn:hover{transform:translateY(-1px);border-color:#966916!important;filter:brightness(1.08)}

.v258-user-dropdown .mission-btn{
  min-height:34px;
  margin:0 9px 8px!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  border:1px solid rgba(109,75,108,.64)!important;
  border-radius:4px!important;
  background:linear-gradient(180deg,#342838,#2d222f)!important;
  color:#c8aaff!important;
  font-size:10.5px!important;
  font-weight:800!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease!important;
}
.v258-user-dropdown .mission-btn:hover{transform:translateY(-1px);border-color:rgba(169,116,171,.72)!important;background:linear-gradient(180deg,#3a2b40,#312535)!important}
.v258-user-dropdown .mission-main{display:flex;align-items:center;gap:8px;min-width:0}
.v258-user-dropdown .mission-btn>.ud-icon-spark{color:#efbb25;width:14px;height:14px}

.v258-user-dropdown .ud-links{padding:1px 6px 7px!important}
.v258-user-dropdown .ud-links a,
.v258-user-dropdown .logout-link{
  position:relative;
  min-height:29px;
  padding:0 9px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  border:1px solid transparent!important;
  border-left:2px solid transparent!important;
  border-radius:4px!important;
  color:#99836a!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:600!important;
  transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease!important;
}
.v258-user-dropdown .ud-links a::after{display:none!important}
.v258-user-dropdown .ud-links a:hover{
  padding-left:9px!important;
  transform:translateX(1px);
  color:#e9dfd2!important;
  border-color:rgba(105,72,39,.32)!important;
  border-left-color:#b66d15!important;
  background:linear-gradient(90deg,rgba(112,66,17,.22),rgba(60,39,24,.18))!important;
}
.v258-user-dropdown .logout-link{
  min-height:38px;
  margin:0!important;
  border-top:1px solid rgba(83,57,34,.48)!important;
  border-radius:0!important;
  color:#ed6862!important;
  padding-left:15px!important;
}
.v258-user-dropdown .logout-link:hover{background:rgba(123,37,31,.12)!important;color:#ff817b!important}

.v258-user-dropdown .ud-css-icon{
  --ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7' fill='black'/%3E%3C/svg%3E");
  width:14px;
  height:14px;
  flex:0 0 14px;
  display:inline-block;
  background:currentColor;
  -webkit-mask-image:var(--ud-icon);
  mask-image:var(--ud-icon);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
  color:#8f765b;
}
.v258-user-dropdown .level-chip .ud-css-icon{width:13px;height:13px;flex-basis:13px;color:#68affb}
.v258-user-dropdown .ud-icon-level{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19V5M6.5 10.5 12 5l5.5 5.5' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-xp{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m13 2-8 12h6l-1 8 9-13h-6z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-coins{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='7' rx='7' ry='4' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M5 7v5c0 2.2 3.1 4 7 4s7-1.8 7-4V7M5 12v5c0 2.2 3.1 4 7 4s7-1.8 7-4v-5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-gift{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 10h16v10H4zM3 6h18v4H3zM12 6v14M12 6H8.5A2.5 2.5 0 1 1 11 3.5zM12 6h3.5A2.5 2.5 0 1 0 13 3.5z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-trophy{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4h8v4c0 4-2 6-4 6s-4-2-4-6zM8 6H4v2c0 3 2 4 5 4M16 6h4v2c0 3-2 4-5 4M12 14v4M8 21h8M9 18h6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-spark{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 1.8 5.2L19 9l-5.2 1.8L12 16l-1.8-5.2L5 9l5.2-1.8zM19 15l.9 2.6L22.5 19l-2.6.9L19 22.5l-.9-2.6-2.6-.9 2.6-.9z' fill='black'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-profile{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M5.5 20c.7-4 3-6 6.5-6s5.8 2 6.5 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-friends{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm7-1a2.5 2.5 0 1 0 0-5M3.5 19c.5-3.5 2.4-5.5 5.5-5.5s5 2 5.5 5.5M14 13.7c3.4-.5 5.6 1.2 6.5 4.8' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-following{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='3' fill='black'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-chat{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-shop{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9h14l-1 11H6zM8 9a4 4 0 0 1 8 0' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-badge{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m9 13-1 8 4-2 4 2-1-8' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-apps{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5h5v5H5zM14 5h5v5h-5zM5 14h5v5H5zM14 14h5v5h-5z' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-ranking{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4h8v4c0 4-2 6-4 6S8 12 8 8zM8 6H4v2c0 3 2 4 5 4M16 6h4v2c0 3-2 4-5 4M12 14v4M8 21h8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-cards{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='4' width='12' height='16' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m10 12 2-2 2 2-2 2z' fill='black'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-album{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5h14v14H5zM8 5v14M11 9h5M11 13h5' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-inventory{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 8 8-4 8 4-8 4zM4 8v8l8 4 8-4V8M12 12v8' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-auctions{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14 5 5 5M7 12l5 5M12 7l5 5-7 7-5-5zM4 20h9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-messages{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='6' width='16' height='12' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4 8 8 6 8-6' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-bookmarks{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h10v17l-5-3-5 3z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-report{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9 9 9 0 0 0-9-9Zm0 5v5m0 3h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-settings{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6 7 7M17 17l1.4 1.4M18.4 5.6 17 7M7 17l-1.4 1.4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-admin{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14 6 4-4 4 4-4 4M3 21l8-8M12 5l7 7M5 12l7 7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.v258-user-dropdown .ud-icon-logout{--ud-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 5H5v14h5M14 8l4 4-4 4M18 12H9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

@media(max-width:780px){
  .user-dropdown.v258-user-dropdown{
    top:100%!important;
    right:10px!important;
    width:min(224px,calc(100vw - 20px))!important;
    max-height:calc(100vh - 70px)!important;
  }
}

/* ==== V2.59 · homepage forum readability + aligned columns + premium collapse controls ==== */

/* Exact header/row column alignment on desktop.
   The collapse button is absolutely positioned so it no longer steals width
   from the WĄTKI / OSTATNI WĄTEK headings. */
@media (min-width:781px){
  body.home-page .forum-block-head{
    position:relative!important;
    grid-template-columns:40px minmax(0,1fr) 357px!important;
    gap:12px!important;
    min-height:64px!important;
    padding:0 62px 0 16px!important;
    align-items:center!important;
  }
  body.home-page .forum-cat-columns{
    grid-column:3!important;
    width:357px!important;
    display:grid!important;
    grid-template-columns:95px 250px!important;
    gap:12px!important;
    align-items:center!important;
    justify-items:stretch!important;
    margin:0!important;
  }
  body.home-page .forum-cat-columns span:first-child{
    width:95px!important;
    text-align:center!important;
    justify-self:stretch!important;
    padding:0!important;
    transform:none!important;
  }
  body.home-page .forum-cat-columns span:last-child{
    width:250px!important;
    text-align:center!important;
    justify-self:stretch!important;
    padding:0 30px 0 0!important;
  }
  body.home-page .forum-block-head>button{
    position:absolute!important;
    right:14px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:3!important;
  }
  body.home-page .forum-block.is-collapsed .forum-block-head>button{
    transform:translateY(-50%)!important;
  }
}

@media (min-width:781px) and (max-width:1050px){
  body.home-page .forum-block-head{
    grid-template-columns:40px minmax(0,1fr) 292px!important;
  }
  body.home-page .forum-cat-columns{
    width:292px!important;
    grid-template-columns:82px 198px!important;
  }
  body.home-page .forum-cat-columns span:first-child{width:82px!important}
  body.home-page .forum-cat-columns span:last-child{width:198px!important;padding-right:24px!important}
}

/* Clearer main group bars */
body.home-page .forum-block-head{
  border-bottom-color:rgba(255,139,20,.24)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 20px rgba(0,0,0,.08);
}
body.home-page .forum-cat-title strong{
  font-size:12.8px!important;
  font-weight:900!important;
  letter-spacing:.105em!important;
  color:#fff8ef!important;
  text-shadow:0 1px 1px rgba(0,0,0,.7);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:geometricPrecision;
}
body.home-page .forum-cat-title small{
  font-size:9.8px!important;
  font-weight:750!important;
  color:#9a7d5b!important;
}
body.home-page .forum-cat-columns{
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  color:#a78a68!important;
  text-shadow:0 1px rgba(0,0,0,.45);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* One premium collapse/expand language for forum bars */
body.home-page .forum-block-head>button{
  width:32px!important;
  height:32px!important;
  padding:0!important;
  border-radius:9px!important;
  border:1px solid rgba(136,88,40,.48)!important;
  background:linear-gradient(180deg,rgba(52,34,20,.96),rgba(34,23,15,.98))!important;
  color:transparent!important;
  font-size:0!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 7px 18px rgba(0,0,0,.15)!important;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease!important;
}
body.home-page .forum-block-head>button::before{
  content:'';
  width:14px;
  height:14px;
  display:block;
  background:#d3b48c;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),background .2s ease;
}
body.home-page .forum-block-head>button:hover{
  border-color:rgba(255,146,26,.7)!important;
  background:linear-gradient(180deg,rgba(70,43,20,.98),rgba(43,27,15,.98))!important;
  box-shadow:0 0 0 3px rgba(255,137,0,.055),0 9px 24px rgba(0,0,0,.22)!important;
}
body.home-page .forum-block-head>button:hover::before{background:#ffad3d;transform:translateY(-1px)}
body.home-page .forum-block.is-collapsed .forum-block-head>button::before,
body.home-page .forum-block-head>button[aria-expanded="false"]::before{transform:rotate(180deg)}
body.home-page .forum-block.is-collapsed .forum-block-head>button:hover::before,
body.home-page .forum-block-head>button[aria-expanded="false"]:hover::before{transform:rotate(180deg) translateY(1px)}

/* Sharper, more readable forum/subforum rows */
body.home-page .forum-block .forum-row{
  min-height:80px!important;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s cubic-bezier(.2,.8,.2,1),max-height .34s var(--v22-ease),padding .34s var(--v22-ease),opacity .24s ease!important;
}
body.home-page .forum-main strong{
  font-size:15px!important;
  line-height:1.22!important;
  font-weight:850!important;
  letter-spacing:-.012em!important;
  color:#f8f2ea!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body.home-page .forum-main p{
  margin-top:4px!important;
  font-size:11.4px!important;
  line-height:1.35!important;
  color:#927758!important;
  -webkit-font-smoothing:antialiased;
}
body.home-page .forum-row:hover .forum-main strong{color:#fff!important;text-shadow:0 0 16px rgba(255,151,35,.10)}
body.home-page .forum-row:hover .forum-main p{color:#b29572!important}
body.home-page .mini-tags{margin-top:6px!important;gap:5px!important}
body.home-page .mini-tags span{
  font-size:9px!important;
  line-height:1!important;
  font-weight:750!important;
  padding:4px 7px!important;
  border-radius:5px!important;
}

/* Make the database-provided category icons cleaner and more pronounced. */
body.home-page .forum-icon{
  width:40px!important;
  height:40px!important;
  border-radius:10px!important;
  font-size:18px!important;
  line-height:1!important;
  font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",system-ui,sans-serif!important;
  background:
    radial-gradient(circle at 50% 40%,rgba(255,151,34,.095),transparent 58%),
    linear-gradient(145deg,#302319,#21170f)!important;
  border:1px solid rgba(139,93,48,.34)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 18px rgba(0,0,0,.18)!important;
  filter:saturate(1.14) contrast(1.04);
  text-shadow:0 1px 1px rgba(0,0,0,.55);
  transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s ease,background .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
body.home-page .forum-row:hover .forum-icon{
  transform:translateY(-2px) scale(1.06)!important;
  filter:saturate(1.3) brightness(1.08) contrast(1.05)!important;
  border-color:rgba(255,147,26,.48)!important;
  box-shadow:0 0 0 3px rgba(255,137,0,.045),0 10px 24px rgba(0,0,0,.22)!important;
}

/* Thread counter and last-thread card typography */
body.home-page .forum-count b{
  font-size:18px!important;
  font-weight:900!important;
  color:#fffaf4!important;
  -webkit-font-smoothing:antialiased;
}
body.home-page .forum-count span{
  font-size:8.8px!important;
  font-weight:850!important;
  color:#896f52!important;
}
body.home-page .forum-last{
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.home-page .forum-last strong{
  font-size:12.8px!important;
  font-weight:850!important;
  color:#f2e9de!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.home-page .forum-last span{
  font-size:9.7px!important;
  color:#8e7152!important;
}
body.home-page .forum-last::after{right:9px!important}
body.home-page .forum-row:hover .forum-last::after{right:9px!important}

/* Ostatnio aktywni: crisp CSS/SVG icon instead of a fuzzy glyph. */
.active-section-v28 .active-head-icon{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  font-size:0!important;
  background:linear-gradient(145deg,#123529,#0d241c)!important;
  border:1px solid rgba(33,135,91,.46)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 0 22px rgba(17,201,120,.08)!important;
}
.active-section-v28 .active-head-icon::before{
  content:'';
  width:18px;
  height:18px;
  display:block;
  background:#24d78b;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  filter:drop-shadow(0 0 7px rgba(36,215,139,.22));
}
.active-section-v28 .active-head h2{
  font-size:20px!important;
  font-weight:850!important;
  -webkit-font-smoothing:antialiased;
}

/* Chatbox: use the same premium chevron treatment as category bars. */
.chatbox-card>header button:last-child{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  padding:0!important;
  border-radius:9px!important;
  border:1px solid rgba(136,88,40,.48)!important;
  background:linear-gradient(180deg,rgba(52,34,20,.96),rgba(34,23,15,.98))!important;
  color:transparent!important;
  font-size:0!important;
  display:inline-grid!important;
  place-items:center!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 7px 18px rgba(0,0,0,.15)!important;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
.chatbox-card>header button:last-child::before{
  content:'';
  width:14px;
  height:14px;
  display:block;
  background:#d3b48c;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),background .2s ease;
}
.chatbox-card>header button:last-child:hover{
  border-color:rgba(255,146,26,.7)!important;
  background:linear-gradient(180deg,rgba(70,43,20,.98),rgba(43,27,15,.98))!important;
  box-shadow:0 0 0 3px rgba(255,137,0,.055),0 9px 24px rgba(0,0,0,.22)!important;
  transform:translateY(-1px)!important;
}
.chatbox-card>header button:last-child:hover::before{background:#ffad3d}
.chatbox-card.is-collapsed>header button:last-child::before,
.chatbox-card>header button:last-child[aria-expanded="false"]::before{transform:rotate(180deg)}

/* Keep mobile layout compact and prevent the desktop alignment fix from fighting the responsive view. */
@media(max-width:780px){
  body.home-page .forum-block-head{padding-right:52px!important;position:relative!important}
  body.home-page .forum-block-head>button{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important}
  body.home-page .forum-block.is-collapsed .forum-block-head>button{transform:translateY(-50%)!important}
  body.home-page .forum-main strong{font-size:14px!important}
  body.home-page .forum-main p{font-size:10.8px!important}
  body.home-page .forum-icon{width:36px!important;height:36px!important;font-size:16px!important}
}

/* ==== V2.60 · forum bars: thread heading alignment + exact collapse ==== */
@media (min-width:781px){
  /* WĄTKI było optycznie zbyt blisko lewej krawędzi swojej kolumny. */
  body.home-page .forum-cat-columns span:first-child{
    transform:translateX(12px)!important;
  }

  /* Ikona zwijania zawsze idealnie pośrodku własnego kafelka. */
  body.home-page .forum-block-head>button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  body.home-page .forum-block-head>button::before{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    margin:0!important;
    transform:translate(-50%,-50%)!important;
    transform-origin:50% 50%!important;
  }
  body.home-page .forum-block-head>button:hover::before{
    transform:translate(-50%,-50%)!important;
  }
  body.home-page .forum-block.is-collapsed .forum-block-head>button::before,
  body.home-page .forum-block-head>button[aria-expanded="false"]::before{
    transform:translate(-50%,-50%) rotate(180deg)!important;
  }
  body.home-page .forum-block.is-collapsed .forum-block-head>button:hover::before,
  body.home-page .forum-block-head>button[aria-expanded="false"]:hover::before{
    transform:translate(-50%,-50%) rotate(180deg)!important;
  }
}

@media (min-width:781px) and (max-width:1050px){
  body.home-page .forum-cat-columns span:first-child{
    transform:translateX(8px)!important;
  }
}

/* V2.59 nadawało wierszom min-height:80px!important, przez co po zwinięciu
   zostawała pusta część kafelka. W stanie collapsed zostaje wyłącznie belka. */
body.home-page .forum-block.is-collapsed{
  overflow:hidden!important;
}
body.home-page .forum-block.is-collapsed .forum-block-head{
  border-bottom-color:transparent!important;
}
body.home-page .forum-block.is-collapsed .forum-block-head::after{
  opacity:0!important;
}
body.home-page .forum-block.is-collapsed .forum-row{
  min-height:0!important;
  height:0!important;
  max-height:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  border-top-width:0!important;
  border-bottom-width:0!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:none!important;
  overflow:hidden!important;
}

/* ==== V2.61 · WĄTKI header aligned exactly with thread-count column ==== */
@media (min-width:781px){
  body.home-page .forum-cat-columns span:first-child{
    transform:translateX(46px)!important;
  }
}

/* VForum V2.62 — kolory nazw użytkowników wg grup */
.user-name-role{color:var(--user-role-color,#ff9300)!important;font:inherit;font-weight:inherit;text-decoration:inherit;text-shadow:0 0 14px color-mix(in srgb,var(--user-role-color,#ff9300) 16%,transparent);transition:color .16s ease,filter .16s ease,text-shadow .16s ease}.user-name-role-user{--user-role-color:#ff9300}.user-name-role-uploader{--user-role-color:#6c75ff}.user-name-role-moderator{--user-role-color:#cadb30}.user-name-role-super_moderator{--user-role-color:#2fe56b}.user-name-role-admin{--user-role-color:#ff5e5e}.user-name-role-superadmin{--user-role-color:#ffc247}.user-name-role-legal{--user-role-color:#43c7e8}.user-name-role-restricted{--user-role-color:#ff8a65}a:hover .user-name-role{filter:brightness(1.16);text-shadow:0 0 16px color-mix(in srgb,var(--user-role-color,#ff9300) 28%,transparent)}.role-superadmin{color:#ffc247;border-color:#7a5a19;background:#34270f}.role-legal{color:#43c7e8;border-color:#246878;background:#102b31}.role-restricted{color:#ff8a65;border-color:#7b4334;background:#351c17}.role-user{color:#ff9300;border-color:#754611;background:#38230d}

/* ==========================================================
   VForum V2.63 · czytelniejszy widok tematu + aktywne PW
   ========================================================== */

/* Treść posta: większy kontrast, oddech i typografia. */
body.topic-view-page .post-content-v27{
  min-height:170px!important;
  padding:25px 28px 30px!important;
  color:#eadfd2!important;
  font-size:14px!important;
  line-height:1.78!important;
  font-weight:450!important;
  letter-spacing:.004em!important;
  background:
    radial-gradient(circle at 4% 0%,rgba(255,147,32,.035),transparent 28%),
    linear-gradient(180deg,rgba(37,27,18,.84),rgba(31,22,15,.9))!important;
}
body.topic-view-page .post-content-v27 a{font-weight:700!important}
body.topic-view-page .post-content-v27 strong{color:#fff1df!important;font-weight:850!important}
body.topic-view-page .post-content-v27 blockquote{font-size:13.5px!important;line-height:1.7!important}
body.topic-view-page .post-content-v27 br{line-height:1.95!important}

/* Panel autora posta: lekko większy i łatwiejszy do skanowania wzrokiem. */
body.topic-view-page .post-head-v27{
  min-height:80px!important;
  padding:15px 18px!important;
  background:linear-gradient(180deg,rgba(49,37,26,.96),rgba(40,29,20,.96))!important;
  border-bottom:1px solid #4b3522!important;
}
body.topic-view-page .post-user-v27{gap:14px!important}
body.topic-view-page .post-user-v27 .avatar-md{
  width:50px!important;
  height:50px!important;
  font-size:13px!important;
}
body.topic-view-page .post-user-line{gap:7px!important;row-gap:6px!important}
body.topic-view-page .post-user-line>a{
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:950!important;
}
body.topic-view-page .post-user-line .role-pill,
body.topic-view-page .post-user-line .level-pill,
body.topic-view-page .post-user-line .coins-pill,
body.topic-view-page .post-user-line .author-pill{
  min-height:22px!important;
  padding:4px 7px!important;
  font-size:9.5px!important;
  border-radius:5px!important;
}
body.topic-view-page .post-user-copy>small{
  margin-top:6px!important;
  color:#b08b65!important;
  font-size:11.5px!important;
  font-weight:700!important;
}

/* Koperta PW: wyraźniejsza; klik otwiera modal dodany do aktywnego widoku V2. */
body.topic-view-page .post-message-user{
  min-width:58px!important;
  height:36px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  font-size:13px!important;
  font-weight:850!important;
  border-radius:7px!important;
}
body.topic-view-page .post-message-user::after{
  content:'PW';
  font-size:9px;
  letter-spacing:.08em;
  color:#b99268;
}
body.topic-view-page .post-message-user:hover::after{color:#ffd19a}

/* Dolny pasek akcji / reakcje: większe etykiety i czytelniejsze przyciski. */
body.topic-view-page .post-footer-v27{
  min-height:66px!important;
  padding:12px 16px!important;
  border-top:1px solid #3d2b1d!important;
  background:linear-gradient(180deg,#241a11 0%,#1c140d 100%)!important;
}
body.topic-view-page .post-footer-v27::before{
  font-size:10.5px!important;
  color:#9b7955!important;
  letter-spacing:.16em!important;
}
body.topic-view-page .post-footer-left,
body.topic-view-page .post-footer-right{gap:8px!important}
body.topic-view-page .post-footer-v27 button,
body.topic-view-page .post-footer-v27 .post-action-link,
body.topic-view-page .post-footer-v27 .reaction-trigger,
body.topic-view-page .post-footer-v27 .reaction-total{
  min-height:38px!important;
  padding:0 12px!important;
  border-radius:6px!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
body.topic-view-page .reaction-picker-v27{gap:7px!important}
body.topic-view-page .reaction-picker-v27 .reaction-trigger{
  min-width:92px!important;
  gap:6px!important;
}
body.topic-view-page .reaction-picker-v27 .reaction-trigger::after{
  content:'Reakcja';
  font-size:10px;
  font-weight:850;
  letter-spacing:.02em;
}
body.topic-view-page .reaction-count-button{
  min-width:44px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 12px!important;
  font-size:11px!important;
}

/* Odpowiedź / BBCode: nagłówek, toolbar i pole tekstowe są wyraźniejsze. */
body.topic-view-page .reply-box-v29{
  padding:18px!important;
  border-color:#4b3522!important;
  background:linear-gradient(180deg,#2a2017,#21170f)!important;
  box-shadow:0 15px 36px rgba(0,0,0,.16)!important;
}
body.topic-view-page .reply-title-row{margin-bottom:14px!important}
body.topic-view-page .reply-title-row h3{
  font-size:18px!important;
  line-height:1.25!important;
  color:#fff2e4!important;
}
body.topic-view-page .reply-title-row small{
  margin-top:5px!important;
  color:#aa8763!important;
  font-size:11.5px!important;
  line-height:1.45!important;
}
body.topic-view-page .reply-box-v29 .editor-toolbar-v28{
  min-height:48px!important;
  padding:7px 9px!important;
  border-color:#4c3724!important;
  background:linear-gradient(180deg,#302318,#281c12)!important;
}
body.topic-view-page .reply-box-v29 .editor-toolbar-v28 .editor-tools-main{gap:5px!important}
body.topic-view-page .reply-box-v29 .editor-toolbar-v28 button{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  font-size:12px!important;
  border-color:#3c2c20!important;
  background:#231910!important;
  color:#b49570!important;
}
body.topic-view-page .reply-box-v29 .editor-toolbar-v28 button:hover{
  border-color:#795021!important;
  background:#3a2815!important;
  color:#ffc06a!important;
}
body.topic-view-page .reply-box-v29 .editor-toolbar-v28>span{
  color:#8f7355!important;
  font-size:9.5px!important;
}
body.topic-view-page .reply-box-v29 textarea[data-editor]{
  min-height:185px!important;
  padding:15px 16px!important;
  color:#eee1d2!important;
  font-size:14px!important;
  line-height:1.7!important;
  border-color:#4c3724!important;
  background:#19110b!important;
}
body.topic-view-page .reply-box-v29 textarea[data-editor]::placeholder{color:#896d50!important}
body.topic-view-page .reply-submit-row{margin-top:12px!important;gap:8px!important}
body.topic-view-page .reply-submit-row .btn{
  min-height:38px!important;
  padding:0 14px!important;
  font-size:10.5px!important;
  font-weight:850!important;
}

/* Modal PW — czytelniejszy od razu po naprawieniu działania koperty. */
body.topic-view-page .topic-message-dialog{
  width:min(520px,calc(100vw - 34px))!important;
  padding:19px!important;
  border-color:#59402a!important;
  background:linear-gradient(180deg,#30241a,#241a12)!important;
}
body.topic-view-page .topic-message-dialog h3{font-size:15px!important;margin-bottom:16px!important}
body.topic-view-page .topic-message-dialog label{font-size:10.5px!important;color:#c09a6d!important}
body.topic-view-page .topic-message-dialog textarea{
  min-height:135px!important;
  padding:12px!important;
  font-size:13px!important;
  line-height:1.6!important;
}
body.topic-view-page .topic-message-counter{font-size:9px!important;color:#92765a!important}

@media(max-width:620px){
  body.topic-view-page .post-content-v27{padding:20px 17px 24px!important;font-size:13.5px!important}
  body.topic-view-page .post-head-v27{padding:13px 14px!important}
  body.topic-view-page .post-user-v27 .avatar-md{width:44px!important;height:44px!important}
  body.topic-view-page .post-user-line>a{font-size:13.5px!important}
  body.topic-view-page .post-message-user{min-width:48px!important}
  body.topic-view-page .post-message-user::after{display:none}
  body.topic-view-page .post-footer-v27{padding:12px!important}
  body.topic-view-page .reaction-picker-v27 .reaction-trigger{min-width:0!important}
  body.topic-view-page .reply-box-v29{padding:14px!important}
  body.topic-view-page .reply-box-v29 textarea[data-editor]{min-height:155px!important}
}

/* ==========================================================
   VForum V2.65 · treść posta spójna z całym kafelkiem
   ========================================================== */
body.topic-view-page .post-content-v27{
  background:transparent!important;
  box-shadow:none!important;
}
body.topic-view-page .post-card-v27:hover .post-content-v27{
  background:transparent!important;
}

/* ==========================================================
   VForum V2.66 · usunięcie zbędnej linii nad paskiem AKCJE
   ========================================================== */
body.topic-view-page .post-content-v27{
  border-bottom:0!important;
}
body.topic-view-page .post-footer-v27{
  border-top:0!important;
}


/* V2.67 notifications redesign */
.notifications-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;margin-bottom:16px;background:linear-gradient(180deg,#291b10 0%,#24170d 100%);border:1px solid #4a311d;border-radius:12px;box-shadow:inset 0 1px rgba(255,255,255,.03)}
.notifications-hero-main{display:flex;align-items:flex-start;gap:16px;min-width:0}
.notifications-hero-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:14px;background:radial-gradient(circle at 35% 35%,#5a340d 0%,#2c1a0b 80%);border:1px solid #6a4319;color:#ff980f;font-size:24px;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.notifications-hero-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.notifications-hero h2{margin:0;font-size:34px;line-height:1.05;letter-spacing:-.8px}
.notifications-hero p{margin:8px 0 0;color:#9c7f5b;font-size:15px;max-width:760px}
.notifications-badge{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 14px;border-radius:999px;background:#ff9308;color:#1d1207;font-size:13px;font-weight:900;white-space:nowrap;box-shadow:0 8px 18px rgba(255,147,8,.18)}
.notifications-badge.is-muted{background:#342519;color:#caa57c;box-shadow:none}
.notifications-read-btn{height:44px;padding:0 18px;border-radius:10px;font-weight:900;white-space:nowrap}
.notification-feed{display:grid;gap:12px}
.notification-empty{padding:26px 22px;border-radius:12px}
.notification-card{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:18px;padding:18px 20px;border:1px solid #49311e;background:linear-gradient(180deg,#291b10 0%,#23170d 100%);border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,.02);transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.notification-card:hover{transform:translateY(-2px);border-color:#6a461f;background:linear-gradient(180deg,#2d1e12 0%,#26190f 100%);box-shadow:0 16px 34px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.03)}
.notification-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;font-size:18px;font-weight:900;border:1px solid #5a3c1d;background:#342316;color:#ffb35a;box-shadow:inset 0 1px rgba(255,255,255,.04)}
.notification-card-icon.icon-message{background:rgba(74,164,255,.12);border-color:rgba(74,164,255,.35);color:#62b4ff}
.notification-card-icon.icon-reply,.notification-card-icon.icon-quote{background:rgba(255,138,0,.12);border-color:rgba(255,138,0,.35);color:#ffad3f}
.notification-card-icon.icon-mention{background:rgba(155,108,246,.12);border-color:rgba(155,108,246,.35);color:#bb95ff}
.notification-card-icon.icon-reaction{background:rgba(239,83,80,.12);border-color:rgba(239,83,80,.35);color:#ff8d86}
.notification-card-icon.icon-friend{background:rgba(17,201,120,.12);border-color:rgba(17,201,120,.35);color:#56e4a0}
.notification-card-icon.icon-reward,.notification-card-icon.icon-badge{background:rgba(255,186,22,.13);border-color:rgba(255,186,22,.34);color:#ffd05f}
.notification-card-icon.icon-follow,.notification-card-icon.icon-system{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.10);color:#f0e2cf}
.notification-card-body{min-width:0}
.notification-card-body strong{display:block;font-size:26px;line-height:1.12;letter-spacing:-.4px;color:#fff5ea}
.notification-card-body p{margin:6px 0 0;color:#b5926c;font-size:15px;line-height:1.5}
.notification-card-body time{display:block;margin-top:11px;color:#8a6f51;font-size:12px;font-weight:700;letter-spacing:.2px}
.notification-card-side{display:flex;align-items:center;justify-content:flex-end;align-self:stretch}
.notification-check{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,147,8,.28);background:rgba(255,147,8,.09);color:#ff9a13;font-weight:900;box-shadow:inset 0 1px rgba(255,255,255,.04)}
@media (max-width: 900px){.notifications-hero{flex-direction:column;align-items:stretch}.notifications-read-btn{width:100%}.notification-card{grid-template-columns:50px 1fr}.notification-card-side{grid-column:2;justify-content:flex-start}.notification-card-body strong{font-size:20px}}
@media (max-width: 640px){.notifications-hero{padding:18px}.notifications-hero-icon{width:46px;height:46px;font-size:21px}.notifications-hero h2{font-size:28px}.notifications-badge{height:29px;padding:0 12px;font-size:12px}.notification-card{padding:16px 15px;gap:14px}.notification-card-icon{width:40px;height:40px;border-radius:12px}.notification-card-body strong{font-size:17px}.notification-card-body p{font-size:13px}}

/* V2.68 header notifications dropdown */
.notification-menu-wrap{position:relative;display:flex;align-items:center}
.notification-trigger{position:relative}
.notification-trigger::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E")!important;
}
.notification-trigger[aria-expanded="true"]{color:#ff9b18!important;border-color:rgba(255,148,28,.52)!important;background:linear-gradient(180deg,rgba(65,43,24,.96),rgba(42,28,17,.98))!important;box-shadow:0 10px 26px rgba(0,0,0,.24),0 0 0 1px rgba(255,137,0,.08)!important}
.notification-dropdown{position:absolute;top:calc(100% + 11px);right:-12px;width:min(390px,calc(100vw - 24px));max-height:min(650px,calc(100vh - 92px));display:flex;flex-direction:column;background:linear-gradient(180deg,#24180e 0%,#1f150c 100%);border:1px solid #4a321e;border-radius:10px;box-shadow:0 24px 58px rgba(0,0,0,.56),inset 0 1px rgba(255,255,255,.025);opacity:0;visibility:hidden;transform:translateY(-7px) scale(.985);transform-origin:top right;pointer-events:none;transition:opacity .16s ease,transform .16s ease,visibility .16s ease;z-index:130;overflow:hidden}
.notification-dropdown.open{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}
.notification-dropdown::before{content:"";position:absolute;top:-7px;right:26px;width:12px;height:12px;background:#24180e;border-left:1px solid #4a321e;border-top:1px solid #4a321e;transform:rotate(45deg)}
.notification-dropdown-head{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px 11px 14px;border-bottom:1px solid #3d2a1b;background:rgba(31,21,13,.92);position:relative;z-index:1}
.notification-dropdown-title{display:flex;align-items:center;gap:8px;min-width:0}
.notification-dropdown-title strong{font-size:13px;color:#f5eee6;white-space:nowrap}
.notification-dropdown-title em{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;padding:0 7px;border-radius:999px;background:#7a3e08;color:#ffad4e;font-size:9px;font-style:normal;font-weight:900}
.notification-dropdown-bell{width:16px;height:16px;background:#ff920d;display:inline-block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.notification-read-all{border:1px solid #4b3928;background:#2d2217;color:#d9cbbb;border-radius:5px;height:29px;padding:0 10px;font-size:9.5px;font-weight:850;white-space:nowrap;transition:.15s ease}
.notification-read-all:hover{border-color:#6a4824;color:#fff;background:#352619}
.notification-read-all.is-done{color:#72d9a4;border-color:#24543a;background:#173025}
.notification-dropdown-list{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5b3b1d transparent}
.notification-dropdown-list::-webkit-scrollbar{width:7px}.notification-dropdown-list::-webkit-scrollbar-thumb{background:#5b3b1d;border-radius:10px}.notification-dropdown-list::-webkit-scrollbar-track{background:transparent}
.notification-dropdown-item{display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:10px;min-height:68px;padding:10px 12px;border-bottom:1px solid #342419;background:rgba(255,255,255,.006);transition:background .14s ease,border-color .14s ease}
.notification-dropdown-item:hover{background:#2b1e13}
.notification-dropdown-item.is-unread{background:linear-gradient(90deg,rgba(255,137,0,.075),rgba(255,137,0,.012) 72%)}
.notification-dropdown-item.is-unread:hover{background:linear-gradient(90deg,rgba(255,137,0,.11),rgba(255,137,0,.028) 72%)}
.notification-dropdown-type{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#302318;border:1px solid #443220;position:relative;color:#b89a74}
.notification-dropdown-type::before{content:"";width:14px;height:14px;background:currentColor;display:block;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}
.notification-dropdown-type.is-message{color:#5bc2ff;background:rgba(74,164,255,.08);border-color:rgba(74,164,255,.22)}
.notification-dropdown-type.is-message::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m3 7 9 6 9-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m3 7 9 6 9-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.notification-dropdown-type.is-reaction{color:#ff6da7;background:rgba(255,82,146,.08);border-color:rgba(255,82,146,.21)}
.notification-dropdown-type.is-reaction::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.notification-dropdown-type.is-badge,.notification-dropdown-type.is-reward{color:#ffc018;background:rgba(255,192,24,.08);border-color:rgba(255,192,24,.2)}
.notification-dropdown-type.is-badge::before,.notification-dropdown-type.is-reward::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m8 12-1 9 5-3 5 3-1-9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m8 12-1 9 5-3 5 3-1-9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.notification-dropdown-type.is-reply,.notification-dropdown-type.is-quote{color:#f0aa5f;background:rgba(240,170,95,.08);border-color:rgba(240,170,95,.2)}
.notification-dropdown-type.is-reply::before,.notification-dropdown-type.is-quote::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 17-5-5 5-5M4 12h10a6 6 0 0 1 6 6v1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 17-5-5 5-5M4 12h10a6 6 0 0 1 6 6v1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.notification-dropdown-type.is-mention{color:#b895ff;background:rgba(155,108,246,.08);border-color:rgba(155,108,246,.2)}
.notification-dropdown-type.is-mention::before{content:"@";-webkit-mask:none;mask:none;background:none;width:auto;height:auto;font-size:15px;font-weight:1000;line-height:1}
.notification-dropdown-type.is-friend{color:#50d899;background:rgba(17,201,120,.08);border-color:rgba(17,201,120,.2)}
.notification-dropdown-type.is-friend::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.notification-dropdown-type.is-follow,.notification-dropdown-type.is-system{color:#a99173}
.notification-dropdown-type.is-follow::before,.notification-dropdown-type.is-system::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.notification-dropdown-copy{min-width:0;display:block}
.notification-dropdown-copy strong{display:block;color:#f4eee7;font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notification-dropdown-copy small{display:block;margin-top:3px;color:#927454;font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notification-dropdown-copy time{display:block;margin-top:6px;color:#6e5942;font-size:9px;font-weight:700}
.notification-dropdown-check{width:20px;height:20px;display:grid;place-items:center;color:#e9840a;font-size:12px;font-weight:1000;border-radius:50%}
.notification-dropdown-item.is-unread .notification-dropdown-check{background:rgba(255,137,0,.09)}
.notification-dropdown-footer{min-height:45px;display:flex;align-items:center;justify-content:center;padding:10px 14px;color:#ff9412;font-size:11px;font-weight:900;border-top:1px solid #3d2a1b;background:#21160d;transition:background .15s ease,color .15s ease}
.notification-dropdown-footer:hover{background:#2b1d11;color:#ffae43}
.notification-dropdown-empty{padding:28px 20px 30px;text-align:center;color:#8d7356}
.notification-dropdown-empty>span{display:block;font-size:26px;opacity:.55}.notification-dropdown-empty strong{display:block;margin-top:7px;color:#cbb49a;font-size:12px}.notification-dropdown-empty small{display:block;margin-top:4px;font-size:10px}
@media(max-width:780px){.notification-dropdown{position:fixed;top:66px;right:10px;width:min(390px,calc(100vw - 20px));max-height:calc(100vh - 78px)}.notification-dropdown::before{display:none}}
@media(max-width:500px){.notification-dropdown-head{align-items:flex-start;flex-direction:column}.notification-read-all{width:100%}.notification-dropdown{right:7px;width:calc(100vw - 14px)}.notification-dropdown-item{grid-template-columns:32px minmax(0,1fr) 20px;padding:10px}.notification-dropdown-copy strong{font-size:11.5px}}

/* =========================================================
   V2.69 - Messages / Badges / Notifications readability
   ========================================================= */

/* ---- Messages ---- */
body.messages-page .section-heading{margin-bottom:18px}
.messages-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 20px;margin-bottom:16px;border:1px solid #4a321f;background:linear-gradient(180deg,#2b1d11,#24170d);border-radius:11px;box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 32px rgba(0,0,0,.12)}
.messages-hero-copy{display:flex;align-items:center;gap:14px}.messages-hero-icon{width:48px;height:48px;border:1px solid #65421d;border-radius:12px;background:linear-gradient(145deg,#43280d,#29180a);color:#ff9c1e;display:grid;place-items:center;font-size:21px;box-shadow:inset 0 1px rgba(255,255,255,.035)}
.messages-hero h2{margin:0;color:#fff7ec;font-size:20px;letter-spacing:-.25px}.messages-hero p{margin:4px 0 0;color:#9b7d5b;font-size:12px}
.messages-hero-stats{display:flex;align-items:stretch;gap:8px}.messages-hero-stats>span{min-width:96px;padding:8px 12px;border:1px solid #49311f;border-radius:8px;background:#21160d;text-align:center}.messages-hero-stats small{display:block;color:#876b4c;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.8px}.messages-hero-stats b{display:block;margin-top:2px;color:#e7d8c6;font-size:18px}.messages-hero-stats .has-unread{border-color:#6a4319;background:#33200c}.messages-hero-stats .has-unread b{color:#ff9b1a}
.messages-layout-v269{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:16px;align-items:start}
.messages-inbox-card,.new-message-card{padding:0!important;overflow:hidden;border:1px solid #49311e!important;background:linear-gradient(180deg,#281b10,#21160d)!important;border-radius:11px!important;box-shadow:0 14px 36px rgba(0,0,0,.12)!important}
.messages-card-head{min-height:70px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #42301f;background:linear-gradient(180deg,#2e2014,#281a10)}
.messages-card-head>div{display:flex;align-items:center;gap:11px}.messages-card-icon{width:37px;height:37px;border-radius:9px;display:grid;place-items:center;border:1px solid #5b3b1c;background:#35220f;color:#ff9c1b;font-weight:900;font-size:16px}.messages-card-head h2{margin:0!important;font-size:16px!important;color:#fff6eb!important}.messages-card-head p{margin:3px 0 0;color:#82684c;font-size:10px}.messages-count{min-width:28px;height:28px;padding:0 8px;border-radius:999px;display:grid;place-items:center;background:#3b260f;border:1px solid #65421b;color:#ffad42;font-weight:900;font-size:10px}
.messages-list-v269{display:grid;padding:8px}.message-row-v269{position:relative!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;min-height:88px!important;margin:0!important;padding:12px 12px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;transition:background .17s ease,border-color .17s ease,transform .17s ease!important;overflow:hidden}
.message-row-v269+.message-row-v269{margin-top:4px!important}.message-row-v269::before{content:""!important;position:absolute!important;left:0!important;top:14px!important;bottom:14px!important;width:2px!important;border-radius:4px!important;background:#ff940f!important;opacity:0!important;transform:none!important;transition:opacity .17s ease!important}.message-row-v269:hover{background:#2b1d12!important;border-color:#49331f!important;transform:translateX(2px)!important}.message-row-v269:hover::before,.message-row-v269.is-unread::before{opacity:1!important}.message-row-v269.is-unread{background:linear-gradient(90deg,rgba(255,143,0,.07),rgba(255,143,0,.015))!important;border-color:#56391b!important}.message-row-v269 .avatar-md{width:44px;height:44px;font-size:11px}.message-row-main{min-width:0}.message-row-title{display:flex;align-items:center;gap:7px;min-width:0}.message-row-title strong{color:#f8eee2;font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-row-title i{font-style:normal;font-size:7px;letter-spacing:.7px;padding:3px 6px;border-radius:999px;background:#ff8e08;color:#1e1207;font-weight:1000}.message-row-user{margin-top:3px;font-size:10px;font-weight:850}.message-row-v269 p{margin:5px 0 0!important;color:#8f7352!important;font-size:10px!important;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-row-meta{display:flex;align-items:center;gap:8px;padding-left:10px}.message-row-meta time{font-size:9px!important;color:#7d6448!important;white-space:nowrap}.message-row-meta>span{width:25px;height:25px;border:1px solid #49311d;border-radius:7px;display:grid;place-items:center;color:#a17b50;background:#26180e;font-size:16px}.message-row-v269:hover .message-row-meta>span{border-color:#70471e;color:#ff9b1b}
.messages-empty{padding:56px 20px;text-align:center;color:#8a6e50}.messages-empty>span{width:58px;height:58px;margin:0 auto 12px;border-radius:16px;display:grid;place-items:center;background:#30200f;border:1px solid #51351c;color:#c89455;font-size:22px}.messages-empty strong{display:block;color:#d6c7b5;font-size:14px}.messages-empty p{margin:5px 0 0;font-size:10px;color:#786047}
.new-message-card{position:sticky;top:82px}.new-message-head{justify-content:flex-start}.new-message-fields{display:grid;gap:16px;padding:18px}.new-message-fields label{display:grid;gap:5px;margin:0!important;color:#d6c4af!important;font-size:11px;font-weight:850}.new-message-fields label>small{color:#725c44!important;font-size:9px!important;font-weight:550!important;margin:0!important}.new-message-fields input,.new-message-fields textarea{width:100%;border:1px solid #47311f!important;background:#19110b!important;color:#f4ede5!important;border-radius:8px!important;padding:11px 12px!important;outline:none;box-shadow:inset 0 1px rgba(255,255,255,.015)}.new-message-fields input{height:42px}.new-message-fields textarea{min-height:150px;resize:vertical;line-height:1.55}.new-message-fields input:focus,.new-message-fields textarea:focus{border-color:#80501f!important;box-shadow:0 0 0 3px rgba(255,143,0,.07)!important}.new-message-fields input::placeholder,.new-message-fields textarea::placeholder{color:#5f4b38}.message-input-wrap{position:relative}.message-input-wrap>i{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-style:normal;color:#8e6d48;font-weight:900}.message-input-wrap input{padding-left:31px!important}.new-message-footer{padding:14px 18px 17px;border-top:1px solid #3e2b1c;background:#21160d;display:grid;gap:12px}.new-message-footer>span{color:#725c44;font-size:9px}.new-message-footer .btn{width:100%;min-height:42px;border-radius:8px;font-size:11px}

/* ---- Notifications: delete controls ---- */
.notifications-hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.notifications-hero-actions form{margin:0}.notifications-delete-all{height:44px;padding:0 16px;border-radius:10px;background:#341515;border-color:#652627;color:#e99b97}.notifications-delete-all:hover{background:#441919;border-color:#803133;color:#ffc0bc}.notification-card{position:relative}.notification-card-link{position:absolute;inset:0;z-index:1;border-radius:inherit}.notification-card-icon,.notification-card-body{position:relative;z-index:2;pointer-events:none}.notification-card-side{position:relative;z-index:3;gap:8px}.notification-delete-form{margin:0;position:relative;z-index:4}.notification-delete-btn{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid #5d2a29;background:#311716;color:#d8817c;font-size:17px;line-height:1;transition:.16s ease}.notification-delete-btn:hover{background:#4a1d1b;border-color:#8b3834;color:#ffd0cc;transform:scale(1.05)}

/* ---- Badges readability ---- */
body.badges-page .badges-page-head{margin-bottom:18px!important;padding:18px 20px!important;border:1px solid #49331f!important;border-radius:11px!important;background:linear-gradient(180deg,#2a1d11,#24170e)!important}.badges-page-head .section-heading h1{font-size:30px!important;letter-spacing:-.6px}.badges-page-head .section-heading p{max-width:760px!important;color:#a18462!important;font-size:12px!important;line-height:1.55!important}.badges-total{width:178px!important;height:76px!important;border-radius:9px!important;background:#20160d!important;border-color:#4a3421!important}.badges-total small{font-size:9px!important;letter-spacing:.35px}.badges-total strong{font-size:20px!important}.achievement-sections{gap:16px!important}.achievement-section{border-radius:10px!important;border-color:#443122!important;background:linear-gradient(180deg,#25190f,#20150d)!important}.achievement-section>header{min-height:82px!important;padding:15px 18px!important;background:linear-gradient(180deg,#2b1e12,#26190f)!important;border-bottom-color:#413020!important}.achievement-section-title>span{width:42px!important;height:42px!important;border-radius:9px!important;font-size:19px!important}.achievement-section-title h2{font-size:17px!important;color:#fff3e5!important}.achievement-section-title p{margin-top:4px!important;color:#947758!important;font-size:10.5px!important;line-height:1.35!important}.achievement-score{font-size:10px!important;padding:8px 11px!important;border:1px solid #46311f!important;border-radius:7px!important;background:#20150d!important}.achievement-score b{font-size:12px!important}.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:12px!important}.achievement-card{min-height:128px!important;padding:14px!important;grid-template-columns:54px minmax(0,1fr) auto!important;gap:12px!important;border-radius:9px!important;background:#21170f!important;border-color:#3f3024!important}.achievement-card.earned{background:linear-gradient(100deg,#30200f,#25180e)!important;border-color:#5c3b19!important}.achievement-icon{width:54px!important;height:54px!important;border-radius:10px!important;font-size:24px!important}.achievement-main>div{align-items:center!important;flex-wrap:wrap!important}.achievement-main strong{font-size:13px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:#f4e9dc!important}.achievement-main em{font-size:8px!important;padding:3px 7px!important}.achievement-main p{font-size:10.5px!important;line-height:1.45!important;color:#92785b!important;margin:6px 0 12px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;min-height:30px}.achievement-progress-meta{font-size:9px!important;color:#9b7f5e!important}.achievement-progress{height:7px!important;margin-top:6px!important;background:#30271e!important}.achievement-check{width:24px!important;height:24px!important;font-size:11px!important}.achievement-manual-note{font-size:9px!important;line-height:1.4!important;margin-top:9px!important}

@media(max-width:980px){.messages-layout-v269{grid-template-columns:1fr!important}.new-message-card{position:static}.achievement-grid{grid-template-columns:1fr!important}.messages-hero{align-items:flex-start}.messages-hero-stats{flex-shrink:0}}
@media(max-width:680px){.messages-hero{flex-direction:column}.messages-hero-stats{width:100%}.messages-hero-stats>span{flex:1}.message-row-v269{grid-template-columns:44px minmax(0,1fr)!important}.message-row-meta{grid-column:2;justify-content:space-between;padding-left:0}.notifications-hero-actions{width:100%;justify-content:stretch}.notifications-hero-actions form{flex:1}.notifications-hero-actions .btn{width:100%}.notification-card{grid-template-columns:46px minmax(0,1fr)!important}.notification-card-side{grid-column:2;justify-content:flex-end}.badges-total{justify-self:stretch!important;width:100%!important}.achievement-section>header{align-items:flex-start!important}.achievement-score{align-self:flex-start}}


/* ============================================================
   V2.70 - Private messages conversation workspace
   ============================================================ */
body.conversation-page-v270 .page-shell{width:min(1220px,calc(100% - 34px));padding-top:20px}
body.conversation-page-v270 .section-heading{display:none}
.messages-chat-titlebar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:0 4px}
.messages-chat-titlebar>div{display:flex;align-items:center;gap:10px;min-width:0}
.messages-chat-title-icon{width:28px;height:28px;display:grid;place-items:center;color:#ff950f;font-size:19px}
.messages-chat-titlebar h1{margin:0;color:#f8f0e7;font-size:24px;letter-spacing:-.45px}
.messages-chat-counter{padding:5px 9px;border:1px solid #493321;border-radius:6px;background:#2a1d12;color:#8e7456;font-size:10px;font-weight:850;white-space:nowrap}
.messages-chat-titlebar>.btn{min-height:38px;border-radius:7px;padding:0 14px;font-size:11px}

.messages-chat-shell{height:min(680px,calc(100vh - 180px));min-height:520px;display:grid;grid-template-columns:320px minmax(0,1fr);overflow:hidden;border:1px solid #45301f;border-radius:10px;background:#1c130b;box-shadow:0 18px 48px rgba(0,0,0,.2)}
.messages-chat-sidebar{min-width:0;display:flex;flex-direction:column;border-right:1px solid #3c2a1c;background:linear-gradient(180deg,#21170f,#1b120b)}
.messages-chat-search{position:relative;padding:12px;border-bottom:1px solid #38271a;background:#24190f}
.messages-chat-search span{position:absolute;left:25px;top:50%;transform:translateY(-50%);color:#74614e;font-size:16px;pointer-events:none}
.messages-chat-search input{width:100%;height:40px;padding:0 12px 0 36px;border:1px solid #44301f;border-radius:7px;background:#2a2118;color:#e6d9ca;outline:none;font-size:11px}
.messages-chat-search input:focus{border-color:#705022;box-shadow:0 0 0 3px rgba(255,143,0,.06)}
.messages-chat-search input::placeholder{color:#6e5a45}
.messages-chat-list{overflow:auto;padding:6px;scrollbar-width:thin;scrollbar-color:#4b3827 transparent}
.messages-chat-list-empty{padding:28px 14px;text-align:center;color:#786248;font-size:11px;line-height:1.55}
.messages-chat-row{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 8px;gap:10px;align-items:center;min-height:68px;padding:9px 8px;border:1px solid transparent;border-radius:7px;transition:.16s ease}
.messages-chat-row+.messages-chat-row{margin-top:2px}
.messages-chat-row:hover{background:#271b11;border-color:#3f2d1e}
.messages-chat-row.is-active{background:linear-gradient(90deg,#3a260f,#2c1d11);border-color:#5a3b18;box-shadow:inset 3px 0 #ff910b}
.messages-chat-row.is-unread:not(.is-active){background:rgba(255,143,0,.035)}
.messages-chat-row .avatar-md{width:38px;height:38px;font-size:9px}
.messages-chat-row-copy{min-width:0;display:block}
.messages-chat-row-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.messages-chat-row-top strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:900}
.messages-chat-row-top time{flex:0 0 auto;color:#82694e;font-size:8px}
.messages-chat-preview{display:block;margin-top:4px;color:#8b7050;font-size:9.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.messages-chat-unread-dot{width:6px;height:6px;border-radius:50%;background:#ff980f;box-shadow:0 0 9px rgba(255,152,15,.45)}

.messages-chat-main{min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:linear-gradient(180deg,#1f160d,#1a110a)}
.messages-chat-head{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:62px;padding:9px 12px 9px 14px;border-bottom:1px solid #39281b;background:#21170e}
.messages-chat-person{display:flex;align-items:center;gap:10px;min-width:0}
.messages-chat-person .avatar-md{width:38px;height:38px;font-size:9px}
.messages-chat-person>div{min-width:0}
.messages-chat-person strong{display:block;font-size:12px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.messages-chat-person>div>span{display:flex;align-items:center;gap:5px;margin-top:2px;color:#75604a;font-size:8.5px}
.messages-chat-person>div>span i{width:6px;height:6px;border-radius:50%;background:#6c625a}
.messages-chat-person>div>span.is-online{color:#65c992}.messages-chat-person>div>span.is-online i{background:#15c979;box-shadow:0 0 7px rgba(21,201,121,.5)}
.messages-chat-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.messages-chat-actions>form{margin:0}.messages-chat-actions .btn{min-height:32px;padding:0 9px;border-radius:6px;font-size:9px}
.messages-chat-actions .btn.is-blocked{border-color:#586329;background:#283017;color:#c8da6b}
.conversation-report-menu{position:relative}.conversation-report-menu>summary{list-style:none}.conversation-report-menu>summary::-webkit-details-marker{display:none}
.conversation-report-popover{position:absolute;right:0;top:39px;z-index:30;width:300px;padding:13px;border:1px solid #5b3c22;border-radius:8px;background:#2a1c11;box-shadow:0 20px 46px rgba(0,0,0,.45);display:grid;gap:9px}
.conversation-report-popover>strong{font-size:12px;color:#f2e8dc}.conversation-report-popover label{display:grid;gap:4px;color:#9b7c5a;font-size:9px;font-weight:800}
.conversation-report-popover select,.conversation-report-popover textarea{width:100%;border:1px solid #4b3321;border-radius:6px;background:#19100a;color:#f4ebe1;padding:8px;font-size:10px;outline:none}.conversation-report-popover textarea{resize:vertical;min-height:78px}.conversation-report-popover .btn{justify-self:end}
.messages-chat-subject{display:flex;gap:6px;align-items:center;min-height:34px;padding:7px 15px;border-bottom:1px solid #322317;background:#1d140c;color:#756049;font-size:9px}.messages-chat-subject strong{color:#a98b65;font-size:9.5px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.messages-chat-thread{overflow:auto;padding:16px 14px 22px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#4d3928 transparent}
.messages-chat-empty{text-align:center;padding:70px 20px;color:#745e47;font-size:11px}
.chat-bubble-row{display:flex;align-items:flex-end;gap:8px;margin-bottom:13px}.chat-bubble-row.is-mine{justify-content:flex-end}.chat-bubble-row.is-theirs{justify-content:flex-start}.chat-bubble-row .avatar-sm{width:30px;height:30px;font-size:8px}
.chat-bubble-wrap{max-width:min(72%,650px)}.chat-bubble{padding:11px 13px;border:1px solid #403023;border-radius:7px;background:#2a2219;color:#f2ece5;font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.chat-bubble-row.is-mine .chat-bubble{background:linear-gradient(180deg,#57320c,#492906);border-color:#754612;color:#fff8ec}.chat-bubble-wrap time{display:block;margin-top:4px;color:#745e47;font-size:8px}.chat-bubble-row.is-mine time{text-align:right;color:#936b35}
.messages-chat-composer{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:10px;border-top:1px solid #38271a;background:#21170e}.messages-chat-composer textarea{width:100%;height:42px;min-height:42px;max-height:120px;resize:vertical;border:1px solid #443226;border-radius:7px;background:#2b241c;color:#eee5da;padding:11px 13px;outline:none;font-size:11px;line-height:1.45}.messages-chat-composer textarea:focus{border-color:#6f4c24;box-shadow:0 0 0 3px rgba(255,143,0,.05)}.messages-chat-composer textarea::placeholder{color:#77634f}.messages-chat-composer button{border:1px solid #5a3b19;border-radius:7px;background:#35230e;color:#d29a55;font-size:15px;transition:.16s ease}.messages-chat-composer button:hover{background:#51300a;color:#ffad3d;border-color:#80501a}
.messages-chat-blocked-note{margin:0;padding:13px 15px;border-top:1px solid #4d2d22;background:#2a1712;color:#d09a8a;font-size:10px;line-height:1.45}

/* V2.70 - full notifications: typography aligned with the rest of the forum */
.notifications-hero{padding:17px 19px!important;gap:14px!important}.notifications-hero-main{gap:12px!important}.notifications-hero-icon{width:46px!important;height:46px!important;border-radius:11px!important;font-size:20px!important}.notifications-hero h2{font-size:24px!important;letter-spacing:-.45px!important}.notifications-hero p{margin-top:5px!important;font-size:11px!important;line-height:1.45!important}.notifications-badge{height:27px!important;padding:0 11px!important;font-size:9.5px!important}.notifications-read-btn,.notifications-delete-all{height:37px!important;padding:0 12px!important;border-radius:7px!important;font-size:9.5px!important}.notification-feed{gap:8px!important}.notification-card{grid-template-columns:45px minmax(0,1fr) auto!important;gap:12px!important;padding:12px 14px!important;border-radius:9px!important}.notification-card-icon{width:36px!important;height:36px!important;border-radius:10px!important;font-size:14px!important}.notification-card-body strong{font-size:13px!important;line-height:1.3!important;letter-spacing:0!important}.notification-card-body p{margin-top:3px!important;font-size:10.5px!important;line-height:1.42!important}.notification-card-body time{margin-top:6px!important;font-size:8.5px!important}.notification-check,.notification-delete-btn{width:29px!important;height:29px!important;font-size:12px!important}

@media(max-width:980px){.messages-chat-shell{grid-template-columns:270px minmax(0,1fr)}.messages-chat-actions .btn{padding:0 7px}.chat-bubble-wrap{max-width:80%}}
@media(max-width:760px){body.conversation-page-v270 .page-shell{width:min(100% - 20px,1220px);padding-top:12px}.messages-chat-titlebar{align-items:flex-start}.messages-chat-titlebar h1{font-size:20px}.messages-chat-shell{height:auto;min-height:0;grid-template-columns:1fr}.messages-chat-sidebar{max-height:290px;border-right:0;border-bottom:1px solid #3c2a1c}.messages-chat-main{min-height:580px}.messages-chat-head{align-items:flex-start;flex-direction:column}.messages-chat-actions{width:100%;justify-content:flex-start}.conversation-report-popover{left:0;right:auto;width:min(300px,calc(100vw - 52px))}.chat-bubble-wrap{max-width:88%}}
@media(max-width:520px){.messages-chat-titlebar{flex-direction:column}.messages-chat-titlebar>.btn{width:100%}.messages-chat-actions{display:grid;grid-template-columns:1fr 1fr}.messages-chat-actions>.btn,.messages-chat-actions>form,.messages-chat-actions>details{width:100%}.messages-chat-actions .btn{width:100%}.messages-chat-person strong{font-size:11px}.chat-bubble-wrap{max-width:92%}.notifications-hero h2{font-size:21px!important}.notification-card{grid-template-columns:38px minmax(0,1fr) auto!important;padding:10px!important}.notification-card-icon{width:33px!important;height:33px!important}}

/* ==== V2.71 · Chatbox aligned with forum category bars ==== */
.chatbox-card{
  border:1px solid #49311e!important;
  border-radius:11px!important;
  background:#21160d!important;
  box-shadow:0 16px 38px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.025)!important;
  overflow:hidden!important;
}
.chatbox-card .chatbox-head{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:12px!important;
  min-height:58px!important;
  height:58px!important;
  padding:0 12px 0 13px!important;
  background:linear-gradient(180deg,#302318,#281d14)!important;
  border-bottom:1px solid #473222!important;
}
.chatbox-card .chatbox-head::after{
  content:'';
  position:absolute;
  left:14px;
  right:14px;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,rgba(255,142,8,.62),rgba(255,142,8,.07) 34%,transparent 72%);
  pointer-events:none;
}
.chatbox-head-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:8px;
  border:1px solid #5a3a1b;
  background:linear-gradient(145deg,#3a260f,#24180e);
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 7px 18px rgba(0,0,0,.14);
}
.chatbox-head-icon::before{
  content:'';
  width:17px;
  height:17px;
  display:block;
  background:#ff9b16;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  filter:drop-shadow(0 0 6px rgba(255,143,14,.16));
}
.chatbox-head-title{min-width:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.chatbox-head-title>strong{
  color:#fff4e8!important;
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:.015em!important;
  text-transform:uppercase;
}
.chatbox-head-title>small{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#8a6f50!important;
  font-size:9px!important;
  font-weight:750!important;
  white-space:nowrap;
}
.chatbox-head-title .chat-live-dot{width:6px;height:6px;flex:0 0 6px}
.chatbox-head-status{display:flex;justify-content:flex-end;align-items:center}
.chatbox-head-status>span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:25px;
  padding:0 9px;
  border-radius:6px;
  border:1px solid rgba(24,154,96,.2);
  background:rgba(16,107,67,.08);
  color:#75bd95;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}
.chatbox-head-status i{width:6px;height:6px;border-radius:50%;background:#16cf7d;box-shadow:0 0 8px rgba(22,207,125,.35)}
.chatbox-card .chat-head-actions{display:flex!important;align-items:center!important;gap:6px!important;justify-self:end!important}
.chatbox-card .chat-head-actions button{
  margin:0!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  padding:0!important;
  border-radius:9px!important;
  border:1px solid rgba(136,88,40,.48)!important;
  background:linear-gradient(180deg,rgba(52,34,20,.96),rgba(34,23,15,.98))!important;
  color:#b79a77!important;
  display:inline-grid!important;
  place-items:center!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 7px 18px rgba(0,0,0,.15)!important;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease,color .2s ease!important;
}
.chatbox-card .chat-head-actions button:hover{
  border-color:rgba(255,146,26,.7)!important;
  background:linear-gradient(180deg,rgba(70,43,20,.98),rgba(43,27,15,.98))!important;
  color:#ffad3d!important;
  box-shadow:0 0 0 3px rgba(255,137,0,.055),0 9px 24px rgba(0,0,0,.22)!important;
  transform:translateY(-1px)!important;
}
.chatbox-card .chat-collapse-btn{
  color:transparent!important;
  font-size:0!important;
}
.chatbox-card .chat-collapse-btn::before{
  content:'';
  width:14px;
  height:14px;
  display:block;
  background:#d3b48c;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),background .2s ease;
}
.chatbox-card .chat-collapse-btn:hover::before{background:#ffad3d}
.chatbox-card.is-collapsed .chat-collapse-btn::before,
.chatbox-card .chat-collapse-btn[aria-expanded="false"]::before{transform:rotate(180deg)}

.chatbox-card .chat-tabs{
  min-height:45px!important;
  padding:7px 13px!important;
  gap:6px!important;
  background:#24180f!important;
  border-bottom:1px solid #3f2c1c!important;
}
.chatbox-card .chat-tabs button{
  height:30px!important;
  padding:0 11px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#8f7557!important;
  font-size:10px!important;
  font-weight:850!important;
}
.chatbox-card .chat-tabs button:hover{color:#d9baa0!important;background:#2c1d12!important;border-color:#44301f!important}
.chatbox-card .chat-tabs button.active{
  color:#ffab38!important;
  background:#36220f!important;
  border-color:#684018!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
.chatbox-card .chat-presence{font-size:9px!important;color:#766047!important;font-weight:750!important;letter-spacing:.04em}

.chatbox-card .chat-scroll{
  background:#20150d!important;
  border-bottom:1px solid #3d2a1a!important;
}
.chatbox-card .chat-message{
  min-height:66px!important;
  padding:13px 15px!important;
  border-bottom:1px solid #392719!important;
  background:transparent!important;
  transition:background .16s ease,border-color .16s ease!important;
}
.chatbox-card .chat-message:last-child{border-bottom:0!important}
.chatbox-card .chat-message:hover{
  background:linear-gradient(90deg,rgba(255,139,0,.055),rgba(255,139,0,.014) 46%,transparent)!important;
  border-bottom-color:#47311e!important;
}
.chatbox-card .chat-meta a{font-size:12px!important;font-weight:900!important}
.chatbox-card .chat-meta time{font-size:9px!important;color:#80664b!important}
.chatbox-card .chat-message-content{margin-top:5px!important;color:#e9dfd3!important;font-size:12px!important;line-height:1.55!important}
.chatbox-card .role-pill{font-size:8px!important;padding:2px 6px!important}

.chatbox-card .chat-input{
  min-height:60px!important;
  padding:10px 13px!important;
  background:linear-gradient(180deg,#26190f,#21160d)!important;
  border-top:0!important;
}
.chatbox-card .chat-compose>input{
  height:40px!important;
  border-radius:8px!important;
  background:#1b120b!important;
  border:1px solid #4a321f!important;
  color:#f6eee5!important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.2)!important;
}
.chatbox-card .chat-compose>input::placeholder{color:#78634e!important}
.chatbox-card .chat-compose>input:focus{border-color:#79501f!important;box-shadow:0 0 0 3px rgba(255,137,0,.055)!important}
.chatbox-card .chat-tools button{color:#8e7254!important}
.chatbox-card .chat-tools button:hover{color:#ffad3d!important;background:#312014!important}
.chatbox-card .chat-tools .chat-send{color:#ff9812!important}
.chatbox-card .chat-composer-avatar .avatar{border-color:#5b3a20!important}

/* Exactly like forum categories: after collapse only the header bar remains. */
.chatbox-card.is-collapsed{
  min-height:58px!important;
  height:58px!important;
  margin-bottom:18px!important;
  border-radius:11px!important;
  overflow:hidden!important;
}
.chatbox-card.is-collapsed .chatbox-head{
  min-height:58px!important;
  height:58px!important;
  border-bottom:0!important;
}
.chatbox-card.is-collapsed .chatbox-head::after{opacity:.75}
.chatbox-card.is-collapsed .chat-tabs,
.chatbox-card.is-collapsed .chat-scroll,
.chatbox-card.is-collapsed .chat-input{display:none!important}

@media(max-width:780px){
  .chatbox-card .chatbox-head{grid-template-columns:34px minmax(0,1fr) auto!important;padding-right:10px!important;gap:9px!important}
  .chatbox-head-status{display:none!important}
  .chatbox-head-title{gap:6px!important}
  .chatbox-head-title>small{font-size:8px!important}
  .chatbox-card .chat-head-actions{gap:4px!important}
}
@media(max-width:520px){
  .chatbox-head-title>small{display:none!important}
  .chatbox-card .chat-head-actions .chat-expand-btn{display:none!important}
  .chatbox-card .chatbox-head{grid-template-columns:34px minmax(0,1fr) 32px!important}
}

/* V2.73 — Chatbox: clean media hover + polished composer icons */
.chatbox-card .chat-media-bubble::after,
.chatbox-card .chat-media-bubble:hover::after,
.chatbox-card .chat-media-bubble:focus-within::after{
  content:none!important;
  display:none!important;
  opacity:0!important;
}
.chatbox-card .chat-media-bubble figcaption,
.chatbox-card .chat-media-bubble:hover figcaption,
.chatbox-card .chat-media-bubble:focus-within figcaption{
  display:none!important;
  opacity:0!important;
}
.chatbox-card .chat-media-bubble{
  box-shadow:0 9px 24px rgba(0,0,0,.20)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.chatbox-card .chat-media-bubble:hover{
  border-color:#68431f!important;
  box-shadow:0 12px 28px rgba(0,0,0,.26)!important;
  transform:translateY(-1px);
}

.chatbox-card .chat-tools{
  right:7px!important;
  gap:4px!important;
}
.chatbox-card .chat-tools button{
  position:relative!important;
  width:31px!important;
  height:31px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#927456!important;
  line-height:1!important;
  font-size:0!important;
  box-shadow:none!important;
  transform:none!important;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease!important;
}
.chatbox-card .chat-tools button:hover{
  background:#332116!important;
  border-color:#5c3d21!important;
  color:#ffad3d!important;
  transform:translateY(-1px)!important;
  box-shadow:0 6px 14px rgba(0,0,0,.18)!important;
}
.chatbox-card .chat-tools button:active{
  transform:translateY(0)!important;
  box-shadow:none!important;
}
.chatbox-card .chat-tools button::before,
.chatbox-card .chat-tools button::after{
  pointer-events:none;
}

/* @ mention */
.chatbox-card [data-chat-mention]::before{
  content:'@';
  font-size:16px;
  font-weight:900;
  line-height:1;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
}

/* Emoji */
.chatbox-card [data-chat-emoji-toggle]::before{
  content:'☺';
  font-size:17px;
  font-weight:700;
  line-height:1;
}

/* Image / GIF — CSS-drawn image icon */
.chatbox-card [data-chat-media-toggle]::before{
  content:'';
  width:15px;
  height:12px;
  border:1.5px solid currentColor;
  border-radius:3px;
  box-sizing:border-box;
}
.chatbox-card [data-chat-media-toggle]::after{
  content:'';
  position:absolute;
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
  top:8px;
  right:8px;
  box-shadow:-5px 6px 0 -1px currentColor;
  opacity:.95;
}

/* Send */
.chatbox-card .chat-tools .chat-send{
  margin-left:2px!important;
  border-color:#704515!important;
  background:linear-gradient(180deg,#4b2d0d,#38210b)!important;
  color:#ff9b18!important;
}
.chatbox-card .chat-tools .chat-send::before{
  content:'';
  width:0;
  height:0;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-left:11px solid currentColor;
  transform:translateX(1px);
}
.chatbox-card .chat-tools .chat-send::after{
  content:'';
  position:absolute;
  width:8px;
  height:2px;
  background:currentColor;
  left:7px;
  top:14px;
  border-radius:2px;
  opacity:.9;
}
.chatbox-card .chat-tools .chat-send:hover{
  background:linear-gradient(180deg,#5d370d,#45280b)!important;
  border-color:#95601c!important;
  color:#ffb13d!important;
}

/* V2.74 — Chatbox composer cleanup */
.chatbox-card .chat-media-bubble,
.chatbox-card .chat-media-bubble:hover,
.chatbox-card .chat-media-bubble:focus-within{
  transform:none!important;
  box-shadow:none!important;
  border-color:#4b3422!important;
}
.chatbox-card .chat-media-bubble::after,
.chatbox-card .chat-media-bubble::before,
.chatbox-card .chat-media-bubble figcaption{
  content:none!important;
  display:none!important;
}

.chatbox-card .chat-compose{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
.chatbox-card .chat-compose>input{
  height:42px!important;
  padding:0 166px 0 14px!important;
  border-radius:9px!important;
  background:#1b120b!important;
  border:1px solid #50361f!important;
  color:#efe4d7!important;
  font-size:12px!important;
  line-height:42px!important;
}
.chatbox-card .chat-compose>input::placeholder{
  color:#816a51!important;
  opacity:1!important;
}
.chatbox-card .chat-compose>input:focus{
  border-color:#7e5221!important;
  box-shadow:0 0 0 3px rgba(255,137,0,.055)!important;
}
.chatbox-card .chat-tools{
  position:absolute!important;
  right:5px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  padding:2px!important;
  border-radius:9px!important;
  background:rgba(33,22,13,.72)!important;
  border:1px solid rgba(82,55,32,.62)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
.chatbox-card .chat-tools button{
  position:relative!important;
  flex:0 0 28px!important;
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#a18360!important;
  font-size:0!important;
  line-height:1!important;
  box-shadow:none!important;
  transform:none!important;
  transition:background .16s ease,color .16s ease!important;
}
.chatbox-card .chat-tools button:hover{
  background:#382518!important;
  color:#ffad3d!important;
  transform:none!important;
  box-shadow:none!important;
}
.chatbox-card .chat-tools button:active{
  background:#402918!important;
  transform:none!important;
}

.chatbox-card [data-chat-mention]::before{
  content:'@'!important;
  font:900 15px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;
  letter-spacing:-.04em!important;
}
.chatbox-card [data-chat-emoji-toggle]::before{
  content:''!important;
  width:15px!important;
  height:15px!important;
  display:block!important;
  background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cpath d='M9 9h.01M15 9h.01'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cpath d='M9 9h.01M15 9h.01'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.chatbox-card [data-chat-media-toggle]::before{
  content:''!important;
  width:16px!important;
  height:16px!important;
  display:block!important;
  border:0!important;
  border-radius:0!important;
  background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 20'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 20'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.chatbox-card [data-chat-media-toggle]::after{content:none!important;display:none!important}
.chatbox-card .chat-tools .chat-send{
  flex-basis:34px!important;
  width:34px!important;
  min-width:34px!important;
  height:28px!important;
  margin-left:2px!important;
  border-radius:7px!important;
  border:1px solid #744716!important;
  background:linear-gradient(180deg,#4a2d0e,#38210b)!important;
  color:#ff9c1b!important;
}
.chatbox-card .chat-tools .chat-send::before{
  content:''!important;
  width:16px!important;
  height:16px!important;
  display:block!important;
  border:0!important;
  transform:none!important;
  background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.chatbox-card .chat-tools .chat-send::after{content:none!important;display:none!important}
.chatbox-card .chat-tools .chat-send:hover{
  background:linear-gradient(180deg,#5b370f,#45270c)!important;
  border-color:#965f1c!important;
  color:#ffb13d!important;
}
@media(max-width:620px){
  .chatbox-card .chat-compose>input{padding-right:154px!important}
  .chatbox-card .chat-tools button{flex-basis:26px!important;width:26px!important;min-width:26px!important}
  .chatbox-card .chat-tools .chat-send{flex-basis:32px!important;width:32px!important;min-width:32px!important}
}

/* V2.76 — Chatbox composer icons: larger + optically centered */
.chatbox-card .chat-tools{
  right:6px!important;
  height:36px!important;
  gap:3px!important;
  padding:2px 3px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.chatbox-card .chat-tools button{
  position:relative!important;
  flex:0 0 31px!important;
  width:31px!important;
  min-width:31px!important;
  height:31px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  overflow:hidden!important;
  border-radius:7px!important;
}
.chatbox-card .chat-tools button::before{
  position:absolute!important;
  inset:0!important;
  margin:auto!important;
  display:block!important;
  transform:none!important;
}
.chatbox-card [data-chat-mention]::before{
  content:'@'!important;
  width:auto!important;
  height:20px!important;
  font:900 18px/20px Inter,ui-sans-serif,system-ui,sans-serif!important;
  text-align:center!important;
  letter-spacing:-.05em!important;
  color:currentColor!important;
}
.chatbox-card [data-chat-emoji-toggle]::before{
  width:18px!important;
  height:18px!important;
}
.chatbox-card [data-chat-media-toggle]::before{
  width:18px!important;
  height:18px!important;
}
.chatbox-card .chat-tools .chat-send{
  flex:0 0 33px!important;
  width:33px!important;
  min-width:33px!important;
  height:31px!important;
  margin-left:2px!important;
}
.chatbox-card .chat-tools .chat-send::before{
  width:18px!important;
  height:18px!important;
}
.chatbox-card .chat-tools button:hover{
  background:#3a2718!important;
}
.chatbox-card .chat-tools .chat-send:hover{
  background:linear-gradient(180deg,#5b370f,#45270c)!important;
}
@media(max-width:620px){
  .chatbox-card .chat-compose>input{padding-right:166px!important}
  .chatbox-card .chat-tools{right:5px!important;gap:2px!important}
  .chatbox-card .chat-tools button{flex-basis:29px!important;width:29px!important;min-width:29px!important;height:29px!important}
  .chatbox-card .chat-tools .chat-send{flex-basis:31px!important;width:31px!important;min-width:31px!important;height:29px!important}
  .chatbox-card [data-chat-mention]::before{font-size:17px!important;height:19px!important;line-height:19px!important}
  .chatbox-card [data-chat-emoji-toggle]::before,
  .chatbox-card [data-chat-media-toggle]::before,
  .chatbox-card .chat-tools .chat-send::before{width:17px!important;height:17px!important}
}

/* ==== V2.77 · larger and more readable user dropdown ==== */
.user-dropdown.v258-user-dropdown{
  width:min(346px,calc(100vw - 24px))!important;
  top:60px!important;
  border-radius:0 0 14px 14px!important;
  border-color:rgba(113,76,39,.9)!important;
  background:linear-gradient(180deg,#24170e 0%,#1d130c 100%)!important;
  box-shadow:0 28px 64px rgba(0,0,0,.58)!important;
  overflow:hidden auto!important;
  max-height:min(calc(100vh - 78px),760px)!important;
  scrollbar-width:thin;
  scrollbar-color:#70461d #1c120b;
}
.user-dropdown.v258-user-dropdown::-webkit-scrollbar{width:10px}
.user-dropdown.v258-user-dropdown::-webkit-scrollbar-track{background:#1c120b}
.user-dropdown.v258-user-dropdown::-webkit-scrollbar-thumb{background:#70461d;border-radius:999px;border:2px solid #1c120b}

.v258-user-dropdown .ud-level{
  padding:18px 18px 14px!important;
  gap:14px!important;
  align-items:center!important;
  border-bottom:1px solid rgba(92,61,35,.55);
  background:linear-gradient(180deg,rgba(70,44,23,.24),rgba(33,22,14,.12));
}
.v258-user-dropdown .level-chip{
  min-width:78px;
  min-height:42px;
  padding:7px 12px 8px!important;
  border-radius:8px!important;
  display:grid!important;
  grid-template-columns:16px 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:4px 8px!important;
}
.v258-user-dropdown .level-chip .ud-css-icon{width:15px!important;height:15px!important;flex-basis:15px!important}
.v258-user-dropdown .level-chip b{font-size:15px!important;line-height:1!important;font-weight:900!important;color:#e8f4ff!important}
.v258-user-dropdown .ud-level-line{grid-column:1/-1!important;margin-top:2px!important;height:3px!important}
.v258-user-dropdown .ud-level-copy strong{font-size:18px!important;line-height:1.1!important;font-weight:900!important;letter-spacing:-.02em!important}
.v258-user-dropdown .ud-level-copy small{font-size:12.5px!important;line-height:1.2!important;color:#a58a6d!important;margin-top:4px!important}

.v258-user-dropdown .ud-stats{
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  padding:14px 16px 12px!important;
}
.v258-user-dropdown .ud-stat-item{
  min-height:56px!important;
  grid-template-columns:22px 1fr!important;
  gap:10px!important;
  padding:10px 12px!important;
  border-radius:8px!important;
}
.v258-user-dropdown .ud-stat-item .ud-css-icon{width:18px!important;height:18px!important;flex-basis:18px!important}
.v258-user-dropdown .ud-stat-item small{font-size:9.5px!important;letter-spacing:.12em!important;color:#a48a68!important}
.v258-user-dropdown .ud-stat-item b{font-size:15px!important;line-height:1.15!important;margin-top:4px!important}

.v258-user-dropdown .daily-menu-btn,
.v258-user-dropdown .mission-btn{
  min-height:42px!important;
  border-radius:8px!important;
  font-size:13px!important;
  padding:0 14px!important;
}
.v258-user-dropdown .daily-menu-btn{margin:0 16px 10px!important;width:calc(100% - 32px)!important}
.v258-user-dropdown .daily-menu-btn .ud-css-icon,
.v258-user-dropdown .mission-btn .ud-css-icon{width:16px!important;height:16px!important;flex-basis:16px!important}
.v258-user-dropdown .mission-btn{margin:0 16px 12px!important}
.v258-user-dropdown .mission-main{gap:10px!important}
.v258-user-dropdown .mission-btn>.ud-icon-spark{width:15px!important;height:15px!important}

.v258-user-dropdown .ud-links{
  padding:6px 10px 10px!important;
  display:grid!important;
  gap:5px!important;
}
.v258-user-dropdown .ud-links a,
.v258-user-dropdown .logout-link{
  min-height:38px!important;
  padding:0 12px!important;
  gap:11px!important;
  border-radius:8px!important;
  font-size:13px!important;
  font-weight:700!important;
}
.v258-user-dropdown .ud-links a .ud-css-icon,
.v258-user-dropdown .logout-link .ud-css-icon{
  width:16px!important;
  height:16px!important;
  flex-basis:16px!important;
}
.v258-user-dropdown .ud-links a span,
.v258-user-dropdown .logout-link span{line-height:1.2!important}
.v258-user-dropdown .ud-links a:hover{
  transform:translateX(2px)!important;
}
.v258-user-dropdown .logout-link{
  min-height:46px!important;
  margin-top:4px!important;
  padding-left:16px!important;
  border-top:1px solid rgba(87,55,32,.58)!important;
  font-size:13.5px!important;
}

@media(max-width:780px){
  .user-dropdown.v258-user-dropdown{
    width:min(330px,calc(100vw - 18px))!important;
    right:9px!important;
    top:100%!important;
    max-height:calc(100vh - 70px)!important;
  }
  .v258-user-dropdown .ud-level{padding:16px 15px 13px!important}
  .v258-user-dropdown .ud-stats{padding:12px 14px 10px!important;gap:8px!important}
  .v258-user-dropdown .ud-stat-item{min-height:52px!important;padding:9px 10px!important}
  .v258-user-dropdown .daily-menu-btn,
  .v258-user-dropdown .mission-btn{margin-left:14px!important;margin-right:14px!important;width:calc(100% - 28px)!important}
  .v258-user-dropdown .ud-links{padding:6px 8px 8px!important}
}

/* ==== V2.78 · new topic readability / visual polish ==== */
body.new-topic-page:not(.topic-edit-page) .new-topic-layout{
  grid-template-columns:minmax(0,1fr) 285px!important;
  gap:30px!important;
  max-width:1140px!important;
  margin-inline:auto!important;
  padding-top:34px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-main{
  min-width:0!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-back{
  margin-bottom:18px!important;
  padding:7px 10px!important;
  border-radius:7px!important;
  color:#a68763!important;
  font-size:12px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-back:hover{
  background:rgba(255,145,13,.06)!important;
  color:#ff9e24!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-hero{
  position:relative!important;
  margin-bottom:18px!important;
  padding:17px 18px!important;
  border:1px solid #4d351f!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#2b1d11 0%,#24170e 55%,#1d140d 100%)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.025)!important;
  overflow:hidden!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-hero::after{
  content:"";
  position:absolute;
  right:-45px;
  top:-70px;
  width:210px;
  height:210px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,139,0,.12),transparent 68%);
  pointer-events:none;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-hero-icon{
  width:46px!important;
  height:46px!important;
  border-radius:10px!important;
  font-size:22px!important;
  flex:0 0 46px!important;
  border-color:#76501f!important;
  background:linear-gradient(145deg,#4a2a0a,#2d1b0c)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.22),0 0 22px rgba(255,143,0,.08)!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-hero h1{
  font-size:30px!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-hero p{
  margin-top:5px!important;
  color:#a18768!important;
  font-size:13px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-autosave{
  min-height:62px!important;
  grid-template-columns:38px 1fr auto!important;
  padding:11px 14px!important;
  margin-bottom:22px!important;
  border-radius:10px!important;
  border-color:#4c3622!important;
  background:linear-gradient(180deg,#261b11,#21160e)!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-autosave-icon{
  width:36px!important;
  height:36px!important;
  border-radius:8px!important;
  font-size:15px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-autosave strong{font-size:13px!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-autosave small{font-size:11px!important;color:#8c7356!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-autosave button{
  padding:7px 10px!important;
  border-radius:6px!important;
  font-size:10.5px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-autosave button:hover{background:#2f2115!important}

body.new-topic-page:not(.topic-edit-page) .new-topic-form{gap:22px!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-field{gap:9px!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-label{
  font-size:12.5px!important;
  color:#c29b6c!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-label i{
  min-width:20px!important;
  height:20px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(150,94,31,.4)!important;
  border-radius:5px!important;
  background:rgba(78,46,15,.28)!important;
  color:#ff9c20!important;
  font-size:10px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-label small{font-size:10.5px!important;color:#77624c!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-help{font-size:10.5px!important;color:#80684e!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-field input,
body.new-topic-page:not(.topic-edit-page) .new-topic-field select{
  min-height:52px!important;
  border-radius:9px!important;
  border-color:#493526!important;
  background:#1c140e!important;
  font-size:13.5px!important;
  padding-left:15px!important;
  padding-right:15px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-title-input{
  font-size:15px!important;
  font-weight:650!important;
  padding-right:66px!important;
}
body.new-topic-page:not(.topic-edit-page) .field-counter{
  right:13px!important;
  bottom:16px!important;
  font-size:10px!important;
  color:#7f684e!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-split-fields{
  grid-template-columns:205px minmax(0,1fr)!important;
  gap:16px!important;
}

body.new-topic-page:not(.topic-edit-page) .forum-picker-trigger{
  min-height:72px!important;
  grid-template-columns:42px minmax(0,1fr) 30px!important;
  gap:13px!important;
  padding:11px 14px!important;
  border-radius:10px!important;
  border-color:#4f3822!important;
  background:linear-gradient(180deg,#281c12,#22170f)!important;
}
body.new-topic-page:not(.topic-edit-page) .forum-picker-selected-icon{
  width:40px!important;
  height:40px!important;
  border-radius:8px!important;
  font-size:17px!important;
}
body.new-topic-page:not(.topic-edit-page) .forum-picker-selected-copy strong{font-size:14px!important}
body.new-topic-page:not(.topic-edit-page) .forum-picker-selected-copy small{font-size:11px!important;color:#8b7356!important}

body.new-topic-page:not(.topic-edit-page) .editor-composer-v231{
  border-radius:10px!important;
  border-color:#4a3421!important;
  background:#18110b!important;
  box-shadow:0 14px 32px rgba(0,0,0,.16)!important;
}
body.new-topic-page:not(.topic-edit-page) .editor-toolbar-v231{
  min-height:48px!important;
  padding:7px 9px!important;
  background:linear-gradient(180deg,#2d2117,#251a12)!important;
}
body.new-topic-page:not(.topic-edit-page) .editor-toolbar-v231 button{
  width:32px!important;
  min-width:32px!important;
  height:32px!important;
  font-size:11.5px!important;
  border-radius:6px!important;
}
body.new-topic-page:not(.topic-edit-page) .editor-toolbar-mode>span,
body.new-topic-page:not(.topic-edit-page) .editor-toolbar-mode>button{font-size:9.5px!important}
body.new-topic-page:not(.topic-edit-page) .editor-composer-v231 textarea[data-editor]{
  min-height:390px!important;
  padding:22px!important;
  font-size:14px!important;
  line-height:1.72!important;
  color:#eee1d1!important;
}
body.new-topic-page:not(.topic-edit-page) .editor-composer-v231 textarea[data-editor]::placeholder{color:#6f5b45!important}
body.new-topic-page:not(.topic-edit-page) .editor-composer-foot{
  min-height:34px!important;
  padding:8px 12px!important;
  font-size:10px!important;
  color:#715d48!important;
}

body.new-topic-page:not(.topic-edit-page) .poll-builder-v231{
  border-radius:10px!important;
  border-color:#493321!important;
}
body.new-topic-page:not(.topic-edit-page) .poll-builder-v231 summary{
  min-height:58px!important;
  grid-template-columns:38px 1fr 20px!important;
  gap:12px!important;
  padding:10px 14px!important;
}
body.new-topic-page:not(.topic-edit-page) .poll-add-icon{width:36px!important;height:36px!important;border-radius:8px!important}
body.new-topic-page:not(.topic-edit-page) .poll-builder-v231 summary strong{font-size:13px!important}
body.new-topic-page:not(.topic-edit-page) .poll-builder-v231 summary small{font-size:10.5px!important;color:#816a50!important}

body.new-topic-page:not(.topic-edit-page) .new-topic-actions{
  margin-top:2px!important;
  padding-top:8px!important;
  gap:12px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-cancel{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 14px!important;
  border-radius:8px!important;
  font-size:12px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-cancel:hover{background:#261a11!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-submit{
  min-width:190px!important;
  height:48px!important;
  border-radius:9px!important;
  font-size:13px!important;
  box-shadow:0 10px 26px rgba(255,126,0,.18)!important;
}

body.new-topic-page:not(.topic-edit-page) .new-topic-sidebar{top:82px!important;gap:14px!important}
body.new-topic-page:not(.topic-edit-page) .new-topic-side-card{
  border-radius:10px!important;
  border-color:#493321!important;
  background:linear-gradient(180deg,#261b12,#20160f)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.13)!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-side-card>header{
  min-height:50px!important;
  padding:11px 13px!important;
  gap:10px!important;
  border-bottom:1px solid rgba(66,46,30,.55)!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-side-card>header span{
  width:30px!important;
  height:30px!important;
  border-radius:7px!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-side-card>header strong{font-size:12.5px!important}
body.new-topic-page:not(.topic-edit-page) .topic-tips-stage{min-height:92px!important;padding:10px 14px 8px!important}
body.new-topic-page:not(.topic-edit-page) .topic-tip p{font-size:11.5px!important;line-height:1.65!important;color:#a18768!important}
body.new-topic-page:not(.topic-edit-page) .format-shortcuts{gap:10px!important;padding:11px 13px 15px!important}
body.new-topic-page:not(.topic-edit-page) .format-shortcuts span{font-size:11px!important;color:#9a8062!important}
body.new-topic-page:not(.topic-edit-page) .format-shortcuts kbd{font-size:9px!important;min-width:44px!important}
body.new-topic-page:not(.topic-edit-page) .rules-card ul{font-size:10.8px!important;line-height:1.6!important;color:#967b5d!important;padding-top:10px!important}

@media(max-width:980px){
  body.new-topic-page:not(.topic-edit-page) .new-topic-layout{grid-template-columns:1fr!important;max-width:820px!important}
  body.new-topic-page:not(.topic-edit-page) .new-topic-sidebar{position:static!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:720px){
  body.new-topic-page:not(.topic-edit-page) .new-topic-layout{padding-top:20px!important}
  body.new-topic-page:not(.topic-edit-page) .new-topic-hero{padding:14px!important}
  body.new-topic-page:not(.topic-edit-page) .new-topic-hero h1{font-size:26px!important}
  body.new-topic-page:not(.topic-edit-page) .new-topic-split-fields{grid-template-columns:1fr!important}
  body.new-topic-page:not(.topic-edit-page) .new-topic-sidebar{grid-template-columns:1fr!important}
  body.new-topic-page:not(.topic-edit-page) .editor-composer-v231 textarea[data-editor]{min-height:310px!important}
  body.new-topic-page:not(.topic-edit-page) .new-topic-actions{justify-content:space-between!important}
}

/* ==== V2.79 · account settings readability + templates coming soon ==== */
body.settings-page .settings-title{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:15px!important;
  margin:8px 0 20px!important;
  padding:16px 18px!important;
  border:1px solid #443326;
  border-radius:10px;
  background:linear-gradient(180deg,#271d14 0%,#21180f 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 28px rgba(0,0,0,.12);
}
body.settings-page .settings-title::after{
  content:"";
  position:absolute;
  left:0;top:11px;bottom:11px;
  width:2px;
  border-radius:3px;
  background:#ff8900;
  box-shadow:0 0 12px rgba(255,137,0,.25);
}
body.settings-page .settings-back{
  width:40px;height:40px;
  flex:0 0 40px;
  display:grid!important;
  place-items:center;
  border:1px solid #513821;
  border-radius:8px;
  background:#302116;
  color:#d5b58d!important;
  font-size:18px!important;
  font-weight:900;
  transition:.16s ease;
}
body.settings-page .settings-back:hover{background:#3a2818;color:#ffab42!important;border-color:#765020;transform:translateX(-1px)}
body.settings-page .settings-title h1{
  margin:0!important;
  color:#f8f2ea!important;
  font-size:29px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-.7px!important;
}
body.settings-page .settings-title p{
  margin:6px 0 0!important;
  color:#a98b67!important;
  font-size:13px!important;
  line-height:1.35!important;
}
body.settings-page .settings-top-tabs{
  padding:6px!important;
  gap:6px!important;
  margin-bottom:20px!important;
  border-color:#443326!important;
  background:#21180f!important;
  border-radius:10px!important;
}
body.settings-page .settings-top-tabs a{
  min-height:43px!important;
  padding:0 16px!important;
  gap:8px!important;
  border-radius:7px!important;
  color:#a18768!important;
  font-size:12.5px!important;
  font-weight:800!important;
}
body.settings-page .settings-top-tabs a:hover{color:#ead8bf!important;background:#302218!important}
body.settings-page .settings-top-tabs a.active{
  color:#211308!important;
  background:linear-gradient(180deg,#ff9a16,#f27b00)!important;
  box-shadow:0 7px 18px rgba(255,134,0,.16)!important;
}
body.settings-page .settings-content{gap:16px!important}
body.settings-page .settings-card{
  border-color:#46372a!important;
  background:linear-gradient(180deg,#291f17 0%,#241b13 100%)!important;
}
body.settings-page .settings-card h2{font-size:17px!important;line-height:1.25!important;color:#f4ede4!important}
body.settings-page .settings-card>p,
body.settings-page .settings-muted{font-size:12px!important;line-height:1.55!important;color:#a48662!important}

body.settings-page .settings-coming-soon{
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:38px 44px!important;
  text-align:left;
  overflow:hidden;
}
body.settings-page .settings-coming-soon::after{
  content:"";
  position:absolute;
  width:190px;height:190px;
  right:-55px;top:-75px;
  border:1px solid rgba(255,137,0,.10);
  border-radius:50%;
  box-shadow:0 0 0 28px rgba(255,137,0,.025),0 0 0 58px rgba(255,137,0,.018);
  pointer-events:none;
}
.settings-coming-soon-icon{
  width:70px;height:70px;
  flex:0 0 70px;
  display:grid;
  place-items:center;
  border:1px solid #704719;
  border-radius:16px;
  background:linear-gradient(145deg,#4a2c0a,#2c1d10);
  color:#ff9a17;
  font-size:30px;
  font-weight:900;
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 12px 28px rgba(0,0,0,.22);
}
.settings-coming-soon-copy{position:relative;z-index:1;max-width:590px}
.settings-coming-soon-copy .settings-coming-soon-badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 9px;
  margin-bottom:9px;
  border:1px solid #69451c;
  border-radius:999px;
  background:#3a270f;
  color:#ffad38;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
body.settings-page .settings-coming-soon h2{margin:0 0 8px!important;font-size:24px!important}
body.settings-page .settings-coming-soon p{margin:0!important;color:#b69a78!important;font-size:13.5px!important;line-height:1.55!important}
.settings-coming-soon-copy small{display:block;margin-top:9px;color:#7f6b55;font-size:11px}

@media(max-width:740px){
  body.settings-page .settings-title{padding:14px 13px!important;gap:11px!important}
  body.settings-page .settings-title h1{font-size:24px!important}
  body.settings-page .settings-title p{font-size:11.5px!important}
  body.settings-page .settings-top-tabs a{min-width:43px!important;padding:0 11px!important}
  body.settings-page .settings-coming-soon{min-height:220px;flex-direction:column;text-align:center;padding:28px 18px!important;gap:16px}
  .settings-coming-soon-icon{width:60px;height:60px;flex-basis:60px;font-size:26px}
  body.settings-page .settings-coming-soon h2{font-size:21px!important}
}

/* =====================================================================
   V2.80 · topic edit readability + latest threads/list redesign
   ===================================================================== */

/* --- EDYTUJ WĄTEK --- */
body.topic-edit-page .page-shell{
  width:min(1220px,calc(100% - 38px))!important;
  padding-top:34px!important;
}
body.topic-edit-page .new-topic-layout{
  grid-template-columns:minmax(0,1fr) 292px!important;
  gap:28px!important;
  max-width:1180px!important;
}
body.topic-edit-page .new-topic-back{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:0 10px!important;
  margin-bottom:14px!important;
  border-radius:7px!important;
  color:#aa8b66!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.topic-edit-page .new-topic-back:hover{background:#25180e!important;color:#f1c48d!important}
body.topic-edit-page .topic-edit-hero{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin:0 0 18px!important;
  padding:17px 18px!important;
  border:1px solid #4b321e!important;
  border-radius:11px!important;
  background:linear-gradient(110deg,#2a1c10 0%,#21160d 70%,#1d130b 100%)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.025)!important;
}
body.topic-edit-page .topic-edit-hero .new-topic-hero-icon{
  width:46px!important;height:46px!important;flex:0 0 46px!important;
  display:grid!important;place-items:center!important;
  border-radius:10px!important;
  border:1px solid #7b4c17!important;
  background:linear-gradient(180deg,#4c2b09,#321c08)!important;
  color:#ff9d19!important;font-size:19px!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.2)!important;
}
body.topic-edit-page .topic-edit-hero h1{
  margin:0!important;
  font-size:31px!important;
  line-height:1.05!important;
  letter-spacing:-.045em!important;
  color:#fff8ef!important;
}
body.topic-edit-page .topic-edit-hero h1 em{font-style:normal!important;color:#ff9918!important}
body.topic-edit-page .topic-edit-hero p{
  margin:7px 0 0!important;
  color:#a48763!important;
  font-size:12.5px!important;
  line-height:1.55!important;
}
body.topic-edit-page .topic-edit-form{display:grid!important;gap:18px!important}
body.topic-edit-page .topic-edit-section{
  padding:18px!important;
  border:1px solid #46301e!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,#271a10,#22170e)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.02)!important;
}
body.topic-edit-page .topic-edit-section-title{
  display:flex!important;align-items:center!important;gap:12px!important;
  margin:0 0 16px!important;padding:0 0 13px!important;
  border-bottom:1px solid rgba(91,61,36,.62)!important;
}
body.topic-edit-page .topic-edit-section-title>span{
  width:34px!important;height:34px!important;flex:0 0 34px!important;
  display:grid!important;place-items:center!important;
  border-radius:8px!important;border:1px solid #704515!important;
  background:#382108!important;color:#ffa52e!important;
  font-size:10px!important;font-weight:950!important;
}
body.topic-edit-page .topic-edit-section-title strong{display:block!important;font-size:14px!important;color:#f6ede3!important;line-height:1.2!important}
body.topic-edit-page .topic-edit-section-title small{display:block!important;margin-top:3px!important;font-size:10.5px!important;color:#846a4e!important;line-height:1.4!important}
body.topic-edit-page .new-topic-field>label,
body.topic-edit-page .new-topic-meta-grid label{color:#b99a75!important;font-size:11.5px!important;font-weight:750!important}
body.topic-edit-page .new-topic-field input,
body.topic-edit-page .new-topic-meta-grid input,
body.topic-edit-page .new-topic-meta-grid select{
  min-height:46px!important;
  border-color:#52361f!important;
  border-radius:8px!important;
  background:#1a110a!important;
  color:#f2e9df!important;
  font-size:12px!important;
  padding:0 13px!important;
}
body.topic-edit-page .new-topic-field input:focus,
body.topic-edit-page .new-topic-meta-grid input:focus,
body.topic-edit-page .new-topic-meta-grid select:focus{
  border-color:#91602b!important;
  box-shadow:0 0 0 3px rgba(255,139,0,.065)!important;
}
body.topic-edit-page .forum-picker-trigger{
  min-height:64px!important;
  padding:10px 13px!important;
  border-radius:9px!important;
  border-color:#52361f!important;
  background:#1b120b!important;
}
body.topic-edit-page .forum-picker-selected-icon{width:38px!important;height:38px!important;border-radius:8px!important}
body.topic-edit-page .forum-picker-selected-copy strong{font-size:13.5px!important;color:#f4eadf!important}
body.topic-edit-page .forum-picker-selected-copy small{font-size:10px!important;color:#896f52!important}
body.topic-edit-page .editor-shell-v231{border-radius:11px!important;border-color:#50351f!important}
body.topic-edit-page .editor-toolbar-v231{min-height:52px!important;padding:8px 10px!important}
body.topic-edit-page .editor-toolbar-v231 .editor-toolbar-tools button{
  width:32px!important;min-width:32px!important;height:32px!important;
  font-size:11px!important;border-radius:7px!important;
}
body.topic-edit-page .editor-textarea-wrap,
body.topic-edit-page .editor-textarea-wrap textarea{min-height:430px!important}
body.topic-edit-page .editor-textarea-wrap textarea{
  padding:20px!important;
  color:#f4ece2!important;
  font-size:12.5px!important;
  line-height:1.75!important;
}
body.topic-edit-page .new-topic-sidebar{gap:14px!important;top:84px!important}
body.topic-edit-page .new-topic-side-card{
  border-radius:10px!important;
  border-color:#49311e!important;
  background:linear-gradient(180deg,#291b10,#22170e)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.14)!important;
}
body.topic-edit-page .new-topic-side-card>header{min-height:48px!important;padding:0 13px!important}
body.topic-edit-page .new-topic-side-card>header span{width:30px!important;height:30px!important;border-radius:7px!important}
body.topic-edit-page .new-topic-side-card>header strong{font-size:12.5px!important;color:#efc47f!important}
body.topic-edit-page .topic-edit-side-list,
body.topic-edit-page .topic-edit-side-note{font-size:10.8px!important;line-height:1.72!important;color:#9a7d5b!important}
body.topic-edit-page .topic-edit-actions{padding-top:4px!important;gap:10px!important}
body.topic-edit-page .new-topic-submit{min-height:44px!important;padding:0 18px!important;border-radius:8px!important;font-size:12px!important}
body.topic-edit-page .new-topic-cancel{min-height:44px!important;display:inline-flex!important;align-items:center!important;padding:0 14px!important;border-radius:8px!important}

/* --- WĄTKI / AKTYWNOŚĆ --- */
body.threads-page .page-shell{
  width:min(1220px,calc(100% - 38px))!important;
  padding-top:30px!important;
}
body.threads-page .section-heading{
  position:relative!important;
  align-items:center!important;
  gap:15px!important;
  margin:0 0 18px!important;
  padding:18px 20px!important;
  border:1px solid #49311e!important;
  border-radius:12px!important;
  background:
    radial-gradient(circle at 5% 40%,rgba(255,139,0,.08),transparent 26%),
    linear-gradient(110deg,#291b10,#21160d 72%)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.15),inset 0 1px rgba(255,255,255,.025)!important;
  overflow:hidden!important;
}
body.threads-page .section-heading::after{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#ff920e;box-shadow:0 0 20px rgba(255,146,14,.24)
}
body.threads-page .section-icon{
  width:46px!important;height:46px!important;flex:0 0 46px!important;
  border-radius:10px!important;border:1px solid #754814!important;
  background:linear-gradient(180deg,#4a2b0a,#311c08)!important;
  color:#ff9d17!important;font-size:20px!important;
}
body.threads-page .eyebrow{font-size:9.5px!important;letter-spacing:.16em!important;color:#c3863d!important}
body.threads-page .section-heading h1{margin:3px 0 5px!important;font-size:28px!important;color:#fff8ef!important;letter-spacing:-.035em!important}
body.threads-page .section-heading p{font-size:12px!important;color:#967957!important;line-height:1.5!important}

body.threads-page .topic-list-v2{
  display:grid!important;
  gap:10px!important;
}
body.threads-page .topic-row-v2{
  position:relative!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) 92px 108px 174px!important;
  gap:16px!important;
  align-items:center!important;
  min-height:92px!important;
  padding:13px 16px!important;
  border:1px solid #3f2d20!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#281c12 0%,#23180f 100%)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.10),inset 0 1px rgba(255,255,255,.018)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
  overflow:hidden!important;
}
body.threads-page .topic-row-v2::before{
  content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:2px;background:transparent;transition:.18s ease
}
body.threads-page .topic-row-v2:hover{
  transform:translateY(-2px)!important;
  border-color:#684522!important;
  background:linear-gradient(180deg,#2d1f13,#271a10)!important;
  box-shadow:0 13px 30px rgba(0,0,0,.16),0 0 0 1px rgba(255,139,0,.025)!important;
}
body.threads-page .topic-row-v2:hover::before{background:#ff9312}
body.threads-page .topic-thumb-media{display:flex!important;align-items:center!important;justify-content:center!important}
body.threads-page .topic-thumb-square{
  width:48px!important;height:48px!important;
  border-radius:10px!important;
  border:1px solid #553921!important;
  background:#17100a!important;
  box-shadow:0 6px 14px rgba(0,0,0,.18)!important;
}
body.threads-page .topic-thumb-avatar.has-image{border-radius:50%!important;overflow:hidden!important}
body.threads-page .topic-thumb-square img{width:100%!important;height:100%!important;object-fit:cover!important}
body.threads-page .topic-thumb-fallback{font-size:18px!important;color:#ffad39!important}
body.threads-page .topic-main{min-width:0!important}
body.threads-page .topic-title-line{margin-bottom:7px!important;gap:8px!important}
body.threads-page .topic-title-line strong{
  color:#fff8ef!important;
  font-size:15.5px!important;
  font-weight:900!important;
  line-height:1.28!important;
  letter-spacing:-.015em!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body.threads-page .topic-byline{
  margin:0!important;
  display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;
  color:#907456!important;font-size:10.8px!important;
}
body.threads-page .topic-byline b{font-size:11.2px!important;font-weight:850!important}
body.threads-page .topic-level-chip{height:19px!important;min-width:22px!important;font-size:9px!important}
body.threads-page .topic-tags{margin-top:7px!important;gap:5px!important}
body.threads-page .topic-tags span{padding:3px 7px!important;font-size:8.5px!important;border-radius:999px!important}
body.threads-page .topic-stat{
  min-height:52px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  border-left:1px solid rgba(81,55,34,.44)!important;
}
body.threads-page .topic-stat b{font-size:15px!important;color:#f8eee3!important;line-height:1!important}
body.threads-page .topic-stat span{font-size:8px!important;color:#80684d!important;letter-spacing:.095em!important;font-weight:850!important}
body.threads-page .topic-last{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  padding-left:14px!important;
  border-left:1px solid rgba(81,55,34,.55)!important;
}
body.threads-page .topic-last .avatar-xs{width:38px!important;height:38px!important;font-size:11px!important}
body.threads-page .topic-last strong{font-size:11.5px!important;color:#e9dac8!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.threads-page .topic-last small{margin-top:3px!important;color:#81694f!important;font-size:9.5px!important}

@media(max-width:980px){
  body.topic-edit-page .new-topic-layout{grid-template-columns:1fr!important}
  body.topic-edit-page .new-topic-sidebar{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.threads-page .topic-row-v2{grid-template-columns:58px minmax(0,1fr) 82px 94px!important}
  body.threads-page .topic-last{display:none!important}
}
@media(max-width:720px){
  body.topic-edit-page .new-topic-sidebar{grid-template-columns:1fr!important}
  body.topic-edit-page .topic-edit-hero h1{font-size:27px!important}
  body.threads-page .page-shell{width:min(100% - 22px,1220px)!important}
  body.threads-page .section-heading{padding:15px!important}
  body.threads-page .section-heading h1{font-size:24px!important}
  body.threads-page .topic-row-v2{grid-template-columns:48px minmax(0,1fr) 76px!important;gap:11px!important;padding:12px!important}
  body.threads-page .topic-stat:last-of-type{display:none!important}
}
@media(max-width:520px){
  body.threads-page .topic-row-v2{grid-template-columns:44px minmax(0,1fr)!important}
  body.threads-page .topic-stat,body.threads-page .topic-last{display:none!important}
  body.threads-page .topic-thumb-square{width:42px!important;height:42px!important}
  body.threads-page .topic-title-line strong{font-size:14px!important}
}

/* ==== V2.81 · profile page readability overhaul ==== */
body.profile-page .page-shell{
  padding-top:34px!important;
  padding-bottom:34px!important;
}
body.profile-page .page-shell > * + *{margin-top:16px!important}

.profile-page .profile-hero{
  padding:34px 32px 30px!important;
  border:1px solid #5a3a1c!important;
  border-radius:16px!important;
  background:
    radial-gradient(circle at 12% 0,rgba(255,148,31,.10),transparent 32%),
    linear-gradient(180deg,#322419 0%,#261b13 100%)!important;
  box-shadow:0 18px 36px rgba(0,0,0,.22)!important;
}
.profile-page .profile-id{
  display:grid!important;
  grid-template-columns:auto minmax(280px,1.1fr) minmax(320px,.95fr)!important;
  align-items:center!important;
  gap:26px!important;
}
.profile-page .profile-id > .avatar{
  width:108px!important;
  height:108px!important;
  min-width:108px!important;
  border-width:4px!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28)!important;
}
.profile-page .profile-identity{min-width:0!important}
.profile-page .profile-name-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:8px!important;
}
.profile-page .profile-name-row h1{
  margin:0!important;
  font-size:43px!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
}
.profile-page .profile-identity>p{
  margin:0 0 14px!important;
  font-size:17px!important;
  color:#c89c6c!important;
}
.profile-page .role-pill{
  min-height:28px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  font-size:11.5px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
}

.profile-page .profile-social-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:16px!important;
}
.profile-page .profile-social-actions button,
.profile-page .profile-social-actions a{
  min-height:42px!important;
  padding:0 16px!important;
  border-radius:10px!important;
  font-size:12.5px!important;
  font-weight:800!important;
}

.profile-page .profile-rankline,
.profile-page .profile-scorebar{
  gap:12px!important;
  margin-top:2px!important;
}
.profile-page .profile-scorebar .profile-score-item,
.profile-page .profile-rankline span{
  min-width:150px!important;
  min-height:58px!important;
  border-radius:12px!important;
  padding:10px 14px!important;
}
.profile-page .profile-scorebar .profile-score-item i{
  font-size:19px!important;
}
.profile-page .profile-score-copy small{
  font-size:10px!important;
  letter-spacing:.16em!important;
}
.profile-page .profile-score-copy b{
  font-size:23px!important;
  line-height:1.05!important;
}

.profile-page .profile-info.profile-info-v211{
  gap:14px!important;
  max-width:none!important;
}
.profile-page .profile-info-v211 .profile-info-card{
  min-height:88px!important;
  padding:16px 18px!important;
  border-radius:14px!important;
}
.profile-page .profile-info-v211 .profile-info-icon{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  font-size:21px!important;
}
.profile-page .profile-info-v211 .profile-info-card small{
  font-size:10px!important;
  letter-spacing:.14em!important;
}
.profile-page .profile-info-v211 .profile-info-card strong{
  font-size:18px!important;
  line-height:1.25!important;
}

.profile-page .profile-stats.profile-stats-premium{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.profile-page .profile-stat{
  min-height:98px!important;
  border-radius:14px!important;
  padding:18px 18px!important;
  border:1px solid #4b3423!important;
  background:linear-gradient(180deg,#291e15,#211810)!important;
  box-shadow:0 10px 22px rgba(0,0,0,.12)!important;
}
.profile-page .profile-stat>span{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  font-size:19px!important;
  border-radius:12px!important;
}
.profile-page .profile-stat small{
  font-size:10px!important;
  letter-spacing:.15em!important;
}
.profile-page .profile-stat b{
  font-size:38px!important;
  line-height:1!important;
  margin:7px 0 6px!important;
}
.profile-page .profile-stat em{
  font-size:12px!important;
  color:#9a8060!important;
}

.profile-page .profile-card-showcase,
.profile-page .referral-card,
.profile-page .profile-dashboard{
  border-radius:14px!important;
  border:1px solid #453123!important;
  background:linear-gradient(180deg,#251b13,#1d150f)!important;
  box-shadow:0 14px 30px rgba(0,0,0,.14)!important;
}
.profile-page .profile-card-showcase header{
  padding:14px 18px!important;
  border-bottom:1px solid #35271d!important;
}
.profile-page .profile-card-showcase header strong{
  font-size:15px!important;
}
.profile-page .profile-card-showcase header a{
  font-size:12px!important;
  font-weight:800!important;
}
.profile-page .profile-card-track{
  padding:14px!important;
  gap:12px!important;
}
.profile-page .profile-collector-card{
  min-height:270px!important;
  border-radius:12px!important;
}
.profile-page .profile-card-overlay strong{
  font-size:12px!important;
}

.profile-page .referral-card{
  padding:16px 18px!important;
}
.profile-page .referral-card h3{
  font-size:16px!important;
  margin:0 0 8px!important;
}
.profile-page .referral-card p{
  font-size:12.5px!important;
  line-height:1.5!important;
  color:#a58866!important;
  margin:0 0 12px!important;
}
.profile-page .referral-card>div{
  display:grid!important;
  grid-template-columns:1fr auto auto!important;
  gap:0!important;
  overflow:hidden!important;
  border-radius:10px!important;
  border:1px solid #4b3828!important;
}
.profile-page .referral-card code{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  padding:0 16px!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
}
.profile-page .referral-card button,
.profile-page .referral-card a{
  min-width:56px!important;
  min-height:48px!important;
  font-size:17px!important;
}

.profile-page .profile-dashboard{
  overflow:hidden!important;
}
.profile-page .profile-tabs{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  overflow:auto!important;
  padding:14px 16px 0!important;
  border-bottom:1px solid #36281d!important;
  scrollbar-width:thin;
}
.profile-page .profile-tabs button{
  min-height:44px!important;
  padding:0 15px!important;
  border-radius:10px 10px 0 0!important;
  font-size:13px!important;
  font-weight:850!important;
  color:#b89a76!important;
  background:transparent!important;
  border:1px solid transparent!important;
  border-bottom:2px solid transparent!important;
  white-space:nowrap!important;
}
.profile-page .profile-tabs button small{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;
  margin-left:4px!important;
  border-radius:999px!important;
  font-size:10px!important;
  background:#34261b!important;
  color:#e8c28c!important;
}
.profile-page .profile-tabs button:hover{
  color:#f1d7b4!important;
  background:#281d15!important;
}
.profile-page .profile-tabs button.active{
  color:#ffac42!important;
  background:linear-gradient(180deg,rgba(255,150,24,.10),rgba(255,150,24,.03))!important;
  border-color:#4d3620!important;
  border-bottom-color:#ff9b1f!important;
}
.profile-page .profile-panes{
  padding:18px!important;
}
.profile-page .profile-pane{
  padding:0!important;
}
.profile-page .profile-pane h2{
  margin:0 0 16px!important;
  font-size:22px!important;
  line-height:1.15!important;
}
.profile-page .profile-pane h3{
  margin:18px 0 12px!important;
  font-size:15px!important;
}
.profile-page .empty-panel{
  min-height:180px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border:1px dashed #4b3828!important;
  border-radius:12px!important;
  background:#21170f!important;
  color:#9e8465!important;
  font-size:14px!important;
  padding:24px!important;
}

.profile-page .profile-level .level-summary{
  min-height:90px!important;
  padding:18px 20px!important;
  border-radius:14px!important;
  gap:16px!important;
}
.profile-page .profile-level .level-summary>span{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  font-size:24px!important;
}
.profile-page .profile-level .level-summary strong{
  font-size:22px!important;
}
.profile-page .profile-level .level-summary small{
  font-size:13px!important;
}
.profile-page .profile-level .level-summary>b{
  font-size:22px!important;
}
.profile-page .profile-level .progress-meta,
.profile-page .profile-level .profile-level-foot{
  font-size:12px!important;
  gap:14px!important;
}
.profile-page .profile-level .benefit-grid{
  gap:10px!important;
}
.profile-page .profile-level .benefit-row{
  min-height:48px!important;
  padding:12px 14px!important;
  border-radius:10px!important;
}
.profile-page .profile-level .benefit-row span{
  font-size:13px!important;
}
.profile-page .profile-level .benefit-row small{
  font-size:11px!important;
}

.profile-page .profile-badge-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.profile-page .profile-badge-grid article{
  min-height:80px!important;
  padding:14px 14px!important;
  border-radius:12px!important;
}
.profile-page .profile-badge-grid article>span{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  font-size:18px!important;
  border-radius:12px!important;
}
.profile-page .profile-badge-grid strong{
  display:block!important;
  font-size:13px!important;
  line-height:1.3!important;
}
.profile-page .profile-badge-grid small{
  display:block!important;
  margin-top:4px!important;
  font-size:11px!important;
}

.profile-page .profile-card-mini-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
}
.profile-page .profile-mini-card{
  min-height:250px!important;
  border-radius:12px!important;
}
.profile-page .profile-mini-card strong{
  font-size:12px!important;
  line-height:1.3!important;
}

.profile-page .profile-activity-list{
  display:grid!important;
  gap:8px!important;
}
.profile-page .profile-activity-list a{
  min-height:76px!important;
  padding:14px 16px!important;
  border:1px solid #3e3024!important;
  border-radius:12px!important;
  background:#231a12!important;
}
.profile-page .profile-activity-list>a>span{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  font-size:17px!important;
  border-radius:12px!important;
}
.profile-page .profile-activity-list strong{
  font-size:14px!important;
  line-height:1.35!important;
}
.profile-page .profile-activity-list small{
  display:block!important;
  margin-top:5px!important;
  font-size:11px!important;
  color:#8f7457!important;
}

.profile-page .profile-people-list{
  display:grid!important;
  gap:8px!important;
}
.profile-page .profile-people-list>a{
  min-height:80px!important;
  padding:14px 16px!important;
  border:1px solid #3e3024!important;
  border-radius:12px!important;
  background:#231a12!important;
}
.profile-page .profile-people-list .avatar{
  width:46px!important;
  height:46px!important;
}
.profile-page .profile-people-list strong{
  font-size:14px!important;
  line-height:1.25!important;
}
.profile-page .profile-people-list small{
  font-size:11px!important;
  line-height:1.35!important;
  color:#8f7457!important;
}
.profile-page .profile-people-list>a>span{
  font-size:12px!important;
  font-weight:800!important;
  color:#b99a75!important;
}

@media(max-width:1180px){
  .profile-page .profile-id{
    grid-template-columns:auto 1fr!important;
  }
  .profile-page .profile-info.profile-info-v211{
    grid-column:1/-1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .profile-page .profile-card-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:960px){
  .profile-page .profile-hero{padding:24px 22px!important}
  .profile-page .profile-id{grid-template-columns:1fr!important;gap:18px!important}
  .profile-page .profile-name-row h1{font-size:34px!important}
  .profile-page .profile-stats.profile-stats-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .profile-page .profile-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .profile-page .profile-card-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .profile-page .profile-info.profile-info-v211{grid-template-columns:1fr!important}
  .profile-page .profile-stat{min-height:88px!important}
  .profile-page .profile-stat b{font-size:30px!important}
  .profile-page .profile-card-track{display:flex!important;overflow:auto!important}
  .profile-page .profile-collector-card{width:168px!important;min-width:168px!important;flex:0 0 168px!important}
  .profile-page .profile-card-mini-grid{display:flex!important;overflow:auto!important}
  .profile-page .profile-mini-card{width:164px!important;min-width:164px!important;flex:0 0 164px!important}
  .profile-page .profile-panes{padding:14px!important}
  .profile-page .profile-badge-grid{grid-template-columns:1fr!important}
}

/* ==== V2.82 · profile score cards rebuild (level / reputation) ==== */
.profile-page .profile-rankline.profile-scorebar{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:14px!important;
  width:auto!important;
  margin-top:8px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item,
.profile-page .profile-rankline.profile-scorebar > span.profile-score-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:46px 1fr!important;
  align-items:center!important;
  gap:12px!important;
  flex:0 0 auto!important;
  min-width:198px!important;
  min-height:72px!important;
  padding:12px 16px!important;
  border-radius:14px!important;
  border:1px solid #5a4029!important;
  box-shadow:0 10px 26px rgba(0,0,0,.18)!important;
  overflow:hidden!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item::after,
.profile-page .profile-rankline.profile-scorebar > .profile-score-item::before{
  content:""!important;
  position:absolute!important;
  inset:auto!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item::before{
  top:0!important;
  left:0!important;
  right:0!important;
  height:1px!important;
  background:rgba(255,255,255,.10)!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item > i{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  font-size:18px!important;
  line-height:1!important;
  border-radius:12px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:none!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  gap:4px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy small{
  display:block!important;
  margin:0!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.18em!important;
  line-height:1!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy b{
  display:block!important;
  margin:0!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-level{
  background:
    radial-gradient(circle at 12% 18%,rgba(185,122,255,.22),transparent 40%),
    linear-gradient(180deg,#342249 0%,#261833 100%)!important;
  border-color:#7451a7!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level > i{
  color:#f4eaff!important;
  background:linear-gradient(180deg,#8f63dc,#6e45bf)!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level .profile-score-copy small{
  color:#c9afea!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level .profile-score-copy b{
  color:#ffffff!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level:hover{
  border-color:#8c66c9!important;
  box-shadow:0 14px 30px rgba(85,47,142,.28)!important;
}

.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation{
  background:
    radial-gradient(circle at 12% 18%,rgba(255,193,69,.16),transparent 42%),
    linear-gradient(180deg,#3c2b16 0%,#2b1e10 100%)!important;
  border-color:#8c6324!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation > i{
  color:#fff7df!important;
  background:linear-gradient(180deg,#d6a43a,#b88016)!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation .profile-score-copy small{
  color:#d9b36d!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation .profile-score-copy b{
  color:#fff4dc!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation:hover{
  border-color:#b27d30!important;
  box-shadow:0 14px 30px rgba(125,83,18,.24)!important;
}

@media(max-width:640px){
  .profile-page .profile-rankline.profile-scorebar{
    width:100%!important;
    gap:10px!important;
  }
  .profile-page .profile-rankline.profile-scorebar > .profile-score-item,
  .profile-page .profile-rankline.profile-scorebar > span.profile-score-item{
    flex:1 1 100%!important;
    min-width:0!important;
  }
}

/* ==== V2.83 · compact profile scale correction ==== */
body.profile-page .page-shell{
  padding-top:28px!important;
  padding-bottom:46px!important;
}
body.profile-page .page-shell > * + *{margin-top:12px!important}

/* hero back to a compact desktop scale */
.profile-page .profile-hero{
  padding:25px 26px 24px!important;
  border-radius:12px!important;
}
.profile-page .profile-id{
  grid-template-columns:auto minmax(250px,1fr) minmax(300px,.9fr)!important;
  gap:20px!important;
}
.profile-page .profile-id > .avatar{
  width:82px!important;
  height:82px!important;
  min-width:82px!important;
  border-width:3px!important;
}
.profile-page .profile-name-row{
  gap:9px!important;
  margin-bottom:5px!important;
}
.profile-page .profile-name-row h1{
  font-size:31px!important;
  line-height:1!important;
}
.profile-page .profile-identity>p{
  margin:0 0 10px!important;
  font-size:13px!important;
}
.profile-page .role-pill{
  min-height:23px!important;
  padding:0 9px!important;
  font-size:9.5px!important;
}

/* level + reputation: compact, still purple/gold */
.profile-page .profile-rankline.profile-scorebar{
  gap:9px!important;
  margin-top:6px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item,
.profile-page .profile-rankline.profile-scorebar > span.profile-score-item{
  grid-template-columns:36px 1fr!important;
  gap:9px!important;
  min-width:154px!important;
  min-height:54px!important;
  padding:8px 11px!important;
  border-radius:10px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item > i{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  border-radius:9px!important;
  font-size:15px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy{
  gap:2px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy small{
  font-size:7.5px!important;
  letter-spacing:.13em!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy b{
  font-size:15px!important;
  line-height:1!important;
}

/* right-side hero information */
.profile-page .profile-info.profile-info-v211{
  gap:9px!important;
}
.profile-page .profile-info-v211 .profile-info-card{
  min-height:62px!important;
  padding:10px 12px!important;
  border-radius:10px!important;
}
.profile-page .profile-info-v211 .profile-info-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  font-size:15px!important;
  border-radius:8px!important;
}
.profile-page .profile-info-v211 .profile-info-card small{
  font-size:7.5px!important;
  letter-spacing:.12em!important;
}
.profile-page .profile-info-v211 .profile-info-card strong{
  font-size:12.5px!important;
  line-height:1.2!important;
}

.profile-page .profile-social-actions{
  gap:7px!important;
  margin-top:11px!important;
}
.profile-page .profile-social-actions button,
.profile-page .profile-social-actions a{
  min-height:34px!important;
  padding:0 11px!important;
  border-radius:7px!important;
  font-size:10.5px!important;
}

/* summary cards */
.profile-page .profile-stats.profile-stats-premium{
  gap:9px!important;
  margin:12px 0!important;
}
.profile-page .profile-stat{
  min-height:78px!important;
  padding:13px 14px!important;
  border-radius:10px!important;
}
.profile-page .profile-stat>span{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  font-size:15px!important;
  border-radius:9px!important;
}
.profile-page .profile-stat small{
  font-size:7.5px!important;
  letter-spacing:.12em!important;
}
.profile-page .profile-stat b{
  font-size:27px!important;
  margin:4px 0 3px!important;
}
.profile-page .profile-stat em{
  font-size:9.5px!important;
}

/* card showcase less dominant */
.profile-page .profile-card-showcase,
.profile-page .referral-card,
.profile-page .profile-dashboard{
  border-radius:10px!important;
}
.profile-page .profile-card-showcase header{
  padding:10px 13px!important;
}
.profile-page .profile-card-showcase header strong{font-size:12px!important}
.profile-page .profile-card-showcase header a{font-size:10px!important}
.profile-page .profile-card-track{
  padding:10px!important;
  gap:8px!important;
}
.profile-page .profile-collector-card{
  min-height:185px!important;
  border-radius:9px!important;
}
.profile-page .profile-card-overlay strong{font-size:10px!important}

/* referral */
.profile-page .referral-card{
  padding:12px 14px!important;
}
.profile-page .referral-card h3{
  font-size:12px!important;
  margin:0 0 5px!important;
}
.profile-page .referral-card p{
  font-size:9.5px!important;
  margin:0 0 8px!important;
}
.profile-page .referral-card>div{border-radius:7px!important}
.profile-page .referral-card code{
  min-height:38px!important;
  padding:0 11px!important;
  font-size:13px!important;
}
.profile-page .referral-card button,
.profile-page .referral-card a{
  min-width:42px!important;
  min-height:38px!important;
  font-size:13px!important;
}

/* profile tabs + panes */
.profile-page .profile-tabs{
  gap:4px!important;
  padding:8px 10px 0!important;
}
.profile-page .profile-tabs button{
  min-height:36px!important;
  padding:0 10px!important;
  border-radius:7px 7px 0 0!important;
  font-size:10.5px!important;
}
.profile-page .profile-tabs button small{
  min-width:15px!important;
  height:15px!important;
  padding:0 4px!important;
  font-size:8px!important;
}
.profile-page .profile-panes{padding:13px!important}
.profile-page .profile-pane h2{
  margin:0 0 12px!important;
  font-size:17px!important;
}
.profile-page .profile-pane h3{
  margin:14px 0 9px!important;
  font-size:12px!important;
}
.profile-page .empty-panel{
  min-height:120px!important;
  border-radius:9px!important;
  padding:18px!important;
  font-size:11px!important;
}

/* level pane */
.profile-page .profile-level{
  padding:17px!important;
}
.profile-page .profile-level .level-summary{
  min-height:68px!important;
  padding:12px 14px!important;
  border-radius:10px!important;
  gap:11px!important;
}
.profile-page .profile-level .level-summary>span{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  font-size:18px!important;
}
.profile-page .profile-level .level-summary strong{font-size:16px!important}
.profile-page .profile-level .level-summary small{font-size:10px!important}
.profile-page .profile-level .level-summary>b{font-size:16px!important}
.profile-page .profile-level .progress-meta,
.profile-page .profile-level .profile-level-foot{font-size:9.5px!important}
.profile-page .profile-level .benefit-grid{gap:7px!important}
.profile-page .profile-level .benefit-row{
  min-height:39px!important;
  padding:9px 10px!important;
  border-radius:7px!important;
}
.profile-page .profile-level .benefit-row span{font-size:10.5px!important}
.profile-page .profile-level .benefit-row small{font-size:9px!important}

/* badges */
.profile-page .profile-badge-grid{gap:8px!important}
.profile-page .profile-badge-grid article{
  min-height:62px!important;
  padding:9px 10px!important;
  border-radius:8px!important;
}
.profile-page .profile-badge-grid article>span{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  font-size:14px!important;
  border-radius:8px!important;
}
.profile-page .profile-badge-grid strong{font-size:10.5px!important}
.profile-page .profile-badge-grid small{font-size:8.5px!important}

/* activity + people */
.profile-page .profile-activity-list{gap:5px!important}
.profile-page .profile-activity-list a{
  min-height:58px!important;
  padding:10px 11px!important;
  border-radius:8px!important;
}
.profile-page .profile-activity-list>a>span{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  font-size:13px!important;
  border-radius:8px!important;
}
.profile-page .profile-activity-list strong{font-size:11px!important}
.profile-page .profile-activity-list small{font-size:9px!important;margin-top:3px!important}
.profile-page .profile-people-list{gap:5px!important}
.profile-page .profile-people-list>a{
  min-height:60px!important;
  padding:9px 11px!important;
  border-radius:8px!important;
}
.profile-page .profile-people-list .avatar{
  width:36px!important;
  height:36px!important;
}
.profile-page .profile-people-list strong{font-size:11px!important}
.profile-page .profile-people-list small{font-size:9px!important}
.profile-page .profile-people-list>a>span{font-size:9.5px!important}

/* showcase+ */
.profile-page .profile-card-mini-grid{gap:9px!important}
.profile-page .profile-mini-card{
  min-height:185px!important;
  border-radius:9px!important;
}
.profile-page .profile-mini-card strong{font-size:10px!important}

@media(max-width:1180px){
  .profile-page .profile-id{grid-template-columns:auto 1fr!important}
  .profile-page .profile-info.profile-info-v211{grid-column:1/-1!important}
}
@media(max-width:900px){
  .profile-page .profile-hero{padding:20px!important}
  .profile-page .profile-id{grid-template-columns:1fr!important;gap:14px!important}
  .profile-page .profile-name-row h1{font-size:27px!important}
}
@media(max-width:680px){
  .profile-page .profile-stats.profile-stats-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .profile-page .profile-collector-card{width:145px!important;min-width:145px!important;flex-basis:145px!important;min-height:170px!important}
  .profile-page .profile-mini-card{width:145px!important;min-width:145px!important;flex-basis:145px!important;min-height:170px!important}
}

/* ==== V2.84 · profile card showcase + profile tabs polish ==== */

/* Gablotka kart */
.profile-page .profile-card-showcase{
  margin:14px 0!important;
  border:1px solid #54371f!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,#261b12 0%,#1e160f 100%)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.13)!important;
  overflow:hidden!important;
}
.profile-page .profile-card-showcase::before{
  background:
    radial-gradient(circle at 8% 0,rgba(255,149,26,.08),transparent 34%),
    linear-gradient(90deg,rgba(255,135,17,.025),transparent 55%)!important;
}
.profile-page .profile-card-showcase>header{
  position:relative!important;
  height:44px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  border-bottom:1px solid rgba(94,62,35,.52)!important;
  background:linear-gradient(180deg,rgba(255,147,28,.045),rgba(255,147,28,0))!important;
}
.profile-page .profile-card-showcase>header>div{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.profile-page .profile-card-showcase>header>div>span{
  width:27px!important;
  height:27px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:7px!important;
  border:1px solid #654119!important;
  background:#35220d!important;
  color:#ffa323!important;
  font-size:12px!important;
}
.profile-page .profile-card-showcase>header strong{
  color:#f2d4ac!important;
  font-size:12.5px!important;
  font-weight:850!important;
  letter-spacing:.01em!important;
}
.profile-page .profile-card-showcase>header a{
  min-height:28px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 9px!important;
  border:1px solid #49331f!important;
  border-radius:7px!important;
  background:#21170f!important;
  color:#bd9568!important;
  font-size:9.5px!important;
  font-weight:800!important;
  transition:.16s ease!important;
}
.profile-page .profile-card-showcase>header a:hover{
  color:#ffb04d!important;
  border-color:#754814!important;
  background:#2c1d0e!important;
}
.profile-page .profile-card-track{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
  padding:12px 14px 14px!important;
  overflow:auto!important;
  scrollbar-width:thin!important;
  scrollbar-color:#704516 #1a120c!important;
}
.profile-page .profile-collector-card{
  position:relative!important;
  aspect-ratio:206/292!important;
  min-height:0!important;
  padding:0!important;
  border-radius:10px!important;
  border:1px solid #765017!important;
  background:
    radial-gradient(circle at 50% 32%,rgba(255,153,25,.07),transparent 38%),
    linear-gradient(180deg,#17110c,#110d09)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.28)!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.profile-page .profile-collector-card::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 28%,rgba(0,0,0,.12))!important;
  z-index:1!important;
}
.profile-page .profile-collector-card img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  transition:transform .2s ease,filter .2s ease!important;
}
.profile-page .profile-collector-card>span{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding-bottom:30px!important;
  color:#f5f1ea!important;
  font-size:36px!important;
  filter:none!important;
  opacity:.95!important;
}
.profile-page .profile-card-overlay{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:3!important;
  min-height:38px!important;
  display:flex!important;
  align-items:flex-end!important;
  padding:18px 9px 8px!important;
  background:linear-gradient(180deg,transparent,rgba(8,6,4,.86) 58%,rgba(8,6,4,.96))!important;
  pointer-events:none!important;
}
.profile-page .profile-card-overlay strong{
  width:100%!important;
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#f4eadc!important;
  font-size:9.5px!important;
  line-height:1.15!important;
  font-weight:800!important;
  text-align:left!important;
}
.profile-page .profile-collector-card:hover{
  transform:translateY(-3px)!important;
  border-color:#c8841d!important;
  box-shadow:0 12px 24px rgba(0,0,0,.38),0 0 0 1px rgba(255,157,31,.06)!important;
}
.profile-page .profile-collector-card:hover img{
  transform:scale(1.018)!important;
  filter:brightness(1.035)!important;
}
.profile-page .profile-collector-card.rarity-rare{border-color:#356ba8!important}
.profile-page .profile-collector-card.rarity-epic{border-color:#8050a4!important}
.profile-page .profile-collector-card.rarity-holo{border-color:#309db4!important}
.profile-page .profile-collector-card.rarity-one_of_one{border-color:#c99424!important}

/* Zakładki profilu */
.profile-page .profile-dashboard{
  border-color:#443023!important;
  background:linear-gradient(180deg,#241a12,#1d150f)!important;
}
.profile-page .profile-tabs{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:54px!important;
  padding:9px 10px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  border-bottom:1px solid #3c2b20!important;
  background:#211810!important;
  scrollbar-width:none!important;
}
.profile-page .profile-tabs::-webkit-scrollbar{display:none!important}
.profile-page .profile-tabs button{
  position:relative!important;
  flex:0 0 auto!important;
  min-height:34px!important;
  height:34px!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#9b8265!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:750!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease!important;
}
.profile-page .profile-tabs button::after{display:none!important}
.profile-page .profile-tabs button:hover{
  transform:translateY(-1px)!important;
  color:#e2c8a7!important;
  border-color:#493522!important;
  background:#2a1e14!important;
}
.profile-page .profile-tabs button.active{
  color:#fff0dd!important;
  border-color:#845019!important;
  background:linear-gradient(180deg,#4a2d0d,#35200d)!important;
  box-shadow:inset 0 1px rgba(255,190,91,.10),0 5px 12px rgba(0,0,0,.14)!important;
}
.profile-page .profile-tabs button.active::before{
  content:""!important;
  position:absolute!important;
  left:10px!important;
  right:10px!important;
  bottom:-10px!important;
  height:2px!important;
  border-radius:3px!important;
  background:#ff9718!important;
  box-shadow:0 0 8px rgba(255,151,24,.30)!important;
}
.profile-page .profile-tabs button small{
  min-width:17px!important;
  height:17px!important;
  padding:0 5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  border:1px solid #493823!important;
  border-radius:999px!important;
  background:#302318!important;
  color:#b89b78!important;
  font-size:8px!important;
  font-weight:900!important;
}
.profile-page .profile-tabs button.active small{
  border-color:#8a571e!important;
  background:#5a350d!important;
  color:#ffd397!important;
}

@media(max-width:960px){
  .profile-page .profile-card-track{grid-template-columns:repeat(4,minmax(125px,1fr))!important}
}
@media(max-width:680px){
  .profile-page .profile-card-track{
    display:flex!important;
    padding:10px!important;
  }
  .profile-page .profile-collector-card{
    width:138px!important;
    min-width:138px!important;
    flex:0 0 138px!important;
  }
  .profile-page .profile-tabs{
    padding:8px!important;
    gap:5px!important;
  }
  .profile-page .profile-tabs button{
    min-height:32px!important;
    height:32px!important;
    padding:0 9px!important;
    font-size:10px!important;
  }
}

/* ==== V2.85 · remove nested score-card styling from legacy .profile-rankline span rules ==== */
.profile-page .profile-rankline.profile-scorebar > .profile-score-item > span.profile-score-copy{
  position:static!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:2px!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  overflow:visible!important;
  transform:none!important;
  transition:none!important;
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  letter-spacing:normal!important;
  line-height:normal!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item > span.profile-score-copy::before,
.profile-page .profile-rankline.profile-scorebar > .profile-score-item > span.profile-score-copy::after{
  content:none!important;
  display:none!important;
  position:static!important;
  width:0!important;
  height:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  opacity:0!important;
  transform:none!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level > span.profile-score-copy,
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation > span.profile-score-copy{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level > span.profile-score-copy small{
  color:#d4c0f1!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-level > span.profile-score-copy b{
  color:#fff!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation > span.profile-score-copy small{
  color:#ddb96d!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-reputation > span.profile-score-copy b{
  color:#fff0c9!important;
}

/* ==== V2.86 · refined profile info tiles (joined / activity / current) ==== */
.profile-page .profile-info.profile-info-v211{
  gap:10px!important;
  align-items:stretch!important;
}
.profile-page .profile-info-v211 .profile-info-card{
  position:relative!important;
  min-height:64px!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  gap:10px!important;
  padding:10px 12px!important;
  border-radius:11px!important;
  border:1px solid rgba(var(--info-accent-rgb),.24)!important;
  background:
    linear-gradient(90deg,rgba(var(--info-accent-rgb),.075),transparent 42%),
    linear-gradient(180deg,#241a12,#1e160f)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 18px rgba(0,0,0,.10)!important;
}
.profile-page .profile-info-v211 .profile-info-card::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:10px!important;
  bottom:10px!important;
  width:2px!important;
  border-radius:999px!important;
  background:var(--info-accent)!important;
  opacity:.9!important;
}
.profile-page .profile-info-v211 .profile-info-card::after{
  content:""!important;
  position:absolute!important;
  right:-24px!important;
  top:-28px!important;
  width:74px!important;
  height:74px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(var(--info-accent-rgb),.12),transparent 70%)!important;
  opacity:.5!important;
  pointer-events:none!important;
}
.profile-page .profile-info-v211 .profile-info-card:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(var(--info-accent-rgb),.42)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 11px 22px rgba(0,0,0,.16)!important;
}

.profile-page .profile-info-v211 .profile-info-icon{
  position:relative!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  border:1px solid rgba(var(--info-accent-rgb),.34)!important;
  background:rgba(var(--info-accent-rgb),.10)!important;
  color:var(--info-accent)!important;
  font-size:0!important;
  line-height:0!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035)!important;
  text-shadow:none!important;
}
.profile-page .profile-info-v211 .profile-info-icon::before{
  content:""!important;
  width:17px!important;
  height:17px!important;
  display:block!important;
  background:currentColor!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;
  mask-position:center!important;
  -webkit-mask-size:contain!important;
  mask-size:contain!important;
}
.profile-page .profile-info-v211 .profile-info-joined .profile-info-icon::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='4' width='14' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 2v4M16 2v4M5 9h14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='4' width='14' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 2v4M16 2v4M5 9h14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}
.profile-page .profile-info-v211 .profile-info-activity .profile-info-icon::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13h4l2-7 4 13 2-6h4' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13h4l2-7 4 13 2-6h4' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.profile-page .profile-info-v211 .profile-info-current .profile-info-icon::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='2.4' fill='black'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='2.4' fill='black'/%3E%3C/svg%3E")!important;
}
.profile-page .profile-info-v211 .profile-info-card:hover .profile-info-icon{
  transform:none!important;
  border-color:rgba(var(--info-accent-rgb),.52)!important;
  background:rgba(var(--info-accent-rgb),.14)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.045)!important;
}

.profile-page .profile-info-v211 .profile-info-card>div{
  display:flex!important;
  min-width:0!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
}
.profile-page .profile-info-v211 .profile-info-card small{
  margin:0!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
  line-height:1!important;
  color:rgba(var(--info-accent-rgb),.84)!important;
}
.profile-page .profile-info-v211 .profile-info-card strong{
  margin:0!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:850!important;
  color:#f2e9df!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.profile-page .profile-info-v211 .profile-info-activity strong{color:#c7f7dd!important}
.profile-page .profile-info-v211 .profile-info-current strong{color:#d7ebff!important}
.profile-page .profile-info-v211 .profile-info-activity .online-text::first-letter{color:inherit!important}

@media(max-width:780px){
  .profile-page .profile-info-v211 .profile-info-card{
    min-height:60px!important;
  }
}

/* ==== V2.87 · profile level/showcase/stat tiles + perfect icon centering ==== */

/* Top info tiles: force true geometric centering of the CSS icons */
.profile-page .profile-info-v211 .profile-info-card{
  grid-template-columns:36px minmax(0,1fr)!important;
  align-items:center!important;
}
.profile-page .profile-info-v211 .profile-info-icon{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  place-items:unset!important;
  align-self:center!important;
  justify-self:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
}
.profile-page .profile-info-v211 .profile-info-icon::before{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:16px!important;
  height:16px!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center!important;
}

/* Summary stats rebuilt: compact cards + proper CSS icons */
.profile-page .profile-stats.profile-stats-premium{
  gap:10px!important;
  margin:12px 0 14px!important;
}
.profile-page .profile-stats-premium>.profile-stat{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  min-height:74px!important;
  padding:12px 14px!important;
  border-radius:11px!important;
  background:
    linear-gradient(90deg,rgba(var(--stat-rgb),.055),transparent 46%),
    linear-gradient(180deg,#271d14,#211810)!important;
}
.profile-page .profile-stats-premium>.profile-stat::before{
  top:10px!important;
  bottom:10px!important;
}
.profile-page .profile-stat>span{
  position:relative!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  place-items:unset!important;
  padding:0!important;
  margin:0!important;
  font-size:0!important;
  line-height:0!important;
  border-radius:9px!important;
}
.profile-page .profile-stat>span::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:16px!important;
  height:16px!important;
  transform:translate(-50%,-50%)!important;
  background:currentColor!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;
  mask-position:center!important;
  -webkit-mask-size:contain!important;
  mask-size:contain!important;
}
.profile-page .profile-stat-topics>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='5' width='14' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 9h6M9 12h6M9 15h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='5' width='14' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 9h6M9 12h6M9 15h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}
.profile-page .profile-stat-posts>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 6h14v10H9l-4 3z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 6h14v10H9l-4 3z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.profile-page .profile-stat-badges>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m9 13-1 8 4-2 4 2-1-8' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m9 13-1 8 4-2 4 2-1-8' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.profile-page .profile-stat-reputation>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.5 5 5.5.8-4 3.9.9 5.5-4.9-2.6-4.9 2.6.9-5.5-4-3.9 5.5-.8z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.5 5 5.5.8-4 3.9.9 5.5-4.9-2.6-4.9 2.6.9-5.5-4-3.9 5.5-.8z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.profile-page .profile-stat>div{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
}
.profile-page .profile-stat small{
  font-size:7.5px!important;
  letter-spacing:.15em!important;
}
.profile-page .profile-stat b{
  font-size:22px!important;
  line-height:1!important;
  margin:2px 0!important;
}
.profile-page .profile-stat em{
  font-size:8.8px!important;
  line-height:1.2!important;
}

/* Poziom i Postęp: cleaner compact card */
.profile-page .profile-level{
  padding:14px!important;
  border-radius:10px!important;
  border:1px solid #493729!important;
  background:
    radial-gradient(circle at 0 0,rgba(135,83,210,.07),transparent 32%),
    linear-gradient(180deg,#2b221a,#241c15)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
.profile-page .profile-level h2{
  margin:0 0 12px!important;
  font-size:15px!important;
  line-height:1.2!important;
  color:#f1e8dd!important;
}
.profile-page .profile-level .level-summary{
  min-height:58px!important;
  margin:0 0 12px!important;
  padding:9px 11px!important;
  display:grid!important;
  grid-template-columns:38px 1fr auto!important;
  align-items:center!important;
  gap:10px!important;
  border:1px solid #4f3a2b!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,#30261e,#292019)!important;
}
.profile-page .profile-level .level-summary>span{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#8052c5,#643aa5)!important;
  border:1px solid #9466d6!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1.05!important;
  font-weight:900!important;
  text-align:center!important;
}
.profile-page .profile-level .level-summary strong{
  font-size:14px!important;
  line-height:1.15!important;
}
.profile-page .profile-level .level-summary small{
  margin-top:3px!important;
  font-size:9px!important;
  color:#9b8065!important;
}
.profile-page .profile-level .level-summary>b{
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#34280d!important;
  border:1px solid #5d4714!important;
  color:#ffd54d!important;
  font-size:13px!important;
}
.profile-page .profile-level .progress-meta,
.profile-page .profile-level .profile-level-foot{
  font-size:8.7px!important;
  color:#8d7357!important;
}
.profile-page .profile-level .progress{
  height:7px!important;
  margin:7px 0 5px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  background:#17110c!important;
  border:1px solid #3a2b21!important;
}
.profile-page .profile-level .progress i{
  border-radius:999px!important;
  background:linear-gradient(90deg,#5a9cf4 0%,#8970e8 48%,#ff9b18 100%)!important;
  box-shadow:none!important;
}
.profile-page .profile-level h3{
  margin:12px 0 8px!important;
  font-size:11px!important;
  color:#d9c6ad!important;
}
.profile-page .profile-level .benefit-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
}
.profile-page .profile-level .benefit-row{
  min-height:34px!important;
  padding:7px 9px!important;
  border-radius:7px!important;
  background:#251d16!important;
  border-color:#3c2e23!important;
}
.profile-page .profile-level .benefit-row span{font-size:9.5px!important}
.profile-page .profile-level .benefit-row small{font-size:8px!important}
.profile-page .profile-level .benefit-row.unlocked{
  background:rgba(34,91,60,.12)!important;
  border-color:rgba(55,140,93,.25)!important;
}

/* Gablotka+ pane: small card shelf instead of stretched empty space */
.profile-page .profile-pane[data-profile-pane="showcase"]{
  min-height:0!important;
}
.profile-page .profile-card-mini-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,150px)!important;
  justify-content:start!important;
  align-items:start!important;
  gap:12px!important;
  min-height:0!important;
  padding:0!important;
}
.profile-page .profile-mini-card{
  position:relative!important;
  width:150px!important;
  min-width:150px!important;
  max-width:150px!important;
  min-height:0!important;
  height:218px!important;
  aspect-ratio:auto!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:stretch!important;
  border-radius:10px!important;
  border:1px solid #765313!important;
  background:linear-gradient(180deg,#18120d,#120e0a)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.20)!important;
  overflow:hidden!important;
}
.profile-page .profile-mini-card>span{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  display:grid!important;
  place-items:center!important;
  font-size:36px!important;
  color:#f4eee7!important;
}
.profile-page .profile-mini-card>strong{
  position:static!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  padding:7px 9px!important;
  border-top:1px solid #3c2d20!important;
  background:#211811!important;
  color:#efe4d4!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:800!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.profile-page .profile-mini-card img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.profile-page .profile-mini-card:hover{
  transform:translateY(-2px)!important;
  border-color:#b67b1b!important;
  box-shadow:0 12px 24px rgba(0,0,0,.28)!important;
}

@media(max-width:680px){
  .profile-page .profile-level .benefit-grid{grid-template-columns:1fr!important}
  .profile-page .profile-card-mini-grid{
    display:flex!important;
    overflow-x:auto!important;
    gap:10px!important;
  }
  .profile-page .profile-mini-card{
    width:138px!important;
    min-width:138px!important;
    max-width:138px!important;
    height:202px!important;
    flex:0 0 138px!important;
  }
}

/* ==== V2.88 · refined Level & Progress + Showcase+ ==== */

/* LEVEL / PROGRESS */
.profile-page .profile-pane[data-profile-pane="level"]{
  padding:0!important;
}
.profile-page .profile-level{
  position:relative!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #493728!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#291f17 0%,#211811 100%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
.profile-page .profile-level::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:2px;
  background:linear-gradient(90deg,#8c63d8 0%,#a774ef 34%,#ff9a19 72%,transparent 100%);
  opacity:.9;
}
.profile-page .profile-level h2{
  position:relative!important;
  margin:0!important;
  padding:15px 17px 14px 43px!important;
  border-bottom:1px solid #3a2b20!important;
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent)!important;
  color:#f3ebe1!important;
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
.profile-page .profile-level h2::before{
  content:"";
  position:absolute;
  left:16px;top:50%;
  width:18px;height:18px;
  transform:translateY(-50%);
  background:#a574ef;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.6 5.2 5.7.8-4.1 4 .9 5.7-5.1-2.7-5.1 2.7.9-5.7-4.1-4 5.7-.8z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.6 5.2 5.7.8-4.1 4 .9 5.7-5.1-2.7-5.1 2.7.9-5.7-4.1-4 5.7-.8z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.profile-page .profile-level .level-summary{
  min-height:66px!important;
  margin:14px 16px 12px!important;
  padding:10px 12px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  border:1px solid #4d392b!important;
  border-radius:10px!important;
  background:
    linear-gradient(90deg,rgba(139,86,213,.11),transparent 46%),
    linear-gradient(180deg,#30261e,#292019)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
.profile-page .profile-level .level-summary>span{
  position:relative!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#9865e0,#6a3eb2)!important;
  border:1px solid #aa78ee!important;
  box-shadow:0 6px 16px rgba(82,43,139,.24),inset 0 1px rgba(255,255,255,.12)!important;
  color:#fff!important;
  font-size:0!important;
  line-height:0!important;
}
.profile-page .profile-level .level-summary>span::before{
  content:"↑";
  font-size:16px;
  line-height:1;
  font-weight:900;
}
.profile-page .profile-level .level-summary>span::after{
  content:attr(data-level);
  display:none;
}
.profile-page .profile-level .level-summary>div{
  min-width:0!important;
}
.profile-page .profile-level .level-summary strong{
  display:block!important;
  margin:0!important;
  color:#f7f0e8!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
.profile-page .profile-level .level-summary small{
  display:block!important;
  margin-top:4px!important;
  color:#9d8162!important;
  font-size:9px!important;
  line-height:1!important;
}
.profile-page .profile-level .level-summary>b{
  min-height:30px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#3b2e0f,#2c230d)!important;
  border:1px solid #68511b!important;
  color:#ffd44a!important;
  font-size:12px!important;
  font-weight:900!important;
}
.profile-page .profile-level .progress-meta{
  margin:0 16px 6px!important;
  padding:0 1px!important;
  font-size:8.7px!important;
  color:#90775a!important;
}
.profile-page .profile-level .progress{
  height:8px!important;
  margin:0 16px 6px!important;
  border:1px solid #3f3024!important;
  border-radius:999px!important;
  background:#15100c!important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.45)!important;
}
.profile-page .profile-level .progress i{
  border-radius:999px!important;
  background:linear-gradient(90deg,#676cff 0%,#9a62e4 47%,#ff9a18 100%)!important;
  box-shadow:0 0 10px rgba(150,91,220,.20)!important;
}
.profile-page .profile-level .profile-level-foot{
  margin:0 16px!important;
  padding-bottom:12px!important;
  font-size:8.5px!important;
  color:#826a50!important;
}
.profile-page .profile-level h3{
  margin:0!important;
  padding:11px 16px 8px!important;
  border-top:1px solid #392b21!important;
  color:#d9c6ad!important;
  font-size:10px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.12em!important;
}
.profile-page .profile-level .benefit-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  padding:0 16px 15px!important;
}
.profile-page .profile-level .benefit-row{
  position:relative!important;
  min-height:36px!important;
  padding:7px 31px 7px 10px!important;
  display:flex!important;
  align-items:center!important;
  border:1px solid #3c2e23!important;
  border-radius:8px!important;
  background:#251d16!important;
}
.profile-page .profile-level .benefit-row::after{
  content:"🔒";
  position:absolute;
  right:9px;
  top:50%;
  transform:translateY(-50%);
  font-size:9px;
  opacity:.35;
}
.profile-page .profile-level .benefit-row.unlocked::after{
  content:"✓";
  color:#54d997;
  opacity:1;
  font-size:11px;
  font-weight:900;
}
.profile-page .profile-level .benefit-row span{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#a38a6e!important;
  font-size:9px!important;
}
.profile-page .profile-level .benefit-row small{
  display:none!important;
}
.profile-page .profile-level .benefit-row.unlocked{
  background:linear-gradient(180deg,rgba(30,91,59,.16),rgba(25,65,46,.10))!important;
  border-color:rgba(61,142,96,.30)!important;
}
.profile-page .profile-level .benefit-row.unlocked span{color:#b8dcca!important}

/* SHOWCASE+ */
.profile-page .profile-pane[data-profile-pane="showcase"]{
  position:relative!important;
  min-height:0!important;
  padding:14px!important;
  border:1px solid #3d2e23!important;
  border-radius:10px!important;
  background:
    radial-gradient(circle at 0 0,rgba(255,163,35,.05),transparent 34%),
    linear-gradient(180deg,#241b14,#1d1610)!important;
}
.profile-page .profile-pane[data-profile-pane="showcase"]::before{
  content:"Wybrane karty";
  display:block!important;
  margin:0 0 11px!important;
  color:#d7c2a4!important;
  font-size:10px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.14em!important;
}
.profile-page .profile-card-mini-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-height:0!important;
  padding:0!important;
}
.profile-page .profile-mini-card{
  position:relative!important;
  flex:0 0 142px!important;
  width:142px!important;
  min-width:142px!important;
  max-width:142px!important;
  height:204px!important;
  min-height:204px!important;
  aspect-ratio:auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid #6c4a16!important;
  border-radius:10px!important;
  background:
    radial-gradient(circle at 50% 26%,rgba(255,180,58,.055),transparent 38%),
    linear-gradient(180deg,#17120e,#110d0a)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.20)!important;
  transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease!important;
}
.profile-page .profile-mini-card::before{
  content:"";
  position:absolute;
  left:8px;right:8px;top:8px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,202,104,.28),transparent);
  z-index:2;
}
.profile-page .profile-mini-card>span{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  display:grid!important;
  place-items:center!important;
  color:#f4eee7!important;
  font-size:34px!important;
  text-shadow:0 6px 14px rgba(0,0,0,.35)!important;
}
.profile-page .profile-mini-card>strong{
  position:static!important;
  flex:0 0 31px!important;
  min-height:31px!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  padding:0 8px!important;
  border-top:1px solid #37291f!important;
  background:linear-gradient(180deg,#211912,#1b140f)!important;
  color:#efe5d8!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.profile-page .profile-mini-card img{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  object-fit:cover!important;
}
.profile-page .profile-mini-card:hover{
  transform:translateY(-3px)!important;
  border-color:#b77e22!important;
  box-shadow:0 12px 24px rgba(0,0,0,.28),0 0 0 1px rgba(255,174,37,.06)!important;
}
.profile-page .profile-pane[data-profile-pane="showcase"]>.empty-panel{
  min-height:120px!important;
  margin:0!important;
  border-color:#4a3828!important;
  background:#201811!important;
}

/* Gablotka+ tab gets a calmer premium accent */
.profile-page .profile-tabs button[data-profile-tab="showcase"]{
  --showcase-accent:#d89b2d;
}
.profile-page .profile-tabs button[data-profile-tab="showcase"].active{
  color:#ffd18a!important;
  border-color:#76501c!important;
  background:linear-gradient(180deg,rgba(164,100,19,.18),rgba(91,55,16,.10))!important;
}
.profile-page .profile-tabs button[data-profile-tab="showcase"].active small{
  background:#6b4614!important;
  color:#ffe1a8!important;
  border-color:#956822!important;
}

@media(max-width:850px){
  .profile-page .profile-level .benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
  .profile-page .profile-level .benefit-grid{grid-template-columns:1fr!important}
  .profile-page .profile-level .level-summary{grid-template-columns:42px 1fr!important}
  .profile-page .profile-level .level-summary>b{grid-column:2!important;justify-self:start!important}
  .profile-page .profile-card-mini-grid{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:4px!important}
  .profile-page .profile-mini-card{flex:0 0 136px!important;width:136px!important;min-width:136px!important;max-width:136px!important;height:196px!important;min-height:196px!important}
}


/* ==== V2.89 economy pages refresh: marketplace / inventory / shop ==== */
body.marketplace-page .mp-head,
body.inventory-page .inv-head{
  padding:18px 20px;
  border:1px solid #3d2f23;
  border-radius:14px;
  background:
    radial-gradient(circle at 8% 0, rgba(255,149,0,.10), transparent 34%),
    linear-gradient(180deg,#2a1f15,#211810);
  box-shadow:0 18px 40px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.03);
}
body.marketplace-page .mp-icon,
body.inventory-page .inv-icon{
  width:48px;
  height:48px;
  border-radius:13px;
  font-size:24px;
}
body.marketplace-page .mp-head h1,
body.inventory-page .inv-head h1{font-size:31px;letter-spacing:-.04em}
body.marketplace-page .mp-head p,
body.inventory-page .inv-head p{font-size:13px;line-height:1.6;color:#a38763}

body.marketplace-page .mp-head-actions a,
body.inventory-page .inv-actions a{
  min-height:40px;
  padding:0 15px;
  border-radius:9px;
  background:linear-gradient(180deg,#2a2017,#1d1610);
  border:1px solid #4a3726;
  color:#f1e6d6;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
}
body.marketplace-page .mp-head-actions a:hover,
body.inventory-page .inv-actions a:hover{
  transform:translateY(-2px);
  border-color:#6f4b24;
  box-shadow:0 14px 28px rgba(0,0,0,.20),0 0 0 1px rgba(255,145,0,.10);
}

body.marketplace-page .mp-toolbar,
body.inventory-page .inv-nav-row{
  padding:12px 14px;
  margin-bottom:18px;
  border:1px solid #382c21;
  border-radius:12px;
  background:linear-gradient(180deg,#241b13,#1d150f);
  box-shadow:0 14px 30px rgba(0,0,0,.12);
}
body.inventory-page .inv-nav-row{align-items:center;border-bottom:1px solid #382c21}
body.inventory-page .inv-tabs{gap:10px;flex-wrap:wrap}
body.inventory-page .inv-tabs a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 15px;
  border:1px solid transparent;
  border-radius:999px;
  background:#20170f;
  color:#b89c7c;
  font-size:12px;
  transition:.2s ease;
}
body.inventory-page .inv-tabs a span{
  margin-left:8px;
  padding:3px 8px;
  border-radius:999px;
  background:#2c2118;
  color:#8f7557;
}
body.inventory-page .inv-tabs a:hover{color:#fff3e1;background:#291d14;border-color:#4d3822}
body.inventory-page .inv-tabs a.active{
  color:#1f1206;
  border-color:#f8a53b;
  background:linear-gradient(180deg,#ffb145,#ef8600);
  box-shadow:0 10px 24px rgba(255,145,0,.18);
}
body.inventory-page .inv-tabs a.active span{background:rgba(32,18,6,.18);color:#503514}

body.marketplace-page .mp-filter-chips a{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  padding:0 14px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.01em;
  background:#20170f;
}
body.marketplace-page .mp-filter-chips a:hover{border-color:#5f4530;color:#f3e6d7;background:#291d14}
body.marketplace-page .mp-filter-chips a.active{
  color:#06161a;
  background:linear-gradient(180deg,#5df0ff,#28bdd4);
  border-color:#6df3ff;
  box-shadow:0 10px 24px rgba(40,189,212,.18);
}
body.marketplace-page .mp-toolbar select{
  min-width:195px;
  height:38px;
  border-radius:9px;
  background:#1d150f;
}

body.marketplace-page .mp-meta{
  gap:12px;
  padding:0 0 18px;
}
body.marketplace-page .mp-meta span{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  border:1px solid #3a2d22;
  border-radius:10px;
  background:linear-gradient(180deg,#241b13,#1d160f);
  color:#ad916f;
}
body.marketplace-page .mp-meta b{font-size:13px}

body.inventory-page .inv-balance{
  min-width:112px;
  padding:12px 16px;
  border-radius:12px;
  border-color:#5e441c;
  background:radial-gradient(circle at 50% 0, rgba(255,202,63,.13), transparent 50%),linear-gradient(180deg,#2a1e10,#1c150d);
  box-shadow:0 16px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
}
body.inventory-page .inv-balance b{font-size:25px;line-height:1}
body.inventory-page .inv-balance small{font-size:10px;letter-spacing:.08em;color:#a1835a}

body.inventory-page .inv-section{
  border-radius:14px;
  border-color:#3a2d22;
  box-shadow:0 18px 36px rgba(0,0,0,.14);
}
body.inventory-page .inv-section-title{
  padding:16px 18px;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.04));
}
body.inventory-page .inv-section-title > div > span{
  width:38px;
  height:38px;
  border-radius:10px;
  background:linear-gradient(180deg,#3a280f,#291b0d);
  border:1px solid #4f381d;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
body.inventory-page .inv-section-title h2{font-size:18px;color:#fff4e6}
body.inventory-page .inv-section-title p{font-size:11px;color:#977b5d}
body.inventory-page .inv-section-title>b{
  min-width:36px;
  text-align:center;
  padding:6px 10px;
  border-radius:999px;
  background:#261b12;
  border:1px solid #433123;
  font-size:13px;
}

body.inventory-page .inv-empty,
body.marketplace-page .mp-empty{
  min-height:260px;
  border-radius:14px;
  background:
    radial-gradient(circle at 50% 0, rgba(255,146,0,.05), transparent 45%),
    linear-gradient(180deg,#211911,#1a130d);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
body.inventory-page .inv-empty h3,
body.marketplace-page .mp-empty h3{font-size:24px;letter-spacing:-.03em}
body.inventory-page .inv-empty p,
body.marketplace-page .mp-empty p{max-width:520px;line-height:1.55;color:#9b7f5f}
body.inventory-page .inv-empty > span,
body.marketplace-page .mp-empty > span{font-size:40px}

body.inventory-page .inv-pack-grid,
body.inventory-page .inv-card-grid{padding:16px}
body.inventory-page .inv-pack-grid article{
  padding:16px;
  border-radius:12px;
  background:linear-gradient(180deg,#231a12,#1d150f);
  box-shadow:0 12px 26px rgba(0,0,0,.12);
}
body.inventory-page .inv-pack-grid article:hover{
  transform:translateY(-3px);
  border-color:#6a4724;
  box-shadow:0 18px 34px rgba(0,0,0,.18);
}
body.inventory-page .inv-pack-grid article>span{font-size:28px}
body.inventory-page .inv-pack-grid b{
  padding:6px 9px;
  border-radius:999px;
  background:#2d2015;
  border:1px solid #413023;
  color:#ffc16e;
}
body.inventory-page .inv-pack-grid a{font-weight:800}

body.inventory-page .inv-card{
  position:relative;
  border-radius:12px;
  background:linear-gradient(180deg,#211811,#18110c);
  box-shadow:0 12px 26px rgba(0,0,0,.14);
}
body.inventory-page .inv-card::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,transparent,rgba(255,152,0,.75),transparent);
  opacity:.55;
}
body.inventory-page .inv-card:hover{border-color:#6b4927}
body.inventory-page .inv-card img,
body.inventory-page .inv-card-fallback{background:radial-gradient(circle at 50% 0, rgba(255,255,255,.04), transparent 40%),#241b12}
body.inventory-page .inv-card>div{padding:12px 12px 13px}
body.inventory-page .inv-card strong{font-size:13px;color:#f6ebdd;line-height:1.35}
body.inventory-page .inv-card small{font-size:10px;line-height:1.45;color:#9d8262}
body.inventory-page .inv-card.rarity-common{border-color:#4a3a2c}
body.inventory-page .inv-card.rarity-uncommon{border-color:#37573d}
body.inventory-page .inv-card.rarity-rare{border-color:#2a6097;box-shadow:0 14px 30px rgba(19,55,96,.16)}
body.inventory-page .inv-card.rarity-epic{border-color:#6f3e96;box-shadow:0 14px 30px rgba(71,30,111,.18)}
body.inventory-page .inv-card.rarity-holo,
body.inventory-page .inv-card.rarity-one_of_one{
  border-color:#d29a11;
  box-shadow:0 16px 34px rgba(112,84,0,.24),0 0 0 1px rgba(255,204,77,.10);
}

body.inventory-page .inv-transactions>div{
  padding:14px 16px;
  transition:.18s ease;
}
body.inventory-page .inv-transactions>div:hover{background:#241b13}
body.inventory-page .tx-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

body.marketplace-page .mp-grid{gap:15px}
body.marketplace-page .mp-card{
  border-radius:14px;
  padding:12px;
  background:
    radial-gradient(circle at 50% 0, rgba(61,201,218,.05), transparent 40%),
    linear-gradient(180deg,#221a12,#18120d);
  box-shadow:0 14px 30px rgba(0,0,0,.14);
}
body.marketplace-page .mp-card:hover{
  border-color:#6e4c2c;
  box-shadow:0 20px 38px rgba(0,0,0,.22),0 0 0 1px rgba(80,220,241,.07);
}
body.marketplace-page .mp-card-top{
  margin-bottom:10px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.04);
}
body.marketplace-page .mp-card-top span{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(77,223,255,.08);
  border:1px solid rgba(77,223,255,.18);
}
body.marketplace-page .mp-art{
  border-radius:10px;
  background:radial-gradient(circle at 50% 0, rgba(255,255,255,.04), transparent 40%),#16110d;
}
body.marketplace-page .mp-info>strong{font-size:14px;line-height:1.35;white-space:normal}
body.marketplace-page .mp-info>small{margin:5px 0 12px}
body.marketplace-page .mp-price{
  border-radius:9px;
  background:linear-gradient(180deg,#221912,#1a130d);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
body.marketplace-page .mp-price b{font-size:18px}
body.marketplace-page .mp-card footer{
  margin-top:12px;
  padding-top:10px;
  color:#9c7f61;
}

body.marketplace-page .mp-card.rarity-holo,
body.marketplace-page .mp-card.rarity-one_of_one{
  box-shadow:0 18px 38px rgba(124,95,0,.20),0 0 0 1px rgba(255,200,61,.06);
}

.shop-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px;
}
.minor-title{
  margin:22px 0 12px;
  font-size:15px;
  letter-spacing:.04em;
  color:#f3e7d9;
}
.shop-item{
  position:relative;
  display:grid;
  align-content:start;
  gap:10px;
  min-height:220px;
  padding:18px 16px;
  border:1px solid #3c2f23;
  border-radius:14px;
  background:
    radial-gradient(circle at 0 0, rgba(255,154,32,.09), transparent 32%),
    linear-gradient(180deg,#251b13,#1d150f);
  box-shadow:0 14px 30px rgba(0,0,0,.14);
}
.shop-item::after{
  content:'';
  position:absolute;
  inset:auto 0 0 0;
  height:3px;
  background:linear-gradient(90deg,transparent,rgba(255,154,32,.75),transparent);
  opacity:.45;
}
.shop-item>span{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:14px;
  font-size:30px;
  background:linear-gradient(180deg,#3b280f,#2a1b0d);
  border:1px solid #5a3d1f;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}
.shop-item strong{font-size:18px;color:#fff4e6;line-height:1.25}
.shop-item p{margin:0;color:#a38665;line-height:1.6;min-height:46px}
.shop-item b{
  display:inline-flex;
  width:max-content;
  align-items:center;
  gap:6px;
  padding:8px 11px;
  border-radius:999px;
  background:#241b13;
  border:1px solid #413022;
  color:#ffbf46;
  font-size:16px;
}
.shop-item em{
  display:inline-flex;
  width:max-content;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid #3a2c20;
  letter-spacing:.08em;
}
.shop-item:hover{
  border-color:#6b4927;
  box-shadow:0 20px 38px rgba(0,0,0,.22),0 0 0 1px rgba(255,145,0,.08);
}

@media(max-width:1024px){
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  body.marketplace-page .mp-head,
  body.inventory-page .inv-head{padding:16px}
}
@media(max-width:640px){
  .shop-grid{grid-template-columns:1fr}
  .shop-item{min-height:auto}
  body.inventory-page .inv-tabs{width:100%;overflow:auto;padding-bottom:4px}
  body.marketplace-page .mp-meta{flex-direction:column;align-items:flex-start}
}


/* ==== V2.90 tags / categories / messages / coming soon ==== */
body.tags-page .section-heading,
body.categories-page .section-heading{
  margin-bottom:18px;
  padding:18px 20px;
  border:1px solid #47311f;
  border-radius:13px;
  background:
    radial-gradient(circle at 0 0, rgba(255,149,0,.10), transparent 34%),
    linear-gradient(180deg,#2a1d12,#21170f);
  box-shadow:0 18px 38px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.03);
}
body.tags-page .section-icon,
body.categories-page .section-icon{
  width:40px;height:40px;border-radius:10px;
  background:linear-gradient(180deg,#4a2a08,#331c08);
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}
body.tags-page .eyebrow,
body.categories-page .eyebrow{color:#ca8b40;letter-spacing:.14em}
body.tags-page .section-heading h1,
body.categories-page .section-heading h1{font-size:34px;letter-spacing:-.04em;color:#fff6ea}
body.tags-page .section-heading p,
body.categories-page .section-heading p{font-size:12px;line-height:1.6;color:#a78966;max-width:760px}

body.tags-page .tags-page-panel,
body.categories-page .categories-page-note{
  border-radius:14px;
  border:1px solid #3d2f23;
  background:linear-gradient(180deg,#251b13,#1d160f);
  box-shadow:0 16px 34px rgba(0,0,0,.13);
}
body.tags-page .tags-page-panel{padding:18px}
body.categories-page .categories-page-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  margin-bottom:18px;
}
body.categories-page .categories-page-note strong,
body.tags-page .tags-page-summary strong{display:block;font-size:16px;color:#fff4e7}
body.categories-page .categories-page-note p,
body.tags-page .tags-page-summary p{margin:5px 0 0;color:#a18360;font-size:12px;line-height:1.55}
body.categories-page .categories-page-note span,
body.tags-page .tags-page-summary span{
  flex:0 0 auto;
  min-width:92px;
  text-align:center;
  padding:10px 12px;
  border-radius:11px;
  border:1px solid #4a3624;
  background:#21170f;
}
body.categories-page .categories-page-note b,
body.tags-page .tags-page-summary b{display:block;font-size:24px;color:#ffb54c;line-height:1}
body.categories-page .categories-page-note small,
body.tags-page .tags-page-summary small{display:block;margin-top:4px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#907353}
body.tags-page .tags-page-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}

body.tags-page .tag-cloud{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px;
}
body.tags-page .tag-cloud a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 14px;
  border:1px solid #433122;
  border-radius:12px;
  background:linear-gradient(180deg,#241b13,#1d150f);
  box-shadow:0 10px 22px rgba(0,0,0,.11);
  transition:.18s ease;
}
body.tags-page .tag-cloud a:hover{
  transform:translateY(-2px);
  border-color:#6b4823;
  box-shadow:0 18px 34px rgba(0,0,0,.18),0 0 0 1px rgba(255,147,18,.07);
}
body.tags-page .tag-cloud a span{font-weight:800;color:#f3e8dc}
body.tags-page .tag-cloud a b{
  min-width:34px;height:34px;display:grid;place-items:center;
  border-radius:999px;background:#2c2015;border:1px solid #493526;color:#ffb64b;font-size:13px;
}
body.tags-page .tags-empty{
  min-height:220px;display:grid;place-items:center;text-align:center;gap:8px;
  border:1px dashed #473323;border-radius:12px;background:linear-gradient(180deg,#211710,#1a130d);
}
body.tags-page .tags-empty span{font-size:40px;color:#f09a27}
body.tags-page .tags-empty strong{font-size:20px;color:#fff0e1}
body.tags-page .tags-empty p{max-width:460px;color:#9b7d5f;line-height:1.6}

body.categories-page .forum-block{
  border-radius:14px;
  overflow:hidden;
  border:1px solid #45301f;
  background:linear-gradient(180deg,#261a10,#1d140d);
  box-shadow:0 18px 36px rgba(0,0,0,.14);
}
body.categories-page .forum-block + .forum-block{margin-top:18px}
body.categories-page .forum-block-head{
  padding:15px 16px;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.05));
}
body.categories-page .forum-cat-icon{
  width:30px;height:30px;border-radius:9px;background:linear-gradient(180deg,#3b280f,#2a1b0d);
  border:1px solid #4d351c;display:grid;place-items:center;box-shadow:0 8px 18px rgba(0,0,0,.18)
}
body.categories-page .forum-cat-title strong{font-size:14px;letter-spacing:.08em;color:#f2d8b6}
body.categories-page .forum-cat-title small{font-size:10px;color:#8f7354;text-transform:uppercase;letter-spacing:.08em}
body.categories-page .forum-cat-columns span{font-size:10px;color:#85694d;letter-spacing:.14em}
body.categories-page .forum-block-head button{
  width:34px;height:34px;border-radius:10px;border:1px solid #473321;background:#221811;color:#d6b38b;
}
body.categories-page .forum-row{
  min-height:102px;
  grid-template-columns:48px minmax(0,1fr) 88px 220px;
  gap:16px;
  padding:16px;
  border-top:1px solid #36281d;
  transition:.18s ease;
}
body.categories-page .forum-row:hover{background:#241a12}
body.categories-page .forum-icon{
  width:46px;height:46px;border-radius:12px;border:1px solid #493422;background:linear-gradient(180deg,#2c2015,#1f170f);
  display:grid;place-items:center;font-size:18px;box-shadow:0 10px 20px rgba(0,0,0,.14)
}
body.categories-page .forum-main strong{display:block;font-size:18px;color:#fff4e7;line-height:1.2}
body.categories-page .forum-main p{margin:6px 0 0;font-size:12px;line-height:1.55;color:#9f8363}
body.categories-page .mini-tags{margin-top:10px;gap:6px}
body.categories-page .mini-tags span{
  padding:4px 9px;border-radius:999px;background:#2a1f15;border:1px solid #433222;color:#c8aa86;font-size:10px;font-weight:700
}
body.categories-page .forum-count{
  min-height:68px;display:flex;flex-direction:column;justify-content:center;align-items:center;
  border:1px solid #433121;border-radius:12px;background:#21170f
}
body.categories-page .forum-count b{font-size:28px;color:#ffb247;line-height:1}
body.categories-page .forum-count span{font-size:9px;letter-spacing:.14em;color:#8b7051}
body.categories-page .forum-last{
  min-height:68px;padding:10px 12px;border:1px solid #403020;border-radius:12px;background:#21170f
}
body.categories-page .forum-last strong{font-size:12px;color:#f0e2d2}
body.categories-page .forum-last span{font-size:10px;color:#94795d;line-height:1.45}

body.messages-page .messages-hero{margin-top:0}

.simple-module{
  border-radius:16px;
  border:1px solid #45311f;
  background:
    radial-gradient(circle at 50% 0, rgba(255,148,0,.09), transparent 40%),
    linear-gradient(180deg,#271b12,#1e150f);
  box-shadow:0 18px 38px rgba(0,0,0,.15);
}
.simple-module .giant-icon{color:#ffab33}
.simple-module h2{font-size:28px;color:#fff5e8}
.simple-module p{max-width:680px;margin-inline:auto;color:#a38663;line-height:1.6}

@media(max-width:900px){
  body.categories-page .forum-row{grid-template-columns:48px minmax(0,1fr) 82px}
  body.categories-page .forum-last{grid-column:2 / span 2}
}
@media(max-width:720px){
  body.tags-page .tags-page-summary,
  body.categories-page .categories-page-note{flex-direction:column;align-items:flex-start}
  body.categories-page .forum-row{grid-template-columns:44px minmax(0,1fr)}
  body.categories-page .forum-count,
  body.categories-page .forum-last{grid-column:2}
}

/* ==== V2.91 · cards rarity + messages + coming soon + shop detail ==== */

/* Stronger card rarity system */
.inv-card,.mp-card,.profile-collector-card,.profile-mini-card,.collector-card{
  --rarity:#786d61;
  --rarity-soft:rgba(120,109,97,.16);
  --rarity-glow:rgba(120,109,97,.16);
}
.inv-card.rarity-common,.mp-card.rarity-common,.profile-collector-card.rarity-common,.profile-mini-card.rarity-common,.collector-card.rarity-common{--rarity:#9b948c;--rarity-soft:rgba(155,148,140,.13);--rarity-glow:rgba(155,148,140,.14)}
.inv-card.rarity-uncommon,.mp-card.rarity-uncommon,.profile-collector-card.rarity-uncommon,.profile-mini-card.rarity-uncommon,.collector-card.rarity-uncommon{--rarity:#34c77a;--rarity-soft:rgba(52,199,122,.14);--rarity-glow:rgba(52,199,122,.24)}
.inv-card.rarity-rare,.mp-card.rarity-rare,.profile-collector-card.rarity-rare,.profile-mini-card.rarity-rare,.collector-card.rarity-rare{--rarity:#4a9cff;--rarity-soft:rgba(74,156,255,.15);--rarity-glow:rgba(74,156,255,.28)}
.inv-card.rarity-epic,.mp-card.rarity-epic,.profile-collector-card.rarity-epic,.profile-mini-card.rarity-epic,.collector-card.rarity-epic{--rarity:#b46cff;--rarity-soft:rgba(180,108,255,.16);--rarity-glow:rgba(180,108,255,.30)}
.inv-card.rarity-holo,.mp-card.rarity-holo,.profile-collector-card.rarity-holo,.profile-mini-card.rarity-holo,.collector-card.rarity-holo{--rarity:#47e9ff;--rarity-soft:rgba(71,233,255,.16);--rarity-glow:rgba(71,233,255,.32)}
.inv-card.rarity-one_of_one,.mp-card.rarity-one_of_one,.profile-collector-card.rarity-one_of_one,.profile-mini-card.rarity-one_of_one,.collector-card.rarity-one_of_one{--rarity:#ffc640;--rarity-soft:rgba(255,198,64,.16);--rarity-glow:rgba(255,198,64,.34)}

body.inventory-page .inv-card,
body.marketplace-page .mp-card,
.profile-page .profile-collector-card,
.profile-page .profile-mini-card,
.collector-card{
  position:relative!important;
  border-color:color-mix(in srgb,var(--rarity) 66%,#35271d)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025)!important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,filter .22s ease!important;
}
body.inventory-page .inv-card::before,
body.marketplace-page .mp-card::before,
.profile-page .profile-collector-card::after,
.profile-page .profile-mini-card::after,
.collector-card::after{
  content:"";
  position:absolute;
  left:8%;right:8%;top:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--rarity),transparent);
  box-shadow:0 0 14px var(--rarity-glow);
  opacity:.95;
  pointer-events:none;
  z-index:3;
}
body.inventory-page .inv-card:hover,
body.marketplace-page .mp-card:hover,
.profile-page .profile-collector-card:hover,
.profile-page .profile-mini-card:hover,
.collector-card:hover{
  transform:translateY(-6px) scale(1.012)!important;
  border-color:var(--rarity)!important;
  box-shadow:0 22px 44px rgba(0,0,0,.30),0 0 28px var(--rarity-glow),0 0 0 1px var(--rarity-soft)!important;
  filter:brightness(1.035);
}
body.inventory-page .inv-card>div{
  background:linear-gradient(180deg,rgba(255,255,255,.015),var(--rarity-soft))!important;
}
body.inventory-page .inv-card small{
  color:var(--rarity)!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
}
body.marketplace-page .mp-card-top span{
  color:var(--rarity)!important;
  border-color:color-mix(in srgb,var(--rarity) 38%,transparent)!important;
  background:var(--rarity-soft)!important;
}
body.marketplace-page .mp-art{
  border-color:color-mix(in srgb,var(--rarity) 80%,#2e241a)!important;
  box-shadow:inset 0 0 30px var(--rarity-soft)!important;
}
body.marketplace-page .mp-art i{
  color:var(--rarity)!important;
  border-color:color-mix(in srgb,var(--rarity) 55%,#2a2118)!important;
  background:rgba(8,10,12,.88)!important;
}
body.marketplace-page .mp-card:hover .mp-art,
body.inventory-page .inv-card:hover img,
body.inventory-page .inv-card:hover .inv-card-fallback{
  box-shadow:0 0 24px var(--rarity-glow),inset 0 0 34px var(--rarity-soft)!important;
}
body.marketplace-page .mp-card.rarity-holo::after,
body.marketplace-page .mp-card.rarity-one_of_one::after,
body.inventory-page .inv-card.rarity-holo::after,
body.inventory-page .inv-card.rarity-one_of_one::after{
  content:"";
  position:absolute;
  inset:-50% -35%;
  background:linear-gradient(115deg,transparent 34%,rgba(255,255,255,.10) 44%,rgba(255,255,255,.24) 49%,rgba(255,255,255,.07) 55%,transparent 66%);
  transform:translateX(-46%) rotate(5deg);
  opacity:.34;
  pointer-events:none;
  transition:transform .65s ease,opacity .25s ease;
}
body.marketplace-page .mp-card.rarity-holo:hover::after,
body.marketplace-page .mp-card.rarity-one_of_one:hover::after,
body.inventory-page .inv-card.rarity-holo:hover::after,
body.inventory-page .inv-card.rarity-one_of_one:hover::after{
  transform:translateX(46%) rotate(5deg);
  opacity:.62;
}

/* Shop list rarity accents */
.shop-item{--shop-rarity:#d18b2f;--shop-soft:rgba(209,139,47,.10);--shop-glow:rgba(209,139,47,.15)}
.shop-item.rarity-common{--shop-rarity:#a29b94;--shop-soft:rgba(162,155,148,.08);--shop-glow:rgba(162,155,148,.12)}
.shop-item.rarity-uncommon{--shop-rarity:#38c87b;--shop-soft:rgba(56,200,123,.09);--shop-glow:rgba(56,200,123,.18)}
.shop-item.rarity-rare{--shop-rarity:#4b9eff;--shop-soft:rgba(75,158,255,.10);--shop-glow:rgba(75,158,255,.20)}
.shop-item.rarity-epic{--shop-rarity:#b86aff;--shop-soft:rgba(184,106,255,.11);--shop-glow:rgba(184,106,255,.22)}
.shop-item.rarity-holo{--shop-rarity:#42e6ff;--shop-soft:rgba(66,230,255,.11);--shop-glow:rgba(66,230,255,.25)}
.shop-item.rarity-one_of_one{--shop-rarity:#ffc947;--shop-soft:rgba(255,201,71,.12);--shop-glow:rgba(255,201,71,.28)}
.shop-item.rarity-common,.shop-item.rarity-uncommon,.shop-item.rarity-rare,.shop-item.rarity-epic,.shop-item.rarity-holo,.shop-item.rarity-one_of_one{
  border-color:color-mix(in srgb,var(--shop-rarity) 55%,#3c2f23)!important;
  background:radial-gradient(circle at 0 0,var(--shop-soft),transparent 38%),linear-gradient(180deg,#251b13,#1d150f)!important;
}
.shop-item.rarity-common::after,.shop-item.rarity-uncommon::after,.shop-item.rarity-rare::after,.shop-item.rarity-epic::after,.shop-item.rarity-holo::after,.shop-item.rarity-one_of_one::after{
  background:linear-gradient(90deg,transparent,var(--shop-rarity),transparent)!important;
}
.shop-item.rarity-common em,.shop-item.rarity-uncommon em,.shop-item.rarity-rare em,.shop-item.rarity-epic em,.shop-item.rarity-holo em,.shop-item.rarity-one_of_one em{
  color:var(--shop-rarity)!important;
  border-color:color-mix(in srgb,var(--shop-rarity) 35%,#3a2c20)!important;
  background:var(--shop-soft)!important;
}
.shop-item:hover{
  border-color:var(--shop-rarity)!important;
  box-shadow:0 20px 42px rgba(0,0,0,.24),0 0 24px var(--shop-glow)!important;
}

/* Rebuilt shop item detail */
body.shop-detail-page .page-shell{max-width:1180px;padding-top:34px}
.shop-detail-back{margin:0 0 14px}
.shop-detail-back a{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid #3d2e20;border-radius:9px;background:#1d150f;color:#a98b68;font-size:11px;font-weight:800}
.shop-detail-back a:hover{color:#fff0dd;border-color:#604222;background:#271a10}
.shop-detail-shell{
  --item-rarity:#d59335;--item-soft:rgba(213,147,53,.12);--item-glow:rgba(213,147,53,.20);
  display:grid;grid-template-columns:340px minmax(0,1fr);gap:34px;align-items:stretch;
  border:1px solid color-mix(in srgb,var(--item-rarity) 42%,#443021);border-radius:18px;overflow:hidden;
  background:radial-gradient(circle at 12% 0,var(--item-soft),transparent 36%),linear-gradient(180deg,#2b1f15,#20170f);
  box-shadow:0 24px 60px rgba(0,0,0,.28),0 0 26px var(--item-glow);
}
.shop-detail-shell.rarity-common{--item-rarity:#a29b94;--item-soft:rgba(162,155,148,.09);--item-glow:rgba(162,155,148,.12)}
.shop-detail-shell.rarity-uncommon{--item-rarity:#39c97f;--item-soft:rgba(57,201,127,.11);--item-glow:rgba(57,201,127,.18)}
.shop-detail-shell.rarity-rare{--item-rarity:#4b9eff;--item-soft:rgba(75,158,255,.12);--item-glow:rgba(75,158,255,.22)}
.shop-detail-shell.rarity-epic{--item-rarity:#b96bff;--item-soft:rgba(185,107,255,.12);--item-glow:rgba(185,107,255,.24)}
.shop-detail-shell.rarity-holo{--item-rarity:#45e9ff;--item-soft:rgba(69,233,255,.13);--item-glow:rgba(69,233,255,.28)}
.shop-detail-shell.rarity-one_of_one{--item-rarity:#ffc84b;--item-soft:rgba(255,200,75,.14);--item-glow:rgba(255,200,75,.30)}
.shop-detail-visual{position:relative;min-height:430px;display:grid;place-items:center;overflow:hidden;border-right:1px solid color-mix(in srgb,var(--item-rarity) 32%,#3c2b1e);background:radial-gradient(circle at 50% 40%,var(--item-soft),transparent 38%),#17110c}
.shop-detail-orbit{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.shop-detail-orbit i{position:absolute;border:1px solid color-mix(in srgb,var(--item-rarity) 22%,transparent);border-radius:50%}
.shop-detail-orbit i:nth-child(1){width:180px;height:180px}.shop-detail-orbit i:nth-child(2){width:245px;height:245px}.shop-detail-orbit i:nth-child(3){width:310px;height:310px}
.shop-detail-icon{position:relative;width:126px;height:126px;display:grid;place-items:center;border-radius:28px;font-size:67px;background:linear-gradient(180deg,color-mix(in srgb,var(--item-rarity) 18%,#2c2117),#17110d);border:1px solid color-mix(in srgb,var(--item-rarity) 62%,#3f2f22);box-shadow:0 20px 48px rgba(0,0,0,.34),0 0 38px var(--item-glow)}
.shop-detail-rarity{position:absolute;left:20px;bottom:20px;padding:7px 11px;border-radius:999px;border:1px solid color-mix(in srgb,var(--item-rarity) 55%,#37291f);background:color-mix(in srgb,var(--item-rarity) 10%,#17110d);color:var(--item-rarity);font-size:9px;font-weight:950;letter-spacing:.15em}
.shop-detail-content{padding:38px 38px 34px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.shop-detail-kicker{font-size:9px;font-weight:950;letter-spacing:.18em;color:var(--item-rarity);margin-bottom:8px}
.shop-detail-content h1{margin:0;font-size:38px;line-height:1.05;letter-spacing:-.045em;color:#fff6eb}
.shop-detail-content>p{margin:15px 0 24px;max-width:680px;font-size:14px;line-height:1.7;color:#a98b69}
.shop-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px}
.shop-detail-meta span{min-height:72px;padding:12px 14px;border:1px solid #423024;border-radius:11px;background:#1c140e}
.shop-detail-meta small{display:block;font-size:8.5px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#80684f}
.shop-detail-meta b{display:block;margin-top:7px;font-size:13px;color:#f1e4d4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-detail-buybar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid color-mix(in srgb,var(--item-rarity) 28%,#403024);border-radius:13px;background:linear-gradient(180deg,#21170f,#1b130d)}
.shop-detail-price small{display:block;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#856b4f}
.shop-detail-price strong{display:block;margin-top:3px;font-size:27px;color:var(--item-rarity);line-height:1}
.shop-detail-price strong em{font-size:11px;font-style:normal;color:#a58b6a;font-weight:700}
.shop-detail-price span{display:block;margin-top:7px;font-size:10px;color:#80694f}
.shop-buy-button{min-width:190px;min-height:46px;border-radius:10px;font-size:13px;box-shadow:0 10px 24px rgba(255,137,0,.18)}
.shop-detail-safe-note{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:11px 12px;border:1px solid #3b2c20;border-radius:10px;background:#1b140e}
.shop-detail-safe-note>span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#143320;color:#38d17e;font-size:11px;font-weight:950}
.shop-detail-safe-note p{margin:2px 0 0;font-size:10.5px;line-height:1.5;color:#8f7559}

/* Messages refinement */
body.messages-page .page-shell{max-width:1200px;padding-top:28px}
body.messages-page .messages-hero{
  padding:17px 18px!important;border-radius:14px!important;border-color:#49331f!important;
  background:radial-gradient(circle at 0 0,rgba(255,145,0,.09),transparent 34%),linear-gradient(180deg,#291d13,#21170f)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.03)!important
}
body.messages-page .messages-hero-icon{width:44px!important;height:44px!important;border-radius:11px!important}
body.messages-page .messages-hero h2{font-size:19px!important}
body.messages-page .messages-hero p{font-size:11px!important;line-height:1.5!important}
body.messages-page .messages-hero-stats>span{min-width:92px!important;border-radius:10px!important;background:#1d150f!important}
body.messages-page .messages-layout-v269{grid-template-columns:minmax(0,1.55fr) minmax(320px,.72fr)!important;gap:14px!important;align-items:start!important}
body.messages-page .messages-inbox-card,
body.messages-page .new-message-card{border-radius:14px!important;border-color:#443123!important;background:linear-gradient(180deg,#251b13,#1d150f)!important;box-shadow:0 18px 38px rgba(0,0,0,.14)!important;overflow:hidden!important}
body.messages-page .messages-card-head{min-height:62px!important;padding:13px 16px!important;border-bottom:1px solid #38291e!important;background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.03))!important}
body.messages-page .messages-card-icon{width:34px!important;height:34px!important;border-radius:9px!important;background:#35220d!important;border:1px solid #573819!important;color:#ff9d1b!important}
body.messages-page .messages-card-head h2{font-size:17px!important;color:#fff2e3!important}
body.messages-page .messages-card-head p{font-size:10px!important;color:#8f7355!important}
body.messages-page .messages-count{min-width:32px!important;height:32px!important;border-radius:999px!important;background:#35220d!important;color:#ffb44d!important;border:1px solid #58391a!important;display:grid!important;place-items:center!important;font-size:11px!important;font-weight:900!important}
body.messages-page .message-row-v269{min-height:92px!important;padding:13px 15px!important;border-bottom:1px solid #34261c!important;background:transparent!important;transition:.18s ease!important;position:relative!important}
body.messages-page .message-row-v269::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:3px;background:transparent}
body.messages-page .message-row-v269:hover{background:#261b12!important}
body.messages-page .message-row-v269:hover::before{background:#ff9818}
body.messages-page .message-row-v269.is-unread{background:linear-gradient(90deg,rgba(255,143,0,.07),transparent 60%)!important}
body.messages-page .message-row-v269.is-unread::before{background:#ff9818}
body.messages-page .message-row-main{min-width:0!important}
body.messages-page .message-row-title strong{font-size:13.5px!important;line-height:1.3!important;color:#f7eadb!important}
body.messages-page .message-row-title i{font-size:7.5px!important;padding:3px 6px!important;border-radius:999px!important;background:#5a3309!important;color:#ffbc59!important;border:1px solid #7a4a14!important}
body.messages-page .message-row-user{font-size:10px!important;margin-top:4px!important}
body.messages-page .message-row-main p{font-size:10.5px!important;color:#887057!important;line-height:1.45!important;margin-top:5px!important}
body.messages-page .message-row-meta{min-width:70px!important}
body.messages-page .message-row-meta time{font-size:9px!important;color:#80674d!important}
body.messages-page .message-row-meta span{width:28px!important;height:28px!important;border:1px solid #49321d!important;border-radius:8px!important;background:#24180d!important;display:grid!important;place-items:center!important;color:#b8905d!important;font-size:16px!important}
body.messages-page .new-message-fields{padding:15px 16px 14px!important;display:grid!important;gap:13px!important}
body.messages-page .new-message-fields label>span{font-size:10.5px!important;color:#d2b490!important;font-weight:850!important}
body.messages-page .new-message-fields label>small{display:block!important;margin:3px 0 6px!important;font-size:9px!important;color:#735f48!important}
body.messages-page .new-message-fields input,
body.messages-page .new-message-fields textarea{width:100%!important;border:1px solid #493320!important;border-radius:9px!important;background:#17100b!important;color:#f5eadf!important;padding:11px 12px!important;outline:none!important;transition:.18s ease!important}
body.messages-page .new-message-fields textarea{min-height:156px!important;resize:vertical!important;line-height:1.55!important}
body.messages-page .new-message-fields input:focus,
body.messages-page .new-message-fields textarea:focus{border-color:#9c5d12!important;box-shadow:0 0 0 3px rgba(255,145,0,.08)!important;background:#1a120c!important}
body.messages-page .message-input-wrap{position:relative!important}
body.messages-page .message-input-wrap i{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;font-style:normal!important;color:#aa8356!important;font-weight:900!important;z-index:2!important}
body.messages-page .message-input-wrap input{padding-left:34px!important}
body.messages-page .new-message-footer{padding:12px 16px 15px!important;border-top:1px solid #37281d!important;display:grid!important;gap:10px!important;background:#1c140e!important}
body.messages-page .new-message-footer>span{font-size:9.5px!important;color:#806950!important;line-height:1.45!important}
body.messages-page .new-message-footer .btn{width:100%!important;min-height:42px!important;border-radius:9px!important}
body.messages-page .messages-empty{padding:42px 20px!important}
body.messages-page .messages-empty>span{width:48px!important;height:48px!important;border-radius:12px!important;background:#2c1f13!important;border:1px solid #48321f!important;display:grid!important;place-items:center!important;color:#ff9d1f!important;font-size:20px!important;margin:0 auto 10px!important}

/* Elegant under-construction pages */
body.coming-soon-page .page-shell{max-width:980px;padding-top:58px;padding-bottom:120px}
.coming-soon-shell{
  --soon:#ff9a1a;--soon-soft:rgba(255,154,26,.10);--soon-glow:rgba(255,154,26,.20);
  position:relative;min-height:410px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px;align-items:center;overflow:hidden;
  padding:38px;border-radius:18px;border:1px solid color-mix(in srgb,var(--soon) 34%,#453122);
  background:radial-gradient(circle at 8% 0,var(--soon-soft),transparent 34%),linear-gradient(180deg,#291d13,#1e160f);
  box-shadow:0 24px 60px rgba(0,0,0,.26),0 0 24px var(--soon-glow)
}
body.coming-soon-cyan .coming-soon-shell{--soon:#43ddec;--soon-soft:rgba(67,221,236,.10);--soon-glow:rgba(67,221,236,.20)}
body.coming-soon-purple .coming-soon-shell{--soon:#a66cff;--soon-soft:rgba(166,108,255,.11);--soon-glow:rgba(166,108,255,.22)}
body.coming-soon-green .coming-soon-shell{--soon:#34d487;--soon-soft:rgba(52,212,135,.10);--soon-glow:rgba(52,212,135,.20)}
.coming-soon-icon{position:relative;z-index:2;width:154px;height:154px;margin:auto;display:grid;place-items:center;border-radius:36px;font-size:72px;border:1px solid color-mix(in srgb,var(--soon) 56%,#3c2a1d);background:linear-gradient(180deg,color-mix(in srgb,var(--soon) 13%,#2b2118),#17110c);box-shadow:0 24px 54px rgba(0,0,0,.32),0 0 34px var(--soon-glow)}
.coming-soon-orbit{position:absolute;left:15px;top:50%;width:320px;height:320px;transform:translateY(-50%);pointer-events:none}
.coming-soon-orbit i{position:absolute;inset:50%;transform:translate(-50%,-50%);border:1px solid color-mix(in srgb,var(--soon) 18%,transparent);border-radius:50%}
.coming-soon-orbit i:nth-child(1){width:190px;height:190px}.coming-soon-orbit i:nth-child(2){width:255px;height:255px}.coming-soon-orbit i:nth-child(3){width:320px;height:320px}
.coming-soon-copy{position:relative;z-index:2}
.coming-soon-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:var(--soon-soft);border:1px solid color-mix(in srgb,var(--soon) 42%,transparent);color:var(--soon);font-size:8.5px;font-weight:950;letter-spacing:.16em}
.coming-soon-copy h1{margin:12px 0 10px;font-size:42px;line-height:1;letter-spacing:-.045em;color:#fff6eb}
.coming-soon-copy>p{margin:0;max-width:620px;font-size:14px;line-height:1.7;color:#a88a67}
.coming-soon-status{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #3f2e21;border-radius:11px;background:#1b140e}
.coming-soon-status span{display:flex;align-items:center;gap:8px;color:#9d8263;font-size:11px}
.coming-soon-status span i{width:8px;height:8px;border-radius:50%;background:var(--soon);box-shadow:0 0 12px var(--soon-glow)}
.coming-soon-status b{color:var(--soon);font-size:11px;letter-spacing:.04em}

/* Further unify tags/categories with VForum scale */
body.tags-page .section-heading,
body.categories-page .section-heading{padding:16px 18px!important;border-radius:12px!important}
body.tags-page .section-heading h1,
body.categories-page .section-heading h1{font-size:29px!important}
body.tags-page .tags-page-panel,
body.categories-page .categories-page-note{border-color:#443022!important}
body.tags-page .tag-cloud a{min-height:58px!important}
body.categories-page .forum-row{min-height:94px!important}
body.categories-page .forum-main strong{font-size:16px!important}
body.categories-page .forum-count b{font-size:23px!important}
body.categories-page .forum-last{background:linear-gradient(180deg,#21170f,#1c140e)!important}

@media(max-width:980px){
  .shop-detail-shell{grid-template-columns:260px minmax(0,1fr);gap:22px}
  .shop-detail-content{padding:28px 24px}
  .shop-detail-visual{min-height:370px}
  body.messages-page .messages-layout-v269{grid-template-columns:1fr!important}
  body.messages-page .new-message-card{position:static!important}
}
@media(max-width:720px){
  .shop-detail-shell{grid-template-columns:1fr}
  .shop-detail-visual{min-height:260px;border-right:0;border-bottom:1px solid #3d2d21}
  .shop-detail-content h1{font-size:31px}
  .shop-detail-meta{grid-template-columns:1fr}
  .shop-detail-buybar{align-items:stretch;flex-direction:column}
  .shop-buy-button{width:100%;min-width:0}
  .coming-soon-shell{grid-template-columns:1fr;text-align:center;padding:28px 20px}
  .coming-soon-orbit{left:50%;top:0;transform:translate(-50%,-30%)}
  .coming-soon-status{flex-direction:column}
}


/* ==== V2.94 · DarkW.eu branding ==== */
.brand.brand-darkw{
  width:auto!important;
  min-width:126px!important;
  padding:0 8px 0 2px!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
}
.brand-wordmark{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:0!important;
  line-height:1!important;
  white-space:nowrap!important;
  letter-spacing:-.045em!important;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.28));
}
.brand-wordmark strong{
  font-size:24px!important;
  font-weight:950!important;
  color:#fff7ed!important;
  letter-spacing:-.055em!important;
}
.brand-wordmark em{
  margin-left:2px!important;
  font-size:17px!important;
  font-style:normal!important;
  font-weight:900!important;
  color:#ff9b21!important;
  letter-spacing:-.035em!important;
}
.brand.brand-darkw:hover .brand-wordmark strong{color:#fff!important}
.brand.brand-darkw:hover .brand-wordmark em{color:#ffb34f!important}

.auth-logo.auth-logo-darkw{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-bottom:18px!important;
  line-height:1!important;
}
.auth-wordmark{
  display:inline-flex!important;
  align-items:baseline!important;
  white-space:nowrap!important;
  filter:drop-shadow(0 10px 26px rgba(0,0,0,.38));
}
.auth-wordmark strong{
  font-size:42px!important;
  font-weight:950!important;
  letter-spacing:-.065em!important;
  color:#fff7ed!important;
}
.auth-wordmark em{
  margin-left:4px!important;
  font-size:27px!important;
  font-style:normal!important;
  font-weight:900!important;
  letter-spacing:-.04em!important;
  color:#ff9b21!important;
}
.site-footer strong{color:#f2dfc8!important}
.site-footer strong::first-letter{color:#ff9b21}
@media(max-width:780px){
  .brand.brand-darkw{min-width:108px!important;padding-right:2px!important}
  .brand-wordmark strong{font-size:21px!important}
  .brand-wordmark em{font-size:15px!important}
}

/* ==== V2.95 · DarkW.eu DMCA / copyright form ==== */
body.legal-dmca-page .page-shell{width:min(980px,calc(100% - 34px));padding-top:38px}
.dmca-shell{display:grid;gap:20px}
.dmca-head{display:flex;gap:16px;align-items:flex-start;padding:22px 24px;border:1px solid #493321;border-radius:14px;background:radial-gradient(circle at 0 0,rgba(255,147,18,.10),transparent 34%),linear-gradient(180deg,#2a1d12,#21170f);box-shadow:0 18px 38px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.03)}
.dmca-head-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:12px;border:1px solid #6b481d;background:linear-gradient(180deg,#4a2a08,#331c08);color:#ffad37;font-size:24px;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.dmca-eyebrow{display:block;margin-bottom:5px;font-size:10px;font-weight:900;letter-spacing:.16em;color:#c98b42}
.dmca-head h1{margin:0 0 9px;font-size:31px;line-height:1.08;letter-spacing:-.035em;color:#fff6eb}
.dmca-head p{margin:0;max-width:800px;font-size:12.5px;line-height:1.7;color:#a98a67}
.dmca-form{padding:22px!important;border-radius:14px!important;background:linear-gradient(180deg,#261c13,#1e160f)!important;border-color:#443124!important;box-shadow:0 18px 38px rgba(0,0,0,.14)!important}
.dmca-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dmca-field{display:grid;gap:7px;margin:0 0 15px}
.dmca-field>span{font-size:12px;font-weight:800;color:#f0e5d7}
.dmca-field input,.dmca-field select,.dmca-field textarea{width:100%;border:1px solid #463326;border-radius:9px;background:#17110c;color:#f7eee4;padding:12px 13px;outline:none;transition:.18s ease}
.dmca-field input,.dmca-field select{height:44px}
.dmca-field textarea{min-height:210px;resize:vertical;line-height:1.55}
.dmca-field input:focus,.dmca-field select:focus,.dmca-field textarea:focus{border-color:#a56520;box-shadow:0 0 0 3px rgba(255,145,0,.08);background:#1c140e}
.dmca-field input[readonly]{color:#bfa98f;background:#1b140e}
.dmca-field small{font-size:10.5px;line-height:1.55;color:#8f7253}
.dmca-good-faith{display:flex;align-items:flex-start;gap:10px;margin:2px 0 16px;padding:12px 13px;border:1px solid #3f3024;border-radius:10px;background:#211810;color:#ddd0bf;font-size:11.5px;line-height:1.5;cursor:pointer}
.dmca-good-faith input{margin-top:2px;width:16px;height:16px;accent-color:#ff920f;flex:0 0 auto}
.dmca-private-note{display:flex;gap:10px;align-items:flex-start;padding:12px 13px;border:1px solid #3d3025;border-radius:10px;background:#20170f;color:#987b5b}
.dmca-private-note>span{color:#ff9e22;font-size:15px;line-height:1.3}
.dmca-private-note p{margin:0;font-size:11px;line-height:1.55}
.dmca-actions{display:flex;align-items:center;gap:14px;margin-top:16px}
.dmca-actions .btn{min-height:42px;padding:0 18px}
.dmca-privacy-link{font-size:11.5px;font-weight:750;color:#b99061;text-decoration:underline;text-underline-offset:3px}
.dmca-privacy-link:hover{color:#ffb14b}
@media(max-width:700px){.dmca-head{padding:18px}.dmca-head h1{font-size:26px}.dmca-form{padding:16px!important}.dmca-grid-two{grid-template-columns:1fr}.dmca-actions{align-items:flex-start;flex-direction:column}.dmca-actions .btn{width:100%}}

/* ==== V2.96 · DarkW.eu privacy policy ==== */
body.privacy-policy-page .page-shell{
  width:min(1180px,calc(100% - 34px));
  padding-top:34px;
}
body.privacy-policy-page .privacy-policy-card{
  width:min(860px,100%);
  margin:0 auto;
  border:1px solid #403022;
  border-radius:16px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 0,rgba(255,151,24,.055),transparent 34%),
    linear-gradient(180deg,#241a12 0%,#1d150f 100%);
  box-shadow:0 24px 60px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.025);
}
body.privacy-policy-page .privacy-policy-head{
  padding:30px 34px 26px;
  border-bottom:1px solid #392a1f;
  background:
    radial-gradient(circle at 0 0,rgba(255,145,0,.12),transparent 35%),
    linear-gradient(180deg,#2b1f15,#241a12);
}
body.privacy-policy-page .privacy-policy-kicker{
  margin-bottom:8px;
  color:#c9893d;
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
}
body.privacy-policy-page .privacy-policy-head h1{
  margin:0;
  color:#fff7ed;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.04em;
}
body.privacy-policy-page .privacy-policy-version{
  margin:9px 0 0;
  color:#a17f5b;
  font-size:12px;
}
body.privacy-policy-page .privacy-policy-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
body.privacy-policy-page .privacy-policy-nav a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 11px;
  border:1px solid #493526;
  border-radius:999px;
  background:#21170f;
  color:#b99872;
  font-size:11px;
  font-weight:800;
  transition:.18s ease;
}
body.privacy-policy-page .privacy-policy-nav a:hover,
body.privacy-policy-page .privacy-policy-nav a.active{
  color:#fff2df;
  border-color:#7a4f21;
  background:#33210f;
  box-shadow:0 0 0 1px rgba(255,148,0,.06);
}
body.privacy-policy-page .privacy-policy-body{
  padding:8px 34px 28px;
}
body.privacy-policy-page .privacy-policy-body section{
  padding:28px 0 26px;
  border-bottom:1px solid #35281e;
  scroll-margin-top:86px;
}
body.privacy-policy-page .privacy-policy-body section:last-child{border-bottom:0}
body.privacy-policy-page .privacy-policy-body h2{
  margin:0 0 15px;
  color:#fff4e8;
  font-size:18px;
  line-height:1.25;
  letter-spacing:-.02em;
}
body.privacy-policy-page .privacy-policy-body p,
body.privacy-policy-page .privacy-policy-body li{
  color:#ac8d69;
  font-size:13px;
  line-height:1.82;
}
body.privacy-policy-page .privacy-policy-body p{margin:0 0 13px}
body.privacy-policy-page .privacy-policy-body p:last-child{margin-bottom:0}
body.privacy-policy-page .privacy-policy-body ul{
  margin:0 0 15px;
  padding-left:22px;
}
body.privacy-policy-page .privacy-policy-body li{margin:8px 0}
body.privacy-policy-page .privacy-policy-body strong{
  color:#f8eee1;
  font-weight:850;
}
body.privacy-policy-page .privacy-policy-body a{
  color:#ff9d1f;
  font-weight:800;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  text-decoration-color:#8c5516;
}
body.privacy-policy-page .privacy-policy-body a:hover{
  color:#ffb34d;
  text-decoration-color:#ff9d1f;
}
body.privacy-policy-page .privacy-policy-body code{
  padding:2px 6px;
  border:1px solid #463326;
  border-radius:5px;
  background:#17100b;
  color:#e1bf91;
  font-size:11.5px;
}
body.privacy-policy-page .privacy-analytics-box{
  margin:18px 0;
  padding:16px;
  border:1px solid #493526;
  border-radius:12px;
  background:
    radial-gradient(circle at 0 0,rgba(255,151,25,.07),transparent 38%),
    linear-gradient(180deg,#221911,#1b140e);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
body.privacy-policy-page .privacy-analytics-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
body.privacy-policy-page .privacy-analytics-head>div{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
body.privacy-policy-page .privacy-analytics-icon{
  width:38px;
  height:38px;
  min-width:38px;
  display:grid;
  place-items:center;
  border:1px solid #5a3c1d;
  border-radius:10px;
  background:linear-gradient(180deg,#3b270d,#26180a);
  color:#ffab35;
  font-size:18px;
}
body.privacy-policy-page .privacy-analytics-head strong{
  display:block;
  margin-top:1px;
  font-size:14px;
  color:#fff5e8;
}
body.privacy-policy-page .privacy-analytics-head p{
  margin:4px 0 0;
  font-size:11.5px;
  line-height:1.5;
}
body.privacy-policy-page .privacy-analytics-head p.is-on{color:#77c99e}
body.privacy-policy-page .privacy-analytics-head p.is-off{color:#9d8264}
body.privacy-policy-page .privacy-analytics-status{
  flex:0 0 auto;
  min-height:28px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}
body.privacy-policy-page .privacy-analytics-status.is-on{
  color:#84efb1;
  border:1px solid #265f3e;
  background:#142b1f;
}
body.privacy-policy-page .privacy-analytics-status.is-off{
  color:#ba9a74;
  border:1px solid #473525;
  background:#20170f;
}
body.privacy-policy-page .privacy-analytics-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}
body.privacy-policy-page .privacy-analytics-actions .btn{
  min-height:42px;
  border-radius:9px;
}
body.privacy-policy-page .privacy-policy-footer{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  padding:18px 24px;
  border-top:1px solid #35281e;
  background:#1a130d;
}
body.privacy-policy-page .privacy-policy-footer a{
  color:#9e7f5e;
  font-size:11px;
  font-weight:750;
}
body.privacy-policy-page .privacy-policy-footer a:hover{color:#ff9f22}

@media(max-width:760px){
  body.privacy-policy-page .page-shell{width:min(100% - 20px,1180px);padding-top:20px}
  body.privacy-policy-page .privacy-policy-head{padding:23px 20px 20px}
  body.privacy-policy-page .privacy-policy-head h1{font-size:28px}
  body.privacy-policy-page .privacy-policy-body{padding:4px 20px 20px}
  body.privacy-policy-page .privacy-policy-body section{padding:23px 0 21px}
  body.privacy-policy-page .privacy-policy-body h2{font-size:16px}
  body.privacy-policy-page .privacy-policy-body p,
  body.privacy-policy-page .privacy-policy-body li{font-size:12.5px;line-height:1.72}
  body.privacy-policy-page .privacy-analytics-head{flex-direction:column}
  body.privacy-policy-page .privacy-analytics-actions{grid-template-columns:1fr}
}

/* ==== V2.97 · DMCA custom case type dropdown ==== */
.dmca-case-type{position:relative;z-index:12}
.dmca-case-select{position:relative;width:100%;margin:0}
.dmca-case-select>summary{
  list-style:none;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 15px;
  border:1px solid #5a3b1d;
  border-radius:10px;
  background:linear-gradient(180deg,#20160f,#18110c);
  color:#f6ede3;
  font-size:12.5px;
  font-weight:800;
  cursor:pointer;
  user-select:none;
  transition:.18s ease;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.dmca-case-select>summary::-webkit-details-marker{display:none}
.dmca-case-select>summary::marker{display:none;content:""}
.dmca-case-select>summary:hover{
  border-color:#865522;
  background:linear-gradient(180deg,#261a11,#1b130d);
  box-shadow:0 0 0 3px rgba(255,145,0,.045),inset 0 1px 0 rgba(255,255,255,.035);
}
.dmca-case-select[open]>summary{
  border-color:#a96823;
  border-radius:10px 10px 0 0;
  background:#21170f;
  box-shadow:0 0 0 3px rgba(255,145,0,.07);
}
.dmca-case-select>summary i{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-right:2px solid #bc9366;
  border-bottom:2px solid #bc9366;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .18s ease,border-color .18s ease;
}
.dmca-case-select[open]>summary i{
  transform:rotate(225deg) translate(-1px,-1px);
  border-color:#ff9c22;
}
.dmca-case-menu{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% - 1px);
  z-index:50;
  overflow:hidden;
  border:1px solid #6a4624;
  border-top:0;
  border-radius:0 0 11px 11px;
  background:#17100b;
  box-shadow:0 20px 48px rgba(0,0,0,.52),0 0 0 1px rgba(255,145,0,.04);
}
.dmca-case-menu a{
  position:relative;
  display:grid;
  gap:3px;
  padding:11px 15px 11px 18px;
  border-top:1px solid #302219;
  background:#18110c;
  color:#e8dbcb;
  transition:.16s ease;
}
.dmca-case-menu a:first-child{border-top:0}
.dmca-case-menu a::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:transparent;
}
.dmca-case-menu a b{font-size:12px;line-height:1.3}
.dmca-case-menu a small{font-size:9.5px;color:#81684e;line-height:1.35}
.dmca-case-menu a:hover{
  background:#26190f;
  color:#fff7ed;
  padding-left:21px;
}
.dmca-case-menu a:hover::before{background:#ff9215}
.dmca-case-menu a:hover small{color:#ad8c65}
.dmca-case-menu a.active{
  background:linear-gradient(90deg,rgba(255,145,0,.13),rgba(255,145,0,.025));
  color:#ffb34b;
}
.dmca-case-menu a.active::before{background:#ff9215}
.dmca-case-menu a.active small{color:#b58b5a}

@media(max-width:700px){
  .dmca-case-select>summary{min-height:46px;padding:0 13px}
  .dmca-case-menu{position:static;box-shadow:none}
  .dmca-case-menu a{padding:11px 13px 11px 16px}
}

/* ==== V2.98 · DarkW.eu Regulamin / Terms ==== */
body.terms-page .page-shell{
  width:min(100% - 34px,1180px);
  padding-top:28px;
  padding-bottom:36px;
}
body.terms-page .terms-card{
  position:relative;
  overflow:hidden;
  border:1px solid #47321f;
  border-radius:16px;
  background:
    radial-gradient(circle at 8% 0,rgba(255,145,18,.08),transparent 30%),
    linear-gradient(180deg,#241a12 0%,#1b140e 100%);
  box-shadow:0 24px 54px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.025);
}
body.terms-page .terms-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:2px;
  background:linear-gradient(90deg,transparent,#ff9b1f 18%,#ffbd5a 50%,#ff9b1f 82%,transparent);
  opacity:.9;
}
body.terms-page .terms-head{
  padding:28px 30px 24px;
  border-bottom:1px solid #392a1f;
  background:
    radial-gradient(circle at 92% 12%,rgba(255,150,28,.07),transparent 26%),
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.03));
}
body.terms-page .terms-kicker{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:11px;
  color:#d69643;
  font-size:9px;
  font-weight:900;
  letter-spacing:.18em;
}
body.terms-page .terms-kicker span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:8px;
  border:1px solid #674318;
  background:linear-gradient(180deg,#3a250d,#29190a);
  color:#ffac34;
  font-size:15px;
  letter-spacing:0;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}
body.terms-page .terms-head-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
body.terms-page .terms-head h1{
  margin:0;
  color:#fff7ed;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.045em;
}
body.terms-page .terms-version{
  margin:8px 0 0;
  color:#9e7e5e;
  font-size:11px;
}
body.terms-page .terms-print{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 13px;
  border:1px solid #4b3724;
  border-radius:9px;
  background:linear-gradient(180deg,#291d13,#21170f);
  color:#caaa85;
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
body.terms-page .terms-print:hover{
  transform:translateY(-1px);
  color:#ffbb61;
  border-color:#754a19;
  background:#2f1e0d;
  box-shadow:0 12px 26px rgba(0,0,0,.18);
}
body.terms-page .terms-lead{
  max-width:880px;
  margin:18px 0 0;
  color:#b09270;
  font-size:12.5px;
  line-height:1.75;
}
body.terms-page .terms-nav{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:20px;
}
body.terms-page .terms-nav a{
  min-height:31px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border:1px solid #3f3023;
  border-radius:999px;
  background:#21170f;
  color:#9f8262;
  font-size:9px;
  font-weight:800;
  transition:.16s ease;
}
body.terms-page .terms-nav a:hover{
  color:#ffc16d;
  border-color:#69451d;
  background:#2b1c0e;
}
body.terms-page .terms-body{
  padding:2px 30px 8px;
}
body.terms-page .terms-body section{
  scroll-margin-top:92px;
  padding:26px 0 24px;
  border-bottom:1px solid #34271d;
}
body.terms-page .terms-body section:last-child{border-bottom:0}
body.terms-page .terms-body h2{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 15px;
  color:#fff4e7;
  font-size:16px;
  line-height:1.3;
}
body.terms-page .terms-body h2 span{
  min-width:40px;
  height:28px;
  display:inline-grid;
  place-items:center;
  border-radius:8px;
  border:1px solid #603d16;
  background:linear-gradient(180deg,#38230d,#28190a);
  color:#ffad38;
  font-size:10px;
  letter-spacing:.02em;
}
body.terms-page .terms-body ol{
  margin:0;
  padding-left:22px;
}
body.terms-page .terms-body li{
  margin:9px 0;
  padding-left:4px;
  color:#a88965;
  font-size:12.2px;
  line-height:1.76;
}
body.terms-page .terms-body li::marker{
  color:#c78634;
  font-weight:800;
}
body.terms-page .terms-body strong{
  color:#eee0cf;
  font-weight:800;
}
body.terms-page .terms-body a{
  color:#ff9f22;
  text-decoration:none;
  border-bottom:1px solid rgba(255,159,34,.35);
}
body.terms-page .terms-body a:hover{
  color:#ffc06a;
  border-bottom-color:#ffc06a;
}
body.terms-page .terms-callout{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:12px;
  margin-top:16px;
  padding:13px 15px;
  border:1px solid #5a3b19;
  border-radius:10px;
  background:linear-gradient(180deg,rgba(255,150,24,.06),rgba(255,150,24,.025));
}
body.terms-page .terms-callout b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:0 9px;
  border-radius:7px;
  background:#3b250d;
  color:#ffad39;
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.terms-page .terms-callout p{
  margin:1px 0 0;
  color:#a88863;
  font-size:11.5px;
  line-height:1.65;
}
body.terms-page .terms-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 30px;
  border-top:1px solid #392a1f;
  background:#19120d;
}
body.terms-page .terms-footer>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.terms-page .terms-footer strong{
  color:#ffab36;
  font-size:12px;
}
body.terms-page .terms-footer span{
  color:#80684f;
  font-size:9.5px;
}
body.terms-page .terms-footer nav{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
body.terms-page .terms-footer a{
  color:#a48665;
  font-size:10px;
}
body.terms-page .terms-footer a:hover{color:#ffad38}

/* links inside registration acceptance rows */
.auth-page .auth-form .switch.full a{
  color:#ff9f22;
  font-weight:800;
  text-decoration:none;
}
.auth-page .auth-form .switch.full a:hover{text-decoration:underline}

@media(max-width:760px){
  body.terms-page .page-shell{width:min(100% - 20px,1180px);padding-top:18px}
  body.terms-page .terms-head{padding:22px 18px 18px}
  body.terms-page .terms-head-row{flex-direction:column}
  body.terms-page .terms-head h1{font-size:27px}
  body.terms-page .terms-print{width:100%;justify-content:center}
  body.terms-page .terms-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.terms-page .terms-nav a{justify-content:center}
  body.terms-page .terms-body{padding:0 18px 6px}
  body.terms-page .terms-body section{padding:22px 0 20px}
  body.terms-page .terms-body h2{font-size:14px;align-items:flex-start}
  body.terms-page .terms-body li{font-size:11.8px;line-height:1.7}
  body.terms-page .terms-callout{grid-template-columns:1fr}
  body.terms-page .terms-footer{padding:16px 18px;flex-direction:column;align-items:flex-start}
}

@media print{
  body.terms-page header.site-header,
  body.terms-page footer.site-footer,
  body.terms-page .terms-print{display:none!important}
  body.terms-page{background:#fff!important;color:#111!important}
  body.terms-page .page-shell{width:100%!important;padding:0!important}
  body.terms-page .terms-card{box-shadow:none!important;border:0!important;background:#fff!important}
  body.terms-page .terms-head,
  body.terms-page .terms-footer{background:#fff!important;border-color:#ccc!important}
  body.terms-page .terms-head h1,
  body.terms-page .terms-body h2,
  body.terms-page .terms-body strong{color:#111!important}
  body.terms-page .terms-version,
  body.terms-page .terms-lead,
  body.terms-page .terms-body li,
  body.terms-page .terms-callout p,
  body.terms-page .terms-footer span{color:#333!important}
  body.terms-page .terms-nav{display:none!important}
  body.terms-page .terms-body a{color:#111!important;border:0!important;text-decoration:underline!important}
  body.terms-page .terms-body section{break-inside:avoid-page}
}


/* ==== V2.99 · DMCA route selector ==== */
.dmca-case-help{
  display:block;
  margin-top:8px;
  color:#8f7355;
  font-size:10px;
  line-height:1.5;
}
.dmca-case-menu a.active{
  pointer-events:none;
  cursor:default;
}
.legal-dmca-page .dmca-case-menu a:not(.active)::after{
  content:'→';
  margin-left:auto;
  color:#805a2d;
  font-size:14px;
  transition:.18s ease;
}
.legal-dmca-page .dmca-case-menu a:not(.active):hover::after{
  color:#ff9b26;
  transform:translateX(2px);
}


/* ==== V2.101 · admin: site on/off / maintenance status ==== */
.admin-maintenance-control{
  position:relative;
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto auto;
  align-items:center;
  gap:15px;
  padding:17px!important;
  overflow:hidden;
  border-radius:12px!important;
  background:linear-gradient(145deg,#251910,#1c130c)!important;
  box-shadow:0 15px 34px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.025);
}
.admin-maintenance-control::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#31c77a;box-shadow:0 0 16px rgba(49,199,122,.35)
}
.admin-maintenance-control.is-offline::before{background:#ff8700;box-shadow:0 0 18px rgba(255,135,0,.45)}
.admin-maintenance-icon{
  width:50px;height:50px;display:grid;place-items:center;border:1px solid #493320;border-radius:12px;background:#1a120c;box-shadow:0 9px 20px rgba(0,0,0,.18)
}
.admin-maintenance-icon span{position:relative;width:20px;height:20px;border:2px solid #54d995;border-radius:50%}
.admin-maintenance-icon span::before{content:"";position:absolute;width:2px;height:10px;left:7px;top:-5px;background:#54d995;border:3px solid #1a120c;border-top:0;border-bottom:0}
.admin-maintenance-control.is-offline .admin-maintenance-icon{border-color:#68401b;background:#2a190c}
.admin-maintenance-control.is-offline .admin-maintenance-icon span{border-color:#ff9418}
.admin-maintenance-control.is-offline .admin-maintenance-icon span::before{background:#ff9418}
.admin-maintenance-copy>span{display:block;margin-bottom:4px;color:#907358;font-size:8.5px;font-weight:950;letter-spacing:.16em}
.admin-maintenance-copy h2{margin:0!important;font-size:17px!important;line-height:1.2;color:#f3e8dc}
.admin-maintenance-copy p{margin:5px 0 0;color:#8e7153;font-size:10px;line-height:1.55;max-width:720px}
.admin-maintenance-state{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #35533e;border-radius:999px;background:#152119;color:#61d79a}
.admin-maintenance-state i{width:7px;height:7px;border-radius:50%;background:#48db8f;box-shadow:0 0 10px rgba(72,219,143,.65)}
.admin-maintenance-state b{font-size:9px;letter-spacing:.1em}
.admin-maintenance-control.is-offline .admin-maintenance-state{border-color:#63401c;background:#27180c;color:#ffae42}
.admin-maintenance-control.is-offline .admin-maintenance-state i{background:#ff9200;box-shadow:0 0 10px rgba(255,146,0,.65)}
.admin-maintenance-action{margin:0!important}
.admin-maintenance-action .btn{min-width:126px;min-height:39px}
.admin-maintenance-danger{border:1px solid #79362d!important;background:linear-gradient(180deg,#4a201b,#321512)!important;color:#ff9b8f!important;border-radius:7px;padding:9px 13px;font-weight:900;cursor:pointer;transition:.17s ease}
.admin-maintenance-danger:hover{border-color:#a6483c!important;background:linear-gradient(180deg,#5a261f,#3b1814)!important;transform:translateY(-1px);box-shadow:0 10px 24px rgba(86,25,19,.24)}
@media(max-width:900px){.admin-maintenance-control{grid-template-columns:48px 1fr auto}.admin-maintenance-action{grid-column:2/-1}.admin-maintenance-action .btn{width:100%}}
@media(max-width:620px){.admin-maintenance-control{grid-template-columns:44px 1fr}.admin-maintenance-state{grid-column:2;width:max-content}.admin-maintenance-action{grid-column:1/-1}.admin-maintenance-copy h2{font-size:15px!important}}


/* ==== V2.102 · locked topic notice ==== */
body.topic-view-page .topic-closed-notice{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:18px;
  padding:18px 20px!important;
  border:1px solid #5b4632!important;
  border-radius:13px!important;
  background:
    radial-gradient(circle at 0 50%,rgba(255,164,54,.08),transparent 34%),
    linear-gradient(180deg,#2a2118 0%,#211a14 100%)!important;
  box-shadow:0 14px 30px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025)!important;
  overflow:hidden;
}
body.topic-view-page .topic-closed-notice::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg,#ffb24b,#c97818);
}
body.topic-view-page .topic-closed-icon{
  width:48px;
  height:48px;
  min-width:48px;
  display:grid;
  place-items:center;
  border:1px solid #6b4a27;
  border-radius:12px;
  background:linear-gradient(180deg,#3a2917,#2a1d10);
  color:#ffb34d;
  font-size:20px;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}
body.topic-view-page .topic-closed-copy{min-width:0}
body.topic-view-page .topic-closed-eyebrow{
  display:block;
  margin-bottom:5px;
  color:#bc8751;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
body.topic-view-page .topic-closed-copy h3{
  margin:0!important;
  color:#f8eee2!important;
  font-size:17px!important;
  line-height:1.25!important;
  letter-spacing:-.01em;
}
body.topic-view-page .topic-closed-copy p{
  margin:5px 0 0!important;
  color:#a78969!important;
  font-size:11px!important;
  line-height:1.45!important;
}
@media(max-width:640px){
  body.topic-view-page .topic-closed-notice{padding:15px 16px!important;gap:12px}
  body.topic-view-page .topic-closed-icon{width:42px;height:42px;min-width:42px;font-size:18px}
  body.topic-view-page .topic-closed-copy h3{font-size:15px!important}
}

/* ==== V2.103 · Karty kolekcjonerskie — strona informacyjna DarkW.eu ==== */
.main-nav a.nav-collectible-cards{
  padding-inline:10px!important;
  font-size:12.5px!important;
  white-space:nowrap;
}
.main-nav a.nav-collectible-cards>span::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='12' height='16' rx='2'/%3E%3Cpath d='M8 7h4M8 11h4M8 15h2'/%3E%3Cpath d='M8 21h10a2 2 0 0 0 2-2V7'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='12' height='16' rx='2'/%3E%3Cpath d='M8 7h4M8 11h4M8 15h2'/%3E%3Cpath d='M8 21h10a2 2 0 0 0 2-2V7'/%3E%3C/svg%3E")!important;
}

.collectible-info-page .page-shell{
  padding-top:28px!important;
  padding-bottom:42px!important;
}
.collectible-info-page a{scroll-margin-top:92px}

.cc-info-hero{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) 210px;
  align-items:center;
  gap:20px;
  padding:24px 24px;
  border:1px solid #513722;
  border-radius:17px;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 0,rgba(255,146,18,.16),transparent 34%),
    radial-gradient(circle at 92% 20%,rgba(74,156,255,.08),transparent 25%),
    linear-gradient(135deg,#2b1e13 0%,#21170f 55%,#18120d 100%);
  box-shadow:0 22px 50px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);
}
.cc-info-hero::after{
  content:"";
  position:absolute;
  inset:auto -90px -130px auto;
  width:340px;
  height:340px;
  border:1px solid rgba(255,156,37,.13);
  border-radius:50%;
  box-shadow:0 0 0 42px rgba(255,156,37,.035),0 0 0 88px rgba(255,156,37,.018);
  pointer-events:none;
}
.cc-info-hero-icon{
  width:72px;
  height:86px;
  display:grid;
  place-items:center;
  border-radius:15px;
  border:1px solid #84511a;
  background:
    linear-gradient(145deg,rgba(255,180,64,.18),rgba(255,255,255,.02)),
    #24170c;
  box-shadow:0 14px 30px rgba(0,0,0,.24),inset 0 0 28px rgba(255,142,0,.08);
}
.cc-info-hero-icon span{
  font-size:34px;
  color:#ffad36;
  filter:drop-shadow(0 0 10px rgba(255,146,20,.28));
}
.cc-info-eyebrow{
  display:block;
  margin-bottom:7px;
  color:#ff9f24;
  font-size:9px;
  font-weight:950;
  letter-spacing:.18em;
}
.cc-info-hero h1{
  margin:0;
  color:#fff8ee;
  font-size:38px;
  line-height:1;
  letter-spacing:-.045em;
}
.cc-info-hero-copy>p{
  max-width:790px;
  margin:10px 0 0;
  color:#af9070;
  font-size:13px;
  line-height:1.65;
}
.cc-info-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.cc-info-hero-actions .btn{min-height:38px;padding-inline:13px;border-radius:9px;font-size:11px}
.cc-info-hero-stat{
  position:relative;
  z-index:1;
  padding:15px 16px;
  border:1px solid #483322;
  border-radius:13px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.cc-info-hero-stat span,.cc-info-hero-stat strong,.cc-info-hero-stat small{display:block}
.cc-info-hero-stat span{font-size:8px;font-weight:950;letter-spacing:.2em;color:#886d4f}
.cc-info-hero-stat strong{margin:6px 0 3px;font-size:17px;color:#ffc05f}
.cc-info-hero-stat small{font-size:9.5px;line-height:1.5;color:#8d7357}

.cc-info-jump{
  display:flex;
  gap:7px;
  overflow:auto;
  padding:11px;
  margin:12px 0 16px;
  border:1px solid #3b2c21;
  border-radius:12px;
  background:rgba(31,22,15,.84);
  scrollbar-width:thin;
}
.cc-info-jump a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 11px;
  border:1px solid #433124;
  border-radius:999px;
  color:#a98d6e;
  background:#21170f;
  font-size:10px;
  font-weight:850;
  transition:.18s ease;
}
.cc-info-jump a:hover{color:#fff1de;border-color:#70461f;background:#2a1b10;transform:translateY(-1px)}

.cc-info-stack{display:grid;gap:14px}
.cc-info-section{
  position:relative;
  padding:18px;
  border:1px solid #403022;
  border-radius:15px;
  background:
    radial-gradient(circle at 0 0,rgba(255,149,20,.055),transparent 26%),
    linear-gradient(180deg,#251b13,#1d150f);
  box-shadow:0 16px 34px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.025);
}
.cc-info-section>header{
  display:grid;
  grid-template-columns:42px 1fr;
  align-items:start;
  gap:12px;
  padding-bottom:13px;
  margin-bottom:14px;
  border-bottom:1px solid #36281d;
}
.cc-section-no{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid #60401d;
  border-radius:11px;
  background:linear-gradient(180deg,#3c280f,#281a0c);
  color:#ffae36;
  font-size:10px;
  font-weight:950;
  letter-spacing:.06em;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}
.cc-info-section>header small{
  display:block;
  margin-bottom:4px;
  color:#9b784e;
  font-size:8px;
  font-weight:950;
  letter-spacing:.16em;
}
.cc-info-section>header h2{
  margin:0;
  color:#fff4e7;
  font-size:21px;
  line-height:1.16;
  letter-spacing:-.025em;
}
.cc-info-section>header p{
  margin:5px 0 0;
  color:#9b8164;
  font-size:11.5px;
  line-height:1.55;
}
.cc-info-section a{color:#ffad38;text-decoration:none}
.cc-info-section a:hover{color:#ffd18a}

.cc-steps-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.cc-steps-grid article{
  min-height:166px;
  padding:12px;
  border:1px solid #3d2d20;
  border-radius:12px;
  background:linear-gradient(180deg,#21170f,#1a120c);
}
.cc-steps-grid article>b{
  width:29px;height:29px;display:grid;place-items:center;margin-bottom:12px;
  border-radius:8px;background:#30200e;border:1px solid #5c3d1b;color:#ffad37;font-size:11px;
}
.cc-steps-grid h3,.cc-copy-grid h3,.cc-feature-grid h3{margin:0 0 6px;color:#f4e8da;font-size:12.5px}
.cc-steps-grid p,.cc-copy-grid p,.cc-feature-grid p{margin:0;color:#967b60;font-size:10.5px;line-height:1.55}

.cc-feature-grid{display:grid;gap:10px}.cc-feature-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.cc-feature-grid article{
  display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;
  padding:14px;border:1px solid #3c2e21;border-radius:12px;background:#20170f;
}
.cc-feature-icon{
  width:48px;height:48px;display:grid;place-items:center;border-radius:12px;
  background:linear-gradient(180deg,#46300f,#2e1d0b);border:1px solid #6b491f;color:#ffbb4e;font-size:12px;font-weight:950;
}
.cc-feature-icon.coin{font-size:20px}
.cc-accent-green{background:radial-gradient(circle at 0 0,rgba(29,201,126,.055),transparent 26%),linear-gradient(180deg,#241b13,#1d150f)}
.cc-accent-green .cc-section-no{border-color:#24593f;background:linear-gradient(180deg,#17392a,#10281e);color:#45dc92}
.cc-accent-gold{background:radial-gradient(circle at 0 0,rgba(255,203,61,.075),transparent 28%),linear-gradient(180deg,#261c12,#1c150f)}

.cc-rarity-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.cc-rarity-grid article{
  position:relative;min-height:118px;padding:13px;border:1px solid #443327;border-radius:12px;overflow:hidden;
  background:linear-gradient(180deg,#221911,#18110c);box-shadow:0 10px 22px rgba(0,0,0,.12);transition:.18s ease;
}
.cc-rarity-grid article::after{content:"";position:absolute;inset:auto -25% -55% auto;width:110px;height:110px;border-radius:50%;background:currentColor;filter:blur(34px);opacity:.08}
.cc-rarity-grid article:hover{transform:translateY(-3px);box-shadow:0 18px 32px rgba(0,0,0,.2)}
.cc-rarity-grid i{display:block;width:12px;height:12px;margin-bottom:28px;border-radius:4px;background:currentColor;box-shadow:0 0 16px currentColor}
.cc-rarity-grid strong,.cc-rarity-grid small{display:block;position:relative;z-index:1}
.cc-rarity-grid strong{font-size:12px;color:#fff2e4}.cc-rarity-grid small{margin-top:4px;font-size:9px;line-height:1.45;color:#92795f}
.cc-rarity-grid .common{color:#afa89f}.cc-rarity-grid .uncommon{color:#4ec57b}.cc-rarity-grid .rare{color:#439dff}.cc-rarity-grid .epic{color:#b66cff}.cc-rarity-grid .holo{color:#ffcf4b;border-color:#8d6b1c;box-shadow:inset 0 0 24px rgba(255,198,54,.045)}.cc-rarity-grid .one{color:#ff7b7b;border-color:#814044;box-shadow:inset 0 0 24px rgba(255,82,94,.05)}

.cc-copy-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.cc-copy-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.cc-copy-grid article{padding:13px;border:1px solid #3b2d21;border-radius:11px;background:#20170f;min-height:112px}
.cc-copy-grid article:hover{border-color:#584025;background:#231910}

.cc-list-panel{display:grid;gap:7px}
.cc-list-panel>div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:11px 12px;border:1px solid #392b20;border-radius:10px;background:#20170f}
.cc-list-panel b{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#2d1f11;color:#f0a23a;border:1px solid #4b331c;font-size:9px}
.cc-list-panel p{margin:0;color:#9a8064;font-size:10.5px;line-height:1.55}.cc-list-panel strong{color:#eee0d2}

.cc-market-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:10px}
.cc-market-summary>div{padding:13px;border:1px solid #4c351e;border-radius:11px;background:linear-gradient(180deg,#2a1d10,#20160d)}
.cc-market-summary small,.cc-market-summary strong,.cc-market-summary span{display:block}.cc-market-summary small{font-size:8px;letter-spacing:.13em;color:#8c6d48}.cc-market-summary strong{margin:6px 0 4px;font-size:24px;line-height:1;color:#ffb947}.cc-market-summary span{font-size:9.5px;color:#907557}

.cc-limit-card{display:grid;grid-template-columns:auto auto 1fr;gap:14px;align-items:center;padding:14px;margin-bottom:10px;border:1px solid #65481f;border-radius:12px;background:linear-gradient(90deg,#30210d,#21170f)}
.cc-limit-card>span{font-size:8px;font-weight:950;letter-spacing:.14em;color:#a88246}.cc-limit-card>strong{font-size:20px;color:#ffc34f}.cc-limit-card p{margin:0;color:#987f61;font-size:10.5px;line-height:1.5}
.cc-prob-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.cc-prob-grid article{padding:13px;border:1px solid #3c2e21;border-radius:11px;background:#20170f}.cc-prob-grid span{display:block;font-size:24px;font-weight:950;color:#ffb345}.cc-prob-grid strong{display:block;margin-top:4px;color:#f1e3d5;font-size:11px}.cc-prob-grid small{display:block;margin-top:3px;color:#907459;font-size:9.5px}
.cc-section-note{margin:10px 0 0;padding:10px 12px;border-left:2px solid #d48723;background:#21170f;color:#967a5c;font-size:10px;line-height:1.55}

.cc-crafting-line{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:15px;margin-bottom:10px;border:1px solid #423021;border-radius:12px;background:#1d150f}
.cc-crafting-line span{min-width:92px;text-align:center;padding:9px 12px;border:1px solid #4d3622;border-radius:9px;background:#2a1d12;color:#f0e0d0;font-weight:850;font-size:11px}.cc-crafting-line b{color:#ff9e27;font-size:18px}
.cc-warning{margin-top:10px;padding:12px 14px;border:1px solid #604321;border-radius:11px;background:linear-gradient(180deg,#2d2012,#23180e)}
.cc-warning strong{display:block;color:#ffc15c;font-size:11px}.cc-warning p{margin:5px 0 0;color:#9b8061;font-size:10.5px;line-height:1.55}
.cc-warning.danger{border-color:#6b3131;background:linear-gradient(180deg,#2a1714,#211411)}.cc-warning.danger strong{color:#ff827b}

.cc-album-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.cc-album-grid article{min-height:128px;padding:13px;border:1px solid #3c2d20;border-radius:11px;background:#20170f}.cc-album-grid strong{display:block;margin-bottom:6px;color:#f0e3d5;font-size:11.5px}.cc-album-grid p{margin:0;color:#92785d;font-size:10px;line-height:1.55}.cc-album-grid article.danger{border-color:#673631;background:#281815}.cc-album-grid article.danger strong{color:#ff8a7c}

.cc-ranking-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.cc-ranking-grid article{display:grid;grid-template-columns:42px 1fr;column-gap:10px;align-items:center;padding:13px;border:1px solid #3d2e21;border-radius:11px;background:#20170f}.cc-ranking-grid article>span{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#2b1e11;border:1px solid #4d351d;color:#ffad36;font-size:17px}.cc-ranking-grid strong{font-size:11.5px;color:#efe2d5}.cc-ranking-grid p{margin:3px 0 0;color:#92775b;font-size:9.8px;line-height:1.45}
.cc-fair-play{border-color:#593325;background:radial-gradient(circle at 0 0,rgba(255,72,72,.04),transparent 25%),linear-gradient(180deg,#251912,#1d140f)}.cc-fair-tagline{margin:12px 0 0;text-align:center;color:#d7b792;font-size:11px;font-weight:800}

.cc-info-quicklinks{display:grid;grid-template-columns:220px 1fr;align-items:center;gap:14px;padding:17px;border:1px solid #4a3421;border-radius:14px;background:linear-gradient(135deg,#2b1d10,#1b130d);box-shadow:0 16px 34px rgba(0,0,0,.14)}
.cc-info-quicklinks>div small{display:block;color:#9f7748;font-size:8px;font-weight:950;letter-spacing:.16em}.cc-info-quicklinks>div h2{margin:5px 0 0;color:#fff3e3;font-size:18px}.cc-info-quicklinks nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.cc-info-quicklinks nav a{display:grid;grid-template-columns:34px 1fr;column-gap:8px;align-items:center;padding:10px;border:1px solid #443122;border-radius:10px;background:#20170f;transition:.18s ease}.cc-info-quicklinks nav a:hover{transform:translateY(-2px);border-color:#71471f}.cc-info-quicklinks nav a>span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#31200d;color:#ffab31}.cc-info-quicklinks nav strong{color:#f2e5d7;font-size:10.5px}.cc-info-quicklinks nav small{color:#866a4d;font-size:9px}

@media(max-width:1180px){
  .main-nav{gap:2px!important}
  .main-nav a{padding-inline:8px!important;font-size:12px!important}
  .main-nav a.nav-collectible-cards{font-size:11.5px!important;padding-inline:7px!important}
  .cc-steps-grid{grid-template-columns:repeat(3,1fr)}
  .cc-rarity-grid{grid-template-columns:repeat(3,1fr)}
  .cc-copy-grid{grid-template-columns:repeat(3,1fr)}
  .cc-album-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:930px){
  .cc-info-hero{grid-template-columns:auto 1fr}.cc-info-hero-stat{grid-column:1/-1}
  .cc-copy-grid,.cc-copy-grid.compact{grid-template-columns:repeat(2,1fr)}
  .cc-album-grid{grid-template-columns:repeat(2,1fr)}
  .cc-info-quicklinks{grid-template-columns:1fr}.cc-info-quicklinks nav{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .cc-info-hero{grid-template-columns:1fr;padding:18px}.cc-info-hero-icon{width:58px;height:66px}.cc-info-hero h1{font-size:31px}
  .cc-steps-grid,.cc-rarity-grid,.cc-market-summary,.cc-prob-grid,.cc-ranking-grid{grid-template-columns:repeat(2,1fr)}
  .cc-limit-card{grid-template-columns:1fr;gap:5px}
}
@media(max-width:560px){
  .cc-info-hero h1{font-size:27px}
  .cc-info-section{padding:13px}
  .cc-info-section>header{grid-template-columns:36px 1fr}.cc-section-no{width:36px;height:36px}
  .cc-info-section>header h2{font-size:18px}
  .cc-steps-grid,.cc-feature-grid.two,.cc-rarity-grid,.cc-copy-grid,.cc-copy-grid.compact,.cc-market-summary,.cc-prob-grid,.cc-album-grid,.cc-ranking-grid{grid-template-columns:1fr}
  .cc-steps-grid article{min-height:auto}
  .cc-info-quicklinks nav{grid-template-columns:1fr}
}

/* ==== V2.104 · topic lock action / contact / collectible banner ==== */
body.topic-view-page .topic-actions-premium .topic-lock-form{
  margin:0!important;
  display:inline-flex!important;
}
body.topic-view-page .topic-actions-premium .topic-lock-action{
  min-height:38px!important;
  height:38px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border-radius:7px!important;
  font-size:10px!important;
  font-weight:800!important;
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
body.topic-view-page .topic-actions-premium .topic-lock-action.is-close-action{
  border:1px solid #66501f!important;
  background:linear-gradient(180deg,#31250f,#251a0d)!important;
  color:#d8aa58!important;
}
body.topic-view-page .topic-actions-premium .topic-lock-action.is-close-action:hover{
  transform:translateY(-2px)!important;
  border-color:#9a7025!important;
  background:linear-gradient(180deg,#422f0e,#2e1d08)!important;
  color:#ffc66d!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18),0 0 18px rgba(222,154,40,.07)!important;
}
body.topic-view-page .topic-actions-premium .topic-lock-action.is-open-action{
  border:1px solid #355b43!important;
  background:linear-gradient(180deg,#1a3023,#14251b)!important;
  color:#77d49e!important;
}
body.topic-view-page .topic-actions-premium .topic-lock-action.is-open-action:hover{
  transform:translateY(-2px)!important;
  border-color:#4a8d64!important;
  background:linear-gradient(180deg,#20432d,#183321)!important;
  color:#a3f0bd!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18),0 0 18px rgba(60,180,105,.07)!important;
}

/* Kontakt / Pomoc / Legal */
body.contact-page .page-shell{
  padding-top:30px!important;
  padding-bottom:46px!important;
}
.contact-shell{display:grid;gap:16px}
.contact-hero{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  align-items:center;
  gap:16px;
  padding:22px 24px;
  border:1px solid #4b3421;
  border-radius:16px;
  background:
    radial-gradient(circle at 0 0,rgba(255,150,28,.12),transparent 34%),
    linear-gradient(180deg,#2a1d13,#21170f);
  box-shadow:0 20px 42px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025);
}
.contact-hero-icon{
  width:54px;height:54px;display:grid;place-items:center;
  border:1px solid #754817;border-radius:13px;
  background:linear-gradient(180deg,#41270d,#2d1b0b);
  color:#ffab32;font-size:23px;font-weight:900;
  box-shadow:0 10px 24px rgba(0,0,0,.19),inset 0 0 18px rgba(255,147,14,.06);
}
.contact-eyebrow{
  display:block;margin-bottom:5px;color:#d78e34;font-size:8.5px;font-weight:950;letter-spacing:.18em;
}
.contact-hero h1{margin:0;color:#fff7ec;font-size:31px;line-height:1.05;letter-spacing:-.035em}
.contact-hero p{max-width:830px;margin:7px 0 0;color:#a88a68;font-size:12px;line-height:1.6}
.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:16px;
  align-items:start;
}
.contact-form{
  padding:20px!important;
  border:1px solid #433022!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#251b13,#1d150f)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.13)!important;
}
.contact-form-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding-bottom:15px;margin-bottom:16px;border-bottom:1px solid #38291e;
}
.contact-form-head>div>span{display:block;color:#bd8240;font-size:8px;font-weight:950;letter-spacing:.17em}
.contact-form-head h2{margin:4px 0 0;color:#fff2e3;font-size:19px;letter-spacing:-.02em}
.contact-form-head p{margin:5px 0 0;color:#8e7458;font-size:10.5px;line-height:1.5}
.contact-form-head>i{
  width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;
  border:1px solid #5b3b1e;border-radius:9px;background:#2e1f10;color:#f0a243;font-style:normal;font-size:9px;font-weight:950;
}
.contact-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.contact-form label{display:grid;gap:7px;margin-bottom:13px}
.contact-form label>span{color:#d8c2a8;font-size:10.5px;font-weight:850}
.contact-form input,.contact-form textarea{
  width:100%!important;border:1px solid #493424!important;border-radius:9px!important;background:#17110c!important;color:#f2e7da!important;
  padding:11px 12px!important;font-size:11px!important;outline:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;
}
.contact-form input{min-height:42px!important}
.contact-form textarea{min-height:210px!important;resize:vertical!important;line-height:1.6!important}
.contact-form input:focus,.contact-form textarea:focus{border-color:#8a561e!important;box-shadow:0 0 0 3px rgba(255,146,20,.06)!important}
.contact-form label>small{color:#7d664e;font-size:9px;line-height:1.5}
.contact-submit-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:4px;padding-top:14px;border-top:1px solid #38291e;
}
.contact-submit-row>div{display:flex;align-items:center;gap:9px;min-width:0}
.contact-submit-row>div>span{
  width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:8px;border:1px solid #394b42;background:#17241e;color:#74c59a;font-size:13px;
}
.contact-submit-row p{max-width:520px;margin:0;color:#8f765a;font-size:9.5px;line-height:1.5}
.contact-submit-row .btn{min-width:156px;min-height:40px}
.contact-side{display:grid;gap:12px}
.contact-side-card{
  border:1px solid #423023;border-radius:14px;background:linear-gradient(180deg,#241a12,#1c140e);box-shadow:0 16px 32px rgba(0,0,0,.12);
}
.contact-side-main{padding:16px}
.contact-side-main>span{display:inline-grid;place-items:center;width:30px;height:30px;margin-bottom:10px;border:1px solid #59401f;border-radius:8px;background:#2d1e0f;color:#e49b3e;font-size:9px;font-weight:950}
.contact-side-main h3{margin:0;color:#f2e5d6;font-size:15px}
.contact-side-main>p{margin:6px 0 13px;color:#8f7458;font-size:10px;line-height:1.5}
.contact-side-main nav{display:grid;gap:7px}
.contact-side-main nav a{
  display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #3a2b20;border-radius:10px;background:#1c140e;text-decoration:none;transition:.18s ease;
}
.contact-side-main nav a:hover{transform:translateX(2px);border-color:#704821;background:#281a0f}
.contact-side-main nav i{width:34px;height:34px;display:grid;place-items:center;border:1px solid #4a3420;border-radius:9px;background:#2b1d10;color:#e9a24a;font-style:normal;font-size:13px;font-weight:900}
.contact-side-main nav b,.contact-side-main nav small{display:block}
.contact-side-main nav b{color:#eaddce;font-size:10.5px}
.contact-side-main nav small{margin-top:2px;color:#786149;font-size:8.5px;line-height:1.35}
.contact-side-main nav em{color:#9a764d;font-style:normal}
.contact-side-note{display:flex;gap:10px;align-items:flex-start;padding:13px 14px}
.contact-side-note>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border:1px solid #27516a;border-radius:8px;background:#12232d;color:#52c8ef;font-size:12px;font-weight:900}
.contact-side-note strong{color:#dceaf0;font-size:10.5px}
.contact-side-note p{margin:4px 0 0;color:#7f7468;font-size:9px;line-height:1.5}

/* Karty kolekcjonerskie — grafika użytkownika jako główny banner */
.cc-info-banner{
  position:relative;
  margin:0 0 14px;
  border:1px solid #5b3a17;
  border-radius:17px;
  overflow:hidden;
  background:#0e0905;
  box-shadow:0 24px 54px rgba(0,0,0,.26),0 0 0 1px rgba(255,151,20,.035);
}
.cc-info-banner::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  box-shadow:inset 0 0 48px rgba(0,0,0,.15),inset 0 -26px 40px rgba(0,0,0,.15);
}
.cc-info-banner img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}

@media(max-width:980px){
  .contact-layout{grid-template-columns:1fr}
  .contact-side{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  body.topic-view-page .topic-actions-premium .topic-lock-form{width:100%!important}
  body.topic-view-page .topic-actions-premium .topic-lock-action{width:100%!important}
  .contact-hero{grid-template-columns:44px 1fr;padding:17px}
  .contact-hero-icon{width:44px;height:44px;font-size:18px}
  .contact-hero h1{font-size:25px}
  .contact-grid-two{grid-template-columns:1fr}
  .contact-submit-row{align-items:stretch;flex-direction:column}
  .contact-submit-row .btn{width:100%}
  .contact-side{grid-template-columns:1fr}
  .cc-info-banner{border-radius:12px}
}

/* ==== V2.105 · unified collectible rarity colors + collection page refresh ==== */
:root{
  --card-common:#c7c1ba;
  --card-uncommon:#50d98a;
  --card-rare:#4da2ff;
  --card-epic:#b96cff;
  --card-holo:#ffd34d;
  --card-one:#ff7f8a;
}

/* One color language everywhere */
.inv-card,.mp-card,.profile-collector-card,.profile-mini-card,.collector-card{
  --rarity:#8c8278;
  --rarity-soft:rgba(140,130,120,.12);
  --rarity-glow:rgba(140,130,120,.18);
}
.inv-card.rarity-common,.mp-card.rarity-common,.profile-collector-card.rarity-common,.profile-mini-card.rarity-common,.collector-card.rarity-common{--rarity:var(--card-common);--rarity-soft:rgba(199,193,186,.12);--rarity-glow:rgba(199,193,186,.22)}
.inv-card.rarity-uncommon,.mp-card.rarity-uncommon,.profile-collector-card.rarity-uncommon,.profile-mini-card.rarity-uncommon,.collector-card.rarity-uncommon{--rarity:var(--card-uncommon);--rarity-soft:rgba(80,217,138,.13);--rarity-glow:rgba(80,217,138,.31)}
.inv-card.rarity-rare,.mp-card.rarity-rare,.profile-collector-card.rarity-rare,.profile-mini-card.rarity-rare,.collector-card.rarity-rare{--rarity:var(--card-rare);--rarity-soft:rgba(77,162,255,.14);--rarity-glow:rgba(77,162,255,.34)}
.inv-card.rarity-epic,.mp-card.rarity-epic,.profile-collector-card.rarity-epic,.profile-mini-card.rarity-epic,.collector-card.rarity-epic{--rarity:var(--card-epic);--rarity-soft:rgba(185,108,255,.15);--rarity-glow:rgba(185,108,255,.36)}
.inv-card.rarity-holo,.mp-card.rarity-holo,.profile-collector-card.rarity-holo,.profile-mini-card.rarity-holo,.collector-card.rarity-holo{--rarity:var(--card-holo);--rarity-soft:rgba(255,211,77,.15);--rarity-glow:rgba(255,211,77,.38)}
.inv-card.rarity-one_of_one,.mp-card.rarity-one_of_one,.profile-collector-card.rarity-one_of_one,.profile-mini-card.rarity-one_of_one,.collector-card.rarity-one_of_one{--rarity:var(--card-one);--rarity-soft:rgba(255,127,138,.15);--rarity-glow:rgba(255,127,138,.40)}

body.inventory-page .inv-card,
body.marketplace-page .mp-card,
.profile-page .profile-collector-card,
.profile-page .profile-mini-card,
body.cards-page .collector-card{
  border:1px solid color-mix(in srgb,var(--rarity) 82%,#261c14)!important;
  background:
    radial-gradient(circle at 50% -12%,var(--rarity-soft),transparent 42%),
    linear-gradient(180deg,#211811,#17110c)!important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.19),
    0 0 18px color-mix(in srgb,var(--rarity-glow) 70%,transparent),
    inset 0 1px 0 rgba(255,255,255,.025)!important;
}
body.inventory-page .inv-card:hover,
body.marketplace-page .mp-card:hover,
.profile-page .profile-collector-card:hover,
.profile-page .profile-mini-card:hover,
body.cards-page .collector-card:hover{
  border-color:var(--rarity)!important;
  box-shadow:
    0 24px 48px rgba(0,0,0,.32),
    0 0 34px var(--rarity-glow),
    0 0 0 1px color-mix(in srgb,var(--rarity) 34%,transparent),
    inset 0 0 28px var(--rarity-soft)!important;
}
body.cards-page .collector-card::after,
body.inventory-page .inv-card::before,
body.marketplace-page .mp-card::before,
.profile-page .profile-collector-card::after,
.profile-page .profile-mini-card::after{
  height:2px!important;
  left:7%!important;
  right:7%!important;
  background:linear-gradient(90deg,transparent,var(--rarity),transparent)!important;
  box-shadow:0 0 18px var(--rarity-glow)!important;
}
body.cards-page .collector-card>small,
body.inventory-page .inv-card small,
body.marketplace-page .mp-art i{
  color:var(--rarity)!important;
}
body.cards-page .collector-card>span{
  filter:drop-shadow(0 0 12px var(--rarity-glow)) drop-shadow(0 8px 16px rgba(0,0,0,.45))!important;
}

/* Holo = gold, 1-of-1 = red/pink shimmer */
body.marketplace-page .mp-card.rarity-holo::after,
body.inventory-page .inv-card.rarity-holo::after,
body.cards-page .collector-card.rarity-holo::before{
  background:linear-gradient(115deg,transparent 28%,rgba(255,228,116,.06) 39%,rgba(255,247,196,.26) 48%,rgba(255,204,56,.08) 57%,transparent 69%)!important;
}
body.marketplace-page .mp-card.rarity-one_of_one::after,
body.inventory-page .inv-card.rarity-one_of_one::after,
body.cards-page .collector-card.rarity-one_of_one::before{
  background:linear-gradient(115deg,transparent 28%,rgba(255,107,127,.05) 39%,rgba(255,211,218,.24) 48%,rgba(255,92,112,.08) 57%,transparent 69%)!important;
}

/* Info page rarity tiles use exactly the same palette */
.cc-rarity-grid .common{color:var(--card-common)!important;border-color:color-mix(in srgb,var(--card-common) 52%,#3b2c20)!important;box-shadow:inset 0 0 24px rgba(199,193,186,.035)!important}
.cc-rarity-grid .uncommon{color:var(--card-uncommon)!important;border-color:color-mix(in srgb,var(--card-uncommon) 52%,#3b2c20)!important;box-shadow:inset 0 0 24px rgba(80,217,138,.055)!important}
.cc-rarity-grid .rare{color:var(--card-rare)!important;border-color:color-mix(in srgb,var(--card-rare) 52%,#3b2c20)!important;box-shadow:inset 0 0 24px rgba(77,162,255,.055)!important}
.cc-rarity-grid .epic{color:var(--card-epic)!important;border-color:color-mix(in srgb,var(--card-epic) 52%,#3b2c20)!important;box-shadow:inset 0 0 24px rgba(185,108,255,.06)!important}
.cc-rarity-grid .holo{color:var(--card-holo)!important;border-color:color-mix(in srgb,var(--card-holo) 58%,#3b2c20)!important;box-shadow:0 0 22px rgba(255,211,77,.10),inset 0 0 26px rgba(255,211,77,.06)!important}
.cc-rarity-grid .one{color:var(--card-one)!important;border-color:color-mix(in srgb,var(--card-one) 58%,#3b2c20)!important;box-shadow:0 0 22px rgba(255,127,138,.11),inset 0 0 26px rgba(255,127,138,.06)!important}

/* Marketplace rarity filters / subcategories */
body.marketplace-page .mp-filter-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body.marketplace-page .mp-filter-chips a{
  --chip:#a58c6d;
  --chip-soft:rgba(165,140,109,.09);
  --chip-glow:rgba(165,140,109,.16);
  min-height:38px!important;
  padding:0 14px!important;
  border:1px solid color-mix(in srgb,var(--chip) 40%,#39291d)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--chip-soft) 82%,#241911),#1b130d)!important;
  color:color-mix(in srgb,var(--chip) 88%,#fff)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
body.marketplace-page .mp-filter-chips a.rarity-all{--chip:#d1a164;--chip-soft:rgba(209,161,100,.08);--chip-glow:rgba(209,161,100,.18)}
body.marketplace-page .mp-filter-chips a.rarity-common{--chip:var(--card-common);--chip-soft:rgba(199,193,186,.08);--chip-glow:rgba(199,193,186,.20)}
body.marketplace-page .mp-filter-chips a.rarity-uncommon{--chip:var(--card-uncommon);--chip-soft:rgba(80,217,138,.09);--chip-glow:rgba(80,217,138,.24)}
body.marketplace-page .mp-filter-chips a.rarity-rare{--chip:var(--card-rare);--chip-soft:rgba(77,162,255,.10);--chip-glow:rgba(77,162,255,.27)}
body.marketplace-page .mp-filter-chips a.rarity-epic{--chip:var(--card-epic);--chip-soft:rgba(185,108,255,.10);--chip-glow:rgba(185,108,255,.28)}
body.marketplace-page .mp-filter-chips a.rarity-holo{--chip:var(--card-holo);--chip-soft:rgba(255,211,77,.10);--chip-glow:rgba(255,211,77,.30)}
body.marketplace-page .mp-filter-chips a.rarity-one_of_one{--chip:var(--card-one);--chip-soft:rgba(255,127,138,.10);--chip-glow:rgba(255,127,138,.32)}
body.marketplace-page .mp-filter-chips a:hover{
  transform:translateY(-2px)!important;
  border-color:var(--chip)!important;
  box-shadow:0 10px 24px var(--chip-glow)!important;
}
body.marketplace-page .mp-filter-chips a.active{
  color:#fff!important;
  border-color:var(--chip)!important;
  background:
    radial-gradient(circle at 50% 0,var(--chip-soft),transparent 65%),
    linear-gradient(180deg,#2a2018,#1d150f)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--chip) 24%,transparent),0 10px 28px var(--chip-glow),inset 0 0 18px var(--chip-soft)!important;
}
body.marketplace-page .mp-filter-chips a.active::before{
  content:"";
  width:7px;height:7px;border-radius:3px;background:var(--chip);box-shadow:0 0 12px var(--chip);
  margin-right:7px;
}

/* Marketplace heading aligned with collection system */
body.marketplace-page .mp-head{
  border-color:#4b3421!important;
  background:
    radial-gradient(circle at 0 0,rgba(255,151,28,.11),transparent 34%),
    linear-gradient(180deg,#2a1d13,#20160f)!important;
}
body.marketplace-page .mp-icon{
  border:1px solid #6a431b!important;
  background:linear-gradient(180deg,#3a240d,#28180a)!important;
  color:#ffae3d!important;
  box-shadow:0 0 20px rgba(255,157,31,.08)!important;
}
body.marketplace-page .mp-head h1{color:#fff5e9!important;letter-spacing:-.04em!important}
body.marketplace-page .mp-head p{color:#a98c6b!important}
body.marketplace-page .mp-toolbar{
  border-color:#423022!important;
  background:linear-gradient(180deg,#241a12,#1b130d)!important;
}

/* /cards — premium collection page */
body.cards-page .page-shell{max-width:1240px!important;padding-top:28px!important;padding-bottom:48px!important}
.cards-collection-hero{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 150px;
  align-items:center;
  gap:18px;
  margin-bottom:12px;
  padding:22px 24px;
  border:1px solid #4b3421;
  border-radius:16px;
  background:
    radial-gradient(circle at 0 0,rgba(255,151,28,.13),transparent 34%),
    radial-gradient(circle at 78% -20%,rgba(185,108,255,.08),transparent 34%),
    linear-gradient(180deg,#2a1d13,#20160f);
  box-shadow:0 22px 46px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.025);
}
.cards-collection-hero-icon{
  width:58px;height:58px;display:grid;place-items:center;
  border:1px solid #764a19;border-radius:14px;
  background:linear-gradient(180deg,#40270e,#2d1b0a);
  color:#ffaf3b;font-size:28px;font-weight:950;
  box-shadow:0 12px 25px rgba(0,0,0,.2),0 0 20px rgba(255,156,28,.07);
}
.cards-collection-eyebrow{display:block;margin-bottom:5px;color:#d28b36;font-size:8px;font-weight:950;letter-spacing:.18em}
.cards-collection-hero h1{margin:0;color:#fff7ec;font-size:31px;line-height:1.05;letter-spacing:-.04em}
.cards-collection-hero p{max-width:760px;margin:7px 0 0;color:#a98a68;font-size:12px;line-height:1.6}
.cards-collection-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.cards-collection-actions a{
  min-height:34px;display:inline-flex;align-items:center;padding:0 11px;
  border:1px solid #433123;border-radius:8px;background:#1c140e;color:#c7aa86;font-size:9.5px;font-weight:800;text-decoration:none;
  transition:.18s ease;
}
.cards-collection-actions a:hover{transform:translateY(-2px);border-color:#775022;background:#281a0e;color:#ffc270}
.cards-collection-total{
  min-width:140px;padding:13px 14px;text-align:center;border:1px solid #50391f;border-radius:13px;
  background:linear-gradient(180deg,#2c2014,#1d150e);box-shadow:0 12px 26px rgba(0,0,0,.15)
}
.cards-collection-total small,.cards-collection-total span{display:block;color:#927252;font-size:8px;font-weight:900;letter-spacing:.13em}
.cards-collection-total strong{display:block;margin:4px 0 2px;color:#ffb548;font-size:31px;line-height:1}
.cards-rarity-strip{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:14px;padding:9px;
  border:1px solid #392a1f;border-radius:12px;background:linear-gradient(180deg,#20170f,#19110c)
}
.cards-rarity-strip>span{
  --r:#b7a58e;
  min-height:34px;display:flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid color-mix(in srgb,var(--r) 38%,#34261b);border-radius:8px;background:color-mix(in srgb,var(--r) 5%,#1d150f);
  color:color-mix(in srgb,var(--r) 86%,#fff);font-size:9px;font-weight:900;letter-spacing:.02em
}
.cards-rarity-strip>span i{width:7px;height:7px;border-radius:3px;background:var(--r);box-shadow:0 0 10px var(--r)}
.cards-rarity-strip .rarity-common{--r:var(--card-common)}
.cards-rarity-strip .rarity-uncommon{--r:var(--card-uncommon)}
.cards-rarity-strip .rarity-rare{--r:var(--card-rare)}
.cards-rarity-strip .rarity-epic{--r:var(--card-epic)}
.cards-rarity-strip .rarity-holo{--r:var(--card-holo)}
.cards-rarity-strip .rarity-one_of_one{--r:var(--card-one)}

body.cards-page .card-packs{
  padding:12px;margin:0 0 15px!important;
  border:1px solid #3d2e22;border-radius:13px;
  background:linear-gradient(180deg,#211811,#1a120d);
}
body.cards-page .card-pack,
body.cards-page .card-market-link{
  min-height:72px!important;
  border-radius:10px!important;
  border-color:#443123!important;
  background:linear-gradient(180deg,#281c12,#1f160f)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.10)!important;
}
body.cards-page .card-pack:hover,
body.cards-page .card-market-link:hover{
  border-color:#704820!important;
  box-shadow:0 16px 32px rgba(0,0,0,.18),0 0 20px rgba(255,150,24,.05)!important;
}
body.cards-page .card-pack>span{width:42px;height:42px;display:grid;place-items:center;border:1px solid #54381b;border-radius:10px;background:#2f1f0e;font-size:22px!important}
body.cards-page .card-pack strong{font-size:11px;color:#f2e5d6}
body.cards-page .card-pack small{margin-top:3px;font-size:9px}
body.cards-page .card-market-link{color:#ffaf3e!important}

body.cards-page>.page-shell>section.panel,
body.cards-page .page-shell>section.panel{
  border-color:#3f3023!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#241a12,#1c140e)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.12)!important;
}
body.cards-page .collection-head{
  padding-bottom:12px;margin-bottom:14px!important;border-bottom:1px solid #3a2b20;
}
body.cards-page .collection-head h2{font-size:18px;color:#fff2e3}
body.cards-page .collection-head b{padding:5px 9px;border:1px solid #473321;border-radius:999px;background:#20170f;color:#d3ad7b;font-size:10px}
body.cards-page .card-collection-grid{gap:13px!important}
body.cards-page .collector-card{min-height:176px!important;border-radius:12px!important;padding:17px 12px 12px!important}
body.cards-page .collector-card>strong{font-size:12.5px!important;color:#fff2e5}
body.cards-page .collector-card>small{font-weight:850!important;letter-spacing:.045em!important}
body.cards-page .card-list-form input{border-color:#423022!important;background:#15100b!important}
body.cards-page .card-list-form button{border-color:color-mix(in srgb,var(--rarity) 52%,#4d321b)!important;color:var(--rarity)!important;background:color-mix(in srgb,var(--rarity-soft) 60%,#25170d)!important}

@media(max-width:980px){
  .cards-collection-hero{grid-template-columns:52px minmax(0,1fr)}
  .cards-collection-total{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
  .cards-collection-total strong{font-size:24px}
  .cards-rarity-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px){
  .cards-collection-hero{grid-template-columns:1fr;padding:17px}
  .cards-collection-hero-icon{width:48px;height:48px;font-size:22px}
  .cards-collection-hero h1{font-size:26px}
  .cards-rarity-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cards-page .card-packs{padding:9px}
}

/* ==== V2.106 · DarkW.eu image logo ==== */
.brand.brand-image-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:0 4px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.brand.brand-image-logo.is-default-darkw-logo{
  width:140px!important;
  min-width:140px!important;
  height:58px!important;
}
.brand.brand-image-logo.is-default-darkw-logo .brand-custom-logo{
  width:132px!important;
  height:47px!important;
  max-width:132px!important;
  max-height:47px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.46)) drop-shadow(0 0 8px rgba(255,166,39,.10))!important;
  transform-origin:left center!important;
}
.brand.brand-image-logo.is-default-darkw-logo:hover .brand-custom-logo{
  transform:translateY(-1px) scale(1.035)!important;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.52)) drop-shadow(0 0 12px rgba(160,63,255,.16)) drop-shadow(0 0 9px rgba(255,176,45,.13))!important;
}
@media(max-width:1180px){
  .brand.brand-image-logo.is-default-darkw-logo{width:126px!important;min-width:126px!important}
  .brand.brand-image-logo.is-default-darkw-logo .brand-custom-logo{width:118px!important;height:42px!important;max-width:118px!important;max-height:42px!important}
}
@media(max-width:780px){
  .brand.brand-image-logo.is-default-darkw-logo{width:112px!important;min-width:112px!important;height:54px!important}
  .brand.brand-image-logo.is-default-darkw-logo .brand-custom-logo{width:104px!important;height:37px!important;max-width:104px!important;max-height:37px!important}
}


/* ==== V2.108 · Ostatnio aktywni refresh ==== */
body.home-page .active-section-v28{
  position:relative!important;
  margin-top:24px!important;
  border:1px solid #463222!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 10% 0,rgba(26,207,129,.06),transparent 34%),
    linear-gradient(180deg,#251b13,#1d150f)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.17),inset 0 1px rgba(255,255,255,.025)!important;
}
body.home-page .active-section-v28::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#1fd389 22%,#ff9b1a 62%,transparent);
  opacity:.78;
}
body.home-page .active-section-v28 .active-head{
  margin:0!important;
  padding:16px 18px!important;
  border-bottom:1px solid #3b2b20!important;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.035))!important;
}
body.home-page .active-section-v28 .active-head>div{gap:11px!important}
body.home-page .active-section-v28 .active-head-icon{
  width:40px!important;
  height:40px!important;
  border-radius:11px!important;
  background:linear-gradient(145deg,#123a2b,#0d241c)!important;
  border-color:rgba(36,215,139,.35)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 0 0 3px rgba(31,211,137,.035),0 8px 22px rgba(0,0,0,.17)!important;
}
body.home-page .active-section-v28 .active-head-icon::before{width:19px!important;height:19px!important}
body.home-page .active-section-v28 .active-head h2{
  font-size:18px!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  color:#fff6ec!important;
}
body.home-page .active-section-v28 .active-head p{
  margin-top:3px!important;
  font-size:10px!important;
  color:#967a5c!important;
}
body.home-page .active-section-v28 .active-head>b{
  min-height:34px!important;
  padding:0 12px!important;
  border-radius:10px!important;
  border:1px solid rgba(34,156,102,.28)!important;
  background:linear-gradient(180deg,rgba(19,56,42,.72),rgba(15,38,30,.76))!important;
  color:#a9ddc7!important;
  font-size:10px!important;
  font-weight:850!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
body.home-page .active-section-v28 .active-head>b i{
  width:7px!important;height:7px!important;background:#22d789!important;
  box-shadow:0 0 0 3px rgba(34,215,137,.08),0 0 12px rgba(34,215,137,.5)!important;
}
body.home-page .active-section-v28 .active-card{
  border:0!important;
  border-radius:0!important;
  padding:14px 16px 16px!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.home-page .active-section-v28 .active-group{
  --active-role:#c6ad8d;
  position:relative!important;
  margin:0!important;
  padding:12px 13px!important;
  border:1px solid #392a20!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,rgba(43,31,22,.82),rgba(31,23,17,.86))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018)!important;
}
body.home-page .active-section-v28 .active-group+.active-group{margin-top:9px!important}
body.home-page .active-section-v28 .active-group::before{
  content:"";
  position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:2px;
  background:var(--active-role);opacity:.8;box-shadow:0 0 10px color-mix(in srgb,var(--active-role) 40%,transparent);
}
body.home-page .active-section-v28 .role-text-admin{--active-role:#ff5e65}
body.home-page .active-section-v28 .role-text-super_moderator{--active-role:#35df83}
body.home-page .active-section-v28 .role-text-moderator{--active-role:#d6e23c}
body.home-page .active-section-v28 .role-text-uploader{--active-role:#7782ff}
body.home-page .active-section-v28 .role-text-user{--active-role:#d39a55}
body.home-page .active-section-v28 .active-group-title{
  margin:0 0 9px 4px!important;
  gap:7px!important;
}
body.home-page .active-section-v28 .active-group-title h3{
  font-size:9.5px!important;
  font-weight:950!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  color:var(--active-role)!important;
}
body.home-page .active-section-v28 .active-group-title span{
  min-width:22px!important;height:20px!important;padding:0 6px!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--active-role) 8%,#251b13)!important;
  border-color:color-mix(in srgb,var(--active-role) 24%,#453425)!important;
  color:color-mix(in srgb,var(--active-role) 75%,#d8c2a6)!important;
  font-size:8px!important;
}
body.home-page .active-section-v28 .user-chips{gap:6px!important}
body.home-page .active-section-v28 .user-chips a{
  min-height:34px!important;
  padding:4px 10px 4px 5px!important;
  border-radius:9px!important;
  border:1px solid #403025!important;
  background:linear-gradient(180deg,#2b2118,#251b14)!important;
  color:#d8c8b5!important;
  font-size:10px!important;
  font-weight:800!important;
  box-shadow:inset 0 1px rgba(255,255,255,.02)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
body.home-page .active-section-v28 .user-chips a .avatar{
  border-color:color-mix(in srgb,var(--active-role) 36%,#624727)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--active-role) 5%,transparent)!important;
}
body.home-page .active-section-v28 .user-chips a:hover{
  transform:translateY(-2px)!important;
  border-color:color-mix(in srgb,var(--active-role) 44%,#5d442b)!important;
  background:linear-gradient(180deg,#33261b,#291e15)!important;
  box-shadow:0 9px 20px rgba(0,0,0,.18),0 0 0 1px color-mix(in srgb,var(--active-role) 7%,transparent)!important;
}
body.home-page .active-section-v28 .user-chips a>i{
  margin-left:1px!important;
  color:var(--active-role)!important;
  opacity:.78!important;
  font-size:9px!important;
}
body.home-page .active-section-v28 .user-chips button{
  min-height:34px!important;
  padding:0 11px!important;
  border-radius:9px!important;
  border:1px solid #5c3d1f!important;
  background:linear-gradient(180deg,#3b260f,#2d1c0c)!important;
  color:#efa447!important;
  font-size:9px!important;
}
body.home-page .active-section-v28 .user-chips button:hover{background:#472b0d!important;border-color:#85531d!important;color:#ffc36c!important}
@media(max-width:680px){
  body.home-page .active-section-v28 .active-head{align-items:flex-start!important;padding:14px!important}
  body.home-page .active-section-v28 .active-head>b{min-height:30px!important;padding:0 9px!important;font-size:9px!important}
  body.home-page .active-section-v28 .active-card{padding:11px!important}
  body.home-page .active-section-v28 .active-group{padding:10px!important}
}

/* ==== V2.109 · temat: wszystkie metadane w jednym wierszu ==== */
@media (min-width:921px){
  body.topic-view-page .topic-page-head-premium{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:14px!important;
  }
  body.topic-view-page .topic-head-main{
    width:100%!important;
    min-width:0!important;
  }
  body.topic-view-page .topic-author-strip{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    width:100%!important;
    gap:8px!important;
  }
  body.topic-view-page .topic-author-link{
    flex:1.38 1 210px!important;
    min-width:185px!important;
  }
  body.topic-view-page .topic-meta-chip{
    flex:1 1 124px!important;
    min-width:112px!important;
  }
  body.topic-view-page .topic-meta-replies{
    flex:1 1 124px!important;
  }
  body.topic-view-page .topic-actions-premium{
    width:100%!important;
    justify-content:flex-end!important;
    margin-top:0!important;
    padding-top:12px!important;
    border-top:1px solid rgba(121,82,42,.20)!important;
  }
}


/* V2.110 — homepage sidebar */
.home-page .home-layout-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 318px;
  gap:18px;
  align-items:start;
  margin-top:4px;
}
.home-page .home-layout-main{min-width:0}
.home-page .home-sidebar{
  display:grid;
  gap:16px;
  position:sticky;
  top:82px;
}
.home-page .sidebar-card{
  position:relative;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--line) 88%, #000 12%);
  border-radius:14px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 90%,#000 10%),color-mix(in srgb,var(--panel3) 92%,#000 8%));
  box-shadow:0 16px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.03);
}
.home-page .sidebar-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(255,140,0,.08), transparent 34%);
  pointer-events:none;
}
.home-page .sidebar-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(255,255,255,.04);
}
.home-page .sidebar-card-head>div{display:flex;align-items:flex-start;gap:12px;min-width:0}
.home-page .sidebar-card-icon{
  width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,154,52,.28);
  background:linear-gradient(180deg,rgba(255,151,32,.14),rgba(255,151,32,.06));
  color:#ffb458;font-size:16px;box-shadow:0 8px 20px rgba(0,0,0,.18);
}
.home-page .sidebar-card h3{margin:0;font-size:17px;line-height:1.15;letter-spacing:-.01em}
.home-page .sidebar-card p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.home-page .sidebar-card-accent{border-color:rgba(187,58,58,.35)}
.home-page .sidebar-card-announcements::before{background:radial-gradient(circle at top right, rgba(191,34,34,.18), transparent 36%)}
.home-page .sidebar-announcement-list,
.home-page .sidebar-ranking-list,
.home-page .sidebar-topic-list,
.home-page .sidebar-shortcuts{padding:0 12px 12px;display:grid;gap:10px}
.home-page .sidebar-announcement-item,
.home-page .sidebar-ranking-item,
.home-page .sidebar-topic-item,
.home-page .sidebar-shortcut{
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:12px 12px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.012));
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.home-page .sidebar-announcement-item:hover,
.home-page .sidebar-ranking-item:hover,
.home-page .sidebar-topic-item:hover,
.home-page .sidebar-shortcut:hover{
  transform:translateY(-2px);
  border-color:rgba(255,154,52,.33);
  background:linear-gradient(180deg,rgba(255,166,52,.08),rgba(255,255,255,.018));
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.home-page .sidebar-announcement-item,
.home-page .sidebar-topic-item{align-items:flex-start}
.home-page .sidebar-announcement-item strong,
.home-page .sidebar-topic-copy strong,
.home-page .sidebar-ranking-copy strong,
.home-page .shortcut-main{display:block;font-size:13px;font-weight:850;color:var(--text);line-height:1.35}
.home-page .sidebar-announcement-item small,
.home-page .sidebar-topic-copy small,
.home-page .sidebar-ranking-copy small,
.home-page .sidebar-shortcut small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}
.home-page .sidebar-badge{
  display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;
  font-size:10px;font-weight:900;letter-spacing:.08em;padding:4px 7px;border-radius:999px;
  border:1px solid transparent;white-space:nowrap
}
.home-page .sidebar-badge-red{background:rgba(181,44,44,.13);border-color:rgba(212,80,80,.32);color:#ff8d8d}
.home-page .sidebar-shortcuts{grid-template-columns:1fr}
.home-page .sidebar-shortcut{display:block}
.home-page .sidebar-shortcut::after{content:"→";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#9e7d54;font-weight:800}
.home-page .sidebar-shortcut.is-blue{border-color:rgba(61,126,199,.2)}
.home-page .sidebar-shortcut.is-gold{border-color:rgba(206,161,53,.24)}
.home-page .sidebar-shortcut.is-purple{border-color:rgba(136,89,219,.24)}
.home-page .sidebar-shortcut.is-red{border-color:rgba(199,75,75,.24)}
.home-page .sidebar-shortcut.is-green{border-color:rgba(41,173,111,.24)}
.home-page .sidebar-shortcut.is-orange{border-color:rgba(255,149,0,.24)}
.home-page .sidebar-ranking-item{gap:10px}
.home-page .sidebar-rank-no{
  width:28px;height:28px;flex:0 0 28px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,rgba(255,154,52,.17),rgba(255,154,52,.07));
  border:1px solid rgba(255,154,52,.22);color:#ffbc67;font-weight:900;font-size:12px;
}
.home-page .sidebar-ranking-copy,
.home-page .sidebar-topic-copy{min-width:0;flex:1}
.home-page .sidebar-ranking-copy strong,.home-page .sidebar-topic-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-page .sidebar-ranking-item>b{
  color:#ffd290;font-size:13px;font-weight:900;flex:0 0 auto;
  padding-left:6px;
}
.home-page .sidebar-empty{padding:0 16px 16px;color:var(--muted);font-size:12px}
.home-page .sidebar-stats-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:0 12px 12px;
}
.home-page .sidebar-stats-grid article{
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.012));
}
.home-page .sidebar-stats-grid article.is-wide{grid-column:1 / -1}
.home-page .sidebar-stats-grid strong{display:block;font-size:19px;line-height:1;color:#ffcb83;font-weight:900}
.home-page .sidebar-stats-grid small{display:block;margin-top:6px;color:var(--muted);font-size:11px}
@media (max-width: 1120px){
  .home-page .home-layout-grid{grid-template-columns:minmax(0,1fr)}
  .home-page .home-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page .sidebar-card:first-child{grid-column:1 / -1}
}
@media (max-width: 760px){
  .home-page .home-layout-grid{gap:14px}
  .home-page .home-sidebar{grid-template-columns:1fr;gap:14px}
  .home-page .sidebar-card-head{padding:14px 14px 10px}
  .home-page .sidebar-announcement-list,
  .home-page .sidebar-ranking-list,
  .home-page .sidebar-topic-list,
  .home-page .sidebar-shortcuts,
  .home-page .sidebar-stats-grid{padding-left:10px;padding-right:10px;padding-bottom:10px}
}


/* V2.111 — gaming sidebar, expanded ranking and latest posts */
.home-page .home-sidebar-v2111{gap:15px}
.home-page .home-sidebar-v2111 .sidebar-card{
  border-radius:13px;
  border-color:#3b3028;
  background:linear-gradient(180deg,#171719 0%,#121214 100%);
  box-shadow:0 18px 34px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025);
}
.home-page .home-sidebar-v2111 .sidebar-card::before{
  background:radial-gradient(circle at 100% 0,rgba(255,122,0,.08),transparent 34%);
}
.home-page .home-sidebar-v2111 .sidebar-card-head{
  min-height:66px;
  padding:12px 13px;
  border-bottom:1px solid #29282c;
  background:linear-gradient(90deg,rgba(168,92,16,.52) 0%,rgba(76,43,16,.24) 44%,rgba(0,0,0,0) 100%);
}
.home-page .home-sidebar-v2111 .sidebar-card-head.is-red::after{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,#ff9d24,#b6600d);
  box-shadow:0 0 18px rgba(255,145,26,.26);
}
.home-page .home-sidebar-v2111 .sidebar-card-head>div{align-items:center}
.home-page .home-sidebar-v2111 .sidebar-card-icon{
  width:36px;height:36px;flex-basis:36px;
  border-radius:9px;
  border:1px solid rgba(255,157,36,.46);
  background:linear-gradient(145deg,#a95f14,#66370e);
  color:#fff;
  font-size:15px;
  box-shadow:inset 0 1px rgba(255,255,255,.11),0 5px 18px rgba(143,81,16,.24);
}
.home-page .home-sidebar-v2111 .sidebar-card h3{font-size:15px;font-weight:900;color:#fff}
.home-page .home-sidebar-v2111 .sidebar-card p{font-size:10.5px;color:#8d8a8e}

.home-page .sidebar-announcement-list{padding:10px;gap:8px}
.home-page .sidebar-announcement-item{
  display:grid;
  grid-template-columns:9px minmax(0,1fr) 18px;
  align-items:center;
  gap:9px;
  padding:10px 11px;
  border-radius:8px;
  border:1px solid #263725;
  background:linear-gradient(90deg,rgba(41,83,28,.72),rgba(23,39,22,.65));
}
.home-page .sidebar-announcement-item.is-featured{
  border-color:#7c561f;
  background:linear-gradient(90deg,rgba(108,66,18,.82),rgba(49,31,15,.72));
}
.home-page .sidebar-announcement-item:hover{border-color:#ff9a27;background:linear-gradient(90deg,rgba(112,70,18,.9),rgba(52,32,16,.82))}
.home-page .sidebar-announcement-dot{width:7px;height:7px;border-radius:50%;background:#64d84e;box-shadow:0 0 10px rgba(100,216,78,.5)}
.home-page .sidebar-announcement-item.is-featured .sidebar-announcement-dot{background:#ff9a27;box-shadow:0 0 10px rgba(255,154,39,.50)}
.home-page .sidebar-announcement-copy{min-width:0}
.home-page .sidebar-announcement-copy strong{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.home-page .sidebar-announcement-copy small{display:block;margin-top:3px;font-size:9.5px;color:#aaa2a2}
.home-page .sidebar-announcement-arrow{font-size:18px;color:#a7775d}

.home-page .sidebar-shortcuts-gaming{gap:7px;padding:10px}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  min-height:55px;
  padding:8px 9px;
  border-radius:8px;
  border:1px solid #292a2d;
  background:#151518;
  overflow:hidden;
}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut::before{
  content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--shortcut-color,#ff8d14);box-shadow:0 0 14px color-mix(in srgb,var(--shortcut-color,#ff8d14) 70%,transparent)
}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut::after{display:none}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut:hover{
  transform:translateX(2px);
  border-color:color-mix(in srgb,var(--shortcut-color,#ff8d14) 62%,#333);
  background:linear-gradient(90deg,color-mix(in srgb,var(--shortcut-color,#ff8d14) 13%,#151518),#151518 54%);
  box-shadow:0 9px 20px rgba(0,0,0,.25);
}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut.is-gold{--shortcut-color:#d9be37}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut.is-blue{--shortcut-color:#23a9ff}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut.is-green{--shortcut-color:#4fd54b}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut.is-red{--shortcut-color:#ff9a24}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut.is-purple{--shortcut-color:#9b68ff}
.home-page .sidebar-shortcuts-gaming .sidebar-shortcut.is-orange{--shortcut-color:#ff7f22}
.home-page .shortcut-icon{
  width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:15px;font-weight:900;
  border:1px solid color-mix(in srgb,var(--shortcut-color,#ff8d14) 52%,#333);
  background:linear-gradient(145deg,color-mix(in srgb,var(--shortcut-color,#ff8d14) 42%,#191919),#171719);
  box-shadow:inset 0 1px rgba(255,255,255,.08)
}
.home-page .shortcut-copy{min-width:0}
.home-page .shortcut-main{font-size:11.5px!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-page .sidebar-shortcut small{font-size:9.5px!important;margin-top:2px!important;color:#87878c!important}
.home-page .shortcut-chevron{font-size:19px;color:var(--shortcut-color,#ff8d14);text-align:center}

.home-page .sidebar-card-ranking{overflow:hidden}
.home-page .sidebar-ranking-tabs,
.home-page .sidebar-ranking-periods{display:grid;gap:5px;padding:8px 9px 0}
.home-page .sidebar-ranking-tabs{grid-template-columns:repeat(3,1fr)}
.home-page .sidebar-ranking-periods{grid-template-columns:repeat(5,1fr);padding-top:6px}
.home-page .sidebar-ranking-tabs button,
.home-page .sidebar-ranking-periods button{
  min-width:0;
  border:1px solid #292a2d;
  background:#111113;
  color:#a9a6a8;
  border-radius:7px;
  padding:7px 4px;
  font-size:10px;
  font-weight:850;
  line-height:1;
  transition:.15s ease;
}
.home-page .sidebar-ranking-tabs button:hover,
.home-page .sidebar-ranking-periods button:hover{border-color:#5b4232;color:#fff}
.home-page .sidebar-ranking-tabs button.is-active{
  background:linear-gradient(180deg,#2b2b30,#202024);
  color:#fff;
  border-color:#434349;
  box-shadow:inset 0 -2px #ff8d14;
}
.home-page .sidebar-ranking-periods button.is-active{
  background:#27272c;color:#fff;border-color:#3b3b42
}
.home-page .sidebar-ranking-periods.is-locked button:not([data-ranking-period="all"]){opacity:.32;pointer-events:none}
.home-page .sidebar-ranking-panes{padding:9px}
.home-page .sidebar-ranking-pane{display:grid;gap:6px}
.home-page .sidebar-ranking-pane[hidden]{display:none!important}
.home-page .sidebar-ranking-item{
  display:grid;
  grid-template-columns:27px 31px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:7px 8px;
  border-radius:8px;
  border:1px solid #292a2d;
  background:#151518;
}
.home-page .sidebar-ranking-item:hover{transform:translateX(2px);border-color:#4b4b52;background:#19191d}
.home-page .sidebar-ranking-item.rank-place-1{border-color:#8f6e18;background:linear-gradient(90deg,rgba(114,84,14,.28),#161619 47%)}
.home-page .sidebar-ranking-item.rank-place-2{border-color:#5b6572;background:linear-gradient(90deg,rgba(100,111,126,.15),#161619 47%)}
.home-page .sidebar-ranking-item.rank-place-3{border-color:#76502d;background:linear-gradient(90deg,rgba(121,74,32,.18),#161619 47%)}
.home-page .sidebar-rank-no{width:25px;height:25px;flex-basis:25px;border-radius:7px;font-size:10px;background:#242428;border-color:#34343a;color:#c7c7cb}
.home-page .rank-place-1 .sidebar-rank-no{background:linear-gradient(145deg,#d5a91e,#7b5710);border-color:#dcb535;color:#fff7cc}
.home-page .rank-place-2 .sidebar-rank-no{background:linear-gradient(145deg,#9ca6b1,#535c67);border-color:#aab2bd;color:#fff}
.home-page .rank-place-3 .sidebar-rank-no{background:linear-gradient(145deg,#b5753f,#69401f);border-color:#be7d46;color:#fff2df}
.home-page .sidebar-ranking-copy strong{font-size:11.5px!important;line-height:1.1}
.home-page .sidebar-ranking-copy small{font-size:9px!important;margin-top:3px!important;color:#78787d!important}
.home-page .sidebar-ranking-item>b{font-size:12px;color:#f6c15c;padding-left:4px}
.home-page .sidebar-ranking-more{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 9px 10px;padding:8px;border-radius:7px;border:1px solid #2d2e32;background:#19191c;color:#b7b4b5;font-size:10px;font-weight:850}
.home-page .sidebar-ranking-more:hover{color:#fff;border-color:#6c4730;background:#1f1a17}
.home-page .ranking-empty{padding:14px 8px;text-align:center}

.home-page .sidebar-post-list{display:grid;gap:7px;padding:9px}
.home-page .sidebar-post-item{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 16px;
  gap:9px;
  align-items:start;
  padding:9px;
  border-radius:8px;
  border:1px solid #292a2d;
  background:#151518;
  transition:.15s ease;
}
.home-page .sidebar-post-item:hover{transform:translateX(2px);border-color:#5b4130;background:#191719}
.home-page .sidebar-post-copy{min-width:0}
.home-page .sidebar-post-copy strong{display:block;font-size:11.5px;line-height:1.25;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-page .sidebar-post-copy small{display:block;margin-top:3px;color:#8e8b8c;font-size:9.5px}
.home-page .sidebar-post-copy em{display:block;margin-top:5px;color:#6f6f74;font-style:normal;font-size:9.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-page .sidebar-post-arrow{color:#96684d;font-size:18px;line-height:1.3}

.home-page .home-sidebar-v2111 .sidebar-stats-grid{padding:9px;gap:7px}
.home-page .home-sidebar-v2111 .sidebar-stats-grid article{border-radius:8px;border-color:#292a2d;background:#151518;padding:10px}
.home-page .home-sidebar-v2111 .sidebar-stats-grid strong{font-size:17px;color:#ffb348}
.home-page .home-sidebar-v2111 .sidebar-stats-grid small{font-size:9.5px;color:#77777c}

@media (max-width:1120px){
  .home-page .home-sidebar-v2111{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page .home-sidebar-v2111 .sidebar-card-announcements,
  .home-page .home-sidebar-v2111 .sidebar-card-ranking{grid-column:auto}
}
@media (max-width:760px){
  .home-page .home-sidebar-v2111{grid-template-columns:1fr}
  .home-page .sidebar-ranking-tabs button,.home-page .sidebar-ranking-periods button{font-size:9px;padding:7px 2px}
}


/* V2.113 — sidebar headers matched to forum category bars */
.home-page .home-sidebar-v2111 .sidebar-card{
  border-color:#49311e;
  background:linear-gradient(180deg,#23170e 0%,#1d140c 100%);
  box-shadow:0 16px 32px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.025);
}
.home-page .home-sidebar-v2111 .sidebar-card::before{
  background:radial-gradient(circle at 100% 0,rgba(255,139,0,.045),transparent 38%);
}
.home-page .home-sidebar-v2111 .sidebar-card-head{
  min-height:58px;
  padding:11px 13px;
  border-bottom:1px solid #6a411d;
  background:linear-gradient(180deg,#352419 0%,#2b1d13 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.home-page .home-sidebar-v2111 .sidebar-card-head.is-red::after{
  width:2px;
  background:#d77a12;
  box-shadow:none;
}
.home-page .home-sidebar-v2111 .sidebar-card-head::before{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,rgba(255,142,0,.62),rgba(255,142,0,.16) 48%,transparent 100%);
  pointer-events:none;
}
.home-page .home-sidebar-v2111 .sidebar-card-icon{
  width:34px;
  height:34px;
  flex-basis:34px;
  border-radius:8px;
  border:1px solid #5a3b20;
  background:linear-gradient(180deg,#3a2616,#2b1c11);
  color:#f1a63d;
  font-size:14px;
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.home-page .home-sidebar-v2111 .sidebar-card h3{
  font-size:14px;
  font-weight:900;
  letter-spacing:.01em;
  color:#f6f1e9;
}
.home-page .home-sidebar-v2111 .sidebar-card p{
  margin-top:3px;
  font-size:9.8px;
  color:#9a7a57;
}
.home-page .home-sidebar-v2111 .sidebar-announcement-list,
.home-page .home-sidebar-v2111 .sidebar-shortcuts-gaming,
.home-page .home-sidebar-v2111 .sidebar-ranking-panes,
.home-page .home-sidebar-v2111 .sidebar-post-list{
  background:linear-gradient(180deg,rgba(255,255,255,.008),rgba(0,0,0,.025));
}


/* V2.114 — Ranking page refresh */
.leaderboard-page .lb-hero-v214{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  margin:0 0 20px;
  padding:22px 24px;
  border:1px solid #4a341f;
  border-radius:15px;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,148,20,.12),transparent 34%),
    linear-gradient(135deg,#2d2015 0%,#24190f 56%,#1d140d 100%);
  box-shadow:0 18px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);
}
.leaderboard-page .lb-hero-v214::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,#ff9d22,#b9620a 70%,transparent);
  box-shadow:0 0 20px rgba(255,147,23,.22);
}
.leaderboard-page .lb-hero-v214-main{display:flex;align-items:center;gap:16px;min-width:0}
.leaderboard-page .lb-hero-v214-icon{
  width:58px;height:58px;flex:0 0 58px;border-radius:14px;
  display:grid;place-items:center;
  color:#ffc064;font-size:27px;font-weight:900;
  border:1px solid rgba(255,160,43,.32);
  background:linear-gradient(180deg,rgba(255,158,35,.16),rgba(255,158,35,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 24px rgba(0,0,0,.2),0 0 20px rgba(255,143,10,.08);
}
.leaderboard-page .lb-hero-v214-copy{min-width:0}
.leaderboard-page .lb-hero-v214-eyebrow{
  display:block;margin-bottom:5px;color:#b88950;font-size:9px;font-weight:900;letter-spacing:.16em;
}
.leaderboard-page .lb-hero-v214 h1{margin:0;color:#fff7ee;font-size:31px;line-height:1;letter-spacing:-.045em}
.leaderboard-page .lb-hero-v214 p{margin:6px 0 0;color:#b08b60;font-size:13px}
.leaderboard-page .lb-hero-v214-stats{
  display:grid;grid-template-columns:repeat(4,minmax(92px,1fr));gap:8px;
}
.leaderboard-page .lb-hero-v214-stats>div{
  min-width:96px;padding:10px 12px;border-radius:10px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(18,13,9,.48);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.leaderboard-page .lb-hero-v214-stats small{display:block;color:#80664a;font-size:8px;font-weight:900;letter-spacing:.14em}
.leaderboard-page .lb-hero-v214-stats strong{display:block;margin-top:4px;color:#f5e8d8;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.leaderboard-page .lb-control-panel-v214{padding:0!important;border-color:#433122!important}
.leaderboard-page .lb-control-panel-v214 .lb-control-head{
  padding:17px 19px;border-bottom:1px solid #3b2a1d;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.02));
}
.leaderboard-page .lb-control-panel-v214 .lb-control-grid{padding:17px 19px 19px}
.leaderboard-page .lb-control-panel-v214 .lb-control-block{
  border:1px solid rgba(255,255,255,.055);
  border-radius:11px;padding:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.018));
}
.leaderboard-page .lb-control-panel-v214 .lb-control-block label{margin-bottom:9px;color:#9b7954}
.leaderboard-page .lb-chip-row{gap:6px!important}
.leaderboard-page .lb-chip-row a{
  border-radius:8px!important;
  border-color:#3c2d20!important;
  background:#211810!important;
  color:#a88965!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;
}
.leaderboard-page .lb-chip-row a:hover{border-color:#68431e!important;color:#e9d1b4!important;background:#2c1d10!important}
.leaderboard-page .lb-chip-row a.active{
  color:#1c1005!important;
  border-color:#e88716!important;
  background:linear-gradient(180deg,#ffad38,#f28a09)!important;
  box-shadow:0 0 18px rgba(255,143,15,.12)!important;
}
.leaderboard-page .lb-current-view{
  border-color:#4b3521!important;
  background:#20160f!important;
}
.leaderboard-page .lb-near-panel{
  border-color:#433122!important;
  background:linear-gradient(180deg,#2b1f15,#21170f)!important;
}
.leaderboard-page .lb-my-position,.leaderboard-page .lb-near-list{
  border-radius:11px!important;border-color:#403024!important;background:#1b140e!important;
}
.leaderboard-page .lb-my-position{box-shadow:inset 3px 0 #e98114}
.leaderboard-page .lb-near-list>a{min-height:56px}
.leaderboard-page .lb-near-list>a.is-me{
  background:linear-gradient(90deg,rgba(255,139,17,.12),rgba(255,139,17,.025))!important;
  box-shadow:inset 3px 0 #f3911c!important;
}
.leaderboard-page .lb-podium-panel-v214{border-color:#493421!important}
.leaderboard-page .lb-podium-panel-v214 .lb-section-head,
.leaderboard-page .lb-table-panel-v214 .lb-section-head{
  padding-bottom:14px;
}
.leaderboard-page .lb-section-head p{margin:4px 0 0;color:#866a4c;font-size:11px}
.leaderboard-page .lb-podium-context,.leaderboard-page .lb-table-context{
  padding:9px 12px!important;border-radius:9px!important;
  border:1px solid #443122!important;background:#20170f!important;color:#8e7152!important;font-size:11px!important;
}
.leaderboard-page .lb-podium-context strong{color:#ff9d24}
.leaderboard-page .lb-podium-card{
  border-radius:14px!important;
  border-color:#443326!important;
  background:
    radial-gradient(circle at 50% 10%,rgba(255,160,38,.08),transparent 37%),
    linear-gradient(180deg,#2a2017,#1f1811)!important;
}
.leaderboard-page .lb-podium-card.place-1{
  border-color:#8b6226!important;
  background:
    radial-gradient(circle at 50% 8%,rgba(255,191,72,.15),transparent 40%),
    linear-gradient(180deg,#302318,#211911)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,190,68,.03)!important;
}
.leaderboard-page .lb-podium-card.place-2{border-color:#545966!important}
.leaderboard-page .lb-podium-card.place-3{border-color:#6f4227!important}
.leaderboard-page .lb-place-label{top:12px!important;background:#1f1710!important}
.leaderboard-page .lb-podium-card.place-1 .lb-place-label{border-color:#70531f!important;color:#e7bd64!important}
.leaderboard-page .lb-podium-card>strong{font-size:16px!important}
.leaderboard-page .lb-podium-card>b{
  border-radius:9px!important;background:#17110c!important;border-color:#3a2b20!important;
}
.leaderboard-page .lb-podium-card.place-1>b{color:#ffc45b!important;border-color:#60471c!important}
.leaderboard-page .lb-table-panel-v214{border-color:#443122!important}
.leaderboard-page .lb-table-panel-v214 .lb-section-head{background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.02))}
.leaderboard-page .lb-table-context{display:flex;align-items:center;gap:7px!important}
.leaderboard-page .lb-table-context strong{font-size:16px;color:#f5dfc3}
.leaderboard-page .lb-table-context span{color:#84684b}
.leaderboard-page .lb-table-head{
  background:#1c140e!important;border-top:1px solid rgba(255,255,255,.02);padding-top:11px!important;padding-bottom:11px!important
}
.leaderboard-page .lb-table-body>a{
  min-height:58px;
  background:linear-gradient(180deg,rgba(255,255,255,.009),rgba(0,0,0,.008));
}
.leaderboard-page .lb-table-body>a:hover{
  background:linear-gradient(90deg,rgba(255,144,22,.075),rgba(255,144,22,.015))!important;
  box-shadow:inset 3px 0 #e98818;
}
.leaderboard-page .rank-num{
  width:28px;height:28px;display:inline-grid;place-items:center;border-radius:8px;
  border:1px solid #3b2d22;background:#1a130e;color:#b18e67!important;
}
.leaderboard-page .rank-user strong{font-size:13px;color:#efe3d5}
.leaderboard-page .level-pill{border-radius:7px!important}
.leaderboard-page .lb-table-body>a>b{font-size:14px;color:#f0c98f!important}
.leaderboard-page .lb-pagination a,.leaderboard-page .lb-pagination span{border-radius:9px!important}
@media(max-width:980px){
  .leaderboard-page .lb-hero-v214{grid-template-columns:1fr}
  .leaderboard-page .lb-hero-v214-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:680px){
  .leaderboard-page .lb-hero-v214{padding:17px}
  .leaderboard-page .lb-hero-v214-icon{width:48px;height:48px;flex-basis:48px;font-size:22px}
  .leaderboard-page .lb-hero-v214 h1{font-size:27px}
  .leaderboard-page .lb-hero-v214-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .leaderboard-page .lb-control-panel-v214 .lb-control-head{align-items:flex-start;flex-direction:column}
  .leaderboard-page .lb-current-view{width:100%}
}


/* V2.115 — sidebar tiles integrated with DarkW.eu + live online */
.home-page .home-sidebar-v2111 .sidebar-shortcuts-gaming .sidebar-shortcut,
.home-page .home-sidebar-v2111 .sidebar-ranking-tabs button,
.home-page .home-sidebar-v2111 .sidebar-ranking-periods button,
.home-page .home-sidebar-v2111 .sidebar-ranking-item,
.home-page .home-sidebar-v2111 .sidebar-post-item,
.home-page .home-sidebar-v2111 .sidebar-ranking-more,
.home-page .home-sidebar-v2111 .sidebar-stats-grid article{
  border-color:#4b3423;
  background:linear-gradient(180deg,#2a1d14 0%,#21170f 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.022);
}
.home-page .home-sidebar-v2111 .sidebar-shortcuts-gaming .sidebar-shortcut:hover,
.home-page .home-sidebar-v2111 .sidebar-ranking-item:hover,
.home-page .home-sidebar-v2111 .sidebar-post-item:hover,
.home-page .home-sidebar-v2111 .sidebar-ranking-more:hover{
  border-color:#765027;
  background:linear-gradient(180deg,#332217 0%,#271910 100%);
  box-shadow:0 8px 18px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.028);
}
.home-page .home-sidebar-v2111 .sidebar-ranking-tabs button,
.home-page .home-sidebar-v2111 .sidebar-ranking-periods button{color:#a98967}
.home-page .home-sidebar-v2111 .sidebar-ranking-tabs button:hover,
.home-page .home-sidebar-v2111 .sidebar-ranking-periods button:hover{border-color:#72502f;color:#f0dfc9}
.home-page .home-sidebar-v2111 .sidebar-ranking-tabs button.is-active{
  color:#fff5e8;
  border-color:#775028;
  background:linear-gradient(180deg,#3a281b,#2c1d13);
  box-shadow:inset 0 -2px #d77a12;
}
.home-page .home-sidebar-v2111 .sidebar-ranking-periods button.is-active{
  color:#ffe8c8;
  border-color:#664321;
  background:linear-gradient(180deg,#352419,#291b12);
}
.home-page .home-sidebar-v2111 .sidebar-ranking-item.rank-place-1{border-color:#8b6b20;background:linear-gradient(90deg,rgba(125,91,20,.30),#251910 48%)}
.home-page .home-sidebar-v2111 .sidebar-ranking-item.rank-place-2{border-color:#675c50;background:linear-gradient(90deg,rgba(130,119,102,.14),#251910 48%)}
.home-page .home-sidebar-v2111 .sidebar-ranking-item.rank-place-3{border-color:#76502d;background:linear-gradient(90deg,rgba(137,82,35,.18),#251910 48%)}
.home-page .home-sidebar-v2111 .sidebar-post-copy em{color:#80684f}
.home-page .home-sidebar-v2111 .sidebar-post-copy small,
.home-page .home-sidebar-v2111 .sidebar-ranking-copy small,
.home-page .home-sidebar-v2111 .sidebar-shortcut small{color:#8f7355!important}
.home-page .home-sidebar-v2111 .sidebar-ranking-more{color:#b99a76}
.home-page .home-sidebar-v2111 .sidebar-stats-grid article{padding:11px 12px}
.home-page .home-sidebar-v2111 .sidebar-stats-grid strong{color:#ffc06d}
.home-page .home-sidebar-v2111 .sidebar-stats-grid small{color:#8f7355}
.home-page .home-sidebar-v2111 .sidebar-live-online{
  position:relative;
  overflow:hidden;
  min-height:104px;
  padding:13px 14px!important;
  border-color:#66502a!important;
  background:
    radial-gradient(circle at 92% 10%,rgba(41,198,117,.10),transparent 34%),
    linear-gradient(135deg,#302219 0%,#251910 55%,#21160f 100%)!important;
  box-shadow:inset 3px 0 #d77a12,inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.home-page .home-sidebar-v2111 .sidebar-live-online::after{
  content:"";
  position:absolute;
  right:-26px;top:-28px;
  width:98px;height:98px;border-radius:50%;
  border:1px solid rgba(255,168,62,.08);
  box-shadow:0 0 0 18px rgba(255,168,62,.025),0 0 0 36px rgba(255,168,62,.012);
  pointer-events:none;
}
.home-page .live-online-head{display:flex;align-items:center;gap:7px;position:relative;z-index:1}
.home-page .live-online-head i{
  width:8px;height:8px;border-radius:50%;background:#20d37a;
  box-shadow:0 0 0 4px rgba(32,211,122,.08),0 0 12px rgba(32,211,122,.42);
}
.home-page .sidebar-live-online.is-live .live-online-head i{animation:darkwLivePulse 1.8s ease-in-out infinite}
.home-page .live-online-head small{margin:0!important;color:#75dca8!important;font-size:9px!important;font-weight:900;letter-spacing:.13em}
.home-page .sidebar-live-online>strong{
  position:relative;z-index:1;display:block;margin-top:8px;
  color:#fff3df!important;font-size:26px!important;line-height:1;font-weight:950;
}
.home-page .live-online-split{position:relative;z-index:1;display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.home-page .live-online-split span{
  display:inline-flex;align-items:center;gap:4px;
  padding:5px 7px;border-radius:7px;
  border:1px solid #493523;background:rgba(20,14,9,.36);
  color:#9b7d5b;font-size:9.5px;font-weight:700;
}
.home-page .live-online-split b{color:#f2c17d;font-size:10px}
@keyframes darkwLivePulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.76);opacity:.62}}


/* V2.119 — DarkW.eu ACP complete visual refresh */
body.admin-page{
  --acp-bg:#160e08;
  --acp-surface:#21160f;
  --acp-surface-2:#281b12;
  --acp-surface-3:#302014;
  --acp-line:#4a321f;
  --acp-line-soft:rgba(184,123,61,.16);
  --acp-gold:#e99a32;
  --acp-gold-2:#ffb654;
  --acp-text:#f4ede4;
  --acp-muted:#9d8060;
  background:
    radial-gradient(circle at 16% 8%,rgba(230,143,44,.06),transparent 22%),
    radial-gradient(circle at 88% 14%,rgba(105,65,28,.06),transparent 25%),
    linear-gradient(180deg,#120b06 0%,#180f08 44%,#120b06 100%);
}
body.admin-page .page-shell{width:min(1480px,calc(100% - 34px));padding-top:22px}
body.admin-page .admin-shell{display:grid;grid-template-columns:278px minmax(0,1fr);gap:20px;align-items:start}
body.admin-page .admin-nav{
  position:sticky;top:78px;max-height:calc(100vh - 94px);overflow:auto;
  padding:10px;border:1px solid #49311f;border-radius:14px;
  background:linear-gradient(180deg,rgba(39,25,15,.98),rgba(26,17,11,.98));
  box-shadow:0 20px 50px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025);
  scrollbar-width:thin;scrollbar-color:#65411f transparent;
}
body.admin-page .admin-nav::-webkit-scrollbar{width:6px}
body.admin-page .admin-nav::-webkit-scrollbar-thumb{background:#65411f;border-radius:20px}
body.admin-page .admin-title{
  display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;
  padding:13px 12px 15px;margin-bottom:8px;border:1px solid #543820;border-radius:12px;
  background:
    radial-gradient(circle at 0 0,rgba(255,169,65,.11),transparent 45%),
    linear-gradient(145deg,#2d1d11,#20150d);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
body.admin-page .admin-title-logo{
  width:64px;height:50px;border:1px solid #65421f;border-radius:10px;
  background:#160e08;display:flex;align-items:center;justify-content:center;overflow:hidden;
  box-shadow:inset 0 0 22px rgba(255,157,38,.06),0 8px 20px rgba(0,0,0,.2);
}
body.admin-page .admin-title-logo img{max-width:56px;max-height:42px;width:auto;height:auto;object-fit:contain}
body.admin-page .admin-title>div>small{display:block;color:#d38b32;font-size:8px;font-weight:950;letter-spacing:.15em;margin-bottom:3px}
body.admin-page .admin-title>div>strong{display:block;color:#fff5e8;font-size:15px;line-height:1.15}
body.admin-page .admin-title>div>em{display:block;margin-top:4px;color:#80674d;font-size:9px;font-style:normal}
body.admin-page .admin-nav-menu{display:grid;gap:4px}
body.admin-page .admin-nav-group{padding:12px 9px 5px;margin-top:2px;border-top:1px solid rgba(255,255,255,.035)}
body.admin-page .admin-nav-group:first-child{border-top:0;padding-top:5px}
body.admin-page .admin-nav-group strong{display:block;color:#c98c48;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
body.admin-page .admin-nav-group small{display:block;margin-top:2px;color:#665340;font-size:8px;line-height:1.3}
body.admin-page .admin-nav>a,
body.admin-page .admin-nav .admin-nav-link{
  display:grid;grid-template-columns:36px minmax(0,1fr) 16px;gap:9px;align-items:center;
  min-height:52px;padding:7px 8px;border:1px solid transparent;border-radius:10px;
  color:#b79a79;background:transparent;transform:none!important;box-shadow:none!important;
  transition:.16s ease;
}
body.admin-page .admin-nav>a::before{display:none!important}
body.admin-page .admin-nav .admin-nav-link:hover{
  background:linear-gradient(90deg,rgba(112,73,31,.19),rgba(255,255,255,.015));
  border-color:rgba(205,142,69,.18);color:#ecdcc8;
}
body.admin-page .admin-nav .admin-nav-link.active{
  background:linear-gradient(90deg,rgba(157,94,26,.28),rgba(67,43,22,.28));
  border-color:#6e4723;color:#fff2df;
  box-shadow:inset 3px 0 0 #e89a35,0 9px 24px rgba(0,0,0,.14)!important;
}
body.admin-page .admin-nav-icon{
  width:36px;height:36px;border:1px solid #46301f;border-radius:9px;background:#1b120c;
  display:flex;align-items:center;justify-content:center;color:#bd8d58;font-size:14px;
}
body.admin-page .admin-nav-link.active .admin-nav-icon{
  border-color:#875625;background:linear-gradient(145deg,#4a2d12,#2c1b0f);color:#ffb758;
  box-shadow:0 0 18px rgba(255,160,52,.08);
}
body.admin-page .admin-nav-copy{min-width:0}
body.admin-page .admin-nav-copy strong{display:block;color:inherit;font-size:11px;line-height:1.25}
body.admin-page .admin-nav-copy small{display:block;margin-top:2px;color:#705a43;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-page .admin-nav-link.active .admin-nav-copy small{color:#9c7850}
body.admin-page .admin-nav-arrow{color:#6b543e;font-size:16px;text-align:right}
body.admin-page .admin-nav-link.active .admin-nav-arrow{color:#e79a3e}
body.admin-page .admin-nav-foot{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.045)}
body.admin-page .admin-nav-foot>a{display:flex;gap:9px;align-items:center;padding:10px;border:1px solid #3e2b1c;border-radius:9px;background:#1b120c;color:#9e805e}
body.admin-page .admin-nav-foot>a:hover{border-color:#61421f;background:#25180f;color:#dbc7ae}
body.admin-page .admin-nav-foot>a>span{width:31px;height:31px;border-radius:8px;background:#26190f;display:grid;place-items:center;color:#e39a42}
body.admin-page .admin-nav-foot strong,body.admin-page .admin-nav-foot small{display:block}
body.admin-page .admin-nav-foot strong{font-size:10px}.admin-nav-foot small{font-size:8px;color:#6d5843}

body.admin-page .admin-content{min-width:0}
body.admin-page .admin-head{
  position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;
  min-height:116px;margin:0 0 16px;padding:20px 21px 20px 24px;border:1px solid #4d341f;border-radius:14px;
  background:
    radial-gradient(circle at 93% 15%,rgba(236,145,42,.11),transparent 28%),
    linear-gradient(135deg,#2b1c11,#20150e 72%);
  box-shadow:0 16px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.025);
  overflow:hidden;
}
body.admin-page .admin-head::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#ffae43,#9a5617)}
body.admin-page .admin-head-kicker{display:block;color:#d88e36;font-size:9px;font-weight:950;letter-spacing:.17em;margin-bottom:5px}
body.admin-page .admin-head h1{margin:0!important;font-size:29px;line-height:1.08;letter-spacing:-.04em;color:#fff5e9}
body.admin-page .admin-head p{margin:7px 0 0;color:#9b7c5c;font-size:11px;max-width:700px;line-height:1.55}
body.admin-page .admin-head-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
body.admin-page .admin-head-status{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #3f4c31;border-radius:8px;background:#182014;color:#7dcf79;font-size:9px;font-weight:850}
body.admin-page .admin-head-status i{width:6px;height:6px;border-radius:50%;background:#3ed06b;box-shadow:0 0 0 4px rgba(62,208,107,.08)}
body.admin-page .admin-head .btn{min-height:36px;padding:8px 12px}

body.admin-page .admin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 14px}
body.admin-page .admin-kpis article{
  position:relative;min-height:98px;padding:14px 14px 13px 54px;border:1px solid #49311f;border-radius:12px;
  background:linear-gradient(145deg,#291b11,#20150e);overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.022);transition:.16s ease;
}
body.admin-page .admin-kpis article:hover{transform:translateY(-2px);border-color:#67431f;box-shadow:0 12px 25px rgba(0,0,0,.18)}
body.admin-page .admin-kpis article::after{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#9b5d21}
body.admin-page .admin-kpis article>span{position:absolute;left:13px;top:17px;width:31px;height:31px;border:1px solid #65421f;border-radius:8px;background:#321f0e;display:grid;place-items:center;color:#f0a541;font-size:13px}
body.admin-page .admin-kpis b{display:block;margin:1px 0 4px;font-size:21px;line-height:1;color:#fff2df}
body.admin-page .admin-kpis small{color:#866c51;font-size:9px;line-height:1.35}

body.admin-page .admin-card,
body.admin-page .plugin-card,
body.admin-page .form-panel{
  border:1px solid #49311f;border-radius:13px;background:linear-gradient(145deg,#281a11,#21160e);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02),0 12px 32px rgba(0,0,0,.12);
}
body.admin-page .admin-card{padding:17px;margin-bottom:14px}
body.admin-page .admin-card:hover,body.admin-page .plugin-card:hover,body.admin-page .form-panel:hover{transform:none!important}
body.admin-page .admin-card>h2,
body.admin-page .form-panel>h2{margin:0 0 13px!important;padding:0 0 11px;border-bottom:1px solid #3b291b;font-size:16px!important;color:#f4e8d9}
body.admin-page .admin-card-heading{margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #3b291b}
body.admin-page .admin-card-heading>div>span{color:#d78e36}
body.admin-page .admin-card-heading h2{color:#f7ebdd!important;font-size:18px!important}
body.admin-page .admin-card-heading p{color:#8f7355;font-size:10px}
body.admin-page .admin-card-heading>b{border-color:#4c321d;background:#1d130d;color:#bf915d}
body.admin-page .admin-two{gap:14px}

body.admin-page .admin-table{display:grid;gap:7px}
body.admin-page .admin-table>div,
body.admin-page .admin-table>form,
body.admin-page .admin-user-row,
body.admin-page .report-row{
  border:1px solid rgba(188,126,61,.13)!important;border-radius:9px!important;padding:10px 11px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.006));
  transition:.14s ease;
}
body.admin-page .admin-table>div:hover,
body.admin-page .admin-table>form:hover,
body.admin-page .admin-user-row:hover,
body.admin-page .report-row:hover{border-color:rgba(222,151,71,.28)!important;background:rgba(108,69,31,.08)}
body.admin-page .admin-table span,body.admin-page .admin-table time{color:#917456}
body.admin-page .admin-table b,body.admin-page .admin-table strong{color:#eadcc9}

body.admin-page label{color:#b99770;font-size:10px;font-weight:750}
body.admin-page label small{color:#6e5944;font-weight:500}
body.admin-page input:not([type=checkbox]):not([type=radio]),
body.admin-page select,
body.admin-page textarea{
  width:100%;margin-top:6px;border:1px solid #49311e;border-radius:8px!important;background:#17100b!important;color:#f5eadc!important;
  padding:10px 11px!important;outline:none;box-shadow:inset 0 1px 4px rgba(0,0,0,.18);transition:.15s ease;
}
body.admin-page input:focus,body.admin-page select:focus,body.admin-page textarea:focus{border-color:#925a27!important;box-shadow:0 0 0 3px rgba(226,145,51,.07),inset 0 1px 4px rgba(0,0,0,.18)!important}
body.admin-page input::placeholder,body.admin-page textarea::placeholder{color:#5e4c3b}
body.admin-page .form-grid{gap:11px}
body.admin-page .switch{border:1px solid #43301f;border-radius:9px;background:#1c130d;padding:10px 11px}
body.admin-page .switch:hover{border-color:#654421;background:#24180f}
body.admin-page .btn{border-radius:8px;min-height:34px;padding:8px 12px;font-size:10px;letter-spacing:.01em}
body.admin-page .btn-primary{background:linear-gradient(180deg,#e99331,#c97116);border-color:#f2a244;color:#211206;box-shadow:0 7px 18px rgba(202,109,20,.12)}
body.admin-page .btn-primary:hover{background:linear-gradient(180deg,#f2a13f,#d77c20)}
body.admin-page .btn-muted{background:#22170f;border-color:#4a321f;color:#b99c79}
body.admin-page .btn-muted:hover{background:#2b1d12;border-color:#65431f;color:#e4cfb5}
body.admin-page .btn-danger{background:#391a17;border-color:#71362f;color:#e8a59b}
body.admin-page .btn-danger:hover{background:#46201b;border-color:#8b463c}

body.admin-page .admin-recent-users-grid{gap:9px}
body.admin-page .admin-recent-user,
body.admin-page .admin-recent-topic{
  border:1px solid rgba(188,126,61,.13)!important;border-radius:10px!important;background:#1d140e!important;
}
body.admin-page .admin-recent-user:hover,
body.admin-page .admin-recent-topic:hover{border-color:rgba(222,151,71,.28)!important;background:#25180f!important}
body.admin-page .admin-users-browser-head,
body.admin-page .admin-user-manager-hero,
body.admin-page .admin-topic-editor-head{border-radius:11px;background:linear-gradient(145deg,#2a1b11,#21160e);border:1px solid #49311f}
body.admin-page .admin-users-browser-head{padding:14px!important;margin-bottom:10px}
body.admin-page .admin-user-list{display:grid;gap:7px}
body.admin-page .admin-user-list-row{border:1px solid #3e2c1d!important;border-radius:9px!important;background:#1d140e!important}
body.admin-page .admin-user-list-row:hover,body.admin-page .admin-user-list-row.active{border-color:#6f4823!important;background:#291b10!important}
body.admin-page .admin-user-manager-hero{padding:16px!important;margin-bottom:12px}
body.admin-page .admin-user-security-grid{gap:9px}
body.admin-page .admin-user-security-grid article{border:1px solid #45301f;border-radius:9px;background:#1d140e!important}
body.admin-page .admin-user-full-form{padding:17px!important}
body.admin-page .admin-user-media-grid>label{border:1px solid #45301f;border-radius:9px;background:#1b120c!important}

body.admin-page details{border-radius:9px}
body.admin-page summary{outline:none}
body.admin-page .ticket-admin{border:1px solid #3f2d1e!important;border-radius:9px;padding:0!important;background:#1c130d;margin-bottom:7px}
body.admin-page .ticket-admin summary{padding:11px 12px}
body.admin-page .ticket-admin[open]{border-color:#65421f!important;background:#21160e}
body.admin-page .ticket-admin>p,body.admin-page .ticket-admin>a,body.admin-page .ticket-admin>form{margin-left:12px;margin-right:12px}
body.admin-page .ticket-admin>form{margin-bottom:12px}

body.admin-page .plugin-grid{gap:12px}
body.admin-page .plugin-card{padding:15px}
body.admin-page .plugin-card.disabled{opacity:.58;filter:saturate(.65)}
body.admin-page .plugin-toggle{border-radius:8px;background:#2c1d10;border-color:#61411f;color:#d9a35d}
body.admin-page .badge-admin-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.admin-page .badge-admin-grid article{border-radius:9px;background:#1b120c;border-color:#45301e;padding:13px}

body.admin-page .admin-system-config{gap:14px}
body.admin-page .admin-branding-box{border-radius:11px;background:linear-gradient(145deg,#281a11,#20150e);border-color:#49311f}
body.admin-page .admin-upload-tile,body.admin-page .admin-logo-size{border-radius:9px;background:#1b120c;border-color:#43301f}
body.admin-page .admin-upload-tile:hover,body.admin-page .admin-logo-size:hover{background:#23170e;border-color:#63421f;transform:none}
body.admin-page .admin-ai-explain{background:#1c130d;border-color:#49311f}

body.admin-page .admin-topic-editor-section,
body.admin-page .admin-topic-editor-toolbar,
body.admin-page .admin-topic-full-editor,
body.admin-page .admin-inline-editor{border-color:#49311f!important;background:#1b120c!important}
body.admin-page .admin-topic-editor-section-title>span{background:#3a240f!important;border-color:#75481e!important;color:#f0a343!important}
body.admin-page .admin-topic-editor-badge{background:#3b250e!important;border-color:#75481d!important;color:#efa342!important}

body.admin-page .admin-pagination{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
body.admin-page .admin-pagination a,body.admin-page .admin-pagination span{border:1px solid #44301f;border-radius:7px;background:#1b120c;color:#9e805f;padding:7px 10px}
body.admin-page .admin-pagination a:hover,body.admin-page .admin-pagination .active{border-color:#755025;background:#30200f;color:#f4b15e}

body.admin-page .flash{border-radius:9px}
body.admin-page .empty-panel,body.admin-page .admin-empty-line{border:1px dashed #49311f;border-radius:9px;background:#1b120c;color:#7f674e;padding:14px}

@media(max-width:1180px){
  body.admin-page .admin-shell{grid-template-columns:230px minmax(0,1fr);gap:14px}
  body.admin-page .admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.admin-page .admin-nav-copy small{display:none}
}
@media(max-width:850px){
  body.admin-page .page-shell{width:calc(100% - 16px);padding-top:10px}
  body.admin-page .admin-shell{grid-template-columns:1fr}
  body.admin-page .admin-nav{position:static;max-height:none;overflow:visible;padding:8px}
  body.admin-page .admin-title{grid-template-columns:48px minmax(0,1fr);padding:10px}
  body.admin-page .admin-title-logo{width:48px;height:42px}
  body.admin-page .admin-title-logo img{max-width:42px;max-height:34px}
  body.admin-page .admin-nav-menu{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  body.admin-page .admin-nav-menu::-webkit-scrollbar{display:none}
  body.admin-page .admin-nav-group{display:none}
  body.admin-page .admin-nav .admin-nav-link{grid-template-columns:30px auto;min-height:42px;min-width:max-content;padding:5px 9px}
  body.admin-page .admin-nav-icon{width:30px;height:30px}
  body.admin-page .admin-nav-copy strong{font-size:10px}
  body.admin-page .admin-nav-copy small,body.admin-page .admin-nav-arrow{display:none}
  body.admin-page .admin-nav-foot{display:none}
  body.admin-page .admin-head{min-height:auto;padding:16px;align-items:flex-start}
  body.admin-page .admin-head-actions{flex-direction:column;align-items:flex-end}
  body.admin-page .admin-head-status{display:none}
  body.admin-page .admin-head h1{font-size:24px}
  body.admin-page .badge-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  body.admin-page .admin-kpis{grid-template-columns:1fr 1fr;gap:8px}
  body.admin-page .admin-kpis article{min-height:88px;padding-left:47px}
  body.admin-page .admin-kpis article>span{left:10px;width:28px;height:28px}
  body.admin-page .admin-kpis b{font-size:18px}
  body.admin-page .admin-head{display:block}
  body.admin-page .admin-head-actions{margin-top:12px;align-items:flex-start}
  body.admin-page .admin-two,body.admin-page .plugin-grid{grid-template-columns:1fr}
  body.admin-page .admin-card{padding:12px}
  body.admin-page .badge-admin-grid{grid-template-columns:1fr 1fr}
}


/* V2.121 — ACL: Chatbox + topic action permissions */
.admin-acl-content-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}
.admin-acl-action-card{border:1px solid #4a3421;border-radius:14px;background:linear-gradient(180deg,#241910,#1b130d);overflow:hidden;box-shadow:0 14px 30px #0003}
.admin-acl-action-card>header{display:flex;gap:12px;align-items:flex-start;padding:15px 16px;border-bottom:1px solid #3c2b1d;background:linear-gradient(180deg,#2a1d12,#21170f)}
.admin-acl-action-card>header>span{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:10px;border:1px solid #62451f;background:#33220f;color:#ffac37;font-size:17px;box-shadow:0 8px 18px #0003}
.admin-acl-action-card>header small{display:block;color:#bd8950;font-size:9px;font-weight:950;letter-spacing:.14em}
.admin-acl-action-card>header h3{margin:3px 0 2px;color:#fff4e8;font-size:16px}
.admin-acl-action-card>header p{margin:0;color:#927455;font-size:10px;line-height:1.45}
.admin-acl-action-card.is-chat>header>span{color:#7fd9ff;border-color:#315665;background:#172a30}
.admin-acl-action-card.is-topic>header>span{color:#ffc063;border-color:#69461c;background:#34220c}
.admin-acl-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}
.admin-acl-action-toggle{min-height:66px;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #3e2d20;border-radius:10px;background:#1b130d;cursor:pointer;transition:.16s ease}
.admin-acl-action-toggle:hover{border-color:#684820;background:#23170e}
.admin-acl-action-toggle.is-on{border-color:#795022;background:linear-gradient(180deg,#2b1d10,#21160d);box-shadow:inset 3px 0 #e88b21}
.admin-acl-action-toggle>input{position:absolute;opacity:0;pointer-events:none}
.admin-acl-action-toggle>div{min-width:0}
.admin-acl-action-toggle strong{display:block;color:#eaddce;font-size:11px;line-height:1.25}
.admin-acl-action-toggle small{display:block;margin-top:4px;color:#79634d;font:8px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-acl-action-toggle.is-on strong{color:#fff4e6}
@media(max-width:980px){.admin-acl-content-actions{grid-template-columns:1fr}}
@media(max-width:560px){.admin-acl-action-grid{grid-template-columns:1fr}}


/* V2.123 — ACP ACL: interaktywne i czytelne przełączniki */
body.admin-page .admin-acl-action-toggle{position:relative;user-select:none;-webkit-user-select:none}
body.admin-page .admin-acl-action-toggle>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
body.admin-page .admin-acl-action-toggle>input:focus-visible + .admin-acl-toggle{outline:2px solid #f0a238;outline-offset:3px}
body.admin-page .admin-acl-action-toggle>input:checked + .admin-acl-toggle,
body.admin-page .admin-acl-action-toggle.is-on .admin-acl-toggle{background:#196343;border-color:#2b8e61;box-shadow:0 0 0 2px rgba(38,156,103,.09)}
body.admin-page .admin-acl-action-toggle>input:checked + .admin-acl-toggle i,
body.admin-page .admin-acl-action-toggle.is-on .admin-acl-toggle i{transform:translateX(16px);background:#54e6a8;box-shadow:0 0 8px rgba(84,230,168,.28)}
body.admin-page .admin-acl-action-toggle:has(input:checked),
body.admin-page .admin-acl-action-toggle.is-on{border-color:#5c5a2b;background:linear-gradient(180deg,#282116,#21180f);box-shadow:inset 3px 0 #d99628,0 8px 20px rgba(0,0,0,.14)}
body.admin-page .admin-acl-action-toggle:has(input:checked) strong,
body.admin-page .admin-acl-action-toggle.is-on strong{color:#fff5e8}
body.admin-page .admin-acl-action-toggle.is-off{box-shadow:none}
body.admin-page .admin-acl-action-toggle:active{transform:scale(.992)}
body.admin-page .admin-acl-action-toggle .admin-acl-toggle{flex:0 0 36px;position:relative}
body.admin-page .admin-acl-permission>input:checked + .admin-acl-toggle{background:#125b39;border-color:#1c7b4d}
body.admin-page .admin-acl-permission>input:checked + .admin-acl-toggle i{transform:translateX(16px);background:#36e497}
body.admin-page .admin-acl-permission.is-on{border-color:#356148;background:linear-gradient(180deg,#1b2a20,#172119);box-shadow:inset 3px 0 #19bf78}
body.admin-page .admin-acl-savebar{position:sticky;bottom:10px;z-index:8;margin:16px -2px 0;padding:10px 12px;border:1px solid #4d3621;border-radius:10px;background:rgba(27,18,12,.96);box-shadow:0 12px 32px rgba(0,0,0,.35);backdrop-filter:blur(8px)}
body.admin-page .admin-acl-savebar.is-dirty{border-color:#96611f;background:linear-gradient(180deg,rgba(49,31,13,.98),rgba(28,19,12,.98));box-shadow:inset 3px 0 #e99a2b,0 12px 34px rgba(0,0,0,.4)}
body.admin-page .admin-acl-savebar.is-dirty>span b{color:#ffc26d}
body.admin-page .admin-acl-savebar .btn{min-width:185px}
@media(max-width:620px){body.admin-page .admin-acl-savebar{bottom:6px;align-items:stretch;flex-direction:column}body.admin-page .admin-acl-savebar .btn{width:100%}}

/* V2.124 — Home info bar: beta status */
.home-page .home-contact-copy p a{
  color:#f5aa45!important;
  font-weight:850!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(245,170,69,.28)!important;
  transition:color .18s ease,border-color .18s ease!important;
}
.home-page .home-contact-copy p a:hover{
  color:#ffd08b!important;
  border-bottom-color:rgba(255,208,139,.72)!important;
}
.home-page .home-contact-status.home-contact-beta{
  position:relative!important;
  min-width:72px!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-color:rgba(255,164,43,.56)!important;
  background:linear-gradient(180deg,rgba(83,50,13,.78),rgba(47,29,9,.86))!important;
  color:#ffc56f!important;
  text-transform:uppercase!important;
  letter-spacing:.12em!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 0 16px rgba(255,148,24,.08)!important;
  animation:darkwBetaPulse 2.2s ease-in-out infinite!important;
}
.home-page .home-contact-status.home-contact-beta::after{
  content:""!important;
  position:absolute!important;
  top:-80%!important;
  left:-45%!important;
  width:22px!important;
  height:250%!important;
  background:linear-gradient(90deg,transparent,rgba(255,235,181,.48),transparent)!important;
  transform:skewX(-18deg)!important;
  animation:darkwBetaShine 2.8s ease-in-out infinite!important;
  pointer-events:none!important;
}
.home-page .home-contact-status.home-contact-beta i{
  width:7px!important;
  height:7px!important;
  background:#ffad35!important;
  box-shadow:0 0 0 3px rgba(255,173,53,.09),0 0 12px rgba(255,173,53,.72)!important;
  animation:darkwBetaDot 1.35s ease-in-out infinite!important;
}
.home-page .home-contact-card:hover .home-contact-status.home-contact-beta{
  border-color:rgba(255,184,76,.82)!important;
  background:linear-gradient(180deg,rgba(100,59,13,.88),rgba(56,33,9,.94))!important;
  color:#ffd492!important;
}
@keyframes darkwBetaPulse{
  0%,100%{filter:brightness(1);box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 0 13px rgba(255,148,24,.06)}
  50%{filter:brightness(1.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 22px rgba(255,148,24,.18)}
}
@keyframes darkwBetaShine{
  0%,58%{left:-45%;opacity:0}
  66%{opacity:.9}
  82%{left:120%;opacity:0}
  100%{left:120%;opacity:0}
}
@keyframes darkwBetaDot{
  0%,100%{opacity:.58;transform:scale(.85)}
  50%{opacity:1;transform:scale(1.12)}
}
@media (prefers-reduced-motion:reduce){
  .home-page .home-contact-status.home-contact-beta,
  .home-page .home-contact-status.home-contact-beta::after,
  .home-page .home-contact-status.home-contact-beta i{animation:none!important}
}

/* V2.126 — zamykana belka BETA + niebieska plakietka */
.home-page .home-contact-card[hidden],.home-page .home-beta-restore[hidden]{display:none!important}
.home-page .home-contact-status.home-contact-beta{
  border-color:rgba(70,162,255,.72)!important;
  background:linear-gradient(180deg,rgba(21,74,132,.92),rgba(13,47,88,.96))!important;
  color:#b9ddff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 0 0 1px rgba(72,160,255,.08),0 0 20px rgba(48,145,255,.15)!important;
}
.home-page .home-contact-status.home-contact-beta::after{background:linear-gradient(90deg,transparent,rgba(182,224,255,.58),transparent)!important}
.home-page .home-contact-status.home-contact-beta i{
  background:#58b8ff!important;
  box-shadow:0 0 0 3px rgba(70,166,255,.12),0 0 14px rgba(70,166,255,.82)!important;
}
.home-page .home-contact-card:hover .home-contact-status.home-contact-beta{
  border-color:#69bdff!important;
  background:linear-gradient(180deg,rgba(26,87,151,.98),rgba(15,56,103,.99))!important;
  color:#d9efff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 0 22px rgba(55,155,255,.20)!important;
}
.home-page .home-contact-close{
  padding:0!important;
  appearance:none!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:500!important;
  font-family:Arial,sans-serif!important;
}
.home-page .home-contact-card:hover .home-contact-close{transform:none!important}
.home-page .home-contact-close:hover{
  transform:scale(1.06)!important;
  border-color:#69c9ec!important;
  background:#154658!important;
  color:#d8f7ff!important;
}
.home-page .home-contact-card.is-closing{opacity:0!important;transform:translateY(-6px) scale(.992)!important;pointer-events:none!important;transition:opacity .16s ease,transform .18s ease!important}
.home-page .home-contact-card.is-opening{animation:darkwHomeBetaOpen .22s ease both!important}
@keyframes darkwHomeBetaOpen{from{opacity:0;transform:translateY(-6px) scale(.992)}to{opacity:1;transform:none}}
.home-page .home-beta-restore{
  width:max-content!important;
  max-width:100%!important;
  min-height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 14px auto!important;
  padding:7px 10px!important;
  border:1px solid rgba(62,144,211,.48)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,rgba(18,48,72,.90),rgba(17,34,48,.94))!important;
  color:#9fc8e9!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.16)!important;
  font-size:9px!important;
  font-weight:800!important;
  transition:.18s ease!important;
}
.home-page .home-beta-restore.is-visible{animation:darkwHomeBetaRestore .2s ease both!important}
.home-page .home-beta-restore:hover{
  border-color:#58b9ff!important;
  background:linear-gradient(180deg,rgba(21,67,105,.96),rgba(18,45,66,.98))!important;
  color:#d3edff!important;
  transform:translateY(-1px)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 25px rgba(0,0,0,.20),0 0 18px rgba(51,150,232,.10)!important;
}
.home-page .home-beta-restore-dot{width:7px!important;height:7px!important;border-radius:50%!important;background:#54b9ff!important;box-shadow:0 0 10px rgba(84,185,255,.72)!important}
.home-page .home-beta-restore b{padding:3px 6px!important;border:1px solid rgba(84,177,255,.45)!important;border-radius:5px!important;background:rgba(24,84,137,.52)!important;color:#b9ddff!important;font-size:8px!important;letter-spacing:.1em!important}
.home-page .home-beta-restore i{font-style:normal!important;color:#76c5ff!important;font-size:13px!important;margin-left:2px!important}
@keyframes darkwHomeBetaRestore{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:700px){.home-page .home-beta-restore{margin-left:0!important}}
@media(prefers-reduced-motion:reduce){.home-page .home-contact-card.is-opening,.home-page .home-beta-restore.is-visible{animation:none!important}}

/* ==== V2.127 · profile hero: level/reputation + social actions in one line ==== */
.profile-page .profile-rankline.profile-scorebar{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  width:min(322px,100%)!important;
  max-width:322px!important;
  margin-top:12px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item,
.profile-page .profile-rankline.profile-scorebar > span.profile-score-item{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  width:auto!important;
  min-height:50px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item > i{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  font-size:14px!important;
  border-radius:8px!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy small{
  font-size:7px!important;
  letter-spacing:.12em!important;
  white-space:nowrap!important;
}
.profile-page .profile-rankline.profile-scorebar > .profile-score-item .profile-score-copy b{
  font-size:15px!important;
  line-height:1!important;
}

.profile-page .profile-social-actions{
  display:grid!important;
  grid-template-columns:repeat(3,max-content)!important;
  align-items:center!important;
  justify-content:start!important;
  gap:7px!important;
  width:max-content!important;
  max-width:100%!important;
  margin-top:10px!important;
}
.profile-page .profile-social-actions button,
.profile-page .profile-social-actions a{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:34px!important;
  height:34px!important;
  padding:0 11px!important;
  border:1px solid #5b4025!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#34251a 0%,#281c14 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  color:#dbc6aa!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.profile-page .profile-social-actions button:first-child{
  color:#f1b55f!important;
  border-color:#705025!important;
}
.profile-page .profile-social-actions button:nth-child(2){
  color:#dfd3c2!important;
  border-color:#584838!important;
  background:linear-gradient(180deg,#312821 0%,#261f1a 100%)!important;
}
.profile-page .profile-social-actions a{
  color:#90c8ff!important;
  border-color:#315675!important;
  background:linear-gradient(180deg,#202c35 0%,#182229 100%)!important;
}
.profile-page .profile-social-actions button:hover,
.profile-page .profile-social-actions a:hover{
  transform:translateY(-1px)!important;
  color:#fff4df!important;
  border-color:#a8702e!important;
  background:linear-gradient(180deg,#44301d 0%,#302116 100%)!important;
  box-shadow:0 7px 16px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.055)!important;
}
.profile-page .profile-social-actions a:hover{
  color:#d9edff!important;
  border-color:#4e86ad!important;
  background:linear-gradient(180deg,#263946 0%,#1b2932 100%)!important;
}
.profile-page .profile-social-actions button.active{
  color:#ffd391!important;
  border-color:#a66e27!important;
  background:linear-gradient(180deg,#4a321b 0%,#322216 100%)!important;
}

@media(max-width:560px){
  .profile-page .profile-rankline.profile-scorebar{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .profile-page .profile-social-actions{
    width:100%!important;
    grid-template-columns:1fr!important;
  }
  .profile-page .profile-social-actions button,
  .profile-page .profile-social-actions a{
    width:100%!important;
  }
}


/* ==== V2.128 · trwały stan zwijania + zamykana belka Forum Dyskusyjne ==== */
.home-page .home-forum-hero[hidden],
.home-page .home-forum-hero-restore[hidden]{display:none!important}
.home-page .home-forum-hero-close{
  position:absolute!important;
  z-index:8!important;
  top:10px!important;
  right:10px!important;
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid rgba(255,157,35,.30)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,rgba(51,31,16,.92),rgba(32,21,13,.96))!important;
  color:#b88a58!important;
  font:500 20px/1 Arial,sans-serif!important;
  cursor:pointer!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 6px 18px rgba(0,0,0,.18)!important;
  transition:.18s ease!important;
}
.home-page .home-forum-hero-close:hover{
  border-color:#ffac42!important;
  background:linear-gradient(180deg,#4a2c13,#342012)!important;
  color:#ffe5bd!important;
  transform:scale(1.06)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 20px rgba(0,0,0,.22),0 0 16px rgba(255,143,14,.10)!important;
}
.home-page .home-forum-hero.is-closing{opacity:0!important;transform:translateY(-6px) scale(.993)!important;pointer-events:none!important;transition:opacity .16s ease,transform .18s ease!important}
.home-page .home-forum-hero.is-opening{animation:darkwForumHeroOpen .22s ease both!important}
@keyframes darkwForumHeroOpen{from{opacity:0;transform:translateY(-6px) scale(.993)}to{opacity:1;transform:none}}
.home-page .home-forum-hero-restore{
  width:max-content!important;
  max-width:100%!important;
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:24px 0 18px auto!important;
  padding:7px 11px!important;
  border:1px solid rgba(255,151,27,.42)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,rgba(54,33,17,.94),rgba(34,23,14,.97))!important;
  color:#cba77b!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.18)!important;
  font-size:9px!important;
  font-weight:850!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.home-page .home-forum-hero-restore.is-visible{animation:darkwForumHeroRestore .2s ease both!important}
.home-page .home-forum-hero-restore:hover{
  border-color:#ffa632!important;
  background:linear-gradient(180deg,rgba(70,41,17,.98),rgba(44,27,14,.99))!important;
  color:#ffe8c2!important;
  transform:translateY(-1px)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 10px 25px rgba(0,0,0,.22),0 0 18px rgba(255,145,20,.09)!important;
}
.home-page .home-forum-hero-restore-icon{
  width:27px!important;
  height:25px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,157,35,.35)!important;
  border-radius:6px!important;
  background:rgba(91,49,10,.35)!important;
  color:#ffa126!important;
  font-size:10px!important;
  font-weight:950!important;
}
.home-page .home-forum-hero-restore b{color:#f0d5ae!important;font-size:9px!important;letter-spacing:.02em!important}
.home-page .home-forum-hero-restore i{font-style:normal!important;color:#ffa431!important;font-size:13px!important;margin-left:2px!important}
@keyframes darkwForumHeroRestore{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:780px){
  .home-page .home-forum-hero{padding-right:50px!important}
  .home-page .home-forum-hero-restore{margin-left:0!important}
}
@media(prefers-reduced-motion:reduce){
  .home-page .home-forum-hero.is-opening,.home-page .home-forum-hero-restore.is-visible{animation:none!important}
}

/* ==== V2.129 · zapamiętywany DOWNLOAD SPOTLIGHT + zwijany panel boczny ==== */
.home-page .spotlight-card[hidden],
.home-page .spotlight-restore[hidden],
.home-page .home-sidebar[hidden],
.home-page .home-sidebar-restore[hidden]{display:none!important}

.home-page .spotlight-card.is-hiding,
.home-page .home-sidebar.is-collapsing{
  opacity:0!important;
  transform:translateY(-5px) scale(.994)!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .18s ease!important;
}
.home-page .spotlight-card.is-restoring,
.home-page .home-sidebar.is-expanding{animation:darkwV2129Restore .22s ease both!important}
@keyframes darkwV2129Restore{from{opacity:0;transform:translateY(-5px) scale(.994)}to{opacity:1;transform:none}}

.home-page .spotlight-restore{
  width:max-content!important;
  max-width:100%!important;
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 16px auto!important;
  padding:7px 11px!important;
  border:1px solid rgba(255,151,27,.42)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,rgba(54,33,17,.95),rgba(34,23,14,.98))!important;
  color:#cba77b!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.18)!important;
  font-size:9px!important;
  font-weight:850!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.home-page .spotlight-restore.is-visible{animation:darkwSpotRestore .2s ease both!important}
.home-page .spotlight-restore:hover{
  border-color:#ffa632!important;
  background:linear-gradient(180deg,rgba(70,41,17,.99),rgba(44,27,14,.99))!important;
  color:#ffe8c2!important;
  transform:translateY(-1px)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 10px 25px rgba(0,0,0,.22),0 0 18px rgba(255,145,20,.09)!important;
}
.home-page .spotlight-restore-icon{
  width:27px!important;height:25px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(255,157,35,.35)!important;border-radius:6px!important;
  background:rgba(91,49,10,.35)!important;color:#ffa126!important;font-size:13px!important;font-weight:950!important;
}
.home-page .spotlight-restore b{color:#f0d5ae!important;font-size:9px!important;letter-spacing:.04em!important}
.home-page .spotlight-restore i{font-style:normal!important;color:#ffa431!important;font-size:13px!important;margin-left:2px!important}
@keyframes darkwSpotRestore{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

.home-page .home-sidebar-v2111{position:sticky!important}
.home-page .home-sidebar-collapse{
  position:absolute!important;
  z-index:12!important;
  left:-17px!important;
  top:8px!important;
  width:32px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid rgba(255,153,31,.38)!important;
  border-right-color:#4f321a!important;
  border-radius:9px 0 0 9px!important;
  background:linear-gradient(180deg,#382313,#27190f)!important;
  color:#f0ad54!important;
  font:900 20px/1 Arial,sans-serif!important;
  box-shadow:-5px 7px 18px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.04)!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.home-page .home-sidebar-collapse:hover{
  left:-20px!important;
  border-color:#f39a2a!important;
  background:linear-gradient(180deg,#4a2d13,#302013)!important;
  color:#ffe2b8!important;
  box-shadow:-7px 8px 22px rgba(0,0,0,.25),0 0 15px rgba(242,144,25,.08)!important;
}
.home-page .home-layout-grid.is-sidebar-collapsed{
  grid-template-columns:minmax(0,1fr)!important;
}
.home-page .home-sidebar-restore{
  position:fixed!important;
  z-index:54!important;
  right:0!important;
  top:44%!important;
  min-height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  padding:0 9px!important;
  border:1px solid rgba(255,153,31,.42)!important;
  border-right:0!important;
  border-radius:10px 0 0 10px!important;
  background:linear-gradient(180deg,#3a2413,#27190f)!important;
  color:#f0ad54!important;
  box-shadow:-8px 10px 28px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.045)!important;
  cursor:pointer!important;
  overflow:hidden!important;
  transition:.2s ease!important;
}
.home-page .home-sidebar-restore>span{
  width:20px!important;
  flex:0 0 20px!important;
  font:900 22px/1 Arial,sans-serif!important;
  color:#ffad43!important;
}
.home-page .home-sidebar-restore>b{
  display:block!important;
  max-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  opacity:0!important;
  color:#f3d5aa!important;
  font-size:9px!important;
  letter-spacing:.03em!important;
  transition:max-width .22s ease,opacity .16s ease,margin .22s ease!important;
}
.home-page .home-sidebar-restore:hover{
  border-color:#f6a33a!important;
  background:linear-gradient(180deg,#4c2e14,#312012)!important;
  color:#ffe5bd!important;
}
.home-page .home-sidebar-restore:hover>b{
  max-width:100px!important;
  opacity:1!important;
  margin-left:5px!important;
}
.home-page .home-sidebar-restore.is-visible{animation:darkwSidebarRestore .22s ease both!important}
@keyframes darkwSidebarRestore{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}

@media(max-width:1120px){
  .home-page .home-sidebar-collapse{left:auto!important;right:8px!important;top:8px!important;border-radius:8px!important;border-right-color:rgba(255,153,31,.38)!important;width:34px!important;height:34px!important}
  .home-page .home-sidebar-collapse:hover{left:auto!important;right:8px!important}
}
@media(max-width:700px){
  .home-page .spotlight-restore{margin-left:0!important}
  .home-page .home-sidebar-restore{top:auto!important;bottom:76px!important}
}
@media(prefers-reduced-motion:reduce){
  .home-page .spotlight-card.is-restoring,.home-page .home-sidebar.is-expanding,.home-page .spotlight-restore.is-visible,.home-page .home-sidebar-restore.is-visible{animation:none!important}
}

/* ==== V2.130 · Szerszy widok tworzenia nowego wątku ==== */
body.new-topic-page .page-shell{max-width:1280px!important}
body.new-topic-page .new-topic-layout{grid-template-columns:minmax(0,1fr) 270px!important;gap:24px!important}
@media(max-width:980px){
  body.new-topic-page .page-shell{max-width:100%!important}
  body.new-topic-page .new-topic-layout{grid-template-columns:1fr!important}
}

/* V2.131 — sidebar collapse control on the outer right edge */
.home-page .home-sidebar-v2111{overflow:visible!important}
.home-page .home-sidebar-collapse{
  left:auto!important;
  right:-15px!important;
  top:13px!important;
  width:30px!important;
  height:46px!important;
  border:1px solid rgba(255,164,42,.46)!important;
  border-left-color:rgba(92,57,27,.9)!important;
  border-radius:0 10px 10px 0!important;
  background:linear-gradient(180deg,rgba(66,40,20,.98),rgba(35,23,14,.99))!important;
  color:#ffb247!important;
  font-size:0!important;
  box-shadow:7px 8px 22px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.055)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}
.home-page .home-sidebar-collapse::before{
  content:'›'!important;
  display:block!important;
  font:800 25px/1 Arial,sans-serif!important;
  transform:translateX(0)!important;
  transition:transform .18s ease,color .18s ease!important;
}
.home-page .home-sidebar-collapse::after{
  content:''!important;
  position:absolute!important;
  left:4px!important;
  top:8px!important;
  bottom:8px!important;
  width:1px!important;
  border-radius:2px!important;
  background:linear-gradient(180deg,transparent,rgba(255,166,48,.65),transparent)!important;
  opacity:.7!important;
}
.home-page .home-sidebar-collapse:hover{
  left:auto!important;
  right:-18px!important;
  border-color:#f5a235!important;
  border-left-color:#72491f!important;
  background:linear-gradient(180deg,#503016,#2f1e11)!important;
  color:#ffe3b7!important;
  transform:translateX(1px)!important;
  box-shadow:9px 9px 25px rgba(0,0,0,.32),0 0 18px rgba(246,153,33,.12),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.home-page .home-sidebar-collapse:hover::before{transform:translateX(2px)!important}
.home-page .home-sidebar-collapse:focus-visible{
  outline:2px solid rgba(255,177,70,.7)!important;
  outline-offset:2px!important;
}
@media (max-width:900px){
  .home-page .home-sidebar-collapse{
    left:auto!important;right:8px!important;top:8px!important;
    width:34px!important;height:34px!important;
    border-radius:8px!important;
    border-left-color:rgba(255,153,31,.38)!important;
  }
  .home-page .home-sidebar-collapse::after{display:none!important}
  .home-page .home-sidebar-collapse::before{font-size:22px!important}
  .home-page .home-sidebar-collapse:hover{left:auto!important;right:8px!important;transform:none!important}
}

/* ==== V2.132 · Przycisk zwijania przyklejony do krawędzi sidebara ==== */
.home-page .home-sidebar-v2111{overflow:visible!important}
.home-page .home-sidebar-collapse{
  left:auto!important;
  right:-29px!important;
  top:14px!important;
  width:30px!important;
  height:44px!important;
  margin:0!important;
  border:1px solid rgba(112,73,36,.78)!important;
  border-left:0!important;
  border-radius:0 9px 9px 0!important;
  background:linear-gradient(180deg,#312014 0%,#25180f 100%)!important;
  color:#d99a4a!important;
  box-shadow:6px 5px 14px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.035)!important;
  transform:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.home-page .home-sidebar-collapse::before{
  content:'›'!important;
  display:block!important;
  font:800 23px/1 Arial,sans-serif!important;
  color:#e0a04f!important;
  transform:translateX(-1px)!important;
  transition:transform .16s ease,color .16s ease!important;
}
.home-page .home-sidebar-collapse::after{
  content:''!important;
  position:absolute!important;
  left:0!important;
  top:6px!important;
  bottom:6px!important;
  width:1px!important;
  border-radius:0!important;
  background:linear-gradient(180deg,transparent,rgba(255,157,40,.42),transparent)!important;
  opacity:.9!important;
}
.home-page .home-sidebar-collapse:hover{
  left:auto!important;
  right:-29px!important;
  transform:none!important;
  border-color:rgba(244,156,48,.78)!important;
  border-left:0!important;
  background:linear-gradient(180deg,#3f2816 0%,#2b1c11 100%)!important;
  color:#ffd397!important;
  box-shadow:7px 6px 17px rgba(0,0,0,.27),0 0 12px rgba(239,144,30,.08),inset 0 1px 0 rgba(255,255,255,.045)!important;
}
.home-page .home-sidebar-collapse:hover::before{
  color:#ffd49a!important;
  transform:translateX(1px)!important;
}
.home-page .home-sidebar-collapse:active{
  background:linear-gradient(180deg,#291a10,#21150d)!important;
  box-shadow:3px 3px 10px rgba(0,0,0,.25),inset 0 1px 4px rgba(0,0,0,.18)!important;
}
@media (max-width:900px){
  .home-page .home-sidebar-collapse{
    right:8px!important;
    top:8px!important;
    width:34px!important;
    height:34px!important;
    border:1px solid rgba(255,153,31,.38)!important;
    border-radius:8px!important;
    background:linear-gradient(180deg,#382313,#27190f)!important;
  }
  .home-page .home-sidebar-collapse::after{display:none!important}
  .home-page .home-sidebar-collapse::before{font-size:22px!important;transform:none!important}
  .home-page .home-sidebar-collapse:hover{right:8px!important;border-left:1px solid rgba(255,153,31,.38)!important;transform:none!important}
}

/* ==== V2.133 · Faktycznie szerszy widok tworzenia nowego wątku ==== */
body.new-topic-page:not(.topic-edit-page) .page-shell{
  width:min(1460px,calc(100% - 34px))!important;
  max-width:none!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-layout{
  width:100%!important;
  max-width:1380px!important;
  grid-template-columns:minmax(0,1fr) 250px!important;
  gap:26px!important;
  margin-inline:auto!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-main{
  width:100%!important;
  max-width:none!important;
}
body.new-topic-page:not(.topic-edit-page) .new-topic-hero,
body.new-topic-page:not(.topic-edit-page) .new-topic-autosave,
body.new-topic-page:not(.topic-edit-page) .new-topic-form{
  width:100%!important;
  max-width:none!important;
}
@media(max-width:1100px){
  body.new-topic-page:not(.topic-edit-page) .page-shell{
    width:min(100% - 28px,980px)!important;
  }
  body.new-topic-page:not(.topic-edit-page) .new-topic-layout{
    max-width:920px!important;
    grid-template-columns:1fr!important;
  }
  body.new-topic-page:not(.topic-edit-page) .new-topic-sidebar{
    position:static!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:720px){
  body.new-topic-page:not(.topic-edit-page) .page-shell{
    width:calc(100% - 18px)!important;
  }
  body.new-topic-page:not(.topic-edit-page) .new-topic-sidebar{
    grid-template-columns:1fr!important;
  }
}

/* ==== V2.134 · Profile level badge redesign ==== */
.profile-page .profile-level .level-summary{
  grid-template-columns:54px minmax(0,1fr) auto!important;
  min-height:72px!important;
  padding:11px 13px!important;
  gap:12px!important;
}
.profile-page .profile-level .level-summary>.profile-level-emblem{
  position:relative!important;
  width:52px!important;
  height:48px!important;
  min-width:52px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:11px!important;
  border:1px solid rgba(185,143,255,.72)!important;
  background:
    radial-gradient(circle at 30% 15%,rgba(255,255,255,.20),transparent 36%),
    linear-gradient(145deg,#8658d4 0%,#6c42b7 52%,#4f2f8d 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 7px 18px rgba(82,45,143,.28),
    0 0 18px rgba(139,91,221,.10)!important;
  color:#fff!important;
  font-size:initial!important;
  line-height:1!important;
  text-align:center!important;
}
.profile-page .profile-level .level-summary>.profile-level-emblem::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  transform:none!important;
  background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.14) 45%,transparent 68%)!important;
  opacity:.55!important;
  pointer-events:none!important;
}
.profile-page .profile-level .level-summary>.profile-level-emblem::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:10px!important;
  right:10px!important;
  bottom:5px!important;
  height:2px!important;
  border-radius:999px!important;
  background:rgba(232,216,255,.38)!important;
}
.profile-page .profile-level .profile-level-emblem>i{
  position:relative!important;
  z-index:1!important;
  margin:0 0 1px!important;
  color:#e7d8ff!important;
  font-size:7px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:950!important;
  letter-spacing:.14em!important;
}
.profile-page .profile-level .profile-level-emblem>b{
  position:relative!important;
  z-index:1!important;
  margin:0!important;
  padding:0 0 4px!important;
  color:#fff!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  font-size:19px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:-.04em!important;
}
.profile-page .profile-level .profile-level-copy{
  min-width:0!important;
  display:grid!important;
  gap:2px!important;
  align-content:center!important;
}
.profile-page .profile-level .profile-level-kicker{
  display:block!important;
  margin:0 0 1px!important;
  color:#b99be8!important;
  font-size:7.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
.profile-page .profile-level .profile-level-copy>strong{
  margin:0!important;
  color:#f8f2eb!important;
  font-size:15px!important;
  line-height:1.12!important;
  font-weight:950!important;
}
.profile-page .profile-level .profile-level-rank{
  display:block!important;
  margin-top:1px!important;
  color:#a88c6c!important;
  font-size:9px!important;
  line-height:1.1!important;
  font-weight:750!important;
}
.profile-page .profile-level .profile-level-coins{
  align-self:center!important;
}
.profile-page .profile-level .level-summary:hover>.profile-level-emblem{
  transform:translateY(-1px)!important;
  border-color:rgba(211,184,255,.90)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 9px 22px rgba(82,45,143,.34),
    0 0 22px rgba(149,101,229,.15)!important;
}
@media(max-width:560px){
  .profile-page .profile-level .level-summary{
    grid-template-columns:48px minmax(0,1fr)!important;
  }
  .profile-page .profile-level .level-summary>.profile-level-emblem{
    width:46px!important;
    min-width:46px!important;
    height:44px!important;
  }
  .profile-page .profile-level .profile-level-coins{
    grid-column:2!important;
    justify-self:start!important;
  }
}

/* ==== V2.135 · Purple user level chip in thread lists ==== */
body.forum-category-page .topic-level-chip,
body.threads-page .topic-level-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:24px!important;
  height:19px!important;
  padding:0 6px!important;
  border-radius:5px!important;
  border:1px solid rgba(185,143,255,.68)!important;
  background:
    radial-gradient(circle at 28% 15%,rgba(255,255,255,.16),transparent 40%),
    linear-gradient(145deg,#7d50c7 0%,#633cad 54%,#482980 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 3px 9px rgba(82,45,143,.22),
    0 0 10px rgba(139,91,221,.08)!important;
  color:#f2e9ff!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  vertical-align:middle!important;
}
body.forum-category-page .topic-level-chip:hover,
body.threads-page .topic-level-chip:hover{
  border-color:rgba(211,184,255,.92)!important;
  background:linear-gradient(145deg,#8a5cda 0%,#7047bc 54%,#523090 100%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 4px 11px rgba(82,45,143,.28),
    0 0 13px rgba(149,101,229,.13)!important;
}

/* ==== V2.136 · unified module pages: following / chat / shop / apps / album / bookmarks ==== */
body.module-polish-page .page-shell{width:min(1220px,calc(100% - 34px));padding-top:30px}
body.module-polish-page .section-heading{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:14px;margin:0 0 18px;padding:17px 18px;border:1px solid #4a3421;border-radius:12px;background:linear-gradient(105deg,#2c1f13 0%,#24180f 62%,#1d140d 100%);box-shadow:0 16px 38px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.025);overflow:hidden}
body.module-polish-page .section-heading::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#ff9c21,#bf6819)}
body.module-polish-page .section-heading::after{content:"";position:absolute;right:-90px;top:-120px;width:270px;height:270px;border:1px solid rgba(255,153,25,.08);border-radius:50%;box-shadow:0 0 0 34px rgba(255,153,25,.025),0 0 0 70px rgba(255,153,25,.015);pointer-events:none}
body.module-polish-page .section-icon{position:relative;z-index:1;width:50px;height:50px;border-radius:11px;border:1px solid #70471f;background:linear-gradient(145deg,#40270f,#2c1b0d);color:#ffad3d;font-size:21px;box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.24)}
body.module-polish-page .section-heading>div:last-child{position:relative;z-index:1;min-width:0}
body.module-polish-page .eyebrow{margin-bottom:3px;color:#d18b3a;font-size:9px;letter-spacing:.18em;text-transform:uppercase}
body.module-polish-page .section-heading h1{margin:0 0 5px;font-size:27px;line-height:1.05;letter-spacing:-.035em;color:#fff4e6}
body.module-polish-page .section-heading p{max-width:800px;margin:0;color:#9d7f5f;font-size:11px;line-height:1.55}
body.module-polish-page .empty-panel{min-height:150px;display:grid;place-items:center;padding:26px;border:1px dashed #513923;border-radius:11px;background:linear-gradient(180deg,#21170f,#1b120c);color:#987a59;text-align:center}

/* Following */
body.following-page .follow-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.following-page .follow-grid>a{position:relative;min-height:82px;padding:14px 14px 14px 15px;border:1px solid #413022;border-radius:11px;background:linear-gradient(145deg,#251a11,#1f160e);box-shadow:inset 0 1px rgba(255,255,255,.018);overflow:hidden;transition:.18s ease}
body.following-page .follow-grid>a::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:3px;background:#d17a20;opacity:.65}
body.following-page .follow-grid>a>span{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border:1px solid #5a3c20;border-radius:10px;background:#30200f;color:#ff9a1d;font-size:20px;box-shadow:inset 0 1px rgba(255,255,255,.03)}
body.following-page .follow-grid>a>div{min-width:0}
body.following-page .follow-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f4e8da;font-size:12px}
body.following-page .follow-grid small{margin-top:4px;color:#8c7053;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
body.following-page .follow-grid>a:hover{transform:translateY(-2px);border-color:#70481f;background:linear-gradient(145deg,#2d1e11,#24180f);box-shadow:0 14px 28px rgba(0,0,0,.22)}
body.following-page .follow-grid>a:hover>span{border-color:#8d581f;color:#ffc067}

/* Chat */
body.chat-module-page .chat-page{padding:0!important;border:1px solid #4b3422!important;border-radius:12px!important;background:linear-gradient(180deg,#271b11,#20160e)!important;box-shadow:0 18px 42px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.02);overflow:hidden}
body.chat-module-page .chat-page .chatbox-card{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.chat-module-page .chatbox-card>header{height:54px;padding:0 17px;background:linear-gradient(180deg,#302115,#281b11);border-bottom:1px solid #49331f}
body.chat-module-page .chatbox-card>header strong{font-size:13px;letter-spacing:.02em;color:#fff0df}
body.chat-module-page .chat-tabs{padding:9px 13px;background:#21170f;border-bottom-color:#3d2c1e}
body.chat-module-page .chat-tabs button{border:1px solid transparent;border-radius:7px;padding:7px 11px;font-size:10px;font-weight:850}
body.chat-module-page .chat-tabs button.active{border-color:#72471c;background:#3b250d;color:#ffad3c;box-shadow:inset 0 1px rgba(255,255,255,.03)}
body.chat-module-page .chat-scroll{height:390px;background:linear-gradient(180deg,#1c130c,#1f150d)}
body.chat-module-page .chat-message{padding:13px 15px;border-bottom-color:#35261a}
body.chat-module-page .chat-message:hover{background:rgba(255,145,20,.018)}
body.chat-module-page .chat-input{padding:12px 14px;background:#24180f;border-top-color:#49321e}
body.chat-module-page .chat-input input{height:42px;border-radius:8px;background:#17100a;border-color:#49331f}
body.chat-module-page .chat-input input:focus{outline:0;border-color:#8b5723;box-shadow:0 0 0 3px rgba(255,145,20,.06)}

/* Shop */
body.shop-page .minor-title{position:relative;margin:18px 0 10px;padding:10px 13px 10px 15px;border:1px solid #413022;border-radius:9px;background:linear-gradient(90deg,#291c11,#21170f);color:#f3e6d6;font-size:12px;letter-spacing:.02em}
body.shop-page .minor-title::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;border-radius:3px;background:#ff9418}
body.shop-page .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:18px}
body.shop-page .shop-item{position:relative;min-height:205px;padding:15px!important;border-radius:11px!important;background:linear-gradient(145deg,#251a11,#1c140d)!important;border-color:#413124!important;box-shadow:inset 0 1px rgba(255,255,255,.02)!important}
body.shop-page .shop-item::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--shop-rarity,#d18b2f);opacity:.78}
body.shop-page .shop-item>span{width:49px!important;height:49px!important;border-radius:10px!important;background:#302116!important;border:1px solid #51381f!important;font-size:24px!important}
body.shop-page .shop-item strong{font-size:15px!important;color:#fff0df!important}
body.shop-page .shop-item p{min-height:42px!important;color:#92775a!important;font-size:10.5px!important;line-height:1.5!important}
body.shop-page .shop-item b{align-self:end!important;width:max-content;padding:6px 9px!important;border:1px solid #604118!important;border-radius:7px!important;background:#30210f!important;color:#ffc052!important;font-size:11px!important}
body.shop-page .shop-item em{top:14px!important;right:13px!important;border-radius:5px!important;font-size:7.5px!important;letter-spacing:.09em!important}
body.shop-page .shop-item:hover{transform:translateY(-3px)!important;border-color:var(--shop-rarity,#795025)!important;box-shadow:0 15px 32px rgba(0,0,0,.26),0 0 18px var(--shop-glow,rgba(209,139,47,.10))!important}

/* Album */
body.album-page .album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.album-page .album-card{position:relative;min-height:154px;padding:16px;border:1px solid #423124;border-radius:11px;background:linear-gradient(145deg,#251a11,#1d140d);box-shadow:inset 0 1px rgba(255,255,255,.02);overflow:hidden;transition:.18s ease}
body.album-page .album-card::after{content:"";position:absolute;right:-36px;top:-54px;width:150px;height:150px;border:1px solid rgba(167,104,255,.10);border-radius:50%;box-shadow:0 0 0 24px rgba(167,104,255,.025);pointer-events:none}
body.album-page .album-card header{position:relative;z-index:1;grid-template-columns:48px 1fr auto;gap:12px}
body.album-page .album-card header>span{width:46px;height:46px;border-radius:10px;border:1px solid #67429a;background:linear-gradient(145deg,#3c235a,#29193f);color:#c99bff;font-size:19px;box-shadow:0 8px 18px rgba(75,40,110,.20)}
body.album-page .album-card strong{color:#f6eade;font-size:13px}
body.album-page .album-card header small{margin-top:3px;color:#8d7256;font-size:9.5px}
body.album-page .album-card header>b{padding:5px 8px;border:1px solid #594027;border-radius:7px;background:#2c1d10;color:#ffb045;font-size:11px}
body.album-page .album-card .progress{height:8px;margin:15px 0 11px;border:1px solid #37291f;border-radius:8px;background:#17100a;overflow:hidden}
body.album-page .album-card .progress i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#7c45d2,#b164ef,#ff9a28);box-shadow:0 0 14px rgba(161,88,226,.25)}
body.album-page .album-card>a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:5px;color:#a68866;font-size:10px;font-weight:750}
body.album-page .album-card:hover{transform:translateY(-2px);border-color:#68472c;box-shadow:0 14px 30px rgba(0,0,0,.22)}
body.album-page .album-card:hover>a{color:#ffc067}

/* Bookmarks */
body.bookmarks-page .minor-title{position:relative;margin:17px 0 10px;padding:10px 13px 10px 15px;border:1px solid #413022;border-radius:9px;background:linear-gradient(90deg,#291c11,#21170f);color:#f3e6d6;font-size:12px}
body.bookmarks-page .minor-title::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;border-radius:3px;background:#ff9418}
body.bookmarks-page .topic-list-v2{display:grid;gap:9px}
body.bookmarks-page .topic-row-v2{min-height:84px;border:1px solid #403024!important;border-radius:10px!important;background:linear-gradient(145deg,#241a12,#1e150e)!important;box-shadow:inset 0 1px rgba(255,255,255,.016)!important}
body.bookmarks-page .topic-row-v2:hover{transform:translateY(-1px);border-color:#71481f!important;background:linear-gradient(145deg,#2b1d11,#23170f)!important;box-shadow:0 12px 26px rgba(0,0,0,.18)!important}
body.bookmarks-page .saved-posts{gap:9px}
body.bookmarks-page .saved-post{position:relative;padding:14px 16px 14px 18px;border:1px solid #403024;border-radius:10px;background:linear-gradient(145deg,#241a12,#1e150e);overflow:hidden}
body.bookmarks-page .saved-post::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:3px;background:#a56cff}
body.bookmarks-page .saved-post strong{color:#f5eadd;font-size:12px}
body.bookmarks-page .saved-post small{display:block;margin-top:4px;color:#a08362;font-size:9px}
body.bookmarks-page .saved-post p{margin:8px 0 0;color:#ad987f;font-size:10.5px;line-height:1.5}
body.bookmarks-page .saved-post:hover{transform:translateY(-1px);border-color:#66428a;background:linear-gradient(145deg,#291b13,#21160f);box-shadow:0 12px 26px rgba(0,0,0,.18)}

/* Apps */
body.apps-page .simple-module{position:relative;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px 30px!important;border:1px solid #443123!important;border-radius:13px!important;background:radial-gradient(circle at 50% 0,rgba(105,68,160,.16),transparent 34%),linear-gradient(145deg,#251a11,#1c140d)!important;box-shadow:0 20px 46px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.02);overflow:hidden;text-align:center}
body.apps-page .simple-module::before,body.apps-page .simple-module::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
body.apps-page .simple-module::before{width:280px;height:280px;right:-100px;top:-120px;border:1px solid rgba(170,112,255,.10);box-shadow:0 0 0 34px rgba(170,112,255,.025),0 0 0 70px rgba(170,112,255,.015)}
body.apps-page .simple-module::after{width:220px;height:220px;left:-100px;bottom:-130px;border:1px solid rgba(255,151,25,.07);box-shadow:0 0 0 34px rgba(255,151,25,.018)}
body.apps-page .simple-module .giant-icon{position:relative;z-index:1;width:76px;height:76px;display:grid;place-items:center;margin:0 0 17px;border:1px solid #68429b;border-radius:17px;background:linear-gradient(145deg,#3b2359,#261839);color:#cb9cff!important;font-size:33px;box-shadow:0 14px 34px rgba(58,33,91,.28),inset 0 1px rgba(255,255,255,.05)}
body.apps-page .simple-module h2{position:relative;z-index:1;margin:0 0 8px;font-size:27px!important;color:#fff3e6!important;letter-spacing:-.035em}
body.apps-page .simple-module p{position:relative;z-index:1;max-width:620px!important;margin:0 auto 8px!important;color:#9e8264!important;font-size:11px;line-height:1.65}
body.apps-page .simple-module p.muted{margin-top:6px!important;padding:8px 11px;border:1px solid #3f3025;border-radius:7px;background:#1b130d;color:#786550!important;font-size:9.5px}

@media(max-width:980px){
  body.following-page .follow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.shop-page .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.album-page .album-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  body.module-polish-page .page-shell{width:calc(100% - 16px);padding-top:14px}
  body.module-polish-page .section-heading{grid-template-columns:44px minmax(0,1fr);padding:14px;gap:11px}
  body.module-polish-page .section-icon{width:42px;height:42px;border-radius:9px;font-size:18px}
  body.module-polish-page .section-heading h1{font-size:23px}
  body.following-page .follow-grid,body.shop-page .shop-grid{grid-template-columns:1fr}
  body.chat-module-page .chat-scroll{height:330px}
  body.apps-page .simple-module{min-height:280px;padding:32px 18px!important}
}


/* ==== V2.137 · Inventory / auctions header action buttons ==== */
body.inventory-page .inv-actions,
body.marketplace-page .mp-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
body.inventory-page .inv-actions{padding-bottom:0!important}
body.inventory-page .inv-actions .economy-head-action,
body.marketplace-page .mp-head-actions .economy-head-action{
  box-sizing:border-box;
  min-width:136px;
  min-height:44px;
  padding:0 15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px;
  text-align:center;
  line-height:1!important;
  border:1px solid #553a22!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#302116 0%,#21170f 100%)!important;
  color:#f4e6d4!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.01em;
  text-decoration:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 18px rgba(0,0,0,.15)!important;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease,color .18s ease;
}
body.inventory-page .inv-actions .economy-head-action-icon,
body.marketplace-page .mp-head-actions .economy-head-action-icon{
  width:24px;
  height:24px;
  flex:0 0 24px;
  display:grid;
  place-items:center;
  border:1px solid #69471f;
  border-radius:7px;
  background:linear-gradient(180deg,#3b270f,#2b1c0c);
  color:#ffad35;
  font-size:12px;
  font-weight:950;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 14px rgba(255,150,20,.05);
}
body.inventory-page .inv-actions .economy-head-action-label,
body.marketplace-page .mp-head-actions .economy-head-action-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  white-space:nowrap;
  text-align:center;
}
body.inventory-page .inv-actions .economy-head-action:hover,
body.marketplace-page .mp-head-actions .economy-head-action:hover{
  transform:translateY(-1px)!important;
  border-color:#8d5a22!important;
  color:#fff8ef!important;
  background:linear-gradient(180deg,#3a2818 0%,#271a10 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 22px rgba(0,0,0,.2),0 0 0 1px rgba(255,155,31,.08)!important;
}
body.inventory-page .inv-actions .economy-head-action:hover .economy-head-action-icon,
body.marketplace-page .mp-head-actions .economy-head-action:hover .economy-head-action-icon{
  border-color:#9a621f;
  color:#ffc164;
  box-shadow:0 0 16px rgba(255,160,31,.12);
}
body.inventory-page .inv-actions .action-market,
body.marketplace-page .mp-head-actions .action-cards{min-width:154px}
@media(max-width:720px){
  body.inventory-page .inv-actions,
  body.marketplace-page .mp-head-actions{width:100%;justify-content:stretch}
  body.inventory-page .inv-actions .economy-head-action,
  body.marketplace-page .mp-head-actions .economy-head-action{flex:1 1 0;min-width:0}
}

/* V2.138 — Friends / Społeczność page redesign */
body.friends-page .page-shell{padding-top:26px}
body.friends-page .section-heading{margin-bottom:14px}
body.friends-page .friends-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
body.friends-page .friends-overview article{position:relative;display:flex;align-items:center;gap:12px;min-height:86px;padding:14px 15px;border:1px solid #49331f;border-radius:11px;background:linear-gradient(150deg,#291d12 0%,#21170f 100%);box-shadow:inset 0 1px rgba(255,255,255,.025),0 10px 26px rgba(0,0,0,.14);overflow:hidden;transition:.18s ease}
body.friends-page .friends-overview article::after{content:"";position:absolute;inset:auto -26px -50px auto;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(255,151,28,.08),transparent 68%);pointer-events:none}
body.friends-page .friends-overview article:hover{transform:translateY(-2px);border-color:#6b4724;background:linear-gradient(150deg,#302015,#25180f);box-shadow:0 13px 28px rgba(0,0,0,.2),0 0 0 1px rgba(255,151,28,.05)}
body.friends-page .friends-overview-icon{position:relative;z-index:1;width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border:1px solid #6f461d;border-radius:10px;background:linear-gradient(180deg,#3b260e,#2a1b0c);color:#ff9f27;font-size:18px;font-weight:950;box-shadow:inset 0 1px rgba(255,255,255,.04)}
body.friends-page .friends-overview .is-online .friends-overview-icon{border-color:#245d42;background:linear-gradient(180deg,#153a29,#10271d);color:#27d98a}
body.friends-page .friends-overview .has-requests .friends-overview-icon{border-color:#654327;background:linear-gradient(180deg,#392511,#28190c);color:#ffc268}
body.friends-page .friends-overview div{min-width:0;position:relative;z-index:1}
body.friends-page .friends-overview small{display:block;color:#96714a;font-size:8px;font-weight:950;letter-spacing:.15em;line-height:1}
body.friends-page .friends-overview strong{display:block;margin:4px 0 1px;color:#fff4e8;font-size:22px;line-height:1;font-weight:950}
body.friends-page .friends-overview p{margin:0;color:#796047;font-size:9px;line-height:1.35}
body.friends-page .friends-panel{margin-bottom:14px;border:1px solid #49331f;border-radius:12px;background:linear-gradient(180deg,#261a10,#21160e);box-shadow:inset 0 1px rgba(255,255,255,.025),0 13px 34px rgba(0,0,0,.14);overflow:hidden}
body.friends-page .friends-panel-head{min-height:76px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #3f2c1d;background:linear-gradient(180deg,#2d1f13,#271a10)}
body.friends-page .friends-panel-head>div>span{display:block;color:#ff9a22;font-size:8px;font-weight:950;letter-spacing:.15em}
body.friends-page .friends-panel-head h2{margin:3px 0 2px;color:#fff4e8;font-size:17px;line-height:1.15}
body.friends-page .friends-panel-head p{margin:0;color:#8d7051;font-size:10px;line-height:1.45}
body.friends-page .friends-panel-head>b{min-width:34px;height:34px;padding:0 9px;display:grid;place-items:center;border:1px solid #67431e;border-radius:9px;background:#21150b;color:#ffae3f;font-size:11px;box-shadow:inset 0 1px rgba(255,255,255,.03)}
body.friends-page .friends-request-list{display:grid;gap:8px;padding:12px}
body.friends-page .friends-request-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #403021;border-radius:9px;background:linear-gradient(180deg,#21170f,#1d140d);transition:.18s ease}
body.friends-page .friends-request-card:hover{border-color:#684624;background:linear-gradient(180deg,#281b11,#21160e);transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.18)}
body.friends-page .friends-person-copy{min-width:0}
body.friends-page .friends-person-copy>strong{display:block;margin-bottom:2px;color:#f6eadc;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.friends-page .friends-person-copy>span{display:block;color:#b08b62;font-size:9px;line-height:1.35}
body.friends-page .friends-person-copy>small{display:block;margin-top:4px;color:#745d46;font-size:8.5px}
body.friends-page .friends-person-copy>small.is-online{color:#2bd98b}
body.friends-page .friends-request-actions{display:flex;align-items:center;gap:7px}
body.friends-page .friends-request-actions .btn{min-height:32px;border-radius:7px;padding:0 11px;font-size:9px}
body.friends-page .friends-grid-v2138{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}
body.friends-page .friends-person-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 28px;align-items:center;gap:11px;min-height:74px;padding:11px 12px;border:1px solid #403021;border-radius:9px;background:linear-gradient(180deg,#21170f,#1d140d);transition:.18s ease;overflow:hidden}
body.friends-page .friends-person-card::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;border-radius:3px;background:linear-gradient(180deg,transparent,#ff971b,transparent);opacity:.3;transition:.18s ease}
body.friends-page .friends-person-card:hover{transform:translateY(-2px);border-color:#70491f;background:linear-gradient(180deg,#2a1c11,#21160e);box-shadow:0 13px 28px rgba(0,0,0,.2),0 0 0 1px rgba(255,151,28,.06)}
body.friends-page .friends-person-card:hover::before{opacity:1}
body.friends-page .friends-person-card>i{width:27px;height:27px;display:grid;place-items:center;border:1px solid #4d341f;border-radius:7px;background:#1b120b;color:#a77848;font-size:17px;font-style:normal;transition:.18s ease}
body.friends-page .friends-person-card:hover>i{border-color:#82531f;background:#2c1c0c;color:#ffac37;transform:translateX(2px)}
body.friends-page .friends-empty-state{min-height:230px;padding:34px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 50% 20%,rgba(255,151,28,.045),transparent 45%)}
body.friends-page .friends-empty-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:13px;border:1px solid #66441f;border-radius:16px;background:linear-gradient(145deg,#35230f,#25180d);color:#ff9c22;font-size:24px;box-shadow:0 12px 30px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.04)}
body.friends-page .friends-empty-state strong{color:#fff1e2;font-size:16px}
body.friends-page .friends-empty-state p{max-width:520px;margin:7px 0 5px;color:#927455;font-size:10.5px;line-height:1.55}
body.friends-page .friends-empty-state small{color:#6e583f;font-size:9px}
@media(max-width:780px){
  body.friends-page .friends-overview{grid-template-columns:1fr}
  body.friends-page .friends-grid-v2138{grid-template-columns:1fr}
  body.friends-page .friends-request-card{grid-template-columns:42px minmax(0,1fr)}
  body.friends-page .friends-request-actions{grid-column:1/-1;justify-content:flex-end;padding-top:2px}
}
@media(max-width:500px){
  body.friends-page .friends-panel-head{align-items:flex-start}
  body.friends-page .friends-panel-head p{max-width:250px}
  body.friends-page .friends-person-card{grid-template-columns:42px minmax(0,1fr) 26px;padding:10px}
}

/* ==== V2.139 · unified premium UI: badges / ranking / cards / inventory / auctions / messages / bugs / settings ==== */
body.badges-page .page-shell,
body.leaderboard-page .page-shell,
body.cards-page .page-shell,
body.inventory-page .page-shell,
body.marketplace-page .page-shell,
body.messages-page .page-shell,
body.bugboard-page .page-shell,
body.settings-page .page-shell{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
  padding-top:26px!important;
  padding-bottom:48px!important;
}

.dw-module-eyebrow{
  display:block;
  margin:0 0 5px;
  color:#d08a36;
  font-size:8.5px;
  line-height:1;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}

/* wspólny charakter dużych nagłówków modułów */
body.badges-page .badges-page-head,
body.leaderboard-page .lb-hero-v214,
body.cards-page .cards-collection-hero,
body.inventory-page .inv-head,
body.marketplace-page .mp-head,
body.messages-page .messages-hero,
body.bugboard-page .bug-hero,
body.settings-page .settings-title{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #4b3421!important;
  border-radius:14px!important;
  background:
    radial-gradient(circle at 0 0,rgba(255,151,24,.095),transparent 31%),
    radial-gradient(circle at 92% 15%,rgba(130,77,24,.07),transparent 28%),
    linear-gradient(145deg,#2a1d12 0%,#24180f 52%,#1f160f 100%)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.13),inset 0 1px rgba(255,255,255,.025)!important;
}
body.badges-page .badges-page-head::before,
body.leaderboard-page .lb-hero-v214::after,
body.cards-page .cards-collection-hero::before,
body.inventory-page .inv-head::before,
body.marketplace-page .mp-head::before,
body.messages-page .messages-hero::before,
body.bugboard-page .bug-hero::before,
body.settings-page .settings-title::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:2px;
  background:linear-gradient(90deg,#ff9418,rgba(255,148,24,.35) 36%,transparent 78%);
  pointer-events:none;
}

/* ODZNAKI */
body.badges-page .badges-back{margin:0 0 12px!important}
body.badges-page .badges-back a{
  display:inline-flex;align-items:center;gap:7px;padding:7px 10px;
  border:1px solid #3d2c1f;border-radius:8px;background:#20160f;color:#a98a66!important;
  font-size:10px!important;font-weight:800;transition:.18s ease;
}
body.badges-page .badges-back a:hover{border-color:#69441d;background:#2a1b0f;color:#f0c785!important}
body.badges-page .badges-page-head{padding:21px 22px!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:18px!important;margin-bottom:16px!important}
body.badges-page .badges-page-head .section-heading{gap:14px!important}
body.badges-page .badges-page-head .section-icon{
  width:52px!important;height:52px!important;border-radius:12px!important;
  background:linear-gradient(145deg,#3f280b,#2b1c0c)!important;border:1px solid #6e4517!important;
  color:#ffae3a!important;box-shadow:0 0 24px rgba(255,144,16,.1)!important;font-size:22px!important;
}
body.badges-page .badges-page-head .section-heading h1{margin:0 0 5px!important;font-size:30px!important;color:#fff4e8!important;letter-spacing:-.04em!important}
body.badges-page .badges-page-head .section-heading p{margin:0!important;max-width:760px!important;color:#a28664!important;font-size:11.5px!important;line-height:1.55!important}
body.badges-page .badges-total{
  width:190px!important;height:auto!important;min-height:74px!important;padding:12px 14px!important;
  border-radius:11px!important;border-color:#55401f!important;
  background:linear-gradient(145deg,#251a10,#1b130d)!important;
}
body.badges-page .badges-total>span{width:34px;height:34px;display:grid;place-items:center;border:1px solid #66451d;border-radius:9px;background:#30200e}
body.badges-page .achievement-sections{gap:13px!important}
body.badges-page .achievement-section{border-radius:12px!important;border-color:#443122!important;box-shadow:0 12px 26px rgba(0,0,0,.08)!important}
body.badges-page .achievement-section>header{min-height:72px!important;padding:12px 15px!important;background:linear-gradient(180deg,#2b1d12,#25190f)!important}
body.badges-page .achievement-section-title>span{width:38px!important;height:38px!important;border-radius:9px!important}
body.badges-page .achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;padding:12px!important}
body.badges-page .achievement-card{min-height:122px!important;padding:12px!important;grid-template-columns:46px minmax(0,1fr) auto!important;border-radius:10px!important;transition:.18s ease!important}
body.badges-page .achievement-card:hover{transform:translateY(-2px)!important;border-color:#624323!important;box-shadow:0 12px 26px rgba(0,0,0,.12)!important}
body.badges-page .achievement-icon{width:46px!important;height:46px!important;border-radius:10px!important;font-size:21px!important}

/* RANKING */
body.leaderboard-page .lb-hero-v214{padding:20px!important;margin-bottom:13px!important}
body.leaderboard-page .lb-hero-v214-icon{border-radius:12px!important;background:linear-gradient(145deg,#41270b,#2b1b0d)!important;border-color:#674117!important}
body.leaderboard-page .lb-hero-v214-stats>div{
  border-radius:10px!important;border-color:#493421!important;
  background:linear-gradient(145deg,#21170f,#1c140e)!important;box-shadow:inset 0 1px rgba(255,255,255,.02)!important;
}
body.leaderboard-page .lb-control-panel-v214,
body.leaderboard-page .lb-near-panel,
body.leaderboard-page .lb-podium-panel-v214,
body.leaderboard-page .lb-table-panel-v214{border-radius:12px!important;box-shadow:0 12px 28px rgba(0,0,0,.08)!important}
body.leaderboard-page .lb-control-panel-v214 .lb-control-block{border-radius:10px!important;background:#21170f!important;border-color:#3f2e21!important}
body.leaderboard-page .lb-table-body>a{border-radius:7px!important;margin:2px 5px!important;width:calc(100% - 10px)!important}
body.leaderboard-page .lb-table-body>a:hover{transform:translateX(2px)!important}
body.leaderboard-page .level-pill{background:linear-gradient(145deg,#3c2558,#261b39)!important;border:1px solid #684495!important;color:#c99cff!important;box-shadow:0 0 12px rgba(155,92,255,.08)!important}

/* KARTY KOLEKCJONERSKIE */
body.cards-page .cards-collection-hero{padding:21px 22px!important;margin-bottom:10px!important;border-color:#563b25!important}
body.cards-page .cards-collection-hero-icon{width:54px!important;height:54px!important;border-radius:12px!important;background:linear-gradient(145deg,#382248,#21152e)!important;border:1px solid #674187!important;color:#c99aff!important;box-shadow:0 0 28px rgba(173,95,255,.09)!important}
body.cards-page .cards-collection-eyebrow{color:#bc7be7!important}
body.cards-page .cards-collection-hero h1{font-size:30px!important;letter-spacing:-.04em!important;color:#fff4e8!important}
body.cards-page .cards-collection-hero p{max-width:760px!important;line-height:1.55!important;color:#a18869!important}
body.cards-page .cards-collection-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:12px!important}
body.cards-page .cards-collection-actions a{
  min-height:34px!important;padding:0 11px!important;display:inline-flex!important;align-items:center!important;
  border:1px solid #493320!important;border-radius:8px!important;background:#21170f!important;color:#d9bea0!important;font-size:9.5px!important;font-weight:850!important;
}
body.cards-page .cards-collection-actions a:hover{border-color:#744721!important;background:#2d1c0f!important;color:#ffc06a!important;transform:translateY(-1px)!important}
body.cards-page .cards-collection-total{border-radius:11px!important;background:linear-gradient(145deg,#261a11,#1b130d)!important;border-color:#4e3722!important}
body.cards-page .cards-rarity-strip{border-radius:10px!important;border:1px solid #3f2e21!important;background:#1e150f!important;padding:8px 10px!important}
body.cards-page .card-packs{border:1px solid #3e2d20!important;border-radius:12px!important;background:linear-gradient(180deg,#23180f,#1c140e)!important;padding:10px!important;margin:12px 0!important}
body.cards-page .card-pack,body.cards-page .card-market-link{border-radius:9px!important}
body.cards-page .page-shell>section.panel{border-radius:12px!important;overflow:hidden!important}
body.cards-page .collection-head{padding:14px 16px!important;background:linear-gradient(180deg,#2a1c11,#25180f)!important;border-bottom:1px solid #3d2c20!important}

/* EKWIPUNEK */
body.inventory-page .inv-head{padding:21px 22px!important;grid-template-columns:54px minmax(0,1fr) auto!important;gap:15px!important;margin-bottom:12px!important}
body.inventory-page .inv-icon{width:52px!important;height:52px!important;border-radius:12px!important;background:linear-gradient(145deg,#312b09,#211d0b)!important;border-color:#63580d!important;font-size:22px!important}
body.inventory-page .inv-head h1{margin:0!important;font-size:30px!important;color:#fff4e8!important;letter-spacing:-.04em!important}
body.inventory-page .inv-head p{margin:5px 0 0!important;color:#a18666!important;font-size:11.5px!important}
body.inventory-page .inv-balance{min-width:104px!important;justify-content:center!important;padding:10px 13px!important;border-radius:11px!important;border-color:#56451b!important;background:linear-gradient(145deg,#29220d,#1e190c)!important;box-shadow:0 0 22px rgba(255,213,0,.04)!important}
body.inventory-page .inv-nav-row{padding:7px 8px 7px 10px!important;margin-bottom:12px!important;border:1px solid #3e2d21!important;border-radius:11px!important;background:linear-gradient(180deg,#241a12,#1e160f)!important;align-items:center!important}
body.inventory-page .inv-tabs{gap:5px!important}
body.inventory-page .inv-tabs a{border:1px solid transparent!important;border-radius:8px!important;padding:9px 12px!important}
body.inventory-page .inv-tabs a.active{border-color:#6f4519!important;background:linear-gradient(180deg,#3a240c,#2c1c0c)!important;color:#ffc06a!important;box-shadow:inset 0 1px rgba(255,255,255,.03)!important}
body.inventory-page .inv-section{border-radius:12px!important;border-color:#423022!important;box-shadow:0 14px 30px rgba(0,0,0,.08)!important}
body.inventory-page .inv-section-title{padding:13px 14px!important;background:linear-gradient(180deg,#291c12,#231810)!important}
body.inventory-page .inv-pack-grid article{border-radius:10px!important;transition:.18s ease!important}
body.inventory-page .inv-pack-grid article:hover{border-color:#60401f!important;background:#281b10!important;transform:translateY(-1px)!important}
body.inventory-page .inv-empty{min-height:235px!important;background:radial-gradient(circle at 50% 36%,rgba(255,148,24,.05),transparent 34%)!important}

/* AUKCJE / MARKETPLACE */
body.marketplace-page .mp-head{padding:21px 22px!important;grid-template-columns:54px minmax(0,1fr) auto!important;gap:15px!important;margin-bottom:12px!important}
body.marketplace-page .mp-icon{width:52px!important;height:52px!important;border-radius:12px!important;background:linear-gradient(145deg,#3a240d,#25180d)!important;border:1px solid #69431c!important;color:#ffac36!important;font-size:21px!important}
body.marketplace-page .mp-head h1{margin:0!important;font-size:30px!important}
body.marketplace-page .mp-head p{margin:5px 0 0!important;font-size:11.5px!important;line-height:1.55!important}
body.marketplace-page .mp-toolbar{padding:9px 10px!important;margin-bottom:8px!important;border:1px solid #3e2d21!important;border-radius:11px!important;background:linear-gradient(180deg,#231910,#1e160f)!important}
body.marketplace-page .mp-meta{margin:8px 0 10px!important}
body.marketplace-page .mp-meta>span{border:1px solid #3d2d21!important;border-radius:8px!important;background:#20170f!important;padding:8px 10px!important}
body.marketplace-page .mp-empty{min-height:245px!important;border-radius:12px!important;border-color:#463322!important;background:radial-gradient(circle at 50% 38%,rgba(255,148,24,.05),transparent 35%),#21170f!important}
body.marketplace-page .mp-card{border-radius:12px!important}

/* WIADOMOŚCI */
body.messages-page .messages-hero{padding:18px 20px!important;margin-bottom:12px!important}
body.messages-page .messages-hero-copy{gap:13px!important}
body.messages-page .messages-hero-icon{width:50px!important;height:50px!important;border-radius:12px!important;background:linear-gradient(145deg,#3c280d,#281b0d)!important;border:1px solid #69451c!important;color:#ffae39!important;font-size:20px!important}
body.messages-page .messages-hero h2{margin:0!important;font-size:25px!important;color:#fff4e8!important;letter-spacing:-.035em!important}
body.messages-page .messages-hero p{margin:4px 0 0!important;color:#9e8262!important}
body.messages-page .messages-hero-stats>span{min-width:108px!important;padding:10px 13px!important;border-radius:10px!important;background:linear-gradient(145deg,#21170f,#1b130d)!important}
body.messages-page .messages-layout-v269{gap:12px!important}
body.messages-page .messages-inbox-card,body.messages-page .new-message-card{border-radius:12px!important;border-color:#423022!important;box-shadow:0 14px 28px rgba(0,0,0,.08)!important}
body.messages-page .messages-card-head{background:linear-gradient(180deg,#2a1d12,#241910)!important}
body.messages-page .message-row-v269{margin:0 5px!important;width:calc(100% - 10px)!important;border-radius:8px!important;border-bottom-color:#30241b!important}
body.messages-page .message-row-v269:hover{background:#291c12!important;transform:translateX(2px)!important}

/* PUBLICZNA TABLICA BŁĘDÓW */
body.bugboard-page .bug-hero{padding:20px 22px!important;margin-bottom:10px!important}
body.bugboard-page .bug-kicker{border-radius:999px!important;padding:5px 9px!important;background:#34210d!important;border-color:#634019!important;color:#ffac38!important}
body.bugboard-page .bug-hero h1{margin:8px 0 4px!important;font-size:29px!important;letter-spacing:-.04em!important;color:#fff4e8!important}
body.bugboard-page .bug-hero p{max-width:780px!important;color:#a18564!important;font-size:11.5px!important;line-height:1.55!important}
body.bugboard-page .bug-create>summary{border:1px solid #88551b!important;border-radius:9px!important;box-shadow:0 8px 20px rgba(0,0,0,.12)!important}
body.bugboard-page .bug-stats{gap:8px!important;margin:0 0 12px!important}
body.bugboard-page .bug-stats>div{border-radius:10px!important;border-color:#3e2d21!important;background:linear-gradient(145deg,#23190f,#1d150e)!important;transition:.18s ease!important}
body.bugboard-page .bug-stats>div:hover{border-color:#60411f!important;transform:translateY(-1px)!important}
body.bugboard-page .bug-list-head{padding:10px 11px!important;margin:0 0 8px!important;border:1px solid #3d2d20!important;border-radius:10px!important;background:#21170f!important}
body.bugboard-page .bug-list-head nav a{border-radius:7px!important}
body.bugboard-page .bug-list article{border-radius:10px!important;background:linear-gradient(145deg,#241a12,#20170f)!important;box-shadow:0 8px 18px rgba(0,0,0,.05)!important}
body.bugboard-page .bug-list article:hover{transform:translateY(-1px)!important;border-color:#5d4024!important}

/* USTAWIENIA KONTA */
body.settings-page .settings-title{padding:18px 20px!important;margin:0 0 10px!important;gap:13px!important}
body.settings-page .settings-back{
  width:42px!important;height:42px!important;display:grid!important;place-items:center!important;
  border:1px solid #5b3b1a!important;border-radius:10px!important;background:#2d1d0e!important;color:#ffad39!important;font-size:17px!important;
}
body.settings-page .settings-title h1{margin:0!important;font-size:27px!important;color:#fff4e8!important;letter-spacing:-.04em!important}
body.settings-page .settings-title p{margin:4px 0 0!important;color:#9d8060!important;font-size:11px!important}
body.settings-page .settings-top-tabs{
  display:flex!important;gap:6px!important;padding:7px!important;margin-bottom:12px!important;
  border:1px solid #3d2d20!important;border-radius:11px!important;background:linear-gradient(180deg,#241a11,#1d150e)!important;
  overflow-x:auto!important;
}
body.settings-page .settings-top-tabs a{min-height:38px!important;border:1px solid transparent!important;border-radius:8px!important;padding:0 12px!important;white-space:nowrap!important}
body.settings-page .settings-top-tabs a:hover{background:#2a1c10!important;border-color:#4d351d!important}
body.settings-page .settings-top-tabs a.active{background:linear-gradient(180deg,#3a240d,#2c1c0c)!important;border-color:#6d4519!important;color:#ffbd5c!important;box-shadow:inset 0 1px rgba(255,255,255,.03)!important}
body.settings-page .settings-content{display:grid!important;gap:10px!important}
body.settings-page .settings-card{
  border-radius:12px!important;border-color:#423022!important;
  background:linear-gradient(145deg,#241a12,#1e160f)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.07)!important;
}
body.settings-page .settings-card-head{padding-bottom:11px!important;margin-bottom:12px!important;border-bottom:1px solid #39291e!important}
body.settings-page .settings-card-head h2{color:#f5e8d9!important;letter-spacing:-.015em!important}
body.settings-page .profile-field-block{border-radius:9px!important;border-color:#3e2d20!important;background:#1b140e!important;padding:11px!important}
body.settings-page input,body.settings-page textarea,body.settings-page select{border-radius:8px!important}

@media(max-width:1080px){
  body.badges-page .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.inventory-page .inv-head,body.marketplace-page .mp-head{grid-template-columns:52px minmax(0,1fr)!important}
  body.inventory-page .inv-balance,body.marketplace-page .mp-head-actions{grid-column:1/-1!important;justify-self:stretch!important}
}
@media(max-width:720px){
  body.badges-page .page-shell,body.leaderboard-page .page-shell,body.cards-page .page-shell,body.inventory-page .page-shell,body.marketplace-page .page-shell,body.messages-page .page-shell,body.bugboard-page .page-shell,body.settings-page .page-shell{width:calc(100% - 14px)!important;padding-top:16px!important}
  body.badges-page .badges-page-head{grid-template-columns:1fr!important;padding:16px!important}
  body.badges-page .badges-total{width:100%!important;justify-self:stretch!important}
  body.badges-page .achievement-grid{grid-template-columns:1fr!important}
  body.cards-page .cards-collection-hero,body.inventory-page .inv-head,body.marketplace-page .mp-head,body.messages-page .messages-hero,body.bugboard-page .bug-hero,body.settings-page .settings-title{padding:15px!important}
  body.inventory-page .inv-nav-row{align-items:stretch!important;flex-direction:column!important;gap:7px!important}
  body.inventory-page .inv-tabs{overflow-x:auto!important}
  body.bugboard-page .bug-list-head{align-items:flex-start!important;flex-direction:column!important;gap:9px!important}
  body.bugboard-page .bug-list-head nav{width:100%!important;overflow-x:auto!important}
}

/* ==== V2.141 · topic rows closer to reference + bottom cookies bar ==== */
body.forum-category-page .topic-list-with-previews,
body.threads-page .topic-list-with-previews{
  display:grid;
  gap:9px;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2,
body.threads-page .topic-list-with-previews .topic-row-v2{
  position:relative;
  grid-template-columns:64px minmax(0,1fr) 92px 98px 176px!important;
  min-height:78px!important;
  padding:10px 14px!important;
  gap:13px!important;
  align-items:center;
  border:1px solid #3d2d20!important;
  border-radius:5px!important;
  background:linear-gradient(180deg,#24190f 0%,#21170f 100%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018),0 5px 14px rgba(0,0,0,.08)!important;
  overflow:hidden;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2::before,
body.threads-page .topic-list-with-previews .topic-row-v2::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:2px;
  background:#ff9419;
  opacity:0;
  transform:none!important;
  transition:opacity .18s ease,width .18s ease;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:hover,
body.threads-page .topic-list-with-previews .topic-row-v2:hover{
  transform:translateY(-1px)!important;
  border-color:#63421f!important;
  background:linear-gradient(180deg,#2a1d11 0%,#25190f 100%)!important;
  box-shadow:0 9px 24px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.025)!important;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:hover::before,
body.threads-page .topic-list-with-previews .topic-row-v2:hover::before{opacity:1;width:3px}

body.forum-category-page .topic-list-with-previews .topic-thumb-media,
body.threads-page .topic-list-with-previews .topic-thumb-media{
  width:50px!important;
  min-width:50px!important;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-square,
body.threads-page .topic-list-with-previews .topic-thumb-square{
  width:42px!important;
  height:42px!important;
  border-radius:6px!important;
  border:1px solid #55402c!important;
  background:#17110c!important;
  box-shadow:0 3px 10px rgba(0,0,0,.24)!important;
  overflow:visible!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-square img,
body.threads-page .topic-list-with-previews .topic-thumb-square img{
  width:100%!important;height:100%!important;object-fit:cover!important;border-radius:5px!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-square::before,
body.threads-page .topic-list-with-previews .topic-thumb-square::before{
  content:"";
  position:absolute;
  right:-4px;bottom:-3px;
  width:9px;height:9px;
  border-radius:50%;
  border:2px solid #21170f;
  background:#8f816f;
  z-index:3;
  box-sizing:border-box;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:hover .topic-thumb-square,
body.threads-page .topic-list-with-previews .topic-row-v2:hover .topic-thumb-square{
  transform:translateY(-1px)!important;
  border-color:#8c5925!important;
  box-shadow:0 6px 16px rgba(0,0,0,.28),0 0 0 2px rgba(255,148,25,.045)!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-preview,
body.threads-page .topic-list-with-previews .topic-thumb-preview{width:42px!important;height:42px!important}
body.forum-category-page .topic-list-with-previews .topic-thumb-preview::after,
body.threads-page .topic-list-with-previews .topic-thumb-preview::after{border-radius:5px!important}
body.forum-category-page .topic-list-with-previews .topic-thumb-empty,
body.threads-page .topic-list-with-previews .topic-thumb-empty{display:grid!important;place-items:center!important}
body.forum-category-page .topic-list-with-previews .topic-thumb-fallback,
body.threads-page .topic-list-with-previews .topic-thumb-fallback{font-size:14px!important;color:#ff9b1d!important}

body.forum-category-page .topic-list-with-previews .topic-main,
body.threads-page .topic-list-with-previews .topic-main{min-width:0;display:flex;flex-direction:column;justify-content:center}
body.forum-category-page .topic-list-with-previews .topic-title-line,
body.threads-page .topic-list-with-previews .topic-title-line{display:flex;align-items:center;gap:8px;min-width:0}
body.forum-category-page .topic-list-with-previews .topic-title-line::before,
body.threads-page .topic-list-with-previews .topic-title-line::before{
  content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#f58a18;box-shadow:0 0 10px rgba(245,138,24,.22)
}
body.forum-category-page .topic-list-with-previews .topic-title-line strong,
body.threads-page .topic-list-with-previews .topic-title-line strong{
  color:#f7f2e9!important;font-size:14.5px!important;line-height:1.22!important;font-weight:850!important;letter-spacing:-.012em!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:hover .topic-title-line strong,
body.threads-page .topic-list-with-previews .topic-row-v2:hover .topic-title-line strong{color:#ff9d20!important}
body.forum-category-page .topic-list-with-previews .topic-byline,
body.threads-page .topic-list-with-previews .topic-byline{
  margin-top:5px!important;gap:6px!important;color:#8e7254!important;font-size:10.5px!important;line-height:1.25!important
}
body.forum-category-page .topic-list-with-previews .topic-byline>b,
body.threads-page .topic-list-with-previews .topic-byline>b{font-weight:800!important}
body.forum-category-page .topic-list-with-previews .topic-level-chip,
body.threads-page .topic-list-with-previews .topic-level-chip{
  min-width:22px!important;height:18px!important;padding:0 6px!important;border-radius:4px!important;
  color:#e6d8ff!important;background:linear-gradient(180deg,#5a35a2,#3e2477)!important;border:1px solid #7757c4!important;
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 0 10px rgba(111,77,188,.12)!important;font-size:9px!important
}
body.forum-category-page .topic-list-with-previews .topic-tags,
body.threads-page .topic-list-with-previews .topic-tags{margin-top:5px!important;gap:5px!important}
body.forum-category-page .topic-list-with-previews .topic-tags span,
body.threads-page .topic-list-with-previews .topic-tags span{
  padding:3px 7px!important;border-radius:999px!important;background:#20160f!important;border-color:#49331f!important;color:#a98a65!important;font-size:8.5px!important
}
body.forum-category-page .topic-list-with-previews .topic-stat,
body.threads-page .topic-list-with-previews .topic-stat{gap:2px!important}
body.forum-category-page .topic-list-with-previews .topic-stat b,
body.threads-page .topic-list-with-previews .topic-stat b{font-size:13px!important;color:#fff!important;line-height:1!important}
body.forum-category-page .topic-list-with-previews .topic-stat span,
body.threads-page .topic-list-with-previews .topic-stat span{font-size:8px!important;color:#8c6c44!important;letter-spacing:.12em!important;font-weight:800!important}
body.forum-category-page .topic-list-with-previews .topic-last,
body.threads-page .topic-list-with-previews .topic-last{
  min-width:0!important;padding-left:15px!important;border-left:1px solid #3c2a1c!important;gap:9px!important
}
body.forum-category-page .topic-list-with-previews .topic-last .avatar-xs,
body.threads-page .topic-list-with-previews .topic-last .avatar-xs{width:30px!important;height:30px!important;border-radius:50%!important;border:1px solid #59402b!important}
body.forum-category-page .topic-list-with-previews .topic-last strong,
body.threads-page .topic-list-with-previews .topic-last strong{font-size:11.5px!important}
body.forum-category-page .topic-list-with-previews .topic-last small,
body.threads-page .topic-list-with-previews .topic-last small{margin-top:2px!important;font-size:9px!important;color:#8a6d4d!important}

@media(max-width:980px){
  body.forum-category-page .topic-list-with-previews .topic-row-v2,
  body.threads-page .topic-list-with-previews .topic-row-v2{grid-template-columns:58px minmax(0,1fr) 78px 82px!important}
  body.forum-category-page .topic-list-with-previews .topic-last,
  body.threads-page .topic-list-with-previews .topic-last{display:none!important}
}
@media(max-width:720px){
  body.forum-category-page .topic-list-with-previews .topic-row-v2,
  body.threads-page .topic-list-with-previews .topic-row-v2{grid-template-columns:52px minmax(0,1fr) 70px!important;padding:10px!important}
  body.forum-category-page .topic-list-with-previews .topic-stat:last-of-type,
  body.threads-page .topic-list-with-previews .topic-stat:last-of-type{display:none!important}
}
@media(max-width:560px){
  body.forum-category-page .topic-list-with-previews .topic-row-v2,
  body.threads-page .topic-list-with-previews .topic-row-v2{grid-template-columns:48px minmax(0,1fr)!important;gap:9px!important}
  body.forum-category-page .topic-list-with-previews .topic-stat,
  body.threads-page .topic-list-with-previews .topic-stat{display:none!important}
}

.consent-banner.consent-banner-v2141{
  position:fixed!important;
  left:0!important;right:0!important;bottom:0!important;
  width:100%!important;
  max-width:none!important;
  transform:none!important;
  z-index:260!important;
  padding:0!important;
  border:0!important;
  border-top:1px solid #6e4a27!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(35,24,15,.985),rgba(24,16,10,.995))!important;
  box-shadow:0 -18px 55px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.025)!important;
  backdrop-filter:blur(14px);
}
.consent-banner-v2141 .consent-banner-inner{
  width:min(1160px,calc(100% - 34px));
  margin:0 auto;
  min-height:92px;
  padding:16px 0;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
}
.consent-banner-v2141 .consent-banner-icon{
  width:44px;height:44px;border-radius:10px;display:grid;place-items:center;
  color:#ff9a20;font-size:23px;font-weight:900;
  border:1px solid #70481f;background:linear-gradient(145deg,#30200f,#20160e);
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 0 22px rgba(255,145,19,.07);
}
.consent-banner-v2141 .consent-banner-copy strong{
  display:block;color:#f7eee4;font-size:14px;font-weight:900;letter-spacing:-.01em
}
.consent-banner-v2141 .consent-banner-copy p{
  margin:5px 0 0!important;color:#b39470!important;font-size:11px!important;line-height:1.55!important;max-width:760px
}
.consent-banner-v2141 .consent-banner-copy small{
  display:block;margin-top:4px;color:#765f47;font-size:9.5px;line-height:1.4
}
.consent-banner-v2141 .consent-banner-actions{display:flex;align-items:center;gap:8px!important;flex:none}
.consent-banner-v2141 .consent-banner-actions .btn{
  min-height:38px;padding:0 15px;border-radius:7px;font-size:10px;font-weight:850;white-space:nowrap
}
.consent-banner-v2141 .consent-banner-actions .btn-muted{border-color:#513a27;background:#21170f;color:#c4aa8a}
.consent-banner-v2141 .consent-banner-actions .btn-muted:hover{border-color:#78512a;background:#2a1c11;color:#f0ddc5}
.consent-banner-v2141 .consent-banner-actions .btn-primary{box-shadow:0 6px 20px rgba(255,139,16,.10)}
@media(max-width:820px){
  .consent-banner-v2141 .consent-banner-inner{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:14px 0}
  .consent-banner-v2141 .consent-banner-actions{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr;width:100%}
}
@media(max-width:520px){
  .consent-banner-v2141 .consent-banner-inner{width:min(100% - 22px,1160px);grid-template-columns:1fr}
  .consent-banner-v2141 .consent-banner-icon{display:none}
  .consent-banner-v2141 .consent-banner-actions{grid-template-columns:1fr!important}
}


/* V2.142 — registration anti-bot question */
body.auth-page .auth-security-question{
  position:relative;
  grid-column:1/-1;
  padding:14px 15px 15px;
  border:1px solid rgba(93,68,39,.82);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(45,30,18,.94),rgba(28,18,11,.96));
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 9px 24px rgba(0,0,0,.10);
}
body.auth-page .auth-security-question::before{
  content:"";position:absolute;left:-1px;top:12px;bottom:12px;width:2px;border-radius:3px;background:linear-gradient(#ff9d22,#bd6714);box-shadow:0 0 12px rgba(255,137,0,.18);
}
body.auth-page .auth-security-question .auth-security-kicker{display:block;color:#ff9a1d;font-size:9px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}
body.auth-page .auth-security-question strong{display:block;color:#f8eee4;font-size:13px;line-height:1.25}
body.auth-page .auth-security-question small{display:block;color:#927251;font-size:10px;font-weight:600;line-height:1.4;margin-top:-2px}
body.auth-page .auth-security-question input{margin-top:3px}

/* ==== V2.143 · topic row thumbnail alignment + square avatars + neutral hover ==== */
body.forum-category-page .topic-list-with-previews .topic-row-v2,
body.threads-page .topic-list-with-previews .topic-row-v2{
  background:linear-gradient(180deg,#24190f 0%,#21170f 100%)!important;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:hover,
body.threads-page .topic-list-with-previews .topic-row-v2:hover{
  transform:none!important;
  background:linear-gradient(180deg,#24190f 0%,#21170f 100%)!important;
  border-color:#584024!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018),0 5px 14px rgba(0,0,0,.08)!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-media,
body.threads-page .topic-list-with-previews .topic-thumb-media{
  width:50px!important;
  min-width:50px!important;
  min-height:50px!important;
  height:100%!important;
  align-self:stretch!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-square,
body.threads-page .topic-list-with-previews .topic-thumb-square,
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image,
body.threads-page .topic-list-with-previews .topic-thumb-avatar.has-image,
body.forum-category-page .topic-list-with-previews .topic-thumb-preview,
body.threads-page .topic-list-with-previews .topic-thumb-preview{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  border-radius:5px!important;
  overflow:hidden!important;
  align-self:center!important;
  margin:0!important;
  top:auto!important;
  transform:none!important;
  border:1px solid #5a4027!important;
  background:#17110c!important;
  box-shadow:0 4px 12px rgba(0,0,0,.22)!important;
}
body.forum-category-page .topic-list-with-previews .topic-thumb-square img,
body.threads-page .topic-list-with-previews .topic-thumb-square img,
body.forum-category-page .topic-list-with-previews .topic-thumb-avatar.has-image img,
body.threads-page .topic-list-with-previews .topic-thumb-avatar.has-image img,
body.forum-category-page .topic-list-with-previews .topic-thumb-preview img,
body.threads-page .topic-list-with-previews .topic-thumb-preview img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  border:0!important;
  border-radius:4px!important;
  margin:0!important;
  transform:none!important;
  box-shadow:none!important;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:hover .topic-thumb-square,
body.threads-page .topic-list-with-previews .topic-row-v2:hover .topic-thumb-square,
body.forum-category-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar.has-image,
body.threads-page .topic-list-with-previews .topic-row-v2:not(.topic-row-has-preview):hover .topic-thumb-avatar.has-image,
body.forum-category-page .topic-list-with-previews .topic-row-has-preview:hover .topic-thumb-preview,
body.threads-page .topic-list-with-previews .topic-row-has-preview:hover .topic-thumb-preview{
  transform:none!important;
  background:#17110c!important;
  border-color:#76512c!important;
  box-shadow:0 4px 12px rgba(0,0,0,.22),0 0 0 1px rgba(255,148,25,.035)!important;
  filter:none!important;
}
body.forum-category-page .topic-list-with-previews .topic-row-v2:hover .topic-thumb-square img,
body.threads-page .topic-list-with-previews .topic-row-v2:hover .topic-thumb-square img,
body.forum-category-page .topic-list-with-previews .topic-row-has-preview:hover .topic-thumb-preview img,
body.threads-page .topic-list-with-previews .topic-row-has-preview:hover .topic-thumb-preview img{
  transform:none!important;
  filter:none!important;
}


/* V2.144 — auth checkboxes: no slider switches */
body.auth-page .auth-form .auth-check-row{
  position:relative;
  display:flex!important;
  align-items:center;
  gap:10px;
  min-height:38px;
  margin:0!important;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:7px;
  color:#b79670!important;
  font-size:10.5px;
  line-height:1.45;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
body.auth-page .auth-form .auth-check-row:hover{
  border-color:rgba(119,79,39,.34);
  background:rgba(74,45,22,.18);
  color:#ddc5aa!important;
}
body.auth-page .auth-form .auth-check-row>input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none;
  margin:0!important;
}
body.auth-page .auth-form .auth-check-box{
  width:17px;
  height:17px;
  flex:0 0 17px;
  display:grid;
  place-items:center;
  border:1px solid #654424;
  border-radius:4px;
  background:#181009;
  box-shadow:inset 0 1px rgba(255,255,255,.025);
  transition:.16s ease;
}
body.auth-page .auth-form .auth-check-box::after{
  content:"✓";
  color:#1a0d02;
  font-size:12px;
  font-weight:1000;
  line-height:1;
  opacity:0;
  transform:scale(.6);
  transition:.14s ease;
}
body.auth-page .auth-form .auth-check-row>input[type="checkbox"]:checked + .auth-check-box{
  border-color:#ffa024;
  background:linear-gradient(180deg,#ffa11f,#ff8300);
  box-shadow:0 0 0 3px rgba(255,139,0,.08),0 0 14px rgba(255,131,0,.12);
}
body.auth-page .auth-form .auth-check-row>input[type="checkbox"]:checked + .auth-check-box::after{
  opacity:1;
  transform:scale(1);
}
body.auth-page .auth-form .auth-check-row>input[type="checkbox"]:focus-visible + .auth-check-box{
  outline:2px solid #ffae43;
  outline-offset:3px;
}
body.auth-page .auth-form .auth-check-copy{
  min-width:0;
  display:inline;
}
body.auth-page .auth-form .auth-check-copy a{
  margin-left:3px;
  color:#ff9f22!important;
  font-weight:850;
}
body.auth-page .auth-form .auth-check-copy a:hover{text-decoration:underline}

/* V2.146 — badges earned counter alignment fix */
body.badges-page .badges-total{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  row-gap:2px!important;
  align-items:center!important;
  overflow:hidden!important;
}
body.badges-page .badges-total>span{
  grid-column:1!important;
  grid-row:1 / 3!important;
  width:38px!important;
  height:38px!important;
  margin:0!important;
  align-self:center!important;
  justify-self:start!important;
  line-height:1!important;
}
body.badges-page .badges-total>small{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  margin:0!important;
  min-width:0!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.badges-page .badges-total>strong{
  grid-column:2!important;
  grid-row:2!important;
  display:flex!important;
  align-items:baseline!important;
  gap:4px!important;
  margin:0!important;
  min-width:0!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
body.badges-page .badges-total>strong i{margin:0!important;white-space:nowrap!important}
@media(max-width:680px){
  body.badges-page .badges-total{grid-template-columns:42px minmax(0,1fr)!important}
}

/* =====================================================================
   V2.147 · forum category search — fix overlapping controls
   ===================================================================== */
body.forum-category-page .forum-list-tools{
  align-items:center;
}
body.forum-category-page .forum-search-form{
  position:relative!important;
  flex:0 0 auto;
  overflow:visible;
}
body.forum-category-page .forum-search-form .forum-search-toggle{
  position:absolute!important;
  left:0!important;
  right:auto!important;
  top:0!important;
  margin:0!important;
  z-index:4;
}
body.forum-category-page .forum-search-form.is-open .forum-search-toggle{
  border-radius:7px 0 0 7px;
  border-right-color:#3d2a1b;
}
body.forum-category-page .forum-search-form .forum-search-slide{
  position:absolute!important;
  inset:0 auto auto 0!important;
  width:100%!important;
  min-width:0!important;
  padding:0 0 0 46px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  box-sizing:border-box!important;
}
body.forum-category-page .forum-search-form .forum-search-slide input{
  flex:1 1 auto!important;
  width:0!important;
  min-width:0!important;
  margin:0!important;
}
body.forum-category-page .forum-search-form .forum-search-submit{
  position:static!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:72px!important;
  margin:0!important;
  white-space:nowrap!important;
}
body.forum-category-page .forum-search-form .forum-search-reset{
  position:static!important;
  flex:0 0 32px!important;
  margin:0!important;
}
@media(max-width:760px){
  body.forum-category-page .forum-list-toolbar{align-items:stretch;flex-direction:column}
  body.forum-category-page .forum-list-tools{width:100%;flex-wrap:wrap}
  body.forum-category-page .forum-search-form.is-open{width:100%!important;max-width:100%!important}
  body.forum-category-page .forum-search-form.is-open .forum-search-slide{width:100%!important}
  body.forum-category-page .forum-search-form .forum-search-submit{min-width:64px!important;padding-inline:10px!important}
}

/* V2.149 — Edytuj post: spójny panel DarkW.eu */
body.edit-post-page .page-shell{width:min(1180px,calc(100% - 34px));padding-top:28px}
body.edit-post-page .edit-post-wrap{max-width:1000px;margin:0 auto}
body.edit-post-page .edit-post-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 13px;padding:7px 10px;border:1px solid #45301e;border-radius:7px;background:#1d140d;color:#a98b67;font-size:11px;font-weight:800;transition:.18s ease}
body.edit-post-page .edit-post-back span{color:#f59a21;font-size:14px}
body.edit-post-page .edit-post-back:hover{border-color:#795027;background:#26190f;color:#f0d3ad;transform:translateX(-2px)}
body.edit-post-page .edit-post-hero{min-height:108px;display:flex;align-items:center;gap:16px;padding:18px 20px;margin-bottom:15px;border:1px solid #59391f;border-top-color:#8a531f;border-radius:12px;background:radial-gradient(circle at 92% 12%,#8b4e1618 0,transparent 31%),linear-gradient(135deg,#2a1b11,#21160e 72%,#24170d);box-shadow:inset 0 1px #ffffff08,0 16px 34px #00000020;position:relative;overflow:hidden}
body.edit-post-page .edit-post-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#ffad32,#d86a00)}
body.edit-post-page .edit-post-hero-icon{width:52px;height:52px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;border:1px solid #80501f;background:linear-gradient(145deg,#4b2b0c,#2d1c0d);color:#ff9b17;font-size:22px;box-shadow:inset 0 1px #ffbf4a22,0 8px 22px #0004}
body.edit-post-page .edit-post-hero-copy{min-width:0;flex:1}
body.edit-post-page .edit-post-hero-copy>span{display:block;color:#d88a35;font-size:9px;font-weight:950;letter-spacing:.16em;margin-bottom:3px}
body.edit-post-page .edit-post-hero h1{margin:0;color:#f6eee5;font-size:27px;line-height:1.1;letter-spacing:-.6px}
body.edit-post-page .edit-post-hero h1 em{font-style:normal;color:#ff9716}
body.edit-post-page .edit-post-hero p{margin:6px 0 0;color:#947859;font-size:11px;line-height:1.55}
body.edit-post-page .edit-post-history-badge{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:10px 12px;border:1px solid #4b3521;border-radius:9px;background:#1b120c;color:#aa8964}
body.edit-post-page .edit-post-history-badge>b{width:30px;height:30px;display:grid;place-items:center;border:1px solid #69451f;border-radius:7px;background:#32200f;color:#f0a13d;font-size:15px}
body.edit-post-page .edit-post-history-badge span{font-size:10px;font-weight:800;white-space:nowrap}
body.edit-post-page .edit-post-history-badge small{display:block;color:#7d654b;font-size:8px;letter-spacing:.13em;margin-bottom:2px}
body.edit-post-page .edit-post-form{display:grid;gap:14px}
body.edit-post-page .edit-post-card{border:1px solid #49311f;border-radius:12px;background:linear-gradient(180deg,#281a10,#21160e);box-shadow:inset 0 1px #ffffff06;overflow:hidden}
body.edit-post-page .edit-post-section-head{display:flex;align-items:center;gap:11px;padding:13px 15px;border-bottom:1px solid #412b1b;background:linear-gradient(180deg,#2d1e12,#281a10)}
body.edit-post-page .edit-post-section-head>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #75481e;border-radius:8px;background:#3a240f;color:#efa343;font-size:10px;font-weight:950}
body.edit-post-page .edit-post-section-head strong{display:block;color:#f4eadf;font-size:13px;line-height:1.2}
body.edit-post-page .edit-post-section-head small{display:block;margin-top:3px;color:#876d51;font-size:10px}
body.edit-post-page .edit-post-editor-shell{padding:14px}
body.edit-post-page .edit-post-editor-shell .editor-toolbar-v28{min-height:48px;padding:7px 9px;border:1px solid #4c321e;border-bottom:0;border-radius:9px 9px 0 0;background:#24180e}
body.edit-post-page .edit-post-editor-shell .editor-tools-main{display:flex;flex-wrap:wrap;gap:5px}
body.edit-post-page .edit-post-editor-shell .editor-tools-main button{width:32px;height:31px;display:grid;place-items:center;border:1px solid #46301e;border-radius:6px;background:#2c1d11;color:#b99a76;transition:.16s ease}
body.edit-post-page .edit-post-editor-shell .editor-tools-main button:hover{border-color:#805020;background:#3a240f;color:#ffad48;transform:translateY(-1px)}
body.edit-post-page .edit-post-autosave{margin-left:auto;color:#7d654b;font-size:9px;white-space:nowrap}
body.edit-post-page .edit-post-autosave b{color:#4dd795}
body.edit-post-page .edit-post-editor-shell textarea[data-editor]{display:block;width:100%;min-height:360px;resize:vertical;border:1px solid #4c321e;border-radius:0 0 9px 9px;background:#160e08;color:#eee3d7;padding:16px 17px;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;outline:0;box-shadow:inset 0 1px 12px #0004}
body.edit-post-page .edit-post-editor-shell textarea[data-editor]:focus{border-color:#865422;box-shadow:inset 0 1px 12px #0004,0 0 0 2px #ff920012}
body.edit-post-page .edit-post-reason-card{padding-bottom:14px}
body.edit-post-page .edit-post-reason{display:grid;gap:7px;padding:14px 15px 0;color:#b79873;font-size:10px;font-weight:800}
body.edit-post-page .edit-post-reason input{height:44px;width:100%;border:1px solid #49311f;border-radius:8px;background:#180f09;color:#eee4da;padding:0 13px;outline:0}
body.edit-post-page .edit-post-reason input:focus{border-color:#865422;box-shadow:0 0 0 2px #ff920012}
body.edit-post-page .edit-post-reason input::placeholder{color:#674f3a}
body.edit-post-page .edit-post-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding-top:2px}
body.edit-post-page .edit-post-actions .btn{min-height:42px;border-radius:8px;padding:0 16px;font-size:11px}
body.edit-post-page .edit-post-actions .btn-primary{min-width:150px;box-shadow:0 7px 20px #b45a002b}
@media(max-width:760px){body.edit-post-page .edit-post-hero{align-items:flex-start;padding:15px}body.edit-post-page .edit-post-history-badge{display:none}body.edit-post-page .edit-post-hero h1{font-size:24px}body.edit-post-page .edit-post-editor-shell{padding:10px}body.edit-post-page .edit-post-editor-shell .editor-toolbar-v28{align-items:flex-start;gap:8px}body.edit-post-page .edit-post-autosave{width:100%;margin-left:0;padding-top:5px}body.edit-post-page .edit-post-actions{display:grid;grid-template-columns:1fr 1.25fr}body.edit-post-page .edit-post-actions .btn{width:100%}}

/* ==== V2.150 · Edycja wątku — szerokość jak „Nowy wątek” ==== */
body.topic-edit-page .page-shell{
  width:min(1460px,calc(100% - 34px))!important;
  max-width:none!important;
}
body.topic-edit-page .new-topic-layout,
body.topic-edit-page .new-topic-layout.topic-edit-layout{
  width:100%!important;
  max-width:1380px!important;
  grid-template-columns:minmax(0,1fr) 250px!important;
  gap:26px!important;
  margin-inline:auto!important;
}
body.topic-edit-page .new-topic-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.topic-edit-page .new-topic-hero,
body.topic-edit-page .new-topic-form,
body.topic-edit-page .topic-edit-section{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.topic-edit-page .new-topic-sidebar{
  width:250px!important;
  max-width:250px!important;
}
@media(max-width:1100px){
  body.topic-edit-page .page-shell{
    width:min(100% - 28px,980px)!important;
  }
  body.topic-edit-page .new-topic-layout,
  body.topic-edit-page .new-topic-layout.topic-edit-layout{
    max-width:920px!important;
    grid-template-columns:1fr!important;
  }
  body.topic-edit-page .new-topic-sidebar{
    position:static!important;
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:720px){
  body.topic-edit-page .page-shell{width:calc(100% - 18px)!important}
  body.topic-edit-page .new-topic-sidebar{grid-template-columns:1fr!important}
}

/* V2.153 — pytanie bezpieczeństwa w formularzu Kontakt */
body.contact-page .contact-security-question{
  position:relative;overflow:hidden;padding:13px 14px!important;margin:2px 0 14px!important;
  border:1px solid #68451f;border-radius:10px;background:linear-gradient(135deg,#21160e 0%,#281a10 100%);
  box-shadow:inset 3px 0 #e88a18,0 8px 22px rgba(0,0,0,.12);
}
body.contact-page .contact-security-question::before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(#ffad39,#bd6510)}
body.contact-page .contact-security-question .contact-security-kicker{color:#f39a2a!important;font-size:8.5px!important;font-weight:950!important;letter-spacing:.14em;text-transform:uppercase}
body.contact-page .contact-security-question strong{display:block;color:#fff1df;font-size:13px;line-height:1.3;margin-top:1px}
body.contact-page .contact-security-question small{display:block;color:#9a7a56;font-size:9.5px;line-height:1.45;margin-top:1px}
body.contact-page .contact-security-question input{margin-top:4px}

/* V2.154 — Legal / DSA / RODO: czytelne rozróżnienie autora wiadomości */
.case-conversation{display:flex;flex-direction:column;gap:12px;margin:16px 0 14px}
.case-conversation .case-message{width:min(88%,860px);padding:0;overflow:hidden;border:1px solid #4b3421;border-radius:12px;background:linear-gradient(145deg,#25190f,#1d140d);box-shadow:0 10px 28px rgba(0,0,0,.12)}
.case-conversation .case-user{align-self:flex-start;border-left:3px solid #4f9be8;background:linear-gradient(145deg,#1f1d1a,#17191b)}
.case-conversation .case-staff{align-self:flex-end;border-right:3px solid #f39a19;background:linear-gradient(145deg,#2a1c0f,#21160d)}
.case-message-head{display:flex;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid rgba(255,255,255,.055)}
.case-message-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:9px;font-size:11px;font-weight:1000;letter-spacing:.04em}
.case-user .case-message-avatar{color:#bfe0ff;border:1px solid #35668f;background:#12283a;box-shadow:0 0 18px rgba(62,157,239,.12)}
.case-staff .case-message-avatar{color:#ffd592;border:1px solid #86551c;background:#39230d;box-shadow:0 0 18px rgba(255,153,24,.12)}
.case-message-who{display:flex;flex-direction:column;min-width:0}.case-message-who strong{font-size:12px;color:#f5e8d8}.case-message-who small{margin-top:2px;color:#806b55;font-size:9px}.case-user .case-message-who strong{color:#9bcfff}.case-staff .case-message-who strong{color:#ffb74f}
.case-message-head time{margin-left:auto;color:#79664f;font-size:9px;white-space:nowrap}.case-message-body{padding:14px 15px;color:#d7c5b0;line-height:1.65;white-space:normal}
.case-reply-form{margin-top:14px}.case-reply-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding-bottom:11px;border-bottom:1px solid #44301f}.case-reply-heading>span{width:32px;height:32px;display:grid;place-items:center;border:1px solid #78501e;border-radius:8px;background:#33210d;color:#ffad34;font-weight:1000}.case-reply-heading div{display:flex;flex-direction:column}.case-reply-heading strong{color:#f4e6d7}.case-reply-heading small{color:#80694f;font-size:9px;margin-top:2px}
.admin-case-last{margin:10px 0;padding:10px 12px;border:1px solid #49331f;border-radius:8px;background:#1d140d}.admin-case-last>span{display:block;margin-bottom:5px;font-size:9px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;color:#a68a66}.admin-case-last p{margin:0!important;color:#bca486!important}.admin-case-last.is-user{border-left:3px solid #4f9be8}.admin-case-last.is-user>span{color:#7ebcf5}.admin-case-last.is-staff{border-left:3px solid #f39a19}.admin-case-last.is-staff>span{color:#ffab36}
@media(max-width:720px){.case-conversation .case-message{width:100%;margin:0}.case-message-head{align-items:flex-start}.case-message-head time{font-size:8px}.case-message-body{padding:12px}}

/* ==== V2.155 · case conversation readability + guest anti-bot ==== */
.case-conversation{gap:13px!important}
.case-conversation .case-message{width:min(96%,1100px)!important;max-width:none!important;border-radius:11px!important}
.case-conversation .case-user{margin-right:auto!important}
.case-conversation .case-staff{margin-left:auto!important}
.case-message-head{padding:13px 15px!important;gap:12px!important}
.case-message-avatar{width:38px!important;height:38px!important;flex-basis:38px!important;font-size:12px!important}
.case-message-who strong.case-message-name{font-size:15px!important;line-height:1.15!important;font-weight:950!important;letter-spacing:-.01em}
.case-message-who small{margin-top:4px!important;font-size:9px!important;font-weight:850!important;text-transform:uppercase;letter-spacing:.08em}
.case-user .case-message-who strong.case-message-name{color:#d9edff!important}
.case-staff .case-message-who strong.case-message-name{color:#ffd08a!important}
.case-message-body{padding:16px 17px!important;font-size:12px!important;line-height:1.72!important;min-height:58px}
.case-security-question{position:relative;display:grid!important;gap:5px!important;margin-top:12px;padding:13px 14px!important;border:1px solid #5b3a1d!important;border-radius:9px!important;background:linear-gradient(145deg,#24170e,#1b120c)!important;overflow:hidden}
.case-security-question::before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(#ffad39,#bd6510)}
.case-security-kicker{color:#f39a2a!important;font-size:8.5px!important;font-weight:950!important;letter-spacing:.14em;text-transform:uppercase}
.case-security-question strong{display:block;color:#fff1df;font-size:13px;line-height:1.3}
.case-security-question small{display:block;color:#9a7a56;font-size:9.5px;line-height:1.45}
.case-security-question input{width:100%;margin-top:4px;padding:10px 11px;border:1px solid #54371f;border-radius:7px;background:#150e09;color:#f8eee2;outline:0}
.case-security-question input:focus{border-color:#b56d1d;box-shadow:0 0 0 3px rgba(255,145,20,.08)}
@media(max-width:720px){.case-conversation .case-message{width:100%!important}.case-message-who strong.case-message-name{font-size:13px!important}}


/* V2.156 — administrator attention counters */
.admin-title{position:relative}.admin-title-attention{margin-left:auto;min-width:28px;height:28px;padding:0 7px;display:grid;place-items:center;border:1px solid #ff9b20;border-radius:9px;background:linear-gradient(145deg,#51290d,#2b180b);color:#ffd59b;font-size:11px;font-weight:950;box-shadow:0 0 0 3px #ff940d12,0 7px 18px #0005;text-decoration:none}.admin-title-attention:hover{border-color:#ffc05b;transform:translateY(-1px)}
.admin-nav-count{margin-left:auto;min-width:22px;height:22px;padding:0 6px;display:grid;place-items:center;border-radius:999px;border:1px solid #a6601e;background:#3a210e;color:#ffc067;font-size:9px;font-weight:950;line-height:1}.admin-nav-link.active .admin-nav-count{background:#ff9419;color:#211307;border-color:#ffb24a}.admin-nav-link .admin-nav-count+.admin-nav-arrow{margin-left:0}
.admin-attention-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:15px 17px;border:1px solid #6a431d;border-radius:12px;background:linear-gradient(135deg,#2b1b0f,#20150d);box-shadow:inset 0 1px #ffffff08,0 10px 24px #0002}.admin-attention-copy{display:grid;gap:3px}.admin-attention-copy>span{color:#ff9b20;font-size:9px;font-weight:950;letter-spacing:.15em}.admin-attention-copy>strong{color:#fff1df;font-size:17px}.admin-attention-copy>small{color:#987754;font-size:10px}.admin-attention-links{display:flex;gap:8px}.admin-attention-links>a{min-width:130px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #50351f;border-radius:9px;background:#1c140e;text-decoration:none}.admin-attention-links>a:hover{border-color:#8c5923;background:#25180e}.admin-attention-links>a>span{width:30px;height:30px;display:grid;place-items:center;border:1px solid #75491e;border-radius:8px;background:#34200d}.admin-attention-links small{display:block;color:#9c7750;font-size:8px;font-weight:900;letter-spacing:.1em}.admin-attention-links b{display:block;color:#ffd28e;font-size:16px}.ud-admin-link{position:relative}.ud-admin-count{margin-left:auto;min-width:22px;height:20px;padding:0 6px;display:inline-grid;place-items:center;border:1px solid #b36720;border-radius:999px;background:#4a280d;color:#ffc36f;font-size:9px;font-weight:950}.admin-appeal-actions{display:flex;gap:5px;justify-content:flex-end}.admin-appeals-table>div{grid-template-columns:minmax(180px,1.4fr) minmax(110px,.7fr) 90px 90px auto!important;align-items:center}
@media(max-width:850px){.admin-attention-overview{align-items:stretch;flex-direction:column}.admin-attention-links{display:grid;grid-template-columns:1fr 1fr}.admin-attention-links>a{min-width:0}.admin-appeals-table>div{display:flex!important;flex-wrap:wrap}.admin-appeal-actions{width:100%;justify-content:flex-start}}
