/* ==========================================
   STATIC FONTS & GLOBAL UI RESET
   ========================================== */

@font-face {
    font-family: 'Google Sans';
    src: url('../font/GoogleSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Google Sans';
    src: url('../font/GoogleSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Google Sans';
    src: url('../font/GoogleSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000000;
}

/* Global UI States */
.ui-visible {
    opacity: 1 !important;
}

.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================
   PREMIUM LUXURY DARK MODE CURTAIN
   ========================================== */

#tour-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 29, 31, 1); 
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: "Open Sans", "Google Sans", sans-serif;
    padding: 40px 24px 30px 24px;
    transition: background-color 2.0s ease-in-out,
                opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

#tour-curtain.revealed-bg {
    background-color: rgba(27, 29, 31, 0.70);
}

.curtain-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.project-credit {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    max-width: 90%;
    line-height: 1.6;
}

.fade-in-ui {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tour-name {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

.tour-name span {
    color: #ffffff; 
    display: block;
    font-size: 0.8rem;
    letter-spacing: 4px;
    margin-top: 16px;
    font-weight: 400;
}

.tour-date {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.tour-location {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 35px;
}

.tour-btn-tip {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 25px;
}

.enter-btn {
    padding: 14px 20px;
    font-size: 0.85rem;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 400;
    text-indent: 4px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Open Sans", "Google Sans", sans-serif;
    margin-bottom: 16px;
}

.enter-btn:hover {
    background-color: #ffffff;
    color: #131B19;
    letter-spacing: 2px;
    text-indent: 5px;
}

.submenu-container {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 260px;
    margin: auto;
}

.submenu-container .enter-btn {
    max-width: 100%;
}

.curtain-footer {
    position: absolute;
    bottom: 30px; 
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.disclaimer-container {
    width: 100%;
    border-top: 1px solid rgba(100, 100, 100, 0.3);
    padding-top: 20px;
}

.disclaimer-text {
    font-size: 0.7rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.8px;
    font-weight: 300;
}

/* ==========================================
   UNIVERSAL DYNAMIC MODAL SYSTEM
   ========================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-container {
    background-color: #1b1d1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: #ffffff;
    text-align: left;
    font-family: 'Google Sans', "Open Sans", sans-serif;
}

#modal-dynamic-body {
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 25px;
}

#modal-dynamic-body::-webkit-scrollbar {
    width: 4px;
}

#modal-dynamic-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

/* Unified Dynamic Body Styles */
#modal-dynamic-body h1,
#project-dynamic-body h1 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

#modal-dynamic-body h2,
#project-dynamic-body h2 {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
}

#modal-dynamic-body p, 
#modal-dynamic-body li,
#project-dynamic-body p, 
#project-dynamic-body li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 12px;
}

#modal-dynamic-body ul,
#project-dynamic-body ul {
    padding-left: 15px;
}

.modal-close-btn {
    align-self: flex-start;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-close-btn:hover {
    background-color: #ffffff;
    color: #1b1d1f;
    border-color: #ffffff;
}

/* Full Vertical Screen Viewport Rules */
.modal-container.full-vertical-modal {
    max-height: calc(100vh - 40px) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#project-modal .full-vertical-modal #project-dynamic-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.concept-image-wrapper {
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #131416;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
    cursor: default;
}

#concept-display-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transform-origin: center center;
    transition: transform 0.05s ease-out;
    user-select: none;
    -webkit-user-drag: none;
}

/* ==========================================
   FLOATING HUD & TRIGGER BUTTONS
   ========================================== */

#floating-tour-hud {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

#floating-tour-hud .floating-btn-wrapper {
    pointer-events: auto;
}

.hud-hidden {
    opacity: 0;
    visibility: hidden;
}

.hud-visible {
    opacity: 1;
    visibility: visible;
}

.floating-btn-wrapper {
    position: fixed;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-share {
    bottom: 34px;
}

.position-info {
    bottom: 98px; /* 24px base + 50px share button size + 14px gap spacing */
}

.position-menu {
    bottom: 162px; /* 88px middle + 50px info button size + 14px gap spacing */
}

#floating-menu-trigger, 
#floating-info-trigger, 
#floating-share-trigger {
    background: rgba(20, 22, 24, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s, border-color 0.3s, box-shadow 0.3s;
    display: block;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
}

#floating-menu-trigger:hover, 
#floating-info-trigger:hover, 
#floating-share-trigger:hover {
    background: rgba(20, 22, 24, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

#floating-menu-trigger:active, 
#floating-info-trigger:active, 
#floating-share-trigger:active {
    transform: scale(0.95);
}

/* Tooltip Engine */
.custom-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-family: "Open Sans", "Google Sans", sans-serif;
}

.floating-btn-wrapper:hover .custom-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================
   TOAST SYSTEM
   ========================================== */

#toast-notification {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 10000;
    background: #ffffff;
    color: #111111;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: "Open Sans", "Google Sans", sans-serif;
}

.toast-hidden {
    opacity: 0;
    transform: translateY(10px);
}

.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   VOICE OVER HUD & TRANSCRIPT DRAWER
   ========================================== */

#voice-assistant-hud {
    position: fixed;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 450px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

#voice-assistant-hud.hud-visible {
    opacity: 1;
    visibility: visible;
}

#voice-trigger-btn {
    pointer-events: auto;
    background: rgba(20, 22, 24, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 13px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: background 0.3s, transform 0.2s, border-color 0.3s;
    width: 52px;
    height: 52px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

#voice-trigger-btn:hover {
    background: rgba(20, 22, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.voice-svg {
    width: 20px;
    height: 20px;
    display: none;
}

#voice-trigger-btn.state-stopped .icon-play { display: block; }
#voice-trigger-btn.state-playing .icon-playing { display: block; }
#voice-trigger-btn.state-paused .icon-pause { display: block; }

#voice-trigger-btn.state-playing {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.2);
    animation: aiTalkingVibration 0.6s linear infinite alternate;
}

@keyframes aiTalkingVibration {
    0% { transform: scale(1.05); box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(0.98) rotate(-1deg); box-shadow: 0 0 4px rgba(255, 255, 255, 0.1); }
    100% { transform: scale(1.08) rotate(1deg); box-shadow: 0 0 16px rgba(255, 255, 255, 0.4); }
}

#voice-transcript-card {
    pointer-events: auto;
    width: calc(100% - 40px);
    background: rgba(15, 17, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 220px;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", "Google Sans", sans-serif;
}

.transcript-scroll-area {
    overflow-y: auto;
    padding-right: 8px;
    text-align: left;
}

.transcript-scroll-area::-webkit-scrollbar { width: 4px; }
.transcript-scroll-area::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 2px; }

.transcript-title { font-family: 'Google Sans', sans-serif; font-size: 0.9rem; font-weight: 500; color: #ffffff; letter-spacing: 1px; text-transform: uppercase; }
.transcript-subtitle { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 2px; font-style: italic; }
.transcript-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 10px 0; }
.transcript-heading { font-family: 'Google Sans', sans-serif; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.transcript-body { font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); line-height: 1.5; margin-bottom: 10px; -webkit-user-select: text; user-select: text; }

.transcript-hidden {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
    visibility: hidden;
    pointer-events: none;
    max-height: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: -16px;
}

.voice-btn-wrapper {
    position: relative;
    pointer-events: auto;
    display: flex;
    justify-content: center;
}

.voice-tooltip {
    right: auto;
    left: 50%;
    top: -38px;
    transform: translateX(-50%) translateY(10px);
}

.voice-btn-wrapper:hover .voice-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================
   HINT OVERLAY & ANIMATIONS
   ========================================== */

.hint-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hint-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.hint-container {
    text-align: center;
    color: #ffffff;
    font-family: inherit; 
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.7rem;
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.4)); 
}

.swipe-animation svg {
    width: 55px;
    height: 55px;
    stroke-width: 2.5;
    animation: museumDrag 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes museumDrag {
    0%, 100% { 
        transform: translateX(0) scale(1); 
        opacity: 0.9;
    }
    25% { 
        transform: translateX(-24px) scale(1.03); 
        opacity: 0.9;
    }
    50% {
        transform: translateX(0) scale(1);
        opacity: 0.9;
    }
    75% { 
        transform: translateX(24px) scale(1.03); 
        opacity: 0.9;
    }
}

.hint-text {
    margin-top: 16px;
    opacity: 0.8;
    animation: museumPulse 2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    font-family: 'Google Sans', "Open Sans", sans-serif;
}

@keyframes museumPulse {
    from { opacity: 0.4; letter-spacing: 2.5px; }
    to { opacity: 0.8; letter-spacing: 3.5px; }
}

@keyframes pulseText {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* ==========================================
   GALLERY INFO TRIGGER & ARTWORK PANEL
   ========================================== */

#gallery-info-trigger {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.info-svg {
    width: 18px;
    height: 18px;
    color: #000000;
    transition: color 0.25s ease;
}

.info-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #000000;
    transition: color 0.25s ease;
}

#gallery-info-trigger:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

#gallery-info-trigger:hover .info-svg,
#gallery-info-trigger:hover .info-text {
    color: #ffffff;
}

#gallery-info-trigger:active {
    transform: translateY(1px);
}

/* Artwork Detail Panel */
#artwork-detail-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    background: #ffffff;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    color: #000000;
    font-family: "Open Sans", "Google Sans", sans-serif;
    letter-spacing: -0.01em;
    box-shadow: 20px 0 50px rgba(0,0,0,0.02);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#artwork-detail-panel.panel-hidden {
    transform: translateX(-100%);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 35px 30px 35px;
}

.archive-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #999999;
    margin-bottom: 6px;
}

.panel-header h2 {
    margin: 0;
    font-family: "Open Sans", "Google Sans", sans-serif;
    font-size: 1.45rem;
    font-weight: 400;
}

.panel-close {
    background: none;
    border: none;
    color: #000000;
    font-size: 1.7rem;
    font-weight: 200;
    cursor: pointer;
    line-height: 0.5;
    padding: 5px;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.panel-close:hover {
    opacity: 1;
}

.panel-body {
    padding: 0 35px 40px 35px;
    overflow-y: auto;
    flex: 1;
}

.panel-body::-webkit-scrollbar {
    width: 4px;
}

.panel-body::-webkit-scrollbar-thumb {
    background: #eaeaea;
}

.artwork-card {
    margin-bottom: 50px;
}

.artwork-preview {
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    margin-bottom: 15px;
}

.artwork-preview img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.artwork-title {
    font-family: "Open Sans", "Google Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 14px 0;
}

.artwork-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 0;
    font-size: 0.8rem;
}

.spec-label {
    color: #999999;
}

.spec-value {
    color: #111111;
    font-weight: 400;
}

.price-row {
    margin-top: 4px;
    border-top: 1px dotted #eaeaea;
    padding-top: 8px;
}

.valuation {
    font-style: italic;
    color: #666666;
}

		/* ==========================================
		   MOBILE & TABLET STYLES (Up to 1024px)
		   ========================================== */

		/* Disable tooltips globally on mobile and tablet devices */
		@media (max-width: 1024px) {
		    .voice-btn-wrapper .voice-tooltip,
		    .voice-btn-wrapper .custom-tooltip,
		    #floating-tour-hud .custom-tooltip {
		        display: none !important;
		        opacity: 0 !important;
		        visibility: hidden !important;
		        pointer-events: none !important;
		    }
		}

		/* ==========================================
		   MOBILE-ONLY STYLES (Up to 768px)
		   ========================================== */

		@media (max-width: 768px) {
		    /* HUD visibility switch on transcript open */
		    body.hud-transcript-open #floating-tour-hud {
		        opacity: 0 !important;
		        visibility: hidden !important;
		        pointer-events: none !important;
		        transition: opacity 0.3s ease, visibility 0.3s ease;
		    }

		    /* Voice assistant & drawer adjustments */
		    #voice-assistant-hud { 
		        bottom: 34px; 
		        max-width: 90%; 
		    }
		    
		    #voice-transcript-card { 
		        max-height: 180px; 
		    }
		    
		    body:not(:has(#artwork-detail-panel.panel-hidden)) #voice-assistant-hud { 
		        display: none !important; 
		    }

		    /* Hide tooltips when the artwork panel slides open */
		    body:not(:has(#artwork-detail-panel.panel-hidden)) .custom-tooltip {
		        display: none !important;
		        opacity: 0 !important;
		    }

		    /* Responsive Layout (Mobile: Bottom Drawer) */
		    #artwork-detail-panel {
		        top: auto;
		        bottom: 0;
		        width: 100%;
		        height: 75vh;
		        box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.04);
		        transform: translateY(0);
		    }

		    #artwork-detail-panel.panel-hidden {
		        transform: translateY(100%);
		    }

		    .panel-header {
		        padding: 30px 25px 20px 25px;
		    }

		    .panel-body {
		        padding: 0 25px 30px 25px;
		    }

		    #gallery-info-trigger {
		        top: 20px;
		        left: 20px;
		        padding: 8px 14px;
		    }
		}

		/* ==========================================
		   DESKTOP & LARGE SCREENS (768px and up)
		   ========================================== */

		@media (min-width: 768px) {
		    /* Modal & Dynamic Content Formatting */
		    .modal-container { 
		        padding: 40px; 
		    }

		    #modal-dynamic-body h1, 
		    #project-dynamic-body h1 { 
		        font-size: 1.5rem; 
		    }

		    #modal-dynamic-body h2, 
		    #project-dynamic-body h2 { 
		        font-size: 1.05rem; 
		    }

		    #modal-dynamic-body p, 
		    #modal-dynamic-body li, 
		    #project-dynamic-body p, 
		    #project-dynamic-body li { 
		        font-size: 0.85rem; 
		    }

		    /* Viewport Scaled Layout & Tour Curtain */
		    #tour-curtain {
		        z-index: 10000;
		        padding: 60px 40px 40px 40px;
		    }

		    .curtain-footer {
		        bottom: 40px;
		        width: calc(100% - 80px);
		    }

		    .project-credit {
		        font-size: 0.85rem;
		        letter-spacing: 4px;
		        margin-bottom: 35px;
		    }

		    .tour-name {
		        font-size: 2.8rem;
		        letter-spacing: 8px;
		    }

		    .tour-name span {
		        font-size: 0.9rem;
		        letter-spacing: 10px;
		    }

		    .tour-date {
		        font-size: 1rem;
		        letter-spacing: 3px;
		        margin-bottom: 8px;
		    }

		    .tour-location {
		        font-size: 0.85rem;
		        letter-spacing: 2px;
		        margin-bottom: 45px;
		    }

		    .tour-btn-tip {
		        font-size: 0.65rem;
		        letter-spacing: 2px;
		        margin-bottom: 55px;
		    }

		    .enter-btn {
		        font-size: 0.9rem;
		        letter-spacing: 5px;
		        text-indent: 5px;
		        max-width: 260px;
		    }

		    .enter-btn:hover {
		        letter-spacing: 6px;
		        text-indent: 6px;
		    }

		    .submenu-container {
		        max-width: 320px;
		    }

		    .disclaimer-text {
		        font-size: 0.75rem;
		    }
		}