@font-face { font-family: UI; src: url(fonts/gothica1-Regular.woff2) format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: UI; src: url(fonts/gothica1-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: block; }
@font-face { font-family: UI; src: url(fonts/gothica1-ExtraBold.woff2) format('woff2'); font-weight: 800; font-display: block; }
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: block; }
@font-face { font-family: Serif; src: url(fonts/instrument-italic.woff2) format('woff2'); font-style: italic; font-display: block; }
@font-face { font-family: Mono; src: url(fonts/geistmono.woff2) format('woff2'); font-weight: 100 900; font-display: block; }
:root { --bg: #efede8; --ink: #181613; --mute: #8a857c; --line: rgba(0,0,0,.09); --ac: #ff8a3d; --sans: Inter, UI, system-ui, sans-serif; --kr: UI, Inter, system-ui, sans-serif; --mono: Mono, ui-monospace, monospace; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 400 15px/1.5 var(--kr); -webkit-font-smoothing: antialiased; }
a { color: inherit; } [hidden] { display: none !important; } button { font: inherit; color: inherit; }
.top, .intro, .app, .how, .foot { max-width: 1320px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 2px; }
.brand { display: flex; align-items: center; gap: 9px; } .brand b { font: 800 18px var(--kr); letter-spacing: -.03em; }
.brand b::before { content: ''; display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; box-shadow: inset 0 0 0 2.5px var(--ink); background: radial-gradient(circle, var(--ac) 0 3px, transparent 3.5px); }
.brand i { font: 500 12px var(--mono); color: var(--mute); font-style: normal; }
.gh { font: 600 14px var(--sans); text-decoration: none; }
.top, .intro, .bar, .chips, .app, .how, .foot { max-width: 1320px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.intro { padding-top: 8px; padding-bottom: 12px; }
h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; word-break: keep-all; }
h1 .q { font: 800 44px/1.08 var(--kr); letter-spacing: -.045em; word-spacing: .06em; } h1 em { font: italic 400 28px/1.1 Serif, serif; letter-spacing: -.02em; color: #4d4943; }
.lede { margin: 6px 0 0; font-size: 15px; color: #3b3934; word-break: keep-all; max-width: 1000px; } .lede b { background: linear-gradient(transparent 58%, #ffc89e 58%); padding: 0 2px; } .lede span { font: 400 13.5px var(--sans); color: var(--mute); }
.bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; position: sticky; top: 0; z-index: 10; background: var(--bg); padding-top: 10px; padding-bottom: 10px; }
.search { flex: 1 1 360px; min-width: 0; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 0 14px; height: 54px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px -18px rgba(40,30,10,.3); }
.search:focus-within { box-shadow: 0 0 0 2px var(--ink), 0 10px 26px -18px rgba(40,30,10,.3); }
.search svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { all: unset; flex: 1; min-width: 0; font: 600 19px var(--kr); letter-spacing: -.02em; } .search input::placeholder { color: #b3ada3; font-weight: 400; }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font: 500 12px var(--mono); color: var(--mute); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.search button { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #efece6; font: 400 18px/1 var(--sans); }
.style { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 0 14px; height: 54px; box-shadow: 0 0 0 1px var(--line); }
.rng { display: flex; align-items: center; gap: 7px; font: 700 12.5px var(--kr); color: #4d4943; } .rng input { width: 92px; accent-color: var(--ink); } .rng output { font: 500 11.5px var(--mono); width: 26px; color: var(--mute); }
.cols { display: flex; gap: 5px; } .cols button { all: unset; cursor: pointer; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); } .cols button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.cols label { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); position: relative; cursor: pointer; } .cols label input { opacity: 0; position: absolute; inset: 0; cursor: pointer; }
.seg { display: inline-flex; background: #f2efe9; border-radius: 10px; padding: 3px; gap: 2px; } .seg button { all: unset; cursor: pointer; padding: 5px 10px; border-radius: 8px; font: 700 12px var(--kr); color: #6b665d; } .seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 2px; padding-bottom: 12px; } .chips::-webkit-scrollbar { display: none; }
.chips button { all: unset; cursor: pointer; flex: none; padding: 6px 12px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 600 13px var(--kr); white-space: nowrap; } .chips button small { font: 500 11px var(--mono); color: var(--mute); margin-left: 4px; }
.chips button.on { background: var(--ink); color: #fff; } .chips button.on small { color: #bdb8ae; } .chips i { flex: none; width: 1px; background: var(--line); margin: 4px 4px; }
.app { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.count { margin: 0 0 8px; font: 600 13px var(--kr); color: var(--mute); } .count b { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; --sz: 28px; --sw: 2; --col: #181613; --cap: round; --join: round; }
.grid button { all: unset; cursor: pointer; aspect-ratio: 1; border-radius: 14px; background: #fff; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; padding: 8px 4px 7px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; min-width: 0; }
.grid button:hover { box-shadow: 0 0 0 1.5px var(--ink); } .grid button.sel { box-shadow: 0 0 0 2.5px var(--ac); } .grid button.inb::after { content: '✓'; position: absolute; }
.grid svg, .big svg, .tic svg { width: var(--sz); height: var(--sz); fill: none; stroke: var(--col); stroke-width: var(--sw); stroke-linecap: var(--cap); stroke-linejoin: var(--join); }
.grid span { font: 600 11px var(--kr); color: #6b665d; letter-spacing: -.02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid button { position: relative; } .grid button.inb::after { top: 5px; right: 7px; font: 700 10px var(--sans); color: var(--ac); }
.none { color: var(--mute); padding: 30px 0; text-align: center; word-break: keep-all; }
.detail { position: sticky; top: 84px; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -20px rgba(40,30,10,.35); padding: 16px; min-height: 200px; }
.empty { display: grid; place-items: center; align-content: center; min-height: 168px; text-align: center; color: var(--mute); } .empty b { color: var(--ink); font: 800 15px var(--kr); } .empty p { margin: 4px 0 0; font-size: 13px; }
.x { all: unset; cursor: pointer; position: absolute; right: 12px; top: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font: 400 20px/1 var(--sans); color: var(--mute); } .info { position: relative; }
.big { height: 150px; border-radius: 14px; display: grid; place-items: center; background: repeating-conic-gradient(#f4f2ee 0 25%, #fbfaf8 0 50%) 0 0 / 16px 16px; }
.big svg { width: calc(var(--sz) * 3); height: calc(var(--sz) * 3); stroke-width: calc(var(--sw) * 1); }
.detail h3 { margin: 12px 0 2px; font: 600 15px var(--mono); letter-spacing: -.02em; overflow-wrap: anywhere; }
.kws { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px; } .kws span { font: 600 11.5px var(--kr); background: #f2efe9; border-radius: 6px; padding: 2px 7px; color: #5b574f; } .kws span.hit { background: #ffe1c7; color: var(--ink); }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .acts .png { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; } .acts .png .btn { flex: 1; justify-content: center; } .acts .put { grid-column: 1 / -1; justify-content: center; }
.btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; border-radius: 11px; font: 800 13.5px var(--kr); box-shadow: inset 0 0 0 1.5px var(--ink); white-space: nowrap; }
.btn.dark { background: var(--ink); color: #fff; } .btn.put.on { background: var(--ac); box-shadow: none; color: #fff; }
.tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 8px 10px 8px 12px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(40,30,10,.45); max-width: calc(100vw - 24px); }
.tic { display: flex; gap: 4px; --sz: 20px; } .tic span { width: 30px; height: 30px; border-radius: 8px; background: #f4f2ee; display: grid; place-items: center; } .tic span.more { font: 600 11px var(--mono); color: var(--mute); }
#tn { font: 700 13px var(--kr); white-space: nowrap; } .lnk { all: unset; cursor: pointer; font: 600 12.5px var(--kr); color: var(--mute); padding: 0 4px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-top: 40px; } .how h3 { margin: 0 0 6px; font: 800 15px var(--kr); } .how p { margin: 0; font-size: 14px; color: #4d4943; word-break: keep-all; }
.foot { padding-top: 26px; padding-bottom: 90px; font: 400 12.5px var(--sans); color: var(--mute); }
.toast { position: fixed; left: 50%; top: 22px; transform: translate(-50%, -20px); opacity: 0; background: var(--ink); color: #fff; font: 600 13.5px var(--kr); padding: 9px 16px; border-radius: 99px; transition: .25s; pointer-events: none; z-index: 50; } .toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .top, .intro, .bar, .chips, .app, .how, .foot { padding-left: 14px; padding-right: 14px; }
  h1 .q { font-size: 30px; } h1 em { font-size: 19px; } .lede { font-size: 14px; } .lede span { display: none; }
  .bar { gap: 8px; } .search { flex-basis: 100%; height: 50px; } .search kbd { display: none; }
  .style { width: 100%; gap: 10px; height: auto; padding: 8px 10px; flex-wrap: wrap; } .rng input { width: 70px; } .rng output { display: none; }
  .app { grid-template-columns: minmax(0, 1fr); } .grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .detail { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40; border-radius: 20px 20px 0 0; min-height: 0; padding: 14px 14px 18px; transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  .detail.open { transform: none; visibility: visible; transition: transform .3s; } .detail .empty { display: none; } .big { height: 110px; }
  .how { grid-template-columns: 1fr; gap: 14px; } .tray { bottom: 10px; gap: 6px; } .tic { display: none; } .tray .btn { padding: 8px 10px; font-size: 12.5px; }
}
body.film { cursor: none; } body.film .how, body.film .foot { display: none; }
.cur { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; }
.cur svg { position: absolute; left: -9px; top: -4px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); } .cur path { fill: #fff; stroke: #111; stroke-width: 1.4; stroke-linejoin: round; } .cur .closed { display: none; } .cur.down .open { display: none; } .cur.down .closed { display: block; }
.cur i { position: absolute; left: 26px; top: 26px; white-space: nowrap; font: 700 13px var(--kr); font-style: normal; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 99px; } .cur i:empty { display: none; }
.cur.flip i { left: auto; right: 14px; }
body.film.tall h1 .q { font-size: 28px; } body.film.tall .lede { display: none; }
