/*
/css/core.css - 2026-06-13 - Post 'N Gone Owner
Latest changes:
- Keeps genuinely shared public styles and colour tokens in one central stylesheet.
- Keeps the blackboard form component in one contiguous, consistently prefixed section.
- Keeps cross-surface submission controls separate from page-specific form styling.
- Preserves the ordinary one-line rule format below clear section headings.
*/

:root {
    --postngone-accent: #fff072;
    --postngone-board: #303030;
    --postngone-ink: #111;
}

/*
Fonts
*/

@font-face { font-family: "Shadows Into Light"; src: url("../font/ShadowsIntoLightTwo-Regular.ttf") format("truetype"); }

/*
Base Page
*/

.postngone-page { margin: 0; padding: 0; max-width: 100%; min-height: 100vh; background-color: #000; color: aliceblue; font-family: Arial, Helvetica, sans-serif; }
.page-intro { width: min(900px, calc(100% - 32px)); margin: 18px auto 10px; text-align: center; }
.page-intro-title { margin: 0 0 8px; color: #fff; font-size: 32px; font-weight: 700; line-height: 1.15; text-align: center; }
.page-intro-copy { margin: 0 auto; color: #fff; font-size: 16px; line-height: 1.45; text-align: center; }
.page-empty-title { width: min(900px, calc(100% - 32px)); margin: 28px auto; color: #fff; font-size: 28px; font-weight: 700; line-height: 1.2; text-align: center; }

/*
Shared Accessibility
*/

.postngone-live-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/*
Navigation
*/

.site-nav { display: flex; justify-content: center; align-items: center; color: #fff; padding: 20px 40px; }
.site-nav-box { display: flex; justify-content: center; align-items: center; }
.site-menu-toggle { display: none; width: 100%; flex-direction: column; align-items: center; justify-content: space-between; }
.site-menu-text { padding: 0; font-family: "Shadows Into Light"; font-size: 26px; }
.site-brand-link { color: var(--postngone-accent); text-decoration: none; text-shadow: 1px 1px #ffffe0; }
.site-brand-link:hover { color: var(--postngone-accent); text-decoration: underline; text-shadow: 1px 1px #ffffe0; }
.site-menu-button { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 7px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.site-menu-button:focus-visible { outline: 2px solid var(--postngone-accent); outline-offset: 3px; }
.site-menu-bar { display: flex; width: 25px; height: 3px; margin: 3px 0; background-color: #fff; transition: 0.8s ease-in-out; }
.site-menu-button.active .site-menu-bar { transform: rotate(45deg); }
.site-nav-list { display: flex; margin: 0; padding: 0; list-style: none; transition: 0.8s ease-in-out; z-index: 2; }
.site-nav-item { margin: 0 10px; font-size: 24px; text-align: center; }
.site-nav-link { color: #fff; text-decoration: none; text-transform: uppercase; }
.site-nav-link:hover { color: var(--postngone-accent); text-decoration: underline; }

/*
Footer
*/

.site-footer { margin: 26px auto 0; padding: 0 16px 14px; text-align: center; }
.site-footer-text { margin: 0; text-align: center; }
.site-footer-link { color: rgb(221, 211, 120); font-weight: 700; text-align: center; }
.site-footer-link:hover { color: red; text-decoration: underline; }

/*
Pinned top note
*/

.top-note-container { width: 100%; }
.top-note { position: relative; width: clamp(320px, 20vw, 370px); max-width: 92%; margin: 0 auto; filter: drop-shadow(0 9px 7px rgba(0, 0, 0, .32)) drop-shadow(0 2px 2px rgba(0, 0, 0, .44)); }
.top-note-image { display: block; width: 100%; height: auto; margin-bottom: 6px; opacity: 1; }
.top-note-copy { position: absolute; top: 21%; right: 13%; bottom: 9%; left: 15%; height: auto; overflow: hidden; padding: 0; transform: rotate(357deg); color: #333; font-family: "Shadows Into Light"; font-size: 1.25rem; font-weight: 500; line-height: 1.14; text-align: center; }
.top-note-heading { margin: 0; transform: rotate(0deg); color: #222; font-size: clamp(1.78rem, 1.5vw, 2.05rem); font-weight: 700; line-height: .96; }
.top-note-brand-name { display: block; font-family: "Shadows Into Light", sans-serif; font-weight: 700; letter-spacing: .01em; }
.top-note-body { margin: 6px 0 0; transform: rotate(0deg); font-size: clamp(.91rem, .82vw, 1.04rem); font-weight: 500; line-height: 1.14; }

/*
Scroll Button
*/

.scroll-button { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; position: fixed; right: 10px; bottom: 10px; z-index: 999; border: 2px solid #333; border-radius: 40%; background-color: var(--postngone-accent); cursor: pointer; transition: 0.3s; }
.scroll-button:hover { background-color: #fff172ec; border-color: #fffb00; }
.scroll-button-image { width: 50%; transform-origin: center; transition: 0.5s; transition-timing-function: ease-in-out; }

/*
Blackboard Form
*/

.blackboard-shell { display: flex; justify-content: center; width: 100%; max-width: 100%; margin: 0 auto; scroll-margin-top: 20px; }
.blackboard { box-sizing: border-box; position: relative; width: min(560px, calc(100% - 24px)); max-width: calc(100% - 24px); margin: clamp(36px, 7vw, 72px) auto; border: #000 solid 8px; border-radius: 12px; background: var(--postngone-board); box-shadow: 0 0 6px 5px rgba(58, 18, 13, 0), 3px 4px 8px 5px rgba(0, 0, 0, 0.5); }
.blackboard::before { box-sizing: border-box; display: block; width: 100%; border-radius: 12px; content: "Contribute by posting something!"; padding: 18px 14px 4px; color: #fff; font-family: "Shadows Into Light"; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.15; text-align: center; }
.blackboard-head-line { width: min(78%, 420px); height: 5px; margin: 10px auto 16px; overflow: visible; border: none; border-top: 3px double #fff; color: #fff; text-align: center; }
.blackboard-head-line::after { content: "\2623"; position: relative; top: -13px; padding: 0 4px; background: var(--postngone-board); color: #fff; }
.blackboard-content { text-align: center; }
.blackboard-form-fields { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; box-sizing: border-box; padding: 0 clamp(14px, 4vw, 30px) 24px; }
.blackboard-label { display: block; margin: 9px auto 5px; color: #fff; font-family: Arial, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; }
.blackboard-input-box { position: relative; display: flex; justify-content: center; align-items: center; width: min(100%, 440px); min-height: 40px; height: auto; box-sizing: border-box; margin: 0 auto 8px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 5px; background: rgba(255, 255, 255, 0.72); color: #111; }
.blackboard-input-box:focus-within { outline: 3px solid var(--postngone-accent); outline-offset: 2px; }
.blackboard-control { width: 100%; min-height: 38px; box-sizing: border-box; padding: 8px 28px; border: none; outline: none; background: transparent; color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; }
.blackboard-control::placeholder { color: #555; opacity: 1; text-align: center; }
.blackboard-message-box { width: min(100%, 440px); margin: 0 auto 8px; text-align: center; }
.blackboard-textarea { width: 100%; min-height: 120px; height: 132px; max-height: 260px; box-sizing: border-box; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 6px; outline: none; background: rgba(255, 255, 255, 0.1); color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.35; text-align: center; resize: vertical; }
.blackboard-textarea:focus-visible { outline: 3px solid var(--postngone-accent); outline-offset: 2px; }
.blackboard-textarea::placeholder { color: #d0d0d0; opacity: 1; text-align: center; }
.blackboard-field-help { width: min(100%, 440px); box-sizing: border-box; margin: -2px auto 8px; color: var(--postngone-accent); font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; }
.blackboard-upload { display: grid; grid-template-columns: minmax(126px, auto) minmax(0, 1fr); align-items: center; gap: 10px; width: min(100%, 440px); min-height: 54px; box-sizing: border-box; margin: 0 auto 8px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 6px; background: rgba(255, 255, 255, 0.74); color: #111; }
.blackboard-upload-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.blackboard-upload-button { display: flex; justify-content: center; align-items: center; min-height: 36px; box-sizing: border-box; padding: 8px 12px; border: 1px solid rgba(0, 0, 0, 0.35); border-radius: 5px; background: var(--postngone-board); color: var(--postngone-accent); font-size: 14px; font-weight: 700; line-height: 1.1; text-align: center; cursor: pointer; }
.blackboard-upload-button:hover { background: #111; color: #fff; }
.blackboard-upload-input:focus-visible + .blackboard-upload-button { outline: 3px solid var(--postngone-accent); outline-offset: 2px; background: var(--postngone-ink); color: #fff; }
.blackboard-upload-name { min-width: 0; color: #111; font-size: 14px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.blackboard-error { width: 100%; margin: 10px auto; padding: 10px 0; border-radius: 20px; background: red; color: #fff; font-size: 20px; text-align: center; cursor: pointer; }
.blackboard-error:empty { display: none; }
.blackboard-upload-status { width: min(100%, 440px); min-height: 24px; box-sizing: border-box; margin: 0 auto 8px; padding: 5px 10px; border: 1px solid transparent; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: var(--postngone-accent); font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; }
.blackboard-upload-status.is-ready { color: var(--postngone-accent); border-color: rgba(255, 240, 114, 0.45); background: rgba(255, 240, 114, 0.1); }
.blackboard-upload-status.is-uploading { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: linear-gradient(90deg, rgba(255, 255, 255, 0.28) var(--upload-progress, 0%), rgba(255, 255, 255, 0.12) var(--upload-progress, 0%)); }
.blackboard-upload-status.is-complete { color: #9be79b; border-color: rgba(155, 231, 155, 0.5); background: rgba(155, 231, 155, 0.12); }
.blackboard-upload-status.is-error { color: #ff8f8f; border-color: rgba(255, 143, 143, 0.65); background: rgba(136, 8, 8, 0.22); }
.blackboard-security-question { width: min(100%, 440px); margin: 6px auto 0; color: #fff; text-align: center; }
.blackboard-submit-area { width: min(100%, 440px); margin: 8px auto 0; text-align: center; }

/*
Shared Public Submission UI
*/

.postngone-submit-button { display: inline-flex; justify-content: center; align-items: center; width: min(220px, 100%); height: 50px; box-sizing: border-box; margin: 12px auto 0; padding: 12px 24px; appearance: none; border: 2px solid var(--postngone-accent); border-radius: 7px; background: var(--postngone-ink); color: var(--postngone-accent); box-shadow: inset 0 0 0 1px rgba(255, 240, 114, .22); font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 800; line-height: 1.1; letter-spacing: .01em; text-align: center; text-decoration: none; cursor: pointer; }
.postngone-submit-button:enabled:focus-visible { border-color: var(--postngone-accent); outline: 3px solid var(--postngone-accent); outline-offset: 3px; background: var(--postngone-ink); color: var(--postngone-accent); box-shadow: inset 0 0 0 1px rgba(255, 240, 114, .32), 0 0 0 6px var(--postngone-ink); }
.postngone-submit-button:enabled:active { box-shadow: inset 0 0 0 2px rgba(255, 240, 114, .5), inset 0 5px 8px rgba(0, 0, 0, .48); }
.postngone-submit-button:disabled { border-color: #77724f; background: #918c67; color: #292929; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .18); opacity: .72; cursor: not-allowed; }
.postngone-submit-label { display: inline-block; transform-origin: center; backface-visibility: visible; }
@keyframes postngone-submit-label-spin { from { transform: rotateX(0deg); } to { transform: rotateX(360deg); } }
@keyframes postngone-submit-label-pop { 0% { transform: scale(1); } 45% { transform: scale(.82); } 100% { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .postngone-submit-button:enabled:not(.is-busy):hover { border-color: var(--postngone-accent); background: var(--postngone-accent); color: var(--postngone-ink); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .18); }
    .postngone-submit-button:enabled:not(.is-busy):not(.is-click-pop):hover .postngone-submit-label { animation: postngone-submit-label-spin .62s linear infinite; }
    .postngone-submit-button.is-click-pop .postngone-submit-label { animation: postngone-submit-label-pop .2s ease-out 1; }
}
.postngone-submission-lock-message { width: min(560px, calc(100% - 24px)); box-sizing: border-box; margin: clamp(36px, 7vw, 72px) auto; padding: 16px 18px; border: 2px solid rgba(255, 240, 114, 0.7); border-radius: 8px; background: #111; color: var(--postngone-accent); font-size: 18px; font-weight: 700; line-height: 1.35; text-align: center; scroll-margin-top: 20px; }
.postngone-required-mark { display: inline-block; margin-left: 4px; color: #d60000; font-size: 20px; line-height: 1; vertical-align: baseline; }
.postngone-honeypot { position: absolute !important; left: -100vw !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.postngone-honeypot input, .postngone-honeypot textarea { width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; }

/*
Shared Interactive States
*/

.is-busy { opacity: 0.72; pointer-events: none; cursor: default; }
.postngone-activity-highlight { outline: 4px solid var(--postngone-accent) !important; outline-offset: 4px; animation: postngone-activity-pulse 1.4s ease-out 1; }
@keyframes postngone-activity-pulse { 0% { outline-color: #fff; } 100% { outline-color: var(--postngone-accent); } }

/*
Selection and Scrollbars
*/

::-moz-selection { background: rgba(238, 238, 238, 0.2); color: rgba(238, 238, 238, 0.2); text-shadow: none; }
::selection { background: rgba(238, 238, 238, 0.4); color: rgba(238, 238, 238, 0.3); text-shadow: none; }
::-webkit-scrollbar { width: 5px; background-color: rgba(255, 0, 0, 0.2); }
::-webkit-scrollbar-thumb { border-radius: 10px; background-color: red; }

/*
Responsive Adjustments
*/

@media (max-width: 900px) {
    .postngone-page { margin-top: 9rem; }
    .site-nav { position: fixed; top: 0; left: 0; z-index: 15; width: 100%; padding: 0; }
    .site-nav-box { width: 100%; height: 100%; margin: 0 auto; background: #000; z-index: 99; }
    .site-menu-toggle { display: flex; }
    .site-nav-list { flex-direction: column; width: min(280px, calc(100% - 32px)); position: absolute; top: -420%; left: 50%; box-sizing: border-box; padding: 10px 0; border: 1px solid rgba(255, 240, 114, 0.3); background-color: #000; text-align: center; transform: translateX(-50%); }
    .site-nav-list.active { top: 77px; left: 50%; }
    .site-nav-item { margin: 10px 0; }
}

@media (max-width: 520px) {
    .postngone-page { margin-top: 7.75rem; }
    .page-intro { width: calc(100% - 24px); margin: 14px auto 8px; }
    .page-intro-title { font-size: 26px; }
    .page-empty-title { width: calc(100% - 24px); font-size: 24px; }
    .blackboard { border-width: 6px; }
    .blackboard-form-fields { padding-right: 12px; padding-left: 12px; }
    .blackboard-upload { grid-template-columns: 1fr; padding: 8px; }
    .blackboard-upload-button { width: 100%; }
    .blackboard-upload-name { text-align: center; }
}

@media (max-width: 470px) {
    .top-note-heading { font-size: clamp(1.42rem, 7vw, 1.72rem); }
    .top-note-body { margin-top: 4px; font-size: clamp(.8rem, 3.55vw, .91rem); line-height: 1.09; }
}
