/* Devilz readability pass: preserve the compact visual language while keeping
   navigation, metadata, forms and long-form content comfortable to read. */
body{font-size:15px;line-height:1.45}
body .topnav a{font-size:13px}
body .searchbar,body .user-chip{font-size:13px}
body .user-chip small{font-size:12px}
body .side-nav a{font-size:13px}
body .categories a{font-size:12px}
body .side-label{font-size:11px;letter-spacing:.035em}
body .premium-card strong{font-size:17px}
body .premium-card p{font-size:13px}
body .footer{font-size:13px}
body .btn{font-size:13px}
body .breadcrumb,body .thread-breadcrumb{font-size:12px}
body .panel-title h2,body .panel-title h3{font-size:15px}
body .panel-title a{font-size:12px}
body .tabs button{font-size:12px}
body .muted{font-size:13px}

/* Home and shared cards */
body .hero p{font-size:13.5px}
body .hero-actions .btn{font-size:11.5px}
body .category-card strong{font-size:13.5px}
body .category-card p{font-size:12px}
body .category-card small{font-size:10.5px}
body .topic-row .row-main strong,body .forum-row .row-main strong{font-size:13.5px}
body .row-main small,body .metric small,body .row-time small{font-size:10.5px}
body .topic-row .row-main small,body .topic-row .row-main small em{font-size:10.5px}
body .topic-row .metric b{font-size:12.5px}
body .topic-row .metric small,body .topic-row .row-time small{font-size:10px}
body .stat-strip small,body .home-stat-strip small{font-size:10px}
body .welcome-copy p{font-size:14px}
body .welcome-copy small,body .welcome-metrics small{font-size:10.5px}
body .welcome-metrics b{font-size:14px}
body .side-stats p{font-size:12px}
body .side-products>a:not(.btn){font-size:12px}

/* Forum, market and tools */
body .page-heading p{font-size:13px}
body .forum-group p{font-size:12.5px}
body .forum-total small{font-size:10.5px}
body .last-topic b{font-size:12px}
body .last-topic small{font-size:10.5px}
body .category-hero p{font-size:12.5px}
body .category-topic-row strong{font-size:13.5px}
body .category-topic-row small{font-size:10.5px}
body .product-card h3{font-size:13.5px}
body .product-card p,body .seller,body .product-foot span{font-size:11.5px}
body .market-row,body .tool-row{font-size:12.5px}
body .table-head{font-size:10.5px}
body .filter-link{font-size:13px}
body .category-tool-grid small{font-size:11.5px}

/* Forms and rich editors */
body label{font-size:12.5px}
body input,body textarea,body select{font-size:13.5px}
body .topic-compose-heading p{font-size:12.5px}
body .compose-meta-card label{font-size:11.5px}
body .compose-meta-card label>small{font-size:10.5px}
body .compose-select select{font-size:13px}
body .topic-editor-topline strong{font-size:12.5px}
body .topic-editor-topline small{font-size:10px}
body .topic-editor-modes button{font-size:10.5px}
body .topic-editor-toolbar button,body .topic-editor-toolbar select{font-size:11.5px}
body .topic-editor-surface,body .topic-editor-preview{font-size:15px;line-height:1.85}
body .topic-editor-footer{font-size:10px}
body .compose-guidelines strong,body .compose-security-card strong{font-size:11.5px}
body .compose-guidelines p,body .compose-security-card p{font-size:10.5px}
body .compose-publish-card h2{font-size:14px}
body .compose-publish-card header p,body .compose-publish-card li,body .compose-publish-card>a{font-size:10.5px}

/* Topic, profile and settings */
body .topic-heading-card p{font-size:12px}
body .thread-author-name{font-size:14px}
body .thread-author>small,body .thread-rank,body .thread-author dl{font-size:11px}
body .thread-content>header{font-size:11px}
body .thread-body{font-size:14.5px;line-height:1.9}
body .thread-content>footer,body .thread-pinned-note{font-size:11.5px}
body .topic-info-card dl{font-size:12px}
body .topic-tags-card a,body .similar-topics-card b{font-size:11px}
body .topic-moderators-card small,body .similar-topics-card small,body .similar-topics-card em{font-size:10px}
body .about-card dl{font-size:12.5px}
body .profile-metrics small,body .reference-summary small{font-size:10.5px}
body .profile-stream-row small,body .profile-content-row small,body .profile-reply-row small{font-size:11px}
body .profile-wall-message header span,body .profile-wall-message p{font-size:12px}
body .media-editor-copy p,body .avatar-upload-card small,body .cover-upload-card small{font-size:11px}
body .form-row small,body .session-row small{font-size:11px}

/* Authentication, messages and admin */
body .auth-top nav a{font-size:13px}
body .auth-form>label{font-size:12px}
body .auth-benefits b{font-size:12px}
body .message-drawer .drawer-head small{font-size:10.5px}
body .conversation .row-main em,body .message-bubble strong{font-size:10.5px}
body .message-bubble time{font-size:10px}
body .message-bubble p{font-size:12.5px}
body .message-back,body .message-reply-form small,body .message-compose-form label{font-size:11px}
body .admin-shell{font-size:14px}
body .admin-sidebar a{font-size:12.5px}
body .admin-kicker,body .admin-muted,body .admin-table small{font-size:11px}
body .admin-table{font-size:12.5px}

/* Wide inner pages: use the available desktop canvas without stretching text. */
body .content-page,
body .forum-category-page,
body .profile-page,
body .settings-page,
body .topic-page,
body .topic-compose-page,
body .blog-index-page,
body .blog-detail-page{
  width:100%;
  max-width:none;
  margin-right:0;
  margin-left:0;
}
body .content-page.two-column{grid-template-columns:minmax(0,1fr) clamp(300px,19vw,370px);gap:18px}
body .topic-layout{grid-template-columns:minmax(0,1fr) clamp(305px,19vw,365px);gap:18px}
body .topic-compose-form{grid-template-columns:minmax(0,1fr) clamp(300px,19vw,350px);gap:18px}
body .thread-post{grid-template-columns:clamp(170px,11.5vw,205px) minmax(0,1fr)}
body .thread-content{padding:20px}
body .thread-body{padding:22px 4px}
body .topic-sidebar>.panel{padding:20px}

/* Blog directory */
body .blog-index-page,
body .blog-detail-page{--blog-line:#202a33;display:flex;flex-direction:column;gap:18px}
body .blog-index-page .thread-breadcrumb,
body .blog-detail-page .thread-breadcrumb{margin-bottom:0}
.blog-index-heading{
  position:relative;
  isolation:isolate;
  min-height:210px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  overflow:hidden;
  padding:38px clamp(28px,3vw,52px);
  border:1px solid var(--blog-line);
  border-radius:12px;
  background:
    radial-gradient(circle at 82% 42%,rgba(239,35,60,.2),transparent 24%),
    linear-gradient(115deg,#10171e 0%,#090e13 62%,#12090d 100%);
}
.blog-index-heading:before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  opacity:.22;
  background-image:
    linear-gradient(rgba(239,35,60,.18) 1px,transparent 1px),
    linear-gradient(90deg,rgba(239,35,60,.18) 1px,transparent 1px);
  background-size:35px 35px;
  mask-image:linear-gradient(90deg,transparent 38%,#000);
}
.blog-index-heading:after{
  content:"";
  position:absolute;
  z-index:-1;
  right:7%;
  width:190px;
  height:190px;
  border:1px solid rgba(239,35,60,.24);
  border-radius:50%;
  box-shadow:0 0 0 24px rgba(239,35,60,.025),0 0 80px rgba(239,35,60,.14);
}
.blog-index-heading>div:first-child{max-width:840px}
.blog-index-heading .eyebrow{margin:0 0 14px;font-size:11px}
.blog-index-heading h1{max-width:760px;margin:0;font-size:clamp(30px,3vw,48px);line-height:1.08;letter-spacing:-.035em}
.blog-index-heading>div:first-child>p:last-child{max-width:680px;margin:15px 0 0;color:#aeb8c0;font-size:15px;line-height:1.7}
.blog-index-count{
  position:relative;
  z-index:2;
  min-width:190px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:19px 22px;
  border:1px solid rgba(239,35,60,.3);
  border-radius:10px;
  background:rgba(5,9,13,.78);
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}
.blog-index-count b{font-size:32px;line-height:1;color:#fff}
.blog-index-count span{color:#8d98a3;font-size:10px;line-height:1.45;letter-spacing:.08em}

.blog-featured{
  min-height:340px;
  display:grid;
  grid-template-columns:minmax(310px,38%) minmax(0,1fr);
  overflow:hidden;
  color:inherit;
  transition:border-color .2s ease,transform .2s ease;
}
.blog-featured:hover{transform:translateY(-2px);border-color:#59303a}
.blog-featured-visual{
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    repeating-linear-gradient(90deg,transparent 0 39px,rgba(239,35,60,.045) 40px),
    repeating-linear-gradient(0deg,transparent 0 39px,rgba(239,35,60,.045) 40px),
    radial-gradient(circle,rgba(239,35,60,.28),transparent 34%),
    linear-gradient(145deg,#170a0f,#070b0f 72%);
  border-right:1px solid var(--blog-line);
}
.blog-featured-visual:before,.blog-featured-visual:after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border:1px solid rgba(239,35,60,.2);
  border-radius:50%;
}
.blog-featured-visual:after{width:285px;height:285px;border-style:dashed;transform:rotate(22deg)}
.blog-featured-visual>i{position:relative;z-index:1;color:#ff263f;font-size:92px;filter:drop-shadow(0 0 28px rgba(239,35,60,.42))}
.blog-featured-visual>em{
  position:absolute;
  top:20px;
  left:20px;
  padding:6px 9px;
  border:1px solid #8d2431;
  border-radius:4px;
  background:#2a0d13;
  color:#ff5264;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.blog-featured-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,3vw,50px)}
.blog-card-kicker{color:#ff4054;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.blog-featured-copy>strong{max-width:900px;margin-top:13px;font-size:clamp(26px,2.4vw,40px);line-height:1.15;letter-spacing:-.025em}
.blog-featured-copy>p{max-width:850px;margin:16px 0 4px;color:#aeb7bf;font-size:14px;line-height:1.75}
.blog-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}
.blog-card-tags i{padding:5px 8px;border:1px solid #3d2028;border-radius:99px;background:#180e12;color:#ff5a6b;font-size:9px}
.blog-author-line{display:flex;align-items:center;gap:11px;margin-top:24px;padding-top:19px;border-top:1px solid var(--blog-line)}
.blog-author-line>img{width:42px;height:42px;border:1px solid #73242e;border-radius:50%;object-fit:cover}
.blog-author-line>span{display:flex;flex-direction:column;gap:3px}
.blog-author-line small{color:#7f8a94;font-size:10px}
.blog-author-line>em{margin-left:auto;font-size:12px;font-weight:800}
.blog-author-line>em i{margin-left:6px;transition:transform .2s ease}
.blog-featured:hover .blog-author-line>em i{transform:translateX(4px)}

.blog-feed-head{display:flex;align-items:flex-end;justify-content:space-between;padding:10px 2px 0}
.blog-feed-head h2{margin:0 0 5px;font-size:23px}
.blog-feed-head p{margin:0;color:#7f8a94;font-size:12px}
.blog-feed-head>span{padding:8px 11px;border:1px solid var(--blog-line);border-radius:6px;color:#8f9aa4;font-size:11px}
.blog-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}
.blog-card{min-width:0;overflow:hidden;transition:border-color .2s ease,transform .2s ease}
.blog-card:hover{transform:translateY(-3px);border-color:#55303a}
.blog-card-art{
  position:relative;
  height:180px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-bottom:1px solid var(--blog-line);
  background:radial-gradient(circle at 50% 48%,rgba(239,35,60,.25),transparent 27%),linear-gradient(145deg,#151017,#070b0f);
}
.blog-card-art:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.28;
  background:repeating-linear-gradient(135deg,transparent 0 19px,rgba(255,255,255,.025) 20px);
}
.blog-card-art.art-2{background:radial-gradient(circle,rgba(74,111,255,.22),transparent 28%),linear-gradient(145deg,#0b1422,#070b0f)}
.blog-card-art.art-3{background:radial-gradient(circle,rgba(40,201,116,.2),transparent 28%),linear-gradient(145deg,#0b1c17,#070b0f)}
.blog-card-art.art-4{background:radial-gradient(circle,rgba(160,75,233,.2),transparent 28%),linear-gradient(145deg,#150d1d,#070b0f)}
.blog-card-art>i{position:relative;z-index:1;color:#ff3b50;font-size:56px;filter:drop-shadow(0 0 22px rgba(239,35,60,.25))}
.blog-card-art>span{position:absolute;right:13px;bottom:12px;padding:5px 8px;border:1px solid #2e3942;border-radius:4px;background:rgba(6,10,14,.78);color:#aab4bc;font-size:9px;font-weight:800}
.blog-card-body{display:flex;min-height:230px;flex-direction:column;padding:20px}
.blog-card-body h2{margin:10px 0 9px;font-size:19px;line-height:1.35}
.blog-card-body h2 a:hover{color:#ff4357}
.blog-card-body>p{display:-webkit-box;overflow:hidden;margin:0;color:#9ca6af;font-size:12.5px;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.blog-card-body footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px;border-top:1px solid var(--blog-line)}
.blog-card-body footer>span{display:flex;align-items:center;gap:8px}
.blog-card-body footer img{width:30px;height:30px;border:1px solid #54232b;border-radius:50%;object-fit:cover}
.blog-card-body footer b,.blog-card-body footer time{font-size:10px}
.blog-card-body footer time{color:#77838e}
.blog-empty{grid-column:1/-1;padding:70px;text-align:center}
.blog-empty>i{color:var(--red);font-size:34px}

/* Blog article */
.blog-detail-hero{
  position:relative;
  min-height:410px;
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(300px,28vw,470px);
  overflow:hidden;
  background:
    linear-gradient(110deg,rgba(15,22,29,.98) 0%,rgba(9,14,19,.98) 59%,rgba(21,8,13,.96) 100%);
}
.blog-detail-hero:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 50%,rgba(239,35,60,.035)),repeating-linear-gradient(0deg,transparent 0 39px,rgba(239,35,60,.03) 40px);
}
.blog-detail-copy{position:relative;z-index:1;align-self:center;padding:clamp(30px,4vw,64px)}
.blog-detail-copy .eyebrow{margin:0 0 16px;font-size:11px}
.blog-detail-copy h1{max-width:980px;margin:0;font-size:clamp(34px,3.6vw,58px);line-height:1.07;letter-spacing:-.04em}
.blog-detail-lead{max-width:880px;margin:20px 0;color:#aeb8c0;font-size:15.5px;line-height:1.75}
.blog-detail-author{display:flex;align-items:center;gap:11px;margin-top:22px}
.blog-detail-author>img{width:46px;height:46px;border:1px solid #7b2833;border-radius:50%;object-fit:cover}
.blog-detail-author>span{display:flex;flex-direction:column;gap:5px}
.blog-detail-author b{font-size:13px}
.blog-detail-author small{display:flex;align-items:center;gap:8px;color:#7f8a94;font-size:10.5px}
.blog-detail-author small i{width:3px;height:3px;border-radius:50%;background:#52606b}
.blog-detail-tags{margin-top:20px}
.blog-detail-actions{display:flex;align-items:center;gap:8px;margin-top:23px}
.blog-share-button{width:41px;height:41px;display:grid;place-items:center;border:1px solid #303a43;border-radius:6px;background:#0b1117;color:#aab3bb}
.blog-share-button:hover{border-color:#7f2430;color:#ff4054}
.blog-detail-art{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  overflow:hidden;
  border-left:1px solid var(--blog-line);
  background:radial-gradient(circle at 50% 46%,rgba(239,35,60,.25),transparent 33%);
}
.blog-detail-art:before,.blog-detail-art:after,.blog-art-orbit{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  border:1px solid rgba(239,35,60,.22);
  border-radius:50%;
}
.blog-detail-art:after{width:315px;height:315px;border-style:dashed;transform:rotate(-18deg)}
.blog-art-orbit{width:390px;height:390px;opacity:.3}
.blog-detail-art>i{position:relative;z-index:1;color:#ff273f;font-size:96px;filter:drop-shadow(0 0 30px rgba(239,35,60,.45))}
.blog-detail-art>b{position:relative;z-index:1;margin-top:24px;font-size:16px;letter-spacing:.24em}
.blog-detail-art>small{position:relative;z-index:1;margin-top:7px;color:#7f8b95;font-size:8px;letter-spacing:.18em}

.blog-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,20vw,360px);gap:18px;align-items:start}
.blog-reading-card{min-width:0;overflow:hidden;padding:0 clamp(24px,4vw,70px)}
.blog-reading-meta{display:flex;align-items:center;gap:22px;padding:18px 0;border-bottom:1px solid var(--blog-line);color:#77838d;font-size:10.5px}
.blog-reading-meta i{margin-right:6px;color:#ff4053}
body .blog-rich-content{
  max-width:940px;
  margin:0 auto;
  padding:clamp(32px,4vw,62px) 0;
  color:#cbd2d8;
  font-size:16px;
  line-height:1.9;
}
.blog-rich-content>p:first-child{font-size:18px;color:#e2e7eb}
.blog-rich-content h2{margin:2em 0 .7em;font-size:28px;line-height:1.25}
.blog-rich-content h3{margin:1.8em 0 .65em;font-size:22px}
.blog-rich-content img{height:auto;margin:28px auto;border:1px solid var(--blog-line);border-radius:9px}
.blog-rich-content hr{margin:34px 0;border:0;border-top:1px solid var(--blog-line)}
.blog-reading-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0;border-top:1px solid var(--blog-line)}
.blog-reading-footer>div{display:flex;flex-direction:column;gap:5px}
.blog-reading-footer>div>span{color:#84909a;font-size:11px}
.blog-reading-sidebar{position:sticky;top:82px;display:flex;flex-direction:column;gap:14px}
.blog-author-card{padding:24px;text-align:center}
.blog-sidebar-label{color:#ff4054;font-size:9px;font-weight:900;letter-spacing:.12em}
.blog-author-card>img{width:78px;height:78px;margin:17px auto 12px;border:2px solid #922633;border-radius:50%;object-fit:cover;box-shadow:0 0 0 6px #090e13}
.blog-author-card h2{margin:0;font-size:19px}
.blog-author-card p{margin:6px 0 19px;color:#85919b;font-size:11px}
.blog-related-card{overflow:hidden}
.blog-related-card>header{display:flex;align-items:flex-end;justify-content:space-between;padding:20px;border-bottom:1px solid var(--blog-line)}
.blog-related-card>header h2{margin:5px 0 0;font-size:17px}
.blog-related-card>header a{color:#ff4054;font-size:10px}
.blog-related-card>div>a{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 17px;border-bottom:1px solid #182129}
.blog-related-card>div>a:last-child{border-bottom:0}
.blog-related-card>div>a>i:first-child{width:32px;height:32px;display:grid;place-items:center;border-radius:7px;background:rgba(239,35,60,.09);color:#ff4054}
.blog-related-card>div>a>i:last-child{color:#56636e;font-size:9px}
.blog-related-card>div>a>span{min-width:0;display:flex;flex-direction:column;gap:4px}
.blog-related-card b{overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}
.blog-related-card small{color:#73808b;font-size:9px}

@media (min-width:1600px){
  body .site-shell{padding-right:clamp(28px,2vw,40px);padding-left:clamp(28px,2vw,40px)}
  body .topic-heading-card{padding:22px}
  body .topic-reply-editor{padding:22px}
}

@media (max-width:1180px){
  body .topic-layout{grid-template-columns:1fr}
  body .blog-reading-layout{grid-template-columns:1fr}
  body .blog-reading-sidebar{position:static;display:grid;grid-template-columns:300px minmax(0,1fr)}
}

@media (max-width:1050px){
  body .topic-compose-form{grid-template-columns:1fr}
  .blog-featured{grid-template-columns:minmax(270px,36%) minmax(0,1fr)}
  .blog-detail-hero{grid-template-columns:minmax(0,1fr) 300px}
}

@media (min-width:901px) and (max-width:1250px){
  body .topnav{gap:14px}
  body .topnav a{font-size:11.5px}
}

@media (max-width:900px){
  body .content-page.two-column{grid-template-columns:1fr}
  .blog-index-heading{min-height:185px}
  .blog-index-count{display:none}
  .blog-featured{grid-template-columns:1fr}
  .blog-featured-visual{min-height:230px;border-right:0;border-bottom:1px solid var(--blog-line)}
  .blog-detail-hero{grid-template-columns:1fr}
  .blog-detail-art{display:none}
}

@media (max-width:700px){
  .blog-index-heading{padding:27px 22px}
  .blog-index-heading h1{font-size:31px}
  .blog-index-heading>div:first-child>p:last-child{font-size:13.5px}
  .blog-featured-copy{padding:24px 20px}
  .blog-featured-copy>strong{font-size:26px}
  .blog-author-line{align-items:flex-start}
  .blog-author-line>em{display:none}
  .blog-feed-head{align-items:flex-start}
  .blog-feed-head>span{display:none}
  .blog-card-grid{grid-template-columns:1fr}
  .blog-card-art{height:155px}
  .blog-detail-copy{padding:28px 22px}
  .blog-detail-copy h1{font-size:34px}
  .blog-detail-lead{font-size:14px}
  .blog-reading-card{padding:0 20px}
  body .blog-rich-content{padding:32px 0;font-size:15px}
  .blog-rich-content>p:first-child{font-size:16px}
  .blog-rich-content h2{font-size:24px}
  .blog-reading-footer{align-items:flex-start;flex-direction:column}
  .blog-reading-sidebar{display:flex}
}

@media (max-width:620px){
  body{font-size:14px}
  body .btn{font-size:12.5px}
  body .topic-editor-surface,body .topic-editor-preview{font-size:14.5px}
  body .thread-body{font-size:14px}
  body .thread-post{grid-template-columns:1fr}
}
