
/* v20.1 - mobile board/category layout polish merged with asset fix */
@media (max-width: 820px) {
  html body.forum-dark.vrp-native.action_home #boardindex_table.boardindex_table .up_contain,
  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .up_contain,
  html body.forum-dark.vrp-native.action_home #boardindex_table .up_contain,
  html body.forum-dark.vrp-native #boardindex_table .up_contain {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-areas:
      "icon info"
      "stats stats"
      "last last" !important;
    align-items: start !important;
    gap: 10px !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  html body.forum-dark.vrp-native.action_home #boardindex_table.boardindex_table .board_icon,
  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .board_icon,
  html body.forum-dark.vrp-native.action_home #boardindex_table .board_icon,
  html body.forum-dark.vrp-native #boardindex_table .board_icon {
    grid-area: icon !important;
    width: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }

  html body.forum-dark.vrp-native.action_home #boardindex_table.boardindex_table .board_icon .folder-icon,
  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .board_icon .folder-icon,
  html body.forum-dark.vrp-native.action_home #boardindex_table .board_icon .folder-icon,
  html body.forum-dark.vrp-native #boardindex_table .board_icon .folder-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
  }

  html body.forum-dark.vrp-native.action_home #boardindex_table.boardindex_table .info,
  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .info,
  html body.forum-dark.vrp-native.action_home #boardindex_table .info,
  html body.forum-dark.vrp-native #boardindex_table .info {
    grid-area: info !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .info .subject,
  html body.forum-dark.vrp-native #boardindex_table .info .mobile_subject {
    display: inline-block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .board_description {
    margin-top: 5px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 3 !important;
  }

  html body.forum-dark.vrp-native.action_home #boardindex_table.boardindex_table .board_stats,
  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .board_stats,
  html body.forum-dark.vrp-native.action_home #boardindex_table .board_stats,
  html body.forum-dark.vrp-native #boardindex_table .board_stats {
    grid-area: stats !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-stat {
    min-width: 0 !important;
  }

  html body.forum-dark.vrp-native.action_home #boardindex_table.boardindex_table .lastpost,
  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .lastpost,
  html body.forum-dark.vrp-native.action_home #boardindex_table .lastpost,
  html body.forum-dark.vrp-native #boardindex_table .lastpost {
    grid-area: last !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost,
  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost-empty {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    align-items: center !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost-empty {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
    padding: 12px 14px !important;
    justify-items: start !important;
    align-items: start !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost-copy,
  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost-topic {
    min-width: 0 !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost-topic {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-sub-boards {
    margin-top: 8px !important;
    gap: 6px !important;
  }
}

@media (max-width: 520px) {
  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .main_container.vrp-category-box,
  html body.forum-dark.vrp-native #boardindex_table .main_container.vrp-category-box {
    border-radius: 18px !important;
  }

  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .cat_bar,
  html body.forum-dark.vrp-native #boardindex_table .cat_bar {
    padding: 14px !important;
  }

  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .cat_title_text,
  html body.forum-dark.vrp-native #boardindex_table .cat_title_text {
    font-size: 14px !important;
  }

  html body.forum-dark.vrp-native #boardindex_table.boardindex_table .up_contain,
  html body.forum-dark.vrp-native #boardindex_table .up_contain {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 12px !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .board_icon,
  html body.forum-dark.vrp-native #boardindex_table .board_icon .folder-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .board_stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-stat {
    padding: 7px 8px !important;
  }

  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost,
  html body.forum-dark.vrp-native #boardindex_table .vrp-board-lastpost-empty {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
}

/* v25 admin hardening screens */
html body.forum-dark.vrp-native .vf-table{width:100%;border-collapse:separate;border-spacing:0 8px}html body.forum-dark.vrp-native .vf-table th{color:#8ea7ba;font-size:11px;text-align:left;text-transform:uppercase;letter-spacing:.06em;padding:8px 10px}html body.forum-dark.vrp-native .vf-table td{background:rgba(255,255,255,.035);border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);padding:10px;vertical-align:top}html body.forum-dark.vrp-native .vf-table td:first-child{border-left:1px solid rgba(255,255,255,.06);border-radius:14px 0 0 14px}html body.forum-dark.vrp-native .vf-table td:last-child{border-right:1px solid rgba(255,255,255,.06);border-radius:0 14px 14px 0}html body.forum-dark.vrp-native .vf-form.compact{display:grid;gap:6px}html body.forum-dark.vrp-native .vf-inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}html body.forum-dark.vrp-native .grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html body.forum-dark.vrp-native .grid-form .wide{grid-column:1/-1}html body.forum-dark.vrp-native .vf-btn.small{min-height:30px;padding:0 10px;font-size:11px}html body.forum-dark.vrp-native .vf-btn.danger{background:linear-gradient(135deg,rgba(214,53,32,.9),rgba(110,0,0,.95));color:#fff}html body.forum-dark.vrp-native .vf-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.08);font-size:11px;font-weight:800}html body.forum-dark.vrp-native .vf-pill.implemented{background:rgba(55,232,199,.12);color:#37e8c7}html body.forum-dark.vrp-native .vf-pill.partial{background:rgba(255,190,77,.14);color:#ffcf75}@media(max-width:760px){html body.forum-dark.vrp-native .grid-form{grid-template-columns:1fr}html body.forum-dark.vrp-native .table_grid{overflow-x:auto;-webkit-overflow-scrolling:touch}html body.forum-dark.vrp-native .vf-table{min-width:760px}html body.forum-dark.vrp-native .vf-inline-form{display:grid;grid-template-columns:1fr}}

/* v26 calmer restriction management */
html body.forum-dark.vrp-native .vrp-ban-page-head{
  margin-bottom:18px!important;
}
html body.forum-dark.vrp-native .vrp-ban-create-card,
html body.forum-dark.vrp-native .vrp-ban-list-card{
  margin-bottom:18px!important;
}
html body.forum-dark.vrp-native .vrp-ban-create-card .vf-card-head,
html body.forum-dark.vrp-native .vrp-ban-list-card .vf-card-head{
  align-items:flex-start!important;
}
html body.forum-dark.vrp-native .vrp-ban-create-card .vf-card-head h2,
html body.forum-dark.vrp-native .vrp-ban-list-card .vf-card-head h2{
  margin:0 0 5px!important;
}
html body.forum-dark.vrp-native .vrp-ban-create-card .vf-card-head p,
html body.forum-dark.vrp-native .vrp-ban-list-card .vf-card-head p{
  margin:0!important;
  color:#9db4c9!important;
  font-size:13px!important;
  line-height:1.5!important;
}
html body.forum-dark.vrp-native .vrp-ban-form{
  gap:14px!important;
}
html body.forum-dark.vrp-native .vrp-ban-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
html body.forum-dark.vrp-native .vrp-ban-form label small{
  color:#8da7bb!important;
  font-size:12px!important;
  line-height:1.35!important;
}
html body.forum-dark.vrp-native .vrp-ban-field{
  display:grid!important;
  gap:8px!important;
  color:#d9e9f5!important;
  font-weight:850!important;
  min-width:0!important;
}
html body.forum-dark.vrp-native .vrp-ban-field > span{
  display:block!important;
}
html body.forum-dark.vrp-native .vrp-ban-field small{
  color:#8da7bb!important;
  font-size:12px!important;
  line-height:1.35!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-picker{
  position:relative!important;
  z-index:5!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-search-wrap{
  position:relative!important;
  min-width:0!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-results{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:calc(100% + 6px)!important;
  z-index:20!important;
  display:grid!important;
  gap:6px!important;
  max-height:268px!important;
  overflow:auto!important;
  padding:8px!important;
  border:1px solid rgba(125,211,252,.18)!important;
  border-radius:16px!important;
  background:rgba(4,14,25,.98)!important;
  box-shadow:0 22px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04)!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-results[hidden]{
  display:none!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-results button{
  display:grid!important;
  gap:3px!important;
  width:100%!important;
  min-height:44px!important;
  padding:8px 10px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#eaf7ff!important;
  text-align:left!important;
  cursor:pointer!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-results button:hover,
html body.forum-dark.vrp-native .vrp-ban-user-results button:focus{
  border-color:rgba(55,232,199,.24)!important;
  background:rgba(55,232,199,.08)!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-results strong{
  color:#fff!important;
  font-size:13px!important;
  line-height:1.25!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-results small,
html body.forum-dark.vrp-native .vrp-ban-user-empty{
  color:#8da7bb!important;
  font-size:12px!important;
  line-height:1.35!important;
}
html body.forum-dark.vrp-native .vrp-ban-user-empty{
  padding:10px!important;
}
html body.forum-dark.vrp-native .vrp-ban-scope{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:2px 0 0!important;
  padding:14px!important;
  border:1px solid rgba(125,211,252,.14)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.025)!important;
}
html body.forum-dark.vrp-native .vrp-ban-scope legend{
  padding:0 8px!important;
  color:#dff8ff!important;
  font-size:13px!important;
  font-weight:950!important;
}
html body.forum-dark.vrp-native .vrp-ban-scope label{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:start!important;
  min-width:0!important;
  padding:11px!important;
  border:1px solid rgba(125,211,252,.12)!important;
  border-radius:14px!important;
  background:rgba(3,12,22,.42)!important;
}
html body.forum-dark.vrp-native .vrp-ban-scope input{
  width:18px!important;
  height:18px!important;
  margin:1px 0 0!important;
  accent-color:#37e8c7!important;
}
html body.forum-dark.vrp-native .vrp-ban-scope strong{
  display:block!important;
  color:#f6fbff!important;
  font-size:13px!important;
  line-height:1.25!important;
}
html body.forum-dark.vrp-native .vrp-ban-scope em{
  display:block!important;
  margin-top:4px!important;
  color:#8da7bb!important;
  font-size:12px!important;
  font-style:normal!important;
  line-height:1.35!important;
}
html body.forum-dark.vrp-native .vrp-ban-actions{
  display:flex!important;
  justify-content:flex-start!important;
}
html body.forum-dark.vrp-native .vrp-ban-list{
  display:grid!important;
  gap:10px!important;
}
html body.forum-dark.vrp-native .vrp-ban-row{
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) minmax(360px,1.65fr) minmax(120px,auto) auto!important;
  gap:14px!important;
  align-items:center!important;
  padding:15px!important;
  border:1px solid rgba(125,211,252,.13)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.03)!important;
}
html body.forum-dark.vrp-native .vrp-ban-row-main,
html body.forum-dark.vrp-native .vrp-ban-row-meta div{
  min-width:0!important;
}
html body.forum-dark.vrp-native .vrp-ban-row-main strong{
  display:block!important;
  color:#fff!important;
  font-size:15px!important;
  line-height:1.3!important;
}
html body.forum-dark.vrp-native .vrp-ban-row-main span{
  display:block!important;
  margin-top:4px!important;
  color:#9db4c9!important;
  font-size:13px!important;
  line-height:1.4!important;
}
html body.forum-dark.vrp-native .vrp-ban-row-meta{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
html body.forum-dark.vrp-native .vrp-ban-row-meta span{
  display:block!important;
  margin-bottom:4px!important;
  color:#7f9aac!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
html body.forum-dark.vrp-native .vrp-ban-row-meta strong{
  display:block!important;
  color:#eaf7ff!important;
  font-size:12px!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}
html body.forum-dark.vrp-native .vrp-ban-chip-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  justify-content:flex-start!important;
}
html body.forum-dark.vrp-native .vrp-ban-row form{
  margin:0!important;
  justify-self:end!important;
}
@media(max-width:980px){
  html body.forum-dark.vrp-native .vrp-ban-scope,
  html body.forum-dark.vrp-native .vrp-ban-row{
    grid-template-columns:1fr!important;
  }
  html body.forum-dark.vrp-native .vrp-ban-row form{
    justify-self:start!important;
  }
}
@media(max-width:760px){
  html body.forum-dark.vrp-native .vrp-ban-form-grid,
  html body.forum-dark.vrp-native .vrp-ban-row-meta{
    grid-template-columns:1fr!important;
  }
  html body.forum-dark.vrp-native .vrp-ban-create-card .vf-card-head{
    display:grid!important;
  }
  html body.forum-dark.vrp-native .vrp-ban-create-card .vf-card-head .vf-btn{
    justify-self:start!important;
  }
}

/* v26 clean footer links */
html body.forum-dark.vrp-native .verdant_footer_grid.verdant_footer_grid_clean{
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)!important;
  align-items:start!important;
}
html body.forum-dark.vrp-native .verdant_footer_grid_clean .verdant_footer_links{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
}
@media(max-width:900px){
  html body.forum-dark.vrp-native .verdant_footer_grid.verdant_footer_grid_clean,
  html body.forum-dark.vrp-native .verdant_footer_grid_clean .verdant_footer_links{
    grid-template-columns:1fr!important;
  }
}

/* v27 panel sidebar alignment */
html body.forum-dark.vrp-native.action_panel .panel-body{
  align-items:start!important;
}
html body.forum-dark.vrp-native.action_panel .panel-sidebar{
  position:relative!important;
  top:auto!important;
  align-self:start!important;
  max-height:none!important;
  overflow:visible!important;
  scrollbar-width:auto!important;
}
@media(max-width:980px){
  html body.forum-dark.vrp-native.action_panel .panel-sidebar{
    position:static!important;
    width:100%!important;
    max-width:none!important;
  }
}
