*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"Noto Sans Thai",sans-serif;background:radial-gradient(circle at 50% 35%,#30343b,#121316 70%);color:#1c1c1e}.stage{min-height:100dvh;display:grid;place-items:center;padding:18px}.device-frame{position:relative;width:min(390px,calc(100vw - 18px));aspect-ratio:390/844;background:#08090a;border:5px solid #494b4d;border-radius:57px;box-shadow:0 0 0 2px #151719,0 25px 75px #0009;overflow:hidden}.screen{position:absolute;inset:5px;border-radius:48px;overflow:hidden;background:#f6f6f8}.wallpaper{position:absolute;inset:0;background:linear-gradient(150deg,#424a59,#151d24);background-size:cover;background-position:center}.wallpaper:after{content:"";position:absolute;inset:0;background:linear-gradient(#0004,transparent 32%,#0002)}.status{position:absolute;z-index:50;top:0;left:0;right:0;height:49px;display:flex;align-items:flex-start;justify-content:space-between;padding:15px 27px 0;font-size:14px;font-weight:700;pointer-events:none;color:#fff}.status.dark{color:#17171a}.island{position:absolute;background:#030304;width:112px;height:31px;left:50%;top:5px;transform:translateX(-50%);border-radius:24px}.status-right{font-size:12px;letter-spacing:-1px}#root{position:absolute;inset:0;overflow:hidden}#homebar{position:absolute;z-index:61;bottom:8px;left:50%;transform:translateX(-50%);width:120px;height:5px;background:#f7f7f7;border:0;border-radius:20px;cursor:pointer;mix-blend-mode:difference}.view{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden}.lock{color:white;text-align:center;padding-top:88px;background:linear-gradient(#0003,transparent 60%)}.lock-date{font-size:21px;font-weight:500}.lock-time{font-size:79px;font-weight:200;letter-spacing:-4px;line-height:1.16}.lock-notifs{margin:25px 14px 0;display:grid;gap:9px}.notif{background:#e5e8edb9;color:#18191a;border-radius:18px;padding:12px;text-align:left;backdrop-filter:blur(20px);border:0;cursor:pointer;width:100%}.notif-head{font-weight:700;font-size:12px;display:flex;justify-content:space-between;margin-bottom:5px}.notif-title{font-weight:650;font-size:14px}.notif-text{font-size:13px}.lock-bottom{margin-top:auto;margin-bottom:37px;display:flex;justify-content:space-between;padding:0 33px}.round-icon{width:43px;height:43px;border-radius:50%;background:#0006;color:#fff;display:grid;place-items:center;border:0;font-size:21px}.unlock-hint{text-align:center;position:absolute;bottom:78px;width:100%;font-size:13px;text-shadow:0 1px 4px #000a}.tap-unlock{position:absolute;bottom:0;left:0;right:0;height:105px;border:0;background:none;cursor:pointer}.pass{color:white;align-items:center;padding-top:96px;background:#151b24aa;backdrop-filter:blur(17px)}.pass h3{font-size:18px;font-weight:500;margin:10px 0 21px}.dots{display:flex;gap:17px;margin-bottom:38px}.dot{height:13px;width:13px;border:1.5px solid #fff;border-radius:50%}.dot.filled{background:#fff}.keypad{display:grid;grid-template-columns:repeat(3,75px);gap:18px 23px}.key{height:75px;width:75px;background:#f9f9f938;color:white;border-radius:50%;border:0;font-size:31px;font-weight:300;cursor:pointer}.key small{font-size:9px;display:block;letter-spacing:2px}.key.blank{visibility:hidden}.pass-actions{display:flex;justify-content:space-around;width:100%;margin-top:25px}.pass-actions button{color:#fff;background:none;border:0;cursor:pointer}.error{color:#ffbdbd;font-size:13px;min-height:20px;margin:10px}.home{padding:66px 18px 95px;color:#fff}.app-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 8px}.app-tile{display:grid;justify-items:center;gap:7px;cursor:pointer;border:0;background:none;color:white;font:inherit;font-size:11px;text-shadow:0 1px 3px #0009;min-width:0}.appicon{width:61px;height:61px;border-radius:15px;display:grid;place-items:center;background:white;color:#1d1d22;box-shadow:0 3px 10px #0002;font-size:32px;overflow:hidden}.appicon.line{background:#06c755;color:white;font-size:15px;font-weight:900}.appicon.instagram{background:linear-gradient(32deg,#ffdc80,#f56040,#c13584,#5851db);color:white}.appicon.phone{background:#31c759;color:white}.appicon.notes{background:linear-gradient(#f7d34d 25%,#fff 25%);font-size:28px}.appicon.settings{background:#a7a9af;color:white}.appicon.calendar{background:#fff;font-size:12px;display:flex;flex-direction:column;color:#ef3d3d;justify-content:center}.appicon.calendar b{font-size:28px;color:#131313}.dock{position:absolute;bottom:27px;left:14px;right:14px;border-radius:28px;background:#ffffff52;backdrop-filter:blur(20px);display:flex;justify-content:space-around;padding:13px 5px}.dock .app-tile span:last-child{display:none}.app{background:#fff;color:#1c1c1e;padding-top:52px}.bar{display:flex;justify-content:space-between;align-items:center;min-height:54px;padding:0 16px;border-bottom:1px solid #f0f0f2;flex-shrink:0;background:#fff}.bar h2{font-size:18px;margin:0;font-weight:700}.back,.textbutton{color:#1686ff;font-size:16px;border:0;background:none;cursor:pointer}.back{font-size:27px;line-height:1}.scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.scroll::-webkit-scrollbar{display:none}.page-heading{font-size:31px;font-weight:750;margin:10px 18px 14px}.search{margin:0 16px 12px;background:#f0f0f3;border-radius:11px;padding:10px 12px;color:#8d8d96;font-size:14px}.chat-row{display:flex;align-items:center;gap:11px;padding:12px 15px;border-bottom:1px solid #f0f0f0;cursor:pointer}.avatar{width:49px;height:49px;border-radius:50%;background:#d9d9dd;object-fit:cover;flex:none}.avatar.fallback{display:grid;place-items:center;color:#666;font-size:21px}.chat-details{min-width:0;flex:1}.chat-title{font-weight:650;font-size:15px}.chat-preview{font-size:13px;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.chat-meta{display:grid;justify-items:end;gap:8px;font-size:11px;color:#929292}.unread{background:#06c755;color:white;border-radius:20px;min-width:18px;height:18px;display:grid;place-items:center;font-size:11px}.tabs{display:flex;justify-content:space-around;border-top:1px solid #eee;background:#fbfbfb;padding:11px 0 26px;flex-shrink:0;font-size:12px;color:#666}.tabs .active{color:#06c755;font-weight:700}.line-chat{background:#96ca86}.line-chat .bar{background:#fff}.bubble-area{padding:16px 13px 22px}.date-sep{text-align:center;margin:15px 0 21px}.date-sep span{background:#7cb86a;border-radius:25px;color:#fff;padding:6px 13px;font-size:12px}.msg-row{display:flex;align-items:flex-end;gap:7px;margin-bottom:13px}.msg-row.me{justify-content:flex-end}.msg-row .avatar{width:29px;height:29px}.bubble{padding:11px 13px;border-radius:19px;background:white;max-width:75%;font-size:15px;line-height:1.48;white-space:pre-wrap;overflow-wrap:anywhere}.msg-row.me .bubble{background:#fff392}.msg-time{font-size:10px;color:#517654;align-self:flex-end}.composer{background:#fff;display:flex;align-items:center;gap:10px;padding:11px 14px 26px;color:#888;flex-shrink:0}.composer .fakeinput{background:#f4f4f5;border-radius:24px;padding:10px 13px;flex:1;font-size:13px}.photos-grid,.ig-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}.photo-cell{aspect-ratio:1;border:0;padding:0;background:#e9eaed;overflow:hidden;cursor:pointer}.photo-cell img{width:100%;height:100%;object-fit:cover}.photo-date{font-size:13px;color:#888;padding:14px 17px 7px}.viewer{background:#070707;color:#fff}.viewer .bar{background:#080808;color:#fff;border:0}.viewer img{width:100%;height:100%;object-fit:contain}.viewer .back{color:#fff}.viewer-footer{display:flex;justify-content:space-around;padding:16px 0 32px}.ig-head{padding:16px}.ig-stats{display:flex;align-items:center;justify-content:space-between;gap:12px}.ig-stats .avatar{height:83px;width:83px}.stat{text-align:center;font-size:13px}.stat b{display:block;font-size:16px}.ig-bio{font-size:14px;line-height:1.5;white-space:pre-line;margin-top:10px}.ig-actions{display:flex;gap:8px;margin-top:13px}.ig-actions button{flex:1;background:#efeff1;border:0;border-radius:8px;padding:9px;font-weight:650}.ig-post{padding:0 0 15px}.ig-post img{display:block;width:100%;max-height:480px;object-fit:contain;background:#111}.ig-post .caption{padding:12px 15px;font-size:14px}.ig-post .date{color:#888;font-size:12px;padding:0 15px}.note-list{padding:2px 20px}.note-row{border-bottom:1px solid #e8e8ea;padding:17px 0;cursor:pointer}.note-row b{font-size:16px}.note-row p{margin:4px 0 0;color:#888;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.note-text{padding:23px;font-size:16px;line-height:1.7;white-space:pre-wrap}.note-edit{text-align:center;color:#999;font-size:12px;margin-top:10px}.month-header{font-size:23px;font-weight:700;text-align:center;margin:17px 0}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:0 13px}.day{display:grid;place-items:center;aspect-ratio:1;border:none;border-radius:50%;background:transparent;font-size:14px;cursor:pointer}.day.muted{color:#c4c4c4}.day.marked:after{content:"";width:4px;height:4px;background:#f04444;border-radius:50%;position:absolute;margin-top:28px}.day{position:relative}.day.chosen{background:#ef4242;color:#fff}.events{margin:20px 17px}.event{padding:12px;border-radius:12px;background:#f4f4f6;margin-bottom:8px;font-size:14px}.favorite{padding:15px;border-bottom:1px solid #ececee;display:flex;align-items:center;gap:15px}.favorite small{color:#888}.settings-row{padding:16px;border-bottom:1px solid #eee;background:white}.settings-section{margin:18px 13px;border-radius:14px;overflow:hidden}.settings-section .settings-row+.settings-row{border-top:1px solid #eee}.dim{color:#888;font-size:13px}.placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(130deg,#e6dde1,#b6c7c6);color:#656a6e}.camera-mock{flex:1;background:#111;color:white;display:grid;place-items:center;font-size:14px;text-align:center}.camera-button{width:68px;height:68px;border:5px solid #fff;border-radius:50%;background:#ddd}.pic{display:block}button{font-family:inherit}button:focus-visible{outline:2px solid #0a84ff;outline-offset:2px}@media(max-height:790px) and (min-width:600px){.device-frame{height:min(95dvh,844px);width:auto;aspect-ratio:390/844}}@media(max-width:450px){.stage{padding:0;background:#000}.device-frame{width:100vw;height:100dvh;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none}.screen{inset:0;border-radius:0}}
/* FINAL POLISH: iOS-like motion, glass and chat details */
.device-frame{border:3px solid #292d30;box-shadow:0 0 0 2px #777b7e,0 35px 95px rgba(0,0,0,.58)}
.screen{background:#fff}
.app-tile:active .appicon{transform:scale(.90)}
.appicon{transition:transform .14s ease;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04),0 5px 14px #0002}
.chat-row:active,.note-row:active{background:#f5f5f7}
.bubble-area{scroll-behavior:auto}
.line-chat .msg-row.them .bubble{border-bottom-left-radius:5px}
.line-chat .msg-row.me .bubble{border-bottom-right-radius:5px}
.line-chat .bar h2{font-size:17px}
.lock .lock-time{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion: reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Wallpaper / lockscreen separation + robust fallback */
.wallpaper{background-color:#282b36;background-repeat:no-repeat;background-position:center center;background-size:cover;}
.lock{background:linear-gradient(to bottom,rgba(0,0,0,.24),transparent 45%,rgba(0,0,0,.30))}
.pass{background:rgba(15,17,24,.48);backdrop-filter:blur(16px)}
.appicon.phone{width:61px;height:61px;border-radius:15px;border:0;box-shadow:0 3px 10px #0002;position:static;aspect-ratio:auto;overflow:hidden;}

/* Custom user-supplied icon images + Instagram post containment fixes */
.appicon .custom-app-icon{display:block;width:100%;height:100%;object-fit:cover;border-radius:15px;flex:none}
.ig-post .chat-row{min-width:0;overflow:hidden;gap:10px}
.ig-post .chat-row .avatar{width:36px;height:36px;min-width:36px;max-width:36px;object-fit:cover;border-radius:50%;flex:0 0 36px}
.ig-post .chat-row b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ig-post>.pic{width:100%;height:auto;max-height:470px;object-fit:contain}
.dm-image-button{padding:0;border:0;background:none;max-width:70%;width:185px;border-radius:15px;overflow:hidden;cursor:pointer;display:block}
.dm-image-button .dm-image{width:100%;height:auto;max-height:250px;object-fit:cover;display:block;border-radius:15px}
.dm-lightbox{position:absolute;inset:0;z-index:90;background:rgba(0,0,0,.95);display:flex;align-items:center;justify-content:center;padding:18px;cursor:zoom-out}
.dm-lightbox img{width:100%;max-height:85%;object-fit:contain}
.dm-lightbox-close{position:absolute;right:20px;top:55px;border:0;background:#333;color:white;border-radius:50%;font-size:26px;width:39px;height:39px;cursor:pointer}
/* TIM extensions — keep Pai phone's original design language */
.home{padding-top:63px}.home-widgets{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px;height:157px}.couple-widget,.spotify-widget{border:0;position:relative;border-radius:20px;overflow:hidden;background:#171c20;color:#fff;min-width:0}.couple-widget .widget-photo{width:100%;height:100%;object-fit:cover}.widget-caption{position:absolute;bottom:0;left:0;right:0;text-align:left;padding:23px 10px 10px;background:linear-gradient(transparent,#0008);font-size:11px;font-weight:650}.spotify-widget{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:19px;background:linear-gradient(145deg,#153d2a,#171917);cursor:pointer;text-align:left}.spotify-widget span{font-size:38px;color:#1ed760;line-height:1.1}.spotify-widget strong{font-size:23px}.spotify-widget small{font-size:11px;color:#c6d9cc;line-height:1.4}.home .app-grid{gap:18px 8px}.spotify-screen{background:#121212;color:#fff;padding:18px 16px 30px}.spotify-screen h1{font-size:24px;margin:12px 0}.spotify-screen p{font-size:13px;color:#b2b2b2}.playlist-list{display:grid;gap:9px;margin-top:20px}.playlist-tile{border:0;border-radius:9px;background:#292929;color:#fff;display:flex;align-items:center;text-align:left;gap:13px;padding:8px;cursor:pointer;min-height:79px}.playlist-cover{width:62px;height:62px;object-fit:cover;border-radius:5px;flex:none}.playlist-tile span{flex:1}.playlist-tile b,.playlist-tile small{display:block}.playlist-tile small{font-size:11px;color:#c6c6c6;margin-top:5px}.playlist-hero{width:100%;max-width:265px;aspect-ratio:1;object-fit:cover;display:block;margin:10px auto 22px;border-radius:5px;box-shadow:0 15px 32px #0009}.playlist-page h1{margin-bottom:5px}.song-list{margin-top:21px}.song{display:flex;align-items:center;gap:14px;border-bottom:1px solid #333;padding:14px 2px}.song-num{color:#aaa;font-size:13px;width:17px}.song>div{flex:1;min-width:0}.song b,.song small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.song b{font-size:14px}.song small{font-size:12px;color:#aaa;margin-top:4px}.song-dots{font-size:22px;color:#bbb}.playlist-footnote{margin-top:24px!important;font-size:11px!important;line-height:1.5}.files-screen{background:#f4f5fa}.file-heading{font-size:14px;color:#8b8e97;margin:22px 18px 10px}.folder-row,.file-row{background:#fff;border:0;border-bottom:1px solid #efeff2;display:flex;align-items:center;gap:14px;padding:14px 17px;text-align:left;width:100%;cursor:pointer;color:#1c1c1e}.folder-row>span{font-size:27px}.folder-row>b{flex:1;font-size:15px}.folder-row>small{font-size:11px;color:#888}.file-row span{flex:1;font-size:15px}.file-thumb{height:50px;width:55px;object-fit:cover;border-radius:6px}.file-preview{background:#181818;display:flex;flex-direction:column;align-items:center;justify-content:center}.file-full{width:100%;height:auto;max-height:78%;object-fit:contain}.preview-note{color:#aaa;font-size:11px;padding:18px;text-align:center}.comment-row{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;padding:7px 15px;font-size:13px;line-height:1.5}.comment-row span:first-child{overflow-wrap:anywhere}.comment-row span:last-child{color:#999}.chat-draft{width:100%;min-width:0;flex:1;border:0!important;outline:1px solid #ddd;background:#f4f4f5;border-radius:24px;padding:10px 13px;font-size:14px;color:#252529}.composer .draft-hint{font-size:13px}.composer .draft-send{color:#a7a7a7;cursor:not-allowed;opacity:.55}.live-notif{position:absolute;z-index:90;top:57px;left:11px;right:11px;width:calc(100% - 22px);padding:13px 15px;background:rgba(246,247,251,.95);color:#181b22;border:1px solid #ffffff88;border-radius:20px;text-align:left;box-shadow:0 8px 30px #0005;backdrop-filter:blur(18px);cursor:pointer;animation:notify-in .4s ease}.live-notif-head{display:flex;justify-content:space-between;font-size:11px;font-weight:700;margin-bottom:5px}.live-notif strong{font-size:13px}.live-notif div:last-child{font-size:13px;margin-top:4px}.screen{touch-action:pan-y}@keyframes notify-in{from{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:390px){.home-widgets{height:138px}.home{padding-top:58px}.home .app-grid{gap:13px 5px}.appicon{height:55px;width:55px}}
.bubble {
  white-space: pre-wrap;
}

/* TIM Instagram — private account until visitor taps Follow */
.ig-private-panel{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px 20px;color:#252529;}
.ig-private-lock{height:66px;width:66px;border:2px solid #252529;border-radius:50%;display:grid;place-items:center;font-size:31px;margin-bottom:12px;}
.ig-private-panel b{font-size:17px;}
.ig-private-panel p{font-size:13px;color:#85858a;line-height:1.45;margin:8px 0 19px;}
.ig-private-panel button{background:#0095f6;color:#fff;font-weight:700;border:0;padding:10px 30px;border-radius:9px;cursor:pointer;}
.ig-actions button[data-follow]{background:#0095f6;color:white;}


/* TIM — fictional iOS keyboard, works in LINE and Instagram DM */
.chat-draft{cursor:text}
.composer .draft-send{border:0;background:transparent;font-size:21px;padding:3px;cursor:pointer;color:#9ca3af}
.composer .draft-send.can-demo-send{color:#178aff;cursor:pointer}
.composer .draft-send.no-send{animation:demo-shake .3s ease}
.ios-keyboard{background:#d1d5de;flex:none;padding:4px 3px 24px;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.kb-toolbar{height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#5e6570;font-size:12px}
.kb-toolbar button{background:none;border:0;font-size:20px;color:#48515a}
.kb-row{display:flex;align-items:center;justify-content:center;gap:4px;margin:0 0 7px}
.kb-key{flex:1;min-width:0;height:40px;border:0;border-radius:5px;background:#fff;color:#1f2328;font-size:19px;box-shadow:0 1px 0 #9096a1;position:relative;cursor:pointer;padding:0;touch-action:manipulation}
.kb-key:active{background:#e7ebf1;transform:translateY(1px)}
.kb-key:not(.kb-special):not(.kb-space):active:after{content:attr(data-char);position:absolute;bottom:calc(100% - 1px);left:50%;transform:translateX(-50%);background:white;border-radius:9px 9px 4px 4px;min-width:42px;height:53px;display:grid;place-items:center;font-size:28px;box-shadow:0 -2px 10px #0003;z-index:99;pointer-events:none}
.kb-special{background:#aeb8c7;font-size:15px;flex:1.25}.kb-space{flex:5;font-size:14px}.kb-bottom .kb-special{flex:1.2}
.view:has(.ios-keyboard) .bubble-area{padding-bottom:10px}
.view:has(.ios-keyboard) .composer{padding-bottom:9px}
@keyframes demo-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
/* Instagram DM — blue dates, avatars and message alignment */

.ig-chat .date-sep span {
  background: #1686ff;
  color: white;
}

.ig-chat .date-sep {
  text-align: center;
}

.ig-chat .msg-row.them {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 7px;
}

/* Avatar on the left */
.ig-chat .msg-row.them > .avatar {
  order: 0;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  object-fit: cover;
}

/* Incoming message */
.ig-chat .msg-row.them > .bubble,
.ig-chat .msg-row.them > .dm-image-button {
  order: 1;
}

/* Time after message */
.ig-chat .msg-row.them > .msg-time {
  order: 2;
  margin-left: 2px;
  margin-right: 0;
  color: #808994;
}

/* Sent messages remain right-aligned */
.ig-chat .msg-row.me {
  justify-content: flex-end;
}
/* Instagram DM — soft grey chat background */
.ig-chat {
  background: #F2F3F7;
}

/* Chat area */
.ig-chat .bubble-area {
  background: #F2F3F7;
}

/* Incoming messages — white bubbles */
.ig-chat .msg-row.them .bubble {
  background: #FFFFFF;
  color: #1C1C1E;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Sent messages — soft blue bubbles */
.ig-chat .msg-row.me .bubble {
  background: #DCEBFF;
  color: #1C1C1E;
}

/* Keep header and typing area white */
.ig-chat .bar,
.ig-chat .composer {
  background: #FFFFFF;
}



/* ===========================
   TIM — SPOTIFY REDESIGN
   =========================== */

.spotify-app {
  background: #101010 !important;
  color: #fff !important;
}

.spotify-app .sp-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 51px;
  background: linear-gradient(170deg,#283529 0%,#171a17 28%,#101010 65%);
  color: white;
  overflow: hidden;
}

.spotify-app .sp-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  flex-shrink: 0;
}

.spotify-app .sp-profile,
.spotify-app .sp-owner-dot {
  display: grid;
  place-items: center;
  background: #d4b7ed;
  color: #161616;
  border-radius: 50%;
  font-weight: 750;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.spotify-app .sp-top strong {
  font-size: 23px;
  letter-spacing: -.5px;
}

.spotify-app .sp-top-icons {
  margin-left: auto;
  font-size: 25px;
}

.spotify-app .sp-chips {
  display: flex;
  gap: 8px;
  padding: 9px 16px 14px;
}

.spotify-app .sp-chip {
  border-radius: 25px;
  background: #292c29;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
}

.spotify-app .sp-chip.chosen {
  background: #1ed760;
  color: #111;
}

.spotify-app .sp-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 18px;
}

.spotify-app .sp-section {
  font-size: 21px;
  font-weight: 750;
  margin: 12px 0 14px;
}

.spotify-app .sp-feature {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: #24312b;
  color: white;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.spotify-app .sp-feature-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7);
}

.spotify-app .sp-feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,0,0,.85),rgba(0,0,0,.3));
}

.spotify-app .sp-feature-copy {
  position: absolute;
  bottom: 20px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotify-app .sp-feature-copy small {
  font-size: 10px;
  letter-spacing: 1px;
}

.spotify-app .sp-feature-copy b {
  font-size: 30px;
}

.spotify-app .sp-feature-copy span {
  font-size: 12px;
  color: #e5e9e5;
}

.spotify-app .sp-small-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  font-size: 19px;
}

.spotify-app .sp-small-section span {
  font-size: 11px;
  color: #b2b2b2;
  font-weight: 400;
}

.spotify-app .sp-list {
  display: grid;
  gap: 13px;
}

.spotify-app .sp-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 65px;
  background: transparent;
  color: white;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.spotify-app .sp-item-cover {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.spotify-app .sp-item-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}

.spotify-app .sp-item-text b {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-app .sp-item-text small {
  font-size: 12px;
  color: #a7ada7;
}

.spotify-app .sp-item-more {
  font-size: 23px;
  color: #b7b7b7;
}

.spotify-app .sp-bottom {
  height: 65px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #101010;
  padding-bottom: 10px;
}

.spotify-app .sp-bottom > span {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #9da29d;
  font-size: 23px;
}

.spotify-app .sp-bottom small {
  font-size: 10px;
}

.spotify-app .sp-bottom .selected {
  color: white;
}

/* Playlist detail */

.spotify-app .sp-playlist-shell {
  background: linear-gradient(170deg,#455142,#242d25 35%,#121212 75%);
}

.spotify-app .sp-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 19px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
}

.spotify-app .sp-return {
  background: none;
  border: 0;
  color: white;
  font-size: 35px;
  cursor: pointer;
}

.spotify-app .sp-art-backdrop {
  display: grid;
  place-items: center;
  padding: 15px 0 20px;
}

.spotify-app .sp-hero-cover {
  width: min(235px,75%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 14px 30px #0006;
}

.spotify-app .sp-playlist-info h1 {
  font-size: 28px;
  margin: 0 0 7px;
}

.spotify-app .sp-playlist-info p {
  font-size: 13px;
  color: #bbc1ba;
}

.spotify-app .sp-owner {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #c2c7c2;
}

.spotify-app .sp-owner strong {
  color: white;
}

.spotify-app .sp-owner-dot {
  width: 23px;
  height: 23px;
  font-size: 11px;
}

.spotify-app .sp-controls {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 25px;
  color: #aeb6ae;
  margin: 20px 0 14px;
}

.spotify-app .sp-play-deco {
  margin-left: auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #1ed760;
  color: #121212;
  border-radius: 50%;
  font-size: 21px;
}

.spotify-app .sp-track-list {
  display: grid;
  gap: 6px;
}

.spotify-app .sp-track {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 59px;
  padding: 7px 2px;
}

.spotify-app .sp-track-number {
  width: 16px;
  color: #aaa;
  font-size: 14px;
}

.spotify-app .sp-track-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.spotify-app .sp-track-info b {
  font-size: 14px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotify-app .sp-track-info small {
  font-size: 12px;
  color: #aeb2ae;
}

.spotify-app .sp-track-more {
  font-size: 24px;
  color: #aaa;
}
