body{margin:0;padding:8px 12px 48px;background:#fff;color:#000;font-family:"Times New Roman",Times,serif;font-size:16px}
a{color:#00e}a:hover{color:#e00}a:visited{color:#551a8b}
h1{margin:21px 0;font-size:32px;font-weight:700}
h2{margin:22px 0 6px;font-size:24px}
h3{margin:18px 0 6px;font-size:19px}
hr{margin:6px 0}
address{margin:14px 0 0;font-style:italic;font-size:16px}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.row{display:grid;grid-template-columns:20px minmax(0,2fr) 100px 56px minmax(0,2fr);column-gap:12px;align-items:center;padding:1px 0}
.row.root{grid-template-columns:20px minmax(0,1.4fr) 140px 64px minmax(0,2fr)}
.row.head{font-weight:700;padding:2px 0}
.row .num{text-align:right}
.row .nm{overflow-wrap:anywhere}
.ico{display:inline-block;vertical-align:middle}
.linkbtn{background:none;border:0;padding:0;margin:0;cursor:pointer;font:inherit;color:#00e;text-decoration:underline;text-align:left}
.linkbtn:hover{color:#e00}
.datarow{position:relative}
.datarow:hover,.datarow:focus-within{background:#eef3ff}
.pop{display:none;position:absolute;left:32px;top:100%;z-index:10;box-sizing:border-box;width:420px;max-width:calc(100vw - 48px);background:#ffffe1;color:#000;border:1px solid #000;box-shadow:3px 3px 0 rgba(0,0,0,.3);padding:8px 10px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.45}
.datarow:hover .pop,.datarow:focus-within .pop{display:block}
pre.readme{margin:18px 0 0;max-width:720px;font-family:"Courier New",Courier,monospace;font-size:14px;line-height:1.45;white-space:pre-wrap}
.kv{display:grid;grid-template-columns:130px minmax(0,1fr);row-gap:2px;max-width:720px}
.small{font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.4;color:#555}
.panel{max-width:840px;box-sizing:border-box;border:1px solid #888;background:#f4f4f4;padding:12px;font-family:Arial,Helvetica,sans-serif;font-size:14px;display:flex;flex-direction:column;gap:12px}
.tags{display:grid;grid-template-columns:70px minmax(0,1fr);row-gap:2px}
.tags span:nth-child(odd){color:#555}
.art{flex:none;width:100px;height:100px;box-sizing:border-box;border:1px solid #888;background:#e8c16a;display:flex;align-items:center;justify-content:center;overflow:hidden}
.art img{width:100%;height:100%;object-fit:cover}
.cmt{border-top:1px solid #ccc;padding-top:6px;max-width:720px;margin-top:10px}
.cmt .when{color:#666;font-family:Arial,Helvetica,sans-serif;font-size:13px}
.cmt p{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.form{display:flex;flex-direction:column;gap:8px;max-width:480px;font-family:Arial,Helvetica,sans-serif;font-size:14px}
.form label{display:flex;flex-direction:column;gap:2px}
.form input[type=text],.form select{min-height:32px;box-sizing:border-box;font-size:14px}
.form textarea{box-sizing:border-box;font-size:14px;width:100%}
.form button{min-height:36px;padding:0 14px;font-size:14px;cursor:pointer;align-self:flex-start}
.notice{max-width:720px;padding:6px 10px;border:1px solid #888;background:#ffffe1;font-family:Arial,Helvetica,sans-serif;font-size:14px;margin:10px 0}
@media(max-width:560px){.row,.row.root{grid-template-columns:20px minmax(0,1fr) 84px}.row>span:nth-child(4),.row>span:nth-child(5){display:none}.row.head>*:nth-child(4),.row.head>*:nth-child(5){display:none}}
/* admin */
body.admin{font-family:Arial,Helvetica,sans-serif;font-size:14px}
body.admin h1{font-size:24px}
body.admin table{border-collapse:collapse;width:100%;max-width:1000px}
body.admin th,body.admin td{border:1px solid #ccc;padding:4px 8px;text-align:left;vertical-align:top}
body.admin nav a{margin-right:14px}
body.admin .draft{border:1px solid #888;padding:12px;margin:12px 0;max-width:900px;display:flex;gap:14px;flex-wrap:wrap}
body.admin .draft form{display:flex;flex-direction:column;gap:8px;flex:1 1 360px}
body.admin input[type=text],body.admin input[type=password],body.admin textarea{font-size:14px;box-sizing:border-box;width:100%;max-width:640px}
body.admin textarea{font-family:"Courier New",monospace}
body.admin button{min-height:32px;cursor:pointer}
.allhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.allhead .filter{font-family:Arial,Helvetica,sans-serif;font-size:14px}
.allhead input{min-height:32px;box-sizing:border-box;font-size:14px;width:240px;max-width:100%}
.row.all{grid-template-columns:20px minmax(0,2fr) 100px 64px 56px minmax(0,2fr)}
@media(max-width:560px){.row.all{grid-template-columns:20px minmax(0,1fr) 92px}.row.all>*:nth-child(n+4){display:none}}
[hidden]{display:none!important}
.sortbtn{font-weight:700;text-decoration:none}
.sortbtn:hover{text-decoration:underline}
.sortbtn.num{text-align:right}
.sortbtn[data-dir="asc"]::after{content:" \25B2";font-size:11px}
.sortbtn[data-dir="desc"]::after{content:" \25BC";font-size:11px}
.callerrow:target{background:#ffffe1;outline:1px solid #cc9}
.callerrow{scroll-margin-top:12px}
.callerline{max-width:720px;box-sizing:border-box;margin-top:1.4em;padding:7px 12px;background:#eef3ff;border-left:4px solid #00e;line-height:1.5}
.row.head .num{text-align:right}
