:root { color-scheme: dark; font: 16px/1.65 Tahoma, Arial, sans-serif; color: #eefcfc; background: #001820; --teal: #00e1c5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 5% 0%, #005d5d55, transparent 45%), #001820; }
main { position: relative; isolation: isolate; width: min(100%, 480px); min-height: 100svh; margin: auto; padding: 26px 14px 30px; overflow: hidden; background: linear-gradient(155deg, #00141d, #001e2a 70%, #00252c); }
main::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 470px; height: 230px; left: 15%; bottom: 95px; border-radius: 50%; transform: rotate(-42deg); border-bottom: 2px solid #00e9c9b0; background: linear-gradient(0deg, #00c8a538, transparent 57%); box-shadow: 0 14px 23px -18px #00ffe1; }
header { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 140px; padding: 18px 22px; border: 1px solid #21ddc69c; border-radius: 30px; background: radial-gradient(ellipse at 95% 0%, #00a58e80, transparent 67%), linear-gradient(130deg, #00584b, #002d2c 70%, #001f26); box-shadow: inset 0 1px 1px #adfff383, 0 -2px 14px -6px #00ffe4, 0 12px 28px #0003; }
header::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 150px; top: -93px; left: -195px; border-bottom: 1px solid #00ffd5; border-radius: 50%; transform: rotate(-36deg); background: linear-gradient(10deg, #00bd9360, transparent); box-shadow: 0 7px 16px -9px #00ffdf; }
.header-identity { min-width: 0; flex: 1; }
.brand { margin: 0 0 9px; text-align: right; color: #c7e7e8; font: 18px/1.5 Arial, sans-serif; letter-spacing: .1px; }
h1 { margin: 0; font-size: clamp(24px, 6.5vw, 31px); line-height: 1.5; font-weight: 700; letter-spacing: -.6px; }
#subscriber-name { margin: 9px 0 0; max-width: 100%; padding: 2px 16px; border: 1px solid #70ddce30; border-radius: 14px; background: linear-gradient(110deg, #159e91b0, #008e8173); text-align: center; font-size: 19px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
button, input { font: inherit; }
button { min-height: 48px; padding: 10px 13px; color: #f0ffff; cursor: pointer; border: 1px solid #68d8dbb0; border-radius: 18px; background: linear-gradient(160deg, #2d7187a8, #004d4c 55%, #002b35); box-shadow: inset 0 1px 1px #d9ffff85, inset 0 -2px 8px #00121c70, 0 4px 12px #0002; transition: border-color .15s, background-color .15s; -webkit-tap-highlight-color: transparent; }
button:hover { border-color: #83ffec; }
button:active { background: #087c73; }
button:focus-visible, input:focus-visible { outline: 2px solid #9ffff1; outline-offset: 4px; }
button:disabled { opacity: .55; cursor: wait; }
#logout { flex-shrink: 0; min-height: 42px; padding: 7px 15px; border-radius: 13px; border-color: #baf9f1; background: linear-gradient(#cefff8, #9edfdc); color: #06333b; font-size: 16px; font-weight: 700; box-shadow: 0 3px 12px #0003; }
#entry { position: relative; margin: 30px 10px 0; padding: 21px 16px 27px; border-radius: 24px; border: 1px solid #6ec9d3a6; background: radial-gradient(ellipse at 8% 0%, #417f9270, transparent 65%), linear-gradient(150deg, #113a4bce, #002330d9 72%, #0044418c); box-shadow: inset 0 1px 1px #e4ffff83, inset 0 -1px 0 #00dcc1a8, 0 6px 30px #0003; }
#status { margin: 0 0 24px; font-size: 18px; line-height: 1.9; color: #d5edf1; overflow-wrap: anywhere; }
#login, #password-step, #subscriptions, #choices { display: grid; gap: 16px; }
form { margin: 0; }
label { display: grid; gap: 13px; color: #deeff3; font-size: 17px; }
.input-wrap { position: relative; display: block; }
input { width: 100%; min-width: 0; height: 58px; border: 1px solid #a8d6df99; border-radius: 19px; background: linear-gradient(120deg, #204556bb, #0c2938e0); box-shadow: inset 0 1px 2px #d7f8ff32, 0 3px 10px #0003; color: #f4ffff; padding: 10px 16px; }
.input-wrap input { padding-right: 49px; }
.field-icon { position: absolute; right: 16px; top: 18px; width: 24px; height: 24px; fill: none; stroke: #d1eff4; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
form button[type=submit] { min-height: 62px; margin-top: 7px; border-radius: 20px; border-color: #00ebd1; background: radial-gradient(ellipse at 50% 0%, #00a88c, #006b60 58%, #00363f); font-size: 22px; font-weight: 700; box-shadow: inset 0 2px 2px #b2fff4b3, inset 0 -2px 5px #00ffda4d, 0 0 15px #00e9b629; }
form button[type=submit]::after { content: " →"; display: inline-block; margin-inline-start: 12px; }
[data-back] { background: #123c4780; min-height: 44px; font-size: 15px; }
#chat { padding: 17px 10px 0; }
#messages { min-height: 170px; max-height: min(53svh, 510px); padding: 2px 0 12px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; scrollbar-width: thin; scrollbar-color: #23756f transparent; }
#messages p { position: relative; max-width: 94%; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; padding: 10px 15px; border: 1px solid #b6deeb65; border-radius: 20px; background: linear-gradient(145deg, #366071de, #163c4bd9); box-shadow: inset 0 1px 1px #d2f7ff40, 0 4px 10px #0002; color: #e4f4f7; font-size: 17px; }
#messages p:first-child { font-size: 16px; }
#messages .question { align-self: flex-end; margin-left: 1px; border-color: #2cbaa892; border-radius: 20px 20px 20px 2px; background: linear-gradient(145deg, #0b9780d9, #00554ecf); color: #effffb; box-shadow: inset 0 1px 1px #8cf4d560, 0 3px 12px #0002; }
#suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 10px; margin-top: 16px; }
#suggestions button { min-width: 0; min-height: 56px; padding: 9px 7px; font-size: 15px; line-height: 1.65; }
#suggestions button:last-child { grid-column: 1 / -1; }
#choices button { text-align: start; overflow-wrap: anywhere; }
@media (min-width: 600px) { body { padding: 24px 0; } main { min-height: calc(100svh - 48px); border: 1px solid #1b5361; border-radius: 32px; box-shadow: 0 22px 70px #0006; padding-top: 22px; } }
@media (max-width: 350px) { main { padding-inline: 10px; } header { padding-inline: 15px; } #entry, #chat { margin-inline: 0; } #suggestions { gap: 8px; } #suggestions button { font-size: 12px; } }
