*{box-sizing:border-box}body{margin:0;font-family:Arial,"PingFang SC",sans-serif;background:#f2e8e2;color:#111}.shell{width:100%;min-height:100vh;display:flex;justify-content:center}.intro{width:min(440px,100%);min-height:100vh;background:#ff9b86;padding:30px 28px 50px;position:relative}.brand{text-align:center;font-family:Georgia,serif;font-weight:800;font-size:25px}.step{text-align:center;font-size:12px;opacity:.55;margin-top:10px}.intro h1{text-align:center;font-family:Georgia,serif;font-size:36px;font-weight:500;margin:26px 0}.stars{font-size:45px;line-height:20px;margin:-15px 0 5px}.hero-art{height:320px;border-radius:18px;overflow:hidden;background:#172329;box-shadow:13px 13px 0 #000;margin:22px 38px}.hero-art img{width:100%;height:100%;object-fit:cover;display:block}.placeholder{height:100%;display:grid;place-content:center;text-align:center;color:#fff;font-family:Georgia,serif;font-size:42px}.placeholder span{font:13px Arial;letter-spacing:4px}.form label{display:block;margin:16px 0 7px;font-size:14px}.form input{width:100%;height:48px;border:1px solid #777;border-radius:25px;padding:0 20px;font-size:16px}.form button,.admin-login button{width:100%;height:48px;border:0;border-radius:25px;background:#000;color:#fff;font-weight:700;font-size:16px;margin-top:25px}.privacy{font-size:11px;line-height:1.6;text-align:center;opacity:.65;margin-top:20px}.error{color:#9d0000;margin-top:8px;font-size:13px}.back{display:block;text-align:center;margin-top:18px;color:#111}.browse-body{background:#f5e9e3}.browse{width:min(520px,100%);min-height:100vh;margin:auto;padding:18px 16px;position:relative}.browse header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.browse .brand{font-size:22px}.hint{font-size:12px;opacity:.55}.cards{height:calc(100vh - 105px);min-height:520px;position:relative}.card{position:absolute;inset:0;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 10px 35px #0001;transition:transform .25s,opacity .25s;touch-action:none}.card:not(.active){transform:scale(.97) translateY(10px);opacity:.6}.photo-wrap{height:64%;background:#ddd}.photo-wrap img{width:100%;height:100%;object-fit:cover}.profile-copy{padding:18px 22px}.name{font:700 29px Georgia,serif}.city{font-size:13px;opacity:.55;margin-top:4px}.profile-copy p{line-height:1.6;margin:10px 0;font-size:15px}.heart{position:absolute;right:18px;bottom:20px;width:58px;height:58px;border-radius:50%;background:#e9294f;color:#fff;text-decoration:none;display:grid;place-items:center;font-size:31px;box-shadow:0 8px 20px #e9294f55}.swipe-arrow{position:absolute;top:32%;transform:translateY(-50%);z-index:50;width:44px;height:44px;border:0;border-radius:50%;background:rgb(255 255 255 / 42%);color:#333;font-size:34px;line-height:40px;display:grid;place-items:center;box-shadow:0 5px 18px #0002;cursor:pointer;transition:transform .15s,box-shadow .15s;touch-action:manipulation}.swipe-arrow:hover{transform:translateY(-50%) scale(1.06);box-shadow:0 7px 22px #0003}.swipe-arrow:active{transform:translateY(-50%) scale(.94)}.swipe-arrow-left{left:9%}.swipe-arrow-right{right:9%}.swipe-arrow:focus-visible{outline:2px solid #333;outline-offset:3px}.swipe-tip{text-align:center;font-size:12px;opacity:.45;margin:9px}.empty{text-align:center;padding:60px}.admin-body{background:#f4f6f8}.admin-wrap{max-width:1100px;margin:auto;padding:20px}.admin-wrap nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:#111;color:#fff;padding:14px 18px;border-radius:14px}.admin-wrap nav a{color:#fff;text-decoration:none}.admin-wrap nav b{margin-right:auto}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.stats div,.panel,.profile-form,.profile-row{background:#fff;border-radius:14px;padding:20px;box-shadow:0 3px 15px #0000000b}.stats b{display:block;font-size:32px}.stats span{opacity:.6}.panel{margin-top:20px}.warn{color:#9a4b00}.table-wrap{overflow:auto;background:#fff;border-radius:14px}.table-wrap table{width:100%;border-collapse:collapse;min-width:900px}.table-wrap th,.table-wrap td{padding:11px;border-bottom:1px solid #eee;text-align:left;font-size:13px}.ua{max-width:300px;word-break:break-all}.admin-login{max-width:360px;margin:15vh auto;background:#fff;padding:30px;border-radius:18px}.admin-login input,.profile-form input,.profile-form textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;margin:7px 0 14px}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.check{display:block;margin:10px 0}.check input{width:auto}.profile-form button,.profile-row .danger{border:0;border-radius:9px;padding:11px 16px;background:#111;color:#fff}.profile-list{display:grid;gap:10px}.profile-row{display:flex;align-items:center;gap:14px}.profile-row img{width:64px;height:64px;object-fit:cover;border-radius:10px}.profile-row div{flex:1}.profile-row span,.profile-row small{display:block;opacity:.55;margin-top:4px}.danger{background:#b40022!important}@media(max-width:600px){.swipe-arrow-left{left:5%}.swipe-arrow-right{right:5%}.intro{padding-left:22px;padding-right:22px}.intro h1{font-size:31px}.hero-art{margin-left:28px;margin-right:28px;height:280px}.grid{grid-template-columns:1fr}.admin-wrap{padding:10px}.cards{height:calc(100vh - 95px);min-height:500px}.photo-wrap{height:62%}}
.setting-preview{display:block;width:180px;height:180px;object-fit:cover;border-radius:14px;margin:-4px 0 18px}.muted{opacity:.6;font-size:13px;line-height:1.6}
/* V2 swipe fix */
.cards{touch-action:pan-y;overflow:hidden}.card{touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.card:not(.active){pointer-events:none}.photo-wrap img{pointer-events:none;-webkit-user-drag:none}

.bulk-bar{display:flex;align-items:center;gap:16px;background:#fff;border-radius:14px;padding:14px 16px;margin:12px 0}.bulk-bar button:disabled{opacity:.45;cursor:not-allowed}.bulk-bar label{display:flex;align-items:center;gap:7px}.bulk-bar span{font-size:13px;opacity:.65}

/* Online customer service */
.chat-body{background:#f5e9e3;min-height:100vh}.chat-page{width:min(520px,100%);height:100vh;margin:auto;background:#fff;display:flex;flex-direction:column}.chat-head{height:70px;flex:none;display:flex;align-items:center;gap:13px;padding:0 16px;border-bottom:1px solid #eee;background:#fff}.chat-back{font-size:36px;color:#111;text-decoration:none;line-height:1}.chat-head div{flex:1}.chat-head b{display:block;font-size:17px}.chat-head span{display:block;font-size:11px;opacity:.55;margin-top:3px}.chat-head .online-dot{color:#1d9d52;font-size:12px}.chat-messages{flex:1;overflow:auto;padding:18px 14px;background:#faf8f7}.chat-row{display:flex;flex-direction:column;margin:0 0 13px;max-width:82%}.chat-row.mine{margin-left:auto;align-items:flex-end}.chat-row.theirs{margin-right:auto;align-items:flex-start}.bubble{padding:11px 14px;border-radius:17px;background:#fff;box-shadow:0 2px 10px #0000000a;line-height:1.55;word-break:break-word}.mine .bubble{background:#111;color:#fff;border-bottom-right-radius:5px}.theirs .bubble{border-bottom-left-radius:5px}.chat-row time{font-size:10px;opacity:.4;margin-top:4px}.chat-form{display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eee;background:#fff}.chat-form input{flex:1;min-width:0;border:1px solid #ddd;border-radius:24px;padding:0 15px;height:46px;font-size:15px}.chat-form button{border:0;border-radius:23px;padding:0 20px;background:#111;color:#fff;font-weight:700}.chat-loading{text-align:center;opacity:.5;padding:40px;font-size:13px}
.chat-admin{display:grid;grid-template-columns:310px 1fr;gap:15px;min-height:650px}.chat-list,.chat-admin-main{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 15px #0000000b}.chat-list h3{margin:0;padding:16px;border-bottom:1px solid #eee}.chat-item{display:block;text-decoration:none;color:#111;padding:13px 15px;border-bottom:1px solid #f0f0f0}.chat-item.selected{background:#f4f4f4}.chat-item b,.chat-item span,.chat-item small{display:block}.chat-item span{font-size:13px;opacity:.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.chat-item small{font-size:10px;opacity:.5;margin-top:5px}.chat-item em{float:right;background:#e9294f;color:#fff;border-radius:12px;padding:2px 7px;font-style:normal}.chat-admin-main{display:flex;flex-direction:column}.chat-user-meta{padding:14px 16px;border-bottom:1px solid #eee;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.chat-user-meta span{font-size:11px;opacity:.55}.chat-admin-messages{flex:1;min-height:480px;max-height:calc(100vh - 300px);overflow:auto;padding:18px}.chat-admin-form{display:flex;gap:8px;padding:12px;border-top:1px solid #eee}.chat-admin-form input{flex:1;border:1px solid #ddd;border-radius:9px;padding:11px}.chat-admin-form button{border:0;border-radius:9px;background:#111;color:#fff;padding:0 18px}
@media(max-width:700px){.chat-admin{grid-template-columns:1fr}.chat-list{max-height:300px}.chat-admin-messages{max-height:50vh}.chat-page{height:100dvh}}

/* Premium customer-service admin */
.support-admin-body{overflow:auto;background:linear-gradient(135deg,#f5f7fb 0%,#eef1f7 100%);min-height:100vh;color:#16181d}.support-shell{max-width:1420px;margin:0 auto;padding:28px 28px 34px}.support-topbar{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px}.support-kicker{font-size:10px;letter-spacing:3px;color:#8a8f9c;font-weight:800}.support-topbar h1{font-size:30px;letter-spacing:-.8px;margin:5px 0 2px}.support-topbar p{margin:0;color:#858b98;font-size:13px}.support-top-actions{display:flex;align-items:center;gap:12px}.support-top-actions a{color:#20242b;text-decoration:none;background:#fff;border:1px solid #e7e9ee;border-radius:12px;padding:10px 14px;font-size:13px}.live-pill{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #e7e9ee;border-radius:999px;padding:9px 12px;font-size:10px;font-weight:800;letter-spacing:1px;color:#555}.live-pill i,.support-user-title i{width:7px;height:7px;border-radius:50%;background:#39c77a;display:inline-block;box-shadow:0 0 0 4px #39c77a18}.support-workspace{min-height:650px;display:grid;grid-template-columns:350px minmax(0,1fr);background:#fff;border:1px solid #e3e6ec;border-radius:24px;overflow:hidden;box-shadow:0 20px 60px rgba(30,35,50,.09)}.support-sidebar{border-right:1px solid #e7e9ee;display:flex;flex-direction:column;min-width:0}.support-side-head{padding:22px 22px 15px;display:flex;justify-content:space-between;align-items:center}.support-side-head b{display:block;font-size:17px}.support-side-head span{display:block;color:#9298a4;font-size:11px;margin-top:4px}.inbox-dot{width:10px;height:10px;border-radius:50%;background:#ff4768;box-shadow:0 0 0 5px #ff476814}.support-search{margin:0 16px 12px;height:42px;border:1px solid #e6e8ed;background:#f8f9fb;border-radius:12px;display:flex;align-items:center;padding:0 12px;color:#969ba6}.support-search span{font-size:22px;margin-right:7px}.support-search input{border:0;outline:0;background:transparent;width:100%;font-size:13px;color:#333}.support-conversations{overflow:auto;padding:0 8px 12px}.support-conversation{display:flex;gap:12px;text-decoration:none;color:#17191e;padding:13px 12px;border-radius:15px;margin:2px 0;transition:.18s}.support-conversation:hover{background:#f7f8fa}.support-conversation.active{background:linear-gradient(135deg,#f8f2f3,#f5f7fb);box-shadow:inset 3px 0 #ef4264}.avatar,.support-user-avatar{flex:none;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#242832,#515867);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800;box-shadow:0 6px 16px #20242d1a}.conv-copy{min-width:0;flex:1}.conv-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.conv-title b{font-size:13px}.conv-title em{background:#ef4264;color:#fff;border-radius:99px;min-width:20px;height:20px;padding:0 6px;display:grid;place-items:center;font-style:normal;font-size:10px}.conv-preview{font-size:12px;color:#858b97;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.conv-time{font-size:9px;color:#a6abb4;margin-top:6px}.support-empty-list{text-align:center;padding:70px 20px;color:#a0a5af}.support-empty-list div{font-size:42px;margin-bottom:10px}.support-empty-list b,.support-empty-list span{display:block}.support-empty-list b{color:#555;font-size:13px}.support-empty-list span{font-size:11px;margin-top:5px}.support-chat{display:flex;flex-direction:column;min-width:0;background:#fbfbfc}.support-chat-head{height:78px;flex:none;border-bottom:1px solid #e9ebef;background:#fff;display:flex;align-items:center;gap:12px;padding:0 24px}.support-user-avatar{width:43px;height:43px;border-radius:13px}.support-user-title{flex:1;min-width:0}.support-user-title b{display:block;font-size:15px}.support-user-title span{display:flex;align-items:center;gap:8px;color:#8c929d;font-size:10px;margin-top:5px}.support-user-info{display:flex;gap:8px}.support-user-info span{border:1px solid #e9ebef;background:#fafbfc;border-radius:9px;padding:7px 9px;color:#8d939d;font-size:9px}.support-messages{flex:1;overflow:auto;padding:30px 7%;scroll-behavior:smooth}.support-message{display:flex;flex-direction:column;max-width:min(68%,620px);margin-bottom:22px}.support-message.in{align-items:flex-start}.support-message.out{margin-left:auto;align-items:flex-end}.message-label{font-size:9px;color:#a0a5ae;margin:0 7px 6px;letter-spacing:.3px}.message-bubble{padding:13px 16px;border-radius:17px;background:#fff;border:1px solid #eceef2;box-shadow:0 6px 20px rgba(35,40,50,.045);font-size:13px;line-height:1.65;word-break:break-word}.support-message.in .message-bubble{border-bottom-left-radius:5px}.support-message.out .message-bubble{background:#1d2027;color:#fff;border-color:#1d2027;border-bottom-right-radius:5px;box-shadow:0 8px 20px rgba(20,22,28,.14)}.support-message time{font-size:9px;color:#a5aab3;margin:6px 7px 0}.support-compose{flex:none;padding:12px 22px 20px;background:#fff;border-top:1px solid #e9ebef}.compose-inner{border:1px solid #dfe2e8;border-radius:16px;background:#fbfcfd;padding:9px 10px 8px;box-shadow:0 8px 24px rgba(30,35,45,.04)}.compose-inner textarea{display:block;width:100%;border:0;outline:0;resize:none;background:transparent;padding:5px 7px 8px;min-height:38px;max-height:120px;font:13px/1.6 Arial,"PingFang SC",sans-serif}.compose-tools{display:flex;align-items:center;justify-content:space-between;padding:4px 3px 0 7px}.compose-tools span{font-size:9px;color:#a1a6af}.compose-tools button{border:0;border-radius:11px;background:#1d2027;color:#fff;padding:9px 14px;font-weight:700;font-size:12px;cursor:pointer;box-shadow:0 6px 14px rgba(20,22,28,.14)}.compose-tools button:disabled{opacity:.5;cursor:default}.compose-tools button b{margin-left:5px;font-size:13px}.support-no-chat{flex:1;display:grid;place-content:center;text-align:center;color:#a0a5af}.no-chat-icon{font-size:60px;color:#d2d5db}.support-no-chat h2{font-size:18px;color:#4a4f59;margin:12px 0 4px}.support-no-chat p{font-size:12px;margin:0}@media(max-width:850px){.support-shell{padding:14px}.support-topbar{align-items:flex-start}.support-top-actions .live-pill{display:none}.support-workspace{min-height:620px;grid-template-columns:290px minmax(0,1fr)}}@media(max-width:700px){.support-shell{padding:8px}.support-topbar{padding:5px 4px 10px}.support-topbar h1{font-size:23px}.support-topbar p{display:none}.support-top-actions a{padding:8px 10px;font-size:11px}.support-workspace{min-height:0;grid-template-columns:1fr;border-radius:18px}.support-sidebar{display:none}.support-chat-head{padding:0 14px;height:68px}.support-user-info{display:none}.support-messages{padding:22px 14px}.support-message{max-width:82%}.support-compose{padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.compose-tools span{display:none}}

/* Visitor profile panel */
.support-workspace{grid-template-columns:350px minmax(0,1fr) 310px}
.support-profile{border-left:1px solid #e7e9ee;background:#fff;overflow:auto;padding:22px 18px 24px}
.profile-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:18px}
.profile-panel-head h3{margin:5px 0 0;font-size:18px;letter-spacing:-.3px}
.panel-eyebrow{font-size:9px;letter-spacing:2px;color:#a0a5af;font-weight:800}
.profile-status{font-size:9px;color:#6e7581;border:1px solid #e8eaee;border-radius:99px;padding:6px 8px;white-space:nowrap}
.profile-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#39c77a;margin-right:5px;box-shadow:0 0 0 3px #39c77a16}
.profile-identity{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #eceef2;border-radius:15px;background:linear-gradient(145deg,#fafbfc,#f5f6f8);margin-bottom:18px}
.profile-avatar{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#252933,#5b6370);color:#fff;font-size:11px;font-weight:800;flex:none}
.profile-identity b{display:block;font-size:13px}.profile-identity span{display:block;color:#969ca7;font-size:9px;margin-top:5px}
.profile-section{border-top:1px solid #edf0f3;padding-top:16px;margin-top:16px}.profile-section-title{font-size:10px;font-weight:800;color:#5e6570;margin-bottom:10px;letter-spacing:.3px}
.profile-field{position:relative;padding:9px 0;display:flex;flex-direction:column;gap:4px}.profile-field span{font-size:9px;color:#9ba0a9}.profile-field b{font-size:12px;color:#20242b;font-weight:600;word-break:break-word}.profile-field b.break{word-break:break-all}.profile-field .ua-value{font-size:9px;line-height:1.55;color:#727985;font-weight:500}.ip-field{padding-right:48px}.ip-field button{position:absolute;right:0;bottom:10px;border:1px solid #e2e5e9;background:#fff;border-radius:7px;padding:4px 7px;font-size:9px;color:#777d87;cursor:pointer}.link-row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:10px}.link-row span{color:#9ba0a9}.link-row b{color:#4b515b}.profile-note{margin-top:18px;background:#f7f8fa;border-radius:12px;padding:11px;color:#8b919b;font-size:9px;line-height:1.65}
@media(max-width:1100px){.support-workspace{grid-template-columns:310px minmax(0,1fr) 280px}.support-user-info{display:none}}
@media(max-width:850px){.support-workspace{grid-template-columns:290px minmax(0,1fr)}.support-profile{display:none}}


/* Fixed Spain phone field: +34 and 9 digits on one line */
.phone-input{display:flex;align-items:center;width:100%;height:48px;border:1px solid #777;border-radius:25px;background:#fff;overflow:hidden}
.phone-input .phone-prefix{flex:0 0 auto;padding:0 8px 0 20px;font-size:16px;font-weight:600;color:#222;white-space:nowrap}
.phone-input input[name="phone"]{flex:1;min-width:0;width:auto!important;height:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent;outline:none;padding:0 18px 0 5px!important;font-size:16px}
.phone-input input[name="phone"]:focus{outline:none;box-shadow:none}

/* Mobile responsive fixes */
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%}
@media(max-width:600px){
  .browse{width:100%;padding:12px 10px}
  .browse header{margin-bottom:10px}
  .hint{font-size:11px}
  .cards{height:calc(100svh - 92px);min-height:420px}
  .card{border-radius:18px}
  .photo-wrap{height:60%}
  .profile-copy{padding:14px 16px}
  .name{font-size:25px}
  .profile-copy p{font-size:14px}
  .heart{width:56px;height:56px;right:14px;bottom:14px;z-index:20;touch-action:manipulation}
}

/* 手机端单屏自适应 */
html,body{
    width:100%;
    height:100%;
    overflow:hidden;
}
@media (max-width:600px){
    .shell,.intro,.browse,.chat-page{
        min-height:100dvh;
        height:100dvh;
    }
    .intro{
        width:100%;
        padding:14px 18px 10px;
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        overflow:hidden;
    }
    .brand{font-size:20px}
    .step{margin-top:4px}
    .intro h1{
        font-size:28px;
        margin:10px 0;
    }
    .stars{
        font-size:32px;
        margin:-5px 0 0;
    }
    .hero-art{
        height:34vh;
        min-height:0;
        margin:12px 20px;
    }
    .form label{
        margin:8px 0 4px;
    }
    .form input,.form button{
        height:42px;
    }
    .form button{
        margin-top:12px;
    }
    .privacy{
        margin-top:8px;
        font-size:10px;
        line-height:1.35;
    }

    .browse{
        padding:10px 10px;
        overflow:hidden;
    }
    .browse header{
        margin-bottom:8px;
    }
    .browse .brand{
        font-size:18px;
    }
    .hint{
        font-size:10px;
    }
    .cards{
        height:calc(100dvh - 60px);
        min-height:0;
    }
    .card{
        border-radius:18px;
    }
    .photo-wrap{
        height:58%;
    }
    .profile-copy{
        padding:10px 14px;
    }
    .profile-copy .name{
        font-size:20px;
    }
    .profile-copy p{
        font-size:13px;
        margin-top:5px;
        display:-webkit-box;
        -webkit-line-clamp:6;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .heart{
        width:48px;
        height:48px;
        font-size:28px;
        right:14px;
        bottom:14px;
    }
    .swipe-tip{
        display:none;
    }

    .chat-page{
        overflow:hidden;
    }
    .chat-messages{
        height:calc(100dvh - 120px);
    }
}

.chat-image{display:block;max-width:min(300px,78vw);max-height:380px;width:auto;height:auto;border-radius:12px;object-fit:contain;cursor:pointer}.chat-form button[type=button]{padding:0 13px;background:#f3f3f3;color:#222;border:1px solid #ddd}
\n@media(max-width:600px){.browse{padding-left:10px;padding-right:10px}.swipe-arrow{width:40px;height:40px;font-size:30px}.swipe-arrow-left{left:3px}.swipe-arrow-right{right:3px}}\n