/*
Theme Name: Cardroom
Theme URI: https://businesscardtemplate.info/
Author: BusinessCardTemplate
Description: A dark studio theme for business card templates: flip-card galleries, an in-browser card maker with print-ready PDF export, HD background library and spec-sheet guides.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: cardroom
*/
:root {
	--bg: #0E0F12; --bg2: #14161B; --card: #1A1D23; --card2: #22262E; --line: #2B3039; --line2: #3A404B;
	--text: #ECEAE4; --text2: #C3C6CC; --muted: #8E95A1;
	--lime: #D4FF4F; --coral: #FF7A59; --violet: #A99BFF;
	--display: "Syne", "Arial Black", system-ui, sans-serif;
	--body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1280px; --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; color: #fff; }
h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.05em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--lime); color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card2); color: var(--text); font: 650 15px var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { border-color: var(--text2); color: #fff; transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: #0B0C0E; border-color: var(--lime); }
.btn-lime:hover { background: #E6FF8A; color: #000; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills a, .pills button { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--text2); text-decoration: none; font: 600 14px var(--body); background: transparent; cursor: pointer; }
.pills a:hover, .pills button:hover { color: #fff; border-color: var(--text2); }
.pills button[aria-pressed="true"] { background: var(--text); color: #000; border-color: var(--text); }
.meta { color: var(--muted); font-size: 14px; }
.tiny { font-size: 13px; color: var(--muted); margin: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(14,15,18,.86); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark { width: 38px; height: 38px; transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.brand:hover .mark { transform: rotate(-8deg); }
.wordmark { font: 800 19px/1 var(--display); color: #fff; letter-spacing: -.02em; }
.wordmark b { color: var(--lime); font-weight: 800; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 13px; border-radius: 999px; color: var(--text2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: var(--card2); }
.top-cta { margin-left: auto; padding: 9px 16px; }
.burger { display: none; flex: none; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 12px; background: transparent; position: relative; cursor: pointer; }
.burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); padding: 16px 0 22px; }
.drawer ul:not(.pills) { list-style: none; padding: 0; margin: 14px 0; }
.drawer ul:not(.pills) a { display: block; padding: 11px 0; color: #fff; text-decoration: none; font: 700 18px var(--display); border-bottom: 1px solid var(--line); }
.drawer-h { font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
@media (max-width: 1020px) { .nav { display: none; } .burger { display: block; } .top-cta { padding: 8px 14px; font-size: 14px; } .top-row { height: 62px; gap: 12px; } }
@media (min-width: 1021px) { .drawer { display: none !important; } }
@media (max-width: 460px) { .top-cta { display: none; } .burger { margin-left: auto; } }

.cr-search { position: relative; display: flex; align-items: center; background: none; }
.cr-search input { width: 100%; font: 500 16px var(--body); color: #fff; background: var(--card); border: 1px solid var(--line2); border-radius: 999px; padding: 13px 54px 13px 20px; outline: none; }
.cr-search input::placeholder { color: var(--muted); }
.cr-search input:focus { border-color: var(--lime); }
.cr-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--lime); color: #000; display: grid; place-items: center; cursor: pointer; }
.cr-search button svg { width: 18px; height: 18px; }
.cr-search.s-hero { max-width: 560px; }
.cr-search.s-inline { max-width: 560px; margin: 6px 0 26px; }

.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line2); }
.crumbs a { color: var(--text2); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.lede { font-size: 20px; line-height: 1.55; color: var(--text2); max-width: 60ch; }

/* gallery pages */
.pg-head { padding: 40px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(1000px 420px at 85% 0%, rgba(212,255,79,.07), transparent 60%), radial-gradient(800px 380px at 0% 100%, rgba(255,122,89,.07), transparent 60%); }
.pg-head-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.has-hero .pg-head-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pg-head h1 { max-width: 20ch; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.pg-hero { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); border: 1px solid var(--line); }
.head-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 0; }
@media (max-width: 900px) { .has-hero .pg-head-grid { grid-template-columns: 1fr; gap: 24px; } .pg-head { padding: 26px 0 26px; } .lede { font-size: 18px; } }
.pg-body { padding: 34px 0 80px; }
.intro { max-width: 78ch; color: var(--text2); font-size: 17.5px; }
.intro p:last-child { margin-bottom: 0; }

.gal-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 34px 0 18px; }
.gal-head h2 { margin: 0; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 26px 22px; margin: 0 0 56px; }
.tpl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tpl[hidden] { display: none; }
.flip { perspective: 1400px; cursor: pointer; border-radius: 10px; }
.flip-in { position: relative; display: grid; transition: transform .7s cubic-bezier(.25,.8,.25,1); transform-style: preserve-3d; }
.flip-in > img { grid-area: 1 / 1; width: 100%; height: auto; border-radius: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 26px 40px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.05); background: #fff; }
.flip-in > img + img { transform: rotateY(180deg); }
.flip:hover .flip-in, .flip.flipped .flip-in, .flip:focus-visible .flip-in { transform: rotateY(180deg); }
@media (hover: none) { .flip:hover .flip-in { transform: none; } .flip.flipped .flip-in { transform: rotateY(180deg); } }
.tpl.v .flip { width: 44%; margin: 0 auto; }
.tpl figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-name { flex: 1; min-width: 140px; font-size: 14.5px; color: var(--text2); line-height: 1.35; }
.tpl-name b { display: block; color: #fff; font: 700 15.5px var(--display); }
.tpl .btn { padding: 8px 14px; font-size: 14px; }
.flip-hint { font-size: 13px; color: var(--muted); }

/* copy sections */
.copy { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.copy-main { min-width: 0; }
.copy-main section { margin-bottom: 38px; }
.copy-main p, .copy-main li, .prose p, .prose li { color: var(--text2); }
.copy-main ul, .copy-main ol, .prose ul, .prose ol { padding-left: 1.25em; }
.copy-main li, .prose li { margin-bottom: 7px; }
.copy-main li::marker, .prose li::marker { color: var(--lime); }
.copy-main strong, .prose strong { color: #fff; }
.side { position: sticky; top: 96px; display: grid; gap: 16px; }
.spec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.spec h2 { font-size: 18px; margin-bottom: 12px; }
.spec dl { margin: 0; display: grid; gap: 0; }
.spec dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line2); font-size: 14.5px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; font-weight: 650; color: #fff; }
.spec.lime { background: var(--lime); border-color: var(--lime); color: #0B0C0E; }
.spec.lime h2, .spec.lime p { color: #0B0C0E; }
.spec.lime p { margin: 0 0 14px; font-size: 15px; }
.spec.lime .btn { background: #0B0C0E; color: #fff; border-color: #0B0C0E; }
@media (max-width: 1000px) { .copy { grid-template-columns: 1fr; gap: 10px; } .side { position: static; } }
.tablewrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
th { text-align: left; background: var(--card2); color: #fff; font: 700 13px var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 11px 14px; border-bottom: 1px solid var(--line2); }
td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text2); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: #fff; font-weight: 600; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 46px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 18.5px; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > p { margin: 0 0 18px; color: var(--text2); }
.sources { font-size: 14px; color: var(--muted); }
.sources h2 { font: 700 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sources a { color: var(--text2); word-break: break-word; }
.related { margin-top: 30px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.card a:hover { transform: translateY(-4px); border-color: var(--line2); color: #fff; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--card2); }
.card-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.card-body b { font: 700 17px/1.2 var(--display); color: #fff; }
.card-body small { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* backgrounds */
.bggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; margin: 0 0 50px; }
.bgi { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bgi[hidden] { display: none; }
.bgi img { aspect-ratio: 7 / 4; object-fit: cover; width: 100%; }
.bgi figcaption { display: flex; gap: 8px; align-items: center; padding: 10px 12px; font-size: 14px; color: var(--text2); }
.bgi figcaption span { flex: 1; }
.bgi .btn { padding: 6px 12px; font-size: 13px; }

/* hubs */
.hubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 0 48px; }
.hubgrid li[hidden] { display: none; }
.filterrow { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0 0 22px; }
.filterrow input { flex: 1; min-width: 220px; max-width: 420px; font: 500 16px var(--body); color: #fff; background: var(--card); border: 1px solid var(--line2); border-radius: 999px; padding: 11px 18px; }

/* guides */
.guide-head { padding: 40px 0 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.guide-head h1 { max-width: 20ch; }
.guide-body { padding: 36px 0 80px; }
.guide-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14.5px; }
.toc p { font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: #fff; }
.toc a.on { color: var(--lime); border-left-color: var(--lime); }
.g-main { min-width: 0; }
.g-sec { margin-bottom: 40px; }
.g-sec p, .g-sec li { color: var(--text2); }
.g-sec ul, .g-sec ol { padding-left: 1.25em; }
.g-sec li { margin-bottom: 7px; }
.g-sec li::marker { color: var(--lime); }
.g-sec strong { color: #fff; }
@media (max-width: 1180px) { .guide-grid { grid-template-columns: minmax(0, 1fr) 290px; } .toc { display: none; } }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; gap: 10px; } }
.dlrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }

/* home */
.hero { padding: 64px 0 50px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 78% 30%, rgba(212,255,79,.12), transparent 60%), radial-gradient(600px 380px at 20% 90%, rgba(169,155,255,.1), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: .98; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { margin-bottom: 26px; }
.hero-pop { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.hero-pop a { margin-left: 10px; color: var(--text2); }
.deck { position: relative; aspect-ratio: 1.15; }
.deck img { position: absolute; width: 74%; border-radius: 10px; box-shadow: 0 40px 60px -28px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.06); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.deck img:nth-child(1) { left: 0; top: 4%; transform: rotate(-9deg); }
.deck img:nth-child(2) { right: 0; top: 26%; transform: rotate(7deg); }
.deck img:nth-child(3) { left: 12%; top: 50%; transform: rotate(-2deg); }
.deck:hover img:nth-child(1) { transform: rotate(-13deg) translate(-12px, -10px); }
.deck:hover img:nth-child(2) { transform: rotate(11deg) translate(12px, -6px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } .hero { padding: 34px 0 30px; } .deck { max-width: 520px; } }
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.band-head h2 { margin: 0; }
.band-head p { margin: 0; color: var(--text2); max-width: 56ch; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps3 li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.steps3 li::before { content: counter(s, decimal-leading-zero); display: block; font: 800 34px var(--display); color: var(--lime); margin-bottom: 8px; }
.steps3 b { display: block; font: 700 19px var(--display); color: #fff; margin-bottom: 6px; }
.steps3 span { color: var(--text2); font-size: 15.5px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.chips-big { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips-big a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; }
.chips-big a:hover { border-color: var(--lime); }
.chips-big small { color: var(--muted); font-weight: 500; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.sizes li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.sizes .box { border: 1.5px dashed var(--lime); border-radius: 6px; margin-bottom: 14px; }
.sizes b { display: block; font: 800 22px var(--display); color: #fff; }
.sizes span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .sizes { grid-template-columns: 1fr 1fr; } }

/* plain */
.plain { padding: 40px 0 80px; }
.plain h1 { font-size: clamp(32px, 4.4vw, 52px); }
.prose h2 { font-size: 28px; margin-top: 1.5em; }
.cta-box { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.results { list-style: none; padding: 0; margin: 0 0 30px; }
.results a { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.results img { width: 120px; border-radius: 8px; flex: none; }
.results b { display: block; font: 700 19px var(--display); color: #fff; }
.results small { color: var(--muted); font-size: 14.5px; }
.empty { color: var(--text2); font-size: 18px; }
.lost { padding: 70px 0 100px; }
.lost-cards { position: relative; height: 130px; margin-bottom: 20px; }
.lost-cards span { position: absolute; width: 170px; height: 98px; border-radius: 8px; background: var(--lime); top: 10px; left: 0; transform: rotate(-10deg); }
.lost-cards span + span { background: var(--coral); left: 80px; top: 24px; transform: rotate(14deg); }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 7px 13px; border: 1px solid var(--line2); border-radius: 8px; color: var(--text2); text-decoration: none; }
.pager .current { background: var(--lime); color: #000; border-color: var(--lime); }

/* maker */
dialog.maker { padding: 0; border: 1px solid var(--line2); border-radius: 22px; background: var(--bg2); color: var(--text); width: min(1180px, 100% - 20px); max-height: calc(100vh - 20px); overflow: auto; }
dialog.maker::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.maker-inline { background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; margin: 6px 0 50px; }
.mk { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); }
.mk-stage { padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--text2); font: 650 14px var(--body); padding: 7px 16px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text); color: #000; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text2); cursor: pointer; }
.chk input { accent-color: var(--lime); width: 17px; height: 17px; }
.mk-x { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.mk-x:hover { background: var(--card2); }
.mk-canvas { display: grid; place-items: center; min-height: 360px; padding: 24px; border-radius: 16px; background: repeating-conic-gradient(#1c1f25 0 25%, #191b21 0 50%) 0 0 / 24px 24px; }
.mk-canvas canvas { max-width: 100%; max-height: 58vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.9); cursor: pointer; }
.maker.is-v .mk-canvas canvas { max-height: 62vh; }
.mk-hint, .mk-note { margin: 0; font-size: 13px; color: var(--muted); }
.mk-dl { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-dl .btn { padding: 10px 16px; font-size: 14.5px; }
.mk-panel { padding: 20px; min-width: 0; }
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line2); border-radius: 999px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; border-radius: 999px; background: transparent; color: var(--text2); font: 650 14px var(--body); padding: 8px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card2); color: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.fields[hidden] { display: none; }
.fields label:not(.chk):not(.file) { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fields input:not([type="checkbox"]):not([type="file"]):not([type="color"]), .fields select { width: 100%; font: 500 15px var(--body); color: #fff; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; }
.fields input:focus, .fields select:focus { outline: none; border-color: var(--lime); }
.fields input[type="color"] { width: 100%; height: 42px; border: 1px solid var(--line2); border-radius: 10px; background: var(--card); padding: 4px; }
.fields .wide { grid-column: 1 / -1; }
.lab { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.sw { aspect-ratio: 1; border-radius: 10px; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sw[aria-pressed="true"] { border-color: var(--lime); }
.logo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.file { display: inline-flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.file input { font-size: 13px; color: var(--text2); }
.link { border: 0; background: none; color: var(--lime); font: 600 13px var(--body); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
	.mk { grid-template-columns: 1fr; }
	.mk-stage { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; }
	.mk-canvas { min-height: 0; padding: 14px; }
	.mk-panel { padding: 14px; }
	.fields { grid-template-columns: 1fr; }
	.swatches { grid-template-columns: repeat(6, 1fr); }
	dialog.maker { width: 100%; max-height: 100vh; border-radius: 0; margin: 0; max-width: none; height: 100vh; }
}

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 26px; background: var(--bg2); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot h2 { font: 700 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot a { color: var(--text2); text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot-brand p { color: var(--muted); max-width: 42ch; margin-top: 14px; }
.foot-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .flip:hover .flip-in { transform: none; } }
.pickbtn { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--text); cursor: pointer; overflow: hidden; text-align: left; font: inherit; transition: transform .2s, border-color .2s; }
.pickbtn:hover { transform: translateY(-4px); border-color: var(--lime); }
.pickbtn img { aspect-ratio: 7 / 4; object-fit: cover; width: 100%; }
.picks { margin-bottom: 50px; }
.side .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
.side .card-body { padding: 8px 10px 10px; }
.side .card-body b { font-size: 14px; }
.guide-head h1 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; max-width: 24ch; }
@media (max-width: 560px) {
	.wordmark { font-size: 15px; letter-spacing: -.03em; }
	.brand .mark { width: 32px; height: 32px; }
	.brand { gap: 8px; min-width: 0; }
	.top-row { gap: 10px; }
	.foot .wordmark { font-size: 17px; }
}
@media (max-width: 360px) { .wordmark { font-size: 13px; } }
