.lim-story-section {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lim-story-composer,
.lim-story-card {
    background: #ffffff;
    border: 1px solid rgba(22, 31, 26, 0.1);
    border-radius: 1rem;
    box-shadow: 0 0.45rem 1.4rem rgba(29, 42, 35, 0.06);
}

.lim-story-composer {
    padding: 1rem;
}

.lim-story-composer-heading {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
}

.lim-story-composer-icon {
    align-items: center;
    background: #edf5ef;
    border-radius: 50%;
    color: #245c3b;
    display: flex;
    flex: 0 0 2.7rem;
    font-size: 1.15rem;
    height: 2.7rem;
    justify-content: center;
}

.lim-story-composer-heading span,
.lim-story-type-badge,
.lim-profile-activity-item > div > span {
    color: #68736c;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lim-story-composer-heading h3 {
    font-size: 1.1rem;
    margin: 0.08rem 0 0.22rem;
}

.lim-story-composer-heading p {
    color: #68736c;
    font-size: 0.85rem;
    margin: 0;
}

.lim-story-form {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.lim-story-type-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.lim-story-type-row label {
    cursor: pointer;
}

.lim-story-type-row input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.lim-story-type-row span {
    align-items: center;
    background: #f3f5f3;
    border: 1px solid #dde3de;
    border-radius: 999px;
    display: flex;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.35rem;
    padding: 0.48rem 0.75rem;
}

.lim-story-type-row input:checked + span {
    background: #e2f1e7;
    border-color: #72a984;
    color: #184a2e;
}

.lim-story-form > textarea {
    border: 1px solid #d8ded9;
    border-radius: 0.8rem;
    min-height: 7rem;
    padding: 0.85rem;
    resize: vertical;
    width: 100%;
}

.lim-story-form-footer {
    align-items: flex-end;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.lim-story-form-footer label {
    color: #68736c;
    display: grid;
    font-size: 0.75rem;
    gap: 0.25rem;
}

.lim-story-form-footer input {
    border: 1px solid #d8ded9;
    border-radius: 0.55rem;
    padding: 0.5rem;
}

.lim-story-form-footer button,
.lim-story-login-button {
    background: #245c3b;
    border: 0;
    border-radius: 999px;
    color: white;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.65rem 1rem;
    text-decoration: none;
}

.lim-story-login-button {
    display: inline-flex;
    margin-top: 1rem;
}

.lim-story-list {
    display: grid;
    gap: 0.85rem;
}

.lim-story-card {
    padding: 1rem;
}

.lim-story-card > header {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
}

.lim-story-avatar,
.lim-story-avatar-placeholder {
    border-radius: 50%;
    flex: 0 0 2.6rem;
    height: 2.6rem;
    object-fit: cover;
    width: 2.6rem;
}

.lim-story-avatar-placeholder {
    align-items: center;
    background: #e9efeb;
    color: #245c3b;
    display: flex;
    font-weight: 800;
    justify-content: center;
}

.lim-story-author {
    flex: 1;
}

.lim-story-author > div {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.lim-story-author a,
.lim-profile-activity-item h3 a {
    color: #17251d;
    font-weight: 800;
    text-decoration: none;
}

.lim-story-author span,
.lim-story-author small {
    color: #68736c;
    font-size: 0.78rem;
}

.lim-story-type-badge {
    align-items: center;
    background: #edf5ef;
    border-radius: 999px;
    color: #245c3b;
    display: flex;
    gap: 0.3rem;
    padding: 0.38rem 0.58rem;
}

.lim-story-type-badge.tip {
    background: #fff5d8;
    color: #7a5c00;
}

.lim-story-text {
    color: #26342c;
    line-height: 1.65;
    margin: 0.9rem 0;
    white-space: pre-wrap;
}

.lim-story-card > footer {
    align-items: center;
    border-top: 1px solid #edf0ed;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: space-between;
    padding-top: 0.75rem;
}

.lim-story-helpful-count {
    color: #68736c;
    font-size: 0.78rem;
}

.lim-story-helpful-count i {
    color: #c76565;
}

.lim-story-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lim-story-actions button,
.lim-story-actions summary,
.lim-story-actions a {
    background: none;
    border: 0;
    color: #4e5d54;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.lim-story-vote-button.active {
    color: #a33f4d;
}

.lim-story-report {
    position: relative;
}

.lim-story-report > div,
.lim-story-report[open] {
    z-index: 20;
}

.lim-story-report select,
.lim-story-report textarea {
    border: 1px solid #d8ded9;
    border-radius: 0.45rem;
    display: block;
    margin-top: 0.4rem;
    max-width: 15rem;
    padding: 0.45rem;
    width: 15rem;
}

.lim-story-report textarea {
    min-height: 4rem;
}

.lim-story-report [data-story-report] {
    background: #245c3b;
    border-radius: 999px;
    color: white;
    margin-top: 0.4rem;
    padding: 0.45rem 0.7rem;
}

.lim-explorer-summary {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.lim-explorer-summary article {
    background: #f5f7f5;
    border: 1px solid #e2e7e3;
    border-radius: 0.8rem;
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem;
}

.lim-explorer-summary strong {
    font-size: 1.35rem;
}

.lim-explorer-summary span {
    color: #68736c;
    font-size: 0.72rem;
}

.lim-explored-place-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lim-explored-place-card {
    background: white;
    border: 1px solid #e2e7e3;
    border-radius: 0.85rem;
    color: inherit;
    overflow: hidden;
    text-decoration: none;
}

.lim-explored-place-image {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: #edf2ee;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.lim-explored-place-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lim-explored-place-image span {
    color: #799184;
    font-size: 1.6rem;
}

.lim-explored-place-card > div:last-child {
    padding: 0.75rem;
}

.lim-explored-place-card h3 {
    font-size: 0.9rem;
    margin: 0;
}

.lim-explored-place-card p,
.lim-explored-place-card small {
    color: #68736c;
    font-size: 0.7rem;
    margin: 0.25rem 0 0;
}

.lim-profile-activity-list {
    display: grid;
    gap: 0.7rem;
}

.lim-profile-activity-item {
    align-items: flex-start;
    border: 1px solid #e2e7e3;
    border-radius: 0.8rem;
    display: flex;
    gap: 0.8rem;
    padding: 0.75rem;
}

.lim-profile-activity-photo,
.lim-profile-activity-icon {
    align-items: center;
    background: #edf2ee;
    border-radius: 0.65rem;
    display: flex;
    flex: 0 0 4.5rem;
    height: 4.5rem;
    justify-content: center;
    overflow: hidden;
    width: 4.5rem;
}

.lim-profile-activity-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lim-profile-activity-icon {
    color: #245c3b;
    font-size: 1.25rem;
}

.lim-profile-activity-item h3 {
    font-size: 0.95rem;
    margin: 0.1rem 0;
}

.lim-profile-activity-item p {
    color: #405047;
    display: -webkit-box;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 0.25rem 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.lim-profile-activity-item small {
    color: #758078;
    font-size: 0.68rem;
}

@media (max-width: 780px) {
    .lim-explored-place-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .lim-story-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .lim-story-form-footer button {
        width: 100%;
    }

    .lim-story-type-badge {
        display: none;
    }

    .lim-explorer-summary,
    .lim-explored-place-grid {
        grid-template-columns: 1fr;
    }
}
