/* =========================================================
   Design Tokens
   ========================================================= */
:root {
    /* Layout */
    --layoutWidth: 1300px;
    --sidebarWidth: 240px;
    --layoutGap: 24px;

    /* Page */
    --bodyBackground:
        radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.22), transparent 28%),
        linear-gradient(180deg, #08111f 0%, #0b1426 46%, #060b15 100%);
    --bodyColor: #f3f6ff;

    /* Frames / Boxes */
    --frameRadius: 24px;
    --boxRadius: 22px;
    --frameBorder: 1px solid rgba(148, 163, 184, 0.12);
    --boxBorder: 1px solid rgba(148, 163, 184, 0.14);
    --frameShadow: 0 28px 70px rgba(2, 6, 23, 0.45);
    --boxShadow: 0 18px 40px rgba(2, 6, 23, 0.32);

    /* Header */
    --headerBackground:
        linear-gradient(135deg, rgba(8, 145, 178, 0.26), rgba(37, 99, 235, 0.16) 42%, rgba(79, 70, 229, 0.24)),
        linear-gradient(180deg, rgba(7, 11, 22, 0.9), rgba(8, 14, 28, 0.78));
    --headerColor: #f8fbff;
    --headerNavBackground: rgba(255, 255, 255, 0.05);
    --headerNavColor: #f8fbff;
    --headerNavBorder: 1px solid rgba(255, 255, 255, 0.08);
    --headerNavHoverBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.28));
    --headerLinkBackground: rgba(255, 255, 255, 0.05);
    --headerLinkColor: #f8fbff;
    --headerLinkBorder: 1px solid rgba(255, 255, 255, 0.08);
    --headerLinkHoverBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.28));
    --headerLinkHoverColor: #ffffff;
    --headerHeight: 90px;

    /* Sidebar */
    --sidebarBackground: linear-gradient(180deg, rgba(10, 15, 28, 0.92), rgba(7, 10, 20, 0.96));
    --sidebarColor: #eef4ff;
    --sidebarTopHeight: 50px;
    --sidebarTopBackground: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(51, 65, 85, 0.88));
    --sidebarTopColor: #f7fbff;
    --sidebarBottomHeight: 50px;
    --sidebarBottomBackground: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.84));
    --sidebarBottomColor: rgba(226, 232, 240, 0.92);
    --asideLinkBackground: rgba(255, 255, 255, 0.06);
    --asideLinkColor: #f7fbff;
    --asideLinkBorder: 1px solid rgba(255, 255, 255, 0.08);
    --asideLinkHoverBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(99, 102, 241, 0.24));
    --asideLinkHoverColor: #ffffff;
    --asideNavBackground: rgba(255, 255, 255, 0.05);
    --asideNavColor: #f7fbff;
    --asideNavBorder: 1px solid rgba(255, 255, 255, 0.08);
    --asideNavHoverBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.28));
    --asideNavHoverColor: #ffffff;
    --sidebarTextAlign: left;

    /* Article */
    --articleBackground: linear-gradient(180deg, rgba(15, 22, 41, 0.94), rgba(10, 14, 28, 0.98));
    --articleColor: #eef4ff;
    --articleTopHeight: 50px;
    --articleTopBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.18) 45%, rgba(99, 102, 241, 0.22));
    --articleTopColor: #ffffff;
    --articleBottomHeight: 50px;
    --articleBottomBackground: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    --articleBottomColor: rgba(226, 232, 240, 0.92);
    --articleLinkBackground: rgba(255, 255, 255, 0.08);
    --articleLinkColor: #eef4ff;
    --articleLinkBorder: 1px solid rgba(255, 255, 255, 0.1);
    --articleLinkHoverBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.22));
    --articleLinkHoverColor: #ffffff;
    --articleTextAlign: left;
   
    /* HTML Tags */
    --inputBackgroundColor: rgba(15, 23, 42, 0.72);
    --inputColor: #f8fafc;
    --bbcodeQuoteAuthorColor: #00FFFF;
    --bbUiBg: #fff;
    --bbUiText: #0f172a;
    --bbUiBorder: rgba(71, 85, 105, 0.45);
    --bbUiBorderSoft: rgba(148, 163, 184, 0.45);
    --bbUiMuted: #334155;
    --bbUiPlaceholder: #64748b;
    --bbUiHoverBg: #dbeafe;
    --bbUiFocus: #2563eb;
    --bbUiActive: #1d4ed8;
    --bbUiActiveBorder: #1e40af;
    --bbUiFocusRing: 0 0 0 2px rgba(37, 99, 235, 0.25);
    --bbcodeTableTdBackground: transparent;
    --bbcodeTableTdColor: inherit;
    --bbcodeTableThBackground: #e2e8f0;
    --bbcodeTableThColor: #0f172a;
    --forumActionReply: url('forum_action_reply.webp');
    --forumActionEdit: url('forum_action_edit.webp');
    --forumActionDelete: url('forum_action_delete.webp');
    --forumActionWidth: 88px;
    --forumActionHeight: 40px;

    /* Footer */
    --footerBackground:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82) 45%, rgba(8, 47, 73, 0.88)),
        linear-gradient(180deg, rgba(9, 14, 24, 0.92), rgba(5, 8, 14, 0.98));
    --footerColor: #f8fbff;
    --footerNavBackground: rgba(255, 255, 255, 0.05);
    --footerNavColor: #f8fbff;
    --footerNavBorder: 1px solid rgba(255, 255, 255, 0.08);
    --footerNavHoverBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.28));
    --footerLinkBackground: rgba(255, 255, 255, 0.05);
    --footerLinkColor: #f8fbff;
    --footerLinkBorder: 1px solid rgba(255, 255, 255, 0.08);
    --footerLinkHoverBackground: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.28));
    --footerLinkHoverColor: #ffffff;
    --footerHeight: 150px;
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI Variable", "Bahnschrift", "Trebuchet MS", sans-serif;
    line-height: 1.5;
    background: var(--bodyBackground);
    color: var(--bodyColor);
}

/* =========================================================
   Header / Footer Frames
   ========================================================= */
header,
footer {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: min(var(--layoutWidth), calc(100% - 32px));
    margin-inline: auto;
    padding: 18px 20px;
    border: var(--frameBorder);
    border-radius: var(--frameRadius);
    box-shadow: var(--frameShadow);
    backdrop-filter: blur(12px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

header {
    margin-top: 24px;
    background: var(--headerBackground);
    color: var(--headerColor);
    height: var(--headerHeight);
    flex-direction: column;
    justify-content: flex-end;
}

footer {
    margin: 24px auto 32px;
    background: var(--footerBackground);
    color: var(--footerColor);
    height: var(--footerHeight);
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* =========================================================
   Navigation Lists / Containers
   ========================================================= */
header nav ul,
footer nav ul,
aside nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
}

aside nav ul {
    display: grid;
    gap: 12px;
    justify-content: stretch;
    align-items: stretch;
}

header nav,
footer nav,
aside nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

aside nav {
    display: block;
    width: 100%;
    margin-top: 0;
}

aside nav li {
    width: 100%;
}

/* =========================================================
   Shared Link Styles
   ========================================================= */
header a,
footer a,
aside a,
article a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

header a {
    background: var(--headerLinkBackground);
    color: var(--headerLinkColor);
    border: var(--headerLinkBorder);
}

footer a {
    background: var(--footerLinkBackground);
    color: var(--footerLinkColor);
    border: var(--footerLinkBorder);
}

aside a {
    background: var(--asideLinkBackground);
    color: var(--asideLinkColor);
    border: var(--asideLinkBorder);
}

article a {
    background: var(--articleLinkBackground);
    color: var(--articleLinkColor);
    border: var(--articleLinkBorder);
}

a img {
    border: 0;
    display: block;
}

a:has(img) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 0;
}

a:has(img):hover {
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

[data-forum-actions] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

a[data-forum-action] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 0;
}

a[data-forum-action]:hover {
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

[data-forum-action-icon] {
    display: block;
    width: var(--forumActionWidth);
    height: var(--forumActionHeight);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

a[data-forum-action="reply"] [data-forum-action-icon] {
    background-image: var(--forumActionReply);
}

a[data-forum-action="edit"] [data-forum-action-icon] {
    background-image: var(--forumActionEdit);
}

a[data-forum-action="delete"] [data-forum-action-icon] {
    background-image: var(--forumActionDelete);
}

[data-forum-send-form] {
    display: grid;
    gap: 0.6rem;
    padding: 0.85rem;
    border: var(--boxBorder);
    border-radius: 14px;
}

[data-forum-send-form] textarea {
    min-height: 11rem;
    resize: vertical;
}

[data-forum-send-actions] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

[data-forum-send-actions] button,
[data-forum-send-actions] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: var(--articleLinkBorder);
    background: var(--articleLinkBackground);
    color: var(--articleLinkColor);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

[data-forum-send-actions] button {
    font: inherit;
}

[data-forum-send-actions] button:hover,
[data-forum-send-actions] a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
    background: var(--articleLinkHoverBackground);
    color: var(--articleLinkHoverColor);
}

header a:hover,
footer a:hover,
aside a:hover,
article a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
}

header a:hover {
    background: var(--headerLinkHoverBackground);
    color: var(--headerLinkHoverColor);
}

footer a:hover {
    background: var(--footerLinkHoverBackground);
    color: var(--footerLinkHoverColor);
}

aside a:hover {
    background: var(--asideLinkHoverBackground);
    color: var(--asideLinkHoverColor);
}

article a:hover {
    background: var(--articleLinkHoverBackground);
    color: var(--articleLinkHoverColor);
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not(.bbcode-editor-field):not(.bbcode-dialog-input):not(.bbcode-editor-input),
select:not(.bbcode-editor-field):not(.bbcode-dialog-input),
textarea:not(.bbcode-editor-input):not(.bbcode-editor-field):not(.bbcode-dialog-input) {
    background-color: var(--inputBackgroundColor);
    color: var(--inputColor);
}

option {
    background-color: var(--inputBackgroundColor);
    color: var(--inputColor);
}

/* =========================================================
   Table System (data-table-*)
   ========================================================= */
[data-table-root] {
    display: grid;
    gap: 16px;
}

article [data-table-wrap] {
    overflow-x: auto;
    border-radius: 16px;
    border: var(--boxBorder);
    background: transparent;
}

[data-table-search] {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    border: var(--articleLinkBorder);
    background: rgba(15, 23, 42, 0.64);
    color: var(--articleColor);
    outline: none;
}

[data-table-search-row] {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

[data-table-search-row] [data-table-search] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

[data-table-search]:focus {
    border-color: rgba(56, 189, 248, 0.62);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

button[data-table-search-reset] {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: var(--articleLinkBorder);
    background: var(--articleLinkBackground);
    color: var(--articleLinkColor);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

button[data-table-search-reset]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
    background: var(--articleLinkHoverBackground);
    color: var(--articleLinkHoverColor);
}

article table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

article table thead tr {
    background: transparent;
}

article table th,
article table td {
    padding: 12px 13px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    text-align: left;
    vertical-align: middle;
    color: var(--articleColor);
    min-width: 0;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}

article table thead th {
    font-size: 0.84rem;
    font-weight: 700;
    white-space: normal;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

article table tbody tr:hover {
    background: transparent;
}

article table tbody tr:last-child td {
    border-bottom: 0;
}

button[data-table-sort] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-transform: inherit;
    letter-spacing: inherit;
}

button[data-table-sort]:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.6);
    outline-offset: 2px;
    border-radius: 6px;
}

[data-table-indicator] {
    display: inline-block;
    min-width: 1.1em;
    text-align: center;
    color: rgba(148, 163, 184, 0.96);
}

[data-table-pagination] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

button[data-table-page-button] {
    min-height: 36px;
    min-width: 36px;
    padding: 0 10px;
    border-radius: 999px;
    border: var(--articleLinkBorder);
    background: var(--articleLinkBackground);
    color: var(--articleLinkColor);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

button[data-table-page-button]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
    background: var(--articleLinkHoverBackground);
    color: var(--articleLinkHoverColor);
}

button[data-table-page-button][data-active="1"] {
    background: var(--articleTopBackground);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

button[data-table-page-button][disabled] {
    opacity: 0.48;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

[data-table-page-ellipsis] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    color: rgba(148, 163, 184, 0.9);
    user-select: none;
}

[data-table-page-info] {
    margin-left: 4px;
    font-size: 0.84rem;
    color: rgba(226, 232, 240, 0.9);
}


/* =========================================================
   Header/Footer Navigation Buttons
   ========================================================= */
header nav a,
footer nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
    border: 0;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

header nav .nav-item-icon,
footer nav .nav-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-right: 0.45rem;
}

aside nav a {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 18px;
    justify-content: center;
    background: var(--asideNavBackground);
    color: var(--asideNavColor);
    border: var(--asideNavBorder);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

header nav a {
    background: var(--headerNavBackground);
    color: var(--headerNavColor);
    border: var(--headerNavBorder);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

footer nav a {
    background: var(--footerNavBackground);
    color: var(--footerNavColor);
    border: var(--footerNavBorder);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

header nav a:hover,
footer nav a:hover,
aside nav a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
}

header nav a:hover {
    background: var(--headerNavHoverBackground);
}

footer nav a:hover {
    background: var(--footerNavHoverBackground);
}

aside nav a:hover {
    background: var(--asideNavHoverBackground);
    color: var(--asideNavHoverColor);
}

/* =========================================================
   Header/Footer Embedded Module Areas
   ========================================================= */
header > section[data-boxing-side="header"],
footer > section[data-boxing-side="footer"] {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    width: 100%;
    margin-bottom: 18px;
}

footer > section[data-footer-copy="1"] {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

footer > section[data-footer-copy="1"] p {
    margin: 0;
    font-size: 0.92rem;
}

footer > section[data-footer-copy="1"] a {
    color: var(--footerLinkColor);
}

footer > section[data-footer-copy="1"] a:hover {
    text-decoration: none;
}

/* =========================================================
   Main Layout Grid
   ========================================================= */
main {
    width: min(var(--layoutWidth), calc(100% - 32px));
    margin: 24px auto;
    display: grid;
    grid-template-columns: var(--sidebarWidth) minmax(0, 1fr) var(--sidebarWidth);
    gap: var(--layoutGap);
    align-items: start;
}

main > section {
    display: flex;
    flex-direction: column;
    gap: var(--layoutGap);
    min-width: 0;
}

main > section[data-boxing-enabled=""] {
    display: none;
}

main > section[data-boxing-side="left"] {
    grid-column: 1;
}

main > section[data-boxing-side="center"] {
    grid-column: 2;
}

main > section[data-boxing-side="right"] {
    grid-column: 3;
}

main:not(:has(> section[data-boxing-side="left"])) {
    grid-template-columns: minmax(0, 1fr) var(--sidebarWidth);
}

main:not(:has(> section[data-boxing-side="left"])) > section[data-boxing-side="center"] {
    grid-column: 1;
}

main:not(:has(> section[data-boxing-side="left"])) > section[data-boxing-side="right"] {
    grid-column: 2;
}

main:not(:has(> section[data-boxing-side="right"])) {
    grid-template-columns: var(--sidebarWidth) minmax(0, 1fr);
}

main:not(:has(> section[data-boxing-side="right"])) > section[data-boxing-side="left"] {
    grid-column: 1;
}

main:not(:has(> section[data-boxing-side="right"])) > section[data-boxing-side="center"] {
    grid-column: 2;
}

main:has(> section[data-boxing-side="center"]:only-child) {
    grid-template-columns: minmax(0, 1fr);
}

main:has(> section[data-boxing-side="center"]:only-child) > section[data-boxing-side="center"] {
    grid-column: 1 / -1;
}

[data-infobox-shell] {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1000;
    width: min(320px, calc(100vw - 24px));
    pointer-events: none;
}

/* =========================================================
   Aside/Article Shells + Header/Footer Bars
   ========================================================= */
aside,
article {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: var(--boxBorder);
    border-radius: var(--boxRadius);
    box-shadow: var(--boxShadow);
}

aside {
    min-height: 152px;
    padding: 58px 16px 56px;
    background: var(--sidebarBackground);
    color: var(--sidebarColor);
    text-align: var(--sidebarTextAlign);
}

article {
    min-height: 180px;
    padding: 64px 22px 56px;
    background: var(--articleBackground);
    color: var(--articleColor);
    text-align: var(--articleTextAlign);
}

aside:not([data-header]) {
    padding-top: 16px;
}

aside:not([data-footer]) {
    padding-bottom: 16px;
}

aside::before,
article::before,
aside::after,
article::after {
    position: absolute;
    left: 0;
    right: 0;
}

aside::before,
article::before {
    content: attr(data-header);
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

aside::before {
    height: var(--sidebarTopHeight);
    background: var(--sidebarTopBackground);
    color: var(--sidebarTopColor);
}

article::before {
    height: var(--articleTopHeight);
    background: var(--articleTopBackground);
    color: var(--articleTopColor);
}

aside:not([data-header])::before {
    content: none;
    display: none;
}

aside::after,
article::after {
    content: attr(data-footer);
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

aside::after {
    height: var(--sidebarBottomHeight);
    background: var(--sidebarBottomBackground);
    color: var(--sidebarBottomColor);
}

article::after {
    height: var(--articleBottomHeight);
    background: var(--articleBottomBackground);
    color: var(--articleBottomColor);
}

aside:not([data-footer])::after {
    content: none;
    display: none;
}

p[data-type] {
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 0.95em;
  line-height: 1.4;
  border-left: 4px solid transparent;
}

p[data-type]:hover {
  filter: brightness(0.98);
}

p[data-type]::before {
  margin-right: 6px;
}

/* SUCCESS */
p[data-type="success"] {
  background-color: #e8f9f0;
  color: #1e7e34;
  border-left-color: #2ecc71;
}

p[data-type="success"]::before {
  content: "✔";
}

/* ERROR */
p[data-type="error"] {
  background-color: #fdecea;
  color: #b42318;
  border-left-color: #e74c3c;
}

p[data-type="error"]::before {
  content: "✖";
}
