
/* Romoid game hub: codes, tier lists, wiki, and discussion. */
/* Gift-code sharing page: compact identity, codes first. */
body.post-show-page {
    --romoid-blue: #1d6fd8;
    --romoid-blue-dark: #1557b0;
    --romoid-blue-soft: #e8f2ff;
    --romoid-sky: #4fc3f7;
    --romoid-ink: #0b1f3a;
    --romoid-copy: #3d5573;
    --romoid-muted: #7a90a8;
    --romoid-line: #d7e3f2;
    --romoid-line-strong: #c4d6ea;
    --romoid-surface: #ffffff;
    --romoid-page: #f4f8fd;
    --romoid-soft: #eef4fb;
    --romoid-green: #087a55;
    --romoid-green-soft: #e9f8f1;
    --romoid-amber: #9a5a00;
    --romoid-amber-soft: #fff7e6;
    --romoid-red: #9a2b1f;
    --romoid-red-soft: #fff0f0;
    --romoid-shadow: 0 14px 32px rgba(11, 31, 58, 0.08);
    --romoid-radius: 16px;
    background: var(--romoid-page) !important;
    color: var(--romoid-ink);
    color-scheme: light;
}

body.post-show-page .vz-site-header {
    margin-bottom: 0 !important;
}

body.post-show-page .romoid-catalog-container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 20px !important;
}

body.post-show-page .romoid-catalog {
    width: 100%;
    min-width: 0;
    padding: 20px 0 56px;
}

body.post-show-page .romoid-catalog,
body.post-show-page .romoid-catalog *,
body.post-show-page .romoid-catalog *::before,
body.post-show-page .romoid-catalog *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

body.post-show-page .romoid-catalog button,
body.post-show-page .romoid-catalog input,
body.post-show-page .romoid-catalog textarea {
    font: inherit;
}

body.post-show-page .romoid-catalog button,
body.post-show-page .romoid-catalog summary {
    cursor: pointer;
}

body.post-show-page .romoid-catalog svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.romoid-breadcrumb {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    color: var(--romoid-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}

.romoid-breadcrumb a {
    flex: 0 0 auto;
    color: var(--romoid-muted);
    text-decoration: none;
}

.romoid-breadcrumb a:hover {
    color: var(--romoid-blue-dark);
}

.romoid-breadcrumb svg {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
}

.romoid-breadcrumb span {
    min-width: 0;
    overflow: hidden;
    color: var(--romoid-copy);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.romoid-post-flash {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #b9dfce;
    border-radius: 9px;
    background: var(--romoid-green-soft);
    color: var(--romoid-green);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
}

.romoid-post-flash svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.romoid-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin: 0 0 18px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--romoid-line);
    border-radius: var(--romoid-radius);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--romoid-blue-soft) 55%, #fff) 0%, var(--romoid-surface) 42%),
        var(--romoid-surface);
    box-shadow: var(--romoid-shadow);
}

.romoid-intro::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--romoid-blue) 0%, var(--romoid-sky) 100%);
}

.romoid-game-thumb {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    overflow: hidden;
    border: 1px solid var(--romoid-line);
    border-radius: 10px;
    background: #111;
    aspect-ratio: 3 / 2;
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.08);
}

.romoid-game-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@supports not (aspect-ratio: 3 / 2) {
    .romoid-game-thumb {
        height: 0;
        padding-bottom: 66.6667%;
    }
}

.romoid-intro-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.romoid-intro-heading {
    min-width: 0;
}

.romoid-intro-meta,
.romoid-intro .romoid-code-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
}

.romoid-intro h1 {
    margin: 0;
    color: var(--romoid-ink);
    font-size: 22px;
    font-weight: 830;
    line-height: 1.18;
    overflow-wrap: break-word;
}

body.post-show-page #post-title,
body.post-show-page .romoid-intro h1#post-title {
    color: var(--romoid-ink);
}

.romoid-intro-meta,
.romoid-code-hero-meta,
.romoid-code-hero-date {
    margin: 0;
    color: var(--romoid-muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.romoid-code-hero-date {
    margin: 0;
    font-size: 12px;
}

.romoid-code-count-button {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #b7d4f5;
    border-radius: 999px;
    background: var(--romoid-blue-soft);
    color: var(--romoid-blue-dark);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease,
        box-shadow 140ms ease, transform 140ms ease;
}

.romoid-code-count-button:hover {
    border-color: var(--romoid-blue);
    background: var(--romoid-blue);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(29, 111, 216, 0.2);
}

.romoid-code-count-button:focus-visible {
    outline: 3px solid rgba(29, 111, 216, 0.24);
    outline-offset: 2px;
}

.romoid-code-count-button:active {
    transform: translateY(1px);
}

.romoid-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.romoid-hero-actions form {
    margin: 0;
}

#gift-codes,
#redeem,
#knowledge,
#about,
#app-info,
#discussion {
    scroll-margin-top: 80px;
}

.romoid-action-button,
.romoid-icon-button,
.romoid-text-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--romoid-line-strong);
    border-radius: 8px;
    background: var(--romoid-surface);
    color: var(--romoid-copy);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.romoid-action-button {
    gap: 8px;
    padding: 0 12px;
    border-color: var(--romoid-blue);
    background: var(--romoid-blue);
    color: #fff;
    font-size: 12px;
}

.romoid-action-button:hover,
.romoid-action-button.is-active {
    border-color: var(--romoid-blue-dark);
    background: var(--romoid-blue-dark);
    color: #fff;
}

.romoid-action-button svg {
    width: 16px;
    height: 16px;
}

.romoid-icon-button {
    width: 36px;
    padding: 0;
}

.romoid-icon-button:hover,
.romoid-icon-button.is-liked {
    border-color: #a8c8ef;
    background: var(--romoid-blue-soft);
    color: var(--romoid-blue-dark);
}

.romoid-icon-button.is-liked {
    border-color: #f0b6b6;
    color: #cf4f55;
}

.romoid-icon-button svg {
    width: 17px;
    height: 17px;
}

.romoid-section {
    padding: 26px 0;
}

.romoid-section + .romoid-section {
    border-top: 1px solid var(--romoid-line);
}

.romoid-codes-section {
    padding: 0 0 6px;
}

.romoid-codes-layout {
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--romoid-line);
    border-radius: var(--romoid-radius);
    background: var(--romoid-surface);
    box-shadow: var(--romoid-shadow);
}

.romoid-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.romoid-jump a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--romoid-line);
    border-radius: 999px;
    background: var(--romoid-surface);
    color: var(--romoid-copy);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(11, 31, 58, 0.04);
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.romoid-jump a:hover,
.romoid-jump a:focus-visible {
    border-color: color-mix(in srgb, var(--romoid-blue) 35%, #fff);
    background: var(--romoid-blue-soft);
    color: var(--romoid-blue-dark);
}

.romoid-codes-main {
    min-width: 0;
}

.romoid-app-info {
    padding: 0 0 10px;
}

.romoid-app-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    padding: 16px 18px;
    overflow: hidden;
}

.romoid-app-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.romoid-app-card-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.romoid-app-icon {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.romoid-app-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.romoid-app-card-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.romoid-app-card-titles h2 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.romoid-app-card-dev {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.romoid-app-stores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.romoid-app-stores a,
.romoid-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 140ms ease;
    user-select: none;
}

.romoid-app-stores a:hover,
.romoid-store-btn:hover {
    border-color: rgba(37, 99, 235, 0.35);
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.romoid-app-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.romoid-app-facts > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 11px;
    background: #f8fafc;
    transition: all 140ms ease;
}

.romoid-app-facts > div:hover {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.romoid-app-facts dt {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.romoid-fact-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.85;
}

.romoid-app-facts dd {
    margin: 3px 0 0;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.romoid-rating-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: #b45309;
    font-weight: 850;
}

.romoid-rating-badge small {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.romoid-store-btn--play:hover {
    border-color: #0086f9;
    color: #0086f9;
    background: #f0f9ff;
    box-shadow: 0 3px 10px rgba(0, 134, 249, 0.12);
}

.romoid-store-btn--apple:hover {
    border-color: #0f172a;
    color: #0f172a;
    background: #f8fafc;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
}

.romoid-store-brand-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    stroke: none !important;
    stroke-width: 0 !important;
    fill: none;
    transition: transform 140ms ease;
}

.romoid-store-brand-icon path {
    stroke: none !important;
    stroke-width: 0 !important;
}

.romoid-store-brand-icon--apple {
    width: 14px;
    height: 14px;
    fill: currentColor !important;
}

.romoid-app-stores a:hover .romoid-store-brand-icon,
.romoid-store-btn:hover .romoid-store-brand-icon {
    transform: scale(1.08);
}

.romoid-store-btn-label {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.romoid-store-btn-arrow,
.romoid-app-stores a svg:not(.romoid-store-brand-icon) {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: 0.55;
    margin-left: 1px;
    transition: transform 140ms ease, opacity 140ms ease;
}

.romoid-app-stores a:hover .romoid-store-btn-arrow,
.romoid-app-stores a:hover svg:not(.romoid-store-brand-icon),
.romoid-store-btn:hover .romoid-store-btn-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
}

.romoid-intro-meta > * + *::before {
    content: "·";
    margin-right: 10px;
    color: #c2c2c2;
}

.romoid-intro-meta > .romoid-code-count-button::before {
    content: none;
    margin: 0;
}

.romoid-section-heading {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 18px;
    margin-bottom: 12px;
}

.romoid-section-heading > div {
    min-width: 0;
}

.romoid-section-heading--row {
    align-items: center;
}

.romoid-section-heading h2 {
    margin: 0;
    color: var(--romoid-ink);
    font-size: 20px;
    font-weight: 830;
    line-height: 1.2;
}

.romoid-section-heading p {
    margin: 4px 0 0;
    color: var(--romoid-muted);
    font-size: 13px;
    line-height: 1.5;
}

.romoid-text-button {
    flex: 0 0 auto;
    gap: 7px;
    padding: 0 13px;
    color: var(--romoid-blue-dark);
    font-size: 12px;
}

.romoid-text-button:hover {
    border-color: #a8c8ef;
    background: var(--romoid-blue-soft);
}

.romoid-text-button svg {
    width: 15px;
    height: 15px;
}

.romoid-section-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.romoid-about-content {
    max-width: 880px;
    min-height: 84px;
    color: var(--romoid-copy);
}

.romoid-about-content .post-rich-content {
    color: var(--romoid-copy);
}

.romoid-content-skeleton,
.romoid-comments-loading {
    display: grid;
    gap: 10px;
    padding: 8px 0;
}

.romoid-content-skeleton span,
.romoid-comments-loading span {
    display: block;
    height: 11px;
    border-radius: 4px;
    background: #e6edf5;
    animation: romoid-skeleton 1.3s ease-in-out infinite alternate;
}

.romoid-content-skeleton span:nth-child(1) {
    width: 94%;
}

.romoid-content-skeleton span:nth-child(2) {
    width: 78%;
}

.romoid-content-skeleton span:nth-child(3) {
    width: 87%;
}

@keyframes romoid-skeleton {
    from {
        opacity: 0.55;
    }
    to {
        opacity: 1;
    }
}

.romoid-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.romoid-tag-list a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 3px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 140ms ease;
}

.romoid-tag-list a:hover {
    border-color: #38bdf8;
    color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
}

.romoid-code-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.romoid-code-card {
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid var(--romoid-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 6px 18px rgba(11, 31, 58, 0.04);
    scroll-margin-top: 80px;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.romoid-code-card:hover {
    border-color: color-mix(in srgb, var(--romoid-blue) 28%, var(--romoid-line));
    box-shadow: 0 10px 24px rgba(29, 111, 216, 0.08);
}

.romoid-code-card[data-code-status="expired"] {
    background: #fafbfd;
    box-shadow: none;
}

.romoid-code-copyline {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.romoid-code-value {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.romoid-code-value a {
    min-width: 0;
    color: var(--romoid-ink);
    text-decoration: none;
}

.romoid-code-value code {
    display: block;
    min-width: 0;
    padding: 6px 10px;
    border: 1px dashed var(--romoid-line-strong);
    border-radius: 8px;
    background: var(--romoid-surface);
    overflow: hidden;
    color: var(--romoid-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.romoid-code-value a:hover code {
    color: var(--romoid-blue-dark);
}

.romoid-code-status {
    display: inline-flex;
    min-height: 22px;
    flex: 0 0 auto;
    align-items: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--romoid-amber-soft);
    color: var(--romoid-amber);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.romoid-code-card[data-code-status="active"] .romoid-code-status {
    background: var(--romoid-green-soft);
    color: var(--romoid-green);
}

.romoid-code-card[data-code-status="expired"] .romoid-code-status {
    background: var(--romoid-red-soft);
    color: var(--romoid-red);
}

.romoid-copy-button {
    display: inline-flex;
    min-width: 78px;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid var(--romoid-blue);
    border-radius: 7px;
    background: var(--romoid-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.romoid-copy-button:hover:not(:disabled) {
    border-color: var(--romoid-blue-dark);
    background: var(--romoid-blue-dark);
    color: #fff;
}

.romoid-copy-button:disabled {
    border-color: var(--romoid-line);
    background: #f2f4f7;
    color: #8b99a8;
}

.romoid-copy-button.is-copied {
    border-color: var(--romoid-green);
    background: var(--romoid-green);
    color: #fff;
}

.romoid-copy-button svg {
    width: 14px;
    height: 14px;
}

.romoid-code-reward {
    margin: 11px 0 0;
    color: var(--romoid-copy);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.romoid-code-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    margin-top: 12px;
    color: var(--romoid-muted);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
}

.romoid-code-meta > span {
    position: relative;
}

.romoid-code-meta > span + span::before,
.romoid-code-meta > a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -7px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b8c5d2;
    transform: translateY(-50%);
}

.romoid-code-meta > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--romoid-blue-dark);
    font-weight: 800;
    text-decoration: none;
}

.romoid-code-meta > a:hover {
    text-decoration: underline;
}

.romoid-code-meta svg {
    width: 11px;
    height: 11px;
}

.romoid-code-confirmation-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 11px;
    color: var(--romoid-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.romoid-code-confirmation-summary > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.romoid-code-confirmation-summary svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.romoid-code-confirmation-summary b {
    font-variant-numeric: tabular-nums;
    font-weight: 850;
}

.romoid-code-confirmation-summary .is-worked {
    color: var(--romoid-green);
}

.romoid-code-confirmation-summary .is-expired {
    color: var(--romoid-red);
}

.romoid-code-confirmations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.romoid-code-confirmations > span {
    margin-right: 2px;
    color: var(--romoid-muted);
    font-size: 11px;
    font-weight: 700;
}

.romoid-code-confirmations button {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--romoid-line-strong);
    border-radius: 7px;
    background: var(--romoid-surface);
    padding: 0 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.romoid-code-confirmations button svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.romoid-code-confirmations button small {
    min-width: 17px;
    border-radius: 999px;
    background: currentColor;
    padding: 3px 5px;
    color: #fff;
    font-size: 9px;
    font-weight: 850;
}

.romoid-code-confirmations button.is-worked {
    border-color: #a8d8c5;
    color: var(--romoid-green);
}

.romoid-code-confirmations button.is-worked:hover {
    border-color: var(--romoid-green);
    background: var(--romoid-green-soft);
}

.romoid-code-confirmations button.is-expired {
    border-color: #ecc4bd;
    color: var(--romoid-red);
}

.romoid-code-confirmations button.is-expired:hover {
    border-color: var(--romoid-red);
    background: var(--romoid-red-soft);
}

.romoid-empty-state,
.romoid-panel-empty {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    border: 1px dashed var(--romoid-line-strong);
    border-radius: 8px;
    background: #fbfcfe;
    text-align: center;
}

.romoid-codes-main .romoid-empty-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 132px;
    padding: 20px;
    border: 1px solid var(--romoid-line);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--romoid-surface) 0%, var(--romoid-blue-soft) 180%);
    box-shadow: 0 6px 18px rgba(16, 24, 32, 0.05);
    text-align: left;
}

.romoid-codes-main .romoid-empty-state-copy {
    min-width: 0;
}

.romoid-codes-main .romoid-empty-state .romoid-empty-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
}

.romoid-codes-main .romoid-empty-state .romoid-empty-icon svg {
    width: 24px;
    height: 24px;
}

.romoid-codes-main .romoid-empty-state h3 {
    margin: 0;
    color: var(--romoid-ink);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.3;
}

.romoid-codes-main .romoid-empty-state p {
    max-width: 620px;
    margin: 6px 0 0;
    color: var(--romoid-muted);
    font-size: 13px;
    line-height: 1.5;
}

.romoid-codes-main .romoid-empty-state a.romoid-empty-cta {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 13px;
    border: 1px solid var(--romoid-blue);
    border-radius: 8px;
    background: var(--romoid-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.romoid-codes-main .romoid-empty-state a.romoid-empty-cta:hover {
    border-color: var(--romoid-blue-dark);
    background: var(--romoid-blue-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(29, 111, 216, 0.2);
}

.romoid-codes-main .romoid-empty-state a.romoid-empty-cta:focus-visible {
    outline: 3px solid rgba(29, 111, 216, 0.24);
    outline-offset: 2px;
}

.romoid-empty-icon,
.romoid-panel-empty > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: var(--romoid-blue-soft);
    color: var(--romoid-blue-dark);
}

.romoid-empty-icon svg,
.romoid-panel-empty > span svg {
    width: 22px;
    height: 22px;
}

.romoid-empty-state h3,
.romoid-panel-empty h3 {
    margin: 12px 0 0;
    color: var(--romoid-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.romoid-empty-state p,
.romoid-panel-empty p {
    max-width: 430px;
    margin: 5px 0 0;
    color: var(--romoid-muted);
    font-size: 12px;
    line-height: 1.5;
}

.romoid-empty-state a,
.romoid-panel-empty a {
    margin-top: 12px;
    color: var(--romoid-blue-dark);
    font-size: 12px;
    font-weight: 800;
}

.romoid-redeem {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--romoid-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, var(--romoid-soft) 100%);
}

.romoid-redeem h3 {
    margin: 0;
    color: var(--romoid-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.romoid-redeem ol {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: redeem-step;
    color: var(--romoid-copy);
    font-size: 13px;
    line-height: 1.45;
}

.romoid-redeem li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--romoid-surface);
    border: 1px solid color-mix(in srgb, var(--romoid-line) 80%, #fff);
    box-shadow: 0 4px 12px rgba(11, 31, 58, 0.04);
    counter-increment: redeem-step;
}

.romoid-redeem li::before {
    content: counter(redeem-step);
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 8px;
    background: var(--romoid-blue-soft);
    color: var(--romoid-blue-dark);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.romoid-redeem p {
    margin: 12px 0 0;
}

.romoid-redeem a {
    color: var(--romoid-blue-dark);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.romoid-redeem a:hover {
    text-decoration: underline;
}

.romoid-expired-codes {
    margin-top: 16px;
    border-top: 1px solid var(--romoid-line);
}

.romoid-expired-codes summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    color: var(--romoid-muted);
    font-size: 12px;
    font-weight: 750;
    list-style: none;
}

.romoid-expired-codes summary::-webkit-details-marker {
    display: none;
}

.romoid-expired-codes summary span:nth-child(2) {
    display: inline-grid;
    min-width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 999px;
    background: #eef2f6;
    color: var(--romoid-copy);
    font-size: 10px;
}

.romoid-expired-codes summary svg {
    width: 15px;
    height: 15px;
    margin-left: auto;
    transition: transform 140ms ease;
}

.romoid-expired-codes[open] summary svg {
    transform: rotate(180deg);
}

.romoid-code-list--expired {
    padding: 4px 0 2px;
}

.romoid-tabs {
    min-width: 0;
}

.romoid-tab-list {
    display: grid;
    grid-template-columns: repeat(var(--romoid-tab-count, 2), minmax(0, 1fr));
    width: 100%;
    gap: 4px;
    padding: 4px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.romoid-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.romoid-tab:hover {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.romoid-tab[aria-selected="true"] {
    border-color: transparent;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.romoid-tab svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    transition: transform 140ms ease;
}

.romoid-tab:hover svg {
    transform: scale(1.08);
}

.romoid-tab > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.romoid-tab small {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    transition: background 140ms ease, color 140ms ease;
}

.romoid-tab[aria-selected="true"] small {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.romoid-tab-panel {
    min-width: 0;
    padding-top: 16px;
}

.romoid-tab-panel[hidden] {
    display: none !important;
}

.romoid-panel-toolbar {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 14px;
}

.romoid-panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.romoid-panel-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: #0284c7;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.romoid-panel-badge-icon svg {
    width: 19px;
    height: 19px;
}

.romoid-panel-title-text {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.romoid-panel-toolbar h3 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.romoid-panel-toolbar [id$="-count"] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    margin-top: 0;
}

.romoid-panel-search {
    position: relative;
    display: flex;
    width: min(280px, 100%);
    min-width: 180px;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
}

.romoid-panel-search > svg {
    position: absolute;
    left: 12px;
    z-index: 1;
    width: 15px;
    height: 15px;
    color: #94a3b8;
    pointer-events: none;
}

.romoid-panel-search input {
    width: 100%;
    min-height: 38px;
    padding: 0 34px 0 34px;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    outline: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
    transition: all 140ms ease;
}

.romoid-panel-search input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.romoid-panel-search input:focus {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.romoid-panel-search button {
    position: absolute;
    right: 5px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 120ms ease;
}

.romoid-panel-search button:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.romoid-panel-search button svg {
    width: 13px;
    height: 13px;
}

.romoid-panel-filters {
    display: flex;
    max-width: 100%;
    gap: 6px;
    margin: 0 0 14px;
    padding: 2px 2px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.romoid-panel-filters::-webkit-scrollbar {
    display: none;
}

.romoid-panel-filters .wiki-filter-btn {
    min-height: 30px;
    flex: 0 0 auto;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 140ms ease;
    user-select: none;
}

.romoid-panel-filters .wiki-filter-btn:hover {
    border-color: #38bdf8;
    color: #0284c7;
    background: #f0f9ff;
    transform: translateY(-1px);
}

.romoid-panel-filters .wiki-filter-btn.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
    transform: translateY(-1px);
}

.romoid-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    min-width: 0;
}

.romoid-hub-grid--tier {
    grid-template-columns: minmax(0, 1fr);
}

.wiki-card {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.romoid-wiki-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    min-height: 80px;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    text-decoration: none;
    transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.romoid-wiki-card:hover {
    border-color: rgba(2, 132, 199, 0.38);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
}

.romoid-wiki-card-media,
.romoid-wiki-card-icon {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 11px;
    flex: 0 0 56px;
}

.romoid-wiki-card-media {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #0f172a;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.romoid-wiki-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 220ms ease;
}

.romoid-wiki-card:hover .romoid-wiki-card-media img {
    transform: scale(1.06);
}

.romoid-wiki-card-icon {
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 850;
    letter-spacing: -0.01em;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(2, 132, 199, 0.3);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #0284c7;
}

/* Tone-based icon monograms */
.romoid-wiki-card[data-tone="guide"] .romoid-wiki-card-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.3);
}

.romoid-wiki-card[data-tone="weapon"] .romoid-wiki-card-icon {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    color: #e11d48;
    border-color: rgba(244, 63, 94, 0.3);
}

.romoid-wiki-card[data-tone="character"] .romoid-wiki-card-icon {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #6d28d9;
    border-color: rgba(139, 92, 246, 0.3);
}

.romoid-wiki-card[data-tone="map"] .romoid-wiki-card-icon {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.3);
}

.romoid-wiki-card[data-tone="rank"] .romoid-wiki-card-icon {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border-color: rgba(99, 102, 241, 0.3);
}

.romoid-wiki-card[data-tone="item"] .romoid-wiki-card-icon {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    color: #a16207;
    border-color: rgba(234, 179, 8, 0.3);
}

.romoid-wiki-card[data-tone="pet"] .romoid-wiki-card-icon {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #c2410c;
    border-color: rgba(249, 115, 22, 0.3);
}

.romoid-wiki-card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.romoid-wiki-card-copy small {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 9.5px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 2px;
    background: #e0f2fe;
    color: #0284c7;
}

/* Tone-based category micro-badges */
.romoid-wiki-card[data-tone="guide"] .romoid-wiki-card-copy small { background: #fef3c7; color: #b45309; }
.romoid-wiki-card[data-tone="weapon"] .romoid-wiki-card-copy small { background: #ffe4e6; color: #e11d48; }
.romoid-wiki-card[data-tone="character"] .romoid-wiki-card-copy small { background: #ede9fe; color: #6d28d9; }
.romoid-wiki-card[data-tone="map"] .romoid-wiki-card-copy small { background: #dcfce7; color: #15803d; }
.romoid-wiki-card[data-tone="rank"] .romoid-wiki-card-copy small { background: #e0e7ff; color: #4338ca; }
.romoid-wiki-card[data-tone="item"] .romoid-wiki-card-copy small { background: #fef9c3; color: #a16207; }
.romoid-wiki-card[data-tone="pet"] .romoid-wiki-card-copy small { background: #ffedd5; color: #c2410c; }

.romoid-wiki-card-copy strong {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 140ms ease;
}

.romoid-wiki-card:hover .romoid-wiki-card-copy strong {
    color: #0284c7;
}

.romoid-wiki-card-copy > span {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 1px;
}

.romoid-card-arrow {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transition: all 140ms ease;
}

.romoid-wiki-card:hover .romoid-card-arrow {
    color: #0284c7;
    transform: translateX(3px);
}

.romoid-panel-skeleton {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: inherit;
    gap: 11px;
}

.romoid-panel-skeleton span {
    display: block;
    min-height: 80px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: romoid-shimmer 1.5s infinite;
}

.romoid-hub-grid--tier .romoid-panel-skeleton {
    grid-template-columns: minmax(0, 1fr);
}

.romoid-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    border: 1.5px dashed rgba(2, 132, 199, 0.25);
    border-radius: 16px;
    background: #f8fafc;
    margin: 16px 0;
}

.romoid-panel-empty[hidden] {
    display: none !important;
}

.romoid-panel-empty > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.18);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
    margin-bottom: 12px;
}

.romoid-panel-empty > span svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.romoid-panel-empty h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.romoid-panel-empty p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 500;
    max-width: 360px;
    line-height: 1.45;
}

.romoid-panel-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
    transition: all 140ms ease;
}

.romoid-panel-empty a:hover {
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

.romoid-panel-pagination {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.romoid-panel-pagination:empty {
    display: none;
}

.romoid-page-button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 140ms ease;
    cursor: pointer;
}

.romoid-page-button:hover:not(:disabled) {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
    transform: translateY(-1px);
}

.romoid-page-button[aria-current="page"] {
    border-color: transparent;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
}

.romoid-page-button:disabled {
    color: #94a3b8;
    border-color: #f1f5f9;
    background: #f8fafc;
    cursor: not-allowed;
    opacity: 0.6;
}

.romoid-page-button svg {
    width: 14px;
    height: 14px;
}

.romoid-count-badge {
    display: inline-grid;
    min-width: 24px;
    height: 22px;
    place-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 11.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

body.post-show-page .romoid-discussion {
    --vz-discussion-accent: #0284c7;
    --vz-discussion-accent-soft: #f0f9ff;
    --vz-discussion-avatar: 2.1rem;
    --vz-discussion-avatar-reply: 1.7rem;
    --vz-discussion-gap: .58rem;
    min-width: 0;
}

/* Comments Card (Matching App Info) */
.romoid-comments-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    padding: 16px 18px;
    overflow: hidden;
}

.romoid-comments-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.romoid-comments-card-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.romoid-comments-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: #0284c7;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.romoid-comments-icon svg {
    width: 22px;
    height: 22px;
}

.romoid-comments-card-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.romoid-comments-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.romoid-comments-title-row h2 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.romoid-comments-card-sub {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.romoid-comments-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
}

.romoid-user-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

body.post-show-page .romoid-discussion {
    --vz-discussion-accent: #0284c7;
    --vz-discussion-accent-soft: #f0f9ff;
    --vz-discussion-avatar: 2.1rem;
    --vz-discussion-avatar-reply: 1.7rem;
    --vz-discussion-gap: .58rem;
    min-width: 0;
}

.romoid-comment-composer {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.romoid-reply-notice {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding: 6px 12px;
    border: 1px solid #bae6fd;
    border-radius: 9px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
}

.romoid-reply-notice.hidden {
    display: none !important;
}

.romoid-reply-notice button {
    border: 0;
    background: transparent;
    color: #0284c7;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

.romoid-discussion #comment-form {
    display: grid;
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) 46px;
    width: 100%;
    min-width: 0;
    gap: 8px;
    margin-top: 0;
}

.romoid-discussion #comment-form textarea {
    width: 100%;
    min-height: 48px;
    max-height: 180px;
    resize: vertical;
    padding: 10px 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.5;
    outline: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
    transition: all 140ms ease;
}

.romoid-discussion #comment-form textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.romoid-discussion #comment-form textarea:focus {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.romoid-discussion #comment-form > button {
    display: grid;
    width: 46px;
    height: 46px;
    min-height: 46px;
    align-self: end;
    place-items: center;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
    cursor: pointer;
    transition: all 140ms ease;
}

.romoid-discussion #comment-form > button:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

.romoid-discussion #comment-form > button:active:not(:disabled) {
    transform: translateY(1px);
}

.romoid-discussion #comment-form > button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.romoid-discussion #comment-form > button svg {
    width: 16px;
    height: 16px;
}

.romoid-login-note {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px dashed rgba(2, 132, 199, 0.35);
    border-radius: 12px;
    background: #f0f9ff;
    color: #0284c7;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 140ms ease;
}

.romoid-login-note:hover {
    border-color: #0284c7;
    background: #e0f2fe;
    transform: translateY(-1px);
}

.romoid-discussion .vz-discussion-list {
    display: grid;
    gap: 0;
}

.romoid-discussion .vz-discussion-card {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.romoid-discussion .vz-discussion-card:first-child {
    border-top: 0;
    padding-top: 2px;
}

.romoid-discussion .vz-discussion-head {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    column-gap: 10px;
    align-items: center;
}

.romoid-discussion .vz-discussion-head.is-reply {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    column-gap: 8px;
}

.romoid-discussion .vz-discussion-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 9px;
    overflow: hidden;
    background: #e2e8f0;
}

.romoid-discussion .vz-discussion-avatar.is-reply {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    border-radius: 7px;
}

.romoid-discussion .vz-discussion-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.romoid-discussion .vz-discussion-who {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.romoid-discussion .vz-discussion-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.romoid-discussion .vz-discussion-author {
    color: #0f172a;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: color 120ms ease;
}

.romoid-discussion .vz-discussion-author:hover {
    color: #0284c7;
}

.romoid-discussion .vz-discussion-flag.is-owner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #e0f2fe;
    color: #0284c7;
}

.romoid-discussion .vz-discussion-flag.is-owner svg {
    width: 11px;
    height: 11px;
}

.romoid-discussion .vz-discussion-flag.is-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #0284c7;
}

.romoid-discussion .vz-discussion-flag.is-verified svg {
    width: 12px;
    height: 12px;
}

.romoid-discussion .vz-discussion-time {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.romoid-discussion .vz-discussion-cult {
    font-size: 11px;
    color: #94a3b8;
}

.romoid-discussion .vz-discussion-dot {
    font-size: 11px;
    color: #cbd5e1;
}

.romoid-discussion .vz-discussion-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.romoid-discussion .vz-discussion-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 120ms ease;
}

.romoid-discussion .vz-discussion-action:hover {
    background: #f0f9ff;
    color: #0284c7;
}

.romoid-discussion .vz-discussion-action.is-danger:hover {
    background: #fef2f2;
    color: #ef4444;
}

.romoid-discussion .vz-discussion-action-label {
    display: none;
}

.romoid-discussion .vz-discussion-body {
    margin-left: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.55;
}

.romoid-discussion .vz-discussion-body.is-reply {
    margin-left: 0;
    font-size: 12.5px;
}

.romoid-discussion .vz-discussion-body p {
    margin: 0;
}

.romoid-discussion .vz-discussion-replies {
    display: grid;
    gap: 8px;
    margin-top: 4px;
    margin-left: 14px;
    padding-left: 12px;
    border-left: 2px solid #e2e8f0;
}

@media (min-width: 640px) {
    .romoid-discussion .vz-discussion-body {
        margin-left: 44px;
    }
    .romoid-discussion .vz-discussion-body.is-reply {
        margin-left: 34px;
    }
    .romoid-discussion .vz-discussion-replies {
        margin-left: 44px;
        padding-left: 14px;
    }
}

.romoid-discussion .vz-discussion-more,
.romoid-comments-more button {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 140ms ease;
    cursor: pointer;
}

.romoid-comments-more {
    display: flex;
    justify-content: center;
    min-height: 0;
    margin-top: 10px;
}

.romoid-comments-more:empty {
    display: none;
}

.romoid-comments-more button:hover:not(:disabled) {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
}

.romoid-comments-more button:disabled {
    opacity: 0.65;
}

.romoid-comments-empty,
.romoid-comments-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 16px;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 500;
    text-align: center;
}

.romoid-comments-error button {
    margin-left: 7px;
    border: 0;
    background: transparent;
    color: #0284c7;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.romoid-comments-loading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
}

.romoid-comments-loading span {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: romoid-shimmer 1.5s infinite;
}

.romoid-comments-loading span:first-child {
    width: 60%;
}

.romoid-comments-loading span:last-child {
    width: 85%;
}

@keyframes romoid-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.romoid-copy-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    max-width: 320px;
    padding: 10px 13px;
    border: 1px solid #1f2933;
    border-radius: 7px;
    background: #161616;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 150ms ease, transform 150ms ease;
}

.romoid-copy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.post-show-page .romoid-catalog a:focus-visible,
body.post-show-page .romoid-catalog button:focus-visible,
body.post-show-page .romoid-catalog summary:focus-visible,
body.post-show-page .romoid-catalog textarea:focus-visible,
body.post-show-page .romoid-catalog input:focus-visible {
    outline: 2px solid var(--romoid-blue);
    outline-offset: 2px;
}

@media (min-width: 720px) {
    .romoid-intro {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 18px 24px;
        align-items: center;
        padding: 18px 18px 18px 22px;
    }

    .romoid-app-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .romoid-intro h1 {
        font-size: 30px;
        letter-spacing: -0.02em;
    }

    .romoid-redeem ol {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .romoid-codes-layout:has(.romoid-codes-main) {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
        gap: 20px;
    }

    .romoid-codes-layout:has(.romoid-codes-main) .romoid-redeem {
        position: sticky;
        top: 88px;
        padding: 16px;
    }

    .romoid-codes-layout:has(.romoid-codes-main) .romoid-redeem ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .romoid-tab-list {
        max-width: 820px;
    }
}


.romoid-tier-toggles {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.romoid-tier-toggles-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.romoid-tier-toggles-copy p {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.romoid-tier-toggles-copy span {
    display: block;
    margin: 0;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 500;
}

.romoid-tier-toggle-list {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.romoid-tier-toggle {
    position: relative;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    padding: 0 10px 0 8px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 140ms ease;
    user-select: none;
}

.romoid-tier-toggle:hover {
    border-color: #38bdf8;
    color: #0284c7;
    background: #f0f9ff;
}

.romoid-tier-toggle input {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    margin: 0;
    border: 1.5px solid #94a3b8;
    border-radius: 4px;
    background: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 120ms ease;
}

.romoid-tier-toggle input:checked {
    border-color: #0284c7;
    background: #0284c7;
}

.romoid-tier-toggle input:checked::after {
    content: '';
    width: 4px;
    height: 7px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -1px);
}

.romoid-tier-toggle:has(input:checked) {
    border-color: #38bdf8;
    background: #f0f9ff;
    color: #0284c7;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.romoid-tier-toggle span {
    font-size: 12px;
    font-weight: 800;
}

.romoid-tier-toggle small {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
    font-size: 10.5px;
    font-weight: 800;
    transition: all 120ms ease;
}

.romoid-tier-toggle:has(input:checked) small {
    background: #e0f2fe;
    color: #0284c7;
}

.romoid-tier-toggles .romoid-text-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 140ms ease;
}

.romoid-tier-toggles .romoid-text-button:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
}

.romoid-tier-toggles .romoid-text-button svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

.romoid-tier-switch {
    display: flex;
    min-width: 0;
    margin: 0 0 12px;
}

.romoid-tier-switch:has(.romoid-tier-tab:only-child) {
    display: none;
}

.romoid-tier-tabs {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    padding: 3px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f1f5f9;
}

.romoid-tier-tab {
    display: inline-flex;
    min-width: 0;
    min-height: 32px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    transition: all 140ms ease;
}

.romoid-tier-tab:hover,
.romoid-tier-tab:focus-visible {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

.romoid-tier-tab[aria-selected="true"] {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #0284c7;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.romoid-tier-tab small {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    border-radius: 5px;
    background: #e2e8f0;
    color: #475569;
    font-size: 10.5px;
    font-weight: 800;
}

.romoid-tier-tab[aria-selected="true"] small {
    background: #e0f2fe;
    color: #0284c7;
}

.romoid-tier-board {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin-top: 0;
}

.romoid-tier-board[hidden] {
    display: none !important;
}

.romoid-tier-board-head {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    padding: 2px 0;
}

.romoid-tier-board-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.romoid-tier-board-head p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.romoid-tier-board-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.romoid-tier-board-actions a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0284c7;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 140ms ease;
}

.romoid-tier-board-actions a:hover,
.romoid-tier-board-actions a:focus-visible {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0284c7;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
    text-decoration: none;
}

/* ==========================================================================
   COMMUNITY MATCHUP (GAMING / ESPORTS BATTLE ARENA)
   ========================================================================== */

@keyframes romoid-pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px #0ea5e9;
    }
    50% {
        opacity: 0.45;
        transform: scale(0.85);
        box-shadow: 0 0 2px #0ea5e9;
    }
}

@keyframes romoid-pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px #0ea5e9;
    }
    50% {
        opacity: 0.35;
        transform: scale(0.75);
        box-shadow: 0 0 2px #0ea5e9;
    }
}

@keyframes romoid-vs-clash {
    0%, 100% {
        transform: scale(1) rotate(-3deg);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.55), 0 0 0 4px rgba(239, 68, 68, 0.2);
    }
    50% {
        transform: scale(1.1) rotate(3deg);
        box-shadow: 0 0 32px rgba(239, 68, 68, 0.8), 0 0 0 7px rgba(239, 68, 68, 0.1);
    }
}

.romoid-tier-community {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 20px;
    margin-top: 18px;
    overflow: hidden;
    border: 1.5px solid #d4e7f8;
    border-radius: 20px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 165, 233, 0.1), transparent 70%),
        linear-gradient(180deg, #f8fbff 0%, #edf5fc 100%);
    padding: 22px 24px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.romoid-tier-community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #38bdf8 0%, #818cf8 45%, #ec4899 80%, #ef4444 100%);
    box-shadow: 0 1px 8px rgba(56, 189, 248, 0.35);
}

.romoid-tier-community-copy > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.romoid-tier-community-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    background: linear-gradient(90deg, #e0f2fe 0%, #eef6ff 100%);
    padding: 3.5px 12px;
    color: #0284c7;
    font-family: 'Chakra Petch', 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.12);
}

.romoid-tier-community-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0ea5e9;
    box-shadow: 0 0 6px #0ea5e9;
    animation: romoid-pulse-dot 1.8s infinite ease-in-out;
}

.romoid-tier-community-copy strong {
    display: block;
    color: var(--romoid-ink, #0f172a);
    font-family: 'Chakra Petch', 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.romoid-tier-community-copy p {
    max-width: 650px;
    margin: 6px 0 0;
    color: var(--romoid-copy, #475569);
    font-size: 12.5px;
    line-height: 1.55;
}

.romoid-tier-community-copy small {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #64748b;
    font-family: 'Chakra Petch', 'Rajdhani', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.romoid-tier-community-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.romoid-tier-community-controls label {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 11px;
    color: #334155;
    font-family: 'Chakra Petch', 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 180ms ease;
}

.romoid-tier-community-controls label:hover {
    border-color: #38bdf8;
    background: #f0f9ff;
    color: #0284c7;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}

.romoid-tier-community-controls input {
    width: 15px;
    height: 15px;
    accent-color: #0284c7;
    cursor: pointer;
}

.romoid-tier-community-pair {
    display: grid;
    grid-column: 1 / -1;
    gap: 16px;
    padding-top: 4px;
}

.romoid-tier-community-question,
.romoid-tier-community-message {
    margin: 0;
}

.romoid-tier-community-question {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    color: #0f172a;
    font-family: 'Chakra Petch', 'Rajdhani', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.romoid-tier-community-question::before,
.romoid-tier-community-question::after {
    content: '';
    flex: 0 1 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8);
}

.romoid-tier-community-question::after {
    background: linear-gradient(90deg, #f43f5e, transparent);
}

.romoid-tier-community-message {
    text-align: center;
    color: #64748b;
    font-family: 'Chakra Petch', 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    padding: 20px 0;
}

.romoid-tier-community-matchup {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    max-width: 680px;
    width: 100%;
    margin: 4px auto 0;
}

/* Battle Cards */
.romoid-tier-community-choice {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 232px;
    grid-template-rows: 132px minmax(36px, auto) auto;
    place-items: center;
    gap: 12px;
    border-radius: 16px;
    background: #ffffff;
    padding: 18px 16px 16px;
    color: #0f172a;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    overflow: hidden;
    outline: 0;
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 220ms ease,
                box-shadow 220ms ease,
                background 220ms ease;
}

/* Left Card (Blue/Cyan Team) */
.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type {
    border: 1.5px solid #bae6fd;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, transparent, #0ea5e9, #38bdf8);
    opacity: 0.9;
    transition: all 220ms ease;
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type:hover:not(:disabled),
.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type:focus-visible:not(:disabled) {
    border-color: #38bdf8;
    background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%);
    box-shadow: 0 16px 36px rgba(14, 165, 233, 0.22);
    transform: translateY(-6px) scale(1.02);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type .romoid-tier-community-choice-media {
    border: 2.5px solid #bae6fd;
    box-shadow: 0 0 0 3px #ffffff, 0 6px 18px rgba(2, 132, 199, 0.2);
    background: radial-gradient(circle, #0284c7 0%, #034685 100%);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type:hover .romoid-tier-community-choice-media {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px #ffffff, 0 8px 24px rgba(2, 132, 199, 0.35);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type small {
    background: linear-gradient(135deg, #0284c7 0%, #0099ff 100%);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    color: #ffffff;
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:first-of-type:hover small {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
    transform: translateY(-2px);
}

/* Right Card (Red/Crimson Team) */
.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type {
    border: 1.5px solid #fecdd3;
    background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #f43f5e, #fb7185, transparent);
    opacity: 0.9;
    transition: all 220ms ease;
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type:hover:not(:disabled),
.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type:focus-visible:not(:disabled) {
    border-color: #fb7185;
    background: linear-gradient(180deg, #ffffff 0%, #ffe4e6 100%);
    box-shadow: 0 16px 36px rgba(244, 63, 94, 0.22);
    transform: translateY(-6px) scale(1.02);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type .romoid-tier-community-choice-media {
    border: 2.5px solid #fecdd3;
    box-shadow: 0 0 0 3px #ffffff, 0 6px 18px rgba(225, 29, 72, 0.2);
    background: radial-gradient(circle, #e11d48 0%, #881337 100%);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type:hover .romoid-tier-community-choice-media {
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px #ffffff, 0 8px 24px rgba(225, 29, 72, 0.35);
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type small {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
    color: #ffffff;
}

.romoid-tier-community-matchup > .romoid-tier-community-choice:last-of-type:hover small {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
    transform: translateY(-2px);
}

.romoid-tier-community-choice:active:not(:disabled) {
    transform: translateY(-2px) scale(0.99);
}

.romoid-tier-community-choice:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

/* Avatar Showcase Ring */
.romoid-tier-community-choice-media {
    display: grid;
    width: 126px;
    height: 126px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    transition: box-shadow 260ms ease, transform 260ms ease, border-color 260ms ease;
}

.romoid-tier-community-choice:hover .romoid-tier-community-choice-media {
    transform: scale(1.06);
}

.romoid-tier-community-choice img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.romoid-tier-community-choice:hover img {
    transform: scale(1.12) rotate(1.5deg);
}

.romoid-tier-community-initial {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
    color: #ffffff;
    font-family: 'Chakra Petch', 'Rajdhani', Impact, system-ui, sans-serif;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Weapon Name */
.romoid-tier-community-choice strong {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    font-family: 'Chakra Petch', 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 19.5px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 200ms ease;
}

/* Action Button Base */
.romoid-tier-community-choice small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 20px;
    border-radius: 6px;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    font-family: 'Chakra Petch', 'Rajdhani', sans-serif;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 220ms ease;
}

.romoid-tier-community-choice small::before {
    content: '▶';
    font-size: 8px;
    margin-right: 6px;
    opacity: 0.9;
}

/* VS Battle Clash Crest */
.romoid-tier-community-versus {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 -8px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.55), 0 0 0 4px rgba(239, 68, 68, 0.2);
    color: #ffffff;
    font-family: 'Chakra Petch', 'Rajdhani', Impact, sans-serif;
    font-size: 16.5px;
    font-weight: 950;
    font-style: italic;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    animation: romoid-vs-clash 2.2s infinite ease-in-out;
}

.romoid-tier-community-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
    margin-top: 8px;
}

.romoid-tier-community-skip,
.romoid-tier-community-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 20px;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    background: #f0f9ff;
    color: #0284c7;
    font-family: 'Chakra Petch', 'Rajdhani', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 180ms ease;
}

.romoid-tier-community-skip:hover,
.romoid-tier-community-skip:focus-visible,
.romoid-tier-community-login:hover,
.romoid-tier-community-login:focus-visible {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #0369a1;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
    outline: 0;
    transform: translateY(-1px);
}

.romoid-tier-community-reference {
    margin: 12px 0 0;
    overflow: hidden;
    border: 1px solid #cfe0f5;
    border-radius: 10px;
    background: #f4f8fd;
}

.romoid-tier-community-reference summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    color: var(--romoid-blue-dark);
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

.romoid-tier-community-reference summary::-webkit-details-marker {
    display: none;
}

.romoid-tier-community-reference summary::after {
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform 140ms ease;
}

.romoid-tier-community-reference[open] summary::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.romoid-tier-community-reference summary small {
    margin-left: auto;
    color: var(--romoid-muted);
    font-size: 11px;
    font-weight: 700;
}

.romoid-tier-community-reference > p {
    margin: 0;
    padding: 0 13px 10px;
    color: var(--romoid-copy);
    font-size: 12px;
    line-height: 1.45;
}

.romoid-tier-community-reference ol {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #d6e8fb;
}

.romoid-tier-community-reference li {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 35px;
    padding: 6px 13px;
    background: #fff;
    color: var(--romoid-ink);
    font-size: 12px;
    font-weight: 750;
}

.romoid-tier-community-reference li b {
    color: var(--romoid-blue-dark);
    font-variant-numeric: tabular-nums;
}

.romoid-tier-community-reference li span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.romoid-tier-community-reference li small {
    color: var(--romoid-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
}

.romoid-tier-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    min-width: 0;
    min-height: 78px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.romoid-tier-row:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.romoid-tier-row.is-drop {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.romoid-tier-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 850;
    letter-spacing: 0.02em;
    white-space: nowrap;
    user-select: none;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
}

/* Subtle, sophisticated tier palette: calm tints with clean indicator bars */
.romoid-tier-rank[data-rank="S"] {
    background: #fff1f2;
    color: #e11d48;
    border-left: 4px solid #f43f5e;
    border-right-color: #ffe4e6;
}

.romoid-tier-rank[data-rank="A"] {
    background: #fff7ed;
    color: #ea580c;
    border-left: 4px solid #f97316;
    border-right-color: #ffedd5;
}

.romoid-tier-rank[data-rank="B"] {
    background: #fefce8;
    color: #b45309;
    border-left: 4px solid #eab308;
    border-right-color: #fef08a;
}

.romoid-tier-rank[data-rank="C"] {
    background: #f0fdf4;
    color: #16a34a;
    border-left: 4px solid #22c55e;
    border-right-color: #dcfce7;
}

.romoid-tier-rank[data-rank="D"] {
    background: #f8fafc;
    color: #475569;
    border-left: 4px solid #64748b;
    border-right-color: #e2e8f0;
}

.romoid-tier-rank[data-rank="U"] {
    background: #f8fafc;
    color: #94a3b8;
    border-left: 4px solid #cbd5e1;
    border-right-color: #e2e8f0;
}

.romoid-tier-slots {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fafbfc;
}

.romoid-tier-empty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    font-style: italic;
    user-select: none;
}

.romoid-tier-chip {
    display: flex;
    flex-direction: column;
    width: 164px;
    min-width: 0;
    gap: 6px;
    padding: 6px 8px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.romoid-tier-chip:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.08);
    transform: translateY(-1px);
}

.romoid-tier-chip.is-dragging {
    opacity: 0.35;
    transform: scale(0.97);
    cursor: grabbing;
}

.romoid-tier-chip[draggable="true"] {
    cursor: grab;
}

.romoid-tier-chip a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.romoid-tier-chip a:hover strong,
.romoid-tier-chip a:focus-visible strong {
    color: #0284c7;
}

.romoid-tier-chip-media,
.romoid-tier-chip-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    overflow: hidden;
    border-radius: 8px;
}

.romoid-tier-chip-media {
    border: 1px solid #e2e8f0;
    background: #0f172a;
}

.romoid-tier-chip-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 140ms ease;
}

.romoid-tier-chip:hover .romoid-tier-chip-media img {
    transform: scale(1.05);
}

.romoid-tier-chip-icon {
    display: grid;
    place-items: center;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #0284c7;
    font-size: 14px;
    font-weight: 850;
}

.romoid-tier-chip strong {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 120ms ease;
}

.romoid-tier-chip select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 24px;
    padding: 0 22px 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 7px center;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
    transition: all 120ms ease;
}

.romoid-tier-chip select:hover,
.romoid-tier-chip select:focus-visible {
    border-color: #0284c7;
    background-color: #ffffff;
    color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

@media (max-width: 720px) {
    body.post-show-page .romoid-catalog-container {
        padding-inline: 16px !important;
    }

    body.post-show-page .romoid-catalog {
        padding-top: 13px;
    }

    .romoid-intro h1 {
        font-size: 22px;
    }

    .romoid-hub-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .romoid-panel-skeleton {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 540px) {
    .romoid-breadcrumb {
        margin-bottom: 12px;
    }

    .romoid-intro {
        padding: 12px;
        gap: 14px;
    }

    .romoid-intro h1 {
        font-size: 21px;
        line-height: 1.16;
    }

    .romoid-hero-actions {
        margin-top: 4px;
    }

    .romoid-action-button {
        padding-inline: 11px;
    }

    .romoid-section {
        padding: 22px 0;
    }

    .romoid-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .romoid-section-heading > div {
        width: 100%;
        min-width: 0;
    }

    .romoid-section-heading h2 {
        font-size: 18px;
        white-space: normal;
        word-break: normal;
    }

    .romoid-section-heading p {
        white-space: normal;
    }

    .romoid-text-button {
        min-height: 30px;
        height: 30px;
        padding-inline: 9px;
        font-size: 11.5px;
        border-radius: 7px;
    }

    .romoid-text-button svg {
        width: 13px;
        height: 13px;
    }

    .romoid-section-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }

    .romoid-code-card {
        padding: 13px;
    }

    .romoid-codes-main .romoid-empty-state {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        min-height: 0;
        padding: 16px;
    }

    .romoid-codes-main .romoid-empty-state a.romoid-empty-cta {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .romoid-code-copyline {
        align-items: flex-start;
    }

    .romoid-code-value {
        display: grid;
        gap: 6px;
        justify-items: start;
    }

    .romoid-code-value code {
        max-width: 100%;
        font-size: 14px;
    }

    .romoid-code-confirmations {
        align-items: flex-start;
    }

    .romoid-copy-button {
        min-width: 72px;
    }

    .romoid-tab-list {
        width: 100%;
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 3px;
        gap: 3px;
        border-radius: 12px;
    }

    .romoid-tab-list::-webkit-scrollbar {
        display: none;
    }

    .romoid-tab {
        flex: 1 1 auto;
        min-width: max-content;
        min-height: 35px;
        padding: 0 9px;
        gap: 5px;
        border-radius: 9px;
        font-size: 12px;
        font-weight: 750;
    }

    .romoid-tab svg {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .romoid-tab small {
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 9.5px;
    }

    .romoid-tab-panel {
        padding-top: 12px;
    }

    /* Tab 1: Tier List Mobile Compact */
    .romoid-tier-row {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 56px;
        border-radius: 10px;
        margin-bottom: 6px;
    }

    .romoid-tier-rank {
        font-size: 15px;
    }

    .romoid-tier-slots {
        gap: 5px;
        padding: 5px 6px;
    }

    .romoid-tier-chip {
        width: calc(50% - 3px);
        padding: 5px 6px;
        gap: 4px;
        border-radius: 8px;
    }

    .romoid-tier-chip a {
        gap: 7px;
    }

    .romoid-tier-chip-media,
    .romoid-tier-chip-icon {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        border-radius: 6px;
    }

    .romoid-tier-chip-icon {
        font-size: 12px;
    }

    .romoid-tier-chip strong {
        font-size: 11.5px;
    }

    .romoid-tier-chip select {
        height: 22px;
        font-size: 10px;
    }

    .romoid-tier-toggles {
        align-items: flex-start;
        flex-direction: column;
        padding: 8px 10px;
        gap: 6px;
        border-radius: 10px;
        margin: 8px 0;
    }

    .romoid-tier-tabs {
        width: 100%;
        gap: 4px;
    }

    .romoid-tier-tab {
        flex: 1 1 calc(50% - 4px);
        min-height: 30px;
        padding: 0 8px;
        font-size: 11.5px;
        justify-content: center;
        border-radius: 8px;
    }

    .romoid-tier-board-head {
        align-items: flex-start;
        margin-bottom: 8px;
        gap: 6px;
    }

    .romoid-tier-board-head h3 {
        font-size: 14.5px;
    }

    .romoid-tier-board-head p {
        font-size: 11px;
    }

    .romoid-tier-board-actions {
        justify-content: flex-start;
    }

    .romoid-tier-board-actions a {
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }

    /* Tab 2: Wiki Mobile Compact */
    .romoid-panel-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .romoid-panel-title-wrap {
        gap: 8px;
    }

    .romoid-panel-badge-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        border-radius: 9px;
    }

    .romoid-panel-badge-icon svg {
        width: 16px;
        height: 16px;
    }

    .romoid-panel-toolbar h3 {
        font-size: 14.5px;
    }

    .romoid-panel-toolbar [id$="-count"] {
        height: 18px;
        font-size: 10px;
        padding: 0 6px;
    }

    .romoid-panel-search {
        width: 100%;
        min-width: 0;
        min-height: 34px;
    }

    .romoid-panel-search input {
        min-height: 34px;
        padding: 0 28px 0 28px;
        font-size: 12px;
        border-radius: 9px;
    }

    .romoid-panel-search > svg {
        left: 9px;
        width: 13px;
        height: 13px;
    }

    .romoid-panel-filters {
        gap: 4px;
        margin: 0 0 10px;
        padding-bottom: 4px;
    }

    .romoid-panel-filters .wiki-filter-btn {
        min-height: 26px;
        padding: 0 10px;
        font-size: 10.5px;
        border-radius: 999px;
    }

    .romoid-hub-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .romoid-wiki-card {
        grid-template-columns: 44px minmax(0, 1fr) 18px;
        min-height: 64px;
        padding: 9px 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .romoid-wiki-card-media,
    .romoid-wiki-card-icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 9px;
    }

    .romoid-wiki-card-icon {
        font-size: 14px;
    }

    .romoid-wiki-card-copy small {
        font-size: 9px;
        padding: 1.5px 5px;
        margin-bottom: 2px;
    }

    .romoid-wiki-card-copy strong {
        font-size: 12.5px;
        line-height: 1.3;
    }

    .romoid-wiki-card-copy > span {
        font-size: 10.5px;
        margin-top: 1px;
    }

    .romoid-card-arrow {
        width: 15px;
        height: 15px;
    }

    .romoid-panel-empty {
        padding: 24px 14px;
        border-radius: 12px;
        margin: 10px 0;
    }

    /* Tab 3: Comments Mobile Compact */
    .romoid-comments-card {
        padding: 12px 13px;
        border-radius: 13px;
    }

    .romoid-comments-card-head {
        margin-bottom: 10px;
        padding-bottom: 10px;
        gap: 8px;
    }

    .romoid-comments-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border-radius: 9px;
    }

    .romoid-comments-icon svg {
        width: 17px;
        height: 17px;
    }

    .romoid-comments-title-row h2 {
        font-size: 14.5px;
    }

    .romoid-comments-count {
        height: 18px;
        font-size: 10px;
        padding: 0 5px;
    }

    .romoid-comments-card-sub {
        font-size: 10.5px;
    }

    .romoid-comment-composer {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .romoid-discussion #comment-form {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 6px;
    }

    .romoid-discussion #comment-form textarea {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12.5px;
        border-radius: 9px;
        line-height: 1.4;
    }

    .romoid-discussion #comment-form > button {
        width: 40px;
        height: 40px;
        min-height: 40px;
        border-radius: 9px;
    }

    .romoid-discussion #comment-form > button svg {
        width: 14px;
        height: 14px;
    }

    .romoid-login-note {
        min-height: 34px;
        padding: 0 10px;
        font-size: 11.5px;
        border-radius: 9px;
        gap: 6px;
    }

    .romoid-discussion .vz-discussion-card {
        padding: 9px 0;
        gap: 6px;
    }

    .romoid-discussion .vz-discussion-head {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        column-gap: 8px;
    }

    .romoid-discussion .vz-discussion-head.is-reply {
        grid-template-columns: 22px minmax(0, 1fr) auto;
        column-gap: 6px;
    }

    .romoid-discussion .vz-discussion-avatar {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        border-radius: 7px;
    }

    .romoid-discussion .vz-discussion-avatar.is-reply {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        border-radius: 5px;
    }

    .romoid-discussion .vz-discussion-author {
        font-size: 12px;
    }

    .romoid-discussion .vz-discussion-time,
    .romoid-discussion .vz-discussion-cult,
    .romoid-discussion .vz-discussion-dot {
        font-size: 10px;
    }

    .romoid-discussion .vz-discussion-action {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 6px;
    }

    .romoid-discussion .vz-discussion-body {
        font-size: 12px;
        line-height: 1.45;
        margin-left: 0;
    }

    .romoid-discussion .vz-discussion-replies {
        margin-left: 8px;
        padding-left: 8px;
        gap: 5px;
        border-left-width: 1.5px;
    }

    /* Tab 4: App Info Mobile Compact */
    .romoid-app-card {
        padding: 12px 13px;
        border-radius: 13px;
    }

    .romoid-app-card-head {
        margin-bottom: 10px;
        padding-bottom: 10px;
        gap: 8px;
    }

    .romoid-app-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 9px;
    }

    .romoid-app-card-titles h2 {
        font-size: 14.5px;
    }

    .romoid-app-card-dev {
        font-size: 11px;
    }

    .romoid-app-stores a,
    .romoid-store-btn {
        min-height: 27px;
        padding: 0 9px;
        font-size: 10.5px;
        border-radius: 8px;
        gap: 5px;
    }

    .romoid-store-brand-icon {
        width: 11px;
        height: 11px;
    }

    .romoid-store-btn-arrow {
        width: 11px;
        height: 11px;
    }

    .romoid-app-facts {
        gap: 6px;
    }

    .romoid-app-facts > div {
        padding: 7px 9px;
        border-radius: 9px;
    }

    .romoid-app-facts dt {
        font-size: 9.5px;
        gap: 4px;
        margin-bottom: 2px;
    }

    .romoid-fact-icon {
        width: 12px;
        height: 12px;
    }

    .romoid-app-facts dd {
        font-size: 11.5px;
    }

    .romoid-rating-badge {
        font-size: 11.5px;
    }

    .romoid-tier-community {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px 4px 12px;
        gap: 8px;
        border-radius: 12px;
        margin-top: 12px;
    }

    .romoid-tier-community-copy {
        padding: 0 4px;
    }

    .romoid-tier-community-controls {
        justify-content: flex-start;
        padding: 0 4px;
        gap: 6px;
    }

    .romoid-tier-community-controls label {
        min-height: 26px;
        padding: 0 8px;
        font-size: 10px;
        gap: 5px;
    }

    .romoid-tier-community-controls input {
        width: 13px;
        height: 13px;
    }

    .romoid-tier-community-pair {
        gap: 8px;
        padding-top: 0;
    }

    .romoid-tier-community-question {
        font-size: 11.5px;
        gap: 6px;
        letter-spacing: 0.08em;
    }

    .romoid-tier-community-question::before,
    .romoid-tier-community-question::after {
        flex: 0 1 18px;
    }

    .romoid-tier-community-matchup {
        grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
        gap: 6px;
        max-width: 100%;
        margin: 0 auto;
    }

    .romoid-tier-community-choice {
        min-height: 175px;
        grid-template-rows: 84px minmax(28px, auto) auto;
        padding: 10px 4px 10px;
        gap: 6px;
        border-radius: 10px;
    }

    .romoid-tier-community-choice-media {
        width: 80px;
        height: 80px;
    }

    .romoid-tier-community-initial {
        font-size: 30px;
    }

    .romoid-tier-community-choice strong {
        font-size: 13px;
        letter-spacing: 0.04em;
    }

    .romoid-tier-community-choice small {
        min-height: 28px;
        padding: 0 6px;
        font-size: 10px;
        letter-spacing: 0.05em;
    }

    .romoid-tier-community-versus {
        width: 36px;
        height: 36px;
        margin: 0 -4px;
        border-width: 2px;
        font-size: 11px;
    }

    .romoid-tier-community-footer {
        flex-direction: column;
        gap: 6px;
        margin-top: 4px;
    }

    .romoid-tier-community-skip,
    .romoid-tier-community-login {
        min-height: 30px;
        padding: 0 14px;
        font-size: 10.5px;
    }

    .romoid-wiki-card {
        min-height: 76px;
        padding: 10px;
    }

    .romoid-wiki-card-copy strong {
        white-space: normal;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .romoid-discussion #comment-form textarea {
        min-height: 90px;
        font-size: 16px;
    }

    .romoid-copy-toast {
        right: 12px;
        bottom: 12px;
        max-width: 320px;
    }

    .romoid-codes-layout {
        padding: 12px;
    }
}

@media (pointer: coarse) {
    .romoid-action-button,
    .romoid-icon-button,
    .romoid-text-button,
    .romoid-copy-button,
    .romoid-code-count-button,
    .romoid-tab,
    .romoid-panel-search input,
    .romoid-panel-filters .wiki-filter-btn,
    .romoid-tier-toggle,
    .romoid-tier-tab,
    .romoid-page-button,
    .romoid-comments-more button {
        min-height: 44px;
    }

    .romoid-tier-chip select {
        min-height: 32px;
        line-height: 30px;
    }

    .romoid-icon-button,
    .romoid-page-button {
        width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.post-show-page .romoid-catalog *,
    body.post-show-page .romoid-catalog *::before,
    body.post-show-page .romoid-catalog *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html.dark body.post-show-page,
body.dark.post-show-page,
html[data-theme="dark"] body.post-show-page {
    --romoid-ink: #e8eef6;
    --romoid-copy: #c5d0de;
    --romoid-muted: #8ea0b5;
    --romoid-line: #2a3a4d;
    --romoid-line-strong: #35506a;
    --romoid-surface: #132033;
    --romoid-page: #0b1624;
    --romoid-soft: #173049;
    --romoid-blue-soft: #16385f;
    --romoid-green-soft: #12392d;
    --romoid-amber-soft: #3a2a12;
    --romoid-red-soft: #3a1b18;
    --romoid-shadow: 0 12px 28px rgba(4, 10, 18, 0.28);
    color-scheme: dark;
}

html.dark body.post-show-page .romoid-game-thumb,
body.dark.post-show-page .romoid-game-thumb,
html[data-theme="dark"] body.post-show-page .romoid-game-thumb {
    background: #0e0e0e;
}

html.dark body.post-show-page .romoid-tab[aria-selected="true"],
body.dark.post-show-page .romoid-tab[aria-selected="true"],
html[data-theme="dark"] body.post-show-page .romoid-tab[aria-selected="true"],
html.dark body.post-show-page .romoid-tier-tab[aria-selected="true"],
body.dark.post-show-page .romoid-tier-tab[aria-selected="true"],
html[data-theme="dark"] body.post-show-page .romoid-tier-tab[aria-selected="true"] {
    border-color: #35506a;
    background: #173049;
    color: #4fc3f7;
}

html.dark body.post-show-page .romoid-tab-list,
body.dark.post-show-page .romoid-tab-list,
html[data-theme="dark"] body.post-show-page .romoid-tab-list {
    background: #0f1c30;
    border-color: #1e3552;
}

html.dark body.post-show-page .romoid-tab,
body.dark.post-show-page .romoid-tab,
html[data-theme="dark"] body.post-show-page .romoid-tab {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-tab:hover,
body.dark.post-show-page .romoid-tab:hover,
html[data-theme="dark"] body.post-show-page .romoid-tab:hover {
    background: #173049;
    color: #ffffff;
}

html.dark body.post-show-page .romoid-tab small,
body.dark.post-show-page .romoid-tab small,
html[data-theme="dark"] body.post-show-page .romoid-tab small {
    background: #1e3552;
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-tier-toggles,
body.dark.post-show-page .romoid-tier-toggles,
html[data-theme="dark"] body.post-show-page .romoid-tier-toggles {
    background: #0f1c30;
    border-color: #1e3552;
}

html.dark body.post-show-page .romoid-tier-toggles-copy p,
body.dark.post-show-page .romoid-tier-toggles-copy p,
html[data-theme="dark"] body.post-show-page .romoid-tier-toggles-copy p {
    color: #e2e8f0;
}

html.dark body.post-show-page .romoid-tier-toggle,
body.dark.post-show-page .romoid-tier-toggle,
html[data-theme="dark"] body.post-show-page .romoid-tier-toggle {
    background: #173049;
    border-color: #2a4365;
    color: #e2e8f0;
}

html.dark body.post-show-page .romoid-tier-toggle input,
body.dark.post-show-page .romoid-tier-toggle input,
html[data-theme="dark"] body.post-show-page .romoid-tier-toggle input {
    background: #0f1c30;
    border-color: #4a6fa5;
}

html.dark body.post-show-page .romoid-tier-toggle:has(input:checked),
body.dark.post-show-page .romoid-tier-toggle:has(input:checked),
html[data-theme="dark"] body.post-show-page .romoid-tier-toggle:has(input:checked) {
    background: #1a365d;
    border-color: #38bdf8;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-tier-toggle small,
body.dark.post-show-page .romoid-tier-toggle small,
html[data-theme="dark"] body.post-show-page .romoid-tier-toggle small {
    background: #111e30;
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-tier-toggles .romoid-text-button,
body.dark.post-show-page .romoid-tier-toggles .romoid-text-button,
html[data-theme="dark"] body.post-show-page .romoid-tier-toggles .romoid-text-button {
    background: #173049;
    border-color: #2a4365;
    color: #e2e8f0;
}

html.dark body.post-show-page .romoid-tier-toggles .romoid-text-button:hover,
body.dark.post-show-page .romoid-tier-toggles .romoid-text-button:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-toggles .romoid-text-button:hover {
    background: #1e3a5f;
    border-color: #38bdf8;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-tier-tabs,
body.dark.post-show-page .romoid-tier-tabs,
html[data-theme="dark"] body.post-show-page .romoid-tier-tabs {
    background: #0f1c30;
    border-color: #1e3552;
}

html.dark body.post-show-page .romoid-tier-tab,
body.dark.post-show-page .romoid-tier-tab,
html[data-theme="dark"] body.post-show-page .romoid-tier-tab {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-tier-tab:hover,
body.dark.post-show-page .romoid-tier-tab:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-tab:hover {
    background: #173049;
    color: #ffffff;
}

html.dark body.post-show-page .romoid-tier-tab small,
body.dark.post-show-page .romoid-tier-tab small,
html[data-theme="dark"] body.post-show-page .romoid-tier-tab small {
    background: #1e3552;
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-copy-toast,
body.dark.post-show-page .romoid-copy-toast,
html[data-theme="dark"] body.post-show-page .romoid-copy-toast {
    border-color: #2a3a4d;
    background: #101820;
}

html.dark body.post-show-page .romoid-tag-list a,
body.dark.post-show-page .romoid-tag-list a,
html[data-theme="dark"] body.post-show-page .romoid-tag-list a {
    border-color: var(--romoid-line);
    background: var(--romoid-surface);
    color: var(--romoid-muted);
}

html.dark body.post-show-page .romoid-tier-row,
body.dark.post-show-page .romoid-tier-row,
html[data-theme="dark"] body.post-show-page .romoid-tier-row {
    border-color: #1e2e42;
    background: #111a28;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

html.dark body.post-show-page .romoid-tier-row:hover,
body.dark.post-show-page .romoid-tier-row:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-row:hover {
    border-color: #2a3f5a;
}

html.dark body.post-show-page .romoid-tier-slots,
body.dark.post-show-page .romoid-tier-slots,
html[data-theme="dark"] body.post-show-page .romoid-tier-slots {
    background: #0d1522;
}

html.dark body.post-show-page .romoid-tier-empty,
body.dark.post-show-page .romoid-tier-empty,
html[data-theme="dark"] body.post-show-page .romoid-tier-empty {
    background: rgba(15, 23, 42, 0.4);
    border-color: #1e3552;
    color: #64748b;
}

html.dark body.post-show-page .romoid-tier-rank,
body.dark.post-show-page .romoid-tier-rank,
html[data-theme="dark"] body.post-show-page .romoid-tier-rank {
    background: #111e30;
    border-right-color: #1e2e42;
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-tier-rank[data-rank="S"],
body.dark.post-show-page .romoid-tier-rank[data-rank="S"],
html[data-theme="dark"] body.post-show-page .romoid-tier-rank[data-rank="S"] {
    background: rgba(244, 63, 94, 0.12);
    color: #fb7185;
    border-left-color: #f43f5e;
    border-right-color: rgba(244, 63, 94, 0.2);
}

html.dark body.post-show-page .romoid-tier-rank[data-rank="A"],
body.dark.post-show-page .romoid-tier-rank[data-rank="A"],
html[data-theme="dark"] body.post-show-page .romoid-tier-rank[data-rank="A"] {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    border-left-color: #f97316;
    border-right-color: rgba(249, 115, 22, 0.2);
}

html.dark body.post-show-page .romoid-tier-rank[data-rank="B"],
body.dark.post-show-page .romoid-tier-rank[data-rank="B"],
html[data-theme="dark"] body.post-show-page .romoid-tier-rank[data-rank="B"] {
    background: rgba(234, 179, 8, 0.12);
    color: #facc15;
    border-left-color: #eab308;
    border-right-color: rgba(234, 179, 8, 0.2);
}

html.dark body.post-show-page .romoid-tier-rank[data-rank="C"],
body.dark.post-show-page .romoid-tier-rank[data-rank="C"],
html[data-theme="dark"] body.post-show-page .romoid-tier-rank[data-rank="C"] {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border-left-color: #22c55e;
    border-right-color: rgba(34, 197, 94, 0.2);
}

html.dark body.post-show-page .romoid-tier-rank[data-rank="D"],
body.dark.post-show-page .romoid-tier-rank[data-rank="D"],
html[data-theme="dark"] body.post-show-page .romoid-tier-rank[data-rank="D"] {
    background: rgba(100, 116, 139, 0.12);
    color: #94a3b8;
    border-left-color: #64748b;
    border-right-color: rgba(100, 116, 139, 0.2);
}

html.dark body.post-show-page .romoid-tier-rank[data-rank="U"],
body.dark.post-show-page .romoid-tier-rank[data-rank="U"],
html[data-theme="dark"] body.post-show-page .romoid-tier-rank[data-rank="U"] {
    background: rgba(148, 163, 184, 0.08);
    color: #64748b;
    border-left-color: #475569;
    border-right-color: rgba(148, 163, 184, 0.15);
}

html.dark body.post-show-page .romoid-tier-chip,
body.dark.post-show-page .romoid-tier-chip,
html[data-theme="dark"] body.post-show-page .romoid-tier-chip {
    border-color: #1e3149;
    background: #142032;
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-tier-chip:hover,
body.dark.post-show-page .romoid-tier-chip:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-chip:hover {
    border-color: #38bdf8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html.dark body.post-show-page .romoid-tier-chip strong,
body.dark.post-show-page .romoid-tier-chip strong,
html[data-theme="dark"] body.post-show-page .romoid-tier-chip strong {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-tier-chip a:hover strong,
body.dark.post-show-page .romoid-tier-chip a:hover strong,
html[data-theme="dark"] body.post-show-page .romoid-tier-chip a:hover strong {
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-tier-chip-media,
body.dark.post-show-page .romoid-tier-chip-media,
html[data-theme="dark"] body.post-show-page .romoid-tier-chip-media {
    border-color: #1e3149;
    background: #070d18;
}

html.dark body.post-show-page .romoid-tier-chip select,
body.dark.post-show-page .romoid-tier-chip select,
html[data-theme="dark"] body.post-show-page .romoid-tier-chip select {
    background-color: #0d1522;
    border-color: #1e3149;
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-tier-chip select:hover,
body.dark.post-show-page .romoid-tier-chip select:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-chip select:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-tier-board-head h3,
body.dark.post-show-page .romoid-tier-board-head h3,
html[data-theme="dark"] body.post-show-page .romoid-tier-board-head h3 {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-tier-board-actions a,
body.dark.post-show-page .romoid-tier-board-actions a,
html[data-theme="dark"] body.post-show-page .romoid-tier-board-actions a {
    border-color: #1e3552;
    background: #111e30;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-tier-board-actions a:hover,
body.dark.post-show-page .romoid-tier-board-actions a:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-board-actions a:hover {
    border-color: #38bdf8;
    background: #16263d;
}

html.dark body.post-show-page .romoid-content-skeleton span,
html.dark body.post-show-page .romoid-comments-loading span,
body.dark.post-show-page .romoid-content-skeleton span,
body.dark.post-show-page .romoid-comments-loading span,
html[data-theme="dark"] body.post-show-page .romoid-content-skeleton span,
html[data-theme="dark"] body.post-show-page .romoid-comments-loading span {
    background: #223247;
}

html.dark body.post-show-page .romoid-tier-community-controls label,
body.dark.post-show-page .romoid-tier-community-controls label,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-controls label {
    background: #111e30;
    border-color: #1e3552;
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-tier-community-controls label:hover,
body.dark.post-show-page .romoid-tier-community-controls label:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-controls label:hover {
    border-color: #38bdf8;
    background: #16263d;
}

html.dark body.post-show-page .romoid-tier-community-versus,
body.dark.post-show-page .romoid-tier-community-versus,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-versus {
    border-color: #0c1524;
}

html.dark body.post-show-page .romoid-tier-community-skip,
html.dark body.post-show-page .romoid-tier-community-login,
body.dark.post-show-page .romoid-tier-community-skip,
body.dark.post-show-page .romoid-tier-community-login,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-skip,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-login {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-tier-community-skip:hover,
html.dark body.post-show-page .romoid-tier-community-login:hover,
body.dark.post-show-page .romoid-tier-community-skip:hover,
body.dark.post-show-page .romoid-tier-community-login:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-skip:hover,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-login:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #7dd3fc;
}

html.dark body.post-show-page .romoid-tier-community-reference,
body.dark.post-show-page .romoid-tier-community-reference,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-reference {
    border-color: #1e3552;
    background: #0f1c30;
}

html.dark body.post-show-page .romoid-tier-community-reference summary,
body.dark.post-show-page .romoid-tier-community-reference summary,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-reference summary {
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-tier-community-reference ol,
body.dark.post-show-page .romoid-tier-community-reference ol,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-reference ol {
    background: #1a2c44;
}

html.dark body.post-show-page .romoid-tier-community-reference li,
body.dark.post-show-page .romoid-tier-community-reference li,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-reference li {
    background: #111e30;
    color: #e2e8f0;
}

html.dark body.post-show-page .romoid-tier-community-reference li b,
body.dark.post-show-page .romoid-tier-community-reference li b,
html[data-theme="dark"] body.post-show-page .romoid-tier-community-reference li b {
/* Wiki Dark Mode */
html.dark body.post-show-page .romoid-panel-toolbar h3,
body.dark.post-show-page .romoid-panel-toolbar h3,
html[data-theme="dark"] body.post-show-page .romoid-panel-toolbar h3 {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-panel-toolbar span,
body.dark.post-show-page .romoid-panel-toolbar span,
html[data-theme="dark"] body.post-show-page .romoid-panel-toolbar span {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-panel-search input,
body.dark.post-show-page .romoid-panel-search input,
html[data-theme="dark"] body.post-show-page .romoid-panel-search input {
    border-color: #1e3149;
    background: #0f1c30;
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-panel-search input:focus,
body.dark.post-show-page .romoid-panel-search input:focus,
html[data-theme="dark"] body.post-show-page .romoid-panel-search input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

html.dark body.post-show-page .romoid-panel-filters .wiki-filter-btn,
/* Wiki Hub Dark Mode */
html.dark body.post-show-page .romoid-panel-toolbar h3,
body.dark.post-show-page .romoid-panel-toolbar h3,
html[data-theme="dark"] body.post-show-page .romoid-panel-toolbar h3 {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-panel-badge-icon,
body.dark.post-show-page .romoid-panel-badge-icon,
html[data-theme="dark"] body.post-show-page .romoid-panel-badge-icon {
    background: rgba(2, 132, 199, 0.15);
    border-color: rgba(2, 132, 199, 0.3);
    color: #38bdf8;
    box-shadow: none;
}

html.dark body.post-show-page .romoid-panel-toolbar [id$="-count"],
body.dark.post-show-page .romoid-panel-toolbar [id$="-count"],
html[data-theme="dark"] body.post-show-page .romoid-panel-toolbar [id$="-count"] {
    background: #1e3552;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-panel-search input,
body.dark.post-show-page .romoid-panel-search input,
html[data-theme="dark"] body.post-show-page .romoid-panel-search input {
    border-color: #1e3149;
    background: #0f1c30;
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-panel-search input:focus,
body.dark.post-show-page .romoid-panel-search input:focus,
html[data-theme="dark"] body.post-show-page .romoid-panel-search input:focus {
    background: #132033;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

html.dark body.post-show-page .romoid-panel-search button:hover,
body.dark.post-show-page .romoid-panel-search button:hover,
html[data-theme="dark"] body.post-show-page .romoid-panel-search button:hover {
    background: #173049;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-panel-filters .wiki-filter-btn,
body.dark.post-show-page .romoid-panel-filters .wiki-filter-btn,
html[data-theme="dark"] body.post-show-page .romoid-panel-filters .wiki-filter-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: #132033;
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-panel-filters .wiki-filter-btn:hover,
body.dark.post-show-page .romoid-panel-filters .wiki-filter-btn:hover,
html[data-theme="dark"] body.post-show-page .romoid-panel-filters .wiki-filter-btn:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    background: #173049;
}

html.dark body.post-show-page .romoid-panel-filters .wiki-filter-btn.is-active,
body.dark.post-show-page .romoid-panel-filters .wiki-filter-btn.is-active,
html[data-theme="dark"] body.post-show-page .romoid-panel-filters .wiki-filter-btn.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

html.dark body.post-show-page .romoid-wiki-card,
body.dark.post-show-page .romoid-wiki-card,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card {
    border-color: #2a3a4d;
    background: #132033;
    color: #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark body.post-show-page .romoid-wiki-card:hover,
body.dark.post-show-page .romoid-wiki-card:hover,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

html.dark body.post-show-page .romoid-wiki-card-media,
body.dark.post-show-page .romoid-wiki-card-media,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card-media {
    border-color: #1e3149;
    background: #070d18;
}

html.dark body.post-show-page .romoid-wiki-card-icon,
body.dark.post-show-page .romoid-wiki-card-icon,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card-icon {
    border-color: #1e3552;
    background: #0f1c30;
    color: #38bdf8;
}

/* Dark Tone Monograms */
html.dark body.post-show-page .romoid-wiki-card[data-tone="guide"] .romoid-wiki-card-icon { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }
html.dark body.post-show-page .romoid-wiki-card[data-tone="weapon"] .romoid-wiki-card-icon { background: rgba(244, 63, 94, 0.15); color: #fb7185; border-color: rgba(244, 63, 94, 0.3); }
html.dark body.post-show-page .romoid-wiki-card[data-tone="character"] .romoid-wiki-card-icon { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.3); }
html.dark body.post-show-page .romoid-wiki-card[data-tone="map"] .romoid-wiki-card-icon { background: rgba(34, 197, 94, 0.15); color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }
html.dark body.post-show-page .romoid-wiki-card[data-tone="rank"] .romoid-wiki-card-icon { background: rgba(99, 102, 241, 0.15); color: #818cf8; border-color: rgba(99, 102, 241, 0.3); }
html.dark body.post-show-page .romoid-wiki-card[data-tone="item"] .romoid-wiki-card-icon { background: rgba(234, 179, 8, 0.15); color: #facc15; border-color: rgba(234, 179, 8, 0.3); }
html.dark body.post-show-page .romoid-wiki-card[data-tone="pet"] .romoid-wiki-card-icon { background: rgba(249, 115, 22, 0.15); color: #fb923c; border-color: rgba(249, 115, 22, 0.3); }

/* Dark Tone Micro-Badges */
html.dark body.post-show-page .romoid-wiki-card-copy small { background: rgba(2, 132, 199, 0.18); color: #38bdf8; }
html.dark body.post-show-page .romoid-wiki-card[data-tone="guide"] .romoid-wiki-card-copy small { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
html.dark body.post-show-page .romoid-wiki-card[data-tone="weapon"] .romoid-wiki-card-copy small { background: rgba(244, 63, 94, 0.18); color: #fb7185; }
html.dark body.post-show-page .romoid-wiki-card[data-tone="character"] .romoid-wiki-card-copy small { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; }
html.dark body.post-show-page .romoid-wiki-card[data-tone="map"] .romoid-wiki-card-copy small { background: rgba(34, 197, 94, 0.18); color: #4ade80; }
html.dark body.post-show-page .romoid-wiki-card[data-tone="rank"] .romoid-wiki-card-copy small { background: rgba(99, 102, 241, 0.18); color: #818cf8; }
html.dark body.post-show-page .romoid-wiki-card[data-tone="item"] .romoid-wiki-card-copy small { background: rgba(234, 179, 8, 0.18); color: #facc15; }
html.dark body.post-show-page .romoid-wiki-card[data-tone="pet"] .romoid-wiki-card-copy small { background: rgba(249, 115, 22, 0.18); color: #fb923c; }

html.dark body.post-show-page .romoid-wiki-card-copy strong,
body.dark.post-show-page .romoid-wiki-card-copy strong,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card-copy strong {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-wiki-card:hover .romoid-wiki-card-copy strong,
body.dark.post-show-page .romoid-wiki-card:hover .romoid-wiki-card-copy strong,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card:hover .romoid-wiki-card-copy strong {
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-wiki-card-copy span,
body.dark.post-show-page .romoid-wiki-card-copy span,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card-copy span {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-card-arrow,
body.dark.post-show-page .romoid-card-arrow,
html[data-theme="dark"] body.post-show-page .romoid-card-arrow {
    color: #64748b;
}

html.dark body.post-show-page .romoid-wiki-card:hover .romoid-card-arrow,
body.dark.post-show-page .romoid-wiki-card:hover .romoid-card-arrow,
html[data-theme="dark"] body.post-show-page .romoid-wiki-card:hover .romoid-card-arrow {
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-panel-empty,
body.dark.post-show-page .romoid-panel-empty,
html[data-theme="dark"] body.post-show-page .romoid-panel-empty {
    border-color: rgba(56, 189, 248, 0.25);
    background: #0d1522;
}

html.dark body.post-show-page .romoid-panel-empty > span,
body.dark.post-show-page .romoid-panel-empty > span,
html[data-theme="dark"] body.post-show-page .romoid-panel-empty > span {
    background: #111e30;
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.2);
}

html.dark body.post-show-page .romoid-panel-empty h3,
body.dark.post-show-page .romoid-panel-empty h3,
html[data-theme="dark"] body.post-show-page .romoid-panel-empty h3 {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-panel-empty p,
body.dark.post-show-page .romoid-panel-empty p,
html[data-theme="dark"] body.post-show-page .romoid-panel-empty p {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-page-button,
body.dark.post-show-page .romoid-page-button,
html[data-theme="dark"] body.post-show-page .romoid-page-button {
    border-color: #1e3552;
    background: #111e30;
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-page-button:hover:not(:disabled),
body.dark.post-show-page .romoid-page-button:hover:not(:disabled),
html[data-theme="dark"] body.post-show-page .romoid-page-button:hover:not(:disabled) {
    border-color: #38bdf8;
    background: #173049;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-page-button[aria-current="page"],
body.dark.post-show-page .romoid-page-button[aria-current="page"],
html[data-theme="dark"] body.post-show-page .romoid-page-button[aria-current="page"] {
    border-color: transparent;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
}

/* Discussion / Comments Dark Mode */
html.dark body.post-show-page .romoid-comments-card,
body.dark.post-show-page .romoid-comments-card,
html[data-theme="dark"] body.post-show-page .romoid-comments-card {
    background: #132033;
    border-color: #2a3a4d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark body.post-show-page .romoid-comments-card-head,
body.dark.post-show-page .romoid-comments-card-head,
html[data-theme="dark"] body.post-show-page .romoid-comments-card-head {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

html.dark body.post-show-page .romoid-comments-icon,
body.dark.post-show-page .romoid-comments-icon,
html[data-theme="dark"] body.post-show-page .romoid-comments-icon {
    background: rgba(2, 132, 199, 0.15);
    border-color: rgba(2, 132, 199, 0.3);
    color: #38bdf8;
    box-shadow: none;
}

html.dark body.post-show-page .romoid-comments-title-row h2,
body.dark.post-show-page .romoid-comments-title-row h2,
html[data-theme="dark"] body.post-show-page .romoid-comments-title-row h2,
html.dark body.post-show-page .romoid-discussion-section > .romoid-section-heading h2,
body.dark.post-show-page .romoid-discussion-section > .romoid-section-heading h2,
html[data-theme="dark"] body.post-show-page .romoid-discussion-section > .romoid-section-heading h2 {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-comments-card-sub,
body.dark.post-show-page .romoid-comments-card-sub,
html[data-theme="dark"] body.post-show-page .romoid-comments-card-sub {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-comments-user-pill,
body.dark.post-show-page .romoid-comments-user-pill,
html[data-theme="dark"] body.post-show-page .romoid-comments-user-pill {
    background: #1e293b;
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-count-badge,
body.dark.post-show-page .romoid-count-badge,
html[data-theme="dark"] body.post-show-page .romoid-count-badge {
    background: #1e3552;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-card,
body.dark.post-show-page .romoid-discussion .vz-discussion-card,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-card {
    border-top-color: #1e2e42;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-author,
body.dark.post-show-page .romoid-discussion .vz-discussion-author,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-author {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-author:hover,
body.dark.post-show-page .romoid-discussion .vz-discussion-author:hover,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-author:hover {
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-flag.is-owner,
body.dark.post-show-page .romoid-discussion .vz-discussion-flag.is-owner,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-flag.is-owner {
    background: #1e3552;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-body,
body.dark.post-show-page .romoid-discussion .vz-discussion-body,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-body {
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-replies,
body.dark.post-show-page .romoid-discussion .vz-discussion-replies,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-replies {
    border-left-color: #1e2e42;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-time,
body.dark.post-show-page .romoid-discussion .vz-discussion-time,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-time,
html.dark body.post-show-page .romoid-discussion .vz-discussion-dot,
body.dark.post-show-page .romoid-discussion .vz-discussion-dot,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-dot {
    color: #64748b;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-action,
body.dark.post-show-page .romoid-discussion .vz-discussion-action,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-action {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-discussion .vz-discussion-action:hover,
body.dark.post-show-page .romoid-discussion .vz-discussion-action:hover,
html[data-theme="dark"] body.post-show-page .romoid-discussion .vz-discussion-action:hover {
    background: #173049;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-comments-more button,
body.dark.post-show-page .romoid-comments-more button,
html[data-theme="dark"] body.post-show-page .romoid-comments-more button {
    border-color: #1e3552;
    background: #111e30;
    color: #cbd5e1;
}

html.dark body.post-show-page .romoid-comments-more button:hover:not(:disabled),
body.dark.post-show-page .romoid-comments-more button:hover:not(:disabled),
html[data-theme="dark"] body.post-show-page .romoid-comments-more button:hover:not(:disabled) {
    border-color: #38bdf8;
    color: #38bdf8;
    background: #173049;
}

html.dark body.post-show-page .romoid-comment-composer,
body.dark.post-show-page .romoid-comment-composer,
html[data-theme="dark"] body.post-show-page .romoid-comment-composer {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

html.dark body.post-show-page .romoid-reply-notice,
body.dark.post-show-page .romoid-reply-notice,
html[data-theme="dark"] body.post-show-page .romoid-reply-notice {
    border-color: #1e3552;
    background: #111e30;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-discussion #comment-form textarea,
body.dark.post-show-page .romoid-discussion #comment-form textarea,
html[data-theme="dark"] body.post-show-page .romoid-discussion #comment-form textarea {
    border-color: #1e3149;
    background: #0f1c30;
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-discussion #comment-form textarea:focus,
body.dark.post-show-page .romoid-discussion #comment-form textarea:focus,
html[data-theme="dark"] body.post-show-page .romoid-discussion #comment-form textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

html.dark body.post-show-page .romoid-login-note,
body.dark.post-show-page .romoid-login-note,
html[data-theme="dark"] body.post-show-page .romoid-login-note {
    border-color: #1e3552;
    background: #0f1c30;
    color: #38bdf8;
}

html.dark body.post-show-page .romoid-login-note:hover,
body.dark.post-show-page .romoid-login-note:hover,
html[data-theme="dark"] body.post-show-page .romoid-login-note:hover {
    border-color: #38bdf8;
    background: #173049;
}

html.dark body.post-show-page .romoid-comments-empty,
html.dark body.post-show-page .romoid-comments-error,
body.dark.post-show-page .romoid-comments-empty,
body.dark.post-show-page .romoid-comments-error,
html[data-theme="dark"] body.post-show-page .romoid-comments-empty,
html[data-theme="dark"] body.post-show-page .romoid-comments-error {
    background: #0f1c30;
    border-color: #1e3552;
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-comments-loading span,
body.dark.post-show-page .romoid-comments-loading span,
html[data-theme="dark"] body.post-show-page .romoid-comments-loading span {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}

/* App Info Dark Mode */
html.dark body.post-show-page .romoid-app-card,
body.dark.post-show-page .romoid-app-card,
html[data-theme="dark"] body.post-show-page .romoid-app-card {
    background: #132033;
    border-color: #2a3a4d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark body.post-show-page .romoid-app-card-head,
body.dark.post-show-page .romoid-app-card-head,
html[data-theme="dark"] body.post-show-page .romoid-app-card-head {
    border-color: #1e3149;
}

html.dark body.post-show-page .romoid-app-icon,
body.dark.post-show-page .romoid-app-icon,
html[data-theme="dark"] body.post-show-page .romoid-app-icon {
    border-color: #1e3149;
    background: #070d18;
}

html.dark body.post-show-page .romoid-app-card-titles h2,
body.dark.post-show-page .romoid-app-card-titles h2,
html[data-theme="dark"] body.post-show-page .romoid-app-card-titles h2 {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-app-card-dev,
body.dark.post-show-page .romoid-app-card-dev,
html[data-theme="dark"] body.post-show-page .romoid-app-card-dev {
    color: #94a3b8;
}

html.dark body.post-show-page .romoid-app-facts > div,
body.dark.post-show-page .romoid-app-facts > div,
html[data-theme="dark"] body.post-show-page .romoid-app-facts > div {
    border-color: #1e3149;
    background: #18263a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

html.dark body.post-show-page .romoid-app-facts > div:hover,
body.dark.post-show-page .romoid-app-facts > div:hover,
html[data-theme="dark"] body.post-show-page .romoid-app-facts > div:hover {
    background: #1e3149;
    border-color: #2a3f5a;
}

html.dark body.post-show-page .romoid-app-facts dt,
body.dark.post-show-page .romoid-app-facts dt,
html[data-theme="dark"] body.post-show-page .romoid-app-facts dt {
    color: #8ea0b5;
}

html.dark body.post-show-page .romoid-app-facts dd,
body.dark.post-show-page .romoid-app-facts dd,
html[data-theme="dark"] body.post-show-page .romoid-app-facts dd {
    color: #f1f5f9;
}

html.dark body.post-show-page .romoid-rating-badge,
body.dark.post-show-page .romoid-rating-badge,
html[data-theme="dark"] body.post-show-page .romoid-rating-badge {
    color: #fbbf24;
}

html.dark body.post-show-page .romoid-rating-badge small,
body.dark.post-show-page .romoid-rating-badge small,
html[data-theme="dark"] body.post-show-page .romoid-rating-badge small {
    color: #64748b;
}

html.dark body.post-show-page .romoid-app-stores a,
body.dark.post-show-page .romoid-app-stores a,
html[data-theme="dark"] body.post-show-page .romoid-app-stores a,
html.dark body.post-show-page .romoid-store-btn,
body.dark.post-show-page .romoid-store-btn,
html[data-theme="dark"] body.post-show-page .romoid-store-btn {
    border-color: #1e3552;
    background: #18263a;
    color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

html.dark body.post-show-page .romoid-app-stores a:hover,
body.dark.post-show-page .romoid-app-stores a:hover,
html[data-theme="dark"] body.post-show-page .romoid-app-stores a:hover,
html.dark body.post-show-page .romoid-store-btn:hover,
body.dark.post-show-page .romoid-store-btn:hover,
html[data-theme="dark"] body.post-show-page .romoid-store-btn:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    background: #1e3552;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

html.dark body.post-show-page .romoid-store-btn--play:hover,
body.dark.post-show-page .romoid-store-btn--play:hover,
html[data-theme="dark"] body.post-show-page .romoid-store-btn--play:hover {
    border-color: #38bdf8;
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.1);
}

html.dark body.post-show-page .romoid-store-btn--apple:hover,
body.dark.post-show-page .romoid-store-btn--apple:hover,
html[data-theme="dark"] body.post-show-page .romoid-store-btn--apple:hover {
    border-color: #94a3b8;
    color: #ffffff;
    background: #1e293b;
}

html.dark body.post-show-page .romoid-store-brand-icon--apple,
body.dark.post-show-page .romoid-store-brand-icon--apple,
html[data-theme="dark"] body.post-show-page .romoid-store-brand-icon--apple {
    fill: currentColor !important;
}

@media print {
    body.post-show-page {
        background: #fff !important;
    }

    body.post-show-page .vz-site-header,
    body.post-show-page .vz-site-footer,
    .romoid-hero-actions,
    .romoid-copy-button,
    .romoid-panel-search,
    .romoid-panel-filters,
    .romoid-discussion-section,
    .romoid-discussion-tab-panel,
    .romoid-copy-toast {
        display: none !important;
    }

    .romoid-intro {
        margin-inline: 0;
        padding-inline: 0;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }

    .romoid-code-card,
    .romoid-wiki-card {
        break-inside: avoid;
        box-shadow: none;
    }
}
