.app:has(#v3-v32-lawbook.active.law02), #v323-rule-dialog {
  --law02-paper:#fffdfa; --law02-cream:#faf6ef; --law02-line:#e7d7ca;
  --law02-ink:#4b3534; --law02-muted:#796358; --law02-wine:#873a4c;
  --law02-serif:"Songti SC","Noto Serif CJK SC",STSong,SimSun,serif;
}
.app:has(#v3-v32-lawbook.active.law02) { background:var(--law02-cream); min-height:100dvh; }
#v3-v32-lawbook.law02 { max-width:540px; padding:23px 0 25px; color:var(--law02-ink); }
.law02 :is(.law02-head,.law02-detail-top,.law02-list-head) { display:flex; align-items:center; gap:9px; }
.law02 .law02-head { margin-bottom:23px; }
.law02 .law02-head strong { display:block; font-size:1.18rem; }
.law02 .law02-head small { display:block; margin-top:2px; font-size:.69rem; color:var(--law02-muted); }
.law02 .law02-head > span {
  margin-left:auto; padding:5px 7px; border:1px solid var(--law02-line); border-radius:20px;
  background:#fff9f3; color:var(--law02-muted); font-size:.71rem; text-align:center;
}
.law02 .law02-return {
  min-width:44px; min-height:44px; flex:none; padding:6px 10px; border:1px solid var(--law02-line);
  border-radius:12px; background:#fff9f3; color:var(--law02-wine); font-weight:750;
}
.law02 .law02-intro { position:relative; margin:0 0 19px; }
.law02 .law02-intro h1 { margin:4px 0 7px; font:900 clamp(26px,8vw,39px)/1.36 var(--law02-serif); }
.law02 .law02-intro em { color:var(--law02-wine); font-style:normal; }
.law02 .law02-intro > p:last-of-type { margin:0; color:var(--law02-muted); font-size:.84rem; }
.law02 .law02-intro > span { position:absolute; right:5px; top:23px; color:#b47b8b; font-size:2.65rem; transform:rotate(12deg); }
.law02 .law02-kicker { margin:0; color:#865741; font-size:.67rem; font-weight:780; letter-spacing:.1em; }
.law02 .law02-cover {
  position:relative; isolation:isolate; overflow:hidden; padding:19px 25px 22px 36px; min-height:190px;
  border:1px solid #713342; border-radius:22px; background:linear-gradient(120deg,#793749,#8f4455 70%,#9c5360);
  box-shadow:0 8px 0 #e1c5c0,0 17px 26px #6d34341c; color:#fff9f0;
}
.law02 .law02-cover::before { content:""; position:absolute; z-index:-1; inset:8px; border:1px solid #efcaaa66; border-radius:15px; }
.law02 .law02-cover::after {
  content:""; position:absolute; top:10px; bottom:10px; left:16px; width:4px;
  background:repeating-linear-gradient(180deg,#d4a17b 0 2px,transparent 2px 8px); opacity:.48;
}
.law02 .law02-bow { position:absolute; top:1px; right:8px; width:88px; transform:rotate(7deg); filter:drop-shadow(0 3px 2px #51263860); }
.law02 .law02-cover p { margin:0 60px 7px 0; color:#f4d3be; font:italic .66rem/1.4 Georgia,serif; letter-spacing:.09em; }
.law02 .law02-cover h2 { margin:0 0 8px; font:900 clamp(24px,7.2vw,31px)/1.35 var(--law02-serif); letter-spacing:.11em; }
.law02 .law02-cover small { display:inline-block; padding-top:7px; border-top:1px solid #dfb08d99; color:#f4d9d1; line-height:1.7; }
.law02 .law02-stamp {
  position:absolute; right:18px; bottom:20px; width:52px; height:52px; display:grid; place-items:center;
  text-align:center; border:3px double #e9bca5aa; border-radius:50%; color:#f0ccb7;
  transform:rotate(14deg); font:800 .7rem/1.3 var(--law02-serif);
}
.law02 .law02-primary, #v323-rule-dialog [type="submit"] {
  width:100%; min-height:49px; border:1px solid var(--law02-wine); border-radius:13px;
  background:var(--law02-wine); color:#fff; font-weight:800; box-shadow:0 4px 0 #6f2b3b;
}
.law02 .law02-primary { margin:18px 0 21px; }
.law02 .law02-list-head { justify-content:space-between; margin-bottom:9px; }
.law02 .law02-list-head h2 { margin:0; font-size:1.03rem; }
.law02 .law02-list-head small { color:var(--law02-muted); font:italic .69rem Georgia,serif; }
.law02 .law02-filters { display:flex; gap:6px; flex-wrap:wrap; }
.law02 .law02-filters button {
  min-height:44px; padding:5px 12px; border:1px solid var(--law02-line); border-radius:999px;
  background:#fffaf4; color:var(--law02-muted); font-size:.79rem; font-weight:750;
}
.law02 .law02-filters button[aria-pressed="true"] { background:var(--law02-wine); color:white; border-color:var(--law02-wine); }
.law02 .law02-count { margin:7px 0; color:var(--law02-muted); font-size:.76rem; }
.law02 .v323-law-list { display:grid; gap:10px; }
.law02 .v323-law-item { padding:12px 14px 7px; background:var(--law02-paper); border:1px solid var(--law02-line); border-radius:16px; }
.law02 .v32-law-top { color:var(--law02-wine); font-size:.82rem; align-items:center; }
.law02 [data-law02-status] {
  display:inline-block; border:0; padding:4px 8px; border-radius:16px; background:#e9f0e7; color:#45644f; font-size:.73rem; white-space:nowrap;
}
.law02 [data-law02-status="amended"] { background:#f5e9d8; color:#7f552c; }
.law02 [data-law02-status="repealed"] { background:#eee9e5; color:#705d56; }
.law02 .law02-title-button { text-align:start; padding:0; color:var(--law02-ink); }
.law02 .v323-law-item h3 { margin:3px 0; font:850 1.04rem/1.5 var(--law02-serif); overflow-wrap:anywhere; }
.law02 .v323-law-item p {
  margin:0 0 7px; color:var(--law02-muted); overflow-wrap:anywhere;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.law02 .v323-law-item-actions { display:flex; gap:8px; flex-wrap:wrap; }
.law02 .v323-law-item .v323-law-item-actions { border-top:1px dashed var(--law02-line); margin:0; padding-top:3px; }
.law02 .v323-law-item-actions button {
  min-height:44px; flex:0 0 auto; padding:5px 9px; border:1px solid var(--law02-line); border-radius:10px;
  color:var(--law02-wine); background:#fff9f3; font-weight:700;
}
.law02 .v323-law-item-actions button:first-child { margin-inline-end:auto; }
.law02 .v323-law-item .v323-law-item-actions button { padding-inline:4px; border:0; background:none; }
.law02 .law02-empty { padding:30px 14px; border:1px dashed var(--law02-line); border-radius:15px; text-align:center; color:var(--law02-muted); }
.law02 .law02-empty p { margin:4px 0; }
.law02 .law02-detail-top { justify-content:space-between; color:var(--law02-muted); }
.law02 .law02-detail-head { margin:18px 0; text-align:center; overflow-wrap:anywhere; }
.law02 .law02-detail-head p { margin:0; color:var(--law02-wine); font-size:.81rem; }
.law02 .law02-detail-head h1 { margin:5px 0 9px; font:900 clamp(24px,7vw,31px)/1.4 var(--law02-serif); }
.law02 .law02-detail-paper { padding:23px 19px; border:1px solid var(--law02-line); border-radius:18px; background:var(--law02-paper); text-align:center; }
.law02 .law02-detail-paper p { text-align:start; white-space:pre-wrap; overflow-wrap:anywhere; font:500 1.08rem/1.95 var(--law02-serif); }
.law02 .law02-detail-paper :is(span,small), .law02 .law02-meta { color:var(--law02-muted); }
.law02 .law02-meta { margin:11px 0; }
.law02 .law02-note { padding:10px 12px; border:1px dashed var(--law02-line); border-radius:10px; color:var(--law02-muted); font-size:.79rem; }
.law02 button:focus-visible, #v323-rule-dialog :is(button,input,textarea):focus-visible { outline:2px solid #ad6573; outline-offset:2px; }

#v323-rule-dialog .v323-dialog-card {
  width:min(100%,475px); padding:17px; background:var(--law02-cream); border:1px solid var(--law02-line);
  border-radius:19px; color:var(--law02-ink);
}
#v323-rule-dialog .v323-dialog-head h2 { font:900 1.36rem/1.4 var(--law02-serif); }
#v323-rule-dialog .v323-form :is(input,textarea) {
  min-width:0; min-height:44px; border:1px solid var(--law02-line); border-radius:11px; background:var(--law02-paper); font-size:1rem;
}
#v323-rule-dialog .v323-form textarea { min-height:86px; }
#v323-rule-dialog .v323-form > button { min-height:44px; }
#v323-rule-dialog .law02-live { color:var(--law02-muted); font-size:.8rem; }
#v323-rule-dialog .law02-live small { margin-inline-start:6px; }
#v323-rule-dialog .law02-live article { margin:5px 0 0; padding:9px 11px; border:1px solid var(--law02-line); border-radius:11px; background:#f7efe8; overflow-wrap:anywhere; }
#v323-rule-dialog .law02-live article strong { display:block; color:var(--law02-ink); }
#v323-rule-dialog .law02-live article p { margin:3px 0 0; white-space:pre-wrap; }
.app:has(#v3-v32-lawbook.active.law02) :is(.bottom-nav,.desktop-nav) button {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:44px;
}
.app:has(#v3-v32-lawbook.active.law02) :is(.bottom-nav,.desktop-nav) .v5-nav-icon { display:block; width:21px; height:21px; stroke-width:1.7; }
.app:has(#v3-v32-lawbook.active.law02) :is(.bottom-nav,.desktop-nav) .v5-nav-caption { display:block; font-size:.73rem; }
.app:has(#v3-v32-lawbook.active.law02) :is(.bottom-nav,.desktop-nav) .v5-nav-original { display:none; }
@media(max-width:767px) {
  .app:has(#v3-v32-lawbook.active.law02) > .topbar { display:none; }
  .app:has(#v3-v32-lawbook.active.law02) .bottom-nav { background:#fffaf5; }
  .app:has(#v3-v32-lawbook.active.law02) .bottom-nav button.active { color:var(--law02-wine); }
}
