:root {
    color-scheme: light;
    --clay-soil: #77402aff;
    --tropical-teal: #7db0b1ff;
    --toffee-brown: #8c5a40ff;
    --light-blue: #bad2d3ff;
    --peach-glow: #ebc094ff;
    --primary: var(--toffee-brown);
    --primary-dark: #6f4732;
    --background: #f6f1ec;
    --surface: #ffffff;
    --border: rgba(119, 64, 42, 0.18);
    --text: #3a2419;
    --muted: #6f584c;
    --success: #2f7d6b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Roboto", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, rgba(186, 210, 211, 0.35), rgba(235, 192, 148, 0.25)), var(--background);
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.card {
    background: var(--surface);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.button {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.button:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.button.secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    background: #fff;
}

.emoji-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.emoji-button {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
}

.emoji-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.notice {
    background: rgba(26, 115, 232, 0.08);
    color: var(--primary-dark);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.chat-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.chat-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    background: #eef2ff;
    color: var(--text);
    align-self: flex-start;
}

.chat-bubble.owner {
    background: #e6f4ea;
    align-self: flex-end;
}

.chat-meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.chat-image {
    margin-top: 8px;
    border-radius: 12px;
    max-width: 100%;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.media-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.media-card img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.section-title {
    margin: 24px 0 12px;
    font-size: 18px;
    color: var(--muted);
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.badge {
    background: rgba(26, 115, 232, 0.12);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.container > .card {
    margin-bottom: 24px;
}

.card h1,
.card h2 {
    color: var(--clay-soil);
}

.card ul {
    padding-left: 20px;
    margin: 12px 0 0;
}

.media-placeholder {
    background: rgba(125, 176, 177, 0.18);
    border: 1px dashed rgba(119, 64, 42, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: var(--muted);
    margin: 16px 0;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stack input {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    background: #fff;
}
