/* post.letterbird.app — letterbird.me'nin style.css'inin üstüne yalnızca Postane'ye özel parçalar. */

body[data-page="flow"] main.wrap > *, body[data-page="open"] main.wrap > *, body[data-page="desk"] main.wrap > * { max-width: 620px; }
body[data-page="home"] main.wrap > * { max-width: none; }

.post-form { display: flex; flex-direction: column; gap: 6px; }
.post-form .label { margin: 14px 0 6px; }
.post-form .label .hint { font-weight: 400; }
.post-form input[type="email"], .post-form input[type="text"], .post-form input[type="date"], .post-form input[type="time"],
.post-form select, .codeinput, .linkinput, textarea.plain {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--cream200); border-radius: 16px; background: #fff;
  font-size: 16px; color: var(--ink900);
}
textarea.plain { padding: 12px 16px; resize: vertical; }
.post-form input:focus, .post-form select:focus, .codeinput:focus, textarea.plain:focus { outline: none; border-color: var(--blue400); box-shadow: 0 0 0 3px var(--blue100); }
.post-form .btn { margin-top: 14px; }
.post-form .notice { margin-top: 12px; }
.post-form .link { align-self: center; margin-top: 6px; }
.post-form .stepbar { margin-bottom: 6px; }

.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--cream100); border-radius: 26px; padding: 4px; margin-top: 8px; }
.seg button { min-height: 44px; border: 0; border-radius: 22px; background: transparent; font-weight: 600; font-size: 14px; color: var(--ink500); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink900); box-shadow: 0 1px 3px rgba(27, 36, 64, .12); }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.checkrow { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--cream200); border-radius: 14px; padding: 14px; margin-top: 12px; cursor: pointer; }
.checkrow input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue500); flex: none; }
.checkrow span { display: flex; flex-direction: column; gap: 2px; }

.checkcard { background: #fff; border: 1px solid var(--cream200); border-radius: 16px; padding: 18px; text-align: center; margin-top: 8px; }
.checkcard p { margin: 0; }
.checkcard .big { font-weight: 700; font-size: 21px; line-height: 1.3; word-break: break-all; margin-top: 4px; }
.checkcard .small-big { font-size: 17px; word-break: normal; }
.checkcard ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--cream200); display: flex; flex-direction: column; gap: 6px; color: var(--ink700); font-size: 14px; }
.codebox .codeinput { text-align: center; font: 600 26px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .4em; }
.codebox .link { display: inline; margin: 0; padding: 0; }

/* ana sayfa: masaüstünde solda tanıtım, sağda form */
.post-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 8px; }
.post-intro .hero-art { position: relative; height: 280px; }
.post-intro .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-panel { background: #fff; border: 1px solid var(--cream200); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.desk-link { display: inline-block; margin: 16px 0 8px; }
@media (max-width: 899px) { .post-split { grid-template-columns: 1fr; } }

.post-choices { grid-template-columns: 1fr; }
.post-choices .choice .art { aspect-ratio: 3 / 2; height: auto; }

/* gönderildi / bağlantı */
.done-card { max-width: 360px; margin: 0 auto; aspect-ratio: 3 / 2; border: 6px solid #fff; box-shadow: var(--shadow); }
.linkrow { display: flex; gap: 8px; margin: 14px 0 6px; }
.linkrow .linkinput { flex: 1; min-width: 0; }
.small-btn { width: auto; min-height: 48px; padding: 0 18px; }
.seal-wait { width: 96px; margin: 24px auto 0; }
.center { text-align: center; }

/* alıcı: mektup */
.post-read { display: flex; flex-direction: column; gap: 14px; }
.post-read h1 { margin-bottom: 4px; }
.flipcard { border: 0; padding: 0; background: none; perspective: 1200px; cursor: pointer; width: 100%; aspect-ratio: 3 / 2; }
.fc-inner { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.3, .9, .3, 1); transform-style: preserve-3d; }
.flipcard.flipped .fc-inner { transform: rotateY(180deg); }
.fc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fc-front { border: 7px solid #fff; box-shadow: var(--shadow); background-size: cover; background-position: center; }
.fc-back { transform: rotateY(180deg); }
.fc-back .postcard { height: 100%; }
.envbtn { border: 0; padding: 0; background: none; cursor: pointer; width: 100%; }
.paper.reading { padding: 28px 26px; min-height: 320px; }
.paper.reading .text { white-space: pre-wrap; font-size: 18px; line-height: 1.6; }
.infocard { background: #fff; border: 1px solid var(--cream200); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.inforow { display: flex; justify-content: space-between; gap: 12px; text-align: right; }
.inforow > :first-child { text-align: left; }
.btn.ghost { background: #fff; border: 1.5px solid var(--cream200); }

/* mektup kutusu (anı kutusu) */
.desk { display: flex; flex-direction: column; gap: 16px; }
.deskhead h1 { margin-bottom: 0; }
.deskfresh .newtag { margin: 0 0 8px; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #EE7B60; }
.freshbtn { border: 0; padding: 0; background: none; cursor: pointer; width: 100%; transform: rotate(-2deg); filter: drop-shadow(0 14px 18px rgba(27, 36, 64, .22)); }
.freshbtn .pcfront { aspect-ratio: 3 / 2; border: 6px solid #fff; }
.accent { color: var(--blue500); font-weight: 600; }
.box { position: relative; margin-top: 30px; padding-top: 30px; }
.box-back { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; border-radius: 12px 12px 20px 20px; background: #6E8FB8; }
.box-items { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 18px 92px; align-items: end; }
.box-item { border: 0; padding: 0; background: none; cursor: pointer; transition: transform .2s; }
.box-item:hover { transform: translateY(-8px) !important; }
.box-item .pcfront.small { aspect-ratio: 3 / 2; border: 4px solid #fff; }
.box-item .envelope { width: 100%; }
.box-front { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; border-radius: 6px 6px 20px 20px; background: #5277A6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.box-label { background: var(--paper50); border-radius: 6px; padding: 8px 18px; transform: rotate(-1deg); font: 600 24px/1 'Caveat', cursive; color: var(--ink900); }
.box-sub { font-size: 13px; color: #E3EBFE; }
.deskapp { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--cream200); border-radius: 16px; padding: 14px 16px; }
.deskapp p { margin: 0; flex: 1; font-size: 14px; color: var(--ink700); }
.post-read .two { grid-template-columns: 1fr; }
