diff --git a/app/templates/messages.html b/app/templates/messages.html
index 399fe80..aa8dd6c 100644
--- a/app/templates/messages.html
+++ b/app/templates/messages.html
@@ -15,14 +15,22 @@
.conversation-copy strong, .conversation-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-copy span { margin-top: 3px; color: var(--muted); font-size: .9rem; }
.unread-badge { min-width: 26px; padding: 3px 7px; color: #fff; background: #b91c1c; border-radius: 999px; text-align: center; font-weight: 800; }
- .chat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
- .chat-header h1 { margin: 0; }
- .chat-log { display: flex; flex-direction: column; gap: 9px; min-height: 260px; padding: 18px; background: #090909; border: 1px solid var(--border); border-radius: 15px; }
+ body.chat-page { display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
+ body.chat-page > header { position: relative; flex: 0 0 auto; }
+ .chat-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; flex: 1 1 auto; width: 100%; min-height: 0; overflow: hidden; padding: 8px 20px max(8px, env(safe-area-inset-bottom)); }
+ .chat-header { display: flex; align-items: center; min-width: 0; gap: 9px; margin: 0; }
+ .chat-header h1 { overflow: hidden; margin: 0; font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
+ .chat-partner-copy { min-width: 0; flex: 1 1 auto; }
+ .chat-partner-copy a { display: block; overflow: hidden; color: var(--muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
+ .chat-header .chat-avatar { width: 38px; height: 38px; flex-basis: 38px; }
+ .chat-back { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; }
+ .chat-log { display: flex; flex-direction: column; gap: 9px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px; background: #090909; border: 1px solid var(--border); border-radius: 15px; }
.chat-bubble { align-self: flex-start; max-width: min(76%, 650px); padding: 10px 13px; background: #262020; border-radius: 4px 13px 13px 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-bubble.mine { align-self: flex-end; background: #5f1515; border-radius: 13px 4px 13px 13px; }
.chat-time { display: block; margin-top: 5px; color: #a8a29e; font-size: .72rem; }
- .chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 12px; max-width: none; }
- .chat-form textarea { min-height: 76px; margin: 0; resize: vertical; }
+ .chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; margin: 0; max-width: none; }
+ .chat-form textarea { height: 46px; min-height: 46px; max-height: 96px; margin: 0; overflow-y: auto; resize: none; }
+ .chat-form .button { min-height: 44px; }
.empty-chat { color: var(--muted); text-align: center; margin: auto; }
.message-notifications { margin-bottom: 24px; padding: 16px; background: rgba(69,10,10,.45); border: 1px solid #7f1d1d; border-radius: 14px; }
.message-notifications h2, .conversation-heading { margin: 0 0 12px; font-size: 1.15rem; }
@@ -36,18 +44,25 @@
.notification-actions .button { padding: 7px 10px; font-size: .82rem; }
.notification-link { color: #fca5a5; white-space: nowrap; }
.conversation-heading { margin-top: 20px; }
- @media (max-width: 600px) { .chat-form { grid-template-columns: 1fr; } .chat-bubble { max-width: 90%; } }
+ @media (max-width: 600px) {
+ .chat-main { padding: 6px 12px max(6px, env(safe-area-inset-bottom)); }
+ .chat-log { padding: 10px; }
+ .chat-form { grid-template-columns: minmax(0, 1fr) auto; }
+ .chat-form textarea { width: 100%; }
+ .chat-bubble { max-width: 90%; }
+ }
-
-
{% include '_language_switch.html' %}
+
+
-
+
{% if partner %}
{% for message in messages %}
{{ message.body }}{{ message.created_at }}
@@ -57,7 +72,6 @@
-
{{ _('← Alle Nachrichten') }}
{% else %}
{{ _('🤘 Nachrichten') }}
{{ _('Private Chats mit deinen Freunden.') }}
{% if friend_requests or event_invitations %}
@@ -91,5 +105,9 @@
{% endif %}
+{% if partner %}{% endif %}
diff --git a/app/templates/new_concert.html b/app/templates/new_concert.html
index 57579bb..7110e08 100644
--- a/app/templates/new_concert.html
+++ b/app/templates/new_concert.html
@@ -85,11 +85,10 @@
- {% include '_user_menu.html' %}
+ {% include '_header_controls.html' %}
- {% include '_language_switch.html' %}