
.lh-den { position: relative; display: grid; gap: 0; padding: 22px 20px 18px; border: var(--outline); border-radius: 26px; background: linear-gradient(180deg, #4A3328 0 64%, #6B4A36 64% 100%); box-shadow: var(--hard); overflow: hidden; }
.lh-den > .sticker { position: absolute; left: 16px; top: 14px; z-index: 3; }
.lh-den .lh-sample { position: absolute; right: 14px; bottom: 12px; z-index: 3; background: #FFF8EE; }
.lh-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 34px 4px 0; }
.lh-door { position: relative; display: grid; justify-items: center; align-content: end; gap: 2px; height: 150px; padding: 0 4px 10px; border: 3px solid #17120F; border-bottom: 0; border-radius: 44px 44px 0 0; background: #FFD23F; color: #17120F; text-align: center; perspective: 300px; }
.lh-door b { position: relative; z-index: 2; font: 800 .82rem/1.1 var(--body); background: #FFF8EE; border: 1.5px solid #17120F; border-radius: 8px; padding: 3px 6px; }
.lh-door small { position: relative; z-index: 2; font: 600 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #FFF8EE; background: #17120F; border-radius: 99px; padding: 3px 6px; margin-top: 3px; }
.lh-leaf { position: absolute; inset: -1px; border-radius: 41px 41px 0 0; background: #C4552A; border: 2px solid #17120F; transform-origin: left center; transition: transform .7s cubic-bezier(.3, 1.3, .5, 1); }
.lh-leaf::after { content: ""; position: absolute; right: 10px; top: 56%; width: 9px; height: 9px; border-radius: 50%; background: #FFD23F; border: 2px solid #17120F; }
.lh-door.open .lh-leaf { transform: rotateY(-76deg); }
.lh-door.ajar .lh-leaf { transform: rotateY(-32deg); }
.lh-door.shut { background: #6B4A36; }
.lh-lock { position: absolute; z-index: 3; left: 50%; top: 40%; width: 26px; height: 22px; margin-left: -13px; border-radius: 6px; background: #FFD23F; border: 2px solid #17120F; }
.lh-lock::before { content: ""; position: absolute; left: 4px; right: 4px; top: -12px; height: 13px; border: 3px solid #17120F; border-bottom: 0; border-radius: 9px 9px 0 0; }
.lh-floor { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 18px; height: 120px; padding-top: 10px; }
.lh-chair { position: relative; z-index: 2; display: grid; place-items: end center; width: 150px; height: 104px; border: 3px solid #17120F; border-radius: 40px 40px 14px 14px; background: #2E6B3A; }
.lh-chair img { height: 119px; width: auto; margin-bottom: 10px; }
.lh-lamp { position: relative; width: 14px; height: 96px; background: #17120F; border-radius: 4px; }
.lh-lamp i { position: absolute; left: -24px; top: -26px; width: 62px; height: 34px; border-radius: 30px 30px 6px 6px; background: #FFD23F; border: 3px solid #17120F; box-shadow: 0 18px 50px 18px rgba(255, 210, 63, .32); }
.lh-rug { position: absolute; left: 12%; right: 12%; bottom: -14px; height: 34px; border-radius: 50%; background: repeating-linear-gradient(90deg, #C4552A 0 14px, #E58A5B 14px 28px); border: 3px solid #17120F; z-index: 1; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .lh-leaf { transition: none; } }

.lr-doors { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.lr-door { position: relative; padding: 22px; display: grid; gap: 8px; align-content: start; }
.lr-door h3 { margin: 4px 0 2px; font: 800 1.35rem/1.05 var(--display); font-variation-settings: "wdth" 84; font-stretch: 84%; letter-spacing: -.02em; }
.lr-door > p { margin: 0; color: var(--brown); }
.lr-door .tag { justify-self: start; }
.lr-door.locked { background: var(--field); border-style: dashed; }
.lr-dk { position: absolute; right: 18px; top: 16px; width: 34px; height: 46px; border: 2.5px solid var(--ink); border-bottom-width: 3px; border-radius: 17px 17px 3px 3px; background: var(--sun); perspective: 120px; }
.lr-dk i { position: absolute; inset: -1px; border-radius: 15px 15px 1px 1px; background: var(--brand); border: 2px solid var(--fixed-ink); transform-origin: left center; }
.lr-dk.open i { transform: rotateY(-70deg); }
.lr-dk.ajar i { transform: rotateY(-30deg); }
.lr-dk.shut { background: var(--stone); }
.lr-dk.shut b { position: absolute; left: 50%; top: 18px; width: 14px; height: 12px; margin-left: -7px; border-radius: 3px; background: var(--sun); border: 2px solid var(--fixed-ink); z-index: 2; }
.lr-modes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.lr-modes li { display: grid; gap: 1px; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 10px; background: var(--field); }
.lr-modes b { font-size: .95rem; }
.lr-modes span { font-size: .88rem; color: var(--brown); }
.lr-fine { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }

.lr-rules { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.lr-hand { position: relative; padding: 20px; display: grid; gap: 12px; }
.lr-hand .mini-btn { justify-self: start; }
.lr-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lr-who { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; }
.lr-who img { height: 39px; width: auto; }
.lr-field { display: grid; gap: 4px; font-size: .85rem; font-weight: 650; color: var(--brown); }
.lr-field i { font-style: normal; padding: 9px 12px; border: 2px dashed var(--brand); border-radius: 10px; background: #FFF1BF; color: var(--fixed-ink); letter-spacing: .2em; }
.lr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lr-list li { padding: 14px 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--surface); color: var(--brown); box-shadow: 3px 3px 0 var(--shadow); }
.lr-list b { display: block; color: var(--ink); margin-bottom: 3px; }

.lr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.lr-flow { position: relative; padding: 22px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lr-flow > .sample { position: absolute; right: 12px; bottom: 10px; }
.lr-step { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: var(--field); min-width: 120px; flex: 1 1 120px; }
.lr-step b { font-size: .92rem; overflow-wrap: anywhere; }
.lr-step small { font-size: .8rem; color: var(--brown); display: grid; gap: 6px; justify-items: center; }
.lr-step.glass { background: #FFF1BF; color: var(--fixed-ink); border-color: var(--fixed-ink); }
.lr-step.glass small { color: #5B3A2E; }
.lr-step img.char { height: 48px; width: auto; }
.lr-arrow { font: 800 1.4rem/1 var(--display); }

.lr-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lr-notes .card { padding: 18px; }
.lr-notes h3 { margin: 0 0 6px; font: 800 1.2rem/1.05 var(--display); font-variation-settings: "wdth" 84; font-stretch: 84%; letter-spacing: -.02em; }
.lr-notes p { margin: 0; color: var(--brown); font-size: .93rem; }

@media (max-width: 1000px) {
  .lr-doors { grid-template-columns: minmax(0, 1fr); }
  .lr-rules, .lr-split { grid-template-columns: minmax(0, 1fr); }
  .lr-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lr-notes > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .lh-wall { gap: 6px; padding-top: 38px; }
  .lh-door { height: 118px; border-radius: 34px 34px 0 0; padding: 0 2px 8px; }
  .lh-leaf { border-radius: 31px 31px 0 0; }
  .lh-door b { font-size: .68rem; padding: 2px 4px; }
  .lh-door small { font-size: 8px; }
  .lh-chair { width: 120px; height: 86px; }
  .lh-chair img { height: 96px; }
  .lh-lamp { height: 76px; }
  .lr-notes { grid-template-columns: minmax(0, 1fr); }
  .lr-arrow { transform: rotate(90deg); flex-basis: 100%; text-align: center; }
}
.lh-den .lh-sample { color: #17120F; border-color: #17120F; }
