/* --------------------------------------------------
   🌌 GLOBAL RESET
-------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    background: #fafafa;
    color: #222;
}

.uni-verse-root {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* --------------------------------------------------
   🌌 BRANDING
-------------------------------------------------- */

.uv-header {
    text-align: center;
    margin-bottom: 2rem;
}

.uv-title {
    font-size: 2.2rem;
    font-weight: 700;
}

.uv-tagline {
    font-size: 1rem;
    opacity: 0.7;
    margin-top: 0.3rem;
}

/* --------------------------------------------------
   🌌 UNIFIED POEM SCROLL
-------------------------------------------------- */

.uv-poem-scroll {
    max-height: 420px;
    overflow-y: auto;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.uv-poem-container .poem-line {
    margin: 0.3rem 0;
    line-height: 1.45;
}





/* --------------------------------------------------
   🌌 CONTRIBUTION FORM
-------------------------------------------------- */

.uv-contribute-section {
    margin-bottom: 2rem;
}

.uv-child-safe-plea {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 1rem;
}

.uv-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.uv-input {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.uv-input:focus {
    outline: none;
    border-color: #444;
}

/* Honeypot */
.uv-honeypot-wrapper {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* --------------------------------------------------
   🌌 BUTTONS
-------------------------------------------------- */

.uv-button {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.uv-button-primary {
    background: #222;
    color: #fff;
}

.uv-button-primary:hover {
    background: #000;
}

.uv-button-secondary {
    background: #f0f0f0;
    color: #222;
}

.uv-button-secondary:hover {
    background: #e0e0e0;
}

.uv-share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Supporter-only */
.uv-supporter-only[hidden] {
    display: none !important;
}

/* --------------------------------------------------
   🌌 AFTER SUBMISSION
-------------------------------------------------- */

#uv-after-submit {
    background: #fff;
    border-left: 4px solid #222;
    padding: 1rem;
    border-radius: 6px;
}

.uv-after-text {
    margin: 0.6rem 0;
    opacity: 0.85;
}

.uv-celebration-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.uv-celebration-link a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------
   🌌 LOADING
-------------------------------------------------- */

.uv-loading {
    opacity: 0.6;
    font-style: italic;
}


/* creative commons */
.uv-footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.uv-cc0-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.uv-cc0-icon {
    width: 84px;
    height: 42px;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.uv-cc0-icon:hover {
    opacity: 1;
}


/* --------------------------------------------------
   🌌 NON‑SELECTABLE POEM WINDOW (Method A)
-------------------------------------------------- */

/* Prevent selection and highlighting inside the poem */
.uv-poem-scroll,
.uv-poem-scroll * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    pointer-events: none; /* disable text interaction */
}

/* Restore scrolling on the container */
.uv-poem-scroll {
    pointer-events: auto; /* scrolling still works */
}

.uv-poem-scroll {
    cursor: not-allowed;
}


.uv-poem-scroll {
    -webkit-touch-callout: none;
}




#uni-verse-footer-panel p {
text-align: center;
font-size: 0.85rem;        /* slightly smaller */
opacity: 0.7;              /* softer presence */
margin: 0.5rem 0;          /* light spacing */
}

#uni-verse-footer-panel a {
color: inherit;            /* matches the softened text */
text-decoration: underline;/* still clearly a link */
opacity: 0.9;              /* slightly stronger than text */
}

