/*
Theme Name: Retro ASCII Web
Theme URI: https://example.com/
Author: Local Agent & You
Description: Ultra-minimalist ASCII / Web 1.0 theme with monospace typography.
Version: 1.2
*/

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Courier New", Courier, "Lucida Console", Monaco, monospace;
    font-size: 14px;
    line-height: 1.35;
    background-color: #f4f4f4;
    color: #000000;
    padding: 10px;
    margin: 0;                 /* Выравнивание по левому краю */
    text-align: left;
    max-width: 80ch;           /* СТРОГО 80 СИМВОЛОВ */
    width: 100%;
}

/* Ссылки */
a:link {
    color: #0000ee;
    text-decoration: underline;
}

a:visited {
    color: #551a8b;
    text-decoration: underline;
}

a:hover, a:focus {
    background-color: #000000;
    color: #ffffff !important;
    text-decoration: none;
}

a:active {
    color: #ff0000;
}

/* Однострочная навигация */
.top-nav, .bottom-bar {
    white-space: nowrap;
    overflow-x: auto;
}

.top-nav ul {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-nav li {
    display: inline;
}

.top-nav li::before {
    content: " │ ";
}

/* Разделители псевдографики */
.ascii-divider {
    user-select: none;
    margin: 4px 0;
    white-space: pre;
    line-height: 1;
}

/* Типографика */
h1, h2, h3 {
    font-size: 1em;
    font-weight: bold;
    margin: 0.8em 0 0.3em 0;
    text-transform: uppercase;
}

p {
    margin-bottom: 0.8em;
}

ul, ol {
    margin: 0 0 0.8em 3ch;
}

pre, code {
    font-family: inherit;
    white-space: pre-wrap;
}

/* Формы */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    font-family: inherit;
    font-size: inherit;
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    padding: 2px 4px;
    max-width: 78ch;
    width: 100%;
    display: block;
    margin-bottom: 6px;
}

input[type="submit"],
button {
    font-family: inherit;
    font-size: inherit;
    background: #e0e0e0;
    color: #000000;
    border: 2px outset #ffffff;
    padding: 1px 6px;
    cursor: pointer;
}

input[type="submit"]:active {
    border-style: inset;
}
