:root{
  --bg:#f7f6f3;
  --card:#ffffff;
  --text:#1c1b19;
  --muted:#5c584f;
  --border:#e3e0d8;
  --accent:#8a3324;
  --accent-ink:#ffffff;
  --note-bg:#f4ece4;
  --note-border:#d9c9b4;
  --link:#7a2a1c;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#15130f;
    --card:#1f1c17;
    --text:#efe9df;
    --muted:#b7ae9e;
    --border:#3a352c;
    --accent:#d98a6b;
    --accent-ink:#1c1006;
    --note-bg:#2a2118;
    --note-border:#4a3a28;
    --link:#e6a685;
  }
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height:1.8;
  -webkit-text-size-adjust:100%;
}
.wrap{
  max-width:720px;
  margin:0 auto;
  padding:0 20px 64px;
}
a{color:var(--link);}
a:not(.btn){text-decoration-thickness:1px;}
.site-header{
  padding:28px 0 8px;
  text-align:center;
}
.site-header .brand{
  font-size:14px;
  letter-spacing:.08em;
  color:var(--muted);
  text-decoration:none;
}
h1{
  font-size:26px;
  line-height:1.5;
  margin:12px 0 6px;
}
h2{
  font-size:19px;
  margin:36px 0 12px;
  padding-bottom:8px;
  border-bottom:1px solid var(--border);
}
h3{
  font-size:16px;
  margin:20px 0 8px;
}
p{margin:0 0 14px;}
.tagline{
  color:var(--muted);
  font-size:15px;
  margin:0 0 18px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:20px;
  margin-bottom:16px;
}
.app-list{
  list-style:none;
  margin:24px 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.app-list a.app-card{
  display:block;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 20px;
  text-decoration:none;
  color:var(--text);
}
.app-list a.app-card:hover{border-color:var(--accent);}
.app-card .name{
  font-size:17px;
  font-weight:600;
  margin-bottom:4px;
}
.app-card .desc{
  font-size:14px;
  color:var(--muted);
  margin-bottom:8px;
}
.app-card .meta{
  font-size:13px;
  color:var(--accent);
}
.btn{
  display:inline-block;
  background:var(--accent);
  color:var(--accent-ink);
  padding:11px 20px;
  border-radius:999px;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
}
.price-box{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:6px;
}
.price{
  font-size:22px;
  font-weight:700;
}
.trial{
  font-size:13px;
  color:var(--muted);
}
.shots{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:6px 0 12px;
  -webkit-overflow-scrolling:touch;
}
.shots figure{
  margin:0;
  flex:0 0 auto;
  width:150px;
}
.shots img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  border:1px solid var(--border);
}
.shots figcaption{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
  line-height:1.4;
}
.deck-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  margin:12px 0 4px;
}
.deck-table th,.deck-table td{
  text-align:left;
  padding:7px 6px;
  border-bottom:1px solid var(--border);
}
.deck-table th{color:var(--muted);font-weight:500;}
.note{
  background:var(--note-bg);
  border:1px solid var(--note-border);
  border-radius:12px;
  padding:16px 18px;
  font-size:13.5px;
  color:var(--text);
}
.note p:last-child{margin-bottom:0;}
.note h3{margin-top:0;}
footer{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid var(--border);
  font-size:13px;
  color:var(--muted);
}
footer a{color:var(--muted);}
.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.back-link{
  display:inline-block;
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  margin-bottom:14px;
}
.updated{
  font-size:12px;
  color:var(--muted);
}
ul.plain{padding-left:1.2em;margin:0 0 14px;}
ul.plain li{margin-bottom:6px;}
