미디어위키:Gadget-Timeless.css

식물 vs 좀비 위키
Brokey (토론 | 기여)님의 2026년 7월 30일 (목) 23:30 판
둘러보기로 이동 검색으로 이동

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* MediaWiki:Gadget-Timeless.css
 * PvZKRWiki 모바일 Timeless 디자인
 * Timeless의 기존 구조·기능·버튼 위치는 유지하고 시각 디자인만 변경합니다.
 */

/* =========================
   공통 색상
   ========================= */

body.skin-timeless {
	--pvz-mobile-bg: #f5ead7;
	--pvz-mobile-paper: #fffae9;
	--pvz-mobile-paper-soft: #f6e7c9;
	--pvz-mobile-paper-strong: #e6d2b2;
	--pvz-mobile-green: #106a40;
	--pvz-mobile-green-hover: #167b4c;
	--pvz-mobile-green-dark: #0b5432;
	--pvz-mobile-brown: #783b24;
	--pvz-mobile-brown-hover: #87472f;
	--pvz-mobile-brown-dark: #5b1f09;
	--pvz-mobile-border: #b1844f;
	--pvz-mobile-text: #493125;
	--pvz-mobile-muted: #755f50;
	--pvz-mobile-link: #0c7045;
	--pvz-mobile-link-hover: #0a8b50;
	--pvz-mobile-shadow: 0 5px 14px rgba(61, 30, 13, 0.16);
	--pvz-mobile-radius: 16px;
	--pvz-mobile-font-light:
		"SB Aggro L",
		"SB 어그로 L",
		"SB Aggro",
		"SB 어그로",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	--pvz-mobile-font-medium:
		"SB Aggro M",
		"SB 어그로 M",
		"SB Aggro",
		"SB 어그로",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
	--pvz-mobile-font-bold:
		"SB Aggro B",
		"SB 어그로 B",
		"SB Aggro",
		"SB 어그로",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		"Apple SD Gothic Neo",
		"Noto Sans KR",
		sans-serif;
}

html.skin-theme-clientpref-night body.skin-timeless,
html[data-color-mode="dark"] body.skin-timeless,
body.skin-theme-clientpref-night.skin-timeless,
body.skin-timeless[data-color-mode="dark"] {
	--pvz-mobile-bg: #201913;
	--pvz-mobile-paper: #2d241d;
	--pvz-mobile-paper-soft: #3a2d23;
	--pvz-mobile-paper-strong: #4a3729;
	--pvz-mobile-green: #1d7049;
	--pvz-mobile-green-hover: #26845a;
	--pvz-mobile-green-dark: #124b31;
	--pvz-mobile-brown: #6e3928;
	--pvz-mobile-brown-hover: #7d4633;
	--pvz-mobile-brown-dark: #3e1c10;
	--pvz-mobile-border: #76543a;
	--pvz-mobile-text: #f0e4d2;
	--pvz-mobile-muted: #c4b39f;
	--pvz-mobile-link: #72c898;
	--pvz-mobile-link-hover: #92dfb2;
	--pvz-mobile-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os body.skin-timeless {
		--pvz-mobile-bg: #201913;
		--pvz-mobile-paper: #2d241d;
		--pvz-mobile-paper-soft: #3a2d23;
		--pvz-mobile-paper-strong: #4a3729;
		--pvz-mobile-green: #1d7049;
		--pvz-mobile-green-hover: #26845a;
		--pvz-mobile-green-dark: #124b31;
		--pvz-mobile-brown: #6e3928;
		--pvz-mobile-brown-hover: #7d4633;
		--pvz-mobile-brown-dark: #3e1c10;
		--pvz-mobile-border: #76543a;
		--pvz-mobile-text: #f0e4d2;
		--pvz-mobile-muted: #c4b39f;
		--pvz-mobile-link: #72c898;
		--pvz-mobile-link-hover: #92dfb2;
		--pvz-mobile-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
	}
}

/* =========================
   초기 기본 디자인 노출 방지
   ========================= */

html:not(.pvz-timeless-ready) body.skin-timeless #mw-header-container,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-content-container,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-site-navigation,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-related-navigation,
html:not(.pvz-timeless-ready) body.skin-timeless #mw-footer-container {
	visibility: hidden !important;
}

html:not(.pvz-timeless-ready),
html:not(.pvz-timeless-ready) body.skin-timeless {
	background-color: #f5ead7 !important;
}

/* =========================
   전체 배경·기본 글꼴
   ========================= */

html,
body.skin-timeless {
	min-height: 100% !important;
}

body.skin-timeless {
	position: relative !important;
	min-height: 100vh !important;
	margin: 0 !important;
	background: var(--pvz-mobile-bg) !important;
	background-image: none !important;
	color: var(--pvz-mobile-text) !important;
	font-family: var(--pvz-mobile-font-light) !important;
	font-weight: 300 !important;
	line-height: 1.62 !important;
	isolation: isolate;
}

body.skin-timeless::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	display: block;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	background-color: var(--pvz-mobile-bg);
	background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Light.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

html.skin-theme-clientpref-night body.skin-timeless::before,
html[data-color-mode="dark"] body.skin-timeless::before,
body.skin-theme-clientpref-night.skin-timeless::before,
body.skin-timeless[data-color-mode="dark"]::before {
	background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png");
}

@media (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os body.skin-timeless::before {
		background-image: url("/wiki/Special:Redirect/file/Wiki_Bg_Dark.png");
	}
}

body.skin-timeless a {
	color: var(--pvz-mobile-link) !important;
}

body.skin-timeless a:hover,
body.skin-timeless a:focus {
	color: var(--pvz-mobile-link-hover) !important;
}

body.skin-timeless :focus-visible {
	outline: 2px solid var(--pvz-mobile-green) !important;
	outline-offset: 2px !important;
}

/* =========================
   Timeless 기본 장식 제거
   ========================= */

body.skin-timeless #mw-header-container,
body.skin-timeless #mw-header,
body.skin-timeless #mw-content-container,
body.skin-timeless #mw-content-wrapper,
body.skin-timeless #mw-content-block,
body.skin-timeless #mw-content,
body.skin-timeless #content,
body.skin-timeless .mw-body,
body.skin-timeless #mw-site-navigation,
body.skin-timeless #mw-related-navigation,
body.skin-timeless #mw-footer-container,
body.skin-timeless #mw-footer {
	background-image: none !important;
	text-shadow: none !important;
}

body.skin-timeless #mw-content-container::before,
body.skin-timeless #mw-content-container::after,
body.skin-timeless #mw-content-wrapper::before,
body.skin-timeless #mw-content-wrapper::after,
body.skin-timeless #mw-content-block::before,
body.skin-timeless #mw-content-block::after,
body.skin-timeless #mw-content::before,
body.skin-timeless #mw-content::after,
body.skin-timeless #content::before,
body.skin-timeless #content::after {
	content: none !important;
	display: none !important;
}

/* =========================
   상단바
   ========================= */

body.skin-timeless #mw-header-container {
	position: relative !important;
	z-index: 1000 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding:
		max(8px, env(safe-area-inset-top))
		max(10px, env(safe-area-inset-right))
		8px
		max(10px, env(safe-area-inset-left)) !important;
	border: 0 !important;
	border-bottom: 3px solid var(--pvz-mobile-green-dark) !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
	background: var(--pvz-mobile-green) !important;
	box-shadow: 0 3px 10px rgba(42, 20, 8, 0.2) !important;
	color: #ffffff !important;
}

body.skin-timeless #mw-header {
	width: 100% !important;
	max-width: 1120px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

body.skin-timeless #mw-header a,
body.skin-timeless #mw-header button,
body.skin-timeless #mw-header label,
body.skin-timeless #mw-header .mw-ui-icon {
	color: #ffffff !important;
	text-shadow: none !important;
}

body.skin-timeless #p-logo,
body.skin-timeless #p-logo-text,
body.skin-timeless .mw-wiki-logo,
body.skin-timeless .mw-logo {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.skin-timeless #p-logo-text,
body.skin-timeless .mw-logo-wordmark,
body.skin-timeless .mw-logo-tagline {
	font-family: var(--pvz-mobile-font-bold) !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-shadow: 0 1px 0 var(--pvz-mobile-green-dark) !important;
}

/* 상단 아이콘·메뉴 버튼 */
body.skin-timeless #mw-header button,
body.skin-timeless #mw-header .mw-ui-button,
body.skin-timeless #mw-header .oo-ui-buttonElement-button,
body.skin-timeless #mw-header .cdx-button,
body.skin-timeless #mw-header .mw-ui-icon {
	border: 1px solid rgba(255, 255, 255, 0.26) !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.1) !important;
	background-image: none !important;
	box-shadow: none !important;
	transition:
		background-color 120ms ease,
		border-color 120ms ease !important;
}

body.skin-timeless #mw-header button:hover,
body.skin-timeless #mw-header .mw-ui-button:hover,
body.skin-timeless #mw-header .oo-ui-buttonElement-button:hover,
body.skin-timeless #mw-header .cdx-button:hover,
body.skin-timeless #mw-header .mw-ui-icon:hover {
	border-color: rgba(255, 255, 255, 0.4) !important;
	background: rgba(255, 255, 255, 0.18) !important;
}

/* =========================
   검색창
   ========================= */

body.skin-timeless #p-search,
body.skin-timeless .mw-portlet-search,
body.skin-timeless form[role="search"],
body.skin-timeless #searchform,
body.skin-timeless .search-form {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.skin-timeless #simpleSearch,
body.skin-timeless .search-box,
body.skin-timeless .mw-searchInput,
body.skin-timeless #searchInput {
	border-radius: 11px !important;
	box-sizing: border-box !important;
}

body.skin-timeless #simpleSearch {
	overflow: hidden !important;
	border: 2px solid var(--pvz-mobile-green-dark) !important;
	background: var(--pvz-mobile-paper) !important;
	background-image: none !important;
	box-shadow: none !important;
}

body.skin-timeless #searchInput,
body.skin-timeless .mw-searchInput,
body.skin-timeless input[name="search"] {
	color: var(--pvz-mobile-text) !important;
	background: var(--pvz-mobile-paper) !important;
	background-image: none !important;
	font-family: var(--pvz-mobile-font-light) !important;
	font-weight: 300 !important;
	box-shadow: none !important;
}

body.skin-timeless #searchInput::placeholder,
body.skin-timeless .mw-searchInput::placeholder,
body.skin-timeless input[name="search"]::placeholder {
	color: var(--pvz-mobile-muted) !important;
	opacity: 0.78 !important;
}

body.skin-timeless #searchButton,
body.skin-timeless .searchButton,
body.skin-timeless button[type="submit"][name="fulltext"] {
	border: 0 !important;
	border-left: 2px solid var(--pvz-mobile-green-dark) !important;
	border-radius: 0 !important;
	background: var(--pvz-mobile-green) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

body.skin-timeless #searchButton:hover,
body.skin-timeless .searchButton:hover,
body.skin-timeless button[type="submit"][name="fulltext"]:hover {
	background: var(--pvz-mobile-green-hover) !important;
}

/* =========================
   본문 배치
   ========================= */

body.skin-timeless #mw-content-container,
body.skin-timeless #mw-content-wrapper,
body.skin-timeless #mw-content-block {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.skin-timeless #mw-content,
body.skin-timeless #content,
body.skin-timeless .mw-body {
	width: calc(100% - 20px) !important;
	max-width: 1120px !important;
	margin: 14px auto 18px !important;
	padding:
		18px
		max(14px, env(safe-area-inset-right))
		20px
		max(14px, env(safe-area-inset-left)) !important;
	border: 6px solid var(--pvz-mobile-brown-dark) !important;
	border-radius: 20px !important;
	box-sizing: border-box !important;
	background: var(--pvz-mobile-paper) !important;
	background-image: none !important;
	box-shadow: var(--pvz-mobile-shadow) !important;
	color: var(--pvz-mobile-text) !important;
	overflow: visible !important;
}

body.skin-timeless #mw-content-text,
body.skin-timeless .mw-parser-output {
	color: var(--pvz-mobile-text) !important;
	font-family: var(--pvz-mobile-font-light) !important;
	font-weight: 300 !important;
}

/* =========================
   문서 제목·문단 제목
   ========================= */

body.skin-timeless #firstHeading,
body.skin-timeless .firstHeading,
body.skin-timeless .mw-first-heading,
body.skin-timeless .mw-parser-output h1,
body.skin-timeless .mw-parser-output h2,
body.skin-timeless .mw-parser-output h3,
body.skin-timeless .mw-parser-output h4,
body.skin-timeless .mw-parser-output h5,
body.skin-timeless .mw-parser-output h6 {
	font-family: var(--pvz-mobile-font-bold) !important;
	font-weight: 700 !important;
	color: var(--pvz-mobile-text) !important;
	text-shadow: none !important;
}

body.skin-timeless #firstHeading,
body.skin-timeless .firstHeading,
body.skin-timeless .mw-first-heading {
	display: block !important;
	width: calc(100% + 28px) !important;
	max-width: none !important;
	margin: -4px -14px 14px !important;
	padding: 9px 14px 8px !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;
	background: var(--pvz-mobile-green) !important;
	background-image: none !important;
	color: #ffffff !important;
	font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
	line-height: 1.28 !important;
}

body.skin-timeless #firstHeading *,
body.skin-timeless .firstHeading *,
body.skin-timeless .mw-first-heading * {
	color: #ffffff !important;
}

body.skin-timeless .mw-heading,
body.skin-timeless .mw-heading2,
body.skin-timeless .mw-heading3,
body.skin-timeless .mw-heading4,
body.skin-timeless .mw-heading5,
body.skin-timeless .mw-heading6 {
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

body.skin-timeless .mw-heading2,
body.skin-timeless .mw-parser-output h2.pvz-grass-heading {
	position: relative !important;
	margin: 1.35em 0 0.72em !important;
	padding: 0 0 11px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.skin-timeless .mw-heading2 > h2,
body.skin-timeless .mw-parser-output h2.pvz-grass-heading {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 1.28rem !important;
	line-height: 1.34 !important;
}

body.skin-timeless .pvz-grass-divider {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: block;
	height: 12px;
	overflow: hidden;
	pointer-events: none;
	background: var(--pvz-mobile-green);
	-webkit-mask-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 12'%3E%3Cpath fill='black' d='M0 12V8Q3 8 5 5Q6 3 8 6L11 9Q14 7 16 4Q17 2 19 5L22 9Q25 7 28 5Q29 3 31 6L34 9Q37 7 39 4Q40 2 42 5L45 9Q48 7 51 5Q52 3 54 6L57 9Q60 7 63 4Q64 2 66 5L69 9Q72 7 75 5Q76 3 78 6L81 9Q84 7 87 4Q88 2 90 5L93 9Q96 7 99 5Q100 3 102 6L105 9Q109 8 112 7V12Z'/%3E%3C/svg%3E");
	mask-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 12'%3E%3Cpath fill='black' d='M0 12V8Q3 8 5 5Q6 3 8 6L11 9Q14 7 16 4Q17 2 19 5L22 9Q25 7 28 5Q29 3 31 6L34 9Q37 7 39 4Q40 2 42 5L45 9Q48 7 51 5Q52 3 54 6L57 9Q60 7 63 4Q64 2 66 5L69 9Q72 7 75 5Q76 3 78 6L81 9Q84 7 87 4Q88 2 90 5L93 9Q96 7 99 5Q100 3 102 6L105 9Q109 8 112 7V12Z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: repeat-x;
	mask-repeat: repeat-x;
	-webkit-mask-position: left bottom;
	mask-position: left bottom;
	-webkit-mask-size: 112px 12px;
	mask-size: 112px 12px;
}

body.skin-timeless .mw-heading3,
body.skin-timeless .mw-heading4,
body.skin-timeless .mw-heading5,
body.skin-timeless .mw-heading6 {
	margin-top: 1.1em !important;
	padding-bottom: 0.25em !important;
	border-bottom: 1px solid var(--pvz-mobile-border) !important;
}

/* =========================
   문서 액션·탭
   ========================= */

body.skin-timeless #p-namespaces,
body.skin-timeless #p-views,
body.skin-timeless #p-cactions,
body.skin-timeless .mw-portlet-namespaces,
body.skin-timeless .mw-portlet-views {
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

body.skin-timeless #p-namespaces a,
body.skin-timeless #p-views a,
body.skin-timeless #p-cactions-label,
body.skin-timeless .mw-portlet-namespaces a,
body.skin-timeless .mw-portlet-views a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px !important;
	padding: 6px 10px !important;
	border: 2px solid var(--pvz-mobile-brown-dark) !important;
	border-radius: 9px !important;
	box-sizing: border-box !important;
	background: var(--pvz-mobile-brown) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-family: var(--pvz-mobile-font-medium) !important;
	font-size: 0.78rem !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
	text-decoration: none !important;
	text-shadow: none !important;
}

body.skin-timeless #p-namespaces li.selected > a,
body.skin-timeless #p-views li.selected > a,
body.skin-timeless .mw-portlet-namespaces li.selected > a,
body.skin-timeless .mw-portlet-views li.selected > a {
	background: var(--pvz-mobile-paper-strong) !important;
	color: var(--pvz-mobile-text) !important;
}

body.skin-timeless #p-namespaces a:hover,
body.skin-timeless #p-views a:hover,
body.skin-timeless #p-cactions-label:hover,
body.skin-timeless .mw-portlet-namespaces a:hover,
body.skin-timeless .mw-portlet-views a:hover {
	background: var(--pvz-mobile-brown-hover) !important;
	color: #ffffff !important;
}

/* =========================
   사이드 메뉴·드롭다운
   ========================= */

body.skin-timeless #mw-site-navigation,
body.skin-timeless #mw-related-navigation {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.skin-timeless #mw-site-navigation .sidebar-chunk,
body.skin-timeless #mw-related-navigation .sidebar-chunk,
body.skin-timeless .mw-portlet,
body.skin-timeless .vector-menu-content,
body.skin-timeless .dropdown,
body.skin-timeless .mw-portlet-body {
	border-color: var(--pvz-mobile-border) !important;
	background: var(--pvz-mobile-paper) !important;
	background-image: none !important;
	color: var(--pvz-mobile-text) !important;
	box-shadow: var(--pvz-mobile-shadow) !important;
}

body.skin-timeless #mw-site-navigation .sidebar-chunk,
body.skin-timeless #mw-related-navigation .sidebar-chunk {
	margin-bottom: 10px !important;
	padding: 10px 12px !important;
	border: 2px solid var(--pvz-mobile-border) !important;
	border-radius: 13px !important;
	box-sizing: border-box !important;
}

body.skin-timeless #mw-site-navigation h2,
body.skin-timeless #mw-related-navigation h2,
body.skin-timeless .mw-portlet h3,
body.skin-timeless .mw-portlet .mw-portlet-heading {
	margin: 0 0 6px !important;
	padding: 0 0 6px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--pvz-mobile-border) !important;
	background: transparent !important;
	color: var(--pvz-mobile-brown) !important;
	font-family: var(--pvz-mobile-font-medium) !important;
	font-weight: 500 !important;
	text-shadow: none !important;
}

body.skin-timeless #mw-site-navigation ul,
body.skin-timeless #mw-related-navigation ul,
body.skin-timeless .mw-portlet ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.skin-timeless #mw-site-navigation li,
body.skin-timeless #mw-related-navigation li,
body.skin-timeless .mw-portlet li {
	margin: 0 !important;
	padding: 0 !important;
}

body.skin-timeless #mw-site-navigation li > a,
body.skin-timeless #mw-related-navigation li > a,
body.skin-timeless .mw-portlet li > a {
	display: block !important;
	padding: 5px 2px !important;
	border-radius: 6px !important;
	font-family: var(--pvz-mobile-font-light) !important;
	font-weight: 300 !important;
	text-decoration: none !important;
}

body.skin-timeless #mw-site-navigation li > a:hover,
body.skin-timeless #mw-related-navigation li > a:hover,
body.skin-timeless .mw-portlet li > a:hover {
	background: var(--pvz-mobile-paper-soft) !important;
	text-decoration: none !important;
}

/* =========================
   버튼·입력 요소
   ========================= */

body.skin-timeless .mw-body button,
body.skin-timeless .mw-body input[type="button"],
body.skin-timeless .mw-body input[type="submit"],
body.skin-timeless .mw-body .mw-ui-button,
body.skin-timeless .mw-body .oo-ui-buttonElement-button,
body.skin-timeless .mw-body .cdx-button {
	border: 2px solid var(--pvz-mobile-green-dark) !important;
	border-radius: 10px !important;
	background: var(--pvz-mobile-green) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-family: var(--pvz-mobile-font-medium) !important;
	font-weight: 500 !important;
	text-shadow: none !important;
}

body.skin-timeless .mw-body button:hover,
body.skin-timeless .mw-body input[type="button"]:hover,
body.skin-timeless .mw-body input[type="submit"]:hover,
body.skin-timeless .mw-body .mw-ui-button:hover,
body.skin-timeless .mw-body .oo-ui-buttonElement-button:hover,
body.skin-timeless .mw-body .cdx-button:hover {
	background: var(--pvz-mobile-green-hover) !important;
}

body.skin-timeless .mw-body input[type="text"],
body.skin-timeless .mw-body input[type="search"],
body.skin-timeless .mw-body input[type="password"],
body.skin-timeless .mw-body input[type="email"],
body.skin-timeless .mw-body input[type="url"],
body.skin-timeless .mw-body textarea,
body.skin-timeless .mw-body select,
body.skin-timeless .mw-body .oo-ui-inputWidget-input,
body.skin-timeless .mw-body .cdx-text-input__input {
	border: 1px solid var(--pvz-mobile-border) !important;
	border-radius: 9px !important;
	background: var(--pvz-mobile-paper) !important;
	background-image: none !important;
	color: var(--pvz-mobile-text) !important;
	box-shadow: none !important;
	font-family: var(--pvz-mobile-font-light) !important;
	font-weight: 300 !important;
}

/* =========================
   표·분류·각주·알림
   ========================= */

body.skin-timeless .wikitable {
	border: 1px solid var(--pvz-mobile-border) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 10px !important;
	background: var(--pvz-mobile-paper) !important;
	background-image: none !important;
	color: var(--pvz-mobile-text) !important;
	overflow: hidden !important;
}

body.skin-timeless .wikitable > tr > th,
body.skin-timeless .wikitable > * > tr > th {
	border-color: var(--pvz-mobile-border) !important;
	background: var(--pvz-mobile-paper-strong) !important;
	color: var(--pvz-mobile-text) !important;
}

body.skin-timeless .wikitable > tr > td,
body.skin-timeless .wikitable > * > tr > td {
	border-color: var(--pvz-mobile-border) !important;
	background: var(--pvz-mobile-paper) !important;
	color: var(--pvz-mobile-text) !important;
}

body.skin-timeless #catlinks,
body.skin-timeless .catlinks,
body.skin-timeless .mw-references-wrap,
body.skin-timeless ol.references {
	margin-top: 16px !important;
	padding: 10px 12px !important;
	border: 1px solid var(--pvz-mobile-border) !important;
	border-radius: 11px !important;
	box-sizing: border-box !important;
	background: var(--pvz-mobile-paper-soft) !important;
	background-image: none !important;
	color: var(--pvz-mobile-text) !important;
	box-shadow: none !important;
}

body.skin-timeless .mw-message-box,
body.skin-timeless .cdx-message,
body.skin-timeless .mw-notification {
	border-radius: 11px !important;
	box-shadow: var(--pvz-mobile-shadow) !important;
	font-family: var(--pvz-mobile-font-light) !important;
}

/* =========================
   최하단
   ========================= */

body.skin-timeless #mw-footer-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding:
		16px
		max(14px, env(safe-area-inset-right))
		calc(18px + env(safe-area-inset-bottom))
		max(14px, env(safe-area-inset-left)) !important;
	border: 0 !important;
	border-top: 3px solid var(--pvz-mobile-brown-dark) !important;
	box-sizing: border-box !important;
	background: var(--pvz-mobile-brown) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #f5eadf !important;
}

body.skin-timeless #mw-footer {
	width: 100% !important;
	max-width: 1120px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
}

body.skin-timeless #mw-footer ul {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px 14px !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	list-style: none !important;
}

body.skin-timeless #mw-footer li {
	margin: 0 !important;
	padding: 0 !important;
}

body.skin-timeless #mw-footer a {
	color: #fff4e8 !important;
	text-decoration: none !important;
}

body.skin-timeless #mw-footer a:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

/* =========================
   작은 화면 보정
   ========================= */

@media (max-width: 480px) {
	body.skin-timeless #mw-content,
	body.skin-timeless #content,
	body.skin-timeless .mw-body {
		width: calc(100% - 12px) !important;
		margin-top: 8px !important;
		margin-bottom: 12px !important;
		padding:
			14px
			max(11px, env(safe-area-inset-right))
			16px
			max(11px, env(safe-area-inset-left)) !important;
		border-width: 4px !important;
		border-radius: 15px !important;
	}

	body.skin-timeless #firstHeading,
	body.skin-timeless .firstHeading,
	body.skin-timeless .mw-first-heading {
		width: calc(100% + 22px) !important;
		margin-right: -11px !important;
		margin-left: -11px !important;
		padding-right: 11px !important;
		padding-left: 11px !important;
		border-radius: 6px !important;
	}

	body.skin-timeless #p-namespaces a,
	body.skin-timeless #p-views a,
	body.skin-timeless #p-cactions-label,
	body.skin-timeless .mw-portlet-namespaces a,
	body.skin-timeless .mw-portlet-views a {
		min-height: 32px !important;
		padding: 5px 8px !important;
		font-size: 0.73rem !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.skin-timeless *,
	body.skin-timeless *::before,
	body.skin-timeless *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}