/* Metallic Colors for Chat */
:root {
    --grey-metallic-start: #d4d4d4;
    --grey-metallic-end: #f4f4f4;
    --black-start: #232526;
    --black-end: #414345;
    --chat-border: #1a1a1a;
}

.chat-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px 50px 20px;
    font-family: 'Fredoka', sans-serif;
}

.msg-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.msg-wrapper.left {
    align-self: flex-start;
    align-items: flex-start;
}

.msg-wrapper.right {
    align-self: flex-end;
    align-items: flex-end;
}

.bubble {
    position: relative;
    padding: 24px 34px;
    border: 2px solid var(--chat-border);
    z-index: 2;
    box-shadow:
        inset 2px 2px 5px rgba(255, 255, 255, 0.4),
        inset -2px -2px 5px rgba(0, 0, 0, 0.1),
        3px 3px 0px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Left Bubbles (Black Metallic) */
.left .bubble {
    background: linear-gradient(135deg, var(--black-start), var(--black-end));
    color: #eee;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    border-color: #000;
}

/* Right Bubbles (Grey Metallic) */
.right .bubble {
    background: linear-gradient(135deg, var(--grey-metallic-start), var(--grey-metallic-end));
    color: #111;
}

/* Hand-drawn variations */
.left.msg-wrapper:nth-of-type(8n+1) .bubble {
    border-radius: 255px 25px 225px 4px / 25px 225px 25px 15px;
    transform: rotate(-1deg);
}

.left.msg-wrapper:nth-of-type(8n+2) .bubble {
    border-radius: 25px 250px 30px 10px / 250px 30px 200px 15px;
    transform: rotate(1.2deg);
}

.left.msg-wrapper:nth-of-type(8n+3) .bubble {
    border-radius: 220px 40px 200px 5px / 30px 140px 40px 15px;
    transform: rotate(-0.5deg);
}

.left.msg-wrapper:nth-of-type(8n+4) .bubble {
    border-radius: 40px 200px 30px 8px / 150px 40px 170px 15px;
    transform: rotate(0.8deg);
}

.left.msg-wrapper:nth-of-type(8n+5) .bubble {
    border-radius: 240px 30px 210px 5px / 40px 230px 30px 20px;
    transform: rotate(-1.5deg);
}

.left.msg-wrapper:nth-of-type(8n+6) .bubble {
    border-radius: 35px 240px 40px 10px / 240px 35px 190px 15px;
    transform: rotate(1deg);
}

.left.msg-wrapper:nth-of-type(8n+7) .bubble {
    border-radius: 230px 25px 215px 5px / 25px 210px 25px 15px;
    transform: rotate(-0.8deg);
}

.left.msg-wrapper:nth-of-type(8n+8) .bubble {
    border-radius: 30px 230px 35px 8px / 220px 40px 180px 15px;
    transform: rotate(1.5deg);
}

.right.msg-wrapper:nth-of-type(8n+1) .bubble {
    border-radius: 25px 255px 15px 225px / 225px 25px 15px 25px;
    transform: rotate(1deg);
}

.right.msg-wrapper:nth-of-type(8n+2) .bubble {
    border-radius: 250px 30px 10px 40px / 35px 250px 15px 200px;
    transform: rotate(-1.2deg);
}

.right.msg-wrapper:nth-of-type(8n+3) .bubble {
    border-radius: 40px 120px 5px 150px / 140px 30px 15px 40px;
    transform: rotate(0.5deg);
}

.right.msg-wrapper:nth-of-type(8n+4) .bubble {
    border-radius: 180px 40px 8px 30px / 40px 150px 15px 170px;
    transform: rotate(-0.8deg);
}

.right.msg-wrapper:nth-of-type(8n+5) .bubble {
    border-radius: 30px 240px 5px 210px / 230px 40px 20px 30px;
    transform: rotate(1.5deg);
}

.right.msg-wrapper:nth-of-type(8n+6) .bubble {
    border-radius: 240px 35px 10px 40px / 35px 240px 15px 190px;
    transform: rotate(-1deg);
}

.right.msg-wrapper:nth-of-type(8n+7) .bubble {
    border-radius: 25px 230px 5px 215px / 210px 25px 15px 25px;
    transform: rotate(0.8deg);
}

.right.msg-wrapper:nth-of-type(8n+8) .bubble {
    border-radius: 230px 30px 8px 35px / 40px 220px 15px 180px;
    transform: rotate(-1.5deg);
}

.timestamp {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    margin-top: 8px;
    color: #999;
    letter-spacing: 0.05em;
}

/* Image inside bubbles */
.bubble-img-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 4px;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.bubble-img-container img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.bubble-img-container:hover img {
    transform: scale(1.02);
}

.bubble-img-container::after {
    content: "🔍";
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #000;
}

.bubble p {
    margin: 8px 0 0 0;
}

/* Dividers */
.new-messages-divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    opacity: 0.9;
    transition: opacity 0.8s ease;
}

.divider-line {
    flex: 1;
    height: 0;
    width: 100%;
    border-top: 2px dotted #aaa;
}

.divider-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d32f2f;
    font-weight: 800;
}

.new-messages-divider.today .divider-text {
    color: #000;
}

.new-messages-divider.today .divider-line {
    border-top-style: solid;
}

/* Typing Animation */
.bubble.typing {
    min-width: 60px;
    padding: 15px 25px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-dots {
    display: flex;
    gap: 5px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Modal Overlay exactly like chat.html */
.chat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.chat-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.chat-modal-img-wrapper {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-modal-overlay.active .chat-modal-img-wrapper {
    transform: scale(1);
}

.chat-modal-img-wrapper img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border: 4px solid #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.chat-modal-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    font-weight: bold;
}

/* VARIANT: OPEN QUESTION */
.variant-open-question-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    margin: 0 !important;
    padding-bottom: 20px !important;
}

.v-variant-open-question-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 !important;
}

.v-variant-open-question-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-open-question-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-open-question-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-open-question-frame-red {
    background-color: #FF0055;
}

.v-variant-open-question-card-body {
    padding: 30px;
    padding-bottom: 60px;
    color: #000;
    font-size: 1.5rem;
    line-height: 1.8;
    min-height: 200px;
}

.v-variant-open-question-bg-light-red {
    background-color: #FFB6C1;
}

.v-variant-open-question-open-input {
    width: 100%;
    background: #fff;
    border: 2px solid #000;
    padding: 12px;
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    resize: none;
    outline: none;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    min-height: 150px;
}

.v-variant-open-question-open-input:focus {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.v-variant-open-question-warning-box {
    background-color: #FFE600;
    border: 3px solid #000;
    padding: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    flex: 1;
    margin-right: 15px;
    display: none;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.v-variant-open-question-warning-box.visible {
    display: block;
}

.v-variant-open-question-char-counter {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Fredoka', sans-serif;
}

.v-variant-open-question-input-error-msg {
    background: #FFE4EC;
    border: 2px solid #FF0055;
    padding: 10px;
    font-size: 1rem;
    color: #FF0055;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* Banner Buttons */
.v-variant-open-question-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-open-question-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-open-question-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-open-question-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-open-question-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-open-question-view-mode {
    display: none;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Comic Neue', cursive;
}

.banner-red {
    background-color: #FF0055 !important;
    color: #fff !important;
}

.banner-blue {
    background-color: #0066FF !important;
    color: #fff !important;
}

.banner-green {
    background-color: #00cc00 !important;
    color: #fff !important;
}

.edit-btn-active {
    background-color: #00F5FF !important;
    color: #000 !important;
}

@media (max-width: 600px) {
    .v-variant-open-question-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-open-question-card-body {
        padding: 20px 20px 60px 20px !important;
    }

    .v-variant-open-question-open-input {
        font-size: 1rem !important;
    }

    .v-variant-open-question-banner-btn {
        font-size: 1rem;
    }

    .v-variant-open-question-pos-left {
        left: 10px;
    }

    .v-variant-open-question-pos-right {
        right: 10px;
    }
}

/* ===== EMOTION TIMER (Pop Art) ===== */
.emotion-timer-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    margin: 30px 0;
    user-select: none;
}

.emotion-timer-header {
    background: #FFE600;
    border: 5px solid #000;
    padding: 18px 36px;
    text-align: center;
    position: relative;
    transform: rotate(-1.5deg);
    box-shadow:
        6px 6px 0px #000,
        inset 0 0 0 3px #FF0055;
    max-width: 700px;
    width: 90%;
    /* halftone dot pattern overlay */
    background-image:
        radial-gradient(circle, #FF0055 1px, transparent 1px);
    background-size: 12px 12px;
    background-color: #FFE600;
    animation: popArtHeaderPulse 3s ease-in-out infinite;
}

.emotion-timer-header-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        3px 3px 0 #FF0055,
        -1px -1px 0 #fff;
    line-height: 1.3;
    display: block;
}

.emotion-timer-countdown {
    font-family: 'Fredoka', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    color: #FF0055;
    text-shadow:
        4px 4px 0 #000,
        -2px -2px 0 #FFE600,
        2px -2px 0 #FFE600,
        -2px 2px 0 #FFE600;
    margin-top: 20px;
    line-height: 1;
    animation: countdownPulse 1s ease-in-out infinite;
    position: relative;
}

.emotion-timer-countdown::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border: 5px solid #000;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 230, 0, 0.25) 0%,
            transparent 70%);
    z-index: -1;
    box-shadow: 4px 4px 0 #000;
}

@keyframes popArtHeaderPulse {

    0%,
    100% {
        transform: rotate(-1.5deg) scale(1);
    }

    50% {
        transform: rotate(-1.5deg) scale(1.015);
    }
}

@keyframes countdownPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

@media (max-width: 600px) {
    .emotion-timer-header-text {
        font-size: 1.3rem !important;
        letter-spacing: 1px;
    }

    .emotion-timer-countdown {
        font-size: 5rem;
    }

    .emotion-timer-countdown::after {
        width: 110px;
        height: 110px;
    }

    .emotion-timer-header {
        padding: 14px 20px;
    }
}

/* VARIANT: BULLETED LIST INPUT */
.variant-bulleted-list-input-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    margin: 0 !important;
    padding-bottom: 20px !important;
}

.v-variant-bulleted-list-input-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 !important;
}

.v-variant-bulleted-list-input-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-bulleted-list-input-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-bulleted-list-input-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-bulleted-list-input-frame-red {
    background-color: #FF0055;
}

.v-variant-bulleted-list-input-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    font-size: 1.5rem;
    line-height: 1.8;
    min-height: 200px;
    background-color: #FFB6C1;
}

.v-variant-bulleted-list-input-field {
    background: #fff;
    border: 2px solid #000;
    padding: 8px 12px;
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    outline: none;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 4.5rem;
    /* ~2 lines high */
    resize: none;
    display: block;
}

.v-variant-bulleted-list-input-field:focus {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.v-variant-bulleted-list-input-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-bulleted-list-input-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-bulleted-list-input-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-bulleted-list-input-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-bulleted-list-input-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-bulleted-list-input-edit-mode {
    display: block;
}

.v-variant-bulleted-list-input-view-mode {
    display: none;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: pre-wrap;
    font-family: 'Comic Neue', cursive;
}

.v-variant-bulleted-list-input-error-msg {
    background: #FFE4EC;
    border: 2px solid #FF0055;
    padding: 10px;
    font-size: 1rem;
    color: #FF0055;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

@media (max-width: 600px) {
    .v-variant-bulleted-list-input-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-bulleted-list-input-card-body {
        font-size: 1rem !important;
        padding: 20px 20px 80px 20px !important;
    }

    .v-variant-bulleted-list-input-field {
        font-size: 1rem !important;
        height: 3.5rem;
    }

    .v-variant-bulleted-list-input-banner-btn {
        font-size: 1rem;
    }

    .v-variant-bulleted-list-input-pos-left {
        left: 10px;
    }

    .v-variant-bulleted-list-input-pos-right {
        right: 10px;
    }
}

/* VARIANT: COPY PROMPT */
.variant-copy-prompt-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    margin: 0 !important;
    padding-bottom: 20px !important;
}

.v-variant-copy-prompt-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 !important;
}

.v-variant-copy-prompt-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-copy-prompt-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-copy-prompt-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-copy-prompt-frame-green {
    background-color: #00cc00;
}

.v-variant-copy-prompt-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    min-height: 200px;
}

.v-variant-copy-prompt-bg-light-green {
    background-color: #CCFFCC;
}

.v-variant-copy-prompt-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
}

.v-variant-copy-prompt-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-copy-prompt-banner-btn:active {
    background-color: #00F5FF !important;
    transform: scale(0.95);
}

.v-variant-copy-prompt-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

/* --- COPY PROMPT SPECIFIC STYLES --- */
.v-variant-copy-prompt-text-container {
    position: relative;
}

.v-variant-copy-prompt-text {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: pre-wrap;
    word-break: break-word;
}

.v-variant-copy-prompt-short-view {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v-variant-copy-prompt-full-view {
    display: none;
}

.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-short-view {
    display: none;
}

.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-full-view {
    display: block;
}

.v-variant-copy-prompt-blurry-preview {
    position: relative;
    height: 40px;
    overflow: hidden;
    margin-top: -5px;
}

.v-variant-copy-prompt-blurry-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(204, 255, 204, 0) 0%, rgba(204, 255, 204, 0.5) 70%, rgba(204, 255, 204, 0.9) 100%);
    z-index: 1;
}

.v-variant-copy-prompt-blurry-preview .blur-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    filter: blur(1.5px);
    opacity: 0.8;
    user-select: none;
}

.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-blurry-preview {
    display: none;
}

.v-variant-copy-prompt-expand-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    cursor: pointer;
    padding: 8px 0;
    transition: transform 0.2s;
}

.v-variant-copy-prompt-expand-dots:hover {
    transform: scale(1.1);
}

.v-variant-copy-prompt-expand-dots .dot {
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.v-variant-copy-prompt-expand-dots:hover .dot {
    background-color: #333;
}

.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-expand-dots {
    display: none;
}

@media (max-width: 600px) {
    .v-variant-copy-prompt-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-copy-prompt-card-body {
        padding: 20px 20px 80px 20px !important;
    }

    .v-variant-copy-prompt-text {
        font-size: 0.95rem;
    }

    .v-variant-copy-prompt-blurry-preview .blur-text {
        font-size: 0.95rem;
    }

    .v-variant-copy-prompt-banner-btn {
        padding: 6px 15px;
        font-size: 1rem;
    }

    .v-variant-copy-prompt-pos-right {
        right: 10px;
    }
}

/* VARIANT: GEMINI ONLY */
.variant-gemini-only-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    margin: 0 !important;
    padding-bottom: 20px !important;
}

.v-variant-gemini-only-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 !important;
}

.v-variant-gemini-only-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-gemini-only-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-gemini-only-card-body-frame {
    padding: 8px;
}

.v-variant-gemini-only-frame-pink {
    background-color: #FF69B4;
}

.v-variant-gemini-only-card-body {
    padding: 30px;
    color: #000;
    background-color: #FFE4E9;
}

.v-variant-gemini-only-execute-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-gemini-only-ai-icons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.v-variant-gemini-only-ai-link {
    display: block;
    transition: transform 0.15s;
}

.v-variant-gemini-only-ai-link:hover {
    transform: scale(1.1) rotate(5deg);
}

.v-variant-gemini-only-ai-logo {
    border: none;
    box-shadow: none;
}

.v-variant-gemini-only-ai-logo.v-variant-gemini-only-large {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

@media (max-width: 600px) {
    .v-variant-gemini-only-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-gemini-only-ai-logo.v-variant-gemini-only-large {
        width: 80px;
        height: 80px;
    }
}

/* VARIANT: JSON PASTE (Adapted from variant-text-paste.html) */
.variant-json-paste-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    margin: 0 !important;
    padding-bottom: 20px !important;
}

.v-variant-json-paste-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 !important;
}

.v-variant-json-paste-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-json-paste-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-json-paste-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-json-paste-frame-turquoise {
    background-color: #00F5FF;
}

.v-variant-json-paste-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    min-height: 200px;
    background-color: #E0FFFE;
}

.v-variant-json-paste-open-input {
    width: 100%;
    background: #fff;
    border: 2px solid #000;
    padding: 6px 12px;
    font-family: monospace;
    font-size: 1rem;
    font-weight: 400;
    resize: vertical;
    outline: none;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.v-variant-json-paste-open-input:focus {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.v-variant-json-paste-feedback-box {
    margin-top: 20px;
    width: 100%;
    display: none;
    border: 4px solid #000;
    padding: 20px;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.v-variant-json-paste-feedback-box.error {
    display: block;
    background-color: #FF85A1;
    /* Vibrant Pink */
    color: #000;
}

.v-variant-json-paste-feedback-box.success {
    display: block;
    background-color: #B5FF99;
    /* Light Green */
    color: #000;
}

.v-variant-json-paste-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-json-paste-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-json-paste-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .v-variant-json-paste-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-json-paste-card-body {
        padding: 20px 20px 60px 20px !important;
    }

    .v-variant-json-paste-open-input {
        font-size: 0.9rem !important;
    }

    .v-variant-json-paste-banner-btn {
        font-size: 1rem;
        right: 10px;
    }

    .v-variant-json-paste-feedback-box {
        font-size: 1.1rem;
        padding: 15px;
    }
}

/* ===== RESULTS SECTION ===== */
.gig-results-section {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transition: opacity 1s ease;
}

.results-timer-box {
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
    font-size: 5rem;
    font-weight: 800;
    border: 4px solid #000;
    padding: 1rem 3rem;
    background: #fff;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
    display: inline-block;
    border-radius: 4px;
    text-align: center;
}

.results-reaction-image-wrapper {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.results-reaction-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .results-timer-box {
        font-size: 4rem;
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 600px) {
    .results-timer-box {
        font-size: 2rem;
        padding: 0.5rem 1rem;
        box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
        border-width: 3px;
    }

    .gig-results-section {
        margin: 20px auto;
        gap: 20px;
    }
}

/* VARIANT: CONTENT RESULTS */
.variant-content-results-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    margin: 0 !important;
    padding-bottom: 20px !important;
}

.v-variant-content-results-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 !important;
}

.v-variant-content-results-card-header {
    background-color: #FF0055;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #fff;
}

.v-variant-content-results-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-content-results-card-body-frame {
    padding: 8px;
    position: relative;
    background-color: #FFE600;
}

.v-variant-content-results-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    font-size: 1.5rem;
    line-height: 1.8;
    min-height: 200px;
    background-color: #FFF9C4;
}

.v-variant-content-results-section-header {
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 15px;
    margin-top: 35px;
}

.v-variant-content-results-section-header:first-of-type {
    margin-top: 0;
}

.v-variant-content-results-label {
    font-family: 'Fredoka', sans-serif;
    margin: 0;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #444;
}

.v-variant-content-results-content {
    font-weight: 700;
    margin-top: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    font-family: 'Comic Neue', cursive;
    white-space: pre-wrap;
    word-break: break-word;
}

.v-variant-content-results-list {
    font-weight: 700;
    padding-left: 20px;
    font-size: 1.3rem;
    list-style-type: square;
    margin-top: 0;
    font-family: 'Comic Neue', cursive;
}

.v-variant-content-results-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-content-results-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-content-results-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-content-results-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-content-results-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

@media (max-width: 600px) {
    .v-variant-content-results-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-content-results-card-body {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        padding: 20px 20px 80px 20px !important;
    }

    .v-variant-content-results-content {
        font-size: 1.1rem !important;
    }

    .v-variant-content-results-list {
        font-size: 1rem !important;
    }

    .v-variant-content-results-label {
        font-size: 0.9rem !important;
    }

    .v-variant-content-results-banner-btn {
        font-size: 1rem;
    }

    .v-variant-content-results-pos-left {
        left: 10px;
    }

    .v-variant-content-results-pos-right {
        right: 10px;
    }
}

/* ===== FINAL BUTTONS (BEER & RESTART) ===== */
.method-buttons-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    margin: 0 !important;
    /* No margin top/bottom as requested */
    padding-bottom: 40px !important;
}

.method-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 700px;
    padding: 20px;
    flex-wrap: nowrap;
    /* Keep on same row for all devices */
}

.method-btn {
    display: block;
    flex: 1;
    /* Responsive size, equal width */
    max-width: 340px;
    position: relative;
    text-decoration: none;
    border: none;
    background: none;
    transition: transform 0.2s ease;
    animation: alivePulse 3s ease-in-out infinite;
    cursor: pointer;
    padding: 0;
}

.method-btn:hover {
    transform: scale(1.05) rotate(-1deg);
    animation: none;
}

.btn-img-wrapper {
    position: relative;
    width: 100%;
}

.btn-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Absolute positioning for the hover image */
.btn-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    width: 100%;
    height: 100%;
}

.method-btn:hover .btn-hover-img {
    opacity: 1;
}

@keyframes alivePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .method-buttons-container {
        gap: 10px;
        padding: 10px;
    }

    .method-btn {
        max-width: none;
        /* Allow them to fill space on mobile */
    }
}

/* --- Gig Recommendations Section (Modelled after wrong button) --- */
.gig-recommendations-section {
    width: 100%;
    margin-top: 0 !important;
    /* No margin top as requested */
    padding-top: 4rem;
    border-top: 4px dotted #000;
    /* Dotted divider as requested */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.wrong-section-block {
    margin-bottom: 4rem;
    padding: 0 20px;
}

.wrong-section-header {
    font-family: 'Comic Neue', 'Bangers', cursive;
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-transform: uppercase;
    color: #000;
    text-shadow: 2px 2px 0px #fff;
}

.header-icon {
    font-size: 3rem;
    line-height: 1;
}

/* Grid Reuse */
.wrong-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

/* Responsive Grid Logic */
@media (max-width: 1200px) {
    .wrong-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .wrong-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wrong-grid {
        grid-template-columns: 1fr;
    }

    .wrong-section-header {
        font-size: 2rem;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}

/* Utility classes for responsive hiding */
@media (max-width: 1024px) {
    .hide-tablet {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Gig Card Styles (from components/gig-grid.css) */
.wrong-grid .troll-gig-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
    border: 4px solid #000;
    background: #fff;
    height: 100%;
    overflow: hidden;
    box-shadow: none !important;
    /* No box shadow as requested */
}

.wrong-grid .troll-gig-card:hover {
    transform: scale(1.03);
    box-shadow: 10px 10px 0px #000 !important;
    z-index: 20;
}

.wrong-grid .gig-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-bottom: 4px solid #000;
    overflow: hidden;
    background: #ddd;
    position: relative;
}

.wrong-grid .gig-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.wrong-grid .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wrong-grid .deranged-img {
    opacity: 0;
}

.wrong-grid .troll-gig-card:hover .deranged-img {
    opacity: 1;
}

.wrong-grid .troll-gig-card:hover .basic-img {
    opacity: 0;
}

.wrong-grid .gig-content {
    margin-top: 12px;
    text-align: center;
    padding: 0 15px 12px 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrong-grid .gig-title {
    font-family: 'Comic Neue', 'Gloria Hallelujah', cursive;
    font-size: 1.25rem;
    color: #000;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 1px 1px 0px white;
}

.wrong-grid .gig-duration-banner {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    color: #FFF205;
    padding: 0px 8px;
    font-family: 'Bangers', cursive;
    font-weight: 400;
    font-size: 1.4rem;
    z-index: 30;
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
    letter-spacing: 1px;
}