:root { color-scheme: light; --ink: #4b4b4b; --deep: #174f49; --deep-dark: #103f3a; --paper: #ffffff; --line: rgba(35, 35, 35, 0.14); } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: #ffffff; color: var(--ink); font-family: "Times New Roman", "Batang", "Apple SD Gothic Neo", serif; } .upload-page { width: 100%; min-height: 100vh; margin: 0 auto; padding: 0; background: #ffffff; } .wedding-card { width: min(100%, 430px); min-height: 100vh; margin: 0 auto; padding: 0 0 38px; background: #ffffff; text-align: center; } .poster { position: relative; width: 100%; margin: 0 auto; aspect-ratio: 538 / 795; overflow: hidden; padding: 0; } .poster::before { content: none; } .poster__art { position: absolute; inset: 0; display: block; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center top; } .poster__plate { position: absolute; z-index: 5; left: 8.5%; right: 8.5%; bottom: 10.5%; padding: clamp(16px, 3.5vw, 25px) 12px clamp(13px, 2.6vw, 20px); background: rgba(255, 255, 255, 0.9); border: 0; backdrop-filter: none; } h1 { margin: 0; color: #565656; font-size: clamp(32px, 7.5vw, 43px); line-height: 1.1; font-weight: 400; letter-spacing: 0.12em; word-break: keep-all; } .poster__date, .poster__subtitle { margin: 0; color: #555555; letter-spacing: 0.24em; white-space: nowrap; } .poster__date { margin-top: clamp(12px, 2.8vw, 20px); font-size: clamp(15px, 3.3vw, 19px); font-weight: 700; } .poster__subtitle { margin-top: clamp(14px, 3vw, 22px); font-size: clamp(14px, 3.3vw, 19px); font-weight: 700; } .upload-panel { width: min(100%, 430px); position: relative; z-index: 8; margin: clamp(-58px, -6vw, -34px) auto 0; } .upload-panel::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -18px; bottom: -28px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #ffffff 34%, #ffffff 100%); pointer-events: none; } .upload-panel__today { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2.4vw, 16px); margin: 0 auto clamp(14px, 2.8vw, 20px); padding: 6px clamp(8px, 2vw, 16px) 5px; width: fit-content; max-width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; color: #4f4f4f; font-size: clamp(24px, 4.8vw, 35px); line-height: 1.15; font-weight: 400; letter-spacing: 0.08em; white-space: nowrap; } .upload-panel__today::before, .upload-panel__today::after { content: ""; flex: 0 0 clamp(28px, 6vw, 42px); height: clamp(16px, 3.4vw, 24px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 36'%3E%3Cg fill='none' stroke='%2389a69e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 28c13-12 27-20 47-23'/%3E%3Cpath d='M25 22c-9-1-15-7-17-15 10 1 17 6 20 14' fill='%2389a69e' fill-opacity='.5'/%3E%3Cpath d='M42 13c-7-1-12-5-14-12 8 0 14 4 17 11' fill='%2389a69e' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.78; } .upload-panel__today::after { transform: scaleX(-1); } .select-button, .upload-button, .upload-again { position: relative; display: grid; place-items: center; width: 100%; min-height: clamp(68px, 12vw, 86px); border: 0; border-radius: 7px; padding: 15px 24px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.13), transparent 58%), linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 30% 70%, rgba(255, 255, 255, 0.05)), linear-gradient(180deg, #1c5d57 0%, #155149 100%); box-shadow: none; color: #ffffff; font: inherit; font-size: clamp(27px, 5.2vw, 37px); line-height: 1.1; font-weight: 400; letter-spacing: 0.08em; cursor: pointer; text-decoration: none; } .select-button { margin-bottom: 14px; background: #ffffff; box-shadow: inset 0 0 0 1.5px rgba(137, 166, 158, 0.55); color: #565656; font-size: clamp(24px, 4.6vw, 32px); } .file-picker input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; } .file-summary { margin: 0 0 14px; padding: 16px 18px; border: 1px solid rgba(137, 166, 158, 0.35); border-radius: 8px; background: #ffffff; box-shadow: none; text-align: left; } .file-summary__title { margin: 0 0 10px; color: #45615c; font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; font-size: 14px; font-weight: 700; } .file-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; max-height: 265px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; } .file-list li { display: grid; grid-template-columns: minmax(0, 1fr) 40px; min-height: 43px; gap: 14px; align-items: center; padding: 0; color: #4f4f4f; font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; font-size: 13px; } .file-list__meta { min-width: 0; } .file-list__meta span { display: block; } .file-list__meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-list__meta span:last-child { margin-top: 5px; color: #87928f; font-size: 12px; } .file-list__preview { display: grid; place-items: center; width: 40px; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #f7f8f6; color: #8aa69f; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; } .file-list__preview img, .file-list__preview video { width: 100%; height: 100%; object-fit: cover; } .upload-status { min-height: 22px; margin: 12px 0 0; color: #64736f; font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; font-size: 13px; line-height: 1.45; } .upload-status[data-type="error"] { color: #a64635; } .upload-button:hover { background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.16), transparent 58%), linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 30% 70%, rgba(255, 255, 255, 0.07)), linear-gradient(180deg, #216d65 0%, var(--deep-dark) 100%); } .select-button:hover { background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.26), transparent 58%), linear-gradient(180deg, #ffffff 0%, #e9e9e3 100%); } .upload-button:disabled { opacity: 0.48; cursor: default; } .upload-panel[data-uploading="true"] .upload-button span { visibility: hidden; } .upload-panel[data-uploading="true"] .upload-button::after { content: ""; width: 28px; height: 28px; border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.9s linear infinite; } .upload-button:focus-visible, .upload-again:focus-visible, .file-picker:focus-within { outline: 3px solid #89aaa3; outline-offset: 3px; } .thank-you { width: min(100%, 430px); margin: clamp(18px, 4vw, 28px) auto 0; padding: 26px 24px 28px; border: 1px solid rgba(137, 166, 158, 0.32); border-radius: 10px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 14px 30px rgba(55, 55, 55, 0.08); } .thank-you__eyebrow { margin: 0 0 10px; color: #8aa69f; font-family: "Times New Roman", "Batang", serif; font-size: 15px; font-weight: 700; letter-spacing: 0.22em; } .thank-you h2 { margin: 0; color: #4f4f4f; font-size: clamp(31px, 6vw, 42px); line-height: 1.15; font-weight: 400; letter-spacing: 0.08em; } .thank-you p:last-of-type { margin: 14px 0 22px; color: #626262; font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; font-size: 15px; line-height: 1.6; word-break: keep-all; } .thank-you--error { border-color: rgba(166, 70, 53, 0.28); } .thank-you--error .thank-you__eyebrow, .thank-you--error h2 { color: #8c4d43; } .upload-again { min-height: 58px; margin: 0 auto; font-size: clamp(22px, 4.4vw, 29px); } @keyframes spin { to { transform: rotate(360deg); } } @media (max-width: 760px) { .upload-page { background: #ffffff; } .wedding-card { padding: 0 0 30px; background: #ffffff; } .poster { width: 100%; padding: 0; aspect-ratio: 538 / 795; } .poster::before { content: none; } .poster__plate { left: 8%; right: 8%; bottom: 10.5%; } .upload-panel { width: min(calc(100% - 48px), 340px); margin-top: -54px; } .thank-you { width: min(calc(100% - 48px), 340px); } .upload-panel__today { font-size: clamp(23px, 6.5vw, 29px); } }