/* Portale GamesTranslator 2.4 — forum: elenco dei forum ed elenco delle discussioni */

/* ---------- Elenco dei forum ---------- */
body[data-pageapp="forums"] .cForumList > li.cForumRow.ipsBox{
  border-radius:16px!important;overflow:hidden;border:1px solid var(--gx-line)!important;background:var(--gx-surface)!important;
  box-shadow:0 24px 50px -34px rgba(0,87,255,.55)!important;margin-bottom:22px!important
}
body[data-pageapp="forums"] .cForumTitle{
  position:relative;display:flex;align-items:center;gap:12px;padding:16px 20px!important;
  font-family:var(--gx-display)!important;font-size:1.3rem!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.04em;
  background:linear-gradient(90deg,rgba(0,87,255,.22),rgba(41,32,59,.6) 55%,transparent)!important;border-bottom:1px solid var(--gx-line)!important
}
body[data-pageapp="forums"] .cForumTitle::before{content:"";width:4px;height:1.1em;border-radius:2px;background:var(--gx-yellow);box-shadow:0 0 12px rgba(255,214,0,.6);flex:none}
body[data-pageapp="forums"] .cForumTitle > a:not(.cForumToggle){color:#fff!important;flex:1}
body[data-pageapp="forums"] .cForumTitle .cForumToggle{order:2}

body[data-pageapp="forums"] ol[data-role="forums"] > li.ipsDataItem{
  background:transparent!important;border-bottom:1px solid var(--gx-line)!important;transition:background .2s,box-shadow .2s
}
body[data-pageapp="forums"] ol[data-role="forums"] > li.ipsDataItem:last-child{border-bottom:0!important}
body[data-pageapp="forums"] ol[data-role="forums"] > li.ipsDataItem:hover{background:rgba(0,87,255,.07)!important;box-shadow:inset 3px 0 0 var(--gx-blue)}
body[data-pageapp="forums"] ol[data-role="forums"] .ipsDataItem_icon{padding-top:14px!important;width:76px!important;min-width:76px}
body[data-pageapp="forums"] ol[data-role="forums"] .ipsDataItem_icon > *{
  display:grid;place-items:center;width:46px!important;height:46px!important;border-radius:13px;
  background:rgba(0,87,255,.14);box-shadow:0 0 0 1px rgba(0,87,255,.35),0 8px 24px -10px rgba(0,87,255,.7);object-fit:contain;padding:8px
}
body[data-pageapp="forums"] ol[data-role="forums"] .ipsDataItem_title{font-family:var(--gx-display)!important;font-size:1.25rem!important;font-weight:700!important;line-height:1.2}
body[data-pageapp="forums"] ol[data-role="forums"] .ipsDataItem_title a{color:#fff!important}
body[data-pageapp="forums"] ol[data-role="forums"] .ipsDataItem_title a:hover{color:var(--gx-yellow)!important}
body[data-pageapp="forums"] .ipsDataItem_subList a{display:inline-block;padding:2px 9px;border-radius:999px;background:rgba(255,255,255,.06);font-size:.78rem}
body[data-pageapp="forums"] .ipsDataItem_subList a:hover{background:rgba(255,214,0,.15);color:var(--gx-yellow)!important}
body[data-pageapp="forums"] .ipsDataItem_statsLarge .ipsDataItem_stats_number{font-family:var(--gx-display);font-size:1.25rem;font-weight:700;color:#fff}

/* Ultimo messaggio */
body[data-pageapp="forums"] .ipsDataItem_lastPoster .ipsUserPhoto{border-radius:10px!important;overflow:hidden;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
body[data-pageapp="forums"] .ipsDataItem_lastPoster .ipsUserPhoto img{border-radius:10px!important}
body[data-pageapp="forums"] .ipsDataItem_lastPoster__title a{font-weight:600;color:var(--gx-ink)!important}

/* ---------- Elenco delle discussioni ---------- */
body[data-pageapp="forums"] .cForumTopicTable,
body[data-pageapp="forums"] .ipsBox:has(> .cTopicList),
body[data-pageapp="forums"] .ipsBox:has(.cTopicList){border-radius:16px!important;overflow:hidden}
body[data-pageapp="forums"] ol.cTopicList > li.ipsDataItem{
  position:relative;background:transparent!important;border-bottom:1px solid var(--gx-line)!important;transition:background .2s,box-shadow .2s
}
body[data-pageapp="forums"] ol.cTopicList > li.ipsDataItem:hover{background:rgba(0,87,255,.07)!important;box-shadow:inset 3px 0 0 var(--gx-blue)}
body[data-pageapp="forums"] ol.cTopicList > li.ipsDataItem:has(.fa-thumb-tack){background:rgba(255,214,0,.045)!important;box-shadow:inset 3px 0 0 var(--gx-yellow)}
body[data-pageapp="forums"] ol.cTopicList .ipsDataItem_title{font-family:var(--gx-display)!important;font-size:1.18rem!important;font-weight:700!important;line-height:1.2}
body[data-pageapp="forums"] ol.cTopicList .ipsDataItem_title a{color:#fff!important}
body[data-pageapp="forums"] ol.cTopicList .ipsDataItem_title a:hover{color:var(--gx-yellow)!important}
body[data-pageapp="forums"] ol.cTopicList .ipsDataItem_unread .ipsDataItem_title a{text-shadow:0 0 18px rgba(255,214,0,.35)}
body[data-pageapp="forums"] ol.cTopicList .ipsDataItem_stats li[data-stattype="forums_comments"] .ipsDataItem_stats_number{
  display:inline-grid;place-items:center;min-width:34px;padding:2px 8px;border-radius:8px;background:rgba(0,87,255,.16);color:#cfe0ff;font-weight:800
}
body[data-pageapp="forums"] ol.cTopicList .ipsDataItem_lastPoster .ipsUserPhoto{border-radius:10px!important;overflow:hidden}

/* ---------- Titoli delle pagine forum e discussione ---------- */
body[data-pageapp="forums"] #ipsLayout_mainArea > .ipsPageHeader{
  position:relative;overflow:hidden;border-radius:16px!important;
  background:radial-gradient(ellipse at 100% 0%,rgba(0,87,255,.28),transparent 60%),linear-gradient(135deg,rgba(41,32,59,.9),rgba(31,24,46,.9))!important;
  border:1px solid var(--gx-line)!important;box-shadow:0 24px 50px -34px rgba(0,87,255,.6)!important;padding:22px 26px!important
}
body[data-pageapp="forums"] #ipsLayout_mainArea > .ipsPageHeader .ipsType_pageTitle{
  font-family:var(--gx-display)!important;font-size:clamp(1.8rem,3.4vw,2.8rem)!important;font-weight:700!important;font-style:normal!important;
  line-height:1.05!important;text-transform:uppercase;color:#fff!important;text-shadow:0 4px 24px rgba(0,0,0,.5)
}

@media(max-width:720px){
  body[data-pageapp="forums"] .cForumTitle{font-size:1.1rem!important;padding:12px 14px!important}
  body[data-pageapp="forums"] ol[data-role="forums"] .ipsDataItem_icon > *{width:38px!important;height:38px!important;border-radius:11px}
}

/* ---------- 2.9.1 Elenco delle discussioni: righe ordinate ---------- */
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid){padding:8px!important;background:transparent!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) > li.ipsDataItem{
  display:flex!important;align-items:center;gap:14px;margin:0 0 6px!important;padding:12px 16px 12px 12px!important;
  background:rgba(255,255,255,.025)!important;border:1px solid rgba(255,255,255,.06)!important;border-left:3px solid transparent!important;
  border-radius:12px!important;box-shadow:none!important;transition:background .15s,border-color .15s,transform .15s
}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) > li.ipsDataItem:last-child{margin-bottom:0!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) > li.ipsDataItem:hover{
  background:rgba(0,87,255,.08)!important;border-color:rgba(0,87,255,.35)!important;border-left-color:var(--gx-blue)!important
}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) > li.ipsDataItem_unread{border-left-color:var(--gx-yellow)!important;background:rgba(255,214,0,.035)!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) > li.ipsDataItem:has(.fa-thumb-tack){border-left-color:var(--gx-yellow)!important;background:linear-gradient(90deg,rgba(255,214,0,.09),rgba(255,255,255,.02) 40%)!important}

/* icona di stato */
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_icon{width:22px!important;min-width:22px;padding:0!important;align-self:center;text-align:center}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_icon .ipsItemStatus{font-size:9px;color:rgba(255,255,255,.15)!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_unread .ipsDataItem_icon .ipsItemStatus{color:var(--gx-yellow)!important;filter:drop-shadow(0 0 6px rgba(255,214,0,.8))}

/* titolo e autore */
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_main{flex:1;min-width:0;padding:0!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_title{
  font-family:Montserrat,system-ui,sans-serif!important;font-size:1rem!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;margin:0 0 3px!important
}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_title a{color:#e9ecf3!important;text-shadow:none!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_unread .ipsDataItem_title a{color:#fff!important;font-weight:700}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_title a:hover{color:var(--gx-yellow)!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_meta{font-size:.8rem!important;color:var(--gx-ink-3)!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_meta a{font-weight:600}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_meta .ipsTag,
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsTags a{padding:1px 8px!important;border-radius:999px!important;font-size:.7rem!important;background:rgba(0,87,255,.18)!important;color:#bcd2ff!important;border:0!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsPagination_mini a{border-radius:6px!important;background:rgba(255,255,255,.06)!important;color:var(--gx-ink-3)!important}

/* contatori */
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats{
  display:flex!important;gap:0;flex:none;width:auto!important;margin:0!important;padding:0!important;
  border:1px solid rgba(255,255,255,.07);border-radius:10px;overflow:hidden;background:rgba(0,0,0,.18)
}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats li{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;width:74px;margin:0!important;padding:6px 4px!important;
  background:transparent!important;border:0!important;border-radius:0!important;line-height:1.1
}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats li + li{border-left:1px solid rgba(255,255,255,.07)!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats .ipsDataItem_stats_number{
  display:block!important;min-width:0!important;padding:0!important;background:none!important;
  font-family:var(--gx-display)!important;font-size:1.15rem!important;font-weight:700!important;color:#fff!important;text-shadow:none!important
}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats li[data-stattype="forums_comments"] .ipsDataItem_stats_number{color:#8fb4ff!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats .ipsDataItem_stats_type{font-size:.66rem!important;text-transform:uppercase;letter-spacing:.06em;color:var(--gx-ink-3)!important}

/* ultimo messaggio */
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster{
  flex:none;width:210px!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:36px 1fr;column-gap:10px;align-items:center
}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster > li{margin:0!important;padding:0!important;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster > li:first-child{display:block!important;grid-column:1;grid-row:1 / span 2}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster > li:nth-child(2){grid-column:2;grid-row:1}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster > li:nth-child(3){grid-column:2;grid-row:2}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster .ipsUserPhoto{float:none!important;margin:0!important;position:static!important;display:block!important;width:36px!important;height:36px!important;border-radius:50%!important;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster .ipsUserPhoto img{width:36px!important;height:36px!important;border-radius:50%!important;object-fit:cover}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster > li:nth-child(2){font-size:.86rem;font-weight:600}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster > li:nth-child(3){font-size:.74rem;color:var(--gx-ink-3)!important}
body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_modCheck{flex:none;padding:0!important;width:auto!important}

/* barre sopra e sotto l'elenco, paginazione */
body[data-pageapp="forums"] .ipsBox:has(ol.cTopicList:not(.gx-wipgrid)) > .ipsButtonBar{background:rgba(255,255,255,.02)!important;border-color:var(--gx-line)!important;padding:10px 12px!important}
body[data-pageapp="forums"] .ipsButtonBar .ipsPagination{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
body[data-pageapp="forums"] .ipsButtonBar .ipsPagination > li{margin:0!important}
body[data-pageapp="forums"] .ipsButtonBar .ipsPagination > li > a{
  display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 10px!important;border-radius:9px!important;
  background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.07)!important;
  font:600 .85rem/1 Montserrat,system-ui,sans-serif!important;text-transform:none!important;color:var(--gx-ink)!important;box-shadow:none!important
}
body[data-pageapp="forums"] .ipsButtonBar .ipsPagination > li > a:hover{background:rgba(0,87,255,.2)!important;border-color:rgba(0,87,255,.45)!important;color:#fff!important}
body[data-pageapp="forums"] .ipsButtonBar .ipsPagination > li.ipsPagination_active > a{background:var(--gx-yellow)!important;border-color:var(--gx-yellow)!important;color:#141018!important;box-shadow:0 0 14px rgba(255,214,0,.4)!important}
body[data-pageapp="forums"] .ipsButtonBar .ipsPagination > li.ipsPagination_inactive{display:none!important}
body[data-pageapp="forums"] .ipsButtonBar .ipsPagination .ipsPagination_pageJump > a{background:transparent!important;border-color:transparent!important;color:var(--gx-ink-3)!important;font-weight:500!important}

@media(max-width:979px){
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) > li.ipsDataItem{flex-wrap:wrap;gap:8px 12px}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_main{flex-basis:calc(100% - 40px)}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats{margin-left:34px!important}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats li{width:64px;padding:4px!important}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster{width:auto!important;flex:1;min-width:150px}
}@media(max-width:767px){
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) > li.ipsDataItem{padding:12px!important}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_icon{display:none!important}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_main{flex-basis:100%;order:1}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_stats{order:2;margin-left:0!important}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster{order:3;position:static!important;top:auto!important;right:auto!important}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_lastPoster time::after{content:none!important}
  body[data-pageapp="forums"] ol.cTopicList:not(.gx-wipgrid) .ipsDataItem_modCheck{order:4;position:static!important}
}