/* PlantPorium Plantle — front-end styles.
   Colours live in variables on .ppl-app; the theme can override them. */

body.ppl-game-page .wp-block-post-content,
body.ppl-game-page .entry-content,
body.ppl-game-page .wp-block-post-content > :not(.ppl-app),
body.ppl-game-page .entry-content > :not(.ppl-app) {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.ppl-game-page .wp-block-post-title,
body.ppl-game-page .entry-title { display: none !important; }

.ppl-app {
	--ppl-green: #3f9a1f;
	--ppl-green-dark: #26720f;
	--ppl-green-deep: #1d5f0c;
	--ppl-cream: #fdf3df;
	--ppl-cream-2: #f6e6c4;
	--ppl-parch: #fbefd2;
	--ppl-wood: #b98650;
	--ppl-wood-dark: #8a5a2b;
	--ppl-wood-light: #e2b680;
	--ppl-ink: #3d2a17;
	--ppl-purple: #7d2a8f;
	--ppl-purple-2: #a83cb6;
	--ppl-pink: #f2658f;
	--ppl-gold: #f2b21c;
	--ppl-display: var(--wp--preset--font-family--fraunces, "Fraunces", Georgia, "Times New Roman", serif);
	--ppl-body: var(--wp--preset--font-family--inter, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
	--ppl-cell: 50px;
	--ppl-cols: 9;
	position: relative;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1360px !important;
	margin: 0 auto !important;
	padding: 28px 24px 40px;
	color: var(--ppl-ink);
	font-family: var(--ppl-body);
	line-height: 1.35;
	overflow: hidden;
	isolation: isolate;
}
.ppl-app *, .ppl-app *::before, .ppl-app *::after { box-sizing: border-box; }
.ppl-app button { font-family: inherit; cursor: pointer; }
.ppl-app svg { display: block; }
.ppl-app [hidden] { display: none !important; }

/* Greenhouse backdrop */
.ppl-bg {
	position: absolute; inset: 0; z-index: -2; border-radius: 28px;
	background:
		radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255,255,255,.9), transparent 70%),
		repeating-linear-gradient(90deg, rgba(110,150,80,.13) 0 3px, transparent 3px 150px),
		linear-gradient(180deg, #e3f1cd 0%, #f4efd2 52%, #e9d2a1 100%);
}
.ppl-app[data-bg="1"] .ppl-bg { background-size: cover; background-position: center; }
.ppl-vines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ppl-deco { position: absolute; opacity: .95; }
.ppl-deco-a { width: 120px; right: 14px; bottom: 120px; transform: rotate(18deg); }
.ppl-deco-b { width: 78px; left: 250px; top: 10px; transform: rotate(-12deg); opacity: .8; }
.ppl-deco-c { width: 170px; right: -34px; top: 34px; transform: rotate(24deg); }
.ppl-deco-d { width: 140px; left: -30px; bottom: 60px; transform: rotate(-30deg); }

.ppl-shell > * { min-width: 0; }
.ppl-shell {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: start;
}

/* ------------------------------------------------------------- left menu */
.ppl-menu { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
.ppl-plank {
	display: flex; flex-direction: column; gap: 10px; padding: 18px 14px;
	border-radius: 22px; border: 3px solid #7a4f24;
	background:
		repeating-linear-gradient(95deg, rgba(0,0,0,.05) 0 2px, transparent 2px 9px),
		linear-gradient(180deg, #c99a62, #a97741);
	box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 8px 18px rgba(80,50,15,.28);
}
.ppl-menu-btn {
	display: flex; align-items: center; gap: 12px; width: 100%;
	padding: 11px 14px; border-radius: 14px; border: 2px solid #8a5a2b;
	background: linear-gradient(180deg, #ebc693, #d9a96e);
	color: var(--ppl-ink); font-size: 1.02rem; font-weight: 700; text-align: left;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
	transition: transform .12s, filter .12s;
}
.ppl-menu-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.ppl-menu-btn.is-active {
	background: linear-gradient(180deg, #d02fb2, #8a1d86); border-color: #f3c6ee; color: #fff;
	box-shadow: 0 0 0 3px rgba(125,42,143,.45), inset 0 1px 0 rgba(255,255,255,.4);
}
.ppl-ico, .ppl-stat-ico {
	flex: none; width: 30px; height: 30px; border-radius: 50%;
	background-size: contain; background-repeat: no-repeat; background-position: center;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.ppl-ico-play  { background-color: #f3b516; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%236b3f0a'/%3E%3C/svg%3E"); border: 2px solid #8a5a2b; }
.ppl-ico-how   { background: #f0a13a; border: 2px solid #8a5a2b; color: #6b3f0a; font-size: 1rem; }
.ppl-ico-fire, .ppl-stat-ico.ppl-ico-fire { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 4 6 6 6 12a6 6 0 0 1-12 0c0-3 2-4 3-6 1 2 2 2 2 1 0-3-1-4 1-7z' fill='%23f0561f'/%3E%3Cpath d='M12 11c.6 2 3 3 3 6a3 3 0 0 1-6 0c0-2 2-3 3-6z' fill='%23ffc83a'/%3E%3C/svg%3E"); }
.ppl-ico-cal, .ppl-stat-ico.ppl-ico-cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='3' fill='%23fff7e6' stroke='%23c4562e' stroke-width='1.8'/%3E%3Crect x='3' y='5' width='18' height='5' rx='2' fill='%23d9542d'/%3E%3Cg fill='%23c4562e'%3E%3Ccircle cx='8' cy='14' r='1.2'/%3E%3Ccircle cx='12' cy='14' r='1.2'/%3E%3Ccircle cx='16' cy='14' r='1.2'/%3E%3Ccircle cx='8' cy='18' r='1.2'/%3E%3Ccircle cx='12' cy='18' r='1.2'/%3E%3C/g%3E%3C/svg%3E"); }
.ppl-ico-star, .ppl-stat-ico.ppl-ico-star { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z' fill='%23f6b91b' stroke='%23b8780a' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ppl-ico-trophy, .ppl-stat-ico.ppl-ico-trophy { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v6a5 5 0 0 1-10 0z' fill='%23f6b91b' stroke='%23b8780a' stroke-width='1.4'/%3E%3Cpath d='M7 5H4v2a3 3 0 0 0 3 3M17 5h3v2a3 3 0 0 1-3 3' fill='none' stroke='%23b8780a' stroke-width='1.4'/%3E%3Cpath d='M12 14v4M8 21h8M9 18h6' stroke='%23b8780a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

.ppl-mascot-wrap { display: flex; justify-content: center; padding-left: 4px; }
.ppl-mascot { width: 210px; max-width: 100%; height: auto; filter: drop-shadow(0 6px 6px rgba(60,40,10,.22)); animation: ppl-bob 4.5s ease-in-out infinite; }
@keyframes ppl-bob { 50% { transform: translateY(-5px); } }

/* ------------------------------------------------------------ title block */
.ppl-main { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ppl-title { position: relative; text-align: center; max-width: 100%; }
.ppl-title img { max-width: 100%; height: auto; }
.ppl-title-board {
	position: relative; display: inline-block; padding: 4px 52px 18px; border-radius: 24px;
	border: 4px solid #7a4f24;
	background: repeating-linear-gradient(95deg, rgba(0,0,0,.05) 0 2px, transparent 2px 9px), linear-gradient(180deg, #cf9f66, #a8763f);
	box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 8px 18px rgba(80,50,15,.3);
}
.ppl-title h1 {
	margin: 0; font-family: var(--ppl-display); font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.05;
	color: #fff6df; letter-spacing: .01em; -webkit-text-stroke: 7px #5a2f12; paint-order: stroke fill;
	text-shadow: 0 5px 0 rgba(60,30,8,.45);
}
.ppl-title-flower { position: absolute; width: 74px; left: -24px; top: 6px; transform: rotate(-12deg); }
.ppl-title-leaf { position: absolute; width: 90px; right: -26px; top: -22px; transform: rotate(28deg); }
.ppl-ribbon { margin-top: -18px; position: relative; display: flex; justify-content: center; }
.ppl-ribbon span {
	display: inline-block; padding: 8px 40px 9px; color: #fff; font-weight: 800; font-family: var(--ppl-display);
	font-size: clamp(.95rem, 2.2vw, 1.4rem); letter-spacing: .01em;
	background: linear-gradient(180deg, var(--ppl-purple-2), var(--ppl-purple));
	clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%);
	text-shadow: 0 2px 0 rgba(60,10,70,.5);
}
.ppl-badge {
	display: inline-block; margin-top: 12px; padding: 5px 16px; border-radius: 999px; font-weight: 800; font-size: .85rem;
	letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #1a8a7a; border: 2px solid #bfeee6;
}
.ppl-badge[data-kind="golden"] { background: linear-gradient(180deg, #ffd24a, #d9941a); color: #5a3a00; border-color: #fff0b3; animation: ppl-shine 2.2s ease-in-out infinite; }
@keyframes ppl-shine { 50% { filter: brightness(1.2); box-shadow: 0 0 14px rgba(255,210,60,.9); } }

.ppl-notice {
	width: 100%; max-width: 640px; padding: 6px 16px; border-radius: 14px; background: #fff4cf; border: 2px solid #e8cf86;
	text-align: center; font-weight: 600; font-size: .95rem;
}
.ppl-notice a, .ppl-link-btn { color: var(--ppl-purple); font-weight: 800; }

/* ------------------------------------------------------------ crossword */
.ppl-board {
	position: relative; width: 100%; max-width: 660px; padding: 12px 20px 18px; border-radius: 26px;
	background: var(--ppl-cream); border: 4px solid #ecd9ae;
	box-shadow: inset 0 0 0 3px rgba(255,255,255,.6), 0 10px 22px rgba(90,60,20,.18);
}
.ppl-progress { display: flex; justify-content: center; gap: 14px; align-items: center; min-height: 24px; margin-bottom: 8px; font-weight: 700; font-size: .92rem; }
.ppl-progress .ppl-bar { flex: 1 1 140px; max-width: 220px; height: 10px; border-radius: 99px; background: #e5d4ae; overflow: hidden; }
.ppl-progress .ppl-bar i { display: block; height: 100%; background: linear-gradient(90deg, #5dbb2a, #2f8217); border-radius: 99px; transition: width .35s; }
.ppl-grid {
	display: grid; justify-content: center; gap: 6px;
	grid-template-columns: repeat(var(--ppl-cols), var(--ppl-cell));
	grid-auto-rows: var(--ppl-cell);
}
.ppl-cell { visibility: hidden; }
.ppl-cell.on {
	visibility: visible; border-radius: 9px; border: 2px solid #d9c6a0;
	background: linear-gradient(180deg, #fffaf0, #f3e6c8);
	box-shadow: inset 0 -3px 0 rgba(160,120,60,.18);
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: calc(var(--ppl-cell) * .5); color: #fff; user-select: none;
}
.ppl-cell.found {
	background: linear-gradient(180deg, #57ad27, #2d7c12); border-color: #1e5a0b; color: #fff;
	box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -4px 0 rgba(0,0,0,.18);
	animation: ppl-pop .38s cubic-bezier(.3,1.6,.5,1);
}
.ppl-cell.reveal { background: linear-gradient(180deg, #ffe58a, #f3bf34); border-color: #c8921a; color: #5a3a00; }
.ppl-cell.flash { animation: ppl-flash .7s; }
@keyframes ppl-pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
@keyframes ppl-flash { 30% { background: #d9f2b3; } }
.ppl-app[data-gold="1"] .ppl-board { border-color: #f1c553; box-shadow: inset 0 0 0 3px rgba(255,240,180,.8), 0 0 26px rgba(242,178,28,.45); }
.ppl-app[data-gold="1"] .ppl-cell.found { background: linear-gradient(180deg, #ffd24a, #d8921a); border-color: #9a620a; color: #5a3a00; }

/* ---------------------------------------------------------- letter wheel */
.ppl-play { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; width: 100%; max-width: 700px; }
.ppl-wheel-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ppl-preview {
	min-height: 40px; min-width: 120px; padding: 4px 20px; border-radius: 999px; background: rgba(253,243,223,.95);
	border: 3px solid #d9c6a0; display: flex; align-items: center; justify-content: center; gap: 4px;
	font-weight: 800; font-size: 1.5rem; letter-spacing: .12em; color: var(--ppl-green-dark);
}
.ppl-preview.is-empty { visibility: hidden; }
.ppl-preview.bad { animation: ppl-shake .4s; color: #b3261e; }
.ppl-preview.good { color: var(--ppl-green); }
@keyframes ppl-shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.ppl-wheel {
	position: relative; width: min(300px, 74vw); aspect-ratio: 1; border-radius: 50%; touch-action: none; user-select: none;
	background: radial-gradient(circle at 50% 42%, #d6a76b 0 55%, #c08f56 56% 100%);
	border: 9px solid #8a5a2b;
	box-shadow: 0 0 0 7px #4f9a2a, 0 0 0 11px #2f6f14, inset 0 0 0 5px rgba(255,255,255,.18), 0 14px 24px rgba(70,45,12,.35);
}
.ppl-wheel::before { /* wood grain */
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: repeating-linear-gradient(100deg, rgba(0,0,0,.04) 0 2px, transparent 2px 10px);
}
.ppl-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ppl-lines polyline { fill: none; stroke: rgba(79,154,42,.85); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.ppl-center {
	position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%);
	border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center;
	filter: drop-shadow(0 3px 2px rgba(0,0,0,.25)); transition: transform .15s;
}
.ppl-center:hover { transform: translate(-50%, -50%) scale(1.06); }
.ppl-center-leaf { width: 100%; height: 100%; }
.ppl-tile {
	position: absolute; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
	display: flex; align-items: center; justify-content: center; border: 3px solid #d9c6a0;
	background: radial-gradient(circle at 35% 30%, #fffdf6, #f1e2bf);
	color: var(--ppl-ink); font-weight: 800; font-size: clamp(1.25rem, 3.4vw, 1.9rem);
	box-shadow: 0 4px 0 rgba(120,80,30,.4), 0 6px 8px rgba(0,0,0,.18);
	transition: background .1s, color .1s, transform .1s, left .4s cubic-bezier(.4,1.3,.5,1), top .4s cubic-bezier(.4,1.3,.5,1);
	-webkit-tap-highlight-color: transparent;
}
.ppl-tile.on { background: radial-gradient(circle at 35% 30%, #7fd24a, #3f9a1f); color: #fff; border-color: #2a7a10; transform: translate(-50%, -50%) scale(1.1); }
.ppl-tile-flower { position: absolute; width: 14%; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.ppl-round {
	position: relative; justify-self: center; width: 84px; height: 84px; border-radius: 50%; border: 4px solid #d79ae0;
	background: radial-gradient(circle at 35% 28%, var(--ppl-purple-2), var(--ppl-purple) 70%); color: #fff;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .78rem; font-weight: 800;
	box-shadow: 0 6px 0 rgba(70,15,85,.45), 0 10px 14px rgba(40,10,50,.25); transition: transform .12s;
}
.ppl-round:hover { transform: translateY(-2px); }
.ppl-round:active { transform: translateY(2px); }
.ppl-round svg { width: 30px; height: 30px; }
.ppl-round[disabled] { opacity: .55; cursor: default; transform: none; }
.ppl-count {
	position: absolute; right: -4px; top: -4px; min-width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: #f6b91b; color: #4a2c00; border: 2px solid #fff3c4; font-size: .85rem;
}

/* ------------------------------------------------------------- right cards */
.ppl-side { display: flex; flex-direction: column; gap: 18px; }
.ppl-card {
	position: relative; padding: 16px 18px 18px; border-radius: 18px; background: linear-gradient(180deg, #fff6df, var(--ppl-parch));
	border: 3px solid #e6d09b; box-shadow: 0 8px 16px rgba(90,60,20,.2);
}
.ppl-clue h2 { margin: 0 0 8px; text-align: center; font-family: var(--ppl-display); font-size: 1.45rem; font-weight: 800; color: var(--ppl-ink); }
.ppl-card-flower { position: absolute; width: 56px; right: -14px; top: -14px; transform: rotate(14deg); }
.ppl-clue-text { margin: 0 0 12px; font-size: 1.04rem; font-weight: 500; line-height: 1.45; }
.ppl-hints { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.ppl-hints li { padding: 8px 12px; border-radius: 12px; background: #f1ecc9; border: 2px dashed #cdbf84; font-size: .95rem; animation: ppl-pop .3s; }
.ppl-pill {
	display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 16px; border-radius: 999px;
	border: 3px solid #d7efb5; color: #fff; font-weight: 800; font-size: 1.02rem;
	background: linear-gradient(180deg, #4aa52a, #2a7a10); box-shadow: 0 4px 0 rgba(20,70,5,.45);
}
.ppl-pill svg { width: 22px; height: 22px; }
.ppl-pill small { font-weight: 700; opacity: .9; }
.ppl-pill[disabled] { opacity: .55; cursor: default; }
.ppl-stats { display: grid; gap: 0; padding: 8px 18px; }
.ppl-stat { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 2px solid rgba(160,130,70,.25); }
.ppl-stat:last-child { border-bottom: 0; }
.ppl-stat-ico { width: 40px; height: 40px; border-radius: 0; }
.ppl-stat small { display: block; font-size: .85rem; font-weight: 600; opacity: .8; }
.ppl-stat b { font-size: 1.28rem; font-weight: 800; }
.ppl-stat-bonus { gap: 14px; }
.ppl-link { margin-left: auto; border: 0; background: none; color: var(--ppl-purple); font-weight: 800; text-decoration: underline; }

/* ------------------------------------------------------- toasts and modal */
.ppl-toasts { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.ppl-toast {
	padding: 10px 20px; border-radius: 999px; background: #2a5d12; color: #fff; font-weight: 800; box-shadow: 0 8px 18px rgba(0,0,0,.25);
	animation: ppl-toast 2.6s forwards;
}
.ppl-toast.warn { background: #8c3a1d; }
.ppl-toast.gold { background: linear-gradient(180deg, #ffd24a, #d9941a); color: #4a2c00; }
@keyframes ppl-toast { 0% { opacity: 0; transform: translateY(-10px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.ppl-modal { position: fixed; inset: 0; z-index: 9998; background: rgba(45,28,10,.58); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: auto; }
.ppl-modal-card {
	position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; padding: 26px 26px 24px; border-radius: 24px;
	background: var(--ppl-cream); border: 5px solid #e6c98a; box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.ppl-x { position: absolute; right: 12px; top: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #ead7ac; font-size: 1.6rem; line-height: 1; color: var(--ppl-ink); }
.ppl-modal h2 { margin: 0 0 10px; font-family: var(--ppl-display); font-size: 1.7rem; color: var(--ppl-green-dark); }
.ppl-modal h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.ppl-modal p, .ppl-modal li { font-size: 1rem; }
.ppl-modal ol, .ppl-modal ul { padding-left: 1.2em; margin: 6px 0; }
.ppl-cta { display: inline-block; margin-top: 12px; padding: 10px 22px; border-radius: 999px; background: linear-gradient(180deg, #d02fb2, #8a1d86); color: #fff !important; font-weight: 800; text-decoration: none; border: 0; }
.ppl-cta.alt { background: linear-gradient(180deg, #4aa52a, #2a7a10); }
.ppl-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 10px 0; }
.ppl-cal span { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-size: .78rem; font-weight: 700; background: #efe2c2; color: #9a8556; }
.ppl-cal span.done { background: #3f9a1f; color: #fff; }
.ppl-cal span.started { background: #f5d777; color: #6b4a00; }
.ppl-cal span.today { outline: 3px solid var(--ppl-purple-2); }
.ppl-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.ppl-facts div { padding: 10px 12px; border-radius: 14px; background: #f7ebcd; border: 2px solid #e6d09b; }
.ppl-facts b { display: block; font-size: 1.4rem; }
.ppl-facts small { font-weight: 600; opacity: .8; }
.ppl-list { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.ppl-list li { margin: 0; }
.ppl-row {
	display: flex; width: 100%; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 2px solid #e6d09b;
	background: #fbf1d8; text-align: left; font-size: .98rem; color: var(--ppl-ink);
}
.ppl-row:hover { background: #f6e8c2; }
.ppl-row .t { flex: 1; font-weight: 700; }
.ppl-row .m { font-size: .8rem; opacity: .75; font-weight: 600; }
.ppl-tag { padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 800; background: #1a8a7a; color: #fff; }
.ppl-tag.gold { background: #e0a21a; color: #4a2c00; }
.ppl-tag.done { background: #3f9a1f; }
.ppl-bonus-words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ppl-bonus-words span { padding: 4px 12px; border-radius: 99px; background: #f1ecc9; border: 2px solid #cdbf84; font-weight: 800; letter-spacing: .06em; }
.ppl-win { text-align: center; }
.ppl-win .big { font-family: var(--ppl-display); font-size: 2.2rem; font-weight: 800; color: var(--ppl-green-dark); margin: 0; }
.ppl-win .sum { margin: 12px auto; max-width: 320px; text-align: left; }
.ppl-win .sum div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #d6c48f; font-weight: 600; }
.ppl-win .sum div:last-child { border-bottom: 2px solid #b8a05a; font-weight: 800; font-size: 1.08rem; }
.ppl-confetti { position: fixed; inset: 0; z-index: 9997; pointer-events: none; overflow: hidden; }
.ppl-confetti i { position: absolute; top: -40px; width: 22px; height: 22px; background: var(--c, #4aa52a); border-radius: 0 70% 0 70%; animation: ppl-fall linear forwards; }
@keyframes ppl-fall { to { transform: translateY(110vh) rotate(540deg); } }

/* --------------------------------------------------------------- mobile */
@media (max-width: 1060px) {
	.ppl-shell { grid-template-columns: 1fr; gap: 18px; }
	.ppl-menu { position: static; flex-direction: row; align-items: center; order: 0; }
	.ppl-menu { min-width: 0; }
	.ppl-plank { flex-direction: row; flex: 1; min-width: 0; overflow-x: auto; padding: 10px; gap: 8px; scrollbar-width: thin; }
	.ppl-menu-btn { width: auto; flex: none; white-space: nowrap; padding: 8px 12px; font-size: .92rem; }
	.ppl-mascot-wrap { display: none; }
	.ppl-side { flex-direction: row; flex-wrap: wrap; }
	.ppl-side .ppl-card { flex: 1 1 280px; }
	.ppl-deco-c, .ppl-deco-d { display: none; }
}
@media (max-width: 600px) {
	.ppl-app { padding: 14px 12px 28px; }
	.ppl-board { padding: 12px 10px 16px; }
	.ppl-title-board { padding: 6px 34px 16px; }
	.ppl-title-flower { width: 50px; left: -14px; }
	.ppl-title-leaf { width: 60px; right: -12px; top: -14px; }
	.ppl-title h1 { -webkit-text-stroke-width: 5px; }
	.ppl-play { grid-template-columns: 1fr 1fr; gap: 10px 6px; }
	.ppl-wheel-col { grid-column: 1 / -1; grid-row: 1; }
	.ppl-shuffle { grid-row: 2; justify-self: end; margin-right: 18px; }
	.ppl-hintbtn { grid-row: 2; justify-self: start; margin-left: 18px; }
	.ppl-round { width: 64px; height: 64px; font-size: .68rem; }
	.ppl-round svg { width: 22px; height: 22px; }
	.ppl-grid { gap: 4px; }
	.ppl-ribbon span { padding: 7px 28px 8px; }
	.ppl-card-flower { width: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	.ppl-app *, .ppl-confetti i { animation: none !important; transition: none !important; }
}
