:root {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #282b31; background: #f4f3f0; color-scheme: light;
  --ink: #282b31; --muted: #797b80; --line: #e4e3df;
  --paper: #fffefa; --accent: #30343b; --warm: #9b743e;
  --ease: cubic-bezier(.2,.75,.25,1);
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 90% 0%, #eee9df80, transparent 44%), #f4f3f0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button {
  cursor: pointer; border: 1px solid var(--line); border-radius: 10px;
  background: #fffefa; color: var(--ink); padding: 11px 17px;
  font-size: 13px; font-weight: 550; line-height: 1.4;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
button:active { transform: scale(.97); }
button:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, #41464e, #262a31); box-shadow: 0 3px 8px #25292d12, inset 0 1px #ffffff17; }
.danger { color: #b54b40; }
.quiet { background: transparent; border-color: transparent; color: var(--muted); }
input, select, textarea {
  width: 100%; min-width: 0; border: 1px solid #deded8; border-radius: 10px;
  background: #fbfaf7; color: var(--ink); padding: 12px 13px; outline: none;
  font-size: 13px; transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: #949599; font-weight: 400; }
input:focus, select:focus, textarea:focus { background: #fff; border-color: #a6a193; box-shadow: 0 0 0 4px #a3916f12; }
textarea { resize: vertical; min-height: 116px; line-height: 1.7; }
label { display: grid; gap: 9px; font-size: 12px; font-weight: 550; margin-bottom: 20px; }
small, .muted { color: var(--muted); font-weight: 400; font-size: 12px; line-height: 1.7; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 30px; font-weight: 650; letter-spacing: -.8px; }
h2 { font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
h3 { font-size: 14px; }
.shell { min-height: 100dvh; padding-left: 218px; }
.sidebar {
  position: fixed; top: 18px; bottom: 18px; left: 18px; width: 184px; z-index: 30;
  padding: 22px 12px 14px; border-radius: 18px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #343940, #25292f 75%); color: #ebedea;
  border: 1px solid #ffffff1c; box-shadow: 0 12px 32px #25292f14, inset 0 1px #ffffff0c;
}
.nav { display: grid; gap: 7px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; color: #b4b7bd; font-size: 13px; transition: color .2s, background .2s, transform .2s; }
.nav a.active { color: #fff; background: #ffffff12; box-shadow: inset 0 1px #ffffff09; }
.nav a.active::before { content: ""; position: absolute; left: -12px; width: 3px; height: 17px; background: #cfb384; border-radius: 0 3px 3px 0; animation: nav-in .25s var(--ease); }
.nav svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease); }
.sidebar-bottom { margin-top: auto; padding: 18px 10px 4px; }
.profile { display: flex; align-items: center; gap: 10px; padding: 16px 4px 2px; border-top: 1px solid #ffffff13; }
.profile::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #baa782; box-shadow: 0 0 0 4px #baa78213; }
.profile strong { font-size: 12px; font-weight: 500; letter-spacing: .2px; overflow-wrap: anywhere; }
.main { max-width: 1440px; margin: auto; padding: 42px 40px 68px; }
#content { animation: page-in .32s var(--ease) both; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.page-head h1 { margin: 0; }
.page-head>button { white-space: nowrap; padding-right: 0; }
.searchbar { position: relative; display: flex; gap: 8px; padding: 6px; border: 1px solid #e0dfda; border-radius: 14px; background: #fffefb; box-shadow: 0 3px 10px #30343b03; transition: box-shadow .25s, border-color .25s; }
.searchbar:focus-within { border-color: #bcb4a5; box-shadow: 0 0 0 4px #a3916f0c; }
.tag-suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 25; max-height: min(420px,55dvh); overflow-y: auto; padding: 6px; background: #fffefa; border: 1px solid #e4dfd4; border-radius: 13px; box-shadow: 0 16px 34px #272b3124; }
.tag-suggestions[hidden] { display: none; }
.searchbar .tag-suggestions button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; text-align: left; border: 0; background: transparent; white-space: normal; }
.tag-suggestions button[aria-selected=true] { background: #eee8dc; }
.tag-suggestions span { min-width: 0; overflow-wrap: anywhere; }
.tag-suggestions strong { display: block; font-size: 12px; font-weight: 550; }
.tag-suggestions small { display: block; font-size: 10px; }
.tag-suggestions em { flex-shrink: 0; font-size: 10px; font-style: normal; color: #8e754f; }
.dictionary summary { cursor: pointer; font-size: 13px; }
.dictionary p { font-size: 12px; margin: 15px 0 0; color: var(--muted); }
.dictionary .actions { margin-top: 15px; gap: 14px; font-size: 11px; color: #8e754f; }
.dictionary a { text-decoration: underline; text-underline-offset: 3px; }
.searchbar>svg { width: 19px; height: 19px; flex-shrink: 0; align-self: center; color: #92918b; margin-left: 12px; }
.searchbar input { background: transparent; border: 0; box-shadow: none; padding: 12px 7px; font-size: 14px; }
.searchbar input:focus { box-shadow: none; background: transparent; }
.searchbar button { min-width: 82px; border-radius: 9px; white-space: nowrap; }
.filters { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 21px 0 10px; }
.filters button { font-size: 12px; padding: 7px 14px; border-color: transparent; border-radius: 8px; background: transparent; color: var(--muted); }
.filters button.active { background: #fffefb; border-color: #e5e1d9; color: #393936; box-shadow: 0 2px 5px #3b362b06; }
.filters select { width: auto; margin-left: auto; max-width: 180px; padding: 8px 12px; font-size: 12px; background: transparent; border-color: #e2dfd7; }
.section-line { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 20px; }
.section-line:has(>.count:only-child) { justify-content: flex-end; margin: 12px 0 18px; }
.section-line h2 { font-size: 15px; margin: 0; }
.count { font-size: 11px; color: #8b8b87; white-space: nowrap; font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(175px,1fr)); gap: 29px 22px; }
.card { min-width: 0; animation: card-in .45s var(--ease) both; }
.card:nth-child(6n+2) { animation-delay: .035s; }
.card:nth-child(6n+3) { animation-delay: .07s; }
.card:nth-child(6n+4) { animation-delay: .105s; }
.card:nth-child(6n+5) { animation-delay: .14s; }
.card:nth-child(6n+6) { animation-delay: .175s; }
.grid.quiet-update .card { animation: none; }
.card>a { display: block; border-radius: 12px; }
.cover { position: relative; overflow: hidden; aspect-ratio: 3/4; border-radius: 10px; background: #e4e2dc; box-shadow: 0 4px 8px #252a3010, 0 12px 24px -18px #252a3059; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cover::after { content: ""; position: absolute; inset: 0; border: 1px solid #ffffff38; border-radius: inherit; box-shadow: inset 2px 0 4px #0000000a; pointer-events: none; }
.cover img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), opacity .35s; }
.cover.image-pending img { opacity: 0; }
.cover .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #b5b3ab; background: linear-gradient(135deg,#e8e7e0,#deded5); }
.cover .placeholder svg { width: 38px; height: 38px; stroke-width: 1; }
.badge { position: absolute; bottom: 10px; left: 10px; border: 1px solid #ffffff29; border-radius: 6px; padding: 4px 7px; color: #fff; background: #282b31ad; backdrop-filter: blur(12px); font-size: 10px; font-variant-numeric: tabular-nums; }
.heart { position: absolute; top: 10px; right: 10px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #fffdf3ed; box-shadow: 0 2px 8px #0001; color: #9a694f; font-size: 13px; }
.card h3 { font-size: 13px; font-weight: 550; line-height: 1.65; margin: 13px 1px 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; transition: color .2s; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: #858681; font-size: 10px; padding: 0 1px; }
.progress-track { height: 3px; border-radius: 4px; background: #e1dfd8; overflow: hidden; margin-top: 10px; }
.progress-track progress { display: block; width: 100%; height: 3px; accent-color: #aa8a56; }
.skeleton-card { min-width: 0; }
.skeleton-cover { aspect-ratio: 3/4; border-radius: 10px; }
.skeleton-line { height: 11px; width: 85%; margin-top: 15px; border-radius: 5px; }
.skeleton-line.short { width: 45%; height: 8px; margin-top: 9px; }
.skeleton-cover, .skeleton-line { background: linear-gradient(100deg,#e9e7e1 30%,#f2f0eb 50%,#e9e7e1 70%); background-size: 250% 100%; animation: shimmer 1.7s ease-in-out infinite; }
.loadmore { text-align: center; margin: 36px 0 10px; }
.empty { min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; padding: 50px 24px; border: 1px solid #e5e3dd; border-radius: 16px; background: linear-gradient(155deg,#fffefa80,#eeece580); }
.empty::before { content: ""; width: 42px; height: 50px; border: 1px solid #c8c3b7; border-radius: 5px 10px 10px 5px; background: linear-gradient(90deg,#c9c0af20 6px,transparent 6px),#fffefa; box-shadow: 5px 4px 0 -1px #ece9e1, 5px 4px 0 0 #d8d3c8; transform: rotate(-7deg); margin: 0 0 9px; }
.empty h2 { font-size: 15px; color: #66675f; margin: 0; font-weight: 500; }
.empty p { font-size: 12px; line-height: 1.8; color: var(--muted); max-width: 440px; margin: 0; }
.notice { margin-bottom: 24px; border-radius: 10px; border: 1px solid #e7dbc7; background: #f5ede0; padding: 13px 16px; color: #8b6a3d; font-size: 12px; line-height: 1.8; }
.panel { background: #fffefb; border: 1px solid #e6e3dd; border-radius: 16px; padding: 27px; margin-bottom: 24px; box-shadow: 0 2px 3px #3b362b02; }
.panel>h2 { margin-bottom: 23px; }
.panel p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.columns { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 24px; }
.columns>div { min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.row { display: flex; gap: 20px; }
.row>* { flex: 1; min-width: 0; }
.metric { padding: 8px 0; }
.metric strong { display: block; font-size: 27px; font-weight: 550; letter-spacing: -1px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.metric span { font-size: 11px; color: var(--muted); }
.list-row { padding: 17px 0; border-bottom: 1px solid #eeece7; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.list-row:last-child { border-bottom: 0; }
.list-row>div { min-width: 0; }
.list-row strong { font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.list-row small { display: block; margin-top: 4px; font-size: 11px; }
.list-row button { font-size: 11px; padding: 7px 10px; white-space: nowrap; }
#backList { margin: -7px 0 21px -13px; font-size: 12px; }
.detail { display: grid; grid-template-columns: 208px minmax(0,1fr); column-gap: 38px; row-gap: 25px; padding: 30px; background: linear-gradient(125deg,#f8f6f0,#fffefa 52%); }
.detail .cover { width: 208px; border-radius: 8px; box-shadow: 0 9px 20px -10px #29231d55, 0 2px 5px #29231d16; }
.detail>div:nth-child(2) { align-self: center; padding: 6px 0; }
.eyebrow { display: inline-block; font-size: 10px; letter-spacing: .5px; font-weight: 500; color: #8e754f; padding: 5px 9px; background: #eee7d960; border: 1px solid #ded3bf70; border-radius: 5px; margin-bottom: 17px; }
.detail h1 { font-size: 24px; line-height: 1.65; letter-spacing: -.5px; margin-bottom: 10px; overflow-wrap: anywhere; }
.detail .subtitle { font-size: 12px; line-height: 1.7; color: #858179; margin-bottom: 18px; overflow-wrap: anywhere; }
.detail-data { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 20px 0; margin: 10px 0 12px; border-top: 1px solid #e7e1d760; }
.detail-data small { display: block; font-size: 10px; margin-bottom: 5px; color: #928b7f; }
.detail-data strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.detail-actions { grid-column: 1/-1; border-top: 1px solid #e7e1d780; padding-top: 14px; }
.detail-actions small { font-size: 10px; color: #969083; }
.tag-list { display: block; }
.tag-group { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 16px; align-items: start; padding: 12px 0; border-bottom: 1px solid #f0eee9; }
.tag-group:first-child { padding-top: 0; }
.tag-group:last-child { border: 0; padding-bottom: 0; }
.tag-namespace { font-size: 11px; color: #89877f; padding-top: 7px; }
.tag-values { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: 11px; padding: 6px 10px; border-radius: 7px; border-color: #e9e5dc; background: #f7f5f0; color: #625c51; overflow-wrap: anywhere; text-align: left; }
.download-item { padding: 18px; background: #f3f2ed; border: 1px solid #e7e4db; border-radius: 10px; margin-top: 14px; }
.download-item strong { font-size: 13px; font-weight: 550; }
.download-item p { font-size: 12px; margin: 9px 0 14px; }
#refreshMeta { font-size: 11px; padding-left: 0; }
.login { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(ellipse at 18% 20%,#e7dfce85,transparent 45%),radial-gradient(ellipse at 82% 90%,#dce0df65,transparent 40%); }
.login-form { width: 100%; max-width: 390px; }
.login-form form { padding: 38px 34px 22px; background: #fffefbd9; border: 1px solid #fff; border-radius: 22px; box-shadow: 0 24px 60px -30px #3c38343b, 0 0 0 1px #e2ded54d; backdrop-filter: blur(20px); animation: page-in .45s var(--ease) both; }
.login-form h2 { font-size: 25px; font-weight: 550; margin: 0 0 29px; }
.login-form .primary { width: 100%; padding: 13px; margin-top: 6px; }
.login-error { font-size: 12px; color: #ae4b40; min-height: 18px; line-height: 1.6; margin: 15px 0 0; }
.boot, .spinner { display: grid; justify-items: center; place-content: center; gap: 15px; color: var(--muted); font-size: 12px; }
.boot { min-height: 100dvh; }
.spinner { min-height: 220px; }
.boot::before, .spinner::before { content: ""; width: 21px; height: 21px; border: 2px solid #dfdbd2; border-top-color: #8e805e; border-radius: 50%; animation: spin .8s linear infinite; }
#toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; max-width: min(90vw,560px); transform: translate(-50%,15px) scale(.97); opacity: 0; pointer-events: none; padding: 13px 20px; background: #282d34ed; border: 1px solid #ffffff19; backdrop-filter: blur(15px); border-radius: 12px; color: #fff; font-size: 12px; line-height: 1.7; box-shadow: 0 8px 30px #20242b24; transition: opacity .22s, transform .3s var(--ease); }
#toast.show { opacity: 1; transform: translate(-50%,0) scale(1); }
dialog { color: var(--ink); background: #fffefa; border: 1px solid #fff; border-radius: 18px; padding: 30px; width: calc(100% - 32px); max-width: 460px; box-shadow: 0 30px 100px #161d2930; }
dialog[open] { animation: dialog-in .25s var(--ease) both; }
dialog::backdrop { background: #22262d55; backdrop-filter: blur(5px); }
dialog[open]::backdrop { animation: fade-in .2s ease both; }
dialog h2 { font-size: 19px; margin-bottom: 25px; }
dialog .actions { justify-content: flex-end; margin-top: 22px; }
dialog p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.mobile-nav { display: none; }
.reader { background: #1b1e23; min-height: 100dvh; color: #ece9df; }
.reader-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 20px; min-height: 62px; background: #20242aea; backdrop-filter: blur(16px); border-bottom: 1px solid #ffffff0a; }
.reader-bar button, .reader-bar select, .reader-bottom button, .reader-bottom input { background: #ffffff08; border-color: #ffffff14; color: #deded9; font-size: 12px; padding: 8px 11px; border-radius: 8px; }
.reader-bar .title { flex: 1; min-width: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: 12px; color: #b5b6b7; }
.reader-bar select { width: auto; max-width: 145px; color-scheme: dark; }
.reader-stage { max-width: 1500px; margin: auto; min-height: calc(100dvh - 134px); display: flex; justify-content: center; align-items: flex-start; gap: 3px; padding: 18px 12px; }
.reader-stage img { display: block; max-height: calc(100dvh - 170px); max-width: 100%; object-fit: contain; min-height: 150px; animation: fade-in .18s ease both; }
.reader-stage.double img { max-width: 49.5%; }
.reader-stage.scroll { display: block; max-width: 1000px; padding: 0; }
.reader-stage.scroll img { width: 100%; max-height: none; min-height: 200px; margin-bottom: 5px; animation: none; }
.reader-bottom { position: sticky; bottom: 0; z-index: 15; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 12px; background: #20242ae8; backdrop-filter: blur(16px); border-top: 1px solid #ffffff0a; font-size: 12px; }
.reader-bottom input { width: 64px; text-align: center; margin-right: 5px; font-variant-numeric: tabular-nums; }
.reader-error { padding: 35px; text-align: center; color: #d0bc99; font-size: 13px; }
.reader-error button { margin: 12px; }
.hidden { display: none !important; }
@media (hover:hover) {
  button:not(:disabled):hover { border-color: #c8c5bb; background: #f3f0e9; box-shadow: 0 3px 9px #3c383409; }
  button.primary:not(:disabled):hover { border-color: transparent; background: #454b54; box-shadow: 0 5px 14px #25292d24; transform: translateY(-1px); }
  .quiet:not(:disabled):hover { border-color: transparent; box-shadow: none; color: #4c4b45; background: #dfd9cc33; }
  .nav a:hover { background: #ffffff0b; color: #fff; }
  .nav a:hover svg { transform: translateX(2px); }
  .card>a:hover .cover { transform: translateY(-5px); box-shadow: 0 16px 28px -14px #28221c65, 0 3px 8px #28221c14; }
  .card>a:hover .cover img { transform: scale(1.035); }
  .card>a:hover h3 { color: #9b743e; }
  .tag:not(:disabled):hover { background: #ece4d5; border-color: #d3c4a8; color: #77603e; transform: translateY(-1px); box-shadow: none; }
  .reader button:not(:disabled):hover { background: #ffffff15; border-color: #ffffff25; color: #fff; }
}
@media (min-width:1650px) { .grid { grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 30px 25px; } }
@media (max-width:1100px) {
  .shell { padding-left: 198px; }.sidebar { width: 164px; }.main { padding: 36px 26px 60px; }
  .grid { grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); gap: 26px 18px; }
  .columns { grid-template-columns: 1fr; gap: 0; }.detail { grid-template-columns: 175px minmax(0,1fr); gap: 25px; padding: 25px; }.detail .cover { width: 175px; }.detail h1 { font-size: 21px; }.detail-data { gap: 12px; }
}
@media (max-width:760px) {
  .shell { padding-left: 0; }.sidebar { display: none; }.main { padding: 28px 20px 112px; }
  .page-head { margin-bottom: 23px; }.page-head h1 { font-size: 27px; }.page-head>button { font-size: 12px; }
  .searchbar { border-radius: 12px; padding: 5px; gap: 4px; }.searchbar>svg { width: 17px; height: 17px; margin-left: 8px; }.searchbar input { font-size: 13px; padding: 11px 5px; }.searchbar button { min-width: 60px; padding: 10px 12px; font-size: 12px; }
  .filters { gap: 3px; margin-top: 17px; }.filters button { font-size: 11px; padding: 7px 10px; }.filters select { font-size: 11px; max-width: 114px; padding: 7px 5px; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 16px; }.card h3 { font-size: 12px; margin-top: 11px; }.card-meta { font-size: 9px; }.cover { border-radius: 9px; }.badge { left: 8px; bottom: 8px; font-size: 9px; padding: 3px 6px; }
  .mobile-nav { position: fixed; z-index: 30; bottom: max(12px,env(safe-area-inset-bottom)); left: 16px; right: 16px; display: flex; justify-content: space-around; align-items: center; gap: 2px; max-width: 480px; margin: auto; padding: 8px 7px; border: 1px solid #ffffff25; border-radius: 19px; background: #2b3037f2; backdrop-filter: blur(20px); color: #aaaeb4; box-shadow: 0 8px 28px #20242b24, inset 0 1px #ffffff0a; }
  .mobile-nav a { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 2px 6px; border-radius: 12px; font-size: 9px; white-space: nowrap; transition: background .2s,color .2s,transform .2s; }.mobile-nav a.active { background: #ffffff10; color: #eee6d8; }.mobile-nav a:active { transform: scale(.94); }.mobile-nav svg { width: 18px; height: 18px; }
  .panel { padding: 21px; border-radius: 14px; margin-bottom: 18px; }.panel>h2 { font-size: 16px; margin-bottom: 21px; }
  #backList { margin-bottom: 15px; }.detail { grid-template-columns: 110px minmax(0,1fr); padding: 20px; gap: 18px; }.detail .cover { width: 110px; align-self: start; }.detail>div:nth-child(2) { align-self: start; padding: 0; }.detail h1 { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }.detail .subtitle { font-size: 10px; margin-bottom: 10px; }.eyebrow { font-size: 9px; padding: 3px 7px; margin-bottom: 10px; }
  .detail-data { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 12px 0 4px; margin: 9px 0; }.detail-data small { font-size: 9px; margin-bottom: 2px; }.detail-data strong { font-size: 11px; }.detail .actions { gap: 7px; }.detail .actions button { padding: 8px 10px; font-size: 11px; }.detail-actions { padding-top: 12px; }.detail-actions small { font-size: 9px; }
  .tag-group { grid-template-columns: 46px minmax(0,1fr); gap: 10px; padding: 11px 0; }.tag { font-size: 10px; padding: 6px 9px; }.tag-namespace { font-size: 10px; }.tag-values { gap: 6px; }
  .empty { min-height: 280px; padding: 40px 20px; }.empty h2 { font-size: 14px; }.row { flex-wrap: wrap; }.row>* { flex-basis: 115px; }.metric strong { font-size: 25px; }.list-row .actions { gap: 5px; }
  #toast { bottom: 102px; }dialog { padding: 25px; }dialog h2 { font-size: 18px; }
  .reader-bar { gap: 6px; padding: 9px 10px; min-height: 54px; }.reader-bar .title { display: none; }.reader-bar button,.reader-bar select { font-size: 11px; padding: 8px 7px; }.reader-bar select { max-width: 106px; }.reader-stage { padding: 12px 0; min-height: calc(100dvh - 118px); }.reader-stage img { max-height: calc(100dvh - 142px); }.reader-bottom { gap: 16px; padding-bottom: max(10px,env(safe-area-inset-bottom)); }.reader-bottom button { font-size: 11px; }.reader-bottom input { width: 57px; }
}
@media (max-width:360px) { .main { padding-left: 14px; padding-right: 14px; }.detail { padding: 16px; grid-template-columns: 90px minmax(0,1fr); gap: 14px; }.detail .cover { width: 90px; }.filters select { max-width: 96px; }.mobile-nav { left: 10px; right: 10px; }.login-form form { padding: 30px 24px 20px; } }
@keyframes page-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
@keyframes nav-in { from { opacity: 0; transform: scaleY(.4); } to { opacity: 1; transform: scaleY(1); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }.card,.cover img { opacity: 1 !important; } }
