/*
Theme Name: Maverick
Theme URI: https://example.invalid/maverick
Author: Maverick
Description: Prototype WordPress theme synchronized from the latest Maverick Desktop interface.
Version: 0.00.08
Text Domain: maverick
*/

/*--------------------------------------------------------------------------------
	GOOGLE FONT
---------------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*--------------------------------------------------------------------------------
	GLOBAL
---------------------------------------------------------------------------------*/
* {
	box-sizing:border-box;
	line-height:1.625;
	color:#656565;
	text-rendering:optimizeLegibility!important;hyphens:unset!important;font-family:"Barlow",Arial,sans-serif;font-weight:300;font-size:18px;font-style:unset;outline:unset;vertical-align:baseline;
	text-decoration:unset;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing: grayscale;
}


/*--------------------------------------------------------------------------------
	VARIABLES
---------------------------------------------------------------------------------*/
:root{
  --glass:rgba(7,61,95,.48);
  --glass-strong:rgba(8,72,110,.72);
  --border:rgba(168,226,255,.50);
  --text:#eaf9ff;
  --shadow:0 22px 60px rgba(0,25,48,.42);
  --app-height:100dvh;
}


/*--------------------------------------------------------------------------------
	BASE
---------------------------------------------------------------------------------*/
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;touch-action:pan-x pan-y}
body{
  position:fixed;top:0;left:0;
  margin:0;width:100%;height:var(--app-height,100dvh);overflow:hidden;
  overscroll-behavior:none;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 20%,rgba(120,211,255,.18),transparent 24%),
    radial-gradient(circle at 82% 74%,rgba(62,193,255,.14),transparent 30%),
    linear-gradient(135deg,#082f4b 0%,#0b527a 31%,#0a4368 65%,#061f35 100%);
}
body::before{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(80% 50% at 50% 110%,rgba(113,214,255,.12),transparent 70%),
    linear-gradient(180deg,rgba(140,224,255,.07),rgba(0,25,48,.16));
  pointer-events:none;
}


/*--------------------------------------------------------------------------------
	FONT AWESOME
---------------------------------------------------------------------------------*/
.fa-mask{
  display:block;width:1em;height:1em;background:currentColor;
  -webkit-mask:var(--fa-url) center/contain no-repeat;
  mask:var(--fa-url) center/contain no-repeat;
}


/*--------------------------------------------------------------------------------
	DESKTOP
---------------------------------------------------------------------------------*/
#desktop{
  position:absolute;inset:0;
  width:100%;height:calc(100% + 84px);overflow:hidden;
  padding-top:32px;
  -webkit-user-select:none;user-select:none;
  -webkit-touch-callout:none;
}
#desktop *{
  -webkit-user-select:none;user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
}
.desktop-icon,.dock-item,.window-control,[data-open],[data-toast],[data-close]{
  outline:none;touch-action:manipulation;
}


/*--------------------------------------------------------------------------------
	TOPBAR
---------------------------------------------------------------------------------*/
#topbar{
  position:absolute; top:0; left:0; right:0;
  display:flex; align-items:center; justify-content:space-between;
  padding:15px calc(8px + (mod(100vw - 16px, 88px) / 2));
  color:rgba(255,255,255,.92);
  text-shadow:0 1px 1px rgba(0,0,0,.45);
  background:linear-gradient(180deg,rgba(28,28,30,.78) 0%,rgba(18,18,20,.64) 55%,rgba(8,8,10,.56) 100%);
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(30px) saturate(180%) brightness(.82);
  -webkit-backdrop-filter:blur(30px) saturate(180%) brightness(.82);
  box-shadow:0 6px 18px -8px rgba(0,0,0,.55);
  z-index:1000;
}
.menu-left,.menu-right{display:flex;align-items:center;gap:18px}
.brand{
  width:20px;height:20px;display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;
  color:#fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.22));
}
.brand .fa-mask{width:18px;height:18px}
.status-pill{
  display:none;align-items:center;gap:7px;
  padding:3px 7px;border-radius:8px;
}
.status-icon{width:15px;height:15px;color:#fff}
.wifi{
width:16px;height:16px;color:#fff;display:none
}
#clock{white-space:nowrap;font-variant-numeric:tabular-nums}
.menu-left .hide-small{display:none}
#topbar *{color:#fff !important}
.brand .site-icon{display:block;width:20px;height:20px;object-fit:contain}


/*--------------------------------------------------------------------------------
	WELCOME
---------------------------------------------------------------------------------*/
#welcome{
  position:absolute; left:7vw; top:14vh;
  width:min(560px,70vw);
  padding:28px 30px;
  border:1px solid rgba(163,226,255,.45);
  background:rgba(8,70,106,.42);
  backdrop-filter:blur(28px) saturate(140%);
  -webkit-backdrop-filter:blur(28px) saturate(140%);
  border-radius:26px;
  box-shadow:0 22px 60px rgba(0,25,48,.38);
  z-index:2;
  visibility:hidden;opacity:0;pointer-events:none;
}
#welcome small{font-size:13px;letter-spacing:.1em;text-transform:uppercase;opacity:.72}
#welcome h1{font-size:clamp(34px,5vw,66px);line-height:.95;margin:11px 0 14px;letter-spacing:-.055em}
#welcome p{margin:0;max-width:460px;font-size:15px;line-height:1.55;color:rgba(223,247,255,.88)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.chip{
  padding:7px 11px;border-radius:999px;background:rgba(45,151,201,.20);
  border:1px solid rgba(161,226,255,.30);font-size:12px
}


/*--------------------------------------------------------------------------------
	ICON
---------------------------------------------------------------------------------*/
#icon{
  position:absolute;inset:0;
  z-index:5;pointer-events:none;
}
#placement-grid{
  position:absolute;display:grid;gap:0;pointer-events:none;z-index:0;
  border-left:1px dashed rgba(139,221,255,.32);
  border-top:1px dashed rgba(139,221,255,.32);
  opacity:.72;
}
.placement-cell{
  min-width:0;min-height:0;
  border-right:1px dashed rgba(139,221,255,.32);
  border-bottom:1px dashed rgba(139,221,255,.32);
}
.desktop-icon{
  position:absolute;left:0;top:0;width:86px;height:86px;text-align:center;cursor:grab;z-index:1;
  pointer-events:auto;touch-action:none;
  filter:none;
  transition:transform .34s cubic-bezier(.2,.8,.2,1),filter .18s ease;
  will-change:transform;
}
.desktop-icon:not(.layout-ready){visibility:hidden;transition:none}
.desktop-icon.is-dragging{
cursor:grabbing;z-index:30;transition:none;filter:none
}
.desktop-icon .icon-shape{
  width:54px;height:54px;position:absolute;
  left:50%;top:50%;margin:0;
  transform:translate(-50%,-50%);
  display:flex;align-items:center;justify-content:center;
  transition:.18s ease;overflow:hidden;
}
.desktop-icon.is-dragging .icon-shape{
transform:translate(-50%,-50%)
}
.desktop-icon > span{
  display:block;position:absolute;
  left:50%;top:calc(50% + 34px);
  width:max-content;max-width:86px;margin:0;
  transform:translateX(-50%);
  font-size:12px;font-weight:600;color:#dff7ff;
  text-shadow:none;
}
.icon-shape{
  width:54px;height:54px;margin:auto;position:relative;
  display:flex;align-items:center;justify-content:center;
  transition:.18s ease;overflow:hidden;
}
.desktop-fa{
width:29px;height:29px;color:#fff;filter:none
}
.app-icon-shape{
  border-radius:5px;
  box-shadow:none;
}
.folder{
  border-radius:5px;
  background:linear-gradient(180deg,#8dd3ff,#4398f8);
  box-shadow:none;
}
.drive{
  border-radius:5px;
  background:linear-gradient(180deg,#fcfcff,#bfc6d4);
  box-shadow:none;
}
.drive .desktop-fa{color:#3a4350}
.note{
  border-radius:5px;
  background:linear-gradient(180deg,#fff7a9,#ffd85b);
  box-shadow:none;
}
.note .desktop-fa{color:#8c6810}
.photo{
  border-radius:5px;
  background:conic-gradient(from 315deg at 50% 50%,#ff5c88,#ffb55d,#7be37a,#5fe0c2,#57bff7,#7d7cfb,#d26cf5,#ff5c88);
  box-shadow:none;
}


/*--------------------------------------------------------------------------------
	WINDOW
---------------------------------------------------------------------------------*/
.window{
  position:absolute;left:0;top:0;
  width:650px;height:365px;min-width:320px;min-height:250px;
  max-width:100%;max-height:100%;
  border-radius:10px;overflow:hidden;
  border:1px solid rgb(255 255 255 / 47%);
  background:rgb(78 144 187);
  color:#12364c;
  backdrop-filter:blur(30px) saturate(145%);
  -webkit-backdrop-filter:blur(30px) saturate(145%);
  opacity:1;pointer-events:auto;z-index:950;
}
.window.is-maximized{border-radius:0}
.window.is-closing{
  pointer-events:none;overflow:hidden;
  transition:left .36s cubic-bezier(.2,.8,.2,1),top .36s cubic-bezier(.2,.8,.2,1),width .36s cubic-bezier(.2,.8,.2,1),height .36s cubic-bezier(.2,.8,.2,1),opacity .36s ease,border-radius .36s ease;
}
.titlebar{
  height:44px;display:flex;align-items:center;gap:10px;padding:0 10px 0 14px;
  background:rgba(199,232,245,.88);border-bottom:1px solid rgba(7,76,111,.16);
  cursor:move;touch-action:none;
}
.window-title{font-size:13px;font-weight:650;color:#164a68;pointer-events:none}
.window-controls{margin-left:auto;display:flex;align-items:center;gap:6px}
.window-control{
  width:30px;height:28px;border:0;border-radius:8px;background:rgba(15,91,129,.10);
  color:#205b78;display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .15s ease,color .15s ease,transform .15s ease;
}
.window-control:hover{background:rgba(15,91,129,.19);transform:translateY(-1px)}
.window-control.close:hover{background:#d65d69;color:#fff}
.window-control .fa-mask{width:13px;height:13px}
.window-control .restore-icon{display:none}
.window.is-maximized .window-control .maximize-icon{display:none}
.window.is-maximized .window-control .restore-icon{display:block}
.window-body{height:calc(100% - 44px);padding:24px;overflow:auto;overscroll-behavior:contain}
.resize-handle{position:absolute;z-index:6;touch-action:none}
.resize-handle[data-resize="n"],.resize-handle[data-resize="s"]{left:10px;right:10px;height:10px;cursor:ns-resize}
.resize-handle[data-resize="n"]{top:-2px}.resize-handle[data-resize="s"]{bottom:-2px}
.resize-handle[data-resize="e"],.resize-handle[data-resize="w"]{top:10px;bottom:10px;width:10px;cursor:ew-resize}
.resize-handle[data-resize="e"]{right:-2px}.resize-handle[data-resize="w"]{left:-2px}
.resize-handle[data-resize="ne"],.resize-handle[data-resize="nw"],.resize-handle[data-resize="se"],.resize-handle[data-resize="sw"]{width:16px;height:16px}
.resize-handle[data-resize="ne"]{right:-2px;top:-2px;cursor:nesw-resize}
.resize-handle[data-resize="nw"]{left:-2px;top:-2px;cursor:nwse-resize}
.resize-handle[data-resize="se"]{right:-2px;bottom:-2px;cursor:nwse-resize}
.resize-handle[data-resize="sw"]{left:-2px;bottom:-2px;cursor:nesw-resize}
.window.is-maximized .resize-handle{display:none}


/*--------------------------------------------------------------------------------
	EXPLORER
---------------------------------------------------------------------------------*/
#files-window{border-radius:5px}
#files-window .window-control{background:transparent}
#files-window .window-control:hover{background:transparent}
#files-window .window-control.close:hover{color:#d65d69}
#files-window .window-body{box-shadow:inset 0 0 24px rgb(17 75 111 / 84%)}
#files-window .files{position:relative;min-height:100%}
#files-window .file-card{
  width:112px;height:112px;
  border:0;background:rgba(232,248,253,.80);border-radius:14px;
  padding:18px 12px
}
#files-window .file-card .icon-shape{
  position:relative;left:auto;top:auto;transform:none;
  margin:0 auto 10px
}
#files-window .file-card > span{
  position:static;width:auto;max-width:none;
  transform:none;color:inherit
}
#files-window .titlebar{position:relative}
#files-window .explorer-window-title{
  position:absolute;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none
}


/*--------------------------------------------------------------------------------
	APP ALERT
---------------------------------------------------------------------------------*/
.app-alert{
  position:fixed; inset:0; z-index:1200;
  display:flex; align-items:center; justify-content:center; padding:24px;
  background:rgba(2,25,42,.66);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
}
.app-alert-box{
  width:min(320px,100%); padding:22px;
  border:1px solid var(--border); border-radius:16px;
  background:rgba(205,237,248,.90); color:#12364c;
  box-shadow:0 22px 60px rgba(0,25,48,.44); text-align:center;
}
.app-alert-box h3{margin:0 0 8px;font-size:15px}
.app-alert-box p{margin:0 0 16px;font-size:13px;line-height:1.45}
.app-alert-box button{
  border:0;border-radius:10px;padding:9px 18px;
  background:rgba(7,66,99,.92);color:#f0fbff;font-size:13px;font-weight:600;cursor:pointer;
}


/*--------------------------------------------------------------------------------
	DOCK
---------------------------------------------------------------------------------*/
#dock{
  position:absolute;bottom:-200px;left:50%;transform:translateX(-50%);
  z-index:900;opacity:0;visibility:hidden;pointer-events:none;
}
.dock{
  display:flex;align-items:flex-end;gap:10px;
  padding:9px 11px;
  border-radius:20px;
  background:rgba(255,255,255,.21);
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 18px 48px rgba(20,19,54,.28);
  backdrop-filter:blur(28px) saturate(170%);
  -webkit-backdrop-filter:blur(28px) saturate(170%);
}
.dock-item{
  width:52px;height:52px;border-radius:13px;
  display:flex;align-items:center;justify-content:center;
  position:relative;cursor:pointer;
  transition:.16s ease;
  box-shadow:none;
}
.dock-item:hover{transform:translateY(-10px) scale(1.1)}
.dock-sep{width:1px;height:43px;background:rgba(255,255,255,.38);margin:0 2px}
.launcher{background:linear-gradient(145deg,#7dd5ff,#397dff)}
.browser{background:linear-gradient(145deg,#fff,#e7efff)}
.mail{background:linear-gradient(145deg,#69c6ff,#2b67ff)}
.music{background:linear-gradient(145deg,#ff8ac7,#e73773)}
.settings{background:linear-gradient(145deg,#d8dde7,#818a9b)}
.trash{background:linear-gradient(145deg,#eef1f7,#bdc5d2)}
.glyph{width:29px;height:29px;display:flex;align-items:center;justify-content:center;color:#fff}
.glyph .fa-mask{width:27px;height:27px}
.browser .glyph{color:#4589ff}
.settings .glyph{color:#fff}
.trash .glyph{color:#6f7886}


/*--------------------------------------------------------------------------------
	TOAST
---------------------------------------------------------------------------------*/
#toast{
  position:absolute;right:18px;top:48px;pointer-events:none;
  min-width:260px;padding:13px 15px;border-radius:15px;
  background:rgba(4,48,75,.72);border:1px solid rgba(154,224,255,.36);
  backdrop-filter:blur(22px);box-shadow:0 16px 45px rgba(0,24,42,.34);
  opacity:0;transform:translateY(-10px);transition:.2s;z-index:1200;
}
#toast.show{opacity:1;transform:translateY(0)}
#toast b{display:block;font-size:13px;margin-bottom:4px}
#toast span{font-size:12px;color:rgba(222,247,255,.84)}


/* Blueprint styling is integrated into the canonical rules above. */

/*--------------------------------------------------------------------------------
	RESPONSIVE
---------------------------------------------------------------------------------*/
@media (max-width:700px){
  .menu-left,.menu-right{gap:9px}
  .status-pill{gap:4px;padding:2px 4px}
  #welcome{left:20px;top:95px;width:calc(100vw - 120px);padding:22px}
  #welcome h1{font-size:38px}
  .menu-left .hide-small{display:none}
  .dock-item{width:44px;height:44px;border-radius:11px}
  .dock{gap:7px}
  .glyph{transform:scale(.82)}
  .window{min-width:280px;min-height:240px}
  .window-body{padding:18px}
  .files{grid-template-columns:repeat(2,minmax(0,1fr))}
}
