/* 애드온 도감 */
.dtop { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:10px; }
#dsearch { flex:1; min-width:220px; max-width:440px; padding:10px 16px; border-radius:999px; border:1px solid var(--border); background:var(--panel); color:var(--text); font-family:inherit; font-size:15px; }
#dsearch:focus, .dtop select:focus { outline:none; border-color:var(--gold); }
.dtop select { padding:9px 12px; border-radius:8px; border:1px solid var(--border); background:var(--panel); color:var(--text); font-family:inherit; font-size:14.5px; }
.dcnt { margin-left:auto; color:var(--gold-bright); font-weight:600; }
.dkinds { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:0 0 12px; }
.dkinds button { padding:6px 14px; border-radius:999px; border:1px solid var(--border); background:var(--panel); color:var(--text); font-family:inherit; font-size:14px; cursor:pointer; }
.dkinds button:hover { border-color:var(--gold); color:var(--gold-bright); }
.dkinds button.on { background:linear-gradient(#e8c766,#c9a227); color:#1a1408; border-color:#e8c766; font-weight:600; }
.dkinds button small { opacity:.7; margin-left:4px; }
.dnote { margin:0 0 12px; padding:9px 14px; border:1px solid #6b5420; border-left:4px solid #c9a227; border-radius:6px; background:rgba(201,162,39,.08); color:#d8c28a; font-size:13.5px; line-height:1.55; }
.dgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:10px; }
.dcard { display:flex; gap:10px; align-items:center; padding:10px 12px; border:1px solid var(--border); border-radius:10px; background:linear-gradient(#211a10,#17120c); cursor:pointer; min-width:0; transition:border-color .12s, transform .12s; }
.dcard:hover { border-color:var(--gold); transform:translateY(-1px); }
.dimg { flex:none; width:84px; height:72px; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 50% 40%,#6e6046,#2d2619 80%); border:1px solid #4a3d27; border-radius:8px; overflow:hidden; }
.dimg img { max-width:78px; max-height:66px; }
.dimg span { font-size:24px; opacity:.5; }
.dimg.big { width:240px; height:200px; } .dimg.big img { max-width:230px; max-height:190px; }
.dinfo { min-width:0; }
.dinfo b { display:block; color:var(--text); font-size:15px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dinfo small { display:block; color:var(--sub); font-size:12.5px; margin-top:3px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.dempty { grid-column:1/-1; text-align:center; padding:30px; color:var(--sub); }
.dpager { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin:14px 0; }
.dpager button { background:var(--panel); border:1px solid var(--border); color:var(--text); padding:6px 12px; border-radius:6px; cursor:pointer; font-family:inherit; }
.dpager button.on { background:var(--gold); color:#1a1408; border-color:var(--gold); font-weight:600; }
.dtip { position:fixed; z-index:10000; pointer-events:none; max-width:360px; padding:9px 13px 10px; background:rgba(14,10,5,.96); border:1px solid #6b5420; border-radius:6px; box-shadow:0 6px 24px rgba(0,0,0,.7); font-size:13.5px; line-height:1.5; color:#d8cfb8; }
.dtip h5 { margin:0 0 3px; font-size:15px; color:#ffe9a0; }
.dtip .tl { color:#c8c2b0; } .dtip .tk { color:var(--sub); font-size:12px; margin:2px 0; }
.dtip b { color:#ffe9a0; }
.dmodal { position:fixed; inset:0; z-index:9998; background:rgba(0,0,0,.78); display:flex; align-items:flex-start; justify-content:center; overflow:auto; padding:30px 12px; }
.ddet { position:relative; width:min(860px,100%); background:var(--panel); border:1px solid var(--gold); border-radius:12px; padding:22px 26px 28px; box-shadow:0 0 60px rgba(0,0,0,.8); }
.ddet h3 { font-family:'Cinzel',Georgia,serif; color:var(--gold-bright); font-size:24px; margin:0 40px 2px 0; }
.dclose { position:absolute; right:14px; top:12px; background:transparent; border:1px solid var(--border); color:var(--text); border-radius:50%; width:34px; height:34px; cursor:pointer; font-size:16px; }
.dsub { color:var(--sub); font-size:13px; line-height:1.55; }
.dhead { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; margin-top:12px; } .dhead > div:last-child { flex:1; min-width:240px; }
.dmeta { margin:4px 0 8px; font-size:14.5px; line-height:1.55; }
.dpl { margin:6px 0; padding-left:1.2em; font-size:14px; }
.ddet section { background:var(--panel2); border:1px solid var(--border); border-radius:8px; padding:12px 16px; margin-top:12px; }
.ddet h4 { margin:0 0 8px; color:var(--gold-bright); font-size:15.5px; }
.dacq { list-style:none; margin:0; padding:0; } .dacq li { padding:6px 0; border-bottom:1px dashed #2e2415; font-size:14.5px; line-height:1.5; } .dacq li:last-child { border:0; }
.dacq a { color:var(--gold-bright); }
.dg { display:inline-block; font-size:12px; padding:1px 8px; border-radius:999px; background:#2a2113; color:#cdbf9a; margin-right:6px; }
.ddet code { background:#241c11; padding:0 5px; border-radius:3px; color:#f0d98a; }
.ddet details { margin-top:8px; color:var(--sub); font-size:13px; } .ddet details summary { cursor:pointer; } .ddet details ul { margin:6px 0 0; padding-left:1.2em; }
@media (max-width:700px) { .ddet { padding:16px 14px 22px; } .ddet h3 { font-size:20px; } .dimg.big { width:100%; } .dcnt { margin-left:0; } }
