/* Gift a Game blog: a quiet reading page (Substack-like), in the shop's colours. */
:root { --cocoa: #4c281c; --ink: #2f1811; --soft: #6e5548; --line: #efdcc8; --paper: #fffdf9; --cream: #fdf3e6; --orange: #ea8056; --orange-d: #bd5228; --honey-l: #fbe9bf; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Nunito Sans', system-ui, sans-serif; }
a { color: var(--orange-d); }
img { max-width: 100%; height: auto; display: block; }

/* top bar */
.pub { position: sticky; top: 0; z-index: 5; background: #fffdf9ee; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.pub .in { max-width: 1040px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.pub .name { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 19px; margin-right: auto; }
.pub .name img { width: 38px; height: 38px; border-radius: 10px; }
.pub .name small { display: block; font-family: 'Nunito Sans', sans-serif; font-weight: 600; font-size: 12px; color: var(--soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 17px; text-decoration: none; border-radius: 16px; padding: 11px 20px; min-height: 44px;
  background: #fff; color: var(--cocoa); border: 3px solid var(--cocoa); box-shadow: 0 5px 0 var(--orange-d); transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--orange-d); }
.btn.small { font-size: 15px; padding: 7px 14px; min-height: 40px; border-width: 2.5px; box-shadow: 0 3px 0 var(--orange-d); }

/* article */
.post { max-width: 728px; margin: 0 auto; padding: 36px 16px 24px; }
.post h1 { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: clamp(30px, 6vw, 40px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ink); }
.post .sub { font-family: 'Lora', Georgia, serif; font-size: clamp(18px, 3.6vw, 21px); line-height: 1.45; color: var(--soft); margin: 0 0 22px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--soft); }
.byline img { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); }
.byline b { display: block; color: var(--ink); font-size: 15px; }
.actions { display: flex; gap: 6px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0 26px; padding: 6px 0; }
.actions button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--soft); font: 700 14px 'Nunito Sans', sans-serif; padding: 8px 10px; border-radius: 10px; cursor: pointer; min-height: 40px; }
.actions button:hover { background: var(--cream); }
.actions button svg { width: 18px; height: 18px; }
.actions .sp { margin-left: auto; }
.cover { margin: 0 -16px 8px; }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--cream); }
@media (min-width: 760px) { .cover { margin: 0 0 8px; } .cover img { border-radius: 8px; } }

.body { font-family: 'Lora', Georgia, serif; font-size: 19px; line-height: 1.65; color: #362118; }
.body p { margin: 0 0 22px; }
.body h2 { font-family: 'Lora', Georgia, serif; font-size: 25px; line-height: 1.25; margin: 40px 0 12px; color: var(--ink); }
.body ul { padding-left: 22px; margin: 0 0 22px; }
.body li { margin-bottom: 10px; }
.body figure { margin: 30px 0; }
.body figure img { margin: 0 auto; border-radius: 8px; max-height: 560px; width: auto; }
.body figcaption { font-family: 'Nunito Sans', sans-serif; font-size: 14px; color: var(--soft); text-align: center; margin-top: 10px; }
.body em { color: var(--ink); }

/* the "make a gift" box, like a newsletter subscribe box */
.cta { margin: 34px 0; padding: 26px 22px; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; font-family: 'Nunito Sans', sans-serif; }
.cta img { width: 120px; height: 120px; margin: -6px auto 8px; }
.cta h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 23px; color: var(--cocoa); margin: 0 0 6px; }
.cta p { font-size: 16px; line-height: 1.45; color: var(--soft); margin: 0 auto 16px; max-width: 420px; }
.cta .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta .demo { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--cocoa); padding: 0 8px; }
.cta .price { display: block; font-size: 13px; font-weight: 700; color: var(--soft); margin-top: 12px; }

/* more posts */
.more { max-width: 728px; margin: 0 auto; padding: 8px 16px 40px; }
.more h2 { font-family: 'Nunito Sans', sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin: 0 0 6px; }

/* list of posts (index and "more") */
.list a.item { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.list a.item:last-child { border-bottom: 0; }
.list .t { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
.list .d { font-size: 15px; line-height: 1.4; color: var(--soft); margin: 0 0 8px; }
.list .m { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.list .thumb { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--cream); }
@media (min-width: 640px) { .list a.item { grid-template-columns: 1fr 180px; } .list .thumb { width: 180px; } .list .t { font-size: 23px; } }

/* blog home */
.home { max-width: 728px; margin: 0 auto; padding: 40px 16px 20px; text-align: center; }
.home img.logo { width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 20px; }
.home h1 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(30px, 7vw, 40px); color: var(--cocoa); margin: 0 0 8px; }
.home p { font-family: 'Lora', Georgia, serif; font-size: 19px; line-height: 1.5; color: var(--soft); margin: 0 auto 20px; max-width: 520px; }
.feature { max-width: 728px; margin: 10px auto 0; padding: 0 16px; }
.feature a { display: block; text-decoration: none; color: var(--ink); }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--cream); }
.feature .t { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: clamp(24px, 5vw, 30px); line-height: 1.2; margin: 16px 0 6px; }
.feature .d { font-size: 17px; color: var(--soft); margin: 0 0 8px; line-height: 1.45; }
.feature .m { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.tabs { max-width: 728px; margin: 28px auto 0; padding: 0 16px; }

footer.foot { border-top: 1px solid var(--line); padding: 26px 16px 40px; text-align: center; font-size: 14px; color: var(--soft); line-height: 1.7; }
footer.foot a { color: var(--soft); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--cocoa); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.on { opacity: 1; }
