*{box-sizing:border-box}body{margin:0;background:#f3f6fb;color:#14243d;font:16px system-ui,sans-serif}header{position:sticky;top:0;z-index:10;background:white;border-bottom:1px solid #dbe4ef;padding:15px max(16px,calc((100% - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:nowrap}header b{color:#1756c7}header span{font-size:12px;color:#66758a}a{color:#1459c5;text-decoration:none}header a{font-size:13px}main{max-width:1120px;margin:auto;padding:18px 16px 95px}.hero{background:linear-gradient(120deg,#174fb8,#3383e9);color:white;border-radius:24px;padding:30px}.hero h1{font-size:clamp(27px,5vw,44px);margin:10px 0}.hero p{margin:0 0 20px}.hero input{width:100%;background:white}.hero #status{font-size:12px;margin-top:12px}.quick{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:15px 0}button,input,select{font:inherit;border:1px solid #d5dfeb;border-radius:12px;padding:11px;background:white;color:inherit;min-width:0}button{cursor:pointer;font-weight:600}button:hover,button.active{background:#e0edff;border-color:#3978d6;color:#174fb8}button:focus-visible,a:focus-visible{outline:3px solid #5596ff}.panel{background:white;border:1px solid #e0e7f1;padding:18px;border-radius:18px;margin:15px 0}h2{font-size:19px;margin:0 0 14px}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.fields label{font-size:13px;font-weight:600;display:grid;gap:6px}.fields input,.fields select{width:100%}.heading,.calhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 12px}.heading h2,.calhead h2{margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{background:white;border:1px solid #e0e7f1;border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.photo{width:100%;aspect-ratio:16/9;object-fit:contain;background:#e4edf9;display:grid;place-items:center;font-size:48px}.info{padding:15px;flex:1}.info h3{margin:8px 0;font-size:19px;overflow-wrap:anywhere}.info p{font-size:14px;color:#526479;margin:7px 0}.tag{display:inline-block;font-size:12px;color:#174fb8;background:#eaf2ff;padding:4px 8px;border-radius:8px}.actions{display:flex;gap:8px;margin-top:14px}.actions button:first-child{flex:1;background:#1756c7;color:white}.days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.days button{padding:8px 0;font-size:13px}.days small{display:block;color:#1756c7}.days b{font-size:12px}#more{display:block;margin:20px auto}footer{text-align:center;font-size:12px;line-height:1.8;color:#66758a;padding:30px 0}nav{position:fixed;bottom:0;left:0;right:0;background:white;display:flex;justify-content:center;z-index:10;border-top:1px solid #dbe4ef;padding:5px 8px max(5px,env(safe-area-inset-bottom))}nav button{border:0;flex:1;max-width:160px;font-size:20px;padding:5px}nav span{display:block;font-size:11px}dialog{border:0;border-radius:20px;width:min(94vw,650px);max-height:90dvh;padding:22px;color:inherit}dialog::backdrop{background:#12233b88}#close{float:right;position:sticky;top:0;z-index:1}#detailBody p{white-space:pre-wrap;overflow-wrap:anywhere}#detailBody a{display:inline-block;margin:5px 8px 5px 0;padding:9px;border:1px solid #cbd9ed;border-radius:10px}[hidden]{display:none!important}.empty{padding:40px;text-align:center;grid-column:1/-1;background:white;border-radius:16px}@media(max-width:650px){header{padding:12px}.hero{padding:22px 16px}.quick{grid-template-columns:repeat(2,1fr)}.quick button:last-child{grid-column:1/-1}.fields{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}.panel{padding:13px}main{padding:12px 12px 90px}.heading button{font-size:13px}.days{gap:2px}.days button{font-size:12px}} 
/* v1.7 */
:root{scroll-padding-top:78px;--blue:#1756c7}body{line-height:1.5;background:#f2f6fc}header{box-shadow:0 2px 12px #18396a0b;min-height:58px}.hero{background:linear-gradient(125deg,#123d94,#377fe9);box-shadow:0 12px 28px #174fb824}.hero input{min-height:48px;color:#14243d}.discover{margin:24px 0}.discover .heading small{color:#526479}.recommend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{box-shadow:0 3px 12px #12233b08}.info{display:flex;flex-direction:column}.actions{margin-top:auto;padding-top:12px}.tag{align-self:flex-start}.tag.running{background:#e5f5eb;color:#17653a}.tag.upcoming{background:#e9efff;color:#234ba0}.tag.ended{background:#edf0f4;color:#526479}.fallback{background:linear-gradient(145deg,#dceaff,#f4f8ff);align-content:center;gap:6px}.fallback span{font-size:48px}.fallback small{font-size:12px;color:#435674}.fallback[data-theme="꽃·자연"]{background:linear-gradient(135deg,#fce3eb,#fff5ef)}.fallback[data-theme="빛·야경"]{background:linear-gradient(135deg,#d9defa,#e9dafa)}.fallback[data-theme="먹거리·특산물"]{background:linear-gradient(135deg,#ffebce,#fff5d9)}.fallback[data-theme="전통·문화"]{background:linear-gradient(135deg,#e4e9d9,#f9eddb)}#filterToggle{display:none}#detailBody h2{padding-right:48px;font-size:24px}#detailBody .photo{border-radius:14px}#detailBody p{line-height:1.8}#detailBody button{margin:5px 5px 5px 0}nav{box-shadow:0 -4px 16px #18396a0e}nav button{min-height:48px}button{min-height:42px}#count{scroll-margin-top:76px}@media(max-width:650px){header{min-height:52px}header a{font-size:12px}.hero{border-radius:18px}.hero h1{font-size:30px}.quick{display:flex;overflow-x:auto;gap:8px;scrollbar-width:thin;padding-bottom:6px}.quick button{flex:0 0 auto;white-space:nowrap;font-size:14px}.recommend{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 8px;gap:10px}.recommend .card{flex:0 0 78%;scroll-snap-align:start}.recommend .empty{width:100%}.discover .heading{margin-top:14px}.discover .heading button{font-size:12px}.discover h2{font-size:18px}#filterToggle{display:block;width:100%;margin-bottom:8px}#filterBody:not(.expanded){display:none}.fields input,.fields select{font-size:16px;min-height:44px}.cards .card{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:stretch}.cards .photo{height:100%;aspect-ratio:auto;min-height:150px;object-fit:contain}.cards .info{padding:10px}.cards .info h3{font-size:16px}.cards .info p{font-size:12px}.cards .fallback small{font-size:10px;text-align:center}.cards .actions button{font-size:13px;padding:8px}.cards .fallback span{font-size:32px}dialog{padding:16px;max-height:88dvh}#detailBody h2{font-size:20px}}
