/* Share Modal - Neo-Scribe Terminal Aesthetic */

/* =========================================================================
   Overlay
   ========================================================================= */

.share-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.share-modal-overlay[hidden] {
    display: none;
}

/* =========================================================================
   Modal Container
   ========================================================================= */

.share-modal {
    width: 100%;
    max-width: min(680px, 90vw);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--neo-obsidian-light);
    border: 1px solid var(--neo-border);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 191, 0, 0.1);
}

.share-modal::-webkit-scrollbar {
    width: 4px;
}

.share-modal::-webkit-scrollbar-track {
    background: transparent;
}

.share-modal::-webkit-scrollbar-thumb {
    background: #333;
}

/* =========================================================================
   Close Button
   ========================================================================= */

.share-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--neo-text-dim);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    line-height: 1;
}

.share-modal-close:hover {
    color: var(--neo-text-bright);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.85);
}

/* =========================================================================
   Image Banner
   ========================================================================= */

/* Fallback banner (non-EntityImage) */
.share-modal-banner {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--neo-obsidian);
}

.share-modal-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-modal-banner.dimmed img {
    filter: saturate(0.3) brightness(0.4);
}

.share-modal-banner-placeholder {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        #111 0px, #111 20px,
        #141414 20px, #141414 40px
    );
}

.share-modal-banner.dimmed .share-modal-banner-placeholder {
    opacity: 0.5;
}

/* Banner wrapper for EntityImage integration */
.share-modal-banner-wrapper {
    width: 100%;
    position: relative;
    max-height: 220px;
    overflow: hidden;
}

.share-modal-banner-wrapper .entity-image-section {
    margin: 0;
}

.share-modal-banner-wrapper .entity-image-container {
    max-height: 220px;
    aspect-ratio: auto;
    height: 220px;
}

.share-modal-banner-wrapper .entity-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Subtler overlay buttons in banner context */
.share-modal-banner-wrapper .entity-image-overlay {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
}

.share-modal-banner-wrapper .entity-img-btn {
    font-size: 0.65rem;
    padding: 5px 12px;
    border-color: rgba(255, 255, 255, 0.15);
}

.share-modal-banner-wrapper .entity-image-placeholder {
    height: 140px;
    aspect-ratio: auto;
    background: var(--neo-obsidian);
}

/* Gradient fade at bottom of banner into content */
.share-modal-banner-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--neo-obsidian-light));
    pointer-events: none;
    z-index: 2;
}

/* Title bar below banner */
.share-modal-banner-title-bar {
    padding: 10px 18px 8px;
    position: relative;
    z-index: 2;
}

.share-modal-banner-title {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--neo-amber);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 20px rgba(255, 191, 0, 0.15);
}

/* =========================================================================
   Content Area
   ========================================================================= */

.share-modal-content {
    padding: 18px 24px 22px;
    position: relative;
    z-index: 2;
}

/* =========================================================================
   Status Bar
   ========================================================================= */

.share-modal-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--neo-border-dim);
}

.share-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.share-status-dot.published {
    background: #4caf50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
    animation: shareDotPulse 2.5s ease-in-out infinite;
}

@keyframes shareDotPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 12px rgba(76, 175, 80, 0.8); }
}

.share-status-dot.unpublished {
    background: #555;
}

.share-status-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    flex: 1;
}

.share-status-label.published {
    color: #4caf50;
}

.share-status-label.unpublished {
    color: var(--neo-text-dim);
}

.share-fork-notice {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: var(--neo-text-dim);
    margin-left: auto;
}

/* Toggle Switch */
.share-toggle {
    position: relative;
    width: 36px;
    height: 18px;
    flex-shrink: 0;
}

.share-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.share-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--neo-obsidian);
    border: 1px solid #333;
    border-radius: 9px;
    transition: all 0.3s;
}

.share-toggle-slider::before {
    content: '';
    position: absolute;
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background: #555;
    border-radius: 50%;
    transition: all 0.3s;
}

.share-toggle input:checked + .share-toggle-slider {
    border-color: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.share-toggle input:checked + .share-toggle-slider::before {
    transform: translateX(18px);
    background: #4caf50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.share-toggle input:focus-visible + .share-toggle-slider {
    outline: 2px solid var(--neo-amber);
    outline-offset: 2px;
}

/* =========================================================================
   Share Code Block
   ========================================================================= */

.share-code-section {
    margin-bottom: 18px;
}

.share-code-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--neo-text-dim);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.share-code-display {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--neo-amber);
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 191, 0, 0.25);
}

.share-url-row {
    display: flex;
    gap: 0;
}

.share-url-input {
    flex: 1;
    background: var(--neo-obsidian);
    border: 1px solid #333;
    border-right: none;
    color: var(--neo-text-dim);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 8px 12px;
    outline: none;
    min-width: 0;
}

.share-url-input:focus {
    border-color: var(--neo-border);
}

.share-copy-btn {
    background: var(--neo-obsidian);
    border: 1px solid #333;
    color: var(--neo-text-dim);
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.share-copy-btn:hover {
    color: var(--neo-amber);
    border-color: var(--neo-amber);
    background: rgba(255, 191, 0, 0.04);
}

.share-copy-btn.copied {
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.4);
}

/* =========================================================================
   Description Area
   ========================================================================= */

.share-desc-section {
    margin-bottom: 18px;
}

.share-desc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.share-desc-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--neo-text-dim);
    text-transform: uppercase;
}

.share-desc-actions {
    display: flex;
    gap: 8px;
}

.share-desc-btn {
    background: none;
    border: 1px solid #333;
    color: var(--neo-text-dim);
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 5px 12px;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.2s, border-color 0.2s;
}

.share-desc-btn:hover {
    color: var(--neo-amber);
    border-color: var(--neo-amber);
}

.share-desc-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.share-desc-btn.loading {
    color: var(--neo-text-dim);
    border-color: #333;
}

.share-desc-textarea {
    width: 100%;
    min-height: 80px;
    background: var(--neo-obsidian);
    border: 1px solid #2a2a2a;
    color: var(--neo-text);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 10px 12px;
    resize: none;
    overflow: hidden;
    outline: none;
    transition: border-color 0.2s;
}

.share-desc-textarea:focus {
    border-color: var(--neo-amber);
    box-shadow: 0 0 0 1px rgba(255, 191, 0, 0.1);
}

.share-desc-textarea:read-only {
    cursor: default;
    color: var(--neo-text-dim);
}

.share-desc-textarea.placeholder {
    border-style: dashed;
    color: var(--text-dim);
}

.share-desc-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.share-desc-counter {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--neo-text-dim);
}

.share-desc-counter.warning {
    color: var(--neo-amber);
}

.share-desc-counter.over {
    color: #f44336;
}

.share-desc-counter.saved {
    color: #4caf50;
    letter-spacing: 2px;
}

/* =========================================================================
   Unpublish Confirmation
   ========================================================================= */

.share-unpublish-confirm {
    background: var(--neo-obsidian);
    border: 1px solid var(--neo-amber);
    padding: 14px;
    margin-bottom: 16px;
}

.share-confirm-text {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--neo-text);
    line-height: 1.5;
    margin-bottom: 12px;
}

.share-confirm-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.share-confirm-btn {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 6px 14px;
    cursor: pointer;
    border: 1px solid #333;
    background: none;
    color: var(--neo-text-dim);
    transition: color 0.2s, border-color 0.2s;
}

.share-confirm-btn:hover {
    color: var(--neo-text-bright);
    border-color: var(--neo-border);
}

.share-confirm-btn.danger {
    color: #f44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.share-confirm-btn.danger:hover {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.08);
}

/* =========================================================================
   Stats Row
   ========================================================================= */

.share-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.share-stat-box {
    flex: 1;
    background: var(--neo-obsidian);
    border: 1px solid #1e1e1e;
    border-top: 2px solid var(--neo-amber);
    padding: 14px 8px 12px;
    text-align: center;
}

.share-stat-number {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neo-amber);
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 12px rgba(255, 191, 0, 0.2);
}

.share-stat-label {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    color: var(--neo-text-dim);
    text-transform: uppercase;
}

/* =========================================================================
   Action Buttons
   ========================================================================= */

.share-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.share-btn-publish {
    width: 100%;
    background: var(--neo-amber);
    color: var(--neo-obsidian);
    border: none;
    padding: 14px 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.share-btn-publish:hover {
    background: #ffd040;
    box-shadow: 0 0 20px rgba(255, 191, 0, 0.2);
}

.share-btn-publish:active {
    transform: scale(0.98);
}

.share-btn-publish:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.share-btn-preview {
    width: 100%;
    background: transparent;
    color: var(--neo-text-dim);
    border: 1px solid #333;
    padding: 12px 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.2s, border-color 0.2s;
}

.share-btn-preview:hover {
    color: var(--neo-amber);
    border-color: var(--neo-amber);
}

/* =========================================================================
   Hint Text
   ========================================================================= */

.share-hint {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-top: 14px;
    text-align: center;
}

/* =========================================================================
   Danger Zone
   ========================================================================= */

.share-danger-zone {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(244, 67, 54, 0.15);
}

.share-danger-delete-btn {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 8px 16px;
    cursor: pointer;
    border: 1px solid rgba(244, 67, 54, 0.3);
    background: none;
    color: #f44336;
    width: 100%;
    transition: border-color 0.2s, background 0.2s;
}

.share-danger-delete-btn:hover {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.08);
}

/* Confirmation overlay (separate modal on top of share modal) */
.share-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.share-confirm-modal {
    background: var(--neo-obsidian);
    border: 1px solid #f44336;
    padding: 20px;
    max-width: 420px;
    width: 90%;
}

/* =========================================================================
   Loading State
   ========================================================================= */

.share-modal-loading {
    text-align: center;
    padding: 60px 24px;
    color: var(--neo-text-dim);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.share-loading-dots::after {
    content: '';
    animation: shareLoadingDots 1.2s steps(4, end) infinite;
}

@keyframes shareLoadingDots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
}

/* =========================================================================
   Error State
   ========================================================================= */

.share-modal-error {
    text-align: center;
    padding: 40px 24px;
    color: #f44336;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* =========================================================================
   Mobile Responsive
   ========================================================================= */

@media (max-width: 768px) {
    .share-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .share-modal {
        max-width: 100%;
        max-height: 95vh;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .share-modal-banner {
        height: 120px;
    }

    .share-modal-banner-wrapper {
        max-height: 170px;
    }

    .share-modal-banner-wrapper .entity-image-container,
    .share-modal-banner-wrapper .entity-image {
        height: 170px;
    }

    .share-modal-banner-title {
        font-size: 1rem;
    }

    .share-code-display {
        font-size: 1.1rem;
    }

    /* Mobile touch targets - minimum 44px */
    .share-modal-close {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .share-desc-btn {
        padding: 10px 14px;
        font-size: 0.65rem;
    }

    .share-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .share-stat-box {
        padding: 10px 6px 8px;
    }

    .share-stat-number {
        font-size: 1.1rem;
    }
}

/* =========================================================================
   Share Trigger Button (header/sidebar)
   ========================================================================= */

.share-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1px solid var(--neo-amber);
    cursor: pointer;
    background: rgba(255, 191, 0, 0.04);
    font-family: 'Courier New', monospace;
    transition: background 0.2s, border-color 0.2s;
}
.share-btn:hover:not(:disabled) {
    background: rgba(255, 191, 0, 0.1);
}
.share-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #555;
}
.share-btn:disabled .share-icon,
.share-btn:disabled .share-label {
    color: var(--text-dim);
}
.share-icon { font-size: 11px; color: var(--neo-amber); }
.share-label { color: var(--neo-amber); font-size: 9px; letter-spacing: 1px; }
@media (max-width: 768px) {
    .share-btn#share-world-btn { display: none !important; }
    .share-btn#game-share-world-btn { display: none !important; }
}
.share-hamburger-item { color: var(--neo-amber) !important; }
.share-hamburger-item:disabled { opacity: 0.4; color: var(--text-dim) !important; }

/* =========================================================================
   Premade Characters
   ========================================================================= */

.share-premade-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 8px;
    padding-top: 12px;
    border-top: 1px solid var(--neo-border);
}

.share-premade-header .share-section-divider {
    margin: 0;
    padding: 0;
    border: none;
}

.share-section-divider {
    color: var(--neo-text-dim);
    font-family: 'Courier New', monospace;
    font-size: 10px;
    letter-spacing: 1px;
}

.share-premade-count-badge {
    display: inline-block;
    background: rgba(255, 191, 0, 0.1);
    padding: 1px 4px;
    border: 1px solid rgba(255, 191, 0, 0.2);
    font-size: 8px;
    margin-left: 4px;
}

.share-premade-manage-link {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(255, 191, 0, 0.5);
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 191, 0, 0.2);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}

.share-premade-manage-link:hover {
    color: var(--neo-amber);
    border-bottom-color: var(--neo-amber);
}

.share-premade-section {
    margin-bottom: 12px;
}

.share-premade-loading,
.share-premade-empty {
    color: var(--neo-text-dim);
    font-family: 'Courier New', monospace;
    font-size: 11px;
    text-align: center;
    padding: 8px;
}

.share-premade-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 8px 0;
}

.share-premade-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid rgba(255, 191, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-premade-card:hover {
    border-color: var(--neo-amber);
    box-shadow: 0 0 20px rgba(255, 191, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.share-premade-card-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.share-premade-card:hover .share-premade-card-bg {
    transform: scale(1.05);
}

.share-premade-card-icon {
    font-size: 28px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.share-premade-card:hover .share-premade-card-icon {
    opacity: 0.6;
}

.share-premade-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    padding: 20px 8px 6px;
    transition: padding-bottom 0.3s;
}

.share-premade-card:hover .share-premade-card-info {
    padding-bottom: 8px;
}

.share-premade-card-name {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: bold;
    color: #ebe6dc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.share-premade-card:hover .share-premade-card-name {
    color: var(--neo-amber);
}

.share-premade-card-class {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    color: rgba(235, 230, 220, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================================
   Section Status Indicators (replaces text checklist)
   ========================================================================= */

.share-section {
    border-left: 2px solid transparent;
    padding-left: 12px;
    transition: border-color 0.3s;
}

.share-section.share-section-ready {
    border-left-color: #4caf50;
}

.share-section.share-section-missing {
    border-left-color: rgba(244, 67, 54, 0.4);
}

.share-section-optional {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: var(--neo-text-dim);
    opacity: 0.5;
    margin-left: 6px;
    vertical-align: middle;
}

/* =========================================================================
   Opening Narration Section
   ========================================================================= */

.share-opening-section {
    margin-bottom: 18px;
}

.share-opening-mode {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.share-opening-mode-option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    color: var(--neo-text-dim);
}

.share-opening-mode-option input[type="radio"] {
    accent-color: var(--neo-amber);
    margin: 0;
}

.share-opening-mode-label {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--neo-text);
    letter-spacing: 0.5px;
}

.share-opening-mode-hint {
    width: 100%;
    font-size: 9px;
    color: var(--text-dim);
    margin-left: 18px;
    letter-spacing: 0.3px;
}

.share-opening-textarea {
    width: 100%;
    min-height: 120px;
    background: var(--neo-obsidian);
    border: 1px solid #2a2a28;
    color: var(--neo-text);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 10px;
    resize: none;
    overflow: hidden;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.share-opening-textarea:focus {
    border-color: var(--neo-amber);
    box-shadow: 0 0 0 1px rgba(255, 191, 0, 0.1);
    outline: none;
}

.share-opening-textarea::placeholder {
    color: var(--text-dim);
}

.share-opening-save-status {
    font-size: 10px;
    color: var(--neo-amber);
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .share-premade-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .share-modal {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        position: fixed;
        inset: 0;
        border: none;
    }

    .share-opening-mode {
        flex-direction: column;
        gap: 6px;
    }
}

