/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
/* One small birdhouse. No design system spaceship required. */
:root { color-scheme: light; --blue: #2578df; --blue-dark: #155eb8; --sky: #eef7ff; --ink: #17324d; --muted: #6f8498; --line: #d7e7f5; --paper: #fff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: linear-gradient(180deg, #e8f5ff 0, #f8fbfe 38rem); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue-dark); }
.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; min-height: 4rem; padding: .75rem max(1rem, calc((100% - 42rem) / 2)); border-bottom: 1px solid rgba(37, 120, 223, .14); background: rgba(255, 255, 255, .9); backdrop-filter: blur(.65rem); -webkit-backdrop-filter: blur(.65rem); }
.brand { display: flex; gap: .55rem; align-items: center; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand-logo { width: 2rem; height: 2rem; object-fit: contain; }
.site-nav { display: flex; gap: .9rem; align-items: center; }
.site-nav > a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-icon-link { display: inline-flex; align-items: center; gap: .3rem; }
.nav-icon-link img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.notification-link { display: inline-flex; align-items: center; gap: .25rem; }
.notification-link span { min-width: 1.25rem; border-radius: 999px; padding: .1rem .35rem; color: #fff; background: var(--blue); text-align: center; font-size: .7rem; }
.moderation-alert-link { display: inline-flex; align-items: center; gap: .3rem; color: #51687b; }
.moderation-alert-link strong { min-width: 1.25rem; border-radius: 999px; padding: .1rem .35rem; color: #fff; background: #c95d5d; text-align: center; font-size: .7rem; }
.page-shell { width: min(100% - 2rem, 42rem); margin: 0 auto; padding: 2.5rem 0 5rem; }
.voice-pagination { display: flex; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.voice-pagination .quiet-button { text-decoration: none; }
.profile-voice-return { margin: 0 0 1rem; }
.profile-voice-return .quiet-button { display: inline-block; text-decoration: none; }
.card { border: 1px solid var(--line); border-radius: 1.15rem; background: rgba(255, 255, 255, .94); box-shadow: 0 .7rem 2rem rgba(45, 103, 153, .08); }
.auth-card, .composer { padding: clamp(1.25rem, 5vw, 2rem); }
.auth-card { max-width: 32rem; margin: 4rem auto; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 1.5rem; font-size: clamp(1.7rem, 5vw, 2.25rem); }
h2 { margin-bottom: 0; }
.eyebrow { margin-bottom: .35rem; color: var(--blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.stacked-form { display: grid; gap: .7rem; }
.stacked-form label { margin-top: .45rem; font-weight: 700; }
.field-help { margin-top: -.35rem; color: var(--muted); }
[data-email-confirmation-message]:not(:empty) { color: #b42318; font-weight: 700; }
.bird-id-field { display: flex; align-items: center; border: 1px solid #b9cee2; border-radius: .75rem; padding-left: .8rem; background: #fff; }
.bird-id-field:focus-within { outline: 3px solid rgba(37, 120, 223, .18); border-color: var(--blue); }
.bird-id-field input { border: 0; outline: 0; }
input, textarea { width: 100%; border: 1px solid #b9cee2; border-radius: .75rem; padding: .8rem .9rem; color: var(--ink); background: #fff; font: inherit; }
select { width: 100%; border: 1px solid #b9cee2; border-radius: .75rem; padding: .7rem .8rem; color: var(--ink); background: #fff; font: inherit; }
textarea { resize: vertical; line-height: 1.65; }
input:focus, textarea:focus { outline: 3px solid rgba(37, 120, 223, .18); border-color: var(--blue); }
.primary-button, .quiet-button { border: 0; border-radius: 999px; padding: .72rem 1.15rem; font: inherit; font-weight: 750; cursor: pointer; }
.primary-button { color: #fff; background: var(--blue); }
.primary-button:hover { background: var(--blue-dark); }
.primary-button:disabled { background: #aebbc8; cursor: not-allowed; }
.primary-button:disabled:hover { background: #aebbc8; }
.quiet-button { color: var(--blue-dark); background: #eaf4ff; }
.form-footnote { margin: 1.25rem 0 0; color: var(--muted); }
.flash { padding: .8rem 1rem; border-radius: .8rem; background: #e5f6ed; }
.flash.alert, .error-list { color: #842f35; background: #fff0f0; }
.error-list { margin-bottom: 1rem; padding: .8rem 1rem; border-radius: .8rem; }
.error-list p:last-child, .error-list ul { margin-bottom: 0; }
.composer-actions { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; color: var(--muted); font-size: .85rem; }
.composer-actions .primary-button { width: 60%; flex-shrink: 0; }
.composer-actions output { color: var(--blue-dark); font-weight: 800; }
.composer-actions output[data-near-limit] { color: #9b6800; }
.composer-actions output[data-over-limit] { color: #b22f3a; }
.composer-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.composer-heading h1 { min-width: 0; margin-bottom: 0; }
.composer-account { display: flex; flex: 0 1 auto; align-items: center; gap: .65rem; min-width: 0; max-width: 48%; }
.composer-account-avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: var(--sky); }
.composer-account > span { display: grid; min-width: 0; gap: .1rem; }
.composer-account strong, .composer-account small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.composer-account strong { font-size: .95rem; }
.composer-account small { color: var(--muted); font-size: .75rem; }
.post-length-line { white-space: nowrap; }
.image-field { display: grid; gap: .35rem; margin-top: .75rem; color: var(--muted); font-size: .85rem; }
.image-field label { color: var(--ink); font-weight: 700; }
.image-field input[type="file"] { padding: .55rem; }
.composer-hashtags { margin-top: .5rem; border: 1px solid #b9cee2; border-radius: .75rem; padding: .65rem .8rem; background: #fff; }
.composer-hashtags summary { color: var(--muted); cursor: pointer; font-size: .85rem; }
.composer-hashtags[open] { display: grid; gap: .45rem; }
.composer-hashtags[open] summary { margin-bottom: .2rem; }
.composer-hashtags label { color: var(--muted); font-size: .85rem; }
.composer-hashtags textarea { min-height: 7rem; }
.composer-hashtags small { color: var(--muted); }
.composer-tag-list { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin: -.25rem 0 .8rem; }
.content-warning { margin-top: .65rem; border: 1px solid #edb1b1; border-radius: .75rem; padding: .75rem .85rem; color: #7e2930; background: #fff4f4; }
.content-warning p { margin: 0 0 .4rem; font-weight: 750; }
.content-warning-preview { max-height: 8rem; overflow: auto; border-radius: .45rem; padding: .55rem .65rem; color: var(--ink); background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
.content-warning-preview mark { color: #b42318; background: #ffe0e0; font-weight: 850; }
.content-warning small { display: block; line-height: 1.5; }
.little-bird-grumble { display: grid; gap: .15rem; margin-top: .75rem; border-top: 1px dashed #e3b4b4; padding-top: .65rem; color: var(--muted); }
.little-bird-grumble strong { color: var(--ink); font-size: .8rem; }
.little-bird-grumble span { font-size: .8rem; line-height: 1.5; }
.warning-term-new, .warning-term-row, .warning-term-change { padding: 1rem 1.15rem; }
.warning-term-new { margin-bottom: 1.5rem; }
.warning-term-new h2, .warning-term-list h2, .warning-term-history h2 { margin-bottom: .75rem; }
.warning-term-form { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(10rem, 1fr) auto; align-items: end; gap: .65rem; }
.warning-term-form label:not(.check-field) { grid-row: 1; font-size: .8rem; font-weight: 700; }
.warning-term-form input[type="text"], .warning-term-form select { grid-row: 2; }
.warning-term-form .check-field { grid-row: 2; align-self: center; white-space: nowrap; }
.warning-term-form .check-field input { width: auto; }
.warning-term-form .quiet-button { grid-row: 2; }
.warning-term-list, .warning-term-history { display: grid; gap: .7rem; margin-top: 1.5rem; }
.warning-term-change { display: grid; grid-template-columns: 1fr auto; gap: .25rem .75rem; }
.warning-term-change small { grid-column: 1 / -1; color: var(--muted); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 2rem .35rem .75rem; }
.timeline-logo { width: 5.5rem; height: auto; }
.timeline { display: grid; gap: .8rem; }
.post { padding: 1.15rem 1.25rem; }
.post p { margin: .8rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.post-meta { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .8rem; }
.post-meta time { margin-left: auto; }
.bird-mark { width: 1.25rem; height: 1.25rem; object-fit: contain; }
.bird-avatar-link { display: inline-grid; flex: 0 0 auto; place-items: center; text-decoration: none; }
.bird-name-link, .bird-id-link { color: inherit; text-decoration: none; }
.bird-name-link:hover, .bird-id-link:hover { color: var(--blue-dark); text-decoration: underline; }
.official-bird-badge { display: inline-flex; align-items: center; border: 1px solid #82b9ed; border-radius: 999px; padding: .08rem .38rem; color: #0f579c; background: #e8f4ff; font-size: .65rem; font-weight: 850; line-height: 1.35; vertical-align: middle; white-space: nowrap; }
.reply-author { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .85rem; }
.post-image { display: block; width: 100%; max-height: 32rem; margin-top: 1rem; border-radius: .8rem; object-fit: contain; background: var(--sky); }
.reply-image { display: block; width: min(100%, 28rem); max-height: 24rem; margin-top: .75rem; border-radius: .75rem; object-fit: contain; background: var(--sky); }
video.post-image, video.reply-image { background: #071b2c; }
.post-icon-link { display: inline-grid; place-items: center; min-width: 2.5rem; min-height: 2.5rem; margin-top: .35rem; border-radius: 999px; background: #e5f2ff; }
.post-icon-link:hover { background: #d3e9ff; }
.post-icon-link img { width: 1rem; height: 1rem; object-fit: contain; }
.reply-actions { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-top: .5rem; }
.reply-actions .post-delete { margin-top: .75rem; margin-left: auto; }
.reply-social-actions .post-delete { margin: 0 0 0 auto; }
.reply-post > .reactions { margin-top: .75rem; }
.repost-notice { display: flex; align-items: center; gap: .35rem; margin: 0 0 .65rem !important; color: var(--muted); font-size: .78rem; font-weight: 700; }
.repost-notice img, .repost-button img { width: .9rem; height: .9rem; object-fit: contain; }
.post-social-actions { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.social-action-group { display: flex; align-items: center; gap: .35rem; min-height: 2.5rem; color: var(--muted); }
.social-action-group form { margin: 0; }
.social-action-group .post-icon-link { margin-top: 0; }
.social-action-group > strong { min-width: 1ch; font-size: .85rem; }
.social-expand-button { border: 0; padding: .25rem; color: var(--blue-dark); background: transparent; font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.repost-button { display: inline-grid; place-items: center; min-width: 2.5rem; min-height: 2.5rem; border: 0; border-radius: 999px; padding: .55rem; color: var(--muted); background: #f3f6f8; cursor: pointer; }
.repost-button:hover, .repost-button.selected { color: var(--blue-dark); background: #e5f2ff; }
.share-button { display: inline-grid; place-items: center; min-width: 2.5rem; min-height: 2.5rem; border: 0; border-radius: 999px; padding: .55rem; background: #f3f6f8; cursor: pointer; }
.share-button:hover { background: #e5f2ff; }
.share-button img { width: 1rem; height: 1rem; object-fit: contain; }
.favorite-button { display: inline-grid; place-items: center; min-width: 2.5rem; min-height: 2.5rem; border: 0; border-radius: 999px; padding: .55rem; color: #8092a3; background: #f3f6f8; font: inherit; cursor: pointer; }
.favorite-button:hover, .favorite-button.selected { color: #bd8514; background: #fff4d8; }
.timeline-sub-link { display: inline-block; margin-top: .35rem; font-size: .82rem; font-weight: 700; }
.share-notice { position: fixed; z-index: 20; right: 1rem; bottom: 1rem; margin: 0; border-radius: 999px; padding: .75rem 1rem; color: #fff; background: var(--ink); box-shadow: 0 .5rem 1.5rem rgba(23, 50, 77, .2); }
.shared-voice { max-width: 38rem; margin: 3rem auto; padding: 1.5rem; }
.shared-parent { margin-bottom: 1rem; border-left: 3px solid var(--line); padding: .75rem 1rem; color: var(--muted); }
.shared-parent p, .shared-voice article > p { margin: .6rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.shared-voice-foot { margin: 1.25rem 0 0; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .85rem; }
.repost-birds { color: var(--muted); font-size: .8rem; }
.repost-birds > p { margin: 0; font-weight: 700; }
.social-panel { margin-top: .7rem; }
.repost-bird-list { display: grid; gap: .35rem; margin-top: .5rem; }
.repost-bird-list a { display: flex; align-items: center; gap: .45rem; width: fit-content; color: inherit; text-decoration: none; }
.repost-bird-list a:hover span { color: var(--blue-dark); text-decoration: underline; }
.repost-bird-list img { width: 1.35rem; height: 1.35rem; border-radius: 50%; object-fit: cover; background: var(--sky); }
.repost-bird-list small { color: var(--muted); }
.link-preview { display: grid; gap: .5rem; padding: 1rem; margin: 1rem 0; border: 1px solid var(--line); border-radius: .75rem; text-decoration: none; overflow-wrap: anywhere; }
.link-preview span { color: var(--muted); font-size: .9rem; }
.link-preview img { width: 100%; max-height: 16rem; object-fit: contain; }
.post-hashtag { color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.post-hashtag:hover { text-decoration: underline; }
.post-follow-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .6rem; margin-top: 1rem; }
.post-follow-actions .field-help { margin: 0; }
.reply-dialog { width: min(90vw, 32rem); max-height: 85vh; overflow: auto; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); }
.reply-dialog::backdrop { background: rgba(23, 50, 77, .4); }
.inline-replies { border-top: 1px solid var(--line); padding-top: .75rem; }
.inline-conversation-link { display: block; margin: .8rem 0 .2rem; border-radius: 999px; padding: .65rem 1rem; background: var(--sky); text-align: center; font-size: .85rem; font-weight: 750; text-decoration: none; }
.post-delete { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.post-delete summary { cursor: pointer; }
.post-delete form { margin-top: .75rem; }
.content-report { width: fit-content; margin-top: .7rem; color: var(--muted); font-size: .75rem; }
.content-report summary { cursor: pointer; }
.report-form { display: grid; gap: .55rem; width: min(24rem, 80vw); margin-top: .55rem; }
.report-form label { font-weight: 700; }
.moderation-reports { display: grid; gap: .8rem; }
.moderation-report { display: grid; gap: .75rem; padding: 1rem 1.2rem; }
.moderation-report header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.moderation-report p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.moderation-report small { color: var(--muted); }
.report-status { border-radius: 999px; padding: .2rem .55rem; background: var(--sky); font-size: .75rem; font-weight: 700; }
.report-status.reviewed { color: #286642; background: #e5f6ed; }
.report-status.dismissed { color: var(--muted); background: #edf1f4; }
.reactions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.reaction-button { display: flex; gap: .4rem; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .72rem; color: #526d86; background: #f8fbfe; font: inherit; font-size: .82rem; cursor: pointer; }
.reaction-button:hover { border-color: #9bbfe2; background: var(--sky); }
.reaction-button.selected { border-color: var(--blue); color: var(--blue-dark); background: #e5f2ff; }
.reaction-button strong { min-width: 1ch; color: inherit; }
.empty-state { padding: 3rem 1rem; text-align: center; }
.empty-state span { font-size: 2.5rem; }
.empty-state p { margin: .65rem 0 .2rem; font-weight: 750; }
.empty-state small { color: var(--muted); }
.directory-heading { padding: .5rem .35rem 1rem; }
.bird-directory { display: grid; gap: .8rem; }
.notification-list { display: grid; gap: .8rem; }
.notification-card { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; padding: 1rem 1.2rem; }
.notification-message { display: grid; flex: 1 1 14rem; gap: .2rem; color: inherit; text-decoration: none; }
.notification-card small { color: var(--muted); }
.notification-avatars { display: flex; }
.notification-avatars a { display: inline-grid; place-items: center; border-radius: 50%; text-decoration: none; }
.notification-avatars a + a { margin-left: -.35rem; }
.notification-avatars a:hover, .notification-avatars a:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--blue); outline-offset: 1px; }
.notification-more-label { color: var(--muted); font-size: .78rem; }
.notification-actors { position: relative; }
.notification-actors summary { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 50%; color: var(--blue-dark); background: var(--sky); font-weight: 800; cursor: pointer; list-style: none; }
.notification-actors summary::-webkit-details-marker { display: none; }
.notification-actors > div { display: grid; flex-basis: 100%; gap: .35rem; width: min(18rem, 75vw); margin-top: .55rem; }
.notification-actors[open] { flex-basis: 100%; }
.notification-actors a { display: flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.notification-actors a:hover { color: var(--blue-dark); }
.settings-voices-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: .85rem; padding: .85rem 1rem; text-decoration: none; background: var(--sky); }
.settings-voices-link span { color: var(--muted); font-size: .82rem; }
.founding-voice-mark { margin: .75rem 0 0 !important; color: var(--blue-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.bird-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; }
.directory-bird { width: 1.8rem; height: 1.8rem; object-fit: contain; }
.bird-identity { display: grid; flex: 1; gap: .15rem; }
.bird-identity span { color: var(--muted); font-size: .85rem; }
.bird-identity a { color: inherit; text-decoration: none; }
.bird-identity a:hover { color: var(--blue-dark); text-decoration: underline; }
.bird-profile { display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.15rem; padding: 1.5rem; }
.profile-avatar { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; background: var(--sky); }
.profile-identity { align-self: center; }
.profile-identity h1, .profile-identity p { margin: 0; }
.profile-identity p { margin-top: .2rem; color: var(--muted); }
.profile-edit-link { display: inline-block; margin-top: .7rem; text-decoration: none; }
.profile-bio { grid-column: 1 / -1; margin: .25rem 0 0 !important; }
.profile-counts { display: flex; grid-column: 1 / -1; gap: 1.5rem; margin: .25rem 0 0; }
.profile-counts div { display: flex; gap: .35rem; align-items: baseline; }
.profile-counts a { display: flex; gap: .35rem; align-items: baseline; color: inherit; text-decoration: none; }
.profile-counts a:hover dt, .profile-counts a:hover dd { color: var(--blue-dark); }
.profile-counts dt { color: var(--muted); font-size: .82rem; }
.profile-counts dd { margin: 0; font-weight: 800; }
.profile-editor-preview { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--muted); }
.profile-editor small { color: var(--muted); }
.morimori-cart-promo { display: grid; gap: .65rem; margin: 2rem 0; border: 1px solid #c9ddcf; border-radius: 1rem; padding: 1rem; background: #fbfaf4; }
.morimori-cart-promo .promo-label { width: fit-content; margin: 0; border-radius: 999px; padding: .25rem .65rem; color: #fff; background: #176948; font-size: .75rem; font-weight: 800; }
.morimori-cart-promo h2, .morimori-cart-promo p { margin: 0; }
.morimori-cart-promo small { color: #56695f; }
.morimori-cart-banner { display: block; overflow: hidden; border-radius: .75rem; line-height: 0; }
.morimori-cart-banner img { display: block; width: 100%; height: auto; }
.morimori-cart-action { display: block; width: 100%; margin-top: .25rem; text-align: center; text-decoration: none; box-sizing: border-box; }
.credentials-editor, .account-departure { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }
.credentials-editor h2, .account-departure h2 { color: var(--ink); font-size: 1rem; }
.password-field-with-toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; align-items: stretch; }
.password-field-with-toggle input { min-width: 0; }
.password-toggle { min-width: 2.75rem; padding: .45rem; border-color: var(--line); background: var(--sky); font-size: 1.05rem; }
.password-toggle:hover { background: #dbeeff; }
.password-toggle img { display: block; width: 2rem; height: 1rem; object-fit: contain; }
.policy-consent { display: flex; align-items: flex-start; gap: .55rem; }
.policy-consent input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin-top: .2rem; }
.policy-consent label { line-height: 1.6; }
.text-button { display: inline; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; text-decoration: underline; }
.policy-dialog { width: min(90vw, 32rem); padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); }
.policy-dialog::backdrop { background: rgba(23, 50, 77, .4); }
.policy-dialog h2 { margin-top: 0; }
.policy-dialog { max-height: 82vh; overflow-y: auto; }
.policy-dialog-content h1 { margin-top: 0; font-size: 1.5rem; }
.policy-dialog-content h2, .legal-document h2 { margin-top: 1.5rem; font-size: 1.05rem; }
.policy-dialog-content li, .legal-document li { margin-block: .35rem; }
.legal-document { max-width: 50rem; margin-inline: auto; padding: clamp(1.25rem, 4vw, 2.5rem); line-height: 1.75; }
.legal-effective-date { color: var(--muted); font-size: .875rem; }
.site-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem 1.25rem; padding: 1.5rem 1rem 2.5rem; color: var(--muted); font-size: .8rem; }
.account-departure summary { cursor: pointer; font-weight: 700; }
.account-departure form { margin-top: 1rem; }
.danger-button { border-color: #b42318; background: #b42318; color: #fff; }
.danger-button:hover { background: #8f1c13; }
.avatar-cropper { display: grid; gap: .65rem; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; background: var(--sky); }
.avatar-cropper[hidden] { display: none; }
.avatar-cropper canvas { width: min(100%, 20rem); aspect-ratio: 1; justify-self: center; border-radius: 50%; background: #fff; cursor: grab; touch-action: none; }
.avatar-cropper canvas:active { cursor: grabbing; }
.avatar-cropper p { margin: 0; color: var(--muted); font-size: .85rem; text-align: center; }
.avatar-cropper label { display: grid; grid-template-columns: 6rem 1fr; align-items: center; gap: .75rem; font-size: .85rem; }
.avatar-cropper input[type="range"] { padding: 0; }
.profile-link-fields { display: grid; gap: .55rem; margin: .4rem 0; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.profile-link-fields legend { padding: 0 .35rem; font-weight: 700; }
.profile-link-pair { display: grid; grid-template-columns: minmax(8rem, .7fr) minmax(12rem, 1.3fr); gap: .55rem; }
.bird-tag-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: .4rem 0; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.bird-tag-fields legend, .bird-tag-fields small { grid-column: 1 / -1; }
.bird-tag-fields legend { padding: 0 .35rem; font-weight: 700; }
.profile-links { grid-column: 1 / -1; width: 100%; margin-top: .25rem; }
.profile-links summary { width: fit-content; color: var(--blue-dark); font-weight: 700; cursor: pointer; }
.profile-links ul { display: grid; gap: .35rem; margin: .65rem 0 0; padding-left: 1.25rem; overflow-wrap: anywhere; }
.bird-tags { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: .4rem; }
.bird-tags a, a.bird-tags { border-radius: 999px; padding: .25rem .6rem; color: var(--blue-dark); background: var(--sky); text-decoration: none; font-size: .78rem; font-weight: 700; }
.bird-tag-search { display: grid; gap: .4rem; margin: 1rem 0; }
.bird-tag-search > div { display: flex; gap: .5rem; }
.bird-tag-search input[type="search"] { flex: 1 1 auto; min-width: 0; }
.bird-tag-search input[type="submit"] { flex: 0 0 auto; width: auto; }
.check-field { display: flex; align-items: center; gap: .5rem; font-weight: 600 !important; }
.check-field input { width: auto; }
.alps { position: relative; display: grid; place-items: center; min-height: clamp(28rem, 72vh, 42rem); overflow: hidden; border-bottom: 4px solid #9cb4c6; color: #18374d; background: #b8d5e6; }
.alps-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(.92); }
.vhs-noise { position: absolute; inset: 0; z-index: 2; opacity: .2; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(31, 54, 64, .22) 4px, transparent 5px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px 5px); }
.alps-message { position: relative; z-index: 3; width: min(100% - 2rem, 38rem); margin-top: 8rem; padding: clamp(1.25rem, 5vw, 2rem); border: 2px solid rgba(255, 255, 255, .75); border-radius: .4rem; text-align: center; background: rgba(239, 247, 247, .88); box-shadow: .35rem .35rem 0 rgba(45, 72, 82, .18); }
.alps-message h1 { margin-bottom: .65rem; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2rem, 8vw, 3.6rem); }
.alps-audio-button { margin-bottom: 1rem; border: 1px solid rgba(37, 120, 223, .25); }
.alps-audio-button[aria-pressed="true"] { color: #31536e; background: rgba(255, 255, 255, .72); }
.alps-expiry { margin-bottom: 1.5rem; color: #677b87; font-size: .85rem; }
.alps-path { display: inline-block; text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 34rem) { .page-shell { width: min(100% - 1rem, 42rem); padding-top: 1rem; } .site-header { align-items: flex-start; padding-inline: .75rem; } .brand span:last-child { display: none; } .site-nav { gap: .6rem; } .site-nav > a { font-size: .78rem; } .moderation-alert-label { font-size: 0; } .moderation-alert-label::after { content: "帳"; font-size: .78rem; } .composer-heading { align-items: flex-start; gap: .65rem; } .composer-account { max-width: 44%; } .composer-account-avatar { width: 2.35rem; height: 2.35rem; } .composer-account strong { font-size: .82rem; } .reaction-button { font-size: .76rem; padding-inline: .58rem; } .profile-link-pair, .bird-tag-fields { grid-template-columns: 1fr; } }
/* A quiet public replacement backed by an explicit operator record. */
.moderation-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.8rem 0;
  padding: 0.9rem;
  border: 1px solid #b8d9f2;
  border-radius: 14px;
  background: #e5f2ff;
  color: #225b83;
}

.moderation-notice.owner {
  display: block;
  background: #fff8db;
  border-color: #ead68a;
  color: #65531a;
}

.moderation-notice dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 0.75rem;
  margin: 0.6rem 0 0;
}

.moderation-notice dt { font-weight: 700; }
.moderation-notice dd { margin: 0; }
.moderation-bird { font-size: 2rem; }

.active-moderation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0.8rem 0;
  padding: 0.75rem;
  border-radius: 12px;
  background: #e5f2ff;
}

.moderation-action { margin: 0.8rem 0; }
.ledger-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #e45353;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
.active-sessions-clear-form { margin-bottom: 0.9rem; }
.active-session-list { display: grid; gap: 0.65rem; }
.active-session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid #cfe1f0;
  border-radius: 0.8rem;
  background: #fff;
}
.active-session-card.current { background: #eef7ff; }
.active-session-card > div { display: grid; gap: 0.2rem; min-width: 0; }
.active-session-card small { overflow-wrap: anywhere; color: #61778a; }
.current-session-label {
  width: fit-content;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #dceeff;
  color: #1169ad;
  font-size: 0.75rem;
  font-weight: 700;
}

.active-moderation.siberia {
  background: #edf1f5;
  color: #374957;
}

.suspension-card {
  max-width: 42rem;
  margin-inline: auto;
}

.suspension-card dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
}

.suspension-card dt { font-weight: 700; }
.suspension-card dd { margin: 0; }

.moderation-ledger-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.moderation-ledger-nav a,
.moderation-ledger-nav strong {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.moderation-ledger-nav strong {
  background: #dbeeff;
  color: var(--blue-dark);
}

.moderation-history { margin-top: 1.5rem; }
.moderation-history-entry { margin-bottom: 1rem; padding: 1rem 1.2rem; }
.moderation-history-entry header { display: flex; justify-content: space-between; gap: 1rem; }
.moderation-history-entry dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 0.8rem;
  margin-bottom: 0;
}
.moderation-history-entry dt { font-weight: 700; }
.moderation-history-entry dd { margin: 0; }

.report-filters { margin-bottom: 1rem; padding: 1rem 1.2rem; }
.report-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.report-filter-grid > div { display: grid; gap: 0.35rem; }
.report-filter-grid label { font-weight: 700; font-size: 0.85rem; }
.report-filter-checks { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.9rem; }
.report-filter-actions { display: flex; align-items: center; gap: 1rem; margin-top: 0.9rem; }
.report-filter-actions .quiet-button { width: auto; }
.quiet-link { color: var(--muted); }

@media (max-width: 38rem) {
  .report-filter-grid { grid-template-columns: 1fr; }
}

.staff-directory,
.staff-history { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.staff-search { margin-top: 1rem; padding: 1rem 1.1rem; }
.staff-search form { display: grid; gap: 0.55rem; }
.staff-search label { font-weight: 700; }
.staff-search form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.55rem; }
.staff-search .quiet-button { width: auto; }
.staff-bird {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
}
.staff-bird-identity { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.staff-bird-identity span { display: grid; }
.staff-bird-identity small { color: var(--muted); }
.staff-role-form { display: flex; align-items: center; gap: 0.5rem; }
.staff-role-form .quiet-button { width: auto; white-space: nowrap; }
.staff-role { padding: 0.35rem 0.7rem; border-radius: 999px; font-weight: 700; }
.staff-role.owner { background: #fff2bc; color: #69530c; }
.staff-change { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding: 0.9rem 1.1rem; }
.staff-change small { grid-column: 1 / -1; color: var(--muted); }

@media (max-width: 38rem) {
  .staff-bird { align-items: stretch; flex-direction: column; }
  .staff-role-form { display: grid; grid-template-columns: 1fr auto; }
  .staff-search form > div { grid-template-columns: 1fr; }
  .warning-term-form { grid-template-columns: 1fr; }
  .warning-term-form label:not(.check-field), .warning-term-form input[type="text"],
  .warning-term-form select, .warning-term-form .check-field, .warning-term-form .quiet-button { grid-row: auto; }
}
