*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:root{
  --bg1:#08142e;
  --bg2:#122551;
  --cream:#f7ecd8;
  --cream2:#f3e0be;
  --line:#d1a26d;
  --tile-size:58px;
  --panel:#0c1430;
}
html,body{
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden;
  font-family:Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at 50% 14%, rgba(80,130,210,.28), transparent 30%),
    linear-gradient(180deg, var(--bg2), var(--bg1) 56%, #071120);
  color:#fff;
  user-select:none;
  touch-action:manipulation;
  overscroll-behavior:none;
}
body::before{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(circle at 15% 76%, rgba(31,150,91,.16), transparent 18%),
    radial-gradient(circle at 82% 82%, rgba(24,130,52,.19), transparent 22%),
    radial-gradient(circle at 16% 26%, rgba(255,255,255,.07), transparent 2%),
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.05), transparent 2%);
  pointer-events:none;
}
button,input,select,textarea{
  touch-action:manipulation;
  font:inherit;
}
#app{width:100vw;height:100vh}
.screen{display:none;width:100%;height:100%}
.screen.active{display:block}

/* Home */
.home-card{
  width:min(520px,90vw);
  background:linear-gradient(180deg, rgba(15,24,58,.96), rgba(8,15,37,.96));
  border:2px solid rgba(255,255,255,.12);
  border-radius:28px;
  padding:32px 24px;
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  box-shadow:0 25px 60px rgba(0,0,0,.35);
}
.home-logo{
  width:88px;height:88px;border-radius:24px;margin:0 auto 14px;
  display:grid;place-items:center;
  background:linear-gradient(180deg,#ffd979,#ffaf24);
  color:#3a2300;font-size:50px;font-weight:700;
  box-shadow:0 12px 26px rgba(255,190,50,.3);
}
.home-card h1{margin:0;font-size:42px;letter-spacing:2px;color:#ffe09c}
.home-card p{margin:10px 0 22px;color:#dbe6ff;font-weight:700;font-size:20px}
.home-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn{
  border:none;border-radius:16px;padding:14px 22px;cursor:pointer;font-weight:800;
  min-width:180px;
}
.btn.primary{background:linear-gradient(180deg,#ffd470,#fca71c);color:#482800}
.btn.secondary{background:#203865;color:white;border:1px solid rgba(255,255,255,.15)}

.top-simple{
  display:grid;grid-template-columns:60px 1fr 60px;align-items:center;
  padding:16px 20px 8px;
}
.top-simple h2{text-align:center;margin:0;color:#ffe1a2;letter-spacing:1px}
.circle-btn{
  width:48px;height:48px;border:none;border-radius:50%;
  background:rgba(255,255,255,.1);color:white;font-size:24px;cursor:pointer
}
.level-grid{
  height:calc(100vh - 76px);
  overflow:auto;padding:12px 18px 24px;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:12px;
}
.level-item{
  border:none;border-radius:18px;padding:12px 6px;cursor:pointer;font-weight:800;
  background:linear-gradient(180deg,#f2dfb7,#ddb87e);color:#4d2d0d;
  min-height:76px;box-shadow:inset 0 0 0 2px #b78040, 0 6px 16px rgba(0,0,0,.2)
}
.level-item.locked{opacity:.42;filter:grayscale(1);cursor:not-allowed}
.level-item.current{outline:3px solid #6fd0ff}
.level-item.done{background:linear-gradient(180deg,#b8f0bb,#67ca73)}
.level-item small{display:block;margin-top:6px;font-size:11px}

/* Game */
.game-shell{
  width:100%;
  height:100%;
  display:grid;
  grid-template-columns:132px 1fr 96px;
  gap:10px;
  padding:10px 10px 10px;
}
.side{
  position:relative;
  min-height:0;
}
.left-side{
  display:flex;flex-direction:column;align-items:center;
  padding-top:4px;
}
.close-float{
  align-self:flex-start;
  width:44px;height:44px;border:none;border-radius:50%;
  background:rgba(255,255,255,.92);color:#1f1f1f;font-size:28px;font-weight:700;cursor:pointer
}
.score-pill{
  margin-top:8px;
  width:98px;height:46px;border-radius:24px;
  background:linear-gradient(180deg,#5e3916,#3f2108);
  border:2px solid #a67a45;
  display:grid;place-items:center;
}
.score-pill span{font-size:36px;font-weight:900}
.level-text{
  margin-top:10px;font-size:18px;font-weight:900;letter-spacing:1px;
}
.level-text span{font-size:26px;color:#ffecb8}
.lives-wrap{margin-top:24px;text-align:center}
.heart-big{font-size:64px;line-height:1}
.lives-text{margin-top:-6px;font-size:28px;font-weight:900;color:#ffd9dd}
.tool-round{
  position:relative;
  width:78px;height:78px;border-radius:50%;
  margin-top:26px;
  border:4px solid rgba(0,0,0,.22);cursor:pointer;
  display:grid;place-items:center;
  color:white;font-size:48px;font-weight:900;
}
.tool-round.blue{background:linear-gradient(180deg,#6fd6ff,#2689ff)}
.tool-round small{
  position:absolute;right:-2px;bottom:-4px;
  min-width:28px;height:28px;border-radius:50%;padding:3px 6px;
  display:grid;place-items:center;
  background:#f8f0df;color:#4c2d12;font-size:14px;border:2px solid #b87f39
}
.tool-stack{margin-top:20px;display:grid;gap:12px}
.tool-rect{
  width:82px;height:82px;border:none;border-radius:22px;cursor:pointer;
  font-size:38px;font-weight:900;color:#fff;position:relative;
  border:4px solid rgba(0,0,0,.22)
}
.tool-rect.gray{background:linear-gradient(180deg,#eadfcd,#b1b1a9);color:#3a3a3a}
.tool-rect.green{background:linear-gradient(180deg,#85ea79,#3dbb54)}
.tool-rect small{
  position:absolute;right:4px;bottom:2px;font-size:14px;color:#5a2f10;background:#fff6df;border-radius:12px;padding:2px 6px
}
.difficulty-box{
  margin-top:auto;
  width:126px;
  padding:12px 10px;
  background:rgba(10,19,47,.72);
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  font-size:12px;
  color:#f3f7ff;
}
.diff-line{margin:6px 0}
.center-board{
  display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;
}
.board-frame{
  position:relative;
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  padding:4px;
}
.board{
  position:relative;
  display:grid;
  gap:2px;
  padding:4px;
  border-radius:14px;
  background:rgba(0,0,0,.04);
  max-width:100%;
  max-height:100%;
  align-content:center;
  justify-content:center;
}
.tile{
  width:var(--tile-size);height:var(--tile-size);
  border:none;border-radius:9px;
  background:linear-gradient(180deg,var(--cream),#f4e1bf);
  box-shadow:inset 0 0 0 2px var(--line), 0 1px 0 rgba(255,255,255,.5);
  display:grid;place-items:center;
  overflow:hidden;
  cursor:pointer;
  transition:transform .12s ease, filter .12s ease, opacity .18s ease;
}
.tile:hover{filter:brightness(1.03)}
.tile.selected{
  transform:scale(.93);
  box-shadow:inset 0 0 0 4px #26a8ff, 0 0 0 3px rgba(38,168,255,.22);
}
.tile.hint{animation:hintPulse .55s infinite alternate; box-shadow:inset 0 0 0 4px #ffd536}
.tile.removed{visibility:hidden;pointer-events:none}
.tile.blocked{
  background:linear-gradient(180deg,#8d7a66,#695543);
  box-shadow:inset 0 0 0 2px #4f3d2c;
  cursor:default;
}
.tile img{
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
  transform:scale(1.48);
  transform-origin:center center;
  image-rendering:auto;
}
.tile.blocked .rock{
  font-size:28px;color:#eadab9
}
@keyframes hintPulse{from{transform:scale(1)}to{transform:scale(.9)}}
.line-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.right-side{
  display:flex;flex-direction:column;align-items:center;padding-top:10px
}
.pause-btn{
  width:64px;height:64px;border-radius:50%;border:none;cursor:pointer;
  background:linear-gradient(180deg,#f6e2b3,#dcb16a);color:#7a4d0a;font-size:30px;font-weight:900
}
.flash-btn{
  margin-top:18px;
  width:74px;height:118px;border:none;background:none;position:relative;cursor:pointer
}
.flash-main{
  position:absolute;left:50%;top:38px;transform:translateX(-50%);
  width:62px;height:62px;border-radius:50%;
  background:linear-gradient(180deg,#ffd35f,#ff9700);
  display:grid;place-items:center;
  color:white;font-size:46px;font-weight:900;
  box-shadow:0 0 0 4px #d67400 inset, 0 0 28px rgba(255,205,69,.42)
}
.flash-plus{
  position:absolute;left:50%;top:88px;transform:translateX(-50%);
  color:white;font-size:18px;font-weight:900
}
.flash-tv{
  position:absolute;left:10px;top:0;font-size:30px
}
.time-meter{
  margin-top:24px;
  width:32px;flex:1;min-height:240px;max-height:440px;
  border-radius:22px;
  background:rgba(255,255,255,.15);
  padding:4px;
  display:flex;align-items:flex-end;
  border:2px solid rgba(255,255,255,.22)
}
.time-fill{
  width:100%;height:100%;border-radius:20px;
  background:linear-gradient(180deg,#99ff00 0%, #ffe900 35%, #ff9800 60%, #ff2e2e 100%);
}
.clock-cap{
  margin-top:10px;
  width:60px;height:60px;border-radius:50%;
  background:linear-gradient(180deg,#ffd36a,#e59b2f);
  display:grid;place-items:center;
  color:#7a4101;font-size:28px;border:3px solid #b77013
}
.time-text{text-align:center;margin-top:8px}
.time-text strong{font-size:30px;color:#ffe9bd}

.overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.62);
  display:grid;place-items:center;padding:20px;z-index:50
}
.overlay.hidden{display:none}
.modal-card{
  width:min(420px,92vw);
  background:linear-gradient(180deg,#102149,#0a1531);
  border-radius:24px;padding:22px;
  border:2px solid rgba(255,255,255,.12);
  text-align:center;color:white;
}
.modal-card.compact{width:min(360px,92vw)}
.modal-icon{font-size:54px}
.modal-card h3{margin:10px 0 8px;color:#ffdd8f;font-size:28px}
.modal-card p{margin:0 0 10px}
.modal-detail{background:rgba(255,255,255,.05);padding:10px;border-radius:14px;margin:12px 0 16px;line-height:1.6}
.modal-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.modal-actions.vertical{flex-direction:column}

/* Landscape mobile */
@media (max-width: 980px){
  .game-shell{
    grid-template-columns:84px 1fr 72px;
    gap:4px;padding:6px 3px;
  }
  .score-pill{width:78px;height:38px}
  .score-pill span{font-size:28px}
  .level-text{font-size:12px}.level-text span{font-size:18px}
  .heart-big{font-size:46px}.lives-text{font-size:20px}
  .tool-round{width:58px;height:58px;font-size:34px}
  .tool-rect{width:60px;height:60px;font-size:28px;border-radius:18px}
  .difficulty-box{width:84px;font-size:9px;padding:8px}
  .pause-btn{width:52px;height:52px;font-size:22px}
  .flash-btn{width:60px;height:98px}
  .flash-main{width:48px;height:48px;font-size:34px;top:34px}
  .flash-plus{top:72px;font-size:14px}
  .flash-tv{font-size:24px}
  .clock-cap{width:48px;height:48px;font-size:22px}
  .time-text strong{font-size:24px}
}

/* Portrait phone: board must fit, not too big */
@media (max-width: 720px) and (orientation: portrait){
  .game-shell{
    height:100%;
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr) auto;
    gap:6px;
    padding:6px;
  }
  .left-side,.right-side{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:8px;
    padding:0;
  }
  .left-side{order:1}
  .center-board{order:2; min-height:0}
  .right-side{order:3}
  .close-float{position:static}
  .score-pill,.level-text,.lives-wrap,.tool-stack,.difficulty-box{margin:0}
  .tool-stack{display:flex}
  .difficulty-box{width:auto; min-width:140px}
  .lives-wrap{display:flex;align-items:center;gap:4px}
  .heart-big{font-size:34px}
  .lives-text{margin:0;font-size:18px}
  .time-meter{
    width:min(90vw,280px);
    height:24px;
    min-height:auto; max-height:none;
    padding:4px;
    align-items:center;
  }
  .time-fill{width:100%;height:100%}
  .board{padding:6px}
  .home-card h1{font-size:34px}
}

/* Landscape phone/tablet optimized play */
@media (max-height: 540px) and (orientation: landscape){
  .game-shell{
    grid-template-columns:70px 1fr 62px;
    gap:3px;
    padding:3px;
  }
  .close-float{width:38px;height:38px;font-size:24px}
  .score-pill{width:68px;height:32px;margin-top:6px}
  .score-pill span{font-size:24px}
  .level-text{font-size:10px;margin-top:6px}
  .level-text span{font-size:16px}
  .lives-wrap{margin-top:12px}
  .heart-big{font-size:36px}
  .lives-text{font-size:16px}
  .tool-round{width:48px;height:48px;font-size:26px;margin-top:10px}
  .tool-round small{min-width:22px;height:22px;font-size:11px}
  .tool-stack{margin-top:10px;gap:8px}
  .tool-rect{width:50px;height:50px;font-size:22px;border-radius:14px}
  .tool-rect small{font-size:10px}
  .difficulty-box{width:74px;font-size:8px;padding:6px}
  .pause-btn{width:44px;height:44px;font-size:18px}
  .flash-btn{width:50px;height:82px;margin-top:10px}
  .flash-main{width:42px;height:42px;top:28px;font-size:30px}
  .flash-plus{top:60px;font-size:12px}
  .flash-tv{font-size:20px}
  .time-meter{min-height:140px;max-height:220px;width:24px;margin-top:12px}
  .clock-cap{width:38px;height:38px;font-size:18px}
  .time-text strong{font-size:18px}
  .time-text{font-size:10px}
  .board-frame{padding:0}
}


/* V4 touch responsiveness */
.tile{
  position:relative;
  min-width:28px;
  min-height:28px;
  touch-action:none;
  cursor:pointer;
}
.tile::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:10px;
}
.tile:active{
  transform:scale(.92);
  filter:brightness(1.08);
}
@media (hover:none){
  .tile:hover{filter:none}
}

/* V8 - icon size closer to the reference screenshot */
@media (orientation: landscape){
  .tile img{
    transform:scale(1.52);
  }
}

/* On portrait keep them large but avoid clipping on narrow screens */
@media (max-width:720px) and (orientation:portrait){
  .tile img{
    transform:scale(1.42);
  }
}

/* Slightly soften the tile padding visually so the animal feels larger */
.tile{
  padding:0;
}


/* V9 layout closer to screenshot */
.left-side{
  background:#000;
  border-radius:0 0 28px 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:8px 8px 10px;
  min-height:100%;
}

.close-float{
  align-self:center;
  width:54px;
  height:54px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#111;
  font-size:34px;
  font-weight:700;
  margin-top:2px;
  cursor:pointer;
}

.menu-float{
  margin-top:18px;
  width:54px;
  height:54px;
  border:none;
  background:transparent;
  color:#fff;
  font-size:34px;
  font-weight:700;
  cursor:pointer;
}

.facebook-float{
  margin-top:auto;
  margin-bottom:8px;
  width:46px;
  height:46px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:34px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  font-family:Arial, Helvetica, sans-serif;
}

.score-pill{
  margin-top:12px;
  width:102px;
  height:54px;
  border-radius:24px;
  background:linear-gradient(180deg,#6b4216,#442205);
  border:2px solid #a67a45;
  display:grid;
  place-items:center;
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset;
}
.score-pill span{
  font-size:30px;
  font-weight:900;
  color:#fff9ed;
}
.level-text{
  margin-top:14px;
  font-size:18px;
  font-weight:900;
  letter-spacing:1px;
  color:#fff;
}
.level-text span{
  font-size:26px;
  color:#ffecb8;
}
.lives-wrap{
  margin-top:26px;
  text-align:center;
}
.heart-big{
  font-size:78px;
  line-height:1;
}
.lives-text{
  margin-top:-4px;
  font-size:24px;
  font-weight:900;
  color:#ffd9dd;
}
.tool-round{
  margin-top:28px;
  width:82px;
  height:82px;
  font-size:54px;
}
.framed-tools{
  margin-top:18px;
  background:linear-gradient(180deg,#c49153,#8f5c29);
  padding:8px;
  border-radius:28px;
  box-shadow:inset 0 0 0 2px rgba(255,250,233,.32);
}
.framed-tools .tool-rect{
  width:84px;
  height:84px;
  border-radius:24px;
}
.framed-tools .tool-rect + .tool-rect{
  margin-top:10px;
}
.tool-rect.gray{
  background:linear-gradient(180deg,#e7e3db,#b8b4a8);
}
.tool-rect.green{
  background:linear-gradient(180deg,#7fe76d,#2ebc4f);
}

.center-board{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:0;
}
.board-frame{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.board{
  gap:2px;
  padding:4px;
  border-radius:14px;
  background:rgba(3,27,37,.38);
  box-shadow:0 0 24px rgba(0,0,0,.18);
}
.tile{
  border-radius:8px;
  background:linear-gradient(180deg,#fbefd7,#f5e2bc);
  box-shadow:inset 0 0 0 2px #d39e63;
}
.tile img{
  transform:scale(1.52);
}
.right-side{
  padding-top:10px;
}
.pause-btn{
  width:74px;
  height:74px;
  border-radius:50%;
  background:linear-gradient(180deg,#f7e3b4,#e3bf76);
  color:#8b5d0f;
  font-size:34px;
}
.flash-btn{
  margin-top:18px;
  width:82px;
  height:126px;
}
.flash-main{
  width:68px;
  height:68px;
  top:40px;
  font-size:48px;
}
.flash-plus{
  top:96px;
  font-size:18px;
}
.time-meter{
  margin-top:22px;
  width:34px;
  border-radius:24px;
}
.clock-cap{
  width:64px;
  height:64px;
  font-size:30px;
}
.time-text{
  display:none;
}
.difficulty-box{
  width:112px;
  font-size:11px;
  margin-top:18px;
}

@media (max-width: 980px){
  .game-shell{
    grid-template-columns:92px 1fr 76px;
    gap:6px;
    padding:6px 6px 6px;
  }
  .close-float,.menu-float{width:42px;height:42px;font-size:26px}
  .score-pill{width:74px;height:38px;margin-top:8px}
  .score-pill span{font-size:24px}
  .level-text{font-size:11px}.level-text span{font-size:18px}
  .heart-big{font-size:48px}.lives-text{font-size:18px}
  .tool-round{width:56px;height:56px;font-size:36px;margin-top:18px}
  .tool-round small{min-width:22px;height:22px;font-size:11px}
  .framed-tools{padding:6px;border-radius:20px}
  .framed-tools .tool-rect{width:58px;height:58px;font-size:30px;border-radius:16px}
  .difficulty-box{width:78px;font-size:8px;padding:6px}
  .pause-btn{width:52px;height:52px;font-size:24px}
  .flash-btn{width:56px;height:96px}
  .flash-main{width:48px;height:48px;top:34px;font-size:36px}
  .flash-plus{top:72px;font-size:14px}
  .clock-cap{width:46px;height:46px;font-size:20px}
  .time-meter{width:26px;min-height:180px}
  .facebook-float{width:40px;height:40px;font-size:28px}
}

@media (max-width:720px) and (orientation:portrait){
  .game-shell{
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr) auto;
    gap:6px;
    padding:6px;
  }
  .left-side{
    border-radius:18px;
    background:rgba(0,0,0,.84);
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:8px;
    padding:8px;
    min-height:auto;
  }
  .facebook-float{
    margin-top:0;
    margin-bottom:0;
  }
  .menu-float{
    margin-top:0;
  }
  .close-float{
    margin-top:0;
  }
  .lives-wrap{
    margin-top:0;
    display:flex;
    align-items:center;
    gap:4px;
  }
  .heart-big{font-size:34px}
  .lives-text{margin-top:0;font-size:18px}
  .framed-tools{
    display:flex;
    gap:8px;
    padding:6px 8px;
    margin-top:0;
  }
  .framed-tools .tool-rect + .tool-rect{
    margin-top:0;
  }
}

@media (max-height:540px) and (orientation:landscape){
  .game-shell{
    grid-template-columns:78px 1fr 64px;
    gap:4px;
    padding:4px;
  }
  .left-side{
    border-radius:0 0 20px 0;
    padding:4px 4px 6px;
  }
  .close-float,.menu-float{
    width:36px;height:36px;font-size:22px;
  }
  .score-pill{width:68px;height:34px}
  .score-pill span{font-size:22px}
  .level-text{font-size:10px;margin-top:8px}
  .level-text span{font-size:16px}
  .heart-big{font-size:40px}
  .lives-text{font-size:16px}
  .tool-round{width:48px;height:48px;font-size:30px;margin-top:12px}
  .framed-tools{padding:4px;border-radius:16px}
  .framed-tools .tool-rect{width:48px;height:48px;font-size:22px;border-radius:14px}
  .difficulty-box{width:70px;font-size:7px;padding:5px}
  .pause-btn{width:42px;height:42px;font-size:18px}
  .flash-btn{width:46px;height:80px;margin-top:10px}
  .flash-main{width:40px;height:40px;top:28px;font-size:30px}
  .flash-plus{top:58px;font-size:12px}
  .time-meter{min-height:136px;max-height:220px;width:22px}
  .clock-cap{width:36px;height:36px;font-size:16px}
  .facebook-float{width:34px;height:34px;font-size:24px}
  .tile img{transform:scale(1.46)}
}


/* V11 — use the exact uploaded animal artwork */
.tile{
  padding:2px !important;
  overflow:hidden;
  background:linear-gradient(180deg,#fff0d1,#f7ddb0) !important;
  box-shadow:
    inset 0 0 0 2px #cb9559,
    inset 0 1px 0 rgba(255,255,255,.8),
    0 1px 2px rgba(0,0,0,.16) !important;
}

.tile img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  transform:none !important;
  filter:none !important;
  pointer-events:none !important;
}

/* Icons remain large and legible on landscape phone/tablet. */
@media (orientation:landscape){
  .tile{
    padding:1px !important;
  }
  .tile img{
    width:100% !important;
    height:100% !important;
  }
}

/* Portrait still keeps the entire animal visible. */
@media (max-width:720px) and (orientation:portrait){
  .tile{
    padding:1px !important;
  }
}


/* V12 — make the uploaded icons slightly smaller to reduce visual clutter */
.tile{
  padding:3px !important;
}

.tile img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  transform:scale(0.92) !important;
  transform-origin:center center !important;
}

@media (orientation:landscape){
  .tile{
    padding:2px !important;
  }
  .tile img{
    transform:scale(0.90) !important;
  }
}

@media (max-width:720px) and (orientation:portrait){
  .tile img{
    transform:scale(0.94) !important;
  }
}
