#updates{position:relative}
#patch-notes{position:absolute;inset:0 auto auto 0;width:0;height:0}
#updates .news-views{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px 18px}
#updates .news-views a{padding:8px 16px;border:1px solid #bda576;border-radius:22px;font-weight:700;color:#192538;background:#fbf2de}
#updates .news-views a[aria-current="page"]{background:#192538;color:#fff;border-color:#192538}
#updates .news-views span{font-size:.8em;margin-inline-start:4px}
#updates #update-filters[hidden],#updates .dev-history[hidden]{display:none}
#updates .news-weapon-link{display:inline-block;margin-top:12px}
#updates .news-empty{padding:18px 0}
#updates .developer-note-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px}
#updates .developer-note-media a{display:block;color:inherit;text-decoration:none}
#updates .developer-note-media figure{height:100%;margin:0;padding:7px;border:1px solid #dfcfae;border-radius:10px;background:#fffaf0}
#updates .developer-note-media img{display:block;width:100%;height:132px;object-fit:cover;border-radius:6px;background:#f2e7d1}
#updates .developer-note-media figcaption{margin-top:6px;font-size:.78rem;line-height:1.35;color:#674b2d}
#updates .developer-note-media a:hover figure{border-color:#b78638;background:#fff4dc}
#updates .developer-note-status{display:grid;grid-template-columns:max-content max-content;gap:4px 8px;align-items:center;margin:12px 0;padding:9px 11px;border-left:3px solid #c89138;border-radius:0 8px 8px 0;background:#fff7e7;color:#5c4225;font-size:.9rem}
#updates .developer-note-status strong{color:#392614}
#updates .developer-note-status span{padding:2px 7px;border-radius:12px;background:#f0c46d;color:#35230f;font-weight:700;font-size:.82rem}
#updates .developer-note-status small{grid-column:1/-1;line-height:1.45;color:#705538}

@media(min-width:761px){
  .site-header nav[aria-label="주 메뉴"]{
    min-width:0;flex-wrap:nowrap;justify-content:safe flex-end;
    gap:clamp(5px,calc(4vw - 45px),12px);overflow-x:auto;scrollbar-width:none
  }
  .site-header nav[aria-label="주 메뉴"] a{flex:none;white-space:nowrap}
}


.catalog-overview { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:1rem; }
.catalog-overview a { display:block; padding:1.3rem; border:1px solid #d8c297; border-radius:12px; background:#fff8e8; }
.catalog-overview a:hover { background:#f3e4c2; }
.catalog-overview a:focus-visible { outline:2px solid #192538; }
.catalog-overview h2 { font-size:1.25rem; margin:0 0 .4rem; }
.catalog-overview p { margin:0; }

.catalog-overview .catalog-cover { margin:0 0 .9rem; }
.catalog-cover img {
  width:100%; height:clamp(125px, 19vw, 180px); display:block;
  object-fit:contain; padding:.5rem; border-radius:8px; background:#f3e8d1;
}
.catalog-cover figcaption { margin-top:.35rem; font-size:.8rem; color:#694b29; }

#news-list-panel[hidden], #event-panel[hidden], #friend-invite-event[hidden], #event-management[hidden] { display:none; }
#event-management { margin-top:1.25rem; padding:1rem; border:1px solid #d8c297; border-radius:10px; }
#event-management p { margin-top:0; }
#invite-event-confirm { background:#fff8e8; border:1px solid #d8c297; border-radius:12px; padding:1.25rem; }
#invite-event-confirm .dialog-close { position:static; }
