/* 아티팩트 도감 */
.adb .atop { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:10px; }
#asearch { flex:1; min-width:220px; max-width:420px; padding:10px 16px; border-radius:999px; border:1px solid var(--border); background:var(--panel); color:var(--text); font-family:inherit; font-size:15px; }
#asearch:focus, .atop select:focus { outline:none; border-color:var(--gold); }
.atop 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; }
.acnt { margin-left:auto; color:var(--gold-bright); font-weight:600; }
.akinds { justify-content:center; display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; }
.akinds 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; }
.akinds button:hover { border-color:var(--gold); color:var(--gold-bright); }
.akinds button.on { background:linear-gradient(#e8c766,#c9a227); color:#1a1408; border-color:#e8c766; font-weight:600; }
.akinds button small { opacity:.7; margin-left:4px; }
.anote { 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; }
.agrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:10px; }
.acard { 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; }
.acard:hover { border-color:var(--gold); transform:translateY(-1px); }
.aico { flex:none; width:56px; height:56px; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 50% 40%,#7a6a4e,#342b1d 80%); border:1px solid #4a3d27; border-radius:8px; overflow:hidden; }
.aico img { max-width:52px; max-height:52px; image-rendering:auto; }
.aico.big { width:120px; height:120px; } .aico.big img { max-width:112px; max-height:112px; image-rendering:pixelated; }
.aico span { font-size:24px; opacity:.5; }
.ainfo { min-width:0; }
.ainfo b { display:block; color:var(--text); font-size:15px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ainfo small { display:block; color:var(--sub); font-size:12.5px; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.arar { display:inline-block; font-size:11px; padding:0 6px; border-radius:999px; background:#4a3a14; color:#f0d98a; margin-left:4px; vertical-align:middle; font-weight:600; }
.aempty { grid-column:1/-1; text-align:center; padding:30px; color:var(--sub); }
.apager { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin:14px 0; }
.apager button { background:var(--panel); border:1px solid var(--border); color:var(--text); padding:6px 12px; border-radius:6px; cursor:pointer; font-family:inherit; }
.apager button.on { background:var(--gold); color:#1a1408; border-color:var(--gold); font-weight:600; }

/* 롤오버 툴팁 (게임 속 아이템 설명 느낌) */
.atip { position:fixed; z-index:10000; pointer-events:none; max-width:340px; 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; }
.atip h5 { margin:0 0 3px; font-size:15px; color:#ffe9a0; font-weight:700; }
.atip .tl { color:#c8c2b0; }
.atip .tl.g { color:#9fe08a; } .atip .tl.r { color:#f0a090; } .atip .tl.h { color:#e8c766; }
.atip .tk { color:var(--sub); font-size:12px; margin-top:4px; }

/* 상세 */
.amodal { 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; }
.adet { 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); }
.adet h3 { font-family:'Cinzel',Georgia,serif; color:var(--gold-bright); font-size:24px; margin:0 40px 2px 0; }
.aclose { 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; }
.asub { color:var(--sub); font-size:13px; margin-bottom:14px; }
.ahead { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.ahead > div:last-child { flex:1; min-width:240px; }
.adet section { background:var(--panel2); border:1px solid var(--border); border-radius:8px; padding:12px 14px; margin-top:12px; }
.adet h4 { margin:0 0 8px; color:var(--gold-bright); font-size:15.5px; }
.adet ul.pl { list-style:none; margin:0; padding:0; }
.adet ul.pl li { padding:3px 0; font-size:14.5px; border-bottom:1px dashed #2e2415; }
.adet ul.pl li:last-child { border:0; }
.adet ul.pl li.g { color:#9fe08a; } .adet ul.pl li.r { color:#f0a090; } .adet ul.pl li.h { color:#e8c766; }
.adet p { margin:6px 0; line-height:1.55; font-size:14.5px; }
.adet .achips a, .adet .achips span { display:inline-block; margin:2px 4px 2px 0; padding:3px 11px; border-radius:999px; background:#2a2113; border:1px solid var(--border); color:var(--text); font-size:13.5px; text-decoration:none; }
.adet .achips a:hover { border-color:var(--gold); color:var(--gold-bright); }
.adet details { margin-top:10px; color:var(--sub); font-size:13px; } .adet details summary { cursor:pointer; }
.adet details ul { margin:6px 0 0; padding-left:1.2em; }
@media (max-width:700px) { .adet { padding:16px 14px 22px; } .adet h3 { font-size:20px; } .agrid { grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); } .acnt { margin-left:0; } }
.rnd { text-decoration:underline dotted #8a7a4a; text-underline-offset:3px; }
.arar.rd { background:#2a2547; }
