@charset "UTF-8";

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #111111;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto,
               "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.6;
}

.site-header, .site-footer {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  text-align: center;
}

h1 {
  margin: 0 0 .25rem 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
}
.tagline {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.container {
  width: min(960px, 92vw);
  margin: 1.5rem auto 3rem;
}

.search-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: .5rem;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
}

.input {
  width: 100%;
  padding: .85rem .9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
}

.btn {
  appearance: none;
  border: 1px solid var(--border);
  padding: .85rem 1.1rem;
  border-radius: 12px;
  background: var(--fg);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.btn:disabled {
  opacity: .6;
  cursor: default;
}

.hint {
  margin:.5rem 0 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.results {
  margin-top: 1rem;
  display: grid;
  gap: .75rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}
.card h3 {
  margin: 0 0 .25rem 0;
  font-size: 1.05rem;
}
.card p {
  margin: 0 0 .75rem 0;
  color: var(--muted);
}

.btn-link {
  display:inline-block;
  padding:.45rem .8rem;
  border:1px solid #111;
  border-radius:.5rem;
  text-decoration:none;
  color:#111;
}
.btn-link:hover {
  background:#111;
  color:#fff;
}

/* ¥£ syncc UI ƒtƒ‰ƒO */
.ux-flag {
  position: fixed;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #e9ecf1;
  font-size: 12px;
  font-family: "Fira Code", ui-monospace, Menlo, Monaco, Consolas, "Noto Sans JP", monospace;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.ux-flag.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ux-flag::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: #8ff;
  opacity: 0.6;
  animation: uxPulseBlink 0.9s infinite steps(1, end);
}

@keyframes uxPulseBlink {
  50% { opacity: 0.15; }
}

/* ‰B‚µƒŠƒ“ƒN */
.hidden-url {
  color: #ffffff;
  font-size: 12px;
  user-select: text;
}
.hidden-url a {
  color: #ffffff;
  text-decoration: none;
}
