@import "https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap";:root{color:#f0f5f2;font-synthesis:none;--accent:#8df7a7;--muted:#a3b0a9;--border:#2c3831;--panel:#19221d;--danger:#ffaaa7;background:#101613;font-family:Noto Sans KR,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,.button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a,input,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button{border:0}h1,h2,p{margin:0}h1{letter-spacing:-.06em;overflow-wrap:anywhere;font-size:clamp(1.9rem,3.5vw,2.7rem);line-height:1.35}h2{letter-spacing:-.03em;overflow-wrap:anywhere;font-size:1.15rem;line-height:1.5}p{line-height:1.8}code{color:var(--accent);white-space:nowrap;font:600 1em Noto Sans KR,sans-serif}.site-header{border-bottom:1px solid var(--border);align-items:center;gap:40px;min-height:88px;padding:20px 4.5%;display:flex}.brand{letter-spacing:-.05em;align-items:center;gap:12px;font-size:1.1rem;font-weight:800;display:flex}.brand-mark{color:#101613;background:var(--accent);border-radius:9px;place-items:center;width:34px;height:34px;font-size:1.25rem;display:grid;transform:rotate(-6deg)}nav{color:var(--muted);gap:25px;font-size:.875rem;display:flex}nav a:hover,.back-link:hover{color:var(--accent)}.account{align-items:center;gap:15px;margin-left:auto;font-size:.875rem;display:flex}main{max-width:1264px;min-height:calc(100vh - 177px);margin:0 auto;padding:42px 32px 80px}footer{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;gap:20px;padding:25px 4.5%;font-size:.8rem;display:flex}.footer-links{align-items:center;gap:22px;display:flex}.footer-links a{color:var(--muted)}.footer-links a:hover{color:var(--accent)}.page-intro{justify-content:space-between;align-items:center;gap:32px;margin:14px 0 44px;display:flex}.page-intro h1{margin-bottom:13px}.eyebrow{letter-spacing:.12em;color:var(--accent);margin-bottom:10px;font-size:.75rem;font-weight:700}.muted{color:var(--muted)}.small-text{font-size:.8rem}.accent{color:var(--accent)}.button{background:var(--accent);color:#102015;border:1px solid #0000;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;min-height:48px;padding:13px 22px;font-size:.9rem;font-weight:700;transition:background .15s,transform .15s;display:inline-flex}.button:hover:not(:disabled){background:#adffbf;transform:translateY(-1px)}.button.secondary{color:#eff5f0;background:0 0;border-color:#48584d}.button.secondary:hover{background:#25382b}.button.small{min-height:40px;padding:9px 15px;font-size:.8rem}.button-group{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.play-actions{justify-content:flex-end}.text-button{color:var(--muted);background:0 0;padding:8px 0}.danger{color:var(--danger)}.panel{background:var(--panel);border:1px solid var(--border);border-radius:14px}.list-toolbar,.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.list-toolbar b{color:var(--accent);margin-left:7px}.empty{text-align:center;padding:65px 25px}.empty h2{margin:12px 0;font-size:1.4rem}.empty .button{margin-top:24px}.empty-icon{font-size:2.5rem}.cup-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.cup-card{border:1px solid var(--border);background:var(--panel);border-radius:12px;overflow:hidden}.cup-card:hover{border-color:#6bb580}.cup-cover{grid-template-columns:1fr 1fr;gap:3px;height:220px;display:grid;position:relative}.cup-cover img{object-fit:cover;width:100%;height:220px}.candidate-placeholder{background:#213b2d;place-items:center;width:100%;height:100%;font-size:3.5rem;display:grid}.cup-cover>:nth-child(2),.match-card:nth-child(2) .candidate-placeholder{background:#2c3446}.round-badge{background:#101613dd;border-radius:6px;padding:4px 10px;font-size:.75rem;position:absolute;top:12px;right:12px}.cup-info{padding:22px}.cup-info p{color:var(--muted);margin-top:12px;font-size:.8rem}.cup-info p span{opacity:.65}.notice{overflow-wrap:anywhere;background:#1d3024;border:1px solid #415b48;border-radius:9px;margin:16px 0;padding:16px 20px;font-size:.875rem}.notice.error{color:#ffd4d0;background:#3b2426;border-color:#754249}.back-link{color:var(--muted);margin-bottom:24px;font-size:.875rem;display:inline-block}label{flex-direction:column;gap:9px;font-size:.875rem;display:flex}input,textarea{color:#f0f5f2;background:#111a15;border:1px solid #435248;border-radius:8px;width:100%;min-width:0;padding:12px 14px}input::placeholder,textarea::placeholder{color:#83938a}textarea{resize:vertical}.editor{max-width:970px;margin:auto}.form-section{gap:24px;margin-bottom:24px;padding:30px;display:grid}.form-section .section-heading{margin:0}.candidate-row{grid-template-columns:32px 1fr 1.4fr 38px;align-items:end;gap:16px;display:grid}.candidate-number{color:#91a297;padding-bottom:14px;font-size:.875rem}.candidate-row button{margin-bottom:5px}.full-width{width:100%}.form-actions{justify-content:flex-end;gap:12px;display:flex}.candidate-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.candidate-tile{border:1px solid var(--border);background:var(--panel);border-radius:10px;overflow:hidden}.candidate-tile img,.candidate-tile .candidate-placeholder{object-fit:cover;width:100%;height:200px}.candidate-tile h2{padding:18px;font-size:1rem}.description{white-space:pre-wrap;max-width:700px}.match-toolbar{align-items:center;gap:15px;margin-bottom:22px;font-size:.875rem;display:flex}.pill{color:var(--accent);background:#243c2c;border:1px solid #41674c;border-radius:30px;padding:6px 15px;font-weight:700}.connection{color:var(--muted);margin-left:auto;font-size:.8rem}.connection.online:before{content:"";background:var(--accent);border-radius:50%;width:7px;height:7px;margin-right:9px;display:inline-block}.match-candidates{grid-template-columns:1fr 1fr;gap:32px;display:grid;position:relative}.match-card{border:1px solid var(--border);background:var(--panel);border-radius:14px;overflow:hidden}.match-image{height:300px;position:relative}.match-image img{object-fit:cover;width:100%;height:100%}.match-image .candidate-placeholder{font-size:5.5rem}.choice-number{background:#101613b0;border:1px solid #fff5;border-radius:8px;padding:6px 14px;font-size:.9rem;position:absolute;top:18px;left:18px}.versus{color:#e5eddf;border:1px solid var(--border);background:#101613;border-radius:50%;place-items:center;width:55px;height:55px;font-style:italic;font-weight:800;display:grid;position:absolute;top:140px;left:50%;transform:translate(-50%)}.match-info{justify-content:space-between;align-items:center;gap:20px;padding:23px;display:flex}.match-info h2{margin-bottom:10px;font-size:1.35rem}.match-info code{font-size:.875rem}.vote-count{text-align:right;flex-shrink:0;justify-items:end;gap:5px;display:grid}.vote-count strong{font-size:1.8rem}.vote-count small{color:var(--muted);margin-left:5px;font-size:.8rem;font-weight:400}.vote-count span{color:var(--muted);font-size:.8rem}.vote-samples{justify-content:flex-end;min-height:24px;display:flex}.vote-samples img{border:2px solid var(--surface);object-fit:cover;width:24px;height:24px;animation:.36s cubic-bezier(.2,.9,.2,1.2) both vote-sample-pop;animation-delay:calc(var(--sample-index,0) * 45ms);background:#27322d;border-radius:50%;box-shadow:0 0 #94ffac57}.vote-samples img+img{margin-left:-8px}@keyframes vote-sample-pop{0%{opacity:0;transform:translateY(6px)scale(.65)}65%{opacity:1;transform:translateY(-2px)scale(1.08);box-shadow:0 0 0 5px #94ffac1f}to{opacity:1;transform:translateY(0)scale(1);box-shadow:0 0 #94ffac00}}.vote-track{background:#314038;height:5px}.vote-track>div{background:var(--accent);height:100%;transition:width .25s}.vote-summary{justify-content:space-between;gap:15px;padding:20px 0;font-size:.875rem;display:flex}.vote-summary b{color:var(--accent)}.host-controls{justify-content:space-between;align-items:center;gap:24px;margin:10px 0 20px;padding:25px 28px;display:flex}.host-controls p{margin-top:5px;font-size:.875rem}.demo-form{grid-template-columns:1.25fr 1fr 1fr auto;align-items:end;gap:20px;padding:25px;display:grid}.demo-form h2{font-size:1rem}.winner{text-align:center;padding:40px}.winner>img,.winner .candidate-placeholder{object-fit:cover;border-radius:12px;width:min(100%,360px);height:270px;margin:25px auto}.winner h2{font-size:2rem}.winner .button{margin-top:25px}.result-statistics{max-width:760px;margin:24px auto 0;padding:28px}.result-statistics-list{gap:18px;margin:24px 0 0;padding:0;list-style:none;display:grid}.result-statistics-list li{grid-template-columns:28px 1fr;align-items:center;gap:14px;display:grid}.result-rank{color:var(--muted);text-align:center;font-weight:700}.result-statistic-main{align-items:center;gap:14px;min-width:0;display:flex}.result-statistic-image{object-fit:cover;background:#101613;border-radius:8px;flex:0 0 64px;width:64px;height:64px}.result-statistic-content{flex:1;gap:8px;min-width:0;display:grid}.result-statistic-label{justify-content:space-between;gap:16px;display:flex}.result-statistic-label span{color:var(--accent);font-variant-numeric:tabular-nums}.result-statistic-track{background:#314038;border-radius:999px;height:7px;overflow:hidden}.result-statistic-track>div{border-radius:inherit;background:var(--accent);min-width:2px;height:100%}@media (width<=1000px){.site-header{flex-wrap:wrap;gap:20px}nav{order:3;width:100%}.cup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-intro{flex-direction:column;align-items:flex-start}.demo-form{grid-template-columns:1fr 1fr}.match-image{height:240px}}@media (width<=640px){main{padding:25px 18px 50px}.site-header{padding:20px 18px}.brand{font-size:.95rem}.account{justify-content:space-between;width:100%;margin-left:0}nav{order:initial}.page-intro{gap:18px;margin-bottom:30px}.play-actions{justify-content:flex-start;width:100%}.host-controls{flex-direction:column;align-items:stretch;padding:22px}.cup-grid{grid-template-columns:1fr}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.candidate-tile img,.candidate-tile .candidate-placeholder{height:150px}.candidate-row{grid-template-columns:25px 1fr 38px;gap:10px}.candidate-row label:nth-of-type(2){grid-column:2}.candidate-row button{grid-area:1/3/3}.form-section{padding:20px}.match-candidates{gap:14px}.match-image{height:170px}.match-image .candidate-placeholder{font-size:3.4rem}.match-info{flex-direction:column;align-items:flex-start;padding:16px 12px}.match-info h2{font-size:1rem}.vote-count{justify-content:space-between;align-items:center;width:100%;display:flex}.vote-samples{justify-content:flex-start}.versus{width:36px;height:36px;font-size:.75rem;top:80px}.vote-summary{flex-direction:column;gap:6px}.demo-form{grid-template-columns:1fr}.match-toolbar{flex-wrap:wrap;gap:10px}.connection{width:100%;margin-left:0}footer{flex-direction:column;gap:7px}.footer-links{justify-content:space-between;gap:16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}select{font:inherit;color:#f0f5f2;background:#111a15;border:1px solid #435248;border-radius:8px;width:100%;padding:12px 14px}.candidate-editor{border:1px solid var(--border);background:#141d17;border-radius:12px;gap:18px;padding:22px;display:grid}.candidate-editor-heading{grid-template-columns:32px 1fr auto;align-items:end;gap:15px;display:grid}.candidate-editor-heading button{margin-bottom:8px}.media-input-row{grid-template-columns:200px 1fr;gap:18px;display:grid}.youtube-start-options{grid-template-columns:200px minmax(180px,280px);align-items:end;gap:18px;display:grid}.checkbox-label{flex-direction:row;align-items:center;gap:10px;min-height:46px}.checkbox-label input[type=checkbox]{width:18px;min-width:18px;height:18px;accent-color:var(--accent);padding:0}input[type=file]{font-size:.8rem}input::file-selector-button{color:#f0f5f2;cursor:pointer;background:#344d3d;border:0;border-radius:4px;margin-right:10px;padding:6px 10px}.upload-preview{gap:10px;display:grid}.upload-preview>img{object-fit:contain;background:#101613;border-radius:8px;width:240px;max-width:100%;height:160px}.audio-media{background:#202e3c;flex-direction:column;justify-content:center;align-items:center;gap:20px;width:100%;height:100%;padding:25px 15px;display:flex}.audio-media>span{color:#a9c7f2;font-size:3rem}.audio-media audio{width:min(100%,360px)}.match-image iframe,.candidate-tile iframe{border:0;width:100%;height:100%;display:block}.candidate-tile iframe,.candidate-tile .audio-media{height:200px}.upload-preview .audio-media{border-radius:9px;max-width:420px;min-height:150px}.winner>iframe,.winner>.audio-media{border:0;width:min(100%,560px);height:315px;margin:25px auto}@media (width<=640px){.media-input-row,.youtube-start-options{grid-template-columns:1fr}.candidate-editor{padding:16px}.audio-media{gap:10px;padding:15px 8px}.audio-media>span{font-size:2rem}.match-image .audio-media p{display:none}}.match-card.selectable{cursor:pointer}.match-card.selectable:hover{outline:2px solid var(--accent,#00ffa3);outline-offset:2px}.match-card[role=button]:focus-visible{outline:3px solid var(--accent,#00ffa3);outline-offset:3px}.match-card[aria-disabled=true]{cursor:wait}.settings-form{gap:18px;max-width:640px;display:grid}.settings-section{max-width:760px;margin-bottom:52px}.settings-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px;display:flex}.account-details{gap:14px;margin:0 0 16px;display:grid}.account-details div{grid-template-columns:90px minmax(0,1fr);gap:18px;display:grid}.account-details dt{color:var(--muted)}.account-details dd{overflow-wrap:anywhere;min-width:0;margin:0}.account-logout{color:var(--danger)}.version-details{margin-top:22px}.settings-form select{background:var(--panel,#18221e);width:100%;color:inherit;border:1px solid #405047;border-radius:10px;padding:12px}@media (width<=640px){.settings-heading{flex-direction:column;align-items:start}.account-details div{grid-template-columns:1fr;gap:4px}}
