/* tapshow_display.css */
.top-banner {background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); padding: 0.6rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.3);}
.site-title {font-size: 1.4rem; font-weight: 700; color: white; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.qr-code-banner {flex: 0 0 auto; display: flex; justify-content: center; align-items: center;}
.qr-code-banner img {width: 64px; height: 64px; background: white; padding: 5px; border-radius: 6px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2);}
.banner-right {flex: 0 0 auto; display: flex; justify-content: flex-end; gap: 0.5rem; flex-wrap: wrap;}
.search-panel {background: rgba(30, 60, 114, 0.95); padding: 1rem 2rem; display: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2);}
.search-panel.show {display: block;}
.search-box {display: flex; gap: 1rem; align-items: center;}
.search-box input {flex: 1; padding: 0.6rem 1rem; border: none; border-radius: 6px; font-size: 0.95rem;}
.filter-tags {display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap;}
.main-display {height: calc(100vh - 110px); margin: 0.75rem 1rem; border-radius: 12px; overflow: hidden; background: rgba(89, 154, 174, 0.835); position: relative;}
.tiles-view {padding: 2rem; height: 100%; overflow-y: auto; display: none;}
.tiles-view.active {display: block;}
.projects-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 100%; margin: 0 auto; padding: 1rem;}
.project-card {background: white; border-radius: 12px; padding: 0; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.2); overflow: hidden;}
.project-card:hover {transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.4);}
.project-header {padding: 1.5rem 2rem; margin: 0; border-radius: 0;}
.project-header.color-1 {background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);}
.project-header.color-2 {background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);}
.project-header.color-3 {background: linear-gradient(135deg, #0f9b8e 0%, #00d2be 100%);}
.project-header.color-4 {background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);}
.project-header.color-5 {background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);}
.project-header.color-6 {background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);}
.project-body {padding: 2rem;}
.project-title {font-size: 1.8rem; font-weight: 700; margin: 0; color: white; line-height: 1.2;}
.project-presenter {font-size: 1.15rem; color: #888; margin-bottom: 1rem; font-weight: 400; font-style: italic;}
.project-description {font-size: 1.1rem; color: #444; margin-bottom: 1.5rem; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;}
.project-tags {display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem;}
.project-tag-badge {background: #f0f0f0; color: #555; padding: 0.35rem 0.75rem; border-radius: 12px; font-size: 0.85rem; font-weight: 400; border: 1px solid #e0e0e0;}
.tiles-nav-row {display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding: 0 0.5rem;}
.tiles-pagination {display: flex; justify-content: center; gap: 0.75rem; align-items: center;}
.btn-tiles-nav {background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.4); padding: 0.5rem 1.25rem; border-radius: 8px; cursor: pointer; font-size: 1.1rem; transition: background 0.2s; white-space: nowrap;}
.btn-tiles-nav:hover {background: rgba(255,255,255,0.4);}
.fullscreen-view {height: 100%; display: none; align-items: center; justify-content: center; position: relative;}
.fullscreen-view.active {display: flex;}
.fullscreen-content {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
.fullscreen-content img {width: 100%; height: 100%; object-fit: contain;}
.fullscreen-content iframe {width: 100%; height: 100%; border: none;}
#youtubePlayerContainer {width: 100%; height: 100%;}
.contact-view {display: none; height: 100%; background: linear-gradient(135deg, #1e3c72 0%, #0f9b8e 100%); align-items: center; justify-content: center; padding: 1.5rem; overflow-y: auto;}
.contact-view.active {display: flex;}
.contact-content {text-align: center; color: white; max-width: 900px; width: 100%;}
.contact-title {font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: bold; margin-bottom: 0.75rem; line-height: 1.15; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);}
.contact-subtitle {font-size: clamp(1rem, 1.6vw, 1.4rem); margin-bottom: 1.5rem; font-weight: 300; opacity: 0.95;}
.contact-list {display: flex; flex-direction: column; gap: 1rem;}
.contact-item {background: rgba(255,255,255,0.15); padding: 0.9rem 1.5rem; border-radius: 12px; backdrop-filter: blur(10px);}
.contact-role {font-size: clamp(0.95rem, 1.3vw, 1.2rem); font-weight: 600; margin-bottom: 0.25rem; color: #fff3cd;}
.contact-name {font-size: clamp(1rem, 1.5vw, 1.35rem); font-weight: 300;}
