:root{--bg:#0a0a0f;--bg2:#14141c;--fg:#fff;--muted:#b8b8c8;--accent:#ff2d72;--accent2:#7c4dff;}
*{box-sizing:border-box;}
body{margin:0;background:var(--bg);color:var(--fg);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;line-height:1.5;}
a{color:inherit;text-decoration:none;}

.agebar{background:#1c1c26;color:var(--muted);font-size:11px;text-align:center;padding:6px 10px;border-bottom:1px solid #2a2a38;}
.ahead{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;
  padding:10px 14px;background:rgba(10,10,15,.95);backdrop-filter:blur(8px);border-bottom:1px solid #20202c;}
.ahead .logo{font-weight:900;font-size:17px;}
.ahead .logo span{color:var(--accent);}
.ahead nav{font-size:12px;color:var(--muted);}
.ahead nav a{color:var(--accent2);}

.awrap{max-width:1100px;margin:0 auto;padding:16px 12px 40px;}
.awrap h1{font-size:19px;margin:8px 4px 16px;}
.awrap h1 small{font-size:13px;color:var(--muted);font-weight:600;}

.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;}
@media(min-width:560px){.grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:860px){.grid{grid-template-columns:repeat(4,1fr);}}

.card{background:var(--bg2);border:1px solid #20202c;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;}
.card .thumb{position:relative;display:block;aspect-ratio:16/10;background:#000;}
.card .thumb img{width:100%;height:100%;object-fit:contain;display:block;}
.card .badges{position:absolute;left:6px;top:6px;display:flex;flex-wrap:wrap;gap:4px;}
.card .b{font-size:9px;font-weight:700;padding:2px 5px;border-radius:4px;background:rgba(0,0,0,.6);}
.card .b4k{background:#0a84ff;}.card .bvr{background:#34c759;color:#000;}
.card .bpop{background:#ffd60a;color:#000;}.card .bkyo{background:#ff9f0a;color:#000;}
.card .title{font-size:12px;font-weight:600;margin:8px 8px 6px;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.card .tags{display:flex;flex-wrap:wrap;gap:4px;margin:0 8px 8px;}
.card .t{font-size:10px;color:var(--muted);background:rgba(255,255,255,.08);padding:2px 6px;border-radius:999px;}
.card .t.ta{color:#ff8fb3;background:rgba(255,45,114,.15);}
.card .t.tm{color:#b9a3ff;background:rgba(124,77,255,.15);}
.card .metarow{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 8px 10px;}
.card .rv{font-size:10px;color:#ffd60a;}
.card .cta{font-size:11px;font-weight:800;background:var(--accent);color:#fff;padding:7px 10px;border-radius:8px;white-space:nowrap;}

.daylist{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;}
.daylist a{display:block;background:var(--bg2);border:1px solid #20202c;border-radius:10px;padding:14px;font-weight:600;}
.daylist a:hover{border-color:var(--accent2);}

.afoot{border-top:1px solid #20202c;padding:24px 16px;text-align:center;color:var(--muted);font-size:12px;background:var(--bg2);}
.afoot p{margin:4px 0;}
.afoot a{color:var(--accent2);}
.afoot .dis{font-size:10px;max-width:520px;margin:10px auto 0;}
