@charset "UTF-8";
:root { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; color: #242a27; background: #f8f7f2; font-synthesis: none; --accent: #39765a; --muted: #737970; }
* { box-sizing: border-box; }body { margin: 0; }button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid #39765a; outline-offset: 4px; }[hidden] { display: none !important; }
.app { max-width: 600px; height: 100dvh; margin: auto; display: flex; flex-direction: column; padding: calc(8px + env(safe-area-inset-top)) 16px calc(108px + env(safe-area-inset-bottom)); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; min-height: 48px; border-bottom: 1px solid #dedfd5; }
.header-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.profile-button { flex: none; border: 1px solid #e2e4db; border-radius: 50%; width: 40px; height: 40px; background: #fff; font-size: 24px; }
.share-button { padding: 8px 0; min-height: 44px; border: 0; font-size: 13px; font-weight: 650; background: none; white-space: nowrap; }
.connection { font-size: 11px; white-space: nowrap; color: #6d746b; display: flex; align-items: center; gap: 5px; }.connection::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #a0a69b; }.connection[data-state="online"]::before { background: #45815f; }.connection[data-state="connecting"]::before { background: #c59539; }
.playground { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.members-heading { flex: none; min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #687066; }.members-heading strong { color: var(--accent); margin-left: 3px; }.members-heading label { font-size: 10px; }
select { background: transparent; border: 0; padding: 7px 0; color: #535d51; font-size: 16px; min-height: 44px; max-width: 144px; }
.members { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: safe center; gap: 24px 12px; padding: 12px 0; }
.members:empty { display: none; }
.members[data-count="1"] { grid-template-columns: minmax(0, 180px); justify-content: center; }
.members[data-count="2"], .members[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member { display: flex; flex-direction: column; align-items: center; border: 0; padding: 0; background: none; min-width: 0; }
.bubble { display: grid; place-items: center; font-size: clamp(38px, 11vw, 60px); width: min(100%, 136px); aspect-ratio: 1; border-radius: 50%; border: 4px solid transparent; transition: transform .15s; }.member:not(:disabled):active .bubble { transform: scale(.88); }.is-me .bubble { border-color: #65856b; }
.members[data-count="1"] .bubble { width: 160px; font-size: 64px; }
.member-name { font-size: 12px; font-weight: 650; margin-top: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.presence { font-size: 10px; margin-top: 5px; color: #747b6e; }.presence-online { color: #3f7855; }.presence-sleeping { color: #806a97; }
.empty { flex: 1; display: grid; place-items: center; margin: 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.8; }
.activity { flex: none; font-size: 11px; }#feedback { line-height: 1.4; color: #456449; margin: 4px 0; overflow-wrap: anywhere; }
#feedback:empty { display: none; }
details { font-size: 11px; color: var(--muted); }summary { cursor: pointer; padding: 8px 0; min-height: 32px; }#events { list-style: none; margin: 0; line-height: 1.7; }#events li { padding: 5px 0; border-bottom: 1px solid #e6e7df; }
.utility-bar { position: relative; display: flex; align-items: flex-start; gap: 16px; flex: none; border-top: 1px solid #dedfd5; }
.utility-bar details[open] > #events { position: absolute; z-index: 4; bottom: calc(100% + 8px); left: 0; right: 0; max-height: min(45dvh, 320px); overflow-y: auto; padding: 12px; border: 1px solid #dedfd5; border-radius: 12px; background: #fffefa; }
.text-button { background: none; border: 0; padding: 0; min-height: 44px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; color: #66725f; }#leave { min-height: 32px; margin-left: auto; }
.nudge-dock { position: fixed; z-index: 2; bottom: 0; left: 0; width: 100%; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: #fffefa; border-top: 1px solid #dedfd5; }.dock-inner { max-width: 568px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
.nudges { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; padding: 4px 2px; }.nudge { flex: 0 0 56px; width: 56px; height: 56px; border: 2px solid #eceee6; border-radius: 16px; background: #f4f5ed; display: grid; place-items: center; }.nudge[aria-pressed="true"] { border-color: #39765a; background: #e5eedf; box-shadow: 0 0 0 2px #e5eedf; }.nudge img { width: 38px; height: 38px; }#selected-label { grid-column: 1 / -1; font-size: 10px; color: var(--muted); margin: 0; line-height: 1.5; }
dialog { width: min(360px, calc(100vw - 24px)); max-width: calc(100vw - 24px); border: 1px solid #e4e6dc; border-radius: 20px; padding: 18px; background: #fffefa; color: #242a27; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }dialog::backdrop { background: rgb(35 44 34 / .4); }
.profile-heading { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }h2 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.5px; }#cancel-profile { min-height: 32px; padding: 0 4px; }
fieldset { border: 0; margin: 14px 0; padding: 0; }legend, .field-label { font-size: 12px; font-weight: 650; }
.avatars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; padding: 4px; }.avatar-option { border-radius: 50%; position: relative; aspect-ratio: 1; width: 100%; max-width: 48px; justify-self: center; }.avatar-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }.avatar-option span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 27px; border: 2px solid transparent; border-radius: 50%; }.avatar-option input:checked + span { border-color: #39765a; box-shadow: 0 0 0 3px #fffefa, 0 0 0 5px #39765a; }.avatar-option input:focus-visible + span { outline: 3px solid #39765a; outline-offset: 3px; }
.field-label { display: block; margin: 12px 0 6px; }input:not([type="radio"]) { width: 100%; min-height: 44px; border: 1px solid #dce0d3; border-radius: 10px; background: #f8f9f3; color: #242a27; padding: 10px; font-size: 16px; }.primary { min-height: 44px; width: 100%; border: 0; border-radius: 10px; background: #39765a; color: white; font-weight: 650; font-size: 14px; }.form-error { color: #a24f3b; font-size: 12px; line-height: 1.4; margin: 8px 0; }.form-error:empty { display: none; }
.received { position: fixed; pointer-events: none; inset: 0; z-index: 3; overflow: hidden; }.received img { position: absolute; width: var(--size); height: var(--size); filter: drop-shadow(0 10px 20px #242a2733); animation: receive 1.5s ease-out both; }.popped .bubble { animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(.88) rotate(-5deg); } }@keyframes receive { 0% { opacity: 0; transform: scale(.3) rotate(var(--tilt)); } 18%,65% { opacity: 1; transform: scale(1) rotate(var(--tilt)); } 100% { opacity: 0; transform: translateY(-60px) scale(1.1) rotate(var(--tilt)); } }
@media (max-width: 350px) { .header-info { gap: 6px; }.members { gap: 20px 7px; }.bubble { font-size: 34px; }dialog { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
