:root{
  color-scheme:dark;
  --bg:#0B0B0D;
  --side:#141416;
  --panel:#19191D;
  --selected:#29292F;
  --text:#EDEDF0;
  --muted:#94949C;
  --accent:#85BEB6;
  --line:#29292D;
  --player:128px;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP","Yu Gothic UI",sans-serif;
  font-size:14px;
  color:var(--text);
  background:var(--bg)
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
button,input,a{
  -webkit-tap-highlight-color:transparent
}
button,input{
  font:inherit
}
button{
  color:inherit;
  cursor:pointer;
  touch-action:manipulation
}
button:disabled{
  cursor:default;
  opacity:.35
}
button:focus-visible,input:focus-visible,a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px
}
button{
  border:0;
  background:none
}
svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
.sprite{
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}
[hidden]{
  display:none!important
}
.app-shell{
  height:100dvh;
  height:100vh;
  height:100dvh;
  display:grid;
  grid-template-columns:208px minmax(320px,1fr) 310px;
  grid-template-rows:minmax(0,1fr) calc(var(--player) + env(safe-area-inset-bottom));
  padding-top:env(safe-area-inset-top);
  padding-left:env(safe-area-inset-left);
  padding-right:env(safe-area-inset-right)
}
.sidebar{
  grid-row:1;
  background:var(--side);
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  min-height:0;
  overflow:auto
}
.brand{
  display:flex;
  align-items:center;
  gap:11px;
  padding:30px 21px 39px;
  font-size:18px;
  font-weight:650;
  letter-spacing:-.6px;
  white-space:nowrap
}
.brand span:not(.brand-icon){
  font-weight:400;
  color:#b3b9ba
}
.brand small{
  display:block;
  color:var(--muted);
  font-size:8px;
  letter-spacing:1.2px;
  margin-top:7px;
  font-weight:500
}
.brand-icon{
  display:grid;
  place-items:center;
  background:#223532;
  color:var(--accent);
  width:37px;
  height:39px;
  border-radius:12px
}
.brand-icon svg{
  width:23px;
  height:23px
}
.sidebar-label{
  padding:0 23px;
  margin-bottom:9px;
  font-size:11px;
  letter-spacing:.06em;
  color:var(--muted);
  font-weight:600
}
.sidebar nav{
  padding:0 10px
}
.nav-button{
  display:flex;
  gap:11px;
  align-items:center;
  width:100%;
  min-height:46px;
  padding:10px 13px;
  border-radius:7px;
  text-align:left;
  font-weight:500;
  overflow-wrap:anywhere
}
.nav-button svg{
  width:19px;
  height:19px;
  color:var(--muted)
}
.nav-button.active{
  background:var(--selected);
  color:var(--accent)
}
.nav-button.active svg{
  color:var(--accent)
}
.nav-button .folder-letter{
  display:grid;
  place-items:center;
  width:20px;
  height:23px;
  font-size:12px;
  border:1px solid #56565d;
  border-radius:4px;
  color:#c1c1c8
}
.categories-label{
  margin-top:31px
}
.path-nav{
  padding:0 12px;
  margin-top:18px;
  line-height:1.6
}
.path-label{
  padding:12px 12px 7px;
  font-size:11px;
  color:var(--muted)
}
.path-button{
  display:block;
  width:100%;
  text-align:left;
  padding:9px 12px;
  font-size:12px;
  color:#b3b3bc;
  border-left:1px solid var(--line);
  overflow-wrap:anywhere
}
.sidebar-bottom{
  display:flex;
  align-items:center;
  gap:7px;
  padding:24px 13px 19px 21px;
  margin-top:auto;
  min-height:86px;
  font-size:10px;
  color:var(--muted)
}
.connection-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#92959c;
  flex-shrink:0
}
.sidebar-bottom .icon-button{
  margin-left:auto;
  min-width:38px
}
.sidebar-bottom .icon-button svg{
  width:19px;
  height:19px
}
.sidebar-bottom.connected .connection-dot{
  background:var(--accent)
}
.icon-button{
  min-width:44px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  color:#c8c8cf
}
.icon-button:hover:not(:disabled){
  background:#ffffff09
}
.library-panel{
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column
}
.library-header{
  padding:23px 32px 20px
}
.location-row{
  display:flex;
  align-items:center;
  min-height:44px;
  gap:10px
}
.location-row>.icon-button:last-child{
  margin-left:auto
}
#breadcrumbs{
  display:flex;
  align-items:center;
  gap:4px;
  overflow-x:auto;
  min-width:0;
  white-space:nowrap
}
#breadcrumbs button{
  min-height:44px;
  color:var(--muted);
  font-size:12px;
  padding:7px 3px
}
#breadcrumbs button:last-child{
  color:var(--text)
}
#breadcrumbs svg{
  width:11px;
  height:11px;
  color:#606068;
  flex-shrink:0
}
.badge{
  font-size:9px;
  background:#222226;
  color:#b3b3bc;
  padding:5px 8px;
  border:1px solid #35353a;
  border-radius:5px;
  white-space:nowrap
}
.heading-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:19px
}
.eyebrow{
  font-size:11px;
  color:var(--muted);
  margin:0 0 8px;
  letter-spacing:.08em;
  font-weight:500
}
h1{
  font-size:29px;
  letter-spacing:-.6px;
  font-weight:650;
  margin:0;
  line-height:1.4;
  overflow-wrap:anywhere
}
.heading-row>.muted{
  font-size:11px;
  padding-bottom:6px;
  white-space:nowrap
}
.muted{
  color:var(--muted);
  font-size:12px;
  line-height:1.7
}
.library-scroll{
  overflow:auto;
  min-height:0;
  padding:7px 32px 24px;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#34343a transparent
}
.work-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:26px 21px;
  align-items:start
}
.work-card{
  display:flex;
  flex-direction:column;
  text-align:left;
  min-width:0;
  padding:0;
  border-radius:7px;
  position:relative
}
.art-container{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  width:100%;
  aspect-ratio:1;
  background:var(--panel);
  border:1px solid #ffffff06;
  border-radius:7px;
  overflow:hidden
}
.art-container>img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.folder-card .art-container{
  background:linear-gradient(145deg,#1d2225,#17191e);
  border:1px solid #33383d
}
.folder-card .art-container>.folder-art{
  width:57px;
  height:57px;
  stroke-width:1.1;
  color:#748b88
}
.folder-card .art-container:after{
  content:'フォルダ';
  position:absolute;
  bottom:17px;
  color:#858f92;
  font-size:10px;
  letter-spacing:.06em
}
.folder-card .art-container>.folder-art{
  transform:translateY(-7px)
}
.work-card.selected .art-container{
  outline:2px solid var(--accent);
  outline-offset:3px
}
.work-card.selected>.card-title{
  color:var(--accent)
}
.card-title{
  display:block;
  margin-top:12px;
  font-size:12px;
  font-weight:550;
  line-height:1.55;
  overflow-wrap:anywhere;
  width:100%;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}
.card-subtitle{
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:5px;
  line-height:1.4
}
.art-container>.cover-fallback{
  width:48px;
  height:48px;
  color:#76767e
}
.art-container.loading:after{
  content:'読込中';
  font-size:10px;
  position:absolute;
  bottom:15px;
  color:var(--muted)
}
.sample-notice{
  font-size:10px;
  line-height:1.8;
  color:#777780;
  margin:33px 0 0
}
.library-message{
  padding:14px 20px;
  margin:0 32px 15px;
  border-radius:7px;
  background:#252126;
  color:#dccbc8;
  font-size:12px;
  line-height:1.8
}
.library-message button{
  display:block;
  min-height:44px;
  color:var(--accent);
  padding-left:0
}
.detail-panel{
  background:#121214;
  border-left:1px solid var(--line);
  min-height:0;
  display:flex;
  flex-direction:column;
  min-width:0
}
.detail-top{
  padding:28px 23px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
  letter-spacing:.08em;
  min-height:63px
}
.detail-top .icon-button{
  margin:-10px -9px -10px 0
}
#detail-close{
  display:none
}
.detail-content{
  overflow:auto;
  padding:1px 24px 24px;
  min-height:0;
  scrollbar-width:thin;
  scrollbar-color:#34343a transparent
}
.detail-cover{
  width:100%;
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  overflow:hidden;
  background:var(--panel)
}
.detail-cover img{
  height:100%;
  width:100%;
  object-fit:contain
}
.detail-cover>.cover-fallback{
  width:67px;
  height:67px;
  color:#66666f
}
.detail-title{
  font-size:20px;
  font-weight:600;
  line-height:1.5;
  margin:20px 0 5px;
  overflow-wrap:anywhere
}
.detail-count{
  color:var(--muted);
  font-size:11px;
  margin:0 0 21px
}
.primary-button{
  min-height:45px;
  background:var(--accent);
  border-radius:7px;
  color:#102220;
  font-size:12px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 18px
}
.primary-button>svg{
  fill:currentColor;
  stroke-width:.7;
  width:17px;
  height:17px
}
.detail-play{
  width:100%;
  margin-bottom:25px
}
.track-heading{
  color:var(--muted);
  font-size:10px;
  margin:0;
  padding:0 0 11px;
  border-bottom:1px solid var(--line);
  font-weight:500
}
.track-list{
  padding:0;
  margin:0;
  list-style:none
}
.track-button{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:57px;
  width:100%;
  text-align:left;
  padding:11px 0;
  border-bottom:1px solid #242428;
  font-size:11px;
  line-height:1.5
}
.track-number{
  width:17px;
  color:#777780;
  font-size:11px;
  text-align:center;
  flex-shrink:0
}
.track-name{
  min-width:0;
  overflow-wrap:anywhere;
  flex:1
}
.track-format{
  font-size:8px;
  color:#777780;
  flex-shrink:0
}
.track-button.active{
  color:var(--accent)
}
.track-button.active .track-number{
  color:var(--accent)
}
.track-button.active .track-number svg{
  width:13px;
  height:13px;
  fill:currentColor
}
.track-button:disabled{
  opacity:.48
}
.detail-empty{
  margin:97px 0;
  text-align:center;
  color:var(--muted)
}
.detail-empty>svg{
  width:55px;
  height:55px;
  stroke-width:1;
  color:#66676f
}
.detail-empty>h2{
  font-size:13px;
  color:#b7b7bf;
  margin:23px 0 13px;
  font-weight:500
}
.detail-empty>p{
  font-size:11px;
  line-height:1.9
}
.player-bar{
  grid-column:1/-1;
  grid-row:2;
  border-top:1px solid #34343a;
  background:#19191d;
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(260px,1.5fr) minmax(190px,1fr);
  align-items:center;
  gap:26px;
  padding:13px 25px calc(13px + env(safe-area-inset-bottom));
  position:relative;
  z-index:20
}
.now-playing{
  display:flex;
  align-items:center;
  min-width:0;
  padding:0;
  text-align:left;
  gap:12px
}
.mini-cover{
  width:55px;
  height:55px;
  flex-shrink:0;
  background:#26262d;
  border-radius:5px;
  overflow:hidden;
  display:grid;
  place-items:center;
  color:#909098
}
.mini-cover img{
  width:100%;
  height:100%;
  object-fit:cover
}
.now-text{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0
}
.now-text strong{
  font-size:12px;
  font-weight:550;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.now-text>span{
  font-size:10px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.playback{
  min-width:0
}
.transport{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:17px;
  margin-top:-1px
}
.transport .icon-button{
  min-height:44px
}
.transport .icon-button svg{
  width:18px;
  height:18px;
  fill:currentColor;
  stroke-width:1.4
}
.play-button{
  display:grid;
  place-items:center;
  min-width:44px;
  height:44px;
  border-radius:50%;
  background:#e5e5e9;
  color:#18181d
}
.play-button svg{
  width:18px;
  height:18px;
  fill:currentColor;
  stroke-width:1.6
}
.play-button:has(use[href="#i-pause"]) svg{
  fill:none;
  stroke-width:3.5
}
.seek-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:5px
}
.seek-row>span{
  color:#aaaab3;
  font-size:9px;
  min-width:27px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums
}
.seek-row>span:last-child{
  text-align:right
}
input[type=range]{
  appearance:none;
  -webkit-appearance:none;
  height:24px;
  background:transparent;
  cursor:pointer;
  min-width:0;
  margin:0;
  touch-action:pan-y
}
input[type=range]::-webkit-slider-runnable-track{
  height:3px;
  border-radius:2px;
  background:#55555e
}
input[type=range]::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;
  background:#dedee4;
  width:11px;
  height:11px;
  border-radius:50%;
  margin-top:-4px
}
input[type=range]::-moz-range-track{
  height:3px;
  background:#55555e
}
input[type=range]::-moz-range-thumb{
  background:#dedee4;
  width:11px;
  height:11px;
  border:0;
  border-radius:50%
}
#seek{
  width:100%;
  height:44px
}
.player-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px
}
.volume-control{
  display:flex;
  align-items:center;
  gap:10px
}
.volume-control svg{
  width:18px;
  height:18px;
  color:#b4b4be
}
.volume-control input{
  width:75px;
  min-height:44px
}
.device-volume{
  font-size:9px;
  color:var(--muted);
  line-height:1.5
}
.sleep-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:44px;
  min-height:44px;
  color:#b6b6c1;
  font-size:10px
}
.sleep-button.active{
  color:var(--accent)
}
.sleep-button svg{
  width:20px;
  height:20px
}
.modal{
  color:var(--text);
  background:#19191d;
  border:1px solid #39393f;
  border-radius:15px;
  padding:29px;
  max-width:calc(100vw - 32px);
  width:470px;
  max-height:85dvh;
  box-shadow:0 20px 90px #0008
}
.modal::backdrop{
  background:#0009;
  backdrop-filter:blur(6px)
}
.modal-heading{
  display:flex;
  gap:15px;
  justify-content:space-between;
  align-items:center
}
.modal h2{
  font-size:22px;
  font-weight:600;
  letter-spacing:-.5px;
  margin:0
}
.modal p{
  font-size:12px;
  color:#a3a3ad;
  line-height:1.9;
  margin:21px 0
}
.modal label[for=root-url]{
  font-size:11px;
  color:#c1c1ca;
  display:block;
  margin:22px 0 9px
}
.modal input[type=url]{
  width:100%;
  min-height:46px;
  padding:10px 11px;
  background:#101013;
  border:1px solid #414149;
  border-radius:6px;
  color:var(--text);
  font-size:12px
}
.modal .primary-button,.modal .secondary-button{
  width:100%
}
.secondary-button{
  min-height:45px;
  border:1px solid #414149;
  border-radius:7px;
  padding:10px 15px;
  font-size:12px;
  background:#222227
}
.modal-divider{
  display:flex;
  align-items:center;
  gap:14px;
  color:#7e7e87;
  font-size:10px;
  margin:22px 0
}
.modal-divider:before,.modal-divider:after{
  content:'';
  height:1px;
  background:#35353d;
  flex:1
}
.modal .modal-note{
  font-size:10px;
  margin-bottom:0
}
.modal .connection-status{
  font-size:11px;
  color:#d9bfb4;
  margin:10px 0 15px;
  min-height:16px
}
.sleep-options{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:26px 0
}
.sleep-options button{
  border:1px solid #42424b;
  border-radius:7px;
  min-height:49px;
  background:#222227;
  font-size:13px
}
.sleep-options button.active{
  border-color:var(--accent);
  color:var(--accent);
  background:#22312f
}
.check-row{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  line-height:1.7;
  min-height:44px
}
.check-row input{
  accent-color:var(--accent);
  width:17px;
  height:17px
}
.modal .sleep-caution{
  font-size:10px;
  color:#92929d
}
.modal .sleep-status{
  color:var(--accent);
  font-size:12px
}
.menu-button{
  display:none
}
.toast{
  position:fixed;
  bottom:calc(var(--player) + env(safe-area-inset-bottom) + 15px);
  left:50%;
  transform:translateX(-50%);
  max-width:calc(100vw - 30px);
  padding:13px 20px;
  background:#353038;
  border:1px solid #59525c;
  color:#f2e9e9;
  border-radius:8px;
  z-index:100;
  font-size:12px;
  box-shadow:0 6px 25px #0007
}
.update-banner{
  position:fixed;
  top:calc(12px + env(safe-area-inset-top));
  left:50%;
  transform:translateX(-50%);
  max-width:90vw;
  background:#26332f;
  border:1px solid #57746b;
  border-radius:9px;
  padding:10px 15px;
  display:flex;
  align-items:center;
  gap:10px;
  z-index:70;
  font-size:11px
}
.update-banner button{
  min-height:44px;
  color:#caeee5;
  white-space:nowrap
}
.sidebar-backdrop{
  position:fixed;
  inset:0;
  background:#0008;
  z-index:35
}

@media(min-width:1450px){
  .app-shell{
  grid-template-columns:230px minmax(380px,1fr) 345px
}
.work-grid{
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:30px 27px
}
.library-header{
  padding-left:39px;
  padding-right:39px
}
.library-scroll{
  padding-left:39px;
  padding-right:39px
}
.detail-content{
  padding:1px 29px 29px
}
.detail-top{
  padding-left:29px;
  padding-right:29px
}

}

@media(max-width:1100px){
  .app-shell{
  grid-template-columns:185px minmax(280px,1fr) 265px
}
.brand{
  padding-left:15px;
  gap:8px;
  font-size:16px
}
.brand small{
  font-size:7px;
  letter-spacing:.8px
}
.brand-icon{
  width:32px
}
.library-header{
  padding:18px 22px
}
.library-scroll{
  padding:5px 22px 25px
}
.work-grid{
  grid-template-columns:repeat(auto-fill,minmax(135px,1fr));
  gap:22px 17px
}
.detail-content{
  padding-left:20px;
  padding-right:20px
}
.detail-top{
  padding-left:20px;
  padding-right:20px
}
.player-bar{
  gap:14px;
  padding-left:18px;
  padding-right:18px;
  grid-template-columns:minmax(170px,1fr) minmax(220px,1.4fr) minmax(135px,.7fr)
}
.volume-control input{
  width:50px
}
.player-tools{
  gap:8px
}
.now-text strong{
  font-size:11px
}
.mini-cover{
  height:48px;
  width:48px
}
.library-message{
  margin-left:22px;
  margin-right:22px
}
.heading-row>.muted{
  font-size:10px
}

}

@media(max-width:940px){
  .app-shell{
  grid-template-columns:190px minmax(0,1fr)
}
.detail-panel{
  display:none;
  position:fixed;
  z-index:30;
  top:env(safe-area-inset-top);
  right:env(safe-area-inset-right);
  bottom:calc(var(--player) + env(safe-area-inset-bottom));
  width:min(370px,calc(100vw - 20px));
  box-shadow:-15px 0 60px #0009
}
.detail-panel.open{
  display:flex
}
#detail-close{
  display:flex
}
.work-grid{
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr))
}
.player-bar{
  grid-template-columns:minmax(120px,1fr) minmax(200px,1.8fr) 55px;
  gap:12px
}
.volume-control,.device-volume{
  display:none!important
}
.now-playing{
  gap:8px
}
.now-text>span{
  font-size:9px
}
.player-tools{
  justify-content:center
}
.sleep-button{
  flex-direction:column;
  gap:0
}
.sleep-button svg{
  width:19px;
  height:19px
}

}

@media(max-width:640px){
  :root{
  --player:156px
}
.app-shell{
  grid-template-columns:minmax(0,1fr)
}
.sidebar{
  display:none;
  position:fixed;
  z-index:40;
  top:env(safe-area-inset-top);
  left:env(safe-area-inset-left);
  bottom:calc(var(--player) + env(safe-area-inset-bottom));
  width:240px;
  box-shadow:20px 0 60px #0009
}
.sidebar.open{
  display:flex
}
.menu-button{
  display:inline-flex
}
.library-header{
  padding:10px 18px 18px
}
.heading-row{
  margin-top:10px
}
h1{
  font-size:25px
}
.library-scroll{
  padding:5px 18px 20px
}
.work-grid{
  gap:21px 16px;
  grid-template-columns:repeat(auto-fill,minmax(130px,1fr))
}
.player-bar{
  grid-template-columns:minmax(0,1fr) 55px;
  grid-template-rows:43px 87px;
  padding:9px 17px calc(9px + env(safe-area-inset-bottom));
  gap:2px 8px
}
.now-playing{
  grid-row:1;
  grid-column:1
}
.mini-cover{
  height:38px;
  width:38px
}
.now-text{
  gap:4px
}
.now-text strong{
  font-size:11px
}
.player-tools{
  grid-row:1;
  grid-column:2
}
.playback{
  grid-row:2;
  grid-column:1/-1
}
.transport{
  gap:28px
}
.seek-row{
  margin-top:1px
}
.seek-row input{
  height:44px
}
.sleep-button{
  flex-direction:row
}
.modal{
  padding:23px
}
.modal h2{
  font-size:20px
}
.library-message{
  margin-left:18px;
  margin-right:18px
}
.detail-panel{
  width:min(360px,calc(100vw - 15px))
}
.update-banner{
  font-size:10px;
  gap:4px;
  padding:5px 10px
}
.update-banner>span{
  max-width:150px
}
.badge{
  font-size:8px
}

}

@media(prefers-reduced-motion:no-preference){
  button{
  transition:background .12s,color .12s
}
.work-card .art-container{
  transition:outline-color .12s
}

}


.detail-browse {
  width: 100%;
  margin-bottom: 22px;
}
