/* Trip photo album v0.5.0 — detailed trip view and expressive memories */
.detail-active .topbar{display:none}
.detail-active main{padding:0!important}
.detail-active .app-shell{background:#f9fcfe}
.album-page{padding-bottom:115px;background:linear-gradient(180deg,#f5fbff 0%,#fffdfb 75%);min-height:100vh}
.album-page button{-webkit-tap-highlight-color:transparent}
.album-cover{position:relative;min-height:322px;isolation:isolate;overflow:hidden;background-image:linear-gradient(180deg,#062b3d96 0%,#003e5130 37%,#002c42e8 100%),var(--album-photo);background-position:center;background-size:cover;display:flex;flex-direction:column;justify-content:space-between;padding:17px 18px 35px;color:#fff}
.album-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#002d3c25,transparent 80%);z-index:-1}
.album-cover-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.album-cover-top>span{font-size:10px;letter-spacing:1.5px;font-weight:900;text-shadow:0 2px 8px #002f44e3}
.album-cover-top button{width:43px;height:43px;flex:none;display:grid;place-items:center;background:#008ba0c9;color:#fff;border:1px solid #ffffff78;border-radius:14px;box-shadow:0 5px 17px #003f5370;font-size:25px;font-weight:650}
.album-cover-info{position:relative;max-width:100%;display:flex;align-items:flex-start;flex-direction:column;gap:7px;z-index:1}
.album-status{display:inline-block;max-width:100%;border-radius:99px;background:#d6f9f6ec;color:#096f83;padding:7px 12px;font-size:11px;font-weight:900;letter-spacing:.4px}
.album-status.is-visited{background:#fff2cfe9;color:#9d6510}
.album-status.is-current{background:#ffe0dbe9;color:#b8493c}
.album-cover-info h1{font-family:Georgia,'Times New Roman',serif;color:#fff9eb;font-size:clamp(35px,11vw,63px);letter-spacing:-1px;line-height:1.01;text-shadow:0 3px 10px #003143e0,0 0 4px #002f43b9;margin:6px 0 2px;max-width:100%;overflow-wrap:anywhere}
.album-country{font-size:15px;color:#e7fbfb;font-weight:850;text-shadow:0 2px 7px #003a53d4}
.album-date{font-size:13px;color:#fffaf2;font-weight:750;text-shadow:0 2px 7px #003a53d4}
.album-stats{position:relative;z-index:2;margin:-14px 12px 20px;padding:14px 2px;border-radius:22px;background:#fff;box-shadow:0 12px 32px #07586c25;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.album-stats>div{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;justify-content:center;padding:0 3px;text-align:center}
.album-stats>div+div{border-left:1px solid #e0e9ed}
.album-stat-icon{font-size:22px;font-weight:900;line-height:1;color:#079cb5}
.album-stat-icon.icon-packing{color:#1ab6aa}
.album-stat-icon.icon-budget{color:#f2ae16}
.album-stat-icon.icon-notes{color:#ff746d}
.album-stats strong{font-size:clamp(13px,3.8vw,21px);color:#0c4756;font-weight:950;line-height:1.15;overflow-wrap:anywhere;max-width:100%}
.album-stats small{font-size:clamp(10px,2.7vw,12px);font-weight:800;color:#66838b}
.album-tabs{padding:0 12px;margin-bottom:23px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.album-tab{min-width:0;border:1px solid #dbe8ed;background:#fff;color:#46717e;border-radius:15px;min-height:70px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;box-shadow:0 5px 13px #0d506116}
.album-tab span{font-size:24px;font-weight:900;line-height:1.15}
.album-tab strong{font-size:clamp(9px,2.6vw,12px);letter-spacing:-.2px;font-weight:900;white-space:nowrap}
.album-tab.active{background:linear-gradient(135deg,#17c8c5,#0197b1);color:white;border:0;box-shadow:0 8px 17px #0092a64a;transform:translateY(-2px)}
.album-tab.tab-budget.active{background:linear-gradient(135deg,#ffca57,#f5ab36);box-shadow:0 8px 17px #dcab4961}
.album-tab.tab-journal.active{background:linear-gradient(135deg,#ff9687,#f57171);box-shadow:0 8px 17px #fa71615e}
.album-tab.tab-packing.active{background:linear-gradient(135deg,#67cde4,#148ec4)}
.album-content{padding:0 13px}
.album-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:9px;margin:2px 3px 16px}
.album-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:2px;color:#07a1b3;margin-bottom:5px}
.album-section-title h2{font-size:clamp(24px,6.6vw,32px);line-height:1.1;letter-spacing:-.7px;color:#083d4c;margin:0}
.album-edit-notes{flex:none;border:0;border-radius:12px;background:#e5f8f7;color:#007f86;padding:10px 11px;font-size:12px;font-weight:900}
.album-empty{position:relative;isolation:isolate;min-height:290px;border-radius:24px;overflow:hidden;padding:25px 20px;color:#fff;box-shadow:0 12px 25px #0e68752c;background-image:linear-gradient(100deg,#02445ed6,#00737aa2 65%,#004e6f80),url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=1000&q=80');background-size:cover;background-position:center}
.album-empty:before{content:"✦";position:absolute;right:19px;top:16px;font-size:53px;color:#ffda8c9c;z-index:-1}
.album-empty-label{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#f7f1d3}
.album-empty h3{color:#fffdf4;font:900 clamp(25px,7vw,35px)/1.07 Georgia,'Times New Roman',serif;letter-spacing:-.4px;margin:22px 0 14px;max-width:320px;text-shadow:0 2px 5px #0033448c}
.album-empty p{font-size:13px;line-height:1.45;max-width:290px;font-weight:650;color:#f1fdff;margin-bottom:19px}
.album-empty button{background:#ff7267;box-shadow:0 6px 17px #00354c75;border:0;border-radius:13px;color:white;padding:12px 15px;font-size:13px;font-weight:900}
.album-prompt-title{font-size:19px;font-weight:900;color:#0b4452;margin:24px 4px 13px}
.album-prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.album-prompt{min-height:128px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:6px;border:1px solid transparent;border-radius:19px;padding:16px 12px;box-shadow:0 5px 16px #074d6011}
.album-prompt span{font-size:24px;font-weight:900;line-height:1;color:inherit}
.album-prompt strong{font-size:14px;font-weight:900;line-height:1.13;color:#143c47}
.album-prompt small{font-size:11px;line-height:1.3;color:#50727b}
.album-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.album-note{min-width:0;min-height:144px;padding:15px 13px;border-radius:19px;border:1px solid #ffffffba;box-shadow:0 6px 16px #105c6c13;overflow-wrap:anywhere}
.album-note-heading{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.album-note-symbol{width:34px;height:34px;flex:none;border-radius:12px;display:grid;place-items:center;background:#ffffffae;color:#0b6f7d;font-size:21px;font-weight:900}
.album-note-heading h3{font-size:13px;font-weight:900;color:#17434e;line-height:1.17;margin:0}
.album-note p{font-size:13px;line-height:1.5;color:#24535d;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.album-note.album-coral,.album-note.album-pink{background:linear-gradient(135deg,#fff1ed,#ffe7ec)}
.album-note.album-violet,.album-prompt.album-violet{background:linear-gradient(135deg,#eeeaff,#e7f4ff)}
.album-note.album-teal,.album-prompt.album-teal{background:linear-gradient(135deg,#ddf9f5,#e5ffff)}
.album-note.album-gold,.album-prompt.album-gold{background:linear-gradient(135deg,#fff1cf,#ffebbc)}
.album-note.album-pink,.album-prompt.album-pink{background:linear-gradient(135deg,#ffe6eb,#fff0dd)}
.album-note.album-blue,.album-prompt.album-blue{background:linear-gradient(135deg,#e4f0ff,#ecfaff)}
.album-note.album-mint,.album-prompt.album-mint{background:linear-gradient(135deg,#dff9e7,#f0fff0)}
.album-note.album-coral,.album-prompt.album-coral{background:linear-gradient(135deg,#ffe4dc,#ffefef)}
.album-featured-note{border-radius:22px;min-height:155px;padding:23px 19px;margin-bottom:12px;color:white;overflow:hidden;background-image:linear-gradient(110deg,#004863dc,#0b877fca),url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1050&q=78');background-position:center;background-size:cover;box-shadow:0 11px 23px #02445a24}
.album-featured-note span{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#d4fbff}
.album-featured-note p{font:700 clamp(17px,4.8vw,24px)/1.4 Georgia,'Times New Roman',serif;color:white;margin:16px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;text-shadow:0 2px 6px #00374a69}
.album-add-more{width:100%;margin:16px 0 0;border:1.5px dashed #53bdb8;color:#008793;background:#edfbf9;border-radius:15px;padding:13px;font-size:13px;font-weight:900}
.album-bottom-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:24px 13px 0}
.album-secondary-action,.album-danger-action{border:0;border-radius:12px;padding:11px 13px;font-size:12px;font-weight:800}
.album-secondary-action{color:#167b83;background:#e8f8f9}
.album-danger-action{color:#b46660;background:#fff1f0}
/* Existing budget, diary and packing now inherit the trip album theme. */
.detail-active .album-content>.split-summary{margin-bottom:12px}
.detail-active .mini-stat{background:linear-gradient(130deg,#edfffa,#ddf6fc);border-radius:19px;border:1px solid #e4f3f3;padding:17px 15px}
.detail-active .mini-stat:nth-child(2){background:linear-gradient(130deg,#fff4e8,#ffe8dc)}
.detail-active .mini-stat b{font-size:clamp(17px,5vw,25px);color:#064a5c}
.detail-active .album-content>.card{border:0;box-shadow:0 8px 22px #155a6c10}
.detail-active .album-content>.card h3{font-size:19px;color:#0b4858}
.detail-active .album-content .budget-table{font-size:12px}
.detail-active .album-content .budget-table td{overflow-wrap:anywhere}
.detail-active .album-content .illustrated{background:linear-gradient(105deg,#d3f4f2,#edfff2);border-radius:22px}
.detail-active .album-content .progress>span{background:linear-gradient(90deg,#08b4b5,#86dfbf)}
.detail-active .album-content .journal-entry{border-left:4px solid #ff907b;background:#fff7f3;border-radius:0 13px 13px 0;padding:12px 13px;margin:12px 0}
.detail-active .album-content .btn-primary{background:#07a9b5}
@media(max-width:360px){
 .album-cover{min-height:299px}
 .album-cover-top>span{font-size:9px}
 .album-tab{min-height:67px}
 .album-stats strong{font-size:13px}
 .album-note-heading{flex-wrap:wrap}
}
@media(min-width:650px){
 .album-cover{min-height:380px;padding:21px 27px 42px}
 .album-cover-info h1{font-size:60px}
 .album-stats{margin-left:22px;margin-right:22px}
 .album-tabs{margin-left:12px;margin-right:12px}
 .album-content{padding:0 24px}
 .album-note,.album-prompt{min-height:165px}
}
