/* Extra inner sections */
.chat-page .chat-messages{height:340px;overflow-y:auto;overflow-wrap:anywhere;padding:12px 4px;flex:none}.chat-page .chat-message{display:block;margin:0 0 14px;padding:10px 12px;background:#f5f6f7;border-radius:7px}.chat-page .chat-message.is-mine{background:#fff2ee}.chat-message-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.chat-message-meta time{font-size:11px;color:#87909a}.chat-page .chat-message p{white-space:pre-wrap;line-height:1.7;margin:5px 0 0}.chat-page .chat-compose{display:grid;grid-template-columns:minmax(100px,150px) minmax(0,1fr) auto;align-items:end}.chat-compose label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#7c8690}.chat-page .chat-compose input,.chat-page .chat-compose textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;color:var(--ink);border:1px solid #d9dfe6;border-radius:5px;padding:8px;resize:vertical}.chat-page .chat-compose textarea{min-height:55px}.chat-status{font-size:12px;color:#697b69;margin:10px 0}.chat-status.is-error,.error-notice{color:#b0372c!important;background:#fff1ed}.guestbook-form button:disabled,.chat-compose button:disabled{opacity:.55;cursor:not-allowed}.guestbook-form small{font-size:12px;color:#86909a}.guest-entry p{overflow-wrap:anywhere}.reading-body{font-size:17px;line-height:2.15;max-width:780px;margin:25px auto}.reading-body p{margin:0 0 1.3em;text-indent:2em}.reading-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:19px 0;margin-top:24px}.reading-navigation a{color:var(--red);text-decoration:none}.reading-navigation span{font-size:13px;color:#8b949d}.story-card h2 a{color:var(--ink);text-decoration:none}.chat-room:focus-visible,.city-chip:focus-visible,.chapter-link:focus-visible{outline:2px solid var(--red);outline-offset:2px}
@media(max-width:760px){.chat-page .chat-compose{grid-template-columns:minmax(0,1fr) auto}.chat-page .chat-name-label{grid-column:1/-1}.chat-page .chat-messages{height:300px}.reading-body{font-size:16px}.reading-navigation{gap:8px;font-size:13px}}
.extra-inner{max-width:100%;line-height:1.75}.extra-inner h2{margin:0 0 8px;color:var(--ink)}
.weather-search{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:16px 0}.weather-search label,.guestbook-form label{display:flex;flex-direction:column;gap:5px;color:#59636e;font-weight:600}.weather-search input,.guestbook-form input,.guestbook-form textarea,.chat-compose input{font:inherit;border:1px solid #d9dfe6;border-radius:6px;padding:9px 11px;background:#fff;color:var(--ink)}.weather-search input{min-width:220px}.weather-search button,.guestbook-form button,.chat-compose button{border:0;border-radius:6px;padding:10px 17px;background:var(--red);color:#fff;font:inherit;cursor:pointer}.weather-search button.secondary{background:#f0f3f6;color:#475362}.weather-status{color:#78838e;min-height:28px}.weather-current{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px;margin:10px 0 16px;background:linear-gradient(120deg,#fff8f3,#fff)}.weather-place{display:block;color:#7d6c60;font-size:14px}.weather-current strong{display:block;font-size:44px;line-height:1.2;color:var(--red)}.weather-current div>span:last-child{color:#657280}.weather-current-meta{display:flex;gap:24px;color:#7d8791}.weather-current-meta b{display:block;color:var(--ink);font-size:17px}.weather-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.weather-day{padding:14px 10px;text-align:center;border:1px solid var(--line);border-radius:7px;background:#fff}.weather-day .weather-date{display:block;color:#59636e}.weather-day .weather-icon{display:block;font-size:26px;margin:6px}.weather-day strong{display:block;color:#303b47}.weather-day small{display:block;color:#82909c;margin-top:5px}.weather-note{margin-top:18px;padding:19px}.weather-note h2{font-size:18px}.weather-note p{color:#697580}.weather-cities{display:flex;gap:8px;flex-wrap:wrap}.city-chip{border:1px solid #efc8c3;background:#fff8f7;color:var(--red);border-radius:4px;padding:6px 12px;cursor:pointer}.chat-layout,.guestbook-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:18px;align-items:start}.chat-rooms{padding:14px}.extra-heading,.chat-window-head,.guest-entry>div{display:flex;justify-content:space-between;align-items:center}.extra-heading{padding:3px 4px 12px;border-bottom:1px solid var(--line)}.extra-heading h2{font-size:18px}.extra-heading span,.chat-window-head span{font-size:12px;color:#8a949e}.chat-room{display:flex;width:100%;align-items:center;gap:10px;border:0;border-bottom:1px solid #f0eee9;background:#fff;padding:13px 5px;text-align:left;cursor:pointer;color:var(--ink)}.chat-room.active{background:#fff3f1}.chat-room-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f4e7df;color:#bd493d}.chat-room span:nth-child(2){flex:1}.chat-room b,.chat-room small{display:block}.chat-room small{color:#89939e;font-size:12px}.chat-room em{font-style:normal;color:#82909b;font-size:12px}.chat-window{min-height:400px;display:flex;flex-direction:column;padding:17px}.chat-window-head{border-bottom:1px solid var(--line);padding-bottom:12px}.chat-window-head h2{font-size:19px}.chat-messages{flex:1;padding:16px 2px}.chat-tip{text-align:center;color:#9aa3ab;font-size:12px}.chat-message{display:flex;gap:9px;margin:13px 0}.chat-message b{color:var(--red);min-width:40px}.chat-message span{background:#f5f6f7;border-radius:5px;padding:5px 10px}.chat-compose{display:flex;gap:8px}.chat-compose input{flex:1}.novel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.novel-card{display:flex;gap:15px;padding:18px}.novel-cover{width:65px;height:85px;flex:none;display:grid;place-items:center;border-radius:4px;background:linear-gradient(145deg,#a9342b,#d17b54);color:#fff;font-size:34px;font-weight:700;box-shadow:0 4px 12px #8e2b2130}.novel-card h2{font-size:19px}.novel-card h2 a{color:var(--ink);text-decoration:none}.novel-card p,.story-card p{color:#707b86}.novel-card small{color:#999}.novel-detail{display:grid;grid-template-columns:90px 1fr;gap:20px;padding:20px;border:1px solid var(--line);background:#fff;border-radius:8px}.novel-detail .novel-cover{width:90px;height:120px}.chapter-list{border-top:1px solid var(--line);margin-top:15px}.chapter-link{display:flex;justify-content:space-between;padding:11px 3px;border-bottom:1px solid #f0eee9;color:var(--ink);text-decoration:none}.chapter-link span{color:var(--red);font-size:13px}.story-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.story-card{padding:19px}.story-card h2{font-size:19px}.story-card .action-link{color:var(--red);text-decoration:none}.guestbook-form{padding:18px;display:flex;gap:14px;flex-direction:column}.guestbook-form textarea{resize:vertical}.guestbook-list{display:flex;gap:11px;flex-direction:column}.guest-entry{padding:15px 17px}.guest-entry time{font-size:12px;color:#9ba2aa}.guest-entry p{margin:9px 0 0;color:#56616e;white-space:pre-wrap}.guestbook-page .notice{margin:12px 0}
@media (max-width:760px){.weather-current{align-items:flex-start;flex-direction:column}.weather-current-meta{width:100%;justify-content:space-between;gap:8px}.weather-days{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout,.guestbook-layout{grid-template-columns:1fr}.novel-grid,.story-list{grid-template-columns:1fr}.novel-detail{grid-template-columns:70px 1fr}.novel-detail .novel-cover{width:70px;height:96px}.weather-search input{min-width:160px}}
.archive-page.panel.account-directory-archive {
  max-width: 1120px;
  margin-inline: auto;
  padding: 26px 28px 30px;
  background: linear-gradient(145deg, #fff 0%, #fffdfa 100%);
}
.archive-page.panel.account-directory-archive > .page-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #eee8e2;
}
.archive-page.panel.account-directory-archive > .page-heading .content-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #f1ded8;
  border-radius: 999px;
  background: #fff8f5;
  color: #a94a3d;
  font-size: 12px;
  letter-spacing: .04em;
}
.archive-page.panel.account-directory-archive > .page-heading h1 {
  margin: 10px 0 0;
  font-size: 30px;
  letter-spacing: .02em;
}
.account-directory { max-width: none; margin: 0; }
.account-directory > .page-intro {
  margin: 19px 0 6px;
  color: #68727e;
  font-size: 15px;
  line-height: 1.85;
}
.account-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.account-directory-card {
  display: flex;
  min-width: 0;
  min-height: 224px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e9e5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px #33261a0a;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.account-directory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.account-directory-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border: 1px solid #f0ded6;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff7f1, #f7e4d8);
  color: #a84436;
  font-size: 22px;
  font-weight: 700;
}
.account-directory-type {
  padding: 5px 10px;
  border: 1px solid #f2e4de;
  border-radius: 999px;
  background: #fff8f5;
  color: #a94a3d;
  font-size: 12px;
  white-space: nowrap;
}
.account-directory-card h2 {
  margin: 15px 0 7px;
  font-size: 19px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.account-directory-card h2 a { color: var(--ink); text-decoration: none; }
.account-directory-card h2 a:hover { color: var(--red); }
.account-directory-card > p {
  display: -webkit-box;
  flex: 1;
  overflow: hidden;
  margin: 0;
  color: #707b86;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.account-directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid #f0eeeb;
  color: #87909a;
  font-size: 12px;
}
.account-directory-meta > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-directory-meta a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.account-directory-meta a:hover { text-decoration: underline; }
.account-directory-card:hover {
  transform: translateY(-3px);
  border-color: #e8c5b9;
  box-shadow: 0 12px 26px #57301b12;
}
.account-directory-card:focus-within {
  border-color: #c93038;
  box-shadow: 0 0 0 3px #c930381c;
}
@media (max-width: 900px) {
  .archive-page.panel.account-directory-archive { padding: 22px; }
  .account-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .archive-page.panel.account-directory-archive { padding: 18px 15px 20px; }
  .archive-page.panel.account-directory-archive > .page-heading h1 { font-size: 24px; }
  .account-directory > .page-intro { margin-top: 15px; font-size: 14px; }
  .account-directory-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 13px; }
  .account-directory-card { min-height: 0; padding: 17px; border-radius: 10px; }
  .account-directory-card h2 { margin-top: 12px; }
}
