/* W-11 산책 후기 상세 — 헤더·프론트와 동일 1080px 정렬 */
.dw-w11-page .dw-w11 {
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px 24px 48px;
	box-sizing: border-box;
}

/* W-09 아바타·디폴트 썸네일 (상세에서 재사용) */
.dw-w11-page .dw-w09-card-av-img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.dw-w11-page .dw-w09-card-av-fallback {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
}

.dw-w11-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.dw-w11-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.dw-w11-edit-link {
	font-size: 13px;
	color: #555;
	text-decoration: none;
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 16px;
}

.dw-w11-edit-link:hover {
	border-color: #2d5016;
	color: #2d5016;
}

.dw-w11-report-link {
	font-size: 12px;
	color: #bbb;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin-left: 8px;
}

.dw-w11-report-link:hover {
	color: #c0392b;
}

.dw-w11-author {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.dw-w11-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dw-w11-nick {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.dw-w11-date {
	font-size: 12px;
	color: #999;
}

.dw-w11-badge {
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 20px;
	font-weight: 500;
	flex-shrink: 0;
}

.dw-w11-badge--is-public {
	background: #eaf3de;
	color: #27500a;
}

.dw-w11-badge--is-neighbors {
	background: #eee;
	color: #555;
}

.dw-w11-badge--is-private {
	background: #fdeaea;
	color: #a32d2d;
}

.dw-w11-title {
	font-size: 22px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 12px;
	line-height: 1.45;
	letter-spacing: -0.4px;
}

.dw-linked-meetup-badge {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 12px;
	background: #eaf3de;
	border-radius: 20px;
	font-size: 13px;
	margin: 0 0 20px;
}

.dw-badge-label {
	color: #2d5016;
	font-weight: 500;
}

.dw-badge-link {
	color: #2d5016;
	font-weight: 600;
	text-decoration: none;
}

.dw-badge-link:hover {
	text-decoration: underline;
}

.dw-w11-locked {
	text-align: center;
	padding: 40px 20px;
	border: 1px dashed #e0e0e0;
	border-radius: 12px;
	margin-bottom: 24px;
}

.dw-w11-locked-icon {
	font-size: 36px;
	margin: 0 0 8px;
}

.dw-w11-locked-title {
	font-size: 17px;
	margin: 0 0 8px;
}

.dw-w11-locked-text {
	color: #888;
	font-size: 14px;
	margin: 0 0 16px;
}

.dw-w11-locked-btn {
	display: inline-block;
	padding: 10px 22px;
	background: #2d5016;
	color: #fff;
	border-radius: 20px;
	text-decoration: none;
	font-size: 14px;
}

.dw-w11-route-section {
	margin-bottom: 16px;
}

.dw-w11-route-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin: 0 0 8px;
	letter-spacing: -0.2px;
}

.dw-w11-map {
	width: 100%;
	height: 280px;
	border-radius: 12px;
	border: 1px solid #ebebeb;
	overflow: hidden;
}

.dw-w11-map-fallback {
	height: 200px;
	border-radius: 12px;
	border: 1px solid #ebebeb;
	background: linear-gradient(160deg, #eaf3de 0%, #e6f1fb 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.dw-w11-map-fallback-inner {
	text-align: center;
	max-width: 100%;
}

.dw-w11-map-pin {
	font-size: 32px;
	display: block;
	margin-bottom: 8px;
}

.dw-w11-map-route {
	font-size: 13px;
	color: #333;
	line-height: 1.5;
	margin: 0 0 6px;
	word-break: keep-all;
}

.dw-w11-map-hint {
	font-size: 11px;
	color: #888;
	margin: 0;
}

.dw-w11-route-text {
	font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
	font-size: 14px;
	color: #3b6d11;
	background: #eaf3de;
	padding: 10px 14px;
	border-radius: 8px;
	margin: 0;
	line-height: 1.6;
	word-break: keep-all;
	letter-spacing: -0.2px;
}

.dw-w11-route-pin {
	margin-right: 2px;
}

.dw-w11-route-sep {
	color: #6b8f4a;
	font-weight: 400;
}

.dw-w11-route-poi {
	display: inline;
	padding: 1px 4px;
	margin: 0;
	border: none;
	background: transparent;
	font: inherit;
	font-weight: 700;
	color: #2d5016;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
	border-radius: 4px;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.dw-w11-route-poi:hover,
.dw-w11-route-poi:focus-visible {
	color: #1a3a0c;
	background-color: #d4e8bc;
	outline: none;
	box-shadow: none;
}

.dw-w11-route-poi-emoji {
	margin-right: 3px;
}

.dw-w11-kakao-modal {
	align-items: center;
	padding: 24px 16px;
	overflow: hidden;
}

.dw-w11-kakao-modal .dw-w11-modal-panel.dw-w11-kakao-panel {
	display: flex;
	flex-direction: column;
	max-width: min(86.4vw, 972px);
	width: 100%;
	max-height: calc(100vh - 48px);
	overflow: hidden;
	padding: 20px 28px 20px;
	text-align: left;
	font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
	letter-spacing: -0.2px;
	box-sizing: border-box;
}

.dw-w11-kakao-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-shrink: 0;
	padding-bottom: 14px;
	margin-bottom: 4px;
	border-bottom: 1px solid #e8ebe4;
	position: relative;
	z-index: 5;
}

.dw-w11-kakao-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-right: 4px;
	padding-top: 12px;
	padding-bottom: 8px;
}

.dw-w11-kakao-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-shrink: 0;
	border: 1px solid #c0dd97;
	background: #eaf3de;
	color: #2d5016;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 20px;
	cursor: pointer;
	font-family: inherit;
	line-height: 1;
	box-shadow: 0 1px 4px rgba(45, 80, 22, 0.12);
}

.dw-w11-kakao-close:hover,
.dw-w11-kakao-close:focus-visible {
	background: #d4e8bc;
	border-color: #2d5016;
	color: #1a3a0c;
	outline: none;
}

.dw-w11-kakao-close-icon {
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.dw-w11-kakao-close-label {
	font-size: 13px;
}

.dw-w11-kakao-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 18px;
	font-weight: 700;
	color: #2d5016;
	margin: 0;
	padding-top: 4px;
	line-height: 1.45;
	word-break: keep-all;
	letter-spacing: -0.3px;
}

.dw-w11-kakao-map-wrap {
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e8e8e8;
	background: #f7f7f7;
}

.dw-w11-kakao-iframe {
	display: block;
	width: 100%;
	height: min(62vh, 520px);
	min-height: 360px;
	border: none;
}

.dw-w11-kakao-hint {
	font-size: 13px;
	color: #666;
	margin: 14px 0 10px;
	line-height: 1.55;
}

.dw-w11-kakao-external {
	display: inline-block;
	font-size: 14px;
	color: #2d5016;
	font-weight: 600;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 20px;
	background: #eaf3de;
}

.dw-w11-kakao-external:hover {
	background: #d4e8bc;
	color: #1a3a0c;
	text-decoration: none;
}

@media (max-width: 768px) {
	.dw-w11-kakao-modal .dw-w11-modal-panel.dw-w11-kakao-panel {
		max-width: min(90vw, 972px);
		padding: 16px;
		max-height: calc(100vh - 32px);
	}

	.dw-w11-kakao-header {
		padding-bottom: 12px;
	}

	.dw-w11-kakao-iframe {
		min-height: 280px;
		height: min(55vh, 420px);
	}

	.dw-w11-kakao-title {
		font-size: 16px;
	}

	.dw-w11-kakao-close {
		padding: 7px 12px;
	}

	.dw-w11-kakao-close-label {
		display: none;
	}

	.dw-w11-kakao-close-icon {
		font-size: 22px;
	}
}

.dw-w11-meta-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 12px 14px;
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #555;
}

.dw-w11-meta-item strong {
	color: #888;
	font-weight: 500;
	margin-right: 4px;
}

.dw-w11-weather-icon {
	margin-right: 2px;
}

.dw-w11-gallery {
	margin-bottom: 24px;
}

.dw-w11-gallery-track {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #ebebeb;
	aspect-ratio: 4 / 3;
	background: #f5f5f5;
}

.dw-w11-gallery-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
	margin: 0;
}

.dw-w11-gallery-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.dw-w11-gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dw-w11-gallery-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 10px;
}

.dw-w11-gallery-btn {
	width: 36px;
	height: 36px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}

.dw-w11-gallery-dots {
	display: flex;
	gap: 6px;
}

.dw-w11-gallery-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: #ddd;
	padding: 0;
	cursor: pointer;
}

.dw-w11-gallery-dot.is-active {
	background: #2d5016;
}

.dw-w11-content {
	font-size: 15px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 20px;
}

.dw-w11-content p {
	margin: 0 0 1em;
}

.dw-w11-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.dw-w11-tag {
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 20px;
	background: #eaf3de;
	color: #27500a;
	text-decoration: none;
}

.dw-w11-react {
	display: flex;
	gap: 10px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #f0f0f0;
}

.dw-w11-react-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 24px;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
	color: #555;
}

.dw-w11-react-btn.is-active {
	border-color: #c0dd97;
	background: #eaf3de;
	color: #27500a;
}

.dw-w11-react-like.is-active {
	color: #c62828;
}

.dw-w11-comments-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 16px;
}

.dw-w11-comment-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.dw-w11-comment {
	margin-bottom: 16px;
}

.dw-w11-comment-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 6px;
	font-size: 12px;
	color: #999;
}

.dw-w11-comment-author {
	font-style: normal;
	font-weight: 600;
	color: #333;
}

.dw-w11-comment-content {
	font-size: 14px;
	line-height: 1.6;
	color: #444;
}

.dw-w11-comment-form textarea {
	width: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px;
	font-family: inherit;
	font-size: 14px;
	box-sizing: border-box;
}

.dw-w11-comment-submit {
	margin-top: 8px;
	padding: 10px 20px;
	background: #2d5016;
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
}

.dw-w11-modal[hidden] {
	display: none !important;
}

.dw-w11-modal {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.dw-w11-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.dw-w11-modal-panel {
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 28px 24px;
	max-width: 320px;
	width: 100%;
	text-align: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.dw-w11-modal-title {
	font-size: 17px;
	margin: 0 0 8px;
}

.dw-w11-modal-text {
	font-size: 14px;
	color: #777;
	margin: 0 0 18px;
}

.dw-w11-modal-btn {
	display: inline-block;
	padding: 10px 24px;
	background: #2d5016;
	color: #fff;
	border-radius: 20px;
	text-decoration: none;
	margin-bottom: 10px;
}

.dw-w11-modal-close {
	display: block;
	width: 100%;
	border: none;
	background: none;
	color: #999;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

@media (max-width: 768px) {
	.dw-w11-page .dw-w11 {
		padding-left: 16px;
		padding-right: 16px;
	}
}
