:root { --ink:#edf0f2; --muted:#aab5be; --page:#111a23; --card:rgba(239,244,247,.075); --line:rgba(238,244,247,.14); font-family: ui-rounded, "SF Pro Rounded", "Noto Sans KR", system-ui, sans-serif; color:var(--ink); background:#111a23; }
* { box-sizing:border-box; } body { margin:0; min-width:320px; background:radial-gradient(circle at 80% 0%, #253640, transparent 40%), var(--page); } button,input,textarea { font:inherit; } button { cursor:pointer; } .app-shell { min-height:100dvh; max-width:620px; margin:auto; padding:calc(26px + env(safe-area-inset-top)) 20px calc(86px + env(safe-area-inset-bottom)); position:relative; overflow:hidden; } .view { display:none; } .view.active { display:block; animation:soft-in .45s ease both; }
.topbar { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:24px; } .eyebrow { margin:0 0 7px; color:#b6c1c8; font-size:.77rem; letter-spacing:.08em; } h1,h2,p { margin-top:0; } h1 { font-size:1.72rem; letter-spacing:-.05em; margin-bottom:0; } h2 { font-size:1.25rem; letter-spacing:-.035em; } .quiet-button,.text-button { border:0; background:transparent; color:#c5d0d6; padding:7px 0; font-size:.82rem; } .atmosphere-stage { height:min(53vh,430px); min-height:320px; border-radius:32px; overflow:hidden; position:relative; isolation:isolate; background:#253540; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1), 0 20px 54px rgba(0,0,0,.2); } .ambient-base { position:absolute; inset:0; background:linear-gradient(150deg,#364951,#15202c); } .ambient-orbs { position:absolute; inset:0; filter:blur(18px) saturate(1.08); transform:scale(1.08); } .orb { position:absolute; border-radius:50%; mix-blend-mode:screen; animation:drift var(--speed) ease-in-out infinite alternate; } .stage-copy { position:absolute; left:24px; right:24px; bottom:24px; font-size:1.05rem; line-height:1.55; text-shadow:0 1px 12px #0c131a; } .stage-copy p { margin:0; } .primary-button,.secondary-button { width:100%; border:0; border-radius:18px; padding:17px 18px; margin-top:18px; background:#e4edf0; color:#18232b; font-weight:700; font-size:1rem; box-shadow:0 9px 24px rgba(0,0,0,.17); } .primary-button:active { transform:scale(.985); } .local-note { text-align:center; color:#9eabb4; font-size:.78rem; margin:12px 0 26px; }
.another-air { display:block; width:100%; border:0; background:transparent; color:#bacbd0; font-size:.88rem; padding:13px 0 0; }.another-air.hidden{display:none}.another-air + .local-note{margin-top:9px}
.weekly-card,.detail-card { border:1px solid var(--line); background:var(--card); border-radius:24px; position:relative; overflow:hidden; } .weekly-card { min-height:360px; } .card-glow { position:absolute; width:220px; height:220px; right:-70px; top:-70px; filter:blur(12px); opacity:.62; border-radius:50%; } .weekly-content { position:relative; padding:23px; } .weekly-sentence { color:#d9e2e6; line-height:1.55; margin:13px 0 23px; } .field-label { color:#bfccd2; display:block; font-size:.88rem; margin-bottom:9px; } input,textarea { width:100%; border:1px solid rgba(232,241,243,.17); background:rgba(6,13,18,.19); color:#f4f7f8; border-radius:13px; padding:13px; outline:none; } input:focus,textarea:focus { border-color:rgba(224,241,247,.58); } .song-toggle-row { display:flex; align-items:center; justify-content:space-between; margin-top:10px; } #weeklySavedMark { color:#b7c8c9; font-size:.78rem; } .song-fields { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:9px; } .secondary-button { margin-top:14px; background:rgba(222,237,240,.12); color:#eef4f5; box-shadow:none; }
.bottom-nav { display:flex; position:fixed; z-index:5; bottom:0; left:50%; transform:translateX(-50%); width:min(620px,100%); padding:9px 20px calc(10px + env(safe-area-inset-bottom)); backdrop-filter:blur(18px); background:rgba(14,22,30,.74); border-top:1px solid rgba(255,255,255,.08); } .nav-button { flex:1; background:none; border:0; color:#9ba9b2; padding:11px; font-size:.82rem; } .nav-button.active { color:#f2f7f8; }
.calendar-head { align-items:center; } .calendar-head h1 { font-size:1.36rem; } .icon-button { border:1px solid var(--line); color:#e7eff1; background:rgba(255,255,255,.05); width:37px; height:37px; border-radius:50%; font-size:1.6rem; line-height:1; } .weekday-row,.calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); text-align:center; } .weekday-row { color:#92a1ab; font-size:.75rem; margin-bottom:5px; } .weekday-row span { padding:8px 0; } .day { min-height:56px; background:transparent; border:0; color:#d5dee1; position:relative; font-size:.86rem; border-radius:15px; } .day.empty { pointer-events:none; } .day.has-record:hover,.day.has-record:focus { background:rgba(255,255,255,.05); } .day-number { position:relative; z-index:2; color:#f5f8f9; } .single-dot { position:absolute; z-index:1; width:31px; height:31px; border-radius:50%; left:50%; top:7px; transform:translateX(-50%); opacity:.94; box-shadow:0 3px 11px rgba(0,0,0,.3); } .multi-dots { position:absolute; z-index:1; width:36px; height:32px; left:50%; top:6px; transform:translateX(-50%); } .multi-dots i { position:absolute; width:19px; height:19px; border-radius:50%; box-shadow:0 2px 8px rgba(0,0,0,.3); opacity:.92; }.multi-dots i:nth-child(1){left:1px;top:7px}.multi-dots i:nth-child(2){right:1px;top:7px}.multi-dots i:nth-child(3){left:9px;top:0}.multi-dots i:nth-child(4){left:9px;bottom:0}.detail-card { padding:20px; margin-top:16px; } .detail-top { display:flex; align-items:center; gap:14px; } .detail-dot { height:52px; width:52px; border-radius:50%; flex:none; } .detail-card h2 { margin:0 0 5px; } .detail-card p { color:#c8d3d8; margin:0; line-height:1.5; } .detail-meta { margin-top:17px !important; color:#98a6af !important; font-size:.82rem; }.daily-detail-title{font-size:1.07rem}.daily-records{display:grid;gap:14px}.daily-record{display:flex;gap:12px;align-items:flex-start}.daily-record .detail-dot{width:33px;height:33px}.record-time{font-size:.76rem;color:#99aab2!important;margin-bottom:3px!important}
.modal { position:fixed; z-index:20; inset:0; display:grid; align-items:end; } .modal.hidden,.hidden { display:none; } .modal-backdrop { position:absolute; inset:0; background:rgba(5,9,13,.58); backdrop-filter:blur(4px); } .entry-sheet { position:relative; max-width:620px; width:100%; max-height:92dvh; overflow:auto; margin:auto; padding:25px 20px calc(24px + env(safe-area-inset-bottom)); border-radius:30px 30px 0 0; background:#1b2730; box-shadow:0 -18px 40px rgba(0,0,0,.25); animation:sheet-up .32s ease both; } .sheet-header { display:flex; justify-content:space-between; align-items:flex-start; } .sheet-header h2 { margin-bottom:0; } .close-button { color:#dce5e7; background:transparent; border:0; font-size:2rem; line-height:1; padding:0 2px; } .guide { color:#bfccd2; font-size:.92rem; margin:24px 0 14px; } .color-choices { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; } .color-choice { aspect-ratio:1; border-radius:50%; border:2px solid transparent; padding:0; box-shadow:inset 0 0 0 1px rgba(255,255,255,.22); } .color-choice.selected { border-color:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.18); } .color-preview { height:64px; border-radius:18px; margin:18px 0; transition:background .25s; } .adjustments { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:25px; } .adjustments label { color:#bfccd2; font-size:.84rem; } input[type="range"] { appearance:none; padding:0; border:0; background:transparent; accent-color:#dce6e8; margin-top:12px; } .entry-question { display:block; line-height:1.45; font-size:1.02rem; margin-bottom:10px; } textarea { resize:vertical; line-height:1.45; } .save-entry { margin-top:22px; }
.toast { position:fixed; z-index:30; bottom:96px; left:50%; transform:translateX(-50%); background:#e5edef; color:#142029; border-radius:999px; padding:11px 17px; font-size:.86rem; box-shadow:0 8px 25px rgba(0,0,0,.25); } @keyframes drift { to { transform:translate(var(--dx),var(--dy)) scale(1.18); } } @keyframes soft-in { from { opacity:.2; transform:translateY(5px) } to { opacity:1; transform:none } } @keyframes sheet-up { from { transform:translateY(40px); opacity:.3 } to { transform:none; opacity:1 } }
@media (min-width:650px) { .entry-sheet { border-radius:30px; margin-bottom:4vh; max-height:86dvh; } .modal { align-items:center; padding:0 20px; } .atmosphere-stage { height:420px; } }

/* Weekly archive and 9:16 card */
.archive-peek { width:100%; display:grid; grid-template-columns:1fr auto auto; gap:11px; align-items:center; text-align:left; color:#dfe8eb; background:rgba(236,245,247,.06); border:1px solid var(--line); border-radius:18px; padding:15px 16px; } .archive-peek span:nth-child(2) { color:#95a6ae; font-size:.82rem; } .archive-peek b { font-size:.84rem; font-weight:500; }
.archive-intro { color:#dce6e9; font-size:1rem; line-height:1.55; margin:-5px 0 6px; }.archive-note { color:#92a4ad; font-size:.76rem; line-height:1.55; margin:0 0 20px; }.archive-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }.archive-card { text-align:left; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:17px; background:rgba(255,255,255,.05); color:#dfe8eb; }.archive-card-art { aspect-ratio:9/13; position:relative; overflow:hidden; }.archive-card span { display:block; padding:10px; font-size:.72rem; line-height:1.35; color:#c9d3d7; }
.card-modal { align-items:center; padding:18px; }.story-card-wrap { width:min(100%,390px); position:relative; }.story-card { position:relative; overflow:hidden; isolation:isolate; aspect-ratio:9/16; border-radius:28px; box-shadow:0 24px 70px rgba(0,0,0,.46); background:#1d2b33; }.story-orbs { position:absolute; inset:0; filter:blur(18px) saturate(1.08); transform:scale(1.08); }.story-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,12,17,.27),transparent 37%,rgba(5,12,17,.48)); }.story-content { position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; padding:27px 25px; text-shadow:0 2px 15px rgba(1,8,12,.48); }.story-period { margin:0; font-size:.77rem; letter-spacing:.035em; }.story-created { margin:6px 0 0; font-size:.7rem; opacity:.75; }.story-copy { margin-top:auto; }.story-title { margin:0 0 13px; font-size:1.72rem; line-height:1.22; }.story-description,.story-note,.story-song { margin:0 0 10px; line-height:1.5; font-size:.94rem; }.story-description { max-width:88%; }.story-note { border-left:1px solid rgba(255,255,255,.52); padding-left:11px; }.story-song { font-size:.78rem; opacity:.9; }.story-song span { opacity:.8; }.story-photo { position:absolute; z-index:2; right:19px; top:88px; width:34%; aspect-ratio:1; border-radius:7px; background-size:cover; background-position:center; transform:rotate(2.2deg); display:none; box-shadow:0 10px 22px rgba(0,0,0,.3); border:4px solid rgba(244,247,245,.8); }.story-photo.has-photo { display:block; }.story-close { position:absolute; z-index:3; right:10px; top:10px; border:0; background:rgba(5,12,17,.3); color:#fff; width:37px; height:37px; border-radius:50%; font-size:1.55rem; }.story-edit { display:block; width:100%; margin-top:12px; border:1px solid rgba(235,243,245,.27); background:rgba(224,237,240,.13); color:#f1f6f7; border-radius:16px; padding:14px; font-weight:700; }
.decorate-sheet { max-height:90dvh; }.custom-row { border-top:1px solid var(--line); padding:15px 0; display:grid; gap:10px; }.custom-row label { color:#e5edef; font-size:.93rem; }.custom-row input[type="checkbox"] { width:auto; accent-color:#dbe8ea; margin-right:6px; }.custom-row span { color:#aab9c0; font-size:.81rem; line-height:1.45; }.custom-input input,.custom-input textarea { margin-top:2px; }.two-inputs { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.photo-row { grid-template-columns:1fr auto; align-items:start; }.file-input { max-width:135px; border:0; padding:2px; background:transparent; color:#bccbd1; font-size:.72rem; }.dev-panel { margin:0 20px 105px; padding:15px; border:1px dashed rgba(220,237,240,.35); border-radius:16px; color:#c8d8dc; }.dev-panel p { font-size:.8rem; margin:0 0 9px; }.dev-panel button { display:block; border:0; background:transparent; color:#bcd6dc; text-decoration:underline; padding:6px 0; font-size:.82rem; }
.settings-card,.settings-group { border:1px solid var(--line); border-radius:20px; background:var(--card); padding:19px; margin-bottom:14px; }.settings-card p { color:#adbdc4; line-height:1.55; font-size:.88rem; margin-bottom:0; }.settings-card .settings-lead { color:#eef4f5; font-size:1rem; margin-bottom:8px; }.settings-group h2 { font-size:1rem; margin-bottom:15px; }.check-row { display:block; color:#dbe5e8; font-size:.9rem; margin:10px 0 4px; }.check-row input { width:auto; margin-right:7px; accent-color:#d9e6e8; }.import-button { display:block; width:100%; text-align:center; border:1px solid rgba(222,237,240,.2); border-radius:18px; color:#edf4f5; padding:16px; margin-top:10px; font-weight:700; font-size:.95rem; background:rgba(222,237,240,.08); }.import-button input { display:none; }.settings-note { color:#91a4ad; font-size:.78rem; line-height:1.5; margin:12px 0 0; }.danger-group { margin-top:23px; }.danger-button { width:100%; border:1px solid rgba(227,159,159,.4); border-radius:17px; color:#f2d6d6; background:rgba(168,70,70,.12); padding:15px; font-weight:700; }.confirm-copy { color:#c6d2d6; line-height:1.55; }.confirm-sheet .check-row { margin:18px 0; }
.info-page { max-width:620px; }.back-link { display:inline-block; color:#b9c8ce; text-decoration:none; font-size:.88rem; margin-bottom:34px; }.info-header { margin-bottom:22px; }.info-page .settings-card h2 { font-size:1.12rem; margin-bottom:13px; }.info-page .settings-card p + p { margin-top:13px; }
