:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #233b2e;
  background: #f1f4f0;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.entry-card {
  width: 100%;
  min-width: 0;
  max-width: 520px;
  padding: 32px;
  border: 1px solid #dfe6df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 40px #18352209;
}

.entry-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #243f30;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.brand-dot { flex: 0 0 9px; width: 9px; height: 9px; background: #39835d; border-radius: 50%; }
.entry-intro { margin: 29px 0 25px; }
.entry-eyebrow { margin: 0 0 8px; color: #637d6b; font-size: 12px; letter-spacing: .14em; }
h1 { margin: 0 0 12px; font-size: 27px; font-weight: 650; line-height: 1.45; letter-spacing: -.6px; }
.entry-notice { margin: 0; color: #647269; font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.address-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.address-entry { min-width: 0; padding: 16px 18px; border: 1px solid #dce5dc; border-radius: 11px; background: #f5f7f4; }
.address-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; color: #64756a; font-size: 12px; font-weight: 550; line-height: 1.5; }
.address-tag { color: #456e53; font-size: 10px; font-weight: 400; }
.address-display {
  width: max-content;
  max-width: 100%;
  color: #24412e;
  font: 18px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  letter-spacing: 0;
  direction: ltr;
  unicode-bidi: isolate;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.address-line { display: grid; grid-template-columns: repeat(22, 1ch); grid-template-rows: 1.65em; width: 22ch; }
.address-cell { display: block; grid-row: 1; width: 1ch; min-width: 0; height: 1.65em; }
.address-hint { margin: 11px 1px 0; color: #6f7d72; font-size: 11px; line-height: 1.8; }
.empty-state { padding: 26px 16px; border: 1px dashed #d5dfd4; border-radius: 11px; background: #f7f9f5; text-align: center; }
.empty-mark { display: inline-grid; width: 34px; height: 34px; margin-bottom: 8px; place-items: center; border: 1px solid #dce6d9; border-radius: 50%; color: #80937c; }
.empty-state p { margin: 0 0 5px; font-size: 15px; font-weight: 550; }
.empty-state > span:last-child { color: #74816f; font-size: 12px; }
.entry-message { margin: 17px 0 0; padding-left: 12px; border-left: 2px solid #bdd2bc; color: #637269; font-size: 13px; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }
.bookmark-section { margin-top: 25px; padding-top: 23px; border-top: 1px solid #e8ede7; }
.bookmark-intro h2 { margin: 0 0 6px; color: #324a3a; font-size: 15px; font-weight: 600; line-height: 1.5; }
.bookmark-intro > p { margin: 0; color: #748075; font-size: 12px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.bookmark-button { display: block; width: 100%; min-height: 46px; margin-top: 17px; padding: 12px 18px; border: 1px solid #28734e; border-radius: 10px; background: #28734e; color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; transition: background-color .16s ease, border-color .16s ease; }
.bookmark-button:hover { border-color: #21633f; background: #21633f; }
.bookmark-button:focus-visible { outline: 3px solid #97bda6; outline-offset: 3px; }
.bookmark-button[aria-expanded="true"] { border-color: #ccdccd; background: #f5f8f3; color: #2c6b49; }
.bookmark-instructions { margin-top: 13px; padding: 16px 17px; border: 1px solid #e0e7dc; border-radius: 10px; background: #f8faf6; color: #5f7164; }
.bookmark-instructions[hidden] { display: none; }
.bookmark-instructions h3 { margin: 0 0 13px; color: #354d3c; font-size: 13px; font-weight: 600; line-height: 1.5; }
.bookmark-instructions p { margin: 0 0 13px; font-size: 12px; line-height: 1.85; }
.bookmark-instructions p:last-child { margin-bottom: 0; }
.bookmark-instructions strong { color: #425d49; font-weight: 550; }
kbd { display: inline-block; min-width: 1.65em; padding: 0 4px; border: 1px solid #d9e0d4; border-radius: 4px; background: #fff; color: #4b5e4d; font: inherit; text-align: center; }
.bookmark-instructions .bookmark-note { color: #73816f; font-size: 11px; }
.bookmark-fallback { color: #647269; font-size: 12px; line-height: 1.85; }
.entry-footer { margin-top: 25px; color: #798679; font-size: 11px; line-height: 1.7; text-align: center; }
.geo-attribution { display: block; margin-top: 6px; color: #7b877a; font-size: 10px; }
.geo-attribution a { color: #647960; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.geo-attribution a:focus-visible { outline: 2px solid #97bda6; outline-offset: 3px; }

@media (max-width: 420px) {
  body { padding: 22px 16px; }
  .entry-card { padding: 27px 23px; border-radius: 17px; }
  .entry-intro { margin-top: 26px; }
  h1 { font-size: 24px; }
  .address-entry { padding: 15px; }
  .address-display { font-size: 16px; }
}

@media (max-width: 360px) {
  body { padding: 18px 12px; }
  .entry-card { padding: 25px 18px; }
  h1 { font-size: 22px; }
  .address-entry { padding: 14px 12px; }
  .address-display { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .bookmark-button { transition: none; }
}
