/* /Pages/mapling/Login.razor.rz.scp.css */
.login-page[b-uzvlgy0lxq] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #121212;
    font-family: system-ui, sans-serif;
    color: white;
}

form[b-uzvlgy0lxq] {
    width: min(320px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background-color: #1e1e1e;
    border-radius: 6px;
}

h1[b-uzvlgy0lxq] {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

input[b-uzvlgy0lxq], button[b-uzvlgy0lxq] {
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

input[b-uzvlgy0lxq] {
    background-color: #333;
    color: white;
}

button[b-uzvlgy0lxq] {
    background-color: #555;
    color: white;
    cursor: pointer;
}

button:hover[b-uzvlgy0lxq] {
    background-color: #777;
}

.error[b-uzvlgy0lxq] {
    margin: 0;
    color: #ff6b6b;
}
/* /Pages/mapling/Mapling.razor.rz.scp.css */
.layout[b-tdq0efctgc] {
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: #121212;
    color: white;
}

.sidebar[b-tdq0efctgc] {
    width: 220px;
    flex-shrink: 0;
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
}

.sidebar button[b-tdq0efctgc],
.map-link[b-tdq0efctgc] {
    display: block;
    padding: 0.75rem;
    border: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    text-align: left;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar button:hover[b-tdq0efctgc],
.map-link:hover[b-tdq0efctgc] {
    background-color: #555;
}

.sidebar .add[b-tdq0efctgc] {
    background-color: #2e7d32;
    text-align: center;
}

.sidebar .add:hover[b-tdq0efctgc] {
    background-color: #388e3c;
}

.map-link.active[b-tdq0efctgc] {
    background-color: #555;
    box-shadow: inset 3px 0 0 #8bc34a;
}

.map-list[b-tdq0efctgc] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.logout[b-tdq0efctgc] {
    color: #999;
    text-align: center;
    text-decoration: none;
}

.logout:hover[b-tdq0efctgc] {
    color: white;
}

.content[b-tdq0efctgc] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.toolbar[b-tdq0efctgc] {
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.toolbar h1[b-tdq0efctgc] {
    margin: 0 0.5rem 0 0;
    font-size: 1.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toolbar button[b-tdq0efctgc] {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    color: #ccc;
    cursor: pointer;
}

.toolbar button:hover[b-tdq0efctgc] {
    background-color: #333;
    color: white;
}

.toggle[b-tdq0efctgc] {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ccc;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.toggle.first[b-tdq0efctgc] {
    margin-left: auto;
}

.toggle input[b-tdq0efctgc] {
    accent-color: #8bc34a;
    cursor: pointer;
}

.map-area[b-tdq0efctgc] {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Shrinks to the image, so markers positioned in percent line up with it */
.map-frame[b-tdq0efctgc] {
    position: relative;
    line-height: 0;
}

.map-frame img[b-tdq0efctgc] {
    max-width: 100%;
    max-height: calc(100vh - 3rem - 2rem);
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    cursor: crosshair;
}

.marker[b-tdq0efctgc] {
    position: absolute;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    border: 2px solid white;
    border-radius: 50%;
    background-color: var(--marker-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0;
    cursor: pointer;
    transition: width 0.1s, height 0.1s;
}

/* Grows via size instead of scale, so the label inside keeps its font size */
.marker:hover[b-tdq0efctgc],
.marker:focus-visible[b-tdq0efctgc] {
    z-index: 1;
    width: 20px;
    height: 20px;
    outline: none;
}

/* Faded via colors instead of opacity, which would fade the label inside as well */
.marker.done[b-tdq0efctgc] {
    background-color: rgba(110, 110, 110, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.marker.done[b-tdq0efctgc]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
}

.marker.done .marker-label[b-tdq0efctgc] {
    color: #aaa;
    text-decoration: line-through;
}

.marker-label[b-tdq0efctgc] {
    position: absolute;
    display: none;
    max-width: 300px;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background-color: rgba(20, 20, 20, 0.92);
    color: white;
    font-size: 0.85rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.marker:hover .marker-label[b-tdq0efctgc],
.marker:focus-visible .marker-label[b-tdq0efctgc],
.show-labels .marker-label[b-tdq0efctgc] {
    display: block;
}

.marker-label.above[b-tdq0efctgc] {
    bottom: calc(100% + 6px);
}

.marker-label.below[b-tdq0efctgc] {
    top: calc(100% + 6px);
}

.marker-label.center[b-tdq0efctgc] {
    left: 50%;
    transform: translateX(-50%);
}

.marker-label.start[b-tdq0efctgc] {
    left: -4px;
}

.marker-label.end[b-tdq0efctgc] {
    right: -4px;
}

.actions .spacer[b-tdq0efctgc] {
    flex: 1;
}

.actions .confirm[b-tdq0efctgc] {
    flex: 1;
    align-self: center;
    color: #ff8a80;
}

.color-picker[b-tdq0efctgc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.swatch[b-tdq0efctgc] {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 1px #444;
}

.swatch.selected[b-tdq0efctgc] {
    border-color: white;
    box-shadow: 0 0 0 2px #8bc34a;
}

.empty-hint[b-tdq0efctgc] {
    margin: auto;
    color: #888;
}
/* /Pages/mapling/MaplingModal.razor.rz.scp.css */
.backdrop[b-mf709g80uc] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

.dialog[b-mf709g80uc] {
    width: min(420px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background-color: #1e1e1e;
    color: white;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

h2[b-mf709g80uc] {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

/* Form controls come from the parent as child content, so they need ::deep */
.dialog[b-mf709g80uc]  input[type=text],
.dialog[b-mf709g80uc]  textarea {
    padding: 0.6rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: white;
    font-size: 1rem;
}

.dialog[b-mf709g80uc]  input[type=file] {
    color: #ccc;
}

.dialog[b-mf709g80uc]  label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #ccc;
}

.dialog[b-mf709g80uc]  .hint {
    margin: 0;
    color: #999;
    font-size: 0.85rem;
}

.dialog[b-mf709g80uc]  .error {
    margin: 0;
    color: #ff6b6b;
}

.dialog[b-mf709g80uc]  .actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.dialog[b-mf709g80uc]  .actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: white;
    cursor: pointer;
}

.dialog[b-mf709g80uc]  .actions button:hover:not(:disabled) {
    background-color: #555;
}

.dialog[b-mf709g80uc]  .actions button:disabled {
    opacity: 0.5;
    cursor: default;
}

.dialog[b-mf709g80uc]  .actions .primary {
    background-color: #2e7d32;
}

.dialog[b-mf709g80uc]  .actions .primary:hover:not(:disabled) {
    background-color: #388e3c;
}

.dialog[b-mf709g80uc]  .actions .danger {
    background-color: #c62828;
}

.dialog[b-mf709g80uc]  .actions .danger:hover:not(:disabled) {
    background-color: #e53935;
}
/* /Pages/Twoller.razor.rz.scp.css */
.twoller-page[b-3erx8390pq] {
    /* Keep the last part of the tweet visible above the fixed button bar */
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}

.twoller-nav[b-3erx8390pq] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    padding-top: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    pointer-events: none;
}

.twoller-nav .btn[b-3erx8390pq] {
    pointer-events: auto;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-k8eq8n4ubt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-k8eq8n4ubt] {
    flex: 1;
}

.sidebar[b-k8eq8n4ubt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-k8eq8n4ubt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-k8eq8n4ubt]  a, .top-row .btn-link[b-k8eq8n4ubt] {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.top-row a:first-child[b-k8eq8n4ubt] {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-k8eq8n4ubt] {
        display: none;
    }

    .top-row.auth[b-k8eq8n4ubt] {
        justify-content: space-between;
    }

    .top-row a[b-k8eq8n4ubt], .top-row .btn-link[b-k8eq8n4ubt] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-k8eq8n4ubt] {
        flex-direction: row;
    }

    .sidebar[b-k8eq8n4ubt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-k8eq8n4ubt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-k8eq8n4ubt], article[b-k8eq8n4ubt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
