

body {
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 18px;
    position: relative;
}

body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.2;
}

h1 {
    font-size: 24px;
    font-weight: normal;
    margin: 0 0 5px 0;
    color: #00FF00;
    text-shadow: 0 0 7px rgba(0, 255, 0, 0.5);
}

h1 > .laindex-typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    border-right: 3px solid #00FF00;
    animation: 
        typing-and-deleting 10s steps(7, end) infinite,
        blink-cursor 1s step-end infinite;
}

@keyframes typing-and-deleting {
    0%, 90%, 100% {
        width: 0;
    }
    20%, 70% {
        width: 7.2ch;
    }
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: #00FF00; }
}

a {
    text-decoration: none;
    color: #FFB800;
    text-shadow: 0 0 7px rgba(255, 184, 0, 0.4);
}

a:hover {
    background-color: #FFB800;
    color: #000000;
}

hr {
    border: 0;
    height: 1px;
    background-color: #333333;
}

input[type="text"] {
    background-color: #1a1a1a;
    border: 1px solid #444444;
    color: #E0E0E0;
    font-family: 'VT323', 'Courier New', monospace;
    padding: 2px;
}

input[type="text"]:focus {
    outline: none;
    border-color: #666666;
    animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
  from, to { box-shadow: 2px 0 0 0px transparent; }
  50% { box-shadow: 2px 0 0 0px #E0E0E0; }
}

input[type="submit"] {
    background-color: #333333;
    border: 1px solid #666666;
    color: #FFB800;
    font-family: 'VT323', 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 7px rgba(255, 184, 0, 0.4);
}

input[type="submit"]:hover {
    background-color: #FFB800;
    color: #000000;
    cursor: pointer;
}

.visitor-count {
    font-size: 20px;
    letter-spacing: 4px;
    color: #00FF00;
    text-shadow: 0 0 7px rgba(0, 255, 0, 0.5);
}

.site-list {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.site-list tr {
    transition: background-color 0.2s ease-in-out;
}

.site-list tr:hover {
    background-color: #222222 !important;
}


.site-entry {
    position: relative;
}

.site-entry td {
    position: relative;
    border: 1px solid #333333;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.site-entry:hover td {
    border-color: #00FF00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}


.site-offline td {
    border-color: #663333;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.site-offline:hover td {
    border-color: #CC3333;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}


.site-content {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-offline .site-content {
    background-image: url('/static/media/lain-offline-optimized.gif');
    background-blend-mode: screen;
    opacity: 0.90;
}

.site-offline .site-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 1;
}

.site-offline .site-content > * {
    position: relative;
    z-index: 2;
}


.site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.site-title-section {
    flex-grow: 1;
}

.node-status {
    font-size: 12px;
    text-align: right;
    margin-left: 10px;
    white-space: nowrap;
}

.status-online {
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-offline {
    color: #FF3333;
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}


.title-text {
    display: inline;
}

.fading-ellipsis {
    display: inline-block;
    background: linear-gradient(to right, #FFB800 0%, #FFB800 20%, rgba(255, 184, 0, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: 1px;
}


a:hover .fading-ellipsis {
    background: linear-gradient(to right, #000000 0%, #000000 20%, rgba(0, 0, 0, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}




body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}


.spine {
    position: fixed;
    left: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    background: linear-gradient(to right, #0a0a0a 0%, #050505 100%);
    border-right: 1px solid #333333;
    z-index: 100;
    overflow: hidden;
}

.spine-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0, 255, 0, 0.03) 19px, rgba(0, 255, 0, 0.03) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(0, 255, 0, 0.03) 19px, rgba(0, 255, 0, 0.03) 20px);
    opacity: 0.5;
}

.hex-ticker {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
    opacity: 0.15;
}

.hex-stream {
    font-size: 11px;
    color: #00FF00;
    text-align: center;
    margin: 30px 0;
    animation: hexScroll 20s linear infinite;
    letter-spacing: 1px;
}

.hex-stream:nth-child(2) { animation-delay: -2.5s; }
.hex-stream:nth-child(3) { animation-delay: -5s; }
.hex-stream:nth-child(4) { animation-delay: -7.5s; }
.hex-stream:nth-child(5) { animation-delay: -10s; }
.hex-stream:nth-child(6) { animation-delay: -12.5s; }
.hex-stream:nth-child(7) { animation-delay: -15s; }
.hex-stream:nth-child(8) { animation-delay: -17.5s; }

@keyframes hexScroll {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(calc(100vh - 40px)); opacity: 0; }
}


.plinth {
    position: relative;
    margin-left: 80px;
    max-width: 1200px;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #333333;
    box-shadow:
        0 0 20px rgba(0, 255, 0, 0.1),
        inset 0 0 100px rgba(0, 0, 0, 0.5);
    z-index: 10;
}


.corner-chrome {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #00FF00;
    opacity: 0.5;
}

.corner-chrome.tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.corner-chrome.tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid;
    border-right: 2px solid;
}

.corner-chrome.bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid;
    border-left: 2px solid;
}

.corner-chrome.br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}


.console-search {
    background: #0a0a0a;
    padding: 10px;
    border: 1px solid #444444;
    margin: 10px 0;
}

.console-search label {
    color: #FFB800;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(255, 184, 0, 0.4);
}

.console-search input[type="text"] {
    width: 100%;
    margin-top: 5px;
    background-color: #000000;
    border: 1px solid #555555;
    box-shadow: inset 0 0 5px rgba(255, 184, 0, 0.1);
    color: #E0E0E0;
}

.console-search input[type="text"]:focus {
    border-color: #FFB800;
    outline: none;
    box-shadow: inset 0 0 10px rgba(255, 184, 0, 0.2);
}

.console-search input[type="submit"] {
    margin-top: 8px;
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #FFB800;
    color: #FFB800;
    text-shadow: 0 0 7px rgba(255, 184, 0, 0.4);
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.console-search input[type="submit"]:hover {
    background-color: #FFB800;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.6);
    text-shadow: none;
}


.control-panel {
    background: linear-gradient(to bottom, rgba(0, 20, 0, 0.2), rgba(0, 0, 0, 0.1));
    padding: 15px !important;
    border-left: 1px solid #333333;
}

.content-area {
    padding-right: 20px !important;
}


.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 9998;
}


.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.02) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 255, 0, 0.02) 3px
    );
    pointer-events: none;
    z-index: 9997;
    opacity: 0.3;
}


.observer-commentary {
    background: rgba(10, 0, 15, 0.4);
    border: 1px solid #553355;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow:
        inset 0 0 15px rgba(138, 43, 226, 0.1),
        0 0 10px rgba(138, 43, 226, 0.05);
}

.observer-line {
    color: #BB88DD;
    text-shadow: 0 0 5px rgba(187, 136, 221, 0.3);
    font-style: italic;
    margin: 2px 0;
    letter-spacing: 0.5px;
    min-height: 20px; 
}

.observer-line:first-child {
    opacity: 0.95;
}

.observer-line:last-child {
    opacity: 0.85;
    font-size: 13px;
}


.observer-line.typing::after {
    content: '▌';
    color: #BB88DD;
    opacity: 0.8;
    animation: blink-observer-cursor 0.8s step-end infinite;
    margin-left: 1px;
}

@keyframes blink-observer-cursor {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0; }
}



.submission-container {
    max-width: 900px;
    margin: 0 auto;
}

.submission-header h1 {
    margin-bottom: 10px;
}

.submit-title {
    color: #FFB800;
    text-shadow: 0 0 7px rgba(255, 184, 0, 0.5);
}


.terminal-message {
    font-family: 'VT323', monospace;
    font-size: 16px;
    line-height: 1.4;
    margin: 20px 0;
    padding: 10px;
    border: 2px solid;
}

.success-message {
    background-color: rgba(0, 40, 0, 0.3);
    border-color: #00FF00;
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.error-message {
    background-color: rgba(40, 0, 0, 0.3);
    border-color: #FF3333;
    color: #FF3333;
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.3);
}


.ncurses-form {
    margin-top: 20px;
}

.form-field {
    margin-bottom: 25px;
}

.field-label {
    display: block;
    color: #FFB800;
    font-size: 18px;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(255, 184, 0, 0.3);
}

.field-help {
    display: block;
    color: #666666;
    font-size: 14px;
    margin-top: 3px;
    margin-left: 0;
}


.terminal-input,
.terminal-textarea {
    width: 100%;
    max-width: 600px;
    background-color: #0a0a0a;
    border: 1px solid #444444;
    color: #00FF00;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 18px;
    padding: 8px 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.terminal-input:focus,
.terminal-textarea:focus {
    outline: none;
    border-color: #FFB800;
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 184, 0, 0.3);
    color: #FFB800;
}

.terminal-textarea {
    resize: vertical;
    min-height: 80px;
}


.selected-tags-display {
    margin: 10px 0;
    padding: 10px;
    background-color: #0a0a0a;
    border: 1px solid #333333;
    min-height: 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-slot {
    font-family: 'VT323', monospace;
    font-size: 16px;
    color: #444444;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.tag-slot.filled {
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.4);
}

.selected-tags-display.max-reached {
    animation: flash-border 0.5s ease;
}

@keyframes flash-border {
    0%, 100% { border-color: #333333; }
    50% { border-color: #FF3333; box-shadow: 0 0 15px rgba(255, 51, 51, 0.5); }
}


.tag-grid-container {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(0, 20, 0, 0.2);
    border: 1px solid #333333;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    max-width: 800px;
}


.tag-button {
    background-color: #1a1a1a;
    border: 1px solid #444444;
    color: #E0E0E0;
    font-family: 'VT323', monospace;
    font-size: 16px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: lowercase;
    position: relative;
    overflow: hidden;
}

.tag-button:hover {
    background-color: #2a2a2a;
    border-color: #FFB800;
    color: #FFB800;
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

.tag-button.selected {
    background-color: rgba(0, 40, 0, 0.5);
    border-color: #00FF00;
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    box-shadow:
        inset 0 0 10px rgba(0, 255, 0, 0.1),
        0 0 15px rgba(0, 255, 0, 0.2);
}

.tag-button.selected::before {
    content: '✓ ';
    font-weight: bold;
}

.tag-button.selected:hover {
    background-color: rgba(40, 0, 0, 0.3);
    border-color: #FF3333;
    color: #FF3333;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
}


.submit-section {
    margin: 30px 0;
    text-align: center;
}

.terminal-submit {
    background-color: #1a1a1a;
    border: 2px solid #00FF00;
    color: #00FF00;
    font-family: 'VT323', monospace;
    font-size: 18px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.terminal-submit:hover {
    background-color: #00FF00;
    color: #000000;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    transform: scale(1.05);
}

.terminal-submit:active {
    transform: scale(0.98);
}

.transmit-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.transmit-line {
    font-family: 'VT323', monospace;
    font-size: 18px;
    line-height: 1.2;
    white-space: pre;
    letter-spacing: 0;
}


.submission-footer {
    margin-top: 40px;
    color: #666666;
}

.submission-footer p {
    line-height: 1.6;
}


.warning-message {
    background-color: rgba(255, 184, 0, 0.1);
    border: 1px solid #FFB800;
    padding: 15px;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
    color: #FFB800;
    text-shadow: 0 0 5px rgba(255, 184, 0, 0.3);
}


.terminal-submit:disabled {
    background-color: #0a0a0a;
    border-color: #444444;
    color: #444444;
    cursor: not-allowed;
    text-shadow: none;
    opacity: 0.5;
}

.terminal-submit:disabled:hover {
    background-color: #0a0a0a;
    color: #444444;
    transform: none;
    box-shadow: none;
}

.terminal-submit:disabled .transmit-line {
    color: #444444;
}


.h-captcha {
    display: inline-block;
    margin: 10px 0;
}


iframe[src*="hcaptcha"] {
    border: 1px solid #444444 !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}