:root {
  --bg-1: #0f1d32;
  --bg-2: #182d4a;
  --bg-3: #eb5e28;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.3);
  --text-main: #f8f5ef;
  --text-sub: #e8dccd;
  --accent: #ffbc42;
  --accent-2: #4ecdc4;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "M PLUS 1p", sans-serif;
  color: var(--text-main);
  background: linear-gradient(
      145deg,
      rgba(6, 10, 20, 0.68),
      rgba(10, 18, 35, 0.62),
      rgba(8, 12, 24, 0.7)
    ),
    url("./素材/PC用背景素材.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      transparent 0 7%,
      rgba(255, 255, 255, 0.03) 7% 8%,
      transparent 8% 100%
    ),
    linear-gradient(
      180deg,
      transparent 0 11%,
      rgba(255, 255, 255, 0.04) 11% 12%,
      transparent 12% 100%
    );
  pointer-events: none;
  opacity: 0.26;
}

.container {
  width: min(1080px, 100% - 2.4rem);
  margin: 0 auto;
  padding: 2.2rem 0 2.8rem;
}

.hero,
.panel,
.footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 1.35rem 1.15rem 1.15rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      130deg,
      rgba(7, 18, 34, 0.62),
      rgba(10, 25, 46, 0.54),
      rgba(16, 13, 36, 0.48)
    ),
    var(--surface);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -52px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 188, 66, 0.32) 0%,
    rgba(255, 188, 66, 0) 70%
  );
  pointer-events: none;
}

.hero-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.hero-avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  min-width: 0;
}

.hero-chip {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0.1rem 0 0;
  border: 1px solid rgba(255, 188, 66, 0.65);
  border-radius: 999px;
  padding: 0.14rem 0.52rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffd884;
  background: rgba(255, 188, 66, 0.14);
}

.eyebrow {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.11em;
  font-size: 0.92rem;
  color: var(--accent);
  opacity: 0.95;
}

.hero h1 {
  margin: 0.2rem 0 0.55rem;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

#works-message {
  margin: 0;
  color: rgba(232, 220, 205, 0.96);
  font-size: 0.9rem;
  line-height: 1.62;
}

.hero-meta {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.hero-meta-item {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0.14rem 0.52rem;
  font-size: 0.69rem;
  color: #fff;
  background: rgba(8, 17, 30, 0.36);
}

.hero-top {
  padding: 0.95rem;
  background: linear-gradient(
      132deg,
      rgba(7, 14, 29, 0.82),
      rgba(8, 23, 48, 0.78),
      rgba(18, 17, 44, 0.72)
    ),
    var(--surface);
}

.hero-top::after {
  right: -28px;
  top: -40px;
  width: 210px;
  height: 210px;
  background: radial-gradient(
    circle,
    rgba(255, 188, 66, 0.42) 0%,
    rgba(255, 188, 66, 0.12) 34%,
    rgba(255, 188, 66, 0) 74%
  );
}

.hero-top-logo-only {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem;
}

.hero-top-logo-only .hero-main-logo {
  display: block;
  width: min(100%, 860px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
}

.top-logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  line-height: 0;
  position: relative;
  padding-right: 8rem;
}

.top-logo-bar .hero-main-logo {
  display: block;
  width: min(100%, 980px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

.install-fab {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-height: 40px;
  padding: 0.42rem 0.62rem;
  gap: 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(12, 28, 50, 0.56);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.install-fab:hover,
.install-fab:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 188, 66, 0.2);
  transform: translateY(-50%) translateY(-1px);
  outline: none;
}

.install-fab-icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
}

.install-fab-label {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.install-fab.is-guide {
  border-style: dashed;
}

.home-container {
  padding-top: 0.35rem;
  padding-bottom: 7.2rem;
}

.home-container > .panel:first-of-type {
  margin-top: 0.55rem;
}

.hero-top .hero-head {
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "avatar copy"
    "chip chip";
  gap: 0.72rem 0.86rem;
  align-items: center;
  padding: 0.82rem 0.9rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(
    116deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-top .hero-avatar {
  grid-area: avatar;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.hero-top .hero-copy {
  grid-area: copy;
}

.hero-top .hero-logo {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0.28rem 0 0.36rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34));
}

.hero-top .hero-chip {
  grid-area: chip;
  justify-self: start;
  margin: 0.04rem 0 0;
  padding: 0.18rem 0.62rem;
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  background: rgba(255, 188, 66, 0.2);
}

.hero-top .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #ffd18a;
}

.hero-top h1 {
  margin: 0.16rem 0 0.4rem;
  font-size: clamp(1.45rem, 5vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.hero-top .hero-subtitle {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  text-transform: none;
  text-shadow: none;
}

.hero-top #works-message {
  font-size: 0.83rem;
  line-height: 1.55;
  max-width: 62ch;
}

.hero-top .hero-meta {
  margin-top: 0.68rem;
  gap: 0.48rem;
}

.hero-top .hero-meta-item {
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(7, 16, 30, 0.56);
}

.panel {
  margin-top: 1rem;
  padding: 1.25rem;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(
      145deg,
      rgba(11, 22, 40, 0.72),
      rgba(8, 18, 34, 0.62),
      rgba(8, 14, 26, 0.58)
    ),
    var(--surface);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.selector-panel,
.detail-panel {
  position: relative;
  overflow: hidden;
}

.selector-panel {
  border-radius: 24px 12px 24px 12px;
  border-color: rgba(78, 205, 196, 0.45);
  background: linear-gradient(
      136deg,
      rgba(7, 24, 42, 0.76),
      rgba(10, 21, 38, 0.7),
      rgba(14, 12, 30, 0.66)
    ),
    linear-gradient(
      180deg,
      rgba(2, 8, 20, 0.2),
      rgba(5, 15, 30, 0.52),
      rgba(4, 11, 24, 0.3)
    ),
    url("./素材/selector-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.selector-panel::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0.7rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(78, 205, 196, 0),
    rgba(78, 205, 196, 0.62),
    rgba(78, 205, 196, 0)
  );
  pointer-events: none;
}

.detail-panel {
  border-radius: 12px 24px 12px 24px;
  border-color: rgba(255, 188, 66, 0.48);
  background: linear-gradient(
      138deg,
      rgba(29, 20, 9, 0.48),
      rgba(12, 21, 38, 0.62),
      rgba(8, 14, 24, 0.58)
    ),
    var(--surface);
}

.detail-panel::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0.7rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 188, 66, 0),
    rgba(255, 188, 66, 0.7),
    rgba(255, 188, 66, 0)
  );
  pointer-events: none;
}

.selector-panel h2,
.detail-panel h2 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 0.95rem;
}

.selector-panel h2::before,
.detail-panel h2::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.selector-panel h2::before {
  background: rgba(78, 205, 196, 0.88);
  box-shadow: 0 0 12px rgba(78, 205, 196, 0.48);
}

.selector-strip {
  margin-top: 0.78rem;
  padding: 0.2rem 0 0;
}

.selector-strip h2 {
  margin: 0 0 0.52rem;
  font-size: 0.9rem;
  color: rgba(232, 220, 205, 0.92);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.detail-panel h2::before {
  background: rgba(255, 188, 66, 0.9);
  box-shadow: 0 0 12px rgba(255, 188, 66, 0.46);
}

.release-panel {
  border-color: rgba(255, 188, 66, 0.55);
  background: linear-gradient(
      132deg,
      rgba(8, 18, 34, 0.8),
      rgba(10, 22, 40, 0.72),
      rgba(10, 20, 36, 0.7)
    ),
    linear-gradient(
      125deg,
      rgba(255, 188, 66, 0.18),
      rgba(78, 205, 196, 0.1),
      rgba(10, 20, 38, 0.35)
    ),
    url("./素材/release-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.release-layout {
  display: grid;
  gap: 0.9rem;
}

.release-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
      140deg,
      rgba(8, 12, 22, 0.52),
      rgba(18, 30, 48, 0.35),
      rgba(10, 10, 16, 0.55)
    ),
    var(--release-thumb-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  position: relative;
  display: block;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.release-thumb:hover,
.release-thumb:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
  outline: none;
}

.release-thumb.no-image {
  background: linear-gradient(
    145deg,
    rgba(30, 53, 86, 0.55),
    rgba(20, 36, 59, 0.5),
    rgba(42, 27, 58, 0.48)
  );
}

.release-badge {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 188, 66, 0.8);
  background: rgba(255, 188, 66, 0.25);
  color: #ffe5a8;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.24rem 0.48rem;
}

.release-body {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.release-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

#release-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
  line-height: 1.35;
}

.release-summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(248, 245, 239, 0.92);
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.install-panel {
  padding: 0.85rem 1rem;
}

.install-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.install-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.install-copy {
  min-width: 0;
}

.install-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.install-text {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-sub);
}

.install-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  min-height: 36px;
  background: rgba(78, 205, 196, 0.18);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
  flex-shrink: 0;
}

.install-btn:hover,
.install-btn:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 188, 66, 0.24);
  outline: none;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.panel-caption {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  color: var(--text-sub);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  color: var(--accent-2);
}

.grid {
  display: grid;
  gap: 0.7rem;
}

#external-links {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  overflow-x: auto;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.bottom-links {
  position: fixed;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 1rem));
  z-index: 1200;
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.bottom-links h2 {
  display: none;
}

.bottom-links #external-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.16rem 0;
  gap: 0.38rem;
  scrollbar-width: none;
}

.bottom-links #external-links::-webkit-scrollbar {
  display: none;
}

.bottom-links .link-card {
  width: auto;
  flex: 0 0 auto;
  min-height: 42px;
  border-radius: 999px;
  padding: 0.38rem 0.52rem;
  background: rgba(7, 16, 31, 0.78);
  border-color: rgba(255, 255, 255, 0.36);
}

.bottom-links .link-card:hover,
.bottom-links .link-card:focus-visible {
  transform: none;
}

.bottom-links .link-left {
  gap: 0.45rem;
}

.bottom-links .link-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.bottom-links .link-icon {
  width: 15px;
  height: 15px;
}

.bottom-links .card-title {
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-links .card-note {
  display: none;
}

.bottom-links .tag {
  font-size: 0.64rem;
  padding: 0.14rem 0.38rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: 14px;
  padding: 0.78rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card.no-tag {
  justify-content: flex-start;
}

.link-card.has-tag {
  justify-content: space-between;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.card-main {
  min-width: 0;
}

.link-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex: 1 1 auto;
}

.link-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.card-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.card-note {
  margin: 0.16rem 0 0;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.tag {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  line-height: 1.2;
  color: #fff;
}

.tag.new {
  background: rgba(78, 205, 196, 0.26);
}

.tag.sale {
  background: rgba(255, 188, 66, 0.25);
}

.tag.soon {
  background: rgba(235, 94, 40, 0.2);
}

.footer {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.top-nav {
  margin-bottom: 0.75rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

.works-grid {
  display: grid;
  gap: 0.7rem;
}

.work-selector {
  display: flex;
  gap: 0.55rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.work-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: auto;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.86rem;
  text-align: left;
  padding: 0.5rem 0.72rem;
  min-height: 0;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.selector-main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.selector-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.work-select-button:hover,
.work-select-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.work-select-button.is-active {
  border-color: var(--accent);
  background: rgba(255, 188, 66, 0.2);
}

.work-select-button.is-coming-soon {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.5);
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0 10px,
    rgba(255, 255, 255, 0.03) 10px 20px
  );
  color: rgba(248, 245, 239, 0.9);
  cursor: not-allowed;
  opacity: 0.82;
}

.work-select-button.is-coming-soon:hover,
.work-select-button.is-coming-soon:focus-visible {
  transform: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0 10px,
    rgba(255, 255, 255, 0.03) 10px 20px
  );
}

.work-select-button.is-featured {
  border-color: rgba(255, 188, 66, 0.9);
  background: linear-gradient(
    110deg,
    rgba(255, 188, 66, 0.3),
    rgba(78, 205, 196, 0.22)
  );
  box-shadow: 0 0 0 1px rgba(255, 188, 66, 0.2) inset;
}

.work-select-button.is-featured .selector-title::before {
  content: "";
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.selector-title {
  font-weight: 700;
  white-space: nowrap;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.05),
      rgba(8, 14, 25, 0.34)
    ),
    var(--surface-strong);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(78, 205, 196, 0),
    rgba(78, 205, 196, 0.64),
    rgba(255, 188, 66, 0.64),
    rgba(255, 188, 66, 0)
  );
  pointer-events: none;
}

.work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.work-title {
  margin: 0;
  font-size: 1rem;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.work-mark {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.15rem 0.52rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.mark-original {
  background: rgba(78, 205, 196, 0.24);
  border-color: rgba(78, 205, 196, 0.8);
}

.mark-collab {
  background: rgba(255, 188, 66, 0.24);
  border-color: rgba(255, 188, 66, 0.8);
}

.mark-member {
  background: rgba(159, 226, 137, 0.22);
  border-color: rgba(159, 226, 137, 0.75);
}

.work-type {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.work-summary {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.84rem;
  line-height: 1.6;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

#selected-work-summary {
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.75;
}

#selected-work-list {
  margin-top: 0.85rem;
}

.work-list-card {
  display: grid;
  gap: 0.7rem;
}

.work-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
      145deg,
      rgba(8, 12, 22, 0.52),
      rgba(18, 30, 48, 0.35),
      rgba(10, 10, 16, 0.55)
    ),
    var(--work-thumb-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.work-thumb-link {
  display: block;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.work-thumb-link:hover,
.work-thumb-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
  outline: none;
}

.work-thumb.no-image {
  background: linear-gradient(
    145deg,
    rgba(30, 53, 86, 0.55),
    rgba(20, 36, 59, 0.5),
    rgba(42, 27, 58, 0.48)
  );
}

.work-character-section {
  margin-top: 0.25rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.work-character-label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.work-character-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.work-character-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(10, 15, 28, 0.42);
  padding: 0.65rem;
}

.work-character-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.work-character-name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.work-character-type {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.1rem 0.42rem;
  font-size: 0.7rem;
  color: #fff;
}

.work-character-summary {
  margin: 0.45rem 0 0;
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--text-sub);
}

.work-character-empty {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-sub);
}

.work-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.74rem;
  text-decoration: none;
  color: #fff;
  background: rgba(78, 205, 196, 0.16);
  transition: border-color 160ms ease, background 160ms ease;
}

.work-link-fanza {
  border-color: rgba(255, 188, 66, 0.8);
  background: rgba(255, 188, 66, 0.32);
  color: #fff4db;
  box-shadow: 0 0 0 1px rgba(255, 188, 66, 0.16) inset;
}

.work-link-action {
  font-family: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
}

.work-link:hover,
.work-link:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 188, 66, 0.2);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: rise 620ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 90ms;
}

.reveal:nth-child(3) {
  animation-delay: 180ms;
}

.reveal:nth-child(4) {
  animation-delay: 270ms;
}

.reveal:nth-child(5) {
  animation-delay: 360ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .container {
    padding-top: 3rem;
  }

  .install-panel {
    padding: 1rem 1.2rem;
  }

  .install-btn {
    display: none !important;
  }

  .hero {
    padding: 1.6rem 1.6rem 1.4rem;
  }

  .hero-top {
    padding: 1.2rem;
  }

  .hero-top-logo-only {
    padding: 0.96rem 1.25rem;
  }

  .hero-top-logo-only .hero-main-logo {
    width: min(100%, 980px);
  }

  .top-logo-bar {
    padding: 0;
    padding-right: 8.6rem;
  }

  .install-fab {
    min-height: 42px;
    padding: 0.44rem 0.7rem;
  }

  .install-fab-label {
    font-size: 0.75rem;
  }

  .home-container {
    padding-top: 0.5rem;
    padding-bottom: 7.8rem;
  }

  .hero-top .hero-head {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "avatar copy chip";
    gap: 1rem 1.15rem;
    padding: 1rem 1.1rem;
  }

  .hero-top .hero-avatar {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .hero-top .hero-logo {
    width: min(100%, 620px);
  }

  .hero-top .hero-chip {
    align-self: start;
    margin-top: 0.1rem;
  }

  .hero-top h1 {
    font-size: clamp(1.95rem, 3.8vw, 2.75rem);
  }

  .hero-top .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
  }

  .hero-top #works-message {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .hero-top .hero-meta {
    margin-top: 0.82rem;
  }

  .panel {
    padding: 1.45rem;
  }

  .release-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    gap: 1.05rem;
  }

  .release-thumb {
    aspect-ratio: 4 / 3;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  #external-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
  }

  .bottom-links {
    width: min(1080px, calc(100% - 2.2rem));
    bottom: 0.85rem;
    padding: 0;
  }

  .bottom-links .link-card {
    min-height: 44px;
    padding: 0.4rem 0.56rem;
  }

  .bottom-links .card-title {
    font-size: 0.82rem;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-selector {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .work-select-button.is-featured {
    grid-column: auto;
  }

  .selector-strip {
    margin-top: 0.9rem;
  }
}

@media (max-width: 759px) {
  .home-container {
    padding-bottom: calc(7.4rem + env(safe-area-inset-bottom));
  }

  .bottom-links {
    bottom: calc(0.45rem + env(safe-area-inset-bottom));
    width: calc(100% - 0.8rem);
    padding: 0;
  }

  .bottom-links .link-card {
    min-height: 40px;
    padding: 0.35rem 0.44rem;
  }

  .bottom-links .card-title {
    font-size: 0.68rem;
  }

  body {
    background: linear-gradient(
        145deg,
        rgba(6, 10, 20, 0.62),
        rgba(10, 18, 35, 0.56),
        rgba(8, 12, 24, 0.66)
      ),
      url("./素材/スマホ用背景.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}
