/* 동네산책 — 프로필 W-05 / 회원정보 수정 W-06 */

body.dw-um--user,
body.dw-um--account,
body.dw-prf-edit-page{
	min-height:100vh;
	display:flex;
	flex-direction:column;
}
body.dw-um--user .dw-hd,
body.dw-um--account .dw-hd,
body.dw-prf-edit-page .dw-hd{flex-shrink:0}
body.dw-um--user .dw-um-wrap,
body.dw-um--account .dw-um-wrap,
body.dw-prf-edit-page .dw-um-wrap{
	flex:1 0 auto;
	width:100%;
	max-width:1080px;
	margin:0 auto;
	padding:24px 24px 48px;
}
body.dw-um--user .dw-ft,
body.dw-um--account .dw-ft,
body.dw-prf-edit-page .dw-ft{
	flex-shrink:0;
	margin-top:auto;
}

body.dw-um--user .site-header,
body.dw-um--user .site-footer,
body.dw-um--user .entry-header,
body.dw-um--account .site-header,
body.dw-um--account .site-footer,
body.dw-prf-edit-page .site-header,
body.dw-prf-edit-page .site-footer{
	display:none!important;
}

/* UM 기본 프로필 UI 숨김 (W-05로 대체) */
body.dw-um--user .dw-um-wrap .um.um-profile{
	display:none!important;
}

/* —— W-05 프로필 —— */
.dw-prf{
	font-family:inherit;
	color:#1a1a1a;
}

.dw-prf-notice{
	margin:0 0 16px;
	padding:12px 16px;
	border-radius:10px;
	font-size:14px;
}
.dw-prf-notice--ok{
	background:#EAF3DE;
	color:#2D5016;
}
.dw-prf-notice--err{
	background:#fdeaea;
	color:#a33;
}

.dw-prf-hero{
	background:#fff;
	border:1px solid #e8e8e8;
	border-radius:16px;
	padding:28px 24px;
	margin-bottom:0;
}
.dw-prf-hero--compact .dw-prf-hero-inner{
	align-items:center;
}
.dw-prf-hero--compact .dw-prf-av{
	width:72px;
	height:72px;
}
.dw-prf-hero--compact .dw-prf-av-char{
	font-size:28px;
}
.dw-prf-hero-actions{
	margin-left:auto;
	flex-shrink:0;
}
.dw-prf-btn--sm{
	padding:10px 18px;
	font-size:13px;
}
.dw-prf-hero-inner{
	display:flex;
	gap:20px;
	align-items:flex-start;
}
.dw-prf-av{
	width:88px;
	height:88px;
	border-radius:50%;
	flex-shrink:0;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#EAF3DE;
	color:#27500A;
}
.dw-prf-av-char{
	font-size:36px;
	font-weight:600;
	line-height:1;
}
.dw-prf-name{
	margin:0 0 6px;
	font-size:26px;
	font-weight:600;
	letter-spacing:-0.5px;
}
.dw-prf-loc{
	margin:0 0 8px;
	font-size:14px;
	color:#666;
}
.dw-prf-bio{
	margin:0 0 12px;
	font-size:15px;
	line-height:1.6;
	color:#444;
}
.dw-prf-badges{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}
.dw-prf-badge{
	display:inline-block;
	padding:4px 12px;
	border-radius:20px;
	font-size:12px;
	font-weight:500;
	background:#f5f5f5;
	color:#555;
}
.dw-prf-badge--inst{
	background:#FFF8E1;
	color:#B8860B;
}
.dw-prf-badge--pet{
	background:#EAF3DE;
	color:#2D5016;
}
.dw-prf-badge--count{
	background:#EEEDFE;
	color:#26215C;
}

/* 탭 (W-07 / W-09) */
.dw-prf-tabs{
	display:flex;
	gap:0;
	background:#F3F8EC;
	border:1px solid #D6E8BF;
	border-radius:12px 12px 0 0;
	overflow:hidden;
	margin-top:16px;
}
.dw-prf-tab{
	flex:1;
	text-align:center;
	padding:14px 12px;
	font-size:14px;
	font-weight:500;
	color:#5B6B4B;
	text-decoration:none;
	border-bottom:3px solid transparent;
}
.dw-prf-tab:hover{
	color:#2D5016;
	background:#EAF3DE;
}
.dw-prf-tab.is-active{
	color:#1F3D0F;
	border-bottom-color:#2D5016;
	background:#CFE3AE;
}
.dw-prf-panel{
	background:#fff;
	border:1px solid #e8e8e8;
	border-top:none;
	border-radius:0 0 12px 12px;
	padding:24px 22px;
	min-height:200px;
}
.dw-prf-section-title{
	margin:0 0 14px;
	font-size:16px;
	font-weight:600;
	color:#1a1a1a;
}
.dw-prf-section--intro .dw-prf-intro-text{
	font-size:15px;
	line-height:1.75;
	color:#333;
	white-space:pre-wrap;
}
.dw-prf-list{
	list-style:none;
	margin:0;
	padding:0;
}
.dw-prf-list-item{
	padding:14px 0;
	border-bottom:1px solid #f0f0f0;
}
.dw-prf-list-item:last-child{border-bottom:none}
.dw-prf-list-item a{
	text-decoration:none;
	color:inherit;
	display:block;
}
.dw-prf-list-item a:hover .dw-prf-list-title{color:#2D5016}
.dw-prf-list-date{
	font-size:12px;
	color:#888;
	margin-right:8px;
}
.dw-prf-list-title{
	font-size:15px;
	font-weight:500;
}
.dw-prf-list-excerpt{
	margin:6px 0 0;
	font-size:13px;
	color:#666;
	line-height:1.5;
}
.dw-prf-list-meta{
	margin-top:8px;
	font-size:12px;
	color:#888;
	display:flex;
	gap:12px;
}
.dw-prf-list-meta a{
	color:#2D5016;
	text-decoration:none;
}

.dw-prf-stats{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:12px;
	margin-bottom:16px;
}
.dw-prf-stat{
	background:#fff;
	border:1px solid #e8e8e8;
	border-radius:12px;
	padding:18px 12px;
	text-align:center;
}
.dw-prf-stat strong{
	display:block;
	font-size:22px;
	font-weight:600;
	color:#2D5016;
	margin-bottom:4px;
}
.dw-prf-stat span{
	font-size:12px;
	color:#888;
}

.dw-prf-section{
	background:#fff;
	border:1px solid #e8e8e8;
	border-radius:12px;
	padding:20px 22px;
	margin-bottom:16px;
}
.dw-prf-section-hd{
	margin-bottom:14px;
}
.dw-prf-section-hd h2{
	margin:0;
	font-size:16px;
	font-weight:600;
	color:#1a1a1a;
}

.dw-prf-privacy-list{
	list-style:none;
	margin:0;
	padding:0;
}
.dw-prf-privacy-list li{
	display:flex;
	align-items:center;
	gap:12px;
	padding:12px 0;
	border-bottom:1px solid #f0f0f0;
}
.dw-prf-privacy-list li:last-child{border-bottom:none}
.dw-prf-privacy-label{
	flex:1;
	font-size:14px;
	color:#333;
}
.dw-prf-privacy-val{
	font-size:14px;
	color:#2D5016;
	font-weight:500;
}
.dw-prf-privacy-edit{
	font-size:13px;
	color:#2D5016;
	text-decoration:none;
	font-weight:500;
}
.dw-prf-privacy-edit:hover{text-decoration:underline}

.dw-prf-walks{
	list-style:none;
	margin:0;
	padding:0;
}
.dw-prf-walk-item{
	padding:12px 0;
	border-bottom:1px solid #f0f0f0;
}
.dw-prf-walk-item:last-child{border-bottom:none}
.dw-prf-walk-item a{
	text-decoration:none;
	color:inherit;
	display:block;
}
.dw-prf-walk-item a:hover .dw-prf-walk-title{color:#2D5016}
.dw-prf-walk-date{
	display:inline-block;
	font-size:12px;
	color:#888;
	margin-right:8px;
}
.dw-prf-walk-title{
	font-size:15px;
	font-weight:500;
}
.dw-prf-walk-route{
	margin:6px 0 0;
	font-size:13px;
	color:#888;
}

.dw-prf-neighbors{
	display:grid;
	grid-template-columns:repeat(5,1fr);
	gap:12px;
}
.dw-prf-neighbor{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:6px;
	text-decoration:none;
	color:inherit;
}
.dw-prf-neighbor-av{
	width:48px;
	height:48px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:16px;
	font-weight:600;
}
.dw-prf-neighbor-name{
	font-size:11px;
	color:#666;
}

.dw-prf-muted{
	margin:0;
	font-size:14px;
	color:#888;
}
.dw-prf-empty{
	text-align:center;
	padding:40px 20px;
	color:#888;
}

.dw-prf-actions{
	display:flex;
	gap:12px;
	justify-content:center;
	flex-wrap:wrap;
	padding:8px 0 16px;
}
.dw-prf-neighbor-form{margin:0}
.dw-prf-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:14px 32px;
	border-radius:24px;
	font-family:inherit;
	font-size:15px;
	font-weight:500;
	text-decoration:none;
	border:1px solid transparent;
	cursor:pointer;
	transition:background .15s,color .15s;
}
.dw-prf-btn--primary{
	background:#3B6D11;
	color:#fff;
	border-color:#3B6D11;
}
.dw-prf-btn--primary:hover{
	background:#2D5016;
	border-color:#2D5016;
	color:#fff;
}
.dw-prf-btn--outline{
	background:#fff;
	color:#2D5016;
	border-color:#2D5016;
}
.dw-prf-btn--outline:hover{
	background:#EAF3DE;
}
.dw-prf-btn--disabled{
	background:#f0f0f0;
	color:#999;
	cursor:default;
}
.dw-prf-btn--full{width:100%}

/* —— W-06 회원정보 수정 —— */
.dw-prf-edit-head{
	margin-bottom:24px;
}
.dw-prf-edit-title{
	margin:0 0 8px;
	font-size:26px;
	font-weight:600;
}
.dw-prf-edit-desc{
	margin:0;
	font-size:15px;
	color:#666;
}

.dw-prf-edit-block{
	background:#fff;
	border:1px solid #e8e8e8;
	border-radius:12px;
	margin-bottom:16px;
	overflow:visible;
}
.dw-prf-edit-block-title{
	margin:0;
	padding:14px 20px;
	font-size:15px;
	font-weight:600;
	background:#EAF3DE;
	color:#2D5016;
	border-radius:11px 11px 0 0;
}

.dw-prf-edit-form .dw-prf-field{
	padding:18px 20px;
	border-bottom:1px solid #f0f0f0;
}
.dw-prf-edit-form .dw-prf-field:last-child{border-bottom:none}
.dw-prf-field label,
.dw-prf-field-label{
	display:block;
	font-size:14px;
	font-weight:600;
	color:#1a1a1a;
	margin-bottom:10px;
}
.dw-prf-input{
	width:100%;
	box-sizing:border-box;
	border:1px solid #e5e5e5;
	border-radius:12px;
	padding:14px 16px;
	font-family:inherit;
	font-size:15px;
	background:#faf8f5;
	color:#1a1a1a;
}
.dw-prf-input:focus{
	outline:none;
	border-color:#2D5016;
	background:#fff;
}
.dw-prf-input.is-readonly{
	background:#f0f0f0;
	color:#888;
	cursor:not-allowed;
}
.dw-prf-select{
	display:block;
	min-height:48px;
	line-height:1.5;
	padding:11px 40px 11px 16px;
	height:auto;
	background-color:#fff;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4 1 6 5.6 10.6 1 12 2.4 6 8.4 0 2.4z'/%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-position:right 14px center;
	background-size:12px 8px;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	cursor:pointer;
}
.dw-prf-select:focus{
	background-color:#fff;
}
.dw-prf-textarea{
	min-height:100px;
	resize:vertical;
}
.dw-prf-hint{
	margin:8px 0 0;
	font-size:12px;
	color:#888;
}
.dw-prf-field-row{
	display:flex;
	gap:10px;
}
.dw-prf-field-row .dw-prf-input{flex:1}

.dw-prf-toggles{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}
.dw-prf-toggle{
	position:relative;
	cursor:pointer;
}
.dw-prf-toggle input{
	position:absolute;
	opacity:0;
	width:0;
	height:0;
}
.dw-prf-toggle span{
	display:inline-block;
	padding:10px 16px;
	border-radius:20px;
	font-size:13px;
	font-weight:500;
	background:#f5f5f5;
	color:#555;
	border:1px solid #e8e8e8;
	transition:background .15s,color .15s,border-color .15s;
}
.dw-prf-toggle.is-on span,
.dw-prf-toggle input:checked + span{
	background:#EAF3DE;
	color:#2D5016;
	border-color:#C0DD97;
}
.dw-prf-toggle:hover span{
	border-color:#2D5016;
}

.dw-prf-edit-actions{
	padding:8px 0 24px;
}

.dw-prf-withdraw{
	margin-top:8px;
	padding:24px;
	border:1px solid #f0d0d0;
	border-radius:12px;
	background:#fffafa;
}
.dw-prf-withdraw-title{
	margin:0 0 8px;
	font-size:16px;
	font-weight:600;
	color:#a32d2d;
}
.dw-prf-withdraw-lead{
	margin:0 0 12px;
	font-size:13px;
	color:#666;
	line-height:1.5;
}
.dw-prf-withdraw-list{
	margin:0 0 16px;
	padding-left:18px;
	font-size:13px;
	color:#555;
	line-height:1.6;
}
.dw-prf-withdraw-check{
	display:flex;
	align-items:flex-start;
	gap:8px;
	margin-bottom:14px;
	font-size:13px;
	color:#444;
	line-height:1.5;
	cursor:pointer;
}
.dw-prf-withdraw-check input{
	margin-top:3px;
	flex-shrink:0;
}
.dw-prf-withdraw-password{
	margin-bottom:14px;
}
.dw-prf-withdraw-note{
	margin:0 0 14px;
	font-size:13px;
	color:#666;
	line-height:1.5;
}
.dw-prf-withdraw-cancel-form{
	margin-top:12px;
	text-align:center;
}
.dw-prf-withdraw-cancel-btn{
	padding:0;
	border:0;
	background:none;
	font-size:13px;
	color:#888;
	text-decoration:underline;
	cursor:pointer;
}
.dw-prf-withdraw-cancel-btn:hover{
	color:#2D5016;
}
.dw-prf-btn--secondary{
	background:#fff;
	border:1px solid #C0DD97;
	color:#2D5016;
}
.dw-prf-btn--secondary:hover{
	background:#f5faf0;
	border-color:#2D5016;
}
.dw-prf-btn--danger{
	background:#fff;
	border:1px solid #e8a0a0;
	color:#c0392b;
}
.dw-prf-btn--danger:hover{
	background:#fff5f5;
	border-color:#d46a6a;
	color:#a32d2d;
}

/* UM 계정 페이지 */
.dw-um-wrap .um-button,
.dw-um-wrap a.um-button,
.dw-um-wrap input[type=submit].um-button{
	background:#2D5016!important;
	border-color:#2D5016!important;
	color:#fff!important;
	border-radius:20px!important;
}

@media(max-width:768px){
body.dw-um--user .dw-um-wrap,
body.dw-prf-edit-page .dw-um-wrap{padding:16px 16px 36px}
.dw-prf-hero-inner{flex-direction:column;align-items:center;text-align:center}
.dw-prf-hero-actions{margin-left:0;margin-top:12px;width:100%}
.dw-prf-hero-actions .dw-prf-btn{width:100%}
.dw-prf-badges{justify-content:center}
.dw-prf-stats{grid-template-columns:repeat(2,1fr)}
.dw-prf-neighbors{grid-template-columns:repeat(4,1fr)}
.dw-prf-actions{flex-direction:column}
.dw-prf-btn{width:100%}
.dw-prf-toggles{flex-direction:column}
.dw-prf-toggle span{text-align:center;width:100%;box-sizing:border-box}
.dw-prf-tabs{flex-wrap:wrap}
.dw-prf-tab{flex:1 1 33%;font-size:13px;padding:12px 8px}
}
