/* Shared action hierarchy: choose/carry green, basket amber, return outlined. */
.dialog-actions :is(button,a),.book-buttons :is(button,a){min-height:52px;padding:13px 18px;border-radius:10px;font-size:14px;font-weight:750;line-height:1.45;box-shadow:0 3px 0 #29251b18;transition:transform .15s,box-shadow .15s}
.dialog-actions button:hover,.book-buttons button:hover{transform:translateY(-2px);box-shadow:0 5px 10px #29251b22}
.dialog-actions button:active,.book-buttons button:active{transform:translateY(1px);box-shadow:none}
.dialog-actions :is(button,a):focus-visible,.book-buttons :is(button,a):focus-visible{outline:3px solid #d77c24;outline-offset:4px}
.dialog-actions .quiet,.book-buttons .light{background:#fffdf5;border:1.5px solid #7b796d;color:#34382d}
:is(#take-record,#keep,#pick-book,#take-counter-book,#handover-book,#handover-record){background:#234d3f!important;color:#fff!important;border-color:#234d3f!important}
:is(#deck-cart,#add-cart,#save-record-later){background:#b94d22!important;color:#fff!important;border-color:#b94d22!important}
:is(#return-record,#return-carried-record,#return-book)::before{content:'↩';font-size:22px;margin-right:9px;vertical-align:middle}
:is(#take-record,#keep,#pick-book,#take-counter-book)::before{content:'✋';margin-right:9px;font-size:20px}
:is(#deck-cart,#add-cart,#save-record-later)::before{content:'🛒';margin-right:9px;font-size:20px}
:is(#place-record,#listen)::before{content:'▶';margin-right:9px;font-size:18px}
:is(#preview-book,#read-book,#counter-book-intro,#carry-reading)::before{content:'📖';margin-right:9px;font-size:20px}
#turntable-dialog{width:min(1060px,94vw);max-width:1060px}
.listening-content{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr);gap:28px;align-items:start}
#turntable-dialog .small-cover{width:150px;height:150px;object-fit:contain;box-shadow:0 5px 12px #0002}
#deck-information{border-top:1px solid #d4cbb9;margin-top:14px;padding-top:10px}
#deck-information summary{font-weight:700;cursor:pointer;padding:8px 0;color:#234d3f}
#deck-details{font-size:13px;line-height:1.8;max-height:240px;overflow:auto}
#turntable-dialog .dialog-actions{position:sticky;bottom:-1px;background:#f8f5ed;padding:16px 0 5px;border-top:1px solid #d4cbb9;z-index:1}
.listening-media iframe{width:100%;min-height:260px;border:0}
@media(max-width:650px){.listening-content{grid-template-columns:1fr;gap:12px}#turntable-dialog .small-cover{float:left;width:92px;height:92px;margin:0 16px 10px 0}#deck-information{clear:both}#deck-details{max-height:150px}.dialog-actions,.book-buttons{display:flex;flex-wrap:wrap;gap:10px}.dialog-actions :is(button,a),.book-buttons :is(button,a){flex:1 1 145px;font-size:14px}.listening-media iframe{min-height:220px}}
@media(prefers-reduced-motion:reduce){.dialog-actions :is(button,a),.book-buttons :is(button,a){transition:none;transform:none!important}}
/* 11-10 음악 앱으로 이어 듣기 */
.dialog-actions a.stream-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:var(--ink,#302e27);background:#fffdf7;border:1px solid var(--line,#cfc8b9)}.dialog-actions a.stream-link[hidden]{display:none}.dialog-actions a.stream-link::before{content:'';width:10px;height:10px;border-radius:50%;flex:none}.dialog-actions a.stream-link.yt::before{background:#ff0033}.dialog-actions a.stream-link.sp::before{background:#1db954}

dialog.entry-appearance {
  box-sizing:border-box;width:min(24rem,calc(100vw - 32px));margin:auto;
  padding:clamp(22px,5vw,34px);border:1px solid #d8c8ae;border-radius:22px;
  background:#fff9ed;color:#403529;text-align:center;
  box-shadow:0 14px 48px #30251738;font-family:inherit;
}
.entry-appearance::backdrop {background:rgba(48,41,31,.4)}
dialog.entry-appearance h2 {
  margin:0 0 22px;color:#374b40;font:600 clamp(21px,5vw,26px)/1.4 "Noto Serif KR","Batang",serif;
  letter-spacing:-.045em;
}
.entry-looks {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.entry-looks button {
  min-height:52px;padding:9px 4px;border:1px solid #c6bba9;border-radius:15px;
  background:#f3eddf;color:#443a2d;line-height:1.4;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;
}
.entry-looks button:hover,.entry-looks button:active {background:#e6edde;border-color:#839681}
.entry-looks button:focus-visible {outline:2px solid #416349;outline-offset:3px}
dialog.entry-appearance p {margin:18px 0 0;color:#685e50;font-size:14px;line-height:1.5}
