:root {
    /* 電腦版的單位：以 1440px 的設計稿為準，螢幕超過 1440px 就不再放大 */
    --d: calc(min(100vw, 1440px) / 1440);
}

/* 全域重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: auto;
    background: url(assets/background.PNG) 100% 1000px repeat;
    font-family: "Chiron GoRound TC";
}

/* nav */
header {
    background-color: #1E1E24;
    width: 100%;
    height: calc(130 * var(--d));
    padding: calc(15 * var(--d)) calc(50 * var(--d));
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
}

.logo {
    margin-top:auto;
    margin-bottom:auto;
}

.logo-spider {
    height: calc(69 * var(--d));
    width: auto;                          /* 寬度照圖片比例自動算，不會變形 */
    margin-right: calc(16 * var(--d));
    rotate: -10deg;
}

.logo-standard-word {
    height: calc(69 * var(--d));
    width: auto;
}

nav {
    display: flex;
    flex-direction: row;
    margin-right: calc(30 * var(--d));
    align-items: center;
}

.navbar {
    background-color: white;
    margin: auto;
    padding: calc(14 * var(--d)) 1px;
    border-radius: calc(30 * var(--d));
    font-size: calc(16 * var(--d));       /* 原本 1rem = 16px */
    margin-right: calc(40 * var(--d));
}

.nav-button {
    text-decoration: none;
    color: #1E1E24;
    font-weight: 600;
}

/* IG 圖示：原本沒有設定大小，用的是圖檔本身的 40px */
.ig > img {
    display: block;
    width: calc(40 * var(--d));
    height: calc(40 * var(--d));
}

.mob-wrapper {
    display: none;
}

/* 頁面按鈕 */
/* 啟動 */
/* 首頁按鈕平常也是白底，變色改由 .active 控制 */
.home {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(30 * var(--d));
    border-radius: calc(50 * var(--d));
}

/* 目前所在的段落：按鈕變成深色底、白字（由 script.js 依捲動位置加上 active） */
.nav-button.active {
    background-color: #1E1E24;
    color: white;
}

.about-lost {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(15 * var(--d));
    border-radius: calc(50 * var(--d));
}

.reservation {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(15 * var(--d));
    border-radius: calc(50 * var(--d));
}

.donate {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(15 * var(--d));
    border-radius: calc(50 * var(--d));
}

.about-us {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(15 * var(--d));
    border-radius: calc(50 * var(--d));
}

.faq {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(15 * var(--d));
    border-radius: calc(50 * var(--d));
}

.contact {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(15 * var(--d));
    border-radius: calc(50 * var(--d));
}

.quiz {
    background-color: white;
    color: #1E1E24;
    padding: calc(11 * var(--d)) calc(15 * var(--d));
    border-radius: calc(50 * var(--d));
}

/* ===== 毛玻璃導覽列（只在 1251px 以上的電腦版生效；想恢復原本的樣子，把這一整段刪掉就好） ===== */
@media screen and (min-width: 1251px) {
    /* 整條 header：半透明的深色 + 把後面的頁面內容變模糊 */
    header {
        background-color: rgba(30, 30, 36, 0.55);          /* 最後的數字是不透明度，越小越透 */
        backdrop-filter: blur(14px);                       /* 模糊程度，越大越霧 */
        -webkit-backdrop-filter: blur(14px);               /* Safari 需要這一行 */
        border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* 底部一條很淡的亮線，像玻璃的邊緣 */
    }

    /* 中間的膠囊：淺色的玻璃，加一圈淡淡的亮邊 */
    .navbar {
        background-color: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.28);
    }

    /* 膠囊裡的按鈕：底色拿掉、文字改成白色（原本是白底深色字） */
    .navbar .nav-button {
        background-color: transparent;
        color: white;
        transition: background-color 0.25s ease, color 0.25s ease;   /* 顏色變化用 0.25 秒漸變，不要瞬間切換 */
    }

    /* 滑鼠移到按鈕上：浮出一層淡淡的白色霧面，像玻璃被照亮 */
    .navbar .nav-button:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    /* 目前所在的段落：反過來用白底深色字，在玻璃上才夠明顯 */
    .navbar .nav-button.active {
        background-color: white;
        color: #1E1E24;
    }

    /* 目前所在的段落已經是白底了，滑鼠移上去維持不變 */
    .navbar .nav-button.active:hover {
        background-color: white;
    }
}
/* ===== 毛玻璃導覽列結束 ===== */


/* 頁面內容 */
main {
    height: auto;
    margin-top: calc(300 * var(--d));   /* 用來避開固定在頂端的 header，要跟著 header 一起縮放 */
    color: white;
    font-family:"Chiron GoRound TC";
}

/* 點按鈕跳到段落時，上方預留 header 的高度，標題才不會被固定在頂端的 header 蓋住 */
#about-lost,
#reservation-section {
    scroll-margin-top: calc(130 * var(--d));
}

/* 點按鈕時用滑動的方式過去，不要瞬間跳過去 */
html {
    scroll-behavior: smooth;
}

.start {
    position: relative;
    text-align: center;
    margin-bottom: 100px;
}

.start h1 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 100px;
    letter-spacing: 8px;
}

.start p {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 1px;
    margin-bottom: 150px;
}

.blur-word {
    display: inline-block;
    animation: blur-breathe 3s ease-in-out infinite;
}

@keyframes blur-breathe {
    0%, 100% { filter: blur(1px); opacity: 0.85; }
    50% { filter: blur(3px); opacity: 1; }
}

.arrow-down-group {
    display: flex;
    flex-direction: column;
}

.arrow-down-group img {
    width: 30px;
    height: auto;
    margin: auto;
    margin-bottom: -10px;
}

.arrow-down-group p {
    margin-top: 30px;
}

.def {
    width: 90%;
    margin: auto;
    padding-top: 200px;
    margin-bottom: 200px;
}

.definition-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 50px 50px 50px;
    gap: 16px;
}

.definition-item img {
    width: 38%;
    height: auto; 
}

.line {
    display: inline-block;
    width: 10px;
    height: 220px;
    background-color: white;
    margin-left: 40px;
    margin-right: 40px;
}

/* 定義文字：預設藏起來（透明 + 稍微往左偏一點） */
.definition-hide {
    display: flex;
    flex-direction: row;
    opacity: 0;
    transform: translateX(-10px);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    align-items: center;
    cursor: default;
    margin: 0;
    max-width: 0;              /* 初始寬度 0，box 因此看起來像自己置中 */
    overflow: hidden;           /* 寬度還沒展開時，裡面的文字先藏起來 */
    transition: max-width 2s ease; 
    transition-delay: 0.3s; 
}

.definition-hide a {
    text-decoration: none;
    color: white;
}

.definition-hide p {
    transition: opacity 1s ease-in-out; 
}

/* 捲到這一組時 script.js 會加上 revealed，裡面的文字才淡入；往回捲會拿掉，文字就收起來 */
.definition-item.revealed .definition-hide {
    opacity: 1;
    transform: translateX(0);
    max-width: 100%;           /* 展開後的寬度，隨便給一個夠寬顯示文字的數字就好 */
    margin-left: 16px;          /* 跟 box 之間留出間距 */
}

.lost-same {
    padding: 200px 0;
    margin-bottom: 300px;
}

.lost-same p {
    text-align: center;
    font-family: "Chiron GoRound TC";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 1.2px;
    opacity: 0;
    transition: opacity 2s ease;
}

.lost-same p:nth-child(1) { transition-delay: 0s; }
.lost-same p:nth-child(2) { transition-delay: 1.5s; }
.lost-same p:nth-child(3) { transition-delay: 2s; }

.lost-same.revealed p {
    opacity: 1;
}

.our-data {
    display: flex;
    flex-direction: row;
    margin: 0 50px 100px 50px;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.our-data img {
    width: calc(600 * var(--d));
    height: auto;
}

.our-data p {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 45px;
    letter-spacing: 1px;
}

.four-aspect p {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 45px;
    letter-spacing: 1px;
    margin-left: 80px;
    margin-bottom: 100px;
}

.aspects-img {
    width: 100%;
    height: auto;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 3s ease-in-out;
    margin-bottom: 100px;
}

.aspects-img.revealed {
    clip-path: inset(0 0 0 0);
}

.phone-aspects-img {
    display: none;
}

.not-lonely {
    padding: 300px 0;
    margin-bottom: 300px;
}

.not-lonely p {
    text-align: center;
    font-family: "Chiron GoRound TC";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 1.2px;
}

/* ===== 開門動畫 ===== */
/* 場景的外框，比例跟原圖一樣（1440 × 1024） */
.door-scene {
    position: relative;
    width: min(100%, 900px);     /* 場景的寬度，最寬 900px */
    aspect-ratio: 1440 / 1024;
    margin: 0 auto 300px;        /* 水平置中，下方跟「若失公寓」介紹留 300px */
}

/* 底圖：完整的場景（磚牆、蜘蛛網、招牌、關著的門），不會動 */
.door-scene-base {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* 會動的只有門洞這一塊，用百分比定位，場景放大縮小時位置都會對準。
   數字的來源：這一塊在原圖上是 x 432~972、y 368~1024，除以原圖的寬 1440、高 1024 */
.door-anim {
    position: absolute;
    left: 30%;                   /* 432 ÷ 1440 */
    top: 35.9375%;               /* 368 ÷ 1024 */
    width: 37.5%;                /* 540 ÷ 1440 */
    height: 64.0625%;            /* 656 ÷ 1024 */

    /* 25 格畫面排成 5 × 5 的一張大圖，一次只露出其中一格；一開始是第一格（關著的門） */
    background-image: url(assets/door-sprite.webp);
    background-size: 500% 500%;
    background-position: 0% 0%;
    background-repeat: no-repeat;
}

/* 要顯示哪一格由 script.js 依捲動位置決定：往下捲門慢慢打開，往上捲門關回去 */
/* ===== 開門動畫結束 ===== */

.lost-intro {
    margin-bottom: 200px;
    margin: auto;
}

.lost-intro h1 {
    font-family: "Chiron GoRound TC";
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-left: 130px;
    margin-bottom: 60px;
}

.intro {
    display: flex;
    flex-direction: row;
    margin: auto;
    justify-content: space-evenly;
    align-items: center;
}

.intro p {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 45px;
    letter-spacing: 2.4px;
    justify-content: left;
}

.intro img {
    width: 200px;
    height: auto;
}

.lost-intro h3 {
    display: none;
}

.lost-intro h2 {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.2px;
    text-align: center;
    margin: 300px 0 300px 0;
}

.rent-detail {
    height: auto;
    margin: auto;
    text-align: center;
    justify-content: center;
    margin-bottom: 200px;
}

.rent-detail h1 {
    font-family: "Chiron GoRound TC";
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 60px;
}

.four-renter-up, .four-renter-down {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    justify-content: center;
    margin: auto;
    text-align: center;
    gap: 30px;
    margin-bottom: 60px;
    isolation: isolate;  
}

.renter-card {
    background-image: url(assets/file-1.png);
    background-repeat: no-repeat;   /* 不要重複鋪滿 */
    background-size: contain;       /* 整張圖放進卡片裡，比例不變 */
    background-position: center;    /* 圖片放在卡片正中間 */
    aspect-ratio: 905 / 623;        /* 讓卡片的長寬比跟圖片一樣（圖片原尺寸是 905 × 623） */
    width: 432px;              /* 原本是 30%，改成 1440px 螢幕時的實際寬度 */
    flex-shrink: 0; 
    color: #1E1E24;
    padding-top: 50px;
    padding-left: 15px;
    position: relative; 
}

.r2 {
    background-image: url(assets/file-2.png);
}

.r3 {
    background-image: url(assets/file-3.png);
}

/* 逸安和宇廷的顏色互換：逸安用綠色（file-4），宇廷用藍色（file-1） */
.r1 {
    background-image: url(assets/file-4.png);
}

.r4 {
    background-image: url(assets/file-1.png);
}

.r1::after {
    content: "";                             /* ::after 一定要有 content，空字串也行，不然不會出現 */
    position: absolute;
    top: 0;                                  /* 一開始跟資料夾頂端切齊，整張藏在後面 */
    left: 50%;
    width: 85%;                              /* 紙比資料夾窄一點（774 ÷ 905 ≈ 85%） */
    aspect-ratio: 774 / 161;                 /* 維持 paper-1 原本的長寬比 */
    background-image: url(assets/paper-4.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%);             /* 搭配 left: 50%，讓紙水平置中 */
    z-index: -1;                             /* 放到資料夾後面 */
    transition: transform 0.4s ease;         /* 往上動的速度 */
}

.r1:hover::after {
    transform: translate(-50%, -30%);        /* 水平置中不變，再往上移動自己高度的 60% */
}

.r2::after {
    content: "";                             /* ::after 一定要有 content，空字串也行，不然不會出現 */
    position: absolute;
    top: 0;                                  /* 一開始跟資料夾頂端切齊，整張藏在後面 */
    left: 50%;
    width: 85%;                              /* 紙比資料夾窄一點（774 ÷ 905 ≈ 85%） */
    aspect-ratio: 774 / 161;                 /* 維持 paper-1 原本的長寬比 */
    background-image: url(assets/paper-2.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%);             /* 搭配 left: 50%，讓紙水平置中 */
    z-index: -1;                             /* 放到資料夾後面 */
    transition: transform 0.4s ease;         /* 往上動的速度 */
}

.r2:hover::after {
    transform: translate(-50%, -30%);        /* 水平置中不變，再往上移動自己高度的 60% */
}

.r3::after {
    content: "";                             /* ::after 一定要有 content，空字串也行，不然不會出現 */
    position: absolute;
    top: 0;                                  /* 一開始跟資料夾頂端切齊，整張藏在後面 */
    left: 50%;
    width: 85%;                              /* 紙比資料夾窄一點（774 ÷ 905 ≈ 85%） */
    aspect-ratio: 774 / 161;                 /* 維持 paper-1 原本的長寬比 */
    background-image: url(assets/paper-3.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%);             /* 搭配 left: 50%，讓紙水平置中 */
    z-index: -1;                             /* 放到資料夾後面 */
    transition: transform 0.4s ease;         /* 往上動的速度 */
}

.r3:hover::after {
    transform: translate(-50%, -30%);        /* 水平置中不變，再往上移動自己高度的 60% */
}

.r4::after {
    content: "";                             /* ::after 一定要有 content，空字串也行，不然不會出現 */
    position: absolute;
    top: 0;                                  /* 一開始跟資料夾頂端切齊，整張藏在後面 */
    left: 50%;
    width: 85%;                              /* 紙比資料夾窄一點（774 ÷ 905 ≈ 85%） */
    aspect-ratio: 774 / 161;                 /* 維持 paper-1 原本的長寬比 */
    background-image: url(assets/paper-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%);             /* 搭配 left: 50%，讓紙水平置中 */
    z-index: -1;                             /* 放到資料夾後面 */
    transition: transform 0.4s ease;         /* 往上動的速度 */
}

.r4:hover::after {
    transform: translate(-50%, -30%);        /* 水平置中不變，再往上移動自己高度的 60% */
}

.renter {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.name-and-pic {
    flex: 0 0 120px;             /* 左欄固定 120px 寬，不會被圖片撐大而擠到右邊的文字 */
    text-align: center;
    font-family: "Chiron GoRound TC";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* 四張物品圖的比例都不同，統一放進同樣大小的框裡，四張卡片看起來才會一致 */
.name-and-pic img {
    display: block;
    width: 88px;                 /* 原本 110 × 90，縮小 20% */
    height: 72px;
    object-fit: contain;         /* 圖片完整縮進框裡，比例不變、不會被裁切 */
    margin: 0 auto 10px;         /* 水平置中，下方跟名字留 10px */
}

/* 右邊的文字欄使用剩下的全部寬度 */
.interact {
    flex: 1;
    min-width: 0;
}

.interact h3 {
    text-align: left;
    margin: 10px 0;
    font-weight: 600;
}

.interact p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 5px 0;
    text-align: left;
}

.quote-up {
    text-align: left;
    margin-top: 20px;
}

.quote-down {
    text-align: right;
    margin-top: 10px;
    margin-right: 20px;
}

.renter-tabs {
    display: none;
}

/* 預約入住表單 */
.reservation-section {
    padding-top: 50px;
}

/* ===== 展覽回顧 ===== */
/* 原本的報名表單藏起來時，確保真的不顯示 */
.reservation-card[hidden] {
    display: none;
}

.recap {
    max-width: 1240px;
    margin: 0 auto 200px;
    padding: 0 40px;
    --glass-line: rgba(255, 255, 255, 0.4);     /* 跟「我要募資」右欄一樣的半透明白框線 */
    --glass-fill: rgba(255, 255, 255, 0.04);    /* 跟「我要募資」右欄一樣，幾乎透明的白底 */
}

/* 上方的感謝文字 */
.recap-thanks {
    text-align: center;
    margin-bottom: 80px;
}

.recap-thanks h1 {
    font-family: "Chiron GoRound TC";
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.recap-thanks p {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
}

/* 左右兩欄：左邊平面圖（比較寬，因為展場是橫長形）、右邊互動清單 */
.recap-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;         /* 一定要 start，左欄才不會被拉長，sticky 才黏得住 */
}

/* 左欄：平面圖。捲動時黏在導覽列下方，像參考網站一樣固定不動 */
.recap-map {
    position: sticky;
    top: calc(130 * var(--d) + 32px);          /* 導覽列高度 + 一點空隙 */
    padding: 24px;
    border: 1px solid var(--glass-line);
    border-radius: 20px;
    background-color: var(--glass-fill);
    color: white;
}

/* 平面圖的範圍：展場是橫長形，所以用 2.4 : 1；房間和圓點都用百分比定位在這個框裡 */
.recap-map-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1;
    margin-bottom: 26px;            /* 下面留位置給「入口」「出口」 */
    --gap: 3px;                     /* 每一塊之間留的縫 */
}

/* 房間和公共區域：依 HTML 裡的 --x --y --w --h 擺到對的位置 */
.recap-room-box,
.recap-area {
    position: absolute;
    left: calc(var(--x) * 1% + var(--gap));
    top: calc(var(--y) * 1% + var(--gap));
    width: calc(var(--w) * 1% - var(--gap) * 2);
    height: calc(var(--h) * 1% - var(--gap) * 2);
}

/* 真的平面圖放進來時用這個 */
.recap-map-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 四個房間：平常淡淡的，捲到哪個房間的互動，那間就亮起來、其他變暗 */
.recap-room-box {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background-color: var(--glass-fill);
    padding: 8px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.3;
    transition: opacity 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}

/* 亮起的房間：框線和底色都更明顯 */
.recap-map-inner[data-active-room="1"] .recap-room-box[data-room="1"],
.recap-map-inner[data-active-room="2"] .recap-room-box[data-room="2"],
.recap-map-inner[data-active-room="3"] .recap-room-box[data-room="3"],
.recap-map-inner[data-active-room="4"] .recap-room-box[data-room="4"] {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
}

/* 客廳、走道、自我空間：公共區域，用虛線框、沒有底色，跟房間區分開來，也不會亮起或變暗 */
.recap-area {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;           /* 不擋到圓點的點擊 */
}

/* 客廳的字直排，比較塞得下 */
.recap-area-living span {
    writing-mode: vertical-rl;
    letter-spacing: 0.3em;
}

/* 走道：只放一個箭頭，表示從這裡走到自我空間 */
.recap-area-hall {
    border-radius: 6px;
    font-size: 1rem;
}

/* 自我空間是 L 形：外框交給裡面的 SVG 畫，字放在上半部 */
.recap-area-self {
    border: 0;
    align-items: flex-start;
    padding-top: 9%;
}

.recap-area-self svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.recap-area-self path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 1;
    stroke-dasharray: 3 3;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;   /* 圖被拉寬拉高時，線的粗細不變 */
}

.recap-area-self span {
    position: relative;
}

/* 捲到自我空間的互動時，自我空間也跟房間一樣亮起來：框線變實線、加一點底色 */
.recap-area-self path {
    transition: stroke 0.4s ease, fill 0.4s ease;
}

.recap-area-self span {
    transition: color 0.4s ease;
}

.recap-map-inner[data-active-room="5"] .recap-area-self path {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-dasharray: none;
    fill: rgba(255, 255, 255, 0.1);
}

.recap-map-inner[data-active-room="5"] .recap-area-self span {
    color: white;
}

/* 入口、出口：小字放在平面圖下緣 */
.recap-door {
    position: absolute;
    top: calc(100% + 6px);
    transform: translateX(-50%);
    font-size: 0.75rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.55);
}

/* 每位租客的顏色，跟租客卡片的資料夾顏色一致（圓點和光暈都用這個色） */
.recap-dot[data-room="1"] { --room-color: rgb(88, 157, 116); }   /* 林逸安：綠 */
.recap-dot[data-room="2"] { --room-color: rgb(200, 70, 88); }    /* 許沐微：紅 */
.recap-dot[data-room="3"] { --room-color: rgb(255, 166, 52); }   /* 王思予：橘 */
.recap-dot[data-room="4"] { --room-color: rgb(0, 134, 182); }    /* 陳宇廷：藍 */
.recap-dot[data-room="5"] { --room-color: #A8A8F8; }             /* 自我空間：蜘蛛 logo 毛線球的紫 */

/* 平面圖上的圓點：該租客的顏色，外面一圈半透明光暈（參考網站的藍色圓點） */
.recap-dot {
    position: absolute;
    transform: translate(-50%, -50%);       /* 讓圓點的中心對準 left / top 的位置 */
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--room-color);
    color: white;
    font-family: "Chiron GoRound TC";
    font-size: 0.6875rem;
    font-weight: 700;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--room-color) 30%, transparent);
    opacity: 0.25;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 同一間房間的其他圓點：半亮，看得出這間有哪幾個互動 */
.recap-map-inner[data-active-room="1"] .recap-dot[data-room="1"],
.recap-map-inner[data-active-room="2"] .recap-dot[data-room="2"],
.recap-map-inner[data-active-room="3"] .recap-dot[data-room="3"],
.recap-map-inner[data-active-room="4"] .recap-dot[data-room="4"],
.recap-map-inner[data-active-room="5"] .recap-dot[data-room="5"] {
    opacity: 0.6;
}

.recap-dot:hover {
    opacity: 0.9;
}

/* 目前看到的那個互動：圓點全亮、放大，光暈一圈圈擴散 */
.recap-map-inner .recap-dot.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
    animation: recap-pulse 1.6s ease-out infinite;
    z-index: 2;
}

@keyframes recap-pulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--room-color) 65%, transparent); }
    100% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--room-color) 0%, transparent); }
}

.recap-map-hint {
    margin-top: 16px;
    font-size: 0.8125rem;
    text-align: center;
    opacity: 0.6;
}

/* 右欄：依房間分組的互動清單 */
.recap-group {
    margin-bottom: 72px;
}

.recap-group:last-child {
    margin-bottom: 0;
}

/* 房間名稱：大字 + 右邊一條細線（參考網站「402 U ＋———」的樣子） */
.recap-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: "Chiron GoRound TC";
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.recap-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--glass-line);
}

/* 每一個互動：上緣是一條兩端往下彎的弧線（參考網站的樣子） */
.recap-item {
    position: relative;
    padding-top: 26px;
    margin-bottom: 48px;
    transition: opacity 0.4s ease;
    opacity: 0.45;                  /* 還沒捲到的互動淡一點，焦點放在正在看的那一個 */
}

.recap-item.active {
    opacity: 1;
}

.recap-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    border: 1px solid var(--glass-line);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
}

.recap-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

/* 標題下的副標（例如「受訪者故事轉譯」），淡一點、置中 */
.recap-item p.recap-item-sub {
    margin-top: -6px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

.recap-item p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* 互動照片：縮小到欄寬的 85%、3:2 橫式，讓說明文字有更多空間 */
.recap-photo {
    display: block;
    width: 85%;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
    border-radius: 16px;
    object-fit: cover;
}

/* 真的照片（img）：先用原圖比例顯示，不裁切；佔位框仍維持 3:2 */
img.recap-photo {
    aspect-ratio: auto;
    height: auto;
}

/* 直式照片用：寬度縮小，高度跟著等比例變矮 */
img.recap-photo.recap-photo-narrow {
    width: 60%;
}

/* 特別細長的直式照片（像手機直拍 9:16）：再窄一點，高度才跟其他直式照片差不多 */
img.recap-photo.recap-photo-tall {
    width: 45%;
}

/* 互動內文裡的外部連結：沿用文字顏色，加底線讓人看得出可以點 */
.recap-item a.recap-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.recap-item a.recap-link:hover {
    opacity: 0.7;
}

/* 可點擊的照片：外層連結佔滿一行，照片本身維持原本寬度；滑過時微微變亮、浮起 */
.recap-photo-link {
    display: block;
}

.recap-photo-link img.recap-photo {
    transition: transform 0.25s ease, filter 0.25s ease;
}

.recap-photo-link:hover img.recap-photo {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

/* ---- 互動照片輪播（一個互動有好幾張照片時用） ---- */
/* 寬度跟其他直式照片一樣是 60%，照片統一用 3:4 */
.recap-carousel {
    position: relative;
    width: 60%;
    margin: 0 auto;
}

/* 照片橫向排成一列，可以左右滑；scroll-snap 讓每次滑動都剛好停在一張照片上 */
.recap-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 16px;
    scrollbar-width: none;          /* 隱藏捲軸（Firefox） */
}

.recap-carousel-track::-webkit-scrollbar {
    display: none;                  /* 隱藏捲軸（Chrome、Safari） */
}

.recap-carousel-track img {
    display: block;
    flex: 0 0 100%;                 /* 每張照片佔滿整個框 */
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    scroll-snap-align: start;
}

/* 橫式照片放進直式輪播框時：完整顯示整張，上下留深色底，不裁切 */
.recap-carousel-track img.recap-carousel-fit {
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0.35);
}

/* 左右箭頭：半透明圓形按鈕，放在照片左右兩側中間 */
.recap-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background-color: rgba(30, 30, 36, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.recap-carousel-btn:hover {
    background-color: rgba(30, 30, 36, 0.85);
}

/* 箭頭放在照片外側：往外推「按鈕寬 34px + 間距 12px」 */
.recap-carousel-btn.prev {
    left: -46px;
}

.recap-carousel-btn.next {
    right: -46px;
}

.recap-carousel-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 已經是第一張／最後一張時，箭頭淡掉、不能點 */
.recap-carousel-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

/* 下方小圓點：目前在第幾張 */
.recap-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.recap-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.recap-carousel-dot.active {
    background-color: white;
    transform: scale(1.25);
}

/* 照片還沒拿到時的佔位框，也用半透明的樣子 */
.recap-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--glass-line);
    background-color: var(--glass-fill);
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.8;
}

/* 使用者在系統設定裡選了「減少動態效果」時，不要擴散的動畫 */
@media (prefers-reduced-motion: reduce) {
    .recap-map-inner .recap-dot.active {
        animation: none;
    }
}

/* 平板尺寸（1250px 以下）：左右留 50px，跟「我們的資料」等其他段落一樣 */
@media screen and (max-width: 1250px) {
    .recap {
        padding: 0 50px;
    }
}

/* ----- 左側房間選單（手機和平板才顯示） ----- */
.recap-rail {
    display: none;
}

@media screen and (max-width: 1250px) {
    /* 放在螢幕左下角：五個圓點直排，不擋到中間的閱讀 */
    .recap-rail {
        position: fixed;
        left: 12px;
        bottom: calc(16px + env(safe-area-inset-bottom));   /* iPhone 底部有橫條時，往上避開 */
        z-index: 50;
        display: flex;
        flex-direction: column;
        padding: 6px 0;
        border: 1px solid rgba(255, 255, 255, 0.25);
        /* 圓角用「寬度的一半」（24px 寬 → 12px），剛好是膠囊形
           不用 999px：從 999 動畫到 14 時，前面九成的數字看起來都一樣，最後才突然跳，看起來會卡 */
        border-radius: 12px;
        background-color: rgba(30, 30, 36, 0.75);   /* 跟玻璃導覽列一樣：半透明深色 + 模糊 */
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        /* 不在展覽回顧段落時藏起來（往左滑出去 + 透明） */
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        /* 展開／收起的動畫統一用同一條緩動曲線，一開始快、結尾慢慢停下，比較滑順 */
        --rail-ease: cubic-bezier(0.22, 1, 0.36, 1);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, border-radius 0.35s var(--rail-ease);
    }

    /* 捲到展覽回顧段落時才出現（script.js 加上 .show） */
    .recap-rail.show {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* 展開時：往右長出房間名稱，圓角變小一點，像一張小卡片 */
    .recap-rail.open {
        border-radius: 14px;
    }

    /* 每一個房間按鈕：收起時只看得到圓點，按鈕本身夠高（34px）比較好點 */
    .recap-rail-item {
        display: flex;
        align-items: center;
        height: 34px;
        padding: 0 5px;
        border: 0;
        background: none;
        color: white;
        font-family: inherit;
        cursor: pointer;
    }

    /* 圓點：用每個房間的顏色 */
    .recap-rail-item[data-room="1"] { --room-color: rgb(88, 157, 116); }
    .recap-rail-item[data-room="2"] { --room-color: rgb(200, 70, 88); }
    .recap-rail-item[data-room="3"] { --room-color: rgb(255, 166, 52); }
    .recap-rail-item[data-room="4"] { --room-color: rgb(0, 134, 182); }
    .recap-rail-item[data-room="5"] { --room-color: #A8A8F8; }

    .recap-rail-dot {
        flex: none;
        width: 8px;
        height: 8px;
        margin: 0 2px;
        border-radius: 50%;
        background-color: var(--room-color);
        opacity: 0.5;
        transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    }

    /* 目前所在的房間：圓點全亮、放大、外面一圈光暈 */
    .recap-rail-item.active .recap-rail-dot {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--room-color) 35%, transparent);
    }

    /* 房間名稱：收起時寬度 0 藏起來，展開時才出現 */
    .recap-rail-name {
        max-width: 0;
        overflow: hidden;
        white-space: nowrap;
        font-size: 0.8125rem;
        font-weight: 500;
        opacity: 0;
        padding: 0;
        /* 寬度和左右留白也一起做動畫，選單才會「慢慢長出來」而不是一下子跳開 */
        transition: max-width 0.35s var(--rail-ease), padding 0.35s var(--rail-ease), opacity 0.25s ease;
    }

    .recap-rail.open .recap-rail-name {
        max-width: 4.5em;             /* 最長的名字（自我空間）4 個字剛好放得下；設太大動畫會前快後空等 */
        opacity: 1;
        padding: 0 8px;               /* 跟圓點之間留一點距離 */
    }

    .recap-rail.open .recap-rail-item.active .recap-rail-name {
        font-weight: 700;
    }
}

/* 每間房間標題下的小平面圖（script.js 複製大平面圖產生），電腦版先藏起來 */
.recap-group-map {
    display: none;
}

/* 螢幕比較窄時（900px 以下）：參考網站手機版的做法
   左邊那張大平面圖藏起來，改成每間房間的標題下面各放一張平面圖，只亮那一間 */
@media screen and (max-width: 900px) {
    .recap {
        margin-bottom: 100px;
    }

    .recap-showcase {
        display: block;
    }

    .recap-map {
        display: none;
    }

    .recap-group-map {
        display: block;
        margin-bottom: 32px;
    }

    /* 手機螢幕窄，平面圖比例改成 1.7 : 1，房間才不會扁到塞不下圓點 */
    .recap-group-map .recap-map-inner {
        aspect-ratio: 1.7 / 1;
        --gap: 2px;
    }

    /* 小平面圖裡，這間房間的圓點全部亮起（不閃），其他房間的淡淡的 */
    .recap-group-map .recap-dot {
        opacity: 0.2;
    }

    .recap-group-map[data-room="1"] .recap-dot[data-room="1"],
    .recap-group-map[data-room="2"] .recap-dot[data-room="2"],
    .recap-group-map[data-room="3"] .recap-dot[data-room="3"],
    .recap-group-map[data-room="4"] .recap-dot[data-room="4"],
    .recap-group-map[data-room="5"] .recap-dot[data-room="5"] {
        opacity: 1;
    }

    /* 手機版不用「還沒捲到的變淡」，每一段都清楚顯示 */
    .recap-item {
        opacity: 1;
    }
}

/* 平板直拿（769–900px）：小平面圖原本撐滿整欄、貼齊左右邊，顯得太寬
   改成跟電腦版一樣的玻璃卡片外框，限制最大寬度並置中（比例沿用手機版的 1.7 : 1，圓點才不會壓到房間名字） */
@media screen and (min-width: 769px) and (max-width: 900px) {
    .recap-group-map {
        max-width: 440px;              /* 不用太大：縮小後圓點相對看起來比較清楚 */
        margin: 0 auto 36px;
        padding: 20px 24px 4px;        /* 下方留少一點，因為平面圖本身已經有留給「入口／出口」的空間 */
        border: 1px solid var(--glass-line);
        border-radius: 20px;
        background-color: var(--glass-fill);
    }

    /* 互動介紹也跟平面圖一樣寬（440px）並置中，上下對齊 */
    .recap-item {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 手機版：字和留白縮小 */
@media screen and (max-width: 768px) {
    /* 手機版外層已經有左右 24px 的留白，這裡不用再加 */
    .recap {
        padding: 0;
    }

    .recap-thanks {
        margin-bottom: 36px;
    }

    .recap-thanks h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .recap-thanks p {
        font-size: 1rem;
    }

    .recap-room-box {
        padding: 4px 6px;
        font-size: 0.625rem;
        border-radius: 6px;
    }

    .recap-area {
        font-size: 0.625rem;
        border-radius: 6px;
    }

    .recap-door {
        font-size: 0.625rem;
    }

    .recap-dot {
        width: 18px;
        height: 18px;
        font-size: 0.5625rem;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--room-color) 30%, transparent);
    }

    .recap-group {
        margin-bottom: 48px;
    }

    .recap-group-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .recap-item h3 {
        font-size: 1.0625rem;
    }

    .recap-item p {
        font-size: 0.875rem;
    }
}
/* ===== 展覽回顧結束 ===== */

/* ===== 體驗結束：校內外展資訊 ===== */
.ending {
    max-width: 1040px;
    margin: 0 auto 200px;
    padding: 0 40px;
    text-align: center;
}

.ending-intro {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* 展覽名稱：稍微放大、字距拉開，當作兩張卡片的總標題 */
.ending-show {
    font-family: "Chiron GoRound TC";
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

/* 兩張卡片並排、一樣寬 */
.ending-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* 卡片：跟展覽回顧的平面圖同一種半透明玻璃感 */
/* 卡片內容靠左排，資訊比較多時比較好讀；用 flex 直排，讓地圖連結固定在最下面 */
.ending-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.04);
    text-align: left;
}

/* 卡片標題（校內展／校外展）：卡片裡最大的字 */
.ending-card h2 {
    font-family: "Chiron GoRound TC";
    font-size: 1.5rem;              /* 跟展覽名稱《鏡行式》一樣大 */
    font-weight: 600;
    margin-bottom: 24px;
}

/* 日期、時間：左邊淡色小標，右邊內容 */
/* 用兩欄表格排：左欄小標、右欄內容，每一行上下對齊 */
.ending-info {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 10px;
    width: 100%;
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ending-info div {
    display: contents;              /* 讓 dt、dd 直接當表格的格子 */
}

.ending-info dt {
    color: rgba(255, 255, 255, 0.55);
}

.ending-info dd {
    font-weight: 600;
}

/* 嵌入的 Google 地圖：圓角 + 細框，跟卡片風格一致 */
.ending-map {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;           /* 扁一點，地圖不會太搶眼 */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    margin-top: auto;               /* 兩張卡片資訊行數不同時，地圖仍然對齊在同一高度往下排 */
    /* 地圖左上角本身就有「在 Google 地圖中開啟」的連結，不另外加按鈕 */
}

/* 平板：左右留白跟其他段落一樣 */
@media screen and (max-width: 1250px) {
    .ending {
        padding: 0 50px;
    }
}

/* 手機：卡片上下疊，字縮小；外層已有左右留白，這裡不用再加 */
@media screen and (max-width: 768px) {
    .ending {
        padding: 0;
        margin-bottom: 100px;
    }

    .ending-intro {
        font-size: 1rem;
        margin-bottom: 36px;
    }

    .ending-intro br {
        display: none;              /* 手機版不強制換行，讓文字自然排 */
    }

    .ending-show {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .ending-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ending-card {
        padding: 28px 20px;
    }

    .ending-card h2 {
        font-size: 1.25rem;         /* 手機版也跟《鏡行式》一樣大 */
        margin-bottom: 18px;
    }

    .ending-info {
        font-size: 0.9375rem;
        column-gap: 12px;
        margin-bottom: 20px;
    }
}
/* ===== 體驗結束結束 ===== */

.reservation-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 24px;
    padding: 48px 56px;
    margin-bottom: 200px;
}

/* ===== 報名尚未開放的遮罩 =====
   開放報名時這裡不用刪，只要改 index.html 標示的兩個地方就好；
   沒有遮罩的時候，下面這些樣式不會有任何作用。 */
.reservation-card.locked {
    position: relative;      /* 讓遮罩以這張卡片為範圍 */
    overflow: hidden;        /* 遮罩的四個角跟著卡片的圓角裁切 */
}

/* 蓋在表單上的遮罩 */
.form-lock {
    position: absolute;
    inset: 0;                                  /* 上下左右都貼齊卡片，蓋滿整張 */
    z-index: 5;                                /* 疊在表單上面 */
    display: flex;
    flex-direction: column;
    align-items: center;                       /* 鎖頭和文字水平置中 */
    padding-top: 160px;                        /* 鎖頭離卡片頂端的距離 */
    gap: 12px;
    background-color: rgba(30, 30, 36, 0.6);   /* 半透明的深色，跟網站背景同色系 */
    backdrop-filter: blur(6px);                /* 把遮罩後面的表單變模糊 */
    -webkit-backdrop-filter: blur(6px);        /* Safari 需要這一行 */
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.form-lock img {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
    color: white;
}
/* ===== 遮罩樣式結束 ===== */

.reservation-form h1 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #1E1E24;
    margin-bottom: 40px;
}

.form-field {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.form-field.time-slot-field {
    align-items: flex-start;
}

/* .form-field 自己設了 display: flex，會蓋掉瀏覽器對 hidden 屬性預設的 display: none，
   要另外明確補上，hidden 才會真的生效 */
.form-field[hidden] {
    display: none;
}

.form-field > label {
    flex: 0 0 130px;
    text-align: right;
    font-size: 1rem;
    font-weight: 600;
    color: #1E1E24;
}

.required {
    color: #D9534F;
    margin-right: 2px;
}

.form-field input[type="text"],
.form-field input[type="email"] {
    flex: 1;
    border: 0;
    border-radius: 30px;
    padding: 14px 20px;
    background-color: #EBEBEB;
    font-family: "Chiron GoRound TC";
    font-size: 1rem;
    color: #1E1E24;
}

.form-field input::placeholder {
    color: #9A9A9A;
    font-weight: 600;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1E1E24;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #455E50;
    cursor: pointer;
}

/* 「否」和後面的提示排在同一行、緊貼在一起 */
.radio-with-hint {
    display: flex;
    align-items: center;
}

/* 「，我要募資」整段的文字樣式，跟「是」「否」一致 */
.donate-hint {
    font-size: 1rem;
    font-weight: 600;
    color: #1E1E24;
}

.donate-link {
    text-decoration: underline;
}

.time-slot-list {
    flex: 1;
}

.time-slot-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    margin: auto;
    margin-bottom: 20px;
    align-items: center;
}

.time-slot-date {
    flex: 0 0 100px;
    font-size: 1rem;
    font-weight: 600;
    color: #1E1E24;
}

.form-field.time-slot-field > label {
    margin-top: 10px; /* 對應按鈕的上下 padding，把 label 往下推到跟日期文字對齊 */
}

.multi-select {
    position: relative; /* 面板用 absolute 定位，要靠這行對齊到按鈕，不是對齊到別的祖先 */
}

.multi-select-toggle {
    border: 0;
    border-radius: 20px;
    padding: 10px 18px;
    background-color: #EBEBEB;
    font-family: "Chiron GoRound TC";
    font-size: 1rem;
    font-weight: 600;
    color: #1E1E24;
    cursor: pointer;
    min-width: 180px;
    text-align: left;
}

.multi-select-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 10;
    background-color: white;
    border: 1px solid #DDD;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #1E1E24;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #455E50;
    cursor: pointer;
}

/* 只有一個場次時，直接顯示一個勾選框，跟左邊的標題切齊同一行 */
.time-slot-single {
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
}

.form-note {
    color: #C84658;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
}

/* 注意事項與同意條款 */
.terms-field {
    margin-top: 32px;
    padding: 20px 24px;
    background-color: #EBEBEB;       /* 跟輸入框同一個灰色 */
    border-radius: 16px;
    color: #1E1E24;
    text-align: left;
}

.terms-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.terms-list {
    list-style: decimal;             /* reset.css 把清單編號關掉了，這裡要明確打開 */
    padding-left: 1.4em;             /* 留空間給前面的 1. 2. 3. 編號 */
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.terms-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.terms-agree input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #455E50;           /* 跟表單其他勾選框同一個綠色 */
    cursor: pointer;
    flex-shrink: 0;                  /* 文字換行時，勾選框不要被壓扁 */
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
}

.btn {
    border: 0;
    font-family: "Chiron GoRound TC";
    font-size: 1rem;
    font-weight: 600;
    color: white;
    padding: 10px 32px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.btn-clear {
    background-color: #C84658;
}

.btn-submit {
    background: rgba(88, 157, 116, 0.90);

}

.btn:hover {
    filter: brightness(1.1);
}

.form-success {
    max-width: 900px;
    margin: 0 auto;
    color: white;
    background-color: #455E50;
    border-radius: 24px;
    padding: 40px 24px;
    font-size: 1.25rem;
    text-align: center;
}

.sponsor {
    margin-bottom: 100px;
}

.sponsor h1 {
    font-family: "Chiron GoRound TC";
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 60px;
    text-align: center;
}

/* 三家廠商排成三欄，每一欄一樣寬，logo 都在自己那一欄的正中間，整排就會均勻分布、置中 */
.sponsor-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);      /* 三欄等寬 */
    align-items: start;                          /* 三欄從頂端對齊，名稱才會在同一條水平線 */
    gap: calc(40 * var(--d));
    max-width: calc(960 * var(--d));             /* 整排最寬 960px（1440px 螢幕時），在頁面上置中 */
    margin: 20px auto 0;
}

/* 每一家廠商：logo 在上、名稱在下，置中對齊 */
.sponsor-group > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 每個 logo 都放進同樣大小的框裡（最寬 240px、高 100px），比例不同的 logo 看起來份量才會一致 */
.sponsor-group img {
    width: 100%;
    max-width: calc(240 * var(--d));
    height: calc(100 * var(--d));
    object-fit: contain;                         /* 整張縮進框裡，不變形、不裁切 */
}

.sponsor-group h3 {
    text-align: center;
    margin-top: calc(40 * var(--d));
    margin-bottom: calc(40 * var(--d));
    font-size: calc(24 * var(--d));     /* 原本 1.5rem = 24px */
    font-weight: 500;
}

/* 手機版：三家維持一排三欄，logo 和字縮小 */
@media screen and (max-width: 768px) {
    .sponsor {
        margin-bottom: 80px;
    }

    .sponsor h1 {
        font-size: 1.5rem;              /* 跟手機版其他區塊的標題一樣大 */
        margin-bottom: 30px;
    }

    .sponsor-group {
        gap: 12px;
        max-width: none;
        margin-top: 0;
    }

    .sponsor-group img {
        max-width: 100%;
        height: 56px;
    }

    .sponsor-group h3 {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-top: 12px;
        margin-bottom: 0;
    }
}

/* 螢幕窄到「Monster Energy」在三欄裡會斷成兩行時（約 380px 以下），改成一家廠商自己一行 */
@media screen and (max-width: 384px) {
    .sponsor-group {
        grid-template-columns: 1fr;      /* 只有一欄，三家由上往下排 */
        gap: 32px;                       /* 上下兩家之間的距離 */
    }

    .sponsor-group img {
        height: 64px;                    /* 一行只有一家，logo 可以稍微大一點 */
        max-width: 200px;
    }
}

/* footer */
footer {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
    margin: 20px;
}

footer > p {
    align-items: center;
}

footer a {
    text-decoration: none;
    color: white;
}

.social-media-footer {
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
}

.mail {
    align-items: center;
    margin: auto;
}

.ig-footer > img {
    width: 1.5rem;
    height: 1.5rem;
}

.mail-footer, .social-media-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info {
    display: none;
}

/* 螢幕 1250px 以下：選單列收起來，改用漢堡選單（手機版也會套用到這段） */
@media screen and (max-width: 1250px) {
    .navbar {
        display: none;
    }

    header {
        background-image: none;
        background-color:#1E1E24;
    }

    .mob-wrapper {
        display: flex;
        flex-direction: column;
    }

    .mob-nav {
        display: flex;
        position: absolute;
        flex-direction: column;
        top: 100%;
        right: 0;
        left: 0;
        padding: 10px 15px;
        height: auto;
        align-items: stretch;
        background-color: #1E1E24;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 5px 2px rgba(255, 255, 255, 0.10);
        margin-right: 0;  

        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .mob-nav-button {
        padding: 10px 15px;
    }

    .mob-nav-button > a {
        text-decoration: none;
        font-weight: 300;
        color: white;
    }

    .mob-wrapper.open .mob-nav {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .hamburger-btn {
        display: flex;
        background: none;
        border: 0;
        padding: 0;
        cursor: pointer;
    }

    .icon-close {
        display: none;
    }

    .mob-wrapper.open .icon-open {
        display: none;
    }

    .mob-wrapper.open .icon-close {
        display: block;
    }

    /* 新增：IG 和漢堡圖示在這個範圍用固定大小，才夠大、好點 */
    .ig > img,
    .hamburger-btn img {
        width: 30px;
        height: 30px;
    }

    /* 新增：IG 和漢堡圖示之間的距離 */
    .ig {
        margin-right: 24px;
    }

}

/* 螢幕 769px ~ 1250px：footer 改成上下兩行（第一行製作團隊，第二行信箱和社群），手機版不受影響 */
@media screen and (min-width: 769px) and (max-width: 1250px) {
    footer {
        flex-direction: column;   /* 由左右並排改成上下排列 */
        text-align: center;
        gap: 8px;                 /* 兩行之間的距離 */
    }

    footer > p {
        font-size: 0.875rem;
    }

    /* 電腦版的信箱、社群先藏起來，改用下面包在同一行的那一組 */
    .mail-footer, .social-media-footer {
        display: none;
    }

    .contact-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 24px;                /* 信箱和社群之間的距離 */
    }

    .contact-info > p {
        font-size: 0.875rem;
    }

    .mob-mail-footer, .mob-social-media-footer {
        display: flex;
        align-items: center;
        gap: 8px;                 /* 文字和圖示之間的距離 */
    }

    .contact-info .mail {
        font-size: 1.25rem;       /* 信封圖示的大小 */
        margin: 0;
    }

    .ig-footer > img {
        display: block;
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* 手機版：768px 以下 */
@media screen and (max-width: 768px) {
    :root {
        /* 螢幕超過 560px 之後就不再放大，以 560px 的大小為準 */
        --u: calc(min(100vw, 560px) / 430);
        --d: 1px;
        /* 租客資訊專用的單位：螢幕 430px 以上固定是 1px（大小不變），比 430px 窄就等比例縮小。
           算法是「卡片實際寬度 ÷ 430px 螢幕時的卡片寬度 382px」；48px 是 main 左右各 24px 的留白 */
        --r: calc((min(100vw, 430px) - 48px) / 382);   /* 新增：手機版把電腦版的單位固定成 1px，電腦版的數字就會維持原本的大小 */
    }
    
    /* nav */
    header {
        height: 136px;
        background-image: none;
        background-color:#1E1E24;
        padding-top: 65px;
        padding-right: 24px;
        padding-left: 24px;
        align-items: center;
        z-index: 100;
    }

    .logo-spider {
        width: 41px;
        height: 39px;
        margin-right: 5px;
        margin-bottom: 3px;
    }

    .logo-standard-word {
        width: 107px;
        height: 45px;
        aspect-ratio: 107/45;
    }

    nav {
        margin-right: 0px;
    }

    .ig > img {
        width: 30px;
        height: 30px;
    }

    .ig {
        margin-right: 24px;
    }

    .navbar {
        display: none;
    }

    .mob-wrapper {
        display: flex;
        flex-direction: column;
    }

    .mob-nav {
        display: flex;
        position: absolute;
        background-color: #363f59d1;
        flex-direction: column;
        top: 100%;
        right: 0;
        left: 0;
        padding: 10px 15px;
        height: auto;
        align-items: stretch;
        background-color: #1E1E24;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 5px 2px rgba(255, 255, 255, 0.10);

        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .mob-nav-button {
        padding: 10px 15px;
    }

    .mob-nav-button > a {
        text-decoration: none;
        font-weight: 300;
        color: white;
    }

    .mob-wrapper.open .mob-nav {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .hamburger-btn {
        display: flex;
        background: none;
        border: 0;
        padding: 0;
        cursor: pointer;
    }

    .icon-close {
        display: none;
    }

    .mob-wrapper.open .icon-open {
        display: none;
    }

    .mob-wrapper.open .icon-close {
        display: block;
    }

    /* 手機版首頁的段落文字，字重統一用 500（下面個別的段落規則也都改成 500 了） */
    main p {
        font-weight: 500;
    }

    /* 頁面內容 */
    main {
        padding: 0 24px;
        flex: 1;
    }

    .start h1 {
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 500;
        line-height: 100px; /* 500% */
        letter-spacing: 4px;
    }

    .start p {
        color: rgba(255, 255, 255, 0.50);
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 500;
        letter-spacing: 0.7px;
        margin-top: -30px;
    }

    .arrow-down-group {
        display: none;
    }

    /* claude */
    .def {
        width: 100%;
        /* padding: 80px 24px 0; */
        margin-top: 300px;
        margin-bottom: 80px;
    }

    /* 迷惘的定義：手機版改成圖片在上、文字在下，都靠左對齊 */
    .definition-item {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin: 0 0 60px 0;
        gap: 16px;
    }

    .definition-item img {
        width: 50%;
    }

    /* 手機版不用滑鼠移入才顯示，直接把文字打開；文字靠左對齊，跟上面的圖片切齊 */
    .definition-hide {
        flex-direction: column;
        max-width: none;
        overflow: visible;
        opacity: 1;
        transform: none;
        text-align: left;
        font-size: 1rem;
        line-height: 1.7;
        font-weight: 400;
        padding-top: 16px;
        margin-top: 0;
        margin-left: 0;
    }

     .line {
        display: none;
    }

    .lost-same {
        padding: 80px 0;
        margin-bottom: 100px;
    }

    /* 手機版不用滑鼠移入才顯示，直接顯示；改靠左對齊，不置中 */
    .lost-same p {
        font-size: 0.875rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-align: left;
        opacity: 1;
        line-height: 30px; /* 214.286% */
        letter-spacing: 0.7px;
    }

    .our-data {
        flex-direction: column;
        margin: 0 0 150px;
        gap: 30px;
    }

    .our-data img {
        width: 100%;
        max-width: 400px;
    }

    .our-data p {
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 30px; /* 214.286% */
        text-align: left;
        letter-spacing: 0.8px;
    }

    .four-aspect p {
        font-size: 0.875rem;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 40px;
        font-style: normal;
        font-weight: 500;
        line-height: 30px; /* 187.5% */
        letter-spacing: 0.8px;
    }

    .aspects-img {
        display: none;
    }

    .phone-aspects-img {
        display: flex;
        width: 100%;
        height: auto;
        margin-bottom: 100px;
    }

    .not-lonely {
        padding: 80px 0;
        margin-bottom: 120px;
    }

    /* 手機版不用滑鼠移入才顯示，直接顯示（這段維持置中） */
    .not-lonely p {
        font-size: 1rem;
        opacity: 1;
        font-weight: 500;
        line-height: 30px; /* 187.5% */
        letter-spacing: 0.8px;
    }

    /* 開門動畫（手機版）：下方的距離縮小 */
    .door-scene {
        margin-bottom: 120px;
    }

    .lost-intro {
        margin-bottom: 80px;
    }

    .lost-intro h1 {
        font-size: 1.25rem;
        margin-left: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .intro {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        margin-bottom: 100px;
    }

    /* 段落靠左對齊，跟前面其他區塊切齊 */
    .intro p {
        font-size: 1rem;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 30px; /* 187.5% */
        letter-spacing: 0.8px;
        text-align: left;
    }

    .intro img {
        display: block;
        width: 70px;
        margin: 0 auto;
    }

    .lost-intro h2 {
        display: none;
    }

    .lost-intro h3 {
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 30px; /* 187.5% */
        letter-spacing: 0.8px;
        margin: 100px 0;
    }

    .rent-detail {
        margin-top: 200px;
        margin-bottom: 100px;
        max-width: 430px;      /* 最寬只到 430px，螢幕再大也不會跟著放大 */
        margin-left: auto;     /* 左右留白平均分配，讓整段置中 */
        margin-right: auto;
    }

    .rent-detail h1 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    /* 租客姓名分頁籤：做成資料夾的標籤，底色是白的，只有最上面一條是各自的顏色 */
    .renter-tabs {
        display: flex;
        justify-content: center;
        gap: 4px;                          /* 標籤之間留一點縫，看得出是四張不同的資料夾 */
        margin: 0 calc(20 * var(--r)) -2px;   /* 最後的 -2px：讓標籤往下疊在卡片上 2px，中間才不會露出一條縫 */
        position: relative;
        z-index: 1;                        /* 標籤疊在卡片上面 */
    }

    .renter-tab {
        flex: 1;
        border: 0;
        border-top: 7px solid #999;        /* 最上面的色條，顏色在下面依租客個別指定 */
        padding: calc(8 * var(--r)) 0 calc(10 * var(--r));
        background-color: #D9D9DE;         /* 沒選到的標籤用淺灰，看起來像疊在後面 */
        color: #1E1E24;
        font-family: "Chiron GoRound TC";
        font-size: calc(13.6 * var(--r));      /* 原本 0.85rem = 13.6px */
        font-weight: 600;
        border-radius: 10px 10px 0 0;
        cursor: pointer;
    }

    /* 選到的標籤變成白色，跟下面的白色卡片連成一張 */
    .renter-tab.active {
        background-color: white;
    }

    /* 每位租客的色條（不管有沒有選到都會顯示） */
    .renter-tab[data-target="r1"] { border-top-color: rgb(88, 157, 116); }
    .renter-tab[data-target="r2"] { border-top-color: rgb(200, 70, 88); }
    .renter-tab[data-target="r3"] { border-top-color: rgb(255, 166, 52); }
    .renter-tab[data-target="r4"] { border-top-color: rgb(0, 134, 182); }

    /* 租客卡片：手機版一次只顯示分頁籤選中的那一張 */
    .four-renter-up, .four-renter-down {
        display: contents;
    }

    .renter-card {
        display: none;
        width: 100%;
        aspect-ratio: auto;   /* 取消「高度跟著寬度等比例變化」 */
        min-height: calc(263 * var(--r));    /* 螢幕 430px 時是 263px，小螢幕等比例縮小 */
        padding-top: calc(24 * var(--r));
        padding-left: calc(16 * var(--r));
        padding-right: calc(16 * var(--r));     /* 右邊也留白，文字才不會貼到卡片邊緣 */
        padding-bottom: calc(20 * var(--r));
        margin-bottom: 0;
        background-image: none;            /* 四張卡片都不用彩色底圖了 */
        background-color: white;           /* 統一白底 */
        color: #1E1E24;                    /* 白底上改用深色字 */
        border-radius: 14px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);   /* 一點陰影，讓白色卡片從深色背景浮出來 */
    }

    .renter-card.active {
        display: block;
    }

    /* 照片和文字維持左右並排，但要能換行，
       不然卡片背景是用 aspect-ratio 撐出來的資料夾圖，內容被撐得比圖片高的話，
       多出來的部分不會有白底，字會看不清楚 */
    .renter {
        gap: calc(40 * var(--r));           /* 照片和互動亮點之間的距離 */
        align-items: center;
        margin-top: calc(20 * var(--r));
        margin-left: calc(20 * var(--r));   /* 照片和互動亮點整組往右移，視覺上才不會偏左；下方的引言不受影響 */
    }

    .name-and-pic {
        font-size: 0.875rem;
        flex: 0 0 auto;
    }

    .name-and-pic img {
        width: calc(64 * var(--r));
        height: auto;
    }

    /* 圖片下方的租客名字 */
    .name-and-pic h3 {
        display: block;
        font-size: calc(16 * var(--r));             /* 跟右邊「互動亮點」標題一樣大 */
        font-weight: 600;
        margin-top: calc(14 * var(--r));            /* 跟圖片的距離 */
        text-align: center;
    }

    .interact {
        min-width: 0;
        flex: 1;
        gap: 10px;
    }

    /* 「互動亮點」標題 */
    .interact h3 {
        font-size: calc(16 * var(--r));
        margin: calc(10 * var(--r)) 0;
    }

    .interact p {
        font-size: calc(14 * var(--r));       /* 原本 0.875rem = 14px */
        line-height: 1.3;
        padding: calc(4 * var(--r)) 0;
        word-break: break-word;
        font-weight: 500;
    }

    .quote-up {
        font-size: calc(14 * var(--r));
        margin-top: calc(30 * var(--r));
        line-height: 2;
        font-weight: 500;
    }

    .quote-down {
        font-size: calc(14 * var(--r));
        margin-top: calc(5 * var(--r));
        margin-right: calc(4 * var(--r));   /* 卡片右邊已經有留白了，這裡只要再留一點 */
        line-height: 2;
        font-weight: 500;
    }

    /* 預約入住表單 */
    .reservation-section {
        padding: 60px -24px;
    }

    .reservation-card {
        margin-left: -24px;
        margin-right: -24px;
        margin-bottom: 100px;
    }

    /* 報名尚未開放的遮罩（手機版）：字和鎖頭縮小一點 */
    .form-lock {
        padding-top: 100px;
        font-size: 1.125rem;
    }

    .form-lock img {
        width: 56px;
        height: 56px;
    }

    .reservation-form h1 {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }

    .form-field {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .form-field > label {
        text-align: left;
        flex: none;
        font-size: 0.875rem;
    }

    /* 預約人數、是否為贊助者：這兩個欄位都只有單選選項，維持跟標籤同一行 */
    .form-field:has(.radio-group) {
        flex-direction: row;
        align-items: center;
    }

    .form-field.time-slot-field > label {
        margin-top: 0;
    }

    .form-field input[type="text"],
    .form-field input[type="email"] {
        font-size: 0.875rem;
    }

    .radio-group {
        gap: 16px;
    }

    .radio-option {
        font-size: 0.875rem;
    }

    /* 募資提示的字級跟手機版的「是」「否」一致 */
    .donate-hint {
        font-size: 0.875rem;
    }

    .time-slot-row {
        flex-wrap: wrap;
    }

    .time-slot-date {
        font-size: 0.875rem;
    }

    .multi-select-toggle {
        min-width: 150px;
        font-size: 0.875rem;
    }

    .checkbox-option {
        font-size: 0.875rem;
    }

    .form-note {
        font-size: 0.875rem;
        line-height: normal;
    }

    .form-buttons {
        gap: 24px;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 24px;
    }

    /* footer */
    footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        line-height: 2;
    }

    footer > p {
        font-size: 0.625rem;
    }

    footer a {
        text-decoration: none;
        font-size: 0.625rem;
    }

    .mail-footer, .social-media-footer {
        display: none;
    }

    .contact-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .contact-info > a {
        color: white;
        font-size: 0.625rem;
        align-items: center;
        gap: 5px;
        justify-content: space-between;
    }

    .mob-mail-footer, .mob-social-media-footer {
        display: flex;
        align-items: center;
    }

    .mob-mail-footer {
        margin-right: 20px;
    }

    .mail {
        font-size: 0.625rem;
    }

    .ig-footer > img {
        width: 0.625rem;
        height: 0.625rem;
    }
}