.admin {
	padding: 4px;
	border-radius: 4px;
	background: green;
	margin: 6px;
	width: 200px;
	display: inline-block;
}
.admin.protected {
	background: red;
}
.admin INPUT[type="submit"] {
	width: 100%;
}
.admin.protected INPUT[type="submit"] {
	width: 90%;
}


.bbcode {
	overflow-wrap: anywhere;
}
.bbcode BLOCKQUOTE {
	border: 1px solid black;
	padding: 8px;
	background: #DDD;
}
.bbcode .anchor A.alink {
	visibility: hidden;
}
.bbcode .anchor:hover A.alink {
	visibility: visible;
}

.comment {
	text-align: left;
	position: relative;
	overflow-wrap: anywhere;
}
.comment IMG {
	max-width: 100%;
}
.comment .info {
	visibility: hidden;
	text-align: center;
	padding: var(--block-padding);
	background: var(--block);
	border: 1px solid var(--block-border);
	position: absolute;
	top: 0;
	left: -180px;
	width: 180px;
	z-index: 1;
	box-shadow: 0 0 4px #000;
	border-radius: 4px;
}
.comment:hover .info {
	visibility: visible;
}

.comment_add INPUT:not([type="checkbox"]):not([type="radio"]),
.comment_add TEXTAREA,
.comment_add BUTTON,
.comment_add SELECT {
	width: 100%;
}

#comment-list-recent .more {
	display: block;
	padding-top: 8px;
}
.comment_big_list {
	display: flex;
	gap: 1em;
}
.comment_big_list .thumb {
	flex: 0;
}
.comment_big_list .comment_list {
	flex: 1;
	border-left: 1px solid var(--block-border);
}
.comment_big_list .comment {
	margin-left: 0;
}

/* checkbox, title, doc link */
.ext-list TD:nth-child(1) {
    width: 1em;
}
.ext-list TD:nth-child(2) {
    width: 12em;
}
.ext-list TD:nth-child(3) {
    width: 1em;
}

#handle_pixel_media IMG {
    max-width: 100%;
}

.command_example {
	margin: 12pt;
	padding-left: 16pt;
}

.command_example code {
    padding:4pt;
    border: dashed 2px black;
    background: inherit;
}

.command_example p {
    padding-left: 16pt;
}

@media (min-width: 750px) {
    .command_example code {
        display: table-cell;
        width: 256px;
    }

    .command_example p {
        display: table-cell;
    }
}

SECTION#image-list {
	box-shadow: none;
}
SECTION#image-list .blockbody {
	background: none;
	border: none;
	padding: 0px;
	text-align: left;
}
.shm-image-list {
	display: grid;
	grid-template-columns: repeat( auto-fill, calc(var(--thumb-width) + 42px) );
	place-items: center;
}
.shm-image-list .thumb {
	margin-bottom: 8px;
}

.setupblocks {
	column-width: 400px;
	column-gap: 1em;
	max-width: 1200px;
	margin: auto;
}
.setupblocks > .setupblock:first-of-type { margin-top: 0; }

.setupblock {
	break-inside: avoid;
	text-align: center;
}
.setupblock TEXTAREA {
	width: 100%;
	font-size: 0.75rem;
	resize: vertical;
}
.setupblock SELECT[multiple] {
	width: 100%;
}

.advanced_settings INPUT {
	width: 100%;
}

#Setupmain {
	box-shadow: none;
}
#Setupmain>.blockbody {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}
.setupblock .form {
	width: 100%;
}
.setupblock .form TH {
	font-weight: normal;
}
.setupblock .advanced {
    color: var(--danger-color);
    background: var(--danger-background);
}
.setupsubmit {
	margin-top: 1em;
	padding: 1em;
	width: 100%;
}

:root {
	--added-background: lightgreen;
	--removed-background: lightcoral;

	--flash-color: #882;
	--flash-border: #660;
	--blink-base-color: #FF70;
	--blink-blink-color: #FF7F;
}

@media (prefers-color-scheme: dark) {
	:root {
		--added-background: green;
		--removed-background: coral;
	}
}

INPUT, TEXTAREA, SELECT, BUTTON {
	box-sizing: border-box;
	font-size: 1em;
}

TABLE.form {width: 300px;}
TABLE.zebra {width: 100%;}

TABLE.form TD, TABLE.form TH {vertical-align: middle;}
TABLE.form TBODY TR TD {text-align: left;}
TABLE.form TBODY TR TH {text-align: right; padding-right: 4px; width: 1%; white-space: nowrap;}
TABLE.form TBODY TR.header TD,
TABLE.form TBODY TR.header TH {text-align: center; width: auto;}
TABLE.form TD + TH {padding-left: 8px;}
TABLE.form INPUT:not([type="checkbox"]):not([type="radio"]),
TABLE.form SELECT,
TABLE.form TEXTAREA,
TABLE.form BUTTON {width: 100%;}

H1, H2, H3 {
    overflow-wrap: anywhere;
}

*[onclick],
H3[class~="shm-toggler"] {
    cursor: pointer;
}

@keyframes blink {
    0% {background-color: var(--blink-base-color);}
    25% {background-color: var(--blink-blink-color);}
    50% {background-color: var(--blink-base-color);}
    75% {background-color: var(--blink-blink-color);}
    100% {background-color: var(--blink-base-color);}
}
.blink {
    animation: blink 2s linear 1;
}

#flash {
    color: #444;
    background-color: var(--flash-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--flash-border);
}
#flash B {
    display: block;
    padding: 8px;
    border-radius: var(--border-radius);
}

.tag {
    overflow-wrap: anywhere;
}

.prose {
    text-align: left;
}
.prose P:first-child {
    margin-top: 0;
}
.prose P:last-child {
    margin-bottom: 0;
}

TABLE#large_upload_form.form {
	width: 100%;
}

.mini_upload INPUT:not([type="checkbox"]):not([type="radio"]),
.mini_upload TEXTAREA,
.mini_upload BUTTON,
.mini_upload SELECT {
	width: 100%;
}

TABLE.form.image_info {
    width: 550px;
    max-width: 100%;
}

.image_info .edit {
    display: block;
}
.image_info .view {
    display: none;
}

.image_info.infomode-view .edit {
    display: none;
}
.image_info.infomode-view .view {
    display: block;
}

.image_info TEXTAREA {
    min-width: 100%;
    min-height: 3rem;
}
.image_info .image-info-avatar-box {
    vertical-align: top;
}

.post_controls FORM {
    margin-bottom: 0.75em;
}
.post_controls FORM:last-child {
    margin-bottom: 0;
}

.bulk_selected {
	outline: 3px solid blue;
}

.bulk_action {
	margin-top: 8pt;
}
.bulk_selector_controls table td {
	width: 33%;
}
#handle_video_media VIDEO {
    width: 100%;
    max-height: 85vh;
    background: black;
}

.autocomplete_completions {
    position: absolute;
    z-index: 1000;
    border: 1px solid #ccc;
    color: #000;
    background-color: #fff;
    padding: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}
.autocomplete_completions LI {
    padding: 0.15em;
}
.autocomplete_completions .selected {
    background-color: #ccc;
    outline: none;
}

.avatar-editor .avatar-container {
    border: 2px solid var(--text);
}

#Statsmain .avatar-container,
.avatar-editor .avatar-container {
    margin: 0 auto;
    width: min(var(--pavatar-width), 192px);
    height: min(var(--pavatar-height), 192px);
    max-width: 192px;
    max-height: 192px;
}

#Statsmain .avatar,
.avatar-editor .avatar {
    max-width: 192px;
    max-height: 192px;
}

.avatar-container {
    overflow: hidden;
    width: var(--pavatar-width);
    height: var(--pavatar-height);
    max-width: 100%;
    text-align: center;
    display: inline-block;
}

#terms-modal {
	margin: auto;
	margin-top: 20vh;
	text-align: center;
	width: fit-content;
	background: var(--block);
	border: 1px solid var(--block-border);
	border-radius: var(--border-radius);
	padding: 0;
}
#terms-modal H3 {
    background: var(--header);
    border-bottom: 1px solid var(--header-border);
    margin: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
#terms-modal>DIV {
    padding: 1em;
}
#terms-modal BUTTON {
    padding: 0 1em;
	margin: 1em .5em 0 .5em;
}
#terms-modal-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	backdrop-filter: blur(10px);
}

.thumb IMG {
	border-width: 2px !important;
}

.shm-thumb-has_child img {
	border-color: lime !important;
}

.shm-thumb-has_parent img {
	border-color: #cc0 !important;
}

.shm-thumb-has_child.shm-thumb-has_parent img {
	border-color: lime #cc0 #cc0 lime !important;
}

.tageditcloud span.tag-selected {
	background:#88EE88;
}

.tageditcloud {
	color: #0000FF;
}

.tageditcloud div#tagcloud_unset {
	color: #0000FF;
}

.tageditcloud div#tagcloud_set {
        color: #0000FF;
	font-style:italic;
}

.tageditcloud div#tagcloud_extra {  
        color: #0000FF;
}

:root {
        color-scheme: dark;

        /* Core Page Background & Text */
        --page: #993399;            /* Base Purple Background */
        --text: #FFFFFF;            /* White Text for clean readability */
        --link-default: #FFA4FF;    /* Pink Links */
        --link-visited: #FFA4FF;

        /* Header / Title Banner */
        --title: #662266;           /* Darker Purple Panels */
        --title-border: #FFA4FF;

        /* Block Headers (e.g., "Navigation", "Upload", "Popular Tags") */
        --header: #662266;
        --header-border: #FFA4FF;

        /* Side Block Containers */
        --block: #551155;
        --block-border: #FFA4FF;

        /* Alerts / Danger Elements */
        --danger-color: #FFFFFF;
        --danger-background: #990000;

        /* Table & Tag Lists */
        --zebra-border: #FFA4FF;
        --zebra-header: #662266;
        --zebra-odd: #662266;
        --zebra-even: #551155;

        /* Aesthetics */
        --border-radius: 0px;       /* Sharp square corners for classic Web 1.0 look */
        --block-padding: 0.5rem;

        font-size: 14px;
        font-family: sans-serif;
}

/* Override browser dark mode preference to force exact theme colors */
@media (prefers-color-scheme: dark) {
        :root {
                --page: #993399;
                --text: #FFFFFF;
                --link-default: #FFA4FF;
                --link-visited: #FFA4FF;
                --title: #662266;
                --title-border: #FFA4FF;
                --header: #662266;
                --header-border: #FFA4FF;
                --block: #551155;
                --block-border: #FFA4FF;
        }
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                 things common to all pages                    *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

* {
    box-sizing: border-box;
}

H1, H2, H3 {
        margin: 0;
        text-align: center;
        padding: calc(var(--block-padding) * 0.5) var(--block-padding) var(--block-padding) var(--block-padding);
}

BODY {
        background: var(--page);
        color: var(--text);
        margin: 1rem;
}
BODY.layout-grid {
        display: grid;
        grid-template-columns: 15rem auto;
        grid-gap: 1rem;
}

HEADER {
        grid-column: 1 / 3;
        grid-row: 1;
        overflow: visible !important;
        margin-bottom: 12px !important;
}
HEADER H1 {
        height: auto;
        max-height: none !important;
        overflow: visible !important;
        background: var(--title);
        border: 1px solid var(--title-border);
        border-radius: var(--border-radius);
}
HEADER H1 A {
        color: var(--text);
}

SECTION {
        margin-bottom: 1rem;
        border-radius: var(--border-radius);
}
SECTION:last-child {
        margin-bottom: 0;
}
SECTION>H3 {
        background: var(--header);
        border: 1px solid var(--header-border);
}
SECTION>:first-child {
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
}
SECTION>:last-child {
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
}

/* Ensure full border around blocks without headers to prevent top shadow bleed */
SECTION>.blockbody {
        background: var(--block);
        border: 1px solid var(--block-border);
        padding: var(--block-padding);
}

/* Remove double border line when an H3 header exists right above the blockbody */
SECTION>H3 + .blockbody {
        border-top: none;
}

H1, SECTION, FOOTER {
        box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
FOOTER {
        grid-column: 1 / 3;
        grid-row: 3;
        clear: both;
        font-size: 0.7rem;
        text-align: center;
        background: var(--title);
        border: 1px solid var(--title-border);
        border-radius: var(--border-radius);
        padding: var(--block-padding);
        margin-top: 0;
}

THEAD {
        font-weight: bold;
}
TD {
        vertical-align: top;
        text-align: center;
}

TABLE.zebra {border-spacing: 0; border: 2px solid var(--zebra-border);}
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
TABLE.zebra THEAD {position: sticky;top: 0;}
TABLE.zebra THEAD TR:last-of-type TD, TABLE.zebra THEAD TR:last-of-type TH {border-bottom: 2px solid var(--zebra-border);}
TABLE.zebra TFOOT TR:first-of-type TD, TABLE.zebra TFOOT TR:first-of-type TH {border-top: 2px solid var(--zebra-border);}
TABLE.zebra TBODY TR TD, TABLE.zebra TBODY TR TH {border-bottom: 1px solid var(--zebra-header);}
TABLE.zebra TR:nth-child(odd) {background: var(--zebra-odd);}
TABLE.zebra TR:nth-child(even) {background: var(--zebra-even);}
TABLE.zebra INPUT:not([type="checkbox"]):not([type="radio"]),
TABLE.zebra SELECT,
TABLE.zebra TEXTAREA,
TABLE.zebra BUTTON {width: 100%;}

A {
        text-decoration: none;
        color: var(--link-default);
}
A:hover {
        text-decoration: underline;
}
A:visited {
        color: var(--link-visited);
}

UL {
        text-align: left;
}

CODE {
        background: var(--header);
        font-size: 0.9rem;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*              the navigation bar, and all its blocks             *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

NAV {
        grid-column: 1;
        grid-row: 2;
        text-align: center;
}
NAV .blockbody {
        font-size: 0.85rem;
        text-align: center;
        overflow: hidden;
}
NAV TABLE {
        width: 100%;
}
NAV INPUT:not([type="checkbox"]):not([type="radio"]),
NAV TEXTAREA,
NAV BUTTON,
NAV SELECT {
        width: 100%;
}

TABLE.tag_list {
        border-collapse: collapse;
}
TABLE.tag_list>THEAD {
        display: none;
}
TABLE.tag_list>TBODY>TR>TD {
        display: inline;
        padding: 0;
}
TABLE.tag_list>TBODY>TR>TD:after {
        content: " ";
}

.more:after {
        content: " >>>";
}

.tag_count:before {
        content: "(";
}
.tag_count:after {
        content: ")";
}

#paginator {
        box-shadow: none;
}
#paginator .blockbody {
        background: none;
        border: none;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                  the main part of each page                     *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

ARTICLE {
        grid-column: 2;
        grid-row: 2;
        text-align: center;
        overflow: visible !important;
        max-width: 100% !important;
}
ARTICLE TABLE {
        width: 90%;
        margin: auto;
}

#main_image,
.shm-main-image,
div#body {
        overflow: visible !important;
        max-width: 100% !important;
}

#main_image img,
.shm-main-image img,
article img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
}

BODY.layout-grid ARTICLE {
        min-width: 0;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                        mobile screens                           *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (width <= 800px) {
        BODY.layout-grid {
                grid-template-columns: auto;
        }
        HEADER {
                grid-column: 1;
                grid-row: 1;
        }
        ARTICLE {
                grid-column: 1;
                grid-row: 2;
                margin-right: 0;
        }
        NAV {
                grid-column: 1;
                grid-row: 3;
                margin: auto;
        }
        FOOTER {
                grid-column: 1;
                grid-row: 4;
        }
        #image-list .blockbody {
                margin: 0;
        }
        .shm-image-list {
                justify-content: center;
        }
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                      specific page types                        *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#short-wiki-description > .blockbody {
        padding-bottom: 15px;
}
#short-wiki-description h2 {
        margin: 0 0 0.4em;
}

#pagelist {
        margin-top: 32px;
}

.comment {
        padding: var(--block-padding);
        border-bottom: 1px solid var(--block-border);
}
.comment:first-child {
        padding-top: 0;
}
.comment:last-child {
        border-bottom: none;
}
.thumb IMG {
        border: 1px solid var(--block-border);
        background: var(--block);
        padding: var(--block-padding);
        border-radius: var(--border-radius);
        box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* Custom Navigation Block Styling */
.ss-custom-nav-block {
        margin-bottom: 1rem;
}

.ss-custom-nav-block h3:hover {
        background: #551155 !important;
        color: #FFA4FF !important;
}

#ss-block-body a {
        font-weight: bold;
}

div#body, main, body > div.main {
        margin-top: 5px !important;
}

article section:first-child,
body.layout-grid {
        padding-top: 2px !important;
}

/*# sourceMappingURL=default.1784837382.28524c10c4c817e2c5a3ce0dc3ad20fd.css.map */