/* Fallen Kingdom — DARK / CLASSIC late layout overrides.
   Physical copy of the current shared geometry, now isolated to Dark Mode. */

/*
 * Fallen Kingdom — shared layout structure
 *
 * No Dark/Parchment colours belong here.
 * This stylesheet is loaded after the active theme so future themes inherit
 * the same page geometry without repeating layout fixes.
 */

/* The advertisement no longer lives in either desktop header. */
html body.logged-in-game:not(.landing-page) .header-advertisement-slot,
html body.logged-in-game:not(.landing-page) .fk-beta-adbar {
    display: none !important;
}

/* Classic desktop header now only needs brand + account controls. */
@media (min-width: 761px) {
    html body.logged-in-game:not(.landing-page):not(.fk-admin-dashboard-beta) .game-header-topline {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
}

/* Main-content advertisement.
   On Dashboard this sits immediately above "Welcome back, …" and therefore
   pushes the whole dashboard hero/progress area down naturally. */
html body.logged-in-game:not(.landing-page) .fk-main-advertisement {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

html body.logged-in-game:not(.landing-page) .fk-main-advertisement > * {
    max-width: 100% !important;
}

html body.logged-in-game:not(.landing-page) .fk-main-advertisement img {
    max-width: 100% !important;
    height: auto !important;
}

/* Admin ad preview follows the same content width instead of reserving header
   height. Actual colours remain owned by the current theme / existing ad CSS. */
html body.logged-in-game:not(.landing-page) .fk-main-advertisement .header-advertisement-preview {
    width: min(760px, 100%) !important;
    box-sizing: border-box !important;
}

@media (max-width: 760px) {
    html body.logged-in-game:not(.landing-page) .fk-main-advertisement {
        margin-bottom: 7px !important;
    }

    html body.logged-in-game:not(.landing-page) .fk-main-advertisement .header-advertisement-preview {
        width: 100% !important;
    }
}


/* ==========================================================================
   V29 — MAIN CONTENT ADVERTISEMENT, FULL CONTENT WIDTH
   --------------------------------------------------------------------------
   The advertisement is part of the game content column, never the global
   header. It spans the available main-content width with the same outer gutter
   as the page below it. No theme colours are defined here.
   ========================================================================== */

html body.logged-in-game:not(.landing-page) .fk-main-advertisement {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 10px !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

html body.logged-in-game:not(.landing-page) .fk-main-advertisement > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html body.logged-in-game:not(.landing-page)
.fk-main-advertisement .header-advertisement-preview {
    width: 100% !important;
    max-width: none !important;
    min-height: 74px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Real served creatives may have their own intrinsic width. They stay centered,
   but the placement itself always reserves the full page-content width. */
html body.logged-in-game:not(.landing-page) .fk-main-advertisement img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin-inline: auto !important;
}

@media (max-width: 760px) {
    html body.logged-in-game:not(.landing-page) .fk-main-advertisement {
        margin-bottom: 7px !important;
        padding: 6px !important;
    }

    html body.logged-in-game:not(.landing-page)
    .fk-main-advertisement .header-advertisement-preview {
        min-height: 54px !important;
    }
}


/* ==========================================================================
   V43 — MAGIC SKILLS COMPACT LAYOUT
   --------------------------------------------------------------------------
   Structure only. Uses existing --ui-* tokens and therefore works with the
   active Modern theme without hard-coding Parchment colours.
   ========================================================================== */

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.fk-beta-main > .content-card:first-of-type .page-intro {
    margin-block: 7px !important;
    line-height: 1.35 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.fk-beta-main > .content-card:first-of-type .small-page-links {
    margin-bottom: 7px !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-list {
    gap: 7px !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px 14px !important;
    min-height: 0 !important;
    padding: 9px 11px !important;
}

/* Left side: Magic name + trial/status text in a tight block. */
html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-main {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 3px 12px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-name {
    flex: 1 0 100% !important;
    margin: 0 !important;
    color: var(--ui-text) !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-meta {
    margin: 0 !important;
    color: var(--ui-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

/* Right side: only as wide as its actual controls/content. */
html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats > div {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 5px 7px !important;
    border: 1px solid var(--ui-row-border) !important;
    border-radius: 7px !important;
    background: var(--ui-row-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats > div > span {
    margin: 0 0 3px !important;
    color: var(--ui-muted) !important;
    font-size: 9.5px !important;
    line-height: 1.1 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats > div > strong {
    color: var(--ui-text) !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats > div > small {
    max-width: 190px !important;
    margin-top: 2px !important;
    color: var(--ui-muted) !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
}

/* Spend Points: select + Raise sit next to each other. */
html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend {
    width: auto !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend-form {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: auto !important;
    margin: 0 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend-form select {
    flex: 0 0 auto !important;
    width: 145px !important;
    min-width: 145px !important;
    min-height: 31px !important;
    margin: 0 !important;
    padding: 4px 7px !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend-form button {
    flex: 0 0 auto !important;
    width: 78px !important;
    min-width: 78px !important;
    min-height: 31px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
}

/* Locked Trial row: small button instead of a tall empty action card. */
html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend > .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 31px !important;
    padding: 5px 9px !important;
    white-space: nowrap !important;
}

/* On desktop there is no reason for the explanatory trial box to become wide. */
html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats > div:not(.magic-skill-spend) {
    max-width: 210px !important;
    text-align: center !important;
}

/* Phone/tablet: keep every item readable, but still much tighter than before. */
@media (max-width: 820px) {
    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-row {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 8px 9px !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-stats {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .magic-skill-spend {
        width: auto !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .magic-skill-spend-form {
        justify-content: flex-start !important;
    }
}

@media (max-width: 480px) {
    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-name {
        font-size: 14px !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-meta {
        flex: 1 0 100% !important;
        font-size: 9.5px !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-stats {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-stats > div {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .magic-skill-spend-form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 76px !important;
        width: 100% !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .magic-skill-spend-form select,
    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .magic-skill-spend-form button {
        width: 100% !important;
        min-width: 0 !important;
    }
}


/* ==========================================================================
   V44 — MAGIC SKILLS CLEAN COMPACT LAYOUT
   --------------------------------------------------------------------------
   Corrects V43's over-spread desktop row.
   Information stays together on the LEFT.
   Only the action controls sit on the RIGHT.
   ========================================================================== */

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px 14px !important;
    min-height: 0 !important;
    padding: 9px 12px !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-name {
    width: 100% !important;
    margin: 0 !important;
    color: var(--ui-text) !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    text-align: left !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-meta {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: var(--ui-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.spell-creature-stats > div {
    width: auto !important;
    min-width: 0 !important;
    max-width: 210px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    border: 1px solid var(--ui-row-border) !important;
    border-radius: 7px !important;
    background: var(--ui-row-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
    text-align: center !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend {
    min-width: 252px !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend-form {
    display: grid !important;
    grid-template-columns: 1fr 94px !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 3px 0 0 !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend-form select,
html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend-form button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 31px !important;
    margin: 0 !important;
    padding: 4px 7px !important;
    box-sizing: border-box !important;
}

html body.fk-modern-ui.page-magic_skills:not(.landing-page)
.magic-skill-spend > .button {
    min-height: 31px !important;
    margin-top: 3px !important;
    padding: 5px 9px !important;
}

@media (max-width: 820px) {
    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-row {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 8px 9px !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-stats {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .magic-skill-spend {
        min-width: min(100%, 252px) !important;
    }
}

@media (max-width: 480px) {
    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-name {
        font-size: 14px !important;
    }

    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-stats,
    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .spell-creature-stats > div,
    html body.fk-modern-ui.page-magic_skills:not(.landing-page)
    .magic-skill-spend {
        width: 100% !important;
        max-width: none !important;
    }
}


/* ==========================================================================
   V44 — RESTORE MAIN-CONTENT ADVERTISEMENT PREVIEW BOX
   --------------------------------------------------------------------------
   The preview markup was still present, but after moving it out of the old
   header/adbar its old visual rules no longer matched. Restore the banner box
   at its CURRENT main-content position. This does not move the advertisement.
   ========================================================================== */

html body.logged-in-game:not(.landing-page)
.fk-main-advertisement .header-advertisement-preview {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    width: 100% !important;
    max-width: none !important;
    min-height: 74px !important;
    margin: 0 !important;
    padding: 8px 12px !important;

    border: 1px dashed rgba(157, 122, 61, .72) !important;
    border-radius: 5px !important;
    background: linear-gradient(180deg, #30291f 0%, #211a13 100%) !important;
    color: #d7d0c2 !important;

    box-sizing: border-box !important;
    text-align: center !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

html body.logged-in-game:not(.landing-page)
.fk-main-advertisement .header-advertisement-preview > span {
    display: block !important;
    color: #d7d0c2 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: .07em !important;
    text-shadow: none !important;
}

html body.logged-in-game:not(.landing-page)
.fk-main-advertisement .header-advertisement-preview > small {
    display: block !important;
    color: #876b3c !important;
    font-size: 9px !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
    letter-spacing: .05em !important;
    text-shadow: none !important;
}

@media (max-width: 760px) {
    html body.logged-in-game:not(.landing-page)
    .fk-main-advertisement .header-advertisement-preview {
        min-height: 54px !important;
        padding: 6px 9px !important;
    }
}


/* Admin Display Mode selector remains styled in Dark Mode without loading
   the Light-only Dashboard Beta shell stylesheet. */
.settings-admin-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.settings-admin-preview-card {
    padding: 14px;
    border: 1px solid rgba(216, 169, 74, .32);
    border-radius: 10px;
    background: rgba(0, 0, 0, .18);
}

.settings-admin-preview-card h3 { margin: 0 0 5px; }
.settings-admin-preview-card p { margin: 0 0 12px; opacity: .78; }

@media (max-width: 1100px) {
    .settings-admin-preview-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SUPPORT / MY BUGS — NATIVE DARK + CLASSIC LAYOUT
   --------------------------------------------------------------------------
   The integrated Support pages reuse the legacy ticket markup (.panel,
   .meta-grid, .thread), but tickets/assets/tickets.css is not loaded inside
   the game shell. Style the current in-game My Bugs detail/list directly.
   Classic uses the Dark layout layer and then applies its square old-school
   control treatment on top.
   ========================================================================== */
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area {
    display: grid;
    gap: 12px;
    min-width: 0;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area > .panel {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(172, 126, 48, .42);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(20, 25, 29, .97), rgba(10, 13, 16, .99));
    box-shadow: inset 0 1px 0 rgba(255, 226, 155, .05), 0 8px 20px rgba(0, 0, 0, .22);
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .panel-title {
    width: 100%;
    margin: 0;
    padding: 9px 13px;
    border: 0;
    border-bottom: 1px solid rgba(111, 74, 26, .88);
    background: linear-gradient(180deg, #b39141 0%, #806c2c 100%);
    color: #0b0804;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
    box-sizing: border-box;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .panel-body {
    padding: 13px 14px 14px;
    color: var(--text);
    background: transparent;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .meta-grid {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 130px minmax(0, 1fr);
    gap: 1px;
    overflow: hidden;
    margin: 0 0 14px;
    border: 1px solid rgba(172, 126, 48, .30);
    border-radius: 9px;
    background: rgba(172, 126, 48, .22);
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .meta-grid > div {
    min-width: 0;
    padding: 8px 10px;
    background: rgba(255, 255, 255, .025);
    color: #eee4d1;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .meta-grid > div:nth-child(odd) {
    background: rgba(217, 180, 92, .075);
    color: #e5c878;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .025em;
    text-transform: uppercase;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread-post {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(120, 146, 163, .28);
    border-left: 4px solid rgba(99, 139, 163, .72);
    border-radius: 9px;
    background: rgba(14, 21, 26, .92);
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread-post.staff {
    border-color: rgba(217, 180, 92, .34);
    border-left-color: #b39141;
    background: rgba(34, 28, 17, .90);
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .035);
    color: #e9ddc7;
    font-size: 11px;
    line-height: 1.2;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread-head > span:first-child {
    font-weight: 900;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread-head > span:last-child {
    color: #b9aa8a;
    font-size: 10px;
    white-space: nowrap;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread-body {
    padding: 10px 12px;
    color: #f2eadc;
    font-size: 13px;
    line-height: 1.48;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 12px;
    margin-top: 14px !important;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .split > .panel {
    overflow: hidden;
    margin: 0 !important;
    border: 1px solid rgba(172, 126, 48, .30);
    border-radius: 9px;
    background: rgba(255, 255, 255, .018);
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .split > .panel > .panel-title {
    padding: 8px 11px;
    border-bottom-color: rgba(172, 126, 48, .32);
    background: rgba(217, 180, 92, .08);
    color: #e5c878;
    font-size: 12px;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .split > .panel > .panel-body {
    padding: 10px 11px;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .field {
    display: grid;
    gap: 5px;
    margin: 0;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .field > span {
    color: #e5c878;
    font-size: 11px;
    font-weight: 850;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area textarea,
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area select {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 9px;
    border: 1px solid rgba(172, 126, 48, .58);
    border-radius: 7px;
    background: #f4efe4;
    color: #17120c;
    box-sizing: border-box;
    font: inherit;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area textarea {
    min-height: 105px;
    resize: vertical;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .actions form {
    margin: 0;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 7px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #eee4d1;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.reported,
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.waiting_staff {
    background: rgba(210, 151, 49, .28);
    border-color: rgba(210, 151, 49, .55);
    color: #ffe8b2;
}
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.investigating,
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.in_progress,
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.waiting_user {
    background: rgba(39, 104, 140, .32);
    border-color: rgba(76, 145, 182, .55);
    color: #d8f0ff;
}
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.fix_testing {
    background: rgba(150, 107, 184, .28);
    border-color: rgba(186, 136, 221, .52);
    color: #f2ddff;
}
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.fixed,
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .status.closed {
    background: rgba(75, 140, 70, .30);
    border-color: rgba(107, 179, 100, .55);
    color: #dbffd8;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .panel-body.compact.table-wrap {
    overflow-x: auto;
    padding: 10px 12px 12px;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, .16);
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area th,
html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area td {
    padding: 8px 9px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    text-align: left;
    vertical-align: top;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area th {
    color: #e5c878;
    background: rgba(217, 180, 92, .06);
    font-weight: 900;
    white-space: nowrap;
}

html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 900px) {
    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .meta-grid {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area > .panel > .panel-body {
        padding: 10px;
    }

    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .meta-grid {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .thread-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .actions > *,
    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .actions form,
    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .actions button,
    html body.fk-mode-dark.page-my_bugs:not(.landing-page) .fk-support-area .actions .button {
        width: 100%;
    }
}

