@font-face{font-family:GalleryInter;src:url(/tesla/fonts/34ba43c981b106ea-s.p.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:GalleryInter;src:url(/tesla/fonts/ea234620f9e86969-s.p.woff2) format("woff2");font-weight:500;font-display:swap}@font-face{font-family:GalleryInter;src:url(/tesla/fonts/95439fb45e443721-s.p.woff2) format("woff2");font-weight:600;font-display:swap}@font-face{font-family:GalleryInter;src:url(/tesla/fonts/a1aac96ebeb85566-s.p.woff2) format("woff2");font-weight:700;font-display:swap}.gallery-dialog,.gallery-select-menu,.tesla-site.tesla-gallery{font-family:GalleryInter,system-ui,sans-serif}.gallery-promotion{position:relative;display:flex;min-height:32px;align-items:center;justify-content:center;background:linear-gradient(90deg,#a33be4,#2676e9);padding:6px 32px;font-size:14px;line-height:20px}.gallery-promotion a{display:flex;align-items:center;gap:8px}.gallery-promotion a>svg:last-child{margin-left:4px;opacity:.75}.gallery-promotion>button{position:absolute;right:8px;top:0;height:32px;width:24px;display:grid;place-items:center}.gallery-main{width:100%;max-width:1440px;margin:0 auto}.gallery-heading{padding:32px 24px 8px}.gallery-heading h1{color:#fff;font-size:36px;line-height:40px;font-weight:700;letter-spacing:-.025em}.gallery-heading p{margin-top:8px;color:#a3a3a3;font-size:14px;line-height:20px}.gallery-content{padding:24px}.gallery-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px}.gallery-filters .gallery-select{height:48px;border:1px solid #363636;border-radius:10px;color:#f5f5f5;background:#141414;padding:8px 10px;font-size:14px;cursor:pointer}.gallery-filters .gallery-kind-select{width:126px}.gallery-filters .gallery-model-select{width:260px}.gallery-filters .gallery-sort-select{width:220px}.gallery-filters .gallery-select:hover{background:#1c1c1c}.gallery-select-menu[data-state]{--popover:0 0% 9%;--popover-foreground:0 0% 96%;--accent:0 0% 20%;--accent-foreground:0 0% 100%;z-index:70;max-height:min(440px,var(--radix-select-content-available-height));border:1px solid #404040;border-radius:10px;background:#171717;color:#f5f5f5}.gallery-select-menu [role=option]{min-height:36px;cursor:pointer}.gallery-select-menu [data-highlighted]{background:#333;color:white}.gallery-model-menu[data-state]{max-height:min(560px,var(--radix-select-content-available-height))}.gallery-model-menu .gallery-model-group-label{margin-top:8px;padding:4px 8px;color:#a3a3a3;font-size:12px;font-weight:400;line-height:16px}.gallery-model-menu [role=option]{min-height:28px;padding:4px 32px 4px 8px;font-size:14px;line-height:20px}.gallery-model-menu [role=option]>span:first-child{right:8px;left:auto}.gallery-sponsor-trigger{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin-left:auto;border:1px solid #404040;border-radius:10px;background:#171717;padding:0 16px;font-size:14px;font-weight:600}.gallery-sponsor-trigger:hover{background:#262626}.gallery-code{border-radius:999px;background:#450a0a80;color:#fca5a5;font-size:12px;font-weight:500;padding:2px 8px}.gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.gallery-card{position:relative;aspect-ratio:1;overflow:hidden;border:1px solid #262626;border-radius:12px;isolation:isolate}.gallery-card-open{position:absolute;inset:0;width:100%;height:100%;text-align:left;cursor:pointer;touch-action:manipulation}.gallery-cover,.gallery-preview{position:absolute;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;inset:0;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:opacity .3s ease-in-out}.gallery-preview{opacity:0;-o-object-fit:contain;object-fit:contain}.gallery-card-shade{inset:0;background:linear-gradient(0deg,#0009,transparent,transparent)}.gallery-card-caption,.gallery-card-shade{position:absolute;opacity:0;transition:opacity .2s}.gallery-card-caption{bottom:0;left:0;right:0;padding:12px;display:grid;gap:2px;font-size:12px;color:#fffc;pointer-events:none}.gallery-card-caption>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-card-caption strong{color:#fff;font-size:14px;font-weight:500}.gallery-card-caption .gallery-by{color:#ffffffe6;margin-bottom:2px}.gallery-card-badges{position:absolute;z-index:2;top:8px;left:8px;display:flex;align-items:center;gap:6px}.gallery-avatar{display:inline-flex;width:28px;height:28px;-o-object-fit:cover;object-fit:cover;border:2px solid #fff;border-radius:50%;align-items:center;justify-content:center;flex-shrink:0}.gallery-initial{background:#7c3aed;color:#fff;font-size:14px}.gallery-card-badges button:hover{outline:2px solid #a78bfa;outline-offset:2px;border-radius:50%}.gallery-ai{display:flex;align-items:center;gap:2px;padding:2px 6px;border-radius:999px;background:linear-gradient(90deg,#a855f7,#ec4899);color:white;font-size:10px;font-weight:500;line-height:15px}.gallery-card-stats{position:absolute;right:8px;top:8px;z-index:2;display:flex;gap:8px;opacity:0;transition:opacity .2s}.gallery-card-stats>*{display:flex;align-items:center;gap:4px;border-radius:999px;background:#0006;padding:4px 8px;color:#fff;font-size:12px}.gallery-card-stats button:hover{background:#0009}@media (hover:hover){.gallery-card:hover:has(.gallery-preview[data-ready=true]) .gallery-cover{opacity:0}.gallery-card:hover .gallery-card-caption,.gallery-card:hover .gallery-card-shade,.gallery-card:hover .gallery-card-stats,.gallery-card:hover .gallery-preview[data-ready=true]{opacity:1}}.gallery-card:focus-within .gallery-card-caption,.gallery-card:focus-within .gallery-card-shade,.gallery-card:focus-within .gallery-card-stats{opacity:1}.gallery-card-open:focus-visible{outline:2px solid #60a5fa;outline-offset:-3px;border-radius:12px}.gallery-creator-filter{display:flex;gap:8px;align-items:center;margin-bottom:16px;padding:6px 12px;border:1px solid #404040;border-radius:20px;font-size:14px}.gallery-end{height:80px}.gallery-information{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:1px solid #262626;margin-top:16px;padding:40px 0}.gallery-information h2{color:white;font-size:20px;line-height:28px;font-weight:600}.gallery-information p{margin-top:12px;color:#a3a3a3;font-size:14px;line-height:24px}.gallery-empty{padding:80px 16px;text-align:center;color:#a3a3a3}.gallery-empty h2{color:white;font-size:24px;margin-bottom:8px}.gallery-empty button{margin-top:20px;color:white;text-decoration:underline}.gallery-overlay{position:fixed;inset:0;z-index:80;background:#000c}.gallery-dialog{position:fixed;top:50%;left:50%;z-index:81;transform:translate(-50%,-50%);max-height:calc(100dvh - 32px);overflow:auto;border-radius:20px;background:#171717;color:#f5f5f5;width:min(896px,calc(100% - 32px))}.gallery-dialog:focus{outline:none}.gallery-dialog :focus-visible{outline:2px solid #60a5fa;outline-offset:3px}.gallery-close{position:absolute;right:16px;top:16px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#0a0a0a;color:#fff}.gallery-design-dialog{display:grid;grid-template-columns:2fr 1fr}.gallery-detail-image{aspect-ratio:1;align-self:start}.gallery-detail-image img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.gallery-detail-content{min-width:0;padding:24px}.gallery-detail-content h2{padding-right:24px;font-size:18px;line-height:28px;font-weight:600}.gallery-prompt{margin-top:8px;color:#a3a3a3;font-size:14px;line-height:20px;max-height:100px;overflow:auto;overflow-wrap:anywhere}.gallery-detail-creator{margin-top:16px;display:flex;align-items:center;gap:8px;color:#a3a3a3;font-size:14px}.gallery-detail-creator .gallery-avatar{width:24px;height:24px;border:0}.gallery-detail-stats{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:14px;color:#a3a3a3;margin-top:16px}.gallery-detail-stats span{display:flex;align-items:center;gap:4px}.gallery-detail-actions{display:grid;gap:12px;margin-top:24px}.gallery-detail-actions a,.gallery-detail-actions button{min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border:1px solid #404040;border-radius:10px;font-size:16px;text-align:center}.gallery-detail-actions a:hover,.gallery-detail-actions button:hover{background:#262626}.gallery-detail-actions .gallery-primary{border-color:#f5f5f5;color:#171717;background:#f5f5f5}.gallery-detail-actions .gallery-primary:hover{background:#ddd}.gallery-action-row{display:flex;gap:8px}.gallery-action-row>*{flex:1}.gallery-install{margin-top:20px;font-size:14px;line-height:22px}.gallery-install p{margin-top:8px;color:#a3a3a3}.gallery-accessory{position:relative;aspect-ratio:1;overflow:hidden;border:1px solid #404040;border-radius:12px;background:#171717}.gallery-accessory>img{position:absolute;inset:0;width:100%;height:100%;padding:16px 16px 96px;-o-object-fit:contain;object-fit:contain}.gallery-discount{position:absolute;right:8px;top:8px;background:#450a0a;color:#fecaca;border-radius:20px;padding:4px 8px;font-size:10px}.gallery-accessory>div{position:absolute;bottom:0;padding:12px;width:100%}.gallery-partner{color:#a3a3a3;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.gallery-accessory h3,.gallery-accessory-small h3{font-size:14px;font-weight:600;line-height:20px}.gallery-accessory p,.gallery-accessory-small p{margin-top:4px;color:#a3a3a3;font-size:12px;line-height:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gallery-sponsor-dialog{width:min(640px,calc(100% - 32px));padding:24px}.gallery-sponsor-dialog h2{margin-top:4px;font-size:20px;font-weight:700;padding-right:30px}.gallery-sponsor-dialog>p{margin-top:8px;color:#a3a3a3;font-size:14px}.gallery-coupon{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;padding:8px 12px;border:1px solid #7f1d1d;border-radius:12px;background:#450a0a4d;color:#fecaca;font-size:14px}.gallery-coupon button{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 8px}.gallery-accessories-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gallery-accessory-small{display:flex;gap:12px;border:1px solid #404040;border-radius:12px;padding:12px}.gallery-accessory-small img{width:80px;height:104px;-o-object-fit:contain;object-fit:contain}.gallery-floating{position:fixed;right:16px;bottom:64px;z-index:45;display:grid;gap:8px}.gallery-floating a{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#171717;box-shadow:0 4px 10px #0003}.gallery-floating a:first-child{background:#ffdd00}.gallery-floating img{height:24px;width:auto}@media (max-width:1023px){.gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-code{display:none}}@media (max-width:767px){.gallery-heading{padding:32px 16px 8px}.gallery-heading h1{font-size:30px;line-height:36px}.gallery-content{padding:24px 16px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-design-dialog,.gallery-information{grid-template-columns:1fr}.gallery-design-dialog{width:min(512px,calc(100% - 32px))}.gallery-detail-image{width:100%}}@media (max-width:639px){.gallery-promotion{font-size:12px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-select,.gallery-sponsor-trigger{width:100%}.gallery-card-caption{opacity:1;padding:10px;background:linear-gradient(0deg,#000b,#0003,transparent)}.gallery-card-caption strong{font-size:12px}.gallery-card-caption>span{font-size:11px}.gallery-card-caption .gallery-by,.gallery-card-stats{display:none}.gallery-accessory h3{font-size:12px;line-height:16px}.gallery-accessory p{display:none}.gallery-accessory>img{padding-bottom:60px}.gallery-accessories-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.gallery-card *{transition:none}}.gallery-filters .gallery-sort-select>span{display:flex;align-items:center;gap:8px}@media (max-width:639px){.gallery-filters .gallery-select{width:100%}}.gallery-dialog,.gallery-select-menu,.tesla-site.tesla-gallery{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gallery-sponsor-dialog[data-state]{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:16px;border:1px solid #404040;border-radius:16px;background:#171717;color:#f5f5f5;font-family:GalleryInter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}