@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; }
.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; }
.how { display: grid; grid-template-columns: repeat(4, 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); }
.lnk { all: unset; cursor: pointer; font: 700 13px var(--kr); color: #6b665d; text-decoration: underline; text-underline-offset: 3px; }
.bar { display: flex; gap: 10px 22px; align-items: center; flex-wrap: wrap; position: sticky; top: 0; z-index: 10; background: var(--bg); padding-top: 10px; padding-bottom: 12px; }
.opt { display: flex; align-items: center; gap: 8px; } .opt > span { font: 700 12.5px var(--kr); color: #4d4943; }
.seg { display: inline-flex; background: #fff; border-radius: 11px; padding: 3px; gap: 2px; box-shadow: 0 0 0 1px var(--line); } .seg button { all: unset; cursor: pointer; padding: 6px 11px; border-radius: 8px; font: 700 12.5px var(--kr); color: #6b665d; white-space: nowrap; } .seg button.on { background: var(--ink); color: #fff; } .seg button:disabled { opacity: .35; cursor: not-allowed; }
.rng input { width: 110px; accent-color: var(--ink); } .rng output { font: 500 12px var(--mono); width: 22px; color: var(--ink); } .rng.off { opacity: .35; pointer-events: none; }
.drop .dz { border: 2px dashed #c9c3b8; border-radius: 22px; background: #f7f5f1; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 30px; }
.dz svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.dz b { font: 800 20px var(--kr); letter-spacing: -.03em; } .dz p { margin: 0; color: var(--mute); font-size: 14px; } .dz kbd { font: 500 12px var(--mono); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; background: #fff; }
.dzb { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; } .dzb .btn { padding: 12px 18px; font-size: 14.5px; }
body.dragging .dz, body.dragging .view { outline: 3px solid var(--ac); outline-offset: 3px; }
.work { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto auto; gap: 10px 20px; align-items: start; }
.view { grid-column: 1; grid-row: 1; position: relative; height: min(62vh, 560px); min-height: 300px; border-radius: 20px; overflow: hidden; touch-action: none; user-select: none; cursor: ew-resize;
  background: #e4e0d8 conic-gradient(#ebe8e1 25%, #e1ddd4 0 50%, #ebe8e1 0 75%, #e1ddd4 0) 0 0 / 20px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.view.z { cursor: grab; }
.pic { position: absolute; left: 0; top: 0; } .pic img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-user-drag: none; }
.view.z .pic img { image-rendering: pixelated; }
.hd { position: absolute; top: 0; bottom: 0; width: 0; } .hd::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.hd i { position: absolute; top: 50%; left: -19px; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.hd i::before { content: '‹ ›'; position: absolute; inset: 0; display: grid; place-items: center; font: 800 16px/1 var(--sans); letter-spacing: 2px; color: var(--ink); }
.tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(24,22,19,.82); color: #fff; font: 600 12.5px var(--kr); backdrop-filter: blur(6px); pointer-events: none; white-space: nowrap; } .tag span { font: 500 11px var(--mono); color: #c9c3b8; margin-left: 4px; }
.tag.l { left: 12px; } .tag.r { right: 12px; background: var(--ac); } .tag.r span { color: #ffe3cf; }
.vbar { position: absolute; right: 12px; bottom: 12px; } .vbar .seg { box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.meta { grid-column: 1; grid-row: 2; margin: 0; display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #4d4943; word-break: keep-all; } .meta b { color: var(--ink); } .meta svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #2f8f5b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.list { grid-column: 2; grid-row: 1 / 3; background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -24px rgba(40,30,10,.4); }
.lh { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 8px; } .lh b { font: 800 15px var(--kr); }
.rows { display: flex; flex-direction: column; gap: 6px; max-height: 380px; overflow-y: auto; }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 34px; align-items: center; gap: 10px; padding: 7px; border-radius: 13px; cursor: pointer; box-shadow: inset 0 0 0 1px transparent; animation: rin .35s ease-out both; }
@keyframes rin { from { opacity: 0; transform: translateY(8px); } }
.row:hover { background: #f7f5f1; } .row.on { background: #f4f1eb; box-shadow: inset 0 0 0 1.5px var(--ink); }
.th { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: #eee; }
.rt b { display: block; font: 700 13.5px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rt p { margin: 1px 0 4px; font: 500 12px var(--mono); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rt p b { display: inline; font: 700 12px var(--mono); color: var(--ink); } .rt p em { color: #c2410c; font-style: normal; }
.bar2 { height: 5px; border-radius: 3px; background: #ece8e1; overflow: hidden; } .bar2 i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 3px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.row.busy .bar2 i { background: linear-gradient(90deg, #d8d2c7, #f2efe9, #d8d2c7) 0 0 / 200% 100%; animation: shim 1s linear infinite; } @keyframes shim { to { background-position: -200% 0; } }
.row.bad p { color: #c2410c; white-space: normal; font-family: var(--kr); }
.pc { font: 800 15px var(--sans); letter-spacing: -.02em; color: var(--ink); } .pc.good { color: #2f8f5b; }
.dl { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #f2efe9; } .dl svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .dl:hover { background: #e7e2d9; }
.tot { border-top: 1px solid var(--line); margin-top: 10px; padding: 12px 4px 2px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tot p { margin: 0; font: 600 14px var(--mono); } .tot p b { font-size: 16px; } .tot p span { font: 800 15px var(--sans); color: #2f8f5b; margin-left: 4px; } .tot div { display: flex; gap: 12px; align-items: center; }
@media (max-width: 900px) {
  .top, .intro, .bar, .app, .how, .foot { padding-left: 16px; padding-right: 16px; }
  h1 .q { font-size: 32px; } h1 em { font-size: 21px; } .bar { position: static; gap: 8px 14px; }
  .work { grid-template-columns: minmax(0, 1fr); } .view { height: 52vh; min-height: 260px; } .list { grid-column: 1; grid-row: 3; } .meta { grid-row: 2; }
  .how { grid-template-columns: 1fr 1fr; } .drop .dz { min-height: 300px; }
}
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } .seg button { padding: 6px 9px; } }
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 .bar { position: static; }
body.film.tall .top, body.film.tall .intro, body.film.tall .bar, body.film.tall .app { padding-left: 14px; padding-right: 14px; }
body.film.tall h1 .q { font-size: 30px; } body.film.tall h1 em { font-size: 19px; } body.film.tall .lede { display: none; }
body.film.tall .bar { gap: 8px 12px; } body.film.tall .view { height: 262px; min-height: 0; } body.film.tall .meta, body.film.tall h1 em { display: none; } body.film.tall .intro { padding-bottom: 4px; } body.film.tall .drop .dz { min-height: 560px; }
body.film:not(.tall) .view { height: 470px; } body.film:not(.tall) .rows { max-height: 300px; } body.film:not(.tall) .drop .dz { min-height: 470px; }
