/*
Theme Name: 오목 온라인 (Omok Online)
Theme URI: https://presslearn.co.kr/
Author: PressLearn
Author URI: https://presslearn.co.kr/
Description: 친구·수강생과 링크 하나로 1:1 온라인 오목을 두는 워드프레스 테마. 대기실, 초대 링크, 관전, 채팅(금칙어 필터), 재대결, 컴퓨터 연습(3단계 난이도)을 지원합니다. 별도 서버 없이 일반 워드프레스 호스팅에서 동작합니다.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omok-online
*/

:root {
	--c-bg: #faf6ee;
	--c-card: #ffffff;
	--c-line: #eadcc0;
	--c-text: #2e2414;
	--c-sub: #6f5d3f;
	--c-brand: #8a5a14;
	--c-brand-dark: #6f480f;
	--c-brand-soft: #f6ecd6;
	--c-danger: #c62828;
	--c-ok: #2e7d32;
	--c-warn-bg: #fff1d6;
	--radius: 14px;
	--shadow: 0 2px 10px rgba(80, 50, 10, .08);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
a { color: var(--c-brand); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.35; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }

/* ---------- 헤더·푸터 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.site-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--c-text); text-decoration: none; }
.site-logo img { width: 36px; height: 36px; }
.primary-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.primary-nav a, .footer-nav a { color: var(--c-text); text-decoration: none; font-weight: 600; }
.site-main { padding: 20px 0 40px; }
.site-footer { border-top: 1px solid var(--c-line); background: #fff; padding: 24px 0; color: var(--c-sub); font-size: 15px; }
.copyright { margin: 8px 0 0; }

/* ---------- 공통 부품 ---------- */
.card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; margin: 0 0 16px; box-shadow: var(--shadow); }
.card-title { font-size: 19px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.center { text-align: center; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 48px; padding: 8px 18px; margin: 0;
	font: inherit; font-size: 17px; font-weight: 700; line-height: 1.2;
	color: var(--c-text); background: #fff;
	border: 1px solid #c9ad74; border-radius: 10px;
	cursor: pointer; text-decoration: none; text-align: center;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--c-brand-soft); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.btn-primary:hover { background: var(--c-brand-dark); color: #fff; }
.btn-danger { color: var(--c-danger); border-color: #e5a5a5; }
.btn-danger:hover { background: #fdecec; }
.btn-lg { min-height: 56px; font-size: 19px; width: 100%; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 15px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.btn-row .btn { flex: 1 1 120px; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; flex: 1 1 150px; }
.field-label { font-weight: 700; font-size: 15px; }
.input {
	width: 100%; min-height: 48px; padding: 8px 12px;
	font: inherit; font-size: 17px; color: var(--c-text);
	background: #fff; border: 1px solid #c9ad74; border-radius: 10px;
}
.input:focus { outline: 3px solid rgba(138, 90, 20, .25); border-color: var(--c-brand); }

.status {
	margin: 0 0 12px; padding: 12px 14px; border-radius: 10px;
	background: #fff; border: 1px solid var(--c-line);
	text-align: center; font-size: 18px; font-weight: 700;
}
.status.is-over { background: #ffe9c2; border-color: #f0c877; }
.status.is-mine { background: #e9f6ea; border-color: #9fd3a3; color: #1b5e20; }
.status.is-warn { background: var(--c-warn-bg); border-color: #f0c877; }
.gone-link { margin-top: 12px; }

.board-wrap { width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 14px rgba(80, 50, 10, .28); margin: 0 0 14px; }
.omok-canvas { display: block; width: 100%; max-width: none; cursor: pointer; touch-action: manipulation; }

/* ---------- 첫 화면 ---------- */
.hero { text-align: center; padding: 12px 0 8px; }
.hero h1 { font-size: 30px; margin: 0 0 6px; }
.hero p { margin: 0 0 18px; color: var(--c-sub); }

.mode-tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.mode-tab {
	flex: 1; min-height: 54px; font: inherit; font-size: 17px; font-weight: 800;
	border: 2px solid var(--c-line); background: #fff; color: var(--c-sub);
	border-radius: 12px; cursor: pointer;
}
.mode-tab.is-active { border-color: var(--c-brand); color: var(--c-brand); background: var(--c-brand-soft); }

.lobby { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.lobby-start .btn-lg { margin: 0 0 18px; }
.code-row { display: flex; gap: 8px; }
.code-input { text-transform: uppercase; letter-spacing: 3px; font-weight: 700; }
.code-row .btn { flex: 0 0 auto; }
.lobby-msg { min-height: 1.6em; margin: 0; color: var(--c-danger); font-weight: 600; }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #43a047; display: inline-block; animation: omk-pulse 1.6s infinite; }
@keyframes omk-pulse { 50% { opacity: .3; } }

.room-list { list-style: none; margin: 0; padding: 0; }
.room-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--c-line); }
.room-list li:first-child { border-top: 0; }
.room-list li.empty { color: var(--c-sub); justify-content: center; }
.room-info { display: flex; flex-direction: column; min-width: 0; }
.room-info small { color: var(--c-sub); font-size: 14px; }

.local-bar { display: flex; flex-wrap: wrap; gap: 0 10px; }
.local-stats { text-align: center; color: var(--c-sub); margin: 0; }
.omok-local { max-width: 600px; margin: 0 auto 16px; }

.guide h2 { font-size: 20px; margin: 18px 0 8px; }
.guide h2:first-child { margin-top: 0; }
.post-list { margin: 0; padding-left: 20px; }
.post-list time { color: var(--c-sub); font-size: 14px; margin-left: 6px; }

/* ---------- 대국방 ---------- */
.room-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.back-link { font-weight: 700; text-decoration: none; }
.room-code { color: var(--c-sub); }
.room-code strong { color: var(--c-text); letter-spacing: 2px; }
.viewers { margin-left: auto; font-weight: 700; color: var(--c-sub); }
.conn { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eee; color: #555; }
.conn.is-ok { background: #e9f6ea; color: var(--c-ok); }
.conn.is-retry, .conn.is-wait { background: var(--c-warn-bg); color: #8a5a14; }
.conn.is-off { background: #fdecec; color: var(--c-danger); }
.viewers[hidden] + .conn { margin-left: auto; }

.invite { text-align: center; background: #fffdf7; border: 2px dashed #e0c48c; }
.invite-title { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.invite-desc { margin: 0 0 12px; color: var(--c-sub); }
.invite-url { text-align: center; margin: 0 0 12px; font-size: 15px; }
.invite .btn-row { margin: 0; }

.room-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.room-main { min-width: 0; }

.players { display: flex; align-items: stretch; gap: 8px; margin: 0 0 12px; }
.player {
	flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
	padding: 10px; background: #fff; border: 2px solid var(--c-line); border-radius: 12px;
}
.player.is-turn { border-color: #43a047; box-shadow: 0 0 0 3px rgba(67, 160, 71, .18); }
.player.is-winner { border-color: #f0b429; background: #fff8e1; }
.player.is-empty { opacity: .6; }
.stone { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; }
.stone-black { background: radial-gradient(circle at 35% 35%, #666, #111); }
.stone-white { background: radial-gradient(circle at 35% 35%, #fff, #cfcfcf); border: 1px solid rgba(0, 0, 0, .3); }
.player-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.player-name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta { font-size: 13px; }
.player-meta.is-on { color: var(--c-ok); }
.player-meta.is-off { color: var(--c-danger); }
.player-score { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.player-wins { font-weight: 800; color: var(--c-brand); white-space: nowrap; }
.player-streak { font-size: 13px; font-weight: 800; color: #e65100; white-space: nowrap; }
.player-streak:empty { display: none; }
.rule-badge { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--c-brand-soft); color: var(--c-brand); cursor: help; }
.admin-bar { background: #eef3ff; border-color: #b9c8f0; }
.admin-title { margin: 0 0 10px; font-weight: 800; color: #2f4a8a; }
.admin-hint { margin: 0; font-size: 14px; color: #4a5a80; }
.admin-bar .btn-row { margin-bottom: 8px; }
.chat-admin .chat-name { color: #2f4a8a; }
.queue { text-align: center; background: #fffdf7; }
.queue-text { margin: 0 0 12px; font-weight: 700; }
.queue-text:last-child { margin-bottom: 0; }
.sound-ctl { display: inline-flex; gap: 6px; }
.room-top .sound-ctl { margin-left: auto; }
.viewers + .conn + .sound-ctl, .conn + .sound-ctl { margin-left: 0; }
.local-sound { display: flex; justify-content: flex-end; margin: 0 auto 10px; max-width: 600px; }
.sound-btn { font: inherit; font-size: 13px; font-weight: 700; padding: 5px 10px; min-height: 34px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-sub); cursor: pointer; }
.sound-btn.is-on { background: var(--c-brand-soft); color: var(--c-brand); border-color: #e0c48c; }

.timer { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; }
.timer-bar { flex: 1; height: 10px; background: #efe5d0; border-radius: 999px; overflow: hidden; }
.timer-fill { display: block; height: 100%; width: 100%; background: #6d9f58; border-radius: 999px; transition: width .25s linear; }
.timer.is-low .timer-fill { background: #e53935; }
.timer-text { font-weight: 800; font-size: 15px; white-space: nowrap; color: var(--c-sub); }
.timer.is-low .timer-text { color: #c62828; }
.timer.is-mine.is-low .timer-text { animation: omk-pulse 1s infinite; }

.undo-box { background: #fff8e6; border-color: #f0c877; text-align: center; padding: 14px; }
.undo-text { margin: 0 0 10px; font-weight: 800; }
.undo-box .btn-row { margin: 0; }

.seg { display: flex; gap: 0; margin: 0 0 8px; border: 1px solid #b9c8f0; border-radius: 10px; overflow: hidden; }
.seg-btn { flex: 1; font: inherit; font-size: 15px; font-weight: 700; min-height: 42px; border: 0; border-right: 1px solid #b9c8f0; background: #fff; color: #2f4a8a; cursor: pointer; }
.seg-btn:last-child { border-right: 0; }
.seg-btn.is-on { background: #2f4a8a; color: #fff; }
.admin-net { margin: 6px 0 0; font-size: 13px; color: #6a7898; }
.admin-create { background: #eef3ff; border: 1px solid #b9c8f0; border-radius: 12px; padding: 12px 12px 0; margin: 0 0 14px; }
.admin-create-row { display: flex; flex-wrap: wrap; gap: 0 10px; }
.admin-create .field { flex: 1 1 110px; }
.board-wrap { position: relative; }
.fx-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.fx-confetti { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: omk-fall 1.8s ease-in forwards; }
@keyframes omk-fall { to { top: 105%; transform: rotate(540deg) translateX(30px); opacity: .9; } }
.fx-float { position: absolute; bottom: 8%; font-size: 40px; line-height: 1; text-align: center; animation: omk-float 1.9s ease-out forwards; }
.fx-float small { display: block; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0,0,0,.55); border-radius: 999px; padding: 2px 8px; margin-top: 4px; white-space: nowrap; }
@keyframes omk-float { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { transform: translateY(-10%) scale(1.15); opacity: 1; } 100% { transform: translateY(-260%) scale(1); opacity: 0; } }
.fx-shake { animation: omk-shake .4s; }
@keyframes omk-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.status.fx-flash { animation: omk-flash .9s; }
@keyframes omk-flash { 0% { transform: scale(1); } 30% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(67,160,71,.25); } 100% { transform: scale(1); } }
.timer.is-critical { animation: omk-shake .5s infinite; }
.reactions { display: flex; justify-content: space-between; gap: 4px; margin: 0 0 12px; }
.react-btn { flex: 1; font-size: 22px; line-height: 1; min-height: 44px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; cursor: pointer; transition: transform .1s; }
.react-btn:active { transform: scale(1.25); }
.name-cancel { margin-top: 8px; }
.room-top #omk-rename { margin-left: auto; }
.room-top #omk-rename + .sound-ctl { margin-left: 0; }
@media (prefers-reduced-motion: reduce) { .fx-confetti, .fx-float, .fx-shake, .fx-flash, .timer.is-critical { animation: none !important; } }
.local-rule { text-align: center; color: var(--c-sub); font-size: 14px; margin: 0 0 6px; }
.vs { align-self: center; font-weight: 900; color: var(--c-sub); font-size: 14px; }

.chat { display: flex; flex-direction: column; }
.chat-list { list-style: none; margin: 0 0 10px; padding: 8px; height: 260px; overflow-y: auto; background: #fbf8f2; border: 1px solid var(--c-line); border-radius: 10px; }
.chat-item { padding: 4px 2px; font-size: 16px; }
.chat-name { font-weight: 800; margin-right: 6px; }
.chat-white .chat-name { color: #5d5d5d; }
.chat-spectator .chat-name { color: var(--c-sub); }
.chat-system { color: var(--c-brand); font-size: 14px; text-align: center; font-weight: 600; }
.chat-form { display: flex; gap: 8px; margin: 0 0 10px; }
.chat-form .btn { flex: 0 0 auto; }
.quick-chat { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: 14px; padding: 6px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; cursor: pointer; }
.chip:hover { background: var(--c-brand-soft); }

.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 1000; }
.modal-box { background: #fff; border-radius: 16px; padding: 24px; width: 100%; max-width: 380px; text-align: center; }
.modal-box h2 { margin: 0 0 6px; }
.modal-box p { margin: 0 0 14px; color: var(--c-sub); }
.modal-box .input { margin: 0 0 12px; text-align: center; }
.confirm-msg { white-space: pre-line; font-size: 18px; font-weight: 700; color: var(--c-text) !important; margin: 0 0 18px !important; }
.modal-box .btn-row { margin: 0; }

.toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
	max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px;
	background: rgba(40, 30, 15, .92); color: #fff; font-weight: 600; text-align: center;
	opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 1100;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 광고는 오목판과 떨어진 위치에만 */
.omk-ad { margin: 24px 0; text-align: center; min-height: 1px; }

/* ---------- 글 ---------- */
.page-title, .entry-title { font-size: 26px; margin: 0 0 8px; }
.post-meta { color: var(--c-sub); font-size: 14px; margin: 0 0 12px; }
.entry-content { font-size: 17px; }
.entry-content img { border-radius: 8px; }
.post-card-title { font-size: 21px; margin: 8px 0 4px; }
.post-card-title a { color: var(--c-text); text-decoration: none; }
.post-thumb img { display: block; width: 100%; border-radius: 10px; }
.play-cta { margin: 0 0 16px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 8px; background: #fff; text-decoration: none; }
.nav-links .current { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.comment-list { padding-left: 20px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px; font: inherit; border: 1px solid #c9ad74; border-radius: 8px; }

/* ---------- 넓은 화면 ---------- */
@media (min-width: 900px) {
	.lobby { grid-template-columns: 1fr 1fr; }
	.lobby-start { grid-row: span 2; }
	.room-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
	.chat-list { height: 420px; }
	.room-main { max-width: 640px; }
}

@media (max-width: 480px) {
	body { font-size: 16px; }
	.hero h1 { font-size: 25px; }
	.card { padding: 16px; }
	.status { font-size: 16px; }
	.player { padding: 8px; gap: 6px; }
	.stone { flex-basis: 22px; width: 22px; height: 22px; }
	.player-wins { font-size: 14px; }
	.player-streak { font-size: 12px; }
}

/* ---------- 게임 고르기 ---------- */
.game-switch { display: flex; gap: 8px; justify-content: center; margin: 4px 0 8px; }
.game-switch a { flex: 0 1 200px; text-align: center; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--c-line); background: #fff; color: var(--c-sub); font-weight: 800; text-decoration: none; }
.game-switch a.is-active { border-color: var(--c-brand); color: var(--c-brand); background: var(--c-brand-soft); }

/* ---------- 틀린그림찾기 ---------- */
.spot-rules { margin: 14px 0 0; padding-left: 20px; color: var(--c-sub); font-size: 15px; }
.spot-top { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; flex-wrap: wrap; }
.spot-stage { font-weight: 900; font-size: 20px; }
.spot-score { font-weight: 800; color: var(--c-brand); font-size: 18px; }
.spot-top .sound-ctl { margin-left: auto; }
.spot-status { text-align: center; font-weight: 800; margin: 0 0 6px; }
.spot-dots { display: flex; justify-content: center; gap: 6px; margin: 0 0 10px; min-height: 14px; }
.spot-dots .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #bdbdbd; background: #fff; transition: transform .2s; }
.spot-dots .dot.on { border-color: transparent; transform: scale(1.15); }
.spot-pics { position: relative; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 12px; }
.spot-pic { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,.18); background: #fff; cursor: crosshair; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.spot-svg { aspect-ratio: 4 / 3; }
.spot-svg svg { display: block; width: 100%; height: 100%; }
.spot-label { position: absolute; left: 8px; top: 8px; z-index: 1; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.spot-mark { fill: none; stroke: #43a047; stroke-width: 3.5; animation: omk-pop .35s ease-out; transform-box: fill-box; transform-origin: center; }
.spot-missed { fill: none; stroke: #e53935; stroke-width: 3; stroke-dasharray: 6 4; }
.spot-wrong { stroke: #e53935; stroke-width: 4; stroke-linecap: round; }
.spot-hint-ring { fill: rgba(255, 235, 59, .25); stroke: #fbc02d; stroke-width: 3; animation: omk-pulse .6s infinite; }
@keyframes omk-pop { 0% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.spot-actions .btn { flex: 1 1 120px; }
.spot-players { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.spot-player { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 8px 10px; border: 3px solid var(--c-line); border-radius: 12px; background: #fff; }
.spot-player .nm { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-player .sc { font-size: 14px; color: var(--c-sub); font-weight: 700; }
.spot-player.is-empty { opacity: .6; }
.spot-result { text-align: center; max-width: 420px; }
.spot-result-emoji { font-size: 52px; margin: 0 0 4px !important; line-height: 1.1; }
.spot-result h2 { margin: 0 0 6px; }
.spot-result .omk-ad { margin: 16px 0 0; }
.rank-cols { display: grid; grid-template-columns: 1fr; gap: 16px; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--c-line); }
.rank-list li:first-child { border-top: 0; }
.rank-list li.empty { color: var(--c-sub); justify-content: center; }
.rank-list .rk { width: 32px; text-align: center; font-weight: 800; }
.rank-list .nm { flex: 1; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .sc { color: var(--c-sub); font-size: 14px; white-space: nowrap; }
@media (min-width: 900px) {
	.spot-pics { grid-template-columns: 1fr 1fr; }
	.rank-cols { grid-template-columns: 1fr 1fr; }
}
