@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: #f4f2ec; --ink: #141414; --mute: #85817a; --line: rgba(0,0,0,.09); --ac: #ffd23f; --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; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 40px 4px; }
.brand { display: flex; align-items: center; gap: 8px; } .brand b { font: 800 18px var(--kr); letter-spacing: -.03em; } .brand span { font: 700 12px var(--mono); background: var(--ink); color: var(--ac); border-radius: 6px; padding: 2px 7px; } .brand i { font: 500 12px var(--mono); color: var(--mute); font-style: normal; }
.gh { font: 600 14px var(--sans); text-decoration: none; }
.intro { padding: 12px 40px 16px; max-width: 1560px; margin: 0 auto; }
h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 20px; word-break: keep-all; }
h1 .q { font: 800 56px/1.08 var(--kr); letter-spacing: -.055em; } h1 em { font: italic 400 36px/1.1 Serif, serif; letter-spacing: -.02em; color: #4a4741; }
.lede { margin: 10px 0 0; font-size: 16px; color: #3b3934; max-width: 980px; } .lede b { background: linear-gradient(transparent 58%, var(--ac) 58%); padding: 0 2px; } .lede span { font: 400 14px var(--sans); color: var(--mute); }
.bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 40px; background: rgba(244,242,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); max-width: 1560px; margin: 0 auto; }
.field { display: flex; align-items: center; height: 44px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 0 6px 0 14px; width: 360px; }
.field input { all: unset; flex: 1; font: 600 16px var(--kr); min-width: 0; caret-color: #e0451f; } .field button { all: unset; cursor: pointer; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font: 600 17px var(--sans); color: #6b675e; } .field button:hover { background: #f0ede6; }
.size { display: flex; align-items: center; gap: 8px; font: 600 13px var(--kr); color: #55524b; } .size b { font: 600 12px var(--mono); width: 22px; }
.size input { appearance: none; width: 120px; height: 4px; border-radius: 9px; background: #d8d4ca; cursor: pointer; } .size input::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff; } .size input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.chip { all: unset; cursor: pointer; height: 32px; padding: 0 11px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; font: 600 13px var(--kr); background: #e9e5dc; color: #45423b; transition: background .2s, color .2s; } .chip small { font: 500 10.5px var(--mono); opacity: .55; } .chip:hover:not(.on) { background: #dfdace; } .chip.on { background: var(--ink); color: #fff; } .chip.mood { background: #fff; box-shadow: inset 0 0 0 1px var(--line); } .chip.mood.on { background: var(--ac); color: var(--ink); box-shadow: none; }
.sep { width: 1px; height: 20px; background: rgba(0,0,0,.15); margin: 0 4px; }
.count { margin-left: auto; font: 500 12px var(--kr); color: var(--mute); } .count b { font: 700 15px var(--sans); color: var(--ink); }
.grid { --fs: 34px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; padding: 18px 40px 40px; max-width: 1560px; margin: 0 auto; }
.fc { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 16px 16px 12px; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .25s; scroll-margin-top: 90px; }
.fc:hover { box-shadow: 0 0 0 1px rgba(0,0,0,.16), 0 16px 30px -18px rgba(40,30,10,.35); }
.pv { font-size: var(--fs); line-height: 1.22; height: calc(var(--fs) * 2.44 + 2px); overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -.01em; color: #111; }
.meta { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,.12); } .meta h3 { margin: 0; font: 800 17px var(--kr); letter-spacing: -.03em; } .meta .en { font: 500 12px var(--sans); color: var(--mute); }
.d { margin: 3px 0 8px; font-size: 12.5px; color: #4a4741; line-height: 1.45; } .d span { display: block; font: 400 11.5px var(--sans); color: var(--mute); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 10px; } .tg { font: 600 11px var(--kr); padding: 2px 7px; border-radius: 6px; background: #f1eee7; color: #55524b; } .tg.t { background: var(--ink); color: #fff; } .by { margin-left: auto; font: 500 10.5px var(--sans); color: #a29e95; text-align: right; }
.act { display: flex; gap: 6px; align-items: center; margin-top: auto; }
.ws { display: flex; gap: 2px; background: #f1eee7; border-radius: 9px; padding: 2px; flex: none; max-width: 52%; overflow: hidden; } .ws button { all: unset; cursor: pointer; font: 600 10.5px var(--mono); width: 18px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: #6b675e; } .ws button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); } .ws.one span { font: 600 10.5px var(--mono); padding: 0 8px; height: 26px; display: grid; place-items: center; color: #8a867c; }
.cp { all: unset; cursor: pointer; flex: 1; height: 32px; border-radius: 10px; background: #f1eee7; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font: 600 12.5px var(--kr); color: #2b2925; transition: background .2s; white-space: nowrap; } .cp:hover { background: #e6e1d4; } .cp.done { background: var(--ink); color: #fff; } .cp svg { width: 13px; height: 13px; flex: none; }
.lnk { width: 32px; height: 32px; border-radius: 10px; background: #f1eee7; display: grid; place-items: center; font: 600 14px var(--sans); text-decoration: none; color: #55524b; flex: none; } .lnk:hover { background: var(--ac); color: var(--ink); }
.rh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-top: 1.5px solid var(--ink); padding-top: 14px; margin-bottom: 16px; } .rh h2 { margin: 0; font: 800 26px var(--kr); letter-spacing: -.04em; } .rh em { font: italic 400 22px Serif, serif; color: #4a4741; } .rh small { width: 100%; font: 500 12.5px var(--kr); color: var(--mute); }
.pairs-wrap, .tips { max-width: 1560px; margin: 0 auto; padding: 10px 40px 30px; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pair { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.poster { padding: 22px 22px 20px; min-height: 180px; } .poster h4 { margin: 0 0 10px; font-size: 34px; line-height: 1.12; letter-spacing: -.02em; word-break: keep-all; } .poster p { margin: 0; font-size: 14.5px; line-height: 1.6; word-break: keep-all; }
.p0 .poster { background: #f6efe3; color: #2a2118; } .p1 .poster { background: #111; color: #fff; } .p1 h4 { color: #ffd23f; } .p2 .poster { background: #fff4d6; color: #4a3410; } .p3 .poster { background: #eef1ec; color: #1f2b22; } .p4 .poster { background: #2ac1bc; color: #062c2b; } .p5 .poster { background: #2d1b14; color: #f7e7c6; } .p5 h4 { color: #ff7a3c; } .p6 .poster { background: #eaf0f7; color: #26313d; } .p7 .poster { background: #ffd9e4; color: #4a1530; }
.pm { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px 16px; flex-wrap: wrap; } .pm b { font: 800 14px var(--kr); } .pm b small { font: 500 11px var(--sans); color: var(--mute); margin-left: 6px; } .pm span { font-size: 12px; color: #55524b; } .pm .cp { flex: none; padding: 0 12px; margin-left: auto; }
.tips ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .tips li { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 16px; font-size: 13.5px; line-height: 1.55; color: #3b3934; } .tips li b { display: block; font: 800 16px var(--kr); margin-bottom: 4px; color: var(--ink); } .tips li span { display: block; margin-top: 6px; font: 400 12px var(--sans); color: var(--mute); }
.foot { max-width: 1560px; margin: 0 auto; padding: 22px 40px 60px; border-top: 1px solid var(--line); color: #6b675e; font-size: 13.5px; } .foot p { margin: 0 0 10px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 160%); padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; font: 600 14px var(--kr); box-shadow: 0 14px 40px rgba(0,0,0,.25); transition: transform .45s cubic-bezier(.3,1.4,.5,1), visibility 0s .45s; visibility: hidden; max-width: min(92vw, 620px); z-index: 50; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s cubic-bezier(.3,1.4,.5,1), visibility 0s; } .toast pre { margin: 6px 0 0; font: 500 11.5px/1.45 var(--mono); color: #c9c4b9; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 800px) { .tips ul { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .top, .intro, .bar, .pairs-wrap, .tips { padding-left: 14px; padding-right: 14px; } .grid { padding: 14px 12px 30px; grid-template-columns: 1fr; gap: 10px; } .foot { padding: 20px 14px 40px; }
  h1 .q { font-size: 36px; } h1 em { font-size: 24px; } .lede { font-size: 14.5px; }
  .bar { position: static; background: var(--bg); backdrop-filter: none; } .field { width: 100%; } .size input { width: 140px; } .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px; scrollbar-width: none; width: calc(100% + 28px); } .chip { flex: none; } .count { margin-left: 0; }
  .pairs { grid-template-columns: 1fr; }
}
/* film */
body.film { overflow: hidden; }
.cur { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; margin: -10px 0 0 -14px; filter: drop-shadow(0 3px 4px rgba(20, 15, 10, .3)); }
.cur svg path { fill: #fff; stroke: #151515; stroke-width: 1.3; stroke-linejoin: round; } .cur .closed { display: none; } .cur.down .closed { display: block; } .cur.down .open { display: none; }
.cur i { position: absolute; left: 34px; top: 30px; font: 600 13px var(--kr); font-style: normal; background: var(--ink); color: #fff; border-radius: 7px; padding: 3px 9px; white-space: nowrap; } .cur i:empty { display: none; } .cur.flip i { left: auto; right: 4px; top: 36px; }
body.film .intro { padding-top: 4px; padding-bottom: 12px; } body.film h1 .q { font-size: 46px; } body.film h1 em { font-size: 32px; } body.film .lede { margin-top: 6px; font-size: 15px; }
