:root {
    --eomaia-z-bottom-nav: 20;
    --eomaia-z-controls: 22;
    --eomaia-z-title: 23;
    --eomaia-z-inline: 24;
    --eomaia-z-material: 25;
    --eomaia-z-fab: 30;
    --eomaia-z-overlay: 38;
    --eomaia-z-dialog: 40;
    --eomaia-z-toast: 120;
}

body {
    user-select: none;
    -webkit-user-select: none;
    -webkit-text-size-adjust: 100%;
}

.btn-outline-primary {
    --bs-btn-hover-bg: transparent;
    --bs-btn-active-bg: transparent;
    --bs-btn-hover-color: #0d6efd;
    --bs-btn-active-color: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-active-border-color: #0d6efd;
}

.btn-outline-secondary {
    --bs-btn-hover-bg: transparent;
    --bs-btn-active-bg: transparent;
    --bs-btn-hover-color: #6c757d;
    --bs-btn-active-color: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-active-border-color: #6c757d;
}

.eomaia-hidden {
    display: none;
}

.is-hidden {
    display: none !important;
}

.is-disabled {
    color: #adb5bd !important;
    opacity: 0.55;
    pointer-events: none;
}

.is-muted {
    color: #6c757d !important;
}

.is-active {
    color: #0d6efd;
}

.eomaia-contents {
    display: contents;
}

.eomaia-grid-2 {
    align-content: flex-start;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eomaia-scroll-y {
    overflow-y: auto;
}

.eomaia-slide-area {
    box-sizing: border-box;
    overflow-y: auto;
    transition: top 0.5s ease-in-out;
    -webkit-overflow-scrolling: touch;
}

.eomaia-scroll-x {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.eomaia-full-width {
    width: 100%;
}

.eomaia-fill-height {
    height: 100%;
}

.eomaia-fit-content-height {
    height: fit-content;
}

.eomaia-wrap-button {
    height: auto;
    white-space: normal;
    word-break: break-word;
}

.eomaia-text-center {
    text-align: center;
}

.eomaia-bg-white {
    background-color: #ffffff;
}

.eomaia-relative {
    position: relative;
}

.eomaia-flex-static {
    flex: 0 0 auto;
}

.eomaia-detail-open {
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

.eomaia-dialog-shell {
    background-color: #ffffff;
    transition: top 0.5s ease-in-out;
}

.eomaia-toast-host {
    align-items: center;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    z-index: var(--eomaia-z-toast);
}

.eomaia-toast {
    background: rgba(33, 37, 41, 0.94);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(33, 37, 41, 0.2);
    box-sizing: border-box;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    max-width: min(480px, calc(100vw - 24px));
    opacity: 0;
    overflow-wrap: anywhere;
    padding: 10px 14px;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.eomaia-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.eomaia-upload-description-row {
    height: 50%;
}

.eomaia-detail-page {
    background: #f8fafc;
    box-sizing: border-box;
    min-height: 100vh;
    padding: 10px;
}

.eomaia-detail-layout {
    align-items: start;
    margin: 0 auto;
    max-width: 1120px;
    row-gap: 10px;
}

.eomaia-detail-column {
    box-sizing: border-box;
    padding: 0 5px;
}

.eomaia-detail-author-link {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.eomaia-detail-author {
    background: #ffffff;
    border-color: #dde3ea;
    border-radius: 8px;
    color: #212529;
    font-weight: 800;
    min-height: 44px;
}

.eomaia-detail-material {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-shadow: 0 1px 10px rgba(33, 37, 41, 0.07);
    box-sizing: border-box;
    overflow: hidden;
    padding: 8px;
}

.eomaia-detail-material > button[data-type="work"],
.eomaia-detail-material > button[data-type="image"] {
    aspect-ratio: 1 / 1;
}

.eomaia-detail-material > button[data-type="audio"],
.eomaia-detail-material > button[data-type="font"] {
    min-height: 72px;
}

.eomaia-detail-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eomaia-detail-toggle {
    background: #ffffff;
    border-color: #dde3ea;
    border-radius: 8px;
    color: #495057;
    font-weight: 800;
    min-height: 44px;
}

.eomaia-detail-panel {
    background: #ffffff;
    border-color: #dde3ea;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.06);
    padding: 10px;
}

.eomaia-detail-panel .container-fluid {
    padding: 0;
}

.eomaia-detail-tag-row {
    row-gap: 8px;
}

.eomaia-detail-tag-col {
    padding-left: 4px;
    padding-right: 4px;
}

.eomaia-detail-tag {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    min-height: 38px;
}

.eomaia-detail-description {
    color: #212529;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    overflow-wrap: anywhere;
}

.eomaia-form-page {
    background: #f8fafc;
    box-sizing: border-box;
    min-height: 100vh;
    padding: 12px 0 28px;
}

.eomaia-form-shell {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-shadow: 0 1px 10px rgba(33, 37, 41, 0.06);
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 560px;
    padding: 12px;
}

.eomaia-form-grid {
    row-gap: 8px;
}

.eomaia-form-field {
    min-width: 0;
}

.eomaia-block-link {
    display: block;
    text-decoration: none;
}

.eomaia-form-tab,
.eomaia-form-submit,
.eomaia-form-control {
    border-radius: 8px;
    min-height: 44px;
}

.eomaia-form-tab,
.eomaia-form-submit {
    font-weight: 800;
}

.eomaia-form-control {
    border-color: #d7dee6;
}

.eomaia-form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.16);
}

.eomaia-form-textarea {
    min-height: 132px;
    resize: vertical;
}

.eomaia-form-panel,
.eomaia-form-check,
.eomaia-form-switch {
    background: #f8fafc;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
}

.eomaia-form-panel {
    display: grid;
    gap: 8px;
}

.eomaia-form-panel .form-check {
    margin: 0;
}

.eomaia-form-check,
.eomaia-form-switch {
    align-items: center;
    display: flex;
    gap: 7px;
    min-height: 42px;
}

.eomaia-form-check .form-check-input,
.eomaia-form-switch .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}

.eomaia-form-check .form-check-label,
.eomaia-form-switch .form-check-label {
    line-height: 1.45;
    min-width: 0;
}

.eomaia-form-errors {
    color: #dc3545;
    font-size: 13px;
    line-height: 1.5;
}

.eomaia-form-errors ul {
    margin: 0;
    padding-left: 1.1rem;
}

.eomaia-form-message {
    color: #495057;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.eomaia-form-message p {
    margin: 0;
}

.eomaia-form-back {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    color: #495057;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    text-decoration: none;
    width: 42px;
}

.eomaia-form-back:hover,
.eomaia-form-back:focus {
    border-color: #0d6efd;
    color: #0d6efd;
}

.eomaia-form-back .material-icons-outlined {
    font-size: 26px;
}

.eomaia-form-page .form-label {
    color: #495057;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .eomaia-detail-page {
        padding: 16px;
    }

    .eomaia-detail-side {
        position: sticky;
        top: 12px;
    }

    .eomaia-form-page {
        padding-top: 24px;
    }

    .eomaia-form-shell {
        padding: 16px;
    }
}

#underBar.eomaia-bottom-nav {
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #dde3ea;
    box-shadow: 0 -3px 16px rgba(33, 37, 41, 0.08);
    z-index: var(--eomaia-z-bottom-nav);
}

.eomaia-inline-bar {
    background: rgba(255, 255, 255, 0.98) !important;
    box-sizing: border-box;
    z-index: var(--eomaia-z-inline);
}

#secondBar.eomaia-inline-bar,
#titleBar.eomaia-inline-bar,
#registerBar.eomaia-inline-bar {
    border-bottom: 1px solid #dde3ea;
    box-shadow: 0 2px 10px rgba(33, 37, 41, 0.06);
}

#underBar.eomaia-inline-bar,
#commentBar.eomaia-inline-bar,
#groupBar.eomaia-inline-bar {
    border-top: 1px solid #dde3ea;
    box-shadow: 0 -2px 10px rgba(33, 37, 41, 0.06);
}

#chatTitle {
    border-bottom: 1px solid #dde3ea;
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    box-shadow: 0 2px 10px rgba(33, 37, 41, 0.06);
    color: #212529;
    font-weight: 800;
    z-index: var(--eomaia-z-title);
}

.eomaia-inline-input {
    border-color: #d7dee6 !important;
    border-radius: 8px !important;
    box-sizing: border-box;
    font-size: 14px;
    height: calc(100% - 8px) !important;
    left: 6px !important;
    min-height: 36px;
    top: 4px !important;
    width: calc(80% - 10px) !important;
}

.eomaia-inline-input:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.16) !important;
}

.eomaia-inline-action {
    align-items: center;
    border-radius: 8px !important;
    display: inline-flex;
    height: calc(100% - 8px) !important;
    justify-content: center;
    left: auto !important;
    min-height: 36px;
    right: 6px;
    top: 4px !important;
    width: calc(20% - 8px) !important;
}

.eomaia-inline-action .material-icons {
    font-size: 22px;
    line-height: 1;
}

#registerBar.eomaia-inline-bar-split > .eomaia-inline-input {
    width: calc(40% - 8px) !important;
}

#registerBar.eomaia-inline-bar-split > .eomaia-inline-input:nth-child(2) {
    left: calc(40% + 2px) !important;
}

.eomaia-icon-bar {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #dde3ea;
    box-shadow: 0 2px 10px rgba(33, 37, 41, 0.06);
    box-sizing: border-box;
    z-index: var(--eomaia-z-controls);
}

#materialBar.eomaia-icon-bar {
    border-bottom: 0;
    border-top: 1px solid #dde3ea;
    box-shadow: 0 -2px 10px rgba(33, 37, 41, 0.06);
    z-index: var(--eomaia-z-material);
}

.eomaia-icon-bar > span {
    align-items: center;
    border-radius: 8px;
    color: #495057;
    display: inline-flex !important;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.eomaia-icon-bar > span:hover,
.eomaia-icon-bar > span:focus {
    background: #eef4ff;
    color: #0d6efd;
    outline: none;
}

.eomaia-icon-bar > span.material-icons,
.eomaia-icon-bar > span.is-active {
    background: #eef4ff;
    color: #0d6efd;
}

#profileBox {
    background: #f8fafc !important;
    border-bottom: 1px solid #dde3ea;
    box-shadow: 0 3px 14px rgba(33, 37, 41, 0.08);
    box-sizing: border-box;
    z-index: var(--eomaia-z-controls);
}

#profileBox .container-fluid {
    padding: 8px;
}

#profileBox .row {
    row-gap: 6px;
}

#profileBox button {
    background: #ffffff;
    border-color: #dde3ea !important;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.05);
    color: #212529;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#username {
    font-size: 15px !important;
    font-weight: 800 !important;
    min-height: 40px !important;
}

#username .material-icons-outlined {
    color: #6c757d;
    font-size: 16px;
    margin-left: 4px;
    vertical-align: text-bottom;
}

#camera,
#qrcode,
#setting,
#follow,
#message {
    align-items: center;
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: #dde3ea !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 10px rgba(33, 37, 41, 0.05);
    box-sizing: border-box;
    color: #495057;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    z-index: var(--eomaia-z-bottom-nav);
}

#camera:hover,
#camera:focus,
#qrcode:hover,
#qrcode:focus,
#setting:hover,
#setting:focus,
#follow:hover,
#follow:focus,
#message:hover,
#message:focus {
    background: #eef4ff !important;
    color: #0d6efd;
}

.dropdown-center .dropdown-menu {
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(33, 37, 41, 0.12);
    padding: 6px;
}

.dropdown-center .dropdown-item {
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    min-height: 36px;
}

#add {
    align-items: center;
    background: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.18);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.28);
    color: #ffffff;
    display: inline-flex !important;
    font-size: 30px !important;
    height: 56px !important;
    justify-content: center;
    left: auto !important;
    line-height: 1;
    right: 16px;
    top: auto !important;
    width: 56px !important;
    z-index: var(--eomaia-z-fab);
}

#add:hover,
#add:focus {
    background: #0b5ed7;
    color: #ffffff;
    outline: none;
}

@media (min-height: 720px) {
    #add {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-height: 719.98px) {
    #add {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
}

#dialog {
    background: #f8fafc !important;
    overflow: hidden;
    z-index: var(--eomaia-z-dialog);
}

#dialog > span {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #dde3ea;
    box-sizing: border-box;
    color: #495057;
    display: inline-flex !important;
    justify-content: center;
    z-index: 2;
}

#dialog > span:hover,
#dialog > span:focus {
    color: #0d6efd;
}

#publicBar,
#titleBar,
#registerBar,
#commentBar,
#groupBar {
    background: #ffffff !important;
    border-bottom: 1px solid #dde3ea;
    box-sizing: border-box;
}

#commentArea,
#tagBox,
#goodBox,
#descriptionBox,
#uploadBox {
    background: #f8fafc !important;
    box-sizing: border-box;
}

#commentArea .container-fluid,
#tagBox .container-fluid,
#goodBox .container-fluid,
#descriptionBox .container-fluid,
#uploadBox .container-fluid {
    padding: 8px;
}

#commentArea2,
#tagBox2,
#goodBox2 {
    row-gap: 8px;
}

#underBar .eomaia-nav-item {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-top: 3px solid transparent;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    font-size: inherit !important;
    gap: 0;
    justify-content: center;
    line-height: 1;
    min-width: 0;
    padding: 1px 2px 2px;
}

#underBar .eomaia-nav-item.is-active {
    border-top-color: #0d6efd;
    color: #0d6efd;
    font-weight: 700;
}

#underBar .eomaia-nav-icon {
    font-size: 18px;
    line-height: 1;
}

#underBar .eomaia-nav-label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-height: 760px) {
    #underBar .eomaia-nav-icon {
        font-size: 21px;
    }

    #underBar .eomaia-nav-label {
        font-size: 10px;
    }
}

.eomaia-material-action {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(108, 117, 125, 0.22);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.12);
    color: #495057;
    display: flex;
    font-size: 21px;
    height: 30px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    z-index: 3;
}

.eomaia-material-action:hover,
.eomaia-material-action:focus {
    background: #ffffff;
    color: #0d6efd;
    outline: none;
}

.eomaia-notification-card {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.07);
    grid-column: 1 / -1;
    margin: 0;
    min-width: 0;
    padding: 8px;
}

.eomaia-notification-status {
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 8px;
    min-height: 38px;
}

.eomaia-notification-text {
    color: #212529;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

button[data-type="work"] .eomaia-material-action,
button[data-type="image"] .eomaia-material-action {
    bottom: 8px;
    top: auto;
    transform: none;
}

#dataArea,
#workSet,
#imageSet,
#audioSet,
#fontSet,
#memberSet,
#personSet,
#followSet {
    box-sizing: border-box;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    padding: 8px;
    width: 100%;
}

#workArea,
#imageArea,
#audioArea,
#fontArea,
#memberArea,
#personArea,
#followArea {
    background: #f8fafc;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

button[data-type="work"],
button[data-type="image"],
button[data-type="audio"],
button[data-type="font"] {
    background: #ffffff;
    border: 1px solid #dde3ea !important;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.07);
    color: #212529;
    max-width: 100%;
    min-height: 56px;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    text-align: left;
    width: 100%;
}

button[data-type="work"]:focus,
button[data-type="image"]:focus,
button[data-type="audio"]:focus,
button[data-type="font"]:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
    outline: none;
}

button[data-type="work"].btn-primary,
button[data-type="image"].btn-primary,
button[data-type="audio"].btn-primary,
button[data-type="font"].btn-primary {
    background: #ffffff;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
    color: #212529;
}

button[data-type="work"],
button[data-type="image"] {
    aspect-ratio: 1 / 1;
    display: block;
    min-height: 0;
}

.eomaia-material-preview {
    background: #f8f9fa;
    display: block;
    height: 100%;
    width: 100% !important;
}

[id^="detail-"] {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

[data-material-grid="media"] {
    align-items: stretch;
    grid-auto-rows: calc((100vw - 24px) / 2) !important;
}

[data-material-grid="media"] button[data-type="work"],
[data-material-grid="media"] button[data-type="image"],
[data-material-grid="media"] [id^="detail-"] {
    height: 100% !important;
}

[data-material-grid="list"] {
    grid-auto-rows: auto !important;
}

button[data-type="user"],
button[data-type="dm"],
button[data-type="member"],
#userArea > a > button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde3ea !important;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.06);
    box-sizing: border-box;
    color: #212529;
    display: flex !important;
    gap: 8px;
    justify-content: space-between;
    min-height: 52px;
    min-width: 0;
    padding: 8px 10px;
    text-align: left;
    width: 100%;
}

#userArea > a {
    min-width: 0;
    text-decoration: none;
}

button[data-type="user"].btn-primary,
button[data-type="dm"].btn-primary,
button[data-type="member"].btn-primary {
    background: #e8f1ff;
    border-color: #0d6efd !important;
    color: #0d6efd;
}

button[data-type="user"].btn-outline-secondary {
    background: #f8f9fa;
    color: #6c757d;
}

button[data-type="user"].btn-outline-danger {
    background: #fff5f5;
    color: #dc3545;
}

.eomaia-connection-main {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: 0;
}

.eomaia-connection-icon,
.eomaia-user-card-icon {
    align-items: center;
    background: #edf7f2;
    border-radius: 8px;
    color: #198754;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: 20px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    width: 32px;
}

.eomaia-connection-name,
.eomaia-user-card-name {
    display: block;
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eomaia-connection-count,
.eomaia-connection-badge {
    align-items: center;
    background: #fff4d8;
    border-radius: 999px;
    color: #795200;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    min-height: 24px;
    min-width: 24px;
    padding: 3px 7px;
}

.eomaia-connection-badge {
    font-size: 18px;
    line-height: 1;
}

.eomaia-material-footer {
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(33, 37, 41, 0.58));
    bottom: 0;
    display: flex;
    gap: 4px;
    justify-content: space-between;
    left: 0;
    padding: 32px 42px 8px 8px;
    position: absolute;
    right: 0;
}

.eomaia-material-pill {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    color: #212529;
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    gap: 2px;
    line-height: 1;
    max-width: 100%;
    min-width: 0;
    padding: 4px 6px;
}

.eomaia-material-pill-icon {
    font-size: 14px;
    line-height: 1;
}

button[data-type="audio"],
button[data-type="font"] {
    align-items: center;
    display: flex;
    gap: 10px;
    padding: 10px 42px 10px 10px;
}

.eomaia-material-type-icon {
    align-items: center;
    background: #eef4ff;
    border-radius: 8px;
    color: #0d6efd;
    display: flex;
    flex: 0 0 34px;
    font-size: 22px;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.eomaia-material-has-action {
    padding-right: 2.25rem !important;
}

.eomaia-material-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.eomaia-material-title,
.eomaia-material-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eomaia-material-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.eomaia-material-meta {
    color: #6c757d;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.eomaia-chat-bubble {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.08);
    box-sizing: border-box;
    margin: 4px 8px;
    max-width: calc(100% - 8px);
    min-width: 0;
    padding: 8px 10px;
    width: fit-content !important;
}

.eomaia-chat-self {
    background: #dbeafe;
    border-bottom-right-radius: 4px;
    justify-self: end;
}

.eomaia-chat-other {
    background: #ffffff;
    border: 1px solid #e7edf3;
    border-bottom-left-radius: 4px;
    justify-self: start;
}

.eomaia-chat-author-link {
    display: block;
    margin-bottom: 4px;
    text-decoration: none;
}

.eomaia-chat-author {
    border: 0;
    color: #495057;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0;
    text-align: left;
    width: 100%;
}

.eomaia-chat-author:hover,
.eomaia-chat-author:focus {
    background: transparent;
    color: #0d6efd;
}

.eomaia-chat-text {
    color: #212529;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: anywhere;
    text-align: left;
    white-space: pre-wrap;
}

.eomaia-chat-system-text {
    color: #6c757d;
    font-size: 12px;
    font-weight: 700;
}

.eomaia-chat-time {
    color: #6c757d;
    font-size: 10px;
    line-height: 1.2;
    margin: 6px 0 0;
    text-align: right;
}

.eomaia-comment-col,
.eomaia-user-col {
    padding-left: 4px;
    padding-right: 4px;
}

.eomaia-comment-card {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.06);
    box-sizing: border-box;
    min-width: 0;
    padding: 10px;
    width: 100%;
}

.eomaia-comment-author-link {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.eomaia-comment-author {
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
}

.eomaia-comment-text {
    color: #212529;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.eomaia-comment-meta {
    align-items: center;
    color: #6c757d;
    display: flex;
    font-size: 11px;
    font-weight: 700;
    gap: 4px;
    line-height: 1.2;
    margin: 10px 0 0;
}

.eomaia-comment-meta span:last-child {
    margin-left: auto;
}

.eomaia-comment-meta-icon {
    color: #dc3545;
    font-size: 16px;
    line-height: 1;
}

.eomaia-user-card {
    border-radius: 8px;
    justify-content: flex-start;
    min-height: 46px;
}

#goodBox1 {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    color: #495057;
    font-weight: 800;
    margin-bottom: 8px;
    padding: 8px 10px;
}

#goodBox1 p {
    margin: 0;
}

#tagBox2 a {
    text-decoration: none;
}

#tagBox2 button {
    background: #ffffff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    min-height: 40px;
}

#descriptionBox2 {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    color: #212529;
    line-height: 1.6;
    margin: 0;
    overflow-wrap: anywhere;
    padding: 12px;
    white-space: pre-wrap;
}

#saveBox,
#chatsaveBox {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
}

#saveBox .form-check-input,
#chatsaveBox .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}

#saveBox .form-check-label,
#chatsaveBox .form-check-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    min-width: 0;
}

#uploadBox2 .row {
    margin-bottom: 8px;
}

#descriptionInput,
#uploadBox2 input[name="tag"] {
    border-color: #d7dee6;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

#descriptionInput {
    line-height: 1.55;
    min-height: 180px;
    resize: vertical;
}

#descriptionInput:focus,
#uploadBox2 input[name="tag"]:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.16);
}

#uploadBox2 input[name="tag"] {
    min-height: 38px;
}

#uploadBox2 [name="tagList"] {
    align-items: center;
}

#uploadBox2 [name="tagList"] > div {
    min-width: 0;
}

#uploadBox2 [name="tagList"] .material-icons-outlined {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-sizing: border-box;
    color: #495057;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 100%;
}

#uploadBox2 [name="tagList"] .material-icons-outlined:hover,
#uploadBox2 [name="tagList"] .material-icons-outlined:focus {
    background: #eef4ff;
    color: #0d6efd;
}

.eomaia-chat-bubble button[data-type="work"],
.eomaia-chat-bubble button[data-type="image"] {
    aspect-ratio: 1 / 1;
    margin-top: 2px;
    max-width: 220px;
}

.eomaia-chat-bubble button[data-type="audio"],
.eomaia-chat-bubble button[data-type="font"] {
    margin-top: 2px;
    max-width: 220px;
}

.eomaia-preview-overlay {
    background: #ffffff;
    box-shadow: 0 10px 32px rgba(33, 37, 41, 0.2);
    box-sizing: border-box;
    position: fixed !important;
    touch-action: none;
    z-index: var(--eomaia-z-overlay);
}

.eomaia-canvas-overlay {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(33, 37, 41, 0.12);
    box-sizing: border-box;
    pointer-events: none;
    position: fixed;
    z-index: 4;
}

.eomaia-canvas-hitbox {
    position: fixed;
    touch-action: none;
    z-index: 5;
}

.eomaia-canvas-panel {
    background: #f8fafc !important;
    border-color: #dde3ea;
    box-sizing: border-box;
    color: #212529;
    overflow: hidden;
    padding: 4px 6px;
    z-index: var(--eomaia-z-controls);
}

.eomaia-canvas-timeline {
    border-bottom: 1px solid #dde3ea;
    border-top: 1px solid #dde3ea;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.05);
}

.eomaia-canvas-toolstrip {
    background: #ffffff !important;
    border-bottom: 1px solid #dde3ea;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.05);
}

.eomaia-canvas-properties {
    background: #f4f6f8 !important;
    border-top: 1px solid #dde3ea;
    overflow-y: auto;
}

.eomaia-canvas-sheet {
    background: #ffffff !important;
    border-top: 1px solid #dde3ea;
    box-shadow: 0 -6px 24px rgba(33, 37, 41, 0.14);
}

.eomaia-canvas-layers {
    background: #ffffff !important;
    border: 1px solid #dde3ea;
    border-radius: 8px;
}

.eomaia-canvas-control,
#scheduleBar > span,
#menuBar > span,
#typeBar > span,
#elementBar > span {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d7dee6;
    border-radius: 8px;
    box-sizing: border-box;
    color: #495057;
    display: inline-flex !important;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    margin: 2px;
    min-height: 40px;
    min-width: 38px;
    overflow: hidden;
    padding: 4px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eomaia-canvas-control:focus,
#scheduleBar > span:focus,
#menuBar > span:focus,
#typeBar > span:focus,
#elementBar > span:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.16);
    outline: none;
}

.eomaia-canvas-control.is-active,
#scheduleBar > span.is-active,
#menuBar > span.is-active,
#typeBar > span.is-active,
#elementBar > span.is-active {
    background: #eef4ff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.14);
    color: #0d6efd;
}

.eomaia-canvas-control:hover,
#scheduleBar > span:hover,
#menuBar > span:hover,
#typeBar > span:hover,
#elementBar > span:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

#play.eomaia-canvas-control,
#edit.eomaia-canvas-control {
    background: #ffffff !important;
    border-top: 1px solid #dde3ea;
    border-radius: 0;
    box-shadow: 0 -2px 10px rgba(33, 37, 41, 0.06);
    font-size: 26px;
    margin: 0;
    z-index: var(--eomaia-z-inline);
}

#meter.eomaia-canvas-meter {
    background: #ffffff !important;
    box-sizing: border-box;
    height: auto;
    padding: 0 10px;
    z-index: var(--eomaia-z-inline);
}

#meter.eomaia-canvas-meter::-webkit-slider-thumb {
    border: 2px solid #ffffff;
    box-shadow: 0 1px 6px rgba(33, 37, 41, 0.25);
    height: 20px;
    width: 20px;
}

#meter.eomaia-canvas-meter::-moz-range-thumb {
    border: 2px solid #ffffff;
    box-shadow: 0 1px 6px rgba(33, 37, 41, 0.25);
    height: 20px;
    width: 20px;
}

#length.eomaia-canvas-control {
    font-size: 13px;
}

.eomaia-canvas-preview-thumb {
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
}

#audioTitle,
#fontTitle {
    align-items: center;
    color: #495057;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#fontText {
    border-color: #d7dee6;
    border-radius: 8px;
    font-size: 13px;
    min-height: 32px;
}

#fontText:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.16);
}

#editBar input[type="range"] {
    background: transparent;
    margin: 6px 0;
    min-height: 34px;
    padding: 0 8px;
}

#editBar input[type="color"] {
    border-color: #d7dee6;
    border-radius: 8px;
    height: 42px;
    margin: 8px auto;
    max-width: 160px;
}

#editBar button[name="editItem"] {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d7dee6;
    border-radius: 8px;
    color: #495057;
    display: inline-flex;
    justify-content: center;
}

#editBar button[name="editItem"]:hover,
#editBar button[name="editItem"]:focus {
    border-color: #0d6efd;
    color: #0d6efd;
}

.eomaia-page {
    background: #f8fafc;
    box-sizing: border-box;
    color: #212529;
    min-height: 100vh;
    padding: 18px 0 36px;
}

.eomaia-page.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.eomaia-page-shell {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 960px;
    padding: 0 14px;
}

.eomaia-page-header {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-shadow: 0 1px 10px rgba(33, 37, 41, 0.06);
    margin-bottom: 12px;
    padding: 18px;
}

.eomaia-page-kicker {
    color: #198754;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.eomaia-page-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.eomaia-page-lead {
    color: #495057;
    font-size: 15px;
    line-height: 1.75;
    margin: 12px 0 0;
}

.eomaia-page-section,
.eomaia-legal-section {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(33, 37, 41, 0.05);
    margin-bottom: 10px;
    padding: 16px;
}

.eomaia-page-section h2,
.eomaia-legal-section h2 {
    color: #212529;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
}

.eomaia-static-copy .row,
.eomaia-static-copy.row {
    display: block;
    margin: 0 auto;
}

.eomaia-static-copy {
    user-select: text;
    -webkit-user-select: text;
}

.eomaia-static-copy .col-12 {
    padding: 0;
    width: 100%;
}

.eomaia-static-copy h1 {
    color: #212529;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
}

.eomaia-static-copy h2 {
    color: #212529;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
}

.eomaia-static-copy p,
.eomaia-static-copy li {
    color: #343a40;
    font-size: 14px;
    line-height: 1.75;
}

.eomaia-static-copy ul {
    margin: 0 0 10px;
    padding-left: 1.25rem;
}

.eomaia-static-copy li {
    margin-bottom: 6px;
}

.eomaia-legacy-legal .eomaia-page-section {
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.eomaia-legacy-legal .eomaia-page-section p {
    margin: 0;
}

.eomaia-page-section p,
.eomaia-legal-section p,
.eomaia-legal-section li {
    color: #343a40;
    font-size: 14px;
    line-height: 1.75;
}

.eomaia-page-section p,
.eomaia-legal-section p {
    margin: 0 0 10px;
}

.eomaia-page-section p:last-child,
.eomaia-legal-section p:last-child {
    margin-bottom: 0;
}

.eomaia-page-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eomaia-link-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d7dee6;
    border-radius: 8px;
    color: #212529;
    display: flex;
    gap: 8px;
    min-height: 52px;
    min-width: 0;
    padding: 10px;
    text-decoration: none;
}

.eomaia-link-card:hover,
.eomaia-link-card:focus {
    border-color: #0d6efd;
    color: #0d6efd;
}

.eomaia-link-card .material-icons-outlined {
    align-items: center;
    background: #eef4ff;
    border-radius: 8px;
    color: #0d6efd;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 21px;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.eomaia-link-card span:last-child {
    display: block;
    font-size: 13px;
    font-weight: 800;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eomaia-page-list,
.eomaia-legal-section ul,
.eomaia-legal-section ol {
    margin: 0;
    padding-left: 1.25rem;
}

.eomaia-page-list li,
.eomaia-legal-section li {
    margin-bottom: 6px;
}

.eomaia-page-meta,
.eomaia-page-footer {
    color: #6c757d;
    font-size: 12px;
    font-weight: 700;
}

.eomaia-page-footer {
    margin-top: 14px;
    text-align: right;
}

.eomaia-page-footer p {
    margin: 0 0 3px;
}

.eomaia-license-list {
    display: grid;
    gap: 10px;
}

.eomaia-license-list .eomaia-page-section {
    margin-bottom: 0;
}

.eomaia-license-list h1 {
    border-bottom: 1px solid #eef1f4;
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.eomaia-license-list p,
.eomaia-license-list a {
    line-height: 1.7;
}

.eomaia-legal a,
.eomaia-page a {
    overflow-wrap: anywhere;
}

@media (max-width: 520px) {
    .eomaia-page {
        padding-top: 10px;
    }

    .eomaia-page-header,
    .eomaia-page-section,
    .eomaia-legal-section {
        padding: 14px;
    }

    .eomaia-page-title {
        font-size: 23px;
    }

    .eomaia-page-grid {
        grid-template-columns: 1fr;
    }
}
