.legendary-page{margin:0}.legendary-page main{max-width:1060px;margin:auto;padding:28px 24px 64px;color:#244b59}.legendary-page h1{font-size:28px;margin:16px 0 10px}.legendary-page p,.legendary-page li{line-height:1.75}.lead{font-size:17px}.date,.english{color:#607681;font-size:13px}.notice{background:#fff;border:1px solid #d3e0e4;border-radius:12px;padding:18px 22px;margin:20px 0}.notice h2{font-size:19px;margin:0 0 10px}.notice p:last-child{margin-bottom:0}.notice ul{padding-left:22px}.notice li{margin:10px 0}.legendary-page summary{cursor:pointer;color:#126d76;padding:10px 0;font-weight:600}.legendary-page a{color:#126d76;overflow-wrap:anywhere}#legendary-search{margin:28px 0 12px}#legendary-search>label{display:block;margin-bottom:8px;font-weight:600}.search-line,.filter-line{display:flex;gap:10px;align-items:center}.filter-line{margin-top:12px;flex-wrap:wrap}.legendary-page input,.legendary-page select,.legendary-page button{font:inherit;min-height:44px;border:1px solid #b7ced3;border-radius:8px;padding:10px 12px;background:white;color:#244b59}.legendary-page input{flex:1;min-width:0}.legendary-page button{cursor:pointer}.search-line button{background:#126d76;color:white}.legendary-page :focus-visible{outline:3px solid #5eb8bf;outline-offset:3px}#count{color:#607681}#items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.item{border:1px solid #d3e0e4;border-radius:12px;padding:18px;background:#fff;min-width:0}.item h2{font-size:19px;margin:12px 0 2px}.item p{margin:8px 0}.item .english{margin:0 0 5px;overflow-wrap:anywhere}.item-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}.badge{background:#eaf5f3;color:#126d76;border-radius:5px;padding:3px 7px}.tax{color:#657782;padding:3px 0}.item[hidden]{display:none}#empty{padding:24px;background:#fff;border-radius:10px}@media(max-width:600px){.legendary-page main{padding:22px 16px 50px}.legendary-page h1{font-size:25px}#items{grid-template-columns:1fr}.notice{padding:16px}.filter-line select{max-width:100%;flex:1}.ranks{overflow-wrap:anywhere}}

.legendary-page main{max-width:1440px;padding-top:20px}.legendary-page h1{margin:10px 0 4px}.legendary-page .lead{margin:0 0 6px}.legendary-page .date{margin:0 0 16px}
#legendary-search{margin:20px 0 12px}#items{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.item{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:16px}.item-content{min-width:0}.item h2{font-size:18px}.item .english{font-size:12px}.item details{font-size:13px}.item-top{font-size:11px}
.legendary-page .item-image{display:block;align-self:start;border:0;padding:0;min-height:0;background:#152630;border-radius:8px;overflow:hidden;width:100%;cursor:zoom-in;line-height:0}
.item-image img{display:block;width:100%;height:auto;object-fit:contain}.legendary-page .arcane-image{background:radial-gradient(circle,#365666,#152630);padding:10px;box-sizing:border-box}
#item-image-dialog{width:min(580px,calc(100vw - 32px));max-height:90svh;box-sizing:border-box;padding:20px;background:#162630;color:#fff;border:1px solid #58707a;border-radius:12px;overflow:auto}
#item-image-dialog::backdrop{background:#000b}#item-image-dialog h2{font-size:18px;padding-right:74px;margin:6px 0 12px}#item-image-close{position:absolute;right:12px;top:10px;font-size:13px;padding:6px 10px}#item-image-large{display:block;max-width:100%;max-height:72svh;width:auto;height:auto;margin:auto}
@media(max-width:1200px){#items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#items{grid-template-columns:1fr}.item{grid-template-columns:125px minmax(0,1fr);gap:14px}.legendary-page .lead{font-size:14px}.legendary-page .date{font-size:11px}}
@media(max-width:359px){.item{grid-template-columns:105px minmax(0,1fr);padding:12px;gap:10px}.item h2{font-size:16px}}
