/* A small framed fan site: egg yellow, ketchup red, and ordinary underlined links. */
.container:has(.omelet-alliance-view) { min-width: 0; }
.main-content:has(.omelet-alliance-view) { min-width: 0; padding: 0; }
.sidebar-omelet-alliance { color: #704b2c; background-color: #fff1c6; }
.sidebar-omelet-alliance .menu-header { font-size: 15px; border-color: #b27e46; }
.sidebar-omelet-alliance .menu-list a { font-size: 14px; color: #943d29; }
.sidebar-omelet-alliance .menu-list a[aria-current=page] { color: #5b3927; background: #fff9db; outline: 1px dotted #b67a48; outline-offset: 3px; }
.omelet-sidebar-note { border-top: 1px dotted #ba8b58; padding-top: 14px; font-size: 12px; line-height: 1.8; }
.omelet-sidebar-icon { width: 64px; height: auto; image-rendering: pixelated; align-self: center; margin: 8px; }
.omelet-sidebar-return { border-top: 1px dotted #ba8b58; padding-top: 14px; font-size: 13px; }
.omelet-alliance-view { padding: 24px; min-height: 100vh; box-sizing: border-box; background: #f9e5b1 url('../../images/bg_yellow.jpg') repeat; color: #64472e; font-size: 14px; }
.omelet-frame { max-width: 880px; margin: 0 auto; border: 3px ridge #d6b67a; background: #fffdf1; }
.omelet-alliance-view:has(.omelet-frame[data-route=""]) { background: transparent; }
.omelet-breadcrumb .omelet-home-link { display: inline-block; padding: 6px 12px; background: #e3f5f8; border: 2px outset #e6f3f6; color: #254e73; font-size: 14px; font-weight: bold; }
.omelet-header { text-align: center; padding: 20px 12px 16px; background: #fff0bc; border-bottom: 3px double #cb8e4d; }
.omelet-site-name { font-weight: bold; font-size: 24px; color: #a43d27; margin: 0 0 6px; }
.omelet-tagline { margin: 0; font-size: 12px; }
.omelet-breadcrumb { padding: 7px 20px; margin: 0; border-bottom: 1px dotted #ccb582; font-size: 12px; overflow-wrap: anywhere; }
.omelet-content { padding: 22px 28px; }
.omelet-content h1 { margin: 0 0 20px; font-size: 22px; color: #9b3b25; border-bottom: 1px dashed #c99457; padding-bottom: 10px; }
.omelet-content h2 { font-size: 16px; color: #8d512e; margin: 0 0 12px; }
.omelet-content h3 { font-size: 14px; }
.omelet-content p, .omelet-content li { line-height: 1.8; overflow-wrap: anywhere; }
.omelet-alliance-view a { color: #8e3625; text-decoration: underline; text-underline-offset: 2px; }
.omelet-alliance-view a:hover { color: #d05229; }
.omelet-alliance-view button { padding: 5px 10px; background: #f5e7c4; border: 2px outset #fff9e3; font: inherit; color: #663b24; }
.omelet-alliance-view button:active { border-style: inset; }
.omelet-alliance-view button:disabled { opacity: .6; }
.omelet-alliance-view :focus-visible { outline: 2px dotted #9d422d; outline-offset: 3px; }
.omelet-alliance-view [hidden] { display: none !important; }
.omelet-section { margin: 24px 0; padding-top: 16px; border-top: 1px dotted #c5ab78; }
.omelet-welcome { color: #a43d27; font-weight: bold; }
.omelet-entrance { border: 3px double #cfb17d; padding: 16px 20px; background: #fff7df; }
.omelet-entrance > p { margin: 8px 0; font-size: 13px; }
.omelet-entrance > .omelet-actions { margin: 14px 0 4px; }
.omelet-entrance > .omelet-actions a:first-child { font-weight: bold; }
.omelet-return-visit { margin-top: 16px; padding-top: 6px; border-top: 1px dotted #c5ab78; }
.omelet-return-visit p { margin: 6px 0; }
.omelet-return-visit .omelet-actions { margin: 6px 0; font-size: 13px; }
details.omelet-join-guide { margin-bottom: 20px; border-bottom: 1px dotted #c5ab78; padding-bottom: 12px; }
.omelet-join-guide summary { cursor: pointer; font-size: 12px; color: #8e3625; text-decoration: underline; text-underline-offset: 2px; }
.omelet-ready-note { padding-left: 14px; border-left: 2px solid #d7bb87; margin: 16px 0 22px; }
.omelet-directory { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.omelet-directory dt { font-weight: bold; }
.omelet-directory dd { margin: 0; }
.omelet-count { border-bottom: 1px dotted #ccb582; padding-bottom: 8px; }
.omelet-member { display: grid; grid-template-columns: 116px minmax(0,1fr); align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px dotted #d8c6a4; }
.omelet-member > a { display: flex; align-items: center; justify-content: center; min-height: 80px; background: #fff8df; border: 1px solid #decea4; }
.omelet-member-plate { display: block; width: 100%; height: 90px; object-fit: contain; }
.omelet-founder-plate { display: block; width: 48px; height: auto; image-rendering: pixelated; }
.omelet-member-info { min-width: 0; overflow-wrap: anywhere; }
.omelet-member-info > a:first-child { font-weight: bold; }
.omelet-member-info p { margin: 5px 0; white-space: pre-wrap; }
.omelet-member-info small { color: #74644b; }
.omelet-recent { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.omelet-member.compact { grid-template-columns: 64px minmax(0,1fr); gap: 10px; font-size: 12px; }
.omelet-member.compact > a { min-height: 58px; }
.omelet-member.compact .omelet-member-plate { height: 58px; }
.omelet-notice { background: #fff4cc; border: 1px dashed #caa468; padding: 12px 14px; }
.omelet-note { font-size: 12px; }
.omelet-error, .omelet-status { color: #a02d25; }
.omelet-footer { text-align: center; font-size: 12px; padding: 16px; border-top: 2px double #d6b67a; background: #fff7df; }
.omelet-actions, .omelet-pages { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0; }
.omelet-pages { justify-content: center; }
.omelet-lookup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.omelet-lookup input { width: 80px; }
.omelet-alliance-view input, .omelet-alliance-view textarea { font: inherit; box-sizing: border-box; padding: 7px; background: #fffefa; border: 1px inset #bbaa88; color: #4c3928; max-width: 100%; }
.omelet-form { display: grid; gap: 15px; max-width: 560px; }
.omelet-form > label { display: grid; gap: 5px; }
.omelet-form textarea { resize: vertical; }
.omelet-form > button { justify-self: start; }
.omelet-form small { line-height: 1.6; }
.omelet-check { display: flex !important; gap: 8px; align-items: flex-start; }
.omelet-check input { flex: 0 0 auto; margin-top: 5px; }
.omelet-detail-plate { display: block; max-width: 100%; width: 360px; max-height: 320px; object-fit: contain; margin: 8px auto; }
.omelet-message { white-space: pre-wrap; }
.omelet-kitchen-door { border: 3px double #cfb17d; padding: 18px 20px; background: #fff7df; }
.omelet-kitchen-door > a { display: inline-block; font-weight: bold; margin: 4px 0; }
.omelet-kitchen-door > p { margin: 10px 0; }
.omelet-kitchen-manual { margin: 0; padding-left: 16px; border-left: 1px solid #d7c7a4; }
.omelet-kitchen-manual dt { font-weight: bold; font-size: 13px; color: #8d512e; margin-top: 16px; }
.omelet-kitchen-manual dd { margin: 5px 0 16px; line-height: 1.8; font-size: 13px; overflow-wrap: anywhere; }
.omelet-pending-plate { border-top: 1px dotted #c5ab78; margin-top: 16px; padding-top: 8px; font-size: 12px; }
.omelet-banner-guide { font-size: 13px; }
.omelet-banner-guide ol { padding-left: 24px; }
.omelet-banner-guide li { padding-left: 3px; margin: 5px 0; }
.omelet-banner-previews { display: grid; gap: 28px; }
.omelet-banner-previews > section { border-top: 1px dotted #c5ab78; padding-top: 10px; min-width: 0; }
.omelet-banner-previews canvas { display: block; max-width: 100%; height: auto; margin-bottom: 10px; border: 1px solid #b89664; }
.omelet-banner-previews label { display: block; font-size: 12px; margin-top: 14px; }
.omelet-banner-previews textarea { display: block; width: 100%; resize: vertical; margin-top: 4px; font-family: monospace; }
.omelet-dialog { border: 3px ridge #d6b67a; background: #fffdf1; max-width: min(90vw,800px); max-height: 90vh; padding: 14px; }
.omelet-dialog::backdrop { background: #33261799; }
.omelet-dialog img { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; margin-bottom: 8px; }
/* The full register is a quiet paper notebook; recent arrivals stay compact. */
.omelet-book-intro { margin-bottom: 20px; }
.omelet-book-intro p { margin: 6px 0; }
.omelet-book-tools { margin-bottom: 20px; font-size: 12px; }
.omelet-member-book { padding: 20px 22px 12px 30px; border: 1px solid #d7c7a4; background: linear-gradient(to right, transparent 13px, #d8bca16b 13px, #d8bca16b 14px, transparent 14px), #fffdf5; }
.omelet-book-heading { border-bottom: 3px double #d7c7a4; padding-bottom: 10px; }
.omelet-book-heading h2 { margin-bottom: 4px; }
.omelet-book-heading .omelet-count { margin: 0; padding: 0; border: 0; font-size: 11px; color: #82735c; }
.omelet-book-entry { grid-template-columns: 170px minmax(0,1fr); gap: 22px; align-items: start; padding: 23px 0; }
.omelet-entry-picture { margin: 0; min-width: 0; }
.omelet-entry-picture figcaption, .omelet-detail-picture figcaption { margin-top: 7px; font-size: 11px; color: #82735c; text-align: center; line-height: 1.6; }
.omelet-alliance-view .omelet-photo-button { display: block; box-sizing: border-box; width: 100%; padding: 5px; border: 1px solid #d7c7a4; background: #fffefb; cursor: zoom-in; }
.omelet-photo-button:hover { outline: 1px dotted #ae8861; outline-offset: 2px; }
.omelet-book-entry .omelet-member-plate { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.omelet-founder-picture { display: flex; justify-content: center; align-items: center; min-height: 112px; border: 1px dotted #dacbad; background: #fff9e8; }
.omelet-book-entry .omelet-entry-number { margin: 0 0 4px; font-size: 11px; color: #987151; font-family: monospace; }
.omelet-book-entry h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.6; }
.omelet-content .omelet-entry-message { margin: 8px 0 12px; padding: 0; min-height: 56px; line-height: 28px; white-space: pre-wrap; background: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, #ded6c570 27px, #ded6c570 28px); }
.omelet-quiet-entry { color: #82735c; font-size: 12px; }
.omelet-content .omelet-entry-date { margin: 8px 0 4px; font-size: 11px; color: #82735c; }
.omelet-book-entry .omelet-member-info > a { font-size: 12px; }
.omelet-book-footnote { margin: 12px 0 0; font-size: 11px; color: #82735c; }
.omelet-entry-page { padding-bottom: 22px; }
.omelet-book-label { margin: 0 0 8px; font-size: 11px; color: #987151; }
.omelet-detail-picture { max-width: 520px; margin: 20px auto; }
.omelet-detail-picture .omelet-detail-plate { width: 100%; max-height: none; margin: 0; }
.omelet-photo-caption { margin: 0 0 10px; font-size: 13px; color: #64472e; overflow-wrap: anywhere; }
.omelet-receipt-label { margin: 0 0 8px; font-size: 12px; color: #987151; }
.omelet-host-note { margin: 16px 0 22px; padding: 0 14px; border-left: 2px solid #d7bb87; }
.omelet-host-note p { margin: 6px 0; }
.omelet-host-signature { font-size: 12px; }
.omelet-receipt-next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0 14px; }
.omelet-receipt-next > div { min-width: 0; }
.omelet-receipt-next a { font-weight: bold; }
.omelet-receipt-next p { margin: 7px 0 0; }
@media(max-width:1100px) {
 .omelet-alliance-view { padding: 14px; }
 .omelet-content { padding: 20px; }
 .omelet-recent { grid-template-columns: 1fr; }
 .omelet-directory { grid-template-columns: 1fr; gap: 5px; }
 .omelet-directory dd { margin-bottom: 10px; }
}
@media(max-width:700px) {
 .container:has(.omelet-alliance-view) { flex-direction: column; }
 .sidebar-omelet-alliance { width: 100%; padding: 14px; gap: 8px; }
 .sidebar-omelet-alliance .menu-list { display: flex; flex-wrap: wrap; gap: 8px 14px; }
 .sidebar-omelet-alliance .menu-list li { padding: 0; margin: 0; }
 .omelet-sidebar-note, .omelet-sidebar-icon { display: none; }
 .omelet-sidebar-return { padding-top: 8px; }
 .main-content:has(.omelet-alliance-view) { border-left: 0; }
 .omelet-alliance-view { padding: 10px; }
 .omelet-content { padding: 16px 12px; }
 .omelet-site-name { font-size: 20px; }
 .omelet-member { grid-template-columns: 80px minmax(0,1fr); gap: 10px; }
 .omelet-content h1 { font-size: 20px; }
}
@media(max-width:900px) {
 .omelet-book-entry { grid-template-columns: 125px minmax(0,1fr); gap: 16px; }
 .omelet-founder-picture { min-height: 82px; }
}
@media(max-width:520px) {
 .omelet-member-book { padding: 16px 14px 12px 24px; background-position: -3px 0; }
 .omelet-book-entry { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 20px 0; }
 .omelet-entry-picture { width: 190px; max-width: 100%; }
 .omelet-receipt-next { grid-template-columns: minmax(0,1fr); gap: 16px; }
}
