/* 369오락실 커스텀 스타일 */

/* 로딩 스피너 스타일 */
.loading-spinner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(3);
    margin-top: 150px;
    width: 60px;
    height: 60px;
    background-image: url('https://redtea.kr/img/00_cat.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(1);
    z-index: 1000;
    display: none;
}

/* data-no-spinner 슬라이드에서는 스피너 완전 숨김 */
[data-no-spinner="true"].current ~ #loadingSpinner,
[data-no-spinner="true"].displayed ~ #loadingSpinner {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
p {
	font-weight: 400;
	font-size: 1.4em;
	margin: 0;
}

[data-type].slide::after,
.slide .ribbon {
	display: none !important;
}

/* 답안 현황 표시 스타일 */
.answer-results-container {
	width: 100%;
	height: 80vh;
	overflow-y: auto;
	padding: 1em;
}
.answer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px;
	font-size: 40px;
}
.answer-item {
	background: rgba(255,255,255,0.1);
	border-radius: 8px;
	padding: 8px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}
/* 정답 표시 제거 - 긴장감 유지를 위해 
.answer-item.correct {
	background: rgba(76, 175, 80, 0.3);
	border-color: #4CAF50;
	box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}
*/
.team-name {
	font-weight: bold;
	color: #FFD700;
	font-size: 0.7em;
	white-space: nowrap;
}
.team-answer {
	color: #fff;
	word-break: break-word;
	min-height: 1.5em;
	font-weight: normal;
	text-align: center;
    font-size: 0.9em;
}
.no-answer {
	color: #999;
	font-style: italic;
}
.results-header {
	text-align: center;
	margin-bottom: 1em;
	font-size: 0.8em;
	opacity: 0.8;
}

/* 마감 알림 레이어 스타일 */
.deadline-warning {
	position: fixed;
	top: 20px;
	right: 20px;
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
	color: white;
	padding: 15px 25px;
	border-radius: 10px;
	font-size: 1.2em;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(255, 107, 107, 0.5);
	z-index: 1000;
	opacity: 0;
	transform: translateX(100px);
	transition: all 0.5s ease;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.deadline-warning.show {
	opacity: 1;
	transform: translateX(0);
}

.deadline-warning::before {
	content: '⏰';
	margin-right: 8px;
}

/* 문제 타이틀 스타일 */
.question-title {
	font-size: 1.5em;
}

/* 메뉴 스타일 */
#menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

#menu h2 {
	color: #FFD700;
	font-size: 2.5rem;
	margin-bottom: 2rem;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 문제 메뉴 스타일 */
#questionMenu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

#questionMenu h2 {
	color: #FFD700;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin: 0 auto;
	width: 100%;
	padding: 1rem;
	overflow-y: auto;
	max-width: 96vw;
	max-height: 70vh;
}

.question-item {
	background: #444;
	border-radius: 15px;
	padding: 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	position: relative;
	overflow: hidden;
}

.question-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.3);
	background: #555;
}

.question-item.completed {
	background: #333;
}

.question-item.completed::after {
	content: '✅';
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 1.5rem;
}

.question-item.special {
	background: #2a2a2a;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.question-item.special:hover {
	background: #3a3a3a;
}

.question-item.special .question-number {
	font-size: 2.5rem;
	margin-bottom: 0;
	flex-shrink: 0;
}

.question-item.special .question-content {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	flex: 1;
}

.question-item.special .question-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 0.2rem;
}

.question-item.special .question-points {
	font-size: 0.9rem;
	opacity: 0.8;
}

.question-number {
	font-size: 1.5rem;
	font-weight: bold;
	color: #FFD700;
	margin-bottom: 0.5rem;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.question-title-preview, .question-title {
	color: white;
	font-size: 1rem;
	line-height: 1.4;
	opacity: 0.95;
}

.question-points {
	font-size: 1rem;
	color: rgba(255,255,255,0.8);
	font-weight: 500;
}

.back-item {
	background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
	border: 2px solid rgba(255,255,255,0.3);
}

.back-item:hover {
	background: linear-gradient(135deg, #5a6268 0%, #343a40 100%) !important;
	transform: translateY(-2px);
}

.menu-status {
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: rgba(255,255,255,0.5);
	font-size: 0.9rem;
}

.menu-close-hint {
	position: absolute;
	bottom: 20px;
	right: 20px;
	color: rgba(255,255,255,0.6);
	font-size: 1rem;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 1; }
}

@media (max-width: 768px) {
	.menu-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 1rem;
	}
	
	.question-item {
		padding: 1rem;
	}
	
	.question-number {
		font-size: 1.2rem;
	}
	
	.question-title-preview {
		font-size: 0.9rem;
	}
}

/* 팀 관리 메뉴 스타일 */
#teamMenu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10001;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	overflow: hidden;
}

#teamMenu h2 {
	color: #FFD700;
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.team-controls {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.team-control-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 10px;
	padding: 0.75rem 1.5rem;
	color: white;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.team-control-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.team-control-btn.active {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.score-toggle-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	background: #555;
	border: none;
	border-radius: 20px;
	padding: 8px 16px;
	color: white;
	font-size: 0.9rem;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
	z-index: 10;
}

.score-toggle-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#teamGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
	overflow-y: auto;
	max-height: calc(100vh - 100px);
	padding: 1rem;
	background: rgba(255,255,255,0.02);
	border-radius: 10px;
}

.team-item {
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
	border-radius: 10px;
	padding: 1rem;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	gap: 0;
	border: 1px solid rgba(255,255,255,0.1);
	transition: all 0.3s ease;
	position: relative;
	min-height: 80px;
}

.team-item:hover {
	background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(255,215,0,0.2);
}

.team-item .team-name {
	color: #FFD700;
	font-size: 1.1rem;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
	grid-column: 1;
	grid-row: 1;
	align-self: start;
}

.team-item .team-score {
	color: #ffffff;
	font-size: 1.3rem;
	font-weight: bold;
	text-align: left;
	padding: 0;
	border-radius: 5px;
	grid-column: 1;
	grid-row: 2;
	align-self: end;
	white-space: nowrap;
}

.score-buttons {
	display: none;
	flex-direction: column;
	gap: 2px;
	grid-row: 1 / -1;
	grid-column: 2;
	align-self: stretch;
}

.score-buttons.visible {
	display: flex;
}

.score-buttons button {
	background: #444;
	border: none;
	border-radius: 3px;
    padding: 0 .4em;
	color: white;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 0.7rem;
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.score-buttons button:hover {
	transform: scale(1.1);
	box-shadow: 0 2px 10px rgba(102,126,234,0.5);
}

.score-buttons button:active {
	transform: scale(0.95);
}

.team-menu-close-hint {
	position: fixed;
	bottom: 20px;
	right: 20px;
	color: rgba(255,255,255,0.6);
	font-size: 1rem;
	animation: pulse 2s infinite;
}

@media (max-width: 768px) {
	#teamGrid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 0.75rem;
	}
	
	.team-controls {
		gap: 0.5rem;
	}
	
	.team-control-btn {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}
}

/* 테스트 메뉴 스타일 */
#testMenu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10002;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

#testMenu h2 {
	color: #FFD700;
	font-size: 2.5rem;
	margin-bottom: 2rem;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.test-menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(18%, 1fr));
	gap: 1.5rem;
	max-width: 80%;
	margin: 0 auto;
	width: 100%;
	padding: 1rem;
	overflow-y: auto;
}

.test-button {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 12px;
	padding: 1.5rem;
	color: white;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.test-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.test-button.danger {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.test-button.success {
	background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
}

.test-button.warning {
	background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
}

.test-button small {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.8rem;
	opacity: 0.9;
}

.test-menu-close-hint {
	position: absolute;
	bottom: 20px;
	color: rgba(255,255,255,0.6);
	font-size: 1rem;
	animation: pulse 2s infinite;
}

@media (max-width: 768px) {
	.test-menu-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 1rem;
	}
	
	.test-button {
		min-height: 100px;
		padding: 1rem;
		font-size: 0.9rem;
	}
	
	#testMenu h2 {
		font-size: 1.8rem;
	}
}

/* 인라인 스타일을 클래스로 변환 */

/* 공통 컨테이너 */
.center-container {
	text-align: center;
	padding: 1em;
}

.center-container-lg {
	text-align: center;
	padding: 1em;
}

/* 문제 제목 */
.question-header {
	font-size: 1.5em;
	text-align: center;
	padding: 1em;
}

/* 정답 제목 */
.answer-header {
	font-size: 2em;
	text-align: center;
	padding: 1em;
}

/* 미디어 (이미지, 비디오) */
.media-content {
	max-width: 95vw;
	max-height: 60vh;
	border-radius: 10px;
}

.media-content-lg {
	max-width: 95vw;
	max-height: 70vh;
	object-fit: contain;
	border-radius: 10px;
}

/* 정답 텍스트 */
.correct-answer {
	color: #28a745;
	font-weight: bold;
}

/* 주의사항 텍스트 */
.notice-text {
	color: #ffadad;
	font-size: 0.9em;
	margin: 0;
}

.notice-text-lg {
	color: #ffa6a6;
	font-size: 1.1em;
	font-weight: bold;
}

/* 점수 아이템 */
.score-item {
	margin: 20px 0;
	padding: 15px;
	border-radius: 10px;
	background: rgba(255,255,255,0.1);
}

/* 객관식 그리드 */
.choice-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	margin: 0 auto;
}

.choice-grid-3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1em;
	margin: 0 auto;
}

.choice-item {
	text-align: left;
}

/* 대형 헤더 */
.large-header {
	font-size: 3em;
	margin-bottom: 1em;
	color: #FFD700;
	font-weight: 400;
}

.large-icon {
	font-size: 3em;
}

/* 황금색 텍스트 */
.gold-text {
	color: #FFD700;
	font-weight: bold;
}

/* 인포 텍스트 */
.info-text {
	font-size: 1.2em;
	margin-bottom: 2em;
}

.info-text-center {
	font-size: 1.2em;
	text-align: center;
	margin-top: 2em;
}

/* 버튼 스타일 */
.btn-large {
	display: inline-block;
	background: #FFD700;
	color: #000;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 10px;
	font-weight: bold;
	font-size: 18px;
	transition: transform 0.2s;
}

.btn-success {
	background: #28a745;
	color: white;
	border: none;
	padding: 10px 20px;
	margin-bottom: 10px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
}

/* 텍스트 영역 */
.textarea-styled {
	width: 80%;
	max-width: 600px;
	padding: 10px;
	font-size: 14px;
	border: 2px solid #FFD700;
	border-radius: 8px;
	background: #ffffff;
	color: #000000;
	font-family: Arial, sans-serif;
}

/* 플렉스 컨테이너 */
.flex-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* 마진 유틸리티 */
.mt-2 {
	margin-top: 1em;
}

.mt-3 {
	margin-top: 1.5em;
}

.mb-1 {
	margin-bottom: .5em;
}

.mb-2 {
	margin-bottom: 1em;
}

/* 팀 매칭 버튼 특별 스타일 */
.team-matching-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	border-radius: 15px;
	padding: 20px 40px;
	font-size: 1.2em;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 추가 유틸리티 클래스 */
.font-bold {
	font-weight: bold;
}

.font-size-12 {
	font-size: 2.2em;
	line-height: 1.6;
}

.center-mt-2 {
	text-align: center;
	margin-top: 2em;
}

.center-mt-3 {
	text-align: center;
	margin-top: 3em;
}

/* JavaScript에서 설정되는 인라인 스타일용 클래스 */
.hidden {
	display: none;
}

.grid-col-span {
	grid-column: 1/-1;
	text-align: center;
	padding: 2em;
	color: #999;
}

/* 좌석 배치도 스타일 */
.chair-container {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 4vh;
	height: 86vh;
	width: 70vw;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.section {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.8vw;
}

.group {
	display: grid;
	grid-template-rows: repeat(10, 1fr);
	gap: 0.5vh;
}
.group .row:nth-child(4) div,
.group .row:nth-child(5) div,
.group .row:nth-child(6) div {
	background: #d6effd;
    border-bottom: 0.1em solid #9cd0ed;
}

.row {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 0.3vw;
}

.chairs div {
    display: flex;
	width: 100% !important;
	height: 100%;
	border: 0;
	border-bottom: 0.1em solid #4697c6;
	border-top-left-radius: 0.1em;
	border-top-right-radius: 0.1em;
	background: #95d8ff;
	box-sizing: border-box;
	overflow: visible;
}

.chairs div.rm {
	background: #d49494 !important;
	border-color: #c75b5b !important;
}

.chairs span {
	position: relative;
	z-index: 1;
    color: #ffdf69;
    transform: scale(2.7);
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 1px 0 #000, 1px 0 0 #000, 1px 1px 0 #000, -1px 0 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
}

/* 마이그레이션된 CSS: 로고 컨테이너 및 리셋 버튼 */
.logo-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	position: relative;
}

.golden-logo {
	max-width: 80vw;
	max-height: 80vh;
	width: auto;
	height: auto;
}

.reset-button {
	position: absolute;
	bottom: 20px;
	right: 20px;
	padding: 10px 20px;
	background: #dc3545;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease;
}

.reset-button:hover {
	background: #c82333;
	transform: scale(1.05);
}

.reset-button:disabled {
	background: #6c757d;
	cursor: not-allowed;
	transform: none;
}

.reset-status {
	position: absolute;
	bottom: 60px;
	right: 20px;
	padding: 5px 10px;
	background: rgba(0,0,0,0.7);
	color: white;
	border-radius: 3px;
	font-size: 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.reset-status.show {
	opacity: 1;
}

/* 마이그레이션된 CSS: 슬라이드 콘텐츠 */
.slide-content {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 85vh;
}

.instruction {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	font-size: 1.2em;
	font-weight: bold;
	color: #FFF;
	padding: 0 0.1em;
	text-shadow: 2px 2px 10px #000;
	z-index: 10;
	background: rgba(0, 0, 0, .7);
}

/* 마이그레이션된 CSS: 의자 데모 애니메이션 */
.chair-demo-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 80vh;
}

.chair-demo {
	position: relative;
	width: 60vw;
	height: 60vh;
}

.demo-chair {
	position: absolute;
	width: 6vw;
	height: 8vh;
	background: #95d8ff;
	border: 0;
	border-bottom: 0.4rem solid #4697c6;
	border-top-left-radius: 0.6rem;
	border-top-right-radius: 0.6rem;
}

/* 각 의자별 애니메이션 */
.demo-chair:nth-child(1) { animation: chair1 3s ease-in-out infinite; }
.demo-chair:nth-child(2) { animation: chair2 3s ease-in-out infinite; }
.demo-chair:nth-child(3) { animation: chair3 3s ease-in-out infinite; }
.demo-chair:nth-child(4) { animation: chair4 3s ease-in-out infinite; }
.demo-chair:nth-child(5) { animation: chair5 3s ease-in-out infinite; }
.demo-chair:nth-child(6) { animation: chair6 3s ease-in-out infinite; }
.demo-chair:nth-child(7) { animation: chair7 3s ease-in-out infinite; }
.demo-chair:nth-child(8) { animation: chair8 3s ease-in-out infinite; }
.demo-chair:nth-child(9) { animation: chair9 3s ease-in-out infinite; }

/* 애니메이션 키프레임 */
@keyframes chair1 {
	0%, 20% { top: 10vh; left: 18vw; transform: rotate(0deg); }
	80%, 100% { top: 5vh; left: 8vw; transform: rotate(90deg); }
}
@keyframes chair2 {
	0%, 20% { top: 10vh; left: 27vw; transform: rotate(0deg); }
	80%, 100% { top: 18vh; left: 8vw; transform: rotate(90deg); }
}
@keyframes chair3 {
	0%, 20% { top: 10vh; left: 36vw; transform: rotate(0deg); }
	80%, 100% { top: 5vh; left: 46vw; transform: rotate(-90deg); }
}
@keyframes chair4 {
	0%, 20% { top: 20vh; left: 18vw; transform: rotate(0deg); }
	80%, 100% { top: 31vh; left: 8vw; transform: rotate(90deg); }
}
@keyframes chair5 {
	0%, 20% { top: 20vh; left: 27vw; transform: rotate(0deg); }
	80%, 100% { top: 18vh; left: 46vw; transform: rotate(-90deg); }
}
@keyframes chair6 {
	0%, 20% { top: 20vh; left: 36vw; transform: rotate(0deg); }
	80%, 100% { top: 31vh; left: 46vw; transform: rotate(-90deg); }
}
@keyframes chair7 {
	0%, 20% { top: 30vh; left: 18vw; transform: rotate(0deg); }
	80%, 100% { top: 45vh; left: 19vw; transform: rotate(0deg); }
}
@keyframes chair8 {
	0%, 20% { top: 30vh; left: 27vw; transform: rotate(0deg); }
	80%, 100% { top: 45vh; left: 27vw; transform: rotate(0deg); }
}
@keyframes chair9 {
	0%, 20% { top: 30vh; left: 36vw; transform: rotate(0deg); }
	80%, 100% { top: 45vh; left: 35vw; transform: rotate(0deg); }
}

/* 마이그레이션된 CSS: QR 코드 컨테이너 */
.qr-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 70vh;
	gap: 2rem;
}

.qr-image {
	width: auto;
	height: 60vh;
}

.qr-url {
	font-size: 1.5em;
	font-weight: bold;
	color: #4697c6;
	text-align: center;
	letter-spacing: 0.1em;
}

/* 사진용 대형 컨테이너 */
.photo-container-large {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 80vh;
	padding: 1em;
}

.photo-container-large img {
	min-height: 65vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* 최종 순위 발표 스타일 */
.ranking-item {
	margin: 2em 0;
}

.ranking-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5em;
}

.ranking-number {
	color: #FFD700 !important;
	font-size: 2.8em !important;
	font-weight: bold !important;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	margin: 0 !important;
	min-width: 1.5em;
}

.ranking-text {
	color: white !important;
	font-size: 3.2em !important;
	font-weight: bold !important;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
	margin: 0 !important;
}