:root { --ink:#1d1d1f; --mute:#5b5b62; --line:#e2e2e6; --brand:#2b59c3; --bg:#fff; --soft:#f5f6fa; }
[hidden] { display: none !important; }
input[type=checkbox], input[type=radio] { width: 1.15rem; height: 1.15rem; accent-color: var(--brand); flex: none; }
* { box-sizing: border-box; }
body { font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); margin: 0; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 1rem; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; padding-bottom: .8rem; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand em { font-weight: 400; font-style: normal; color: var(--mute); font-size: .9rem; }
.lang a { color: var(--brand); text-decoration: none; font-size: .95rem; }
main { padding: 1.5rem 0 2.5rem; }
h1 { font-size: 1.8rem; line-height: 1.2; margin: .2rem 0 .6rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 .4rem; }
h3 { font-size: 1.05rem; margin: 1.2rem 0 .3rem; }
p, li { max-width: 68ch; }
.sub { color: var(--mute); font-size: 1.05rem; }
a { color: var(--brand); }
button, .btn { font: inherit; padding: .65rem 1.1rem; border-radius: 8px; border: 0; background: var(--brand); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.ghost, .btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
button[disabled] { opacity: .5; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #9bb5f5; outline-offset: 2px; }
.drop { border: 2px dashed #b9c3de; border-radius: 12px; padding: 1.6rem 1rem; text-align: center; background: var(--soft); margin: 1rem 0; }
.drop.over { border-color: var(--brand); background: #eaf0ff; }
.drop p { margin: .4rem auto; }
.hint { color: var(--mute); font-size: .92rem; }
.err { color: #a4262c; background: #fdecee; border-radius: 8px; padding: .6rem .8rem; margin: .8rem 0; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin: 1rem 0; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin: .45rem 0; }
.row label { display: inline-flex; gap: .4rem; align-items: center; }
.parts { list-style: none; padding: 0; margin: .5rem 0; }
.parts input[type=checkbox] { width: 1.5rem; height: 1.5rem; }
.parts li { display: flex; gap: .6rem; align-items: center; margin: .35rem 0; }
input[type=text], select { font: inherit; padding: .4rem .5rem; border: 1px solid #c9ccd6; border-radius: 6px; max-width: 100%; }
.track { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.track b { min-width: 8rem; }
.track audio { height: 34px; flex: 1 1 180px; min-width: 0; }
.bar { height: 10px; border-radius: 5px; background: #e3e6ef; overflow: hidden; margin: 1rem 0; }
.bar i { display: block; height: 100%; width: 30%; background: var(--brand); animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }
dialog { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; max-width: 520px; width: calc(100% - 2rem); }
dialog::backdrop { background: rgba(0,0,0,.4); }
.linkbox { display: flex; gap: .5rem; margin: .6rem 0; }
.linkbox input { flex: 1; min-width: 0; }
canvas.qr { image-rendering: pixelated; width: 168px; height: 168px; border: 8px solid #fff; }
footer.bottom { border-top: 1px solid var(--line); background: var(--soft); font-size: .9rem; color: var(--mute); }
footer.bottom .wrap { padding-top: 1rem; padding-bottom: 1.4rem; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
footer.bottom a { color: var(--mute); white-space: nowrap; }
table.lic { border-collapse: collapse; width: 100%; font-size: .92rem; display: block; overflow-x: auto; }
@media (min-width: 761px) { table.lic { display: table; } }
table.lic th, table.lic td { border: 1px solid var(--line); padding: .4rem .5rem; text-align: left; vertical-align: top; }
pre.licence { white-space: pre-wrap; font-size: .8rem; background: var(--soft); padding: .8rem; border-radius: 8px; overflow-x: auto; }
@media (max-width: 480px) { h1 { font-size: 1.5rem; } .track b { min-width: 100%; } }
