/* =====================================================================
 * Tiệm Táo Cổ – một giao diện cho mọi máy (Safari iOS 5 → trình duyệt mới)
 *
 * Chỉ dùng thứ Safari iOS 5 hiểu: bảng, float, inline-block, gradient có
 * tiền tố -webkit-, ảnh nền lặp. Không biến CSS, không flexbox/grid,
 * không clamp(). Cỡ chữ/khoảng cách đổi theo màn hình bằng media query.
 *
 * Bộ khoảng cách:  lề 12 / 20px · cách menu 20 / 32px · giữa mục 28 / 40px
 * Bộ cỡ chữ:      chữ chính 18 · chữ phụ 16 · chữ nút 15
 *                  H1 30 / 40 / 48 · H2 24 / 30 · H3 21 / 24
 * ===================================================================== */

@font-face{font-family:"Patrick Hand";font-style:normal;font-weight:400;font-display:swap;
	src:url(fonts/patrickhand-vi.woff2) format("woff2"),url(fonts/patrickhand-vi.ttf) format("truetype")}

/* ---------- Nền tảng ---------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:"Patrick Hand","Marker Felt","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px;line-height:1.6;color:#1d2129;
	background:#d6d8dc url(img/linen.png)}
img{border:0;max-width:100%;height:auto}
a{color:#2a5db0;text-decoration:none}
h1,h2,h3,h4{font-weight:400;line-height:1.25;margin:0}
h1{font-size:30px}
h2{font-size:24px}
h3{font-size:21px}
h4{font-size:19px}
p{margin:0 0 .8em}
.clearfix:after,.wrap:after{content:"";display:table;clear:both}
.wrap{max-width:1080px;margin:0 auto;padding:0 12px;-webkit-box-sizing:border-box;box-sizing:border-box}
.site{padding:20px 0 28px;min-height:60vh}
.muted{color:#5d6574;font-size:16px}
.emboss{text-shadow:0 1px 0 rgba(255,255,255,.85)}
.empty{padding:22px;text-align:center;color:#5d6574;border:1px solid #b9bec6;border-radius:10px;background:#eceef1;background:rgba(255,255,255,.6);text-shadow:0 1px 0 #fff}
.screen-reader-text{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Thanh menu: navigation bar xanh bóng ---------- */
.nb{position:relative;z-index:10;border-bottom:1px solid #2d3642;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.35);box-shadow:0 1px 3px rgba(0,0,0,.35);
	background-color:#7f93ad;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#b0bccd),color-stop(.5,#889bb3),color-stop(.5,#8195af),to(#6d84a2));
	background-image:-webkit-linear-gradient(top,#b0bccd,#889bb3 50%,#8195af 50%,#6d84a2);
	background-image:linear-gradient(to bottom,#b0bccd,#889bb3 50%,#8195af 50%,#6d84a2)}
.nb-in{position:relative;height:48px}
.brand{float:left;height:48px;line-height:48px;color:#fff;font-size:22px;text-shadow:0 -1px 0 rgba(0,0,0,.45);white-space:nowrap}
.brand img{width:20px;height:25px;margin:0 8px 0 0;vertical-align:-4px;-webkit-filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
/* Nút Menu (điện thoại) */
.nb-btn{position:absolute;right:12px;top:8px;height:30px;line-height:30px;padding:0 12px;font-size:15px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45);
	border:1px solid #375073;border-radius:6px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.3);
	background-color:#4b6d9e;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#8ea8cc),color-stop(.5,#5b7cab),color-stop(.5,#4b6d9e),to(#3e6198));
	background-image:-webkit-linear-gradient(top,#8ea8cc,#5b7cab 50%,#4b6d9e 50%,#3e6198);
	background-image:linear-gradient(to bottom,#8ea8cc,#5b7cab 50%,#4b6d9e 50%,#3e6198)}
/* Danh sách menu: ẩn trên điện thoại, bấm "Menu" (#menu) thì hiện */
.nb-nav{display:none;position:absolute;left:0;right:0;top:49px;border-bottom:1px solid #000;-webkit-box-shadow:0 6px 14px rgba(0,0,0,.45);box-shadow:0 6px 14px rgba(0,0,0,.45);
	background:#2a2d33 url(img/linen-dark.png)}
.nb-nav:target{display:block}
.nb-list{list-style:none;margin:0;padding:0}
.nb-list li{border-bottom:1px solid #15171a;border-top:1px solid #3a3e45}
.nb-list a,.nb-close{display:block;padding:11px 16px;color:#fff;font-size:18px;text-shadow:0 -1px 0 #000}
.nb-list .current-menu-item>a,.nb-list .current-post-ancestor>a,.nb-list .current-menu-parent>a{color:#8fb7ff}
.nb-close{text-align:center;color:#b9c0ca;font-size:15px}

/* ---------- Chân trang: vải lanh tối ---------- */
.ft{padding:18px 0;color:#9aa1ab;font-size:15px;text-shadow:0 -1px 0 #000;border-top:1px solid #15171a;background:#2a2d33 url(img/linen-dark.png)}
.ft a{color:#d8dde5}
.ft-name{margin:0 0 6px;color:#fff;font-size:18px}
.ft-line{margin:2px 0;line-height:1.5}
.ft-copy{margin-top:10px;color:#7c838d}

/* ---------- Nút bóng kính ---------- */
.btn,.barbtn,.pill{display:inline-block;color:#fff;text-align:center;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,.45);vertical-align:middle;
	border:1px solid #1d4f9c;border-radius:6px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 1px 1px rgba(0,0,0,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 1px 1px rgba(0,0,0,.2);
	background-color:#2a76db;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#78b0f5),color-stop(.5,#3a86e8),color-stop(.5,#2470db),to(#1f68cf));
	background-image:-webkit-linear-gradient(top,#78b0f5,#3a86e8 50%,#2470db 50%,#1f68cf);
	background-image:linear-gradient(to bottom,#78b0f5,#3a86e8 50%,#2470db 50%,#1f68cf)}
.btn{padding:3px 14px;font-size:15px;line-height:20px}
.btn-big{display:block;padding:9px 14px;font-size:18px;line-height:24px;margin:0 0 10px;border-radius:8px}
.barbtn{padding:3px 11px;font-size:15px;line-height:20px;border-color:#375073;
	background-color:#4b6d9e;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#8ea8cc),color-stop(.5,#5b7cab),color-stop(.5,#4b6d9e),to(#3e6198));
	background-image:-webkit-linear-gradient(top,#8ea8cc,#5b7cab 50%,#4b6d9e 50%,#3e6198);
	background-image:linear-gradient(to bottom,#8ea8cc,#5b7cab 50%,#4b6d9e 50%,#3e6198)}
.pill{min-width:54px;padding:2px 10px;font-size:15px;line-height:20px;border-radius:5px}
.btn-green,.pill-green{border-color:#22701f;background-color:#36a036;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#86da86),color-stop(.5,#43b043),color-stop(.5,#329c32),to(#2a8a2a));
	background-image:-webkit-linear-gradient(top,#86da86,#43b043 50%,#329c32 50%,#2a8a2a);
	background-image:linear-gradient(to bottom,#86da86,#43b043 50%,#329c32 50%,#2a8a2a)}
.btn-orange{border-color:#a05a00;background-color:#e07b1c;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#f7b56a),color-stop(.5,#ec8a2c),color-stop(.5,#e07b1c),to(#d06c10));
	background-image:-webkit-linear-gradient(top,#f7b56a,#ec8a2c 50%,#e07b1c 50%,#d06c10);
	background-image:linear-gradient(to bottom,#f7b56a,#ec8a2c 50%,#e07b1c 50%,#d06c10)}
.btn-fb{border-color:#1a3f7a;background-color:#3b5998;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#7d95c9),color-stop(.5,#4a68a8),color-stop(.5,#3b5998),to(#2f4b86));
	background-image:-webkit-linear-gradient(top,#7d95c9,#4a68a8 50%,#3b5998 50%,#2f4b86);
	background-image:linear-gradient(to bottom,#7d95c9,#4a68a8 50%,#3b5998 50%,#2f4b86)}
.btn-dark{border-color:#111;background-color:#33363b;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#6a6e75),color-stop(.5,#3b3e44),color-stop(.5,#2d3035),to(#232529));
	background-image:-webkit-linear-gradient(top,#6a6e75,#3b3e44 50%,#2d3035 50%,#232529);
	background-image:linear-gradient(to bottom,#6a6e75,#3b3e44 50%,#2d3035 50%,#232529)}
.btn-brown{border-color:#6e3f12;background-color:#9a5c22;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#d39a5f),color-stop(.5,#a8682c),color-stop(.5,#995a20),to(#86491a));
	background-image:-webkit-linear-gradient(top,#d39a5f,#a8682c 50%,#995a20 50%,#86491a);
	background-image:linear-gradient(to bottom,#d39a5f,#a8682c 50%,#995a20 50%,#86491a)}
.btn-purple{border-color:#3f339a;background-color:#6151cf;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#a497f2),color-stop(.5,#6f60da),color-stop(.5,#6151cf),to(#5546c0));
	background-image:-webkit-linear-gradient(top,#a497f2,#6f60da 50%,#6151cf 50%,#5546c0);
	background-image:linear-gradient(to bottom,#a497f2,#6f60da 50%,#6151cf 50%,#5546c0)}
.pill-gray{border-color:#555;background-color:#7b7f86;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#a3a7ad),to(#6b6f76));
	background-image:-webkit-linear-gradient(top,#a3a7ad,#6b6f76);background-image:linear-gradient(to bottom,#a3a7ad,#6b6f76)}

/* ---------- Icon bóng kính (màn hình chính) ---------- */
.ttc-ico{position:relative;display:inline-block;width:60px;height:60px;overflow:hidden;vertical-align:middle;border-radius:13px;
	-webkit-box-shadow:0 2px 4px rgba(0,0,0,.5);box-shadow:0 2px 4px rgba(0,0,0,.5)}
.ttc-ico svg{position:absolute;left:20%;top:20%;width:60%;height:60%}
.ttc-ico:after{content:"";position:absolute;left:0;right:0;top:0;height:50%;border-radius:13px 13px 50% 50%/13px 13px 20% 20%;
	background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.62)),to(rgba(255,255,255,.12)));
	background-image:-webkit-linear-gradient(top,rgba(255,255,255,.62),rgba(255,255,255,.12));
	background-image:linear-gradient(to bottom,rgba(255,255,255,.62),rgba(255,255,255,.12))}
.ttc-ico-lock{background-color:#2b2d31;background-image:-webkit-gradient(linear,left top,left bottom,from(#5b5f66),to(#1c1e22));background-image:-webkit-linear-gradient(top,#5b5f66,#1c1e22);background-image:linear-gradient(to bottom,#5b5f66,#1c1e22)}
.ttc-ico-down{background-color:#7d8590;background-image:-webkit-gradient(linear,left top,left bottom,from(#a6aeb9),to(#5f6874));background-image:-webkit-linear-gradient(top,#a6aeb9,#5f6874);background-image:linear-gradient(to bottom,#a6aeb9,#5f6874)}
.ttc-ico-box{background-color:#a56a35;background-image:-webkit-gradient(linear,left top,left bottom,from(#c88b4e),to(#7d4a1f));background-image:-webkit-linear-gradient(top,#c88b4e,#7d4a1f);background-image:linear-gradient(to bottom,#c88b4e,#7d4a1f)}
.ttc-ico-phone{background-color:#2f7ce0;background-image:-webkit-gradient(linear,left top,left bottom,from(#5aa8f7),to(#1b5fc7));background-image:-webkit-linear-gradient(top,#5aa8f7,#1b5fc7);background-image:linear-gradient(to bottom,#5aa8f7,#1b5fc7)}
.ttc-ico-music{background-color:#f5821f;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffb347),to(#f26b0f));background-image:-webkit-linear-gradient(top,#ffb347,#f26b0f);background-image:linear-gradient(to bottom,#ffb347,#f26b0f)}
.ttc-ico-notes{background-color:#f5df73;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(.24,#7b4b26),color-stop(.24,#fdf1a6),to(#f5df73));background-image:-webkit-linear-gradient(top,#7b4b26 24%,#fdf1a6 24%,#f5df73);background-image:linear-gradient(to bottom,#7b4b26 24%,#fdf1a6 24%,#f5df73)}

/* ---------- Trang chủ ---------- */
.home .site{padding-top:0}
.hero{margin:0 0 28px;padding:28px 0 20px;color:#fff;border-bottom:1px solid #000;background:#2a2d33 url(img/linen-dark.png);
	-webkit-box-shadow:inset 0 -6px 12px -6px rgba(0,0,0,.6);box-shadow:inset 0 -6px 12px -6px rgba(0,0,0,.6)}
.hero h1{margin:0 0 6px;text-shadow:0 -1px 0 #000,0 2px 6px rgba(0,0,0,.5)}
.hero p{margin:0;color:#c9ced6;text-shadow:0 -1px 0 #000}
.sb{width:100%;max-width:560px;margin-top:20px;border-collapse:collapse;table-layout:fixed}
.sb td{padding:0 2px;text-align:center;vertical-align:top}
.sb a{display:block;color:#fff}
.sb .ttc-ico{width:52px;height:52px;border-radius:12px}
.sb .ttc-ico:after{border-radius:12px 12px 50% 50%/12px 12px 20% 20%}
.sb-label{display:block;margin-top:5px;font-size:13px;line-height:1.25;text-shadow:0 1px 2px #000,0 0 1px #000}

.sec{margin:0 0 28px}
.sec-head{margin:0 0 12px;overflow:hidden}
.sec-head .barbtn{float:right;margin:2px 0 0 10px}
.sec-head h2{color:#3d4554;text-shadow:0 1px 0 rgba(255,255,255,.85)}
.sec-head p{margin:2px 0 0;color:#5d6574;text-shadow:0 1px 0 rgba(255,255,255,.85)}

/* Sổ hồi ức (Notes): dòng kẻ 32px, mọi khối cao bội số 32px để chữ nằm đúng dòng */
.notes{border-radius:10px;overflow:hidden;border:1px solid #5c3c20;-webkit-box-shadow:0 3px 10px rgba(0,0,0,.35);box-shadow:0 3px 10px rgba(0,0,0,.35)}
.notes-top{position:relative;height:44px;line-height:44px;text-align:center;color:#f3e2c4;text-shadow:0 -1px 0 #2d1a08;border-bottom:2px solid #3b2410;background:#6e4a2b url(img/leather.png)}
.notes-top span{position:relative;z-index:1}
.notes-top:before{content:"";position:absolute;left:8px;right:8px;top:7px;bottom:7px;border:1px dashed #d8b98c;border-radius:6px;opacity:.6}
.notes-paper{background-color:#fdf3b8;
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(.969,rgba(226,207,134,0)),color-stop(.969,#e2cf86));
	background-image:-webkit-linear-gradient(top,rgba(226,207,134,0) 31px,#e2cf86 31px);
	background-image:linear-gradient(to bottom,rgba(226,207,134,0) 31px,#e2cf86 31px);
	-webkit-background-size:100% 32px;background-size:100% 32px}
.note-main{position:relative;padding:32px 16px 32px 40px}
.note-main:before{content:"";position:absolute;left:26px;top:0;bottom:0;width:3px;border-left:1px solid #e9b3a4;border-right:1px solid #e9b3a4}
.note-photo{display:block;height:192px;margin:0 0 32px;padding:6px 6px 20px;background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;
	-webkit-transform:rotate(-1deg);transform:rotate(-1deg);-webkit-box-shadow:0 3px 8px rgba(0,0,0,.35);box-shadow:0 3px 8px rgba(0,0,0,.35)}
.note-pic{display:block;height:166px}
.note-date,.note-title,.note-text,.note-more{display:block;margin:0;line-height:32px}
.note-date{color:#9c7a3c;font-size:16px}
.note-title{font-size:24px}
.note-title a{color:#3a2a12}
.note-text{color:#4a3a1e;font-size:18px}
.note-more{font-size:18px}
.note-list{list-style:none;margin:0;padding:0 0 32px}
.note-list a{display:block;height:32px;line-height:32px;padding:0 16px;color:#3a2a12;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- Danh sách nhóm kiểu Cài đặt ---------- */
.grp{background:#fff;border:1px solid #a9aeb6;border-radius:10px;overflow:hidden;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff}
.cell{display:table;table-layout:fixed;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px 12px;color:#000;border-top:1px solid #dadde1;
	background-color:#fbfbfc;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f6f7f8));
	background-image:-webkit-linear-gradient(top,#fff,#f6f7f8);background-image:linear-gradient(to bottom,#fff,#f6f7f8)}
.cell:first-child{border-top:0}
.cell:hover,.cell:active{background-color:#0a6fe8;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#058cf5),to(#015fe6));
	background-image:-webkit-linear-gradient(top,#058cf5,#015fe6);background-image:linear-gradient(to bottom,#058cf5,#015fe6)}
.cell:hover .cell-title,.cell:hover .cell-sub,.cell:hover .cell-chev,.cell:active .cell-title,.cell:active .cell-sub{color:#fff}
.cell-img,.cell-txt,.cell-chev,.cell-val{display:table-cell;vertical-align:middle}
.cell-img{width:58px}
.cell-pic{display:block;width:46px;height:46px;border-radius:10px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.35);box-shadow:0 1px 2px rgba(0,0,0,.35)}
.cover{background-color:#e3e5e8;background-repeat:no-repeat;background-position:50% 50%;-webkit-background-size:cover;background-size:cover}
.ph{display:block;text-align:center;color:#fff;line-height:46px;font-size:20px;background-color:#8aa0bd;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#a6b6cc),to(#6f86a6));background-image:-webkit-linear-gradient(top,#a6b6cc,#6f86a6);background-image:linear-gradient(to bottom,#a6b6cc,#6f86a6)}
.cell-title{display:block;font-size:18px;line-height:1.3}
.cell-sub{display:block;margin-top:2px;color:#7f8590;font-size:16px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cell-chev{width:18px;text-align:right;color:#8e939b;font-size:26px;line-height:1}
.cell-val{width:50%;text-align:right;color:#385487}
.cell-val-sm{width:110px;padding-right:6px;color:#7f8590;font-size:16px}
.cell:hover .cell-val-sm{color:#fff}
.cell-row .cell-title{font-size:18px}
.cell-static,.cell-static:hover{background-image:none;background-color:#fff}
.cell-static a.cell-txt,.cell-static a.cell-img{color:#000;display:table-cell}
.cell-static a.cell-txt:hover .cell-title{color:#2a5db0}
.cell-static:hover .cell-title,.cell-static:hover .cell-sub{color:inherit}
.cell-static:hover .cell-sub{color:#7f8590}
.cell-static:hover .cell-val{color:#385487}
.cell-img .cell-ico{width:46px;height:46px;border-radius:10px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.35);box-shadow:0 1px 2px rgba(0,0,0,.35)}
.cell-img .cell-ico:after{border-radius:10px 10px 50% 50%/10px 10px 20% 20%}
.cell-lg{padding:12px 14px}
.cell-lg .cell-img{width:84px}
.cell-lg .cell-pic{width:70px;height:70px;border-radius:12px}

/* Dải Kho tweak (trang chủ) */
.band{padding:22px;color:#fff;border-radius:12px;background:#2a2d33 url(img/linen-dark.png);-webkit-box-shadow:0 3px 10px rgba(0,0,0,.4);box-shadow:0 3px 10px rgba(0,0,0,.4)}
.band .ttc-ico{float:left;width:72px;height:72px;margin:0 18px 6px 0;border-radius:16px}
.band .ttc-ico:after{border-radius:16px 16px 50% 50%/16px 16px 20% 20%}
.band h2{font-size:21px;text-shadow:0 -1px 0 #000}
.band p{margin:4px 0 12px;color:#b9c0ca;text-shadow:0 -1px 0 #000}
.band .btn{margin:0 6px 6px 0}

/* ---------- Đầu trang con ---------- */
.page-head{margin:0 0 20px}
.page-head h1{color:#2d3442;text-shadow:0 1px 0 rgba(255,255,255,.85)}
.page-head p{margin:4px 0 0;color:#5d6574;text-shadow:0 1px 0 rgba(255,255,255,.85)}
.crumbs{margin:0 0 14px;font-size:16px;color:#5d6574;text-shadow:0 1px 0 #fff}
.crumbs a{color:#3e6198}

/* Nút chia đoạn */
.seg{margin:14px 0 0;border-collapse:separate;border-spacing:0;border:1px solid #4b5e7c;border-radius:7px;overflow:hidden;
	-webkit-box-shadow:0 1px 0 rgba(255,255,255,.6);box-shadow:0 1px 0 rgba(255,255,255,.6)}
.seg td{padding:0;border-left:1px solid #9aa4b4;text-align:center;background-color:#e3e6ea;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfe),color-stop(.5,#e5e8ec),color-stop(.5,#dadee3),to(#cfd4da));
	background-image:-webkit-linear-gradient(top,#fdfdfe,#e5e8ec 50%,#dadee3 50%,#cfd4da);
	background-image:linear-gradient(to bottom,#fdfdfe,#e5e8ec 50%,#dadee3 50%,#cfd4da)}
.seg td:first-child{border-left:0}
.seg a{display:block;padding:5px 14px;font-size:15px;color:#4b5567;text-shadow:0 1px 0 #fff;white-space:nowrap}
.seg td.on{background-color:#4b6d9e;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#8ea8cc),color-stop(.5,#5b7cab),color-stop(.5,#4b6d9e),to(#3e6198));
	background-image:-webkit-linear-gradient(top,#8ea8cc,#5b7cab 50%,#4b6d9e 50%,#3e6198);
	background-image:linear-gradient(to bottom,#8ea8cc,#5b7cab 50%,#4b6d9e 50%,#3e6198)}
.seg td.on a{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4)}

/* Chuyển trang */
.pager{width:100%;margin:20px 0 0;border-collapse:collapse}
.pager td{width:33%;padding:0;vertical-align:middle}
.pager-num{text-align:center;color:#5d6574;font-size:16px;text-shadow:0 1px 0 #fff}
.pager-next{text-align:right}

/* ---------- Tờ giấy nội dung (bài viết, trang) ---------- */
.paper{margin:0 auto;padding:20px 16px;background:#fff;border:1px solid #a9aeb6;border-radius:12px;-webkit-box-sizing:border-box;box-sizing:border-box;
	-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.paper+.paper,.paper+.sec{margin-top:20px}
.narrow{margin-left:auto;margin-right:auto}
.paper-wide{max-width:none}
.cmt-head{margin:0 0 12px}
.art-head{margin:0 0 16px}
.art-meta{margin:6px 0 0;color:#7f8590;font-size:16px}
.content{word-wrap:break-word}
.content h2{font-size:24px;margin:1.2em 0 .5em}
.content h3{font-size:21px;margin:1.1em 0 .4em}
.content h4{font-size:19px;margin:1em 0 .4em}
.content ul,.content ol{margin:0 0 1em;padding-left:1.3em}
.content li{margin-bottom:.25em}
.content img,.content video,.content iframe{max-width:100%}
.content figure{margin:0 0 1em}
.content figcaption{font-size:16px;color:#7f8590;text-align:center}
.content blockquote{margin:0 0 1em;padding:6px 14px;border-left:4px solid #c9b77a;background:#fdf8e1}
.content pre,.content code{font-family:Menlo,Consolas,Courier,monospace;font-size:14px}
.content pre{white-space:pre-wrap;padding:10px;background:#f3f4f6;border-radius:6px}
.content a{text-decoration:underline}
.content .alignleft{float:left;margin:0 14px 10px 0}
.content .alignright{float:right;margin:0 0 10px 14px}
.content .aligncenter{display:block;margin-left:auto;margin-right:auto}
.content>*:last-child{margin-bottom:0}

/* Bình luận */
.cmt-list{list-style:none;margin:0 0 20px;padding:0}
.cmt-list li{padding:12px 0;border-top:1px solid #e3e5e8}
.cmt-list li:first-child{border-top:0;padding-top:0}
.cmt-author{font-size:18px}
.cmt-date{margin-left:6px;color:#7f8590;font-size:16px}
.cmt-body p{margin:4px 0 0}
.cmt-wait{color:#b26b00;font-size:16px}
.comment-respond h3{margin:0 0 12px}
.comment-form p{margin:0 0 12px}
.comment-form input[type=text],.comment-form textarea{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:9px 12px;font:inherit;font-size:18px;color:#1d2129;
	border:1px solid #b9bec6;border-radius:8px;background:#fff;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.12);box-shadow:inset 0 1px 2px rgba(0,0,0,.12);-webkit-appearance:none}
.comment-form textarea{height:110px}
.comment-form .form-submit{margin:0}
.comment-form .submit{font:inherit;font-size:15px;cursor:pointer}
.ttc-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}

/* ---------- Sản phẩm: kệ gỗ ---------- */
.shelf{font-size:0;padding:0 8px;border:1px solid #3d2511;border-radius:12px;background:#8b5a30 url(img/wood.jpg);
	-webkit-box-shadow:inset 0 0 30px rgba(0,0,0,.45),0 3px 10px rgba(0,0,0,.35);box-shadow:inset 0 0 30px rgba(0,0,0,.45),0 3px 10px rgba(0,0,0,.35)}
.book{display:inline-block;vertical-align:top;width:50%;padding:0 0 18px;font-size:18px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}
.book-stage{position:relative;display:block;height:190px}
.book-frame{position:absolute;bottom:0;left:50%;width:122px;height:160px;margin-left:-61px;padding:5px;background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;
	-webkit-box-shadow:-3px 0 6px rgba(0,0,0,.25),6px -2px 12px rgba(0,0,0,.45);box-shadow:-3px 0 6px rgba(0,0,0,.25),6px -2px 12px rgba(0,0,0,.45)}
.book-pic{display:block;width:100%;height:100%}
.plank{display:block;height:16px;margin:0 -1px;border-bottom:1px solid #4a2d12;
	background-color:#b7804a;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#e0b07a),color-stop(.3,#c08a53),to(#8f5d2e));
	background-image:-webkit-linear-gradient(top,#e0b07a,#c08a53 30%,#8f5d2e);
	background-image:linear-gradient(to bottom,#e0b07a,#c08a53 30%,#8f5d2e);
	-webkit-box-shadow:0 6px 8px -2px rgba(0,0,0,.5);box-shadow:0 6px 8px -2px rgba(0,0,0,.5)}
.book-label{display:block;padding:12px 6px 0}
.book-name{display:block;color:#fff;line-height:1.3;text-shadow:0 1px 2px #000;height:2.6em;overflow:hidden}
.book-specs{display:block;margin:2px 0 6px;color:#ecd9c0;font-size:16px;text-shadow:0 1px 1px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-sold .book-pic{-webkit-filter:grayscale(1);filter:grayscale(1);opacity:.75}
.ribbon{position:absolute;top:10px;right:-6px;padding:2px 9px;font-size:15px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4);background-color:#e07b1c;
	-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}
.ribbon-sold{background-color:#c0392b}

/* Chi tiết sản phẩm */
.gallery-main{display:block;padding:8px;background:#fff;-webkit-box-shadow:0 3px 12px rgba(0,0,0,.35);box-shadow:0 3px 12px rgba(0,0,0,.35)}
.gallery-main .slide{display:none;width:100%}
.gallery-main .slide-0,.gallery-main .slide:target{display:block}
.gallery-main .slide:target~.slide-0{display:none}
.thumbs{margin:10px 0 0;font-size:0}
.thumbs a{display:inline-block;width:64px;height:64px;margin:0 8px 8px 0;padding:3px;background:#fff;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.35);box-shadow:0 1px 4px rgba(0,0,0,.35)}
.thumbs .thumb-pic{display:block;width:64px;height:64px}
.pinfo{margin-top:20px}
.pinfo h1{color:#2d3442;text-shadow:0 1px 0 rgba(255,255,255,.85)}
.price{margin:12px 0 8px;font-size:24px;color:#2d3442;text-shadow:0 1px 0 #fff}
.price del{margin-left:8px;color:#8a909a;font-size:16px}
.badge{display:inline-block;padding:2px 12px;font-size:15px;color:#fff;border-radius:5px;text-shadow:0 -1px 0 rgba(0,0,0,.35);border:1px solid #22701f;background-color:#36a036;
	background-image:-webkit-gradient(linear,left top,left bottom,from(#86da86),to(#2a8a2a));background-image:-webkit-linear-gradient(top,#86da86,#2a8a2a);background-image:linear-gradient(to bottom,#86da86,#2a8a2a)}
.badge-reserved{border-color:#a05a00;background-color:#e07b1c;background-image:-webkit-gradient(linear,left top,left bottom,from(#f7c46a),to(#d97706));background-image:-webkit-linear-gradient(top,#f7c46a,#d97706);background-image:linear-gradient(to bottom,#f7c46a,#d97706)}
.badge-sold{border-color:#555;background-color:#7b7f86;background-image:-webkit-gradient(linear,left top,left bottom,from(#a3a7ad),to(#6b6f76));background-image:-webkit-linear-gradient(top,#a3a7ad,#6b6f76);background-image:linear-gradient(to bottom,#a3a7ad,#6b6f76)}
.specs{margin:18px 0}
.order{margin:0 0 10px}
.hint{color:#5d6574;font-size:16px;text-shadow:0 1px 0 #fff}

/* Kho tweak & IPA */
.app-head{overflow:hidden;margin:0 0 20px}
.app-head img{float:left;width:72px;height:72px;margin:0 14px 0 0;border-radius:16px;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.4);box-shadow:0 2px 4px rgba(0,0,0,.4)}
.code{font-family:Menlo,Consolas,Courier,monospace;font-size:14px;color:#385487;word-wrap:break-word;word-break:break-all}
.warn{color:#c0392b}
.note-line{color:#b26b00}
.cell-act{display:table-cell;vertical-align:middle;width:78px;text-align:right}
.off .cell-title,.off .cell-pic{opacity:.5}

/* Trang Kho: tiêu đề mục nhỏ, đồng bộ */
.kho .sec-head h2{font-size:18px}
.src-url{color:#2a5db0;word-wrap:break-word;word-break:break-all}
@media (min-width:700px){.kho .sec-head h2{font-size:21px}}

/* Cài nhanh (kiểu tomkids): nút lớn + nhãn iOS + mô tả + lưu ý */
.quick{margin:0 0 14px;text-align:center}
.quick .btn-big{margin:0}
.ios-badge{display:inline-block;margin-left:6px;padding:0 9px;font-size:15px;line-height:22px;vertical-align:1px;color:#e8f6e8;border-radius:11px;
	background:#1f6d1f;background:rgba(0,0,0,.25);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.35);box-shadow:inset 0 1px 2px rgba(0,0,0,.35);text-shadow:none}
.quick-desc{margin:5px 0 0;color:#5d6574;font-size:16px;line-height:1.4;text-shadow:0 1px 0 #fff}
.quick-note{margin:4px 0 0;color:#b26b00;font-size:16px;line-height:1.4}
.quick.off .btn-big{opacity:.55}

/* Hộp do shortcode trong bài viết (thêm nguồn / cài tweak, app) */
.ttc-box{margin:0 0 1em;padding:14px 16px;background:#f7f8fa;border:1px solid #c8ccd2;border-radius:10px}
.ttc-box-title{font-size:18px}
.ttc-repo-url{font-family:Menlo,Consolas,Courier,monospace;font-size:14px;color:#385487;word-break:break-all;margin-bottom:8px}
.ttc-btns{margin:0 0 6px}
.ttc-btn{display:inline-block;margin:0 6px 6px 0;padding:3px 14px;font-size:15px;line-height:20px;color:#fff!important;text-decoration:none!important;border-radius:6px;border:1px solid #1d4f9c;background:#2a76db;text-shadow:0 -1px 0 rgba(0,0,0,.4)}
.ttc-cydia{background:#9a5c22;border-color:#6e3f12}.ttc-sileo{background:#6151cf;border-color:#3f339a}.ttc-zebra{background:#2d3035;border-color:#111}.ttc-install{background:#36a036;border-color:#22701f}
.ttc-muted{color:#7f8590;font-size:16px}
.ttc-icon{float:left;width:56px;height:56px;margin:0 12px 6px 0;border-radius:12px}
.ttc-name{font-size:18px;text-decoration:none!important}
.ttc-note{color:#b26b00;font-size:16px}
.ttc-item:after{content:"";display:table;clear:both}

/* Tiện ích khoảng cách (theo bộ chuẩn) */
.mt{margin-top:14px}
.mt-gap{margin-top:20px}
.below{margin:8px 0 0}
.paper-h{margin:0 0 12px}
.cell-wrap{white-space:normal!important}
.btn small{font-size:15px;opacity:.85}

/* =====================================================================
 * Màn hình lớn hơn
 * ===================================================================== */
@media (min-width:600px){
	.book{width:33.333%}
	.paper{padding:28px 32px}
}
@media (min-width:700px){
	.wrap{padding:0 20px}
	.site{padding:32px 0 40px}
	.sec,.hero{margin-bottom:40px}
	h1{font-size:40px}
	h2,.note-title{font-size:30px}
	h3{font-size:24px}
	.sec-head h2{font-size:30px}
	.hero{padding:40px 0 32px}
	.sb .ttc-ico{width:64px;height:64px;border-radius:14px}
	.sb .ttc-ico:after{border-radius:14px 14px 50% 50%/14px 14px 20% 20%}
	.sb-label{font-size:15px}
	.page-head{margin-bottom:32px}
	.paper+.paper,.paper+.sec,.mt-gap{margin-top:32px}
	.content h2{font-size:30px}
	.content h3{font-size:24px}
	/* Notes: bài chính bên trái, danh sách bên phải */
	.note-main{float:left;width:62%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:32px 24px 32px 52px;border-right:1px solid #e2cf86}
	.note-main:before{left:36px}
	.note-photo{float:right;width:44%;margin:0 0 32px 18px;-webkit-transform:rotate(2deg);transform:rotate(2deg)}
	.note-list{float:left;width:38%;padding:32px 0}
	/* Danh sách 2 cột */
	.grp-2 .cell{float:left;width:50%;display:block;border-top:0;border-bottom:1px solid #dadde1}
	.grp-2 .cell:nth-child(odd){border-right:1px solid #dadde1}
	.grp-2 .cell>span{display:table-cell}
	.grp-2 .cell{display:table}
	.grp-2:after{content:"";display:table;clear:both}
	.pinfo{margin-top:0}
	.band{padding:26px 28px}
}
@media (min-width:900px){
	.nb-in{height:56px}
	.brand{height:56px;line-height:56px}
	.nb-btn,.nb-close{display:none}
	.nb-nav{display:block;position:static;float:right;border:0;background:none;-webkit-box-shadow:none;box-shadow:none}
	.nb-list li{display:inline-block;border:0;margin-left:4px}
	.nb-list a{display:block;height:32px;line-height:32px;margin-top:12px;padding:0 11px;font-size:18px;border:1px solid transparent;border-radius:6px}
	.nb-list a:hover{background:rgba(255,255,255,.14);border-color:rgba(40,55,80,.35)}
	.nb-list .current-menu-item>a,.nb-list .current-post-ancestor>a,.nb-list .current-menu-parent>a{color:#fff;border-color:#2f4466;background-color:#4c6890;
		background-image:-webkit-gradient(linear,left top,left bottom,from(#5f7799),to(#3f5b84));background-image:-webkit-linear-gradient(top,#5f7799,#3f5b84);background-image:linear-gradient(to bottom,#5f7799,#3f5b84);
		-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.4),0 1px 0 rgba(255,255,255,.3);box-shadow:inset 0 1px 3px rgba(0,0,0,.4),0 1px 0 rgba(255,255,255,.3)}
	h1{font-size:48px}
	.book{width:25%}
	.book-stage{height:220px}
	.book-frame{width:150px;height:186px;margin-left:-75px}
	.pgrid .pgal{float:left;width:52%}
	.pgrid .pinfo{float:right;width:44%}
	.pgrid:after{content:"";display:table;clear:both}
}
