/*
Theme Name: Tortuga DubsGamer
Theme URI: https://dubsgamer.com
Description: Child theme do Tortuga para migracao gradual do DubsGamer, mantendo a paleta atual e compatibilidade com templates legados.
Author: Mark
Version: 0.1.0
Template: tortuga
Text Domain: tortuga-dubsgamer
Requires PHP: 7.4
*/

:root {
    --primary-color: #b91c1c;
    --secondary-color: #991b1b;
    --tertiary-color: #7f1d1d;
    --accent-color: #60a5fa;
    --highlight-color: #22c55e;
    --light-gray-color: #252525;
    --gray-color: #888;
    --dark-gray-color: #141414;
    --text-color: #efefef;
    --medium-text-color: #a3a3a3;
    --light-text-color: #777;
    --dark-border-color: #383838;
    --medium-border-color: #2e2e2e;
    --light-border-color: #2e2e2e;
    --link-color: #efefef;
    --link-hover-color: #60a5fa;
    --button-color: #b91c1c;
    --button-text-color: #fff;
    --button-hover-color: #991b1b;
    --button-hover-text-color: #fff;
    --header-background-color: #141414;
    --header-text-color: #fff;
    --site-title-color: #fff;
    --site-title-hover-color: rgba(255, 255, 255, 0.72);
    --navi-color: #efefef;
    --navi-background-color: rgba(255, 255, 255, 0.03);
    --navi-hover-color: rgba(255,255,255,0.08);
    --navi-hover-text-color: #fff;
    --navi-border-color: rgba(255, 255, 255, 0.12);
    --page-background-color: #1d1d1d;
    --page-border-color: #2e2e2e;
    --title-color: #f1f1f1;
    --title-hover-color: #60a5fa;
    --widget-background-color: #1d1d1d;
    --widget-border-color: #b91c1c;
    --widget-title-color: #f1f1f1;
    --widget-title-hover-color: #60a5fa;
    --footer-background-color: #141414;
    --footer-text-color: #888;
    --footer-link-color: #efefef;
    --footer-link-hover-color: #b91c1c;
    --text-font: "Roboto", arial, helvetica, sans-serif;
    --title-font: "Roboto Condensed", "Roboto", arial, helvetica, sans-serif;
    --navi-font: "Roboto Condensed", "Roboto", arial, helvetica, sans-serif;
    --widget-title-font: "Roboto Condensed", "Roboto", arial, helvetica, sans-serif;
    --title-font-weight: 700;
    --navi-font-weight: 700;
    --widget-title-font-weight: 700;
}

body {
    background: #1a1a1a;
    color: #efefef;
    font-family: var(--text-font);
}

#dg-wrap {
    min-height: calc(100vh - 80px);
}

.dg-tortuga-site .site-header {
    background: var(--header-background-color);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
}

.dg-tortuga-site .tdg-header-main {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.dg-tortuga-site .tdg-header-main.container,
.dg-tortuga-site .site-content.container,
.dg-tortuga-site .site-footer.container {
    max-width: 1320px;
}

.dg-tortuga-site .site-branding .custom-logo-link + .site-title,
.dg-tortuga-site .site-branding .custom-logo-link + .site-title + .site-description {
    display: none;
}

.dg-tortuga-site .site-title a,
.dg-tortuga-site .site-title a:visited {
    color: var(--site-title-color);
}

.dg-tortuga-site .site-description {
    color: var(--footer-text-color);
}

.dg-tortuga-site .primary-navigation-wrap {
    border: none;
    background: none;
    box-shadow: none;
}

.dg-tortuga-site .site-content {
    padding-top: 15px !important;
    padding-bottom: 2rem;
}

.dg-tortuga-site .portal-scope .portal-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 52%), var(--widget-background-color);
    border: 1px solid #343434;
    border-radius: 18px;
    margin-bottom: 26px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.dg-tortuga-site .portal-scope .header-main {
    padding: 30px 34px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 24px 24px;
}

.dg-tortuga-site .portal-scope .page-title h1 {
    margin: 0 0 8px;
    font-size: 1.95rem;
    font-weight: 700;
    letter-spacing: -0.45px;
    line-height: 1.08;
    color: #efefef;
    font-family: var(--title-font);
    text-transform: none;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.dg-tortuga-site .portal-scope .portal-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: #666;
}

.dg-tortuga-site .portal-scope .portal-breadcrumbs a {
    color: #5f5f5f;
}

.dg-tortuga-site .portal-scope .portal-breadcrumbs .current {
    color: #888;
}

.dg-tortuga-site .portal-scope .portal-breadcrumbs .sep {
    opacity: 0.5;
    font-size: 0.7rem;
}

.dg-tortuga-site .portal-scope .header-desc {
    color: #727272;
    font-size: 0.72rem;
    line-height: 1.65;
    max-width: 520px;
}

.dg-tortuga-site .search-form:focus-within,
.dg-tortuga-site .search-dock:focus-within,
.dg-tortuga-site .search-dock-post:focus-within,
.dg-tortuga-site .dg-sidebar-search-dock:focus-within,
.dg-tortuga-site form[role="search"]:focus-within {
    border-color: #b91c1c !important;
}

.dg-tortuga-site .search-form .search-field:focus,
.dg-tortuga-site .search-form .search-field:focus-visible,
.dg-tortuga-site .search-dock input:focus,
.dg-tortuga-site .search-dock input:focus-visible,
.dg-tortuga-site .search-dock-post input:focus,
.dg-tortuga-site .search-dock-post input:focus-visible,
.dg-tortuga-site .dg-sidebar-search-dock input:focus,
.dg-tortuga-site .dg-sidebar-search-dock input:focus-visible,
.dg-tortuga-site form[role="search"] input[type="search"]:focus,
.dg-tortuga-site form[role="search"] input[type="search"]:focus-visible,
.dg-tortuga-site input[name="s"]:focus,
.dg-tortuga-site input[name="s"]:focus-visible,
.dg-tortuga-site input[name="q"]:focus,
.dg-tortuga-site input[name="q"]:focus-visible {
    border-color: #b91c1c !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.28) !important;
}

.dg-tortuga-site .site-header,
.dg-tortuga-site .main-header,
.dg-tortuga-site .mobile-header,
.dg-tortuga-site .ts-header,
.dg-tortuga-site .header-main-bar {
    position: relative !important;
    z-index: 9999 !important;
}

.dg-tortuga-site .mobile-menu-container,
.dg-tortuga-site .ts-mobile-menu-wrap,
.dg-tortuga-site .off-canvas,
.dg-tortuga-site .ts-mobile-nav,
.dg-tortuga-site .mfp-wrap {
    z-index: 2147483647 !important;
}

.dg-tortuga-site .portal-listing-scope {
    width: 100%;
    position: relative;
    z-index: 1;
    --c-bg: #1a1a1a;
    --c-surface: #1d1d1d;
    --c-border: #2e2e2e;
    --c-accent: #b91c1c;
    --c-text-hi: #efefef;
    --c-text-mid: #888;
    --radius: 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dg-tortuga-site .portal-listing-scope * {
    box-sizing: border-box;
}

.dg-tortuga-site .portal-listing-scope a {
    text-decoration: none;
    color: inherit;
    transition: .15s;
}

.dg-tortuga-site .portal-listing-scope .portal-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 15px;
    width: 100%;
    box-sizing: border-box;
}

.dg-tortuga-site .portal-listing-scope .portal-header {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: none;
}

.dg-tortuga-site .portal-listing-scope .header-main {
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background-image: linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.dg-tortuga-site .portal-listing-scope .page-title {
    max-width: 560px;
}

.dg-tortuga-site .portal-listing-scope .page-title h1 {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -.3px;
    color: var(--c-text-hi);
    line-height: 1.2;
}

.dg-tortuga-site .portal-listing-scope .header-desc {
    color: #555;
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    max-width: 460px;
}

.dg-tortuga-site .portal-listing-scope .portal-breadcrumbs {
    font-size: .8rem;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.dg-tortuga-site .portal-listing-scope .portal-breadcrumbs a {
    color: #555;
}

.dg-tortuga-site .portal-listing-scope .portal-breadcrumbs a:hover {
    color: var(--c-accent);
}

.dg-tortuga-site .portal-listing-scope .portal-breadcrumbs .current {
    color: #888;
}

.dg-tortuga-site .portal-listing-scope .search-dock {
    display: flex;
    width: 100%;
    max-width: 360px;
    margin: 8px 0;
}

.dg-tortuga-site .portal-listing-scope .search-input {
    flex: 1;
    background: var(--c-bg);
    border: 1px solid #3a3a3a;
    border-right: none;
    min-height: 43px;
    padding: 11px 16px;
    color: #ddd;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
    font-size: .88rem;
    min-width: 0;
}

.dg-tortuga-site .portal-listing-scope .search-input::placeholder {
    color: #444;
}

.dg-tortuga-site .portal-listing-scope .search-btn {
    background: var(--c-accent);
    color: #fff;
    border: none;
    min-height: 43px;
    padding: 0 22px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 600;
    cursor: pointer;
    font-size: .86rem;
    letter-spacing: .1px;
    white-space: nowrap;
}

.dg-tortuga-site .portal-listing-scope .search-btn:hover {
    filter: brightness(1.1);
}

.dg-tortuga-site .portal-listing-scope .nav-tabs {
    display: flex;
    background: rgba(0,0,0,.4);
    border-top: 1px solid var(--c-border);
    padding: 0 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.dg-tortuga-site .portal-listing-scope .nav-tabs::-webkit-scrollbar {
    display: none;
}

.dg-tortuga-site .portal-listing-scope .tab-link {
    padding: 13px 20px;
    font-weight: 600;
    font-size: .8rem;
    color: #888;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .4px;
    transition: .15s;
}

.dg-tortuga-site .portal-listing-scope .tab-link:hover {
    color: #aaa;
}

.dg-tortuga-site .portal-listing-scope .tab-link.active {
    color: #ddd;
    border-bottom-color: var(--c-accent);
}

.dg-tortuga-site .portal-listing-scope .results-bar {
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
    flex-wrap: wrap;
    gap: 10px;
}

.dg-tortuga-site .portal-listing-scope .results-count {
    font-size: .7rem;
    color: #777;
    letter-spacing: .05px;
}

.dg-tortuga-site .portal-listing-scope .results-highlight {
    color: #888;
    margin-right: 3px;
}

.dg-tortuga-site .portal-listing-scope .portal-info-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(59,130,246,.25);
    border-radius: 6px;
    background: rgba(59,130,246,.08);
    color: #93c5fd;
    font-size: .78rem;
}

.dg-tortuga-site .portal-listing-scope .portal-info-notice-link {
    margin-left: auto;
    color: inherit;
    text-decoration: underline;
    white-space: nowrap;
}

.dg-tortuga-site .portal-clear-link {
    margin-left: 8px;
    color: #aaa;
    font-size: .75rem;
    text-decoration: underline;
}

.dg-tortuga-site .portal-listing-scope .portal-clear-link {
    margin-left: 8px;
    color: #aaa;
    font-size: .75rem;
    text-decoration: underline;
}

.dg-tortuga-site .portal-listing-scope .filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: .76rem;
    font-weight: 700;
    color: var(--c-text-mid);
    user-select: none;
    transition: all .2s ease;
}

.dg-tortuga-site .portal-listing-scope .filter-checkbox:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.dg-tortuga-site .portal-listing-scope .filter-checkbox.active {
    background: rgba(59,130,246,.15);
    border-color: var(--c-accent);
    color: #fff;
}

.dg-tortuga-site .portal-listing-scope .filter-box {
    width: 16px;
    height: 16px;
    border: 2px solid #666;
    border-radius: 3px;
    background: rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.dg-tortuga-site .portal-listing-scope .filter-checkbox.active .filter-box {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.dg-tortuga-site .portal-listing-scope .filter-box svg {
    width: 10px;
    height: 10px;
    fill: #fff;
    opacity: 0;
    transform: scale(.5);
    transition: .2s cubic-bezier(.175,.885,.32,1.275);
}

.dg-tortuga-site .portal-listing-scope .filter-checkbox.active .filter-box svg {
    opacity: 1;
    transform: scale(1);
}

.dg-tortuga-site .portal-listing-scope .main-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 30px;
    row-gap: 24px;
}

.dg-tortuga-site .portal-listing-scope .rom-card {
    background: var(--c-surface);
    border: 1px solid #2a2a2a;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.10), 0 1px 0 rgba(0,0,0,.04);
    transition: border-color .2s;
}

.dg-tortuga-site .portal-listing-scope .cover-area {
    width: 100%;
    aspect-ratio: 106 / 150;
    position: relative;
    background: #111;
    overflow: hidden;
    border-radius: 3px;
}

.dg-tortuga-site .portal-listing-scope .cover-area > picture,
.dg-tortuga-site .portal-listing-scope .cover-area > .cover-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.dg-tortuga-site .portal-listing-scope .cover-area > picture > .cover-img {
    display: block;
    width: 100%;
    height: 100%;
}

.dg-tortuga-site .portal-listing-scope .cover-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    transition: opacity .2s;
}

.dg-tortuga-site .portal-listing-scope .cover-img.cover-ratio-portrait,
.dg-tortuga-site .portal-listing-scope .cover-img.cover-ratio-square,
.dg-tortuga-site .portal-listing-scope .cover-img.cover-ratio-landscape {
    object-fit: fill;
}

.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-area {
    aspect-ratio: 1 / 1;
}

.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img {
    object-fit: fill;
    object-position: center center;
}

.dg-tortuga-site .portal-listing-scope.portal-listing-psp .cover-area {
    aspect-ratio: 106 / 150;
}

.dg-tortuga-site .portal-listing-scope.portal-listing-psp .cover-img {
    object-fit: contain;
    object-position: center center;
}

.dg-tortuga-site .portal-listing-scope .rom-card:hover .cover-img {
    opacity: .88;
}

.dg-tortuga-site .portal-listing-scope .card-body {
    padding: 12px 4px 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.dg-tortuga-site .portal-listing-scope .card-title {
    font-size: .78rem;
    font-weight: 600;
    color: #e8e8e8;
    line-height: 1.35;
    margin: 0;
    transition: color .2s;
}

.dg-tortuga-site .portal-client-search-scope .rom-card,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .rom-card {
    height: 100%;
    justify-content: flex-start;
}

.dg-tortuga-site .portal-client-search-scope .cover-area,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-area {
    aspect-ratio: 106 / 150;
    padding: 0;
    background: transparent;
}

.dg-tortuga-site .portal-client-search-scope .cover-area > picture,
.dg-tortuga-site .portal-client-search-scope .cover-area > .cover-img,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-area > picture,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-area > .cover-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.dg-tortuga-site .portal-client-search-scope .cover-area > picture > .cover-img,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-area > picture > .cover-img {
    display: block;
    width: 100%;
    height: 100%;
}

.dg-tortuga-site .portal-client-search-scope .cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: transparent;
}

.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: transparent;
}

.dg-tortuga-site .portal-listing-scope .cover-img.cover-ratio-portrait,
.dg-tortuga-site .portal-listing-scope .cover-img.cover-ratio-square,
.dg-tortuga-site .portal-listing-scope .cover-img.cover-ratio-landscape,
.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img.cover-ratio-portrait,
.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img.cover-ratio-square,
.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img.cover-ratio-landscape,
.dg-tortuga-site .portal-listing-scope.portal-listing-psp .cover-img.cover-ratio-portrait,
.dg-tortuga-site .portal-listing-scope.portal-listing-psp .cover-img.cover-ratio-square,
.dg-tortuga-site .portal-listing-scope.portal-listing-psp .cover-img.cover-ratio-landscape,
.dg-tortuga-site .portal-client-search-scope .cover-img.cover-ratio-portrait,
.dg-tortuga-site .portal-client-search-scope .cover-img.cover-ratio-square,
.dg-tortuga-site .portal-client-search-scope .cover-img.cover-ratio-landscape,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-img.cover-ratio-portrait,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-img.cover-ratio-square,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .cover-img.cover-ratio-landscape {
    object-fit: fill;
}

.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img,
.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img.cover-ratio-portrait,
.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img.cover-ratio-square,
.dg-tortuga-site .portal-listing-scope.portal-listing-ps1 .cover-img.cover-ratio-landscape {
    object-fit: fill;
}

.dg-tortuga-site .portal-client-search-scope .card-body,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .card-body {
    width: 100%;
    flex: 1;
    align-items: flex-start;
}

.dg-tortuga-site .portal-client-search-scope .card-title,
.dg-tortuga-site .portal-listing-scope.portal-platform-pc .card-title {
    width: 100%;
    min-height: calc(1.35em * 3);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.dg-tortuga-site .portal-listing-scope .rom-card:hover .card-title {
    color: var(--c-accent);
}

.dg-tortuga-site .portal-listing-scope .portal-empty-state {
    grid-column: 1 / -1;
    padding: 48px;
    border: 1px dashed #2e2e2e;
    border-radius: 5px;
    color: #555;
    text-align: center;
}

.dg-tortuga-site .portal-empty-state {
    grid-column: 1 / -1;
    padding: 48px;
    border: 1px dashed #2e2e2e;
    border-radius: 5px;
    color: #555;
    text-align: center;
}

.dg-tortuga-site .portal-listing-scope .portal-empty-title {
    margin: 0 0 10px;
    font-size: .82rem;
}

.dg-tortuga-site .portal-empty-title {
    margin: 0 0 10px;
    font-size: .82rem;
}

.dg-tortuga-site .portal-listing-scope .portal-empty-hint {
    margin: 0;
    font-size: .75rem;
}

.dg-tortuga-site .portal-empty-hint {
    margin: 0;
    font-size: .75rem;
}

.dg-tortuga-site .portal-listing-scope .portal-empty-muted,
.dg-tortuga-site .portal-empty-muted {
    margin: 10px 0 0;
    font-size: .75rem;
    color: #777;
}

.dg-tortuga-site .portal-listing-scope .portal-empty-action {
    color: var(--c-accent);
    font-size: .75rem;
    text-decoration: underline;
}

.dg-tortuga-site .portal-empty-action {
    color: var(--c-accent);
    font-size: .75rem;
    text-decoration: underline;
}

.dg-tortuga-site .portal-listing-scope .seo-footer-wrapper {
    display: block;
    margin-top: 60px;
    padding: 0;
    border: none;
    border-radius: var(--radius);
    background: transparent;
}

.dg-tortuga-site .portal-listing-scope .seo-footer-content {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.dg-tortuga-site .portal-listing-scope .seo-box {
    padding: 18px 18px 16px;
    border: 1px solid #2a2a2a;
    border-radius: var(--radius);
    background: #1d1d1d;
}

.dg-tortuga-site .portal-listing-scope .seo-box h2 {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #d6d6d6;
    margin: 0 0 8px;
    display: block;
}

.dg-tortuga-site .portal-listing-scope .seo-box p {
    font-size: .76rem;
    color: #9a9a9a;
    line-height: 1.55;
    margin: 0;
}

.dg-tortuga-site .portal-listing-scope .pagination {
    margin-top: 48px;
    padding-top: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.dg-tortuga-site .portal-listing-scope .page-numbers {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: .95em 1.15em;
    background: #353535 !important;
    border: 1px solid #2a2a2a !important;
    color: #f2f2f2 !important;
    border-radius: 0 !important;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    transition: background .15s, border-color .15s, color .15s;
    box-shadow: none !important;
    text-decoration: none !important;
}

.dg-tortuga-site .portal-listing-scope .page-numbers.dots {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: .95em .35em;
    background: transparent !important;
    border: none !important;
    color: #9b9b9b !important;
}

.dg-tortuga-site .portal-listing-scope .page-numbers:hover:not(.current) {
    background: #454545 !important;
    color: #fff !important;
    border-color: #5a5a5a !important;
}

.dg-tortuga-site .portal-listing-scope .page-numbers.current {
    background: var(--c-accent) !important;
    color: #fff !important;
    border-color: var(--c-accent) !important;
}

.dg-tortuga-site .portal-tutorials-scope .tut-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.dg-tortuga-site .portal-tutorials-scope .tut-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid #2a2a2a;
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
}

.dg-tortuga-site .portal-tutorials-scope .tut-card:hover {
    border-color: #484848;
}

.dg-tortuga-site .portal-tutorials-scope .tut-thumb-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    overflow: hidden;
    flex-shrink: 0;
}

.dg-tortuga-site .portal-tutorials-scope .tut-thumb-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity .2s;
}

.dg-tortuga-site .portal-tutorials-scope .tut-card:hover .tut-thumb-wrap img {
    opacity: .88;
}

.dg-tortuga-site .portal-tutorials-scope .tut-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dg-tortuga-site .portal-tutorials-scope .tut-cat-badge {
    display: inline-block;
    background: rgba(59,130,246,.1);
    color: #b91c1c;
    border: 1px solid rgba(59,130,246,.2);
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-bottom: 7px;
    align-self: flex-start;
}

.dg-tortuga-site .portal-tutorials-scope .tut-title {
    font-size: 1rem;
    font-weight: 700;
    color: #e8e8e8;
    line-height: 1.35;
    margin: 0 0 8px;
    transition: color .2s;
}

.dg-tortuga-site .portal-tutorials-scope .tut-card:hover .tut-title {
    color: var(--c-accent);
}

.dg-tortuga-site .portal-tutorials-scope .tut-excerpt {
    font-size: .75rem;
    color: #555;
    line-height: 1.55;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-tortuga-site .portal-tutorials-scope .tut-meta {
    font-size: .68rem;
    color: #444;
    margin-top: 10px;
}

.dg-tortuga-site .portal-listing-centered-scope .header-main {
    display: block;
    text-align: center;
}

.dg-tortuga-site .portal-listing-centered-scope .page-title {
    margin: 0 auto;
    max-width: none;
    text-align: center;
}

.dg-tortuga-site .portal-listing-centered-scope .header-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dg-tortuga-site .portal-listing-centered-scope .portal-breadcrumbs {
    justify-content: center;
}

.dg-tortuga-site .portal-hub-platform-scope .empty-state {
    text-align: center;
    padding: 80px 20px;
    border: 2px dashed var(--c-border);
    border-radius: var(--radius);
}

.dg-tortuga-site .portal-hub-platform-scope .empty-title {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 8px;
}

.dg-tortuga-site .portal-hub-platform-scope .empty-text {
    font-size: .85rem;
    color: #555;
    margin: 0 0 20px;
}

.dg-tortuga-site .portal-hub-platform-scope .empty-back {
    display: inline-block;
    padding: 10px 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    font-size: .82rem;
    color: var(--c-text-mid);
    transition: .2s;
}

.dg-tortuga-site .portal-hub-platform-scope .empty-back:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.dg-tortuga-site .portal-archive-scope {
    font-family: "Inter", sans-serif;
}

.dg-tortuga-site .portal-archive-scope .portal-wrap {
    max-width: 1300px;
    padding: 40px 20px;
}

.dg-tortuga-site .portal-archive-scope .portal-header {
    background: #252525;
    border: 1px solid #383838;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.5);
}

.dg-tortuga-site .portal-archive-scope .header-main {
    padding: 25px;
    gap: 20px;
}

.dg-tortuga-site .portal-archive-scope .portal-breadcrumbs {
    color: #a3a3a3;
    margin-bottom: 8px;
    font-weight: 500;
}

.dg-tortuga-site .portal-archive-scope .portal-breadcrumbs a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.dg-tortuga-site .portal-archive-scope .portal-breadcrumbs .current {
    color: #b91c1c;
}

.dg-tortuga-site .portal-archive-scope .search-dock {
    max-width: 400px;
}

.dg-tortuga-site .portal-archive-scope .search-input {
    background: #1c1c1c;
    border: 1px solid #383838;
    border-right: none;
    padding: 10px 16px;
    color: #fff;
    border-radius: 8px 0 0 8px;
}

.dg-tortuga-site .portal-archive-scope .search-btn {
    background: #b91c1c;
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    font-size: .85rem;
}

.dg-tortuga-site .portal-archive-scope .arc-results-bar {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #383838;
    padding-bottom: 10px;
    gap: 12px;
    flex-wrap: wrap;
}

.dg-tortuga-site .portal-archive-scope .arc-results-count {
    font-size: .75rem;
    font-weight: 400;
    color: #666;
}

.dg-tortuga-site .portal-archive-scope .arc-results-bar a {
    color: #aaa;
    font-size: .75rem;
    text-decoration: underline;
}

.dg-tortuga-site .portal-archive-scope .arc-results-highlight {
    color: #b91c1c;
    margin-right: 4px;
}

.dg-tortuga-site .portal-archive-scope .arc-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    border: 2px dashed #383838;
    border-radius: 8px;
}

.dg-tortuga-site .portal-archive-scope .arc-empty h3 {
    margin: 0 0 8px;
    color: #888;
}

.dg-tortuga-site .portal-archive-scope .arc-empty p {
    margin: 0;
    font-size: .85rem;
}

.dg-tortuga-site .portal-archive-scope .arc-empty a {
    color: #b91c1c;
}

.dg-tortuga-site .portal-archive-scope .dg-card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
}

.dg-tortuga-site .portal-archive-scope .dg-card-version {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.92);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.dg-tortuga-site .portal-roms-hub-scope {
    width: 100%;
    min-height: 100vh;
    background-color: #1a1a1a;
    color: #efefef;
    font-family: var(--text-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    --c-bg: #1a1a1a;
    --c-surface: #1d1d1d;
    --c-border: #2e2e2e;
    --c-accent: #b91c1c;
    --c-text-hi: #efefef;
    --c-text-mid: #888;
    --radius: 18px;
}

.dg-tortuga-site .portal-roms-hub-scope * {
    box-sizing: border-box;
}

.dg-tortuga-site .portal-roms-hub-scope .portal-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 15px;
    width: 100%;
}

.dg-tortuga-site .portal-roms-hub-scope .portal-header {
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0) 52%), var(--c-surface);
    border: 1px solid #343434;
    border-radius: var(--radius);
    margin-bottom: 26px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.22);
}

.dg-tortuga-site .portal-roms-hub-scope .portal-heading {
    padding: 30px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 24px 24px;
}

.dg-tortuga-site .portal-roms-hub-scope .portal-title h1 {
    font-size: 1.95rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -.45px;
    color: var(--c-text-hi);
    line-height: 1.08;
    font-family: var(--title-font, "Roboto Condensed", "Roboto", Arial, sans-serif);
}

.dg-tortuga-site .portal-roms-hub-scope .portal-breadcrumbs {
    font-size: .78rem;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.dg-tortuga-site .portal-roms-hub-scope .portal-breadcrumbs a {
    color: #5f5f5f;
}

.dg-tortuga-site .portal-roms-hub-scope .portal-breadcrumbs a:hover {
    color: var(--c-accent);
}

.dg-tortuga-site .portal-roms-hub-scope .header-desc {
    color: #727272;
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 520px;
}

.dg-tortuga-site .portal-roms-hub-scope .console-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
}

.dg-tortuga-site .portal-roms-hub-scope .console-card {
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0) 65%), var(--c-surface);
    border: 1px solid #313131;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: border-color .2s, box-shadow .2s;
    box-shadow: 0 18px 34px rgba(0,0,0,.18);
}

.dg-tortuga-site .portal-roms-hub-scope .console-card:hover {
    border-color: #444;
    box-shadow: 0 18px 34px rgba(0,0,0,.18);
}

.dg-tortuga-site .portal-roms-hub-scope .c-art-box {
    width: 100%;
    height: 190px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 18px 18px 16px;
}

.dg-tortuga-site .portal-roms-hub-scope .bg-ps2 {
    background: radial-gradient(circle at top right, rgba(96,165,250,.2), transparent 34%), linear-gradient(140deg, #003791 0%, #001b55 48%, #08111d 100%);
}

.dg-tortuga-site .portal-roms-hub-scope .bg-ps1 {
    background: radial-gradient(circle at top right, rgba(255,255,255,.14), transparent 34%), linear-gradient(140deg, #787878 0%, #303030 52%, #151515 100%);
}

.dg-tortuga-site .portal-roms-hub-scope .bg-psp {
    background: radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 34%), linear-gradient(140deg, #2b2b2b 0%, #111111 52%, #050505 100%);
}

.dg-tortuga-site .portal-roms-hub-scope .c-art-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .55;
}

.dg-tortuga-site .portal-roms-hub-scope .c-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.24) 62%, transparent);
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    pointer-events: none;
}

.dg-tortuga-site .portal-roms-hub-scope .c-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #f3f3f3;
    margin: 0;
    letter-spacing: -.02em;
    line-height: 1.08;
    font-family: var(--title-font, "Roboto Condensed", "Roboto", Arial, sans-serif);
    transition: color .2s;
}

.dg-tortuga-site .portal-roms-hub-scope .console-card:hover .c-title {
    color: #fff;
}

.dg-tortuga-site .portal-roms-hub-scope .c-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.dg-tortuga-site .portal-roms-hub-scope .stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #909090;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.dg-tortuga-site .portal-roms-hub-scope .stat-highlight {
    color: #fff;
    margin-left: 2px;
    font-weight: 700;
}

.dg-tortuga-site .portal-contact-scope .portal-wrap {
    min-height: 70vh;
}

.dg-tortuga-site .portal-contact-scope .section {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 14px;
}

.dg-tortuga-site .portal-contact-scope .section-tag {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 12px;
    display: block;
}

.dg-tortuga-site .portal-contact-scope .section h2 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #efefef;
    margin: 0 0 10px 0;
}

.dg-tortuga-site .portal-contact-scope .section p {
    font-size: .82rem;
    color: #888;
    line-height: 1.75;
    margin: 0 0 18px 0;
}

.dg-tortuga-site .portal-contact-scope .section p strong {
    color: #aaa;
}

.dg-tortuga-site .portal-contact-scope .email-line {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #666;
}

.dg-tortuga-site .portal-contact-scope .email-line svg {
    width: 14px;
    height: 14px;
    fill: #444;
    flex-shrink: 0;
}

.dg-tortuga-site .portal-contact-scope .email-line span {
    font-size: .88rem;
    font-weight: 700;
    color: #888;
    letter-spacing: .2px;
}

.dg-tortuga-site .portal-contact-scope .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 14px;
    color: #2e2e2e;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.dg-tortuga-site .portal-contact-scope .divider::before,
.dg-tortuga-site .portal-contact-scope .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #222;
}

.dg-tortuga-site .portal-contact-scope .contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.dg-tortuga-site .portal-contact-scope .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dg-tortuga-site .portal-contact-scope .form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dg-tortuga-site .portal-contact-scope .form-field label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #555;
}

.dg-tortuga-site .portal-contact-scope .form-field input,
.dg-tortuga-site .portal-contact-scope .form-field select,
.dg-tortuga-site .portal-contact-scope .form-field textarea {
    background: #141414;
    border: 1px solid #2e2e2e;
    border-radius: var(--radius);
    padding: 10px 13px;
    color: #ccc;
    font-size: .83rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
    width: 100%;
}

.dg-tortuga-site .portal-contact-scope .form-field input:focus,
.dg-tortuga-site .portal-contact-scope .form-field select:focus,
.dg-tortuga-site .portal-contact-scope .form-field textarea:focus {
    border-color: #555;
}

.dg-tortuga-site .portal-contact-scope .form-field select {
    appearance: none;
    cursor: pointer;
}

.dg-tortuga-site .portal-contact-scope .form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.dg-tortuga-site .portal-contact-scope .form-submit {
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 11px 28px;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    align-self: flex-start;
    transition: filter .2s;
}

.dg-tortuga-site .portal-contact-scope .form-submit:hover {
    filter: brightness(1.1);
}

.dg-tortuga-site .portal-contact-scope .form-notice {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: .8rem;
    font-weight: 600;
}

.dg-tortuga-site .portal-contact-scope .form-notice.ok {
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.25);
    color: #4ade80;
}

.dg-tortuga-site .portal-contact-scope .form-notice.err {
    background: rgba(185,28,28,.1);
    border: 1px solid rgba(185,28,28,.3);
    color: #f87171;
}

.dg-tortuga-site .portal-translation-home-scope .brand-section {
    margin-bottom: 32px;
}

.dg-tortuga-site .portal-translation-home-scope .brand-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border);
    position: relative;
}

.dg-tortuga-site .portal-translation-home-scope .brand-label::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--c-brand, var(--c-accent));
}

.dg-tortuga-site .portal-translation-home-scope .brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
    background: var(--c-brand, var(--c-accent));
}

.dg-tortuga-site .portal-translation-home-scope .brand-label-text {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #555;
}

.dg-tortuga-site .portal-translation-home-scope .console-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .console-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope {
    --radius: 5px;
}

.dg-tortuga-site .portal-translation-home-scope .console-card {
    background: var(--c-surface);
    border: 1px solid #2a2a2a;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0 0 rgba(255,255,255,0);
    transition: box-shadow 1.4s ease, border-color 1.4s ease;
}

.dg-tortuga-site .portal-translation-home-scope .console-card:hover {
    border-color: #4a4a4a;
    box-shadow: 0 0 18px rgba(255,255,255,.07), 0 0 6px rgba(255,255,255,.04);
}

.dg-tortuga-site .portal-translation-home-scope .c-art-box {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-surface);
}

.dg-tortuga-site .portal-translation-home-scope .console-img {
    max-height: 72%;
    max-width: 76%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
    transition: filter .2s;
}

.dg-tortuga-site .portal-translation-home-scope .console-card:hover .console-img {
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.7)) brightness(1.08);
}

.dg-tortuga-site .portal-translation-home-scope .art-icon {
    font-size: 64px;
    color: rgba(255,255,255,.1);
    transition: color .2s;
}

.dg-tortuga-site .portal-translation-home-scope .console-card:hover .art-icon {
    color: rgba(255,255,255,.18);
}

.dg-tortuga-site .portal-translation-home-scope .console-mockup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.dg-tortuga-site .portal-translation-home-scope .console-mockup svg {
    height: 72px;
    width: auto;
    max-width: 90%;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
    transition: filter .2s;
}

.dg-tortuga-site .portal-translation-home-scope .console-card:hover .console-mockup svg {
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)) brightness(1.1);
}

.dg-tortuga-site .portal-translation-home-scope .c-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0,0,0,.3);
    border-top: 1px solid var(--c-border);
}

.dg-tortuga-site .portal-translation-home-scope .c-title {
    font-size: .72rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: .2px;
    line-height: 1.2;
    transition: color .2s;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dg-tortuga-site .portal-translation-home-scope .console-card:hover .c-title {
    color: var(--c-brand, var(--c-accent));
}

.dg-tortuga-site .portal-translation-home-scope .stat-highlight {
    color: #666;
    font-weight: 700;
    font-size: .82rem;
    flex-shrink: 0;
    margin-left: 6px;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .console-card {
    background: var(--c-surface);
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    box-shadow: 0 0 0 rgba(255,255,255,0);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .console-card:hover {
    border-color: #4a4a4a;
    box-shadow: 0 0 18px rgba(255,255,255,.07), 0 0 6px rgba(255,255,255,.04);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .c-art-box::before {
    display: none;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .c-art-box.bg-ps2 {
    background: radial-gradient(circle at top right, rgba(96,165,250,.2), transparent 34%), linear-gradient(140deg, #003791 0%, #001b55 48%, #08111d 100%);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .c-art-box.bg-ps1 {
    background: radial-gradient(circle at top right, rgba(255,255,255,.14), transparent 34%), linear-gradient(140deg, #787878 0%, #303030 52%, #151515 100%);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .c-art-box.bg-psp {
    background: radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 34%), linear-gradient(140deg, #2b2b2b 0%, #111111 52%, #050505 100%);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .c-stats-bar {
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0,0,0,.3);
    border-top: 1px solid var(--c-border);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .c-title {
    font-size: .72rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .2px;
    line-height: 1.2;
    transition: color .2s;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .console-card:hover .c-title {
    color: var(--c-accent);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .stat-highlight {
    color: #666;
    font-weight: 700;
    font-size: .82rem;
    flex-shrink: 0;
    margin-left: 6px;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .portal-header {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: none;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .header-main {
    padding: 20px 22px;
    display: block;
    text-align: center;
    background-image: linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .page-title {
    margin: 0 auto;
    max-width: none;
    text-align: center;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .page-title h1 {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -.3px;
    color: var(--c-text-hi);
    line-height: 1.2;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .portal-breadcrumbs {
    justify-content: center;
    font-size: .8rem;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .portal-breadcrumbs a {
    color: #555;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .portal-breadcrumbs a:hover {
    color: var(--c-accent);
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .portal-breadcrumbs .current {
    color: #888;
}

.dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .header-desc {
    color: #555;
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 460px;
    text-align: center;
}

.dg-tortuga-site #portal-root.portal-home-scope {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.dg-tortuga-site.home .site-content {
    padding-top: 0 !important;
}

.dg-tortuga-site #portal-root.portal-home-scope a {
    text-decoration: none;
    color: inherit;
    transition: .2s;
}

.dg-tortuga-site #portal-root.portal-home-scope .cache-ok {
    background: #10b981;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.dg-tortuga-site #portal-root.portal-home-scope .portal-header {
    background: #252525;
    border: 1px solid #333333;
    border-radius: 8px;
    margin-top: 28px !important;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
    overflow: visible;
    position: relative;
    z-index: 10;
}

.dg-tortuga-site #portal-root.portal-home-scope .header-main {
    padding: 70px 30px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 30px 30px;
    border-radius: 8px;
}

.dg-tortuga-site #portal-root.portal-home-scope .page-title h1 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 30%, #777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.dg-tortuga-site #portal-root.portal-home-scope .header-desc {
    color: #a0a0a0;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.dg-tortuga-site #portal-root.portal-home-scope .search-dock {
    display: flex;
    width: 100%;
    max-width: 380px;
    margin-top: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,.45);
}

.dg-tortuga-site #portal-root.portal-home-scope .search-input {
    flex: 1;
    min-width: 0;
    background: #111;
    border: 1.5px solid #383838;
    border-right: none;
    padding: 17px 18px;
    color: #eee;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: .95rem;
    transition: border-color .2s, background .2s;
}

.dg-tortuga-site #portal-root.portal-home-scope .search-input::placeholder {
    color: #555;
}

.dg-tortuga-site #portal-root.portal-home-scope .search-input:focus {
    border-color: #b91c1c;
    background: #161616;
}

.dg-tortuga-site #portal-root.portal-home-scope .search-btn {
    background: #b91c1c;
    color: #fff;
    border: none;
    padding: 0 28px;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .85rem;
    white-space: nowrap;
    transition: filter .2s;
    flex-shrink: 0;
}

.dg-tortuga-site #portal-root.portal-home-scope .search-btn:hover {
    filter: brightness(1.15);
}

.dg-tortuga-site #portal-root.portal-home-scope .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    margin-top: 50px;
    border-bottom: 1px solid #333333;
    padding-bottom: 15px;
}

.dg-tortuga-site #portal-root.portal-home-scope .st-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.dg-tortuga-site #portal-root.portal-home-scope .st-title i,
.dg-tortuga-site #portal-root.portal-home-scope .st-title svg {
    flex: 0 0 auto;
}

.dg-tortuga-site #portal-root.portal-home-scope .dg-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.dg-tortuga-site #portal-root.portal-home-scope .dg-home-icon svg {
    width: 1em;
    height: 1em;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dg-tortuga-site #portal-root.portal-home-scope .st-title .dg-home-icon {
    font-size: 1.15rem;
}

.dg-tortuga-site #portal-root.portal-home-scope .st-link .dg-home-icon {
    font-size: 0.95rem;
}

.dg-tortuga-site #portal-root.portal-home-scope .st-link {
    font-size: .8rem;
    font-weight: 700;
    color: #a0a0a0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: .2s;
}

.dg-tortuga-site #portal-root.portal-home-scope .st-link:hover {
    color: #fff;
}

.dg-tortuga-site #portal-root.portal-home-scope .grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.dg-tortuga-site #portal-root.portal-home-scope .grid-4,
.dg-tortuga-site #portal-root.portal-home-scope .grid-emu {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-cat {
    background: #252525;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: .3s;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-cat:hover {
    background: #2a2a2a;
    border-color: #555;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.dg-tortuga-site #portal-root.portal-home-scope .cc-icon-box {
    width: 55px;
    height: 55px;
    background: #1c1c1c;
    border-radius: 8px;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ccc;
    transition: .3s;
}

.dg-tortuga-site #portal-root.portal-home-scope .cc-icon-box .dg-home-icon {
    font-size: 1.8rem;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-cat:hover .cc-icon-box {
    color: #fff;
    border-color: #555;
}

.dg-tortuga-site #portal-root.portal-home-scope .cc-info h3 {
    margin: 0 0 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.dg-tortuga-site #portal-root.portal-home-scope .cc-info p {
    margin: 0;
    font-size: .85rem;
    color: #a0a0a0;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-featured {
    position: relative;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333333;
    display: block;
    transition: .3s ease;
}

.dg-tortuga-site #portal-root.portal-home-scope .cf-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.dg-tortuga-site #portal-root.portal-home-scope .cf-bg-image,
.dg-tortuga-site #portal-root.portal-home-scope .cf-bg-fallback {
    width: 100%;
    height: 100%;
    display: block;
}

.dg-tortuga-site #portal-root.portal-home-scope .cf-bg-image {
    object-fit: cover;
    object-position: center center;
}

.dg-tortuga-site #portal-root.portal-home-scope .cf-bg-fallback {
    background: #2a2a2a;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-featured:hover {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255,255,255,.4);
}

.dg-tortuga-site #portal-root.portal-home-scope .card-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1c1c1c 10%, rgba(28,28,28,.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.dg-tortuga-site #portal-root.portal-home-scope .cf-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.dg-tortuga-site #portal-root.portal-home-scope .cf-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,.8);
    line-height: 1.2;
}

.dg-tortuga-site #portal-root.portal-home-scope .cf-sys {
    font-size: .8rem;
    color: #ccc;
    margin-top: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-emu {
    background: #252525;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-emu:hover {
    background: #2a2a2a;
    border-color: #666;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.dg-tortuga-site #portal-root.portal-home-scope .ce-icon {
    font-size: 2.5rem;
    color: #a0a0a0;
    margin-bottom: 15px;
    transition: .3s;
}

.dg-tortuga-site #portal-root.portal-home-scope .card-emu:hover .ce-icon {
    color: #fff;
}

.dg-tortuga-site #portal-root.portal-home-scope .ce-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.dg-tortuga-site #portal-root.portal-home-scope .ce-sub {
    font-size: .7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dg-tortuga-site #portal-root.portal-home-scope .feed-table {
    background: #252525;
    border: 1px solid #333333;
    border-radius: 8px;
    overflow: hidden;
}

.dg-tortuga-site #portal-root.portal-home-scope .ft-row {
    display: grid;
    grid-template-columns: 100px 1fr 150px 100px 100px;
    padding: 18px 25px;
    align-items: center;
    border-bottom: 1px solid #333333;
    transition: .2s;
}

.dg-tortuga-site #portal-root.portal-home-scope .ft-header {
    background: rgba(0,0,0,.2);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.dg-tortuga-site #portal-root.portal-home-scope .ft-align-center {
    text-align: center;
}

.dg-tortuga-site #portal-root.portal-home-scope .ft-align-right {
    text-align: right;
}

.dg-tortuga-site #portal-root.portal-home-scope .ft-item {
    cursor: pointer;
}

.dg-tortuga-site #portal-root.portal-home-scope .ft-item:hover {
    background: rgba(255,255,255,.03);
}

.dg-tortuga-site #portal-root.portal-home-scope .col-id {
    color: #b91c1c;
    font-family: monospace;
    font-size: .9rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.dg-tortuga-site #portal-root.portal-home-scope .col-title {
    font-weight: 600;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dg-tortuga-site #portal-root.portal-home-scope .col-sys {
    font-size: .75rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    background: #151515;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.dg-tortuga-site #portal-root.portal-home-scope .col-reg {
    font-size: .75rem;
    color: #aaa;
    text-align: center;
}

.dg-tortuga-site #portal-root.portal-home-scope .col-status {
    text-align: right;
    font-size: .7rem;
    font-weight: 800;
    color: #10b981;
    text-transform: uppercase;
}

.dg-tortuga-site .footer-wrap {
    margin-top: 2rem;
    background: var(--footer-background-color);
    border-top: 1px solid #222;
}

.dg-tortuga-site .site-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.dg-tortuga-site .site-info,
.dg-tortuga-site .dg-footer-copy {
    float: none;
    margin: 0;
    padding: 0 0 0 1rem;
    color: #555;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: left;
}

.dg-tortuga-site .dg-footer-nav {
    flex-shrink: 1;
    min-width: 0;
    padding-right: 1rem;
}

.dg-tortuga-site .footer-menu,
.dg-tortuga-site .dg-footer-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dg-tortuga-site .dg-footer-nav a,
.dg-tortuga-site .dg-footer-nav a:hover,
.dg-tortuga-site .dg-footer-nav a:active,
.dg-tortuga-site .dg-footer-nav a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    font-size: 0.72rem;
}

.dg-tortuga-site .dg-footer-nav a {
    color: #555;
    transition: color .15s;
}

.dg-tortuga-site .dg-footer-nav a:hover,
.dg-tortuga-site .dg-footer-nav a:active {
    color: #888;
}

@media only screen and (max-width: 50em) {
    .dg-tortuga-site .site-footer {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .dg-tortuga-site .site-info,
    .dg-tortuga-site .dg-footer-copy {
        white-space: normal;
        padding: 0 1rem;
        text-align: center;
    }

    .dg-tortuga-site .dg-footer-nav {
        padding-right: 0;
    }

    .dg-tortuga-site .footer-menu,
    .dg-tortuga-site .dg-footer-nav ul {
        flex-wrap: wrap;
        gap: 0.3rem 0.85rem;
        justify-content: center;
    }

    .dg-tortuga-site .portal-scope .portal-header {
        margin-bottom: 14px;
        border-radius: 16px;
    }

    .dg-tortuga-site .portal-scope .header-main {
        padding: 18px 16px 16px;
    }

    .dg-tortuga-site .portal-scope .page-title h1 {
        font-size: 1.3rem !important;
        line-height: 1.16 !important;
    }

    .dg-tortuga-site .portal-scope .portal-breadcrumbs {
        gap: 3px !important;
        margin-bottom: 6px !important;
        font-size: 0.58rem !important;
        opacity: 0.82;
    }

    .dg-tortuga-site .portal-scope .header-desc {
        font-size: 0.62rem !important;
        line-height: 1.55 !important;
    }

    .dg-tortuga-site .portal-listing-scope .portal-header {
        margin-bottom: 12px;
    }

    .dg-tortuga-site .portal-listing-scope .header-main {
        padding: 12px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .dg-tortuga-site .portal-listing-scope .page-title h1 {
        font-size: 1.3rem !important;
        line-height: 1.16 !important;
    }

    .dg-tortuga-site .portal-listing-scope .portal-breadcrumbs {
        gap: 3px !important;
        margin-bottom: 6px !important;
        font-size: 0.58rem !important;
        opacity: 0.82;
    }

    .dg-tortuga-site .portal-listing-scope .header-desc {
        font-size: 0.62rem !important;
    }

    .dg-tortuga-site .portal-listing-scope .search-dock {
        max-width: 100%;
        width: 100%;
    }

    .dg-tortuga-site .portal-listing-scope .main-grid {
        grid-template-columns: repeat(2,1fr);
        column-gap: 12px;
        row-gap: 20px;
    }

    .dg-tortuga-site .portal-listing-scope .rom-card {
        padding: 8px 5px 10px;
    }

    .dg-tortuga-site .portal-listing-scope .card-body {
        padding: 8px 4px 0;
    }

    .dg-tortuga-site .portal-listing-scope .card-title {
        font-size: 0.82rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dg-tortuga-site .portal-listing-scope .nav-tabs {
        padding: 0 8px;
    }

    .dg-tortuga-site .portal-listing-scope .filter-checkbox {
        gap: 8px;
        padding: 6px 14px;
        font-size: .7rem;
    }

    .dg-tortuga-site .portal-listing-scope .portal-info-notice {
        font-size: .72rem;
    }

    .dg-tortuga-site .portal-listing-scope .portal-empty-state {
        padding: 32px 18px;
    }

    .dg-tortuga-site .portal-empty-state {
        padding: 32px 18px;
    }

    .dg-tortuga-site .portal-listing-scope .pagination {
        gap: 8px;
    }

    .dg-tortuga-site .portal-listing-scope .page-numbers {
        margin: 0 5px 5px 0;
        padding: .82em .92em;
        font-size: .84rem;
    }

    .dg-tortuga-site .portal-listing-scope .page-numbers.dots {
        margin: 0 5px 5px 0;
        padding: .82em .18em;
    }

    .dg-tortuga-site .portal-listing-scope .seo-footer-wrapper {
        display: block;
    }

    .dg-tortuga-site .portal-listing-centered-scope .header-main {
        display: block;
    }

    .dg-tortuga-site .portal-listing-centered-scope .page-title,
    .dg-tortuga-site .portal-listing-centered-scope .header-desc {
        text-align: center;
    }

    .dg-tortuga-site .portal-listing-centered-scope .portal-breadcrumbs {
        justify-content: center;
    }

    .dg-tortuga-site .portal-tutorials-scope .tut-grid {
        grid-template-columns: 1fr;
    }

    .dg-tortuga-site .portal-contact-scope .section {
        padding: 18px;
    }

    .dg-tortuga-site .portal-contact-scope .form-row {
        grid-template-columns: 1fr;
    }

    .dg-tortuga-site .portal-roms-hub-scope .portal-wrap {
        padding: 12px 8px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .portal-header {
        margin-bottom: 14px;
        border-radius: 16px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .portal-heading {
        padding: 18px 16px 16px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .portal-breadcrumbs {
        font-size: .58rem;
        gap: 3px;
        margin-bottom: 6px;
        opacity: .82;
    }

    .dg-tortuga-site .portal-roms-hub-scope .portal-title h1 {
        font-size: 1.38rem;
        line-height: 1.12;
    }

    .dg-tortuga-site .portal-roms-hub-scope .header-desc {
        font-size: .8rem;
    }

    .dg-tortuga-site .portal-roms-hub-scope .console-grid {
        gap: 12px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .console-card {
        border-radius: 16px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .c-art-box {
        height: 148px;
        padding: 14px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .c-title {
        font-size: 1.06rem;
    }

    .dg-tortuga-site .portal-roms-hub-scope .c-stats-bar {
        padding: 14px 16px 16px;
    }

    .dg-tortuga-site .portal-translation-home-scope .console-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .console-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 12px;
    }

    .dg-tortuga-site .portal-translation-home-scope .c-art-box {
        height: 110px;
    }

    .dg-tortuga-site .portal-translation-home-scope .c-title {
        font-size: .72rem;
    }

    .dg-tortuga-site #portal-root.portal-home-scope {
        padding: 0 8px 80px;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .search-dock {
        max-width: 100%;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .st-link {
        font-size: .75rem;
    }

    .dg-tortuga-site .portal-archive-scope .header-main {
        flex-direction: column;
        align-items: stretch;
    }

    .dg-tortuga-site .portal-archive-scope .search-dock {
        max-width: 100%;
    }
}

@media only screen and (max-width: 68.75em) {
    .dg-tortuga-site .portal-listing-scope .main-grid {
        grid-template-columns: repeat(4,1fr);
        column-gap: 18px;
        row-gap: 26px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .console-grid {
        grid-template-columns: 1fr;
    }

    .dg-tortuga-site .portal-roms-hub-scope .portal-heading {
        padding: 22px 22px 20px;
    }

    .dg-tortuga-site .portal-roms-hub-scope .c-art-box {
        height: 176px;
    }

    .dg-tortuga-site .portal-translation-home-scope .console-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .console-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .c-art-box {
        height: 110px;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .grid-3,
    .dg-tortuga-site #portal-root.portal-home-scope .grid-emu {
        grid-template-columns: 1fr;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .grid-4 {
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .ft-header,
    .dg-tortuga-site #portal-root.portal-home-scope .col-id,
    .dg-tortuga-site #portal-root.portal-home-scope .col-reg,
    .dg-tortuga-site #portal-root.portal-home-scope .col-sys {
        display: none;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .ft-row {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 15px;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .card-featured {
        height: 190px;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .page-title h1 {
        font-size: 2rem;
    }

    .dg-tortuga-site #portal-root.portal-home-scope .header-main {
        padding: 36px 20px !important;
    }
}

@media only screen and (max-width: 51.25em) {
    .dg-tortuga-site .portal-listing-scope .main-grid {
        grid-template-columns: repeat(3,1fr);
        column-gap: 14px;
        row-gap: 24px;
    }

    .dg-tortuga-site .portal-listing-scope .seo-footer-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dg-tortuga-site .portal-tutorials-scope .tut-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .dg-tortuga-site .portal-translation-home-scope .console-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media only screen and (max-width: 23.75em) {
    .dg-tortuga-site .portal-translation-home-scope .console-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-width: 60em) {
    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .site-branding {
        float: none;
        display: flex;
        align-items: center;
        margin: 0;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .site-branding .custom-logo {
        float: none;
        margin: 0;
        max-height: 50px;
        width: auto;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .primary-navigation-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .primary-navigation-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .primary-navigation {
        margin-left: 0;
    }

    .dg-tortuga-site #masthead .main-navigation > ul.menu {
        flex-flow: row nowrap;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .main-navigation > ul > li > a {
        padding: 0.9rem 0.85rem;
        white-space: nowrap;
    }
}

@media only screen and (max-width: 59.999em) {
    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline {
        display: block;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .site-branding {
        margin: 0;
        text-align: center;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .site-branding .custom-logo {
        float: none;
        margin: 0 auto;
        max-height: 50px;
        width: auto;
    }

    .dg-tortuga-site .tdg-header-main.container.tdg-header-inline .primary-navigation-container {
        padding: 0;
    }
}

.widget,
.type-post,
.type-page,
.page-header,
.pagination,
.comments-area,
.post-navigation,
.post-pagination,
.post-related {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.entry-content,
.entry-summary,
.entry-meta,
.widget,
.widget a,
.site-content,
.page-content,
.post-content {
    color: #d0d0d0;
}

.entry-title a:hover,
.entry-title a:active,
.widget-title a:hover,
.widget-title a:active {
    color: var(--title-hover-color);
}

/* Nav links: base */
.dg-tortuga-site #masthead .main-navigation ul a {
    border-bottom: none !important;
    border: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

/* Nav links: hover and current-menu-item */
.dg-tortuga-site #masthead .main-navigation a:hover,
.dg-tortuga-site #masthead .main-navigation a:active {
    color: var(--navi-color) !important;
    background: var(--navi-hover-color) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.dg-tortuga-site #masthead .main-navigation .current-menu-item > a,
.dg-tortuga-site #masthead .main-navigation .current-menu-ancestor > a,
.dg-tortuga-site #masthead .main-navigation .current_page_item > a,
.dg-tortuga-site #masthead .main-navigation .current_page_ancestor > a {
    color: #888888 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.dg-tortuga-site #masthead .main-navigation li.current-menu-item,
.dg-tortuga-site #masthead .main-navigation li.current-menu-ancestor,
.dg-tortuga-site #masthead .main-navigation li.current_page_item,
.dg-tortuga-site #masthead .main-navigation li.current_page_ancestor {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body.home #page.dg-tortuga-site #masthead .main-navigation .menu-item-home > a,
body.home #page.dg-tortuga-site #masthead .main-navigation .menu-item-home.current-menu-item > a,
body.home #page.dg-tortuga-site #masthead .main-navigation .menu-item-home.current_page_item > a,
body.home #page.dg-tortuga-site #masthead .main-navigation .menu-item-home.current-menu-ancestor > a,
body.home #page.dg-tortuga-site #masthead .main-navigation .menu-item-home.current_page_ancestor > a {
    color: var(--navi-color) !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.portal-legal-scope {
    width: 100%;
    --c-bg: #1c1c1c;
    --c-surface: #252525;
    --c-border: #383838;
    --c-accent: #b91c1c;
    --c-text-hi: #f1f1f1;
    --c-text-mid: #a3a3a3;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    color: var(--c-text-hi);
    font-family: var(--text-font, 'Inter', sans-serif);
}

.portal-legal-scope * {
    box-sizing: border-box;
}

.portal-legal-scope a {
    color: var(--c-accent);
    text-decoration: none;
}

.portal-legal-scope a:hover {
    text-decoration: underline;
}

.portal-legal-scope .portal-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

.portal-legal-scope .portal-header {
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-surface);
    box-shadow: var(--shadow);
}

.portal-legal-scope .header-main {
    padding: 28px 30px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.portal-legal-scope .page-title h1 {
    margin: 0 0 6px;
    background: linear-gradient(90deg, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--c-text-hi);
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portal-legal-scope .portal-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    color: var(--c-text-mid);
    font-size: .8rem;
    opacity: .8;
}

.portal-legal-scope .portal-breadcrumbs a {
    color: var(--c-text-mid);
}

.portal-legal-scope .content-card {
    padding: 36px 40px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-surface);
    box-shadow: var(--shadow);
    color: var(--c-text-mid);
    font-size: .92rem;
    line-height: 1.85;
}

.portal-legal-scope .content-card h2 {
    margin: 32px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text-hi);
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: 1.1rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.portal-legal-scope .content-card h2:first-child {
    margin-top: 0;
}

.portal-legal-scope .content-card h3 {
    margin: 22px 0 8px;
    color: #ccc;
    font-size: 1rem;
    font-weight: 700;
}

.portal-legal-scope .content-card p {
    margin: 0 0 14px;
}

.portal-legal-scope .content-card ul,
.portal-legal-scope .content-card ol {
    margin: 0 0 14px;
    padding-left: 1.4em;
}

.portal-legal-scope .content-card li {
    margin-bottom: 6px;
}

.portal-legal-scope .content-card strong {
    color: #ddd;
}

.portal-author-scope {
    width: 100%;
    color: #f1f1f1;
    font-family: var(--text-font, 'Inter', sans-serif);
}

.portal-author-scope .autor-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.portal-author-scope .autor-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 40px;
    color: #666;
    font-size: .78rem;
}

.portal-author-scope .autor-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: .2s;
}

.portal-author-scope .autor-breadcrumbs a:hover {
    color: #b91c1c;
}

.portal-author-scope .autor-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
    padding: 36px;
    border: 1px solid #383838;
    border-radius: 8px;
    background: #252525;
}

.portal-author-scope .autor-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b91c1c, #1d4ed8);
    color: #fff;
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: 1.6rem;
    font-weight: 700;
}

.portal-author-scope .autor-name {
    margin: 0 0 4px;
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.portal-author-scope .autor-role {
    margin: 0 0 14px;
    color: #a3a3a3;
    font-size: .82rem;
}

.portal-author-scope .autor-bio {
    margin: 0;
    color: #bbb;
    font-size: .88rem;
    line-height: 1.65;
}

.portal-author-scope .autor-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.portal-author-scope .autor-link {
    padding: 9px 18px;
    border: 1px solid #383838;
    border-radius: 6px;
    background: #252525;
    color: #a3a3a3;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.portal-author-scope .autor-link:hover {
    border-color: #b91c1c;
    color: #b91c1c;
}

.portal-hub-scope {
    width: 100%;
    color: #f1f1f1;
    font-family: var(--text-font, 'Inter', sans-serif);
    --c-bg: #1c1c1c;
    --c-surface: #252525;
    --c-border: #383838;
    --c-accent: #b91c1c;
    --c-text-mid: #a3a3a3;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.portal-hub-scope .hub-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.portal-hub-scope * {
    box-sizing: border-box;
}

.portal-hub-scope a {
    color: inherit;
    text-decoration: none;
}

.portal-hub-scope .hub-header {
    margin-bottom: 40px;
    padding: 28px 32px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-surface);
    background-image: linear-gradient(to right, rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: var(--shadow);
}

.portal-hub-scope .hub-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #666;
    font-size: .78rem;
}

.portal-hub-scope .hub-breadcrumbs a {
    color: #666;
    transition: .2s;
}

.portal-hub-scope .hub-breadcrumbs a:hover {
    color: var(--c-accent);
}

.portal-hub-scope .hub-title {
    margin: 0 0 6px;
    background: linear-gradient(90deg, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portal-hub-scope .hub-desc {
    margin: 0;
    color: var(--c-text-mid);
    font-size: .9rem;
    line-height: 1.5;
}

.portal-hub-scope .brand-section {
    margin-bottom: 40px;
}

.portal-hub-scope .brand-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-border);
}

.portal-hub-scope .brand-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--c-accent);
}

.portal-hub-scope .brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #fff;
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .5px;
}

.portal-hub-scope .brand-name {
    color: #fff;
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.portal-hub-scope .platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.portal-hub-scope .platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-surface);
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.portal-hub-scope .platform-card:hover {
    transform: translateY(-2px);
    border-color: #555;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
}

.portal-hub-scope .platform-card.active:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .6);
}

.portal-hub-scope .platform-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    color: #fff;
    font-family: var(--widget-title-font, 'Roboto Condensed', sans-serif);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .5px;
}

.portal-hub-scope .platform-name {
    color: #ccc;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
}

.portal-hub-scope .platform-count {
    margin-top: 2px;
    color: #555;
    font-size: .68rem;
}

.portal-hub-scope .platform-card.has-content .platform-count {
    color: var(--c-accent);
}

.portal-hub-scope .platform-card.has-content .platform-name {
    color: #fff;
}

.portal-hub-scope .brand-divider {
    height: 1px;
    margin: 8px 0 32px;
    background: var(--c-border);
    opacity: .4;
}

.dg-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    max-width: calc(100% - 16px);
    padding: 3px 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.4;
    pointer-events: none;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.dg-tortuga-site .dg-btn::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v13M6 11l6 6 6-6M3 21h18' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.dg-tortuga-site .dg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 55%, #166534 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 1px #15803d, 0 4px 18px rgba(22, 163, 74, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, box-shadow 0.2s ease, filter 0.1s ease;
    cursor: pointer;
}

.dg-tortuga-site .dg-btn:hover,
.dg-tortuga-site .dg-btn:focus {
    background: #1c1c1c;
    border-color: #16a34a;
    box-shadow: 0 0 0 1px #16a34a, 0 0 16px 4px rgba(22, 163, 74, 0.5);
    color: #fff !important;
    text-decoration: none !important;
}

.dg-tortuga-site .dg-btn:active {
    filter: brightness(0.88);
}

.dg-tortuga-site .tdg-page-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px 16px 52px;
}

.dg-tortuga-site .dg-page-content {
    padding: 32px 36px 38px;
    border: 1px solid var(--dark-border-color);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 56%), var(--widget-background-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.dg-tortuga-site .dg-page-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dg-tortuga-site .dg-page-content .entry-title {
    margin: 0;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-transform: none;
}

.dg-tortuga-site .dg-page-content .entry-content {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.78;
}

.dg-tortuga-site .dg-page-content .entry-content > *:first-child {
    margin-top: 0;
}

.dg-tortuga-site .dg-page-content .entry-content > *:last-child {
    margin-bottom: 0;
}

.dg-tortuga-site .dg-page-content .entry-content p,
.dg-tortuga-site .dg-page-content .entry-content ul,
.dg-tortuga-site .dg-page-content .entry-content ol,
.dg-tortuga-site .dg-page-content .entry-content blockquote,
.dg-tortuga-site .dg-page-content .entry-content table {
    margin-bottom: 20px;
}

.dg-tortuga-site .dg-page-content .entry-content h2,
.dg-tortuga-site .dg-page-content .entry-content h3,
.dg-tortuga-site .dg-page-content .entry-content h4 {
    margin-top: 34px;
    margin-bottom: 12px;
    color: #f1f1f1;
    font-family: var(--title-font);
    line-height: 1.2;
}

.dg-tortuga-site .dg-page-content .entry-content h2 {
    font-size: 1.45rem;
}

.dg-tortuga-site .dg-page-content .entry-content h3 {
    font-size: 1.18rem;
}

.dg-tortuga-site .dg-page-content .entry-content h4 {
    font-size: 1.02rem;
}

.dg-tortuga-site .dg-page-content .entry-content a {
    color: var(--accent-color);
}

.dg-tortuga-site .dg-page-content .entry-content a:hover,
.dg-tortuga-site .dg-page-content .entry-content a:focus {
    color: var(--link-hover-color);
    text-decoration: underline;
}

.dg-tortuga-site .dg-page-content .entry-content ul,
.dg-tortuga-site .dg-page-content .entry-content ol {
    padding-left: 1.45rem;
}

.dg-tortuga-site .dg-page-content .entry-content li {
    margin-bottom: 8px;
}

.dg-tortuga-site .dg-page-content .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.dg-tortuga-site .dg-page-content .entry-content blockquote {
    margin-left: 0;
    padding: 18px 20px;
    border-left: 3px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.03);
    color: #dddddd;
}

.dg-tortuga-site .dg-page-content .entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.dg-tortuga-site .dg-page-content .entry-content th,
.dg-tortuga-site .dg-page-content .entry-content td {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.dg-tortuga-site .dg-page-content .entry-content iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
}

@media only screen and (max-width: 768px) {
    .dg-tortuga-site .tdg-header-main.container,
    .dg-tortuga-site .site-content.container,
    .dg-tortuga-site .site-footer.container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .dg-tortuga-site .site-content.container {
        width: 100%;
        box-sizing: border-box;
    }

    .portal-legal-scope .portal-wrap {
        padding: 20px 8px;
    }

    .portal-legal-scope .header-main {
        padding: 20px;
    }

    .portal-legal-scope .content-card {
        padding: 22px 18px;
    }

    .portal-legal-scope .page-title h1 {
        font-size: 1.5rem;
    }

    .dg-tortuga-site .tdg-page-shell {
        padding: 20px 8px 40px;
    }

    .dg-tortuga-site .dg-page-content {
        padding: 24px 18px 28px;
        border-radius: 14px;
    }

    .dg-tortuga-site .dg-page-content .entry-title {
        font-size: 1.55rem;
    }

    .portal-author-scope .autor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .portal-author-scope .autor-links {
        justify-content: center;
    }

    .portal-hub-scope .hub-header {
        padding: 20px;
    }

    .portal-hub-scope .platform-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .portal-hub-scope .platform-badge {
        width: 40px;
        height: 40px;
        font-size: .68rem;
    }

    .portal-hub-scope .platform-name {
        font-size: .72rem;
    }
}

@media only screen and (max-width: 59.999em) {
    body:has(.dg-tortuga-site #masthead .main-navigation.toggled-on) {
        overflow: hidden;
    }

    body:has(.dg-tortuga-site #masthead .main-navigation.toggled-on)::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 9998;
    }

}

@media only screen and (max-width: 51.25em) {
    .dg-tortuga-site .portal-roms-hub-scope.portal-translation-home-scope .console-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media only screen and (max-width: 50em) {
    body.tdg-route-roms .dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .console-grid {
        grid-template-columns: 1fr;
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .portal-header {
        margin-bottom: 12px;
        border-radius: 5px;
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .header-main {
        padding: 12px;
        display: block;
        text-align: center;
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .page-title h1 {
        font-size: 1.3rem !important;
        line-height: 1.16 !important;
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .portal-breadcrumbs {
        justify-content: center;
        gap: 3px !important;
        margin-bottom: 6px !important;
        font-size: 0.58rem !important;
        opacity: 0.82;
    }

    .dg-tortuga-site .portal-roms-hub-scope.portal-listing-scope .header-desc {
        font-size: 0.62rem !important;
        line-height: 1.55 !important;
    }
}

/* --- Disclaimer bar --- */
.dg-disclaimer-bar {
    background-color: #0e0e0e;
    border-top: 1px solid #2a2a2a;
    padding: 14px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.dg-disclaimer-text {
    color: #555;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    padding: 0 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .dg-disclaimer-text {
        font-size: 11px;
        padding: 0;
    }
}

@media only screen and (max-width: 51.25em) {
    body.tdg-route-ps2 .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-ps2_futebol .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-ps2_ptbr .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-ps1 .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-psp .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-translations_pc .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-translations_playstation_1 .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-translations_playstation_2 .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-translations_playstation_portable .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-translations_playstation_3 .dg-tortuga-site .portal-listing-scope .main-grid,
    body.tdg-route-translations_xbox_360 .dg-tortuga-site .portal-listing-scope .main-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        column-gap: 12px;
        row-gap: 20px;
    }

    body.tdg-route-ps2 .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-ps2_futebol .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-ps2_ptbr .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-ps1 .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-psp .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-translations_pc .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-translations_playstation_1 .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-translations_playstation_2 .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-translations_playstation_portable .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-translations_playstation_3 .dg-tortuga-site .portal-listing-scope .rom-card,
    body.tdg-route-translations_xbox_360 .dg-tortuga-site .portal-listing-scope .rom-card {
        padding: 8px 5px 10px;
    }

    body.tdg-route-ps2 .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-ps2_futebol .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-ps2_ptbr .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-ps1 .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-psp .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-translations_pc .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-translations_playstation_1 .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-translations_playstation_2 .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-translations_playstation_portable .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-translations_playstation_3 .dg-tortuga-site .portal-listing-scope .card-body,
    body.tdg-route-translations_xbox_360 .dg-tortuga-site .portal-listing-scope .card-body {
        padding: 8px 4px 0;
    }

    body.tdg-route-ps2 .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-ps2_futebol .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-ps2_ptbr .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-ps1 .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-psp .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-translations_pc .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-translations_playstation_1 .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-translations_playstation_2 .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-translations_playstation_portable .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-translations_playstation_3 .dg-tortuga-site .portal-listing-scope .card-title,
    body.tdg-route-translations_xbox_360 .dg-tortuga-site .portal-listing-scope .card-title {
        font-size: 0.82rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
