/* screens.css — title, brief, ending */
.screen-title { background: #111; color: #efe7d2; }
.title-bg { position: absolute; inset: 0; overflow: hidden; }
.title-bg img { width: 100%; height: 100%; object-fit: cover; animation: kb 20s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
.title-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0.25) 0%, transparent 35%, rgba(10,10,12,0.85) 100%); }
.title-logo-wrap { position: absolute; left: 9%; top: 48px; width: 82%; animation: logo-drop 0.6s cubic-bezier(.2,1.5,.4,1) both; }
.title-logo { display: block; width: 100%; max-height: 230px; object-fit: contain; animation: float 4s ease-in-out infinite 0.6s; }
@keyframes logo-drop { from { transform: translateY(-120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.title-tag { position: absolute; left: 28px; right: 28px; top: 300px; text-align: center; font-size: 14px; line-height: 1.6; letter-spacing: 0.1em; color: #efe7d2; text-shadow: 0 1px 3px #000, 0 0 8px #000; }
.title-prompt { position: absolute; left: 0; right: 0; top: 590px; text-align: center; font-size: 19px; font-weight: 900; letter-spacing: 0.12em; color: #f3ecd8; text-shadow: 0 2px 4px #000; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.title-resume { position: absolute; left: 0; right: 0; top: 628px; text-align: center; font-size: 13px; color: #d8cfb8; text-shadow: 0 1px 3px #000; }
.title-album { position: absolute; right: 10px; top: 10px; width: 48px; height: 48px; padding: 0; display: flex; align-items: center; justify-content: center; background: #1d1a17; border: 1px solid #e8e0cc; cursor: pointer; }

.screen-brief { color: var(--ink); }
.brief-scroll { position: absolute; inset: 0; overflow-y: auto; padding: 22px 20px 100px; scrollbar-width: none; }
.brief-scroll::-webkit-scrollbar, .screen-ending::-webkit-scrollbar, .end-page::-webkit-scrollbar { display: none; }
.brief-mast { font-size: 30px; font-weight: 900; text-align: center; letter-spacing: 0.1em; padding: 0 56px 4px; }
.brief-date { font-size: 12px; text-align: center; letter-spacing: 0.08em; padding: 3px 0; color: var(--ink-soft); }
.brief-head { font-size: 28px; text-align: center; margin: 10px 0 4px; }
.brief-sub { font-size: 15px; font-style: italic; text-align: center; line-height: 1.45; margin-bottom: 12px; color: var(--ink-soft); }
.brief-photo { float: left; width: 120px; margin: 2px 12px 6px 0; }
.brief-photo .halftone { width: 120px; height: 150px; border: 1px solid var(--ink); }
.brief-cap { font-size: 13px; line-height: 1.4; margin-top: 4px; color: var(--ink-soft); }
.brief-p { margin: 0 0 8px; font-size: 15px; line-height: 1.65; text-align: justify; min-height: 1px; }
.brief-how { clear: both; margin-top: 14px; border: 3px double var(--ink); padding: 10px 12px; }
.brief-how-title { font-size: 16px; font-weight: 900; text-align: center; letter-spacing: 0.2em; margin-bottom: 6px; }
.brief-how-body { font-size: 14px; line-height: 1.6; text-align: justify; }
.brief-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; display: flex; align-items: flex-start; justify-content: center; padding-top: 14px; background: linear-gradient(180deg, transparent, rgba(232,224,204,0.95) 40%); }
.brief-btn { width: 240px; height: 52px; }

.screen-ending { background: radial-gradient(ellipse at 50% 40%, #4a5056, #1e2124 80%); }
.end-page { position: absolute; inset: 0; overflow-y: auto; padding: 18px 18px 0; scrollbar-width: none; transform-origin: 50% 50%; }
.end-top { display: flex; align-items: center; justify-content: space-between; }
.end-mast { font-size: 28px; font-weight: 900; letter-spacing: 0.08em; text-align: center; }
.end-ear { font-size: 13px; font-weight: 900; border: 2px solid var(--ink); padding: 2px 5px; letter-spacing: 0.1em; }
.end-head { font-size: 29px; text-align: center; margin: 10px 0 4px; }
.end-sub { font-size: 15px; text-align: center; line-height: 1.4; margin-bottom: 10px; color: var(--ink-soft); }
.end-photo { position: relative; width: 100%; height: 190px; margin-bottom: 10px; border: 1px solid var(--ink); overflow: visible; }
.end-photo > .halftone { width: 100%; height: 100%; }
.end-mug { position: absolute; right: 8px; bottom: 8px; width: 80px; height: 100px; border: 3px solid #f2ecdc; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.end-cols { column-count: 2; column-gap: 16px; column-rule: 1px solid var(--ink); font-size: 13.5px; line-height: 1.6; text-align: justify; }
.end-cols p { margin: 0 0 6px; }
.end-hint { margin-top: 10px; font-size: 13px; font-style: italic; text-align: center; color: var(--ink-soft); }
.end-pad { height: 150px; }
.end-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 12px 16px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: rgba(20, 18, 16, 0.82); border-top: 2px solid var(--crimson); animation: bar-up 0.3s ease-out; }
.end-bar.one { grid-template-columns: 1fr; }
.end-bar .btn { min-height: 48px; width: 100%; font-size: 15px; padding-left: 6px; padding-right: 6px; letter-spacing: 0; }
@keyframes bar-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
