﻿:root {
  --ink: #4a3b32;
  --ink-soft: #8a7466;
  --shadow: 0 5px 0 rgba(120, 90, 60, 0.18);
  --font: 'Hiragino Maru Gothic ProN', 'BIZ UDPGothic', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, #e3f4ff 0%, #f1f9e8 55%, #fff4e0 100%);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  min-height: 100dvh;
}

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 20px) 16px calc(env(safe-area-inset-bottom) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100dvh;
}

.head {
  text-align: center;
}
.logo {
  font-size: 54px;
  line-height: 1;
}
h1 {
  margin: 6px 0 2px;
  font-size: 38px;
  line-height: 1.2;
  color: #e8743b;
  text-shadow: 0 3px 0 #fff;
}
.sub {
  margin: 0;
  font-size: 20px;
  color: var(--ink-soft);
}

.apps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 124px;
  padding: 14px 16px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.card:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(120, 90, 60, 0.18);
}
.card:focus-visible {
  outline: 4px solid #ff9800;
  outline-offset: 3px;
}
.card img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  flex: none;
  background: #fff;
  box-shadow: 0 3px 0 rgba(120, 90, 60, 0.18);
}
.card .text {
  flex: 1;
  min-width: 0;
}
.card .name {
  display: block;
  font-size: 25px;
  line-height: 1.25;
}
.card .tag {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.card .badges {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  letter-spacing: 0.15em;
}
.card .go {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 3px 0 rgba(120, 90, 60, 0.18);
}

.foot {
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
}
.foot p {
  margin: 0 0 8px;
}
.foot .small {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}

.card .name,
.card .tag,
.foot p {
  word-break: auto-phrase;
  text-wrap: balance;
}

